Commit Graph

1153 Commits

Author SHA1 Message Date
charras 9d839eb86e Pcbnew: make global edit pads function compatible with new pads changes and make it undoable. 2009-12-13 11:53:19 +00:00
charras 0893f3f32f Pcbnew: make global edit pads function compatible with new pads changes and make it undoable. 2009-12-13 10:30:19 +00:00
dickelbeck 43c034d08d ++pcbnew
Finished the Layer Setup Dialog.  I assumed that the new layer order will
    be in place soon.  It works fine now, but the layer order is probably
    misleading, since it does not reflect the current stackup but rather the
    future stackup.  I dropped support for a single layer board. The minimum
    is two copper layers.  Avoid the side you don't want anything on.

    Within a month I should have the layer visibility and selection widget
    in place.
2009-12-12 00:25:46 +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 0fc7d7c127 c local for STANDALONE 2009-12-11 02:39:38 +00:00
charras cad5f9da24 minor bug fixed and minor enhancements 2009-12-08 13:41:20 +00:00
dickelbeck 4582fb9c15 fix memory leak, comments 2009-12-07 15:53:51 +00:00
dickelbeck 945551b8c8 more layer setup dialog work 2009-12-07 06:16:11 +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 b09f3ab785 minors aesthetic changes 2009-12-04 09:21:53 +00:00
faa 0eaafe7945 minor code cleanup 2009-12-04 07:01:26 +00:00
charras 93b9d3fd6f fixed 2 serious bugs in Libedit.
fixed redundant hot keys in Eeschema
2009-12-03 19:11:34 +00:00
faa 0084b53efb pcbnew: add new hotkey X - add new track/segment 2009-12-03 12:28:04 +00:00
charras a72ddb3804 minor changes 2009-12-03 09:33:48 +00:00
dickelbeck 374f9f5dc6 cleanup, comment 2009-12-03 06:30:54 +00:00
dickelbeck 58a05afbab Make the source file to the specctra freerouter help panel be html, not *.h
This makes it easier to preview the page in a browser.  Then autogenerate
    the *.h file from the html using a CMake script.
