Robbert Lagerweij
bf832dd941
pcbnew - refactor move exactly tool (1/2)
...
This patch does the following:
* move the determination of the origin coordinates to the dialog (reduces code duplication)
2017-07-19 11:36:35 +02:00
Oliver Walters
8debf32079
Added partial selection for VIA class
2017-07-19 11:04:32 +02:00
Maciej Suminski
a8e63924de
Fixed a memleak in BOARD_NETLIST_UPDATER
2017-07-19 10:55:57 +02:00
jean-pierre charras
5f4599fb56
Add a new color selector, to adjust color selection for GAL mode, with support of opacity (alpha channel)
...
Pcbnew: save opacity value in color config, and keep it when switching between legacy and gal mode.
2017-07-18 19:07:47 +02:00
Maciej Suminski
10c5297f2e
Code clean-up and formatting
2017-07-17 10:21:39 +02:00
Maciej Suminski
8dd36b4d2b
Added type filtering for CONNECTIVITY_DATA::GetNetItems()
2017-07-17 10:21:39 +02:00
Kristoffer Ödmark
4c94d02c42
Fixed sheet-selection code
...
Fixes: lp:1704644
* https://bugs.launchpad.net/kicad/+bug/1704644
2017-07-17 10:21:39 +02:00
jean-pierre charras
e797af3315
fix compil warning
2017-07-16 20:01:35 +02:00
jean-pierre charras
22e95aab8b
WIZARD_3DSHAPE_LIBS_DOWNLOADER: make it compatible with last url packages3D changes in kicad github repo
2017-07-14 13:34:42 +02:00
jean-pierre charras
c93ab4d5da
Fix possible crash and issues when a incorrect fp lib table is loaded:
...
correct lines are loaded, and pcbnew / eeschema is no more aborted.
Fixes: lp:1701627
https://bugs.launchpad.net/kicad/+bug/1701627
2017-07-12 20:24:35 +02:00
Maciej Suminski
08c4a0bc7b
Fixed SELECTION_TOOL::selectCursor()
...
In the previous version the method did not work correctly
when an action was invoked from context menu. In such case,
the cursor position was obtained in the moment of selecting
the action, instead of using the right click location.
2017-07-12 09:34:20 +02:00
jean-pierre charras
2a301d5883
Fix bug: pcbnew: in Plot dialog, layer list gets duplicate after calling the drill dialog.
...
Fixes: lp:1703355
https://bugs.launchpad.net/kicad/+bug/1703355
2017-07-10 15:16:57 +02:00
Maciej Suminski
a3fc0ef658
Fixed a memleak in Eagle board import plugin
2017-07-10 11:44:56 +02:00
jean-pierre charras
f4ecc417ac
Fix a few doxygen warnings
2017-07-08 21:13:32 +02:00
Jean-Samuel Reynaud
885a4c1bc5
Avoid an infinite loop in PNS
...
Fixes: lp:1702485
* https://bugs.launchpad.net/kicad/+bug/1702485
2017-07-06 16:44:33 +02:00
jean-pierre charras
1724f902a1
Fix incorrect use of iterators.
...
Iterators always create problems when using them on a list that is modified during iteration.
2017-07-04 12:47:13 +02:00
Maciej Suminski
e18475f220
Renamed remaining constants to match the action (see ab44e7cc
)
2017-07-04 10:08:33 +02:00
Tomasz Włostowski
2767096cb7
Refresh ratsnest after updating netlist
...
Fixes: lp:1702175
* https://bugs.launchpad.net/kicad/+bug/1702175
2017-07-04 07:01:16 +02:00
Fabrizio Tappero
50f6d28e25
Replaced a few icons with generic variants in eeschema
2017-07-03 17:13:13 +02:00
jean-pierre charras
65fea1b92b
Fix crash: pcbnew segfault when show local ratsnest for module is ON if clicking on an empty area.
...
Fixes: lp:1702021
https://bugs.launchpad.net/kicad/+bug/1702021
2017-07-03 11:06:44 +02:00
Tomasz Włostowski
c01c25b258
Improved ratsnest updates performance during routing
2017-07-02 23:05:23 +02:00
Tomasz Włostowski
eea41dbc6f
Fixed OSX build error
2017-07-02 22:13:53 +02:00
Tomasz Włostowski
c229063d9e
Fixed crash when redrawing ratsnest after swapping pad net assignments
2017-07-02 02:05:42 +02:00
Tomasz Włostowski
1936b45a0f
Multiple connectivity algo crash fixes:
...
- ratsnest crash on single-pad nets
- connectivity crash on adding new net codes
2017-07-01 23:55:51 +02:00
jean-pierre charras
1c5ace4b7a
Eagle plugin: avoid hanging if an unexpected keyword is found.
...
Fixes: lp:1701672
https://bugs.launchpad.net/kicad/+bug/1701672
2017-07-01 16:59:07 +02:00
jean-pierre charras
c311e63f0d
fix minor issues, and change ZONE_CONTAINER::GetDefaultHatchPitchMils() to ZONE_CONTAINER::GetDefaultHatchPitch()
...
as using mil in a value has no meaning now in pcbnew
2017-07-01 15:17:30 +02:00
jean-pierre charras
917bda1c64
fix minor compil warnings
2017-07-01 15:17:29 +02:00
jean-pierre charras
5d252639fa
Refinement in Gerber drill file: add %TF.FilePolarity,Positive*% in header.
2017-06-30 18:36:26 +02:00
jean-pierre charras
e3d69b619f
Pcbnew: fix issue in dialog_fp_lib_table: when the only changes were the plugin name, changes were not taken in account.
...
Because the FP_LIB_TABLE::operator == was incorrect
2017-06-30 16:03:17 +02:00
Maciej Suminski
805bfb048b
pcbnew: Configurable hotkeys for PNS
...
- routing options
- custom track/via size
- differential pair dimensions
- increase/decrease via size
2017-06-30 15:46:27 +02:00
hauptmech
4e908da057
pcbnew: Add hotkeys for Select Trivial Connection and Select Copper Connection
2017-06-30 14:30:10 +02:00
Maciej Suminski
da051379de
pcbnew: Fixed crash on updating net list
...
As CONNECTIVITY_DATA was not updated during the process,
it contained stale pointers leading to crash. Now the connectivity
is updated as the changes occur.
Another issue was the single pad net removal algorithm
relied on sorting pads by net name. The algorithm has been rewritten
to take advantage of the new algorithm.
Fixes: lp:1700269
* https://bugs.launchpad.net/kicad/+bug/1700269
2017-06-30 14:13:56 +02:00
Maciej Suminski
adf4f83cb0
Code formatting and clean-up
2017-06-30 14:10:18 +02:00
hauptmech
20b4226a25
Router recognizes busses of differential pairs
...
Fixes: lp:1443330
* https://bugs.launchpad.net/kicad/+bug/1443330
2017-06-30 11:16:24 +02:00
Tomasz Włostowski
d6820bc925
Fixed segfault in connectivity algo for boards with orphaned nets
...
Fixes: lp:1701347
* https://bugs.launchpad.net/kicad/+bug/1701347
2017-06-30 00:46:24 +02:00
jean-pierre charras
bafb8c3688
Add old python method FootprintEnumerate which did not word after changes in C++ code
2017-06-29 20:43:39 +02:00
Seth Hillbrand
8201e2cbff
Footprint editor crashes when deleting pads and undoing this command.
...
Fixes: lp:1701092
https://bugs.launchpad.net/kicad/+bug/1701092
2017-06-29 20:43:38 +02:00
Simon Kueppers
d6aad9c6e7
Corrected Typo in documentation of GetClearance function
2017-06-27 16:50:47 -04:00
Maciej Suminski
37f8c83c5b
Fix the BOARD & MODULE classes SWIG interface
2017-06-26 18:28:23 +02:00
jean-pierre charras
3c3ee9b8c3
Fix a few doxygen warnings
2017-06-26 18:12:57 +02:00
Maciej Suminski
5774fd284e
pcbnew: Do not sove 'no_connects' and 'area' in .kicad_pcb
...
These data are redundant as they are calculated by pcbnew.
2017-06-26 08:59:20 +02:00
Maciej Suminski
544e944647
pcbnew: Do not save 'links' information
...
It is not parsed anyway and the new connectivity algorithm
does not calculate it.
2017-06-26 08:40:50 +02:00
jean-pierre charras
6a3c1720b2
Fix a few doxygen warnings
2017-06-25 11:26:04 +02:00
Maciej Suminski
72eff0941e
Code formatting and warning fixes
2017-06-23 19:22:44 +02:00
Maciej Suminski
3aaf26da2e
Fixes for pcbnew_scripting_helpers.cpp
2017-06-23 19:22:27 +02:00
Maciej Suminski
f1d650d5be
Use node & unconnected count from CONNECTIVITY object
2017-06-23 18:51:00 +02:00
Maciej Suminski
7b9330129c
Update ratsnest lines on zone fill removal
2017-06-23 18:51:00 +02:00
Maciej Suminski
79b2d60666
Reenabled pad number increment on placement (module editor)
2017-06-23 18:51:00 +02:00
Maciej Suminski
7330a85554
Moved INTRUSIVE_LIST to a separate header
2017-06-23 18:51:00 +02:00
Maciej Suminski
450ad5eab9
CONNECTIVITY_DATA::GetNodeCount() implementation
2017-06-23 18:51:00 +02:00
Maciej Suminski
74ef3ecb1d
Moved one-liners to header files
2017-06-23 18:51:00 +02:00
Maciej Suminski
3dd4429ef6
Dead code removal
2017-06-23 18:50:31 +02:00
Maciej Suminski
f3fbce9560
Code formatting and clean-up
2017-06-23 15:43:13 +02:00
Tomasz Włostowski
113163257d
Fixed compilation warnings
2017-06-23 11:36:05 +02:00
Tomasz Włostowski
5c0edbabab
Fixes for the connectivity & board cleanup algorithms
2017-06-23 11:12:38 +02:00
Simon Richter
f324c7b16d
Switch another loop to D_PAD iterator
2017-06-23 11:12:38 +02:00
Tomasz Włostowski
a7759efc59
Multiple fixes:
...
- ratsnest is updated now when undoing in legacy view
- select whole net regression
- local ratsnest in the GAL regression
- pick correct zone net for stitching vias
- mark nets as dirty on net propagation to force ratsnest update
Todo:
- cleanup board algorithm is still broken
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
81dbd930ae
Display zone filling progress window in GAL
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
586710c6f5
eagle_plugin: correct via size import
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
655d851d48
Fixed point-in-polygon test bugs. Connectivity now correctly recognizes zone outlines that have non-zero width
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
d8018ded0b
fix build with Python
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
de7f4d7aa4
fixed unresolved symbols while running cvpcb
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
56928647ef
fixed performance regression in DRC clearance test
2017-06-23 11:12:37 +02:00
Maciej Suminski
2c68786fa8
Display via net labels on top
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
3b16d3cffe
further DLIST/Iterators cleanup, some code formatting
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
63f4ab697b
post-rebase fixes
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
3b7b0603b6
pcbnew: via placement tool, initial version
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
bd960f0e5c
pcbnew/dialogs: more options in track/via properties window
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
706db2a486
pcbnew: draw net labels on vias [wip]
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
bfdd1191ab
pcbnew: rename PLACEMENT_TOOL to ALIGN_DISTRIBUTE_TOOL, some fixes in the connectivity algo
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
c4c329e393
Connectivity: local ratsnest for both legacy & GAL. Further removal of legacy code
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
07b7600ae5
TRACKS_CLEANER: fixes after changing the connectivity algorithm
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
6008abaad9
DRC connectivity check
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
edf1aac357
Fixed some compilation warnings. Missing features so far: single-module ratsnest & DRC unconnected report
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
3cba1007eb
Removed legacy connectivity/ratsnest algorithm, replaced with the new one. No legacy autorouting for the moment
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
9ad886344b
New connectivity algorithm.
2017-06-23 11:12:36 +02:00
Tomasz Włostowski
94a80acb36
DLIST_ITERATOR improvements
2017-06-23 11:12:36 +02:00
Tomasz Włostowski
08314082db
Hide DLISTs behind iterators, first step towards refactoring the storage model
2017-06-23 11:12:36 +02:00
jean-pierre charras
4bdac4de70
Create zones not working in legacy mode, bug created when fixing an other bug in commit 6a63d4
...
Fixes: lp:1699704
https://bugs.launchpad.net/kicad/+bug/1699704
2017-06-22 12:10:48 +02:00
jean-pierre charras
2c21c70f46
Fix a few doxygen warnings
2017-06-22 09:09:52 +02:00
jean-pierre charras
54670d6785
Pcbnew: minor fixes in DIALOG_GLOBAL_MODULES_FIELDS_EDITION.
...
Better code: use TransferDataFromWindow and remove wxID_OK and wxID_CANCEL custom called events.
2017-06-21 13:13:09 +02:00
jean-pierre charras
70226ecdeb
Fix a few doxygen warnings
2017-06-20 10:47:30 +02:00
jean-pierre charras
6a63d4fbff
pcbnew crash while opening old .brd file
...
Fixes: lp:1698697
https://bugs.launchpad.net/kicad/+bug/1698697
The incorrect method ZONE_CONTAINER::AppendCorner() is also fixed:
It was expecting the corner must be added to the main outline, but this is a false expectation:
it can be added to a hole inside the zone outline.
2017-06-19 13:29:57 +02:00
jean-pierre charras
d6a56e5d3d
fix a compil issue in a auto-generated file.
2017-06-18 22:31:26 +02:00
jean-pierre charras
8305aec8a7
Remove useless leading or trailing spaces is some translatable strings.
...
rename dialog_move_exact.fpb to dialog_move_exact_base.fpb (to be consistent with other .fpb file names)
2017-06-18 22:26:29 +02:00
jean-pierre charras
fa66a5a8f3
Pcbnew: make hotkeys { and } used to control the layer transparency (alpha channel) in GAL visible (and editable) in hotkey list.
2017-06-17 18:11:40 +02:00
jean-pierre charras
cf5bae7fbf
Fix a few doxygen warnings
2017-06-17 10:40:38 +02:00
jean-pierre charras
36e59065ff
Minor fix: replace assert by wxASSERT in dialog (better to keep trace of an assert inside a wx application)
2017-06-15 13:13:25 +02:00
jean-pierre charras
cf083a20c4
Fix typo
2017-06-14 08:15:28 +02:00
Wayne Stambaugh
66e97fa905
Doxygen comment improvements.
...
Fix lots of Doxygen warnings.
Fix Doxygen comment for IO_MGR::FootprintEnumerate() which was recently
changed.
2017-06-13 19:47:46 -04:00
jean-pierre charras
e97f49e009
Gerber X2 format: add the new TF.SameCoordinates attribute to Gerber files
2017-06-13 11:31:14 +02:00
jean-pierre charras
1fab667cf7
2 Minor fixes in GAL mode: when switching from legacy to gal, use now the latest display options.
...
Use hotkey defined by user to reset local coordinates in GAL (instead of the hard coded space key)
2017-06-13 11:25:05 +02:00
jean-pierre charras
1ada4863fc
Pcbnew: fix incorrect UI behavior of "Zoom to selection" tool in GAL canvas.
2017-06-13 09:24:21 +02:00
jean-pierre charras
a1a9440091
Pcbnew fix incorrect UI behavior of Zoom to selection in legacy canvas. UI behavior in GAL canvas is still incorrect.
2017-06-13 09:24:21 +02:00
Kristoffer Ödmark
19d5cc7548
Removed all exception specifiers since deprecated.
...
Exception specifiers are deprecated in cpp11, so went through them all
and removed them from the code.
2017-06-12 13:54:55 -04:00
Maciej Suminski
b304dafc5b
Fixed headers in Position Relative tool
2017-06-12 16:58:47 +02:00
Maciej Suminski
fc58bd3848
Position Relative Move tool fixes
...
- corrected copyright headers
- code formatting
- made dialog pointer private, added UpdateAnchor() and modified click
handler routine accordingly
- renamed .fbp file to match other dialogs pattern
2017-06-12 16:24:52 +02:00
Russell Oliver
aeb23188f1
Add Position Relative tool
2017-06-12 16:24:52 +02:00
Maciej Suminski
f0c8391a46
Use mouse (rather than cursor) position when selecting an item.
2017-06-12 16:24:52 +02:00
Maciej Suminski
dcc803ecb1
VIEW_CONTROLS::GetMousePosition() returns the mouse position in world coordinates.
2017-06-12 16:24:52 +02:00