Commit Graph

758 Commits

Author SHA1 Message Date
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
charras f4be491502 fixed author name in copyright 2010-02-19 15:54:38 +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 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 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
charras 42f97b4d0f Fixed zoom issues with F1 and F2 hot keys 2010-02-13 18:38:26 +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 92e96a1031 added Finnish selection in language list menu 2010-02-07 16:32:51 +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
charras 98ba50f80e Use layer_widget in Gerbview
Added sample gerber files for test (gerbview has problem with 2 files)
2010-02-03 14:05:17 +00:00
stambaughw 9a6f753cac EESchema printing fixes and print dialog improvements.
* Remove unnecessary options from EESchema print dialog.
* Expose page setup dialog to fix page orientation problems on wxGTK.
* Added custom schematic print preview frame.
* Print dialog and preview frame remember size and position settings
  between sessions.
* Added monochrome and print sheet reference settings to project file.
2010-02-02 15:01:09 +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 607ec762d3 Code cleaning and more about work items visibility 2010-01-30 20:17:56 +00:00
charras cf7ad0f503 pcbnew: More about work on color selection and items visibility 2010-01-30 14:46:26 +00:00
dickelbeck 560970da29 size_t can be 'unsigned long int' on some platforms, we want 'unsigned' from DIM 2010-01-29 23:55:49 +00:00
charras ce72c1f91b forgotten file 2010-01-29 21:03:12 +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 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 28f3b1988d Pcbnew: Code cleaning about visibility variables in draw functions.
Removed old color and visiblity dialog
work in progress.
See also TODO, P0)
2010-01-27 20:07:50 +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 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
dickelbeck 9f062f377d improved focus handling, still need to handle the tab change 2010-01-22 19:59:54 +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
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
dickelbeck 58fc9d8f09 layer widget incorporation into pcbnew 2010-01-21 07:41:30 +00:00
charras 5861a43dd4 Cosmetic enhancements.
patch for relative paths.
2010-01-20 12:43:05 +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 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
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
stambaughw e15341411d Minor bug fixes, compiler warning fixes and code cleaning.
* Fix debug asserts when passing NULL pointers to wxAuiPaneInfo.
* Fix Kicad main window sash sizer bug when using wxAui.
* Remove specctra_test from Visual Studio builds to prevent build errors.
* Add WIN32 to layer widget test so it will build properly on Visual Studio.
* Fixed compiler conversion warnings in PCBNew.
* Fixed worksheet print scaling in PCBNew.
* Minor code renaming.
2010-01-13 21:15:54 +00:00
charras 6efce74c96 Eeschema: fixed bug when edit a component reference using the component dialog editor
Code cleaning and using DrawPanel->Refresh() instead of ReDraw() when possible.
2010-01-13 13:43:36 +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
dickelbeck cb69347cd7 expose DisplayColorFrame 2010-01-10 07:59:24 +00:00
charras d4bd033a8e Pcbnew: print dialog: added pads drill option (like in plot dialog) 2010-01-09 20:25:39 +00:00
charras 34728bec70 Eeschema: added Copy option in labels and component in pop up menu (and 'C' hotkey) 2010-01-09 08:50:30 +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
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 bee0d118f0 fixed a potential bug in fill zone.
Tried to fix a problem under Vista and Window 7 in fill zone: sometimes Pcbnew crashes.
Could be a bug in Kbool (see changelog).
2010-01-03 16:47:46 +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 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 e875e075af minor enhancements and fixes 2009-12-27 14:01:21 +00:00
charras 2396cdb127 Eeschema: fixed a bug that crashes Eeschema when the library editor or/and the lib viewer is opened and if the schematic (or an other) is reloaded (that involves libraries are deleted and reloaded) 2009-12-22 20:08:56 +00:00
charras b24118ebbd changed last layer constants XXX_LAYER_CU and XXXX_LAYER_CMP to XXX_LAYER_BACK and XXX_LAYER_FRONT 2009-12-21 18:51:37 +00:00
charras 703420baac changed layer constants XXX_CU and XXXX_CMP to XXX_BACK and XXX_FRONT 2009-12-21 17:56:25 +00:00
charras bec48d8ab2 changed COPPER_LAYER and CMP_LAYER to LAYER_BACK and LAYER_FRONT 2009-12-21 13:05: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 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
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
stambaughw 9b3ca06859 EESchema dialog box updates.
* Replace schematic editor options dialog with wxFormBuilder version.
* Fix ugly wxGTK sizer hack in pin properties dialog.
* Set dialog minimum size after initial fit to prevent dialog controls
  from being obscured when resizing.
