7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-11 00:30:01 +00:00
Commit Graph

4249 Commits

Author SHA1 Message Date
jean-pierre charras
b2ef81808b Pcbnew, DIALOG_PLOT: store B&W/Color option for PDF and SVG formats
Previously, the dialog started withB&W option.
2025-01-27 16:03:17 +01:00
Jeff Young
7f307afb04 Adjust layout of Find dialogs. 2025-01-23 11:09:10 +00:00
jean-pierre charras
0748a1ca34 PANEL_SETUP_LAYERS: fix broken init of copper layer types.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19715
2025-01-22 18:59:15 +01:00
Jeff Young
e19bce2f93 Reduce reliance on MANDATORY_FIELDS and their implied order. 2025-01-22 17:51:57 +00:00
Alex Shvartzkop
2278ee070f Fix warning C4296: '>=': expression is always true. 2025-01-22 13:52:28 +03:00
Jeff Young
dac7c9d4d7 Convert cross-references in Table Properties dialogs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19705
2025-01-22 00:16:44 +00:00
Jeff Young
4fe05bfe47 Remove some more usages of MANDATORY_FIELDS. 2025-01-21 23:38:55 +00:00
Jeff Young
a0dd0485e9 Pull a little harder on the MANDATORY_FIELDs string.
We still conflate the fieldID, the position in the
array of fields, and whether or not that means the
field is mandatory.  But this attempts to clean up
*some* of that, without introducing too much risk.
2025-01-21 16:48:13 +00:00
Jeff Young
d50b69f1ae Reconcile divergence of MANDATORY_FIELDS between symbols and footprints.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19697
2025-01-21 13:28:28 +00:00
Jeff Young
44840c7df2 Don't expose Default Font selection in PCBNew. 2025-01-20 11:30:46 +00:00
Jeff Young
6b6729284c Remove default line styles from all items except eeschema wires and buses. 2025-01-20 11:30:46 +00:00
Jeff Young
c50ce416f2 Consistency in panel layout. 2025-01-20 11:30:45 +00:00
Jeff Young
f0d1052547 Check for missing courtyards in footprint checker.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19678
2025-01-18 20:51:24 +00:00
Seth Hillbrand
7972ba84fa Be sure to update the ODB++ filename when loading
Otherwise, we get .zip extension but uncompressed file handling
2025-01-17 17:05:12 -08:00
Jeff Young
a1fbff35e8 Formatting. 2025-01-17 22:07:07 +00:00
Jeff Young
044fe24293 Remove ability to specify fp sides for position file jobs. 2025-01-17 19:37:12 +00:00
Jeff Young
c30f8626d6 Generating footprint positions if one file at a time for jobs.
(The GUI can create separate files for front and
back, or one file for both.  A job always creates
a single file, though it can have front, back, or
both in it.)
2025-01-17 15:58:22 +00:00
Jeff Young
232542f42b Re-work filtering of temp-dir messages in jobset outputs.
(Also rationalises some of the output reporting
for consistency.)
2025-01-17 15:58:21 +00:00
Marek Roszko
e7bb7592a2 Kill the MRU in pcb plot when jobing 2025-01-16 21:31:15 -05:00
John Beard
6e7b22904e Array tool: when changing axis numbering, default to valid numbering
Otherwise, when you change the axis numbering type, and don't update
the start offset string, you get an error on dialog save. Instead,
if the number isn't valid, change it to a valid one.
2025-01-16 19:43:15 +08:00
John Beard
d677b84de1 Array dialog: if validation fails, don't close - allow user to fix it 2025-01-16 19:43:15 +08:00
John Beard
7116ed6917 Pcbnew array dialog: adjust padding
Also remove some debug.
2025-01-16 19:43:15 +08:00
Seth Hillbrand
e32815003f Don't depend on the enum ordering for units
They are not always going to line up with the dropdown ordering

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19643
2025-01-15 11:33:32 -08:00
Marek Roszko
5c3004b96e Avoid altering the configured output path during run in case of empty paths 2025-01-14 20:44:51 -05:00
JamesJCode
c80a71f64a Make netclass name methods clearer, and improve doc strings
There are two netclass name methods, which previously were not
obvious in their uses. These have been renamed to now have:

GetName() : Used for internal or tooling (e.g. netlist export) usage
GetHumanReadableName() : Used for display to users (e.g. in infobars)

