jean-pierre charras
b660b033ad
All: remove macros MAX, MIN, ABS from macros.h and replace these macros by std::max, std::min and std::abs (mainly found in old code).
2012-09-22 13:19:37 +02:00
Lorenzo Marcantonio
e771112259
Enforced EDA_COLOR_T type and minor const-ification
2012-09-02 14:06:47 +02:00
jean-pierre charras
7fd24c7f03
Very minor fixes.
2012-08-03 17:43:15 +02:00
Dick Hollenbeck
9e2eb0c856
see CHANGELOG.txt
2012-02-18 22:02:19 -06:00
Dick Hollenbeck
b8a0ab4c52
switch to <> for includes from "" per conversation with Jean-Pierre and Wayne, adjust search paths
2012-01-22 22:33:36 -06:00
Wayne Stambaugh
8985a1807b
Encapsulation and other minor improvements.
...
* EDA_DRAW_PANEL completely encapsulated.
* Moved OSX m_overlay member from EDA_DRAW_PANEL to EDA_DRAW_FRAME where
it is used.
* Doxygen comment warning fixes.
2011-12-29 15:11:42 -05:00
Wayne Stambaugh
c2e5fcaec8
More encapsulation improvements.
...
* EDA_DRAW_FRAME completely encapsulated.
* Encapsulate the the low hanging fruit in EDA_DRAW_PANEL.
2011-12-22 08:28:11 -05:00
jean-pierre charras
2c150e4817
All: fix compatibility issues with wxWidgets 2.9.3
...
Minor cosmetic enhancements.
Pcbnew: more workd abput connection algorithms (work in progress)
2011-12-17 22:21:03 +01:00
Dick Hollenbeck
4c2a1dd5d1
more kicad_plugin work, make BOARD::m_NetInfo private
2011-12-09 23:33:24 -06:00
Dick Hollenbeck
cc097762c7
Temporarily reverse out the evolving support for finer Board Internal Units (BIU)s.
2011-11-24 11:32:51 -06:00
Vladimir Ur
959e338698
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
4221c3619a
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
cc7e7fc5ca
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
7bd8284661
Pcbnew: remove dead or obsolete code. Add or fix some comments.
...
Add minor enhancements.
2011-11-10 09:21:11 +01:00
jean-pierre charras
b88505dd85
Pcbnew: code cleaning in ratsnest.cpp. Add comments.
2011-11-08 17:18:46 +01:00
jean-pierre charras
7c17187052
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
936d831b82
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
Wayne Stambaugh
c2f1113e5d
Fix Pcbnew KICAD_T enum names for consistency.
2011-10-01 15:24:27 -04:00
Wayne Stambaugh
edd35b4e90
PCB common library header rationalization.
...
* All header files used to create the PCB common library now compile as
stand alone code. This prevents the need to define them in a specific
order to make source code compile properly. It should also now be
possible to relocate the source code to build the common PCB library
to a separate folder.
2011-09-23 09:57:12 -04:00
Wayne Stambaugh
e4d1fa12ac
PCBNew trace search code refactoring and other minor fixes.
...
* Refactor trace search functions into the appropriate object.
* Translate French code names and comments.
* Lots of coding style policy fixes.
2011-09-16 10:13:02 -04:00
Wayne Stambaugh
ae84ca2ffa
PCBNew locate pad code refactoring and other minor fixes.
...
* Refactor pad locate code into the appropriate object.
* Dead code removal.
* Lots of coding style policy fixes.
2011-09-15 13:58:35 -04:00
Wayne Stambaugh
0c44335795
Lots and lots of PCBNew code cleaning and fix build bug introduced in r3108.
...
* Changed <wx-2.8/xml/xml.h> to "xnode.h" in pcbnew_config.cpp to fix bug
when building against wxWidgets 2.9 and above.
* Convert broken wxXmlNode code to use XNODE.
* Overloaded XNODE constructor for creating child nodes.
* Translate French naming conventions.
* Translate French comments.
* Remove tabs from several source files.
* Coding style policy and Doxygen comment fixes.
2011-09-07 15:41:04 -04:00
Wayne Stambaugh
5c8894f928
Coding policy fixes and other minor improvements.
...
* Change class WinEDA_MsgPanel name to EDA_MSG_PANEL per coding policy.
* Change some old set message panel code in PCBNew with updated message
panel methods in EDA_DRAW_FRAME.
* Remove unused global function Affiche_1_Parametre.
* Minor Doxygen warning fixes.
2011-04-12 10:19:59 -04:00
Wayne Stambaugh
1010601a78
PCBNew control update bug fixes, fixes lp:725963.
...
* Fix grid select box update bug on context menu.
* Fix via size and track width select box update bugs.
* Fix layer pair indicator button update bug.
* Fix auto track width tool bar control enable bug.
* Fix via size and track width select status bug in context menu.
* Fix layer select box and layer control widget select bug when current
layer is removed.
* Add virtual function to notify objects derived from EDA_DRAW_FRAME that
the units setting has changed.
* Coding policy class naming fixes.
2011-03-01 14:26:17 -05:00
jean-pierre charras
a9010796e0
Doxygen comment warning fixes.
2010-12-29 18:47:32 +01:00
Wayne Stambaugh
7cb34aece7
Schematic component object encapsulation and Doxygen comment warning fixes.
2010-12-14 10:56:30 -05:00
jean-pierre charras
cdd9e8cabe
Pcbnew: code cleanup
2010-11-26 18:47:35 +01:00
Dick Hollenbeck
6c9244e8c3
fix function comments, this time ones in *.cpp files until they
...
can be deleted later if they exist in the headers, or moved to
headers if they should exist in the headers.
2010-11-12 10:59:16 -06:00
Dick Hollenbeck
636b2d301e
function comments, fix ones in *.cpp files until they can be deleted if they exist in the headers
2010-11-12 10:36:43 -06:00
charras
5732d815c6
Work on colors handling, and others changes. see changelog.
...
hide/show rastnest in pcbnew is currently not working, will be fixed soon
2010-01-29 20:36:12 +00:00
charras
2bae762415
pcbnew: Added option in left tool bar to show/hide Layer manager tool bar
2010-01-21 20:36:48 +00:00
charras
04c7eb2916
fixed zone creation problem with DRC OFF and an other minor bug
2009-12-02 16:18:31 +00:00
stambaughw
de44203368
Comment translation and capitalization fixes.
...
* Complete comment translation of PCBNew source.
* Some tooltip capitalization fixes in PCBNew toolbars.
2009-11-20 14:55:20 +00:00
charras
e027e65971
code and files cleanup
2009-10-28 11:48:47 +00:00
dickelbeck
85dc98a58a
more netclass work
2009-08-17 02:59:38 +00:00
charras
41c80dd95b
pcbnew: work on undo/redo in progress
2009-08-01 19:26:05 +00:00
charras
f7265b0ab1
Eeschema: better ERC diags (work in progress)
...
3D view: fixed: mirrored texts incorrectly drawn
2009-07-05 12:09:41 +00:00
charras
dfffee8281
Pcbnew: in DRC dialog: removed options, that are no more useful with the new zone handling.
...
(all test are now always performed)
2009-06-27 06:26:41 +00:00
charras
6791556e3a
Pcbnew: fixed a recent bug that could be creates errors in rats nest calculations (forgotten rats nets)
2009-06-23 15:45:53 +00:00
charras
96e0bebd0e
code cleaning
2009-06-20 19:09:43 +00:00
charras
f43d1aaa54
Added text justification for graphic texts in libedit and more(see changelog)
2009-06-11 14:26:17 +00:00
charras
edb48d461b
Fixed minor bugs. Code cleaning
2009-06-06 18:08:49 +00:00
charras
483359b39a
fixed a problem when loading a module from lib having some pads with an old netname
2009-06-05 15:57:41 +00:00
charras
b1d1a71101
Finished code cleaning about ratsnets calculations and handling.
...
Minor others changes.
2009-05-28 08:42:24 +00:00
charras
497cb9f7d0
code cleanup
2009-05-25 16:07:33 +00:00
charras
b13267f496
more cleanup and enhancements about rats nest (work in progress)
2009-05-25 14:14:54 +00:00
charras
3f970c85ce
more cleanup and enhancements about rats nest (work in progress)
2009-05-25 11:53:55 +00:00
charras
e073bdc042
Pcbnew: cleaned code in ratsnet calculations (work in progress). The new code is also faster.
2009-05-24 18:28:36 +00:00
charras
8d6044563a
minor cleanup
2009-05-24 13:40:23 +00:00
charras
9edace2f5f
Code clarification about 3 confusing functions to display info: DisplayInfo (displaying a message info) and class members DisplayInfo and Display_Infos doing the same thing (see changelog)
2009-04-17 08:51:02 +00:00