1. 21 Dec, 2011 1 commit
  2. 18 Dec, 2011 1 commit
  3. 17 Dec, 2011 1 commit
  4. 16 Dec, 2011 2 commits
    • Wayne Stambaugh's avatar
      Encapsulate EDA_APP class. · 0e27f45f
      Wayne Stambaugh authored
      0e27f45f
    • Wayne Stambaugh's avatar
      More encapsulation work and other minor improvements. · fac288cf
      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.
      fac288cf
  5. 14 Dec, 2011 3 commits
  6. 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
  7. 12 Dec, 2011 2 commits
  8. 08 Dec, 2011 1 commit
  9. 07 Dec, 2011 2 commits
  10. 06 Dec, 2011 1 commit
  11. 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
  12. 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
  13. 30 Nov, 2011 2 commits
  14. 26 Nov, 2011 1 commit
  15. 24 Nov, 2011 3 commits
  16. 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
  17. 15 Nov, 2011 1 commit
  18. 12 Nov, 2011 1 commit
  19. 11 Nov, 2011 1 commit
  20. 10 Nov, 2011 2 commits
  21. 09 Nov, 2011 2 commits
    • Vladimir Ur's avatar
      General design rules tab converted to nanoscale. A bit of refactorisation in... · 0fdf71a8
      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).
      0fdf71a8
    • Vladimir Ur's avatar
      Work on internal (nano)metric length units started. · a273b7bd
      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.
      a273b7bd
  22. 08 Nov, 2011 1 commit
    • 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
  23. 07 Nov, 2011 2 commits
  24. 28 Oct, 2011 1 commit
    • 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
  25. 27 Oct, 2011 2 commits
  26. 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
  27. 25 Oct, 2011 1 commit
  28. 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