Commit Graph

29088 Commits

Author SHA1 Message Date
Jeff Young b84d1456d5 KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01:00
Jeff Young 3aae3c6f65 Dark mode for a bunch of HTML dialogs.
WX_HTML_REPORT_BOX
WX_HTML_REPORT_PANEL
HTML_MESSAGEBOX
DIALOG_DISPLAY_HTML_TEXT

Fixes https://gitlab.com/kicad/code/kicad/issues/9157

Fixes https://gitlab.com/kicad/code/kicad/issues/9156
2021-09-14 21:23:57 +01:00
jean-pierre charras 666f7ea38c WX_GRID::EnsureColLabelsVisible(): avoid updating column label size when not needed.
Updating column label size generates a UI event and if EnsureColLabelsVisible()
is called inside a UI event, this is a bit annoying.
2021-09-14 20:08:48 +02:00
Jeff Young 3b121359ae Fix a couple of escape-string issues.
Fixes https://gitlab.com/kicad/code/kicad/issues/9167
2021-09-14 18:30:19 +01:00
Seth Hillbrand 754464cb3b Fix coverity error
Check failed to open file before dereferencing
2021-09-14 10:15:43 -07:00
Jeff Young 38e1e780a8 Use EnvVar resolver not full resolver when expanding 3D search paths.
Fixes https://gitlab.com/kicad/code/kicad/issues/7670
2021-09-14 14:48:09 +01:00
Jeff Young 4447843dc1 Defensive coding around getting an OnUpdateUI before we're ready.
This appears to happen at least on GTK when the 3DFileResolver throws
up error dialogs when paths can't be found.

Fixes https://gitlab.com/kicad/code/kicad/issues/9163
2021-09-14 13:35:31 +01:00
Jeff Young 0ae17f1e63 Update Kicad2Step error messages to current terminology. 2021-09-14 13:35:31 +01:00
jean-pierre charras c504b5165d Try to fix use of a non const method in a const method (created by commit 5abe257)
(not detected by my compil).
2021-09-14 14:05:33 +02:00
Jon Evans 4d478d6f17 Fix ordering of initialization in length tuner
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9161
2021-09-14 07:48:02 -04:00
Jeff Young 48082e3234 Improve debugability of 3D file resolver failures.
Fixes https://gitlab.com/kicad/code/kicad/issues/7670
2021-09-14 12:28:17 +01:00
jean-pierre charras 5abe2572b9 Gerbview: fix incorrect bounding box of lines drawn with a rectangular aperture.
Fixes #9152
https://gitlab.com/kicad/code/kicad/issues/9152
2021-09-14 10:44:40 +02:00
Seth Hillbrand 4b436fb86d Narrow down collector
RTree keeps track of position as well.  We can use this to reduce the
amount of time spent in the collector routine
2021-09-13 20:24:07 -07:00
Seth Hillbrand 1c409ff90a Fix typo in previous commit 2021-09-13 20:23:52 -07:00
Seth Hillbrand 2fdd805eda Override SCH_GLOBALLABEL::HitTest
Global labels can optionally have intersheet references.  When enabled,
they expand the bounding box of the label.  Because they can be far away
from the actual label, the bounding box is not a good approximation for
the hittest
2021-09-13 19:55:48 -07:00
Marek Roszko ebda02255c Fix step pcb coloring 2021-09-13 21:18:22 -04:00
Jeff Young 7a993c0211 Add support mode for dark mode to SCINTILLA_TRICKS.
Also removes the return value from the BITMAP_STORE's themeChanged
method as it will provide the wrong answer for the second frame it's
called on.

Also hooked up ACTION_TOOLBAR, the app launcher, and the project tree
to the wx event for system color changes so they change on the fly.

