• lifekidyeaa's avatar
    modified the treeprj so that, instead of recursively scanning and adding · 04e348ac
    lifekidyeaa authored
    *all* the nested files and directories within the current working directory, it scans the first 
    level of files and directories.  When a user double-clicks on a folder, *then*
    the childeren of that directory are added to the wxTreeCtrl.  This means that the little 
    triangle does not appear until the user opens a directory .. but, i think this is 
    a worthwile price to pay given below. 
    
    This prevents (or at least mitigates) memory overflow in the case that kicad starts in root, or, 
    in my case, it starts in my home directory, where thanks to wine & other sw,  
    there are far too many directories. 
    
    also modified the TreePrjItemData so that it stores the full pathnames in m_FileName, 
    not paths relative to the CWD.  I'm not sure if this is the correct thing to do, 
    especially with the python interface, so change it back if it is more complicated. 
    
    the move and rename commands threw a segfault on my system 
    (Debian etch, wxWidgets 2.8.7), 
    and since there are better ways to rename and move files, this functionality 
    was disabled until somebody can fix it (alas, I don't have time for this now)
    
    
    
    04e348ac
Name
Last commit
Last update
3d-viewer Loading commit data...
bitmaps Loading commit data...
common Loading commit data...
cvpcb Loading commit data...
demos Loading commit data...
docs Loading commit data...
eeschema Loading commit data...
gerbview Loading commit data...
help Loading commit data...
include Loading commit data...
internat Loading commit data...
kicad Loading commit data...
library Loading commit data...
modules Loading commit data...
nsis_win_installer Loading commit data...
pcbnew Loading commit data...
polygon Loading commit data...
share Loading commit data...
template Loading commit data...
CMake.TODO Loading commit data...
CMakeLists.txt Loading commit data...
Doxyfile Loading commit data...
UIpolicies.txt Loading commit data...
change_log.txt Loading commit data...
contrib_makefiles.txt Loading commit data...
copyright.h Loading commit data...
how-to-build-kicad.txt Loading commit data...
install.txt Loading commit data...
libs.linux Loading commit data...
libs.macosx Loading commit data...
libs.win Loading commit data...
makefile.g95 Loading commit data...
makefile.gtk Loading commit data...
makefile.macosx Loading commit data...
regex_doc.txt Loading commit data...
running_kicad_under_W98.txt Loading commit data...
todo.txt Loading commit data...
uncrustify.cfg Loading commit data...
version.txt Loading commit data...