Commit Graph

2757 Commits

Author SHA1 Message Date
Dick Hollenbeck 772a1e0fd9 fix a bug in zone filling with Kbool: https://lists.launchpad.net/kicad-developers/msg05100.html 2010-08-10 09:11:56 -05:00
Dick Hollenbeck 940345e3e0 ++CMakeModules:
Revise TokenList2DsnLexer.cmake to take outCppFile and outHeaderFile optinally
    and enum mandatorily.  Standardize the script's invocation technique within
    all the CMakeLists.txt files.
2010-08-09 11:57:41 -05:00
Dick Hollenbeck 6c5927c536 ++CMakeModules:
Revise TokenList2DsnLexer.cmake to take outCppFile and outHeaderFile optinally
    and enum mandatorily.  Standardize the script's invocation technique within
    all the CMakeLists.txt files.
2010-08-09 11:56:00 -05:00
Dick Hollenbeck 63b600061a ++CMakeModules:
Revise TokenList2DsnLexer.cmake to make an entire derived lexer class that
    returns the proper enum type for superior debugging.
++eeschema
  * netform.cpp now outputs the allowed footprint filters for a given library
    component.
  * There is an auto-generated class called NETLIST_LEXER which is defined in
    from netlist.keywords by TokenList2DsnLexer.cmake into netlist_lexer.h, that
    may be the basis of loading a S-expression form of the generic netlist format
    which is written from netform.cpp.
2010-08-08 21:03:54 -05:00
Dick Hollenbeck fb0bb79a8d TokenList2DsnLexer.cmake, netform.cpp enhancements 2010-08-08 21:03:16 -05:00
Dick Hollenbeck ac2fd24677 ++common
* add xnode.cpp and xnode.h which can be used to output either an XML or
    S-expression document file.
  * Add class STREAM_OUTPUTFORMATTER which is a richio class which can write
    to any of the wxOutputStream derivatives, such as file, socket, zip, tar.
  * Added netlist.keywords
++eeschema
  * netform.cpp can now output S-expression OK, although I have it commented out
    pending the addition of a UI for it.
2010-08-07 19:32:02 -05:00
Dick Hollenbeck f285c8295b S-expression in xnode.cpp 2010-08-07 19:31:07 -05:00
Dick Hollenbeck 6408445eaf add XNODE and XATTR classes for unified document tree exports: XML or S-expressions 2010-08-07 10:32:57 -05:00
Dick Hollenbeck b615939120 change to XNODE and XATTR classes 2010-08-07 10:31:32 -05:00
Dick Hollenbeck 2c44d8175f add XNODE and XATTR classes 2010-08-07 10:25:18 -05:00
Dick Hollenbeck c36bc5510d add *.xsl pluging, fix eeschema/plugins/CMakeLists.txt to install it. 2010-08-05 09:38:20 -05:00
Dick Hollenbeck b9eca9454e Change Node() to node(), changed top level element from <netlist> to <export>, version 'D' 2010-08-05 09:20:12 -05:00
Dick Hollenbeck 22ddf0ad2c Finish up first working version of the XML export. Clean up netform.cpp 2010-08-04 14:17:22 -05:00
Dick Hollenbeck 42f710a945 XML export work 2010-08-04 14:14:51 -05:00
Jason Oster 86a6c4de3b Fix EESchema crash bug on Mac with wxWidgets 2.9 2010-08-03 09:19:55 -04:00
Dick Hollenbeck d24caad246 ++eeschema netlist.cpp and netform.cpp:
* Found several speed optimizations in the netlist export code.
  * Fixed a bug in EXPORT_HELP::FindAllInstancesOfComponent() that I had broke.
  * Now sort the pins properly if they have pin numbers like A1 and A10,
    i.e. alphanumerics in them.
2010-08-03 00:18:50 -05:00
Dick Hollenbeck df9dae6d8e rename NETLIST_HELP to EXPORT_HELP to generalize it a bit 2010-08-03 00:16:13 -05:00
Dick Hollenbeck 2213a347e9 netlist export speed optimizations, bug fix in NETLIST_HELP::FindAllInstancesOfComponent that I put in there yesterday. 2010-08-03 00:11:05 -05:00
Dick Hollenbeck 5d7410c9ea Put netform.cpp functions into a class so scratch memory objects can be freed.
Improve code performance and appearance
2010-08-02 21:13:33 -05:00
Dick Hollenbeck 74b675c1c0 changelog 2010-08-01 09:30:11 -05:00
Dick Hollenbeck 7146863b35 more work on generic netlist export 2010-07-31 19:00:55 -05:00
Dick Hollenbeck a2b3a4cf94 more work on generic netlist export 2010-07-31 18:57:36 -05:00
Dick Hollenbeck 81bcc8d73a trying to reduce the imporantance of field ids for user defined fields in eeschema 2010-07-31 12:20:34 -05:00
Dick Hollenbeck cb35b5633a user defined eeschema component fields should fill next available component field slot 2010-07-31 11:21:16 -05:00
Dick Hollenbeck 43d7b7237e user defined fields should fill next available component field slot 2010-07-31 11:19:51 -05:00
Dick Hollenbeck d48f6e0023 merge from testing 2010-07-31 10:48:27 -05:00
Dick Hollenbeck 1f18ff2812 merge from testing 2010-07-31 10:48:11 -05:00
jean-pierre charras e2d4b16b0c Updated boost::polygon from http://svn.boost.org/svn/boost/trunk/boost/polygon (boost 1.44) Seems fix some issues. 2010-07-31 14:27:59 +02:00
jean-pierre charras 75b5c2474f Updated boost::polygon from http://svn.boost.org/svn/boost/trunk/boost/polygon (boost 1.44) Seems fix some issues. 2010-07-31 14:26:07 +02:00
Dick Hollenbeck 8d777fc6d9 Merge new generic netlist work, code cleaning, and BOM fixes 2010-07-30 16:55:02 -05:00
Dick Hollenbeck 4eb80203bb ++eeschema:
* Now link with XML support within wxWidgets.
  * Start of export the generic netlist in XML.  Still need to rework the chain
    loaded netlist plugin.
  * OBJ_CMP_TO_LIST class now uses a std::string to hold the 8 bit string m_Ref,
    but hides this behind accessors which provide for both Unicode and 8 bit
    set and get functions.
  * build_BOM.cpp retains the selected filename on subsequent runs as a default.
  * Code cleaning, especially in build_BOM.cpp.
