Commit dc982a28 authored by Dick Hollenbeck's avatar Dick Hollenbeck
Browse files

++PCBNew

  * 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.
parents 2600bb31 4c2a1dd5
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -17,8 +17,8 @@ install_manifest.txt
Documentation/doxygen
Documentation/doxygen
*.cmake
*.cmake
*.bak
*.bak
pcbnew/pcb_plot_params_keywords.cpp
common/pcb_plot_params_keywords.cpp
pcbnew/pcb_plot_params_lexer.h
common/pcb_plot_params_lexer.h
pcbnew/specctra_keywords.cpp
pcbnew/specctra_keywords.cpp
pcbnew/specctra_lexer.h
pcbnew/specctra_lexer.h
new/html
new/html
+11 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,17 @@ KiCad ChangeLog 2011
Please add newer entries at the top, list the date and your name with
Please add newer entries at the top, list the date and your name with
email address.
email address.



2011-Dec-9 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================
++PCBNew
  * 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.

2011-Dec-5 UPDATE Dick Hollenbeck <dick@softplc.com>
2011-Dec-5 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================
================================================================================
++PCBNew
++PCBNew
+6 −2
Original line number Original line Diff line number Diff line
@@ -276,9 +276,13 @@ add_subdirectory(template)
#================================================
#================================================
find_package(Doxygen)
find_package(Doxygen)
if(DOXYGEN_FOUND)
if(DOXYGEN_FOUND)
    add_custom_target( doxygen-docs ${DOXYGEN_EXECUTABLE}
    add_custom_target( doxygen-docs
        ${CMAKE_COMMAND} -E remove_directory Documentation/doxygen
        COMMAND ${DOXYGEN_EXECUTABLE}
        WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
        WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
        DEPENDS Doxyfile )
        DEPENDS Doxyfile
        COMMENT "building doxygen docs into directory Documentation/doxygen/html"
        )
else(DOXYGEN_FOUND)
else(DOXYGEN_FOUND)
    message( STATUS "WARNING: Doxygen not found - doxygen-docs (Source Docs) target not created" )
    message( STATUS "WARNING: Doxygen not found - doxygen-docs (Source Docs) target not created" )
endif()
endif()
+1 −1
Original line number Original line Diff line number Diff line
@@ -113,7 +113,7 @@ public:
     * Function GetCount
     * Function GetCount
     * returns the number of elements in the list.
     * returns the number of elements in the list.
     */
     */
    unsigned GetCount() { return count; }
    unsigned GetCount() const { return count; }


#if defined(DEBUG)
#if defined(DEBUG)
    void VerifyListIntegrity();
    void VerifyListIntegrity();
+2 −2
Original line number Original line Diff line number Diff line
@@ -203,9 +203,9 @@ void PlaceCells( BOARD* aPcb, int net_code, int flag )
    via_marge = clearance + (viaSize / 2);
    via_marge = clearance + (viaSize / 2);


    // Place PADS on matrix routing:
    // Place PADS on matrix routing:
    for( unsigned i = 0; i < aPcb->GetPadsCount(); ++i )
    for( unsigned i = 0; i < aPcb->GetPadCount(); ++i )
    {
    {
        D_PAD* pad = aPcb->m_NetInfo->GetPad( i );
        D_PAD* pad = aPcb->GetPad( i );


        if( net_code != pad->GetNet() || (flag & FORCE_PADS) )
        if( net_code != pad->GetNet() || (flag & FORCE_PADS) )
        {
        {
Loading