1. 08 Dec, 2011 2 commits
  2. 07 Dec, 2011 4 commits
  3. 06 Dec, 2011 1 commit
  4. 05 Dec, 2011 1 commit
    • Dick Hollenbeck's avatar
      ++PCBNew · b26580d5
      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()
      b26580d5
  5. 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
  6. 30 Nov, 2011 1 commit
  7. 24 Nov, 2011 1 commit
  8. 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
  9. 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
  10. 11 Nov, 2011 2 commits
    • Wayne Stambaugh's avatar
      Remove message dialogs from COMPONENT_LIBRARY class. · 7a5e6a2d
      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.
      7a5e6a2d
    • jean-pierre charras's avatar
      Eeschema: bug 880132 : partial fix. · 4221c361
      jean-pierre charras authored
      Pcbnew: remove useless code.
      Doc: remobe obsolete reference to MINIZIP (which do not exist now)
      4221c361
  11. 10 Nov, 2011 2 commits
  12. 08 Nov, 2011 2 commits
    • Dick Hollenbeck's avatar
      sweet editor, compiler warning · 311a8186
      Dick Hollenbeck authored
      311a8186
    • Wayne Stambaugh's avatar
      Minor fixes, dead code removal, and coding policy fixes. · cd0b2316
      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.
      cd0b2316
  13. 07 Nov, 2011 1 commit
    • Wayne Stambaugh's avatar
      Fix cursor warping out of client when zooming bug. · 393e0204
      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.
      393e0204
  14. 01 Nov, 2011 1 commit
  15. 31 Oct, 2011 1 commit
  16. 29 Oct, 2011 1 commit
  17. 28 Oct, 2011 2 commits
    • Wayne Stambaugh's avatar
      Unify Eeschema orient commands and other minor fixes. · bbda48f9
      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.
      bbda48f9
    • Wayne Stambaugh's avatar
      Fix schematic library pin editing bug. Fixes lp:809506 · a834c47b
      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.
      a834c47b
  18. 27 Oct, 2011 2 commits
  19. 26 Oct, 2011 1 commit
    • Wayne Stambaugh's avatar
      Factor Eeschema rotate item hot keys into a rotate event handler. · b98b23a1
      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.
      b98b23a1
  20. 24 Oct, 2011 2 commits
  21. 22 Oct, 2011 1 commit
  22. 21 Oct, 2011 2 commits
    • 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
    • Wayne Stambaugh's avatar
      More Eeschema schematic item move code unification. · 78377058
      Wayne Stambaugh authored
      * Tweak move item to support moving schematic sheet pin objects.
      * Change schematic sheet pin set position to constrain position within
        the parent sheet.
      * Schematic sheet pin moving now handled by unified move code.
      * Remove old schematic sheet pin move code.
      * Add custom client data object for passing hot key information to
        command event handlers.
      * Fix a bug that prevented changes to schematic sheet pin objects from
        being undone.
      78377058
  23. 19 Oct, 2011 2 commits
    • Wayne Stambaugh's avatar
      Minor Eeschema fixes. · 30a4bd39
      Wayne Stambaugh authored
      * Fix a set position method bug in schematic item that caused the fields
        to drawn in the wrong position.
      * Group zoom hot keys to use the same command event in schematic and
        library editor frames.
      30a4bd39
    • 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
  24. 18 Oct, 2011 3 commits
  25. 17 Oct, 2011 1 commit
    • Wayne Stambaugh's avatar
      Minor dialog fixes and code cleaning. · 2c251196
      Wayne Stambaugh authored
      * Grammar and spelling fixes in Eeschema, CvPcb, and Pcbnew path and
        library dialog tool tips.
      * Translate the French file name subrill.cpp to highlight.cpp.
      * Lots of coding style policy fixes.
      2c251196