Jeff Young
420cadab34
Separate meander settings from target length/skew.
Settings move to Board Setup, while target length is sourced from
the custom rules (or a text-entry dialog if no rules are active for
the track).
Target skew is sourced from the coupled-trace-length minus the
trace-to-be-tuned length.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12075
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15826
2 years ago
Jeff Young
b9e1908ffe
Try to find a happier medium for text entry box widths.
Most dialogs have units outside the text entry, and the likelihood
of 14 significant digits & units is low enough to allow scrolling
in that case.
2 years ago
Jeff Young
31c488bc23
NETINFO_ITEMs are owned by BOARD.
Lifecylce management must go through BOARD_COMMIT (or at least
the frame's undo/redo lists).
2 years ago
Jeff Young
9b60e99660
Use wxSTAY_ON_TOP instead of wxFRAME_FLOAT_ON_PARENT for choosers.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15808
2 years ago
Jeff Young
a3d83cdb6d
Pass symbol netlist from Field Properties dialog.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15806
2 years ago
Jeff Young
8760bd8c80
Reconcile "apply defaults to new footprints" with DRC lib checks.
Moves apply defaults settings to Board Setup (where they were
duplicated anyway due to an earlier botched merge).
Modifies the apply-to-graphics algorithm to skip copper shapes.
Modifies DRC library check to skip STROKE_PARAMS for non-copper
shapes.
2 years ago
Jeff Young
06446bb80e
Only expand lib tree when filtering.
2 years ago
Marek Roszko
6d3b846eb5
Add more missing destructor event cleanups
2 years ago
Jeff Young
fa11e9138d
ADDED support for pin and fp filtering in FOOTPRINT_CHOOSER.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7176
2 years ago
Jeff Young
974da4ea7c
Push most of DIALOG_CHOOSE_SYMBOL down into PANEL_SYMBOL_CHOOSER.
Includes a dialog wrapper (DIALOG_SYMBOL_CHOOSER) and a frame
wrapper (SYMBOL_CHOOSER_FRAME).
2 years ago
Marek Roszko
6b12a12b3e
On second thought rename PROJECT_PCBNEW to PROJECT_PCB
2 years ago
Marek Roszko
7e8b18035f
Eliminate the conditional pcbnew/cvpcb definition of PROJECT
2 years ago
Jeff Young
1047130046
Push most of footprint chooser into PANEL_FOOTPRINT_CHOOSER.
Create 2 wrappers for it: DIALOG_FOOTPRINT_CHOOSER and
FOOTPRINT_CHOOSER_FRAME. The first now gets called from wxGrid
editors, text button editors (such as Change Footprints), etc.
Retire FOOTPRINT_VIEWER_FRAME_MODAL. FOOTPRINT_VIEWER_FRAME still
exists, but has very few uses at this point.
2 years ago
jean-pierre charras
4e77c9089e
Fix typos
2 years ago
Marek Roszko
f8e33be07f
Break out the boundary violating parts of gal into common through subclassing
2 years ago
jean-pierre charras
e7233a8dc6
DIALOG_CREATE_ARRAY, minor changes: better look, and added a few tool tips.
2 years ago
Jeff Young
9e2fc9b07c
Footprint item positions are relative.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15477
2 years ago
Jeff Young
58889f8120
Improve shape properties dialog layout.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15683
2 years ago
jean-pierre charras
e24c6d04ff
DIALOG_CREATE_ARRAY: enhancement to commit f775637d: ensure last selection
(Set center by radius / Set center by position) has the right widgets enabled
when reopen the dialog.
2 years ago
Josue Huaroto
f775637da8
Add Radius and Angle parameters to set center in Circular Array
2 years ago
Marek Roszko
22b733209d
Fail GAL on its header leaking audit
Maybe we should rethink directly accessing GAL so much, but at least 600 files didn't need GAL leaked into them due to view_overlay.h
2 years ago
Alex Shvartzkop
1decd31baf
Vertically center wxGrid cells by default.
2 years ago
Jeff Young
469a94db8c
Fix mirroring of TextBox.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15576
2 years ago
Jeff Young
c80eb44900
Disentangle IBIS model controls from built-in model controls.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13855
2 years ago
Jeff Young
9114578004
Improve custom rules syntax help (based on info in docs).
Also turns on table processing in ConvertMarkdown2Html().
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15609
2 years ago
Alex Shvartzkop
ff49d5ada9
Fix ambiguous overloads on wx 3.3
2 years ago
Jeff Young
31c88d1bcb
Don't show cursor or grid axes in pad preview; do show the pad anchor axes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15631
2 years ago
jean-pierre charras
7bc0e138fb
DIALOG_NET_INSPECTOR: add a close button to allow closing the dlg by ESC.
Fixes #15624
https://gitlab.com/kicad/code/kicad/-/issues/15624
2 years ago
Jeff Young
899fe8be17
Fix change footprints dialog to use correct selection state.
2 years ago
jean-pierre charras
45e83541cd
Try to make DIALOG_CREATE_ARRAY more understandable for circular arrays.
Added toop-tips and info texts.
No actual code change.
2 years ago
Marek Roszko
11de95778b
Unwrap the FROM_UTF8 macro in favor of direct function
The extern just gets annoying to try to export the func later. We also yeet TO_UTF8 to string_utils.h for parity.
2 years ago
jean-pierre charras
cbcaaa001c
fix some Coverity and compil warnings.
2 years ago
Alex Shvartzkop
a5a93f808e
Populate symbol library type choices from SCH_IO_MGR list.
2 years ago
Jeff Young
ea6d64e996
Set line width when changing annotation proxy flag.
(This prevents rectangle from not getting combined into pad if
proxy flag is turned off as Clipper collapses the polygon union
because it's too small.)
2 years ago
Jeff Young
7c718db5d2
Remove dialog-based primitive editing in favour of Pad Edit Mode.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13561
2 years ago
jean-pierre charras
2bf8602912
DIALOG_EXPORT_STEP_LOG: print the command line sent to kicad-cli in report window.
It can be useful in case of problems.
2 years ago
Jeff Young
fe0fb92441
Reduce visual clutter in GAL display options.
2 years ago
Jeff Young
d27413a032
Remove up/down buttons until we implement layer ordering.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14574
2 years ago
Jeff Young
60419f542a
Bug fixes for paste margins on custom-shaped pads.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15125
2 years ago
Jeff Young
e6b0a6abca
ADDED: lib tree previews.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2418
2 years ago
Jeff Young
68c839b214
Stop trying to zero-out offset of custom-shaped pads.
It causes *way* to many issues.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15555
2 years ago
jean-pierre charras
160ec181ac
dialog_export_svg: add color theme selection.
Previously, the Kicad Classic theme was always used.
2 years ago
Jeff Young
5358343023
Make button alignment consistent.
2 years ago
Marek Roszko
2dcb7caacf
Add an explicit border property to textboxes
This means it can remember the last border stroke between enabling/disabling the border
2 years ago
Mike Williams
b1a388ca69
Grids: Support X and Y for all grids, add optional names
2 years ago
jean-pierre charras
67d3528866
fix minor compil warnings
2 years ago
Josue
94e86a69be
Update RECT to RECTANGLE
2 years ago
Josue
ae3a9d05b5
Remove dialog events
2 years ago
Josue
761929c052
Add OnKillFocus Event for Coordinates and Segment, Rectangle properties
2 years ago
Josue
e5316fd1aa
Change name: Truncate -> Round
2 years ago