Commit Graph

203 Commits

Author SHA1 Message Date
Vladimir Ur 4b9b2f4e66 Nanometric work. Design rules, D_PAD (except m_Pos) is now in new units. Metric files can be loaded w/o KICAD_NANOMETRE flag set but saved only with this flag, this could help to gain some compatibility during transition process. ifdef'd code is somewhat minimized by using transition macros. Some potential code bugs are commented. 2011-11-14 20:56:05 +04:00
Vladimir Ur 6ebb044d45 Metric KiCad work continues. Partially processed D_PAD class. It is still need to be tested including all these import and export procedures... 2011-11-11 21:44:20 +04:00
Vladimir Ur 0fdf71a80e General design rules tab converted to nanoscale. A bit of refactorisation in via sizes. And build key is KICAD_NANOMETRE not KICAD_NANOMETRIC (as I stated in previous commit). 2011-11-09 21:35:16 +04:00
Wayne Stambaugh c2f1113e5d Fix Pcbnew KICAD_T enum names for consistency. 2011-10-01 15:24:27 -04:00
Wayne Stambaugh 4b853dedb4 Application name capitalization fixes.
* Correct all user strings and comments for the correct capitalization of
  application names according to JP.  They are KiCad, Pcbnew, CvPcb,
  Eeschema, and GerbView.
* Add a note the the user interface policy about the correct capitalization.
2011-09-30 14:15:37 -04:00
Wayne Stambaugh edd35b4e90 PCB common library header rationalization.
* All header files used to create the PCB common library now compile as
  stand alone code.  This prevents the need to define them in a specific
  order to make source code compile properly.  It should also now be
  possible to relocate the source code to build the common PCB library
  to a separate folder.
2011-09-23 09:57:12 -04:00
Wayne Stambaugh 0c44335795 Lots and lots of PCBNew code cleaning and fix build bug introduced in r3108.
* Changed <wx-2.8/xml/xml.h> to "xnode.h" in pcbnew_config.cpp to fix bug
  when building against wxWidgets 2.9 and above.
* Convert broken wxXmlNode code to use XNODE.
* Overloaded XNODE constructor for creating child nodes.
* Translate French naming conventions.
* Translate French comments.
* Remove tabs from several source files.
* Coding style policy and Doxygen comment fixes.
2011-09-07 15:41:04 -04:00
Wayne Stambaugh 1010601a78 PCBNew control update bug fixes, fixes lp:725963.
* Fix grid select box update bug on context menu.
* Fix via size and track width select box update bugs.
* Fix layer pair indicator button update bug.
* Fix auto track width tool bar control enable bug.
* Fix via size and track width select status bug in context menu.
* Fix layer select box and layer control widget select bug when current
  layer is removed.
* Add virtual function to notify objects derived from EDA_DRAW_FRAME that
  the units setting has changed.
* Coding policy class naming fixes.
2011-03-01 14:26:17 -05:00
Marco Mattila 97003fefae Change board bounding box calculation to include all board items by default in pcbnew. Add a parameter to look for board edges only. 2011-02-25 18:23:24 +02:00
Wayne Stambaugh 7b8b51b240 Draw panel object refactoring and other minor code cleaning.
* Rename all member variables and methods that reference the cross hair
  code in draw panel object from cursor to cross hair to eliminate confusion
  between the two concepts.
* Rename cursor capture call backs in draw panel object to improve code
  readability.
* Create helper class for turning off the cross hair while drawing.
* Remove redundant block clear code.
* Remove redundant mouse capture call back reset code when end capture
  call back is called.
* Remove unused function definitions in base draw frame object.
* Lots of minor coding policy and doxygen comment fixes.
2011-02-11 15:48:13 -05:00
Dick Hollenbeck 0093f4f612 ++common:
* macros.h now has TO_UTF8() and FROM_UTF8() which are working converters
    to and from UTF-8 encoding for any wxWidgets build mode.  We can switch to
    them at any time.  I am using them now for specctra conversions and
    elsewhere where I wanted gauranteed UTF8 encoding.
  * added OUTPUTFORMATTER::Quoted( const wxString& ) to simplify converting
    to UTF8 encoded s-expression atoms.  The recommended technique is now simply:
        out->Quoted( wxString ).c_str()
2011-02-02 09:31:48 -06:00
Wayne Stambaugh e560573c5e Schematic object encapsulation and other minor improvements.
* Encapsulate file name member of base screen object.
* Encapsulate associated screen member of schematic sheet object.
* Create add screen method to schematic sheet object to simplify setting
  the associated screen.
* Move the change file name code in the schematic sheet object to the edit
  sheet method in the schematic editor frame object to eliminate message
  dialogs.
* Improve reference counting in schematic screen object.
* Add helper type definitions for changing schematic object storage to C++
  containers.
2011-01-20 11:34:57 -05:00
Dick Hollenbeck 84ed5f501d ++new:
* Added the basic structure to the Sweet parser in sch_part.cpp.
  * Got inheritence working off of the 'extends' keyword and PART::inherit()
  * Tossed the units support out of sweet.keywords, since we agreed to go dimensionless.
