Marco Mattila
072a7ac84a
Don't subtract soldermask from other than silkscreen layers when plotting gerbers from pcbnew.
2011-12-01 00:06:27 +02:00
Dick Hollenbeck
8dcfd7be61
KICAD_PLUGIN and nanometer intermediate checkin, work in progress...
2011-11-30 15:15:56 -06:00
jean-pierre charras
a401afe52e
Pcbnew: Fix bug Bug #898178
2011-11-30 21:05:17 +01:00
jean-pierre charras
f2ccc83a29
Add Bulgarian language. Update translators list.
...
Pcbnew: prepare work on new algos for connections calculations.
2011-11-30 12:45:49 +01:00
Dick Hollenbeck
b0ccf97226
more KICAD_PLUGIN work progress
2011-11-30 01:43:46 -06:00
Dick Hollenbeck
77cccbc405
This patch restores some of the goodness in Vladimir's rev 3239, and in particular
...
the GetPosition() and SetPosition() changes. It also starts towards making m_Orientation
and m_Thickness fields private with accessors, but does not complete this latter goal.
2011-11-29 11:25:30 -06:00
Dick Hollenbeck
6370db0587
intermediate check in to show progress on new nanometer file loader PLUGIN
2011-11-28 21:08:14 -06:00
Dick Hollenbeck
b5c71915c7
initial work on PCBNew PLUGIN support, in preparation for nanometer board load and save
2011-11-27 22:32:29 -06:00
jean-pierre charras
c96777369d
Pcbnew: Fix issue in Undo/Redo command: for very large boards ( > 20000 items) this command could take a long time. Now fast.
2011-11-27 13:29:01 +01:00
jean-pierre charras
9d663c5819
Update version number
2011-11-26 21:02:59 +01:00
jean-pierre charras
fa0f0bfad9
Eeschema: fix crash in intermediate netlist generation when a component has no pins (like logos or images).
...
Pcbnew: texts in dimensions can be now moved.
Gerbview: fix incorrect number of layers in export to pcbnew function.
2011-11-24 20:57:41 +01:00
Dick Hollenbeck
23e28fdd93
Temporarily reverse out the evolving support for finer Board Internal Units (BIU)s.
2011-11-24 11:32:51 -06:00
Vladimir Uryvaev
cb62a3b039
Debug bug:) fix. Wayne found it.
2011-11-18 03:16:36 +04:00
Vladimir Ur
48112f1a50
Nanometric work
...
- D_PAD members converted;
- style improved;
- GetPosition made returning value, added SetPosition;
- highly experimental, test it please!
2011-11-17 21:47:27 +04:00
Dick Hollenbeck
851643110f
fix compiler warning
2011-11-16 14:52:51 -06:00
Vladimir Ur
45d9f292f9
D_PAD conversion: m_Pos converted
...
PCB_ITEM: GetPosition -- removed reference
load/save length in config
2011-11-16 21:04:12 +04:00
jean-pierre charras
b3723ae020
Pcbnew: fix a possible crash after a board cleanup
2011-11-15 20:21:16 +01:00
Vladimir Ur
498bb81c0a
Some code restyling: VECTOR_PCB is an array. Cleanup uncontrolled definitions of abs, max, etc. max is now overloaded function and MAX is a macro.
2011-11-15 22:26:06 +04:00
Vladimir Ur
cfbc1d6b70
Nanometric work. Design rules, D_PAD (except m_Pos) is now in new units. Metric files can be loaded w/o KICAD_NANOMETRE flag set but saved only with this flag, this could help to gain some compatibility during transition process. ifdef'd code is somewhat minimized by using transition macros. Some potential code bugs are commented.
2011-11-14 20:56:05 +04:00
jean-pierre charras
7355272818
Very minor fix
2011-11-12 19:53:04 +01:00
jean-pierre charras
3c49b63a6b
Pcbnew: fix bad icon in ModEdit toolbar.
2011-11-12 11:51:20 +01:00
Vladimir Ur
574b492479
Metric KiCad work continues. Partially processed D_PAD class. It is still need to be tested including all these import and export procedures...
2011-11-11 21:44:20 +04:00
jean-pierre charras
b459a204a4
Eeschema: bug 880132 : partial fix.
...
Pcbnew: remove useless code.
Doc: remobe obsolete reference to MINIZIP (which do not exist now)
2011-11-11 08:00:51 +01:00
Wayne Stambaugh
21c4e4940b
Memory allocation improvements and other minor fixes.
...
* Replace C malloc() and free() functions with C++ new and delete
operators or the appropriate STL container.
* Add option to end mouse capture function to skip executing the end
mouse capture callback.
* Lots of coding policy and Doxygen comment goodness.
2011-11-10 10:55:05 -05:00
jean-pierre charras
ee6e44669f
Pcbnew: remove dead or obsolete code. Add or fix some comments.
...
Add minor enhancements.
2011-11-10 09:21:11 +01:00
Vladimir Ur
b84cab3fc0
General design rules tab converted to nanoscale. A bit of refactorisation in via sizes. And build key is KICAD_NANOMETRE not KICAD_NANOMETRIC (as I stated in previous commit).
2011-11-09 21:35:16 +04:00
Vladimir Ur
a9edcb5f10
Work on internal (nano)metric length units started.
...
Added configuartion option KICAD_NANOMETRIC for this.
* With option set to false: *
- it should work and compile as usual
- some values are saved with decimal point (which should be backward/forward compatible as old versions should just drop fractional part)
* With option set to true: *
- lengths in Global Design Rules should be settable 1nm steps.
FROM/TO_LEGACY_LU(_DBL) macros introduced for easy interconnection between old and new units.
2011-11-09 17:25:49 +04:00
Wayne Stambaugh
28f06953fc
Minor fixes, dead code removal, and coding policy fixes.
...
* Use version of DateAndTime that returns a wxString and delete the
version that takes a char* as it is no longer required.
* Merge StrNumICmp() and StrLenNumICmp() into StrLenNumCmp() to create a
single function for comparing strings with integers and remove a lot
of duplicate code.
* Remove unused strupper from string.cpp.
* Use wxArrayString for sorting the EDA_LIST_DIALOG contents.
2011-11-08 11:37:25 -05:00
jean-pierre charras
90e3024517
Pcbnew: code cleaning in ratsnest.cpp. Add comments.
2011-11-08 17:18:46 +01:00
jean-pierre charras
6222a3a8f7
Pcbnew: Fix a membar issue: Layer setup incorrect location (seems due to an error when using copy/paste editor command)
2011-11-07 21:34:35 +01:00
Wayne Stambaugh
14482a174b
Fix cursor warping out of client when zooming bug.
...
* Modify algorithm to correctly calculate the virtual drawing size and
offset required to place the drawing correctly under all conditions.
* Ignore default wxWidgets scroll keys on Windows in EDA_DRAW_PANEL key
event handler.
2011-11-07 14:04:24 -05:00
jean-pierre charras
a2395a0417
Pcbnew: Fix typo in 2 filenames. Add comments in ratsnest.cpp.
...
Fix bug 887202.
2011-11-07 19:04:19 +01:00
jean-pierre charras
fb2fc2f43f
Pcbnew: more work on a better algorithm to calculate the full ratsnest.
...
Lee algorithm replaced by a Minimun Spanning Tree algo (using Prim's algorithm ).
Tested on a 5350 pads board, it is more than 100 times faster.
Also fix a crash when clicking on tool "delete selected items" (main horizontal toolbar),
and remove this tool (currently, no code in Pcbnew for this tool)
2011-11-06 17:16:19 +01:00
jean-pierre charras
01ffe94974
Pcbnew: connect.cpp: enhanced ( faster and more powerful ) algorithm to calculate connections between pads.
...
Code cleaning.
2011-11-03 20:07:59 +01:00
jean-pierre charras
105eec0693
Pcbnew: Fix bug I created in my previous commit.
...
More about code refactoring in connect.cpp: RecalculateAllTracksNetcode() is 50 times faster with a board using 27000 tracks
Use right icon in pcbnew for load board and new board.
2011-11-01 09:51:27 +01:00
jean-pierre charras
ff99823130
Fix minor issue under wxWidgets 2.9.3 in DRC dialog display.
...
More work about code refactoring in connect.cpp
2011-10-31 21:29:46 +01:00
jean-pierre charras
fe431f1e8e
Pcbnew: starting work on better ratsnest and connections calculations algorithms.
...
This first draft should fix bug 851670 and is faster than existing alogorithm.
2011-10-31 14:44:13 +01:00
jean-pierre charras
2ab46f7fa3
Pcbnew: fix minor issue: Footprint bounding box was too large for very small footprints (like SM0204) due to the minimal size value used in calculations.
2011-10-29 14:01:59 +02:00
Vladimir Ur
5634eaaf7a
PCBNEW favored module placed on OPPOSITE side selected layer become.
...
Now it select module from selected side if present. Especially handy in contrast view.
2011-10-27 17:01:32 +04:00
jean-pierre charras
c431a1e701
remove useless USE_BOOST_POLYGON_LIBRARY cmake option, and remove unused files.
...
BOOST POLYGON is always used in zone filling functions.
Kbool is still in use in other calculations.
2011-10-25 18:24:56 +02:00
Andrey Fedorushkov
177103021e
Pcbnew: add send msg to Eeschema when move module
2011-10-24 19:23:06 +04:00
jean-pierre charras
b04ea483a8
Make some messages translatable.
2011-10-22 20:21:57 +02:00
Dick Hollenbeck
2f386b6be2
coding standards cleanups
2011-10-20 09:46:06 -05:00
Fabrizio Tappero
2fd37df46a
icons update.
2011-10-19 20:55:21 +02:00
Wayne Stambaugh
32a55c5c6e
Minor menu bar fixes.
...
* Fixed bug on Windows that prevented the menu short cuts from working
properly.
* Fix duplicate menu short cut keys in KiCad, Pcbnew, and Eeschema.
* Add menu short cuts for all possible menu entries.
2011-10-18 15:59:19 -04:00
jean-pierre charras
74f6c56d27
Fix very minor issues and code cleaning
2011-10-18 19:28:49 +02:00
jean-pierre charras
d1f4eecc3a
Eeschema: Fix icons in macro menu.
...
Fix confusing labels in libedit (for pins and graphic items sharing)
2011-10-18 12:16:27 +02:00
jean-pierre charras
7f5fef431a
Icons update
2011-10-18 10:28:12 +02:00
Wayne Stambaugh
f6a0f2743e
Minor dialog fixes and code cleaning.
...
* Grammar and spelling fixes in Eeschema, CvPcb, and Pcbnew path and
library dialog tool tips.
* Translate the French file name subrill.cpp to highlight.cpp.
* Lots of coding style policy fixes.
2011-10-17 16:01:27 -04:00
jean-pierre charras
198e472ba3
Gerbview: minor enhancement.
...
All: fix some strings very hard to translate in messages.
2011-10-16 10:02:36 +02:00