Commit Graph

1903 Commits

Author SHA1 Message Date
jean-pierre charras 17a0727ac2 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
jean-pierre charras c1e1a15f59 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 23daeb3a4c Fix OpenGL canvas freeze under Windows. 2014-07-20 21:14:42 +02:00
Maciej Suminski 7cd4376567 Refinement to commit #4993. 2014-07-14 16:43:21 +02:00
Maciej Suminski 23f95f9940 Fixed Python scripting enabled builds. 2014-07-14 15:14:37 +02:00
Maciej Suminski 7818201793 Fixed layers order after changing the active layer. 2014-07-14 11:36:34 +02:00
Maciej Suminski a3eb60e068 Added event queue to handle events at the end of the event processing cycle. 2014-07-09 16:25:50 +02:00
Maciej Suminski 7f13fd0ffd Added AF_NOTIFY flag for TOOL_ACTIONs. 2014-07-09 15:10:32 +02:00
Maciej Suminski 0b51dd7e01 Added support for changing the cursor size. 2014-07-09 15:10:32 +02:00
Maciej Suminski 82ff9ceca7 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 4f0e03bcc0 Fixed a few memory leaks and Valgrind warnings. 2014-07-09 15:02:56 +02:00
Maciej Suminski 098449d7dc Routines for handling clipboard with TOOL_MANAGER. 2014-07-09 14:01:07 +02:00
Maciej Suminski 06361eb2c1 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 6859bf8301 Introduced a new type of action: TA_ACTIVATE to distinguish events activating tools from common tool actions. 2014-07-09 13:50:27 +02:00
Maciej Suminski 3587f47cca Minor fixes to the Tool Framework. 2014-07-09 13:50:27 +02:00
Maciej Suminski 946ffb2ad9 Restored std::map in TOOL_MANAGER. 2014-07-09 13:50:27 +02:00
Maciej Suminski 43275ef943 Restored support for custom angle rotation. 2014-07-09 13:50:27 +02:00
Maciej Suminski 98c35ceab4 Created a common interface for edit frames. 2014-07-09 13:50:27 +02:00
Maciej Suminski 63b69d94be Code formatting. 2014-07-09 12:10:28 +02:00
Maciej Suminski 520038c750 Minor changes. 2014-07-09 11:59:24 +02:00
Maciej Suminski e4ec886a6c Added an alternative way to reach tools in the Tool Framework. 2014-07-09 11:59:24 +02:00
Maciej Suminski 597338ba5f PCB_LAYER_WIDGET became able to cooperate with PCB_BASE_FRAME. 2014-07-09 11:59:23 +02:00
Maciej Suminski d93ccff534 {Set,Get}ActiveLayer moved from PCB_EDIT_FRAME to PCB_BASE_FRAME. 2014-07-09 11:50:27 +02:00
Maciej Suminski ac73454538 Grid offset is recomputed only when settings are changed. 2014-07-09 11:22:43 +02:00
Maciej Suminski 3f173e4c5c GAL view in pad properties dialog - initial version. 2014-07-09 11:22:43 +02:00
Maciej Suminski 2d44b7e3c2 Reduced number of switched events, allowing to use VIEW_CONTROLS, even if there is no extra event dispatcher. 2014-07-09 11:22:43 +02:00
Maciej Suminski a7807c4ee1 Rework to support multiple views with OpenGL GAL canvas. 2014-07-09 11:22:42 +02:00
Maciej Suminski d3b2e50200 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 7c812664f3 TOOL_ACTIONs are automagically registered by TOOL_MANAGER upon its construction. 2014-07-09 11:22:42 +02:00
Maciej Suminski c416f5a1e5 Removed a redundant pointer to EDA_EDIT_FRAME. 2014-07-09 11:22:42 +02:00
Maciej Suminski b934b11a60 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 20558f5387 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 26d0f01592 Removed EDA_DRAW_FRAME::SetGalCanvasActive() [it may be misleading], added EDA_DRAW_PANEL_GAL::GetBackend(). 2014-07-09 10:34:00 +02:00
Dick Hollenbeck 73890d6dda switch back to original sexpr usage of PTREE, add new DSNLEXER constructor, enforce accessors in kicad.exe 2014-07-07 14:49:14 -05:00
Maciej Suminski 1a0a9564d0 Fixed vertical alignment for strings that contain a newline character at the end (GAL). 2014-07-07 13:09:44 +02:00
Maciej Suminski 2c21cddf8e Bugfix: Bottom layer not correctly handled in (PNS) Interactive router. 2014-07-07 10:48:47 +02:00
Dick Hollenbeck a6743561a2 back annotation when CVPCB and EESCHEMA are running under KICAD 2014-07-06 23:12:04 -05:00
Dick Hollenbeck ef05571dbe typo on B_CrtYd, F_CrtYd, B_Fab, F_Fab 2014-07-06 11:59:26 -05:00
Dick Hollenbeck b2477e2353 fix Inner1.Cu in pcb_parser.cpp, start cvpcb work. 2014-07-05 15:52:24 -05:00
Dick Hollenbeck 6ccd37856d fix Inner1.Cu in pcb_parser.cpp, start cvpcb work. 2014-07-05 15:42:59 -05:00
jean-pierre charras 558737aa11 Update old demo board files. Minor code cleaning. 2014-07-04 21:36:43 +02:00
jean-pierre charras 5b7ec40f5e 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
Dick Hollenbeck e5f6238490 fix export_gencad.cpp 2014-06-30 10:03:20 -05:00
jean-pierre charras b8d82d94fc 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 b51d85d218 merge 2014-06-30 01:44:46 -05:00
Dick Hollenbeck 633f546ea1 merge 2014-06-30 00:46:18 -05:00
Dick Hollenbeck b725b18bfa fix LSET() constructors, formatting 2014-06-29 15:33:29 -05:00
Dick Hollenbeck fbe455c1c1 re-work the LSET(int,...) constructor 2014-06-29 13:09:32 -05:00
Dick Hollenbeck a7db812c21 LAYER_ID work 2014-06-29 08:05:51 -05:00
jean-pierre charras 1d18ebef99 Pspice netlist generator: add option to use net numbers as net names (feature removed a long time ago, but needed by Oscad team)
Note these options are saved in project config.
2014-06-26 21:20:05 +02:00