Commit Graph

561 Commits

Author SHA1 Message Date
jerryjacobs 706ba777f2 Hotkey patch appro Vladimir Uryvaev on kicad-devel 2010-02-25 on 11:57am 2010-02-25 17:08:28 +00:00
charras ec6a84d0bb All: fixing a recent problem when using scroll bars: the full screen was redrawn, that can be very slow in Pcbnew. 2010-02-23 20:22:31 +00:00
charras 09cccdff3e All: fixing a recent problem when using scroll bars: the full screen was redrawn, that can be very slow in Pcbnew. 2010-02-23 20:18:27 +00:00
charras 1aaabf2c0f Removing min size pen, now useless. Replaced when needed in some print dialogs by Default pen size. 2010-02-22 19:56:32 +00:00
stambaughw aab2f8a775 USE_WX_ZOOM clean up and other minor improvements.
* Make USE_WX_ZOOM clipping routine actually clip rather than just test
  if line needs drawn.
* Clean up as many USE_WX_ZOOM #ifdefs as possible.
* Minor coordinate rounding improvements.
* Minor scrolling and panning improvements.
* Remove unused KicadGraphicContext object code.
2010-02-22 16:45:35 +00:00
charras 636c708ee7 switch to RC4 2010-02-21 18:38:16 +00:00
dickelbeck 6700c604aa DSNLEXER now supports:
1)  nested quotes.  This is in anticipation of broader usage of the
        file type/syntax.  A string like this in the file:
            "my ""favorate"" string"
        can be returned as
            my "favorite" string
    2)  CommentsAsTokens is implemented, so you can ask the lexer to return
        comments as tokens, so they can be preserved.  The default is to ignore
        them.  A comment is defined as any line that has # as its first
        non-blank character.  (This means comments cannot follow anything else
        on a line.)
2010-02-20 19:13:30 +00:00
dickelbeck 5b701c42ff use size of first element in case the size of an element changes from that of a pointer in the future 2010-02-19 16:14:44 +00:00
charras f4be491502 fixed author name in copyright 2010-02-19 15:54:38 +00:00
charras bd8ebeff99 commit forgotten file 2010-02-19 15:08:54 +00:00
charras a70a580596 committed newfont patch. Pcbnew: board date automatically updated at each change. 2010-02-19 13:23:58 +00:00
charras 126c384dad Eeschema date in frame reference updated at each modification. 2010-02-18 20:07:29 +00:00
charras 98ea05d057 minor changes 2010-02-17 16:01:21 +00:00
charras 8dd82dfbd4 code cleanup and enhancements about hotkeys 2010-02-16 11:02:20 +00:00
charras 1ee86d4a52 code cleanup and enhancements about hotkeys 2010-02-16 10:42:57 +00:00
charras 035b510201 In popup menu: display grid both in mm and inches 2010-02-15 08:23:05 +00:00
charras 25720516c9 Eeschema, libedit: fixed add/remove alias functions, broken
All: added in popup menus hotkeys info for zoom commands
2010-02-14 18:14:33 +00:00
dickelbeck d176e98d94 patch from wafeliron@yahoo.com via pastbin.com 2010-02-12 23:12:00 +00:00
charras 4e48640f87 Fixing vertical size of the design rules dialog to meet our minimal screen size requirement (768 pixels height) 2010-02-12 08:53:13 +00:00
stambaughw ac82654563 More USE_WX_ZOOM bug fixes.
* Changed line clipping function in gr_basic.cpp when USE_WX_ZOOM is
  enabled.
* Set wxDC clipping region to client size when drawing outside of paint
  event handler.
* Updated kicad and eeschema CMake files as the common library now
  requires linking to the polygon library.
2010-02-11 19:57:47 +00:00
stambaughw 5591ccd443 USE_WX_ZOOM fixes.
* Corrected over zealous clipping fix in last commit.
* Tweaked clip box rectangle size.
* Fixed cross hair cursor drawing bug.
2010-02-10 21:39:32 +00:00
viknn 8be7f467e8 Added filling of junctions circles to EEschema DXF export 2010-02-10 17:27:45 +00:00
stambaughw f69a4914fe Minor drawing and build bug fixes.
* Fixed clipping bug when USE_WX_ZOOM is enabled that causes rats nest
  to be drawn incorrectly.
