- 10 Jan, 2014 2 commits
-
-
Maciej Suminski authored
Changed the way of looking up NETINFO_ITEM using net names (using boost::unordered_map). Added a hash function (wxString) for that. Introduced NETINFO_ITEM::GetNetItem( wxString ). BOARD::FindNet() uses the map. Net codes are updated upon net list update. (BOARD::ReplaceNetlist()) Added in some places (mostly class_board.cpp) pad->SetNet() calls to synchronize net codes. On creation of NETINFO_LIST, the first NETINFO_ITEM is added (the unconnected items net). Removed COMPONENT_NET::m_netNumber, as it was not used anywhere. Added an assert to D_PAD::GetNetname(), checking if net code and net name is consistent for unconnected pads. Added an assert for NETINFO_LIST::AppendNet() to assure that appended nets are unique. It seems that at this point: - Updating net lists works fine. The only difference between the file ouput is that after changes it contains empty nets as well. - Nets are not saved in the lexical order. Still, net names and net codes are properly assigned to all items in the .kicad_pcb file. It is going to be addressed in the next commit. I believe it should not create any problems, as pads are sorted by their net names anyway (NETINFO_LIST::buildPadsFullList()) Performed tests: - Created a blank PCB, saved as pic_programmer.kicad_pcb (from demos folder). Updated net lists. .kicad_pcb file (comparing to the results from master branch) differ with net order (as mentioned before), net codes and timestamps. - Removed some of components from the above .kicad_pcb file and updated net lists. Modules reappeared. .kicad_pcb file differs in the same way as described above. - Trying to change a pad net name (via properties dialog) results in assert being fired. It is done on purpose (as there is a call to GetNetname() and net name and net code do not match). This will not happen after the next commit. - Prepared a simple project (starting with schematics). Imported net list, changed schematic, reimported net list - changes are applied. - Eagle & KiCad legacy boards seem to load without any problem.
-
Maciej Suminski authored
-
- 09 Jan, 2014 1 commit
-
-
Maciej Suminski authored
NETINFO_ITEM::m_Net and NETINFO_ITEM::m_Netname are const. Changes to be verified: - pcbnew/minimun_spanning_tree.cpp: It segfaults is m_Size == 0 - pcbnew/exporters/export_gencad.cpp: I removed the SetNetname() call, as it changes only the unconnected net and in the next line it returns if the net is unconnected. Still, I wonder if name for the unconnected net matters. What about tests that check if a net name is empty to decide if it is unconnected net or not.
-
- 08 Jan, 2014 7 commits
-
-
jean-pierre charras authored
Pcbnew, Eeschema: remove include file <protos.h> from a lot of files which do not need it.
-
Dick Hollenbeck authored
-
jean-pierre charras authored
all: remove include <protos.h> from a lot of files which do not need it.
-
Maciej Sumiński authored
-
Dick Hollenbeck authored
-
-
Dick Hollenbeck authored
-
- 07 Jan, 2014 3 commits
-
-
jean-pierre charras authored
-
jean-pierre charras authored
Update demos. Fix pspice netlist issues when using ( and ) in net names ( parenthesis are replaced by underscore) .
-
Cirilo Bernardo authored
Commit patch about new better vrml export. patch to fix mirrored page layout when print mirrored is enabled ( page layout should not be mirrored)
-
- 06 Jan, 2014 2 commits
-
-
Marco Serantoni authored
-
jean-pierre charras authored
-
- 04 Jan, 2014 4 commits
-
-
Marco Serantoni authored
-
Marco Serantoni authored
[MacOSX] Added support in boost context for PPC processors, now is possible again compile kicad testing for PPC ( https://svn.boost.org/trac/boost/ticket/8266 )
-
Dick Hollenbeck authored
Pray for angus johnson who is support too many languages, and needs to find a text editor that removes trailing whitespace.
-
Dick Hollenbeck authored
-
- 03 Jan, 2014 5 commits
-
-
Dick Hollenbeck authored
-
Dick Hollenbeck authored
-
Dick Hollenbeck authored
-
jean-pierre charras authored
Pcbnew: very minor fixes and update: update clipper version. uncrustify polytri/* and fix some warning compil.
-
Cirilo Bernardo authored
-
- 02 Jan, 2014 3 commits
-
-
Cirilo Bernado authored
-
Cirilo Bernardo authored
-
Dick Hollenbeck authored
-
- 31 Dec, 2013 9 commits
-
-
Dick Hollenbeck authored
-
Dick Hollenbeck authored
-
Marco Serantoni authored
-
Marco Serantoni authored
-
Marco Serantoni authored
-
Marco Serantoni authored
-
Marco Serantoni authored
-
Marco Serantoni authored
-
Dick Hollenbeck authored
-
- 30 Dec, 2013 4 commits
-
-
Dick Hollenbeck authored
Switch to boost::context for all platforms, almost. Please try your platform by commenting out fcontext.s in common/CMakeLists.txt.
-
Marco Serantoni authored
[MacOSX] fixes issues with previous OSX compilers gcc-4.2 and makes a better general beaviour of KICAD_BUILD_STATIC
-
Marco Serantoni authored
-
Marco Serantoni authored
-