- 21 Dec, 2011 1 commit
-
-
Wayne Stambaugh authored
* EDA_RECT and EDA_ITEM completely encapsulated. * Removed unnecessary EDA_ITEM member m_Selected and replaced functionality with SELECTED flag bit.
-
- 18 Dec, 2011 1 commit
-
-
jean-pierre charras authored
-
- 17 Dec, 2011 1 commit
-
-
jean-pierre charras authored
Minor cosmetic enhancements. Pcbnew: more workd abput connection algorithms (work in progress)
-
- 16 Dec, 2011 2 commits
-
-
Wayne Stambaugh authored
-
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.
-
- 14 Dec, 2011 3 commits
-
-
Wayne Stambaugh authored
-
Dick Hollenbeck authored
-
Dick Hollenbeck authored
-
- 13 Dec, 2011 1 commit
-
-
Wayne Stambaugh authored
* Enable replace toolbar button and menu entry. * Improve find replace logging granularity. * Fix find and replace dialog control hiding and disabling. * Minor improvements to the SCH_FIND_REPLACE_DATA object. * Move find collector list iterator into the collector object. * Add visibility override flag to EDA_ITEM to temporarily show items that are hidden during find and replace.
-
- 12 Dec, 2011 2 commits
-
-
Wayne Stambaugh authored
-
Dick Hollenbeck authored
-
- 08 Dec, 2011 1 commit
-
-
jean-pierre charras authored
* Fix compil issue about automatically created pcb_plot_params.h : pcb_plot_params.* moved from pcbnew to common because item_io.cpp (using this file) is compiled in common.
-
- 07 Dec, 2011 2 commits
-
-
jean-pierre charras authored
In common.cpp GetTimeStamp is renamed GetNewTimeStamp (a better name). Pcbnew: prepare work to calculate connections between pads that inteserct and therefore can be connected without any track (composite pads).
-
Dick Hollenbeck authored
-
- 06 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()
-
- 01 Dec, 2011 1 commit
-
-
Wayne Stambaugh authored
* Replace Eeschema find code with a collector based implementation. * Fixed a search bug when all subsequent searches of an item would ignore the remaining valid child items when an item had more than one child item that matched the search criteria. * Add SCH_FIND_COLLECTOR class to find all items that meet the specified search criteria. * Add SCH_FIND_COLLECT0R_DATA to keep track of information for all matching items. * Use collector to iterate over the list of items that match the search criteria rather than trying to start at the last matched item. * Remove unused searching methods from sheet path and sheet path list objects. * Add replace and replace all functionality to Eeschema find dialog. * Push matching methods down to EDA_ITEM class so they can be used by other derived objects. * Add method to EDA_ITEM to test if item supports replacing. * Add flag to find/replace data to support replace feature. * Disable wild card matching check box when dialog is in replace mode as wild card replacement is not supported at this time. * The usual Doxygen comment and coding policy fixes.
-
- 30 Nov, 2011 2 commits
-
-
Dick Hollenbeck authored
-
jean-pierre charras authored
Pcbnew: prepare work on new algos for connections calculations.
-
- 26 Nov, 2011 1 commit
-
-
jean-pierre charras authored
-
- 24 Nov, 2011 3 commits
-
-
jean-pierre charras authored
-
jean-pierre charras authored
Eeschema: fix crash in intermediate netlist generation when a component has no pins (like logos or images). Pcbnew: texts in dimensions can be now moved. Gerbview: fix incorrect number of layers in export to pcbnew function.
-
Dick Hollenbeck authored
-
- 17 Nov, 2011 1 commit
-
-
Wayne Stambaugh authored
* Fix bug in hierarchical searches using sheet path pointers which are destroyed on every search. Use human readable path as last sheet found in test to prevent comparison of deleted pointers. * Fix a bug in SCH_COMPONENT::Matches() that would prevent searching for pins if the search all fields flags was not set. * Fix a bug in SCH_COMPONENT::Matches() to use the sheet path to perform the comparison to the correct reference designator and unit number. * Fix wrapping in sheet path and sheet path list MatchNextItem methods. * Push search methods down to EDA_ITEM object so advanced searching can be performed on all items derived from EDA_ITEM. * Add virtual method to EDA_ITEM object to test if item supports replacing text. * Replace switch statement magic numbers in Eeschema socket connection code with Pcbnew for improved readability.
-
- 15 Nov, 2011 1 commit
-
-
Vladimir Ur authored
Some code restyling: VECTOR_PCB is an array. Cleanup uncontrolled definitions of abs, max, etc. max is now overloaded function and MAX is a macro.
-
- 12 Nov, 2011 1 commit
-
-
jean-pierre charras authored
-
- 11 Nov, 2011 1 commit
-
-
Wayne Stambaugh authored
-
- 10 Nov, 2011 2 commits
-
-
Wayne Stambaugh authored
* Replace C malloc() and free() functions with C++ new and delete operators or the appropriate STL container. * Add option to end mouse capture function to skip executing the end mouse capture callback. * Lots of coding policy and Doxygen comment goodness.
-
jean-pierre charras authored
Add minor enhancements.
-
- 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.
-
- 08 Nov, 2011 1 commit
-
-
Wayne Stambaugh authored
* Use version of DateAndTime that returns a wxString and delete the version that takes a char* as it is no longer required. * Merge StrNumICmp() and StrLenNumICmp() into StrLenNumCmp() to create a single function for comparing strings with integers and remove a lot of duplicate code. * Remove unused strupper from string.cpp. * Use wxArrayString for sorting the EDA_LIST_DIALOG contents.
-
- 07 Nov, 2011 2 commits
-
-
Wayne Stambaugh authored
* Modify algorithm to correctly calculate the virtual drawing size and offset required to place the drawing correctly under all conditions. * Ignore default wxWidgets scroll keys on Windows in EDA_DRAW_PANEL key event handler.
-
jean-pierre charras authored
Fix bug 887202.
-
- 28 Oct, 2011 1 commit
-
-
Wayne Stambaugh authored
* Create command event handler for orienting schematic items and block. * Remove redundant orient item and block command handler code and IDs. * Remove redundant cancel current command event table entry. * Remove unnecessary schematic bitmap object virtual functions. * Set path when saving schematic sheet files to prevent assertion in updated path and file write permission test function. * Restore directory and file name write permission test function to it's previous behavior to prevent unexpected save results. * Add an assertion to verify the path is not empty to directory and file write permission test function. * Improve documentation for path and file write permission test function. * Fix Doxygen link warnings.
-
- 27 Oct, 2011 2 commits
-
-
jean-pierre charras authored
Fix erroneous test for non writable folder, when trying to save a schematic file with no path in name. (seems wxFileName.IsDirWritable() fails under Windows when the path is empty (does not use the CWD).)
-
jean-pierre charras authored
-
- 26 Oct, 2011 1 commit
-
-
Wayne Stambaugh authored
* Add a rotate event handler to schematic frame object. * Remove unique rotate item command IDs. * Use process event instead of post event to eliminate the need to clean up the command event client object from the heap. * Unify find next item and next DRC error hot key commands. * Unify move and rotate hot keys commands.
-
- 25 Oct, 2011 1 commit
-
-
jean-pierre charras authored
BOOST POLYGON is always used in zone filling functions. Kbool is still in use in other calculations.
-
- 21 Oct, 2011 1 commit
-
-
Wayne Stambaugh authored
* Remove external dependency for adding suffix to reference designator fields. * Make schematic field get and set position methods transform coordinates relative to the parent component object that owns them. * Make base text class get text method virtual so derived classes can change the base string according to their individual requirements. * Fix a problem with default place schematic item add in last commit.
-