* Move bitmaps in annotate dialog for cleaner control alignment.
2009-12-01 15:14:18 +00:00
charras 3ddc57e6d0 fixed some minor bugs and code cleanup 2009-11-28 09:24:37 +00:00
stambaughw d2eac37ddf Comment translation complete, Yeah!!!! 2009-11-23 20:18:47 +00:00
charras 801d4020b6 Some fixes. Boost 1.41 update 2009-11-20 19:51:39 +00:00
stambaughw 98bc9bb90b Component library pin editing bug fixes from Brian Sidebotham.
* Make cancel button delete new pin instance.
* Make pin redraw correctly to prevent display corruption.
* Prevent edited pin from being move on next left button click.
* Change pin edit property dialog focus to pin name edit text control.
2009-11-11 02:44:58 +00:00
charras f02192f73e Gerbview: fixed some problems in layers visibility selection. clean up. 2009-11-09 15:55:18 +00:00
dickelbeck 56995b3359 AUI support into topmost CMakeLists.txt 2009-11-05 08:52:41 +00:00
stambaughw b2f9d5bd74 Comment translations and other minor updates.
* Complete comment translation for all EESchema source files.
* Complete comment translation for all 3D viewer source files.
* Rename class class_hierarchical_PIN_sheet to SCH_SHEET_PIN.
* Rename class DrawSheetStruct to SCH_SHEET.
* Tool tip capitalization fixes.
* Uncrustify and spell check comments and strings in all modified source
  files.
2009-11-04 20:46:53 +00:00
charras a3f48bf241 pcbnew Added: control of masks clearance. See changelog for more info 2009-11-04 19:08:08 +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 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
charras e8cb60f9e2 minor changes 2009-10-23 15:28:45 +00:00
charras c5ad0c54c7 Pcbnew:Rework on print function: fixed the fully broken print function in Modedit
See also changelog
2009-10-23 07:41:29 +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
jerryjacobs eaf4f04748 Hacked boost check macro to compile correct on Mac OSX Leopard 2009-10-20 18:26:08 +00:00
dickelbeck 25973e5608 Isaac's next layer selection and configuration work step 2009-10-18 23:22:26 +00:00
stambaughw 7e24e43890 wxWidgets 2.9 string fixes and other minor updates.
* Replace all known instances of (const wxChar*) casts to GetChars() for
  wxWidgets 2.9 compatibility.
* Cleaned up get component dialog so last part gets saved on wild card
  selections.
* Remove redundant schematic component drawing code.
* Added SCH_COMPONENT constructor to create new component from library
  component object.
* Add message panel helpers to WinEDA_DrawFrame and update old message
  panel access code.
* Using library viewer to add component to schematic now respects unit
  and body style selection.