Fixing the previous unclear naming will result in fewer bugs
when users start using the multiple netclass functionality, as
the incorrect usage had started creeping in to new code. Also this
will help authors of new code select the correct name method.
2025-01-14 20:44:09 +00:00
Marek Roszko
97787778eb Fix path processing for odb job 2025-01-13 21:42:27 -05:00
Jeff Young
4a3f69e518 Fix dialog layout.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19622
2025-01-13 19:14:25 +00:00
Wayne Stambaugh
5c8f4697ca Common folder housekeeping part 1. 2025-01-12 12:06:45 -05:00
Maciej Małecki
2c330e07be pcbnew: disable dialog thermal relief configuration when not needed 2025-01-12 16:39:30 +00:00
Marek Roszko
4cfd6f71e5 Fix plot job paths not saving 2025-01-11 19:05:44 -05:00
Jeff Young
edd59c6ead Allow normal close action of dialog
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19596
2025-01-11 15:17:28 +00:00
Jon Evans
2f96dfd5cb Do not call Select on an empty combobox
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19594
2025-01-11 08:25:04 -05:00
JamesJCode
9a63662844 Multichannel: Update UI strings 2025-01-10 23:54:20 +00:00
Seth Hillbrand
7516e3a190 Update docs link
Instead of the hard-coded docs website, we use the redirect container to
keep the links valid and do forward-planning (e.g. 9.99)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19570
2025-01-10 15:19:21 -08:00
JamesJCode
ccca044a58 Multichannel: Reserve hidden strings, re-order placement options 2025-01-10 11:26:43 +00:00
Marek Roszko
afe7c893d5 Squash dxf job path for single/multi like svg 2025-01-09 23:43:40 -05:00
Marek Roszko
ecfc868832 Combine/move svg plot job to single path 2025-01-09 21:21:09 -05:00
JamesJCode
0f6669a68c Improve multichannel UI strings 2025-01-10 00:49:00 +00:00
Seth Hillbrand
229507ee43 Cleanup a couple routines in the last MR
Simplify and clean the functions
2025-01-09 15:42:58 -08:00
Dhinesh
e02b6be4c9 Fix error-marker highlighting for multiple markers at the same location
Previously, if multiple error markers were placed at the same location,
the selected marker was not visually differentiated from the unselected
ones, even if one was at the top of the stack. To fix this, Need to pass
overlapping markers to the FocusOnItems() function instead of calling
FocusOnItem() with only the selected marker.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9778
2025-01-09 23:41:02 +00:00
Jeff Young
dd7c076bc9 Use std::optional for pad connection overrides.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19555
2025-01-09 17:32:05 +00:00
Seth Hillbrand
452e69de85 Move thread pool into true singleton
Thread pool needs to be stored in a single location for all of KiCad
otherwise each kiface will spin up its own pool of persistent threads
2025-01-09 09:03:08 -08:00
Jon Evans
6858561731 Fixes for building against recent wxWidgets 3.3 2025-01-09 08:38:49 -05:00
Jeff Young
fba91a2f6b De-clutter export pos file dialog. 2025-01-09 11:42:58 +00:00
Jeff Young
03c54018e6 De-clutter export pos file dialog. 2025-01-09 11:42:58 +00:00
Jeff Young
b0a8cb2678 De-clutter export ODBC dialog. 2025-01-09 11:42:58 +00:00
Jon Evans
018af2b6cd Pad properties: Update props book after changing edit layer
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19529
2025-01-07 21:45:58 -05:00
Seth Hillbrand
5e4c5c969a Freeze ERC action before deleting
Each deletion of a marker adjusts the tree model and comes with a
possibility of a repaint, which can trigger a full screen repaint.
Keeping the dialog frozen prevents these updates

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19531
2025-01-07 15:54:21 -08:00
Jeff Young
83b26cfbd0 Modernize IPC2581 dialog. 2025-01-07 18:04:21 +00:00
Jeff Young
b916dfa03a Cleanup construction vs TransferDataToWindow.
Also fixes capitalization of private member functions.
2025-01-07 17:09:17 +00:00
Jeff Young
c2818dcb29 Disable pad-hole-not-fully-inside-copper for board-level testing.
Also fixes the error string for it.
2025-01-07 14:50:16 +00:00
Jeff Young
e94449df81 Modernize board setup formatting panel. 2025-01-07 11:54:48 +00:00
Jeff Young
a4754eef5d Modernize drill map dialog. 2025-01-07 11:11:37 +00:00
Marek Roszko
ffdfa09024 Stop setting the default step export path
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19512
2025-01-06 22:41:06 -05:00
JamesJCode
77448f032b Improve placement rule areas UI 2025-01-06 22:24:38 +00:00
Wayne Stambaugh
3755b77b92 Dialog string capitalization and layout fixes. 2025-01-06 14:01:00 -05:00
Wayne Stambaugh
2cac5d29a1 Setup and settings panels layout improvements. 2025-01-05 16:42:53 -05:00
Marek Roszko
82c7736087 Don't save mru for step export https://gitlab.com/kicad/code/kicad/-/issues/19499 2025-01-05 13:14:56 -05:00
Alex Shvartzkop
9a3d7594d9 Add pivot/pan/rotation/lights controls to PCB render dialog. 2025-01-05 11:42:58 +05:00
Ian McInerney
3add0afdff Restore current index counter in plot dialog
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19454
2025-01-05 04:38:05 +00:00
Wayne Stambaugh
34fcda224c Minor dialog layout improvements. 2025-01-04 12:34:32 -05:00
jean-pierre charras
7f114d737e Fix missing switch to "C" locale before plotting board files. 2025-01-04 17:28:49 +01:00
Jeff Young
ad513345fe Ugh. Once more into the breach to try and get our terminology consistent. 2025-01-04 15:41:05 +00:00
Alex Shvartzkop
1be6ecd972 Fix --background option in kicad-cli pcb render. 2025-01-04 11:21:45 +05:00
Seth Hillbrand
074e6df3bc Revert "Move thread pool to singleton class"
This reverts commit 361f61a023.
2025-01-03 21:22:44 -08:00
Seth Hillbrand
361f61a023 Move thread pool to singleton class
Having thread pool as its own singleton in the library meant that each
kiface had its own threadpool, leading to many multiples of the threads
being started.  Placing a singleton class in PGM_BASE ensures that all
kifaces use the same thread pool.

