fixed: UGContainer<Type> used a std::vector<Type> and when a new item was inserted

then current iterators (and pointers) were invalidated
         now we are using std::vector<Type*>
         this caused some crashes when a new user was added by 'adduser' winix function
added:   plugin 'export' is able to upload files on a remote server now
         (not finished yet)
changed: Thumb class is now called: Image
         and we are able to resize images too
         (some new options in the config and in mount points)
added:   some new plugin messages



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@764 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2011-09-13 06:08:34 +00:00
parent 72be443414
commit 39923d6617
58 changed files with 2258 additions and 654 deletions

View File

@@ -45,7 +45,7 @@ void Users::SetTimeZoneOffset(int offset)
for(i=table.Begin() ; i!=table.End() ; ++i)
{
i->time_zone_offset = offset;
(*i)->time_zone_offset = offset;
}
}
@@ -71,7 +71,7 @@ User * Users::GetUser(long user_id)
if( i == table.End() )
return 0;
return &(*i);
return &(**i);
}
@@ -82,7 +82,7 @@ User * Users::GetUser(const std::wstring & name)
if( i == table.End() )
return 0;
return &(*i);
return &(**i);
}