12897 Commits

Author SHA1 Message Date
Jeff Young
3eb66e1b3d Similar local labels on different sheets are fine
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21334
2025-07-30 18:03:50 +01:00
Jeff Young
15468c86b9 Formatting. 2025-07-30 17:56:45 +01:00
Jeff Young
0b90d941d3 ADDED: Find/Replace for symbol editor.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21397
2025-07-30 16:42:23 +01:00
Jeff Young
707d668a01 Fix selection filter GBPositions in symbol editor. 2025-07-29 23:29:03 +01:00
Seth Hillbrand
ff5a309386 Show inherited fields in symbols
When working with derived symbols, make sure that we show all of the
fields, not just the ones that are defined in the current level since
they are all attached to the output.

Inherited fields are shown in italics until changed

Fixes https://gitlab.com/kicad/code/kicad/-/issues/11422
2025-07-29 13:23:23 -07:00
Jeff Young
51e244d7d4 Don't remove nonexistent entries from wxArrayStrings (KICAD-PG7) 2025-07-28 19:37:52 +01:00
Jeff Young
325570eeec Coverity tweaks. 2025-07-28 19:37:52 +01:00
Jeff Young
59caea4344 Shutdown safety (KICAD-N5Y). 2025-07-28 19:37:52 +01:00
Jeff Young
6cfe5ecc94 Improve debugging (KICAD-XS0). 2025-07-28 19:37:52 +01:00
Jeff Young
32afe5285e Finish off WX_GRID code sharing exercise. 2025-07-28 19:37:52 +01:00
jean-pierre charras
76c5e256a7 Fix a name ( INPUT ) conflicting with a windows header, creating compil warnings
This name is just renamed, without actual code change
2025-07-28 15:19:38 +02:00
Seth Hillbrand
66f37beff7 Move canvas selection to common
Makes all canvases obey the same rendering parameter.  Also keeps the
canvas selection with the anti-alias selection, which makes logical
sense.  Reduce the antialias selection to a single choice rather than
two different choices for different canvases
2025-07-27 20:22:59 -07:00
Jeff Young
a191d4e6e5 Handle undo when changing new item before placing.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21391
2025-07-27 15:56:16 +01:00
Jeff Young
755537ad8c Fix some std::move() of a reference parameter issues.
Also some coding standard fixes for member variable
names.
2025-07-27 13:55:16 +01:00
Seth Hillbrand
267b21d81c Added precompiled header support
- PCBNew
- Schematic Editor
- Common libs
2025-07-26 15:33:42 -07:00
Jeff Young
1b8119056f More code sharing. 2025-07-26 21:24:37 +01:00
Jeff Young
60ec152d90 Fix deficient c'tors and operator=. 2025-07-26 19:18:16 +01:00
Seth Hillbrand
15166a9f14 Refactor REFDES_TRACKER
Keep state for reuse in the class.  This allows us to properly pick the
value when fully reannotating

Don't annotate when placing new units.  Just step ahead in the unit
value while keeping the refdes number constant.  This eliminates the
jumping around to unplaced units when placing new multi-unit symbols

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21378
2025-07-25 16:16:09 -07:00
Seth Hillbrand
9fff1d955e Add Contains search to SCHEMATIC 2025-07-25 16:16:09 -07:00
Seth Hillbrand
fd7abdfdd5 Bug fix for RefDes Tracker
When pasting, set the pastedSheetPath reference list tracker.  This is a
follow-on fix for https://gitlab.com/kicad/code/kicad/-/issues/13052
2025-07-25 16:16:09 -07:00
Seth Hillbrand
0e83bf9bc4 Fix position of hidden locked filter 2025-07-25 16:16:09 -07:00
Jeff Young
61bb922077 Not all SCH_ITEMs are symbol children.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21380
2025-07-25 18:03:49 +01:00
Jeff Young
2dfacd648f Share more code. 2025-07-25 18:03:49 +01:00
Mark Roszko
dc6e0223c7 Add cli option for zone refill before drc
Note: Does not save yet
2025-07-24 20:40:45 -04:00
Seth Hillbrand
e064a3481d Add Rule Area selection filter in schematic editor
Allows rule areas to be ungrouped from the "Other Items" when selecting
2025-07-24 11:03:38 -07:00
Seth Hillbrand
16f82d1de5 Junctions are wires in schematic editor
Treat junctions like wires for the purposes of the selection filter.
Allows selecting them together with wires and avoids grouping with
"Other Items" which is confusing
2025-07-24 10:52:27 -07:00
Jeff Young
14c9ed1fda Prevent stale selection when deleting grid rows. 2025-07-24 18:16:21 +01:00
Seth Hillbrand
094870e7a4 String fixes
- Clarify wording in a couple places
- Fix missing 'not' and remove non-standard dashes
- Standardize on single-quote for strings in strings
2025-07-23 17:36:51 -07:00
Seth Hillbrand
e387953490 ADDED refdes tracker
Provide an option to track ever reference designator ever used in the
project to prevent its reuse even if the component has been removed