Fixes https://gitlab.com/kicad/code/kicad/issues/6026
2021-09-14 00:18:50 +01:00
Seth Hillbrand ab46aba5c9 Correct Language ID for Latin American Spanish 2021-09-13 11:00:23 -07:00
Seth Hillbrand 17b168999f Update translations 2021-09-13 10:59:02 -07:00
boonchai k 45e568831c
Translated using Weblate (Thai)
Currently translated at 69.9% (4900 of 7007 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/th/
2021-09-13 19:58:14 +02:00
Triyan W. Nugroho 52e53b4bc3
Translated using Weblate (Indonesian)
Currently translated at 17.0% (1219 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/id/
2021-09-13 19:58:14 +02:00
ZbeeGin 1b64ca18c8
Translated using Weblate (Polish)
Currently translated at 100.0% (7149 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2021-09-13 19:58:14 +02:00
CJ van der Hoeven c6d78f22af
Translated using Weblate (Dutch)
Currently translated at 99.8% (7138 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/nl/
2021-09-13 19:58:14 +02:00
Jonathan Haas fab7a3cfd7
Translated using Weblate (German)
Currently translated at 89.8% (6423 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2021-09-13 19:58:14 +02:00
Jan Straka 92bdbf8ebc
Translated using Weblate (Czech)
Currently translated at 84.4% (6036 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/cs/
2021-09-13 19:58:13 +02:00
Arnau Llovet Vidal cc7a42c950
Translated using Weblate (Catalan)
Currently translated at 29.5% (2113 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ca/
2021-09-13 19:58:13 +02:00
lê văn lập f65ce5eb8f
Translated using Weblate (Vietnamese)
Currently translated at 16.7% (1201 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/vi/
2021-09-13 19:58:13 +02:00
CJ van der Hoeven fe9c5d3bce
Translated using Weblate (Dutch)
Currently translated at 82.4% (5894 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/nl/
2021-09-13 19:58:13 +02:00
Jonathan Haas 6351343a83
Translated using Weblate (German)
Currently translated at 89.6% (6411 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2021-09-13 19:58:13 +02:00
Augusto Fraga Giachero 66f4509368
Translated using Weblate (Portuguese (Brazil))
Currently translated at 53.9% (3859 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2021-09-13 19:58:13 +02:00
boonchai k c0daa28592
Translated using Weblate (Thai)
Currently translated at 68.4% (4795 of 7007 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/th/
2021-09-13 19:58:13 +02:00
Augusto Fraga Giachero 81abfe5179
Translated using Weblate (Portuguese)
Currently translated at 52.8% (3778 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt/
2021-09-13 19:58:13 +02:00
Jonathan Haas 6271edae3c
Translated using Weblate (German)
Currently translated at 89.6% (6406 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2021-09-13 19:58:13 +02:00
Seth Hillbrand 38215c0d35
Translated using Weblate (German)
Currently translated at 89.6% (6406 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2021-09-13 19:58:12 +02:00
Wellington Terumi Uemura 4e432d0923
Translated using Weblate (Portuguese (Brazil))
Currently translated at 53.2% (3809 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2021-09-13 19:58:12 +02:00
Augusto Fraga Giachero 0b7a1ab64c
Translated using Weblate (Portuguese (Brazil))
Currently translated at 53.2% (3809 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2021-09-13 19:58:12 +02:00
David Chen d97dde5f1f
Translated using Weblate (Chinese (Traditional))
Currently translated at 95.0% (6792 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2021-09-13 19:58:12 +02:00
Augusto Fraga Giachero 91314a8d6c
Translated using Weblate (Portuguese)
Currently translated at 52.7% (3773 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt/
2021-09-13 19:58:12 +02:00
Augusto Fraga Giachero a81af7de48
Translated using Weblate (Spanish)
Currently translated at 96.6% (6910 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es/
2021-09-13 19:58:12 +02:00
Eric 836f65955e
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.9% (7147 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2021-09-13 19:58:12 +02:00
Richard Jonsson cf9ec9386c
Translated using Weblate (Swedish)
Currently translated at 82.9% (5931 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2021-09-13 19:58:12 +02:00
Konstantin Baranovskiy 28deae43cc
Translated using Weblate (Russian)
Currently translated at 100.0% (7149 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2021-09-13 19:58:12 +02:00
ZbeeGin b89d3d9544
Translated using Weblate (Polish)
Currently translated at 100.0% (7149 of 7149 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2021-09-13 19:58:11 +02:00
Seth Hillbrand 484eaa01b9 Try harder to avoid loop contention
We have two cases where we might be requesting a disambiguation menu.
In one case, we already have the event loop waiting and we need to run
the selectionMenu through the action system.  In the other case, the
tool isn't on the stack and won't activate.  Here we need to run
directly and we are assured of not crashing because the tool isn't
active.

Fixes https://gitlab.com/kicad/code/kicad/issues/9154
2021-09-13 10:17:04 -07:00
Jeff Young b27b97809f Clean up several bugs in Graphics Cleaner.
See bug report for more details.

Fixes https://gitlab.com/kicad/code/kicad/issues/9150
2021-09-13 18:04:17 +01:00
Jeff Young 32e23d993e Formatting. 2021-09-13 17:18:58 +01:00
Jeff Young fdfecf5932 Don't push view control settings to the previous active tool.
See further comments in bug report.

Fixes https://gitlab.com/kicad/code/kicad/issues/9147
2021-09-13 13:28:05 +01:00
Jeff Young efc9279a19 Fix unfortunate line-break. 2021-09-13 13:28:05 +01:00
jean-pierre charras 1cf1a23250 footprint.cpp: seriously speedup CoverageRatio() and GetCoverageArea().
Previoulsy, they calculated the area of polygons after using Simplify() and Fracture().
But polygon areas can be easily calculated without these transforms.
So they are just removed (they are really time consummig).
2021-09-13 13:41:36 +02:00
Marek Roszko daca9d21f2 Add dxf point import
Fix #9149
2021-09-12 19:38:52 -04:00