The singleton class can be extended to provide single instance
guarantee for any element across kifaces
2025-01-03 13:51:11 -08:00
Graham Keeth
6c335b9804 Update Solder Mask/Paste design rule tooltips 2025-01-03 16:28:16 +00:00
Ian McInerney
5705e928e1 Move dialog launch function into tool class
This makes it easier to find.
2025-01-02 14:51:30 +00:00
Ian McInerney
a2e115833c Cleanup UI for global edit tracks and pad dialog
* Don't hide the annular rings control - makes confusing UI
* Always show annular rings control - all boards must have >2 layers
  anyway
* Move into single column of choice boxes to be cleaner and take less
  monitor space

https://gitlab.com/kicad/code/kicad/-/issues/19457
2025-01-02 14:51:30 +00:00
Jeff Young
9ed3c8eb82 Naming consistency for jobs. 2025-01-02 13:20:31 +00:00
Seth Hillbrand
0b2d4d4879 Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo.  Avoids needing to
repeatly update.

Also updates AUTHORS.txt from current repo with contributor names
2025-01-01 14:12:04 -08:00
Jeff Young
a3c29a1343 Allow resizing of Output Properties dialog.
Also fixes a bug where the GenDrill dialog returned a fixed
result.
2025-01-01 20:10:07 +00:00
Jeff Young
c5ae32c51c Auto-edit job properties and then description after creation. 2025-01-01 19:17:11 +00:00
Jeff Young
530a66a489 More job-specific option dialog titles. 2025-01-01 19:17:07 +00:00
Marek Roszko
72acbe1de4 Add missing options dialog title
https://gitlab.com/kicad/code/kicad/-/issues/19452
2025-01-01 14:04:33 -05:00
John Beard
e9f8b2ba77 Pcbnew: apply same IPC rule in properties panel as in dialog
This means when you switch a pad to be roundable (round rect or
chamfered-with-round), you get the same behaviour as in the dialog
(and an IPC-compliant pad by default).

Also fixes the radius visibility in the properties panel for
chamfered pads (which can have radii).
2025-01-02 00:42:31 +08:00
Jeff Young
d7eed69831 Job-specific option dialog titles. 2025-01-01 16:33:57 +00:00
Jeff Young
f4ec6d2eaa Fix layout issues when plot dialog opened from job.
Also removes Open Directory button as in a job the filepath
will be relative to whichever Output it is placed in.