Fixes https://gitlab.com/kicad/code/kicad/-/issues/13052
2025-07-23 14:28:33 -07:00
jean-pierre charras
410a43a602 Try to fix an ambiguous cast for MSVC (round 3) 2025-07-23 19:33:36 +02:00
jean-pierre charras
998806b814 Try to fix an ambiguous cast for MSVC (round 2) 2025-07-23 18:36:11 +02:00
jean-pierre charras
4248f26bae Try to fix an ambiguous cast for MSVC 2025-07-23 18:03:37 +02:00
jean-pierre charras
eb473012a6 *.kicad_sch files: add missing quotes to uuid string for some grahic shapes.
Uuid strings are (like other strings) quoted, but a few items were missing quotes.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21360
2025-07-23 17:07:35 +02:00
Jeff Young
ec155c00f3 Comboboxes for units and body styles.
Also for pin-types in pad properties.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19904

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19905
2025-07-23 14:35:37 +01:00
Jeff Young
55a36c1ce7 CHANGED: retire the select-lib-table dialogs.
We now allow the user to specify which in the
New Library dialog.

Also retires the "Export power symbols too" dialog.

Also gives a bunch of file and library dialogs
more explicit titles.

Also removes separate code-paths for Export to
Library and Export to New Library.  The regular
code path has a "New Library..." button now.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16323
2025-07-20 19:06:40 +01:00
Jeff Young
d8cbafe858 Fix merge error. 2025-07-20 19:06:40 +01:00
Jeff Young
f2ecf87d1e Settings safety. 2025-07-20 19:06:40 +01:00
Seth Hillbrand
3a06de0076 Consolidate ERC label warnings
If global or local labels are floating -> error
If global or local labels are only connected to one pin -> warning

Rather than forcing two different errors depending on whether the label
is local or global
2025-07-18 16:47:25 -07:00
Jeff Young
5fb40f152c Make auto-created labels work with new multi-create architecture.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21306
2025-07-17 18:28:33 +01:00
Jeff Young
e1a6261df5 Fix one more missing addParamsForWindow(). 2025-07-17 16:50:35 +01:00
Jeff Young
beb83e87ea Must use addParamsForWindow to init WINDOW_SETTINGs structs. 2025-07-17 16:26:50 +01:00
Emmanuel Vera
b5df0ad3eb Update power filter for power symbols placement 2025-07-17 09:10:35 -04:00
Jeff Young
50923b7a64 Fix typo.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21328
2025-07-17 13:44:44 +01:00
Jeff Young
b4dcb05208 Don't clear pin-assignments when changing sim model.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19533
2025-07-17 12:49:55 +01:00
Jeff Young
e230d5164d Honour renderSettings' default font.
This still leaves a few things out in the cold,
such as hit-testing and polygon generation.
But at least it allows us to plot with a default
font.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19031
2025-07-17 09:35:21 +01:00
Seth Hillbrand
9d770fe243 Add a bit of documentation to help future us 2025-07-16 16:39:10 -07:00
Seth Hillbrand
9f903a2661 Fix sheet number access
getPageNumber is actually asking for the parent path rather than the
sheet path itself.  Without this, we don't match the cached page number
and instead match against the virtual page number that is position
dependent

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21296

(cherry picked from commit 8edc7b8b40a2f60b8e9959eec6901605da2aff27)
2025-07-16 16:35:36 -07:00
Seth Hillbrand
f6b599e155 Remove temporary file saving step
We implemented the intermediate temporary file in order to avoid issues
during save.  Unfortunately, this is heavily system-dependent and seems
to cause problems with unusual setups.  Now that we cache writing using
the prettifier, the errors during output will not affect the existing
file

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21330
2025-07-16 09:20:33 -07:00
Seth Hillbrand
5235b8e3ca One. More. Time. 2025-07-15 17:23:03 -07:00
Seth Hillbrand
6120b430d4 Correct exact language in help message 2025-07-15 15:26:57 -07:00