Commit Graph

194 Commits

Author SHA1 Message Date
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
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 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 4787b38a63 Pcbnew: Fixed minor problems (bugs 568357 and 568356). Changed French word COTATION to DIMENSION in class COTATION (now class DIMENSION) 2010-04-23 11:54:40 +02:00
jean-pierre charras 4f8049f875 fixed 2 minor bugs 2010-04-13 18:38:20 +02:00
charras 1ee86d4a52 code cleanup and enhancements about hotkeys 2010-02-16 10:42:57 +00:00
dickelbeck d176e98d94 patch from wafeliron@yahoo.com via pastbin.com 2010-02-12 23:12:00 +00:00
stambaughw 3066c70559 Implement wxDC coordinate handling and wxGCDC.
* Implement code to allow wxDC to handle coordinate conversions between
  device and drawing units.
* Add build settings to enable wxGCDC for wxGraphicsContext testing.
* Remove wxAUI conditional build cruft as it is now required to build
  Kicad.
* Fix scroll increment size regression to prevent jumping around the
  zoom center position.
* Add find GDI+ cmake module for building on WXMSW when wxGraphicsContext
  is enabled.
2010-02-08 18:15:42 +00:00
charras a46cd46d9d pcbnew: More about work on color selection and items visibility:
removed global variables and a lot of redundancies
2010-01-31 20:01:46 +00:00
charras 5732d815c6 Work on colors handling, and others changes. see changelog.
hide/show rastnest in pcbnew is currently not working, will be fixed soon
2010-01-29 20:36:12 +00:00
charras 73c046c8d0 fixed vias color and visibility problems in Layers manager 2010-01-25 14:01:46 +00:00
charras 96a9769f6c ++ Pcbnew:
* in variable names, change non existent word Hight to High
    * Remove redundant tool in left toolbar (option toolbar)
      (this option is now in layers manager)
    * Show layers in horizontal combo box in same order as in layer manager.
++all:
    minor code cleaning.