Also removes the Run DRC button when called from a job.
2025-01-01 16:33:57 +00:00
jean-pierre charras
bbea339279 PANEL_SETUP_MASK_AND_PASTE_BASE: fix swapped widgets
Global textboxes solder paste clearance were swapped versus labels

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19442
2025-01-01 10:18:48 +01:00
Marek Roszko
8f750baa79 Deprecate and support using the more normal "plot" logic for dxf and svg. 2024-12-31 23:10:24 -05:00
Marek Roszko
cad0e3fc27 Lets move the chunk of plot logic from dialog_plot and share it with the jobs handler
More factoring in V10. This is just because it's getting annoying really lol
2024-12-31 21:15:05 -05:00
Alex Shvartzkop
8a3091c80d Vertically align mask expansion labels in shape properties.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19438
2024-12-31 21:53:56 +03:00
Jeff Young
8aa0b3e16c Convert output dialog to checkbox list.
Also cleans up the RC options dialog.
2024-12-31 17:13:29 +00:00
Marek Roszko
d6bf87bcaa Add flag to pdf jobs created by gui needed for processing correctly. Fix enum naming 2024-12-31 11:00:19 -05:00
Marek Roszko
33183ad795 Expand pdf plot job to normal pdf plot behavior
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19352
2024-12-31 10:55:09 -05:00
Jeff Young
0a7ed8c9a2 Fix some dialog sizing bugs. 2024-12-31 13:34:06 +00:00
Marek Roszko
17a1706257 ADDED: "Single document" PDF plot option for PCB plots 2024-12-30 23:51:42 -05:00
Alex Shvartzkop
dcf66a675a Fix copy/paste error in track_segment_length help string. 2024-12-31 06:31:49 +05:00
Ian McInerney
7f8b88221d Initialize variables 2024-12-31 00:18:10 +00:00
Alex Shvartzkop
c4091fc7ad Fix tooltip for Fill all vias. 2024-12-31 05:01:30 +05:00
Jon Evans
25036cc5cd Set padstack earlier in via properties dialog
Need to override specific padstack properties
after setting the whole thing
2024-12-30 11:36:07 -05:00
Marek Roszko
bd202a5fdc Ensure more settings are saved for plotting
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19401
2024-12-29 13:31:56 -05:00
Eric Zhuang
b3259a1c42 ODB++:Support choice compress format and specify output filename. 2024-12-29 17:01:27 +00:00
Marek Roszko
d8d84f300f CHANGED: Eliminate the independent SVG plot dialog that only duplicated and half-implemented the functions of the full Plot dialog 2024-12-28 18:55:03 -05:00
Marek Roszko
0f70c7747c Save drill/place origin for plot jobs for pdf/SVG
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19401
2024-12-28 18:49:16 -05:00
Marek Roszko
197c01aa48 Save drill shape for pdf/svg jobs
Partial fix https://gitlab.com/kicad/code/kicad/-/issues/19401
2024-12-28 18:49:16 -05:00
Marek Roszko
af7764fc92 Wooo typo again 2024-12-28 18:25:17 -05:00
Marek Roszko
9e1df0e3c2 Don't forget to actually init generate map to the job value 2024-12-28 18:23:58 -05:00
Marek Roszko
f07e3e5b3b CHANGED: Make drill dialog generate maps a checkbox option rather than explicit button
Wouldn't you want to always consistently generating both drill list and map rather than separately?

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19400
2024-12-28 18:23:07 -05:00
Jeff Young
1cf569b0be Firebomb teardrop curve points.
See 17b0dabec3 for the start.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19403
2024-12-28 22:38:51 +00:00
JamesJCode
dfe0d6345b Another go at supressing FOOTPRINT field on FOOTPRINT objects 2024-12-28 21:57:35 +00:00
Marek Roszko
015a320875 Add controls for width/height in render job 2024-12-28 14:32:26 -05:00
Marek Roszko
d8779a6c98 Add initial dialog for pcb render job 2024-12-28 14:16:28 -05:00
Marek Roszko
eeb77103c9 Don't forget to save format to file for 3d jobs
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19402
2024-12-28 12:12:32 -05:00
Jon Evans
78f83b5a39 Update PTH/Via rendering
- Add separate hole wall and net name color for vias
- Overemphasize hole wall thickness to make objects more visible
2024-12-28 10:02:11 -05:00
Graham Keeth
9ceaed7201 fix typos in teardrops tooltip 2024-12-27 22:30:30 +00:00
Jeff Young
e164c55bf8 Fix layout issues in shape properties dialog.
Also don't show/hide the Net selection; just enable/disable it.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19330
2024-12-27 22:21:48 +00:00
Marek Roszko
9dd0d67845 Add a job config dialog for ERC/DRC
Also make the default names for drc/erc unique with a suffix break.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19355
2024-12-27 11:35:09 -05:00
Marek Roszko
92404b33f0 Save 2 additional params for plotting jobs 2024-12-26 13:18:04 -05:00
Jon Evans
bb29d5205a Fix ordering of saving via properties from dialog 2024-12-24 18:01:28 -05:00
John Beard
4b5f809961 Prefs: fix bug in FP editor prefs resetting
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19369
2024-12-24 20:38:34 +08:00
John Beard
9d7d6eae10 FP-edit: split fields and graphics default settings
This prevents the dialog growing too much and going off a
smaller screen. It's also more consistent split to match
Pcbnew, which has the same graphical items settings and
allows more granular resetting and avoids confusing settings
that only apply to new footprints with settings that apply
to items with in a footprint.

