Commit Graph

23254 Commits

Author SHA1 Message Date
jean-pierre charras 114f9062f1 EEschema, save correct line style in file when style == DEFAULT.
previously, when a graphic line style was set to Default,
the line style saved in file was always SOLID.
This is incorrect for graphic lines

Fixes #6017
https://gitlab.com/kicad/code/kicad/issues/6017
2020-10-17 15:18:14 +02:00
Jeff Young 827699bed2 Just because we have a startItem doesn't mean it can find a width.
For instance, a pad with no other tracks attached will return 0.

Fixes https://gitlab.com/kicad/code/kicad/issues/6019
2020-10-17 13:57:07 +01:00
Jeff Young 23d9e2e74a New rules engine needs non-connected items as well. 2020-10-17 13:52:18 +01:00
Jeff Young 6e54856e67 Don't halt other tests when one test's max is reached.
Fixes https://gitlab.com/kicad/code/kicad/issues/6035
2020-10-17 12:13:04 +01:00
jean-pierre charras 98710e2742 Eeschema, parser: allows using "default" as line style.
It is allowed in Eeschema code, so allow it if found in a .kicad_sch file,
just in case.
However it is not yet in use in .kicad_sch files to avoid breaking previous Kicad versions
2020-10-17 12:39:51 +02:00
jean-pierre charras a9619c051b Better name for a plot style variable and accessors.
Accessors were previously GetType() and SetType(), but this is a bad name:
These names are already widely used in code as accessors for a data type.
We do not set a data type, but a style, so use a better name (GetPlotStyle/SetPlotStyle).
2020-10-17 12:00:43 +02:00
Jeff Young 51ab639ce4 Implement a better interface between inspectors and DRC rule editor. 2020-10-17 10:58:08 +01:00
Jeff Young 948036372e Ban unitless numbers in DRC rules.
Fixes https://gitlab.com/kicad/code/kicad/issues/6029
2020-10-17 10:58:08 +01:00
Jeff Young c67770e6b6 Add some missing pad properties. 2020-10-17 10:58:08 +01:00
Oğuz Ersen 78536c4373 Translated using Weblate (Turkish)
Currently translated at 1.3% (85 of 6503 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/tr/
2020-10-17 09:28:27 +02:00
Mark Roszko 07683c6985 Translated using Weblate (Polish)
Currently translated at 65.8% (4272 of 6484 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2020-10-17 09:28:27 +02:00
Seth Hillbrand 8ef990821e Translated using Weblate (German)
Currently translated at 77.8% (5065 of 6503 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2020-10-17 09:28:27 +02:00
Oğuz Ersen 8364f7c755 Translated using Weblate (Turkish)
Currently translated at 0.3% (23 of 6503 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/tr/
2020-10-17 09:28:27 +02:00
Seth Hillbrand 756f621241 Translated using Weblate (Swedish)
Currently translated at 3.4% (227 of 6503 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2020-10-17 09:28:27 +02:00
Seth Hillbrand 8dab5f92a4 Translated using Weblate (German)
Currently translated at 77.4% (5034 of 6503 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2020-10-17 09:28:27 +02:00
Oğuz Ersen c2e46e9fcc Translated using Weblate (Turkish)
Currently translated at 0.1% (13 of 6503 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/tr/
2020-10-17 09:28:27 +02:00
Oğuz Ersen 7b92b9aa31 Translated using Weblate (Turkish)
Currently translated at 0.1% (11 of 6503 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/tr/
2020-10-17 09:28:27 +02:00
Mark Roszko 839d3c7044 Translated using Weblate (Polish)
Currently translated at 65.4% (4242 of 6484 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2020-10-17 09:28:27 +02:00
jean-pierre charras adb743bcba Update French translation 2020-10-17 09:27:19 +02:00
Seth Hillbrand 971eb529f4 Separate strings into full strings 2020-10-16 23:10:47 -07:00
Marek Roszko 2fcd0721a9 Add num pad keys to name list so they are allowed to be hotkeyed
Fix #1787
2020-10-17 00:18:14 -04:00
Marek Roszko a754bf6a48 Launch tools from Idle in the kicad manager.
Launching on a control event can allow that control to steal focus from the new windows as more events may exist intended for the control.

Fix #4479
2020-10-16 23:40:27 -04:00
Marek Roszko c56f616954 Nix rogue forward declaration 2020-10-16 23:25:15 -04:00
Marek Roszko c372a77d6c Fix focus theft, Windows sends mouse events to windows regardless of focus.
We need to check if the window is foreground before fight over focus which will make the window foreground if it wasn't.

Fixes #4099
Fixes #5958
2020-10-16 23:25:01 -04:00
Seth Hillbrand c795496d71 Remove duplicated translations 2020-10-16 12:51:33 -07:00
Roberto Fernandez Bautista 45cee04f84
Translated using Weblate (Spanish)
Currently translated at 47.2% (3070 of 6503 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es/
2020-10-16 21:10:24 +02:00
Seth Hillbrand 753b93da51 Missed issues in previous commit 2020-10-16 11:51:15 -07:00
Seth Hillbrand 67d874ee61 Fix merge error 2020-10-16 11:36:02 -07:00
Christian Schlüter befa05d1e0
Revert "Translated using Weblate (German)"
This reverts commit aa62e9a4b4.
2020-10-16 20:13:25 +02:00
Seth Hillbrand 092a4550f8 Merge remote-tracking branch 'weblate/master' into master 2020-10-16 10:58:20 -07:00
Mark Roszko 1bd7541c27
Translated using Weblate (Polish)
Currently translated at 98.2% (5138 of 5229 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2020-10-16 19:52:37 +02:00
Roberto Fernandez Bautista e41f4db621
Translated using Weblate (Spanish)
Currently translated at 82.0% (4589 of 5592 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es/
2020-10-16 19:52:36 +02:00
Christian Schlüter aa62e9a4b4
Translated using Weblate (German)
Currently translated at 100.0% (5665 of 5665 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2020-10-16 19:52:36 +02:00
Seth Hillbrand a30729b372 Add Turkish per request 2020-10-16 10:52:19 -07:00
Seth Hillbrand c24a463f6f Update translations 2020-10-16 10:51:32 -07:00
Jeff Young 1ee3df61c9 Improve robustness of infobar button handling. 2020-10-16 17:07:59 +01:00
Allan Nordhøy e9dd65b352
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.1% (8 of 6499 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/nb_NO/
2020-10-16 18:04:40 +02:00
Jeff Young ebc8e2c921 Move property manager tokens to HKI macro.
This leaves them untranslated internally but makes sure their
translation strings exist so they can be dynamically translated
at the GUI level.

Fixes https://gitlab.com/kicad/code/kicad/issues/6020
2020-10-16 16:59:52 +01:00
Seth Hillbrand 0d6684bdf0 Freeze GUI as well to prevent wx updates
The tree model may get updated by a redraw, so we need to freeze both
the model and the view while updating

Fixes https://gitlab.com/kicad/code/kicad/issues/5872
2020-10-16 08:28:14 -07:00
Jeff Young 1b2168af1e Don't throw implicit rules out after failing to compile user rules. 2020-10-16 12:44:20 +01:00
Jeff Young eea7957e16 Inform user of bad DRC rules when filling zones.
ADDED: facility for hypertext links in infobar.

Also made use of this for via constraint errors when routing.

Fixes https://gitlab.com/kicad/code/kicad/issues/5800
2020-10-16 12:44:20 +01:00
Jeff Young 834c7bbe05 Report lexer issues through error reporter. 2020-10-16 12:44:20 +01:00
Jon Evans 4b436fa573 PcbNew: Improved DRC marker display
Add shadows and slightly reduce size

Fixes https://gitlab.com/kicad/code/kicad/-/issues/5936
2020-10-15 22:39:13 -04:00
Marek Roszko a1c75748a0 Remove GetChars(), a wxWidgets 2.9 compatibility hack 2020-10-15 20:53:25 -04:00
Seth Hillbrand 72653a323b Add norwegian template per request 2020-10-15 17:12:20 -07:00
Seth Hillbrand b2cacefad6 Add libs dir to translations 2020-10-15 17:09:19 -07:00
Marek Roszko b9f1601418 Rename PLOT_MODE to OUTLINE_MODE 2020-10-15 19:33:18 -04:00
Marek Roszko eb33c33f15 Rename EDA_DRAW_MODE_T to PLOT_MODE 2020-10-15 19:30:07 -04:00
Marek Roszko ed968ebd2c Split EDA_DRAW_MODE_T to its own header 2020-10-15 19:10:12 -04:00
Marek Roszko a2c3bdec0d Remove kicad_string.h from netlist_exporter.h 2020-10-15 18:48:53 -04:00