changed: in plugin 'menu'

menu_dir_tab ezc functions can be nested now
         (not finished yet)
added:   'meta' winix function
         additional meta information for files and directories
         (not finished yet)



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@775 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2011-11-25 04:51:55 +00:00
parent 1e9ab2f805
commit 7902389ef1
41 changed files with 2461 additions and 1863 deletions

View File

@@ -345,58 +345,6 @@ return false;
void Space::PrintLevel(std::wostream & out, int level)
{
for(int i=0 ; i<level ; ++i)
out << ' ';
}
void Space::Print(std::wostream & out, int level)
{
PrintLevel(out, level);
out << "Space name: " << name << std::endl;
if( !table_single.empty() )
{
PrintLevel(out, level);
out << "table_single: " << std::endl;
TableSingle::iterator i1;
for(i1 = table_single.begin() ; i1 != table_single.end() ; ++i1)
{
PrintLevel(out, level);
out << i1->first << '=' << i1->second << std::endl;
}
}
if( !table.empty() )
{
PrintLevel(out, level);
out << "table: " << std::endl;
Table::iterator i2;
Value::iterator i3;
for(i2 = table.begin() ; i2 != table.end() ; ++i2)
{
PrintLevel(out, level);
out << i2->first << '=';
for(i3 = i2->second.begin() ; i3 != i2->second.end() ; ++i3)
out << *i3 << ',';
out << std::endl;
}
}
for(size_t i=0 ; i<spaces.size() ; ++i)
spaces[i]->Print(out, level+1);
}
/*
*
*
@@ -872,6 +820,8 @@ bool ConfParser::ReadValueQuoted()
{
ReadChar(); // skipping the first quote
// !! dodac obsluge innych escapowanych znakow w szczegolnosci \0 (serializator Space juz tak zapisuje)
while( lastc != '"' && lastc != -1 )
{
if( use_escape_char && lastc == '\\' )