Commit Graph

55 Commits

Author SHA1 Message Date
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 ed8c021f63 ++all:
* TokenList2DsnLexer.cmake now supports comments, which start with a leading
    # character, and may be either on their own line or on a line after a token.
  * DSNLEXER::PopReader() now pops even the last LINE_READER* and returns it.
++pcbnew:
  * SPECCTRA_DB now inherits from new class SPECCTRA_LEXER, which led to a great
    deal of simplification and code factoring.
  * Moved specctra keywords into specctra.keywords.
2011-01-19 14:46:07 -06:00
Wayne Stambaugh 7cb34aece7 Schematic component object encapsulation and Doxygen comment warning fixes. 2010-12-14 10:56:30 -05: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 067bf8518c change IOError class name spelling to IO_ERROR to conform to coding standards 2010-11-09 09:45:11 -06:00
jean-pierre charras a188f9d06e added orto2 patch 2010-10-04 14:58:07 +02:00
Dick Hollenbeck fb0bb79a8d TokenList2DsnLexer.cmake, netform.cpp enhancements 2010-08-08 21:03:16 -05:00
Dick Hollenbeck f285c8295b S-expression in xnode.cpp 2010-08-07 19:31:07 -05:00
Dick Hollenbeck 0361ad6a55 factor some pioneering code into a the stable building block class DSNLEXER, generalize expected valued for name and value within the template field parser. 2010-06-18 11:00:16 -05:00
stambaughw 143526462c First pass at DSN token file generator and other minor changes.
* Add CMake script to generate DSN token header and source file from
  token list file.
* Add preliminary component library DSN token list and lexer file to
  test script and prepare for new component library file lexer.
* EESchema: right click on ERC check mark displays error in message panel.
* Remove PCBNew header file dependency from common DSN lexer source.
* Minor code clean ups.
2010-04-06 14:09:52 +00:00
dickelbeck e5bfcbbd91 Fix a bug in board edges export to specctra DSN format. If the direction
of the S_SEGMENTs were not all the same, the specctra PATH points would 
come out wrong.
2010-04-01 15:00:47 +00:00
dickelbeck f1f11cf66d revive target 'dsntest' from common, start exploring pasting text from clipboard, primitively. 2010-03-08 06:18:40 +00:00
dickelbeck ceb6ad1a72 * Factored out the DSNLEXER class so it can be re-used more generally. The
constructor takes a keyword table, so it can be used for arbitrary DSN
    syntax files of your own chosing.  Simply create an enum {} with all your
    unique tokens in it.  Then create a KEYWORD table.  See SPECCTRA_DB::keywords[].
    The reason you want an enum is to give the C++ debugger better type information
    so it can show symbolic integer symbols.
  * Factored out common richio.cpp and richio.h
    which is what DSNLEXER uses.
  * Fixed some minor issues with reading circuit descriptor from a *.dsn file.
2009-12-11 04:55:24 +00:00
dickelbeck 0c6a37f89e ++pcbnew
* Added exporting of netclass vias to specctra_export.
  * DIALOG_DESIGN_RULES now remembers it last selected TAB and screen position and
    window size, and its grid columns are automatically expanded to fit the
    column titles.  Remembering screen position and size allows someone with
    multiple monitors, to have a given window always come up on the monitor last chosen
    for it.
2009-11-02 05:20:58 +00:00
dickelbeck 362b6b53f6 NETCLASS work, see CHANGELOG.txt 2009-09-10 15:22:26 +00:00
dickelbeck 8f853800e3 Topo-R specctra import fix 2009-07-13 22:59:56 +00:00
dickelbeck 3a618567bb netless zone support fix to specctra export 2009-02-07 16:45:07 +00:00
dickelbeck 35e8a286e8 resolved the zone 'cutout' support to specctra, handle zones with attached to no nets, namelessly 2009-02-06 22:10:37 +00:00
dickelbeck 31aee8ef3e specctra export zone 'cutout' support 2009-02-06 14:23:56 +00:00
dickelbeck 9536bdce5f limit printf arg testing to GNUG 2008-08-29 02:52:50 +00:00
dickelbeck dfce81f4d9 prettier DSN 2008-08-05 15:48:30 +00:00
dickelbeck 6ccee86a93 fillBOUNDARY to separate function 2008-05-05 19:50:15 +00:00
dickelbeck 2da432b271 plot fix, beautification 2008-03-22 05:55:06 +00:00
dickelbeck c406eed135 class name changes, XOR artifacts 2008-03-20 01:50:21 +00:00
dickelbeck 8ef962305a more amazing free specctra software 2008-02-29 06:49:34 +00:00
dickelbeck 7559e1347c specctra_export: add support for dsn outline 2008-02-22 17:34:11 +00:00
dickelbeck 36554e68d4 on export, test via for netcode == 0 2008-02-21 06:04:32 +00:00
dickelbeck c7e7014b14 module flip reverting on exception 2008-02-14 15:34:40 +00:00
dickelbeck bd9713fb86 more amazing free specctra work 2008-02-14 01:10:28 +00:00
dickelbeck 709be49518 more amazing free specctra work 2008-02-14 01:07:52 +00:00
dickelbeck 2b215d81ba amazing free specctra software 2008-02-12 01:02:53 +00:00
dickelbeck d47823c144 specctra session work 2008-02-09 08:34:45 +00:00
dickelbeck 7dbb0da3bb more amazing free specctra import/export software 2008-02-08 00:16:59 +00:00
dickelbeck f0ba106edb more amazing free software 2008-02-07 20:23:58 +00:00
dickelbeck c8584436b4 specctra import work 2008-02-07 06:49:16 +00:00
dickelbeck cf460637b2 beginnings of the 2 specctra imports 2008-02-06 22:32:15 +00:00
dickelbeck ab01d0f2f2 more amazing free software 2008-02-05 05:08:10 +00:00
dickelbeck d4562043a2 more amazing free software 2008-02-03 21:46:12 +00:00
dickelbeck 227fa1e26e fixed specctra_export's net handling 2008-02-03 15:23:00 +00:00
dickelbeck b9f9d53998 more amazing free specctra software 2008-02-01 20:32:18 +00:00
dickelbeck 14cd0109aa more amazing free software 2008-02-01 01:09:39 +00:00
dickelbeck b62a69fc9b more amazing free software 2008-01-31 06:46:31 +00:00
dickelbeck e775cee97b more amazing free software 2008-01-31 01:30:52 +00:00
dickelbeck b91f11ad38 more amazing free software 2008-01-30 19:16:46 +00:00
dickelbeck 1c294c33a5 more free specctra support, MODULE::GetValue() 2008-01-29 22:09:09 +00:00
dickelbeck 67ebe29b60 more free specctra work 2008-01-29 16:45:14 +00:00
dickelbeck 6ab5ad27f5 Wayne Stambaugh's patch which allows infospgm.cpp to be compiled once rather than for each program 2008-01-28 05:49:15 +00:00
dickelbeck eaa147c110 spelling errors, specctra work 2008-01-26 02:02:27 +00:00
dickelbeck 501fb2c270 more free specctra work 2008-01-25 22:03:36 +00:00
dickelbeck 1969a51173 more free specctra dsn work 2008-01-24 21:47:54 +00:00