Jeff Young
5342aacf97
Implement magnetic pads & tracks for measurement tool.
...
This really needs to get put into the VIEW_CONTROLS for all the
tools, but that's probably a bit too risky for 5.0 at this
point.
Fixes: lp:1766547
* https://bugs.launchpad.net/kicad/+bug/1766547
2018-04-25 23:36:17 +01:00
Jeff Young
7a7da560bc
Keep unknown nets at 0 while routing.
...
Previous algorithm used a static variable which it decremented
for each new unconnected track, but this resulted in the router
marking earlier fixed segments as collisions (because they
would get set to netcode = 0 when "fixed").
Fixes: lp:1762043
* https://bugs.launchpad.net/kicad/+bug/1762043
2018-04-25 10:54:32 +01:00
Seth Hillbrand
8d017c9261
Re-enabling global spread and place
...
This had been removed along with autorouter but its functionality is
still desired. If/when the autorouter is resurrected, these IDs will
need to be deconflicted.
Fixes: lp:1766550
* https://bugs.launchpad.net/kicad/+bug/1766550
2018-04-24 11:44:08 -07:00
Seth Hillbrand
d0ffff3b88
Prevent deletion while actively routing
...
Fixes: lp:1766280
* https://bugs.launchpad.net/kicad/+bug/1766280
2018-04-24 10:44:49 -07:00
Seth Hillbrand
345f7d0732
Fix VRML export bugs
...
Corrected polygon export missing vertex.
Set pads to export on copper layer when not masked, keeping visual
output similar to physical.
Fixes: lp:1766634
* https://bugs.launchpad.net/kicad/+bug/1766634
2018-04-24 09:20:40 -07:00
jean-pierre charras
bfc70c8208
Fix an issue in footprint editor, "Create Pad from Selected Shapes" command.
...
If the initial pad was a custom pad converted in a usual pad + graphic items by the command:
"Explode Pad to Graphic Shapes"
the "old" primitives were not cleaned, and the new created pad contained these old primitives, regardless the new selected shapes.
(Usual case when a user want to edit a custom shape)
2018-04-24 17:00:29 +02:00
Maciej Suminski
143d580596
Fixed relative coordinates reset when a tool forces the cursor position
...
Fixes: lp:1759044
* https://bugs.launchpad.net/kicad/+bug/1759044
2018-04-24 12:56:19 +02:00
Seth Hillbrand
482fd866b3
Correct minor error in SPECTRA rounded-rect
2018-04-23 16:43:13 -07:00
Seth Hillbrand
bd5eee50f4
Unify correction factor calculations
2018-04-23 16:43:13 -07:00
Seth Hillbrand
3693e3b1e0
Standardize colons in track-via properties dialog
2018-04-23 11:53:18 -07:00
Seth Hillbrand
b2a9df33ea
Standardize colons in set grid dialog
2018-04-23 11:53:18 -07:00
Seth Hillbrand
6f6b65821a
Standardize colons in select pretty lib dialog
2018-04-23 11:53:18 -07:00
Seth Hillbrand
0cbc611135
Standardize colons in select net dialog
2018-04-23 11:53:18 -07:00
Seth Hillbrand
938f8b1a9a
Standardize colons in Print using printer dialog
2018-04-23 11:53:18 -07:00
Seth Hillbrand
006bfabbdf
Standardize colon and remove abbr. in Print dialog
2018-04-23 11:53:18 -07:00
Seth Hillbrand
0e79538601
Standardize caps in position relative dialog
2018-04-23 11:53:18 -07:00
Seth Hillbrand
e219ff0c2f
Standardize colons pns settings dialog
2018-04-23 11:53:18 -07:00
Seth Hillbrand
3d2e103374
Standardize colons pns length tune dialog
2018-04-23 11:53:18 -07:00
Seth Hillbrand
3c00b2a2a8
Standardize colons plot dialog
2018-04-23 11:53:18 -07:00
Seth Hillbrand
fbb8ccb9ad
Standardize colons in pad properties dialog
2018-04-23 11:53:18 -07:00
Seth Hillbrand
30d1db6b1f
Standardize colons non-copper zones dialog
2018-04-23 11:53:18 -07:00
Seth Hillbrand
9b9345abba
Standardize colons and wording in netlist dialog
2018-04-23 11:53:18 -07:00
Seth Hillbrand
d562a7b26d
Standardize colons modedit_options_base
2018-04-23 11:53:18 -07:00
Seth Hillbrand
b834031425
Standardize colons layers_setup_base
2018-04-23 11:53:18 -07:00
Seth Hillbrand
9956ea20e7
Standardize colons layer_selection
2018-04-23 11:53:17 -07:00
Seth Hillbrand
bc7ccab642
Standardize colons global footprint edit
2018-04-23 11:53:17 -07:00
Seth Hillbrand
0ed6751ebe
Standardize colons global deletion
2018-04-23 11:53:17 -07:00
Seth Hillbrand
38dae061ce
Standardize colon board editor options
2018-04-23 11:53:17 -07:00
Seth Hillbrand
f96328afef
Standardize colon gendrill_base
2018-04-23 11:53:17 -07:00
Seth Hillbrand
0b07f2ba9e
Standardize colon and file/table in footprint lib dialog
2018-04-23 11:53:17 -07:00
Seth Hillbrand
65c3046fc9
Standardize colons for edit_footprint_text_base
2018-04-23 11:53:17 -07:00
Seth Hillbrand
f977d210ad
Standardize colons for edit_footprint_for_fp_editor
2018-04-23 11:53:17 -07:00
Seth Hillbrand
b9adcbdbe3
Standardize colons edit_footprint
2018-04-23 11:53:17 -07:00
Seth Hillbrand
8234cf721c
Standardize colon drc_base
2018-04-23 11:53:17 -07:00
Seth Hillbrand
340b9fc2a5
Standardize colon display_options_base
2018-04-23 11:53:17 -07:00
Seth Hillbrand
a73cbe221a
Standardize colong dimension editor base
2018-04-23 11:53:17 -07:00
Seth Hillbrand
f55ad77da6
Standardize colon design_ruls_base
2018-04-23 11:53:17 -07:00
Seth Hillbrand
202e81eaa5
Standardize colon create_array_base
2018-04-23 11:53:17 -07:00
Seth Hillbrand
34fed2075a
Standardize colon copper zones base
2018-04-23 11:53:17 -07:00
Seth Hillbrand
87f18665fc
Standardize colon block_options_base
2018-04-23 11:53:17 -07:00
Seth Hillbrand
c8d1e056f3
Standardize colon SVG_print_base
2018-04-23 11:53:17 -07:00
Maciej Suminski
cfa9916836
Prevent issuing a print command before the previous one is finished
...
Fixes: lp:1765965
* https://bugs.launchpad.net/kicad/+bug/1765965
2018-04-23 11:25:28 +02:00
Maciej Suminski
3cc0554e33
Code formatting
2018-04-23 11:18:51 +02:00
jean-pierre charras
e75762b1e3
Better wording
2018-04-21 16:31:41 +02:00
Maciej Suminski
a93da4aba6
Restored wxPD_APP_MODAL flag for progress dialogs
...
The flag is required on Linux, otherwise applications hang right after a
progress dialog disappears.
2018-04-20 22:55:39 +02:00
Jeff Young
4302394990
Consistency between dialog titles and menu items.
...
... and between eeschema and pcbnew.
Also moved the Symbol & Footprint library table tabs to the top
so it's more clear what "by Scope" means.
Fixes: lp:1765359
* https://bugs.launchpad.net/kicad/+bug/1765359
Fixes: lp:1765516
* https://bugs.launchpad.net/kicad/+bug/1765516
2018-04-20 15:33:46 +01:00
Maciej Suminski
5fb7f5a615
Fixed an assert in 3D shape download wizard
2018-04-20 14:23:53 +02:00
Maciej Suminski
86906b05e0
Fix 3D shape & footprint download wizards freeze on OSX
...
Fixes: lp:1758095
* https://bugs.launchpad.net/kicad/+bug/1758095
2018-04-20 12:36:34 +02:00
Maciej Suminski
536529e48f
Fixed unused captured variable warning
2018-04-20 08:44:41 +02:00
Maciej Suminski
f81c77cd4e
Edit Tool: update the reference point for in-place modification
...
Fixes: lp:1765027
* https://bugs.launchpad.net/kicad/+bug/1765027
2018-04-19 17:10:06 +02:00
Maciej Suminski
0a58de0c46
Selection Tool: reset is-hover flag
...
Fixes: lp:1765034
* https://bugs.launchpad.net/kicad/+bug/1765034
2018-04-19 16:17:54 +02:00
Maciej Suminski
dce0743ddb
Removed nagging dialog in the delete tool.
2018-04-19 15:35:10 +02:00
Maciej Suminski
a695c995c7
pcbnew: fixed a warning regarding unused captured variables
2018-04-19 14:42:53 +02:00
Simon Richter
7e47ef7471
Fix warnings for unreferenced local variables
2018-04-18 15:08:37 -04:00
Seth Hillbrand
f68268c8ca
Only update msgpanel when dimension started
...
Fixes: lp:1765118
* https://bugs.launchpad.net/kicad/+bug/1765118
2018-04-18 10:06:23 -07:00
Jean-Samuel Reynaud
ad0deb16a2
Fix pcbnew: refresh canvas on opening a file only after mouse move
...
Fixes: lp:1760819
* https://bugs.launchpad.net/kicad/+bug/1760819
2018-04-18 09:01:13 +02:00
Seth Hillbrand
794e8d8a04
Moving IsOk dialogs to correct parents
2018-04-17 17:27:15 -07:00
Seth Hillbrand
ca544eb138
Adding radius info to panel for arcs/circles
2018-04-17 11:21:34 -07:00
Seth Hillbrand
6d855cbccb
Remove extraneous assert
...
Fixes: lp:1764619
* https://bugs.launchpad.net/kicad/+bug/1764619
2018-04-17 10:53:27 -07:00
Seth Hillbrand
45d1c19eb7
Add tooltip text to drag options.
2018-04-17 08:59:52 -07:00
jean-pierre charras
0294e41cbc
fix minor compil warnings (about signed/unsigned comparison)
2018-04-17 16:08:12 +02:00
Jeff Young
e84e5606c9
Fix compiler warning.
2018-04-17 15:06:38 +01:00
Jeff Young
000457db7c
Move Fields Editor to wxGrid.
...
Makes in-place editing much easier and fixes some other issues
(see bug reports).
Fixed sorting bugs in References and added better sorting for
Values.
Removed Description column as it wasn't editable and caused more
confusion than value.
Removed auto-column-width after initial render.
Re-implemented undo/redo.
Fixes: lp:1749287
* https://bugs.launchpad.net/kicad/+bug/1749287
Fixes: lp:1737361
* https://bugs.launchpad.net/kicad/+bug/1737361
Fixes: lp:1759756
* https://bugs.launchpad.net/kicad/+bug/1759756
Fixes: lp:1763223
* https://bugs.launchpad.net/kicad/+bug/1763223
Fixes: lp:1761378
* https://bugs.launchpad.net/kicad/+bug/1761378
2018-04-17 11:39:44 +01:00
jean-pierre charras
268aeeb18f
Pcbnew: More explicit tool tip in right vertical toolbar (place auxiliary axis origin tool).
2018-04-17 10:06:11 +02:00
Jeff Young
12ec56bc15
Prevent reentrancy in footprint loading.
...
Also removes parallel implementation in favour of using the
normal one (with a new wxGauge-backed PROGRESS_REPORTER).
Fixes: lp:1764196
* https://bugs.launchpad.net/kicad/+bug/1764196
2018-04-16 23:19:08 +01:00
jean-pierre charras
07dc12fdd3
Fix incorrect UI management of Zoom to Selection, created by fix 2a419156
2018-04-14 17:44:17 +02:00
Wayne Stambaugh
a1acec5f13
Revert broken hotkey fix.
...
The hotkey fix committed in 53b1ec81
broke non-us keyboards. Change the
hotkey help hotkey from '?' to Ctrl+F1 to prevent the hotkey list dialog
from being shown when placing a bus wire junction in Eeschema and when
changing the track posture in Pcbnew. This is still broken in the GAL
framework.
2018-04-14 08:24:25 -04:00
Jeff Young
2a419156e0
Don't try to check uncheckable menu items.
...
When updating toolbars make sure the events are coming from the
toolbar in question (and not the menus which share the same ID).
Fixes: lp:1763563
* https://bugs.launchpad.net/kicad/+bug/1763563
2018-04-13 21:42:31 +01:00
Wayne Stambaugh
81843c37a4
Organize trace debugging code for ease of maintenance.
2018-04-13 09:59:01 -04:00
Maciej Suminski
b907fb856d
Fix names of libraries added to symbol/footprint library tables
2018-04-13 14:24:57 +02:00
Maciej Suminski
3f734eb1b5
Improved validation of library and entry names
...
Symbol/footprint library and entry have the same set of forbidden
characters with a single exception, space character. To accommodate for
this difference, LIB_ID validation and fix methods have been extended to
specify the LIB_ID type that is checked (schematic/board).
LIB_ID::HasIllegalChars() and LIB_ID::FixIllegalChars() had two different
sets of characters treated as invalid in LIB_IDs. The set has been
factored out to another function to avoid duplication.
2018-04-13 14:24:57 +02:00
Seth Hillbrand
1663627135
Update msg panel on create/modify graphic items
...
This clears the msg panel when not editing an item and updates the
position information when moving
2018-04-12 10:07:24 -07:00
Tomasz Włostowski
4e99b0d0e7
pcbnew: refresh message panel while drawing & editing graphical lines, arcs, circles and texts
...
Fixes: lp:1763052
* https://bugs.launchpad.net/kicad/+bug/1763052
2018-04-12 18:23:33 +02:00
jean-pierre charras
c1ae2fd0a8
Typo
2018-04-10 20:27:54 +02:00
jean-pierre charras
9ea360f168
Pcbnew: avoid useless validation dialog about modifications when closing pcbnew or opening a file, when the initial board is empty.
...
Some changes (enable/disable a layer) set the dirty bit even for empty boards.
So when closing pcbnew, the dialog asking for saving the board was shown, even when no board loaded.
2018-04-10 20:17:47 +02:00
Jeff Young
84151990cd
Don't set dirty bit when adding MARKERs.
...
They're not saved in the file, so they shouldn't dirty it.
Fixes: lp:1762497
* https://bugs.launchpad.net/kicad/+bug/1762497
2018-04-09 21:19:11 +01:00
Jeff Young
f83ebb316e
Don't refill if zone fills aren't out-of-date.
2018-04-09 17:04:51 +01:00
Jeff Young
05dae96275
Move zone out-of-date check to the right place.
...
Fixes: lp:1760097
* https://bugs.launchpad.net/kicad/+bug/1760097
2018-04-09 15:09:47 +01:00
Jeff Young
900bf0c7a6
Allow connections to no-net items in Highlight Collisions mode.
...
If the track being routed is unconnected, or the end-point
clicked on is unconnected, allow the connection by changing
the unconnected item to the net of the connected one.
Fixes: lp:1548129
* https://bugs.launchpad.net/kicad/+bug/1548129
2018-04-09 11:05:14 +01:00
Jeff Young
a597ebc85e
Break a track when placing a via on it.
...
Fixes: lp:1737349
* https://bugs.launchpad.net/kicad/+bug/1737349
2018-04-09 11:05:14 +01:00
Jeff Young
d54a252eaa
Check zone fills for being out-of-date during DRC.
2018-04-09 11:05:14 +01:00
jean-pierre charras
9f5316e38f
Remove code related to Gerber job file old format writer, as this format does not exist now.
...
This old format is now officially replaced by a JSON syntax.
2018-04-09 09:26:01 +02:00
Carsten Schoenert
a11714b1a4
fix misspelled 'an other' -> 'another'
2018-04-08 13:24:37 -04:00
Carsten Schoenert
77b3a662fc
fix misspelled 'Allows to' -> 'Allows one to'
2018-04-08 13:24:30 -04:00
Carsten Schoenert
1f32f7c55b
fix misspelled 'allows to' -> 'allows one to'
2018-04-08 13:24:18 -04:00
Mario Hros
efa2a13eaa
Don't install Python shell when wxPython support is disabled.
...
Fixes lp:1760200
https://bugs.launchpad.net/kicad/+bug/1760200
2018-04-08 13:20:49 -04:00
jean-pierre charras
7f6e26e55a
DrawGraphicText: remove a static variable, and replace it (when needed) by a new parameter in argument list.
...
It make this function thread-safe (as far as wxString is thread-safe)
2018-04-07 19:57:26 +02:00
Jeff Young
baef22df9a
Fix memory leak and push menu change to other apps.
...
Fixes: lp:1761848
* https://bugs.launchpad.net/kicad/+bug/1761848
2018-04-07 14:14:55 +01:00
Jeff Young
be4d7987d3
Rebuild apple menu along with others when language changes.
...
Fixes: lp:1761848
* https://bugs.launchpad.net/kicad/+bug/1761848
2018-04-07 11:01:56 +01:00
jean-pierre charras
2bfbff104e
Very minor fix: remove a trailing space in string. Mainly to help translations.
2018-04-06 20:12:33 +02:00
Kristoffer Ödmark
fdb6bbab7b
Footprint Wizard now also handles custom Env paths
2018-04-06 14:51:09 +01:00
Tomasz Włostowski
15c64ee92d
pcbnew: CONNECTIVITY_ALGO should always mark newly added nets as dirty
...
Fixes: lp:1761698
* https://bugs.launchpad.net/kicad/+bug/1761698
2018-04-06 14:57:27 +02:00
Jeff Young
24b8768f43
Fix missing include.
2018-04-06 11:39:35 +01:00
Jeff Young
db73daa09c
Workaround for wxString's lack of thread safety.
2018-04-06 11:26:59 +01:00
Maciej Suminski
94dbcc7199
Fixed crash after multiple 'cut' commands in the footprint editor
...
When multiple cut commands were issued, the cut command handler would
restart multiple times and keep running until the handler that was
invoked first finishes. As all handlers kept a selection copy, they
would try to save the deleted items to the clipboard resulting in a
crash.
Fixes: lp:1761221
* https://bugs.launchpad.net/kicad/+bug/1761221
2018-04-05 00:26:57 +02:00
Seth Hillbrand
bbb513e2e5
Ensure that we are drawing holes and outlines
...
Set hole colors in output to non-transparent values.
Ensure holes are traced when drawing drill marks.
Fixes: lp:1646482
* https://bugs.launchpad.net/kicad/+bug/1646482
2018-04-04 10:20:15 -07:00
jean-pierre charras
906b389fab
fp editor: minor cosmetic fix in main menu.
2018-04-04 17:40:42 +02:00
Jeff Young
df43f071e1
Keep track of open sockets and dispose of them in d'tor.
...
Fixes: lp:1760936
* https://bugs.launchpad.net/kicad/+bug/1760936
2018-04-04 12:02:40 +01:00
Jeff Young
5e36fe8df7
Move timestamp setting where it will alwasy get set.
...
Also update the rest of the symbol-chooser usage to current
specs, including examining the timestamp to see if the list
needs loading at all.
Partial fix to: lp:1760936
* https://bugs.launchpad.net/kicad/+bug/1760936
2018-04-04 12:02:40 +01:00
Maciej Suminski
8b21a0a53d
Changed PCB_BASE_FRAME::CreateNewModule() to stop adding modules to the board
...
When a new footprint is created, CreateNewModule() added it to a dummy
board in the footprint editor. If a footprint was indeed created (the
action has not been aborted) then the dummy board was cleared,
destroying the just created footprint. Also, the new footprint is later
added with AddModuleToBoard() call.
Fixes: lp:1761052
* https://bugs.launchpad.net/kicad/+bug/1761052
2018-04-04 09:34:12 +02:00