Resetting is also then more granular, so you can reset text item
defaults without, say, also resetting your default line widths.
2024-12-24 20:38:34 +08:00
John Beard
0c625e6cec Pcbnew: unify dimension default configurability
This resolves an inconsistency between Pcbnew and FP editor that means
default dimension properties cannot be set in the FP editor, but the
dimension line widths and text sizes _can_, which can lead to mismatches
between different parts of the same dimension that can't be prevented
except retroactively using the properties tools.
2024-12-24 20:38:34 +08:00
Jeff Young
1fe2dcc914 Improve accuracy of control label.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19304
2024-12-23 18:09:56 +00:00
Alex Shvartzkop
1b28ee51dc IPC-2581: Improve dialog layout; Limit precision to 4-10 digits.
To represent KiCad's internal units (1 nm), it's enough to have:
- 6 decimal digits in mm;
- 8 decimal digits in inches.

There's not much point in reducing the precision.
Up to 10 digits allowed just in case.
Also changes precision to 6 decimal digits by default.
2024-12-22 20:19:54 +03:00
Alex Shvartzkop
46850aad92 Switch Excellon Drill Units to Millimeters by default.
Having Gerber Plot outputs in mm and drill outputs in inches was
causing tiny misalignments. This change switches Excellon output
units to mm by default.
2024-12-22 00:29:09 +03:00
Jon Evans
3ebe124ae7 API: Add a mechanism to recreate Python environments 2024-12-20 17:07:09 -05:00
Alex Shvartzkop
418c8592aa Allow to control via hole cutting in board body/copper.
- "Fill all vias" option disables the cut in copper layers which is
  important to speed up EM simulations.
- "Cut vias in board body" enables cutting even if copper layer export
  is disabled, which is useful if you're using vias as mounting holes.

Related: https://gitlab.com/kicad/code/kicad/-/issues/18735
2024-12-20 23:28:46 +03:00
Jeff Young
a3f69046ba Fix double-click in footprint chooser.
Also fixes the assert when closing the chooser after the 3D
view was shown.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18107
2024-12-20 11:25:31 +00:00
Seth Hillbrand
527e2e8027 Unify Trace/Track usage
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19329
2024-12-19 15:55:26 -08:00
Jon Evans
d79b736e57 Follow-on fix for 23db5573 2024-12-19 08:46:59 -05:00
Jon Evans
23db557317 Support building with KICAD_IPC_API off
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19321
2024-12-18 21:34:14 -05:00
Wayne Stambaugh
2e7d819b5d Fix thread deadlock when closing the footprint chooser dialog.
Fixing this required disabling the footprint/3D viewer canvas drawing
before destroying the canvas in the dialog dtor.  This in turn required
adding a virtual method to DIALOG_SHIM that can be overridden by the
derived object to allow performing actions during dialog shutdown that
can be problematic when performed in the dialog dtor.  Please note that
this only works for quasi-modal dialogs.  Modal and modeless dialogs
should use close window events.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18107
2024-12-18 08:13:15 -05:00
Jon Evans
9eda526871 API: Show API actions alongside SWIG action plugins in preferences 2024-12-14 18:00:07 -05:00
Alex Shvartzkop
add58faa30 Send wxSIGKILL to STEP/OCCT 3D model export process when cancelled.
Also adds a cancel confirmation dialog.

