Jeff Young
48130c6982
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:57:38 +00:00
Alex Shvartzkop
80457d5871
Support transparent background in 3D viewer PNG/clipboard export.
...
Only really works with realtime renderer currently.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12060
2024-02-29 17:11:53 +03:00
Alex Shvartzkop
e71cbea7f8
Use a version string without the extra packaging info in drawing sheets.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17176
(cherry picked from commit c59fac4089
)
2024-02-29 01:24:39 +00:00
Alex Shvartzkop
39a0a81832
EasyEDA Std import: support multiline text on PCB.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17171
(cherry picked from commit 0dab086f0c
)
2024-02-29 00:54:46 +00:00
JamesJ
5f4c7a52e4
Add netclass color management / import functionality to PCB setup dialog
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16908
ADDED Netclass color column in board setup dialog
ADDED Import netlist colors from schematic button in board setup dialog
2024-02-28 23:13:21 +00:00
JamesJ
b8748c4ef8
Add import netclass color menu items to PCB appearance widget
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16908
ADDED: Context menu item in PCB appearances widget to import netclass
color from schematic.
ADDED: Context menu item to reset PCB netclass color (replicating
same menu item from Nets inspector)
2024-02-28 23:13:15 +00:00
Seth Hillbrand
6a8d2a7eb3
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
(cherry picked from commit 7d1adff071
)
2024-02-28 13:27:38 -08:00
Jeff Young
d08e0e9eaa
_() -> _HKI() for group names.
2024-02-28 17:50:51 +00:00
jean-pierre charras
f086038684
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-28 17:31:10 +01:00
Alex Shvartzkop
97e3139505
Cairo GAL: fix endianness check.
...
(cherry picked from commit c4a7af8a47
)
2024-02-28 01:11:27 +00:00
Alex Shvartzkop
3582edb185
Cairo GAL: reduce buffer allocation sizes.
...
cairo_format_stride_for_width() result is in bytes.
Also removes unneeded extra width.
(cherry picked from commit d359fb8ab9
)
2024-02-28 00:53:56 +00:00
Alex Shvartzkop
4fed2e849f
Cairo GAL: improve empty canvas performance (-80% CPU)
...
(cherry picked from commit 5618a6925d
)
2024-02-28 00:53:51 +00:00
Jon Evans
299b548a41
Trivial change to avoid crash on tool re-entry
...
See https://gitlab.com/kicad/code/kicad/-/issues/17164
2024-02-27 19:31:09 -05:00
Jon Evans
c3af434741
Force lib tree row height on GTK
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16403
2024-02-27 19:24:53 -05:00
Jon Evans
0df5cf7f75
Expose grid origin action in more places
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17007
2024-02-27 18:50:44 -05:00
Jeff Young
f754410c7e
Add wxGrids to list of things that get arrow keys.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17144
2024-02-27 18:11:16 +00:00
Jon Evans
e9456201a7
Don't rely on dynamic_cast across DLLs
...
See https://gitlab.com/kicad/code/kicad/-/issues/16998
2024-02-26 22:10:28 -05:00
Alex Shvartzkop
b3df08c7b1
Initialize git_remote_callbacks structure.
...
(cherry picked from commit 35192f5bd4
)
2024-02-26 21:36:08 +00:00
Alex Shvartzkop
755bfe3492
Initialize git_repository_init_options structure.
...
(cherry picked from commit d84a5e6f03
)
2024-02-26 21:25:30 +00:00
Jon Evans
2f6c9d1f3a
ADDED: Selection filter for schematic editor
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14988
2024-02-25 17:44:10 -05:00
Jeff Young
aef87b9796
Push thickness handling down into EDA_TEXT::SetBold().
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17077
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14875
2024-02-25 17:28:52 +00:00
Jeff Young
6ec51f6a69
Revert IsAttached() fix as it doesn't handle hotkeys from the main menubar.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17101
2024-02-25 15:46:12 +00:00
Jeff Young
dba2fdb6d3
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
2024-02-25 12:28:19 +00:00
Jeff Young
0078ccea09
Fix typo.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17086
2024-02-24 20:06:22 +00:00
Jeff Young
e7abeb3c38
Cleanup.
2024-02-24 20:05:51 +00:00
Jeff Young
fa0ead98d8
Split out table editing and table cell editing.
2024-02-24 20:05:51 +00:00
Jeff Young
d7e4a8cebd
ADDED: ERC/DRC exclusion comments.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16020
2024-02-24 20:05:51 +00:00
Jeff Young
c8d2a9340b
ADDED: ExpandAll/CollapseAll for hierarchy pane.
2024-02-24 20:05:51 +00:00
Jeff Young
6856e59374
ADDED: ExpandAll/CollapseAll for lib trees.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8243
2024-02-24 20:05:51 +00:00
Jeff Young
4eefbc7815
ADDED: textbox and tablecell margins.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10672
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6806
2024-02-24 20:05:51 +00:00
Jeff Young
e445249720
ADDED: PCB tables.
2024-02-24 20:05:51 +00:00
Jeff Young
7c77266f12
Move name ellipisizing from middle to end.
...
Our names tend to have more boiler-plate stuff at the
end (excluding things like "Position X" and "Position Y",
but they're usually pretty short when compared to
"Solderpaste Margin Ratio Override" or
"Exempt from Courtyard Requirement").
2024-02-24 20:05:50 +00:00
Jeff Young
91df43c97a
ADDED: schematic tables.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6806
2024-02-24 20:05:50 +00:00
Jeff Young
4a9df1e18e
ADDED: actions for left-, center-, and right-justifying text items.
...
(For both PCBNew and EESchema.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12375
2024-02-24 20:05:50 +00:00
Alex Shvartzkop
7cb754ddbb
Remove 50ms delay seen in some actions, like duplicating schematic items.
...
(cherry picked from commit 339646a267
)
2024-02-24 18:20:16 +03:00
Alex Shvartzkop
3edfcb039c
Fix net selector filter field focus on GTK.
...
(cherry picked from commit 7eeb1a19cf
)
2024-02-23 20:29:18 +03:00
Alex Shvartzkop
cb25c8620e
Performance optimizations for database libraries.
...
(cherry picked from commit e68df8e1d1
)
2024-02-23 20:29:18 +03:00
Alex Shvartzkop
41ffadc987
Use correct text color in LIB_TREE selected items on non-OSX.
...
(cherry picked from commit 6feafedfbe
)
2024-02-23 20:29:18 +03:00
Jeff Young
4a561b04bc
Code cleanup and compiler warnings.
...
(cherry picked from commit 51848a0b43
)
2024-02-23 16:53:35 +01:00
Jeff Young
2cd9fbab9d
Check known m_Desc field before m_Fields.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16971
(cherry picked from commit 25291d6e3a
)
2024-02-23 16:53:34 +01:00
Jeff Young
ca3cd706e5
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
(cherry picked from commit f4a085575a
)
2024-02-23 16:53:33 +01:00
Jeff Young
e68cd04d48
Don't modify reference point if already moving.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16524
(cherry picked from commit 08da9a4494
)
2024-02-23 16:53:32 +01:00
Jeff Young
73b6b19a4e
Keep Mac debugger from crashing with breakpoints in .h files.
...
(cherry picked from commit 7446fba70a
)
2024-02-23 16:53:32 +01:00
Jeff Young
9ff66d0e71
Don't capture references to local variables for CallAfter.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16934
(cherry picked from commit 9d40374baf
)
2024-02-23 16:53:30 +01:00
Jeff Young
3c6d725f93
Kick PROPERTIES_PANEL a bit harder on language change.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16589
(cherry picked from commit e8b16fc64f
)
2024-02-23 16:53:30 +01:00
Jeff Young
ffa6adec96
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
(cherry picked from commit 162e8962f7
)
2024-02-23 16:53:29 +01:00
Jon Evans
589e21cd3b
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
2024-02-23 14:36:32 +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
Jan Wichmann
5a5cb218ea
Let pl_editor launch in run from builddir env on windows
2024-02-10 17:28:39 +00:00
Alex Shvartzkop
c6b8b1cc9e
Internationalize "Grid Settings" dialog.
2024-02-10 08:34:19 +03:00
Alex Shvartzkop
2fc68c2855
Internationalize PCB "Add Netclass Assignment" dialog.
2024-02-10 08:34:19 +03:00
Seth Hillbrand
f303996f9c
Add new icons for tools
...
Align elements to grid
Cleanup graphics
Cleanup tracks/vias
Drag
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16206
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16205
2024-02-09 15:55:57 -08:00
Seth Hillbrand
cabbab9a5f
Move pcbnew drag to move specific icon
2024-02-09 15:55:57 -08:00
Alex Shvartzkop
453e185613
Increase unconstrained tuning length to 1km.
2024-02-09 19:25:46 +03:00
Jeff Young
aef6b2a66e
nullptr safety and a bit of wxT'ing.
2024-02-09 13:56:01 +00:00
Jeff Young
33d93b79a3
Handle nested text variable references in title block.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16919
2024-02-09 12:37:13 +00:00
Jeff Young
69a69cc624
Fix properties manager assert on zone layer property.
2024-02-09 00:15:45 +00:00
Jon Evans
febe759e49
Do not mess with KIPRJMOD when loading aux projects
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16810
2024-02-08 18:28:20 -05:00
Jeff Young
e62b4f8ff4
Add nullable int and double to property system.
2024-02-08 18:14:31 +00:00
Jon Evans
4622738c93
Deconflict instance-checker dir with 7.0
2024-02-07 18:35:10 -05:00
Jon Evans
9d57637a1a
Fix clobbering of common settings
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16905
2024-02-07 18:31:43 -05:00
Jeff Young
8efd90e6e8
Allow reading of 0 text sizes.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16902
2024-02-07 16:46:42 +00:00
Jeff Young
98bc03919d
Nullptr safety. KICAD-7DM
2024-02-07 14:21:44 +00:00
Mike Williams
6125a183b4
Settings: make sure file history size is at least 1
2024-02-07 09:00:13 -05:00
Jon Evans
169114fd07
Fix path from ba25f881c6
2024-02-07 08:55:03 -05:00
Wayne Stambaugh
36653c2064
Add new librarians to about dialog.
2024-02-07 08:27:43 -05:00
Jon Evans
ba25f881c6
Save common settings if we just created them
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16775
2024-02-06 21:33:44 -05:00
Jon Evans
181100fe44
Allow launching standalone procs from build dir
2024-02-06 21:33:44 -05:00
Jon Evans
874be359e0
Use a more specific path for instance checker
2024-02-06 21:33:44 -05:00
Jeff Young
e98d1c968e
Don't truncate mils properties in Property Inspector.
...
In fact, don't open-code yet another value-to-string impl.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16883
2024-02-05 16:53:00 +00:00
Jeff Young
1ff36f23b8
Clean up stale TODOs.
2024-02-05 15:49:57 +00:00
Jeff Young
de634c6f3e
Generate tofu if we fail to decompose outline font glyph.
2024-02-05 15:49:57 +00:00
Jeff Young
a28f092b67
Don't cover STL types.
2024-02-05 15:49:57 +00:00
Jeff Young
7b3485fcb8
Remove atrophied terminology (logical -> nickname)
2024-02-05 15:49:57 +00:00
Marek Roszko
740c7a73a2
Add missing color prop for text
2024-02-05 01:09:42 -05:00
Marek Roszko
c39e7b2225
Tweaks in eeschema for hidpi
2024-02-05 01:03:52 -05:00
Marek Roszko
3960c53225
A few tweaks for hidpi
2024-02-05 00:52:11 -05:00
Marek Roszko
11f76c129e
Use FromDIP in WX_GRID padding
2024-02-04 20:09:30 -05:00
Jeff Young
77c19fa99a
Fill in missing zone properties.
...
Also fixes some bugs with hatch properties being available
on rule areas.
2024-02-04 23:01:31 +00:00
Marek Roszko
b08f1ee6bf
Fix SPLIT_BUTTON at hidpi
2024-02-04 16:04:45 -05:00
Marek Roszko
387084d8b3
Fix default size of library tables dialog on hidpi
2024-02-04 15:53:15 -05:00
Marek Roszko
19124b685e
Make STD_BITMAP_BUTTON always draw a sane button size regardless of bitmap size
...
We need higher resolution images for use with STD_BITMAP_BUTTONs as 4K 250% scaling Windows which is "normal".
2024-02-04 15:48:57 -05:00
Jeff Young
36275bcbc5
Make sure polygonization error is on correct side.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16869
2024-02-03 20:17:31 +00:00
Alex
d4879e05ac
Use semantic version in drawing sheets.
2024-02-03 20:24:26 +03:00
Alex
4146a74bb7
Make more strings translatable in PCB grid settings.
2024-02-03 19:31:59 +03:00
Wayne Stambaugh
92c2ddf77a
Do not parent dialogs to non top level windows in panels or widgets.
2024-02-03 10:40:28 -05:00
Jeff Young
7cc663ad77
Schematic parity checking for CLI DRC.
2024-02-02 23:05:37 +00:00
Ian McInerney
d44b04978a
Allow enabling WXTRACE in release builds on all platforms
...
Setting the environment variable KICAD_ENABLE_WXTRACE now enables wx
trace logging on all platforms. MSW still requires its original
environment variables to be set to get the console displayed.
2024-02-02 14:21:33 +00:00