added: new winix function: "sort"

sorting items in a directory (Item::sort_index is used)


git-svn-id: svn://ttmath.org/publicrep/winix/trunk@754 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2011-08-02 00:10:45 +00:00
parent 4d87359aca
commit 3b2a1c3f25
34 changed files with 703 additions and 272 deletions

View File

@@ -19,7 +19,7 @@ adduser.o: ../../ezc/src/ezc.h ../../ezc/src/utf8.h ../../ezc/src/generator.h
adduser.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
adduser.o: cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h default.h
adduser.o: download.h emacs.h last.h login.h logout.h ln.h ls.h mkdir.h mv.h
adduser.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
adduser.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h sort.h
adduser.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
adduser.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
adduser.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
@@ -47,8 +47,8 @@ cat.o: ../../ezc/src/utf8.h ../../ezc/src/generator.h ../../ezc/src/pattern.h
cat.o: functions.h functionparser.h ../core/cur.h adduser.h chmod.h
cat.o: privchanger.h chown.h ckeditor.h cp.h default.h download.h emacs.h
cat.o: last.h login.h logout.h ln.h ls.h mkdir.h mv.h nicedit.h node.h
cat.o: passwd.h priv.h reload.h rm.h run.h specialdefault.h stat.h subject.h
cat.o: template.h tinymce.h uname.h upload.h uptime.h who.h vim.h
cat.o: passwd.h priv.h reload.h rm.h run.h sort.h specialdefault.h stat.h
cat.o: subject.h template.h tinymce.h uname.h upload.h uptime.h who.h vim.h
cat.o: ../core/htmlfilter.h ../../ezc/src/stringconv.h
cat.o: ../templates/htmltextstream.h ../notify/notifythread.h
cat.o: ../core/basethread.h ../core/synchro.h ../notify/templatesnotify.h
@@ -74,7 +74,7 @@ chmod.o: ../../ezc/src/ezc.h ../../ezc/src/utf8.h ../../ezc/src/generator.h
chmod.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
chmod.o: adduser.h cat.h chown.h privchanger.h ckeditor.h cp.h default.h
chmod.o: download.h emacs.h last.h login.h logout.h ln.h ls.h mkdir.h mv.h
chmod.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
chmod.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h sort.h
chmod.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
chmod.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
chmod.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
@@ -102,7 +102,7 @@ chown.o: ../../ezc/src/ezc.h ../../ezc/src/utf8.h ../../ezc/src/generator.h
chown.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
chown.o: adduser.h cat.h chmod.h privchanger.h ckeditor.h cp.h default.h
chown.o: download.h emacs.h last.h login.h logout.h ln.h ls.h mkdir.h mv.h
chown.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
chown.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h sort.h
chown.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
chown.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
chown.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
@@ -132,9 +132,9 @@ ckeditor.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h functions.h
ckeditor.o: functionparser.h ../core/cur.h adduser.h cat.h chmod.h
ckeditor.o: privchanger.h chown.h cp.h default.h download.h emacs.h last.h
ckeditor.o: login.h logout.h ln.h ls.h mkdir.h mv.h nicedit.h node.h passwd.h
ckeditor.o: priv.h reload.h rm.h run.h specialdefault.h stat.h subject.h
ckeditor.o: template.h tinymce.h uname.h upload.h uptime.h who.h vim.h
ckeditor.o: ../core/htmlfilter.h ../../ezc/src/stringconv.h
ckeditor.o: priv.h reload.h rm.h run.h sort.h specialdefault.h stat.h
ckeditor.o: subject.h template.h tinymce.h uname.h upload.h uptime.h who.h
ckeditor.o: vim.h ../core/htmlfilter.h ../../ezc/src/stringconv.h
ckeditor.o: ../templates/htmltextstream.h ../notify/notifythread.h
ckeditor.o: ../core/basethread.h ../core/synchro.h
ckeditor.o: ../notify/templatesnotify.h ../core/users.h ../core/ugcontainer.h
@@ -160,15 +160,16 @@ cp.o: ../../ezc/src/utf8.h ../../ezc/src/generator.h ../../ezc/src/pattern.h
cp.o: functions.h functionparser.h ../core/cur.h adduser.h cat.h chmod.h
cp.o: privchanger.h chown.h ckeditor.h default.h download.h emacs.h last.h
cp.o: login.h logout.h ln.h ls.h mkdir.h mv.h nicedit.h node.h passwd.h
cp.o: priv.h reload.h rm.h run.h specialdefault.h stat.h subject.h template.h
cp.o: tinymce.h uname.h upload.h uptime.h who.h vim.h ../core/htmlfilter.h
cp.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
cp.o: ../notify/notifythread.h ../core/basethread.h ../core/synchro.h
cp.o: ../notify/templatesnotify.h ../core/users.h ../core/ugcontainer.h
cp.o: ../core/lastcontainer.h ../core/mounts.h ../core/mountparser.h
cp.o: ../core/crypt.h ../core/users.h ../core/groups.h ../core/group.h
cp.o: ../core/loadavg.h ../core/thumb.h ../core/basethread.h
cp.o: ../core/threadmanager.h ../core/synchro.h ../core/misc.h
cp.o: priv.h reload.h rm.h run.h sort.h specialdefault.h stat.h subject.h
cp.o: template.h tinymce.h uname.h upload.h uptime.h who.h vim.h
cp.o: ../core/htmlfilter.h ../../ezc/src/stringconv.h
cp.o: ../templates/htmltextstream.h ../notify/notifythread.h
cp.o: ../core/basethread.h ../core/synchro.h ../notify/templatesnotify.h
cp.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
cp.o: ../core/mounts.h ../core/mountparser.h ../core/crypt.h ../core/users.h
cp.o: ../core/groups.h ../core/group.h ../core/loadavg.h ../core/thumb.h
cp.o: ../core/basethread.h ../core/threadmanager.h ../core/synchro.h
cp.o: ../core/misc.h
default.o: default.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
default.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
default.o: ../core/misc.h ../core/item.h ../core/requesttypes.h
@@ -188,7 +189,7 @@ default.o: ../../ezc/src/ezc.h ../../ezc/src/utf8.h ../../ezc/src/generator.h
default.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
default.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
default.o: download.h emacs.h last.h login.h logout.h ln.h ls.h mkdir.h mv.h
default.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
default.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h sort.h
default.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
default.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
default.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
@@ -218,9 +219,9 @@ download.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h functions.h
download.o: functionparser.h ../core/cur.h adduser.h cat.h chmod.h
download.o: privchanger.h chown.h ckeditor.h cp.h default.h emacs.h last.h
download.o: login.h logout.h ln.h ls.h mkdir.h mv.h nicedit.h node.h passwd.h
download.o: priv.h reload.h rm.h run.h specialdefault.h stat.h subject.h
download.o: template.h tinymce.h uname.h upload.h uptime.h who.h vim.h
download.o: ../core/htmlfilter.h ../../ezc/src/stringconv.h
download.o: priv.h reload.h rm.h run.h sort.h specialdefault.h stat.h
download.o: subject.h template.h tinymce.h uname.h upload.h uptime.h who.h
download.o: vim.h ../core/htmlfilter.h ../../ezc/src/stringconv.h
download.o: ../templates/htmltextstream.h ../notify/notifythread.h
download.o: ../core/basethread.h ../core/synchro.h
download.o: ../notify/templatesnotify.h ../core/users.h ../core/ugcontainer.h
@@ -246,7 +247,7 @@ emacs.o: ../../ezc/src/ezc.h ../../ezc/src/utf8.h ../../ezc/src/generator.h
emacs.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
emacs.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
emacs.o: default.h download.h last.h login.h logout.h ln.h ls.h mkdir.h mv.h
emacs.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
emacs.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h sort.h
emacs.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
emacs.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
emacs.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
@@ -279,7 +280,7 @@ functionbase.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h functions.h
functionbase.o: functionparser.h ../core/cur.h adduser.h cat.h chmod.h
functionbase.o: privchanger.h chown.h ckeditor.h cp.h default.h download.h
functionbase.o: emacs.h last.h login.h logout.h ln.h ls.h mkdir.h mv.h
functionbase.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
functionbase.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h sort.h
functionbase.o: specialdefault.h stat.h subject.h template.h tinymce.h
functionbase.o: uname.h upload.h uptime.h who.h vim.h ../core/htmlfilter.h
functionbase.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
@@ -311,7 +312,7 @@ functionparser.o: ../../ezc/src/utf8.h ../../ezc/src/generator.h
functionparser.o: ../../ezc/src/pattern.h functions.h adduser.h cat.h chmod.h
functionparser.o: privchanger.h chown.h ckeditor.h cp.h default.h download.h
functionparser.o: emacs.h last.h login.h logout.h ln.h ls.h mkdir.h mv.h
functionparser.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
functionparser.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h sort.h
functionparser.o: specialdefault.h stat.h subject.h template.h tinymce.h
functionparser.o: uname.h upload.h uptime.h who.h vim.h ../core/htmlfilter.h
functionparser.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
@@ -351,7 +352,7 @@ functions.o: ../core/thumb.h ../core/basethread.h ../core/threadmanager.h
functions.o: ../core/synchro.h functionparser.h ../core/cur.h adduser.h cat.h
functions.o: chmod.h privchanger.h chown.h ckeditor.h cp.h default.h
functions.o: download.h emacs.h last.h login.h logout.h ln.h ls.h mkdir.h
functions.o: mv.h nicedit.h node.h passwd.h priv.h reload.h rm.h
functions.o: mv.h nicedit.h node.h passwd.h priv.h reload.h rm.h sort.h
functions.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
functions.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h ../core/log.h
functions.o: ../core/misc.h ../core/plugin.h ../core/pluginmsg.h
@@ -377,16 +378,16 @@ last.o: ../../ezc/src/utf8.h ../../ezc/src/generator.h
last.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
last.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
last.o: default.h download.h emacs.h login.h logout.h ln.h ls.h mkdir.h mv.h
last.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h specialdefault.h
last.o: stat.h subject.h template.h tinymce.h uname.h upload.h uptime.h who.h
last.o: vim.h ../core/htmlfilter.h ../../ezc/src/stringconv.h
last.o: ../templates/htmltextstream.h ../notify/notifythread.h
last.o: ../core/basethread.h ../core/synchro.h ../notify/templatesnotify.h
last.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
last.o: ../core/mounts.h ../core/mountparser.h ../core/crypt.h
last.o: ../core/users.h ../core/groups.h ../core/group.h ../core/loadavg.h
last.o: ../core/thumb.h ../core/basethread.h ../core/threadmanager.h
last.o: ../core/synchro.h
last.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h sort.h
last.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
last.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
last.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
last.o: ../notify/notifythread.h ../core/basethread.h ../core/synchro.h
last.o: ../notify/templatesnotify.h ../core/users.h ../core/ugcontainer.h
last.o: ../core/lastcontainer.h ../core/mounts.h ../core/mountparser.h
last.o: ../core/crypt.h ../core/users.h ../core/groups.h ../core/group.h
last.o: ../core/loadavg.h ../core/thumb.h ../core/basethread.h
last.o: ../core/threadmanager.h ../core/synchro.h
ln.o: ln.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
ln.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h ../core/misc.h
ln.o: ../core/item.h ../core/requesttypes.h ../core/error.h
@@ -405,16 +406,16 @@ ln.o: ../../ezc/src/utf8.h ../../ezc/src/generator.h ../../ezc/src/pattern.h
ln.o: functions.h functionparser.h ../core/cur.h adduser.h cat.h chmod.h
ln.o: privchanger.h chown.h ckeditor.h cp.h default.h download.h emacs.h
ln.o: last.h login.h logout.h ls.h mkdir.h mv.h nicedit.h node.h passwd.h
ln.o: priv.h reload.h rm.h run.h specialdefault.h stat.h subject.h template.h
ln.o: tinymce.h uname.h upload.h uptime.h who.h vim.h ../core/htmlfilter.h
ln.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
ln.o: ../notify/notifythread.h ../core/basethread.h ../core/synchro.h
ln.o: ../notify/templatesnotify.h ../core/users.h ../core/ugcontainer.h
ln.o: ../core/lastcontainer.h ../core/mounts.h ../core/mountparser.h
ln.o: ../core/crypt.h ../core/users.h ../core/groups.h ../core/group.h
ln.o: ../core/loadavg.h ../core/thumb.h ../core/basethread.h
ln.o: ../core/threadmanager.h ../core/synchro.h ../core/misc.h
ln.o: ../functions/functions.h
ln.o: priv.h reload.h rm.h run.h sort.h specialdefault.h stat.h subject.h
ln.o: template.h tinymce.h uname.h upload.h uptime.h who.h vim.h
ln.o: ../core/htmlfilter.h ../../ezc/src/stringconv.h
ln.o: ../templates/htmltextstream.h ../notify/notifythread.h
ln.o: ../core/basethread.h ../core/synchro.h ../notify/templatesnotify.h
ln.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
ln.o: ../core/mounts.h ../core/mountparser.h ../core/crypt.h ../core/users.h
ln.o: ../core/groups.h ../core/group.h ../core/loadavg.h ../core/thumb.h
ln.o: ../core/basethread.h ../core/threadmanager.h ../core/synchro.h
ln.o: ../core/misc.h ../functions/functions.h
login.o: login.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
login.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
login.o: ../core/misc.h ../core/item.h ../core/requesttypes.h ../core/error.h
@@ -433,7 +434,7 @@ login.o: ../../ezc/src/ezc.h ../../ezc/src/utf8.h ../../ezc/src/generator.h
login.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
login.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
login.o: default.h download.h emacs.h last.h logout.h ln.h ls.h mkdir.h mv.h
login.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
login.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h sort.h
login.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
login.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
login.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
@@ -462,7 +463,7 @@ logout.o: ../../ezc/src/ezc.h ../../ezc/src/utf8.h ../../ezc/src/generator.h
logout.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
logout.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
logout.o: default.h download.h emacs.h last.h login.h ln.h ls.h mkdir.h mv.h
logout.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
logout.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h sort.h
logout.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
logout.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
logout.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
@@ -490,15 +491,15 @@ ls.o: ../../ezc/src/utf8.h ../../ezc/src/generator.h ../../ezc/src/pattern.h
ls.o: functions.h functionparser.h ../core/cur.h adduser.h cat.h chmod.h
ls.o: privchanger.h chown.h ckeditor.h cp.h default.h download.h emacs.h
ls.o: last.h login.h logout.h ln.h mkdir.h mv.h nicedit.h node.h passwd.h
ls.o: priv.h reload.h rm.h run.h specialdefault.h stat.h subject.h template.h
ls.o: tinymce.h uname.h upload.h uptime.h who.h vim.h ../core/htmlfilter.h
ls.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
ls.o: ../notify/notifythread.h ../core/basethread.h ../core/synchro.h
ls.o: ../notify/templatesnotify.h ../core/users.h ../core/ugcontainer.h
ls.o: ../core/lastcontainer.h ../core/mounts.h ../core/mountparser.h
ls.o: ../core/crypt.h ../core/users.h ../core/groups.h ../core/group.h
ls.o: ../core/loadavg.h ../core/thumb.h ../core/basethread.h
ls.o: ../core/threadmanager.h ../core/synchro.h
ls.o: priv.h reload.h rm.h run.h sort.h specialdefault.h stat.h subject.h
ls.o: template.h tinymce.h uname.h upload.h uptime.h who.h vim.h
ls.o: ../core/htmlfilter.h ../../ezc/src/stringconv.h
ls.o: ../templates/htmltextstream.h ../notify/notifythread.h
ls.o: ../core/basethread.h ../core/synchro.h ../notify/templatesnotify.h
ls.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
ls.o: ../core/mounts.h ../core/mountparser.h ../core/crypt.h ../core/users.h
ls.o: ../core/groups.h ../core/group.h ../core/loadavg.h ../core/thumb.h
ls.o: ../core/basethread.h ../core/threadmanager.h ../core/synchro.h
mkdir.o: mkdir.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
mkdir.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
mkdir.o: ../core/misc.h ../core/item.h ../core/requesttypes.h ../core/error.h
@@ -517,7 +518,7 @@ mkdir.o: ../../ezc/src/ezc.h ../../ezc/src/utf8.h ../../ezc/src/generator.h
mkdir.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
mkdir.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
mkdir.o: default.h download.h emacs.h last.h login.h logout.h ln.h ls.h mv.h
mkdir.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
mkdir.o: nicedit.h node.h passwd.h priv.h reload.h rm.h run.h sort.h
mkdir.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
mkdir.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
mkdir.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
@@ -546,8 +547,8 @@ mount.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
mount.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
mount.o: default.h download.h emacs.h last.h login.h logout.h ln.h ls.h
mount.o: mkdir.h mv.h nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
mount.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
mount.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
mount.o: sort.h specialdefault.h stat.h subject.h template.h tinymce.h
mount.o: uname.h upload.h uptime.h who.h vim.h ../core/htmlfilter.h
mount.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
mount.o: ../notify/notifythread.h ../core/basethread.h ../core/synchro.h
mount.o: ../notify/templatesnotify.h ../core/users.h ../core/ugcontainer.h
@@ -573,15 +574,15 @@ mv.o: ../../ezc/src/utf8.h ../../ezc/src/generator.h ../../ezc/src/pattern.h
mv.o: functions.h functionparser.h ../core/cur.h adduser.h cat.h chmod.h
mv.o: privchanger.h chown.h ckeditor.h cp.h default.h download.h emacs.h
mv.o: last.h login.h logout.h ln.h ls.h mkdir.h nicedit.h node.h passwd.h
mv.o: priv.h reload.h rm.h run.h specialdefault.h stat.h subject.h template.h
mv.o: tinymce.h uname.h upload.h uptime.h who.h vim.h ../core/htmlfilter.h
mv.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
mv.o: ../notify/notifythread.h ../core/basethread.h ../core/synchro.h
mv.o: ../notify/templatesnotify.h ../core/users.h ../core/ugcontainer.h
mv.o: ../core/lastcontainer.h ../core/mounts.h ../core/mountparser.h
mv.o: ../core/crypt.h ../core/users.h ../core/groups.h ../core/group.h
mv.o: ../core/loadavg.h ../core/thumb.h ../core/basethread.h
mv.o: ../core/threadmanager.h ../core/synchro.h
mv.o: priv.h reload.h rm.h run.h sort.h specialdefault.h stat.h subject.h
mv.o: template.h tinymce.h uname.h upload.h uptime.h who.h vim.h
mv.o: ../core/htmlfilter.h ../../ezc/src/stringconv.h
mv.o: ../templates/htmltextstream.h ../notify/notifythread.h
mv.o: ../core/basethread.h ../core/synchro.h ../notify/templatesnotify.h
mv.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
mv.o: ../core/mounts.h ../core/mountparser.h ../core/crypt.h ../core/users.h
mv.o: ../core/groups.h ../core/group.h ../core/loadavg.h ../core/thumb.h
mv.o: ../core/basethread.h ../core/threadmanager.h ../core/synchro.h
nicedit.o: nicedit.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
nicedit.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
nicedit.o: ../core/misc.h ../core/item.h ../core/requesttypes.h
@@ -601,7 +602,7 @@ nicedit.o: ../../ezc/src/ezc.h ../../ezc/src/utf8.h ../../ezc/src/generator.h
nicedit.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
nicedit.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
nicedit.o: default.h download.h emacs.h last.h login.h logout.h ln.h ls.h
nicedit.o: mkdir.h mv.h node.h passwd.h priv.h reload.h rm.h run.h
nicedit.o: mkdir.h mv.h node.h passwd.h priv.h reload.h rm.h run.h sort.h
nicedit.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
nicedit.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
nicedit.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
@@ -629,7 +630,7 @@ node.o: ../../ezc/src/utf8.h ../../ezc/src/generator.h
node.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
node.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
node.o: default.h download.h emacs.h last.h login.h logout.h ln.h ls.h
node.o: mkdir.h mv.h nicedit.h passwd.h priv.h reload.h rm.h run.h
node.o: mkdir.h mv.h nicedit.h passwd.h priv.h reload.h rm.h run.h sort.h
node.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
node.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
node.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
@@ -658,7 +659,7 @@ passwd.o: ../../ezc/src/ezc.h ../../ezc/src/utf8.h ../../ezc/src/generator.h
passwd.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
passwd.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
passwd.o: default.h download.h emacs.h last.h login.h logout.h ln.h ls.h
passwd.o: mkdir.h mv.h nicedit.h node.h priv.h reload.h rm.h run.h
passwd.o: mkdir.h mv.h nicedit.h node.h priv.h reload.h rm.h run.h sort.h
passwd.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
passwd.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
passwd.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
@@ -687,7 +688,7 @@ priv.o: ../../ezc/src/utf8.h ../../ezc/src/generator.h
priv.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
priv.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
priv.o: default.h download.h emacs.h last.h login.h logout.h ln.h ls.h
priv.o: mkdir.h mv.h nicedit.h node.h passwd.h reload.h rm.h run.h
priv.o: mkdir.h mv.h nicedit.h node.h passwd.h reload.h rm.h run.h sort.h
priv.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
priv.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
priv.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
@@ -718,9 +719,9 @@ privchanger.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h functions.h
privchanger.o: functionparser.h ../core/cur.h adduser.h cat.h chmod.h chown.h
privchanger.o: ckeditor.h cp.h default.h download.h emacs.h last.h login.h
privchanger.o: logout.h ln.h ls.h mkdir.h mv.h nicedit.h node.h passwd.h
privchanger.o: priv.h reload.h rm.h run.h specialdefault.h stat.h subject.h
privchanger.o: template.h tinymce.h uname.h upload.h uptime.h who.h vim.h
privchanger.o: ../core/htmlfilter.h ../../ezc/src/stringconv.h
privchanger.o: priv.h reload.h rm.h run.h sort.h specialdefault.h stat.h
privchanger.o: subject.h template.h tinymce.h uname.h upload.h uptime.h who.h
privchanger.o: vim.h ../core/htmlfilter.h ../../ezc/src/stringconv.h
privchanger.o: ../templates/htmltextstream.h ../notify/notifythread.h
privchanger.o: ../core/basethread.h ../core/synchro.h
privchanger.o: ../notify/templatesnotify.h ../core/users.h
@@ -747,7 +748,7 @@ reload.o: ../../ezc/src/ezc.h ../../ezc/src/utf8.h ../../ezc/src/generator.h
reload.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
reload.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
reload.o: default.h download.h emacs.h last.h login.h logout.h ln.h ls.h
reload.o: mkdir.h mv.h nicedit.h node.h passwd.h priv.h rm.h run.h
reload.o: mkdir.h mv.h nicedit.h node.h passwd.h priv.h rm.h run.h sort.h
reload.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
reload.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
reload.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
@@ -778,7 +779,7 @@ rm.o: ../../ezc/src/utf8.h ../../ezc/src/generator.h ../../ezc/src/pattern.h
rm.o: functions.h functionparser.h ../core/cur.h adduser.h cat.h chmod.h
rm.o: privchanger.h chown.h ckeditor.h cp.h default.h download.h emacs.h
rm.o: last.h login.h logout.h ln.h ls.h mkdir.h mv.h nicedit.h node.h
rm.o: passwd.h priv.h reload.h run.h specialdefault.h stat.h subject.h
rm.o: passwd.h priv.h reload.h run.h sort.h specialdefault.h stat.h subject.h
rm.o: template.h tinymce.h uname.h upload.h uptime.h who.h vim.h
rm.o: ../core/htmlfilter.h ../../ezc/src/stringconv.h
rm.o: ../templates/htmltextstream.h ../notify/notifythread.h
@@ -810,7 +811,7 @@ run.o: ../../ezc/src/utf8.h ../../ezc/src/generator.h ../../ezc/src/pattern.h
run.o: functions.h functionparser.h ../core/cur.h adduser.h cat.h chmod.h
run.o: privchanger.h chown.h ckeditor.h cp.h default.h download.h emacs.h
run.o: last.h login.h logout.h ln.h ls.h mkdir.h mv.h nicedit.h node.h
run.o: passwd.h priv.h reload.h rm.h specialdefault.h stat.h subject.h
run.o: passwd.h priv.h reload.h rm.h sort.h specialdefault.h stat.h subject.h
run.o: template.h tinymce.h uname.h upload.h uptime.h who.h vim.h
run.o: ../core/htmlfilter.h ../../ezc/src/stringconv.h
run.o: ../templates/htmltextstream.h ../notify/notifythread.h
@@ -819,6 +820,34 @@ run.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
run.o: ../core/mounts.h ../core/mountparser.h ../core/crypt.h ../core/users.h
run.o: ../core/groups.h ../core/group.h ../core/loadavg.h ../core/thumb.h
run.o: ../core/basethread.h ../core/threadmanager.h ../core/synchro.h
sort.o: sort.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
sort.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
sort.o: ../core/misc.h ../core/item.h ../core/requesttypes.h ../core/error.h
sort.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
sort.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
sort.o: ../core/log.h ../core/textstream.h ../core/logmanipulators.h
sort.o: ../core/slog.h ../core/cur.h ../core/request.h ../core/error.h
sort.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
sort.o: ../templates/htmltextstream.h ../core/session.h ../core/user.h
sort.o: ../core/plugindata.h ../core/rebus.h mount.h ../templates/locale.h
sort.o: ../core/confparser.h ../core/request.h ../core/config.h
sort.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
sort.o: ../notify/notify.h ../notify/notifypool.h ../templates/misc.h
sort.o: ../templates/localefilter.h ../templates/locale.h ../../ezc/src/ezc.h
sort.o: ../../ezc/src/utf8.h ../../ezc/src/generator.h
sort.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
sort.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
sort.o: default.h download.h emacs.h last.h login.h logout.h ln.h ls.h
sort.o: mkdir.h mv.h nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
sort.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
sort.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
sort.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
sort.o: ../notify/notifythread.h ../core/basethread.h ../core/synchro.h
sort.o: ../notify/templatesnotify.h ../core/users.h ../core/ugcontainer.h
sort.o: ../core/lastcontainer.h ../core/mounts.h ../core/mountparser.h
sort.o: ../core/crypt.h ../core/users.h ../core/groups.h ../core/group.h
sort.o: ../core/loadavg.h ../core/thumb.h ../core/basethread.h
sort.o: ../core/threadmanager.h ../core/synchro.h
specialdefault.o: specialdefault.h functionbase.h ../core/item.h ../db/db.h
specialdefault.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
specialdefault.o: ../core/textstream.h ../core/misc.h ../core/item.h
@@ -841,8 +870,8 @@ specialdefault.o: ../../ezc/src/pattern.h functions.h functionparser.h
specialdefault.o: ../core/cur.h adduser.h cat.h chmod.h privchanger.h chown.h
specialdefault.o: ckeditor.h cp.h default.h download.h emacs.h last.h login.h
specialdefault.o: logout.h ln.h ls.h mkdir.h mv.h nicedit.h node.h passwd.h
specialdefault.o: priv.h reload.h rm.h run.h stat.h subject.h template.h
specialdefault.o: tinymce.h uname.h upload.h uptime.h who.h vim.h
specialdefault.o: priv.h reload.h rm.h run.h sort.h stat.h subject.h
specialdefault.o: template.h tinymce.h uname.h upload.h uptime.h who.h vim.h
specialdefault.o: ../core/htmlfilter.h ../../ezc/src/stringconv.h
specialdefault.o: ../templates/htmltextstream.h ../notify/notifythread.h
specialdefault.o: ../core/basethread.h ../core/synchro.h
@@ -871,15 +900,15 @@ stat.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
stat.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
stat.o: default.h download.h emacs.h last.h login.h logout.h ln.h ls.h
stat.o: mkdir.h mv.h nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
stat.o: specialdefault.h subject.h template.h tinymce.h uname.h upload.h
stat.o: uptime.h who.h vim.h ../core/htmlfilter.h ../../ezc/src/stringconv.h
stat.o: ../templates/htmltextstream.h ../notify/notifythread.h
stat.o: ../core/basethread.h ../core/synchro.h ../notify/templatesnotify.h
stat.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
stat.o: ../core/mounts.h ../core/mountparser.h ../core/crypt.h
stat.o: ../core/users.h ../core/groups.h ../core/group.h ../core/loadavg.h
stat.o: ../core/thumb.h ../core/basethread.h ../core/threadmanager.h
stat.o: ../core/synchro.h
stat.o: sort.h specialdefault.h subject.h template.h tinymce.h uname.h
stat.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
stat.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
stat.o: ../notify/notifythread.h ../core/basethread.h ../core/synchro.h
stat.o: ../notify/templatesnotify.h ../core/users.h ../core/ugcontainer.h
stat.o: ../core/lastcontainer.h ../core/mounts.h ../core/mountparser.h
stat.o: ../core/crypt.h ../core/users.h ../core/groups.h ../core/group.h
stat.o: ../core/loadavg.h ../core/thumb.h ../core/basethread.h
stat.o: ../core/threadmanager.h ../core/synchro.h
subject.o: subject.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
subject.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
subject.o: ../core/misc.h ../core/item.h ../core/requesttypes.h
@@ -900,8 +929,8 @@ subject.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
subject.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
subject.o: default.h download.h emacs.h last.h login.h logout.h ln.h ls.h
subject.o: mkdir.h mv.h nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
subject.o: specialdefault.h stat.h template.h tinymce.h uname.h upload.h
subject.o: uptime.h who.h vim.h ../core/htmlfilter.h
subject.o: sort.h specialdefault.h stat.h template.h tinymce.h uname.h
subject.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
subject.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
subject.o: ../notify/notifythread.h ../core/basethread.h ../core/synchro.h
subject.o: ../notify/templatesnotify.h ../core/users.h ../core/ugcontainer.h
@@ -929,11 +958,11 @@ template.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h functions.h
template.o: functionparser.h ../core/cur.h adduser.h cat.h chmod.h
template.o: privchanger.h chown.h ckeditor.h cp.h default.h download.h
template.o: emacs.h last.h login.h logout.h ln.h ls.h mkdir.h mv.h nicedit.h
template.o: node.h passwd.h priv.h reload.h rm.h run.h specialdefault.h
template.o: stat.h subject.h tinymce.h uname.h upload.h uptime.h who.h vim.h
template.o: ../core/htmlfilter.h ../../ezc/src/stringconv.h
template.o: ../templates/htmltextstream.h ../notify/notifythread.h
template.o: ../core/basethread.h ../core/synchro.h
template.o: node.h passwd.h priv.h reload.h rm.h run.h sort.h
template.o: specialdefault.h stat.h subject.h tinymce.h uname.h upload.h
template.o: uptime.h who.h vim.h ../core/htmlfilter.h
template.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
template.o: ../notify/notifythread.h ../core/basethread.h ../core/synchro.h
template.o: ../notify/templatesnotify.h ../core/users.h ../core/ugcontainer.h
template.o: ../core/lastcontainer.h ../core/mounts.h ../core/mountparser.h
template.o: ../core/crypt.h ../core/users.h ../core/groups.h ../core/group.h
@@ -959,8 +988,8 @@ tinymce.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
tinymce.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
tinymce.o: default.h download.h emacs.h last.h login.h logout.h ln.h ls.h
tinymce.o: mkdir.h mv.h nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
tinymce.o: specialdefault.h stat.h subject.h template.h uname.h upload.h
tinymce.o: uptime.h who.h vim.h ../core/htmlfilter.h
tinymce.o: sort.h specialdefault.h stat.h subject.h template.h uname.h
tinymce.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
tinymce.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
tinymce.o: ../notify/notifythread.h ../core/basethread.h ../core/synchro.h
tinymce.o: ../notify/templatesnotify.h ../core/users.h ../core/ugcontainer.h
@@ -987,15 +1016,15 @@ uname.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
uname.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
uname.o: default.h download.h emacs.h last.h login.h logout.h ln.h ls.h
uname.o: mkdir.h mv.h nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
uname.o: specialdefault.h stat.h subject.h template.h tinymce.h upload.h
uname.o: uptime.h who.h vim.h ../core/htmlfilter.h ../../ezc/src/stringconv.h
uname.o: ../templates/htmltextstream.h ../notify/notifythread.h
uname.o: ../core/basethread.h ../core/synchro.h ../notify/templatesnotify.h
uname.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
uname.o: ../core/mounts.h ../core/mountparser.h ../core/crypt.h
uname.o: ../core/users.h ../core/groups.h ../core/group.h ../core/loadavg.h
uname.o: ../core/thumb.h ../core/basethread.h ../core/threadmanager.h
uname.o: ../core/synchro.h
uname.o: sort.h specialdefault.h stat.h subject.h template.h tinymce.h
uname.o: upload.h uptime.h who.h vim.h ../core/htmlfilter.h
uname.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
uname.o: ../notify/notifythread.h ../core/basethread.h ../core/synchro.h
uname.o: ../notify/templatesnotify.h ../core/users.h ../core/ugcontainer.h
uname.o: ../core/lastcontainer.h ../core/mounts.h ../core/mountparser.h
uname.o: ../core/crypt.h ../core/users.h ../core/groups.h ../core/group.h
uname.o: ../core/loadavg.h ../core/thumb.h ../core/basethread.h
uname.o: ../core/threadmanager.h ../core/synchro.h
upload.o: upload.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
upload.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
upload.o: ../core/misc.h ../core/item.h ../core/requesttypes.h
@@ -1016,8 +1045,8 @@ upload.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
upload.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
upload.o: default.h download.h emacs.h last.h login.h logout.h ln.h ls.h
upload.o: mkdir.h mv.h nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
upload.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
upload.o: uptime.h who.h vim.h ../core/htmlfilter.h
upload.o: sort.h specialdefault.h stat.h subject.h template.h tinymce.h
upload.o: uname.h uptime.h who.h vim.h ../core/htmlfilter.h
upload.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
upload.o: ../notify/notifythread.h ../core/basethread.h ../core/synchro.h
upload.o: ../notify/templatesnotify.h ../core/users.h ../core/ugcontainer.h
@@ -1049,8 +1078,8 @@ uptime.o: ../../ezc/src/pattern.h functions.h functionparser.h ../core/cur.h
uptime.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
uptime.o: default.h download.h emacs.h last.h login.h logout.h ln.h ls.h
uptime.o: mkdir.h mv.h nicedit.h node.h passwd.h priv.h reload.h rm.h run.h
uptime.o: specialdefault.h stat.h subject.h template.h tinymce.h uname.h
uptime.o: upload.h who.h vim.h ../core/htmlfilter.h
uptime.o: sort.h specialdefault.h stat.h subject.h template.h tinymce.h
uptime.o: uname.h upload.h who.h vim.h ../core/htmlfilter.h
uptime.o: ../../ezc/src/stringconv.h ../templates/htmltextstream.h
uptime.o: ../notify/notifythread.h ../core/basethread.h ../core/synchro.h
uptime.o: ../notify/templatesnotify.h ../core/users.h ../core/ugcontainer.h
@@ -1076,8 +1105,8 @@ vim.o: ../../ezc/src/utf8.h ../../ezc/src/generator.h ../../ezc/src/pattern.h
vim.o: functions.h functionparser.h ../core/cur.h adduser.h cat.h chmod.h
vim.o: privchanger.h chown.h ckeditor.h cp.h default.h download.h emacs.h
vim.o: last.h login.h logout.h ln.h ls.h mkdir.h mv.h nicedit.h node.h
vim.o: passwd.h priv.h reload.h rm.h run.h specialdefault.h stat.h subject.h
vim.o: template.h tinymce.h uname.h upload.h uptime.h who.h
vim.o: passwd.h priv.h reload.h rm.h run.h sort.h specialdefault.h stat.h
vim.o: subject.h template.h tinymce.h uname.h upload.h uptime.h who.h
vim.o: ../core/htmlfilter.h ../../ezc/src/stringconv.h
vim.o: ../templates/htmltextstream.h ../notify/notifythread.h
vim.o: ../core/basethread.h ../core/synchro.h ../notify/templatesnotify.h
@@ -1103,8 +1132,8 @@ who.o: ../../ezc/src/utf8.h ../../ezc/src/generator.h ../../ezc/src/pattern.h
who.o: functions.h functionparser.h ../core/cur.h adduser.h cat.h chmod.h
who.o: privchanger.h chown.h ckeditor.h cp.h default.h download.h emacs.h
who.o: last.h login.h logout.h ln.h ls.h mkdir.h mv.h nicedit.h node.h
who.o: passwd.h priv.h reload.h rm.h run.h specialdefault.h stat.h subject.h
who.o: template.h tinymce.h uname.h upload.h uptime.h vim.h
who.o: passwd.h priv.h reload.h rm.h run.h sort.h specialdefault.h stat.h
who.o: subject.h template.h tinymce.h uname.h upload.h uptime.h vim.h
who.o: ../core/htmlfilter.h ../../ezc/src/stringconv.h
who.o: ../templates/htmltextstream.h ../notify/notifythread.h
who.o: ../core/basethread.h ../core/synchro.h ../notify/templatesnotify.h

