Skip to content

Commit 2e950a0

Browse files
authored
Merge pull request #2888 from WarriorOfWire/vectorio-polygon-speed
vectorio: speed up polygon
2 parents 2314f98 + a78f245 commit 2e950a0

File tree

18 files changed

+197
-187
lines changed

18 files changed

+197
-187
lines changed

locale/ID.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2020-05-12 14:37+1000\n"
11+
"POT-Creation-Date: 2020-05-18 13:32-0700\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -82,7 +82,7 @@ msgstr ""
8282
msgid "%q must be >= 1"
8383
msgstr "buffers harus mempunyai panjang yang sama"
8484

85-
#: shared-bindings/vectorio/Polygon.c
85+
#: shared-module/vectorio/Polygon.c
8686
msgid "%q must be a tuple of length 2"
8787
msgstr ""
8888

@@ -1269,6 +1269,10 @@ msgstr ""
12691269
msgid "Plus any modules on the filesystem\n"
12701270
msgstr "Tambahkan module apapun pada filesystem\n"
12711271

1272+
#: shared-module/vectorio/Polygon.c
1273+
msgid "Polygon needs at least 3 points"
1274+
msgstr ""
1275+
12721276
#: shared-bindings/ps2io/Ps2.c
12731277
msgid "Pop from an empty Ps2 buffer"
12741278
msgstr ""
@@ -2137,10 +2141,6 @@ msgstr ""
21372141
msgid "empty"
21382142
msgstr ""
21392143

2140-
#: shared-bindings/vectorio/Polygon.c
2141-
msgid "empty %q list"
2142-
msgstr ""
2143-
21442144
#: extmod/moduheapq.c extmod/modutimeq.c
21452145
msgid "empty heap"
21462146
msgstr "heap kosong"
@@ -3158,8 +3158,8 @@ msgstr ""
31583158
msgid "unreadable attribute"
31593159
msgstr ""
31603160

3161-
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/Polygon.c
3162-
#: shared-bindings/vectorio/VectorShape.c
3161+
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/VectorShape.c
3162+
#: shared-module/vectorio/Polygon.c
31633163
msgid "unsupported %q type"
31643164
msgstr ""
31653165

locale/circuitpython.pot

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2020-05-12 14:37+1000\n"
11+
"POT-Creation-Date: 2020-05-18 13:32-0700\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -81,7 +81,7 @@ msgstr ""
8181
msgid "%q must be >= 1"
8282
msgstr ""
8383

84-
#: shared-bindings/vectorio/Polygon.c
84+
#: shared-module/vectorio/Polygon.c
8585
msgid "%q must be a tuple of length 2"
8686
msgstr ""
8787

@@ -1257,6 +1257,10 @@ msgstr ""
12571257
msgid "Plus any modules on the filesystem\n"
12581258
msgstr ""
12591259

1260+
#: shared-module/vectorio/Polygon.c
1261+
msgid "Polygon needs at least 3 points"
1262+
msgstr ""
1263+
12601264
#: shared-bindings/ps2io/Ps2.c
12611265
msgid "Pop from an empty Ps2 buffer"
12621266
msgstr ""
@@ -2113,10 +2117,6 @@ msgstr ""
21132117
msgid "empty"
21142118
msgstr ""
21152119

2116-
#: shared-bindings/vectorio/Polygon.c
2117-
msgid "empty %q list"
2118-
msgstr ""
2119-
21202120
#: extmod/moduheapq.c extmod/modutimeq.c
21212121
msgid "empty heap"
21222122
msgstr ""
@@ -3132,8 +3132,8 @@ msgstr ""
31323132
msgid "unreadable attribute"
31333133
msgstr ""
31343134

3135-
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/Polygon.c
3136-
#: shared-bindings/vectorio/VectorShape.c
3135+
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/VectorShape.c
3136+
#: shared-module/vectorio/Polygon.c
31373137
msgid "unsupported %q type"
31383138
msgstr ""
31393139

locale/cs.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2020-05-12 14:37+1000\n"
11+
"POT-Creation-Date: 2020-05-18 13:32-0700\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -81,7 +81,7 @@ msgstr ""
8181
msgid "%q must be >= 1"
8282
msgstr ""
8383

84-
#: shared-bindings/vectorio/Polygon.c
84+
#: shared-module/vectorio/Polygon.c
8585
msgid "%q must be a tuple of length 2"
8686
msgstr ""
8787

@@ -1257,6 +1257,10 @@ msgstr ""
12571257
msgid "Plus any modules on the filesystem\n"
12581258
msgstr ""
12591259