2010-07-30 16:41:55 -05:00
jean-pierre charras 217efaa8e1 fixed bug 611680 (EESchema: Negative Repeat Insert Impossible) 2010-07-30 21:36:27 +02:00
jean-pierre charras f9b3ecc4fa fixed bug 611580 (EESchema: Negative Repeat Insert Impossible) 2010-07-30 21:31:05 +02:00
jean-pierre charras 92676ee070 added " pcbnew module editor toolbar items now in menubar" patch from Jerry Jacobs. Fixed TODO, and some issues.
Fixed some minor translation issues (different help texts for the same command in tools and menus).
minor code cleaning.
fixed minor warnings in debug mode.
2010-07-29 22:55:18 +02:00
jean-pierre charras 0a63587342 added " pcbnew module editor toolbar items now in menubar" patch from Jerry Jacobs. Fixed TODO.
minor code cleaning. fixed minor warnings in debug mode.
2010-07-29 22:00:24 +02:00
Dick Hollenbeck 3aabdd265a fix cmake warning 2010-07-28 07:11:55 -05:00
jean-pierre charras 1794a2ae73 Updated boost to version 1.34. Added boost::polygon (experimental).
Fixed some issues with wxWidgets 2.9.1 (fixed Gerbview and Pcbnew crashes under Linux when starting. Could explain also crashes under MACOSX)
Code cleaning.
pcbnew:
    Added experimental zone fill calculations with boost::polygon
    old file zones_convert_brd_items_to_polygons.cpp has now 2 versions:
    zones_convert_brd_items_to_polygons_with_Boost.cpp use boost::polygon to calculate filled areas
    zones_convert_brd_items_to_polygons_with_BKbool.cpp use kbool (code cleaned).
    >>> to use boost polygon version:
        call cmake with option: -DUSE_BOOST_POLYGON_LIBRARY=ON
Eeschema: added patches from Yuri Khalyavin
2010-07-27 20:36:16 +02:00
jean-pierre charras 60c1cbe843 fixed issues with wxWidgets 2.9.1 2010-07-27 18:49:38 +02:00
jean-pierre charras 141d5b5f3c fixed somes issues with wxWidgets 2.9.1 2010-07-27 14:47:08 +02:00
jean-pierre charras 68d652cd63 update changelog and CMakeLists.txt 2010-07-27 11:15:44 +02:00
jean-pierre charras 1d9c3cce7f fixed minor issues. 2010-07-27 11:01:26 +02:00
jean-pierre charras 90621bef00 Updated boost to version 1.34
Added boost::polygon (experimental)
Added experimental zone fill calculations with boost::polygon
Added patches from Yury Khalyavin
2010-07-26 19:06:36 +02:00
Dick Hollenbeck 5ae97bb3e4 [Kicad-developers] Add close shortcut to Library Editor -- from Yuri 2010-07-23 09:12:37 -05:00
Yury Khalyavin 0191ee9a6e Set focus in library edit item dialog so escape key closes dialog in wxGTK. 2010-07-22 16:12:40 -04:00
jean-pierre charras 17aa17fb70 Fixed a wxWidgets 2.9.1 issue: incorrect wxBitmaps buttons sizes in Kicad manager. 2010-07-21 11:12:25 +02:00
jean-pierre charras ea40d26aa7 code cleaning.Minor enhancements. Fixed issues in microwave tools.
finished replacement of Get_Message (not very useful) by wxTextEntryDialog
2010-07-21 10:19:03 +02:00
jean-pierre charras 3c3727039f minor enhancements. fixed issues in microwave tools.
finished replacement of Get_Message (not very useful) by wxTextEntryDialog
2010-07-21 10:15:54 +02:00
Marco Mattila 42022cfc6b https://lists.launchpad.net/kicad-developers/msg04976.html 2010-07-20 20:37:34 -05:00
jean-pierre charras e286b6f81d fixed very minor compil warning 2010-07-20 20:20:06 +02:00
jean-pierre charras b102776b5f merge diff from Launchpad 2010-07-20 20:16:29 +02:00