View File

@@ -1 +1 @@
o = adduser.o cat.o chmod.o chown.o ckeditor.o cp.o default.o download.o emacs.o functionbase.o functionparser.o functions.o last.o ln.o login.o logout.o ls.o mkdir.o mount.o mv.o nicedit.o node.o passwd.o priv.o privchanger.o reload.o rm.o run.o specialdefault.o stat.o subject.o template.o tinymce.o uname.o upload.o uptime.o vim.o who.o
o = adduser.o cat.o chmod.o chown.o ckeditor.o cp.o default.o download.o emacs.o functionbase.o functionparser.o functions.o last.o ln.o login.o logout.o ls.o mkdir.o mount.o mv.o nicedit.o node.o passwd.o priv.o privchanger.o reload.o rm.o run.o sort.o specialdefault.o stat.o subject.o template.o tinymce.o uname.o upload.o uptime.o vim.o who.o

View File

@@ -195,6 +195,7 @@ void Functions::CreateFunctions()
Add(fun_reload);
Add(fun_rm);
Add(fun_run);
Add(fun_sort);
Add(fun_special_default);
Add(fun_stat);
Add(fun_subject);

View File

@@ -37,6 +37,7 @@
#include "reload.h"
#include "rm.h"
#include "run.h"
#include "sort.h"
#include "specialdefault.h"
#include "stat.h"
#include "subject.h"
@@ -82,6 +83,7 @@ public:
Fun::Reload fun_reload;
Fun::Rm fun_rm;
Fun::Run fun_run;
Fun::Sort fun_sort;
Fun::SpecialDefault fun_special_default;
Fun::Stat fun_stat;
Fun::Subject fun_subject;

