- 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.
-
- 16 Nov, 2011 1 commit
-
-
Dick Hollenbeck authored
-
- 15 Nov, 2011 1 commit
-
-
jean-pierre charras authored
-
- 14 Nov, 2011 1 commit
-
-
Vladimir Ur authored
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.
-
- 12 Nov, 2011 4 commits
-
-
jean-pierre charras authored
-
jean-pierre charras authored
-
jean-pierre charras authored
-
jean-pierre charras authored
Fix bug 880132 (Justify not correct) Note: justifications are now always relative to the text, in libedit (as before) and schematic editor: if rotated, justification is rotated, because in Pcbnew rotation can have any value.
-
- 11 Nov, 2011 4 commits
-
-
Wayne Stambaugh authored
* Move the component library save file creation and write error dialogs into the appropriate frame object. * Change the save component library and document definitions take an OUTPUTFORMATTER object instead of a file name. * Change the component alias save document definition function to take an OUTPUTFORMATTER object instead of a file handle.
-
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...
-
Wayne Stambaugh authored
-
jean-pierre charras authored
Pcbnew: remove useless code. Doc: remobe obsolete reference to MINIZIP (which do not exist now)
-
- 10 Nov, 2011 3 commits
-
-
Wayne Stambaugh authored
-
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 3 commits
-
-
Dick Hollenbeck authored
-
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.
-
jean-pierre charras authored
-
- 07 Nov, 2011 3 commits
-
-
jean-pierre charras authored
Pcbnew: Fix a membar issue: Layer setup incorrect location (seems due to an error when using copy/paste editor command)
-
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.
-
- 06 Nov, 2011 1 commit
-
-
jean-pierre charras authored
Lee algorithm replaced by a Minimun Spanning Tree algo (using Prim's algorithm ). Tested on a 5350 pads board, it is more than 100 times faster. Also fix a crash when clicking on tool "delete selected items" (main horizontal toolbar), and remove this tool (currently, no code in Pcbnew for this tool)
-
- 04 Nov, 2011 1 commit
-
-
Dick Hollenbeck authored
-
- 03 Nov, 2011 1 commit
-
-
jean-pierre charras authored
Pcbnew: connect.cpp: enhanced ( faster and more powerful ) algorithm to calculate connections between pads. Code cleaning.
-
- 01 Nov, 2011 4 commits
-
-
Wayne Stambaugh authored
-
jean-pierre charras authored
More about code refactoring in connect.cpp: RecalculateAllTracksNetcode() is 50 times faster with a board using 27000 tracks Use right icon in pcbnew for load board and new board.
-
Dick Hollenbeck authored
-
Dick Hollenbeck authored
-
- 31 Oct, 2011 3 commits
-
-
Wayne Stambaugh authored
-
jean-pierre charras authored
More work about code refactoring in connect.cpp
-
jean-pierre charras authored
This first draft should fix bug 851670 and is faster than existing alogorithm.
-
- 30 Oct, 2011 1 commit
-
-
Dick Hollenbeck authored
-
- 29 Oct, 2011 1 commit
-
-
jean-pierre charras authored
Pcbnew: fix minor issue: Footprint bounding box was too large for very small footprints (like SM0204) due to the minimal size value used in calculations.
-
- 28 Oct, 2011 2 commits
-
-
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.
-
Wayne Stambaugh authored
* Change edit pin per part flag to only have effect when editing component with multiple parts or alternate body styles. * Move global edit pin pert part variable into library editor frame object. * Note that this only fixes the bug when the component does not have multiple parts or alternate body styles.
-
- 27 Oct, 2011 3 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).)
-
Wayne Stambaugh authored
* Create command event handler for draggining all schematic items. * Remove redundant delete item command handler code. * Remove unused close current tool command ID from process special functions event handler.
-
Wayne Stambaugh authored
* Create command event handler for editing all schematic and child items. * Remove unique edit schematic item command IDs. * Unify find item, undo, and redo hot key commands.
-