143 Commits

Author SHA1 Message Date
Wayne Stambaugh
bdca3c5efb All control state handling is now performed in wxUpdateUIEvent handlers.
* Old control state handling code completely removed in all applications.
* Factor common control state handlers into EDA_DRAW_FRAME.
* Replaced EDA_ITEM test for newness with IsNew() method.
* Factor vertical right toolbar command handlers out of giant edit command
  switch statement in EESchema and PCBNew.
2011-02-21 08:54:29 -05:00
Wayne Stambaugh
7b8b51b240 Draw panel object refactoring and other minor code cleaning.
* Rename all member variables and methods that reference the cross hair
  code in draw panel object from cursor to cross hair to eliminate confusion
  between the two concepts.
* Rename cursor capture call backs in draw panel object to improve code
  readability.
* Create helper class for turning off the cross hair while drawing.
* Remove redundant block clear code.
* Remove redundant mouse capture call back reset code when end capture
  call back is called.
* Remove unused function definitions in base draw frame object.
* Lots of minor coding policy and doxygen comment fixes.
2011-02-11 15:48:13 -05:00
Dick Hollenbeck
604edcac3a ++all:
* DSNLEXER::NextTok() now uses two separate modes to parse quoted strings.
    This gives us the freedom to control our own destiny separate from the
    constraints put on us by the Specctra DSN spec.
  * Added Documentation/s-expressions.txt to explain all this.
  * Enhanced our quoting protocol by moving away from doubling up double quotes
    to a C line escape mechanism.
  * Now support multi-line strings, which when properly escaped, can still be
    read in as a token originating on a single line.
2011-01-30 13:26:03 -06:00
Dick Hollenbeck
bf5c8f55e1 temporary fix until tomorrow 2011-01-29 16:04:51 -06:00
Marco Mattila
7ccdb5589d Add saving of pcb plot settings in board files. 2011-01-29 00:54:16 +02:00
Marco Mattila
2c7628fdf7 Fix board file layer type reading bug in pcbnew. 2011-01-27 16:33:48 +02:00
Marco Mattila
e79b596308 Add FILTER_READER class. Introduce FILE_LINE_READER into pcbnew. 2011-01-14 19:43:30 +02:00
Dick Hollenbeck
6113bbf606 Brian's save grid origin patch 2011-01-14 01:49:16 -06:00
Wayne Stambaugh
c79077c9a2 Minor fixes and lots of coding policy changes. 2010-12-08 15:12:46 -05:00
jean-pierre charras
cdd9e8cabe Pcbnew: code cleanup 2010-11-26 18:47:35 +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
f0213de0ef code cleaning. 2010-07-20 20:11:34 +02:00
jean-pierre charras
4787b38a63 Pcbnew: Fixed minor problems (bugs 568357 and 568356). Changed French word COTATION to DIMENSION in class COTATION (now class DIMENSION) 2010-04-23 11:54:40 +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
28f3b1988d Pcbnew: Code cleaning about visibility variables in draw functions.
Removed old color and visiblity dialog
work in progress.
See also TODO, P0)
2010-01-27 20:07:50 +00:00
dickelbeck
58fc9d8f09 layer widget incorporation into pcbnew 2010-01-21 07:41:30 +00:00
charras
84a0e32865 fixed build problem for specctra.cpp stand alone. 2010-01-05 08:48:49 +00:00
dickelbeck
860fbb16d7 ++pcbnew & gerbview
* Moved ReturnLayerName() to static BOARD::GetDefaultLayerName() and migrated
    to a Specctra DSN compatible default layer naming scheme:
        Component becomes Front, Copper becomes Back.
  * set_color.h: Cmp becomes Front, Cu becomes Back.
  * D_PAD::DisplayInfo() changed to use actual copper layer names.
  * more layer setup dialog work, moved all programmatic wxControl instantiation
    into the wxFormbuilder environment, but this is fraught with danger:
    wxFlexGridSizer used the tallest control to establish the row heights, so
    be careful about changing control borders in the scroll panel. The vertical
    size can explode since just a couple of pixels times the number of rows
    is substantial.  Currently I am setting a 5 pixel border only left, top, and right
    but not bottom.
  * Set copper layer count is back in place as a hack until I can get the enabled
    layer bit map fully operational.
