Commit Graph

863 Commits

Author SHA1 Message Date
jean-pierre charras 352dcb3823 added eeschema rotate block patch from pascal baerten. Uncrustify files. fixed some issues. 2010-09-05 19:01:48 +02:00
jean-pierre charras b45a35b719 Switch to new Kicad about dialog: removing old code. 2010-09-03 19:39:57 +02:00
Dick Hollenbeck fe6591b287 formatting cleanups 2010-08-31 05:44:38 -05:00
Yury Khalyavin b2a09cc26d https://lists.launchpad.net/kicad-developers/msg05013.html 2010-08-31 05:43:10 -05:00
jean-pierre charras 4264ddb061 netform.cpp added in intermediate netlist the pin list for each component in schematic. Some netlist formats (spice, orcadpcb2) are very simple to create with this pins list. 2010-08-29 21:33:29 +02:00
Marco Mattila 9936bef7f8 https://lists.launchpad.net/kicad-developers/msg05202.html 2010-08-29 13:15:19 -05:00
Marco Mattila 356835c87f https://lists.launchpad.net/kicad-developers/msg05228.html 2010-08-29 11:09:07 -05:00
jean-pierre charras f77121a57a Fixed compatibility with wxWidegets 2.9.1.
Added hotkeys editor from David Turner, with a lot of enhancements and fixes
Added pins connections info in intermediate netlist for each compoment. This is redundant, but some netlist formats (ORCADPCB, PSPICE) are very easy to create with this redundant info.
2010-08-28 20:02:24 +02:00
Wayne Stambaugh 91530e7a60 Added help menu item to copy bug report information to clipboard. 2010-08-24 13:26:51 -04:00
jean-pierre charras 8921272a2f fixed libedit regression 2010-08-22 19:42:55 +02:00
jean-pierre charras c108af9841 Added a plugin to create cadstar netlist, using the new intermediate file.
fixed issues in pads-pcb xsl converter
2010-08-20 15:41:36 +02:00
Dick Hollenbeck 92d58ffea4 XML tweaks 2010-08-19 09:02:49 -05:00
Dick Hollenbeck 36575c0e1a go back to XML from S-expressions in WriteGENERICNetList() 2010-08-11 14:54:22 -05:00
Dick Hollenbeck 0ceb19879b implement OUTPUTFORMATTER::Quoted() 2010-08-11 14:52:44 -05:00
Dick Hollenbeck 0980306f2a fix stylesheet 2010-08-11 10:32:44 -05:00
Dick Hollenbeck 97767241e4 fix path bug, use lower case local variable names please 2010-08-11 09:47:16 -05:00
Dick Hollenbeck b3f13be336 https://lists.launchpad.net/kicad-developers/msg05157.html 2010-08-11 00:58:34 -05:00
Wayne Stambaugh 3c878aecdd MSVC compile error and memory leak fixes.
* Fixed multiple line strings causing MSVC compile errors.
* Fixed memory leak when attempting to add duplicate library component.
* Added recent cmake generated files to bazaar ignore list.
* Minor code cleaning.
2010-08-10 11:42:26 -04: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 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 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 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 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 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 43d7b7237e user defined fields should fill next available component field slot 2010-07-31 11:19:51 -05:00
Dick Hollenbeck 1f18ff2812 merge from testing 2010-07-31 10:48:11 -05: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 f9b3ecc4fa fixed bug 611580 (EESchema: Negative Repeat Insert Impossible) 2010-07-30 21:31:05 +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
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 141d5b5f3c fixed somes issues with wxWidgets 2.9.1 2010-07-27 14:47:08 +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 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
Yury Khalyavin 4fc3e40712 This path select next item in "Component library files" after deleted
item.
2010-07-20 12:05:11 -05:00
jean-pierre charras 5605ce89ff Fixed very minor issues.
Fixed compil warning under wxWidgets 2.9.1.
File beautification
Statring using wxTextEntryDialog instead of Get_Message (because Get_Message does not handle properly cancel option)
2010-07-20 12:30:40 +02:00
Dick Hollenbeck 2fb1de809f Running cmake with -DCMAKE_BUILD_TYPE="Debug" causes build errors at:
/pcbnew/class_netclass.cpp:324
eeschema/class_sch_component.cpp:933
2010-07-19 10:40:54 -05:00
jean-pierre charras 6292dcba76 minor fix 2010-07-17 14:04:42 +02:00
jean-pierre charras 28a3e5840f Added grag labels patch 2010-07-17 13:14:57 +02:00
Mathew Beckler 6c9f6ed760 https://lists.launchpad.net/kicad-developers/msg04973.html 2010-07-15 09:18:11 -05:00
jean-pierre charras f45c260a00 Code cleaning. Minor fixes. Better link to gnucap.
Fixed a minor issue when creating a netlist. for nets having global labels, global label names were ignored when naming this net.
2010-07-14 15:24:36 +02:00
Dick Hollenbeck bc14e66d78 A little useful feature: even if the default unit can be changed between
inches and mm, the industry is crazy enough to force us with mixed
design. For example I routinely use imperial units for track size and
clearance, but drilling is strictly a metric issue...

