Jeff Young
e59aaf05c6
Make sure that GetConnectedItems searches from the root item.
Fixes https://gitlab.com/kicad/code/kicad/issues/10583
4 years ago
Jeff Young
7ccac79192
More wxString wide literals.
4 years ago
Jeff Young
c3552a940a
Make sure standard OK/Cancel buttons respond to current language.
Fixes https://gitlab.com/kicad/code/kicad/issues/9635
4 years ago
Jeff Young
28b279cb2d
Units cleanup.
It's 2021. Time to move beyond ASCII. This also makes spacing of
units consistent (space before abbreviated units, no space before
symbolic units).
4 years ago
Jeff Young
e26341d424
Cleanup.
4 years ago
Jeff Young
4e8a7fc911
Hot-update units in track editing dialogs.
Fixes https://gitlab.com/kicad/code/kicad/issues/10099
4 years ago
jean-pierre charras
c0fdac2774
DIALOG_TRACK_VIA_PROPERTIES: Do not use wxcombobox selection as temporary variable.
Fixes #9746
https://gitlab.com/kicad/code/kicad/issues/9746
4 years ago
Jeff Young
ab2eae6f48
Implement a more nuanced firstFocus for Track & Via Properties.
Fixes https://gitlab.com/kicad/code/kicad/issues/9645
4 years ago
Jeff Young
08938463f1
Fix off-by-one error in via sizes.
Fixes https://gitlab.com/kicad/code/kicad/issues/9486
4 years ago
Jeff Young
e6ca9837a2
Clear numbers from non-numberable pads and don't run DRC on them.
This was also the last straw on the misnamed PAD::GetName() and
PAD::SetName(), which are now PAD::GetNumber() and PAD::SetNumber().
Fixes https://gitlab.com/kicad/code/kicad/issues/9017
4 years ago
Jeff Young
05fb582304
Expose missing annular ring properties in Track & Via Properties.
4 years ago
Jeff Young
096e342386
Prefix TRACK, ARC and VIA.
4 years ago
luz paz
f968fc8719
Fix source comment / documentation typos
4 years ago
david-beinder
410dbe17de
Fix inital predefined track width selection in track properties dialog
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8578
4 years ago
Marek Roszko
10e60acf34
Clean up including of board_design_settings.h
5 years ago
Ian McInerney
4f05262705
Cleanup includes in board.h and footprint.h
5 years ago
Jeff Young
faf9cca938
Fix many cases of old mils flag getting interpreted as allowEval flag.
Fixes https://gitlab.com/kicad/code/kicad/issues/7883
5 years ago
Jeff Young
a4d417f5c0
Get rid of "drill" terminology when talking about finish hole size.
Fixes https://gitlab.com/kicad/code/kicad/issues/7044
5 years ago
Jeff Young
f372c8025b
Better sizing for some conditional dialogs.
These dialogs don't have growable features but do have conditional
features, so the size is better adjusted automatically by the code
then by the user.
5 years ago
Jeff Young
8aeaaf99ef
Disable net selector for non-free vias.
Also moves the checkbox up so this relationship is clearer.
Fixes https://gitlab.com/kicad/code/kicad/issues/6967
5 years ago
Jeff Young
1579ce9f9e
Separate net updating from Edit Tracks & Vias into a second pass.
Fixes https://gitlab.com/kicad/code/kicad/issues/6858
5 years ago
Jon Evans
70c397a9b4
Implement free vias fully
CHANGED: manually-placed (stitching) vias won't have their nets automatically updated
(unless the via is placed directly on a track segment)
CHANGED: stitching vias can be placed on footprint pads and pick up their nets
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5484
5 years ago
Jeff Young
acfbcb4beb
Make distinction between PCBNew-wide tools and Board-specific tools.
The old names were really hard to keep straight (even for me, who named
many of them).
5 years ago
Jeff Young
a207bd97bb
Naming conventions.
5 years ago
Jeff Young
3451ac3088
PCB_MODULE_T -> PCB_FOOTPRINT_T
5 years ago
Jeff Young
f5443de7f9
D_PAD -> PAD.
5 years ago
Jeff Young
84dd5108ba
Remove some "class_" prefixes from files.
5 years ago
Jeff Young
3a35a5d5f8
Make use of polymorphism for locking/unlocking.
Fixes https://gitlab.com/kicad/code/kicad/issues/6350
5 years ago
Jeff Young
1024584cac
Don't show netclass placeholders in track & via props dialog.
We have a separate checkbox for that.
Fixes https://gitlab.com/kicad/code/kicad/issues/5951
5 years ago
Mikolaj Wielgus
400c15b8eb
Add mils to units, remove useMils variables
5 years ago
Reece R. Pollack
a9c835275a
Apply display origin transforms in Pcbnew dialog classes
This commit applies display origin transforms to all Pcbnew
dialog classes that use UNIT_BINDER for their formatting:
* DIALOG_CREATE_ARRAY
* DIALOG_FOOTPRINT_BOARD_EDITOR
* DIALOG_GRAPHIC_ITEM_PROPERTIES
* DIALOG_GRID_SETTINGS
* DIALOG_MOVE_EXACT
* DIALOG_PAD_PROPERTIES
* DIALOG_POSITION_RELATIVE
* DIALOG_TEXT_PROPERTIES
* DIALOG_TRACK_VIA_PROPERTIES
5 years ago
Jeff Young
67bccaf465
Make indeterminate control states clearer for the user.
Fixes https://gitlab.com/kicad/code/kicad/issues/4313
6 years ago
Ian McInerney
99dcadf7e6
Introduce new KI_FALLTHROUGH macro
Annotate purposeful fallthroughs in switch statements with the
KI_FALLTHROUGH macro.
6 years ago
Seth Hillbrand
ecbfea68dd
ADDED: Allow creation of nets in pcbnew
When editing pcb items, the creation of a new net to connect existing
pads or traces can be a useful shortcut. This inserts the ability to
optionally create a new net from the Net Selector dropdown menu.
6 years ago
Michael Kavanagh
265c1663f9
Remove empty choice in Via type dropdown
Fixes https://gitlab.com/kicad/code/kicad/issues/3968
6 years ago
Seth Hillbrand
8c19b4b6ae
pcbnew: Adding arcs to PNS
This is allows ARCs in tracks to be synchronized with
the PNS router. Note this does not yet include the UI components
to route curved traces
7 years ago
Mark Roszko
19ceb11ae7
Change more enums over to scoped enums
6 years ago
Jeff Young
03da721030
Move events to wxFormBuilder and fix the missing hookup.
Fixes: lp:1841361
* https://bugs.launchpad.net/kicad/+bug/1841361
6 years ago
Seth Hillbrand
0bce0f37e4
pcbnew: Avoid wxassert in message
wxstring::Printf() needs size_t cast to acceptable type or it gives an
assertion in debug mode.
(cherry picked from commit e8ce0ba6ef )
6 years ago
Jeff Young
5e49517781
Move hotkeys to ACTION architecture.
7 years ago
Jeff Young
a8b8c73ab8
Set initial focus to track width / via size.
Fixes: lp:1822177
* https://bugs.launchpad.net/kicad/+bug/1822177
7 years ago
Tomasz Włostowski
9657039af2
pcbnew: multiple fixes concerning track->pad net propagation used by Track/Via properties dialog:
- Added ignore netcode option to CONNECTIVITY_DATA::GetConnectedItems()
- PlaceModule() now ensures the module added to the board (and thus to the connectivity database) has correct bounding box necessary for R-trees to work
- Use recursive connected pad search so that the new net is propagated to all pads
Fixes: lp:1787961
* https://bugs.launchpad.net/kicad/+bug/1787961
7 years ago
Jeff Young
ff6a3482ec
Remove on-kill-focus-validation.
Fixes: lp:1805361
* https://bugs.launchpad.net/kicad/+bug/1805361
7 years ago
Seth Hillbrand
4460313104
pcbnew: Separating connectivity to subdir
7 years ago
Jeff Young
c5499a6b19
Use ChangeValue() so design rules popup doesn't get cleared.
Fixes: lp:1796780
* https://bugs.launchpad.net/kicad/+bug/1796780
7 years ago
Jeff Young
2b634004ee
Track widths and via sizes are in mils.
Fixes: lp:1792748
* https://bugs.launchpad.net/kicad/+bug/1792748
7 years ago
Jeff Young
4174ecf4c3
Only validate via size vs drill if both are specified.
Fixes: lp:1789349
* https://bugs.launchpad.net/kicad/+bug/1789349
7 years ago
Jeff Young
c90a3efea2
Change KIDIALOG hashing algorithm to __FILE__ + __LINE__.
Using Title + Message wasn't working for all the dialogs which
did substitutions in the message (which was a lot of them).
Fixes: lp:1789348
* https://bugs.launchpad.net/kicad/+bug/1789348
7 years ago
Jeff Young
9125d7fdb6
Fix typo.
7 years ago
Jeff Young
b562ecc5b5
Check for net changing before confirming.
Fixes: lp:1789348
* https://bugs.launchpad.net/kicad/+bug/1789348
7 years ago