2009-12-03 06:25:35 +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
charras 04c7eb2916 fixed zone creation problem with DRC OFF and an other minor bug 2009-12-02 16:18:31 +00:00
charras e832a6b875 pcbnew: fixed: footprint flip and rotate with hotkeys not undoable. 2009-12-02 09:59:49 +00:00
charras 3ddc57e6d0 fixed some minor bugs and code cleanup 2009-11-28 09:24:37 +00:00
charras 1a6b90d057 fix last French to English translations problems 2009-11-23 21:03:26 +00:00
charras 8d8bdc3e97 minor updates 2009-11-23 17:24:33 +00:00
dickelbeck d21bf859ae visibility of button text, resizable on dialog 2009-11-23 14:40:29 +00:00
charras 27d647ff56 committed forgotten .fpb file 2009-11-23 09:09:25 +00:00
charras cdf248b236 minor bugs fix. 2009-11-21 20:44:19 +00:00
charras 34d5dff91d added FreeRouter Dick's help 2009-11-21 15:39:50 +00:00
charras 801d4020b6 Some fixes. Boost 1.41 update 2009-11-20 19:51:39 +00:00
stambaughw de44203368 Comment translation and capitalization fixes.
* Complete comment translation of PCBNew source.
* Some tooltip capitalization fixes in PCBNew toolbars.
2009-11-20 14:55:20 +00:00
charras 0a055c04cd kicad: cleaned code 2009-11-18 20:12:11 +00:00
stambaughw 1a139a7fe7 More comment translation and capitalization fixes. 2009-11-18 12:52:19 +00:00
charras 4c6bbb8577 fixing uppercase/lowercase problem in an included file (polyline.h is really PolyLine.h). 2009-11-16 13:57:25 +00:00
charras da20f1109f Fixed my filling problem in pcbnew by changing some parameters in kbool
But this problem needs more investigations
2009-11-16 12:10:37 +00:00
charras f2f4cd535a rework on zones (continued):try to fix a filling problem with kbool: cleanup code 2009-11-16 08:13:40 +00:00
charras 537d4861ba fixed tagged translation 2009-11-15 14:12:53 +00:00
stambaughw 506a73c387 More comment translation work.
* Translate source files D through L in pcbnew.
* Add translate tag for comments that did not translate correctly.
2009-11-14 22:15:22 +00:00
charras ab66f9ecba rework on zones:try to fix a filling problem with kbool 2009-11-14 19:47:52 +00:00
charras 9b2c6f043c fixed problem in global track edition dialog (Column label too small under linux)
But needs wxWidgets >= 2.8.8
2009-11-13 17:08:05 +00:00
dickelbeck 3da78c5da1 default_smd was too big for low density boards 2009-11-13 14:37:37 +00:00
stambaughw 4611bfd58c Comment translations.
* Completed translation of all kicad source.
* Translated source files A through C in pcbnew.
2009-11-12 15:43:38 +00:00
charras cb24fb2588 convert dialog_global_edit_tracks_and_vias to Gnome standards. 2009-11-12 14:55:33 +00:00
charras 507d49b2cc fixed a minor but annoying visibility layers problem when loading a board or enabling layers 2009-11-12 12:54:56 +00:00
charras e0742b62a9 fixed labels errors in dilaoge_global_edit_tracks and vias_base
fixed some problems in gencad export (not all)
fixed a size problem when opening dialog_layers_setup2 (windows specific)
2009-11-12 10:18:02 +00:00
charras f02192f73e Gerbview: fixed some problems in layers visibility selection. clean up. 2009-11-09 15:55:18 +00:00
dickelbeck 8b3ffe7412 More layer setup/visibility/chooser work from Isaac and Dick 2009-11-08 05:27:34 +00:00
charras 459c31c445 fix some problems (not all) when using wxAUI.
others minor bugs fix.
2009-11-07 14:45:14 +00:00
charras 4b61440eb1 fix some problems (not all) when using wxAUI.
others minor bugs fix.
2009-11-07 14:36:54 +00:00
charras 1913758d89 pcbnew: finished control of local masks clearance and local net clearance in footprints and pads 2009-11-06 12:55:20 +00:00
dickelbeck c4f16f808b double click on drc problem should preserve window size and pos also 2009-11-05 22:02:24 +00:00
charras 077fff6f5f Pcbnew: control of masks clearance: Pad Editor Dialog rewritten to handle local mask clearances and a local Net clearance 2009-11-05 20:59:42 +00:00
dickelbeck f65ae5cd87 drc dialog was not showing the Netclass non-editable field on large font systems. remember last size and position 2009-11-05 19:51:50 +00:00
dickelbeck 56995b3359 AUI support into topmost CMakeLists.txt 2009-11-05 08:52:41 +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
dickelbeck 69e3f671e9 spelling 2009-11-02 22:08:22 +00:00
charras a0c5e040f7 Minor changes 2009-11-02 20:36:20 +00:00
faa 3db5876c55 pcbnew not build 2009-11-02 10:06:42 +00:00
dickelbeck 07988a70fb ++pcbnew
* Added exporting of netclass vias to specctra_export.
  * DIALOG_DESIGN_RULES now remembers it last selected TAB and screen position and
    window size, and its grid columns are automatically expanded to fit the
    column titles.  Remembering screen position and size allows someone with
    multiple monitors, to have a given window always come up on the monitor last chosen
    for it.
2009-11-02 05:21:41 +00:00
dickelbeck 0c6a37f89e ++pcbnew
* Added exporting of netclass vias to specctra_export.
  * DIALOG_DESIGN_RULES now remembers it last selected TAB and screen position and
    window size, and its grid columns are automatically expanded to fit the
    column titles.  Remembering screen position and size allows someone with
    multiple monitors, to have a given window always come up on the monitor last chosen
    for it.
