- 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.
-
- 28 Jan, 2014 1 commit
-
-
Dick Hollenbeck authored
Add EDA_BASE_FRAME::Show() and call SaveSettings() only from there for all derived wxFrames. Remove calls to SaveSettings() elsewhere.
-
- 12 Nov, 2013 1 commit
-
-
Dick Hollenbeck authored
*) Move button handlers to LEFT MOUSE CLICK from COMMAND events, so wxGrid focus is not lost. *) Sketch out the concept of COW support for the GITHUB_PLUGIN in its @todo.
-
- 28 Aug, 2013 1 commit
-
-
jean-pierre charras authored
Pcbnew: enhancements for blind/buried vias palcement, and save blind/buried vias allowed option in .kicad_pcb file
-
- 02 May, 2013 1 commit
-
-
Lorenzo Marcantonio authored
New conversion routines and sin/cos implementation for angles in decidegrees
-
- 04 Mar, 2013 1 commit
-
-
Wayne Stambaugh authored
* Fix spacing and consistency issues and debug warning due to improper flex grid sizer in module editor module properties dialog. * Fix spacing and consistency issues in Pcbnew module properties dialog. * Fix spelling error in DRC dialog message box text.
-
- 03 Oct, 2012 1 commit
-
-
jean-pierre charras authored
-
- 22 Sep, 2012 1 commit
-
-
jean-pierre charras authored
All: remove macros MAX, MIN, ABS from macros.h and replace these macros by std::max, std::min and std::abs (mainly found in old code).
-
- 24 May, 2012 1 commit
-
-
brian. authored
-
- 23 May, 2012 1 commit
-
-
Andrey Fedorushkov authored
-
- 16 Apr, 2012 2 commits
-
-
Wayne Stambaugh authored
* Remove internal units from BASE_SCREEN and it's derivatives. * Remove internal units from EDA_DRAW_FRAME and it's derivatives. * Use build time code to replace internal units conversions. * Fix scaling bug in page layout sample window that I created in my last 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.
-
- 13 Apr, 2012 1 commit
-
-
Wayne Stambaugh authored
* Move all convert from internal to user units functions into separate file. * Remove internal units parameter from all moved conversion functions. * Revise all source code that calls the moved conversion functions. * Compile these conversion routines separately for the appropriate pcb or schematic internal units. * Move internal units specific status bar update code into the appropriate application for updating the status bar. * Move millimeter user units rounding function to common.cpp.
-
- 23 Jan, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 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.
-
- 08 Dec, 2011 1 commit
-
-
jean-pierre charras authored
-
- 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 2 commits
-
-
Vladimir Ur authored
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).
-
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.
-
- 30 Sep, 2011 1 commit
-
-
Wayne Stambaugh authored
* 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.
-
- 23 Sep, 2011 1 commit
-
-
Wayne Stambaugh authored
* 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.
-
- 06 Sep, 2011 1 commit
-
-
Wayne Stambaugh authored
-
- 16 Apr, 2011 1 commit
-
-
jean-pierre charras authored
-
- 11 Mar, 2011 1 commit
-
-
Wayne Stambaugh authored
* Remove clearance and net class name read only text boxes from PCBNew auxiliary tool bar. * Display full net class information in message panel when an object that supports net classes is selected. * Move coordinate string conversion function to EDA_DRAW_FRAME object and made it more versatile. * Refresh message panel text when units change.
-
- 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.
-
- 21 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
* Old control state handling code completely removed in all applications. * Factor common control state handlers into EDA_DRAW_FRAME. * Replaced EDA_ITEM test for newness with IsNew() method. * Factor vertical right toolbar command handlers out of giant edit command switch statement in EESchema and PCBNew.
-
- 25 Jan, 2011 1 commit
-
-
jean-pierre charras authored
This was due to a duplicate constants ( with sligtly different values) used to select items in some seach functions that broke filtering. Old definitions removed.
-
- 21 Jan, 2011 1 commit
-
-
jean-pierre charras authored
Minor others fixes and enhancements
-
- 16 Jan, 2011 1 commit
-
-
jean-pierre charras authored
Very minor enhancement in module edition dialogs. Fix a minor bug in design rules editor: in Global Rules Edition: drill values > via diameter not checked and the first item (track or via) in list was not checked (explains Bug 702177, that is not really a bug)
-
- 26 Nov, 2010 1 commit
-
-
jean-pierre charras authored
-
- 12 Nov, 2010 2 commits
-
-
Dick Hollenbeck authored
can be deleted later if they exist in the headers, or moved to headers if they should exist in the headers.
-
Dick Hollenbeck authored
-
- 04 Oct, 2010 1 commit
-
-
jean-pierre charras authored
-
- 02 Sep, 2010 1 commit
-
-
jean-pierre charras authored
Design rule dialog: use wxLC_VIRTUAL options in wxListBoxes tu speed up nets lists display (which was very long for board with a lot of nets)
-
- 20 Jul, 2010 1 commit
-
-
jean-pierre charras authored
Fixed compil warning under wxWidgets 2.9.1. File beautification Statring using wxTextEntryDialog instead of Get_Message (because Get_Message does not handle properly cancel option)
-
- 12 Jul, 2010 1 commit
-
-
Dick Hollenbeck authored
inches and mm, the industry is crazy enough to force us with mixed design. For example I routinely use imperial units for track size and clearance, but drilling is strictly a metric issue... So I added a little parser to recognize a suffix specification in the unit text boxes... so you can put in things like: 1in (1 inch) 1" (idem) 25th (25 thou) 25mi (25 mils, the same) 6mm (6 mm, obviously) The rules are: spaces between the number and the unit are accepted, only the first two letters are significant. As a bonus, it also recognize the period (.) as a decimal point substituting it with the correct locale character (there was a wishlist for it, IIRC). Most useful for number pad fans :D
-
- 29 Apr, 2010 1 commit
-
-
Administrateur authored
preparing auto refresh of the 3D view in mod edit (not yet working)
-