Dick Hollenbeck
b01bcda079
Backout my usage of DIALOG_EXTEND_WITH_SHIM in favor of wxFormbuilder's
...
subclass DIALOG_SHIM support.
Tried dialog_drc but it has nesting problems due to use of DRCLISTBOX, which
needs to be put into its own header file to untangle.
2012-03-22 13:36:20 -05:00
Dick Hollenbeck
31a84b84ec
Add include/dialog_shim.h and common/dialog_shim.cpp for use by wxformbuilder's "subclass a wxDialog" support.
...
This works, but in my version of wxformbuilder there is a bug which does not properly show the
subclass property, even though it is still in play. This happens after saving then loading the *.fbp file.
So it is a nuisance bug, but does not affect functionality.
2012-03-22 02:02:49 -05:00
jean-pierre charras
fda20d28d8
Pcbnew: Allows an offset for SMD type (and CONNECTOR type) pads.
2012-03-20 21:22:38 +01:00
Andrey Fedorushkov
00e6f01584
eeschema: add forgotten major fix in bzr3471
2012-03-20 19:19:07 +04:00
Andrey Fedorushkov
b8a2c4e240
eeschema: fix sorting parts generate BOM "Single part per line"
2012-03-20 18:41:57 +04:00
jean-pierre charras
f49c27798e
Update some icons with new icons from Fabrizio Tappero.
...
Remove 2 duplicate icons.
Minor cosmetic enhancements and fixes in popup menus.
2012-03-20 15:17:58 +01:00
Miguel Angel Ajo
6d643f70b5
Fixed Board.Save, listPcb.py +x and updated TODO.txt
2012-03-20 07:34:23 +01:00
Dick Hollenbeck
df494fc83e
start toying with DIALOG_SHIM
2012-03-19 15:57:19 -05:00
Dick Hollenbeck
87aa22f13f
quiet warnings, add Clamp()
2012-03-19 11:29:24 -05:00
Miguel Angel Ajo
cd93e14d7d
fixed DEBUG build dependency...
2012-03-19 16:39:50 +01:00
Miguel Angel Ajo
9ebe983eaa
* cleanups: board.i board_item.i separated from pcbnew.i
...
* dlist.i empty list fixed (Segfault)
* units.i: FromMM FromMils ToMM ToMils
* added a little example (listPcb.py) that shows most items in a board
2012-03-19 12:21:29 +01:00
Miguel Angel Ajo
9398eb9767
std::vector and std::string items
...
DLIST iterator code, now we can do:
for module in pcb.m_Modules:
print module.GetReference()
instead of:
module = pcb.m_Modules
while module:
print module.GetReference()
module = module.Next()
or even:
module_list = list(pcb.m_Modules)
2012-03-19 09:36:38 +01:00
jean-pierre charras
b5cac30abd
Eeschema: fix a bug in bool SCH_LINE::MergeOverlap( SCH_LINE* aLine ): ends point of resulting segment incorrects.
...
remove unused icon files.
2012-03-19 08:48:29 +01:00
Miguel Angel Ajo
7a25604161
fixed ident tabs
2012-03-19 08:40:43 +01:00
Miguel Angel Ajo
b28dbd31c3
Cast() method to cast down classes from BOARD_ITEM to all childs
2012-03-18 22:35:51 +01:00
Miguel Angel Ajo
c0be31aeda
Fixed some indent, and added some conditional compiles on pcbnew.cpp
2012-03-18 10:09:51 +01:00
Miguel Angel Ajo
06c570bab3
* More cleanup (common wrappers moved to scripting, instead of pcbnew/scripting)
...
* Added a first test 'testLoadSave.py'
2012-03-17 18:30:03 +01:00
Miguel Angel Ajo
f422350605
pcbnew_scripting_helpers.cpp/h to handle generic scripting tools
...
CMakeLists.txt options to build scripting or scripting modules
2012-03-17 16:17:13 +01:00
Wayne Stambaugh
058e17edf7
Minor code and Doxygen comment improvements.
...
* Remove double Clone() function calls from all classes derived from
EDA_ITEM.
* Lots of Doxygen comment warning fixes.
2012-03-17 10:39:27 -04:00
Joe Ferner
ffbbd64c73
Joe Ferner's merge
2012-03-16 22:01:53 -05:00
Dick Hollenbeck
5080d4cc3e
cleanups
2012-03-16 21:11:44 -05:00
jean-pierre charras
6dc85d1c96
Eeschema: fix bug Bug #956818
2012-03-16 20:08:57 +01:00
Joe Ferner
aad54ec406
Added a toolbar button to cvpcb to filter by pin/pad count.
2012-03-15 14:20:22 -04:00
Wayne Stambaugh
6375497825
Hit test method rationalization and other minor improvements.
...
* All objects derived from EDA_ITEM now have consistent hit test method
definitions.
* Remove double function calls from all classes derived from SCH_ITEM.
* Lots of Doxygen comment fixes.
2012-03-15 10:31:16 -04:00
jean-pierre charras
e56f76dbcf
Update compiling.txt doc.
2012-03-15 09:56:55 +01:00
Andrey Fedorushkov
389656e58c
all: add display distance to local coordinates in status bar
2012-03-13 13:33:39 +04:00
Dick Hollenbeck
72e9106481
todo
2012-03-12 10:18:32 -05:00
jean-pierre charras
396538e176
Eeschema: minor fixes:
...
* make 2 bitmaps more visible.
* fix incorrect screen redraw when rotating a component.
* netlist : the pcbnew advanced format can be now stored (persistant option) in project config.
2012-03-12 11:04:40 +01:00
Dick Hollenbeck
2e29b4f152
* Add PCB_EDIT_FRAME::syncLayerVisibilities(), PCB_LAYER_MANAGER::SyncLayerVisibilities().
...
* Save all visibilities, layer and render, in BOARD and restore on load.
2012-03-11 19:40:48 -05:00
Miguel Angel Ajo
970e033399
build _pcbnew DSO/DLL
2012-03-11 20:48:43 +01:00
Miguel Angel Ajo
ec5757a4fa
code cleanup, io_mgr and kicad_plugin included when enabled in cmake...
2012-03-11 20:07:10 +01:00
Miguel Angel Ajo
562d2461aa
wxString, wxPoint and wxChar wrappers
2012-03-10 22:40:41 +01:00
jean-pierre charras
3976d5087e
Pcbnew: Fix Bug #951414 (Windows specific)
...
Ckecks more pad parameters in pad editor dialog (previously not tested, so a pad could have some very incorrect parameters)
2012-03-10 14:00:31 +01:00
jean-pierre charras
c047d7f484
Pcbnew: regression fix when using the new netlist format:
...
* when a footprint has many pads having the same pad name, only the first pad was connected to the net
2012-03-10 08:58:21 +01:00
jean-pierre charras
909c2a6051
Dialog exit: better icon.
...
Pcbnew:
* graphic_item_properties_base.fbp * dialog pad edit: make some strings more easier to translate.
* global pad edition: fix a bug that change pad position instead of pad size (round pas only).
Eeschema:
* fix a bug: new created wires were not alwaes shows until the screen was redrawn.
2012-03-09 19:58:58 +01:00
Marco Mattila
672b55fd05
Fix compilation issue with KicadSVGFileDC.
2012-03-08 22:47:09 +02:00
Marco Mattila
a731a6b712
Add more pad local copper zone settings in pcbnew. Tune the pad properties dialog a little.
2012-03-08 22:44:03 +02:00
jean-pierre charras
e90cc8adf5
All: added a standard exit dialog called by int DisplayExitDialog( wxWindow* aParent, const wxString& aMessage )
...
Called when closing pcbnew, cvpcb and eeschema.
Minor code cleaning: remove duplicate or not used strings (mainly file extensions and wildcards)
2012-03-08 18:47:23 +01:00
jean-pierre charras
5e5ec6f1a9
All: try to fix incorrect acs in plot SVG under wxWidgets 2.9:
...
wxWidgets 2.9 knows wxSVGFILEDC device context.
Unfortunately, arcs are drawn as pies (this is a feature, not a bug).
This is not correct for Kicad.
So Kicad has its own wxSVGFILEDC (named KicadSVGFileDC) that is basically the same as wxSVGFILEDC,
but with arcs drawn as arcs, not pies.
Note also under wxWidgets 2.8 does not know wxSVGFILEDC , so kicad had already its own SVG device context.
2012-03-07 21:18:00 +01:00
Dick Hollenbeck
db7c8cfd92
remove clamping from PAGE_INFO setters
2012-03-06 14:10:12 -06:00
jean-pierre charras
ed5585eb6c
Libedit: fix bug (svg export does not work)
...
other minor fixes.
2012-03-06 15:08:59 +01:00
Miguel Angel Ajo
3dacab9691
wxPoint + more lists
2012-03-05 23:49:49 +01:00
Alexander Zakamaldin
f13e020314
Problem with the Help link "getting started in kicad"
2012-03-01 09:53:34 -06:00
Miguel Angel Ajo
b21dbd9561
Added a starting scripting dialog for tests
2012-03-01 08:21:53 +01:00
Dick Hollenbeck
c41752fdf4
Load BOARD project settings before loading BOARD in case BOARD has
...
any configuration overrides.
Call SetDesignSettings() in PCB_BASE_FRAME::ReadSetup().
2012-02-29 09:25:38 -06:00
Miguel Angel Ajo
d7692cd115
SWIG+Python initial scripting support added.
...
It does nothing but loading and initializing right now.
2012-02-28 22:30:46 +01:00
jean-pierre charras
75d2dc7311
Pcbnew: Hight contrast mode: commit last patch from Miguel Angel Ajo Pelayo, which also fixes an old bug.
...
All: prepare better compatibility with wxWidgets 2.9.4. Works fine with 2.8.x (I hope...)
2012-02-28 21:14:17 +01:00
Wayne Stambaugh
4a7394038f
Minor Eeschema LIB_ITEM object improvements.
2012-02-27 18:02:08 -05:00
Wayne Stambaugh
07e5eee133
Fixes wxSingleChoiceDialog ambiguous constructor compile bug using wxWidgets 2.9.4 or greater.
2012-02-26 14:57:48 -05:00
jean-pierre charras
6219291ddc
ModEdit (and ModView): make "invisible" texts visible. They are not visible in the board editor, but must be visible in the footprint editor.
...
Minor doc update.
2012-02-26 19:49:00 +01:00