2009-10-16 17:18:23 +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
charras 89535a1366 some enhancements and cleanup. Fixed problem when deleting Netclasses in Design rules dialog window 2009-10-14 18:14:58 +00:00
charras 56059efd8a Netclasses work continued
Fixed problems in libedit and crashes when no component loaded
2009-10-10 17:27:53 +00:00
dickelbeck b4fe26a31f Isaac's next color/layer work step 2009-10-10 01:25:53 +00:00
stambaughw ee918d7d29 Replace library editor new component dialog and minor updates.
* Replace component library editor new component dialog using wxFormBuilder.
* Rename component library draw items to conform to current coding standards.
* Add GetWidth() method to component library draw objects.
* Add regular expression key word search capability to component library object.
2009-10-08 13:19:28 +00:00
charras c974c42daf eeschema: 2 bugs fixed
pcbnew: more about netclass work
2009-10-06 13:19:40 +00:00
stambaughw 76d04d6a85 Library component and draw object improvements and compile warning fix.
* Library component draw items now stored in Boost ptr_vector.
* Updated draw item object comparison to include greater and less than condition.
* Moved set parts per package code from component edit dialog to component object.
* Moved set alternate body style code from component edit dialog to component object.
* Tweaked component library file draw item sort order for improved file readability.
* Documented component object draw item sort ordering.
* Moved plot code to the appropriate library component and draw item objects.
* Fixed compiler type conversion warning in plot_common.h.
2009-10-05 17:52:41 +00:00
dickelbeck ce4d22f024 work around some gcc 4.3.3 compiler warnings 2009-10-05 04:22:27 +00:00
charras 24ce940901 more about Netclasses work 2009-10-03 17:18:08 +00:00
charras 9b4d215b52 eeschema: bug fix. Removed unused file 2009-10-01 18:48:25 +00:00
charras 24ff1b265f uploading last boost libraries used in Kicad 2009-10-01 18:23:04 +00:00
charras 96a68b3631 uploading some boost libraries 2009-10-01 17:52:50 +00:00
charras c3943f701b starting upload of boost libraries 2009-10-01 17:32:36 +00:00
charras fd27b26271 pcbnew: minor work about netclasses. eeschema: bug fix 2009-10-01 16:46:13 +00:00
stambaughw b762f6aab7 Component library editor improvements.
* Eliminate external direct manipulation of component draw item pointer.
* Add draw item remove, add, and locate methods to library component object.
* Remove redundant locate pin, field, and draw item code.
* Fix add new pin drawing bug that left initial pin draw in place.
* Improved best zoom calculations for small components.
* Library component bounding box calculation now includes fields.
* Removed unnecessary header file "libcmp.h".
* Fixed potential locate draw item bug in library editor hot key handler.
2009-09-29 18:38:21 +00:00
dickelbeck 7e93bb19df Isaac's via patch 2009-09-29 04:44:35 +00:00
charras f3590e51ff pcbnew: fixed a crash when removing A netclass. More about netclass work. 2009-09-28 16:14:45 +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 8570d3311a Component library editor improvements and minor bug fixes.
* Component library objects renamed for improved readability.
* Fields now move when selected in library editor.
* Add copy constructor to all library draw and library component objects.
* Added copy constructor to EDA_BaseStruct.
* Delete base screen in WinEDA_DrawFrame destructor to prevent potential memory leak.
* Fixed memory access bug when replacing and adding a component to library.
* Moved library component block manipulation code into component object.
* Removed all of the global variables used by the library editor main window object.
* The usual code cleaning and refactoring.
2009-09-25 18:49:04 +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
stambaughw f7452ce131 Component library object and other minor improvements.
* Create static component library methods to manage library list.
* Rename component library, component, and alias objects to more readable name.
* Use pointer to component instead of root name to prevent redundant library searches.
* Add append message helper to message panel that calculates string length.
* Initial ground work for merging library and library document files.
* Improved component library file load error checking.
* Minor component library editor improvements.
2009-09-18 14:56:05 +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
stambaughw 3803b79ac5 Component library editor improvements, build fix, and bug fixes.
* Add offset and block hit testing to library component objects.
* Improved search for library entries.
* Fixed library component editor component removal and addition.
* Library editor now uses wxUpdateUIEvents for updating all UI objects.
* Added version check to cmake find boost macro.
* Removed unused code in file libalias.cpp.
* Added method to WinEDA_DrawPanel to take mouse out of managed mode.
2009-09-14 13:24:17 +00:00
dickelbeck 362b6b53f6 NETCLASS work, see CHANGELOG.txt 2009-09-10 15:22:26 +00:00
charras ef2e41e347 2009-09-10 13:04:04 +00:00
charras c3fde30419 code cleaning. Pcbnew: Minor enhancements in Plot dialog 2009-08-29 10:20:48 +00:00
charras 3806557ff9 Eeschema: fixed: root components non found in schematic 2009-08-28 07:11:56 +00:00
charras b6e8c338c5 Eeschema: fixed: bad undo/redo for Drag commands 2009-08-27 13:51:02 +00:00
stambaughw ab74cfeda8 Component library object improvements.
Moved all library entry manipulation code scattered throughout EESchema into
the component library object itself.  Adding, removing, and searching is now
handled by the library object.  This is the precursor to replacing the current
priority queue code.
2009-08-27 11:41:56 +00:00
charras cfdb28394e Pcbnew: Work on undo/redo in Pcbnew almost finished. 2009-08-23 15:22:44 +00:00
dickelbeck c1d048baa5 changes 2009-08-18 18:21:04 +00:00
dickelbeck 85dc98a58a more netclass work 2009-08-17 02:59:38 +00:00
charras bd529a7cb0 fixed in pcbnew: abort function in track creation incompatible with new undo/redo functions 2009-08-13 05:52:53 +00:00
charras 2be6520a28 More about undo/redo in pcbnew and minor cleanup 2009-08-12 10:40:01 +00:00
charras a6fc132999 More about undo/redo in pcbnew 2009-08-11 10:27:21 +00:00
dickelbeck 5c3f35c2f3 beautification in preparation for netclass work. 2009-08-10 02:22:56 +00:00
charras 514de91ee3 More about undo/redo in pcbnew 2009-08-08 10:08:37 +00:00
charras 148a574e6f More about undo/redo in pcbnew 2009-08-08 06:07:08 +00:00
dickelbeck 42b1020dc3 MsgPanel is sized dynamically based on system gui font size 2009-08-07 04:44:42 +00:00
charras e5102715e2 class SEG_ZONE deprecated 2009-08-06 18:30:46 +00:00
charras c718765268 More about undo/redo in pcbnew 2009-08-06 15:42:09 +00:00
charras 5699ee3b91 More about pcbnew undo/redo 2009-08-06 07:11:04 +00:00
charras 304525db9a undo/redo rework: fixed some problems ans crashes (not all) in libedit and modedit 2009-08-03 18:54:48 +00:00
charras 4b846e1fdc pcbnew: work on undo/redo in progress 2009-08-03 07:55:08 +00:00
charras 41c80dd95b pcbnew: work on undo/redo in progress 2009-08-01 19:26:05 +00:00
charras f9be70f26d pcbnew: work on undo/redo in progress Only delete commands are stored in undo/redo stack 2009-07-31 05:33:11 +00:00
charras 42022adb3f code cleaning 2009-07-30 11:04:07 +00:00
charras 5a391836a0 pcbnew: Starting work on undo/redo in pcbnew. Only some delete item commands are stored in undo/redo stack 2009-07-29 13:52:44 +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 2a7ac9d3c4 fixed a recent bug in pcbnew print and plot dialogs: fine scale adjust displayed as 0.0
Rework on undo/redo and block functions: more efficient code to undo/redo block move and mirror operations
2009-07-27 14:32:40 +00:00
charras 83be1f8a10 Rework on undo/redo and block functions: more efficient code to undo/redo block move and mirror operations 2009-07-26 17:16:42 +00:00
charras daceb2e019 Rework on undo/redo and block functions 2009-07-25 07:31:07 +00:00
charras 8ec8cf3f43 Rework on undo/redo and block functions 2009-07-25 04:53:39 +00:00
charras 6d14766eb3 uploaded forgotten files 2009-07-23 15:49:39 +00:00
charras 9d6daf5665 undo-redo rework 2009-07-23 15:37:00 +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
charras d188bf5ae1 better compatibility with wxWidgets 2.9. Markers enhancement in pcbnew (right click can display marker info) 2009-07-13 15:25:41 +00:00
charras 3be6ba4234 Merged dialog_load_error_base and dialog_display_info_HTML_base, code cleaning 2009-07-13 07:01:57 +00:00
charras 1700a6a78d Merged dialog_load_error_base and dialog_display_info_HTML_base 2009-07-13 06:20:18 +00:00
jerryjacobs 5156a1c119 Added load error dialog. To display file load errors in a wxTextCtrl with a message, this is the BUG 2802441 enhancement 2009-07-12 18:27:30 +00:00
charras aa9e61eda5 Code cleanup about netlist, ERC and markers in eeschema ( work in progress ) 2009-07-12 15:29:42 +00:00
charras a97a2b4b3c Eeschema: Connecting power pins of all parts is no more needed. see changelog 2009-07-10 12:29:31 +00:00
charras baa278a3bc More about ERC and markers in eeschema ( work in progress ) 2009-07-09 17:02:15 +00:00
charras 06d37c4b01 Fixed Crash when changing color under MacOSX. This could also affect all versions. 2009-07-09 04:54:11 +00:00
charras c61cce48c0 More about ERC and markers in eeschema ( work in progress ) 2009-07-08 15:42:45 +00:00
charras 6d930edec3 work in progress about ERC and markers in eeschema 2009-07-07 17:50:02 +00:00
charras 0d2ee0c023 See changelog. work in progress about ERC and markers in eeschema 2009-07-06 18:02:26 +00:00
charras f7265b0ab1 Eeschema: better ERC diags (work in progress)
3D view: fixed: mirrored texts incorrectly drawn
2009-07-05 12:09:41 +00:00
charras fe5694f970 Eeschema: better ERC diags (work in progress) 2009-07-03 18:25:06 +00:00
charras e80d075078 make command-line invocation with relative paths work 2009-07-03 07:32:48 +00:00
charras c1e1da1f2b Eeschema: added GetPenSize() used in Draw and Plot functions to get the thickness of lines. Work in progress 2009-06-30 19:21:41 +00:00
charras f7a804e23d Bugfix for plotting 2009-06-30 10:43:20 +00:00
charras 2a80117065 Commit patch for plot functions from Lorenzo 2009-06-28 16:50:42 +00:00
charras ed71f4b772 in bezier_curves: changed calculations like dx*dx to (double)dx * dx to avoid integer overflow in calculation 2009-06-27 07:41:16 +00:00
charras cffe0cfcaa support for bezier curves 2009-06-25 20:45:27 +00:00
charras 96e0bebd0e code cleaning 2009-06-20 19:09:43 +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 e877819945 Pcbnew: Added: Option to show the via area while creating a new track. Better code. 2009-06-18 20:51:01 +00:00
charras 360eda0f3c Pcbnew: Added: Option to show the via area while creating a new track.
Useful in compact designs to know hos to place a via during track creation.
2009-06-18 17:32:27 +00:00
charras 92266a1986 Pcbnew: Added: in DRC tests: tests for vias min size and tracks min width.
Eeschema: code cleaning
2009-06-18 13:30:52 +00:00
charras 535a4d1f92 Eeschema: code cleanup 2009-06-13 17:06:07 +00:00
charras f43d1aaa54 Added text justification for graphic texts in libedit and more(see changelog) 2009-06-11 14:26:17 +00:00
charras e8e6f1a77f code cleaning and very minor bugs fixed 2009-06-04 19:39:50 +00:00
charras a04588db7c Changes in minimum pen size parameters used to draw or plot or print items.
Now uses only an unique default pen size for plot/print and draw items (see changelog)
2009-06-02 07:26:49 +00:00
charras ce9db78c95 Cleaned and optimized code about new hershey fonts and bold texts handling (see changelog) 2009-05-30 16:06:01 +00:00
faa 91bceadf7c hershey font cyrillic support (only utf8) 2009-05-29 15:20:42 +00:00
charras d3dc65b656 minot changes 2009-05-29 07:29:55 +00:00
charras 7de19cb6df 2009-05-28 18:31:45 +00:00
charras 80a713d895 commit hershey patch 2009-05-28 18:27:50 +00:00
charras 42b4cae45e commit hershey patch 2009-05-28 17:39:40 +00:00
charras b1d1a71101 Finished code cleaning about ratsnets calculations and handling.
Minor others changes.
2009-05-28 08:42:24 +00:00
charras 497cb9f7d0 code cleanup 2009-05-25 16:07:33 +00:00
charras 3f970c85ce more cleanup and enhancements about rats nest (work in progress) 2009-05-25 11:53:55 +00:00
charras e073bdc042 Pcbnew: cleaned code in ratsnet calculations (work in progress). The new code is also faster. 2009-05-24 18:28:36 +00:00
charras 1b1be19593 changes in modedit for MacOSX compatibility 2009-05-23 07:16:05 +00:00
stambaughw 8bf7911125 Build improvements, compiler warning fixes and build fixes, and lots of clean up.
* Created separate SVN version header.
* Add true config.h for platform dependency checks.
* Add dependency check cmake module.
* Remove some leftover hand crafted make files.
* Remove non-cmake build instructions from COMPILING.txt.
* Fix split _() strings causing Visual C++ compiler error.
* Fix lots of compiler warnings.
* Change project file parameter container from wxArray to boost::vector_ptr.
* Removed lots of redundant header definitions.
* Fixed green_xpm redefinition in ercgreen.xpm.
* Remove some dead code and unnecessary class methods.
2009-05-21 17:42:42 +00:00
charras b256efc50e minor bugs fixed 2009-05-21 12:45:21 +00:00
charras de9fb14f65 minor updates 2009-05-16 05:38:38 +00:00
charras dfa7e1d618 Code cleaning and enhancements about EDA_TextStruct 2009-05-07 17:10:53 +00:00
charras b49c2d2b9d code cleanup, remove multiline text option in eeschema (multiline text is a work in progress) and minor enhancements 2009-05-05 17:32:07 +00:00
dickelbeck f28062acca Matt Wright 20090502_gerbview_mirror_block.patch 2009-05-02 18:53:04 +00:00
charras 6e6134ea5a improved wxWidgets 3 compatibility 2009-05-02 07:35:04 +00:00
stambaughw 0652ab4fd2 PCBNew UI normalization and global variable reductions.
* All: remove all remaining occurrences of g_DialogFont and dialog font menu handers.
* All: remove all remaining non-standard fonts and button text colors from common dialogs.
* PCBNew: remove all non-standard fonts and button text colors from dialogs.
* PCBNew: update project library and path dialog to match changes to CVPCB version.
* EESchema: update project library and path dialog to match changes to CVPCB version.
* EESchema: save vertical/horizontal line direction setting between sessions.
2009-05-01 18:06:03 +00:00
charras ac45264b4e some enhancements in pcbnew (see changelog) and Cmake files updated to handle a change in doc files 2009-05-01 16:46:56 +00:00
stambaughw 5114b863e5 EESchema UI normalization and configuration updates and Gerbview parser bug fix.
* All - add wxList implementation for dynamic declaration of application settings.
* EESchema: remove non-standard fonts and dialog button text colors from all UI controls.
* EESchema: update project file and application settings from static to dynamic method.
* EESchema: save and restore show hidden pins state between sessions.
* EESchema: global variable reductions.
* EESchema: use EVT_UPDATE_UI instead of SetToolbars() to set control states.
* EESchema: remove unused DialogBlocks BOM dialog project file.
* GerbView: remove non-standard fonts and dialog button text colors from all UI controls.
* GerbView: fix infinite loop when parsing RS274X aperture definitions with whitespace.
* GerbView: add file name to export to PCBNew select layer dialog.
2009-04-29 17:09:00 +00:00
drannou fb25b5c403 Adding multi-line feature in PCBNEW and EESCHEMA 2009-04-28 19:34:42 +00:00
stambaughw aa51c05dc6 CVPcb code refactoring, global variable elimination, and UI updates.
* Add methods to read and write project file parameters using dynamically defined list.
* Remove all global variables defined in CVPcb code.
* Dynamically define project file settings so class member variables can be used.
* Separate reading and writing application settings from project file settings.
* Make application UI objects and dialogs respect system UI font.
* Remove non-standard widget colors from CVPcb dialogs.
* Changed CVPcb object link list implementation to use wxList.
* Changed project library and path dialog to make OK button save project file instead of confusing "Save Cfg" button.
* Eliminate some duplicate file wildcard and extension definitions.
* The usual code reformatting, commenting, and spelling fixes.
2009-04-23 15:02:18 +00:00
charras ff68ae0bf8 Added: handling multiple user paths in library path list (currently, only in Eeschema) 2009-04-18 14:14:40 +00:00
charras 9edace2f5f Code clarification about 3 confusing functions to display info: DisplayInfo (displaying a message info) and class members DisplayInfo and Display_Infos doing the same thing (see changelog) 2009-04-17 08:51:02 +00:00
dickelbeck 760c92e5ee oops, forgot the static inline 2009-04-17 06:46:01 +00:00
dickelbeck 0350744a7d add GetChars() 2009-04-17 06:23:07 +00:00
stambaughw cc661bdce8 Minor search path updates, initial UI clean up, and more wxDC zoom work.
* Add default OS program install path(s) to search path list as fail safe.
* Remove unnecessary wxGetApp calls in WinEDA_App class methods.
* Remove non-standard message panel font and changed background to system menu color.
* Remove italic fonts from menus.
* Remove non-standard font in Kicad app project tree.
* Remove font selection dialog menu items from apps for removed fonts.
* Remove all global variables and settings associated with the removed fonts.
* Fixed PCBNew export and import library file dialog response tests from wxCANCEL to wxID_CANCEL.
2009-04-15 19:53:41 +00:00
charras 50d1bcb171 more about management of lib files in defualt paths 2009-04-15 15:53:21 +00:00
charras 20cb87a8b7 better handling of libraries paths (removed g_RealLibraryBuffer that had no sense with the new code), mainly in Eeschema
TODO: better handling of user lib paths (more than one path)
2009-04-14 16:45:22 +00:00
charras 89e7f96574 made kicad compilable with wxWidgets 2.9 (wxWidgets 3) 2009-04-13 05:58:11 +00:00
charras f3e4682f54 eeschema: some fixes, see CHANGELOG 2009-04-12 14:39:54 +00:00
charras cfc3d9194d pcbnew: erroneous extension when savin *.mdc files (saved as *..mdc) 2009-04-11 15:12:58 +00:00
charras 82d8faeb40 eeschema: library order when loading libs fixed (i hope) 2009-04-10 14:53:24 +00:00
charras 9f7ca3444b eeschema: Viewlib: listboxes for lib or component selection are now resizable 2009-04-10 13:39:03 +00:00
stambaughw d96039a1fb Change search path order, wxDC zoom updates, and code clean ups.
Add helpers for inserting paths to and removing paths from search list.
Moved user defined path before default library paths in search list.
Renamed m_Draw_Auxiliary_Axis to DrawAuxiliaryAxis.
Changed parameter to fix wxDC set mode from FALSE to GR_COPY.
Minor wxDC zoom improvements.
2009-04-09 18:39:39 +00:00
dickelbeck 0261ab718f move comment to header, expand on description of UpdateStatsBar(), make comment Doxygen compatible. 2009-04-09 17:34:51 +00:00
stambaughw dfb88c6495 Library search path fixes, library configuration dialog fixes, and code cleaning.
Added application method to fix searching for user libraries.
Fixed documentation search path bug.
Moved auto pan setting from draw frame to draw panel were it is defined.
Some minor device context drawing changes.
2009-04-08 18:06:22 +00:00
charras e719b42e1f made GetAssociatedDocument() compatible with last changes in kicad path handling. 2009-04-07 15:54:40 +00:00
charras 1343d9fd41 pcbnew: fixed: bug 2738052 (Delete tool does not delete zones outlines)
eeschema: fixed: void history file list in menu
2009-04-07 11:53:58 +00:00
stambaughw 5b3c5861bd More search path, compiler warning, and bug fixes.
Added template subdirectory to library search path list.
Removed PARAM_CFG_BASE empty destructor to prevent GCC warning.
Set timeout to 0 on DisplayInfo call to prevent debug assertion in eeschema/files-io.cpp.
Declare PARAM_CFG_ARRAY for future project file object implementation.
Removed unnecessary COMMON_GLOBL definition in gr_basic.h and param_config.h.
2009-04-06 18:54:57 +00:00
charras 9efbf02042 add and translate some comments. fixed a problem in modedit (delete module in lib not working) 2009-04-06 16:05:25 +00:00
charras 71ca194b68 overbar patch merged mainly in eechema/class_pin.cpp. Some cleanup and compil problem fixes. 2009-04-06 10:56:17 +00:00
f3nix b38c601661 Set eol-style native on new files. 2009-04-05 21:07:24 +00:00
stambaughw 689579bde1 Global variable unobfuscation, new library path search, and lots of other changes. See CHANGELOG.txt. 2009-04-05 20:49:15 +00:00
charras 4ef16f53d9 pcbnew: added BOM generator (in postprocess menu) 2009-03-30 15:36:41 +00:00
charras b65590f708 code cleanup in project_config.cpp and some enhancements 2009-03-28 20:02:34 +00:00
charras 2eaa28f0cb Pcbnew: some enhancements 2009-03-26 19:27:50 +00:00
charras 0f725ee2fc DRC: added test pads to holes (pcbnew). Others minor changes 2009-03-23 19:54:15 +00:00
charras 4eadae0c2b refinements and switch to final version 2009-03-20 10:02:40 +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 3bd6aa1dd1 fixed: a bug that can delete an existing zone after creating a new zone (see changelog)
Switch to RC6
2009-03-11 13:29:10 +00:00
charras eb4c5eba6f switch to RC5 2009-03-05 13:46:10 +00:00
charras 6b8bc98db3 fixed in libedit: import symbol not working. 2009-03-04 17:19:08 +00:00
charras 76d4054de9 cvpcb doc update. others updates and minor bugs fixes. 2009-03-03 19:42:49 +00:00
dickelbeck 073d076730 fix markers on pads when pads are high-lighted 2009-02-25 16:35:47 +00:00
charras 89f0211029 bug fix: 2628615, 2625434, 2625090 2009-02-24 13:55:13 +00:00
raburton 02b7362970 set eol-style native on new files 2009-02-22 21:32:27 +00:00
charras 3df3f6a09f version changed to RC2 2009-02-21 07:28:14 +00:00
charras 69756df3f6 Some update for Kicad Release Candidate 1 2009-02-16 10:28:46 +00:00
charras c0b31f92f9 Zoom 0.5 added in eeschema and pcbnew. Some artefacts when drawings filled zones accepted. 2009-02-14 18:01:07 +00:00
stambaughw 07bd76a0e8 Zoom bug fix and optimization.
Prevent drawing center from moving when client zoom size exceeds drawing size.
Prevent drawing refresh when zoom level doesn't change to eliminate flicker.
2009-02-11 19:39:55 +00:00
charras aee56a936e Change grid size type from integer to double (using wxRealPoint insteed of wxSize).
Mandatory in Pcbnew to handle without error metric grid used now for some footprints (BGA, connectors)
Not fully tested
2009-02-07 08:33:25 +00:00
charras d73e132455 See changelog 2009-02-06 11:45:35 +00:00
stambaughw 80e03c8c1b Build optimizations and cursor movement key bug fix. 2009-02-05 20:53:08 +00:00
stambaughw b833a46bad More header file realignments to reduce recompiling and general code cleaning. 2009-02-04 15:25:03 +00:00
charras c3918aad35 Added forgotten file 2009-02-02 15:31:37 +00:00
charras ea38af91fb doc update and some minor enhancements before Release Candidate 2009-02-02 12:12:18 +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
charras ee3b95007d Added: comments in Drawtxt.cpp. By the way, solved: bug when drawing a 3D board with pcb texts. 2009-01-30 14:11:36 +00:00
dickelbeck 75ea28917c added the superbly convenient EnsureTextCtrlWidth() 2009-01-29 17:30:38 +00:00
stambaughw 2e5a57e100 New zoom implementation and some build optimizations. 2009-01-29 14:26:20 +00:00
charras fbdd340647 Pcbnew: added Vesa Solonen's patch to enhance thermal reliefs shapes. 2009-01-22 18:45:33 +00:00
jerryjacobs 72dbdf7faa Splitted common.h subroutines to seperate include files. Minor code cleanup. 2009-01-19 19:08:42 +00:00
charras c333da1916 some "todo" cleanup 2009-01-18 15:51:06 +00:00
charras 0d3fc60155 Found why remove unused thermal stubs fails sometimes.Solved 2009-01-18 13:14:50 +00:00
charras 9f8e1d9d1c removed some warning when compiling. Added comments 2009-01-18 10:15:10 +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
charras f64b282778 BUGFIX: .mdc is incomplete after 'archive footprint' 2009-01-15 08:12:03 +00:00
charras b27bbe9cac Eeschema+Pcbnew: code cleanup and refinements in plot SVG format 2009-01-13 19:18:54 +00:00