jean-pierre charras
45dad4ded5
DIALOG_POSITION_RELATIVE: make dialog more understandable.
...
Better texts, and add a helper comment.
2018-05-18 13:53:31 +02:00
Jeff Young
5010a461e1
Make polar coordinates consistent.
...
Use theta instead of phi (which normally describes the azimuth
angle).
Fixes: lp:1545107
* https://bugs.launchpad.net/kicad/+bug/1545107
2018-05-18 12:22:14 +01:00
jean-pierre charras
2363f36033
Fix compil issue in dialog_select_net_from_list.cpp with wxWidgets 3.1
2018-05-18 10:16:30 +02:00
jean-pierre charras
689db4f038
Pcbnew, D_PAD::buildCustomPadPolygon(): use PM_STRICTLY_SIMPLE instead of PM_FAST in polygon calculation.
...
It is slightly slower, but avoid any issue in polygon generation.
2018-05-18 08:38:03 +02:00
Seth Hillbrand
85921535b3
Cleaning SelectNet window display
...
Select net has two columns, so we should limit the column width to the
size of the grid. The size should adjust with the window, so we take
the size of the first column as fixed and assign the rest of the grid
width to the second column.
2018-05-17 16:44:30 -07:00
Jeff Young
8cb68a3585
Wire up return in combobox to accept dialog.
...
(I've fixed a few of these now. If memory serves, it's an OSX-
specific problem.)
Fixes: lp:1771515
* https://bugs.launchpad.net/kicad/+bug/1771515
2018-05-17 23:58:49 +01:00
jean-pierre charras
93e75af388
Rename plot_auxiliary_data.h file to gbr_metadata.h, according to the class names defined by this file
2018-05-17 08:07:29 +02:00
jean-pierre charras
144549ebca
Pcbnew, plot: Fix: masks derived from custom pad shape have incorrect margin.
...
Fixes: lp:1771526
https://bugs.launchpad.net/kicad/+bug/1771526
2018-05-16 18:26:43 +02:00
jean-pierre charras
904eb82368
Fix a DRC crash on some installs.
...
It looks like D_GLIBCXX_ASSERTIONS=ON activated on some Linux versions creates too zealous tests at run time.
This patch just calculate the same pointer value using a slightly different formula.
Fix also a hard-to-understand comment
Fixes: lp:1770414
https://bugs.launchpad.net/kicad/+bug/1770414
2018-05-16 09:20:04 +02:00
Maciej Suminski
23a9fcd91d
Fixed a typo in the STEP generator message
2018-05-14 10:59:48 +02:00
jean-pierre charras
2832f997c5
PcbNew; fix crash on copy/paste
...
Due to a bug introduced by commit ba1e0efda
that tried to fix an other bug.
Fixes: lp:1771003
https://bugs.launchpad.net/kicad/+bug/1771003
2018-05-13 21:50:59 +02:00
Jeff Young
a9dc417319
Fix bug in pruning of selection.
...
Fixes: lp:1770939
* https://bugs.launchpad.net/kicad/+bug/1770939
2018-05-13 15:23:41 +01:00
jean-pierre charras
b94e0a2031
Fix forgotten change (m_Zone to m_SegZoneDeprecated)
2018-05-13 09:19:44 +02:00
jean-pierre charras
e57cd291ff
class BOARD: rename m_Zone to m_SegZoneDeprecated to avoid mistakes in code.
...
m_Zone is a fully deprecated list of SEG_ZONE items (similar to TRACK), used to fill copper zones in *very old* boards.
it is even unlikely there are still boards that use them.
So it should be removed one day.
2018-05-13 08:39:36 +02:00
jean-pierre charras
ba1e0efdad
Pcbnew, GAL mode: Fix incorrect management of zones in append board and copy from Paste from clipboard.
...
Fixes: lp:1770855
https://bugs.launchpad.net/kicad/+bug/1770855
2018-05-12 20:48:50 +02:00
jean-pierre charras
6e5131be5a
Minor fix in fp editor and fp viewer: display the fp info instead of the useless board info.
...
board info makes sense only in board editor, not in fp editor and fp viewer.
2018-05-12 10:44:31 +02:00
Jeff Young
dffdf04cd9
Update footprint value when it's a proxy for FPID.
...
Fixes: lp:1769207
* https://bugs.launchpad.net/kicad/+bug/1769207
2018-05-10 12:16:00 +01:00
Jeff Young
a65088419e
More forgiving keyword search.
...
In particular, allow comma separators in footprint filters without
making users type them in when searching.
Fixes: lp:1391533
* https://bugs.launchpad.net/kicad/+bug/1391533
2018-05-10 12:16:00 +01:00
Jeff Young
933ff189ad
Remember the last directory in FPLib Wizard.
...
Fixes: lp:1577965
* https://bugs.launchpad.net/kicad/+bug/1577965
2018-05-10 12:16:00 +01:00
jean-pierre charras
e339007d22
3D viewer: fix some issues when opened from a frame and changes are made in a other frame:
...
* Refresh the view only when changes are made in the caller frame.
* Allows recreate a new instances when try to open the 3D view from a frame taht is not the initial caller
* Remove duplicate code in kicad frames.
2018-05-10 12:49:20 +02:00
Wayne Stambaugh
d41e64b0ff
Fix dialog grid sizer padding issue on GTK builds.
2018-05-09 17:38:06 -04:00
Wayne Stambaugh
7bd9fc9235
Fix footprint editor options dialog layout.
...
Add padding to standard dialog button sizer. On windows, the buttons are
slammed against the bottom of the dialog with no border which looks awful.
Fix alignment and padding in grid sizers.
2018-05-09 14:12:26 -04:00
Wayne Stambaugh
7b887c4844
Fix static text iss in board editor footprint properties dialog.
...
Replace degree symbol with the word degrees. On windows, this does not
translate to the degree symbol.
2018-05-09 14:01:50 -04:00
Wayne Stambaugh
b67bab2f98
Fix layout issues in footprint editor footprint properties dialog.
...
Add padding to standard dialog button sizer. On windows, the buttons are
slammed against the bottom of the dialog with no border which looks awful.
Replace degree symbol with the word degrees. On windows, this does not
translate to the degree symbol.
2018-05-09 13:52:04 -04:00
Wayne Stambaugh
1f898b1e80
Fix control padding in choose footprint dialog.
2018-05-09 13:23:45 -04:00
Wayne Stambaugh
03b85c7544
Fix control alignment and padding in footprint properties dialog.
2018-05-09 13:11:36 -04:00
jean-pierre charras
b9808da0a8
Use wxStdDialogButtonSizer in dialog.
...
Use .step instead of .stp as step file extension.
2018-05-09 18:14:49 +02:00
Wayne Stambaugh
787ee62db3
Fix inconsistent padding in Pcbnew plot dialog.
2018-05-09 11:33:26 -04:00
Jeff Young
31b026c70f
Another attempt to fix the initial button layout on GTK.
2018-05-08 20:01:29 +01:00
Jeff Young
e5374981aa
Improve spacing of Plot button on GTK.
2018-05-08 18:48:23 +01:00
Jeff Young
36850a539b
Make layers manager terminology consistent.
...
Fixes: lp:1769788
* https://bugs.launchpad.net/kicad/+bug/1769788
2018-05-08 18:48:23 +01:00
Jeff Young
a997aad144
Fix issue on re-titling sdbSizer button on GTK.
...
While "fixes" isn't quite the right word, we do want this commit
associated with the following bug, and "fixes" is the easiest
way to do that:
Fixes: lp:1712579
* https://bugs.launchpad.net/kicad/+bug/1712579
2018-05-08 17:11:48 +01:00
Tomasz Włostowski
dcf4d7caa7
router: allow placing via without track in shove mode
...
Fixes: lp:1769782
* https://bugs.launchpad.net/kicad/+bug/1769782
2018-05-08 15:18:10 +02:00
Maciej Suminski
2b46bda2f2
PNS router: apply the last stable state after dragging
...
Previously, dragging changes were applied only if the last cursor move
finished with a successful drag operation. It made items squeezing
difficult, as it required accurate cursor movement to apply the changes.
2018-05-08 11:50:37 +02:00
Maciej Suminski
471e3de5a7
Fixed board append function, broken in 046e73ec
...
The previous implementation cleared all DLISTs, but has not added
everything back on append.
2018-05-08 11:21:55 +02:00
Maciej Suminski
8cb3aa79f2
pcbnew_control.cpp code formatting
2018-05-08 10:40:33 +02:00
Maciej Suminski
046e73ecac
Clear the source DLIST when pasting items to a BOARD
...
Fixes the assert triggering when items already belonging to a list are
added to another one.
2018-05-08 10:40:33 +02:00
Jeff Young
ad6956b05d
Move zone fill check for plot to a checkbox option.
...
Fixes: lp:1712579
* https://bugs.launchpad.net/kicad/+bug/1712579
2018-05-08 00:22:45 +01:00
Seth Hillbrand
dbc2eea3db
Optimize itemset
...
When counting items, many cases exist where we want to count all items
without checking flags. This short-circuits the loop to provide the
immediate count.
2018-05-07 13:59:12 -07:00
Seth Hillbrand
4c7f5f2a2f
Allow disabling snap-to when placing vias
...
This allows the user to selectively disable the snap-to behavior when
placing stand-alone vias. Full solution will require an update to the
segment distance calculation that takes into account the rounded line
caps.
Fixes: lp:1769523
* https://bugs.launchpad.net/kicad/+bug/1769523
2018-05-07 13:58:26 -07:00
Maciej Suminski
ef698384a7
Eagle PCB importer: changed m_Track.Insert() to m_Track.PushBack()
...
The latter better reflects the intention.
2018-05-07 16:51:06 +02:00
jean-pierre charras
d35a6f1e6d
Gerber job file, update to the latest file specification: add a change forgotten in the first commit.
2018-05-07 08:50:17 +02:00
Jeff Young
07e7340a96
Make sure doc gets refreshed when zone check results in refill.
2018-05-06 14:05:50 +01:00
jean-pierre charras
b29550de5d
Gerber job file: minor update to the latest file specification.
2018-05-06 12:03:46 +02:00
Jeff Young
aa7da5dfcd
Treat ${...} and $(...) envvar references uniformly.
...
Fixes: lp:1769282
* https://bugs.launchpad.net/kicad/+bug/1769282
2018-05-05 23:40:40 +01:00
Jeff Young
a31017bc9c
Check zone fills before plotting.
...
Also adds a "Draft Plot" button for those who wish to sidestep
zone checking (which can be slow).
Fixes: lp:1712579
* https://bugs.launchpad.net/kicad/+bug/1712579
2018-05-05 23:40:40 +01:00
Jeff Young
1f5b575eaf
Pretty-up new pad clearance UI.
2018-05-04 23:55:03 +01:00
Jeff Young
c23b263e39
Fix display issues in Layers list in Keepout Zone Properties.
2018-05-04 23:55:03 +01:00
Seth Hillbrand
bfe636d327
Query user to create library on save
...
Revising 5ca6864a4
, this prompts the user to create the missing library
directory when attempting to save to a non-existent library.
2018-05-04 09:59:35 -07:00
Seth Hillbrand
5ca6864a40
Improve error message granularity
...
When saving a library, check and report on libraries that do not exist
as well as those that exist but are read-only.
Fixes: lp:1769190
* https://bugs.launchpad.net/kicad/+bug/1769190
2018-05-04 09:12:08 -07:00