jean-pierre charras
459a972116
Remove unused vars.
2019-05-22 08:27:48 +02:00
Jeff Young
1a3d0492f5
Push polar coords down into COMMON_TOOLS.
2019-05-18 00:21:49 +01:00
Seth Hillbrand
f32c95229e
pcbnew: Check for valid data before deleting
...
We need to check for valid rows and iterators before removing a 3d model
Fixes: lp:1829337
* https://bugs.launchpad.net/kicad/+bug/1829337
2019-05-17 09:34:27 -07:00
Jeff Young
fbb807f3bb
Move some more menu & toolbar items to modern toolset.
2019-05-16 19:57:06 +01:00
John Beard
0eb8f92c69
Pcbnew: add a step field to the array tool
...
This is useful, for example, when arraying only one side
of a connector.
Fixes: lp:1809580
* https://bugs.launchpad.net/kicad/+bug/1809580
2019-05-16 11:20:52 +01:00
John Beard
eb1e67583f
Pcbnew: tidy up array options access/allocation
...
Use unique_ptrs for ownership transfer.
Pass the target object to the constructor rather than
creating an internal verison.
2019-05-16 11:20:52 +01:00
John Beard
6ade8c25e1
Pcbnew: allow alphabetic numbering in n circular grids
...
Add controls to the dialog and wire up to the axis numbering
scheme, same as the grid axes.
Fixes: lp:1814923
* https://bugs.launchpad.net/kicad/+bug/1814923
2019-05-16 11:20:52 +01:00
John Beard
f47e2b54f8
Decouple the array tool list box from the numbering enum
...
This prevents the dialog being sensitive to the exact ordering
of the enum, and instead defines an explicit mapping between
the axis numbering type, the label string and the position in the
list box control.
2019-05-16 11:20:52 +01:00
John Beard
2c1b970027
Arrays: isolate axis code in a new class
...
Remove the axis numbering code from ARRAY_OPTIONS
and place in a new class, ARRAY_AXIS. This keeps
the logic for the array item numbering separate from
the logic for the array item geometry.
This simplifies the logic in the ARRAY_OPTIONS class, which
no longer has to deal with the numbering of each axis.
2019-05-16 11:20:52 +01:00
Seth Hillbrand
b3b5ffe799
pcbnew: fixup small type issue
2019-05-15 09:53:42 -07:00
Wayne Stambaugh
a32bb4e9a5
Pcbnew: fix crash when deleting DRC errors from DRC dialog.
...
Fixes lp:1828726
https://bugs.launchpad.net/kicad/+bug/1828726
2019-05-14 18:07:34 -04:00
Wayne Stambaugh
6f27ef7f66
Fix library table editor dialog environment variable grid column names.
...
Fixes lp:1825977
https://bugs.launchpad.net/kicad/+bug/1828459
2019-05-14 07:57:58 -04:00
Seth Hillbrand
f7c042a357
pcbnew: Allow curves in custom pads
...
Updates custom pad functions to permit adding arbitrary curves to the
primitives
2019-05-08 15:54:26 -07:00
Seth Hillbrand
b56ca3f09c
Staging wxFormBuilder change for next commit
2019-05-08 15:54:26 -07:00
jean-pierre charras
4e5a94efb7
Pcbnew, non copper zones: fix 2 issues.
...
1 - For debug purposes, the code to fill non copper zones was disabled and the copper zone code was uses instead.
It creates issues with pad clearance areas, because a non copper zone has no clearance areas.
2 - The non copper zone dialog had no option to set the outline smoothing option.
Unfortunately, this parameter was inherited from the last edited copper zone.
And therefore the non copper zone can have a non wanted outline smoothing option.
This option is now added to the dialog.
Fixes: lp:1826952
https://bugs.launchpad.net/kicad/+bug/1826952
2019-04-30 13:16:29 +02:00
Michael Kavanagh
df228a3c10
Pcbnew: Fix missing UI elements for curved ratsnest function
...
Fixes: lp:1826446
* https://bugs.launchpad.net/kicad/+bug/1826446
2019-04-27 15:11:41 +02:00
Jeff Young
69cdb4a76c
Make Import Settings button label more specific.
...
Fixes: lp:1826477
* https://bugs.launchpad.net/kicad/+bug/1826477
2019-04-26 15:02:17 +01:00
Jeff Young
a461eae8b9
Fix 100s of usages of GetFlags() which conflated != 0 with being edited.
...
While this was true long ago, many flags have been added since which
have nothing to do with editing (HIGHLIGHTED, BEGIN_ONPAD, etc.)
2019-04-22 09:58:06 +01:00
Simon Richter
2b3b26b502
Remove two extraneous spaces from a tooltip
2019-04-20 22:04:22 +01:00
Jon Evans
105825c058
Refactor Import Netlist to use the same codepath as Update PCB
2019-04-17 22:57:19 -04:00
jean-pierre charras
a07caac85a
Pcbnew, Netlist inspector: fixes and enhancements.
2019-04-15 10:10:51 +02:00
Jeff Young
ef3f773f84
Code formatting cleanup.
2019-04-14 23:13:46 +01:00
Jeff Young
d5f136cd7e
Polish export-related changes to List Nets Dialog.
2019-04-14 22:29:52 +01:00
Andrey Fedorushkov
dacab4abe0
pcbnew: add tracks length and export netlist to file in netlist inspector
2019-04-14 20:39:29 +01:00
Jon Evans
dec5d80180
Veto mouse warping from DRC dialog
...
Fixes: lp:1824630
* https://bugs.launchpad.net/kicad/+bug/1824630
2019-04-13 11:23:57 -04:00
Jeff Young
dae41b7460
Remove legacy segment-based zones.
...
Give the user the option of cancelling a file open if there are
segment zones; otherwise they're converted to polygon fills.
Fixes: lp:1823087
* https://bugs.launchpad.net/kicad/+bug/1823087
2019-04-12 20:19:23 +01:00
Jon Evans
3d9b5daf9c
Improve selection behavior of DRC markers in DRC dialog list
...
Fixes: lp:1813373
* https://bugs.launchpad.net/kicad/+bug/1813373
2019-04-12 11:01:38 -04:00
Jeff Young
0021ecf51e
Don't double-escape netnames.
...
Netnames in wxChoice or wxListBox are already in internal format
and don't need escaping again.
Fixes: lp:1823863
* https://bugs.launchpad.net/kicad/+bug/1823863
2019-04-12 00:28:58 +01:00
Jeff Young
8ae0579436
Reorder global edit dialogs for better comprehension.
...
Fixes: lp:1818087
* https://bugs.launchpad.net/kicad/+bug/1818087
2019-04-12 00:28:58 +01:00
Jeff Young
2144c6c97d
Save a bit of space in the copper zone dialog.
2019-04-10 18:12:14 +01:00
Seth Hillbrand
7cf394e34f
pcbnew: Handle missing footprint wizards
...
When we do not have any footprint wizards to display, we cannot select
the grid rows.
Fixes: lp:1823608
* https://bugs.launchpad.net/kicad/+bug/1823608
2019-04-09 11:54:01 -07:00
jean-pierre charras
0b33df8831
Pcbnew,DIALOG_SELECT_NET_FROM_LIST: fix a crash and the not working net selection.
...
It was due to changes in code, and related to escaping the '/' in net labels.
2019-04-08 15:36:55 +02:00
Jeff Young
d361e68d0e
Condense the DRC dialog a bit.
...
The messages title doesn't really provide useful info anyway.
2019-04-08 13:26:26 +01:00
Jeff Young
a1c162e59f
Reimplement footprint checking on top of DRC architecture.
...
This allows Import Netlist and Update PCB from Schematic to
share the same checking code, and expose it through the DRC
dialog.
Fixes: lp:1685516
* https://bugs.launchpad.net/kicad/+bug/1685516
Fixes: lp:1809293
* https://bugs.launchpad.net/kicad/+bug/1809293
2019-04-08 13:26:17 +01:00
Tomasz Włostowski
e5753b79d4
pcbnew: Hyperlynx Exporter - initial version
2019-04-08 02:56:02 +02:00
Seth Hillbrand
a300ae105d
pcbnew: Freeze the netclasses dialog on init
...
Prevents the size events from firing on Mac when we set up the netclass
panel
Fixes: lp:1819426
* https://bugs.launchpad.net/kicad/+bug/1819426
2019-04-07 07:07:55 -07:00
Jeff Young
684bb62fd8
Escape slashes in labels and netnames.
...
Also re-allows spaces, as they can already come in through sheet
names.
Fixes: lp:1798621
* https://bugs.launchpad.net/kicad/+bug/1798621
2019-04-07 00:24:10 +01:00
Jeff Young
1ae47b6069
Implement a copper-to-edge-clearance setting.
...
For legacy boards, the setting is picked up from the board outline
thickness. If the board outline has mixed thicknesses, then the
max is used and a warning is displayed.
Fixes: lp:1797787
* https://bugs.launchpad.net/kicad/+bug/1797787
2019-04-05 22:18:44 +01:00
Wayne Stambaugh
b6a0bf1142
Minor drill file dialog improvements.
2019-04-05 16:49:08 -04:00
Wayne Stambaugh
dfee7bddd3
Minor footprint position dialog improvements.
2019-04-05 16:15:16 -04:00
Jeff Young
87f303319c
Implement a dry run for Cleanup Tracks and Vias.
...
Uses the DRC architecture to support inspection of the changes to
be made (right click on items, hover over them in the menu to
highlight them on the board).
Fixes: lp:1571305
* https://bugs.launchpad.net/kicad/+bug/1571305
Fixes: lp:1809474
* https://bugs.launchpad.net/kicad/+bug/1809474
2019-04-05 18:52:51 +01:00
Jeff Young
ea43866563
Move legacy netlist read/write to import/export.
...
Fixes: lp:1610529
* https://bugs.launchpad.net/kicad/+bug/1610529
2019-04-05 16:11:15 +01:00
jean-pierre charras
0aa8458d04
DIALOG_PAD_PROPERTIES: Fix incorrect calculation of Round Rect Radius Ratio, when inches are selected.
...
Fixes: lp:1822720
https://bugs.launchpad.net/kicad/+bug/1822720
2019-04-04 15:40:29 +02:00
Jeff Young
d8cc2f8280
More cleanup from non-reference return from GetText().
2019-04-03 19:35:25 +01:00
Jeff Young
a8b8c73ab8
Set initial focus to track width / via size.
...
Fixes: lp:1822177
* https://bugs.launchpad.net/kicad/+bug/1822177
2019-04-01 13:23:37 +01:00
Jeff Young
3da5396c8d
Fixes for importing board setup properties.
...
Save/restore default netclass.
Read layers back in with correct syntax ('.' between keyword and layer name).
Write layers to project file.
Read/write layer enablement bits.
Don't set solder paste margin min to 0 (most of them are negative).
Fixes: lp:1811990
* https://bugs.launchpad.net/kicad/+bug/1811990
2019-04-01 13:23:37 +01:00
jean-pierre charras
7170720f3c
Allow hatch pattern in filled zones
...
the filled areas can use a hatch pattern (crossing lines) using square holes.
The zone filler removes too small holes (truncated holes) from hatch pattern.
It avoid to create small holes when a hole pattern is truncated by the filled area base shape.
2019-03-31 08:21:40 +02:00
John Beard
d6b8e9e037
Pcbnew: Improve tab traversal in text properties dialog
...
Tab through the grid vertically, then horizontally, as the fields
are laid out with "related" fields (like the co-ords) vertically.
Also neaten headers.
Fixes: lp:1821887
* https://bugs.launchpad.net/kicad/+bug/1821887
2019-03-27 13:56:03 +00:00
John Beard
b7017167f0
Pcbnew: Align right margins in text properties dialog
2019-03-27 13:56:03 +00:00
John Beard
dd3252445d
Pcbnew: update text properties dialog wxFB version
...
No actual changes, but this keeps the diffs clean(er).
2019-03-27 13:56:03 +00:00