So I added a little parser to recognize a suffix specification in the
unit text boxes... so you can put in things like:
1in (1 inch)
1" (idem)
25th (25 thou)
25mi (25 mils, the same)
6mm (6 mm, obviously)

The rules are: spaces between the number and the unit are accepted, only
the first two letters are significant.

As a bonus, it also recognize the period (.) as a decimal point
substituting it with the correct locale character (there was a wishlist
for it, IIRC). Most useful for number pad fans :D
2010-07-12 09:07:09 -05:00
jean-pierre charras 0d530fb353 dialog_edit_component_in_schematic: moved "Reset to Library Default" Button. This command is now undoable. 2010-07-11 19:26:03 +02:00
jean-pierre charras 052876079a fixed bug 603481. Better bitmap2component look. fixed some locate problems for footprints using polygons (mainly created by bitmap2component) 2010-07-11 18:24:44 +02:00
Dick Hollenbeck ce0eec899c fix comment to proper English 2010-06-30 08:08:50 -05:00
jean-pierre charras 1872a80836 Cleaning code: moved some help strings used both in toolbars and menus in a single file help_common_strings.h,
in order to avoid slightly different help strings for the same command, and avoid some not needed  translations.
2010-06-30 13:15:34 +02:00
jean-pierre charras c580d5d72c fixed a serious bug in zone filling, for pads with drill but not on all layers 2010-06-28 15:11:14 +02:00
Wayne Stambaugh e1b5d49f1b EESchema component library and hierarchical sheet label object improvements.
* Continue component library class clean up and encapsulation work.
* Change hierarchical sheet label container to boost::vector_ptr.
* Encapsulate hierarchical label handling in hierarchical sheet class.
* Convert some missed occurrences of wxString::GetData() to GetChars( wxString ).
* Fix some minor code formatting issues.
2010-06-24 14:31:43 -04:00
jean-pierre charras 3543ba65de ++eeschema:
In netlist generation, changed the rule to calculate netnames of nets with labels:
    Previously, named nets (i.e. nets with local, hierarchical or global labels) have their name
    defined by the first label found in list.
    So net names could be changed without really changing the schematic.
    Now the names are calculated from the rules (by priority order) :
    1 - use the most top level labels in hierarchies.
    2 - use global labels first, local labels next (hidden power pins names are global labels).
    3 - use alphabetic sort (so, if GND and AGND are connected, the net will be always named AGND,
    and adding a VSS connection cannot change the net name)
    So power nets and nets that have more than one label cannot have their netname changed
    if there is no actual change relative to these nets names in schematic
2010-06-23 19:00:12 +02:00
jean-pierre charras 9cf56261b6 give an icon to bitmapt2component frame 2010-06-20 16:47:30 +02:00
jean-pierre charras c22c0bada9 merging last changes from repository 2010-06-19 15:52:32 +02:00
jean-pierre charras 1ab68d8fb8 fixed very minor things. 2010-06-19 12:58:50 +02:00
Dick Hollenbeck fcbcb64058 *.lst -> *.keywords, rename input filenames to CMake script TokenList2DsnLexer.cmake 2010-06-18 11:12:15 -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
Dick Hollenbeck f3d5c4948b meet Ralph, a big harry template fieldnames patch 2010-06-17 11:30:10 -05:00
Wayne Stambaugh 534bb97dc5 Closes bug report 592566.
* Field match method expected SCH_SHEET_PATH pointer type not SCH_SHEET
  pointer type.
