1. 14 Dec, 2011 3 commits
    • Dick Hollenbeck's avatar
      minor · d5a17363
      Dick Hollenbeck authored
      d5a17363
    • Dick Hollenbeck's avatar
      ++common · 74ccc4b5
      Dick Hollenbeck authored
        * changed all the RotatePoint() functions in trigo.{h,cpp} to take a double as the
          angle, which is still in tenths of degrees for now.
        * EDA_TEXT::m_Orient is now double, still in tenths of degrees (for a short while),
          but the double means parsing files and saving them use a different format string.
      ++pcbnew
        * DRAWSEGMENT::GetStart() and GetEnd() do not operate for S_ARC like they used to.
          They are now simply accessors for m_Start and m_End.  Use DRAWSEGMENT::GetArcStart()
          and GetArcEnd() and GetCenter() for arcs.  specctra_export.cpp was the only
          source file dependent on the old behavior.
        * DIMENSION::m_Text is now contained, not dynamically allocated.
        * more kicad_plugin work.
      74ccc4b5
    • Dick Hollenbeck's avatar
      kicad_plugin · 96bb90de
      Dick Hollenbeck authored
      96bb90de
  2. 13 Dec, 2011 3 commits
  3. 12 Dec, 2011 5 commits
  4. 10 Dec, 2011 2 commits
    • Dick Hollenbeck's avatar
      ++PCBNew · dc982a28
      Dick Hollenbeck authored
        * added BOARD::GetPad(int), made BOARD::m_NetInfo private, and contained
          within the BOARD, not dynamically allocated and owned via pointer.
        * added BOARD::GetPadCount()
        * changed NETINFO_LIST::GetCount() to GetNetCount()
        * added BOARD::GetNetCount()
        * more kicad_plugin work.
      dc982a28
    • Dick Hollenbeck's avatar
      4c2a1dd5
  5. 09 Dec, 2011 4 commits
  6. 08 Dec, 2011 4 commits
  7. 07 Dec, 2011 8 commits
  8. 06 Dec, 2011 4 commits
  9. 05 Dec, 2011 4 commits
    • Dick Hollenbeck's avatar
      Fix problem with BOARD bounding box in saved *.brd files, · fafd74ca
      Dick Hollenbeck authored
      and TEXTE_MODULE size in kicad_plugin.
      Link in io_mgr and kicad_plugin but do not call them yet
      fafd74ca
    • Dick Hollenbeck's avatar
    • Dick Hollenbeck's avatar
      ++PCBNew · 40ee7265
      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(), since BOARD::m_PcbFrame gone.
        * 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 of 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 ways of
          destroying the derived classes 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()
      40ee7265
    • 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
  10. 04 Dec, 2011 1 commit
    • jean-pierre charras's avatar
      Pcbnew: · f311bb4d
      jean-pierre charras authored
          Enhanced algorithms to calculate board connections:
          Previously, a track was seen connected to a pad only if the track end is
          exactly on the pad position.
          Now a track is seen connected to a pad if the track end is inside the pad shape.
          Algorithm to calculate pads connections to track is still very fast.
          However some other functions (drag pads, track len calculation ...)
          still need the track end exactly on the pad position.
      Dead code removal.
      f311bb4d
  11. 03 Dec, 2011 1 commit
  12. 02 Dec, 2011 1 commit