++richio:
  * Added the problemInputLine support to PARSE_ERROR, so UI can show the
    offending line of bytes.  Yes bytes, not even guaranteed to be characters.
2011-01-01 16:56:07 -06:00
Wayne Stambaugh 7cb34aece7 Schematic component object encapsulation and Doxygen comment warning fixes. 2010-12-14 10:56:30 -05:00
jean-pierre charras cdd9e8cabe Pcbnew: code cleanup 2010-11-26 18:47:35 +01:00
Dick Hollenbeck 067bf8518c change IOError class name spelling to IO_ERROR to conform to coding standards 2010-11-09 09:45:11 -06:00
Dick Hollenbeck f360d5ccb6 got bit by a bug in freerouter 2010-09-07 12:04:39 -05:00
Dick Hollenbeck c38b25194b negative starts with an n 2010-09-07 11:21:26 -05:00
Dick Hollenbeck 774e6dbbd5 support trapezoid padstacks in specctra export 2010-09-07 10:46:55 -05:00
Dick Hollenbeck fb0bb79a8d TokenList2DsnLexer.cmake, netform.cpp enhancements 2010-08-08 21:03:16 -05:00
dickelbeck e5bfcbbd91 Fix a bug in board edges export to specctra DSN format. If the direction
of the S_SEGMENTs were not all the same, the specctra PATH points would 
come out wrong.
2010-04-01 15:00:47 +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
dickelbeck 3da78c5da1 default_smd was too big for low density boards 2009-11-13 14:37:37 +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 fe10a9938f Removed global default clearance, track size and vias drill. Use netclasses values only. 2009-10-21 19:16:25 +00:00
charras c974c42daf eeschema: 2 bugs fixed
pcbnew: more about netclass work
2009-10-06 13:19:40 +00:00
charras f3590e51ff pcbnew: fixed a crash when removing A netclass. More about netclass work. 2009-09-28 16:14:45 +00:00
dickelbeck 362b6b53f6 NETCLASS work, see CHANGELOG.txt 2009-09-10 15:22:26 +00:00
dickelbeck 85dc98a58a more netclass work 2009-08-17 02:59:38 +00:00
charras 5699ee3b91 More about pcbnew undo/redo 2009-08-06 07:11:04 +00:00
charras edb48d461b Fixed minor bugs. Code cleaning 2009-06-06 18:08:49 +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
dickelbeck 69fd16ed26 switch to GetChars() and away from wxString::GetData() 2009-04-17 06:37:23 +00:00
dickelbeck d58296c804 netless zone support fix to specctra export 2009-02-07 16:06:55 +00:00
dickelbeck 35e8a286e8 resolved the zone 'cutout' support to specctra, handle zones with attached to no nets, namelessly 2009-02-06 22:10:37 +00:00
dickelbeck 31aee8ef3e specctra export zone 'cutout' support 2009-02-06 14:23:56 +00:00
stambaughw b833a46bad More header file realignments to reduce recompiling and general code cleaning. 2009-02-04 15:25:03 +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 6d856f60a6 Pcbnew: Added display a short net name on vias and pads. Also, code cleaning 2008-12-14 19:45:05 +00:00
dickelbeck aab39d1de7 injected DLIST<> into many list heads, see change_log.txt 2008-12-04 04:28:11 +00:00
dickelbeck 1c75434438 smt pads can be on ALL layers 2008-11-10 20:54:26 +00:00
dickelbeck a942b081d0 comment change 2008-11-08 06:48:56 +00:00
dickelbeck 645f7384c9 compensate for tendency of freerouter to move tracks on loading DSN 2008-10-30 18:54:16 +00:00
dickelbeck 8c76e2e644 current with latest freerouter's clearance support 2008-10-29 23:57:04 +00:00
dickelbeck 07a39a0397 clearance record improvements 2008-10-23 21:06:43 +00:00
dickelbeck 12b94cc1d3 updated specctra.pdf http link 2008-09-17 13:32:43 +00:00
dickelbeck 6bd572f55d fix case where first edge segment is an arc 2008-08-29 02:53:27 +00:00
dickelbeck 5a27f2729d improve round-tripping to/from latest Freerouter, see http://www.freerouting.net/usren/viewtopic.php?f=3&t=354 2008-07-30 17:24:13 +00:00
dickelbeck 44071acf07 Lorenzo's postscript fill patch for bugs 2003834 and 1956732 2008-06-30 13:47:55 +00:00
charras 777076c86f minor changes. See changelog 2008-06-06 16:39:45 +00:00
dickelbeck 100ec6cd2e rearrangement 2008-05-22 15:55:24 +00:00
dickelbeck e2770b4078 comments 2008-05-06 12:32:41 +00:00
dickelbeck fec9498f8d typos and buglets 2008-05-05 20:13:54 +00:00
dickelbeck a881ede8fb added S_ARC support for Edges_PCB layer 2008-05-05 19:47:38 +00:00
dickelbeck 4cf118ea0b simpler default net class 2008-03-31 13:45:36 +00:00
dickelbeck 8ab53fc6aa thru hole padstack with different copper layer masks fix 2008-03-12 16:24:38 +00:00
dickelbeck 4dd8a2d587 increased the DRC spacing by 1/2 mil for freerouter 2008-03-07 00:46:41 +00:00
dickelbeck a4ffa8fa90 no XORing on delete segment 2008-03-04 21:39:46 +00:00
dickelbeck 10e13ae50a layer names in *.brd file 2008-03-04 04:22:27 +00:00
dickelbeck 72b90c6a8a see change_log.txt 2008-03-01 13:15:41 +00:00
dickelbeck 8ef962305a more amazing free specctra software 2008-02-29 06:49:34 +00:00
dickelbeck 7559e1347c specctra_export: add support for dsn outline 2008-02-22 17:34:11 +00:00
dickelbeck 36554e68d4 on export, test via for netcode == 0 2008-02-21 06:04:32 +00:00
dickelbeck 9086e68d47 specctra_export fix for pads with offsets 2008-02-20 19:13:20 +00:00
dickelbeck 951e759fd1 dodge some debug asserts in wxFileDialog which happen if the filename has a path 2008-02-20 07:19:40 +00:00
dickelbeck c7e7014b14 module flip reverting on exception 2008-02-14 15:34:40 +00:00
dickelbeck cb1384032a more amazing free specctra work 2008-02-14 01:59:31 +00:00
dickelbeck 709be49518 more amazing free specctra work 2008-02-14 01:07:52 +00:00
dickelbeck 3fa938185f simplified makeIMAGE() 2008-02-12 02:09:39 +00:00
dickelbeck 2b215d81ba amazing free specctra software 2008-02-12 01:02:53 +00:00
dickelbeck dd141c1794 more amazing free specctra software 2008-02-09 16:33:03 +00:00
dickelbeck d47823c144 specctra session work 2008-02-09 08:34:45 +00:00
dickelbeck 40e2fed36e specctra export pad fixes 2008-02-08 15:00:50 +00:00
dickelbeck 7dbb0da3bb more amazing free specctra import/export software 2008-02-08 00:16:59 +00:00
dickelbeck f0ba106edb more amazing free software 2008-02-07 20:23:58 +00:00
dickelbeck 70fde0fded specctra import work 2008-02-07 17:10:12 +00:00
dickelbeck c8584436b4 specctra import work 2008-02-07 06:49:16 +00:00
dickelbeck cf460637b2 beginnings of the 2 specctra imports 2008-02-06 22:32:15 +00:00
dickelbeck ab01d0f2f2 more amazing free software 2008-02-05 05:08:10 +00:00
dickelbeck 57c1927121 more amazing free software 2008-02-05 02:13:16 +00:00
dickelbeck d4562043a2 more amazing free software 2008-02-03 21:46:12 +00:00
dickelbeck 227fa1e26e fixed specctra_export's net handling 2008-02-03 15:23:00 +00:00
dickelbeck d44f1c0de5 more amazing free specctra software 2008-02-01 20:52:49 +00:00
dickelbeck b9f9d53998 more amazing free specctra software 2008-02-01 20:32:18 +00:00
dickelbeck 14cd0109aa more amazing free software 2008-02-01 01:09:39 +00:00
dickelbeck b62a69fc9b more amazing free software 2008-01-31 06:46:31 +00:00
dickelbeck e775cee97b more amazing free software 2008-01-31 01:30:52 +00:00
dickelbeck b91f11ad38 more amazing free software 2008-01-30 19:16:46 +00:00
dickelbeck 1c294c33a5 more free specctra support, MODULE::GetValue() 2008-01-29 22:09:09 +00:00
dickelbeck 67ebe29b60 more free specctra work 2008-01-29 16:45:14 +00:00
dickelbeck eaa147c110 spelling errors, specctra work 2008-01-26 02:02:27 +00:00
dickelbeck 501fb2c270 more free specctra work 2008-01-25 22:03:36 +00:00
dickelbeck 48dc3d0695 COLLECTOR::BasePtr() 2008-01-25 15:13:57 +00:00
CHARRAS 9ba9be706e void Change_Side_Module( MODULE* Module, wxDC* DC ) is now member of class BOARD (as asked in todo list) 2008-01-25 13:16:24 +00:00
dickelbeck 1969a51173 more free specctra dsn work 2008-01-24 21:47:54 +00:00
dickelbeck eaa1c22336 more specctra export work 2008-01-23 22:36:37 +00:00
dickelbeck f3fcfce609 specctra work 2008-01-23 01:52:49 +00:00
dickelbeck 300d50b1bc more specctra dsn work 2008-01-22 20:48:02 +00:00
dickelbeck 8d79a82b3d specctra export support 2008-01-21 22:16:45 +00:00
dickelbeck 55853ea6ff initial version of specctra export 2008-01-21 21:24:39 +00:00