Commit Graph

223 Commits

Author SHA1 Message Date
Marco Mattila cbee247737 Add zone corner smoothing to pcbnew. 2011-02-21 21:43:59 +02:00
jean-pierre charras fe50448399 Pcbnew: remove duplicate definitions of some flags (like EDIT and IN_EDIT) that have exactly the same meaning, but different values... (very dangerous)
Remove obsolete code.
2011-02-13 18:53:48 +01:00
Marco Mattila 249cb0dea0 Fix zone fill state toggling when saving and reloading a board file in pcbnew. 2011-01-27 16:54:21 +02:00
Wayne Stambaugh 73e38ce98c EESchema code refactoring and coding policy naming fixes.
* Move schematic wire and bus break code into schematic screen object.
* Move schematic test for dangling ends into schematic screen object.
* Remove left over debugging output in schematic screen object.
* Remove unused file eeschema/cleanup.cpp.
* Fix bug in schematic line object hit test algorithm.
* Fix a string concatenation compile error added in r2752.
* Rename class WinEDA_BasicFrame to EDA_BASE_FRAME.
* Rename class WinEDA_DrawFrame to EDA_DRAW_FRAME.
* Rename class WinEDA_DrawPanel to EDA_DRAW_PANEL.
2011-01-21 14:30:59 -05:00
jean-pierre charras b0b49df4e2 Pcbnew: bug fix: m_ZoneMinThickness parameter not copied in zone copy function. In copy block, copied zones have an erroneous m_ZoneMinThickness parmeter value. 2011-01-20 19:40:33 +01:00
Marco Mattila e79b596308 Add FILTER_READER class. Introduce FILE_LINE_READER into pcbnew. 2011-01-14 19:43:30 +02:00
Wayne Stambaugh 7cb34aece7 Schematic component object encapsulation and Doxygen comment warning fixes. 2010-12-14 10:56:30 -05:00
Wayne Stambaugh adb4ad1a7b Schematic object improvements and other minor fixes. 2010-12-10 14:47:44 -05:00
Wayne Stambaugh c79077c9a2 Minor fixes and lots of coding policy changes. 2010-12-08 15:12:46 -05:00
jean-pierre charras 746dea5ae3 Pcbnew: fix a serious bug in ZONE_CONTAINER::HitTestFilledArea( ) which could break connectivity calculations relative to copper areas.
Fix also very minor issues relative to copper zones.
Update boost::polygon from Boost svn repository.
2010-11-13 20:21:16 +01: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
jean-pierre charras 6b05cf315f Fixed bug in GRLineArray(). Cleanup Gerbview code 2010-10-13 21:50:23 +02:00
Marco Serantoni ea812ef5c9 Zones drawing optimization with WXGrapchisContext + Fix bug #612132 2010-10-09 10:08:29 +02:00
charras a46cd46d9d pcbnew: More about work on color selection and items visibility:
removed global variables and a lot of redundancies
2010-01-31 20:01:46 +00: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 54b561236f Uses a buffered DC in OnPaint event. Seems solve slow grid redraw on some PC. 2010-01-12 13:15:13 +00:00
charras e027e65971 code and files cleanup 2009-10-28 11:48:47 +00:00
charras fe10a9938f Removed global default clearance, track size and vias drill. Use netclasses values only. 2009-10-21 19:16:25 +00:00
stambaughw 7e24e43890 wxWidgets 2.9 string fixes and other minor updates.
* Replace all known instances of (const wxChar*) casts to GetChars() for
  wxWidgets 2.9 compatibility.
* Cleaned up get component dialog so last part gets saved on wild card
  selections.
* Remove redundant schematic component drawing code.
* Added SCH_COMPONENT constructor to create new component from library
  component object.
* Add message panel helpers to WinEDA_DrawFrame and update old message
  panel access code.
* Using library viewer to add component to schematic now respects unit
  and body style selection.
