- 20 Mar, 2014 1 commit
-
-
Dick Hollenbeck authored
! The initial testing of this commit should be done using a Debug build so that all the wxASSERT()s are enabled. Also, be sure and keep enabled the USE_KIWAY_DLLs option. The tree won't likely build without it. Turning it off is senseless anyways. If you want stable code, go back to a prior version, the one tagged with "stable". * Relocate all functionality out of the wxApp derivative into more finely targeted purposes: a) DLL/DSO specific b) PROJECT specific c) EXE or process specific d) configuration file specific data e) configuration file manipulations functions. All of this functionality was blended into an extremely large wxApp derivative and that was incompatible with the desire to support multiple concurrently loaded DLL/DSO's ("KIFACE")s and multiple concurrently open projects. An amazing amount of organization come from simply sorting each bit of functionality into the proper box. * Switch to wxConfigBase from wxConfig everywhere except instantiation. * Add classes KIWAY, KIFACE, KIFACE_I, SEARCH_STACK, PGM_BASE, PGM_KICAD, PGM_SINGLE_TOP, * Remove "Return" prefix on many function names. * Remove obvious comments from CMakeLists.txt files, and from else() and endif()s. * Fix building boost for use in a DSO on linux. * Remove some of the assumptions in the CMakeLists.txt files that windows had to be the host platform when building windows binaries. * Reduce the number of wxStrings being constructed at program load time via static construction. * Pass wxConfigBase* to all SaveSettings() and LoadSettings() functions so that these functions are useful even when the wxConfigBase comes from another source, as is the case in the KICAD_MANAGER_FRAME. * Move the setting of the KIPRJMOD environment variable into class PROJECT, so that it can be moved into a project variable soon, and out of FP_LIB_TABLE. * Add the KIWAY_PLAYER which is associated with a particular PROJECT, and all its child wxFrames and wxDialogs now have a Kiway() member function which returns a KIWAY& that that window tree branch is in support of. This is like wxWindows DNA in that child windows get this member with proper value at time of construction. * Anticipate some of the needs for milestones B) and C) and make code adjustments now in an effort to reduce work in those milestones. * No testing has been done for python scripting, since milestone C) has that being largely reworked and re-thought-out.
-
- 20 Sep, 2013 1 commit
-
-
Maciej Suminski authored
-
- 06 Sep, 2013 1 commit
-
-
Maciej Suminski authored
-
- 07 Jan, 2013 1 commit
-
-
jean-pierre charras authored
Pcbnew: Fix unwanted selection clarification popmenu in board editor after double clicking on a DRC Unconnected error (For DRC clearance error, it was fixed in bzr 3838, but forgotten for DRC Unconnected error)
-
- 10 Dec, 2012 1 commit
-
-
jean-pierre charras authored
Pcbnew: Drc dialog: fix a old very minor bug. Added: single click on an item in marker list moves the board graphic cursor on the corresponding marker location on the board Double clicking is not modified.
-
- 04 Oct, 2012 1 commit
-
-
jean-pierre charras authored
-
- 03 Oct, 2012 1 commit
-
-
jean-pierre charras authored
-
- 29 Aug, 2012 1 commit
-
-
Lorenzo Marcantonio authored
-
- 03 Aug, 2012 1 commit
-
-
jean-pierre charras authored
-
- 13 Jul, 2012 1 commit
-
-
jean-pierre charras authored
This is *a work in progress*, so some features are missing, and/or could be modified. Mainly keepout zones are not yet exported to autorouters, and pads are not taken in account. Some code cleanup in polygon.*
-
- 16 Apr, 2012 1 commit
-
-
Wayne Stambaugh authored
* Move all convert from user to internal units into base_units.cpp. * Remove internal units parameters from all moved conversion functions. * Revise all source code that calls the moved conversion functions. * Remove internal units from all dialog text control helper classes.
-
- 23 Jan, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 22 Dec, 2011 1 commit
-
-
Wayne Stambaugh authored
* EDA_DRAW_FRAME completely encapsulated. * Encapsulate the the low hanging fruit in EDA_DRAW_PANEL.
-
- 16 Dec, 2011 1 commit
-
-
Wayne Stambaugh authored
* EDA_DRAW_FRAME completely encapsulated except for DrawFrame member. * Moved members specific to Pcbnew from EDA_DRAW_FRAME to PCB_BASE_FRAME or PCB_EDIT_FRAME as appropriate. * Replace EDA_TOOLBAR with wxAuiToolBar as EDA_TOOL bar provided no additional functionality and made code less readable. * Remove EDA_TOOLBAR class definition from wxstruct.h and delete file wineda_toolbar.cpp. * Rename tool bar members to something more descriptive since the horizontal and vertical references wont mean anything once the tool bars are movable. * Lots of dead code removal.
-
- 05 Dec, 2011 1 commit
-
-
Dick Hollenbeck authored
* Removed Pcb_Frame argument from BOARD() constructor, since it precludes having a BOARD being edited by more than one editor, it was a bad design. And this meant removing m_PcbFrame from BOARD. * removed BOARD::SetWindowFrame(), and BOARD::m_PcbFrame * Removed the global BOARD_DESIGN_SETTINGS which was in class_board.cpp * added BOARD_DESIGN_SETTINGS to the BOARD class, a full instance * a couple dialogs now only change BOARD_DESIGN_SETTINGS when OK is pressed, such as dialog_mask_clearance, dialog_drc, etc. * Removed common/pcbcommon.cpp's int g_CurrentVersionPCB = 1 and replaced it with build_version.h's #define BOARD_FILE_VERSION, although there may be a better place for this constant. * Made the public functions in PARAM_CFG_ARRAY be type const. void SaveParam(..) const and void ReadParam(..) const * PARAM_CFG_BASE now has virtual destructor since we have various way of destroying the derived class and boost::ptr_vector must be told about this. * Pass const PARAM_CFG_ARRAY& instead of PARAM_CFG_ARRAY so that we can use an automatic PARAM_CFG_ARRAY which is on the stack.\ * PCB_EDIT_FRAME::GetProjectFileParameters() may no longer cache the array, since it has to access the current BOARD and the BOARD can change. Remember BOARD_DESIGN_SETTINGS are now in the BOARD. * Made the m_BoundingBox member private, this was a brutally hard task, and indicative of the lack of commitment to accessors and object oriented design on the part of KiCad developers. We must do better. Added BOARD::GetBoundingBox, SetBoundingBox(), ComputeBoundingBox(). * Added PCB_BASE_FRAME::GetBoardBoundingBox() which calls BOARD::ComputeBoundingBox()
-
- 24 Nov, 2011 1 commit
-
-
Dick Hollenbeck authored
-
- 11 Nov, 2011 1 commit
-
-
Vladimir Ur authored
Metric KiCad work continues. Partially processed D_PAD class. It is still need to be tested including all these import and export procedures...
-
- 09 Nov, 2011 1 commit
-
-
Vladimir Ur authored
Added configuartion option KICAD_NANOMETRIC for this. * With option set to false: * - it should work and compile as usual - some values are saved with decimal point (which should be backward/forward compatible as old versions should just drop fractional part) * With option set to true: * - lengths in Global Design Rules should be settable 1nm steps. FROM/TO_LEGACY_LU(_DBL) macros introduced for easy interconnection between old and new units.
-
- 31 Oct, 2011 1 commit
-
-
jean-pierre charras authored
More work about code refactoring in connect.cpp
-
- 06 Sep, 2011 1 commit
-
-
Wayne Stambaugh authored
-
- 01 Mar, 2011 1 commit
-
-
Wayne Stambaugh authored
* 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.
-
- 28 Feb, 2011 1 commit
-
-
jean-pierre charras authored
Use UTF-8 encoding only in kicad files. Under Linux, this was already the case. Under Windows, texts with non ascii characters must be corrected. This ensure compatibility between platforms.
-
- 20 Jan, 2011 1 commit
-
-
Wayne Stambaugh authored
* 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.
-
- 26 Nov, 2010 1 commit
-
-
jean-pierre charras authored
-
- 20 Sep, 2010 1 commit
-
-
jean-pierre charras authored
-
- 08 Apr, 2010 1 commit
-
-
charras authored
fixed others very minor bugs.
-
- 31 Jan, 2010 1 commit
-
-
charras authored
removed global variables and a lot of redundancies
-
- 04 Dec, 2009 1 commit
-
-
charras authored
-
- 05 Nov, 2009 2 commits
-
-
dickelbeck authored
-
dickelbeck authored
drc dialog was not showing the Netclass non-editable field on large font systems. remember last size and position
-
- 28 Oct, 2009 1 commit
-
-
charras authored
-
- 21 Oct, 2009 2 commits
- 06 Oct, 2009 1 commit
-
-
charras authored
-
- 05 Oct, 2009 1 commit
-
-
dickelbeck authored
-
- 10 Sep, 2009 1 commit
-
-
dickelbeck authored
-
- 30 Jul, 2009 1 commit
-
-
charras authored
-
- 06 Jul, 2009 1 commit
-
-
charras authored
-
- 27 Jun, 2009 1 commit
-
-
charras authored
(all test are now always performed)
-
- 18 Jun, 2009 1 commit
-
-
charras authored
Eeschema: code cleaning
-