2009-11-02 05:20:58 +00:00
dickelbeck ba78c6ec5e add a compile time option to report an islanded circle as a specctra_export error 2009-11-01 14:25:58 +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
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
charras db49e2a505 some minor bug fixes and enhancements 2009-10-27 10:55:46 +00:00
dickelbeck 6a5d55bf0b quick fixes before translations get started 2009-10-27 04:00:23 +00:00
dickelbeck 6fb7687949 UIpolicy upper vs. lower case 2009-10-27 03:59:11 +00:00
dickelbeck 26b5edc357 spelling, English and layout touch ups 2009-10-27 03:58:18 +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 e8cb60f9e2 minor changes 2009-10-23 15:28:45 +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 6ec84b42b2 Pcbnew:Rework on print function: fixed the fully broken print function in Modedit
See also changelog
2009-10-23 07:42:51 +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 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
dickelbeck 6424910217 dialog_layers_setup files 2009-10-19 13:49:19 +00:00
dickelbeck 25973e5608 Isaac's next layer selection and configuration work step 2009-10-18 23:22:26 +00:00
charras e4467d4d9a fixed minor problem in Eeschema library viewer 2009-10-18 11:41:05 +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
charras 5c7c2fafa1 minor problems fixed 2009-10-15 11:35:53 +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 9250eb4e9a some enhancements and cleanup. Fixed problem when deleting Netclasses in Design rules dialog window 2009-10-14 18:30:51 +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 ae12e69860 fixed a minor problem in pcbnew compiled in DEBUG mode, that prints a lot of error messages when loading a board 2009-10-13 16:29:02 +00:00
charras 657325be33 Changed some c_str and GetData functions to GetChars in .Printf functions 2009-10-13 09:00:46 +00:00
charras b1a8a0749a All: better look when displaying items info on messages panel 2009-10-11 15:13:39 +00:00
charras ccbce931d2 All: better look when displaying info on messages panel 2009-10-11 13:04:47 +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
charras 498f0c9164 minor problems fixed 2009-10-07 17:10:37 +00:00
charras bc62df64c2 fixed resize problem in design rules dialog and minor enhancement 2009-10-06 18:58:51 +00:00
charras c974c42daf eeschema: 2 bugs fixed
pcbnew: more about netclass work
2009-10-06 13:19:40 +00:00
dickelbeck ce4d22f024 work around some gcc 4.3.3 compiler warnings 2009-10-05 04:22:27 +00:00
charras b34df533d9 more about Netclasses work 2009-10-03 17:57:57 +00:00
charras 24ce940901 more about Netclasses work 2009-10-03 17:18:08 +00:00
charras fd27b26271 pcbnew: minor work about netclasses. eeschema: bug fix 2009-10-01 16:46:13 +00:00
dickelbeck d1e137d600 Newest wxWidgets does not support wxString.GetData() 2009-09-29 04:53:02 +00:00
dickelbeck 7e93bb19df Isaac's via patch 2009-09-29 04:44:35 +00:00
charras fb3a12adc6 fixed typo and minor problems. updated German translation 2009-09-28 19:28:22 +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 b0a527091e pcbnew: apply zone patch, fixed very minor bugs 2009-09-28 12:21:54 +00:00
dickelbeck 8b3d5a69cf Øyvind's patch 2009-09-27 14:09:26 +00:00
charras e8fef505f8 Pcbnew: fixed a double deletion that crashes pcbnew. Starting my work on net classes (moving target) 2009-09-27 11:00:21 +00:00
charras ef557ddbe3 minor code cleanup 2009-09-23 06:02:37 +00:00
charras f4eeb4dfd6 fixed problem in modedit when creating a new footprint. Minor others changes 2009-09-23 05:53:12 +00:00
stambaughw 43d6c685b5 Command ID refactoring and other minor improvements.
* Split out application specific command IDs to prevent unnecessary rebuilding.
* Eliminate duplicate menu and tool bar command IDs.
* Split component library editor and viewer definitions to separate header files.
* More component library and document file merge code.
* A bunch of minor string readability and consistency fixes.
2009-09-22 12:27:57 +00:00
charras 4537ac8c99 Fixed cvpcb crash (only when compiled in Debug version) 2009-09-19 16:15:40 +00:00
charras 7776dd61eb use kbool 2.1 in zones calculations. see CHANGELOG for others changes and more info 2009-09-17 17:48:40 +00:00
charras 7a0f7bda9c minor changes 2009-09-11 06:18:55 +00:00
dickelbeck 5d2f9d9579 some helpful comments 2009-09-10 19:42:34 +00:00
dickelbeck 00d369ad5a netclasses done 2009-09-10 17:28:38 +00:00
dickelbeck c7cc6ea101 comment out problematic code, taking a break for now 2009-09-10 15:30:30 +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
diemer 9022898040 added DRC check for rotated rectangular pads 2009-09-07 13:28:11 +00:00
diemer 70aba1a813 fixed DRC false alerts for rect pads oriented by 45 degrees 2009-09-04 14:40:55 +00:00
charras 32336225b5 fixed in plot: filled areas by segments not plotted (outlines only were plotted) 2009-08-31 17:50:09 +00:00
charras c3fde30419 code cleaning. Pcbnew: Minor enhancements in Plot dialog 2009-08-29 10:20:48 +00:00
charras 0a58e6303f fixed postscript plot broken. Better default values for pcbnew plot dialog 2009-08-28 18:03:22 +00:00
charras cfdb28394e Pcbnew: Work on undo/redo in Pcbnew almost finished. 2009-08-23 15:22:44 +00:00
charras 5bf0a25900 Pcbnew: fixed a bug that crashes pcbnew when dragging a track segment 2009-08-19 15:28:35 +00:00
charras 958e663d64 pcbnew: bugs 2840153, 2840154 fixed (bug 2840150 already fixed) 2009-08-19 14:19:35 +00:00
charras 4117870f9f cvpcb: fixed a crash when closing the footprint display frame 2009-08-19 06:10:47 +00:00
charras 4203845fdc enhancements in dialogs (edit component in libedit and zones properties) 2009-08-18 11:07:21 +00:00
charras 6ebc2a52dd fixed problems in relative paths calculations for libs and docs files 2009-08-18 07:54:03 +00:00
charras 51efe030e1 Fixed, pcbnew: crashes when removing a 3D shape in dialog box (wxGTK specific) 2009-08-17 19:04:51 +00:00
dickelbeck 1873e058dc BOARD_ITEM::GetBoard(), one size fits all. Maybe this can become non-virtual once tested. 2009-08-17 16:56:02 +00:00
dickelbeck d21ced6288 no point in removing from netclass incrementally since an entire list rebuild is done below 2009-08-17 12:11:09 +00:00
dickelbeck 85dc98a58a more netclass work 2009-08-17 02:59:38 +00:00
faa 8aca4b3cb0 not build in Linux 2009-08-13 10:24:16 +00:00
charras b4b7ef99e9 Small change in print function: print footprint after zones (like in BOARD::Draw) to make pads holes visible on copper zones 2009-08-13 06:18:06 +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 32c54e4931 More about undo/redo in pcbnew 2009-08-11 14:10:34 +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 896c69757d class SEG_ZONE deprecated 2009-08-06 18:51:21 +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
faa d9ea63a857 pcbnew: minor bug cursor move/drag module 2009-08-05 15:00:42 +00:00
charras 54a541f22c fixed crashes in eeschema, modedit and 3D display 2009-08-04 18:21:32 +00:00
faa 058bc4fd10 not build in linux Mandriva 2009.1, minor code cleanup 2009-08-04 08:57:45 +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
faa 8d5a6531f9 pcbnew: remove old of two To_User_Unit(), redraw ratsnest on/off, magnetic cursor to start move/drag module 2009-08-03 12:12:29 +00:00
charras 4b846e1fdc pcbnew: work on undo/redo in progress 2009-08-03 07:55:08 +00:00