Maciej Suminski
a802ca87e0
Added TOOL_ACTION for PNS router activation.
...
Most of the GAL tools are activated by corresponding buttons on the right toolbar.
Removed menu entry for PNS router (as it is activated as the usual "Add track" tool).
2014-02-17 18:21:00 +01:00
Maciej Suminski
042b6a1002
Changed PCB_EDIT_FRAME::setTopLayer() to PCB_EDIT_FRAME::SetTopLayer() and changed to public (as it had exactly the same functionality).
2014-02-13 15:57:57 +01:00
Maciej Suminski
45c5a3de7f
Placing modules with a minor bug.
2014-02-13 12:46:39 +01:00
Maciej Suminski
7f4648149b
Ratsnest is updated after backend switch.
2014-01-31 13:14:18 +01:00
Maciej Suminski
510fee1358
Another way of handling items for the ratsnest (clearer and now finally supports undo/redo of the PNS created tracks).
2014-01-30 15:46:39 +01:00
Maciej Suminski
c3c7b2e9cc
Merged the netnames branch.
2014-01-28 11:59:04 +01:00
Dick Hollenbeck
c63fa6ff31
Add EDA_BASE_FRAME::Show() and call SaveSettings() only from there for all derived wxFrames. Remove calls to SaveSettings() elsewhere.
2014-01-27 19:29:26 -06:00
Dick Hollenbeck
9afc4a0db6
Remove g_LibraryNames and all supporting infrastructure from pcbnew. FP_LIB_TABLE is now local to major wxFrames.
2014-01-27 01:23:02 -06:00
jean-pierre charras
a094f7d5b5
Fix some issues in modview, relative to few incorrect use of some wxAuiManager functions.
...
Fix not working + and - keys in layers manager.
Fix typo errors and modify some messages to make translator's life more easy.
2014-01-19 14:12:57 +01:00
jean-pierre charras
f905b4697e
Code cleanup: Pcbnew: move files relative to exort functions to the new folder exporters
...
all: remove include <protos.h> from a lot of files which do not need it.
2014-01-08 15:18:51 +01:00
Maciej Suminski
3fe183c472
Tools have possibility to react to GAL switching or model (board) reload.
2014-01-07 14:16:47 +01:00
Maciej Suminski
537d82fb98
Upstream merge.
2014-01-06 10:29:31 +01:00
Cirilo Bernardo
0b853c5af2
Adds basic IDF3 export (board and cutouts / holes only)
2014-01-02 10:26:03 +01:00
Dick Hollenbeck
517ca83fbc
Hide m_galCanvas and m_galCanvasActive behind accessors. Fix DLIST concatonation API corner case.
2013-12-26 16:36:43 -06:00
Maciej Suminski
fe5c5953fc
Upstream merge.
2013-12-20 10:15:00 +01:00
Maciej Suminski
84c496e138
Upstream merge
2013-12-19 11:15:27 +01:00
Wayne Stambaugh
ca11fcb5c9
Pcbnew: change general properties dialog rotation angle to text edit control.
2013-12-17 16:38:20 -05:00
Wayne Stambaugh
8f6d69e57e
Pcbnew: fix 45 degree rotation angle undo and global variable elimination.
2013-12-16 16:40:03 -05:00
Dick Hollenbeck
7ba078b620
remove USE_FP_LIB_TABLE code, make it the norm. Add lazy loading support to FOOTPRINT_INFO.
2013-12-12 10:01:03 -06:00
Maciej Suminski
0e7db24049
Fixed SetCurrentContext() assert, that was firing on closure of pcbnew, when the OpenGL backend was active.
2013-12-05 14:54:30 +01:00
Maciej Suminski
24a317ce28
The Selection Tool is always active. Removed entries for toolbar menu and hotkeys for the tool.
2013-12-03 17:11:22 +01:00
jean-pierre charras
f068c0d94f
Pcbnew: Autoplace functions: renamed spread footprint functions. Rewritten.
...
Now footprints, after loaded by reading a netlist are grouped by sheets by the footprints spread function, and the grouping is better.
Rename 2 files. Fix minor issues. Clean code
2013-11-27 14:20:42 +01:00
Maciej Suminski
c6efc451e6
Added ratsnest for GAL
2013-11-25 16:50:03 +01:00
jean-pierre charras
78670eebb0
Pcbnew: Fix a crash on exit when an item was previously deleted. Fix not working footprint exchange functions
2013-11-22 20:47:10 +01:00
Maciej Sumiński
bb0f4b9ac3
Patches one by Lorenzo, one by Orson
2013-11-06 11:17:42 -06:00
Maciej Suminski
e13f862145
Merged upstream.
2013-10-28 21:34:06 +01:00
jean-pierre charras
55e9b4d1b6
Add a DXF file import to create board outlines
2013-10-24 18:44:38 +02:00
Wayne Stambaugh
612ba67c10
Minor message box improvements
...
* Create a generic yes/no/cancel dialog from DIALOG_EXIT.
* Make DIALOG_EXIT return wxID_YES instead of wxID_OK so it is consistent
with the standard message dialogs.
* Add missing license to confirm.h and confirm.cpp.
* Change Eeschema message dialog when loading a schematic if the current
schematic is modified to be more consistent with the exit dialog.
* Change Pcbnew message dialog when loading a board if the current board
is modified to be more consistent with the exit dialog.
* Remove some Eeschema block debug logging code left over from my last
commit.
2013-10-18 09:32:22 -04:00
Maciej Suminski
0ac3e1fbf2
Namespace KiGfx->KIGFX.
...
template<> -> template <>
Some more reformatting according to uncrustify results.
2013-10-14 16:13:35 +02:00
Maciej Suminski
460dcfc621
Removed SELECTION layer.
2013-10-02 11:39:08 +02:00
Maciej Suminski
87a9964c78
VIEW_GROUP now does not change depth during drawing. Introduced functions for manipulating stored items.
...
FIxed problem of overlay being covered by other layers while panning.
Few minor fixes.
2013-10-01 16:55:33 +02:00
Maciej Suminski
8e472c736a
Merged upstream.
2013-09-20 17:54:35 +02:00
Maciej Suminski
b39d562aea
Restored previous function names.
2013-09-20 16:32:11 +02:00
Maciej Suminski
c5c65d366d
Selection box color is put into render settings. Selection layer is removed from active layers.
2013-09-17 11:23:00 +02:00
Lorenzo Marcantonio l.
1883370387
Add export netlist IPC-D-356 from Lorenzo Marcantonio, with very minor fixes.
2013-09-13 11:49:55 +02:00
Maciej Suminski
42860b5d02
Changed VIEW::PrepareTargets() to more appropriate name VIEW::ClearTargets(). Added SELECTION layer to always-on-top list.
2013-09-13 11:28:47 +02:00
Maciej Suminski
d9ff4b851a
Currently selected layer is displayed on the top.
2013-09-12 18:24:53 +02:00
Maciej Suminski
82fe1a4972
Merged Tom's branch
2013-09-12 17:42:28 +02:00
Maciej Suminski
d13355f7fe
Removed some potential memory leaks.
2013-09-11 19:37:52 +02:00
tomasz.wlostowski@cern.ch
9eb3916852
Merged kicad-gal-orson
2013-09-10 19:32:19 +02:00
tomasz.wlostowski@cern.ch
fa817b7475
pcbnew: start integrating P&S router
2013-09-10 19:26:44 +02:00
Wayne Stambaugh
230c5f8f5a
Convert footprint definitions from wxString to FPID.
...
* Use FPID instead of wxString in MODULE object.
* Use FPID instead of wxString when loading and saving files.
* Use FPID in COMPONENT object.
* Add wxString helper functions and comparison operators to FPID.
* Add fp_lib token to pcb and netlist file formats.
* Add code to load and save FPIDs to pcb file format.
* Fix segfault when deleting invalid footprint library tables in Pcbnew
in non footprint library table build.
* Fix bug when counting the number of mod files in
EDA_APP::SetFootprintLibTablePath();
2013-09-08 14:31:21 -04:00
Maciej Suminski
f1b0ffd3d7
Changed focus owner of LayerWidget to EDA_DRAW_PANEL_GAL to make keyboard events work (apparently everything works fine, to be tested more extensively).
...
Removed unnecessary event hook from EDA_DRAW_PANEL_GAL.
2013-09-06 17:53:01 +02:00
Wayne Stambaugh
9ab7c18f46
Footprint library table ground work.
...
* Remove defined CMAKE_INSTALL_PREFIX for Windows from main CMakeList.txt.
* Move footprint library path detection code from pcbnew.cpp to EDA_APP
object.
* Add CMAKE_INSTALL_PREFIX to config.h.cmake.
* Simplify and fix search path list code.
* Add CMAKE_INSTALL_PREFIX to the list of search paths in case KiCad was
installed using `make install`.
* Add default global footprint library table to CMake install.
* Add method to set footprint library table to PCB_BASE_FRAME object.
* Remove unused function EDA_APP::GetLibraryFile().
* Minor FP_LIB_TABLE object improvements.
2013-09-06 08:17:33 -04:00
Maciej Suminski
ab4cb862b0
Solved refreshing issues.
2013-09-06 11:31:16 +02:00
jean-pierre charras
902e5ccee5
pcb layer box selector: ajust size when modifying the layer names, to show the full name.
2013-09-02 17:26:52 +02:00
Maciej Suminski
ee3f47ae51
Added autopanning to the selection tool.
2013-09-02 16:29:10 +02:00
tomasz.
8ea0f7ae5b
Merged Orson's changes
2013-08-02 17:28:09 +02:00
tomasz.
31389c4063
pcbnew: tool initialization should belong to PCB_EDIT_FRAME to avoid linking errors on cvpcb.
2013-08-02 17:25:53 +02:00
tomasz.
69a44d5f13
pcbnew: hooked Tool Framework into the edit panel. Added a sample selection tool (not fully functional).
2013-08-02 16:53:50 +02:00