174
functions/sort.cpp Executable file
View File

@@ -0,0 +1,174 @@
/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2011, Tomasz Sowa
* All rights reserved.
*
*/
#include "sort.h"
namespace Fun
{
Sort::Sort()
{
fun.url = L"sort";
}
bool Sort::HasAccess()
{
if( cur->request->is_item )
return system->HasWriteAccess(cur->request->item);
// for directories we always return true
// (permissions are checked later)
return true;
}
void Sort::GetDirContent()
{
iq.sel_content = false;
iq.WhereParentId(cur->request->dir_tab.back()->id);
db->GetItems(cur->request->item_tab, iq);
system->CheckWriteAccessToItems(cur->request->item_tab);
}
bool Sort::SortHelper::operator()(size_t t1, size_t t2)
{
return psort->cur->request->item_tab[t1].id < psort->cur->request->item_tab[t2].id;
}
bool Sort::SortFun2(const SortPair & s1, const SortPair & s2)
{
return s1.id < s2.id;
}
void Sort::CreateItemTab()
{
size_t len = cur->request->item_tab.size();
item_tab.resize(len);
for(size_t i=0 ; i<len ; ++i)
item_tab[i] = i;
std::sort(item_tab.begin() , item_tab.end(), SortHelper(this));
}
void Sort::CreateItemTab2()
{
PostTab::iterator i2 = cur->request->post_tab.begin();
SortPair sp;
item_tab2.clear();
item_tab2.reserve(cur->request->post_tab.size());
// post_tab is sorted in lexicographical order but we should sort it by numbers
for( ; i2 != cur->request->post_tab.end() ; ++i2 )
{
if( IsSubStringNoCase(L"sort", i2->first.c_str()) )
{
sp.id = Tol(i2->first.c_str() + 4);
sp.sort_index = Toi(i2->second);
item_tab2.push_back(sp);
}
}
std::sort(item_tab2.begin(), item_tab2.end(), SortFun2);
}
void Sort::UpdateSortIndex(Item & item, int sort_index)
{
item.sort_index = sort_index;
if( db->EditSortIndexItemById(item.id, sort_index) == WINIX_ERR_OK )
{
log << log2
<< "Sort: updated sort index, item_id=" << item.id
<< ", url=" << item.url
<< ", sort_index=" << sort_index << logend;
}
}
void Sort::UpdateSortIndexes()
{
size_t i1 = 0;
size_t i2 = 0;
while( i1 < item_tab.size() && i2 < item_tab2.size() )
{
long id1 = cur->request->item_tab[item_tab[i1]].id;
long id2 = item_tab2[i2].id;
if( id1 == id2 )
{
int sort_index = item_tab2[i2].sort_index;
Item & item = cur->request->item_tab[item_tab[i1]];
if( system->HasWriteAccess(item) )
UpdateSortIndex(item, sort_index);
++i1;
++i2;
}
else
if( id1 < id2 )
{
++i1;
}
else
{
++i2;
}
}
}
void Sort::MakePost()
{
if( cur->request->is_item )
{
int sort_index = Toi(cur->request->PostVar(L"sortindex"));
UpdateSortIndex(cur->request->item, sort_index);
}
else
{
GetDirContent();
CreateItemTab();
CreateItemTab2();
UpdateSortIndexes();
}
system->RedirectToLastItem();
}
void Sort::MakeGet()
{
if( !cur->request->is_item )
GetDirContent();
}
} // namespace

66
functions/sort.h Executable file
View File

@@ -0,0 +1,66 @@
/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2011, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfile_winix_functions_sort
#define headerfile_winix_functions_sort
#include "functionbase.h"
namespace Fun
{
class Sort : public FunctionBase
{
public:
Sort();
bool HasAccess();
void MakeGet();
void MakePost();
private:
DbItemQuery iq;
std::vector<size_t> item_tab; // indexes to cur->request->item_tab
struct SortPair
{
long id;
int sort_index;
};
std::vector<SortPair> item_tab2; // from post table
// for sorting item_tab
struct SortHelper
{
Sort * psort;
SortHelper(Sort * s) : psort(s) {}
bool operator()(size_t t1, size_t t2);
};
// for sorting item_tab2
static bool SortFun2(const SortPair & s1, const SortPair & s2);
void GetDirContent();
void CreateItemTab();
void CreateItemTab2();
void UpdateSortIndex(Item & item, int sort_index);
void UpdateSortIndexes();
};
} // namespace
#endif