1260+
#: shared-module/vectorio/Polygon.c
1261+
msgid "Polygon needs at least 3 points"
1262+
msgstr ""
1263+
12601264
#: shared-bindings/ps2io/Ps2.c
12611265
msgid "Pop from an empty Ps2 buffer"
12621266
msgstr ""
@@ -2113,10 +2117,6 @@ msgstr ""
21132117
msgid "empty"
21142118
msgstr ""
21152119

2116-
#: shared-bindings/vectorio/Polygon.c
2117-
msgid "empty %q list"
2118-
msgstr ""
2119-
21202120
#: extmod/moduheapq.c extmod/modutimeq.c
21212121
msgid "empty heap"
21222122
msgstr ""
@@ -3132,8 +3132,8 @@ msgstr ""
31323132
msgid "unreadable attribute"
31333133
msgstr ""
31343134

3135-
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/Polygon.c
3136-
#: shared-bindings/vectorio/VectorShape.c
3135+
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/VectorShape.c
3136+
#: shared-module/vectorio/Polygon.c
31373137
msgid "unsupported %q type"
31383138
msgstr ""
31393139

locale/de_DE.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-05-12 14:37+1000\n"
10+
"POT-Creation-Date: 2020-05-18 13:32-0700\n"
1111
"PO-Revision-Date: 2020-05-18 02:48+0000\n"
1212
"Last-Translator: Jeff Epler <[email protected]>\n"
1313
"Language-Team: German <https://later.unpythonic.net/projects/circuitpython/"
@@ -90,7 +90,7 @@ msgstr "%q Liste muss eine Liste sein"
9090
msgid "%q must be >= 1"
9191
msgstr "%q muss >= 1 sein"
9292

93-
#: shared-bindings/vectorio/Polygon.c
93+
#: shared-module/vectorio/Polygon.c
9494
msgid "%q must be a tuple of length 2"
9595
msgstr "%q muss ein Tupel der Länge 2 sein"
9696

@@ -1279,6 +1279,10 @@ msgstr ""
12791279
msgid "Plus any modules on the filesystem\n"
12801280
msgstr "und alle Module im Dateisystem \n"
12811281

1282+
#: shared-module/vectorio/Polygon.c
1283+
msgid "Polygon needs at least 3 points"
1284+
msgstr ""
1285+
12821286
#: shared-bindings/ps2io/Ps2.c
12831287
msgid "Pop from an empty Ps2 buffer"
12841288
msgstr ""
@@ -2149,10 +2153,6 @@ msgstr "Division durch Null"
21492153
msgid "empty"
21502154
msgstr "leer"
21512155

2152-
#: shared-bindings/vectorio/Polygon.c
2153-
msgid "empty %q list"
2154-
msgstr ""
2155-
21562156
#: extmod/moduheapq.c extmod/modutimeq.c
21572157
msgid "empty heap"
21582158
msgstr "leerer heap"
@@ -3184,8 +3184,8 @@ msgstr ""
31843184
msgid "unreadable attribute"
31853185
msgstr "nicht lesbares Attribut"
31863186

3187-
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/Polygon.c
3188-
#: shared-bindings/vectorio/VectorShape.c
3187+
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/VectorShape.c
3188+
#: shared-module/vectorio/Polygon.c
31893189
msgid "unsupported %q type"
31903190
msgstr "Nicht unterstützter %q-Typ"
31913191

locale/en_US.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-05-12 14:37+1000\n"
10+
"POT-Creation-Date: 2020-05-18 13:32-0700\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -81,7 +81,7 @@ msgstr ""
8181
msgid "%q must be >= 1"
8282
msgstr ""
8383

84-
#: shared-bindings/vectorio/Polygon.c
84+
#: shared-module/vectorio/Polygon.c
8585
msgid "%q must be a tuple of length 2"
8686
msgstr ""
8787

@@ -1257,6 +1257,10 @@ msgstr ""
12571257
msgid "Plus any modules on the filesystem\n"
12581258
msgstr ""
12591259

1260+
#: shared-module/vectorio/Polygon.c
1261+
msgid "Polygon needs at least 3 points"
1262+
msgstr ""
1263+
12601264
#: shared-bindings/ps2io/Ps2.c
12611265
msgid "Pop from an empty Ps2 buffer"
12621266
msgstr ""
@@ -2113,10 +2117,6 @@ msgstr ""
21132117
msgid "empty"
21142118
msgstr ""
21152119

2116-
#: shared-bindings/vectorio/Polygon.c
2117-
msgid "empty %q list"
2118-
msgstr ""
2119-
21202120
#: extmod/moduheapq.c extmod/modutimeq.c
21212121
msgid "empty heap"
21222122
msgstr ""
@@ -3132,8 +3132,8 @@ msgstr ""
31323132
msgid "unreadable attribute"
31333133
msgstr ""
31343134

