Commit Graph

2521 Commits

Author SHA1 Message Date
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
jean-pierre charras f0213de0ef code cleaning. 2010-07-20 20:11:34 +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 73f3736578 Code cleanup. Minor fixes. Added drag labels patch from Marco Mattila 2010-07-17 14:07:52 +02: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
Dick Hollenbeck 30a54500b3 An item was completed by Wayne, remove it from TODO.txt 2010-07-15 09:36:31 -05:00
Mathew Beckler 6c9f6ed760 https://lists.launchpad.net/kicad-developers/msg04973.html 2010-07-15 09:18:11 -05:00
jean-pierre charras 94e51aa3a3 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 searching a name for this net.
2010-07-14 20:15:07 +02:00
jean-pierre charras 6190502df3 update pspice demo 2010-07-14 20:12:43 +02: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
Andrey Fedorushkov 8071562225 fix conflict variable name for russian GOST 2010-07-13 17:18:13 +04:00
jean-pierre charras dba4a692f1 Pcbnew: Added grid origin patch from Lorenzo Marcantonio. Converted set grid dialog from DialogBlocks to wxFormBuilder, and added in this dialog the grid origin parameters settings. 2010-07-13 12:43:55 +02:00
jean-pierre charras 3097b919ed Pcbnew: Added grid origin patch from Lorenzo Marcantonio. Converted set grid dialog from DialogBlocks to wxFormBuilder, and added in this dialog the grid origin parameters settings. 2010-07-13 12:42:32 +02:00
jean-pierre charras f18fdd1016 fixed issue for negative numbers starting by "-" in dialogs (read as 0)
dixed very minor compil warnings
2010-07-13 08:08:42 +02:00
jean-pierre charras 9e3a042449 fixed issue for negative numbers starting by "-" in dialogs 2010-07-13 08:06:18 +02:00
jean-pierre charras 642d1f2ea6 fixed very minor compil warnings. (no bugs) 2010-07-12 21:28:38 +02:00
Dick Hollenbeck 6e6910da91 oops, merge conflict, conflict fixed, then lost somehow 2010-07-12 11:01:20 -05:00
Dick Hollenbeck d16bc738f3 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 10:10:02 -05: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 428ecb537e dialog_edit_component_in_schematic: moved "Reset to Library Default" Button. This command is now undoable.
Fixed bug 603481
2010-07-11 19:29:07 +02: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
Dick Hollenbeck 4d60b9a36f mainline-merges 2010-06-30 07:53:16 -05:00
jean-pierre charras d3d0de8871 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:18:01 +02: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 2a0524e197 Pcbnew: fixed a serious bug in zone filling, for pads with hole but not on all layers 2010-06-28 15:15:33 +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
jean-pierre charras af7c26e8be bitmap2component minor enhancements 2010-06-25 21:02:39 +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 bf9e49dd78 ++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:02:17 +02: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 ab056f3ed6 minor enhancements. Fixing a crash in build_BOM.cpp (temporary fix, until Dick finishes fields rework) 2010-06-21 18:21:35 +02:00
jean-pierre charras 000085792c minor enhancement 2010-06-21 18:15:05 +02:00