Marcus A
d5f81c7255
Fix some typos in CMakeLists.txt
2018-07-26 16:47:52 +02:00
Marcus A
0dcc26f866
Update description of build options
...
Commit 93683d0021
changed the default build
options but did not update their description.
2018-07-26 16:47:52 +02:00
Jeff Young
cd3d4b106a
Add event.Skip() call so someone else handles the focus.
...
DIALOG_EDIT_ONE_FIELD::OnSetFocusText() is only for setting the
selection correctly, not doing the actual focus.
Fixes: lp:1783615
* https://bugs.launchpad.net/kicad/+bug/1783615
2018-07-26 15:43:53 +01:00
Jeff Young
cb61525394
Handle separate parsing rules for ID_SCH and ID_PCB.
...
This removes the existing constructors so that all parsing must
be explicit and callers are made aware that they need to think
about illegal characters, malformed ids, etc.
Fixes: lp:1783474
* https://bugs.launchpad.net/kicad/+bug/1783474
2018-07-26 15:43:53 +01:00
John Beard
9ec6efbf13
Add icon for update PCB from Schematic
...
This previously used the "import board file" icon, which is a bit
confusing, as the action is not importing into a PCB.
2018-07-26 15:43:53 +01:00
Jeff Young
b5634b1d08
Dialog spacing cleanup.
2018-07-26 15:43:53 +01:00
Martin Aberg
f3983cc47f
eeschema: fixed typo Brighened -> Brightened
...
This affects a color string in the eeschema config file.
2018-07-26 15:43:53 +01:00
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
2018-07-26 16:40:08 +02:00
Tomasz Wlostowski
07d56a2e32
BOARD::PadDelete() should update connectivity
...
Fixes: lp:1783528
* https://bugs.launchpad.net/kicad/+bug/1783528
2018-07-26 16:21:02 +02:00
Maciej Suminski
630631b41b
Code formatting
2018-07-26 16:04:31 +02:00
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
2018-07-26 15:30:21 +02:00
Maciej Suminski
bbfc1eb12c
Use quoted file name when opening a PDF file
...
Fixes: lp:1783667
* https://bugs.launchpad.net/kicad/+bug/1783667
2018-07-26 12:05:05 +02:00
Maciej Suminski
dbf4bcdbb7
Converted PNS Length Tuning dialog to use TransferData{From,To}Window()
...
Fixes: lp:1783694
* https://bugs.launchpad.net/kicad/+bug/1783694
2018-07-26 10:08:44 +02:00
jean-pierre charras
1e43773a95
Fix not understandable comment
2018-07-25 21:01:59 +02:00
jean-pierre charras
f13a546c9b
Fix a few wxWidgets asserts or alerts.
2018-07-25 20:26:55 +02:00
Jeff Young
05b2060e12
Replace missing growable-row spec.
...
Fixes: lp:1783545
* https://bugs.launchpad.net/kicad/+bug/1783545
2018-07-25 14:41:20 +01:00
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.
2018-07-25 14:41:20 +01:00
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.
2018-07-25 14:41:20 +01:00
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
2018-07-25 14:41:20 +01:00
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
2018-07-25 14:41:20 +01:00
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
2018-07-25 11:50:04 +02:00
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
2018-07-25 09:04:51 +02:00
Jeff Young
994a9c5ff8
Only show all layers when the stackup changes.
...
Fixes: lp:1783231
* https://bugs.launchpad.net/kicad/+bug/1783231
2018-07-24 18:43:44 +01:00
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
2018-07-24 18:03:40 +01:00
Jeff Young
83a56263d0
Strip returns, tabs and linefeeds from SCH fields.
...
Fixes: lp:1783285
* https://bugs.launchpad.net/kicad/+bug/1783285
2018-07-24 16:41:19 +01:00
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
2018-07-24 15:01:02 +01:00
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.
2018-07-24 14:58:19 +01:00
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
2018-07-24 14:57:45 +01:00
Jeff Young
4618c64213
Don't number aperture pads.
...
Fixes: lp:1781760
* https://bugs.launchpad.net/kicad/+bug/1781760
2018-07-24 10:39:30 +01:00
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
2018-07-24 09:05:39 +01:00
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
2018-07-24 09:17:20 +02:00
Jeff Young
bc47f085df
Support symlinks for .pretty and .lib files.
...
Fixes: lp:1548798
* https://bugs.launchpad.net/kicad/+bug/1548798
2018-07-23 23:50:13 +01:00
Jeff Young
4d3aeb3339
Make sure cur_lib_table is initialized.
...
The panel doesn't get Show() events so do it in the constructor.
2018-07-23 23:50:13 +01:00
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.
2018-07-23 14:40:16 -04:00
Adam Wolf
e3cf2705de
Aim macOS users at kicad-mac-builder, and make building for macOS sound less scary.
2018-07-23 13:04:34 -04:00
Wayne Stambaugh
b8aec37ef1
Fix external check for KISYS3DMOD environment variable.
...
Fixes lp:1782708
https://bugs.launchpad.net/kicad/+bug/1782708
2018-07-23 12:47:48 -04:00
jean-pierre charras
306729f3b7
DIALOG_ANNOTATE: fix a minor cosmetic issue, and make translation of 2 texts more easy.
2018-07-23 15:48:28 +02:00
jean-pierre charras
a27ba65ed2
DXF import: verify the layer used to import the DXF drawings is valid (correctly selected).
2018-07-23 13:58:13 +02:00
jean-pierre charras
82d492a840
Better wxASSERT message in OPENGL_GAL::computeBitmapTextSize, if the char is not found in font.
2018-07-23 13:58:13 +02:00
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.
2018-07-23 12:37:01 +01:00
Jeff Young
16b5f40817
Remove assert and update ruler units on the fly.
...
Fixes: lp:1781595
* https://bugs.launchpad.net/kicad/+bug/1781595
2018-07-23 02:02:02 +01:00
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
2018-07-23 01:09:47 +01:00
Jeff Young
9ca9225977
Add elipsis to Page Setup button.
2018-07-22 23:39:18 +01:00
Jeff Young
56ff3b3c95
Fix CLion's placement of #includes.
2018-07-22 23:33:36 +01:00
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
2018-07-22 23:29:07 +01:00
Jeff Young
d804427c83
Add Open-Schematic tool to PcbNew.
...
Fixes: lp:1780610
* https://bugs.launchpad.net/kicad/+bug/1780610
2018-07-22 22:36:24 +01:00
Jeff Young
0c042aff7b
Use mils for track widths when inches is selected.
2018-07-22 22:36:24 +01:00
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.
2018-07-22 18:39:48 +02:00
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.
2018-07-22 18:39:48 +02:00
jean-pierre charras
3c6e8c4a40
More support of DRW_SEGMENT Bezier curve (support in 3D viewer, and PnS router).
2018-07-22 18:39:48 +02:00