2010-06-11 14:34:20 -04:00
jean-pierre charras ac11d86c2f Added an experimental tool to create logos from .bmp bitmaps. Added Potrace library to convert bitmaps to polygons 2010-06-10 20:43:12 +02:00
jp 3a2f19c978 fixed bug 586032 (undo/redo issues) 2010-05-31 13:46:14 +02:00
jean-pierre charras 79139b6599 fixed bugs 587176 and 587175 2010-05-29 20:34:18 +02:00
jean-pierre charras b0a7cfc8b7 fixed bug 583939 (footprint name edition in Eeschema) 2010-05-23 19:44:08 +02:00
jean-pierre charras 792eb943b5 fixed bug 583939 2010-05-23 19:39:47 +02:00
Wayne Stambaugh 5ce9c9a9d7 Open file dialog fixes and minor code cleaning.
* Fix a minor problem with wxFileDialog to open a file that no longer
  exists in PCBNew.
* Make GerbView open file behavior the same as PCBNew.
* Remove redundant PCB file wild card definition.
* Add open file refactor task to the todo list.
* Fix some minor code formatting issues.
2010-05-17 16:35:46 -04:00
Jerry Jacobs d2994d586f Updates for OS X 2010-05-16 20:18:38 +02:00
Dick Hollenbeck 74cc5a75a8 fix Bug #578532, document and embellish QuoteFullPath() 2010-05-11 09:35:13 -05:00
Jerry Jacobs 06377c15a2 Rework on icons, and more OS X updates 2010-05-09 04:04:44 +02:00
jean-pierre charras 61e6565413 Eeschema: fixed bug 577083. Also fixed a bad import of predefined fields when loading a component from a library, when this component has some empty fields like footprint and documentation but have user fields not void. 2010-05-08 18:32:35 +02:00
jean-pierre charras 31406023ed Fixed eeschema crash when reading a void library file 2010-05-08 12:54:41 +02:00
jean-pierre charras 9026fe6e56 fixed bug 573833 2010-05-02 21:35:46 +02:00
jean-pierre charras cddc8f3663 fix wxWidgets 2.9 compatibility problem 2010-04-28 20:32:13 +02:00
Alain Portal 61cf376218 Apply patch from Alain Portal to fix bug 570074 and other minor updates.
* Removed redundant empty string test, thanks again Alain.
* Minor code cleaning.
2010-04-27 15:19:04 -04:00
jean-pierre charras 1ca9cbe547 Fixed bugs #568896 and #569312 and minor code cleaning 2010-04-24 13:27:38 +02:00
jean-pierre charras 3b658b4be6 Fixed bugs #568896 and #569312 2010-04-24 11:03:35 +02:00
jean-pierre charras 8560488612 Printing functions fixes, and other minor enhancements 2010-04-21 19:22:27 +02:00
jp ec5e682ef8 fixed some issues in SVG export. 2010-04-20 13:23:59 +02:00
jean-pierre charras 0d485b4b4a fixed bug 564619. 2010-04-17 12:45:00 +02:00
Wayne Stambaugh 70e2f6b240 Add Bazaar ignore file and minor bug fix.
* Add Bazaar ignore file to ignore files generated by CMake scripts.
* Fixed bug when compiling for Windows agaist shared wxWidgets library.
2010-04-12 14:34:26 -04: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
charras 59782e2f37 Enhancements in Pcbnew libraries config dialog 2010-04-02 14:26:27 +00:00
charras ecab9f8b83 Eeschema library config dialog enhancements: multi selection of lib names and up/down command 2010-04-02 11:48:30 +00:00
charras 50f5eb371b fixed wxWidget 2.9 compatibility problem. 2010-04-02 05:19:33 +00:00
charras 8b5ba9ff69 Fixed a bug in search function in Eeschema: search for a component reference in a complex hierarchy was broken 2010-04-01 13:15:48 +00:00
vovanium 7816b71798 Added shortcut display for block drag in popup 2010-03-31 14:00:54 +00:00
charras 14f74f7ab4 preparing a bug fix release 2010-03-30 17:52:34 +00:00
charras 95316beba1 fixed other issue in dialog edit multiline text 2010-03-30 10:10:33 +00:00
faa 686358d66f minor bug dialog edit multiline text 2010-03-30 04:29:51 +00:00
charras c5f41a3a1e eeschema: fixed minor issues. 2010-03-28 14:46:49 +00:00