2009-12-07 03:46:13 +00:00
stambaughw
506a73c387 More comment translation work.
* Translate source files D through L in pcbnew.
* Add translate tag for comments that did not translate correctly.
2009-11-14 22:15:22 +00:00
charras
a3f48bf241 pcbnew Added: control of masks clearance. See changelog for more info 2009-11-04 19:08:08 +00:00
charras
29e217d310 pcbnew Rewrite the GUI relative to the tracks widths and vias diameters and drills selection and edition, for compatibility with new netclass approach. 2009-10-30 17:58:15 +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
dickelbeck
25973e5608 Isaac's next layer selection and configuration work step 2009-10-18 23:22:26 +00:00
charras
ae12e69860 fixed a minor problem in pcbnew compiled in DEBUG mode, that prints a lot of error messages when loading a board 2009-10-13 16:29:02 +00:00
dickelbeck
b4fe26a31f Isaac's next color/layer work step 2009-10-10 01:25:53 +00:00
charras
498f0c9164 minor problems fixed 2009-10-07 17:10:37 +00:00
charras
c974c42daf eeschema: 2 bugs fixed
pcbnew: more about netclass work
2009-10-06 13:19:40 +00:00
dickelbeck
ce4d22f024 work around some gcc 4.3.3 compiler warnings 2009-10-05 04:22:27 +00:00
charras
f3590e51ff pcbnew: fixed a crash when removing A netclass. More about netclass work. 2009-09-28 16:14:45 +00:00
charras
e8fef505f8 Pcbnew: fixed a double deletion that crashes pcbnew. Starting my work on net classes (moving target) 2009-09-27 11:00:21 +00:00
stambaughw
43d6c685b5 Command ID refactoring and other minor improvements.
* Split out application specific command IDs to prevent unnecessary rebuilding.
* Eliminate duplicate menu and tool bar command IDs.
* Split component library editor and viewer definitions to separate header files.
* More component library and document file merge code.
* A bunch of minor string readability and consistency fixes.
2009-09-22 12:27:57 +00:00
dickelbeck
362b6b53f6 NETCLASS work, see CHANGELOG.txt 2009-09-10 15:22:26 +00:00
dickelbeck
85dc98a58a more netclass work 2009-08-17 02:59:38 +00:00
dickelbeck
5c3f35c2f3 beautification in preparation for netclass work. 2009-08-10 02:22:56 +00:00
charras
148a574e6f More about undo/redo in pcbnew 2009-08-08 06:07:08 +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
e7c9ae2b45 First work about net classes. This is a work in progress and a moving target 2009-07-18 11:44:19 +00:00
jerryjacobs
db6630b81c Added hauptmech big patch, Updated documentation to match this patch. See CHANGELOG.txt 2009-06-19 20:13:22 +00:00
charras
92266a1986 Pcbnew: Added: in DRC tests: tests for vias min size and tracks min width.
Eeschema: code cleaning
2009-06-18 13:30:52 +00:00
charras
edb48d461b Fixed minor bugs. Code cleaning 2009-06-06 18:08:49 +00:00
charras
b1d1a71101 Finished code cleaning about ratsnets calculations and handling.
Minor others changes.
2009-05-28 08:42:24 +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
555b1c5ad9 code cleaning 2009-05-21 14:59:54 +00:00
charras
b256efc50e minor bugs fixed 2009-05-21 12:45:21 +00:00
stambaughw
689579bde1 Global variable unobfuscation, new library path search, and lots of other changes. See CHANGELOG.txt. 2009-04-05 20:49:15 +00:00
charras
88cde3090e Pcbnew: Alternate via drill value entered in dialog box is now saved in config and board. 2009-02-09 07:49:02 +00:00
charras
1d3f2d520c Pcbnew : refinements for user grig 2009-02-07 14:13:16 +00:00
stambaughw
b833a46bad More header file realignments to reduce recompiling and general code cleaning. 2009-02-04 15:25:03 +00:00