Jeff Young
8dce6c0b67
Don't steal command-keys from a wxGrid.
...
It's unlikely to win you friends.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17229
(cherry picked from commit 1082930c34
)
2024-03-02 15:29:00 +00:00
Yon Uriarte
3d67ab72c6
Performance
...
Cache VIEW_ITEM's bbox in VIEW_TREE for faster removals.
Fixes https://gitlab.com/kicad/code/kicad/issues/16841
(cherry picked from commit 464f185387
)
2024-03-02 00:06:24 +00:00
Jeff Young
53d8e2c8c3
Separate "use board stackup colors" into separate checkbox.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17085
(cherry picked from commit 8dddd9cc2c
)
2024-03-01 23:45:37 +00:00
Seth Hillbrand
a7c09964ba
Update contributors
...
(cherry picked from commit e7d4127f99
)
2024-03-01 13:46:14 -08:00
Jeff Young
8047eed6f8
The ruler tool is not part of InteractiveEdit.
...
(In particular, it should not return true to IsEditorTool().)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17164
2024-02-29 17:56:25 +00:00
Jeff Young
1cd5827078
_() -> _HKI() for group names.
...
(cherry picked from commit d08e0e9eaa
)
2024-02-29 17:38:18 +00:00
jean-pierre charras
985c3ad92a
GERBER_PLOTTER, round-rect aperture: ensure primitives have non null size.
...
for round-rect pads with a radius = 50% of the smaller dim, one of primitives
used to create the shape can have a 0 size.
Ensure a min size >= 10 nm (It should not create a actual change)
2024-02-29 18:07:02 +01:00
Alex Shvartzkop
c59fac4089
Use a version string without the extra packaging info in drawing sheets.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17176
2024-02-29 04:24:16 +03:00
Alex Shvartzkop
0dab086f0c
EasyEDA Std import: support multiline text on PCB.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17171
2024-02-29 03:54:01 +03:00
Seth Hillbrand
7d1adff071
Store group id rather than group
...
We only need the group storage id for lookup. Storing the KIID instead
of a copy of the group avoids unneeded overhead
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17175
2024-02-28 13:27:08 -08:00
Alex Shvartzkop
c4a7af8a47
Cairo GAL: fix endianness check.
2024-02-28 04:11:02 +03:00
Alex Shvartzkop
d359fb8ab9
Cairo GAL: reduce buffer allocation sizes.
...
cairo_format_stride_for_width() result is in bytes.
Also removes unneeded extra width.
2024-02-28 03:50:17 +03:00
Alex Shvartzkop
5618a6925d
Cairo GAL: improve empty canvas performance (-80% CPU)
2024-02-28 03:50:17 +03:00
Jon Evans
12dcdc8bbe
Trivial change to avoid crash on tool re-entry
...
See https://gitlab.com/kicad/code/kicad/-/issues/17164
(cherry picked from commit 299b548a41
)
2024-02-28 00:31:37 +00:00
Jon Evans
bbd4cfd3d4
Force lib tree row height on GTK
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16403
(cherry picked from commit c3af434741
)
2024-02-28 00:25:28 +00:00
Jon Evans
0b5c0ef639
Expose grid origin action in more places
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17007
(cherry picked from commit 0df5cf7f75
)
2024-02-27 23:52:17 +00:00
Jeff Young
60dbd0ce0d
Add wxGrids to list of things that get arrow keys.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17144
(cherry picked from commit f754410c7e
)
2024-02-27 18:12:40 +00:00
Jon Evans
ffa1d19216
Don't rely on dynamic_cast across DLLs
...
See https://gitlab.com/kicad/code/kicad/-/issues/16998
(cherry picked from commit e9456201a7
)
2024-02-27 03:11:17 +00:00
Alex Shvartzkop
35192f5bd4
Initialize git_remote_callbacks structure.
2024-02-27 00:35:52 +03:00
Alex Shvartzkop
d84a5e6f03
Initialize git_repository_init_options structure.
2024-02-27 00:25:04 +03:00
Jeff Young
11593a7c04
Revert IsAttached() fix as it doesn't handle hotkeys from the main menubar.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17101
(cherry picked from commit 6ec51f6a69
)
2024-02-25 15:48:19 +00:00
Jeff Young
2b09653abb
Don't import invalid polygons.
...
If we *do* get a 2-point polygon in SVG, import it as a segment.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17091
(cherry picked from commit dba2fdb6d3
)
2024-02-25 12:29:02 +00:00
Jeff Young
b37c7afa8a
Fix typo.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17086
2024-02-24 20:05:11 +00:00
Alex Shvartzkop
339646a267
Remove 50ms delay seen in some actions, like duplicating schematic items.
2024-02-24 18:19:10 +03:00
Alex Shvartzkop
764de7257f
Disable search ctrl cursor management on non-OSX.
...
Buggy at least on GTK and MSW.
2024-02-24 15:17:28 +00:00
Alex Shvartzkop
7eeb1a19cf
Fix net selector filter field focus on GTK.
2024-02-23 17:22:20 +00:00
Alex Shvartzkop
e68df8e1d1
Performance optimizations for database libraries.
2024-02-23 17:22:20 +00:00
Alex Shvartzkop
6feafedfbe
Use correct text color in LIB_TREE selected items on non-OSX.
2024-02-23 17:22:20 +00:00
Jon Evans
ad311c33c6
Attempt to fix lib search again
...
The new bits will drop search results that
don't match all tokens in the search string,
which seems desirable.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16974
(cherry picked from commit 589e21cd3b
)
2024-02-23 14:37:20 +00:00
Jeff Young
51848a0b43
Code cleanup and compiler warnings.
2024-02-22 23:37:45 +00:00
Jeff Young
25291d6e3a
Check known m_Desc field before m_Fields.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16971
2024-02-22 23:37:15 +00:00
Jeff Young
f4a085575a
Show friendly name in toolbar button tooltips.
...
(Don't require the same text to be put into the tooltip.
It's error-prone and also disallows us from having a separate
tooltip for toolbar buttons.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17009
2024-02-22 23:37:13 +00:00
Jeff Young
08da9a4494
Don't modify reference point if already moving.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16524
2024-02-22 23:36:56 +00:00
Jeff Young
7446fba70a
Keep Mac debugger from crashing with breakpoints in .h files.
2024-02-22 23:36:50 +00:00
Jeff Young
9d40374baf
Don't capture references to local variables for CallAfter.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16934
2024-02-22 23:36:27 +00:00
Jeff Young
e8b16fc64f
Kick PROPERTIES_PANEL a bit harder on language change.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16589
2024-02-22 23:36:20 +00:00
Jeff Young
162e8962f7
Add a cache for TrueType contours and triangulation data.
...
Also returns minimumSegmentLength to its former value as
it doesn't appear to be required to fix
https://gitlab.com/kicad/code/kicad/-/issues/11463 .
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16568
2024-02-22 23:36:16 +00:00
Seth Hillbrand
af02650689
Correct length tuning graphics
...
Resolved the differences between light and dark modes.
Unified the style with the teardrops panel.
Reduced size to 156px tall
Added HiDPI version
Aligned the start/end tracks vertically
Radius is measured to centerline for single
Radius is measured to midpoint between diff pairs
Spacing is measured to interior track centerline
Amplitude is measured to interior track centerline
2024-02-20 12:06:12 -08:00
Seth Hillbrand
421b95d1fa
Update teardrop graphics
...
Make sure that 'w' is on the minor axis of the pad attachment
Change track ends to "wave" denoting that they continue
Standardize size for each at 275x130px
Add 2x HiDPI version
2024-02-19 17:08:56 -08:00
Mike Williams
407bb10197
Default grid: set PCB to 0.5mm, Page Layout editor to 100 mil
2024-02-15 13:31:41 -05:00
Seth Hillbrand
01544cb010
Revert disambiguation menu delay to 0.5s
2024-02-15 09:17:51 -08:00
Jon Evans
944a3d7962
Transparently support old versioned env vars for symbol and footprint libs
2024-02-15 15:31:08 +00:00
Jon Evans
7b0bb59b37
Remove hard-coded versioned env vars in most places
2024-02-15 15:31:08 +00:00
Marek Roszko
6db6e85161
Set an excluded property in json reports for erc/drc
2024-02-13 18:38:26 -05:00
Jeff Young
f75c72ebb5
Use background color for checkerboard when not UNSPECIFIED.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16961
2024-02-13 18:21:51 +00:00
Ian McInerney
b588001b95
Don't remember the menu in the tool dispatcher
...
Remembering the menu in the tool dispatcher can lead to stale pointers
if we never receive the required menu open or close events. Since wx
3.1.3, we get a valid menu object for all three events, so just forward
the event to that menu unconditionally if the menu is one of our
ACTION_MENUs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16844
2024-02-11 23:24:18 +00:00
Alex
b5982f7319
EasyEDA import: force close some line chains.
2024-02-11 23:52:56 +03:00
Jon Evans
d6fb362bd1
Add attempted fix for Sonoma menu crashes
...
See https://gitlab.com/kicad/code/kicad/-/issues/16844#note_1767141019
2024-02-11 12:00:42 -05:00
Laurens Holst
755d4ada6d
Correct Dutch language name to "Nederlands".
...
"Nederlandse" is the adjective form which is not appropriate here;
only used stand-alone when referring to nationality.
2024-02-10 23:30:50 +01:00
Yon Uriarte
5819ad274f
Print traces on windows to stderr
2024-02-10 19:05:21 +00:00