Commit Graph

31524 Commits

Author SHA1 Message Date
jean-pierre charras 6a9607b76f Fix crash when trying to draw a text with non printable chars.
Fixes #10772
https://gitlab.com/kicad/code/kicad/issues/10772
2022-02-06 08:34:19 +01:00
Marek Roszko d9c04da407 Sprinkle in some make_unique 2022-02-05 21:26:36 -05:00
Marek Roszko 0a5ddb8d40 Add some vector reservations 2022-02-05 21:12:29 -05:00
Marek Roszko 28ce11212c Emplace_back a bit a in clipper 2022-02-05 21:00:34 -05:00
Marek Roszko 41f54349a5 Replace inserts/push_backs with emplace in some spots 2022-02-05 19:53:31 -05:00
Jeff Young 4e3109a633 Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
Jeff Young 34a9a165c9 More wide-string declarations. 2022-02-05 22:26:31 +00:00
Jeff Young b2e3f03222 More wide-string declarations. 2022-02-05 22:03:04 +00:00
jean-pierre charras f8ff104003 Fix a compil issue. 2022-02-05 21:29:44 +00:00
Jeff Young 7ccac79192 More wxString wide literals. 2022-02-05 21:29:34 +00:00
Jeff Young 9582457fef Be explicit about literal wide-strings. 2022-02-05 20:40:21 +00:00
Marek Roszko 36a5580f56 Use unique_ptr to avoid memory leak in 3d model cache loading
PVS V773
2022-02-05 14:38:07 -05:00
Marek Roszko 1c77eb14d7 Fix a set of odd null on new checks PVS V668 2022-02-05 14:38:07 -05:00
Roberto Fernandez Bautista 290354e3f6 CADSTAR: Fix potential nullptr dereferencing bug
Don't assume the footprint will have the pad index that the file references.
2022-02-05 19:20:56 +00:00
Wayne Stambaugh 00ba580915 Don't create new project on save as when project file already exists.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10625

(cherry picked from commit c875af48e7)
2022-02-05 12:00:54 -05:00
Marek Roszko 18eda73f60 Initialize m_face in constructor PVS V730 2022-02-05 11:36:02 -05:00
Marek Roszko b9f1aaf029 Fix typoed test condition for TH no hole pads PVS V501 2022-02-05 11:31:56 -05:00
Marek Roszko 193dee11e8 Add missing null check PVS V595 2022-02-05 11:25:09 -05:00
Marek Roszko 8588bea4b2 Avoid potential divide by zero in footprint spreading PVS V609 2022-02-05 11:23:05 -05:00
Marek Roszko a7ebfc31f9 Fix some leaking objects identified by PVS Studio V773 2022-02-05 11:16:11 -05:00
jean-pierre charras 07e1278c05 fix incorrect calculation EDA_TEXT::GetTextBox() for empty texts.
It generates KiROUND alert.
2022-02-04 19:22:33 +01:00
Seth Hillbrand 57df1b469a Allow dialogs to force evaluation of UNIT_BINDER
When setting previous values, we don't get the "OnFocus" event, so the
evaluation would not get triggered by simply repeating (using the
keyboard)

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

(cherry picked from commit 4c81307391)
2022-02-04 10:04:54 -08:00
Jeff Young 42917874dd Add duplicated items to parent group.
Fixes https://gitlab.com/kicad/code/kicad/issues/10155
2022-02-04 14:26:57 +00:00
Jeff Young 4cc1ced2f3 Log an undo item when filling zones.
If we wanted to put it into the parent's undo item, then the *parent*
would need to not start a new undo record.  Not starting one in the
zone filler tries to add it to the *previous* change, not to the parent
change.