2009-10-16 17:18:23 +00:00
charras ccbce931d2 All: better look when displaying info on messages panel 2009-10-11 13:04:47 +00:00
dickelbeck b4fe26a31f Isaac's next color/layer work step 2009-10-10 01:25:53 +00:00
charras 7776dd61eb use kbool 2.1 in zones calculations. see CHANGELOG for others changes and more info 2009-09-17 17:48:40 +00:00
charras cfdb28394e Pcbnew: Work on undo/redo in Pcbnew almost finished. 2009-08-23 15:22:44 +00:00
charras 148a574e6f More about undo/redo in pcbnew 2009-08-08 06:07:08 +00:00
charras e5102715e2 class SEG_ZONE deprecated 2009-08-06 18:30:46 +00:00
charras 61550f1ab7 pcbnew: work on undo/redo in progress 2009-08-01 19:58:01 +00:00
charras 41c80dd95b pcbnew: work on undo/redo in progress 2009-08-01 19:26:05 +00:00
charras 42022adb3f code cleaning 2009-07-30 11:04:07 +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 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
charras 71ca194b68 overbar patch merged mainly in eechema/class_pin.cpp. Some cleanup and compil problem fixes. 2009-04-06 10:56:17 +00:00
dickelbeck 9f555dbdbc faster if tests 2009-02-05 18:17:01 +00:00
stambaughw b833a46bad More header file realignments to reduce recompiling and general code cleaning. 2009-02-04 15:25:03 +00:00
dickelbeck b603580355 WinEDA_BasePcbFrame::m_Pcb is now private, use GetBoard() to access it. 2009-01-05 05:21:35 +00:00
dickelbeck 0d790e57a2 polygon work, EDGE_MODULE::m_PolyPoints is now std::vector 2008-12-29 18:02:54 +00:00
charras 6d856f60a6 Pcbnew: Added display a short net name on vias and pads. Also, code cleaning 2008-12-14 19:45:05 +00:00
charras 9dae370c1f cleanup, cosmetic enhancements. enhancements about display zones options 2008-12-12 21:30:07 +00:00
dickelbeck aab39d1de7 injected DLIST<> into many list heads, see change_log.txt 2008-12-04 04:28:11 +00:00
charras 75b3c3bf37 Switch to polygons in zones (old way no more supported)
areas can be now filled using solid polygons, or using segments to fill areas inside polygons.
2008-12-03 10:32:53 +00:00
charras 6691eca2fa taking in account filled zones areas in pcb cleanup and tracks creation 2008-11-27 10:12:46 +00:00
charras 1c6ff86768 Zones now have a min thickness filled area parameter 2008-11-22 20:50:30 +00:00
charras f723c540d0 code cleaning. Some comments translated into English.
Added: Zones unfill in polygon mode
2008-10-29 15:26:53 +00:00
charras ffca523980 code cleaning in zones functions 2008-10-23 10:26:06 +00:00
charras 43ee94b7a4 zones in pcbnew: some optimizations 2008-10-19 18:18:45 +00:00
charras 9eba4f9554 Solved a bug when creating a new zone outline that could crash pcbnew 2008-10-17 06:17:48 +00:00
charras 544ca4c90d solved a very subtle bug in polygon_test_point_inside.cpp. Sometimes a point outside a polygon was seen inside the polygon 2008-10-15 17:14:51 +00:00
charras 3de5ffc703 minor bug: zones outlines hatch options not read from file 2008-10-12 15:58:52 +00:00
charras 2ffa08973c Some enhancements about zones 2008-10-10 11:31:46 +00:00
charras ca51c6eb1c use wxFormBuilder in dialog zone, and minor enhancements 2008-10-09 19:13:25 +00:00
charras b18eedb432 More about copper zones filled without grid (by polygons) - work still in progress 2008-10-08 12:36:27 +00:00
charras 6167f5fc75 More about copper zones filled without grid (by polygons) - work still in progress 2008-10-07 12:10:24 +00:00
charras 3683ab745b More about copper zones filled without grid (by polygons) 2008-10-07 09:32:56 +00:00
charras ab1df3f1d7 more about non copper zones (see changelog) 2008-09-27 19:26:29 +00:00
charras 27cf4ad0ad pcbnew: addded zones in non copper areas and starting work to use polygons in zone fill algos in not copper areas
work in progress: see changelog
2008-09-26 19:51:36 +00:00
dickelbeck 32dad281bd whitespace removal 2008-05-05 19:49:25 +00:00
dickelbeck 2e94a70860 zone_container GetBoundingBox() deployment 2008-05-02 05:16:35 +00:00
dickelbeck a91f255ccd instance specific zone container clearance and pad treatment 2008-04-02 16:58:56 +00:00
dickelbeck aa93f54d97 BOARD_ITEM::Draw() 2008-04-01 05:21:50 +00:00
dickelbeck 10e13ae50a layer names in *.brd file 2008-03-04 04:22:27 +00:00
CHARRAS 7055a2bc47 zone outlines edition: added drag outline edge 2008-02-01 21:30:45 +00:00
CHARRAS af445e70ea remove the old EDGEZONE class. Cleaning code in polyline.x 2008-01-31 20:53:44 +00:00
CHARRAS b8b0fc6e04 Bugs about fill zones and block delete removed 2008-01-24 21:05:08 +00:00
CHARRAS 4195d71fa2 Bugs about fill zones and block delete removed 2008-01-24 19:51:13 +00:00
CHARRAS e9b3322fc0 On line DRC when creating a zone outline 2008-01-20 19:55:22 +00:00
CHARRAS 638ab25498 more about zones. 2008-01-06 20:58:27 +00:00
CHARRAS 0120f07d54 code cleaning 2008-01-06 17:19:36 +00:00
CHARRAS 339a90e7ac Block commands now works with zones. 2008-01-06 12:43:57 +00:00
CHARRAS 97be005035 Added: Delete cutout outline in zone popup menu 2008-01-05 13:37:51 +00:00
CHARRAS ffd3a7133a more about zones. current No DRC for outlines 2008-01-04 12:27:16 +00:00
CHARRAS 738d00ba72 more about new zone handling: fill zones now exists 2007-12-30 18:20:51 +00:00
CHARRAS 5eda8a52ce First draft (and first code..) about new zone handling 2007-12-29 19:15:58 +00:00
raburton fe284db095 set eol-style native on new files 2007-12-09 12:59:06 +00:00
CHARRAS bffa0689f0 changes in file organisation and classes to prepare zone redesign 2007-12-09 12:55:53 +00:00