jean-pierre charras
7995f0e7de
Fix KIWAY_PLAYER::ShowModal: the top level windows children of the KIWAY_PLAYER Modal frame are now enabled (previously were disabled). It fix some issues for instance with the aui toolbar when moved, and the dialog open when starting the footprint wizard frame. Perhaps also explains a few other bugs in modal mode.
...
footprint wizard frame: now shows messages from footprints python scripts. Especially usefull when a parameter is incorrect. Fix also an other issue (IO exception error) with some python scripts when they are usin a print command to output messages (now they use the new message window.
2015-09-05 16:47:16 +02:00
jean-pierre charras
7808b2e240
Fix in KIWAY_PLAYER::ShowModal: the top level windows children of the KIWAY_PLAYER Modal frame are now enabled (previously were disabled). It fix some issues for instance with the aui toolbar when moved, and the dialog open when starting the footprint wizard frame. Perhaps explain a few other bugs.
...
footprint wizard frame: now shows messages from footprints python scripts. Especially usefull when a parameter is incorrect. Fix also an other issue (IO error) with some scripts which were usint the print command to output messages (now they use the nes message window.
2015-09-05 14:10:54 +02:00
Maciej Suminski
4636d8d615
PNS router changes layer on 'Place Via' hot key while it is not laying out a track.
2015-09-03 18:25:48 +02:00
Maciej Suminski
b1d241c271
Net highlighting mode is toggled when used on the same net (GAL).
2015-09-03 17:56:30 +02:00
Maciej Suminski
9f41fe0bda
Added a hot key for (un)locking modules (GAL).
2015-09-03 17:35:41 +02:00
Maciej Suminski
8dbf6beed6
Fixed a corner case for arc bounding box calculation.
2015-09-03 10:42:52 +02:00
unknown
8fedc57499
Small cleanup: remove a few unnecessary casts, and minor cleaning code.
2015-09-03 09:44:30 +02:00
jean-pierre charras
4a56ee42c5
Footprint wizard: Fix IO exception error in python scripts which happens sometimes, due to the fact these scripts printed messages to a console, but when Pcbnew is not run from a console, there is no IO channel to read these messages.
...
The fix is not perfect (still no IO channel to read these messages) , but it works better.
Also, fix erroneous comments in code, and cleanup code.
2015-09-02 15:55:36 +02:00
Maciej Suminski
387054d83f
Fixed a mistake in the previous commit.
2015-09-02 10:55:35 +02:00
Maciej Suminski
9c9b0d1c6d
One more fix for #1490786 .
2015-09-02 10:48:10 +02:00
Maciej Suminski
1d877f5b74
Redraw module texts on "Reset Footprint Field Sizes" (GAL).
2015-09-01 18:06:11 +02:00
Maciej Suminski
8fe18d83a0
Added missing comments for the last commit.
2015-09-01 15:06:54 +02:00
Maciej Suminski
3cddf14e73
Ratsnest algorithm handles items in pad areas (GAL).
2015-09-01 13:44:07 +02:00
Maciej Suminski
24e7f961b9
Fix a Coverity report (catches an unhandled exception).
2015-09-01 11:32:23 +02:00
Maciej Suminski
8b8098d228
GAL canvas highlight net mode works on all layers.
2015-09-01 11:27:38 +02:00
jean-pierre charras
dba0494b02
Pcbnew: Rework on dialog global deletions.
2015-09-01 11:13:22 +02:00
Maciej Suminski
330b253018
Recalculate ratsnest on canvas switch.
2015-09-01 10:50:59 +02:00
jean-pierre charras
f7f7e3e918
Remove useless or not working code used in Load/Save config.
2015-08-31 08:43:33 +02:00
jean-pierre charras
3eae0feeaa
Fix incorrect default URL in wizard_add_fplib_base. Update an old test dialog.
2015-08-30 13:00:30 +02:00
jean-pierre charras
156d5f50d6
fix unwanted foreground frame change on Windows when creating BOM and netlists from scripts.
...
Very minor coverity warning fixes.
2015-08-28 16:15:45 +02:00
Cirilo Bernardo
adddfd22a3
Pcbnew: add user position option to DXF import dialog.
...
* Dialog UI policy fixes and layout improvement provided by Wayne Stambaugh.
2015-08-27 14:10:28 -04:00
Michael Beardsworth
2e4136720d
Removed set-but-unused failingDirCheck variable
2015-08-26 17:52:56 +02:00
Maciej Suminski
33dd214b4f
Fixed crash on closing the footprint editor with hot key (GAL).
2015-08-26 11:50:16 +02:00
Maciej Suminski
a813deb579
Fix a ratsnest assertion when selecting a copper connection between only 2 nodes.
2015-08-25 18:27:04 +02:00
jean-pierre charras
f67c7fe052
Very minor changes. ( changes in clipper are made to avoid coverity minor warnings).
2015-08-25 16:47:09 +02:00
Jon Neal
0aa9fad668
Push UI preferences to child edit and view windows. (fixes lp:1468388)
...
* Push center on zoom, use middle mouse button to pan, limit panning, and
pan while moving object settings from schematic editor to symbol library
editor and symbol library viewer child windows.
* Push center on zoom, use middle mouse button to pan, limit panning, and
pan while moving object settings from board editor to footprint library
editor and footprint library viewer child windows.
2015-08-25 10:16:15 -04:00
Maciej Suminski
11275f78e5
Preserve module editor settings when a new footprint is created.
2015-08-25 11:44:45 +02:00
Tomasz Wlostowski
0723ac5bef
enumeratePads: fix segfault when no module is loaded in the editor
2015-08-25 10:22:52 +02:00
jean-pierre charras
204eb49ce5
Minor enhancement in python console: remove margins around the client area. simplify code.
2015-08-24 20:32:56 +02:00
Wayne Stambaugh
7ba02bad7c
Pcbnew: bug fix and minor changes in github plugin. (fixes lp:1484331)
...
* Catch all unhandled exceptions derived from std::exception() class in
KICAD_PLUGIN::get_remote_zip() to prevent KiCad from crashing when
exceptions are thrown from the C++ standard library.
* Make boost::system::system_error() catch const and and improve comments
about avhttp library usage in KICAD_PLUGIN::get_remote_zip(). Thanks to
Dick Hollenbeck for these improvements.
2015-08-24 13:30:26 -04:00
unknown
44b5d19d3b
barcodefootprint wizard - cleanup python code.
2015-08-23 21:44:34 +02:00
jean-pierre charras
4fc230b773
Rework on Enum PAD_SHAPE_T, PAD_DRILL_SHAPE_T and PAD_ATTR_T (see rev 6008) : the new and better names are now used in Kicad code and existing python scripts.
...
PAD_SHAPE_T and PAD_ATTR_T still have a double definition (new names and old names) to be sure python scripts are nor broken by the change.
PAD_DRILL_SHAPE_T does not have a double definition, because it is unlikely oblong holes are used in python scripts.
Double definitions will be removed in the (next) future.
2015-08-23 21:40:33 +02:00
jean-pierre charras
705eb1f245
Minor change in a fp wizard (better name). Add a new fp wizard to generate a fp with a bar code on the silkscreen layer.
2015-08-23 15:06:39 +02:00
unknown
d6b1aa764e
kicad footprint plugins wizards: avoid spaces in generated footprint names (which often creates issues in filenames)
2015-08-23 14:44:56 +02:00
jean-pierre charras
bb3dc5771c
Pcbnew: Fpid parser: Fix crash when reading a .kicad_pcb file containing a valid fpid with a revision value.
...
Fix an issue when a .kicad_pcb file contains an incorrect fpid ( containing a '/ ' in footprint section ) . After saving the board the file was no more readable, due to a broken fpid saved in file
(can happens in old .kicad_pcb files, coming from the bzr 4022 stable version, and/or in files converted from an other EDA tool like altium)
Fix 2 very minor coverity warnings.
2015-08-23 14:35:49 +02:00
Maciej Suminski
0386a4df94
Bulletproof canvas switching.
2015-08-21 10:33:36 +02:00
Tomasz Wlostowski
a33fc223ae
router: take net clearance when deskewing diff pairs.
...
Apply correction on DP corner radius to avoid DRC issues.
2015-08-21 16:37:44 +02:00
Tomasz Wlostowski
b4135e0a33
router: fixed snapping to target while placing diff pair
2015-08-21 16:35:34 +02:00
jean-pierre charras
2605ab0984
Fixes related to exchage footprint dialog:
...
* The exchange dialog can be now called from the footprint popup menu.
* It can be (as before) called from the footprint properties menu, but in this case, the footprint properties menu is closed before calling the exchange menu.
* Changes in exchange dialog to avoid truncation of long FPIDs
* Changes in exchange dialog to make some texts translatable (Previously, the same English sentence was used in very different contexts)
2015-08-20 20:13:18 +02:00
Tomasz Wlostowski
2b70aeafba
fix rare segfault when head line had unsimplified segments
2015-08-20 15:11:16 +02:00
jean-pierre charras
392600276f
Pcbnew: Add a wizard to download 3d shapes libraries from Github and make a local copy.
2015-08-20 12:23:38 +02:00
Tomasz Wlostowski
9da18f6db6
router: fix ortho snap mode for diff pairs
2015-08-20 09:46:19 +02:00
jean-pierre charras
edbcf2d0cb
Add a wizard to Pcbnew to download 3d shapes libraries from Github
2015-08-20 09:14:44 +02:00
Tomasz Wlostowski
a96299d456
router: improvements to shove algorithm
2015-08-19 18:07:16 +02:00
Tomasz Wlostowski
95c59c8060
router: multiple fixes:
...
- PNS_ITEMSET now keeps ownership info (does not rely on PNS_ITEM::Owner(), avoiding the risk of dangling pointers)
- fixed vias losing connected traces when dragging in mark obstacles mode
- fixed rare segfault when board item returned null netclass
2015-08-19 17:27:23 +02:00
Cirilo Bernardo
33a9f7ecc8
Pcbnew: restore automatic calculation of reference position when exporting to IDF.
2015-08-18 19:48:42 -04:00
jean-pierre charras
adca4d55f0
Dialog tracks and vias properties on GAL: fix a minor issue ( min size not set: missing call to SetSizeHints() ), which fixes also a more annoying issue on Unity (dialog never raised).
...
Remove useless code to find 3 sizers by just making them protected in wxFormBuilder.
2015-08-18 18:15:57 +02:00
unknown
cc7549a2a5
* Python scripting: brings pad.GetZoneConnection() and in example pad.SetZoneConnection(pcbnew.PAD_ZONE_CONN_FULL) to full workable.
...
* Cleanup namespace in enum ZoneConnection in pcbnew/zones.h to self-explained names unification: PAD_ZONE_CONN_INHERITED, PAD_ZONE_CONN_NONE,PAD_ZONE_CONN_THERMAL,PAD_ZONE_CONN_FULL, PAD_ZONE_CONN_THT_THERMAL
2015-08-18 16:19:17 +02:00
Tomasz Wlostowski
f6689f75a8
router: fixed loop removal issue
2015-08-18 11:38:17 +02:00
jean-pierre charras
cc2fe47c95
Fix a few coverity warnings.
2015-08-16 11:02:19 +02:00
Maciej Suminski
0cad702fc7
Fixed footprint editor crash on ref/val text layer change (GAL).
2015-08-15 16:00:34 +02:00
Henrik Nyberg
5486104e8d
Fixed the missing remove zone corner menu entry.
2015-08-15 15:28:48 +02:00
unknown
37742627b4
Restore Meter option to VRML export + other changes
...
* Adds a "Grid Reference Point" to the VRML export; this allows a user to specify the (X,Y) coordinate which will be the origin point on the output
* Adds a "Grid Reference Point" to the IDF export; this is similar in purpose to the corresponding VRML export feature.
2015-08-13 15:13:34 +02:00
Tomasz Wlostowski
e342744a32
router: Do not use reference to a temporary object. Prevent double freeing (m_joints). Draw tuned track always on top.
2015-08-12 21:12:13 +02:00
Maciej Suminski
6989af7904
Minor fixes (PNS).
2015-08-12 21:12:13 +02:00
Maciej Suminski
127fcfa7c9
Code formatting.
2015-08-12 21:12:12 +02:00
Henrik Nyberg
a6c94e26f6
Improved code for handling zone corner dragging (GAL).
2015-08-12 10:15:45 +02:00
jean-pierre charras
5ba6cb975b
3D viewer: a few optimizations to speed up scene building, and better look of circles in footprint outlines.
2015-08-11 13:56:02 +02:00
Maciej Suminski
65ebfe12c1
Fixed oval pads highlighting in mark collisions mode (PNS).
2015-08-10 17:50:10 +02:00
Maciej Suminski
8b46c4eb8f
Fixed crash when pcbnew was set to start with GAL canvas.
2015-08-10 14:34:55 +02:00
unknown
2330b13864
Fix coverity reported strcat/strcpy potential overflows
2015-08-10 10:17:22 +02:00
jean-pierre charras
f58e288140
Pcbnew option dialog: fix very minor bug #1482647 and remove the option about zone filling algo, now useless.
2015-08-08 15:54:32 +02:00
jean-pierre charras
9d3a24a87c
Fix bug #1482809 (Pcbnew crashes when opening if it was closed in OpenGL mode)
2015-08-08 14:44:39 +02:00
Maciej Suminski
6018bb6625
Pcbnew saves the type of used canvas.
2015-08-07 19:15:47 +02:00
Maciej Suminski
1d6fc920e6
Simplified code for switching canvases.
...
Moved SwitchCanvas() to PCB_BASE_FRAME and made it common for all subclasses.
More code from UseGalCanvas() is shared between classes.
2015-08-07 19:15:36 +02:00
Maciej Suminski
ddcdda1a59
GalType -> GAL_TYPE
2015-08-07 18:24:43 +02:00
Maciej Suminski
f43510739c
Append board in GAL.
2015-08-07 18:24:42 +02:00
Maciej Suminski
0bd85fd8d1
Fixed a minor memleak.
2015-08-07 18:20:49 +02:00
Maciej Suminski
03d8d6850a
Minor fixes. - Prevent a crash if m_activeTools is empty (should not happen, but you know the Murphy's law) - Better use of conditions in FOOTPRINT_EDIT_FRAME::Process_Special_Functions()
2015-08-07 18:17:51 +02:00
Maciej Suminski
a4ffb065d4
Corrected TEXTE_MODULE:GetBoundingBox() function.
2015-08-07 18:17:51 +02:00
Maciej Suminski
5caa1523bd
Handling Coverity reports.
2015-08-07 17:07:06 +02:00
jean-pierre charras
a0b5d1cd7b
Pcbnew, dialog exchange footprints: better messages in option radio box.
2015-08-07 10:28:14 +02:00
Cirilo Bernardo
64760cc952
Pcbnew: minor exporter fixes.
...
* Remove unused 1 inch units choice from VRML export dialog.
* Fix model offset calculation in IDF exporter.
2015-08-06 19:13:02 -04:00
Chris Pavlina
acb2c54594
Option dialog mnemonic and padding fixes
...
* Fix conflicting mnemonics in Eeschema options dialog.
* Add mnemonics to Pcbnew, Footprint editor, and Component editor option
dialogs.
* Fix padding in all option dialogs.
* Remove obsolete DIALOG_LIBEDIT_DIMENSIONS.
2015-08-06 14:40:22 -04:00
Wayne Stambaugh
09d8e85d84
Pcbnew: minor fixes to exchange footprint dialog.
...
* Replace module nomenclature with footprint for improved consistency.
* Replace abbreviations in control text.
* Replace exchange nomenclature with change.
2015-08-06 13:11:51 -04:00
Wayne Stambaugh
90a53b9aa2
Pcbnew: set default button in footprint editor options dialog.
2015-08-06 11:29:06 -04:00
Chris Pavlina
fa29c62277
Fix saving undo/redo limits in Eeschema.
2015-08-05 20:10:52 -04:00
Chris Pavlina
aaadb40a71
Make undo/redo limits user configurable.
...
* Add code to allow each editing window it's own undo/redo count.
* Add code to allow for infinite undo/redo when count is set to 0.
* Add edit control to all editing windows general options dialog for
user configuration of undo/redo count.
* Add code to save and restore undo/redo count for each editing window.
2015-08-05 10:28:27 -04:00
Jon Neal
89f4316afc
Pcbnew: fix minor string formatting error in DIALOG_PLOT_BASE.
2015-08-05 09:00:01 -04:00
Maciej Suminski
d624115f35
Fixed failing undo while routing.
2015-08-04 23:08:13 +02:00
Tomasz Wlostowski
b6f61ff676
PNS: correctly snap to offset pads
2015-08-04 12:15:47 +02:00
Tomasz Wlostowski
86b07d89a7
PNS: fixed crash on via dragging
2015-08-04 11:37:16 +02:00
Maciej Suminski
2a93d083ee
More DXF import fixes.
2015-08-03 21:11:59 +02:00
Maciej Suminski
0fbf31ef38
P&S: memory mgr & disappearing trace fixes. Still a bit buggy, though...
2015-08-03 21:11:51 +02:00
Tomasz Wlostowski
07f5516e59
geometry: Parse() method for SHAPE_LINE_CHAIN, working on Read() in SHAPE_FILE_IO
2015-08-03 20:29:44 +02:00
Tomasz Wlostowski
9c2bcb2f3c
Fixed crash on right click on zone with GAL mode.
2015-08-03 11:53:58 +02:00
Bernhard Stegmaier
5f4423f7af
Changed abs() to std::abs() in pns_topology.cpp.
2015-08-03 10:50:05 +02:00
Wayne Stambaugh
7b39b1bfc4
Pcbnew: fix dimension dialog default button on Linux.
2015-08-02 18:14:13 -04:00
jean-pierre charras
b0585253c3
Avoid creation of the zones_dump.txt file each time the zones are re-filled, when this option is not enabled.
2015-08-02 19:39:24 +02:00
jean-pierre charras
9f61254839
Fix bug #1480619 (Moving silkscreen reference of rotated footprints glitches in GAL)
2015-08-02 11:19:01 +02:00
Wayne Stambaugh
e9ed3e3e55
Pcbnew: make OK button default item in dimension properties dialog.
2015-08-01 17:30:38 -04:00
jean-pierre charras
6a6a55f9bf
A few messages modified in dialogs to help translations.
2015-08-01 14:48:38 +02:00
jean-pierre charras
4b4d9d9770
Plot solder mask layer: fix incorrect margin of zones drawn on this layer (zone areas were slighly larger than the actual areas)
...
Fix a few minor and very minor other issues: coverity warnings and compil warning.
2015-08-01 12:20:23 +02:00
jean-pierre charras
75d02086ad
Modedit: fix a minor bug in footprint transform (polygons not mirrored or rotated in global footprint transform).
...
Code cleaning: in class EDGE_MODULE and TEXTE_MODULE, remove duplicate methods for fp edition (about rotation, mirroring and move) and add comments.
2015-07-31 21:04:30 +02:00
Maciej Suminski
f140e36021
Footprint editor uses the same canvas as the layout editor.
2015-07-31 17:40:19 +02:00
Maciej Suminski
73a6e95407
Ratsnest algorithm takes into account pad offset.
2015-07-31 17:40:19 +02:00
Maciej Suminski
e3cbfb0609
Better way of handling changes in EDIT_TOOL (GAL).
2015-07-31 17:40:19 +02:00
Maciej Suminski
cb629e0ad4
Fixed DXF placing problem (GAL).
2015-07-30 13:49:36 +02:00
Maciej Suminski
781ac8df9f
RN_NET::GetClosestNodes() minor fix.
2015-07-30 13:49:36 +02:00
Maciej Suminski
3049bc1d5f
Fixing SELECTION_TOOL heuristics, take #2 .
2015-07-30 13:49:35 +02:00