added: Export plugin (not finished yet)
added: ThreadManager all threads are connected to the ThreadManager they are started/stopped by the manager changed: FunctionParser now we are parsing directly what is in URI (we were using GetParser beforehand) we are able to recognize ordinary URI scheme (with '?' and '#' characters) sample: http://domain.com/dir1/dir2/item/function?par1=val2&par2=val2#htmlanchor is the same as: http://domain.com/dir1/dir2/item/function/par1:val2/par2:val2#htmlanchor 'htmlanchor' is put in Request::anchor field, and the default function can be used like this: http://domain.com/dir1/dir2/item?par1=val2&par2=val2#htmlanchor but there is not an equivalent in winix form e.g. http://domain.com/dir1/dir2/item/par1:val2/par2:val2#htmlanchor because 'par1:val2' would be treated as a function name removed: GetParser now we don't have Request::get_tab structure removed: CKEditorGetParser it is not needed now git-svn-id: svn://ttmath.org/publicrep/winix/trunk@752 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "error.h"
|
||||
#include "templates/templates.h"
|
||||
#include "functions/functionbase.h"
|
||||
#include "plugin.h"
|
||||
|
||||
|
||||
|
||||
@@ -43,6 +44,9 @@ void System::SetSynchro(Synchro * psynchro)
|
||||
|
||||
void System::Init()
|
||||
{
|
||||
thread_manager.SetSynchro(synchro);
|
||||
thread_manager.Init();
|
||||
|
||||
dirs.SetDb(db);
|
||||
dirs.SetCur(cur);
|
||||
dirs.SetNotify(¬ify);
|
||||
@@ -68,12 +72,15 @@ void System::Init()
|
||||
notify.SetConfig(config);
|
||||
notify.SetUsers(&users);
|
||||
notify.SetDirs(&dirs);
|
||||
notify.SetThreadManager(&thread_manager);
|
||||
notify.Init();
|
||||
|
||||
|
||||
thumb.SetSynchro(synchro);
|
||||
thumb.SetDb(db);
|
||||
thumb.SetConfig(config);
|
||||
thumb.SetSystem(this);
|
||||
thread_manager.Add(&thumb);
|
||||
|
||||
crypt.SetConfig(config);
|
||||
}
|
||||
@@ -632,6 +639,8 @@ Error System::AddFile(Item & item, int notify_code)
|
||||
|
||||
if( notify_code )
|
||||
notify.ItemChanged(notify_code, item);
|
||||
|
||||
plugin.Call(WINIX_FILE_ADDED, &item);
|
||||
}
|
||||
|
||||
return status;
|
||||
@@ -661,6 +670,8 @@ Error System::EditFile(Item & item, bool with_url, int notify_code)
|
||||
|
||||
if( notify_code )
|
||||
notify.ItemChanged(notify_code, item);
|
||||
|
||||
plugin.Call(WINIX_FILE_CHANGED, &item);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user