1. 13 Sep, 2014 1 commit
  2. 13 Aug, 2014 1 commit
    • Dick Hollenbeck's avatar
      Modular KiCad Blueprint Milestone B), major portions: · 7e483f69
      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.
      7e483f69
  3. 25 Apr, 2014 1 commit
  4. 20 Mar, 2014 1 commit
    • Dick Hollenbeck's avatar
      * KIWAY Milestone A): Make major modules into DLL/DSOs. · 2c67c3ff
      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.
      2c67c3ff
  5. 11 Feb, 2014 1 commit
  6. 24 Nov, 2013 1 commit
  7. 27 Oct, 2013 1 commit
    • Wayne Stambaugh's avatar
      Eeschema find/replace bug fixes and improvements (fixes 1208616). · f0b2565f
      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.
      f0b2565f
  8. 14 Jul, 2013 1 commit
    • Wayne Stambaugh's avatar
      Eeschema find bug fixes. (fixes lp:1199689) · ba16d9e7
      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.
      ba16d9e7
  9. 29 Jun, 2013 1 commit
  10. 04 Apr, 2013 1 commit
    • Lorenzo Marcantonio's avatar
      More work on EDA_COLOR_T and layers. · d12a4592
      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
      d12a4592
  11. 25 Mar, 2013 1 commit
  12. 18 Mar, 2013 1 commit
    • Wayne Stambaugh's avatar
      More encapsulation work. · 7d0ec1a1
      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.
      7d0ec1a1
  13. 28 Sep, 2012 1 commit
  14. 02 Sep, 2012 2 commits
  15. 01 Sep, 2012 1 commit
  16. 03 May, 2012 1 commit
  17. 26 Mar, 2012 1 commit
    • Wayne Stambaugh's avatar
      Minor code improvements and coding policy fixes. · 45445dd8
      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.
      45445dd8
  18. 17 Mar, 2012 1 commit
  19. 15 Mar, 2012 1 commit
  20. 26 Feb, 2012 1 commit
    • Wayne Stambaugh's avatar
      Eeschema object list and other minor improvements. · aaa1cc3e
      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.
      aaa1cc3e
  21. 23 Jan, 2012 1 commit
  22. 09 Jan, 2012 1 commit
    • Wayne Stambaugh's avatar
      Eeschema schematic object improvements. · 409d6e8e
      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.
      409d6e8e
  23. 06 Jan, 2012 1 commit
  24. 03 Jan, 2012 1 commit
  25. 29 Dec, 2011 1 commit
  26. 22 Dec, 2011 1 commit
  27. 21 Dec, 2011 1 commit
    • Wayne Stambaugh's avatar
      Eeschema find and replace improvements. · 85d2f2f1
      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.
      85d2f2f1
  28. 13 Dec, 2011 1 commit
    • Wayne Stambaugh's avatar
      Add Eeschema replace code. · a63a2006
      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.
      a63a2006
  29. 07 Dec, 2011 1 commit
  30. 01 Dec, 2011 1 commit
    • Wayne Stambaugh's avatar
      Improve Eeschema find code and add initial replace plumbing. · d9e0ab02
      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.
      d9e0ab02
  31. 30 Nov, 2011 1 commit
  32. 17 Nov, 2011 1 commit
    • Wayne Stambaugh's avatar
      Fix Eeschema find item bugs and other minor changes. · 35749e57
      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.
      35749e57
  33. 12 Nov, 2011 2 commits
    • jean-pierre charras's avatar
      Forgotten change. · 790b6b54
      jean-pierre charras authored
      790b6b54
    • jean-pierre charras's avatar
      Some better icons. · 9cb27eb8
      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.
      9cb27eb8
  34. 24 Oct, 2011 1 commit
    • Andrey Fedorushkov's avatar
      Eeschema: · 8e584fc2
      Andrey Fedorushkov authored
      * Fix bug in draw reference for multiunit component
      * Code cleanup for drag item
      8e584fc2
  35. 21 Oct, 2011 1 commit
    • Wayne Stambaugh's avatar
      Initial ground work to make schematic fields use unified move code. · 7bbe2f78
      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.
      7bbe2f78
  36. 19 Oct, 2011 1 commit
    • Wayne Stambaugh's avatar
      Eeschema schematic item move code unification. · 6a4e8aa9
      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
      6a4e8aa9
  37. 07 Oct, 2011 1 commit
    • Wayne Stambaugh's avatar
      Eeschema ERC improvements and other minor fixes. · d4fb921b
      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.
      d4fb921b
  38. 06 Sep, 2011 1 commit