2010-01-24 13:46:01 +00:00
dickelbeck 6518139b26 more layer widget work 2010-01-24 02:05:07 +00:00
charras f41cc301f8 option to show/hide layer manager (default = show) 2010-01-22 12:55:29 +00:00
dickelbeck 920186ddb4 more layer widget incorporation 2010-01-21 20:53:01 +00:00
charras 2bae762415 pcbnew: Added option in left tool bar to show/hide Layer manager tool bar 2010-01-21 20:36:48 +00:00
charras 9d400e4c19 fixed some (minors) problems about hotkeys.
Code cleaning.
Patch for 3D problem with macOSX
2010-01-19 20:43:44 +00:00
charras 04f41a4a7b menu cleaning and changing obscure menu info. and menu labels
files cleaning
2010-01-18 12:37:53 +00:00
charras 801d4020b6 Some fixes. Boost 1.41 update 2009-11-20 19:51:39 +00:00
stambaughw de44203368 Comment translation and capitalization fixes.
* Complete comment translation of PCBNew source.
* Some tooltip capitalization fixes in PCBNew toolbars.
2009-11-20 14:55:20 +00:00
charras 4b61440eb1 fix some problems (not all) when using wxAUI.
others minor bugs fix.
2009-11-07 14:36:54 +00:00
dickelbeck 56995b3359 AUI support into topmost CMakeLists.txt 2009-11-05 08:52:41 +00:00
dickelbeck d3468dd557 Marco's AUI patch, basically 2009-11-02 22:24:55 +00:00
charras 29e217d310 pcbnew Rewrite the GUI relative to the tracks widths and vias diameters and drills selection and edition, for compatibility with new netclass approach. 2009-10-30 17:58:15 +00:00
charras e027e65971 code and files cleanup 2009-10-28 11:48:47 +00:00
jerryjacobs 1c983b013d Hotkey submenu added, fixed typos. See CHANGELOG.txt 2009-10-27 13:48:24 +00:00
dickelbeck 25973e5608 Isaac's next layer selection and configuration work step 2009-10-18 23:22:26 +00:00
stambaughw 92064f1dbf Fix save last grid size and other minor updates.
* Create single event handler for grid size events.
* Fix all frame windows to use new grid size event handler.
* Use offset relative to ID instead of ComboBox index to save last grid size.
* Move last grid size load/save setting into WinEDA_DrawFrame.
* Add equality and assignment operators the GRID_TYPE.
* Add current grid helper methods to BASE_SCREEN.
* Add GetPins helper to LIB_COMPONENT to replace GetNextPin where applicable.
* Add AppendMsgPanel helper to WinEDA_DrawFrame.
* Improve rounding for display of coordinates when millimeter units are selected.
2009-10-14 19:43:31 +00:00
dickelbeck b4fe26a31f Isaac's next color/layer work step 2009-10-10 01:25:53 +00:00
charras 24ce940901 more about Netclasses work 2009-10-03 17:18:08 +00:00
charras fd27b26271 pcbnew: minor work about netclasses. eeschema: bug fix 2009-10-01 16:46:13 +00:00
dickelbeck 7e93bb19df Isaac's via patch 2009-09-29 04:44:35 +00:00
dickelbeck 8b3d5a69cf Øyvind's patch 2009-09-27 14:09:26 +00:00
charras e8fef505f8 Pcbnew: fixed a double deletion that crashes pcbnew. Starting my work on net classes (moving target) 2009-09-27 11:00:21 +00:00
stambaughw 43d6c685b5 Command ID refactoring and other minor improvements.
* Split out application specific command IDs to prevent unnecessary rebuilding.
* Eliminate duplicate menu and tool bar command IDs.
* Split component library editor and viewer definitions to separate header files.
* More component library and document file merge code.
* A bunch of minor string readability and consistency fixes.
2009-09-22 12:27:57 +00:00
charras 7776dd61eb use kbool 2.1 in zones calculations. see CHANGELOG for others changes and more info 2009-09-17 17:48:40 +00:00
charras 42022adb3f code cleaning 2009-07-30 11:04:07 +00:00
charras d535a0fc97 pcbnew: Starting work on undo/redo in pcbnew. Only some delete item commands are stored in undo/redo stack 2009-07-29 13:10:36 +00:00
charras e7c9ae2b45 First work about net classes. This is a work in progress and a moving target 2009-07-18 11:44:19 +00:00
jerryjacobs db6630b81c Added hauptmech big patch, Updated documentation to match this patch. See CHANGELOG.txt 2009-06-19 20:13:22 +00:00
charras 6e6134ea5a improved wxWidgets 3 compatibility 2009-05-02 07:35:04 +00:00
charras 2a9a799f01 eeschema: Added: option to print ALL (more than 8) users fields in B.O.M.
pcbnew: added 5 metric grids and fixed a very minor bug when creating drill map.
2009-03-12 15:24:52 +00:00
charras c6f68578b3 Removed some warnings in compilation. A small bug fixed when drawing grids on screen. 2009-02-11 15:49:28 +00:00
charras 1d3f2d520c Pcbnew : refinements for user grig 2009-02-07 14:13:16 +00:00
charras d73e132455 See changelog 2009-02-06 11:45:35 +00:00
charras 5813a12ebb Print functions and display zoom level modified to use the new zoom implementation
Comments added in some functions.
2009-01-31 10:05:16 +00:00
stambaughw 2e5a57e100 New zoom implementation and some build optimizations. 2009-01-29 14:26:20 +00:00
stambaughw 21faf9d370 Integrate wxFileHistory, add missing header files to fix Linux build, initial search path work, and general housekeeping. 2009-01-17 20:31:19 +00:00
stambaughw 4a489895a3 More zoom clean ups and code cleaning. 2009-01-07 15:59:49 +00:00
dickelbeck b603580355 WinEDA_BasePcbFrame::m_Pcb is now private, use GetBoard() to access it. 2009-01-05 05:21:35 +00:00
charras 9dae370c1f cleanup, cosmetic enhancements. enhancements about display zones options 2008-12-12 21:30:07 +00:00
charras e29d89c7c7 minor changes and cleanup 2008-12-06 12:49:33 +00:00
stambaughw f966097d5a Improved grid implementation, 3D viewer debug assertion fix, moved drawpanel.cpp to common library, and added WinEDA_Appl declaration. 2008-12-05 16:03:05 +00:00
jerryjacobs 90b9850e51 Dutch language update
- 140 strings translated
 - 450 strings left
2008-11-09 18:15:24 +00:00
jerryjacobs cbdf6a9009 Dutch language update 2008-10-22 20:51:21 +00:00
jerryjacobs 0b336edea2 Menu and statusbar strings made more clear 2008-10-03 13:13:21 +00:00
charras 8bfb54bc89 Use new icons for zoom commands
pcbnew: Excellon files use only ascii codes in comments (some excellon parsers do not like I18n)
2008-08-26 06:00:27 +00:00
charras ffd727ef01 minor changes 2008-07-21 13:44:01 +00:00
dickelbeck fb09b26163 removed debug printf 2008-05-05 19:55:09 +00:00
raburton 2e173c9756 bitmap work 2008-05-05 18:52:43 +00:00
dickelbeck eae1a7498d layer name in *.brd file fixes 2008-05-01 06:21:07 +00:00
dickelbeck e7ece9c017 SetToolbars() sanity 2008-04-29 16:14:25 +00:00
dickelbeck 8ef7cf7708 more layer listbox issues 2008-04-29 15:43:28 +00:00
dickelbeck 9e46a77975 SetToolbars() fixes 2008-04-29 13:35:26 +00:00
dickelbeck c25e5c31e1 bug fixes 2008-04-29 03:18:02 +00:00
charras 813b0ab583 Added a tool to the upper toolbar which gives and easy access to freeroute 2008-03-14 10:09:39 +00:00
dickelbeck 10e13ae50a layer names in *.brd file 2008-03-04 04:22:27 +00:00
plyatov f942690930 Additions to the menu (see changelog). 2008-02-17 21:19:13 +00:00
lifekidyeaa c5cd85027b 2008-Feb-12 UPDATE Tim Hanson sideskate@gmail.com
================================================================================
+eeschema
        * commiting my changes to allow multiple instances of a given schematic file within 