Fixes https://gitlab.com/kicad/code/kicad/issues/10091
2022-02-04 13:45:32 +00:00
Jeff Young 93c3e6bd16 Clean up formatting. 2022-02-04 13:43:57 +00:00
Jeff Young 8d3e1639d0 Update text variables when they change.
Fixes https://gitlab.com/kicad/code/kicad/issues/10734
2022-02-04 12:52:46 +00:00
Marek Roszko ca7840334c Mark some limits as constexpr
gcc doesn't need it and computes during compile regardless, but experimenting in godbolt, both clang and MSVC actually do need it or else it's partially computed at runtime
2022-02-04 07:50:13 -05:00
jean-pierre charras ac7cbcce61 WX_GRID: highlight the selected cell after selection by tab or arrow keys.
Fixes #9290
https://gitlab.com/kicad/code/kicad/issues/9290
2022-02-04 12:36:27 +01:00
Seth Hillbrand ad15cdfe99 Update Translations 2022-02-03 17:11:38 -08:00
Henrik Kauhanen aef8736d5e
Translated using Weblate (Swedish)
Currently translated at 97.3% (7138 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2022-02-04 02:10:47 +01:00
Arnau Llovet Vidal 3bc583352b
Translated using Weblate (Catalan)
Currently translated at 54.0% (3963 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ca/
2022-02-04 02:10:47 +01:00
Henrik Kauhanen 943e32a369
Translated using Weblate (Swedish)
Currently translated at 95.9% (7040 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2022-02-04 02:10:47 +01:00
Henrik Kauhanen a7e8d93201
Translated using Weblate (Swedish)
Currently translated at 95.6% (7016 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2022-02-04 02:10:47 +01:00
Axel Henriksson 5f1bbd868f
Translated using Weblate (Swedish)
Currently translated at 95.6% (7016 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2022-02-04 02:10:47 +01:00
Arnau Llovet Vidal 6c99c78d49
Translated using Weblate (Catalan)
Currently translated at 53.2% (3910 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ca/
2022-02-04 02:10:47 +01:00
Ian McInerney cb181b2a55
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (7336 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2022-02-04 02:10:47 +01:00
Mustafa Selçuk ÇAVDAR 16c969dec4
Translated using Weblate (Turkish)
Currently translated at 43.3% (3183 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/tr/
2022-02-04 02:10:47 +01:00
taotieren af80703439
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (7336 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2022-02-04 02:10:46 +01:00
CloverGit 1a976fc49c
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (7336 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2022-02-04 02:10:46 +01:00
Axel Henriksson 13add4b298
Translated using Weblate (Swedish)
Currently translated at 95.5% (7008 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2022-02-04 02:10:46 +01:00
Dejan Smole ed71fa1b31
Translated using Weblate (Slovenian)
Currently translated at 75.0% (5503 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sl/
2022-02-04 02:10:46 +01:00
Jakub Janek 3f35391308
Translated using Weblate (Slovak)
Currently translated at 73.3% (5383 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sk/
2022-02-04 02:10:46 +01:00
dsa-t cdd409a94b
Translated using Weblate (Russian)
Currently translated at 97.7% (7170 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2022-02-04 02:10:46 +01:00
ZbeeGin 8976f895ec
Translated using Weblate (Polish)
Currently translated at 100.0% (7336 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2022-02-04 02:10:46 +01:00
김랑기 6e955c000a
Translated using Weblate (Korean)
Currently translated at 100.0% (7336 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-02-04 02:10:46 +01:00
Tokita, Hiroshi 8453976f1e
Translated using Weblate (Japanese)
Currently translated at 98.5% (7229 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2022-02-04 02:10:46 +01:00
Mark Hämmerling 74fa6d7a4b
Translated using Weblate (German)
Currently translated at 99.7% (7317 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2022-02-04 02:10:46 +01:00
Arnau Llovet Vidal 13c0b441cc
Translated using Weblate (Catalan)
Currently translated at 53.1% (3901 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ca/
2022-02-04 02:10:46 +01:00
Tian Yunhao 3a958c4bb0
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (7336 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2022-02-04 02:10:45 +01:00
Eric 737546674f
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (7336 of 7336 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2022-02-04 02:10:45 +01:00