Jeff Young
209d593ca0
wxT-ify utils.
2022-02-08 22:24:29 +00:00
Henrik Kauhanen
4fbb957fa3
Translated using Weblate (Swedish)
...
Currently translated at 99.4% (7144 of 7186 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/sv/
2022-02-08 02:49:15 +01:00
Henrik Kauhanen
8100a8940f
Translated using Weblate (Finnish)
...
Currently translated at 87.8% (6315 of 7186 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/fi/
2022-02-08 02:49:15 +01:00
Mustafa Selçuk ÇAVDAR
485e4ddf05
Translated using Weblate (Turkish)
...
Currently translated at 43.0% (3095 of 7186 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/tr/
2022-02-08 02:49:15 +01:00
Henrik Kauhanen
4ab750e926
Translated using Weblate (Swedish)
...
Currently translated at 99.4% (7147 of 7186 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/sv/
2022-02-08 02:49:15 +01:00
Henrik Kauhanen
a10d9628c9
Translated using Weblate (Finnish)
...
Currently translated at 87.8% (6311 of 7186 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/fi/
2022-02-08 02:49:15 +01:00
Arnau Llovet Vidal
5b175d6d53
Translated using Weblate (Catalan)
...
Currently translated at 58.4% (4202 of 7186 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ca/
2022-02-08 02:49:15 +01:00
Axel Henriksson
10217f5507
Translated using Weblate (Swedish)
...
Currently translated at 99.4% (7147 of 7186 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/sv/
2022-02-08 02:49:15 +01:00
Henrik Kauhanen
f185511698
Translated using Weblate (Swedish)
...
Currently translated at 99.4% (7147 of 7186 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/sv/
2022-02-08 02:49:15 +01:00
Axel Henriksson
db972a708a
Translated using Weblate (Swedish)
...
Currently translated at 99.4% (7145 of 7186 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/sv/
2022-02-08 02:49:15 +01:00
Petri Niemelä
efaabfa852
Translated using Weblate (Finnish)
...
Currently translated at 87.7% (6303 of 7186 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/fi/
2022-02-08 02:49:15 +01:00
Mark Hämmerling
932cb82c82
Translated using Weblate (German)
...
Currently translated at 100.0% (7186 of 7186 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/de/
2022-02-08 02:49:15 +01:00
Arnau Llovet Vidal
f0d52ff2de
Translated using Weblate (Catalan)
...
Currently translated at 56.9% (4092 of 7186 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ca/
2022-02-08 02:49:14 +01:00
Henrik Kauhanen
fc737ffffd
Translated using Weblate (Swedish)
...
Currently translated at 99.4% (7145 of 7186 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/sv/
2022-02-08 02:49:14 +01:00
Marco Ciampa
4df36a3438
Updated Italian translation
2022-02-07 11:27:56 +01:00
Marek Roszko
e72bd34383
Fix color4d distance return type
...
(cherry picked from commit 1f8d101b1d
)
2022-02-07 02:11:55 +00:00
Seth Hillbrand
8fc831cbc2
Validate arc output when editing
...
Handles checking output of the arc to ensure we don't end up generating
an invalid arc. Also keeps the limit of the arc angle to be (360,360)
excluding 0.
Fixes https://gitlab.com/kicad/code/kicad/issues/10070
2022-02-06 17:18:04 -08:00
Marek Roszko
aa5b6c70a7
Ensure we close the occt document at the end of loading
...
(cherry picked from commit d211ef1ea3
)
2022-02-06 16:18:31 +00:00
Jon Evans
7d5c1d7b5c
Disable Ubuntu CI for now
...
Build box is going down for a time
(cherry picked from commit 41b6c9bf8f
)
2022-02-06 09:13:35 -05:00
Mark Roszko
f5a56c1ebc
Use unique_ptr to avoid memory leak in 3d model cache loading
...
PVS V773
2022-02-05 20:20:45 +00:00
Jeff Young
3af606a020
Wide string decls for gerbview.
2022-02-05 19:59:29 +00:00
Marek Roszko
132358211e
Fix a set of odd null on new checks PVS V668
...
(cherry picked from commit 1c77eb14d7
)
2022-02-05 19:43:21 +00:00
Roberto Fernandez Bautista
f412d8d461
CADSTAR: Fix potential nullptr dereferencing bug
...
Don't assume the footprint will have the pad index that the file references.
2022-02-05 19:22:05 +00:00
Marek Roszko
71bcc9883a
Fix typoed test condition for TH no hole pads PVS V501
...
(cherry picked from commit b9f1aaf029
)
2022-02-05 18:32:08 +00:00
Marek Roszko
be958e3fdb
Avoid potential divide by zero in footprint spreading PVS V609
...
(cherry picked from commit 8588bea4b2
)
2022-02-05 18:31:00 +00:00
Marek Roszko
b2c99dd953
Fix some leaking objects identified by PVS Studio V773
...
(cherry picked from commit a7ebfc31f9
)
2022-02-05 18:30:24 +00:00
Wayne Stambaugh
c875af48e7
Don't create new project on save as when project file already exists.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10625
2022-02-05 11:30:21 -05:00
Jeff Young
471c0c4c1d
More wide-string declarations.
2022-02-05 13:29:00 +00:00
Jeff Young
9e5e46514d
More wide-string declarations.
2022-02-05 13:29:00 +00:00
jean-pierre charras
ba70f202ce
Fix a compil issue.
2022-02-05 11:16:56 +01:00
Seth Hillbrand
e18fc36646
wxT rework for common directory
2022-02-04 16:24:50 -08:00
Jeff Young
4657614e4f
More wxString wide literals.
2022-02-04 23:12:09 +00:00
Jeff Young
d295025964
Be explicit about literal wide-strings.
2022-02-04 20:21:07 +00:00
Jeff Young
2365c1e96f
Add duplicated items to parent group.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/10155
(cherry picked from commit 42917874dd
)
2022-02-04 18:14:25 +00:00
Jeff Young
430c4862b6
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
(cherry picked from commit 4cc1ced2f3
)
2022-02-04 18:14:25 +00:00
Seth Hillbrand
4c81307391
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
2022-02-04 10:03:23 -08:00
jean-pierre charras
57cbe261f2
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 13:55:00 +01:00
Marek Roszko
50d3a507d0
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
(cherry picked from commit ca7840334c
)
2022-02-04 12:50:54 +00:00
Seth Hillbrand
7642a9db79
Setup selection when repeating
...
We need the item to be currently selected when repeating the last symbol
insert. This ensures we have a valid selection before starting the move
tool and possibly getting odd system behavior from mouse positions
Fixes https://gitlab.com/kicad/code/kicad/issues/10619
2022-02-03 17:09:31 -08:00
Jeff Young
527e06d989
Fix some overly-large text spacing.
...
While overly-large bounding boxes mostly don't matter, they make us
knock out holes in zones that are too large.
2022-02-04 00:34:20 +00:00
Jeff Young
69b69aa431
Update text variables when they change.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/10734
2022-02-04 00:34:20 +00:00
Jeff Young
d6a86fa9e0
Don't double-count the text thickness in its polygon shape.
...
The stroke font already takes the thickness into account in
ComputeStringBoundaryLimits() (which is called by GetTextBox()).
2022-02-04 00:34:20 +00:00
Seth Hillbrand
0a13f15a9d
Ensure we can version scripting properly
...
Adds Version() and FullVersion() calls to support reporting version to
scripts and scripting window
Fixes https://gitlab.com/kicad/code/kicad/issues/10079
2022-02-03 15:54:07 -08:00
Seth Hillbrand
ef94f31204
Update error message to match new arc dialog
...
We now provide arc end points and interior angle, so we cannot check for
null radius in the same fashion. Instead, the starpoint==endpoint
indicates a zero radius
Fixes https://gitlab.com/kicad/code/kicad/issues/10714
2022-02-03 14:31:58 -08:00
Seth Hillbrand
7601a3385f
Convert strings to wide when using wxString routines
...
WxString does not allocate space for wide strings needed during
conversion unless the string is explicitly wide. This can cause buffer
over/underflow
Fixes https://gitlab.com/kicad/code/kicad/issues/10605
2022-02-03 13:08:07 -08:00
Seth Hillbrand
ccf2a63f45
When undoing creation of the sheet, get out first
...
We can't stay in a sheet that is deleted by the action of undo. Checks
the current sheet and, if we are currently using it, ensures that the
following action is to leave the current sheet
Fixes https://gitlab.com/kicad/code/kicad/issues/10733
2022-02-03 11:19:33 -08:00
Seth Hillbrand
901685f01b
Don't convert KIID on the fly
...
Converting to string on save prevent unneeded ops
2022-02-03 10:34:14 -08:00
Seth Hillbrand
bdf235c25f
Restore missing bitmaps
2022-02-03 09:23:27 -08:00
jean-pierre charras
0ffa266315
DIALOG_SPICE_MODEL: fix a cosmetic issue (no room for the help text)
...
Fixes #10170
https://gitlab.com/kicad/code/kicad/issues/10170
(cherry picked from commit 7c3f0612f1
)
2022-02-03 15:01:04 +00:00
Jeff Young
5c94d59e75
Use natural order sorting for FP libraries.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/10349
(cherry picked from commit a187076438
)
2022-02-03 15:01:04 +00:00