Jeff Young
b5634b1d08
Dialog spacing cleanup.
7 years ago
Martin Aberg
f3983cc47f
eeschema: fixed typo Brighened -> Brightened
This affects a color string in the eeschema config file.
8 years ago
John Beard
1e11df650c
Typos and inconsistencies in FP and Pad dialogs
* A few typos like stray new lines
* Per cent -> percent
* Consistent use of full stops
* Consistent use of commas after "If 0"
Fixes: lp:1783446
https://bugs.launchpad.net/kicad/+bug/1783446
7 years ago
Tomasz Wlostowski
07d56a2e32
BOARD::PadDelete() should update connectivity
Fixes: lp:1783528
* https://bugs.launchpad.net/kicad/+bug/1783528
7 years ago
Maciej Suminski
630631b41b
Code formatting
7 years ago
Tomasz Wlostowski
a9af4d0141
ZONE_CREATE_HELPER: fixed crash when adding a cutout to a zone
Fixes: lp:1783541
* https://bugs.launchpad.net/kicad/+bug/1783541
7 years ago
Maciej Suminski
bbfc1eb12c
Use quoted file name when opening a PDF file
Fixes: lp:1783667
* https://bugs.launchpad.net/kicad/+bug/1783667
7 years ago
Maciej Suminski
dbf4bcdbb7
Converted PNS Length Tuning dialog to use TransferData{From,To}Window()
Fixes: lp:1783694
* https://bugs.launchpad.net/kicad/+bug/1783694
7 years ago
jean-pierre charras
1e43773a95
Fix not understandable comment
7 years ago
jean-pierre charras
f13a546c9b
Fix a few wxWidgets asserts or alerts.
7 years ago
Jeff Young
05b2060e12
Replace missing growable-row spec.
Fixes: lp:1783545
* https://bugs.launchpad.net/kicad/+bug/1783545
7 years ago
John Beard
f01cf15528
Add field properties icon: opamp + T
This was just a text icon, which was not clear about the function
of the button.
7 years ago
John Beard
d0b13c90d8
New part properties icon: opamp + gear
This was just the gear, which is conflated with general preferences.
Adding the opamp makes the connection to "symbol/part" clearer.
7 years ago
Jeff Young
822ebf6955
Move symbol management to a standard Save As... model.
Also brings horizontal toolbar in line with Pcbnew and Eeschema.
And updates the EDA_LIST_DIALOG to current practices.
This finishes the removal of the active library concept from the
Symbol Editor (started with the new component tree in 5.0).
Fixes: lp:1740717
* https://bugs.launchpad.net/kicad/+bug/1740717
7 years ago
Jeff Young
e55bb9e748
Increment references when creating an array.
While it's not always correct, not doing so is pretty much always
incorrect.
Fixes: lp:1625964
* https://bugs.launchpad.net/kicad/+bug/1625964
7 years ago
Maciej Suminski
39d8d143d6
Fixed KIDIALOG freeze
wxDialog calls Show(false) when the dialog is about to be closed, but
KIDIALOG::Show() implementation did not forward the show parameter to
wxRichMessageDialog::Show() invocation. As the parameter was not
specified, the mentioned Show() call always used 'true' as the default
parameter, preventing the dialog from being closed.
Fixes: lp:1782999
* https://bugs.launchpad.net/kicad/+bug/1782999
7 years ago
John Beard
6df2d69b6e
Add global zone fill/unfill to Edit menu
This means if you don't know the hotkey, the tool action can be
reached without having to activate the zone tool.
Fixes: lp:1783250
https://bugs.launchpad.net/kicad/+bug/1783250
7 years ago
Jeff Young
994a9c5ff8
Only show all layers when the stackup changes.
Fixes: lp:1783231
* https://bugs.launchpad.net/kicad/+bug/1783231
7 years ago
Jeff Young
7fa3491616
Make it clear that we're append the content of a schematic.
Fixes: lp:1563477
* https://bugs.launchpad.net/kicad/+bug/1563477
7 years ago
Jeff Young
83a56263d0
Strip returns, tabs and linefeeds from SCH fields.
Fixes: lp:1783285
* https://bugs.launchpad.net/kicad/+bug/1783285
7 years ago
John Beard
7acc0b89f9
Pcbnew: fix 45-degree snapping of ruler and dimension tools
This introduces a new util function in geometry_utils which snaps a vector
to axes or 45 degree lines. This can be used whenever you want to
snap a vector to these angles, but still want it to stay on a grid.
This snapping is used for the dimension tool and the ruler tool.
This is substantially simpler for two-point tools that the method
used by the line tool, which uses DIRECTION_45.
Fixes: lp:1780826
https://bugs.launchpad.net/kicad/+bug/1780826
7 years ago
John Beard
9d15e58462
Pcbnew: add new icon for board setup
Previously, the generic "options" gear was used, which was
confusing.
This commit add a new icon, options_board, specifically for
board-wide options.
7 years ago
Jeff Young
2d4ba56ac0
Promote aperture pads to first-class citizens.
Well, almost anyway. We can't use a pad attribute for them as
that would change the file format. So they're currently
defined as a CONN pad with no copper layers.
However, when figuring out of existing pads should be *treated*
as aperture pads, we just check for no copper layers.
Fixes: lp:1781760
* https://bugs.launchpad.net/kicad/+bug/1781760
7 years ago
Jeff Young
4618c64213
Don't number aperture pads.
Fixes: lp:1781760
* https://bugs.launchpad.net/kicad/+bug/1781760
7 years ago
Jeff Young
f79ca271e3
Replace missing #ifndef's.
We only process symlinks on POSIX kernels (Linux and OSX).
Fixes: lp:1548798
* https://bugs.launchpad.net/kicad/+bug/1548798
7 years ago
jean-pierre charras
1510c2c56f
Fix incorrect arc calculation when building the board outline (internal holes only)
Fixes: lp:1783181
https://bugs.launchpad.net/kicad/+bug/1783181
7 years ago
Jeff Young
bc47f085df
Support symlinks for .pretty and .lib files.
Fixes: lp:1548798
* https://bugs.launchpad.net/kicad/+bug/1548798
7 years ago
Jeff Young
4d3aeb3339
Make sure cur_lib_table is initialized.
The panel doesn't get Show() events so do it in the constructor.
7 years ago
John Beard
f0c571769c
Fix -Wcatch-value in sexpr.cpp
This is fixed by catching bty const-ref, rather than by value.
Also a few trailing space deletions.
7 years ago
Adam Wolf
e3cf2705de
Aim macOS users at kicad-mac-builder, and make building for macOS sound less scary.
7 years ago
Wayne Stambaugh
b8aec37ef1
Fix external check for KISYS3DMOD environment variable.
Fixes lp:1782708
https://bugs.launchpad.net/kicad/+bug/1782708
7 years ago
jean-pierre charras
306729f3b7
DIALOG_ANNOTATE: fix a minor cosmetic issue, and make translation of 2 texts more easy.
7 years ago
jean-pierre charras
a27ba65ed2
DXF import: verify the layer used to import the DXF drawings is valid (correctly selected).
7 years ago
jean-pierre charras
82d492a840
Better wxASSERT message in OPENGL_GAL::computeBitmapTextSize, if the char is not found in font.
7 years ago
Jeff Young
afd80c3cdb
Fix botched attempt to have ruler adjust to unit changes.
Also fixes the context menu so there's a specific one for the
measurement tool, allowing zooming for instance without cancelling
the tool.
7 years ago
Jeff Young
16b5f40817
Remove assert and update ruler units on the fly.
Fixes: lp:1781595
* https://bugs.launchpad.net/kicad/+bug/1781595
7 years ago
Jeff Young
185b524a62
Support both add-empty and add-browse for 3D models.
Also fixes a bug where the selected row and the grid cursor get
separated after a delete.
Fixes: lp:1782747
* https://bugs.launchpad.net/kicad/+bug/1782747
7 years ago
Jeff Young
9ca9225977
Add elipsis to Page Setup button.
7 years ago
Jeff Young
56ff3b3c95
Fix CLion's placement of #includes.
7 years ago
Jeff Young
2a9856ba34
Refresh eeschema print dialog.
Use standard button layout and remove extraneous heading.
Move to TransferDataTo/FromWindow.
Close dialog after printing.
Fixes: lp:1763319
* https://bugs.launchpad.net/kicad/+bug/1763319
7 years ago
Jeff Young
d804427c83
Add Open-Schematic tool to PcbNew.
Fixes: lp:1780610
* https://bugs.launchpad.net/kicad/+bug/1780610
7 years ago
Jeff Young
0c042aff7b
Use mils for track widths when inches is selected.
7 years ago
jean-pierre charras
db712ea643
Footprint editor: display a warning when trying to created a custom pad shape with a Bezier curve.
Currently, Bezier curve (S_CURVE shape) is not supported in a custom pad shape.
7 years ago
jean-pierre charras
4cac974420
Add Bezier curve (S_CURVE shape) support in DIALOG_GRAPHIC_ITEM_PROPERTIES.
Fix some issues related to S_CURVE shape support.
7 years ago
jean-pierre charras
3c6e8c4a40
More support of DRW_SEGMENT Bezier curve (support in 3D viewer, and PnS router).
7 years ago
jean-pierre charras
e58e5966dc
remove old lib_dxf
7 years ago
jean-pierre charras
7291059489
replace lib_dxf by dxflib from qcad in dxf2idf code
7 years ago
jean-pierre charras
72d1597201
DXF import: add import of DXF splines that are converted to Bezier curves.
Fix also a lot of bugs related to Bezier curves (S_CURVE shape in DRAW_SEGMENT class) in Pcbnew code.
Add missing code to handle these Bezier curves
7 years ago
jean-pierre charras
3d4e61ddb8
dxflib: Fix static analyzer warnings
7 years ago
jean-pierre charras
66f00746c9
Add dxflib dxf read/write library from qcad project and tinyspline library. tinyspline library allows dxf splines conversion to Bezier curves supported by Pcbnew
7 years ago