a hierarchy:
        ** internally, m_currentScreen has been replaced with m_currentSheet,
                which is a list or 'path' of screens.  The path of screens is used to 
generate
                a series of timestamps, which is converted to flat component reference via 
a look-up
                table in the schematic files.
        ** this means that m_currentScreen is no longer used -- use GetScreen().
        ** GetScreen is virtual, as some of the dialogs keep around a WinEDA_BaseScreen 
pointer.
        ** all sub-sheets in a given schematic must have different names to generate a 
meaningful netlist.
2008-02-12 21:12:46 +00:00
CHARRAS 44c0105709 some enhancements. See changelog 2008-01-28 18:44:14 +00:00
CHARRAS a3ea4268df support for micro vias. small problem in zone detection solved 2008-01-18 09:15:21 +00:00
CHARRAS 7d676fbfd3 support for micro vias. small problem in zone detection solved 2008-01-18 08:54:15 +00:00
dickelbeck 1d6830467c layer combobox width change 2008-01-18 07:22:19 +00:00
CHARRAS 62a28440e0 wxstruct modified and wxPcbStuct.h added. some minor other changes 2008-01-01 11:46:47 +00:00
dickelbeck cbaf4f9f7e hotkey fix for + and - 2007-12-11 06:35:52 +00:00
dickelbeck b8a449e015 smd pad in high-contrast mode enhancement 2007-10-12 03:24:46 +00:00
dickelbeck fdc6112661 mires fixes 2007-10-10 14:08:26 +00:00
CHARRAS 5e448ec475 pcbnew: locate zones added (forgotten in new PcbGeneralLocateAndDisplay() ); Add class_board_item.cpp 2007-09-25 08:23:53 +00:00
dickelbeck 1bfcc332c3 formatting 2007-09-11 04:17:46 +00:00
CHARRAS e27d3f8c78 more work on programmable hotkeys. Most of features are ok. 2007-09-06 11:52:26 +00:00
dickelbeck dff70646a2 see change_log for 2007-Aug-31 2007-09-01 12:00:30 +00:00
CHARRAS f5eae50680 more work on hotkeys. many features are ok. 2007-08-30 08:15:05 +00:00
dickelbeck 8a8377ff6a beautification, hit test improvements 2007-08-10 19:14:51 +00:00
dickelbeck ede37ecfa7 beautified 2007-08-04 01:08:43 +00:00
plyatov eeab554183 Added some russian translated strings.
Little corrections in menu strings (interface standardization and typos correction).
2007-07-01 19:43:38 +00:00
CHARRAS f7d85ecae6 better hotkey.cpp (code cleaning and info messages) 2007-06-25 08:05:45 +00:00
lifekidyeaa 163ba39823 pcbnew: added ctrl-o,s,f
added buttons for insert and replace module in the module editor 
with a new bitmap.  restored JP's original functionality for the insert 
button, replace linked to the new code.
2007-06-21 15:14:38 +00:00
raburton 45e0c6eca7 fix assert in wx2.6 compatibility code, on pcbnew startup, when running with debug enabled 2007-06-16 06:49:57 +00:00
charras 1a30862de5 minor changes. update GUI french translation 2007-06-15 12:04:24 +00:00
raburton 2189158401 restore wx2.6 compatibility 2007-06-14 18:16:48 +00:00
charras 89b3eb5aa5 bug fixes and merging my development with svn rep. 2007-06-13 15:35:40 +00:00
lifekidyeaa 713d01751e added the following features (mostly hotkey type stuff):
* backspace key now deletes segments and vias both while editing a new track and while 
modifying old ones
* internal layers can be accessed via F5-F8
* when creating a new trace, switching between layers with the Pageup, PageDown, and 
F5-F8 hotkeys inserts a via. (warning: i did not test this with blind vias; however, it 
calls Other_Layer_Route, so should still work)
* spelling fix
2007-06-11 21:21:00 +00:00
raburton dedb0228dc add files not currently available in source (e.g. docs, modules, etc.)
set svn:eol-style property to native for all ascii files to support cross platform development
2007-06-05 12:10:51 +00:00
plyatov 23c40f7e86 Initial import of KiCad. 2007-05-06 16:03:28 +00:00