Commit Graph

1237 Commits

Author SHA1 Message Date
charras dc4bfd8f0b Use layer_widget in Gerbview
Added sample gerber files for test (gerbview has problem with 2 files)
2010-02-03 14:44: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
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
dickelbeck 6216eccd7d tooltip typo 2010-01-30 17:46:31 +00:00
dickelbeck c7bbbeed63 enhance getLayerComp()'s params 2010-01-30 17:42:22 +00:00
dickelbeck 07c35ed356 add more public API functions to LAYER_WIDGET 2010-01-30 17:12:43 +00:00
charras cf7ad0f503 pcbnew: More about work on color selection and items visibility 2010-01-30 14:46:26 +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 da857f2774 Added pads show/hide from layer manager (option was existing in dialog, but not in code) 2010-01-26 18:02:03 +00:00
charras 323a62fee5 Fixed a problem with aui lib (now mandatory) in CMakeList.txt (could be not included at link time) 2010-01-26 11:05:30 +00:00
charras 6909843938 fixed problem when trying to place a micro via 2010-01-25 20:06:56 +00:00
charras 73c046c8d0 fixed vias color and visibility problems in Layers manager 2010-01-25 14:01:46 +00:00
dickelbeck 98fab0b59e visibles work, update TODO.txt 2010-01-25 06:45:34 +00:00
charras 0f366f84d3 OSX fixes.
Better code in fast draw grid algo (drawpanel.cpp):must be faster, and minor refresh problems removed under wxGTK
2010-01-24 16:27:36 +00:00
charras 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 cd53563674 switch to wxAuiNotebook, maker smaller, remove non-visible technical layers 2010-01-23 07:00:21 +00:00
dickelbeck 7399fdc398 improved focus handling, still need to handle the tab change 2010-01-22 19:59:27 +00:00
stambaughw 7ab4a9bf2c Minor fixes and code cleaning.
* Remove redundant background redrawing RedrawActiveWindow.
* Remove redundant managed cursor callback in RedrawActiveWindow.
* Use refresh to redraw instead of directly calling RedrawActiveWindow.
* Remove unused SetDrawBgColor for drawframe.cpp.
* Fix compiler warning in cvpcb/cvframe.cpp.
* Fix menu spelling and syntax errors in pcbnew.
* Rename Trace_Curseur to DrawCursor in common/drawpanel.cpp.
2010-01-22 18:13:43 +00:00
charras f41cc301f8 option to show/hide layer manager (default = show) 2010-01-22 12:55:29 +00:00
dickelbeck 920186ddb4 more layer widget incorporation 2010-01-21 20:53:01 +00:00
charras 2bae762415 pcbnew: Added option in left tool bar to show/hide Layer manager tool bar 2010-01-21 20:36:48 +00:00
dickelbeck dcba4804ae version 2.9 compatibility fix for wxSizer::Insert() 2010-01-21 14:51:08 +00:00
dickelbeck 58fc9d8f09 layer widget incorporation into pcbnew 2010-01-21 07:41:30 +00:00
charras c4bc7bb46b enhancements about hot keys 2010-01-20 18:59:46 +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 e38949625b print dialogs remember their position and size. 2010-01-18 17:05:31 +00:00
dickelbeck 671939fa60 split layer_widget.cpp into *.h 2010-01-18 15:55:18 +00:00
charras bd19e0170e Pcbnew: fixed plot pads problem on silkscreen layers. 2010-01-18 15:11:35 +00:00
charras 04f41a4a7b menu cleaning and changing obscure menu info. and menu labels
files cleaning
2010-01-18 12:37:53 +00:00
jerryjacobs 73f83c0509 See CHANGELOG.txt 2010-01-17 20:25:10 +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
jerryjacobs 30f6c51407 Application title spelling corrected on OSX 2010-01-16 22:32:26 +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
dickelbeck 1d98f1f1d2 more layer_widget work 2010-01-16 07:50:01 +00:00
dickelbeck e7a49c838a more layer_widget work 2010-01-16 06:22:24 +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 9d81025e1a more layer widget work 2010-01-11 16:49:11 +00:00
dickelbeck cd27245c00 allow user to change layer color 2010-01-10 07:56:07 +00:00
dickelbeck 816c1596f3 changes 2010-01-10 06:40:22 +00:00
dickelbeck 6c737bc146 fix for wxwidgets 2.9 2010-01-10 05:44:29 +00:00
charras d4bd033a8e Pcbnew: print dialog: added pads drill option (like in plot dialog) 2010-01-09 20:25:39 +00:00
jerryjacobs cee9ab7610 Applied Torsten PCBNew DRC patch and testcase, update email, update scripts 2010-01-09 17:54:39 +00:00
dickelbeck 4f6cfb65d2 changes 2010-01-09 15:51:09 +00:00
dickelbeck d22ee87048 formatting 2010-01-09 15:49:48 +00:00
charras c4b37d77bd Gerbview: Added support of arcs in polygons outlines. Need more tests, but works. 2010-01-08 12:28:13 +00:00
dickelbeck 32dfdb4844 changes 2010-01-08 01:17:59 +00:00
dickelbeck 0e6dd5780e more layer widget work 2010-01-07 16:33:41 +00:00
dickelbeck 465a82a277 initial layer widget work 2010-01-07 02:18:25 +00:00
dickelbeck 3be44e8143 comment out unneeded debug output 2010-01-05 17:46:18 +00:00
dickelbeck c9ec403a95 layer widget work 2010-01-05 17:45:38 +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
faa 155c2543f1 update russian GUI, minor changes eol style 2010-01-02 07:29:07 +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 cacb22252c Pcbnew: fixed a very minor bug when moving and place a footprint. 2009-12-29 18:03:23 +00:00
faa d1f2a16c79 update Russian GUI 2009-12-28 14:02:24 +00:00
charras e875e075af minor enhancements and fixes 2009-12-27 14:01:21 +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
dickelbeck bd5018ddbf native property, new layer select panel 2009-12-21 17:26:11 +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
dickelbeck b275d34dd0 remove AddChild() 2009-12-21 04:46:29 +00:00
dickelbeck f52d03fb7e position column titles 2009-12-21 01:15:01 +00:00
dickelbeck f69b38449b call showPresets() from OnCopperLayersChoice() 2009-12-20 22:55:13 +00:00
dickelbeck 009350217e ++pcbnew
Renamed dialog_layers_setup* files.
    Got rid of the header file since there was only one file including it.
2009-12-20 22:44:31 +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
stambaughw 014d852bc6 Dialog work and other minor changes.
* Replace EESchema sheet properties dialog with wxFormBuilder version.
* Editing an existing sheet now marks schematic as modified.
* Code style updates for some of my previous work.
* Improvements to the CMP_LIB_ENTRY object.
* Replaced symbol edit export fprintf code with wxFFile implementation.
* GCC compiler warning fix in pcbnew/drc.cpp.
2009-12-15 21:11:05 +00:00
charras 867737e2f4 pcbnew: fixed in dialog_layers_setup2: new number of layers not taken in account when selected only by the copper layers choice list. 2009-12-15 12:03:12 +00:00
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