John Beard
15924958d9
Add wxGrid autosizer helper
...
This moves a fiddly little bit of logic used by a few UI
classes into a central location.
Also means that the paths dialog learns to expand the
first cell when it needs to (like the text variable
panel).
2024-08-06 23:45:55 +08:00
James J
7ce00e511b
Multi-netclass support
2024-07-26 20:49:29 +00:00
Seth Hillbrand
69849ba3ca
Replace custom Clamp with std::clamp
...
Fixes bug in parser that had the elements in the wrong order due to our
custom version not matching the standard order
2024-07-25 19:17:17 +02:00
John Beard
1325de3d0d
Pcbnew: allow escaping from viewport/layer preset switcher
...
This allows the user to hit escape while the control key is
still pressed to cancel the switch (e.g. if they realise there
isn't a preset they actually want), rahter than having to go
back to the original entry, or select one they didn't want
and then switch again.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/18423
2024-07-21 22:41:36 +08:00
Jeff Young
9fcbd4e6d0
Slight reduction in asserts.
2024-07-18 18:01:05 +01:00
Marek Roszko
c16d078b8c
Fix conflict with windows header define thats leaking in
...
GetTempFileName is a windows header define unforunately and the big boi header is leaking in somehow
2024-07-15 20:22:33 -04:00
Seth Hillbrand
77797103f7
Add ability to embed files in various elements
...
Schematics, symbols, boards and footprints all get the ability to store
files inside their file structures. File lookups now have a
kicad-embed:// URI to allow various parts of KiCad to refer to files
stored in this manner.
kicad-embed://datasheet.pdf references the file named "datasheet.pdf"
embedded in the document. Embeds are allowed in schematics, boards,
symbols and footprints. Currently supported embeddings are Datasheets,
3D Models and drawingsheets
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6918
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2376
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17827
2024-07-15 16:06:55 -07:00
aris-kimi
6969b9d64f
Open library file preselected in the file explorer for both symbol and footprint editors.
2024-07-10 06:14:04 +00:00
Jeff Young
14a55facf2
Clearer naming and commenting.
...
Also some const& hygiene and some formatting.
2024-06-25 11:07:14 +01:00
Jeff Young
080cbbe0dd
Error reporting for drawing sheet loading.
2024-06-24 20:22:29 +01:00
Jeff Young
31ab276aaf
Ease-of-use for un-commented ERC/DRC exclusions.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18220
2024-06-19 17:07:50 +01:00
Jeff Young
b7161181e8
Hidden footprint libraries are not yet supported.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18183
2024-06-12 16:59:20 +01:00
Alex Shvartzkop
b64a30f44b
Fix color swatches and color picker dialog on GTK with window scaling.
2024-05-26 13:02:37 +03:00
Alex Shvartzkop
067e9c308d
Improve sizing in color picker dialog.
2024-05-26 03:56:58 +03:00
Jeff Young
1c77e087a7
Add a sprinkling of GetPixelScaleFactor() for MacOs.
2024-05-25 14:26:43 +01:00
Alex Shvartzkop
894bf45480
Make color picker dialog usable on hidpi monitors.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17860
2024-05-25 04:13:13 +03:00
Jeff Young
397ae3bafd
Support wildcards and regEx's in Net Inspector.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18071
2024-05-24 12:24:05 +01:00
Alex Shvartzkop
e71789bab0
Minor alignment fixes in Plot dialog and Common settings.
2024-05-14 17:44:16 +03:00
JamesJCode
9e1a5eb1bd
Eeschema: Only assign nets with resolved netclasses to the label map
...
Also fixes a bug where the pattern assignment cache was not cleared
if all pattern assignments were deleted in the setup netclasses
panel.
2024-05-07 20:16:17 +01:00
Seth Hillbrand
5156229da7
Fixup previous edit
2024-05-06 10:36:07 -07:00
Seth Hillbrand
8a306eecb6
Cleanup libgit init calls
2024-05-06 10:18:38 -07:00
Alex Shvartzkop
5475359d00
More build time optimizations.
2024-05-06 04:39:28 +03:00
Marek Roszko
62936b7e01
Remove the disabling of UseNativeColHeader now that we fixed our wx fork
2024-05-01 20:56:27 -04:00
JamesJ
6c5ac9e269
Check in fbp file for netclass setup panel
...
Was not added to commit 5f4c7a5
2024-04-28 18:18:42 +01:00
Alex Shvartzkop
16e3692e71
Build time optimizations.
2024-04-27 23:49:13 +03:00
Marek Roszko
a565db58c5
Hackfix crash in configure paths using non-ascii chars in column headers
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17743
2024-04-27 10:16:37 -04:00
Jeff Young
cd64630661
Remember shown columns in netclass setup.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17852
2024-04-25 08:34:36 +01:00
Alex Shvartzkop
76b7cdd128
Improve grid cell editors appearance.
2024-04-13 23:26:01 +03:00
Alex Shvartzkop
49dcd5f4fc
Fix default cell alignment and FBP file for Configure Paths dialog.
2024-04-11 00:48:48 +03:00
Jon Evans
1dbe78c68b
Add QA tests and expand serialization for API
2024-04-02 19:51:18 -04:00
Jon Evans
6bd02cae6d
Refactor; add user control over API server
2024-04-02 19:51:18 -04:00
Jon Evans
a3b6ab48a4
Add a new plugin system for the new API
2024-04-02 19:51:16 -04:00
Jon Evans
f613cd1cb4
ADDED: A new IPC API based on protobuf and nng
...
Details, documentation, and language bindings are works in
progress and will be evolving over the course of KiCad 9
development.
2024-04-02 19:34:36 -04:00
Seth Hillbrand
d82e8ee41a
Map nets in pasted data
...
Add missing nets to the existing board and use any existing nets of the
same name.
Adds option to clear all nets in Paste Special
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17626
2024-04-01 16:56:44 -07:00
Ian McInerney
9e597ea754
Add the option to use alternating row colors in tables/grids
...
ADDED: Option to use alternating row colors in tables/grids
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16739
2024-04-01 21:59:37 +01:00
Marek Roszko
83ef5fd7d6
Move PGM_BASE to kicommon
2024-03-20 23:29:42 -04:00
Jeff Young
1152b0462c
Grid properties for GerbView.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17372
2024-03-10 18:21:50 +00:00
Jon Evans
1988aac2b3
Update a few more list/tree views for macOS
2024-03-05 08:38:46 -05: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
Alex Shvartzkop
b3df08c7b1
Initialize git_remote_callbacks structure.
...
(cherry picked from commit 35192f5bd476a770238b62971741337a98f61ff7)
2024-02-26 21:36:08 +00:00
Alex Shvartzkop
755bfe3492
Initialize git_repository_init_options structure.
...
(cherry picked from commit d84a5e6f038dfdfc73c9ff7bbfa420e6f318ee86)
2024-02-26 21:25:30 +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
4a561b04bc
Code cleanup and compiler warnings.
...
(cherry picked from commit 51848a0b43736d6e6abb31148344f0d8d3fb99a4)
2024-02-23 16:53:35 +01:00
Jon Evans
7b0bb59b37
Remove hard-coded versioned env vars in most places
2024-02-15 15:31:08 +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
Jeff Young
98bc03919d
Nullptr safety. KICAD-7DM
2024-02-07 14:21:44 +00: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
387084d8b3
Fix default size of library tables dialog on hidpi
2024-02-04 15:53:15 -05:00