* Fix ambiguous function error in trigo.cpp when building with MSVS.
* Add instructions for building wxWidgets with graphics context
  enabled (GDI+) using MinGW/MSYS to COMPILING.txt.
* Initial EESchema find dialog work.
* Set modified flag when using PCBNew global deletion dialog to prevent
  closing without warning user of changes.
2010-02-10 16:25:13 +00:00
charras d64ab5d62f version set to Release Candidate 1. 2010-02-09 19:54:57 +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
vesa_solonen 3f0a7f8deb Finnish translation fixes 2010-02-07 20:55:21 +00:00
charras 92e96a1031 added Finnish selection in language list menu 2010-02-07 16:32:51 +00:00
charras c4ed10299a Fixed a refresh problem when using scrollbars. 2010-02-06 20:55:59 +00:00
charras edf64afc3b Eeschema: Added patch from Torsten Huter addeing hotkeys and enhancements in libeditor
Some fixes.
2010-02-04 17:46:12 +00:00
faa 3e838053aa new font does not demand -DKICAD_CYRILLIC 2010-02-02 07:18:40 +00:00
charras a61b48eced Code cleaning. Use new font. 2010-02-01 21:23:27 +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 cf7ad0f503 pcbnew: More about work on color selection and items visibility 2010-01-30 14:46:26 +00:00
charras 32b7aa90a5 forgotten file 2010-01-29 20:47:03 +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
dickelbeck 4768fc784c http://tech.groups.yahoo.com/group/kicad-users/message/6833 2010-01-29 17:19:13 +00:00
charras f6656e0384 fixed eeschema crash when using the hotkey m (move) command.
Pcbnew :added option to show/hide footprints values and/or references
2010-01-28 13:10:46 +00:00
charras 323a62fee5 Fixed a problem with aui lib (now mandatory) in CMakeList.txt (could be not included at link time) 2010-01-26 11:05:30 +00:00
charras 0f366f84d3 OSX fixes.
Better code in fast draw grid algo (drawpanel.cpp):must be faster, and minor refresh problems removed under wxGTK
2010-01-24 16:27:36 +00:00
charras 84d82cf2f5 pcbnew: Update Layer manager display when changing active layer (from hotkey or menus)
fixed minor problems and fixed Layer Alignment Target bug.
2010-01-23 10:50:05 +00:00
stambaughw 7ab4a9bf2c Minor fixes and code cleaning.
* Remove redundant background redrawing RedrawActiveWindow.
* Remove redundant managed cursor callback in RedrawActiveWindow.
* Use refresh to redraw instead of directly calling RedrawActiveWindow.
* Remove unused SetDrawBgColor for drawframe.cpp.
* Fix compiler warning in cvpcb/cvframe.cpp.
* Fix menu spelling and syntax errors in pcbnew.
* Rename Trace_Curseur to DrawCursor in common/drawpanel.cpp.
2010-01-22 18:13:43 +00:00
charras c4bc7bb46b enhancements about hot keys 2010-01-20 18:59:46 +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
jerryjacobs 5a0aca0e4d More Mac OS X work, see CHANGELOG.txt 2010-01-18 19:33:45 +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 bf02bc4d64 fixing mouse problems during zoom (go back to the old version). 2010-01-17 16:22:31 +00:00
charras cfd868562e pcbnew:fixed muwave toolbar not working in AUI option.
fixed a grid refresh problem when using fast algo in drawpanel.cpp
2010-01-17 14:20:29 +00:00
charras 445843e37e Eeschema added resizable lib and cmp lists in viewlib when using AUI option.
Added patch for macOSX
turn on fast algo for draw grid (should work now)
2010-01-16 19:42:58 +00:00
jerryjacobs a470a34e5b Split 2009 changelog, added Marco's WXMAC search path patch 2010-01-16 11:16:09 +00:00
charras 8789ca5f1d drawpanel.cpp: fixed a serious bug in draw grid fast algo.
Fast algo currently disabled (tests needed)
2010-01-15 19:18:29 +00:00
charras b41e4e6947 macOSX: fixed GetMBarHeight( ) problem. 2010-01-15 13:02:04 +00:00
charras 5eddb1f467 fixed flicker when zooming. (wxGTK specific) 2010-01-15 10:02:47 +00:00
charras 37309e1aac Ugly but necessary fix to display toolbars in latest Linux version (tested with Ubuntu 9.10 updated) 2010-01-14 20:20:59 +00:00
charras 2c9dd50851 attempt to find a suitable way to draw grid depending on platforms 2010-01-14 08:55:45 +00:00
charras 4936ca3a7f Testing a new fast draw algo to draw grid. 2010-01-13 20:03:33 +00:00
faa 3432474c96 not build in linux 2010-01-13 10:19:52 +00:00
charras 54b561236f Uses a buffered DC in OnPaint event. Seems solve slow grid redraw on some PC. 2010-01-12 13:15:13 +00:00
charras d5e1172042 minot patch for OSX 2010-01-10 15:06:14 +00:00
charras d4bd033a8e Pcbnew: print dialog: added pads drill option (like in plot dialog) 2010-01-09 20:25:39 +00:00
jerryjacobs cee9ab7610 Applied Torsten PCBNew DRC patch and testcase, update email, update scripts 2010-01-09 17:54:39 +00:00
charras c4b37d77bd Gerbview: Added support of arcs in polygons outlines. Need more tests, but works. 2010-01-08 12:28:13 +00:00
dickelbeck 08e5fec309 set eol style 2010-01-05 17:47:49 +00:00
charras 24a07f17c8 commit missing file 2010-01-05 11:44:28 +00:00
charras 84a0e32865 fixed build problem for specctra.cpp stand alone. 2010-01-05 08:48:49 +00:00
charras 1b6ad8c7f7 code cleaning and a minor problem fixed in Gerbview printing option 2010-01-04 19:09:33 +00:00
charras 27346c7e79 Pcbnew and Gerbview: Refactor dialogs for plot and print. 2010-01-01 13:30:39 +00:00
charras a1998410fc Some enhancements and fixes. (see changelog) 2009-12-30 18:06:12 +00:00
charras b8cc86bd86 Fixed: eeschema crashes when creating a new text (comment) in schematic 2009-12-29 11:36:17 +00:00
charras ccfa4e0aad Eeschema: Libedit: fixed hang when using the repeat function (insert key) after creating a pin.
Fixed others minor problems
2009-12-29 10:35:11 +00:00
charras 6769e4c94a code cleaning and fixed a TODO remark in EDA_BoardDesignSettings::SetEnabledLayers( int aMask ) 2009-12-21 12:05:36 +00:00
charras 0b41d484ff code cleaning 2009-12-20 19:48:58 +00:00
charras c2ea4a0aff code cleaning 2009-12-19 19:24:49 +00:00
charras 96849d5a11 code cleaning 2009-12-19 16:10:25 +00:00
dickelbeck ba78287bc9 comments, minor fixes 2009-12-11 15:51:26 +00:00
dickelbeck ceb6ad1a72 * Factored out the DSNLEXER class so it can be re-used more generally. The
constructor takes a keyword table, so it can be used for arbitrary DSN
    syntax files of your own chosing.  Simply create an enum {} with all your
    unique tokens in it.  Then create a KEYWORD table.  See SPECCTRA_DB::keywords[].
    The reason you want an enum is to give the C++ debugger better type information
    so it can show symbolic integer symbols.
  * Factored out common richio.cpp and richio.h
    which is what DSNLEXER uses.
  * Fixed some minor issues with reading circuit descriptor from a *.dsn file.
