jean-pierre charras
c1978b3242
Pcbnew: fix crash when undoing a move exact pad in board editor.
...
Fix also very minor warnings detected by cppcheck.
2015-02-22 10:39:58 +01:00
Maciej Suminski
014905e7db
bugfix: pad enumerator skips pads if mouse cursor is moved too fast (GAL module editor).
2015-02-21 21:16:28 +01:00
Maciej Suminski
de03accdb1
Coverity report fixes.
2015-02-21 14:58:39 +01:00
Mark Roszko
3918d3f0b2
Eeschema code cleanup and coverity fixes.
2015-02-21 09:11:58 +01:00
Wayne Stambaugh
d1d1e2b58a
Lots of Coverity scan error fixes.
2015-02-20 19:41:10 -05:00
jean-pierre charras
bd5d468251
Pcbnew: fix bug #142348 (airwire does not always appear after deleting a track). Very minor other fixes.
2015-02-20 20:04:32 +01:00
Maciej Suminski
3e9bb6b887
SELECTION::GetCenter() returns VECTOR2I instead of wxPoint.
2015-02-20 11:40:36 +01:00
Maciej Suminski
c2bd2491f1
Added asserts in spots where DEGREES are not handled.
2015-02-19 16:03:45 +01:00
Maciej Suminski
84517d0e79
BOARD::DuplicateAndAddItem() handles vias too.
2015-02-19 14:55:46 +01:00
Maciej Suminski
f7a32e839e
Moved UndoInhibit related functions from TOOL_MANAGER to EDIT_TOOL.
2015-02-19 14:53:31 +01:00
Maciej Suminski
aafdfd015e
Disabled 'Duplicate' & 'Create array' for pads in the layout editor.
2015-02-18 20:30:14 +01:00
Maciej Suminski
9bed4814a3
Ratsnest update in 'Create array' tool (GAL).
2015-02-18 20:29:52 +01:00
Maciej Suminski
f06690c8d3
Merged lp:~john-j-beard/kicad/moveexact.
2015-02-18 20:27:00 +01:00
Maciej Suminski
4fb9bce354
Code formatting.
2015-02-18 17:53:46 +01:00
jean-pierre charras
63d3c835cb
Pcbnew: refinement to Bug #1422093 fix.
2015-02-18 10:13:17 +01:00
Tomasz Włostowski
112adccbcb
router: differential pairs & length tuning support
2015-02-18 01:29:54 +01:00
Tomasz Włostowski
e5deafb4bb
bulk improvements for selection and edit tools (GAL) disambiguatin heuristics and smarter grid alignment
2015-02-18 01:10:20 +01:00
Tomasz Włostowski
a46a92f918
new IDs for diff pair & length tuning tools
2015-02-18 01:06:14 +01:00
Tomasz Włostowski
9f0b02268b
tools: moved tools registration outside pcbframe.cpp
2015-02-18 01:04:47 +01:00
Tomasz Włostowski
4da839f30f
groundwork for invoking module editor on selected footprint in GAL mode
2015-02-18 01:01:02 +01:00
Tomasz Włostowski
da9fc84421
improved module locking: lock pads only/lock whole module mode added
2015-02-18 00:58:14 +01:00
Tomasz Włostowski
5d78a007cc
added ClassOf() for DRAWSEGMENTs, PADs and PCB_TEXTs
2015-02-18 00:53:57 +01:00
Tomasz Włostowski
0879b457ac
undo should work on pads too (GAL view)
2015-02-18 00:51:40 +01:00
jean-pierre charras
6312f8386a
Temporary fix a crash I created in rev 5427, when erasing all modules on a board and read the netlist. Will be fully fixed later.
...
Very minor fixes: remove duplicate #define in vrml_v2_modelparser.cpp, and "undo" a very minor change I made in class_board.cpp when I tried to fix a Pcbnew crash.
2015-02-17 21:32:49 +01:00
Wayne Stambaugh
f4d5e349bf
Fix a bunch of Coverity scan "unhandled exception" errors.
2015-02-17 13:47:21 -05:00
jean-pierre charras
39497b109e
Pcbnew: fix Bug #1422093 (pcbnew crashes after editing a footprint cominng from the board with the fp editor and saving it on a librray and trying to load it to the board)
...
Some other very minor fixes.
2015-02-17 17:32:47 +01:00
Cirilo Bernardo
dcdaee4c63
Pcbnew IDF and VRML exporter Coverity scan error fixes.
2015-02-17 09:56:45 -05:00
Wayne Stambaugh
f2edf02b35
Coverity error fixes.
...
* Fix unitialized variable in MSG_PANEL_ITEM default ctor.
* Fix a bunch of uncaught exception issues.
* Fix a memory leak in the NETLIST_READER::GetNetlistReader() when an
an attempt to read an invalid net list file occurs.
2015-02-15 19:04:48 -05:00
Maciej Suminski
b0ad779ee4
Calming down the Coverity report.
2015-02-15 23:21:52 +01:00
Miguel Angel Ajo
1e2af7fed1
Add GetLayerID method to BOARD.
...
This method is added for scripting purposes, to be able to query
specific board layer names thru a board object.
If no board specific layer name is found, it will fallback to
standard layer names.
2015-02-15 14:31:47 +01:00
Maciej Suminski
b1ace1607b
Reworked GAL switching.
...
Now OpenGL can report its problems instead of shutting down the application.
2015-02-15 02:18:35 +01:00
Maciej Suminski
b19010ff8b
Cross-probing pcbnew<->eeschema (GAL).
2015-02-14 21:52:22 +01:00
Maciej Suminski
bb861b81b2
Missing comments in the PLACEMENT_TOOL class.
2015-02-14 21:49:06 +01:00
Maciej Suminski
902d0e3f1f
Tools are processing const TOOL_EVENT& (Tool Framework).
2015-02-14 21:28:47 +01:00
Wayne Stambaugh
69553d6fa3
wxPython find and version loading fixes. (fixes lp:1408060)
...
* Add test to CMakeLists.txt to verify wxPython is installed when
KICAD_SCRIPTING_WXPYTHON=ON.
* Add test to make sure wxPython version major and minor numbers match
the version of wxWidgets found.
* Add code to set the correct version of wxPython to the python scripting
initialization code.
* Minor code simplification in Pcbnew KIFACE main window creation.
2015-02-14 19:23:54 -05:00
jean-pierre charras
1a74913063
Minor fixes: fix issue Bug #1420910 (Linux specific).
...
Rename eeschema/dialogs/dialog_sch_find.fbp to dialog_schematic_find_base.fbp, to be consistent with other dialogs.
Pcbnew run from the project manager: add menu Save Copy As..., which is the same command as Save As ... in stand alone mode, but with the constraints of a project (no cwd change, no board filename change, and keep project settings)
2015-02-14 13:43:11 +01:00
John Beard
d7f96d37a4
Add Fit() call to move exact and create array dialogs
2015-02-12 03:22:24 +00:00
John Beard
8c6313ac1a
Extend arrays and duplicate to pcbnew (GAL and legacy), covering modules, text, lines, tracks, dimensions and targets.
...
Text arrays can now use "%s" as a placeholder to be substituted with the array index.
Also expand menu options for move exact, arrays and duplicate.
Minor fixes for arrays - use proper unit parsing, add numbering start for circular arrays
Add circle radius indicator to array dialogue
2015-02-12 03:22:24 +00:00
John Beard
3c5f3f7049
Add create array tool
2015-02-12 03:22:24 +00:00
John Beard
4f3672da4d
Add "move exact" and "duplicate" tools to pcbnew
2015-02-12 03:22:24 +00:00
jean-pierre charras
74e83e924a
Pcbnew: Fix Bug #1420074 (Crash when a footprint is added to the board (or edited) from the footprint editor, if a new pad was added, because the net info of the new pad is broken in this case)
2015-02-11 11:10:53 +01:00
jean-pierre charras
698bd331c4
Dialog enum pads: fix incorrect use of sizers.
2015-02-10 11:38:22 +01:00
jean-pierre charras
80f6a4f2a0
Pcbnew: fix ver minor issues. ModEdit: fix issue in GAL mode: when importing a footprint from the footprint wizard, the new footprint was not shown.
2015-02-10 09:35:17 +01:00
Blair Bonnett
07db7c8d29
Prevent Pcbnew edit graphics property dialog from excepting zero length objects. (fixes lp:1392117)
2015-02-06 16:49:40 -05:00
jean-pierre charras
d52436aed8
Pcbnew: fix Bug #1418135 (scrollbars never shown in design rules dialog, in netclasses grid list, which prevent to use many netclasses). Also fix very minor other issues.
2015-02-06 11:54:55 +01:00
jean-pierre charras
4265fa60bd
Pcbnew - plot dialog: fix Bug #1417435 (Gerber(and some others) plot mode is fixed as”sketch” instead of "filled" )
2015-02-03 11:35:46 +01:00
jean-pierre charras
5eb7b41fba
Dialogs edit footprint in module editor and edit footprint in board editor: add button to edit the selected 3D shape filename.
...
Dialog edit component in library editor: add button to edit the selected footprint filter.
2015-02-02 17:43:34 +01:00
jean-pierre charras
b1cd42cf08
Pcbnew: simplify draw code in default canvas and plot functions by removing the plot LINE option, which is not existing in all plotters, not existing in opengl/cairo canvas, and not usefull in default canvas.
2015-02-02 09:06:39 +01:00
jean-pierre charras
3c343b415a
Fix the minor bug 1016924 ( Unhandled event id 6263 in pcbnew ). Remove duplicate code.
2015-02-01 08:19:31 +01:00
jean-pierre charras
8412f2ad4e
ModEdit: add a settings menu option(and the corresponding dialog) to set default values used when creating a footprint or add graphic items to a footprint being edited.
...
These settings are now not common to the board editor, because the footprint editor can be run outside the board editor.
download_boost.cmake: ignore .htm* files when installing boost. They are not used, and often have a very very long (and stupid) name which sometimes creates issues.
2015-01-30 19:42:46 +01:00
Maciej Suminski
789bb9663c
bugfix: Find does not work in high contrast mode in GAL.
2015-01-29 18:23:54 +01:00
jean-pierre charras
b556fb2324
Class BOARD: Rename an overloaded method named SetLayer with the better name SetLayerDescr, and comment it. It also remove some warnings when compiled with option -Woverloaded-virtual
2015-01-29 17:01:48 +01:00
jean-pierre charras
ba6e2ffbcf
Footprint Editor: New footprint creation: change defaults for ref and value texts: now Ref text is REF** and Value text is the footprint name. Also Value is put on fab layer (front)
...
muonde.cpp: cleanup this very old code, and fix not working code.
2015-01-28 11:00:48 +01:00
jean-pierre charras
2a4d0bad60
Fix minor aesthetic issues in dialogs (these minor issues (overlapping widgets) exit only with some Windows managers like KDE)
2015-01-27 08:34:19 +01:00
Maciej Suminski
2647fdfd89
Fixed context submenus event handlers (GAL/Windows).
2015-01-25 19:11:02 +01:00
Maciej Suminski
5447bb5914
bugfix: Pcbnew (Windows) crashes using selection tool in OpenGL or Cairo
2015-01-25 19:08:52 +01:00
jean-pierre charras
f0a52644ea
Pcbnew: fix Bug #1413701 (Segfault on highlight "unconnected" net 0 in Pcbnew ). Also, remove now useless code and other very minor fixes.
2015-01-23 12:24:32 +01:00
Wayne Stambaugh
ca065833ea
Remove EDA_DRAW_FRAME::IsActive() and replace with wxFrame::IsActive().
2015-01-22 08:42:24 -05:00
jean-pierre charras
ebb967c46f
Pcbnew: fix issues and potential issues when reading board files and mainly old board files, and enhance the DRC tests and Delete Single Pad Net option when reading a netlist:
...
* Delete Single Pad Net option does not delete the net if a zone use this net (i.e. is attached to this pad).
* pcb_parser accept now negative netcodes in zones (can happen with old files, which previously could crash Pcbnew)
* pcb_parser accept now files with incorrect or missing net count (can happen with old files, which previously could crash Pcbnew)
* if a zone has a non-existent net name it now keep this net name, and DRC detect it (previously, the net name was lost, and the DRC did not tected this issue).
* Drc test: now detect a "dead" net, i.e. a net with 0 pads, but still used by a zone. It happens easily after a schematic modification, when a net disappears or is renamed.
2015-01-22 13:06:34 +01:00
jean-pierre charras
59f497978a
Pcbnew, layers manager: Fix an annoying bug I added in rev 5359, in Render options: in Board editor many render options were not displayed (similar fp editor mode).
...
Now fixed.
2015-01-20 08:01:32 +01:00
jean-pierre charras
d4e04dcc97
Fix bugs detected by Cppcheck.
2015-01-19 20:03:50 +01:00
jean-pierre charras
79e2a41469
Pcbnew: Fix potential bug in DRAG_SEGM_PICKER (a variable type bool was used as int. type is now int). Minor code cleanup.
2015-01-19 09:23:10 +01:00
unknown
8876fdf4af
Misc minor fixes (Fix some minor compil warnings).
2015-01-18 12:49:32 +01:00
jean-pierre charras
ac539b9578
Minor and very minors fixes: move -DKICAD_USE_WEBKIT definition to the main CMakeLists.txt. Remove duplicate semi-colon at end of some lines.
2015-01-17 09:01:16 +01:00
Maciej Suminski
92a8f8f19c
Support for zone cut-outs in the point editor (GAL).
2015-01-16 16:44:42 +01:00
jean-pierre charras
c27b2fbf4c
Fix issues in fp lib table wizard
2015-01-16 09:10:23 +01:00
jean-pierre charras
0b1a6fd7c3
More work on fp lib table wizard: add a button to import the full list of .pretty libs on github.
...
* if the current select plugin is the github plugin, one can select some of these libraries and add them to the table
* if the current select plugin is the kicad plugin, one can select some of these libraries and download them to make alocal copy.
They can added to the table after they are downloaded.
2015-01-15 21:01:53 +01:00
unknown
b269128b8c
Fixes issues with IDF file I/O on Windows (the famous 'ascii vs. binary' issue) and the reported problem of partial paths when KISYS3DMOD is specified.
2015-01-13 11:47:07 +01:00
Wayne Stambaugh
0b6d1bbcf7
Minor dialog improvements.
...
* Make generate button the default in Eeschema netlist dialog.
* Fix spacing issues in export IDF dialog.
* Make OK button the default in export IDF dialog.
* Remove unnecessary end dialog code from export IDF dialog.
* Improve resizing of export IDF dialog.
2015-01-12 14:25:20 -05:00
jean-pierre charras
0cb7c3dc7d
ModEdit: fix incorrect size of the toolbar grid size combo box
2015-01-10 12:08:12 +01:00
jean-pierre charras
9cfb97d8b4
Add hight contrast option in Modedit. In hight contrast mode, solder masks and solder paste are shown.
...
this option was possible only by modifying the way display options are managed.
before these changes, display options were a global DISPLAY_OPTIONS class instance.
Now each EDA_DRAW_FRAME(and derivated classes) includes its own DISPLAY_OPTIONS class instance.
As a consequence, some duplicate display option variables in these classes have been removed, because there were just duplicate variables of the DISPLAY_OPTIONS class instance.
2015-01-10 11:27:49 +01:00
jean-pierre charras
7d8df0425f
Modedit: now shows a specific layers manager, which allows user to select the technical layer which is used when adding a new graphic text or outline to the current footprint.
...
Please, note the layer manager was already available in GAL mode, but is was the same as tne board editor, which is not good.
Now:
- In default mode or GAL mode, the look is the same.
- Only suitable technical layers (i.e. paired layers) are selectable from the layers manager (for special purposes, some other layers can be used, via the graphic items properties dialog)
2015-01-07 20:07:15 +01:00
jean-pierre charras
678a763481
Pcbnew: better display of tracks/vias/grid in toolbar. All: modify the zoom value shown in toolbar or status bar (roughly now zoom 1.0 is near the 1:1 scale, on a 22 inches Monitor). Fix also many other minor and very minor issues
2015-01-06 08:38:58 +01:00
Paulo Henrique Silva
f5059ec4c2
Fix duplicate text in IDF header export. (fixes lp:1407336)
2015-01-05 16:51:47 -05:00
Wayne Stambaugh
a2129fcd39
Minor toolbar and menu coherence fixes.
...
* Change Read to Load in Pcbnew and Eeschema preference menus.
* Make electrical rules check status bar message the same for both the menu
and toolbar entries.
2015-01-05 16:01:35 -05:00
jean-pierre charras
ad74a9a191
Pcbnew: better display of tracks/vias/grid sizes in toolbar
2015-01-05 14:20:04 +01:00
unknown
036a7cd8ed
Fix a typo error in wizard lib.
2015-01-04 12:50:12 +01:00
jean-pierre charras
6a19315557
Fix compat with swig 3.03
2015-01-04 08:19:04 +01:00
Fat-Zer
846b2ae24e
Fix Bug #1381287 (CvPCB ignores the footprint filter field on aliased components)
2015-01-02 08:52:29 +01:00
jean-pierre charras
9aa4fb6955
Cvpcb: force project name in stand alone mode, to allow access to project fp lib table. In project mode: disable the read netlist option (the netlist is read when Cvpcb is started by eeschema)
...
Dialog fp lib table editor: now shows the table full filenames, to help users.
2015-01-01 16:46:11 +01:00
jean-pierre charras
6ba5e40669
Fix a minor issue in fp lib wizard.
...
Remove a duplicate code for dialog select dir list.
2015-01-01 12:37:23 +01:00
jean-pierre charras
605a9bb5f2
Page layout selection: fix Bug #1405972 , and add minor enhancement in page layout selection dialog (the new layout is shown after selection).
...
When the filename is not absolute, the page layout file is now searched first in project folder, and then in kicad template folder, if not found in project.
2014-12-31 13:31:19 +01:00
jean-pierre charras
de8ae428fd
Minor fixes (typo in messages)
2014-12-30 18:15:46 +01:00
Bernhard Stegmaier
fcbce8b60e
Add KIGITHUB definition for stand alone version of Pcbnew on OSX
2014-12-28 17:07:15 -05:00
Cirilo Bernardo
0ceb90dfe1
Fix bug in IDF exporter when circles and arcs have zero radius. (fixes lp:1371656)
2014-12-28 10:09:35 -05:00
Maciej Suminski
a5972e7b48
Fixed crash on toggling the pad outline display mode in CvPcb.
2014-12-26 18:07:45 +01:00
jean-pierre charras
bc230f7650
Code cleaning: move class PAGE_INFO from common.h to class_page_info.h;
...
Fix issue when using a page layout file in project folder: eeschema and Pcbnew did not use it, unless using an absolute path.
Now, if the file path is nor absolute, it is seen as relative to the project (which is the expected behavior)
fp lib wizard: when pcbnew id compiled with USE_GITHUB_PLUGIN=OFF, the github plugin option is no more accessible (and the web viewer no more used).
2014-12-23 14:01:59 +01:00
jean-pierre charras
21cc8e0dc0
Freeroute dialog: remove freeroute access via java web start, because freeroutecanot be run now via java web start.
...
freeroute.jarcan be run by Kicad, as long freeroute.jar is found by Kicad (for instance if it is in kicad bin folder)
2014-12-22 17:58:43 +01:00
jean-pierre charras
e4a74213e4
Add wizard to fp lib dialog to easily add entries to this table.
2014-12-21 15:13:14 +01:00
unknown
05073c15ed
Add option to VRML Export for Plain PCB (patch from Cirilo Bernardo)
2014-12-20 17:13:51 +01:00
Nick Østergaard
41e044c0b4
Handle arcs in board outline in Eagle pluging.
2014-12-19 17:02:02 -05:00
jean-pierre charras
bb7a74f58f
Pcbnew: fix Bug #1404191 (Zone filling fails when a zone inside having the same net and a highter priority exists, which is allowed to manage different fill parameters )
2014-12-19 20:09:53 +01:00
jean-pierre charras
6deb3823d7
Aesthetic enhancements ( use few svg icons from Konstantin Baranowskiy).
...
Allows use of modifier shift key with letters A ... Z in hot keys (including hot key editor). Thanks to John Bird, who helped me with his patch.
2014-12-18 19:53:19 +01:00
jean-pierre charras
d83eb11aa6
Minor fixes. Remove unused icon. Add 3 new icons. Change one icon (3 icons are from Konstantin Baranowskiy)
2014-12-11 13:00:59 +01:00
Nick Østergaard
1df31338a3
Shortcut for fill all and unfill all zones for GAL.
2014-12-08 23:41:47 +01:00
Blair Bonnett
de4e688b83
Imporve hot key name description. (fixes lp:1066193)
2014-12-07 14:10:12 -05:00
Paul LeoNerd Evens
33f39fc282
Fix Eagle footprint library import of arcs. (fixes lp:1399745)
2014-12-07 12:07:05 -05:00
Nick Østergaard
e373850d26
Add remove fill and fill all zones hot keys.
2014-12-06 16:21:13 -05:00
jean-pierre charras
0e996cac9e
Pcbnew: fix Bug #1395594 (pcbplotparams parser sensitive to formatting)
...
Looked like a minor issue, but was due to a more serious bug, when using 2 different DSN_LEXERS which were not synchronized.
The fix is not perfect, but unfortunately, the parser used to read the PCB_PLOT_PARAMS in .kicad_pcb files is also used in legacy board file reader.
Therefore it is better than write 2 parser functions, one for legacy files, the other for the .kicad_pcb files, which make the same thing.
2014-12-04 20:15:26 +01:00
jean-pierre charras
f3765a32d8
Fix minor issues. Fix some outdated and broken BOM python scripts. Add info in BOM python scripts.
...
BOM dialog: remove a not very useful button, and merge its function with an other (not perfect, need more work)
Add message box to show info added in BOM python scripts (See scripts/bom-in-python/README-bom.txt about this info)
2014-12-03 17:22:06 +01:00
jean-pierre charras
479af2a7a8
Pcbnew, export Solder masks in Gerber Format: fix not working export when the solder mask minimal width is not 0 (the exported shapes were the same as if the vule = 0) with boost version >= 1.56
...
This is due to the fact the boost::pylygon function resize ( a inflate/deflate function) used for calculations does not work with boost version >= 1.56.
Use Clipper inflate/deflate function instead. It is faster and works fine.
2014-12-01 15:54:33 +01:00
jean-pierre charras
25a801ed8a
Modify usage of Inflate/deflate polygon in zone calculations, in order to be compatible with boost::polygon >= 1.56
...
Some code cleanup.
2014-11-30 18:07:02 +01:00
jean-pierre charras
4bba4b875d
Pcbnew: Allows trapezoidal pads in zones.
2014-11-29 13:58:34 +01:00
Maciej Suminski
e6ff6af7b3
Fixed typo.
2014-11-27 11:51:16 +01:00
Maciej Suminski
0daa1fa67e
Missing fixes for the revision 5301.
2014-11-27 11:47:17 +01:00
Angus Gratton
6c4808bd49
pns: Non-copper pads are not treated as obstacles.
2014-11-26 15:46:47 +01:00
Maciej Suminski
03f7003c00
pcbnew: Unconnected items share the same NETINFO_ITEM, even if on different boards.
2014-11-24 16:34:47 +01:00
Maciej Suminski
0c1a87ca56
selection_tool: Added SelectItem and UnselectItem actions.
2014-11-21 11:50:13 +01:00
Maciej Suminski
823623acb8
selection_tool: Renamed deselect* to unselect* for naming consistency.
2014-11-21 11:49:54 +01:00
Maciej Suminski
62e2537e73
selection_tool: Renamed selectSingle to selectCursor.
2014-11-21 11:49:28 +01:00
jean-pierre charras
1e5fa54d1a
Try to fix an issue on Ubuntu/Unity for some dialogs which are not displayed. Adding GetSizer()->Fit( this ) after last dialog "geometry" change (size for instance) or Raise() if the window is not a dialog fix it.
...
Partial fix. There are few cases where the frame is still not displayed.
Looks like a Unity issue, not a Kicad issue.
2014-11-19 20:13:10 +01:00
Blair Bonnett
149a04f331
Fix crash in footprint editor when SMD pad diameter is zero. (fixes lp:1378917)
2014-11-19 13:39:02 -05:00
jean-pierre charras
8a1c8a91f4
More fixes on Ubuntu/Unity for dialogs which are not displayed.
2014-11-19 18:13:55 +01:00
jean-pierre charras
1ebaf1371a
Fix remark 1 in Bug #1393277 (the option "use absolute paths" acts reversed: ticked exports relative paths, unticked exports absolute paths)
2014-11-17 14:55:26 +01:00
Wayne Stambaugh
1dc5178095
Message panel consistency improvements and coding policy fixes.
...
* Make title capitalization consistant.
* Replace some instances of module with footprint.
* Use angle instead of orientation where appropriate.
* Remove abbreviations where it made sense.
* Coding policy fixes.
2014-11-15 14:06:05 -05:00
Camille
5729ee7ea5
Compile warning fixes and minor code policy fixes.
2014-11-15 08:43:23 -05:00
John Beard
71e5fb13e6
Segment message panel infromation improvements.
...
* Make "Drawing" string translatable.
* Add segment length to message panel.
* Add segment angle to message panel.
2014-11-15 08:09:59 -05:00
Maciej Suminski
9245b90392
Code formatting.
2014-11-14 20:19:00 +01:00
Tomasz Wlostowski
4e280f065f
P&S router: fixed shove force propagation incorrect issues causing improper via dragging.
2014-11-14 19:17:52 +01:00
Tomasz Wlostowski
4e67de5c15
P&S router bugfixes
...
- fixed walkaround bug causing unwanted overlap/clearance violation when the first segment of trace being laid intersects the obstacle's hull at the same point twice (ie. goes in, turns around and goes out).
- fixed placer bug not splitting the start segment after toggling via placement or changing trace width
2014-11-14 19:17:01 +01:00
Tomasz Wlostowski
80adf9d85b
router: multiple changes
...
- re-worked PNS_LINE_PLACER and PNS_ROUTER classes a bit, removing duplicate class members
- cleaned up Andrew's blind/buried via fixes
- fixed 'custom via width' dialog bug updating the width even when closed/cancelled
- fixed incorrect radius of drawn microvias
2014-11-14 19:15:58 +01:00
Nick Østergaard
32eb568ec4
Pcbnew place track menu entry hot key text fix.
2014-11-14 11:09:07 -05:00
jean-pierre charras
35c591166f
Pcbnew: fix Bug #1391561 (PCBNew segfaults on BOM creation). Does not happen on all platforms. Could be due to use of data just previoulsy deleted.
...
Very minor other changes.
2014-11-14 08:25:17 +01:00
Maciej Suminski
15aa24afe8
pcbnew: Modules can be selected with block selection tool without including texts & references (GAL).
2014-11-13 17:32:59 +01:00
Maciej Suminski
4eabe23104
pcbnew: Allows selecting module edges in module editor, when they are covered with other items (GAL).
2014-11-13 16:58:24 +01:00
Maciej Suminski
1855db5493
pcbnew: Fix persistent multiple items selection box that stays after selecting a polygon/line (GAL).
2014-11-13 14:11:26 +01:00
unknown
d54675b56b
Fix bug in IDF export (plus minor cleaning up of IDF/VRML export)
2014-11-13 12:29:05 +01:00
Maciej Suminski
d84567ae40
pcbnew: fixes crash when a new part footprint is changed.
2014-11-13 11:06:41 +01:00
jean-pierre charras
f5fd471dd9
Pcbnew: fix Bug #1392087 ( adhesive layer plot broken ).
2014-11-13 09:00:28 +01:00
Wayne Stambaugh
37da6766ec
Update avhttp-master.zip to the latest version so Boost 1.57 can be used to build KiCad.
2014-11-12 19:13:27 -05:00
Blair Bonnett
1188cd433b
Fix wxWidgets debug assertion for wxTextCtrl::IsSingleLine() in GTK.
...
* Fix assertions in Eeschema when editing net labels, electronic rules check,
and plotting.
* Fix assertion when opening PCB calculator.
* Fix assertions in Pcbnew when changing footprints in footprint properties
dialog and adding or editing text.
2014-11-09 14:24:37 -05:00
jean-pierre charras
6a93777a51
Polyline.h: remove useless class CRect. Use the more powerful EDA_RECT instead. Clean and remove duplicate code.
2014-11-08 13:25:29 +01:00
jean-pierre charras
f55a436d58
map class CPolyLine (used in zones) in Python.
2014-11-06 16:27:22 +01:00
jean-pierre charras
24f516f6ae
Fix many doxygen warnings (due to missing info, old comments, typo ...) when building the doxygen doc.
2014-11-02 17:25:04 +01:00
Marco Ciampa
40f044bd8d
More renaming instances of module to footprint for consistency.
2014-11-02 07:44:57 -05:00
Michal Jahelka
835bb37b88
Remove library nickname from module position file
2014-10-31 21:18:25 +00:00
jean-pierre charras
7b5318ff64
Fix minor issues about translated strings and coding style. Add comment relative to file function info in X1 gerber file format.
2014-10-31 19:59:37 +01:00
jean-pierre charras
db31daffe4
Fix compil issue I created in rev 5242 when KICAD_SCRIPTING_WXPYTHON is ON
2014-10-31 16:21:57 +01:00
jean-pierre charras
4fd2a4da94
Pcbnew, python console: refinements.
2014-10-31 15:45:46 +01:00
jean-pierre charras
7e431a0d4b
Pcbnew: Console python: use a wxMiniFrame to show the console and remove the management by a EDA_PANEINFO, which was not the right way to manage this console.
2014-10-31 08:51:22 +01:00
Marco Ciampa
359e64850d
More renaming instances of module to footprint for consistency.
2014-10-30 13:31:56 -04:00
Marco Ciampa
5d306bb244
Rename instances of module to footprint for consistency.
2014-10-30 11:37:46 -04:00
jean-pierre charras
09e20c6c0f
Pcbnew: fix a serious bug in ZONE_CONTAINER class copy constructor: a pointer was not initialized. Pcbnew crashes when deleting or filling a copied zone.
...
Eeschema: remove dead code and uncrutify class_netlist_object.h
2014-10-30 09:42:11 +01:00
Wayne Stambaugh
f86eb756af
Source license, coding policy, and documentation fixes.
...
* Add more missing source code licenses.
* Fix coding policy violations (tabs and trailing white space) in Python
scripting code.
* Add stable release policy to full documentation build.
2014-10-28 15:43:12 -04:00
jean-pierre charras
3abfb6ca97
Cvpcb: Add a tool to solve conflict assignments when the schematic netlist and the .cmp file do not contain the same assignment and both are valid fpid.
...
It happens when footprint assignments are modified outside Cvpcb (when editing the footprint assignment field in schematic)
2014-10-28 16:15:39 +01:00
Wayne Stambaugh
86b39ca3c0
More missing source license fixes.
2014-10-27 10:14:39 -04:00
Wayne Stambaugh
e273a48ddc
Remove old build configuration since kiway is now the only way to build kicad.
2014-10-26 15:54:48 -04:00
unknown
ad645abac4
Eeschema, Plot dialog: add Plot directory selection. The patch from 1383026@bugs.launchpad.net was widely used.
2014-10-26 14:59:01 +01:00
Maciej Suminski
1338774d54
pcbnew: Disable DXF import in the module editor when there is no module loaded.
2014-10-24 11:19:54 +02:00
Luis
83d666806c
Fix temporary file bug when saving modified footprints. (fixes lp:1384550)
...
* Use wxRenameFile which falls back to a file copy and file remove when
wxRename fails.
2014-10-23 16:25:04 -04:00
Wayne Stambaugh
f12953855e
More missing source license fixes.
2014-10-23 13:53:38 -04:00
Wayne Stambaugh
b7f890adb3
Fix parallel build bugs.
...
* Make all files generated by make_lexer() dependencies of thier respective build targets.
* Make building Boost a dependency for all libraries.
* Remove duplicate make_lexer() call for Specctra lexer files.
2014-10-22 19:25:59 -04:00
Wayne Stambaugh
431ed318e0
Pcbnew VRML export improvements.
...
* Improve VRML export dialog lay out.
* Make the OK button the default action in the export dialog.
* Make 3D model export work correctly and avoid redundant file copies.
* Fix embedded path separators in wrl files on windows.
* Fix absolute model file path creation in wrl files.
* Clean up VRML export code.
2014-10-17 19:28:12 -04:00
Bernhard Stegmaier
f06bfe6d70
Commit the rest of the OSX build fixes missed in the previous commit.
2014-10-17 13:45:33 -04:00
Mark Roszko
816974b8ca
Hot key editor dialog improvemnts.
...
* Change hot key editing contol from wxGridTableBase to wxListCtrl.
* Separate hot key lists into separate tabs rather than one large list.
* Coding policy fixes.
2014-10-17 10:36:47 -04:00
Bernhard Stegmaier
a4c59e6b97
More OSX build fixes.
...
* Many path related fixes.
* Fix execution of external applications.
* Update mac-osx.txt.
* Add top-level links for standalone applications inside OSX bundle.
* Fix document icons for Eeschema and pl_editor.
* Create individual bundles for standalone applications inside the main application bundle.
* Add usual 'site-packages' to python path in OSX bundle.
* Fix name of OSX bundle plugin folder.
2014-10-16 18:13:01 -04:00
Mark Roszko
606f2e91f8
Make hotkey command titles use consistent capitalization.
...
Rename "Switch highcontrast" to "Toggle High Contrast".
Eliminate most of the abbreviated hotkey titles.
Doxygenize dialog_hotkeys_editor.h and add missing license block.
Display <unassigned> if key code is 0 (NULL).
2014-10-15 21:17:51 -04:00
Mark Roszko
651a92a80f
Hotkey Editor Polishing
...
Refactor hotkey editor to use tab control instead of one giant list.
Each tab is a separate hotkey section.
Modify EDA_HOTKEY_CONFIG to change the m_Comment member to m_Title for a new purpose.
We want a pretty title in the hotkey editor. We use m_Title for the key export comment which
still conveys the purpose just as easily.
Refactored usage of wxGrid into wxListCtrl which allows capturing navigation characters
and also works better (single selection is built in).
Add hotkey overwrite prompts that are paired with "Common" section. It will check if a hotkey
overlaps with the proper sections. i.e. Common with the all other sections; or Section 1 with just Common.
Right-click menu removed due to wxListCtrl being able to catch the special keys properly.
2014-10-15 21:17:46 -04:00
jean-pierre charras
d82f403fd7
Libview and Modview: fix issues relative to hotkeys (hardcoded keys instead of user defined keys) and not working tools and popup menus.
...
Fix also some minor coding style issues.
2014-10-15 13:40:38 +02:00
Maciej Suminski
788a25438a
pcbnew: Minor fixes to 'Find Item' dialog (GAL canvas).
2014-10-13 20:27:36 +02:00
Maciej Suminski
d12ffd307f
Added missing header file.
2014-10-13 15:30:57 +02:00
Maciej Suminski
0d7b7b02e7
pcbnew: Apply display settings on canvas switch (GAL canvas).
2014-10-13 15:26:06 +02:00
Maciej Suminski
ac7bdfc7f6
pcbnew: Fixed 'Find Item' (GAL canvas).
2014-10-13 15:25:16 +02:00
Maciej Suminski
18c9a62c6e
pcbnew: DIALOG_FIND allows to change warp options and set callbacks for found items.
2014-10-13 15:23:30 +02:00
Maciej Suminski
1c74019f4c
pcbnew: Added "Get and Move" in pcbnew (GAL canvas).
2014-10-13 15:22:14 +02:00
unknown
4280a1f5d3
Fix absence of PCB_TARGET class in python interface.
2014-10-13 13:14:02 +02:00
jean-pierre charras
82339a9235
Fix bug #1358742 (drill map file output faulty), which was Gerber format specific.
...
Minor code change (which removes a SWIG warning)
2014-10-13 10:40:34 +02:00
Mark Roszko
2d008c79fd
More module to footprint UI fixes.
2014-10-12 11:12:02 -04:00
Mark Roszko
a08471b725
Convert UI inconsistent use of legacy term module to footprint.
2014-10-09 20:23:40 -04:00
Bernhard Stegmaier
a9ab824373
Fix OSX wxPython scripting build when running parallel builds.
2014-10-09 19:45:58 -04:00
Berhnard Stegmaier
b8d1789a22
OSX build fixes and improvements.
...
* Fix creation of single app bundle with respect to scripting support.
* Cleanup scripting search paths for OSX.
* Fix some small CMake bugs from previous OSX build change.
* Optimize bundle file structure to be consistent with Apple specs.
* Add helper script for compiling wxWidgets and wxPython
* Update OSX build instructions.
2014-10-08 14:41:36 -04:00
Mark Roszko
fbc4abc55a
Update module to footprint in the little info bar at bottom of window
...
Fix text in Get and Move Footprint Dialog
Fix right click in board editor options
2014-10-08 02:26:26 -04:00
Mark Roszko
fcbfaac7c9
Update footprint editor property dialog to use "Footprint" instead of "Module"
2014-10-08 01:58:59 -04:00
Mark Roszko
bfdc13df61
Update footprint property editor (activated from board editor) to use "Footprint".
2014-10-08 01:54:52 -04:00
Mark Roszko
08f0051799
Rename module to footprint in menu,toolbars, window, etc that are in code
2014-10-08 01:50:56 -04:00
Henri Valta
bfab279a43
Fix parallel build issue when KICAD_SKIP_BOOST=ON.
2014-10-07 14:10:01 -04:00
jean-pierre charras
fc2229dfca
Eeschema: fix Bug #1376669 (graphics lost in aliased components)
...
Cleaning 3 svg files (no icon change)
Very minor other changes.
2014-10-06 20:13:11 +02:00
Wayne Stambaugh
99f30c9d38
Road map and Doxygen work.
...
* Remove obsolete settings from Doxygen configuration file.
* Fix some Doxygen warnings.
* Add the board edge segment snapping to developers road map.
* Fix some coding style issues in CMakeLists.txt
2014-10-05 21:18:24 -04:00
Lorenzo Marcantonio
94f8c2a276
Implemented TEXTE_MODULE::GetShownText
...
Handles % macro expansion in user texts inside pcb modules.
At the moment the following are available:
%% A plain %
%R Insert the reference
%V Insert the value
2014-10-04 17:15:38 +02:00
Bernhard Stegmaier
8b3c14c08b
OSX build improvements.
...
* Compile all binaries into a single application bundle.
* Use CMake BundleUtilities to make application bundle relocatable.
* Restructure build output to directly create an image file.
* Fix default search paths.
* Set KIGITHUB environment variable.
* Added patch to fix wxWidgets so names for OSX.
2014-10-02 19:03:52 -04:00
jean-pierre charras
e6274f70b0
BOARD::Add(): fix an issue for tracks: parent not set (could be an issue only in python scripts, because the parent is set by the constructor)
...
*.i : fix coding style issues.
python method: add BOARD_ITEM Duplicate, which is a wrapper to Clone(). ( defined as Cast_to_BOARD_ITEM(selt.Clone()).Cast() )
update some .py examples.
2014-10-02 19:09:32 +02:00
Wayne Stambaugh
7c747c1a44
Fix field greater than 2 legacy footprint library file parser bug. (fixes lp:1375419)
2014-10-01 10:13:11 -04:00
jean-pierre charras
e617c5e6b1
Pcbnew: fix some issues when using python scripting (remove outdated SEG_ZONE item, fix broken access to netclass, track width and via size lists, add missing access to zones)
...
Update listPcb.py to show how to access zones.
2014-09-30 20:23:27 +02:00
Andrew Zonenberg
45a8e4da74
pns_router: Support for blind/buried vias.
2014-09-30 16:46:19 +02:00
jean-pierre charras
927d11f78c
Eeschema: fix Bug #1375581 (libraries setup empty after clicking "print" icon)
2014-09-30 10:12:00 +02:00
jean-pierre charras
24ed7f50f5
Pcbnew: fix Bug #1370321 (Change Segment function applies last netclass used).
...
Also update main toolbar track width and via size info in pns router mode, when starting a track, and other very minor update issue.
2014-09-28 16:44:47 +02:00
jean-pierre charras
b653da5e29
change name TEXTE_MODULE::MirrorWithModule to TEXTE_MODULE::MirrorTransformWithModule, because it is a function specific to a footprint transform in modedit.
...
change also name TEXTE_MODULE::RotateWithModule to TEXTE_MODULE::RotateTransformWithModule for same reason.
Pcbnew: fix Bug #1374484 (text changes position when module is flipped and rotated). Fix also some bugs in modedit, in block commands.
2014-09-27 18:39:18 +02:00
jean-pierre charras
ea06ad14ae
Pcbnew: fix Bug #1373468 (Non Copper Zones Properties dialog "Layer selection" empty) (Linux specific)
2014-09-25 09:07:17 +02:00
jean-pierre charras
980ffac1c3
Pcbnew: add append board function, only available when Pcbnew is run in standalone mode (outside a project), to allow a basic panelization.
...
(this function is not compatible with a project, because it breaks the coherency with the schematic)
2014-09-24 18:56:20 +02:00
jean-pierre charras
70a61b8028
Pcbnew: fix Bug #1373267 (polygons in footprint outlines do not flip correctly)
...
Minor other fixes.
2014-09-24 18:42:56 +02:00
jean-pierre charras
dda896d530
dialog fp lib table: fix compatibility issue with wx 2.8
2014-09-22 11:37:22 +02:00
jean-pierre charras
6bae852cb9
Minor fixes: specctra export: skip malformed circles (having a radius = 0) in board outline creation, which can crash 3d-viewer or vrml export.
...
dialog_fp_lib_table: remember during a session the last open table (global or local).
drawing_tool: fix compil warning
Update demos.
2014-09-22 09:51:06 +02:00
Wayne Stambaugh
12f3fd35de
Fix Pcbnew design rules dialog wxGrid tab traversal bug. (fixes lp:1060028)
...
* Set wxGrid tab behavior to leave grid when using the tab key.
* Lots of coding policy fixes.
2014-09-19 19:58:32 -04:00
jean-pierre charras
686253cbaa
IO_MGR::PCB_FILE_T IO_MGR::GuessPluginTypeFromLibPath() : better test for KICAD type footprint libraries: previoulsy, just test if a library name ends with .pretty, which is not enough.
...
GitHub lib names also ends by .pretty, so also test if a lib name does not start by http (which could be a GitHub lib name).
2014-09-18 12:29:52 +02:00
jean-pierre charras
93a3d4cb28
Eeschema: back to KICAD_KEEPCASE option, to find parts in lib, when using case sensitive option (default).
...
Schematic component properties dialog: add 2 helper buttons to manage the chip name (name of the corresponding part in lib)
- a browse button to chose an other chip name
- a test button, to know if the part exists. If not existing, list the parts found when searching using a case insensitive comparison.
2014-09-17 18:04:04 +02:00
Tomasz Wlostowski
0cf334a072
pcbnew: bugfix for "PNS router allocates all memory"
2014-09-16 14:12:59 +02:00
Maciej Suminski
d3f6e3d623
pcbnew: Fixes crash when a module is changed after modification in the module editor.
2014-09-15 16:21:48 +02:00
jean-pierre charras
efd4c123eb
Fix bug #1369281 ( Pcbnew, initial save broken )
2014-09-14 19:12:56 +02:00
unknown
c1e0a8d067
Patch for the Python footprint wizard helpers. This adds a few more drawing functions, such as for circles, and also uses a matrix-based transform stack with greatly simplifies constructing footprints consisting of regularly spaced elements (e.g. in lines, grids, circles, or some list of points that you specify).
...
This fixes bug #1366299
2014-09-14 18:29:10 +02:00
jean-pierre charras
aa9de21cd7
Ref and Value for footprints: use now the layer color, not a specific color: this is needed by the fact these fields can be on an other layer than silk screen, and therefore must have the corresponding color
...
Also do not allow copper layers, solder paste and solder mask: put Ref or Value on these layers has no sense, and can create serious issues on the board.
2014-09-14 17:34:37 +02:00
Lorenzo Marcantonio
260ca0e79f
Added support for decoupling stored text from shown text in EDA_TEXT
...
Factored out text ellipsing support to max 15 character (for generating menu items)
2014-09-13 20:15:45 +02:00
Lorenzo Marcantonio
1247264458
Added layer change to the module text dialog (both user text and reference/value)
...
Since reference and value are not anymore always on silk changed the label on the corresponding options in the plot dialog
The 'proper Gerber extensions' was renamed in dialog as 'Protel Gerberl extensions': I don't know if it was a typo/misunderstanding or what but the proper extension is gbr; the set of alternative extensions seems to be the one used by Protel/Altium.
2014-09-13 08:15:16 +02:00
Lorenzo Marcantonio
0da38e5b62
More work on module texts, and especially on the collector
...
The members SetIgnoreMTextsOnCopper, SetIgnoreMTextsOnCmp,
SetIgnoreModulesOnCu, SetIgnoreModulesOnCmp in the collector guide are
renamed to the clearer SetIgnoreMTextsOnBack, SetIgnoreMTextsOnFront,
SetIgnoreModulesOnBack, SetIgnoreModulesOnFront
Modified the collector and drawing behaviour for text in modules as
discussed in the mailing list.
* Now module text on layers different than Silk should work! *
Still need UI support for setting the layer in the module editor.
2014-09-11 18:35:19 +02:00
Lorenzo Marcantonio
424aac6cf2
TEXTE_MODULE cleanup in preparation for text on different layers
...
- Removed the friends MODULE and FOOTPRINT_EDIT_FRAME from TEXTE_MODULE
(as in the @todo comment)
- Refactored the Rotate/Flip/Mirror for text in modules into the
TEXTE_MODULE class itself (members RotateWithModule, FlipWithModule,
MirrorWithModule)
- New behaviour in coloring text on screen: reference and value still
take the color from the MOD_TEXT_FR_VISIBLE and MOD_TEXT_BK_VISIBLE
visibles; other text takes the color of the layer containing it
(except when hidden, obviously) but still get its visibility
controlled by those visibles (probably the most intuitive and useful
behaviour)
- Still need to decide: should text on a layer be hidden when the layer
is? Probably yes (still to be implemented);
- Some comment fixed and many cast converted to static_cast
2014-09-10 17:18:42 +02:00
Lorenzo Marcantonio
c5681a3278
Backed out assembly plot patch
2014-09-09 18:55:27 +02:00
jean-pierre charras
fb590c7231
Fix PCB Module Editor Help Error.
...
Remove a minor compil warning in shape_collisions.cpp
2014-09-09 18:46:12 +02:00
Lorenzo Marcantonio
032b7cb71b
Implemented special rules for plotting assembly layers
...
- Reference is visible on silk and the corresponding assembly layer
- Reference is shown on assembly always on the component insertion point
Hidden references are not forced shown in assembly plots (there is
already a user option for that)
2014-09-08 19:57:39 +02:00
Maciej Suminski
9fca82c23f
pcbnew: bugfix for crashes when canvas is switched while dragging items (GAL).
2014-09-08 14:09:20 +02:00
Maciej Suminski
16b2c40184
pcbnew: Fix crashes of tools that rely on BOARD data.
2014-09-08 14:07:10 +02:00
Maciej Suminski
9195409f5e
pcbnew: GAL updates the worksheet layout when it is reloaded.
2014-09-08 14:06:38 +02:00
jean-pierre charras
ded4bf6477
Pcbnew: fix Bug #1366701 (Module position file (.pos) generation fails for F.Cu layer)
2014-09-08 13:07:54 +02:00
Dick Hollenbeck
3e861db371
Lock file improvements.
2014-09-07 15:01:26 -04:00
jean-pierre charras
fc6d73813e
Kicad: more understandable dialog when creating a project from template. Fix also a bug when copying and renaming template files.
...
Pcbnew: dialog to create new .pretty lib: fix an issue which prevent to open a full disk directory (at least on Windows)
2014-09-06 21:55:20 +02:00
Moses McKnight
6da5e2cdd0
Configuration file consolidation patch from Moses McKnight.
...
* Create GetNewConfig() and GetKicadConfigPath() to unify configuration file
creation and location.
* Move Windows configuration out of the registry into configuration files.
* Move Linux configuration files from $HOME to $HOME/.config/kicad to eliminate
configuration file pollution in the users $HOME folder.
* Fix a bug in the configuration file where the Eeschema hot keys are saved.
2014-09-05 17:12:38 -04:00
Maciej Suminski
c13cdb0964
Fixed line width settings in the module editor (GAL).
2014-09-01 13:48:51 +02:00
Maciej Suminski
b86ac3b3ab
GAL module editor selects the front silkscreen layer by default.
2014-09-01 13:48:10 +02:00
jean-pierre charras
3814cdaff1
Pcbnew: Minor fix in hotkeys. Demos: add an example to use a local fp-lib-table and local libs, and update schematics and boards.
2014-08-31 18:19:07 +02:00
Wayne Stambaugh
ec9cd765bc
Fix default menu alt key accelerator bug. (fixes lp:1035151)
...
* Add hot key handled return indicator to DRAW_FRAME::GeneralControl() and
DRAW_FRAME::OnHotKey() and all classed derived from DRAW_FRAME.
* Add code to all GeneralControl() and OnHotKey() functions to return true if
hot key was handled.
* Call event skip in DRAW_PANEL::OnKeyEvent() when key event is not handled to
allow default menu event handler to function properly.
2014-08-29 16:23:40 -04:00
jean-pierre charras
3d83434275
Very minor fixes.
2014-08-29 08:47:05 +02:00
jean-pierre charras
d8c3ccb424
Pcbnew, Eeschema: release lock file when these editors are closed (Until now, the lock file was released when the full Kicad application was closed, not when the editor was closed).
...
Should fix Bug #1360470 and Bug #1359502 .
2014-08-26 12:54:22 +02:00
Wayne Stambaugh
0b69ed3a5c
Fix Eeschema sheet issues. Should close out bug lp:593782
...
* Refresh canvas when user cancels edits so that the discarded sheet is
cleared from the schematic.
* Add file name validation to the sheet properties dialog to prevent
illegal file name characters from being entered into the text control.
* Rename FOOTPRINT_NAME_VALIDATOR to FILE_NAME_CHAR_VALIDATOR for clarity.
2014-08-24 18:49:31 -04:00
jean-pierre charras
5a38d2b657
Rework on env. variable KISYS3DMOD. Until now, was used in different files using different ways, so no consistency between files.
...
code cleanup.
2014-08-24 09:05:07 +02:00
jean-pierre charras
4c20fb4c4b
3d-viewer: code cleaning.
2014-08-21 13:59:57 +02:00
jean-pierre charras
fafd19c616
Add patch from Mario Luzeiro to 3D viewer. Fix a serious issue due to duplicate ID used in menus and toolbars between sub-applications, related to wxUpdateUIEvent events loop.
...
wxUpdateUIEvent events can be sent to parent frames, when opening a menu in a child frame, if parent and child frame share same ID fro menuitems (or tools)
The wrong menuitem can be used in some cases ( because there are more than one menuitem with the same identifier), by a wxUpdateUIEvent event function run in a parent frame.
2014-08-19 16:51:15 +02:00
Dick Hollenbeck
49538cafb9
https://lists.launchpad.net/kicad-developers/msg14286.html
2014-08-17 18:00:49 -05:00
Dick Hollenbeck
26c731ff42
abandoned
2014-08-14 09:05:07 -05:00
Andrew Zonenberg
484bc8344c
Fix a c_str() to wxString conversion memory overflow bug.
2014-08-13 16:57:22 -04:00
Dick Hollenbeck
7e483f69bd
Modular KiCad Blueprint Milestone B), major portions:
...
*) When kicad.exe closes a project, close any open KIFACEs so that they cannot
get disassociated from their true PROJECT.
*) Allow loading eeschema library editor from kicad.exe
*) Allow loading pcbnew library editor from kicad.exe
*) Rename LIB_COMPONENT to LIB_PART.
*) Add class PART_LIBS, and PART_LIB.
*) Make PART_LIBS non-global, i.e. PROJECT specific.
*) Implement "data on demand" for PART_LIBS
*) Implement "data on demand" for schematic SEARCH_STACK.
*) Use RSTRINGs to retain eeschema editor's notion of last library and part being edited.
*) Get rid of library search on every SCH_COMPONENT::Draw() call, instead use
a weak pointer.
*) Remove all chdir() calls so projects don't need to be CWD.
*) Romove APPEND support from OpenProjectFiles().
*) Make OpenProjectFiles() robust, even for creating new projects.
*) Load EESCHEMA colors in the KIWAY::OnKiwayStart() rather in window open,
and save them in the .eeschema config file, not in the project file.
*) Fix bug with wxDir() while accessing protected dirs in kicad.exe
*) Consolidate template copying into PROJECT class, not in kicad.exe source.
*) Generally untangle eeschema, making its libraries not global but rather
held in the PROJECT.
2014-08-13 15:28:54 -05:00
Wayne Stambaugh
c63459653a
CvPcb: fix broken event ID for configuration button on toolbar.
...
* Remap configuration button on toolbar to launch footprint library table
editor.
* Remove legacy footprint library path dialog from CVPCB_MAINFRAME.
* Remove unused event ID ID_CVPCB_CREATE_CONFIGWINDOW.
* Minor coding policy fixes.
2014-08-13 15:26:31 -04:00
unknown
c8d69f19c8
Pcbnew: add drc test for texts on copper layer (only in full drc test, not in on line drc), from a patch sent by Simon Schumann
...
Add EDA_TEXT::TransformTextShapeToSegmentList function to export a list of segments used to draw/plot the text.
2014-08-13 17:47:02 +02:00
Tomasz Włostowski
adbf343fef
bugfix: SIGABRT after starting a track with PNS and switching canvases a few times
2014-08-13 17:25:54 +02:00
Wayne Stambaugh
fc13e5d651
Footprint text properties dialog improvements and coding policy fixes.
...
* Improve footprint text properties layout.
* Use wxStdDialogButtonSizer instead of manually laid out buttons to improve
platform UI consistency.
2014-08-13 09:15:15 -04:00
jean-pierre charras
5b28980a05
Pcbnew, Cvpcb: fix Bug #1355883 . Due to a missing call to a delete operator in CMP_READER class (also creates memory leak).
2014-08-12 19:52:12 +02:00
Maciej Suminski
b649578734
FIxed invisible layers problem after changing the number of layers (GAL).
2014-08-12 10:17:16 +02:00
unknown
84a985f8af
Pcbnew: Commit patch (with very minor changes) about SVG file export with the layers ordered from bottom to top. ( bug 1286646 ), from Thiadmer Riemersma.
2014-08-10 16:15:02 +02:00
jean-pierre charras
cd85ee626b
Cosmetic enhancement: change plot icon in menus.
...
3dviewer: back to double (from float) in class S3D_MASTER for 3 members (m_MatScale, m_MatRotation, m_MatPosition) which are used in dialogs and r/w file functions, which expect double.
Using float create minor but unwanted issues in r/w file functions.
S3D_MATERIAL: enable all color options: if a 3d shape has bad color parameters, the shape must be modified, not the 3d rendering.
The rendering now matches what we see in other vrml viewer like FreeCAD.
Some minor coding style fixes.
2014-08-09 20:18:04 +02:00
Maciej Suminski
ca399b6401
Buried/blind vias indicate the layers they go through (GAL).
2014-08-06 13:53:02 +02:00
Maciej Suminski
bcdd3d7bb9
Items are either dragged by their origin or moved by a vector (depending on the number of selected items) (GAL).
2014-08-06 09:35:03 +02:00
Maciej Suminski
1b058cae1e
Disable highlight mode in the module editor (GAL).
2014-08-06 09:33:10 +02:00
Maciej Suminski
242d42cf1d
Changed 'line width change' & 'change arc posture' to TOOL_ACTIONs.
2014-08-04 14:23:19 +02:00
Maciej Suminski
64a9ebc70e
Selected items do not disappear after rendering backend switch.
2014-08-04 10:43:26 +02:00
Maciej Suminski
fa08d9fdcf
Fixed module anchor drawing (GAL).
2014-08-04 10:42:20 +02:00
Maciej Suminski
03a17a284b
bugfix: modules are not selectable in the high contrast mode (GAL).
2014-08-04 10:06:24 +02:00
jean-pierre charras
764369439e
Add comments. Fix bug #1351507 (pad color does not reflect, whether the pad is on front or back layer) and bug #1351388 (Adding a keepout area appears on the opposite layer than selected)
2014-08-02 12:29:10 +02:00
Maciej Suminski
94a46bf2df
Fixed pcbnew crash when a locked footprint is dragged from an edge of the screen.
2014-08-01 11:28:08 +02:00
Michael Narigon
34b645daed
warnings
2014-07-30 22:04:34 -05:00
jean-pierre charras
01a8442b35
3d viewer: minor code cleaning (remove useless #include )
...
dialog_track_via_size: set minimal size and make dialog resizable.
Update demo file.
2014-07-30 17:39:55 +02:00
unknown
7a4ea8955e
3D viewer enhancements (better render + better vrml reader) from Mario Luzeiro
2014-07-30 11:01:25 +02:00
jean-pierre charras
1540368422
Minor fixes and changes:
...
Remove a minor warning message in Debug mode for 2 dialogs.
Pcbnew: update Gerber X2 file format (File Attribute) to very last X2 specification
Eeschema: Fix a minor bug in block selection (sometimes the last selected component was select instead of items in selected area)
and better drag behavior when draging an item by the drag hotkey.
2014-07-29 18:38:27 +02:00
Maciej Suminski
6ba1410054
Fixed vanishing pads issue in the pad properties dialog (GAL).
2014-07-28 14:01:29 +02:00
Andrew Zonenberg
59be0f6ef7
1) Pad properties dialog can trigger divide-by-zero when "0" is entered as the pad size
...
2) PNS router incorrectly detects collisions with blind/buried vias that don't actually intersect the active layer
3) PNS router silently converts blind/buried vias to through-board vias when shoved
2014-07-28 11:32:15 +02:00
jean-pierre charras
33605eaaec
Eeschema fixes: fix Bug #1348983 save cmp file crashes cvpcb when eeschema is opened (backannotation crashes). Happens only when some footprint names are not set (blank names).
...
Also fix incorrect backannotation when footprint names contain spaces (put spaces in names is always a bad idea)
* Fix minor Bug #1349058 Choose component dialog: Search field loses focus after entering a character and internationalize the dialog.
* Fix a subtle bug which prevent eeschema to read the project config file when launched from kicad manager, and when kicad.pro is not found.
2014-07-28 11:24:15 +02:00
Andrew Zonenberg
e6fba84e13
Push-and-shove router now handles existing blind/buried vias properly. Can't yet create new ones.
2014-07-27 15:01:06 -04:00
Andrew Zonenberg
8c1dd1392e
Fixed divide-by-zero in D_PAD::ViewGetLOD()
2014-07-27 15:00:39 -04:00
jean-pierre charras
37757b5283
* Fix Bug #1348607 and a possible crash in libedit dialog component properties after moving up the first user field (which in not possible now).
...
* better info message in pcbnew when trying to delete a footprint in legacy library
2014-07-25 19:49:14 +02:00
jean-pierre charras
6cc3addc68
Fix overflow in track len calculations and display (Bug #1347878 ), in high-light tool.
2014-07-24 19:36:26 +02:00
Maciej Suminski
893618bf3f
Fixed a hot key conflict.
2014-07-24 13:09:16 +02:00
jean-pierre charras
13b0784cd5
Fix overflow in track len calculations and display (Bug #1347878 ).
2014-07-24 08:43:23 +02:00
Andrew Zonenberg
c1f11a1bd1
Draw VIAs only if a layer they penetrate is visible.
2014-07-23 11:27:52 -05:00
unknown
bde2a0a1be
Pcbnew: fix issue for "one file per layer" option in "Export SVG file"
2014-07-23 15:01:23 +02:00
Maciej Suminski
1d378cfcd1
View is automatically centered when a module editor or viewer are opened (GAL).
2014-07-23 12:06:24 +02:00
jean-pierre charras
4fc4ea6147
Make some system error messages not translatable. Better comments in some dialogs.
2014-07-23 12:48:30 +02:00
jean-pierre charras
580a1a6aa0
ModEdit: fix some issues due to the fact legacy footprint libraries cannot handle 32 copper layers, and are therefore no more editable:
...
* in file/library save as..., remove option to save a lib under the legacy format (which is not possible and creates an error message)
* if the current loaded lib is a legacy lib, when the user try to save or delete a footprint, displays a message which explains what the user should do.
* add a suitable dialog to select/create a .pretty folder library (a file dialog or a dir dialog coming from wxWidgets is not friendly usable.)
2014-07-23 12:28:48 +02:00
Maciej Suminski
e46780f89f
Modules loaded by the module editor are placed in the world origin (GAL).
2014-07-22 09:50:40 +02:00
jean-pierre charras
38027eb998
3d viewer: Add high quality mode option is realistic mode (Shows holes in copper zones, but with longer calculation time)
...
Gal: fix a very minor issue: the keys to switch between copper layers are now - and + (according to the doc and the normall mode), instead of - and =
2014-07-21 18:26:18 +02:00
Maciej Suminski
2f7b9bcd71
Fixed bug: module editor doesn't respect global "per module" solder mask clearance (GAL).
2014-07-21 13:17:11 +02:00
Maciej Suminski
0ec256ccb4
Fixed bug: solder paste clearance is not displayed (GAL).
2014-07-21 12:54:58 +02:00
jean-pierre charras
cab7e67b59
fix Bug #1345193 : Drill Map coordinates alway 0 when using Gerber format (due to a missing plotter initialization).
2014-07-21 11:42:36 +02:00
jean-pierre charras
680ca22279
Fix crash in Pcbnew and Gerbview when seceting (in layers manager) "always hide all layers but activer"
2014-07-20 19:41:12 +02:00
unknown
d6fbfbc001
Pcbnew: fix bug when generating drill files for blind/buried vias.
2014-07-20 16:46:59 +02:00
jean-pierre charras
4c77724134
Very minor fixes. *.kicad_pcb files update to current Pcbnew version.
2014-07-20 12:41:14 +02:00
jean-pierre charras
9ecb10996c
Fix wx28 compil issue, and a compil warning.
2014-07-15 20:13:08 +02:00
jean-pierre charras
197371de5f
dialog non copper zones: better look. dialog copper zones: fix a minor bug.
2014-07-15 18:53:13 +02:00
Maciej Suminski
0adb6fa943
Module editor does not ask for permission to modify a locked module.
2014-07-15 17:33:19 +02:00
Maciej Suminski
f24075bbf5
Fixed offset of dragged items when the moving tool is invoked by the hotkey (GAL).
2014-07-15 16:33:46 +02:00
Maciej Suminski
2c5b79456e
Fixed crash in pad properties dialog with wxWidgets 2.8.
2014-07-15 16:02:08 +02:00
Maciej Suminski
568fc74a3c
Clicking on the Selection Tool toolbar button deactivates the current tool (GAL).
2014-07-15 11:50:00 +02:00
Maciej Suminski
a1e08ae568
Drawing tools reset its state on layer change.
2014-07-15 11:41:55 +02:00
Maciej Suminski
8d91587863
PNS settings dialog size corrected.
2014-07-15 10:57:51 +02:00
jean-pierre charras
a82127277c
Gerbview: fix scaling error in x.6 file format. Minor cleaning code.
...
Better separation between Pcbnew code and Gerber code.
Update export to Pcb code (uses now the version 4 kicad_pcb file format).
2014-07-14 20:59:41 +02:00
Maciej Suminski
3aef4252ab
Refinement to commit #4993 .
2014-07-14 16:43:21 +02:00
Maciej Suminski
c3ed210e5d
Increase panning area in GAL view.
2014-07-14 09:43:20 +02:00
Kirill Mavreshko
ae44fb62fc
bugfix: pcbnew crashes when you try to save a file
2014-07-14 09:41:02 +02:00
Maciej Suminski
14cfd173e6
Fixed the Module viewer crash when there is no footprint loaded.
2014-07-09 16:57:01 +02:00
Maciej Suminski
78853febbe
Zone fill/unfill actions in context menu (GAL).
2014-07-09 16:57:01 +02:00
Maciej Suminski
898e4e269e
Fixed the only-type condition for empty selection case.
2014-07-09 16:50:31 +02:00
Maciej Suminski
e6c1254dc8
"Create corner" context menu entry for draw segments and zone outlines (GAL).
2014-07-09 16:50:31 +02:00
Maciej Suminski
4068d6c858
Selection tool uses the real drag origin to compute offset when dragging items.
2014-07-09 16:50:31 +02:00
Maciej Suminski
b8fd1de71c
Added module texts to the preferred types list in SELECTION_TOOL.
2014-07-09 16:50:31 +02:00
Maciej Suminski
433e17a582
Support for "locked" property for modules (GAL).
2014-07-09 16:50:31 +02:00
Maciej Suminski
c1eda6b88c
Some of the Tool Actions need to be run in immediate mode - fixed.
2014-07-09 16:50:31 +02:00
Maciej Suminski
49dd416c53
Dragged items offset is cleared when dragging is finished.
2014-07-09 16:50:31 +02:00
Maciej Suminski
f32419f7e6
New pads in the module editor does not show up in the center of the edited module.
2014-07-09 16:50:31 +02:00
Maciej Suminski
327f307a7f
FIx layer switching after via placement in PNS router.
2014-07-09 16:50:31 +02:00
Maciej Suminski
0953d5730b
Clear selection before opening the module editor.
2014-07-09 16:44:23 +02:00
Maciej Suminski
f2b5cf7d94
Fixed module editor crash when pcbnew is started from the main launcher.
2014-07-09 16:44:23 +02:00
Maciej Suminski
0163b589b4
Workarounded restoring focus to GAL canvas after layer switching.
2014-07-09 16:44:22 +02:00
Maciej Suminski
b1837615aa
Added event queue to handle events at the end of the event processing cycle.
2014-07-09 16:25:50 +02:00
Maciej Suminski
81ad03cf91
Code formatting.
2014-07-09 16:25:50 +02:00
Maciej Suminski
db0d708300
Simplified code for switching layers in GAL view. Tools are notified of layer change event.
2014-07-09 16:25:50 +02:00
Maciej Suminski
c0a96141df
Added AF_NOTIFY flag for TOOL_ACTIONs.
2014-07-09 15:10:32 +02:00
Maciej Suminski
b2d0737329
Fixed continous line drawing.
...
Outline mode can be set up on any layer.
2014-07-09 15:10:32 +02:00
Maciej Suminski
d7c3c7828b
wxWidgets 2.8 compatibility fixes.
2014-07-09 15:10:32 +02:00
Maciej Suminski
5275d4b58f
Fixed minor bugs introduced with outline mode display for module texts and edges.
2014-07-09 15:10:32 +02:00
Maciej Suminski
778011a893
Ratsnest is recalculated after global deletion of tracks and after importing a netlist.
2014-07-09 15:10:32 +02:00
Maciej Suminski
587f22e10b
Outline display mode for module edges & texts in the module editor.
2014-07-09 15:10:32 +02:00
Maciej Suminski
3b5ece39a1
Modules inserted from the module editor are instantly visible in GAL.
...
Ratsnest is updated after exporting changes from the module editor to the layout editor.
2014-07-09 15:10:32 +02:00
Maciej Suminski
65c116621d
Added support for changing the cursor size.
2014-07-09 15:10:32 +02:00
Maciej Suminski
15f5c228cc
Fixed autozooming with empty board/module.
2014-07-09 15:10:32 +02:00
Maciej Suminski
31e25ac4cf
Fixed module viewer crash.
2014-07-09 15:10:32 +02:00
Maciej Suminski
2b0e27f132
Introduced SELECTION_CONDITIONS to determine which menu entries should be visible in the SELECTION_TOOL context menu, depending on the selection.
2014-07-09 15:10:32 +02:00
Maciej Suminski
bfa15d8db0
Moved SELECTION out of SELECTION_TOOL class.
2014-07-09 15:10:32 +02:00
Maciej Suminski
d21271b432
Pad Enumeration tool support for SMD pads.
2014-07-09 15:10:32 +02:00
Maciej Suminski
709dfcc16e
Added settings dialog for Pad Enumeration tool.
2014-07-09 15:10:32 +02:00
Maciej Suminski
2bcbb67528
Initial version of the Pad Enumeration tool.
2014-07-09 15:02:56 +02:00
Maciej Suminski
cf79b4c64f
Removed redundant accessor calls in MODULE_TOOLS.
2014-07-09 15:02:56 +02:00
Maciej Suminski
ed88c40be5
Moved module editor-specific tools to a separate class (MODULE_TOOLS).
2014-07-09 15:02:56 +02:00
Maciej Suminski
0b9387fb12
Added support for graphics on Edge.Cuts layer in modules. Tested functionality that works fine:
...
- zone filling algorithm
- printing
- plotting (pdf & gerbers)
- SVG export
- Specctra export
- 3D viewer
2014-07-09 15:02:56 +02:00
Maciej Suminski
a6484f1acb
Drawing tools used to crash when the drawing tool was interrupted - fixed.
2014-07-09 15:02:56 +02:00
Maciej Suminski
b42091bc06
Fixed anchor placement tool in module editor (GAL).
2014-07-09 15:02:56 +02:00
Maciej Suminski
5f297726ca
Module anchors are visible in GAL canvas.
2014-07-09 15:02:56 +02:00
Maciej Suminski
6f772c90d9
Renamed "Placement" context menu to "Align/distribute".
2014-07-09 15:02:56 +02:00
Maciej Suminski
84fa537b22
Changes in display options are handled by PCBNEW_CONTROL (GAL).
2014-07-09 15:02:56 +02:00
Maciej Suminski
2b1d6b303a
Added support for module edge splitting with double click.
2014-07-09 15:02:56 +02:00
Maciej Suminski
47f1fec31d
DXF drawing placement tool for GAL.
2014-07-09 15:02:56 +02:00
Maciej Suminski
445d935880
Created dialog_dxf_import.h. Cleaned up some unnecessary stuff and fixed file open dialog DIALOG_DXF_IMPORT.
2014-07-09 15:02:56 +02:00
Maciej Suminski
72c70148e8
Fixed a few memory leaks and Valgrind warnings.
2014-07-09 15:02:56 +02:00
Maciej Suminski
da67880907
DXF files import is supported by module editor.
2014-07-09 15:02:56 +02:00
Maciej Suminski
b2a601756e
Refactored DXF import routines:
...
- DIALOG_DXF_IMPORT works with PCB_BASE_FRAME instead of PCB_EDIT_FRAME
- imported items are not immediately added to a BOARD
- imported items are held in a list, instead of vector
- imported items are instantly visible in GAL view
- added DIALOG_DXF_IMPORT::GetImportedItems()
- code formatting
2014-07-09 15:02:56 +02:00
Maciej Suminski
4ac277028b
Code formatting.
2014-07-09 14:41:52 +02:00
Maciej Suminski
77d8b2d84e
Context menu for the Placement Tool.
2014-07-09 14:23:13 +02:00
Maciej Suminski
f0ff744e97
Initial version of the Placement Tool.
2014-07-09 14:23:13 +02:00
Maciej Suminski
e3c4f425dc
Fixed wrong reference point for copied items in subsequent module editor invocations (GAL).
2014-07-09 14:23:13 +02:00
Maciej Suminski
ac8ee56e51
Pasted module texts are rotated in the right way.
2014-07-09 14:23:13 +02:00
Maciej Suminski
5941f196c3
Reference point is selected for copied items. Enabled autopanning for copy & paste operations (module editor/GAL).
2014-07-09 14:23:13 +02:00
Maciej Suminski
95a4f61eee
wxWidgets 2.8 compatibility fix.
2014-07-09 14:23:13 +02:00
Maciej Suminski
5e48a79639
Copy & paste for module editor (GAL).
2014-07-09 14:22:29 +02:00
Maciej Suminski
ae431bbb05
Added MODULE::Add( BOARD_ITEM* )/Remove( BOARD_ITEM* )/Delete( BOARD_ITEM* ).
...
Removed MODULE::AddPad().
2014-07-09 14:22:29 +02:00
Maciej Suminski
d73ab976df
Added support for placing the footprint anchor.
2014-07-09 14:01:06 +02:00
Maciej Suminski
637919a699
Added support for pads, texts and graphics removal in module editor (GAL).
2014-07-09 14:01:06 +02:00
Maciej Suminski
5dc1f92608
Added pad placement tool for module editor (GAL).
2014-07-09 14:01:06 +02:00
Maciej Suminski
67136d21b1
MInor fixes.
2014-07-09 14:01:06 +02:00
Maciej Suminski
ad000aefa4
Fixed the legacy module editor.
2014-07-09 14:01:06 +02:00
Maciej Suminski
99043b777d
Adapted graphics tools to cooperate with module editor.
2014-07-09 14:01:06 +02:00
Maciej Suminski
ba320ac7c3
Added "edit modules" mode for DRAWING_TOOL.
2014-07-09 14:01:06 +02:00
Maciej Suminski
fc44f34ade
Fixed DRAWING_TOOL::PlaceTextModule() method.
2014-07-09 14:01:06 +02:00
Maciej Suminski
d085ace884
Created a header file for DialogEditModuleText class.
2014-07-09 14:01:06 +02:00
Maciej Suminski
b05885c2f1
Refactored drawing tools: lines, circles and arcs.
2014-07-09 14:01:06 +02:00
Maciej Suminski
69c73b0ebc
Updated POINT_EDITOR to handle module edges.
2014-07-09 13:50:27 +02:00
Maciej Suminski
26323007b5
Added a handler for not implemented toolbar buttons functionality in GAL.
2014-07-09 13:50:27 +02:00
Maciej Suminski
94cc845b3f
Added AF_ACTIVATE flag for TOOL_ACTIONs.
...
Reworked the way of processing events in TOOL_MANAGER class.
Added GetCommandStr() for TOOL_EVENT class.
2014-07-09 13:50:27 +02:00
Maciej Suminski
34fbde42fc
Improved way of translating wxEvent commands to TOOL_ACTIONs.
2014-07-09 13:50:27 +02:00
Maciej Suminski
74522d5b3c
Corrected names of common tool actions.
2014-07-09 13:50:27 +02:00
Maciej Suminski
e3015930f1
Module editor: modules are shown in GAL mode when loaded from file/library.
2014-07-09 13:50:27 +02:00
Maciej Suminski
9ee8d1a2a7
Module editor loads the last edited footprint in GAL mode.
2014-07-09 13:50:27 +02:00
Maciej Suminski
6d1417bafa
SELECTION_TOOL in edit module mode does not try to select MODULEs.
2014-07-09 13:50:27 +02:00
Maciej Suminski
8e90a6167b
Rotate support for pads.
2014-07-09 13:50:27 +02:00
Maciej Suminski
583de985c7
Added required resets for tools.
2014-07-09 13:50:27 +02:00
Maciej Suminski
5d1ec2b204
Restored invocation of SELECTION_TOOL commands with TOOL_ACTIONs.
2014-07-09 13:50:27 +02:00
Maciej Suminski
5ce29330b1
Restored support for custom angle rotation.
2014-07-09 13:50:27 +02:00
Maciej Suminski
6e0bd1eedc
Adapted tools to PCB_BASE{_EDIT}_FRAME.
2014-07-09 13:50:27 +02:00
Maciej Suminski
b0f3e79e54
Created a common interface for edit frames.
2014-07-09 13:50:27 +02:00
Maciej Suminski
eee2779f6b
Moved some layout editor specific tool actions to another class (PCB_EDITOR_CONTROL).
2014-07-09 13:50:27 +02:00
Maciej Suminski
8898b34755
Code formatting.
2014-07-09 12:10:28 +02:00
Maciej Suminski
1617f15b51
FOOTPRINT_EDIT_FRAME undo buffer handles operations done with GAL editor.
2014-07-09 12:10:27 +02:00
Maciej Suminski
7ade7db078
SELECTION_TOOL got a new mode to edit MODULEs.
2014-07-09 12:10:27 +02:00
Maciej Suminski
d98a5c4efe
Unconditionally initialize the Tool Framework in FOOTPRINT_EDIT_FRAME.
2014-07-09 11:59:24 +02:00
Maciej Suminski
953f71df3e
Move() method updates local coordinates in EDGE_MODULE, D_PAD and TEXTE_MODULE classes.
2014-07-09 11:59:24 +02:00
Maciej Suminski
2ee890d74b
Minor changes.
2014-07-09 11:59:24 +02:00
Maciej Suminski
a6dac245c0
Removed TOOL_ACTIONs: selectionSingle, selectionClear. SELECTION_TOOL methods are called directly instead.
2014-07-09 11:59:24 +02:00
Maciej Suminski
b5b20ef4bd
Added layer widget to the module editor.
2014-07-09 11:59:23 +02:00
Maciej Suminski
dca4667e66
PCB_LAYER_WIDGET became able to cooperate with PCB_BASE_FRAME.
2014-07-09 11:59:23 +02:00
Maciej Suminski
0306ec7efe
{Set,Get}ActiveLayer moved from PCB_EDIT_FRAME to PCB_BASE_FRAME.
2014-07-09 11:50:27 +02:00
Maciej Suminski
5a428e1957
Moved layers visibility synchronization to PCB_DRAW_PANEL_GAL::SyncLayersVisibility().
2014-07-09 11:24:56 +02:00
Maciej Suminski
a24576f3ce
Initial version of the GAL-based Module Editor.
2014-07-09 11:22:43 +02:00
Maciej Suminski
8a5fedb728
Code formatting and cleaning.
2014-07-09 11:22:43 +02:00
Maciej Suminski
1f7ce5416c
Next/previous footprint toolbar buttons are handled in the Module Viewer using GAL canvas.
2014-07-09 11:22:43 +02:00
Maciej Suminski
553996e7be
bugfix: pads edited with properties dialog were not refreshed.
...
bugfix: changing track width/via size using the dropdown menu when custom size was enabled did not change anything.
2014-07-09 11:22:43 +02:00
Maciej Suminski
5134781a38
GAL view in pad properties dialog - initial version.
2014-07-09 11:22:43 +02:00
Maciej Suminski
0a6de2e13f
FOOTPRINT_VIEWER_FRAME handles events from toolbar buttons and hot keys.
2014-07-09 11:22:43 +02:00
Maciej Suminski
60b0a4e0be
Alternative approach to handling events and commands by TOOL_DISPATCHER.
...
Event handlers are (dis)connected depending on the active view.
TOOL_DISPATCHER inherits from wxEvtHandler, so now it receives events directly instead of being fed by external handlers.
2014-07-09 11:22:42 +02:00
Maciej Suminski
3fd26b6dd2
TOOL_ACTIONs are automagically registered by TOOL_MANAGER upon its construction.
2014-07-09 11:22:42 +02:00
Maciej Suminski
f5325f8d79
Removed a redundant pointer to EDA_EDIT_FRAME.
2014-07-09 11:22:42 +02:00
Maciej Suminski
e46c5cb778
Fixed toolbar buttons for zooming in GAL canvas.
2014-07-09 11:22:42 +02:00
Maciej Suminski
8059f4ddd4
Added autozooming and display of the last chosen module for module viewer using GAL.
2014-07-09 11:22:42 +02:00
Maciej Suminski
13e67e1f3c
Fixed VIEW::SetViewport().
2014-07-09 11:22:42 +02:00
Maciej Suminski
cc733a4966
Initial version of GAL-based module viewer in pcbnew.
2014-07-09 11:22:42 +02:00
Maciej Suminski
a68165d2a0
Minor changes (removed an unnecessary event handler and two function calls that had no real influence).
2014-07-09 10:57:32 +02:00
Maciej Suminski
f56e2e1454
Fixed switching between GAL canvases error.
2014-07-09 10:57:32 +02:00
Maciej Suminski
9a47f4c645
Created a specialization of EDA_DRAW_PANEL_GAL: PCB_DRAW_PANEL_GAL.
...
Moved View related routines & fields from PCB_{BASE,EDIT}_FRAME & BOARD to PCB_DRAW_PANEL_GAL.
2014-07-09 10:57:32 +02:00
Maciej Suminski
fb0045a898
Bugfix: Bottom layer not correctly handled in (PNS) Interactive router.
2014-07-07 10:48:47 +02:00
Dick Hollenbeck
c1814ad98e
netlist_stuff
2014-07-07 00:59:58 -05:00
Dick Hollenbeck
86132ad16b
add aDocName to NETLIST::Format()
2014-07-06 23:41:29 -05:00
Dick Hollenbeck
84a14c3a51
back annotation when CVPCB and EESCHEMA are running under KICAD
2014-07-06 23:12:04 -05:00
Dick Hollenbeck
7cc5985c7a
fix Inner1.Cu in pcb_parser.cpp, start cvpcb work.
2014-07-05 15:52:24 -05:00
Dick Hollenbeck
611592029f
fix Inner1.Cu in pcb_parser.cpp, start cvpcb work.
2014-07-05 15:42:59 -05:00
Lorenzo Marcantonio
e2e4fc4830
Added missing support for reading the *.CrtYd layer token
2014-07-05 14:35:18 +02:00
jean-pierre charras
9a7116d4ab
Update old demo board files. Minor code cleaning.
2014-07-04 21:36:43 +02:00
jean-pierre charras
f71418ace9
Pcbnew: fix read .kicad_pcb file error when an outdated plot parameter is found. Now outdated plot parameters are just ignored
2014-07-04 17:54:14 +02:00
jean-pierre charras
ab58dbfced
Pcbnew: Rework on Gerber ouput: allows choice between format 4.5 and 4.6. Fix a minor issue in Gerber layers attributes.
...
fix print issue when printing each layer on a separate page.
2014-07-04 16:22:38 +02:00
jean-pierre charras
5a4c16dcfb
Pcbnew, Gerbview : fix crash when updating the layer manager.
2014-07-04 15:53:41 +02:00
Lorenzo Marcantonio
89f14906a4
- Added the courtyard/fabrication layer to the layer combo and layer
...
panel
- Corrected handling of scrollability in layer panel (fixes 1336996)
2014-07-04 10:55:51 +02:00
jean-pierre charras
eb396a5e88
Fix footprint wizard issues. Fix export vrml incorrect Z position of items.
2014-07-02 15:08:28 +02:00
jean-pierre charras
39216b4b3a
Fix Bug #1336614 (Vias missing from drill export)
2014-07-02 09:05:29 +02:00
jean-pierre charras
8a1fd49377
Minor fixes in Gerber files, in file attribute for copper layers.
2014-07-01 21:20:38 +02:00
jean-pierre charras
dc38c50258
Fix Bug #1335914 (Export SVG menu) hangs pcbnew permanently.
...
Also a minor cosmetic enhancement in SVG export and plot dialogs.
2014-06-30 21:19:58 +02:00
Dick Hollenbeck
4d9f87bf0b
fix BUG parsing the kicad_pcb (layers ..) declaration section. First non-cu was being dropped.
2014-06-30 13:45:43 -05:00
jean-pierre charras
c6af2a7974
Fix a double minor bug about layers occupied by SMD pads and CONN pad:
...
The default layer stack between these 2 types was swaped in pad definition, and also in the dialog pad properties.
This double swap creates no bug, but creates bugs in the footprint wizards (SMD or CONN pads do not have the right layer stack)
FYI, the CONN pad type should be removed soon.
2014-06-30 20:14:06 +02:00
jean-pierre charras
a543f99eb3
Enable technical layers when starting Pcbnew with no board.
...
Use format 4.6 (full resolution of Pcbnew) in Gerber files to avoid the creation of self-intersecting polygons.
2014-06-30 17:46:47 +02:00
Dick Hollenbeck
e460b4a524
fix export_gencad.cpp
2014-06-30 10:03:20 -05:00
jean-pierre charras
b50872edca
Gerber output: Some changes after evaluation of Gerber files by Ucamco (the manager of GERBER format):
...
* default file ext is now .gbr (the "official extension")
* some outdated commands remoded.
* mainly use mm and 4.5 format instead of inches and 3.4 format. this is mandatory,
because the 3.4 format (comming from old pcbned internal units) creates truncations in coordinates.
(with serious issues in polygons which can appear self-intersecting afer truncation)
2014-06-30 12:00:21 +02:00
Dick Hollenbeck
60140dfbcf
merge
2014-06-30 01:44:46 -05:00
Dick Hollenbeck
1e7495e634
merge
2014-06-30 00:46:18 -05:00
Dick Hollenbeck
575f13d887
fix VIA::IsOnLayer()
2014-06-29 23:40:16 -05:00
Dick Hollenbeck
3aa880dedb
fix pcb_parser for new board, coding standards
2014-06-29 16:50:06 -05:00
Dick Hollenbeck
06bf0821b9
fix LSET() constructors, formatting
2014-06-29 15:33:29 -05:00
Dick Hollenbeck
add4d5eb6f
re-work the LSET(int,...) constructor
2014-06-29 13:09:32 -05:00
Dick Hollenbeck
0a1665d5aa
class_marker IsOnLayer()
2014-06-29 08:12:30 -05:00
Dick Hollenbeck
ad750defb6
LAYER_ID work
2014-06-29 08:05:51 -05:00
jean-pierre charras
013296cb1a
Make gerbview compilable and working (does not use now layers and layer masks from Pcbnew).
...
Export to Pcbnew is broken, but it is a very rarely used feature. It will be fixed later.
2014-06-27 19:07:42 +02:00
Dick Hollenbeck
8627684122
use LSET::any() whereever possible and avoid conversion to integral type
2014-06-25 12:01:50 -05:00
Dick Hollenbeck
8b6c569aef
copyright
2014-06-25 09:24:02 -05:00
Dick Hollenbeck
b920fa00a5
1) Fix compiles using wx 3.x and 2.8.
...
2) Fix passing wxString to common/config_params so lookup keys
can be dynamically generated. This gives ~/.kicad files all the colors.
3) Fix LEGACY_PLUGIN so it loads all layer types and masks properly.
4) Extend the table in router/pns_index.h to 128 from 64.
2014-06-24 23:36:02 -05:00
Dick Hollenbeck
ab51a49c5a
fix zones
2014-06-24 13:30:39 -05:00
jean-pierre charras
96b6e1a5cb
Make dialog pns properties resizable. DXF import: add very basic polyline import.
2014-06-24 20:04:16 +02:00
Dick Hollenbeck
4578ea8b9e
1) Add 32 Cu Layers.
...
2) Change from legacy Cu stack to counting down from top=(F_Cu or 0).
The old Cu stack required knowing the count of Cu layers to make
sense of the layer number when converting to many exported file types.
The new Cu stack is more commonly used, although ours still gives
B_Cu a fixed number.
3) Introduce class LSET and enum LAYER_ID.
4) Change *.kicad_pcb file format version to 4 from 3.
5) Change fixed names Inner1_Cu-Inner14_Cu to In1_Cu-In30_Cu and their
meanings are typically flipped.
6) Moved the #define LAYER_N_* stuff into legacy_plugin.cpp where they
can die a quiet death, and switch to enum LAYER_ID symbols throughout.
7) Removed the LEGACY_PLUGIN::Save() and FootprintSave() functions.
You will need to convert to the format immediately, *.kicad_pcb and
*.kicad_mod (=pretty) since legacy format was never going to know
about 32 Cu layers and additional technical layers and the reversed Cu
stack.
2014-06-24 11:17:18 -05:00
Maciej Suminski
95a6e8deb2
Dragging items by their origin is optional (activated by dragging elements with Ctrl held).
2014-06-23 16:12:59 +02:00
Kirill Mavreshko
b4e0a5cbbf
Fixes bug #1332438 : PNS router crashes when you another track while routing in "shove" mode
2014-06-23 08:50:53 +02:00
jean-pierre charras
4cd4990bc2
Fix compil issue with KICAD_SCRIPTING_WXPYTHON option ON.
...
Minor enhancements.
2014-06-20 19:29:35 +02:00
jean-pierre charras
7c99a242cf
Remove 2 global variables: g_DrawBgColor and g_ShowPageLimits.
...
They are now member of EDA_DRAW_FRAME.
This change could fix Bug #1330781 (Background color change in Eeschema affects background color in Pcbnew)
Show page limits has meaning only for the schematic editor, the board editor and the page layout editor.
Draw background color selection exists only in eeschema and page layout editor.
In pcbnew, only a black background is allowed.
A side effect is now the user should set the background color in schematic editor, and the library editor (2 different options).
The default is still the white color.
2014-06-20 13:13:04 +02:00
unknown
1a47508832
Gerber X2 patch (Support for the "file function" attribute) from Thiadmer Riemersma, committed in rev 4948: minor fix for better compatibility with older versions of Pcbnew
2014-06-19 09:12:48 +02:00
jean-pierre charras
9ee8dac056
Pcbnew, python console: make it not dockable (workaround to avoid the fact accelerator keys which are used in the main menu are not sent to the console, in docked mode).
...
Minor cosmetic enhancement.
2014-06-19 08:26:53 +02:00
jean-pierre charras
a2abb20793
Pcbnew, python console: make it not dockable (workaround to avoid the fact hot keys which are used in the main menu are not sent to the console, in docked mode)
...
Minor cosmetic enhancement.
2014-06-18 18:33:16 +02:00
jean-pierre charras
ba2c763222
better management of Python console.
2014-06-18 13:44:17 +02:00
jean-pierre charras
688dbe5de1
Minor cosmetic enhancement, and try to fix an issue with accelerator keys and the Python scripting console
2014-06-17 20:31:27 +02:00
Dick Hollenbeck
2ff53e95bd
fix some bugs in FOOTPRINT_VIEWER_FRAME, get rid of statics
2014-06-16 14:00:26 -05:00
jean-pierre charras
f43cf03789
Fix specctra export crash, when a non copper zone was found on the board to export.
2014-06-16 14:04:55 +02:00
unknown
a91eabb805
Apply vrml_layer_pth, from Cirilo Bernardo
2014-06-16 14:02:15 +02:00
jean-pierre charras
52d2e7eb59
Fix a bug in ClassOf which crashes Pcbnew when its argument is NULL. It fixes bug #1329364 .
2014-06-12 22:03:57 +02:00
Lorenzo Marcantonio
bee6b9f9b7
Fixes #1186269
...
- Refactored the common part of cursor key movement and crosshair update
in the various GeneralControl
- Add x10 movement with the keyboard (CTRL modifier)
- Avoid fixup of the cursor position by dummy mouse movements generated
by cursor warping (original analysis and idea Chris Gibson)
- Do key handling in a way to permit sub-pixel cursor movement
2014-06-12 18:12:14 +02:00
Dick Hollenbeck
21b70093b0
refinements
2014-06-11 00:57:26 -05:00
Dick Hollenbeck
1385e39d89
Save the footprint editor's last footprint in the PROJECT RString facility.
2014-06-11 00:18:41 -05:00
Dick Hollenbeck
3d311f831e
*) Remove more wxString static constructors which were crashing in PAGE_INFO assignment
...
to a new BOARD in the footprint editor. This is PAGE_INFO::A4 and company.
*) Remove static storage of the BOARD in the module editor.
2014-06-11 00:00:30 -05:00
jean-pierre charras
737ef50cc0
Plot SVG: fix issue with arcs (bug #1328155 ) both in Pcbnew and Eeschema.
2014-06-10 18:21:38 +02:00
Dick Hollenbeck
8cb3423262
Remove class RETAINED_PATH, put is main member function into SEARCH_STACK.
...
Change class PROJECT to use a generalized wxString in place of the
RETAINED_PATH items, so that new session and project specific strings
of any purpose can be saved there, for the life of a session.
2014-06-10 10:56:43 -05:00
unknown
53cd19a69b
VRML export rewritten
2014-06-08 12:35:42 +02:00
jean-pierre charras
bd174ebffe
Page layout editor: fix bad initialization on startup, which can crash pl_editor when trying to edit an item.
...
Minor other fixes.
2014-06-07 18:20:23 +02:00
Maciej Suminski
e7aa963011
Fixed layers switching in GAL.
2014-06-06 14:59:55 +02:00
Maciej Suminski
f5de166a7e
Removed an unused parameter from TOOL_BASE::getModel<T>() method.
2014-06-06 14:59:25 +02:00
jean-pierre charras
335f5a57e5
Pcbnew: fix an issue with very old .brd files.
2014-06-06 12:30:07 +02:00
Tomasz Wlostowski
4121c27269
Clang-alike lightweight RTTI for pcbnew + type casting cleanup.
2014-06-06 11:44:21 +02:00
unknown
7a110d0ce3
IDF tools: code cleanup and debugging
2014-06-05 20:37:04 +02:00
Bernhard Stegmaier
60a86853ec
Removed a few warnings.
2014-06-05 12:40:26 +02:00
Maciej Suminski
afbe21fe70
Single items are dragged by their origin in GAL canvas.
2014-06-05 09:55:53 +02:00
Maciej Suminski
fe341876eb
bugfix #1326155 : pcbnew shows strange ratsnest lines in OpenGL mode.
2014-06-05 09:55:35 +02:00
Maciej Suminski
9305f77fdc
Fixed: Modules become invisible after reloading a netlist, until GAL view is refreshed.
2014-06-05 09:54:47 +02:00
Maciej Suminski
517bfa3570
Minor code cleaning.
2014-06-04 18:01:01 +02:00
Maciej Suminski
0d734e8841
Placing the grid origin is possible with GAL.
2014-06-04 17:46:43 +02:00
jean-pierre charras
f76041e956
Fix some compil warnings and Debug assertions
2014-06-04 19:34:23 +02:00
Dick Hollenbeck
431675933a
remove global g_UserLibDirBuffer which was a project specific global, and no longer used with FP_LIB_TABLE support.
2014-06-03 10:59:52 -05:00
Maciej Suminski
3480c41caa
PNS router handles net class settings (dependent on the selected start item).
2014-06-03 16:09:27 +02:00
Maciej Suminski
79631def2c
Improved ratsnest updating in GAL.
2014-06-03 16:08:23 +02:00
Maciej Suminski
2af3e5f6e9
bugfix #1325743 : cvpcb crashes when opening any netlist.
2014-06-03 09:32:57 +02:00
jean-pierre charras
44014b2196
Minor fixes.
2014-06-02 18:16:06 +02:00
jean-pierre charras
ea755a10db
.kicad_mod files: always save the "last edited date" because only the footprint editor changes this parameter. Usefull to know if/when a footprint was actually modified.
...
Also fix a minor issue in footprint editor which always set the "modified" flag even when no change was made.
2014-06-02 12:46:29 +02:00
Maciej Suminski
fa846932c1
bugfix 1325375: pcbnew crash while append a board
2014-06-02 11:41:54 +02:00
Tomasz Wlostowski
a90680aa15
router: fix segfault on route-undo-route
2014-06-01 18:44:38 +02:00
jean-pierre charras
218cb8e7c1
Pcbnew: fix Bug #1325311 ("New Board" warning refusal broken)
2014-06-01 16:58:17 +02:00
jean-pierre charras
59dfc053c2
Cosmetic enhancements: fix incorrect icons.
2014-05-31 17:49:15 +02:00
Maciej Suminski
2619ceae03
PNS formatting code.
2014-05-31 16:04:25 +02:00
Maciej Suminski
3ef78c66bf
Brighter colors for pad net labels.
2014-05-31 11:50:01 +02:00
Maciej Suminski
4f678a919c
Fixed invisible buttons in PNS settings dialog (at least for some GTK themes).
2014-05-30 15:31:30 +02:00
jean-pierre charras
771ac33c80
Pcbnew: fix a minor bug: in zones with no net, only the zone clerance was used to created clearence, regardless the pad or footprint local clerance.
...
Very minor other fixes.
2014-05-29 13:48:14 +02:00
Maciej Suminski
707f5cd6e6
bugfix 1324144: broken PNS dragging
2014-05-28 19:21:12 +02:00
Maciej Suminski
b9246dd463
bugfix #1323135 : PNS creates vias with giant holes.
2014-05-28 13:16:15 +02:00
jean-pierre charras
afc5d13172
Apply a workaround in 3D_draw.cpp to avoid crash in boost::polygon (try to fix Bug #1322804 )
...
This workaround was already used (bzr 4301, in file plot_board_layers.cpp) also to avoid similar crashes (uses 18 segments instead of 16 to approximate a circle by segments).
Minor code cleanup in dialog_plot.
2014-05-26 08:54:04 +02:00
unknown
3802629adc
Fix kicad_plugin.cpp coding style fully broken by commit 4887 (patch from Orson, AKA maciej suminski).
2014-05-26 08:21:25 +02:00
Maciej Suminski
3087c05a5d
Bugfix #1322914 : pcbnew crashes when opening a file
2014-05-25 17:36:24 +02:00
Tomasz Wlostowski
c87baa9d22
router: fix segfault when trying to shove a line that forms a closed loop.
2014-05-23 11:57:43 +02:00
Maciej Suminski
537a97cf52
Ratsnest is computed for legacy boards in GAL view.
2014-05-22 19:34:28 +02:00
Maciej Suminski
dd1fcd0588
Fix for context menu hanging up in GAL.
2014-05-22 17:59:36 +02:00
Maciej Suminski
655721d9ae
Added missing changes required for updating footprints with the module editor.
2014-05-22 15:01:58 +02:00
Maciej Suminski
957f959e90
Fixed bug 1321936: changing a footprint for a set of modules relocates them in GAL canvas.
...
Changes introduced by the module editor are updated in GAL canvas.
2014-05-22 12:06:45 +02:00
Maciej Suminski
69816d8704
The GAL view uses colors settings from the legacy canvas.
...
Minor refactoring of PAINTER & RENDER_SETTINGS classes.
2014-05-21 23:13:30 +02:00
Lorenzo Marcantonio
07877f9044
Replaced the display line clipper with the way simpler (and faster) Cohen-Sutherland one.
...
A couple of trivial accessors made inline
2014-05-21 19:02:32 +02:00
Dick Hollenbeck
2fa082f698
fix bug lp:1319839
2014-05-21 01:06:52 -05:00
Maciej Suminski
f31f92e45e
Fixes the bug that causes pcbnew crash, when there are multiple net classes and the plot dialog was opened.
...
Changed NETCLASS* to boost::shared_ptr<NETCLASS>.
2014-05-20 11:29:37 +02:00
Dick Hollenbeck
f49e9a285f
fix compiler warnings
2014-05-19 17:27:09 -05:00
jean-pierre charras
cfa67aa218
Pcbnew: plot dialog: remove obscure and useless option about texts which are not value or reference.
...
cosmetic enhancement in dialog.
page layout: fix bug Bug #1320839 (canvas refresh countinously called when moving an item)
2014-05-19 20:24:07 +02:00
Maciej Sumiński
c97afea468
Upstream merge.
2014-05-18 17:32:35 +02:00
Maciej Sumiński
46020e20de
Merged the new Interactive Push and Shove router.
...
Do not pay attention to add/remove files - it seems there may be a bug in git-bzr-ng plugin. I have checked them, they stayed exactly the same as before.
2014-05-18 17:16:59 +02:00
jean-pierre charras
d54ade9403
Rework on DXF export.
2014-05-17 21:29:15 +02:00
Lorenzo Marcantonio
073a9e1724
TRACK::GetTrack can now be told to confine search to the netlist and/or force the sequential (restartable) algorithm
...
Reworked the collinear track routines. Cleanup should be faster given the above modification.
2014-05-17 19:36:02 +02:00
jean-pierre charras
41e41b95f8
Plot DXF: better generation of filled zone polygons.
2014-05-16 21:03:45 +02:00
Maciej Suminski
51ee6916ec
Removed header files from CMakeLists.txt.
2014-05-16 16:01:03 +02:00
Maciej Suminski
ad1b138f28
Reformatted PNS code to conform the coding policy.
2014-05-16 13:37:31 +02:00
Maciej Suminski
4fcaf4c586
Minor BOARD_DESIGN_SETTINGS refactoring.
...
Removed SetCurrentClassName() (it was not used anywhere and less safe than SetCurrentClass()).
Added BOARD_DESIGN_SETTIGNS::GetDefault() to make some pieces of shorter and clearer.
2014-05-15 10:51:08 +02:00
Maciej Suminski
b2a5b2f329
Scripting fix.
2014-05-15 10:11:17 +02:00
jean-pierre charras
bb0804ec29
DXF export: fix incorrect export of polygons having thick outline (like zones): Thick segments of outline were drawn like lines with no thickness.
...
Fix ( workaround only) crash (Windows only) when a quasi modal frame (like footprint viewer) was called from a dialog (like the component properties dialog in schematic editor).
Very minor other fixes.
2014-05-15 08:32:24 +02:00
Maciej Suminski
7a526261fb
PNS router deselects all items when started.
2014-05-14 19:15:25 +02:00