Commit Graph

2491 Commits

Author SHA1 Message Date
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
jean-pierre charras 7d2ff522c1 give an icon to bitmapt2component frame 2010-06-20 20:04:29 +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 1ff2b5596f Forgot to give Brian credit 2010-06-17 14:27:27 -05:00
Dick Hollenbeck a6cbee35c5 use Unexpected not Expected 2010-06-17 13:21:28 -05:00
Dick Hollenbeck f3d5c4948b meet Ralph, a big harry template fieldnames patch 2010-06-17 11:30:10 -05:00
jean-pierre charras 39476ccdb6 added track posture patch from lorenzo marcantonio 2010-06-16 19:54:38 +02:00
jean-pierre charras 2f5c24aeee added track posture pacth from lorenzo marcantonio 2010-06-16 17:01:45 +02:00
jean-pierre charras 700dc818b3 fix bitmap2component compil issue under Linux 2010-06-15 22:18:53 +02:00
jean-pierre charras 63e7ecae59 fix bitmap2component compil issue under Linux 2010-06-15 22:17:33 +02:00
jean-pierre charras 3f14682401 bitmap2component: better user interface (using wxWidgets) and more bitmaps file format import 2010-06-15 20:53:33 +02:00
jean-pierre charras 65a585b5d9 bitmap2component: better user interface (using wxWidgets) and more bitmaps file format import 2010-06-15 20:45:22 +02:00
jean-pierre charras 5ecb22b51d bitmap2component: better user interface (using wxWidgets) and more bitmaps file format import 2010-06-15 20:27:41 +02:00
jean-pierre charras 6e859e2671 fixed bugs 593546 ( 'Update module' in module editor becomes sometimes unavailable after undo ) and 593547 ('no' confirmation in module editor overlaps modules) 2010-06-14 22:18:03 +02:00
jean-pierre charras 12a0e4942a fixed bugs 593546 ( 'Update module' in module editor becomes sometimes unavailable after undo ) and 593547 ('no' confirmation in module editor overlaps modules) 2010-06-14 22:16:47 +02:00
Dick Hollenbeck 6eb66721c9 add doxygen-docs target to build system 2010-06-12 23:10:16 -05:00
jean-pierre charras 02b88a7016 Use bin/plugins/ as install path for bitmap2component instead of bin/ 2010-06-12 09:24:14 +02:00
Dick Hollenbeck 658ff6051f fix warnings 2010-06-11 23:46:34 -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 f3b5ed438c Added an *experimental* tool (bitmap2component) to create logos from .bmp bitmaps. Added Potrace library to convert bitmaps to polygons
This tool uses potarce library that converts a bitmap picture (.bmp or .pgm format) to a set of polygons.
    bitmap2component converts a bitmap to a .emp footprint (that can be imported by modedit) or a .lib component that can be    imported by libedit.
    See changelog for more info
2010-06-10 21:00:47 +02:00
jean-pierre charras 076832cd75 Added an experimental tool to create logos from .bmp bitmaps. Added Potrace library to convert bitmaps to polygons 2010-06-10 20:57:07 +02: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
jean-pierre charras 82aadca861 fixed bug 588882 (issue on arcs draw in 3D viewer) 2010-06-08 20:46:21 +02:00
jean-pierre charras f6a62dc739 fixed bug 588882 (issue on arcs draw in 3D viewer) 2010-06-06 18:48:23 +02:00
jean-pierre charras c7623715e1 Pcbnew: fixed unwanted mouse cursor move when using the t hotkey 2010-06-05 13:37:01 +02:00
jean-pierre charras aefad04995 Pcbnew: fixed unwanted mouse cursor move when using the t hotkey 2010-06-04 20:16:13 +02:00
jean-pierre charras 369f3d2526 fixed bug 587970 2010-06-02 21:23:25 +02:00