2009-12-11 04:55:24 +00:00
dickelbeck 860fbb16d7 ++pcbnew & gerbview
* Moved ReturnLayerName() to static BOARD::GetDefaultLayerName() and migrated
    to a Specctra DSN compatible default layer naming scheme:
        Component becomes Front, Copper becomes Back.
  * set_color.h: Cmp becomes Front, Cu becomes Back.
  * D_PAD::DisplayInfo() changed to use actual copper layer names.
  * more layer setup dialog work, moved all programmatic wxControl instantiation
    into the wxFormbuilder environment, but this is fraught with danger:
    wxFlexGridSizer used the tallest control to establish the row heights, so
    be careful about changing control borders in the scroll panel. The vertical
    size can explode since just a couple of pixels times the number of rows
    is substantial.  Currently I am setting a 5 pixel border only left, top, and right
    but not bottom.
  * Set copper layer count is back in place as a hack until I can get the enabled
    layer bit map fully operational.
2009-12-07 03:46:13 +00:00
charras 5f9aefe898 minor enhancements related to doc update. 2009-12-06 18:04:41 +00:00
charras a72ddb3804 minor changes 2009-12-03 09:33:48 +00:00
stambaughw 1aaa7a9bf2 Compiler warning, object name, bug, and string fixes.
* Fixed EESchema options dialog focus bug so escape key now works in GTK.
* Rename schematic objects for improved readability.
* Fixed GCC compiler warnings in plot code.
* Added paragraph in UIpolicies.txt about setting dialog box sizes.
* Lots of message box string clean up.
2009-12-02 21:44:03 +00:00
faa 862d3cdbb5 small improvements for russian GOST 2009-12-02 13:06:55 +00:00
charras 3ddc57e6d0 fixed some minor bugs and code cleanup 2009-11-28 09:24:37 +00:00
charras 826daace30 fix last French to English translations problems 2009-11-23 21:08:23 +00:00
charras 1a6b90d057 fix last French to English translations problems 2009-11-23 21:03:26 +00:00
stambaughw bc5d9a75f5 Complete comment translation of common source. 2009-11-23 15:16:50 +00:00
charras 7243f5a035 enhancement in Gerbview: page limits can be now displayed on screen. Useful when printing a Gerber layer 2009-11-22 20:55:05 +00:00
charras 537d4861ba fixed tagged translation 2009-11-15 14:12:53 +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
stambaughw 2884d1259e Replace library editor pin properties dialog box and minor update.
* Replaced library pin properties dialog with wxFormBuilder version.
* Remove DialogBlocks version of pin properties dialog.
* Add pin properties dialog support code to pin object.
* Create single event handler for displaying pin properties dialog.
* Remove left over DialogBlocks project file for annotate dialog.
* Fixed escape key bug in library editor new component dialog.
* Add GetUnitsLabel() to get human readable units for dialog labels.
* Translate French comments in all modified files.
* Some minor clean up of Doxygen comments.
2009-10-30 19:26:25 +00:00
charras e027e65971 code and files cleanup 2009-10-28 11:48:47 +00:00
charras 4a5151969d eeschema: annotate dialog converted from DialogBlocks to wxFormBuilder 2009-10-27 19:30:32 +00:00
jerryjacobs 1c983b013d Hotkey submenu added, fixed typos. See CHANGELOG.txt 2009-10-27 13:48:24 +00:00
dickelbeck 29f5fbb7ad quiet the newer g++ compilers, which complain about certain stdio function's return values not being used 2009-10-26 19:16:18 +00:00
charras fd521f378e More work about Netclasses in Design Rules dialog 2009-10-26 19:00:46 +00:00
charras b8a6c53b79 Some minor changes and enhancements 2009-10-25 15:54:00 +00:00
charras c03abc0b65 eeschema, libedit: fixed a bug than crashes libedit when using the delete tool, on a left click. 2009-10-23 14:35:24 +00:00
charras 6adf9163e6 Removed global default clearance, track size and vias drill. Use netclasses values only. 2009-10-21 19:42:57 +00:00
charras fe10a9938f Removed global default clearance, track size and vias drill. Use netclasses values only. 2009-10-21 19:16:25 +00:00
charras 7af67a8943 fixed compil error, and a display problem in eeschema 2009-10-17 06:23:18 +00:00