Also fixes an issue where a thread termination error message is shown
when calling Delete(), because the thread has already exited after
Wait().

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19279
2024-12-12 11:57:17 +03:00
Marek Roszko
af8f25875b Get the pcb plot dialog hooked up to jobs editing 2024-12-09 07:17:38 -05:00
Jeff Young
753d385473 Reduce dependency on dynamic_cast.
Also switches to checking __clang__ instead of __WXMAC__.
2024-12-08 21:46:54 +00:00
jean-pierre charras
8d83df3264 DIALOG_TRACK_VIA_PROPERTIES: blind/buried vias: fix not working layer sel. 2024-12-08 15:53:13 +01:00
Jeff Young
d1b1ae13f1 Fix typo. 2024-12-07 14:11:24 +00:00
Jeff Young
f058a4ed26 File update from build. 2024-12-07 13:59:31 +00:00
Jeff Young
0f8538c709 Manual cherry-pick of 1ce594d689.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19260
2024-12-07 13:51:04 +00:00
Alex Shvartzkop
b41198035e Improve P-curves option name in STEP export. 2024-12-06 21:01:20 +03:00
Alex Shvartzkop
aafa835d8e Split STEP export dialog options into board/conductor categories.
Also change "copper" to "conductor" in names and tooltips.
2024-12-06 21:01:20 +03:00
Jeff Young
9b4c1024c9 Default focus for Enumerate Pads dialog. 2024-12-04 17:49:42 +00:00
Seth Hillbrand
bf6a255a3e Move more elements from fixed size arrays
Refactor layer data storage from compile-time array sizes to run-time
map storage
2024-12-03 13:25:11 -08:00
Jon Evans
ecdc7ee08f Add a null type for libeval / std::optional support
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19158
2024-12-02 21:21:18 -05:00
Jon Evans
f504a07556 ODB++: Add to CLI and jobs system 2024-12-02 10:53:01 -05:00
Jon Evans
9b1b318736 REMOVED: Footprint field from footprints
This field was redundant (was generally set to the footprint's LIB_ID)
but also buggy (not guaranteed to contain the footprint's LIB_ID)
and confusing (not a way to change the footprint's LIB_ID).
2024-12-01 15:50:40 -05:00
John Beard
c9164272ab Pcbnew: line polar edit: correct endpoint calculation
The translation vector went missing so it was wrong for lines
not starting at (0, 0).

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19220
2024-11-29 19:05:40 +08:00
John Beard
7e75fe19de Pcbnew: mid/endpoint was confusing
Technically, any endpoint is equivalent for the
geometry that you get out. But "endpoint" sounds like
it means the point that is not the start point.

So change the tool to explicitly take the start and
midpoint as inputs.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19221
2024-11-29 19:05:40 +08:00
John Beard
7a9cb919dc Use the bds() function in the DRC dialog
It should be the same object either way, but it's easier
to figure out if it's the same.

Also break out a variable.
2024-11-29 04:12:10 +08:00
John Beard
37469b00b2 Pcbnew: fix track start property display
The display in the properties manager for arc tracks
was wrong. Implement a set of Get/SetStartX/Y functions
for the traces, to match the End functions.

This is needed because PCB_ARC overrides GetPosition
to return the arc center, not the start position (whereas
PCB_TRACK does return the start for GetPosition)

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19215
2024-11-28 05:56:40 +08:00
Jon Evans
dd8f7901b1 Multichannel: use GRID_TRICKS for grid
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19067
2024-11-25 18:51:54 -05:00
Jon Evans
69fe1368f1 Multichannel: support free items; fix group handling
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19096
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19095
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19097
2024-11-24 12:10:14 -05:00
aris-kimi
e917e03a10 Fix some typos 2024-11-24 16:44:01 +00:00
Alex Shvartzkop
0efc17ccc0 Show empty field for unconstrained length in length tuning properties.
Because it's confusing when the dialog shows last target value, but it
doesn't apply when you start tuning.

Also the last values are remembered in DRAWING_TOOL::PlaceTuningPattern
now, instead of global variables.

Related: https://gitlab.com/kicad/code/kicad/-/issues/18979
(cherry picked from commit a950d55cb2)
2024-11-23 18:11:53 +03:00
Jon Evans
0045538512 ODB++: file handling improvements
- Use board filename in compressed output
- Don't generate uncompressed output next to compressed
- Make clear that the path in the dialog is a folder, not a file
- Handle existing output files gracefully
2024-11-20 18:40:51 -05:00
Dhineshkumar S
dc5550c875 Fix schematic setup dialog reopens instead of activating if already open
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18757
2024-11-19 21:06:40 +00:00
JamesJCode
120b06f916 Update DRC rules syntax help 2024-11-18 21:50:20 +00:00
Jeff Young
88dbd46538 Remove fixed sizes from Rule Area Properties.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19144
2024-11-17 20:05:38 +00:00