1. 07 Apr, 2015 1 commit
  2. 28 Mar, 2015 1 commit
  3. 14 Mar, 2015 1 commit
    • jean-pierre charras's avatar
      Try to fix Bug #1431391 (Unable to edit pins in Schematic library editor). It... · f743b988
      jean-pierre charras authored
      Try to fix Bug #1431391 (Unable to edit pins in Schematic library editor). It happens on XFCE, but also on Unity. This fix works on Unity. (it is due to the fact the dialog is not raised, for an unknown reason, and this bug depend on the way Eeschema and Libedit are run).
      Add Ctrl+E hotkey in eeschema to edit a component with Libedit (similar to pcbnew Ctrl+E hotkey)
      As usual, fix a few minor coverity warnings
      f743b988
  4. 13 Mar, 2015 1 commit
  5. 02 Mar, 2015 1 commit
  6. 07 Oct, 2014 1 commit
  7. 29 Jun, 2014 1 commit
  8. 24 Jun, 2014 1 commit
    • Dick Hollenbeck's avatar
      1) Add 32 Cu Layers. · 4578ea8b
      Dick Hollenbeck authored
      2) Change from legacy Cu stack to counting down from top=(F_Cu or 0).
         The old Cu stack required knowing the count of Cu layers to make
         sense of the layer number when converting to many exported file types.
         The new Cu stack is more commonly used, although ours still gives
         B_Cu a fixed number.
      3) Introduce class LSET and enum LAYER_ID.
      4) Change *.kicad_pcb file format version to 4 from 3.
      5) Change fixed names Inner1_Cu-Inner14_Cu to In1_Cu-In30_Cu and their
         meanings are typically flipped.
      6) Moved the #define LAYER_N_* stuff into legacy_plugin.cpp where they
         can die a quiet death, and switch to enum LAYER_ID symbols throughout.
      7) Removed the LEGACY_PLUGIN::Save() and FootprintSave() functions.
         You will need to convert to the format immediately, *.kicad_pcb and
         *.kicad_mod (=pretty) since legacy format was never going to know
         about 32 Cu layers and additional technical layers and the reversed Cu
         stack.
      4578ea8b
  9. 25 Apr, 2014 1 commit
    • Lorenzo Marcantonio's avatar
      TRACK/SEGVIA cleanup · 3f2c0e1a
      Lorenzo Marcantonio authored
      - SEGVIA becomes VIA
      - Drill size moved from TRACK to VIA
      - Removed shape from TRACK, becomes ViaType in VIA
      - GetTrace becomes GetTrack, for uniformity
      - Some minor constification and typo fixes
      3f2c0e1a
  10. 25 Feb, 2014 2 commits
    • Maciej Suminski's avatar
      Renamed BOARD_CONNECTED_ITEM::GetNet() -> GetNetCode() · f7d00a39
      Maciej Suminski authored
      Renamed BOARD_CONNECTED_ITEM::SetNet() -> SetNetCode()
      Added BOARD_CONNECTED_ITEM::GetNet() for accessing NETINFO_ITEM* of a given item.
      Fixed module editor crash when launched to edit a module from a PCB.
      Replaced some BOARD::FindNet( item->GetNet() ) calls with BOARD_CONNECTED_ITEM::GetNet().
      f7d00a39
    • Maciej Suminski's avatar
      Renamed BOARD_CONNECTED_ITEM::GetNet() -> GetNetCode() · 75026d87
      Maciej Suminski authored
      Renamed BOARD_CONNECTED_ITEM::SetNet() -> SetNetCode()
      Added BOARD_CONNECTED_ITEM::GetNet() for accessing NETINFO_ITEM* of a given item.
      Fixed module editor crash when launched to edit a module from a PCB.
      Replaced some BOARD::FindNet( item->GetNet() ) calls with BOARD_CONNECTED_ITEM::GetNet().
      75026d87
  11. 19 Feb, 2014 1 commit
  12. 26 Jan, 2014 1 commit
  13. 16 Jan, 2014 1 commit
    • Maciej Suminski's avatar
      NETINFO_ITEMs are not stored in a vector anymore, instead they are held in a... · 8a4e7235
      Maciej Suminski authored
      NETINFO_ITEMs are not stored in a vector anymore, instead they are held in a unordered_map. Now, the net codes may be not consecutive. There is another way for assigning net codes (using a static int that holds a possible empty net code and a function that makes sure it is not used [getFreeNetCode()]).
      Removed some unused fields (NETINFO_ITEM::m_NbNodes, m_NbLink, m_NbNoconn, m_Flag).
      8a4e7235
  14. 14 Jan, 2014 2 commits
    • Maciej Suminski's avatar
      Removed: · 78732f13
      Maciej Suminski authored
      - ZONE_CONTAINER::m_Netname field
      - ZONE_CONTAINER::SetNetName()
      - ZONE_CONTAINER::SetNet() [it uses the one in BOARD_CONNECTED_ITEM]
      - ZONE_CONTAINER::GetNetName() [instead BOARD_CONNECTED_ITEM::GetNetname is used]
      - ZONE_CONTAINER::SetNetNameFromNetCode()
      
      Performed tests:
      - Drawn a zone that belongs to a net, then modified schematics so the net does not exist anymore. After reloading the net list, all pads/tracks are updated. Zones still belongs to the net that does not exist in the schematic (but still exists in .kicad_pcb file). After running DRC, the zone becomes not filled.
      - Undo & redo affects assignment of a polygon to a specific net (you may change net of a polygon, refill it and undo/redo the changes).
      78732f13
    • Maciej Suminski's avatar
      Removed D_PAD::SetNetname() function and D_PAD::m_Netname, D_PAD::m_ShortNetname fields. · 654e7e55
      Maciej Suminski authored
      D_PAD::GetNetname() and D_PAD::GetShortNetname() were moved to BOARD_CONNECTED_ITEM. Now they use the net name stored in NETINFO_ITEM.
      Moved some one-line functions from class_board_connected_item.cpp to class_board_connected_item.h.
      Added a copyright notice, moved Doxygen comments from class_board_connected_item.cpp to class_board_connected_item.h.
      
      I have some doubts if changes introduced pcbnew/dialogs/dialog_pad_properties.cpp do not break anything, but I could not find a test case that breaks the pcbnew.
      
      Performed tests:
      - changed pad's net name from empty to existent - ok, name was changed
      - changed pad's net name from empty to nonexistent - ok, error message is displayed, net name stays empty
      - changed pad's net name from existent to empty - ok, net name became empty
      - changed pad's net name from existent to nonexistent - ok, error message is displayed, net name is not changed
      - (re)reading netlists, including net changes - fine, changes are applied, but empty nets are still kept
      - loaded pcbnew/pcad2kicadpcb_plugin/examples/CK1202_V1.pcb to test P-CAD import plugin - ok, net names are correct
      - imported an Eagle 6.0 board (Arduino Uno; http://arduino.cc/en/uploads/Main/arduino_Uno_Rev3-02-TH.zip) then saved in .kicad_pcb format and reloaded - ok, net names are correct
      - saved demos/video/video.kicad_pcb in legacy format and then loaded it again - ok, net names are correct
      654e7e55
  15. 27 Nov, 2013 2 commits
  16. 25 Sep, 2013 1 commit
  17. 08 Sep, 2013 1 commit
    • Wayne Stambaugh's avatar
      Convert footprint definitions from wxString to FPID. · 230c5f8f
      Wayne Stambaugh authored
      * Use FPID instead of wxString in MODULE object.
      * Use FPID instead of wxString when loading and saving files.
      * Use FPID in COMPONENT object.
      * Add wxString helper functions and comparison operators to FPID.
      * Add fp_lib token to pcb and netlist file formats.
      * Add code to load and save FPIDs to pcb file format.
      * Fix segfault when deleting invalid footprint library tables in Pcbnew
        in non footprint library table build.
      * Fix bug when counting the number of mod files in
        EDA_APP::SetFootprintLibTablePath();
      230c5f8f
  18. 20 Aug, 2013 1 commit
  19. 25 Jun, 2013 1 commit
  20. 20 Jun, 2013 1 commit
  21. 12 Jun, 2013 1 commit
  22. 28 May, 2013 1 commit
    • Wayne Stambaugh's avatar
      More Pcbnew footprint library table work in progress. · 5560cb54
      Wayne Stambaugh authored
      * Add footprint library table loading to footprint editor.
      * Overload FOOTPRINT_INFO::ReadFootprintFiles() to read footprints from the
        footprint library tables.
      * Fix a bug in FP_LIB_TABLE::IsEmpty() when the table has a fallback table.
      * Add code to FOOTPRINT_EDIT_FRAME to use footprint library tables.
      * Add an optional build time version of PCB_EDIT_FRAME::loadFootprints() to
        populate netlist footprints from footprint library table.
      * Remove adding footprints to board whenever GetModuleLibrary() is called and
        move loading locally as required.
      * Add missing source file license comments and coding policy fixes.
      5560cb54
  23. 26 May, 2013 1 commit
  24. 05 May, 2013 1 commit
    • Lorenzo Marcantonio's avatar
      Migrated the interfaces accepting angles to the double type · d00c83cd
      Lorenzo Marcantonio authored
      The plan goes like this:
      - eeschema still uses int in decidegrees
      - all the other things internally use double in decidegrees (or radians
        in temporaries)
      - in pcbnew UI the unit is *still* int in decidegrees
      
      The idea is to have better precision everywhere while keeping the user with int i
      angles. Hopefully, if a fractional angle doesn't come in from the outside, everything
      should *look* like an integer angle (unless I forgot something and it broke)
      
      When the time comes, simply updating the UI for allowing doubles from the user should
      be enough to get arbitrary angles in pcbnew.
      d00c83cd
  25. 02 May, 2013 1 commit
  26. 01 May, 2013 1 commit
    • Lorenzo Marcantonio's avatar
      Angle and distances cleanup (preparing for angles in doubles) · 0e903dba
      Lorenzo Marcantonio authored
      - Removed spurious int casts (these are truncated anyway and will break
        doubles)
      
      - Applied the Distance, GetLineLength, EuclideanNorm, DEG2RAD, RAD2DEG
        ArcTangente and NORMALIZE* functions where possible
      
      - ArcTangente now returns double and handles the 0,0 case like atan2, so
        it's no longer necessary to check for it before calling
      
      - Small functions in trigo moved as inline
      0e903dba
  27. 09 Apr, 2013 1 commit
  28. 07 Apr, 2013 1 commit
  29. 05 Apr, 2013 1 commit
  30. 31 Mar, 2013 1 commit
  31. 30 Mar, 2013 2 commits
  32. 20 Mar, 2013 1 commit
    • Wayne Stambaugh's avatar
      Encapsulation, bug, context menu string, and, coding policy fixes. · 25e7abec
      Wayne Stambaugh authored
      * Complete encapsulation of the ZONE_CONTAINER class.
      * Fixed a bug in the EDA_TEXT::Format() default effects behavior due to
        improper conversion to internal units and missing test for default
        thickness.
      * Improved grammar of some Pcbnew context menu strings.
      * Moved some more cleverly hidden BOARD object methods into class_board.cpp.
      * Lots of coding policy and documentation fixes.
      25e7abec
  33. 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
  34. 13 Mar, 2013 1 commit
    • Wayne Stambaugh's avatar
      Pcbnew encapsulation and code cleaning. · 42d7bf6c
      Wayne Stambaugh authored
      * Encapsulate most of the MODULE class.
      * Start encapsulating the DIMENSION class.
      * Lay some groundwork for EDA_TEXT encapsulation.
      * Move cleverly hidden MODULE functions into class_module.cpp.
      * Use std::swap to exchange TEXTE_PCB values for undo/redo.
      * Remove unused members from MODULE class.
      * The usual coding policy and documentation fixes.
      42d7bf6c
  35. 09 Mar, 2013 1 commit
  36. 13 Feb, 2013 1 commit