3135-
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/Polygon.c
3136-
#: shared-bindings/vectorio/VectorShape.c
3135+
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/VectorShape.c
3136+
#: shared-module/vectorio/Polygon.c
31373137
msgid "unsupported %q type"
31383138
msgstr ""
31393139

locale/en_x_pirate.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-05-12 14:37+1000\n"
10+
"POT-Creation-Date: 2020-05-18 13:32-0700\n"
1111
"PO-Revision-Date: 2020-03-30 22:11+0000\n"
1212
"Last-Translator: Tannewt <[email protected]>\n"
1313
"Language-Team: English <https://later.unpythonic.net/projects/circuitpython/"
@@ -88,7 +88,7 @@ msgstr ""
8888
msgid "%q must be >= 1"
8989
msgstr ""
9090

91-
#: shared-bindings/vectorio/Polygon.c
91+
#: shared-module/vectorio/Polygon.c
9292
msgid "%q must be a tuple of length 2"
9393
msgstr ""
9494

@@ -1266,6 +1266,10 @@ msgstr ""
12661266
msgid "Plus any modules on the filesystem\n"
12671267
msgstr ""
12681268

1269+
#: shared-module/vectorio/Polygon.c
1270+
msgid "Polygon needs at least 3 points"
1271+
msgstr ""
1272+
12691273
#: shared-bindings/ps2io/Ps2.c
12701274
msgid "Pop from an empty Ps2 buffer"
12711275
msgstr ""
@@ -2122,10 +2126,6 @@ msgstr ""
21222126
msgid "empty"
21232127
msgstr ""
21242128

2125-
#: shared-bindings/vectorio/Polygon.c
2126-
msgid "empty %q list"
2127-
msgstr ""
2128-
21292129
#: extmod/moduheapq.c extmod/modutimeq.c
21302130
msgid "empty heap"
21312131
msgstr ""
@@ -3141,8 +3141,8 @@ msgstr ""
31413141
msgid "unreadable attribute"
31423142
msgstr ""
31433143

3144-
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/Polygon.c
3145-
#: shared-bindings/vectorio/VectorShape.c
3144+
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/VectorShape.c
3145+
#: shared-module/vectorio/Polygon.c
31463146
msgid "unsupported %q type"
31473147
msgstr ""
31483148

locale/es.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-05-12 14:37+1000\n"
10+
"POT-Creation-Date: 2020-05-18 13:32-0700\n"
1111
"PO-Revision-Date: 2020-05-17 20:56+0000\n"
1212
"Last-Translator: Jeff Epler <[email protected]>\n"
1313
"Language-Team: \n"
@@ -84,7 +84,7 @@ msgstr ""
8484
msgid "%q must be >= 1"
8585
msgstr "%q debe ser >= 1"
8686

87-
#: shared-bindings/vectorio/Polygon.c
87+
#: shared-module/vectorio/Polygon.c
8888
msgid "%q must be a tuple of length 2"
8989
msgstr ""
9090

@@ -1273,6 +1273,10 @@ msgstr ""
12731273
msgid "Plus any modules on the filesystem\n"
12741274
msgstr "Incapaz de montar de nuevo el sistema de archivos"
12751275

1276+
#: shared-module/vectorio/Polygon.c
1277+
msgid "Polygon needs at least 3 points"
1278+
msgstr ""
1279+
12761280
#: shared-bindings/ps2io/Ps2.c
12771281
msgid "Pop from an empty Ps2 buffer"
12781282
msgstr "Pop de un buffer Ps2 vacio"
@@ -2146,10 +2150,6 @@ msgstr "división por cero"
21462150
msgid "empty"
21472151
msgstr "vacío"
21482152

2149-
#: shared-bindings/vectorio/Polygon.c
2150-
msgid "empty %q list"
2151-
msgstr ""
2152-
21532153
#: extmod/moduheapq.c extmod/modutimeq.c
21542154
msgid "empty heap"
21552155
msgstr "heap vacío"
@@ -3175,8 +3175,8 @@ msgstr "No coinciden '{' en format"
31753175
msgid "unreadable attribute"
31763176
msgstr "atributo no legible"
31773177

3178-
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/Polygon.c
3179-
#: shared-bindings/vectorio/VectorShape.c
3178+
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/VectorShape.c
3179+
#: shared-module/vectorio/Polygon.c
31803180
msgid "unsupported %q type"
31813181
msgstr "tipo de %q no soportado"
31823182

0 commit comments

Comments
 (0)