1. 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
  2. 28 Jan, 2014 1 commit
  3. 12 Nov, 2013 1 commit
  4. 28 Aug, 2013 1 commit
  5. 02 May, 2013 1 commit
  6. 04 Mar, 2013 1 commit
  7. 03 Oct, 2012 1 commit
  8. 22 Sep, 2012 1 commit
  9. 24 May, 2012 1 commit
  10. 23 May, 2012 1 commit
  11. 16 Apr, 2012 2 commits
    • Wayne Stambaugh's avatar
      Removal of internal units. · bf5802f1
      Wayne Stambaugh authored
      * Remove internal units from BASE_SCREEN and it's derivatives.
      * Remove internal units from EDA_DRAW_FRAME and it's derivatives.
      * Use build time code to replace internal units conversions.
      * Fix scaling bug in page layout sample window that I created in my
        last commit.
      bf5802f1
    • Wayne Stambaugh's avatar
      More internal unit improvements. · 6468805c
      Wayne Stambaugh authored
      * Move all convert from user to internal units into base_units.cpp.
      * Remove internal units parameters from all moved conversion functions.
      * Revise all source code that calls the moved conversion functions.
      * Remove internal units from all dialog text control helper classes.
      6468805c
  12. 13 Apr, 2012 1 commit
    • Wayne Stambaugh's avatar
      More internal unit improvements. · 57d75a75
      Wayne Stambaugh authored
      * Move all convert from internal to user units functions into separate file.
      * Remove internal units parameter from all moved conversion functions.
      * Revise all source code that calls the moved conversion functions.
      * Compile these conversion routines separately for the appropriate pcb or
        schematic internal units.
      * Move internal units specific status bar update code into the appropriate
        application for updating the status bar.
      * Move millimeter user units rounding function to common.cpp.
      57d75a75
  13. 23 Jan, 2012 1 commit
  14. 16 Dec, 2011 1 commit
    • 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
  15. 08 Dec, 2011 1 commit
  16. 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
  17. 24 Nov, 2011 1 commit
  18. 11 Nov, 2011 1 commit
  19. 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
  20. 30 Sep, 2011 1 commit
    • Wayne Stambaugh's avatar
      Application name capitalization fixes. · 4b853ded
      Wayne Stambaugh authored
      * Correct all user strings and comments for the correct capitalization of
        application names according to JP.  They are KiCad, Pcbnew, CvPcb,
        Eeschema, and GerbView.
      * Add a note the the user interface policy about the correct capitalization.
      4b853ded
  21. 23 Sep, 2011 1 commit
    • Wayne Stambaugh's avatar
      PCB common library header rationalization. · edd35b4e
      Wayne Stambaugh authored
      * All header files used to create the PCB common library now compile as
        stand alone code.  This prevents the need to define them in a specific
        order to make source code compile properly.  It should also now be
        possible to relocate the source code to build the common PCB library
        to a separate folder.
      edd35b4e
  22. 06 Sep, 2011 1 commit
  23. 16 Apr, 2011 1 commit
  24. 11 Mar, 2011 1 commit
    • Wayne Stambaugh's avatar
      PCBNew auxiliary tool bar changes and other minor improvements. · 018292a8
      Wayne Stambaugh authored
      * Remove clearance and net class name read only text boxes from PCBNew
        auxiliary tool bar.
      * Display full net class information in message panel when an object that
        supports net classes is selected.
      * Move coordinate string conversion function to EDA_DRAW_FRAME object and
        made it more versatile.
      * Refresh message panel text when units change.
      018292a8
  25. 01 Mar, 2011 1 commit
    • Wayne Stambaugh's avatar
      PCBNew control update bug fixes, fixes lp:725963. · 1010601a
      Wayne Stambaugh authored
      * Fix grid select box update bug on context menu.
      * Fix via size and track width select box update bugs.
      * Fix layer pair indicator button update bug.
      * Fix auto track width tool bar control enable bug.
      * Fix via size and track width select status bug in context menu.
      * Fix layer select box and layer control widget select bug when current
        layer is removed.
      * Add virtual function to notify objects derived from EDA_DRAW_FRAME that
        the units setting has changed.
      * Coding policy class naming fixes.
      1010601a
  26. 28 Feb, 2011 1 commit
  27. 21 Feb, 2011 1 commit
    • Wayne Stambaugh's avatar
      All control state handling is now performed in wxUpdateUIEvent handlers. · bdca3c5e
      Wayne Stambaugh authored
      * Old control state handling code completely removed in all applications.
      * Factor common control state handlers into EDA_DRAW_FRAME.
      * Replaced EDA_ITEM test for newness with IsNew() method.
      * Factor vertical right toolbar command handlers out of giant edit command
        switch statement in EESchema and PCBNew.
      bdca3c5e
  28. 25 Jan, 2011 1 commit
  29. 21 Jan, 2011 1 commit
  30. 16 Jan, 2011 1 commit
  31. 26 Nov, 2010 1 commit
  32. 12 Nov, 2010 2 commits
  33. 04 Oct, 2010 1 commit
  34. 02 Sep, 2010 1 commit
  35. 20 Jul, 2010 1 commit
    • jean-pierre charras's avatar
      Fixed very minor issues. · 5605ce89
      jean-pierre charras authored
      Fixed compil warning under wxWidgets 2.9.1.
      File beautification
      Statring using wxTextEntryDialog instead of Get_Message (because Get_Message does not handle properly cancel option)
      5605ce89
  36. 12 Jul, 2010 1 commit
    • Dick Hollenbeck's avatar
      A little useful feature: even if the default unit can be changed between · bc14e66d
      Dick Hollenbeck authored
      inches and mm, the industry is crazy enough to force us with mixed
      design. For example I routinely use imperial units for track size and
      clearance, but drilling is strictly a metric issue...
      
      So I added a little parser to recognize a suffix specification in the
      unit text boxes... so you can put in things like:
      1in (1 inch)
      1" (idem)
      25th (25 thou)
      25mi (25 mils, the same)
      6mm (6 mm, obviously)
      
      The rules are: spaces between the number and the unit are accepted, only
      the first two letters are significant.
      
      As a bonus, it also recognize the period (.) as a decimal point
      substituting it with the correct locale character (there was a wishlist
      for it, IIRC). Most useful for number pad fans :D 
      bc14e66d
  37. 29 Apr, 2010 1 commit