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
Maciej Suminski
f04997797b
Fixed freezing of GAL canvas if user chooses Cancel in the on close dialog..
2014-05-14 19:04:21 +02:00
Maciej Suminski
0d9373ca6c
Undo/report support for track dragging (PNS).
2014-05-14 18:45:59 +02:00