Commit Graph

707 Commits

Author SHA1 Message Date
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
charras 31e3e98522 Print and plot functions now properly prints all sheets in a complex hierarchy 2009-01-08 20:29:07 +00:00
charras 1fd73dff3d Plot PS function now properly plots all sheets in a complex hierarchy. 2009-01-08 10:11:39 +00:00
charras 00dadcbbdd Print function now properly prints all sheets in a complex hierarchy.Plot functions not yet updated 2009-01-07 20:09:03 +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 441efc9f2c Bugs and problems solved in fields edition (some are windows only) 2008-12-31 15:01:29 +00:00
charras 930a777eb7 Change dialog to edit fields in libedit (see CHANGELOG.txt) 2008-12-30 19:18:56 +00:00
dickelbeck 8d4a9b510d gerbview polygon erasures added, comment tweaks 2008-12-29 20:05:47 +00:00
dickelbeck 0d790e57a2 polygon work, EDGE_MODULE::m_PolyPoints is now std::vector 2008-12-29 18:02:54 +00:00
charras 5c790f50fd Added dialog box to edit graphic items 2008-12-23 13:14:01 +00:00
charras daeb9f0e07 Cleaning code to draw/plot texts; italic allowed for pcbnew 2008-12-22 21:06:44 +00:00
charras 9c2b4c8c37 pcbnew: Convert dialog_display_option from DialogBlocks to wxFormBuilder, rename files and remove typos 2008-12-21 16:54:27 +00:00
charras 4d12bd3e3d Solved problems with mirrored texts. cleaning obsolete files 2008-12-20 20:38:39 +00:00
charras af048ff2e3 Italic option for pcb texts 2008-12-20 17:28:25 +00:00
charras cd6fbbef68 All: cleaning code to draw/plot texts (work in progress). Eeschema: italic and bold texts and labels allowed
(plot functions not yet updated for bold texts)
2008-12-19 20:40:08 +00:00
stambaughw 1ecea828c2 Initial ground work for zoom improvements and minor build updates. 2008-12-19 13:51:48 +00:00
charras beeaf53a0b Code cleaning. Removed obscure code to draw texts 2008-12-16 19:44:57 +00:00
charras 6d856f60a6 Pcbnew: Added display a short net name on vias and pads. Also, code cleaning 2008-12-14 19:45:05 +00:00
charras 9dae370c1f cleanup, cosmetic enhancements. enhancements about display zones options 2008-12-12 21:30:07 +00:00
stambaughw 2611a54791 Convert global and embedded application pointers to wxGetApp() 2008-12-08 15:27:13 +00:00
dickelbeck d814889db7 gerbview, pcbnew's BOARD container changes 2008-12-06 21:20:50 +00:00
charras ceeb27cfd5 eeschema: solved: incorrect draw origin setup for viewlib and libedit 2008-12-06 19:44:02 +00:00
charras e29d89c7c7 minor changes and cleanup 2008-12-06 12:49:33 +00:00
dickelbeck e574a1b061 more DLIST<> work 2008-12-06 08:21:54 +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
charras 07299b3e84 eeschema: removed a bug that crashes eeschema when attempting to edit a component not found in lib 2008-12-04 20:53:11 +00:00
dickelbeck aab39d1de7 injected DLIST<> into many list heads, see change_log.txt 2008-12-04 04:28:11 +00:00
charras 75b3c3bf37 Switch to polygons in zones (old way no more supported)
areas can be now filled using solid polygons, or using segments to fill areas inside polygons.
2008-12-03 10:32:53 +00:00
dickelbeck 7de4bfe6e1 fixes 2008-12-02 18:20:49 +00:00
dickelbeck 85d65db560 refinements after using 2008-12-02 09:13:28 +00:00
dickelbeck 671fabe120 edit component in schematic work 2008-11-26 00:20:16 +00:00
dickelbeck c4215848ac refinements 2008-11-24 21:03:40 +00:00
charras 6ae1471e8c more about zones 2008-11-24 20:46:41 +00:00
dickelbeck 4539c8c417 better type safety on list Insert(), Remove(), Append() 2008-11-24 07:30:11 +00:00
dickelbeck 3ef380f936 dlist cleanups, start of edit component in schematic rework 2008-11-24 06:53:43 +00:00
dickelbeck 4d3d0a8fcc doubly linked list base class and template for contained specific instantations 2008-11-24 04:34:58 +00:00
charras 178bc946e3 First version of pcbnew using polygonal filled areas in zones in rats nets calculations. 2008-11-18 18:13:55 +00:00
charras 521f428c35 Using the last version (1.9) of kbool, downloaded from the wxArt2D project site. 2008-11-14 19:38:58 +00:00
dickelbeck 26736baa9b gerbview cleanup, and working towards aperture macro support 2008-11-09 02:57:42 +00:00
dickelbeck 4164802288 beginnings of aperture macro support 2008-11-08 06:46:47 +00:00
charras e6e50f3c0d solved: minor problem in crossprobing (eeschema to pcbnew) 2008-11-06 17:55:32 +00:00
faa 8bed5053da cyrillic font support, russian GOST support 2008-11-05 11:41:15 +00:00
charras a0c413a6db solved a minor bug (pcbnew): arcs incorrectly printed in mirror mode 2008-11-02 19:52:57 +00:00
charras 07767585c3 better code compatibility with others compilers (MSVC) 2008-10-30 20:12:29 +00:00
charras 6ff8675e33 back to EXCHG macro (equivalent inline functions do not work, this is a stupid error from myself ) 2008-10-30 12:04:26 +00:00
charras a741742172 back to EXCHG macro (equivalent inline functions do not work, this is a stupid error from myself ) 2008-10-30 12:02:34 +00:00
charras 443c644978 return to EXCHG macro (some equivalent inline functions do not work ) 2008-10-30 11:41:06 +00:00
charras 78bbe94923 Use double instead float when possible, ande code cleaning.
change EXCHG macro to equivalent inline functions
(better code compatibility with some compilers)
2008-10-30 10:55:46 +00:00
charras f723c540d0 code cleaning. Some comments translated into English.
Added: Zones unfill in polygon mode
2008-10-29 15:26:53 +00:00
charras 070b12d556 code cleaning 2008-10-26 17:39:17 +00:00
charras 3c97a45f48 code cleaning, and some minor bugs solved 2008-10-25 10:21:46 +00:00