- 13 Sep, 2014 1 commit
-
-
Lorenzo Marcantonio authored
Factored out text ellipsing support to max 15 character (for generating menu items)
-
- 13 Aug, 2014 1 commit
-
-
Dick Hollenbeck authored
*) When kicad.exe closes a project, close any open KIFACEs so that they cannot get disassociated from their true PROJECT. *) Allow loading eeschema library editor from kicad.exe *) Allow loading pcbnew library editor from kicad.exe *) Rename LIB_COMPONENT to LIB_PART. *) Add class PART_LIBS, and PART_LIB. *) Make PART_LIBS non-global, i.e. PROJECT specific. *) Implement "data on demand" for PART_LIBS *) Implement "data on demand" for schematic SEARCH_STACK. *) Use RSTRINGs to retain eeschema editor's notion of last library and part being edited. *) Get rid of library search on every SCH_COMPONENT::Draw() call, instead use a weak pointer. *) Remove all chdir() calls so projects don't need to be CWD. *) Romove APPEND support from OpenProjectFiles(). *) Make OpenProjectFiles() robust, even for creating new projects. *) Load EESCHEMA colors in the KIWAY::OnKiwayStart() rather in window open, and save them in the .eeschema config file, not in the project file. *) Fix bug with wxDir() while accessing protected dirs in kicad.exe *) Consolidate template copying into PROJECT class, not in kicad.exe source. *) Generally untangle eeschema, making its libraries not global but rather held in the PROJECT.
-
- 25 Apr, 2014 1 commit
-
-
jean-pierre charras authored
eeschema: fix the very minor bug #1298094. But it was due to a bad bounding box calculation, which is now fixed.
-
- 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.
-
- 11 Feb, 2014 1 commit
-
-
Henner Zeller authored
* Apply Henner Zeller's patch to add connecting line from reference and labels to component position whilst moving to help identify which component the reference or label belongs too
-
- 24 Nov, 2013 1 commit
-
-
jean-pierre charras authored
Pcbnew: Code cleaning and bug fix in autoplace functions Dialog exchange footprints has now a separate button to update the .cmp file, only on request.
-
- 27 Oct, 2013 1 commit
-
-
Wayne Stambaugh authored
* Fix replace bug to handle case sensitivity properly. * Fix replace bug where the item index was getting updated incorrectly. * Fix replace infinite loop bug on replace all. * Make find/replace view update code a separate function. * Rearrange find/replace trace string to add tracing to EDA_ITEM::Replace(). * Add IsComplexHierarchy method to SCH_SHEET_LIST for future find/replace improvements.
-
- 14 Jul, 2013 1 commit
-
-
Wayne Stambaugh authored
* Force search when wrap past end of list option changes state. * Fix SCH_FIELD::Matches() for bug in user defined fields which have an ID of -1. * Minor improvements to the find data names to improve source code readability.
-
- 29 Jun, 2013 1 commit
-
-
jean-pierre charras authored
Replace in EDA_TEXT::Draw the parameter EDA_DRAW_PANEL* aPanel by EDA_RECT* aClipBox, which is the actual parameter used by Draw. This change make more easy to use this function when a EDA_DRAW_PANEL canvas is not used to draw texts. Remove dead code in worksheet.cpp.
-
- 04 Apr, 2013 1 commit
-
-
Lorenzo Marcantonio authored
In particular the new mechanism for handling extended color palettes is in place, included renaming the ini keys and saving the color name instead of its index; this means better forward compatibility with palette changes. Since ini keys are changed, colors will be reset
-
- 25 Mar, 2013 1 commit
-
-
Wayne Stambaugh authored
-
- 18 Mar, 2013 1 commit
-
-
Wayne Stambaugh authored
* Complete encapsulation of the MODULE class. * Complete encapsulation of the EDA_TEXT class. * Encapsulate most of the ZONE_CONTAINER class. * Add pcbcommon library as a dependency for reSWIGging the scripting support. This should cover most dependency cases.
-
- 28 Sep, 2012 1 commit
-
-
jean-pierre charras authored
-
- 02 Sep, 2012 2 commits
-
-
Lorenzo Marcantonio authored
-
Lorenzo Marcantonio authored
-
- 01 Sep, 2012 1 commit
-
-
Lorenzo Marcantonio authored
-
- 03 May, 2012 1 commit
-
-
jean-pierre charras authored
Add patch from Lorenzo Marcantonio. Fix some warning issues, and zlib issue under Windows (zlib sources added)
-
- 26 Mar, 2012 1 commit
-
-
Wayne Stambaugh authored
* BLOCK_SELECTOR class is not longer derived from EDA_ITEM. * Encapsulate BLOCK_SELECTOR class member variables and add access methods. * Move HandleBlockBegin() function from block_commande.cpp to drawframe.cpp. * Remove virtual methods from top level derived objects per future coding policy change. * Remove Doxygen copydoc statement from objects derived from EDA_ITEM since the comments are automatically copied to the derived object. * Removed copy and pasted Doxygen comments from objects derived from EDA_ITEM.
-
- 17 Mar, 2012 1 commit
-
-
Wayne Stambaugh authored
* Remove double Clone() function calls from all classes derived from EDA_ITEM. * Lots of Doxygen comment warning fixes.
-
- 15 Mar, 2012 1 commit
-
-
Wayne Stambaugh authored
* All objects derived from EDA_ITEM now have consistent hit test method definitions. * Remove double function calls from all classes derived from SCH_ITEM. * Lots of Doxygen comment fixes.
-
- 26 Feb, 2012 1 commit
-
-
Wayne Stambaugh authored
* Convert Eeschema from manually linked list to DLIST for storing SCH_ITEM objects. * Add helper functions to SCH_SCREEN for appending list of SCH_ITEM objects. * Fix bug in wire editing code for accurate undo/redo behavior. * Add member to DLIST to append another DLIST. * Other minor code cleaning.
-
- 23 Jan, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 09 Jan, 2012 1 commit
-
-
Wayne Stambaugh authored
* Remove unnecessary copy constructors from schematic and component library objects. * Add comment to class definitions where the default copy constructor generated by the compiler was adequate. * Add assignment operator to EDA_ITEM, SCH_ITEM, and all schematic objects where the default assignment operator generated by the compiler would not be adequate.
-
- 06 Jan, 2012 1 commit
-
-
jean-pierre charras authored
Eeschema: add compil option in sch_field.cpp to go back to old behavior for field texts justifications (this option is not activated) Note: only vertical texts have a modified behavior. Minor other changes.
-
- 03 Jan, 2012 1 commit
-
-
Wayne Stambaugh authored
-
- 29 Dec, 2011 1 commit
-
-
Wayne Stambaugh authored
* EDA_DRAW_PANEL completely encapsulated. * Moved OSX m_overlay member from EDA_DRAW_PANEL to EDA_DRAW_FRAME where it is used. * Doxygen comment warning fixes.
-
- 22 Dec, 2011 1 commit
-
-
Wayne Stambaugh authored
* EDA_DRAW_FRAME completely encapsulated. * Encapsulate the the low hanging fruit in EDA_DRAW_PANEL.
-
- 21 Dec, 2011 1 commit
-
-
Wayne Stambaugh authored
* Add check box and flag to ignore replacing the component reference designator field. * Fix a resizing bug when switching between the find and replace modes of the find/replace dialog. * Fix replace component reference designator field bug. * Force rebuild of search list when schematic is modified and the replace dialog is closed. * Prevent finding the next item when the find/replace dialog is closed. * Respect warp mouse pointer setting when closing find/replace dialog. * Fix duplicate mnemonic control accelerator keys in find/replace dialog.
-
- 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.
-
- 07 Dec, 2011 1 commit
-
-
Wayne Stambaugh authored
-
- 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 1 commit
-
-
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.
-
- 12 Nov, 2011 2 commits
-
-
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.
-
- 24 Oct, 2011 1 commit
-
-
Andrey Fedorushkov authored
* Fix bug in draw reference for multiunit component * Code cleanup for drag item
-
- 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.
-
- 19 Oct, 2011 1 commit
-
-
Wayne Stambaugh authored
* Add get and set position methods to all schematic items. * Encapsulate schematic item position members. * Add swap data method to schematic items that lacked one. * Remove global swap data function used by undo and redo functions. * Unify as many schematic move methods as possible. * Remove unnecessary place schematic item methods. * All schematic items are now moved in the same event handler. * Fixed bug in hierarchical sheet get menu item string method. * Make no connect and junction items movable, fixes lp:804048
-
- 07 Oct, 2011 1 commit
-
-
Wayne Stambaugh authored
* Move the hierarchical label connected test into the NETLIST_OBJECT class. * ERC pin type strings can now be translated. * Remove unused EDA_DRAW_PANEL attribute from all ERC test functions. * Add get marker count method to SCH_SCREENS object. * Redundant header removal. * Lots of coding style policy fixes.
-
- 06 Sep, 2011 1 commit
-
-
Wayne Stambaugh authored
-