removed: dependencies to 'tz' system structure

now we are using PT::Date from pikotools



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@839 e52654a7-88a9-db11-a3e9-0013d4bc506e
pull/3/head
Tomasz Sowa 11 years ago
parent 5b845f1d03
commit 1b858f5782

@ -3,10 +3,10 @@
acceptbaseparser.o: acceptbaseparser.h
app.o: app.h config.h ../../pikotools/space/spaceparser.h
app.o: ../../pikotools/space/space.h htmlfilter.h system.h job.h basethread.h
app.o: synchro.h ../../pikotools/space/space.h dirs.h item.h dircontainer.h
app.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
app.o: ../core/textstream.h misc.h requesttypes.h ../../pikotools/date/date.h
app.o: ../core/error.h ../db/dbitemquery.h ../core/item.h
app.o: synchro.h ../../pikotools/space/space.h dirs.h item.h
app.o: ../../pikotools/date/date.h dircontainer.h ../db/db.h ../db/dbbase.h
app.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h misc.h
app.o: requesttypes.h ../core/error.h ../db/dbitemquery.h ../core/item.h
app.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
app.o: ../core/dircontainer.h ../core/ugcontainer.h log.h textstream.h
app.o: logmanipulators.h slog.h cur.h request.h error.h
@ -48,16 +48,16 @@ basethread.o: basethread.h synchro.h
bbcodeparser.o: bbcodeparser.h htmlfilter.h
compress.o: compress.h log.h textstream.h logmanipulators.h slog.h cur.h
compress.o: request.h requesttypes.h item.h ../../pikotools/space/space.h
compress.o: error.h config.h ../../pikotools/space/spaceparser.h
compress.o: ../../pikotools/space/space.h htmlfilter.h
compress.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
compress.o: ../../pikotools/date/date.h session.h user.h plugindata.h rebus.h
compress.o: mount.h ../templates/locale.h
compress.o: ../../pikotools/date/date.h error.h config.h
compress.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
compress.o: htmlfilter.h ../templates/htmltextstream.h ../core/textstream.h
compress.o: misc.h session.h user.h plugindata.h rebus.h mount.h
compress.o: ../templates/locale.h
config.o: config.h ../../pikotools/space/spaceparser.h
config.o: ../../pikotools/space/space.h htmlfilter.h log.h textstream.h
config.o: logmanipulators.h slog.h cur.h request.h requesttypes.h item.h
config.o: ../../pikotools/space/space.h error.h ../templates/htmltextstream.h
config.o: ../core/textstream.h misc.h ../../pikotools/date/date.h session.h
config.o: ../../pikotools/space/space.h ../../pikotools/date/date.h error.h
config.o: ../templates/htmltextstream.h ../core/textstream.h misc.h session.h
config.o: user.h plugindata.h rebus.h mount.h ../templates/locale.h plugin.h
config.o: pluginmsg.h system.h job.h basethread.h synchro.h dirs.h
config.o: dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
@ -97,30 +97,28 @@ config.o: ../templates/htmltextstream.h ../core/sessionmanager.h
crypt.o: crypt.h run.h config.h ../../pikotools/space/spaceparser.h
crypt.o: ../../pikotools/space/space.h htmlfilter.h user.h
crypt.o: ../../pikotools/utf8/utf8.h misc.h item.h
crypt.o: ../../pikotools/space/space.h requesttypes.h log.h textstream.h
crypt.o: logmanipulators.h slog.h cur.h request.h error.h
crypt.o: ../templates/htmltextstream.h ../core/textstream.h
crypt.o: ../../pikotools/date/date.h session.h plugindata.h rebus.h mount.h
crypt.o: ../templates/locale.h
dircontainer.o: dircontainer.h item.h ../../pikotools/space/space.h log.h
dircontainer.o: textstream.h logmanipulators.h slog.h cur.h request.h
dircontainer.o: requesttypes.h error.h config.h
dircontainer.o: ../../pikotools/space/spaceparser.h
crypt.o: ../../pikotools/space/space.h ../../pikotools/date/date.h
crypt.o: requesttypes.h log.h textstream.h logmanipulators.h slog.h cur.h
crypt.o: request.h error.h ../templates/htmltextstream.h ../core/textstream.h
crypt.o: session.h plugindata.h rebus.h mount.h ../templates/locale.h
dircontainer.o: dircontainer.h item.h ../../pikotools/space/space.h
dircontainer.o: ../../pikotools/date/date.h log.h textstream.h
dircontainer.o: logmanipulators.h slog.h cur.h request.h requesttypes.h
dircontainer.o: error.h config.h ../../pikotools/space/spaceparser.h
dircontainer.o: ../../pikotools/space/space.h htmlfilter.h
dircontainer.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
dircontainer.o: ../../pikotools/date/date.h session.h user.h plugindata.h
dircontainer.o: rebus.h mount.h ../templates/locale.h
dirs.o: dirs.h item.h ../../pikotools/space/space.h dircontainer.h ../db/db.h
dirs.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
dirs.o: ../core/textstream.h misc.h requesttypes.h
dirs.o: ../../pikotools/date/date.h ../core/error.h
dirs.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
dirs.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
dirs.o: ../core/user.h ../core/group.h ../core/dircontainer.h
dirs.o: ../core/ugcontainer.h log.h textstream.h logmanipulators.h slog.h
dirs.o: cur.h request.h error.h config.h htmlfilter.h
dirs.o: ../templates/htmltextstream.h session.h user.h plugindata.h rebus.h
dirs.o: mount.h ../templates/locale.h ../notify/notify.h
dircontainer.o: session.h user.h plugindata.h rebus.h mount.h
dircontainer.o: ../templates/locale.h
dirs.o: dirs.h item.h ../../pikotools/space/space.h
dirs.o: ../../pikotools/date/date.h dircontainer.h ../db/db.h ../db/dbbase.h
dirs.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h misc.h
dirs.o: requesttypes.h ../core/error.h ../../pikotools/space/spaceparser.h
dirs.o: ../../pikotools/space/space.h ../db/dbitemquery.h ../core/item.h
dirs.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
dirs.o: ../core/dircontainer.h ../core/ugcontainer.h log.h textstream.h
dirs.o: logmanipulators.h slog.h cur.h request.h error.h config.h
dirs.o: htmlfilter.h ../templates/htmltextstream.h session.h user.h
dirs.o: plugindata.h rebus.h mount.h ../templates/locale.h ../notify/notify.h
dirs.o: ../notify/notifypool.h ../templates/patterns.h ../templates/locale.h
dirs.o: ../templates/localefilter.h ../../ezc/src/ezc.h
dirs.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h
@ -131,21 +129,20 @@ dirs.o: ../notify/templatesnotify.h ../core/config.h ../core/users.h
dirs.o: ugcontainer.h lastcontainer.h
groups.o: groups.h group.h ugcontainer.h ../db/db.h ../db/dbbase.h
groups.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h misc.h
groups.o: item.h ../../pikotools/space/space.h requesttypes.h
groups.o: ../../pikotools/date/date.h ../core/error.h
groups.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
groups.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
groups.o: ../core/user.h ../core/group.h ../core/dircontainer.h
groups.o: ../core/ugcontainer.h log.h textstream.h logmanipulators.h slog.h
groups.o: cur.h request.h error.h config.h htmlfilter.h
groups.o: ../templates/htmltextstream.h session.h user.h plugindata.h rebus.h
groups.o: mount.h ../templates/locale.h
groups.o: item.h ../../pikotools/space/space.h ../../pikotools/date/date.h
groups.o: requesttypes.h ../core/error.h ../../pikotools/space/spaceparser.h
groups.o: ../../pikotools/space/space.h ../db/dbitemquery.h ../core/item.h
groups.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
groups.o: ../core/dircontainer.h ../core/ugcontainer.h log.h textstream.h
groups.o: logmanipulators.h slog.h cur.h request.h error.h config.h
groups.o: htmlfilter.h ../templates/htmltextstream.h session.h user.h
groups.o: plugindata.h rebus.h mount.h ../templates/locale.h
htmlfilter.o: htmlfilter.h
httpsimpleparser.o: httpsimpleparser.h
image.o: image.h basethread.h synchro.h textstream.h ../db/db.h
image.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
image.o: ../core/textstream.h misc.h item.h ../../pikotools/space/space.h
image.o: requesttypes.h ../../pikotools/date/date.h ../core/error.h
image.o: ../../pikotools/date/date.h requesttypes.h ../core/error.h
image.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
image.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
image.o: ../core/user.h ../core/group.h ../core/dircontainer.h
@ -183,19 +180,20 @@ image.o: ../core/htmlfilter.h ../templates/templates.h
image.o: ../templates/patterncacher.h ../templates/indexpatterns.h
image.o: ../templates/patterns.h ../templates/changepatterns.h
image.o: ../templates/htmltextstream.h ../core/sessionmanager.h
item.o: item.h ../../pikotools/space/space.h misc.h requesttypes.h crypt.h
item.o: run.h config.h ../../pikotools/space/spaceparser.h
item.o: ../../pikotools/space/space.h htmlfilter.h user.h
item.o: item.h ../../pikotools/space/space.h ../../pikotools/date/date.h
item.o: misc.h requesttypes.h crypt.h run.h config.h
item.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
item.o: htmlfilter.h user.h
job.o: job.h basethread.h synchro.h ../../pikotools/space/space.h plugin.h
job.o: pluginmsg.h log.h textstream.h logmanipulators.h slog.h cur.h
job.o: request.h requesttypes.h item.h error.h config.h
job.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
job.o: htmlfilter.h ../templates/htmltextstream.h ../core/textstream.h misc.h
job.o: ../../pikotools/date/date.h session.h user.h plugindata.h rebus.h
job.o: mount.h ../templates/locale.h system.h dirs.h dircontainer.h
job.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
job.o: ../core/error.h ../db/dbitemquery.h ../core/item.h
job.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
job.o: request.h requesttypes.h item.h ../../pikotools/date/date.h error.h
job.o: config.h ../../pikotools/space/spaceparser.h
job.o: ../../pikotools/space/space.h htmlfilter.h
job.o: ../templates/htmltextstream.h ../core/textstream.h misc.h session.h
job.o: user.h plugindata.h rebus.h mount.h ../templates/locale.h system.h
job.o: dirs.h dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
job.o: ../db/dbtextstream.h ../core/error.h ../db/dbitemquery.h
job.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
job.o: ../core/dircontainer.h ../core/ugcontainer.h ../notify/notify.h
job.o: ../notify/notifypool.h ../templates/patterns.h ../templates/locale.h
job.o: ../templates/localefilter.h ../../ezc/src/ezc.h
@ -227,35 +225,36 @@ job.o: ../templates/templates.h ../templates/patterncacher.h
job.o: ../templates/indexpatterns.h ../templates/patterns.h
job.o: ../templates/changepatterns.h ../templates/htmltextstream.h
job.o: ../core/sessionmanager.h
lastcontainer.o: lastcontainer.h log.h textstream.h logmanipulators.h slog.h
lastcontainer.o: cur.h request.h requesttypes.h item.h
lastcontainer.o: ../../pikotools/space/space.h error.h config.h
lastcontainer.o: ../../pikotools/space/spaceparser.h
lastcontainer.o: lastcontainer.h ../../pikotools/date/date.h log.h
lastcontainer.o: textstream.h logmanipulators.h slog.h cur.h request.h
lastcontainer.o: requesttypes.h item.h ../../pikotools/space/space.h error.h
lastcontainer.o: config.h ../../pikotools/space/spaceparser.h
lastcontainer.o: ../../pikotools/space/space.h htmlfilter.h
lastcontainer.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
lastcontainer.o: ../../pikotools/date/date.h session.h user.h plugindata.h
lastcontainer.o: rebus.h mount.h ../templates/locale.h
lastcontainer.o: session.h user.h plugindata.h rebus.h mount.h
lastcontainer.o: ../templates/locale.h
loadavg.o: loadavg.h log.h textstream.h logmanipulators.h slog.h cur.h
loadavg.o: request.h requesttypes.h item.h ../../pikotools/space/space.h
loadavg.o: error.h config.h ../../pikotools/space/spaceparser.h
loadavg.o: ../../pikotools/space/space.h htmlfilter.h
loadavg.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
loadavg.o: ../../pikotools/date/date.h session.h user.h plugindata.h rebus.h
loadavg.o: mount.h ../templates/locale.h
loadavg.o: ../../pikotools/date/date.h error.h config.h
loadavg.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
loadavg.o: htmlfilter.h ../templates/htmltextstream.h ../core/textstream.h
loadavg.o: misc.h session.h user.h plugindata.h rebus.h mount.h
loadavg.o: ../templates/locale.h
log.o: log.h textstream.h logmanipulators.h slog.h cur.h request.h
log.o: requesttypes.h item.h ../../pikotools/space/space.h error.h config.h
log.o: requesttypes.h item.h ../../pikotools/space/space.h
log.o: ../../pikotools/date/date.h error.h config.h
log.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
log.o: htmlfilter.h ../templates/htmltextstream.h ../core/textstream.h misc.h
log.o: ../../pikotools/date/date.h session.h user.h plugindata.h rebus.h
log.o: mount.h ../templates/locale.h ../../pikotools/utf8/utf8.h
misc.o: misc.h item.h ../../pikotools/space/space.h requesttypes.h log.h
misc.o: textstream.h logmanipulators.h slog.h cur.h request.h error.h
misc.o: config.h ../../pikotools/space/spaceparser.h
misc.o: ../../pikotools/space/space.h htmlfilter.h
misc.o: ../templates/htmltextstream.h ../core/textstream.h
misc.o: ../../pikotools/date/date.h session.h user.h plugindata.h rebus.h
misc.o: mount.h ../templates/locale.h ../templates/templates.h
misc.o: ../../ezc/src/ezc.h ../../ezc/src/generator.h ../../ezc/src/pattern.h
log.o: session.h user.h plugindata.h rebus.h mount.h ../templates/locale.h
log.o: ../../pikotools/utf8/utf8.h
misc.o: misc.h item.h ../../pikotools/space/space.h
misc.o: ../../pikotools/date/date.h requesttypes.h log.h textstream.h
misc.o: logmanipulators.h slog.h cur.h request.h error.h config.h
misc.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
misc.o: htmlfilter.h ../templates/htmltextstream.h ../core/textstream.h
misc.o: session.h user.h plugindata.h rebus.h mount.h ../templates/locale.h
misc.o: ../templates/templates.h ../../ezc/src/ezc.h
misc.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h
misc.o: ../../ezc/src/functions.h ../../ezc/src/funinfo.h
misc.o: ../../ezc/src/stringconv.h ../../pikotools/utf8/utf8.h
misc.o: ../templates/patterncacher.h ../core/item.h
@ -267,11 +266,12 @@ misc.o: ../core/sessionmanager.h ../core/htmlfilter.h ../db/db.h
misc.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h ../core/error.h
misc.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
misc.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
mount.o: mount.h misc.h item.h ../../pikotools/space/space.h requesttypes.h
mount.o: mount.h misc.h item.h ../../pikotools/space/space.h
mount.o: ../../pikotools/date/date.h requesttypes.h
mountparser.o: mountparser.h mount.h item.h ../../pikotools/space/space.h
mountparser.o: dirs.h dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
mountparser.o: ../db/dbtextstream.h ../core/textstream.h misc.h
mountparser.o: requesttypes.h ../../pikotools/date/date.h ../core/error.h
mountparser.o: ../../pikotools/date/date.h dirs.h dircontainer.h ../db/db.h
mountparser.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
mountparser.o: ../core/textstream.h misc.h requesttypes.h ../core/error.h
mountparser.o: ../../pikotools/space/spaceparser.h
mountparser.o: ../../pikotools/space/space.h ../db/dbitemquery.h
mountparser.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h
@ -289,27 +289,27 @@ mountparser.o: ../notify/notifythread.h ../core/basethread.h
mountparser.o: ../notify/templatesnotify.h ../core/config.h ../core/users.h
mountparser.o: ugcontainer.h lastcontainer.h
mounts.o: mounts.h mount.h error.h dirs.h item.h
mounts.o: ../../pikotools/space/space.h dircontainer.h ../db/db.h
mounts.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
mounts.o: ../core/textstream.h misc.h requesttypes.h
mounts.o: ../../pikotools/date/date.h ../core/error.h
mounts.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
mounts.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
mounts.o: ../core/user.h ../core/group.h ../core/dircontainer.h
mounts.o: ../core/ugcontainer.h log.h textstream.h logmanipulators.h slog.h
mounts.o: cur.h request.h config.h htmlfilter.h ../templates/htmltextstream.h
mounts.o: session.h user.h plugindata.h rebus.h ../templates/locale.h
mounts.o: ../notify/notify.h ../notify/notifypool.h ../templates/patterns.h
mounts.o: ../templates/locale.h ../templates/localefilter.h
mounts.o: ../../ezc/src/ezc.h ../../ezc/src/generator.h
mounts.o: ../../ezc/src/pattern.h ../../ezc/src/functions.h
mounts.o: ../../ezc/src/funinfo.h ../../ezc/src/stringconv.h
mounts.o: ../../pikotools/utf8/utf8.h ../notify/notifythread.h
mounts.o: ../core/basethread.h ../notify/templatesnotify.h ../core/config.h
mounts.o: ../core/users.h ugcontainer.h lastcontainer.h mountparser.h
mounts.o: plugin.h pluginmsg.h system.h job.h basethread.h synchro.h crypt.h
mounts.o: run.h users.h groups.h group.h loadavg.h image.h threadmanager.h
mounts.o: sessionmanager.h sessioncontainer.h ../functions/functions.h
mounts.o: ../../pikotools/space/space.h ../../pikotools/date/date.h
mounts.o: dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
mounts.o: ../db/dbtextstream.h ../core/textstream.h misc.h requesttypes.h
mounts.o: ../core/error.h ../../pikotools/space/spaceparser.h
mounts.o: ../../pikotools/space/space.h ../db/dbitemquery.h ../core/item.h
mounts.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
mounts.o: ../core/dircontainer.h ../core/ugcontainer.h log.h textstream.h
mounts.o: logmanipulators.h slog.h cur.h request.h config.h htmlfilter.h
mounts.o: ../templates/htmltextstream.h session.h user.h plugindata.h rebus.h
mounts.o: ../templates/locale.h ../notify/notify.h ../notify/notifypool.h
mounts.o: ../templates/patterns.h ../templates/locale.h
mounts.o: ../templates/localefilter.h ../../ezc/src/ezc.h
mounts.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h
mounts.o: ../../ezc/src/functions.h ../../ezc/src/funinfo.h
mounts.o: ../../ezc/src/stringconv.h ../../pikotools/utf8/utf8.h
mounts.o: ../notify/notifythread.h ../core/basethread.h
mounts.o: ../notify/templatesnotify.h ../core/config.h ../core/users.h
mounts.o: ugcontainer.h lastcontainer.h mountparser.h plugin.h pluginmsg.h
mounts.o: system.h job.h basethread.h synchro.h crypt.h run.h users.h
mounts.o: groups.h group.h loadavg.h image.h threadmanager.h sessionmanager.h
mounts.o: sessioncontainer.h ../functions/functions.h
mounts.o: ../functions/functionbase.h ../core/request.h ../core/system.h
mounts.o: ../core/synchro.h ../functions/functionparser.h ../core/cur.h
mounts.o: ../functions/adduser.h ../functions/cat.h ../functions/chmod.h
@ -332,12 +332,12 @@ mounts.o: ../templates/patterns.h ../templates/changepatterns.h
mounts.o: ../templates/htmltextstream.h ../core/sessionmanager.h
plugin.o: plugin.h pluginmsg.h log.h textstream.h logmanipulators.h slog.h
plugin.o: cur.h request.h requesttypes.h item.h ../../pikotools/space/space.h
plugin.o: error.h config.h ../../pikotools/space/spaceparser.h
plugin.o: ../../pikotools/space/space.h htmlfilter.h
plugin.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
plugin.o: ../../pikotools/date/date.h session.h user.h plugindata.h rebus.h
plugin.o: mount.h ../templates/locale.h system.h job.h basethread.h synchro.h
plugin.o: dirs.h dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
plugin.o: ../../pikotools/date/date.h error.h config.h
plugin.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
plugin.o: htmlfilter.h ../templates/htmltextstream.h ../core/textstream.h
plugin.o: misc.h session.h user.h plugindata.h rebus.h mount.h
plugin.o: ../templates/locale.h system.h job.h basethread.h synchro.h dirs.h
plugin.o: dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
plugin.o: ../db/dbtextstream.h ../core/error.h ../db/dbitemquery.h
plugin.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
plugin.o: ../core/dircontainer.h ../core/ugcontainer.h ../notify/notify.h
@ -373,30 +373,29 @@ plugin.o: ../templates/patterns.h ../templates/changepatterns.h
plugin.o: ../templates/htmltextstream.h ../core/sessionmanager.h
plugindata.o: plugindata.h plugin.h pluginmsg.h log.h textstream.h
plugindata.o: logmanipulators.h slog.h cur.h request.h requesttypes.h item.h
plugindata.o: ../../pikotools/space/space.h error.h config.h
plugindata.o: ../../pikotools/space/spaceparser.h
plugindata.o: ../../pikotools/space/space.h ../../pikotools/date/date.h
plugindata.o: error.h config.h ../../pikotools/space/spaceparser.h
plugindata.o: ../../pikotools/space/space.h htmlfilter.h
plugindata.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
plugindata.o: ../../pikotools/date/date.h session.h user.h rebus.h mount.h
plugindata.o: ../templates/locale.h system.h job.h basethread.h synchro.h
plugindata.o: dirs.h dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
plugindata.o: ../db/dbtextstream.h ../core/error.h ../db/dbitemquery.h
plugindata.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h
plugindata.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
plugindata.o: ../notify/notify.h ../notify/notifypool.h
plugindata.o: ../templates/patterns.h ../templates/locale.h
plugindata.o: ../templates/localefilter.h ../../ezc/src/ezc.h
plugindata.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h
plugindata.o: ../../ezc/src/functions.h ../../ezc/src/funinfo.h
plugindata.o: ../../ezc/src/stringconv.h ../../pikotools/utf8/utf8.h
plugindata.o: ../notify/notifythread.h ../core/basethread.h
plugindata.o: ../notify/templatesnotify.h ../core/config.h ../core/users.h
plugindata.o: ugcontainer.h lastcontainer.h mounts.h mountparser.h crypt.h
plugindata.o: run.h users.h groups.h group.h loadavg.h image.h
plugindata.o: threadmanager.h sessionmanager.h sessioncontainer.h
plugindata.o: ../functions/functions.h ../functions/functionbase.h
plugindata.o: ../core/request.h ../core/system.h ../core/synchro.h
plugindata.o: ../functions/functionparser.h ../core/cur.h
plugindata.o: session.h user.h rebus.h mount.h ../templates/locale.h system.h
plugindata.o: job.h basethread.h synchro.h dirs.h dircontainer.h ../db/db.h
plugindata.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
plugindata.o: ../core/error.h ../db/dbitemquery.h ../core/item.h
plugindata.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
plugindata.o: ../core/dircontainer.h ../core/ugcontainer.h ../notify/notify.h
plugindata.o: ../notify/notifypool.h ../templates/patterns.h
plugindata.o: ../templates/locale.h ../templates/localefilter.h
plugindata.o: ../../ezc/src/ezc.h ../../ezc/src/generator.h
plugindata.o: ../../ezc/src/pattern.h ../../ezc/src/functions.h
plugindata.o: ../../ezc/src/funinfo.h ../../ezc/src/stringconv.h
plugindata.o: ../../pikotools/utf8/utf8.h ../notify/notifythread.h
plugindata.o: ../core/basethread.h ../notify/templatesnotify.h
plugindata.o: ../core/config.h ../core/users.h ugcontainer.h lastcontainer.h
plugindata.o: mounts.h mountparser.h crypt.h run.h users.h groups.h group.h
plugindata.o: loadavg.h image.h threadmanager.h sessionmanager.h
plugindata.o: sessioncontainer.h ../functions/functions.h
plugindata.o: ../functions/functionbase.h ../core/request.h ../core/system.h
plugindata.o: ../core/synchro.h ../functions/functionparser.h ../core/cur.h
plugindata.o: ../functions/adduser.h ../functions/cat.h ../functions/chmod.h
plugindata.o: ../functions/privchanger.h ../functions/chown.h
plugindata.o: ../functions/ckeditor.h ../functions/cp.h
@ -420,23 +419,23 @@ plugindata.o: ../core/sessionmanager.h
postmultiparser.o: postmultiparser.h error.h requesttypes.h config.h
postmultiparser.o: ../../pikotools/space/spaceparser.h
postmultiparser.o: ../../pikotools/space/space.h htmlfilter.h misc.h item.h
postmultiparser.o: ../../pikotools/space/space.h log.h textstream.h
postmultiparser.o: logmanipulators.h slog.h cur.h request.h
postmultiparser.o: ../templates/htmltextstream.h ../core/textstream.h
postmultiparser.o: ../../pikotools/date/date.h session.h user.h plugindata.h
postmultiparser.o: rebus.h mount.h ../templates/locale.h
postmultiparser.o: ../../pikotools/utf8/utf8.h
postmultiparser.o: ../../pikotools/space/space.h ../../pikotools/date/date.h
postmultiparser.o: log.h textstream.h logmanipulators.h slog.h cur.h
postmultiparser.o: request.h ../templates/htmltextstream.h
postmultiparser.o: ../core/textstream.h session.h user.h plugindata.h rebus.h
postmultiparser.o: mount.h ../templates/locale.h ../../pikotools/utf8/utf8.h
rebus.o: log.h textstream.h logmanipulators.h slog.h cur.h request.h
rebus.o: requesttypes.h item.h ../../pikotools/space/space.h error.h config.h
rebus.o: requesttypes.h item.h ../../pikotools/space/space.h
rebus.o: ../../pikotools/date/date.h error.h config.h
rebus.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
rebus.o: htmlfilter.h ../templates/htmltextstream.h ../core/textstream.h
rebus.o: misc.h ../../pikotools/date/date.h session.h user.h plugindata.h
rebus.o: rebus.h mount.h ../templates/locale.h
rebus.o: misc.h session.h user.h plugindata.h rebus.h mount.h
rebus.o: ../templates/locale.h
request.o: request.h requesttypes.h item.h ../../pikotools/space/space.h
request.o: error.h config.h ../../pikotools/space/spaceparser.h
request.o: ../../pikotools/space/space.h htmlfilter.h textstream.h
request.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
request.o: ../../pikotools/date/date.h log.h logmanipulators.h slog.h cur.h
request.o: ../../pikotools/date/date.h error.h config.h
request.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
request.o: htmlfilter.h textstream.h ../templates/htmltextstream.h
request.o: ../core/textstream.h misc.h log.h logmanipulators.h slog.h cur.h
request.o: session.h user.h plugindata.h rebus.h mount.h
request.o: ../templates/locale.h plugin.h pluginmsg.h system.h job.h
request.o: basethread.h synchro.h dirs.h dircontainer.h ../db/db.h
@ -475,17 +474,17 @@ request.o: ../templates/patterncacher.h ../templates/indexpatterns.h
request.o: ../templates/patterns.h ../templates/changepatterns.h
request.o: ../templates/htmltextstream.h ../core/sessionmanager.h
run.o: run.h log.h textstream.h logmanipulators.h slog.h cur.h request.h
run.o: requesttypes.h item.h ../../pikotools/space/space.h error.h config.h
run.o: requesttypes.h item.h ../../pikotools/space/space.h
run.o: ../../pikotools/date/date.h error.h config.h
run.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
run.o: htmlfilter.h ../templates/htmltextstream.h ../core/textstream.h misc.h
run.o: ../../pikotools/date/date.h session.h user.h plugindata.h rebus.h
run.o: mount.h ../templates/locale.h
session.o: session.h item.h ../../pikotools/space/space.h error.h user.h
session.o: plugindata.h rebus.h textstream.h ../../pikotools/date/date.h
session.o: misc.h requesttypes.h
run.o: session.h user.h plugindata.h rebus.h mount.h ../templates/locale.h
session.o: session.h item.h ../../pikotools/space/space.h
session.o: ../../pikotools/date/date.h error.h user.h plugindata.h rebus.h
session.o: textstream.h misc.h requesttypes.h
sessioncontainer.o: sessioncontainer.h session.h item.h
sessioncontainer.o: ../../pikotools/space/space.h error.h user.h plugindata.h
sessioncontainer.o: rebus.h textstream.h ../../pikotools/date/date.h cur.h
sessioncontainer.o: ../../pikotools/space/space.h ../../pikotools/date/date.h
sessioncontainer.o: error.h user.h plugindata.h rebus.h textstream.h cur.h
sessioncontainer.o: request.h requesttypes.h config.h
sessioncontainer.o: ../../pikotools/space/spaceparser.h
sessioncontainer.o: ../../pikotools/space/space.h htmlfilter.h
@ -493,8 +492,8 @@ sessioncontainer.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
sessioncontainer.o: mount.h log.h logmanipulators.h slog.h
sessioncontainer.o: ../templates/locale.h
sessionmanager.o: sessionmanager.h sessioncontainer.h session.h item.h
sessionmanager.o: ../../pikotools/space/space.h error.h user.h plugindata.h
sessionmanager.o: rebus.h textstream.h ../../pikotools/date/date.h cur.h
sessionmanager.o: ../../pikotools/space/space.h ../../pikotools/date/date.h
sessionmanager.o: error.h user.h plugindata.h rebus.h textstream.h cur.h
sessionmanager.o: request.h requesttypes.h config.h
sessionmanager.o: ../../pikotools/space/spaceparser.h
sessionmanager.o: ../../pikotools/space/space.h htmlfilter.h
@ -542,8 +541,8 @@ sessionmanager.o: ../templates/indexpatterns.h ../templates/patterns.h
sessionmanager.o: ../templates/changepatterns.h ../templates/htmltextstream.h
sessionmanager.o: ../core/sessionmanager.h
sessionparser.o: sessionparser.h session.h item.h
sessionparser.o: ../../pikotools/space/space.h error.h user.h plugindata.h
sessionparser.o: rebus.h textstream.h ../../pikotools/date/date.h
sessionparser.o: ../../pikotools/space/space.h ../../pikotools/date/date.h
sessionparser.o: error.h user.h plugindata.h rebus.h textstream.h
sessionparser.o: sessioncontainer.h cur.h request.h requesttypes.h config.h
sessionparser.o: ../../pikotools/space/spaceparser.h
sessionparser.o: ../../pikotools/space/space.h htmlfilter.h
@ -551,17 +550,17 @@ sessionparser.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
sessionparser.o: mount.h users.h log.h logmanipulators.h slog.h
sessionparser.o: ../templates/locale.h
slog.o: slog.h cur.h request.h requesttypes.h item.h
slog.o: ../../pikotools/space/space.h error.h config.h
slog.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
slog.o: htmlfilter.h textstream.h ../templates/htmltextstream.h
slog.o: ../core/textstream.h misc.h ../../pikotools/date/date.h session.h
slog.o: ../../pikotools/space/space.h ../../pikotools/date/date.h error.h
slog.o: config.h ../../pikotools/space/spaceparser.h
slog.o: ../../pikotools/space/space.h htmlfilter.h textstream.h
slog.o: ../templates/htmltextstream.h ../core/textstream.h misc.h session.h
slog.o: user.h plugindata.h rebus.h mount.h logmanipulators.h
slog.o: ../templates/locale.h
synchro.o: synchro.h
system.o: system.h job.h basethread.h synchro.h ../../pikotools/space/space.h
system.o: dirs.h item.h dircontainer.h ../db/db.h ../db/dbbase.h
system.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h misc.h
system.o: requesttypes.h ../../pikotools/date/date.h ../core/error.h
system.o: dirs.h item.h ../../pikotools/date/date.h dircontainer.h ../db/db.h
system.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
system.o: ../core/textstream.h misc.h requesttypes.h ../core/error.h
system.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
system.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
system.o: ../core/user.h ../core/group.h ../core/dircontainer.h
@ -600,19 +599,18 @@ system.o: ../functions/subject.h ../functions/template.h
system.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
system.o: ../functions/uptime.h ../functions/who.h ../functions/vim.h
system.o: plugin.h pluginmsg.h sessionmanager.h sessioncontainer.h
textstream.o: textstream.h misc.h item.h ../../pikotools/space/space.h
textstream.o: requesttypes.h
threadmanager.o: threadmanager.h basethread.h synchro.h log.h textstream.h
threadmanager.o: logmanipulators.h slog.h cur.h request.h requesttypes.h
threadmanager.o: item.h ../../pikotools/space/space.h error.h config.h
threadmanager.o: item.h ../../pikotools/space/space.h
threadmanager.o: ../../pikotools/date/date.h error.h config.h
threadmanager.o: ../../pikotools/space/spaceparser.h
threadmanager.o: ../../pikotools/space/space.h htmlfilter.h
threadmanager.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
threadmanager.o: ../../pikotools/date/date.h session.h user.h plugindata.h
threadmanager.o: rebus.h mount.h ../templates/locale.h
threadmanager.o: session.h user.h plugindata.h rebus.h mount.h
threadmanager.o: ../templates/locale.h
users.o: users.h sessionmanager.h sessioncontainer.h session.h item.h
users.o: ../../pikotools/space/space.h error.h user.h plugindata.h rebus.h
users.o: textstream.h ../../pikotools/date/date.h cur.h request.h
users.o: ../../pikotools/space/space.h ../../pikotools/date/date.h error.h
users.o: user.h plugindata.h rebus.h textstream.h cur.h request.h
users.o: requesttypes.h config.h ../../pikotools/space/spaceparser.h
users.o: ../../pikotools/space/space.h htmlfilter.h
users.o: ../templates/htmltextstream.h ../core/textstream.h misc.h mount.h

@ -1 +1 @@
o = acceptbaseparser.o app.o basethread.o bbcodeparser.o compress.o config.o crypt.o dircontainer.o dirs.o groups.o htmlfilter.o httpsimpleparser.o image.o item.o job.o lastcontainer.o loadavg.o log.o misc.o mount.o mountparser.o mounts.o plugin.o plugindata.o postmultiparser.o rebus.o request.o run.o session.o sessioncontainer.o sessionmanager.o sessionparser.o slog.o synchro.o system.o textstream.o threadmanager.o users.o
o = acceptbaseparser.o app.o basethread.o bbcodeparser.o compress.o config.o crypt.o dircontainer.o dirs.o groups.o htmlfilter.o httpsimpleparser.o image.o item.o job.o lastcontainer.o loadavg.o log.o misc.o mount.o mountparser.o mounts.o plugin.o plugindata.o postmultiparser.o rebus.o request.o run.o session.o sessioncontainer.o sessionmanager.o sessionparser.o slog.o synchro.o system.o threadmanager.o users.o

@ -612,8 +612,7 @@ void App::PrepareSessionCookie()
}
else
{
time_t t = std::time(0) + config.session_remember_max_idle;
tm expires = Time(t);
PT::Date expires = cur.request->start_time + config.session_remember_max_idle;
cur.request->SetCookie(config.http_session_id_name.c_str(), cur.session->id, &expires);
}
}

@ -25,14 +25,14 @@ Item::Item()
// may setting the date should be completetly removed from here?
void Item::SetDateToNow()
{
date_creation = Time(std::time(0));
date_creation = std::time(0);
date_modification = date_creation;
}
void Item::SetDateModifyToNow()
{
date_modification = Time(std::time(0));
date_modification = std::time(0);
}

@ -12,6 +12,8 @@
#include <string>
#include "space/space.h"
#include "date/date.h"
#define WINIX_ITEM_FILETYPE_NONE 0
@ -37,8 +39,8 @@ struct Item
int privileges;
tm date_creation;
tm date_modification;
PT::Date date_creation;
PT::Date date_modification;
std::wstring subject;
std::wstring content;

@ -18,23 +18,12 @@ LastItem::LastItem()
user_id = 0;
ip = 0;
session_id = 0;
memset((char*)&start, 0, sizeof(start));
memset((char*)&end, 0, sizeof(end));
}
bool LastItem::IsLoggedOut()
{
if( end.tm_sec == 0 &&
end.tm_min == 0 &&
end.tm_hour == 0 &&
end.tm_mday == 0 &&
end.tm_mon == 0 &&
end.tm_year == 0 )
return false;
return true;
return end.year > 1970;
}
@ -87,7 +76,7 @@ LastTab::iterator i = FindNotLoggedOut(user_id, session_id);
li.name = name;
li.ip = ip;
li.session_id = session_id;
li.start = Time(std::time(0));
li.start = std::time(0);
last_tab.insert(last_tab.end(), li);
@ -103,7 +92,7 @@ LastTab::iterator i = FindNotLoggedOut(user_id, session_id);
if( i != last_tab.end() )
{
i->end = Time(std::time(0));
i->end = std::time(0);
}
else
{

@ -14,6 +14,7 @@
#include <list>
#include <cstring>
#include <ctime>
#include "date/date.h"
@ -37,8 +38,8 @@ struct LastItem
long session_id;
// start logging and end logging
tm start;
tm end;
PT::Date start;
PT::Date end;
LastItem();

@ -438,43 +438,34 @@ static wchar_t buffer[100];
}
const wchar_t * DateToStr(const tm * ptm)
{
return DateToStr(ptm->tm_year + 1900, ptm->tm_mon+1, ptm->tm_mday, ptm->tm_hour, ptm->tm_min, ptm->tm_sec);
}
const wchar_t * DateToStr(const tm & rtm)
const wchar_t * DateToStr(const PT::Date & d)
{
return DateToStr(rtm.tm_year + 1900, rtm.tm_mon+1, rtm.tm_mday, rtm.tm_hour, rtm.tm_min, rtm.tm_sec);
return DateToStr(d.year, d.month, d.day, d.hour, d.min, d.sec);
}
const wchar_t * DateToStr(time_t t)
{
tm rtm = Time(t);
PT::Date date = t;
return DateToStr(rtm);
return DateToStr(date);
}
const wchar_t * DateToStrWithoutHours(const tm * ptm)
{
return DateToStr(ptm->tm_year + 1900, ptm->tm_mon+1, ptm->tm_mday);
}
const wchar_t * DateToStrWithoutHours(const tm & rtm)
const wchar_t * DateToStrWithoutHours(const PT::Date & d)
{
return DateToStr(rtm.tm_year + 1900, rtm.tm_mon+1, rtm.tm_mday);
return DateToStr(d.year, d.month, d.day);
}
const wchar_t * DateToStrWithoutHours(time_t t)
{
tm rtm = Time(t);
PT::Date date = t;
return DateToStrWithoutHours(rtm);
return DateToStrWithoutHours(date);
}
@ -499,23 +490,19 @@ return buffer;
}
const char * DateToStrCookie(const tm * ptm)
{
return DateToStrCookie(ptm->tm_year + 1900, ptm->tm_mon+1, ptm->tm_mday, ptm->tm_hour, ptm->tm_min, ptm->tm_sec);
}
const char * DateToStrCookie(const tm & rtm)
const char * DateToStrCookie(const PT::Date & d)
{
return DateToStrCookie(rtm.tm_year + 1900, rtm.tm_mon+1, rtm.tm_mday, rtm.tm_hour, rtm.tm_min, rtm.tm_sec);
return DateToStrCookie(d.year, d.month, d.day, d.hour, d.min, d.sec);
}
const char * DateToStrCookie(time_t t)
{
tm rtm = Time(t);
PT::Date date = t;
return DateToStrCookie(rtm);
return DateToStrCookie(date);
}
@ -986,51 +973,6 @@ int SelectFileType(const std::wstring & file_name)
}
time_t Time(const tm & par)
{
tm t;
memset(&t, 0, sizeof(t));
t.tm_year = par.tm_year;
t.tm_mon = par.tm_mon;
t.tm_mday = par.tm_mday;
t.tm_hour = par.tm_hour;
t.tm_min = par.tm_min;
t.tm_sec = par.tm_sec;
return timegm(&t);
}
time_t Time(const tm * par)
{
return Time(*par);
}
tm Time(time_t par)
{
tm * ptm = gmtime(&par);
tm res;
memset(&res, 0, sizeof(res));
if( ptm )
{
res.tm_year = ptm->tm_year;
res.tm_mon = ptm->tm_mon;
res.tm_mday = ptm->tm_mday;
res.tm_hour = ptm->tm_hour;
res.tm_min = ptm->tm_min;
res.tm_sec = ptm->tm_sec;
res.tm_wday = ptm->tm_wday;
res.tm_yday = ptm->tm_yday;
}
return res;
}

@ -17,6 +17,7 @@
#include <cstdio>
#include "item.h"
#include "requesttypes.h"
#include "date/date.h"
@ -170,16 +171,13 @@ void CorrectUrlOnlyAllowedChar(std::wstring & url);
const wchar_t * DateToStr(int year, int month, int day);
const wchar_t * DateToStr(int year, int month, int day, int hour, int min, int sec);
const wchar_t * DateToStr(const tm * ptm);
const wchar_t * DateToStr(const tm & rtm);
const wchar_t * DateToStr(const PT::Date & d);
const wchar_t * DateToStr(time_t t);
const wchar_t * DateToStrWithoutHours(const tm * ptm);
const wchar_t * DateToStrWithoutHours(const tm & rtm);
const wchar_t * DateToStrWithoutHours(const PT::Date & d);
const wchar_t * DateToStrWithoutHours(time_t t);
const char * DateToStrCookie(int year, int month, int day, int hour, int min, int sec);
const char * DateToStrCookie(const tm * ptm);
const char * DateToStrCookie(const tm & rtm);
const char * DateToStrCookie(const PT::Date & d);
const char * DateToStrCookie(time_t t);
const wchar_t * IpToStr(unsigned int ip_);
@ -667,10 +665,6 @@ int SelectFileType(const wchar_t * file_name);
int SelectFileType(const std::wstring & file_name);
time_t Time(const tm & par);
time_t Time(const tm * par);
tm Time(time_t par);
template<class StringType>

@ -104,7 +104,7 @@ void Request::RequestStarts()
// value can be null
void Request::SetCookie(const char * name, const char * value, tm * expires)
void Request::SetCookie(const char * name, const char * value, PT::Date * expires)
{
headers << "Set-Cookie: " << name << "=";
@ -114,7 +114,7 @@ void Request::SetCookie(const char * name, const char * value, tm * expires)
headers << "\"\"";
if( expires )
headers << "; expires=" << DateToStrCookie(expires) << " GMT";
headers << "; expires=" << DateToStrCookie(*expires) << " GMT";
headers << "; path=/; domain=" << config->base_url << "\r\n";
@ -129,12 +129,12 @@ void Request::SetCookie(const char * name, const char * value, tm * expires)
void Request::SetCookie(const char * name, long value, tm * expires)
void Request::SetCookie(const char * name, long value, PT::Date * expires)
{
headers << "Set-Cookie: " << name << "=" << value;
if( expires )
headers << "; expires=" << DateToStrCookie(expires) << " GMT";
headers << "; expires=" << DateToStrCookie(*expires) << " GMT";
headers << "; path=/; domain=" << config->base_url << "\r\n";
}

@ -153,8 +153,8 @@ struct Request
const std::wstring & ParamValue(const wchar_t * param_name); // returns an empty string if there is no such a parameter
const std::wstring & ParamValue(const std::wstring & param_name); // returns an empty string if there is no such a parameter
void SetCookie(const char * name, const char * value, tm * expires = 0);
void SetCookie(const char * name, long value, tm * expires = 0);
void SetCookie(const char * name, const char * value, PT::Date * expires = 0);
void SetCookie(const char * name, long value, PT::Date * expires = 0);
bool IsPostVar(const wchar_t * var);
bool IsPostVar(const std::wstring & var);

@ -870,6 +870,7 @@ return status;
}
// !! IMPROVE ME will be removed or changed
time_t System::LocalTime(time_t gmt_time)
{
int time_offset;
@ -883,24 +884,18 @@ return gmt_time + (time_t)time_offset;
}
tm System::LocalTime(const tm * ptm)
// !! IMPROVE ME will be removed or changed
PT::Date System::LocalTime(const PT::Date & date)
{
time_t t;
tm rtm;
t = Time(ptm);
t = date.ToTime();
t = LocalTime(t);
rtm = Time(t);
return rtm;
return PT::Date(t);
}
tm System::LocalTime(const tm & ptm)
{
return LocalTime(&ptm);
}
/*

@ -135,9 +135,9 @@ public:
Error EditFile(Item & item, bool with_url = true, int notify_code = 0, bool call_plugins = true);
// converting GMT time to local time (different for each user)
time_t LocalTime(time_t gmt_time);
tm LocalTime(const tm * ptm);
tm LocalTime(const tm & ptm);
// !! IMPROVE ME will be removed or changed
time_t LocalTime(time_t gmt_time);
PT::Date LocalTime(const PT::Date & date);
int FollowLink(const std::vector<Item*> & current_dir_tab, const std::wstring & link_to,
std::vector<Item*> & out_dir_tab, Item & out_item);

@ -1,13 +0,0 @@
/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2010, Tomasz Sowa
* All rights reserved.
*
*/
#include "textstream.h"
#include "misc.h"

@ -2,7 +2,7 @@
db.o: db.h dbbase.h dbconn.h dbtextstream.h ../core/textstream.h
db.o: ../core/misc.h ../core/item.h ../../pikotools/space/space.h
db.o: ../core/requesttypes.h ../../pikotools/date/date.h ../core/error.h
db.o: ../../pikotools/date/date.h ../core/requesttypes.h ../core/error.h
db.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
db.o: dbitemquery.h ../core/item.h dbitemcolumns.h ../core/user.h
db.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -13,20 +13,21 @@ db.o: ../core/session.h ../core/user.h ../core/plugindata.h ../core/rebus.h
db.o: ../core/mount.h ../templates/locale.h ../core/log.h ../core/misc.h
dbbase.o: dbbase.h dbconn.h dbtextstream.h ../core/textstream.h
dbbase.o: ../core/misc.h ../core/item.h ../../pikotools/space/space.h
dbbase.o: ../core/requesttypes.h ../../pikotools/date/date.h ../core/error.h
dbbase.o: ../../pikotools/date/date.h ../core/requesttypes.h ../core/error.h
dbbase.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
dbbase.o: ../core/log.h ../core/misc.h ../../pikotools/utf8/utf8.h
dbconn.o: dbconn.h dbtextstream.h ../core/textstream.h ../core/misc.h
dbconn.o: ../core/item.h ../../pikotools/space/space.h ../core/requesttypes.h
dbconn.o: ../../pikotools/date/date.h ../core/log.h ../core/error.h
dbconn.o: ../core/item.h ../../pikotools/space/space.h
dbconn.o: ../../pikotools/date/date.h ../core/requesttypes.h ../core/log.h
dbconn.o: ../core/error.h
dbitemcolumns.o: dbitemcolumns.h ../core/item.h dbbase.h dbconn.h
dbitemcolumns.o: dbtextstream.h ../core/textstream.h ../core/misc.h
dbitemcolumns.o: ../core/item.h ../../pikotools/space/space.h
dbitemcolumns.o: ../core/requesttypes.h ../../pikotools/date/date.h
dbitemcolumns.o: ../../pikotools/date/date.h ../core/requesttypes.h
dbitemcolumns.o: ../core/error.h ../../pikotools/space/spaceparser.h
dbitemcolumns.o: ../../pikotools/space/space.h ../core/log.h
dbitemquery.o: dbitemquery.h ../core/item.h
dbtextstream.o: dbtextstream.h ../core/textstream.h ../core/misc.h
dbtextstream.o: ../core/item.h ../../pikotools/space/space.h
dbtextstream.o: ../core/requesttypes.h ../../pikotools/date/date.h
dbtextstream.o: ../../pikotools/date/date.h ../core/requesttypes.h
dbtextstream.o: ../../pikotools/utf8/utf8.h

@ -223,6 +223,14 @@ tm DbBase::AssertValueTm(PGresult * r, int row, int col)
}
PT::Date DbBase::AssertValueDate(PGresult * r, int row, int col)
{
PT::Date date = AssertValue(r, row, col);
return date;
}
bool DbBase::AssertValueSpace(PGresult * r, int row, int col, PT::Space & space, bool split_single)
{
const char * res = AssertValue(r, row, col);
@ -354,8 +362,6 @@ tm t;
t.tm_hour = Toi(str + 11); /* hours (0 - 23) */
t.tm_min = Toi(str + 14); /* minutes (0 - 59) */
t.tm_sec = Toi(str + 17); /* seconds (0 - 60) */
t = Time(Time(t));
// t.tm_wday = 0; /* day of week (Sunday = 0) */
// t.tm_yday = 0; /* day of year (0 - 365) */

@ -17,6 +17,8 @@
#include <string>
#include "core/error.h"
#include "space/spaceparser.h"
#include "date/date.h"
class DbBase
@ -49,6 +51,7 @@ public:
static unsigned long AssertValueULong(PGresult * r, int row, int col);
static unsigned int AssertValueUInt(PGresult * r, int row, int col);
static tm AssertValueTm(PGresult * r, int row, int col);
static PT::Date AssertValueDate(PGresult * r, int row, int col);
// non static assignments
bool AssertValueSpace(PGresult * r, int row, int col, PT::Space & space, bool split_single = true);

@ -588,12 +588,12 @@ return buffer;
DbTextStream & DbTextStream::operator<<(const PT::Space & space)
{
space_stream.Clear();
tmp_stream.Clear();
// !! IMPROVE ME
// we can calculate how much memory is needed before serializing
space.Serialize(space_stream, true, false);
operator<<(space_stream.Str());
space_stream.Clear();
space.Serialize(tmp_stream, true, false);
operator<<(tmp_stream.Str());
tmp_stream.Clear();
return *this;
}
@ -601,13 +601,10 @@ return *this;
DbTextStream & DbTextStream::operator<<(const PT::Date & date)
{
if( was_param )
buffer += ", ";
buffer += '\'';
date.Serialize(*this);
buffer += '\'';
was_param = true;
tmp_stream.Clear();
date.Serialize(tmp_stream);
operator<<(tmp_stream.Str());
tmp_stream.Clear();
return *this;
}

@ -163,9 +163,7 @@ private:
bool was_param;
bool ext_escape;
// a temporarily stream used when serializing spaces
TextStream<std::wstring> space_stream;
TextStream<std::wstring> tmp_stream;
};

@ -1,10 +1,10 @@
# DO NOT DELETE
adduser.o: adduser.h functionbase.h ../core/item.h
adduser.o: ../../pikotools/space/space.h ../db/db.h ../db/dbbase.h
adduser.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
adduser.o: ../core/misc.h ../core/item.h ../core/requesttypes.h
adduser.o: ../../pikotools/date/date.h ../core/error.h
adduser.o: ../../pikotools/space/space.h ../../pikotools/date/date.h
adduser.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
adduser.o: ../core/textstream.h ../core/misc.h ../core/item.h
adduser.o: ../core/requesttypes.h ../core/error.h
adduser.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
adduser.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
adduser.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -39,9 +39,9 @@ adduser.o: ../templates/indexpatterns.h ../templates/patterns.h
adduser.o: ../templates/changepatterns.h ../templates/htmltextstream.h
adduser.o: ../core/sessionmanager.h ../core/misc.h
cat.o: cat.h functionbase.h ../core/item.h ../../pikotools/space/space.h
cat.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
cat.o: ../core/textstream.h ../core/misc.h ../core/item.h
cat.o: ../core/requesttypes.h ../../pikotools/date/date.h ../core/error.h
cat.o: ../../pikotools/date/date.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
cat.o: ../db/dbtextstream.h ../core/textstream.h ../core/misc.h
cat.o: ../core/item.h ../core/requesttypes.h ../core/error.h
cat.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
cat.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
cat.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -68,9 +68,9 @@ cat.o: ../core/mountparser.h ../core/crypt.h ../core/users.h ../core/groups.h
cat.o: ../core/group.h ../core/loadavg.h ../core/image.h
cat.o: ../core/threadmanager.h ../core/synchro.h
chmod.o: chmod.h functionbase.h ../core/item.h ../../pikotools/space/space.h
chmod.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
chmod.o: ../core/textstream.h ../core/misc.h ../core/item.h
chmod.o: ../core/requesttypes.h ../../pikotools/date/date.h ../core/error.h
chmod.o: ../../pikotools/date/date.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
chmod.o: ../db/dbtextstream.h ../core/textstream.h ../core/misc.h
chmod.o: ../core/item.h ../core/requesttypes.h ../core/error.h
chmod.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
chmod.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
chmod.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -98,9 +98,9 @@ chmod.o: ../core/mountparser.h ../core/crypt.h ../core/users.h
chmod.o: ../core/groups.h ../core/group.h ../core/loadavg.h ../core/image.h
chmod.o: ../core/threadmanager.h ../core/synchro.h
chown.o: chown.h functionbase.h ../core/item.h ../../pikotools/space/space.h
chown.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
chown.o: ../core/textstream.h ../core/misc.h ../core/item.h
chown.o: ../core/requesttypes.h ../../pikotools/date/date.h ../core/error.h
chown.o: ../../pikotools/date/date.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
chown.o: ../db/dbtextstream.h ../core/textstream.h ../core/misc.h
chown.o: ../core/item.h ../core/requesttypes.h ../core/error.h
chown.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
chown.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
chown.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -128,10 +128,10 @@ chown.o: ../core/mountparser.h ../core/crypt.h ../core/users.h
chown.o: ../core/groups.h ../core/group.h ../core/loadavg.h ../core/image.h
chown.o: ../core/threadmanager.h ../core/synchro.h
ckeditor.o: ckeditor.h functionbase.h ../core/item.h
ckeditor.o: ../../pikotools/space/space.h ../db/db.h ../db/dbbase.h
ckeditor.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
ckeditor.o: ../core/misc.h ../core/item.h ../core/requesttypes.h
ckeditor.o: ../../pikotools/date/date.h ../core/error.h
ckeditor.o: ../../pikotools/space/space.h ../../pikotools/date/date.h
ckeditor.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
ckeditor.o: ../core/textstream.h ../core/misc.h ../core/item.h
ckeditor.o: ../core/requesttypes.h ../core/error.h
ckeditor.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
ckeditor.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
ckeditor.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -160,9 +160,9 @@ ckeditor.o: ../core/mountparser.h ../core/crypt.h ../core/users.h
ckeditor.o: ../core/groups.h ../core/group.h ../core/loadavg.h
ckeditor.o: ../core/image.h ../core/threadmanager.h ../core/synchro.h
cp.o: cp.h functionbase.h ../core/item.h ../../pikotools/space/space.h
cp.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
cp.o: ../core/textstream.h ../core/misc.h ../core/item.h
cp.o: ../core/requesttypes.h ../../pikotools/date/date.h ../core/error.h
cp.o: ../../pikotools/date/date.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
cp.o: ../db/dbtextstream.h ../core/textstream.h ../core/misc.h ../core/item.h
cp.o: ../core/requesttypes.h ../core/error.h
cp.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
cp.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
cp.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -195,10 +195,10 @@ cp.o: ../templates/patterncacher.h ../templates/indexpatterns.h
cp.o: ../templates/patterns.h ../templates/changepatterns.h
cp.o: ../templates/htmltextstream.h ../core/sessionmanager.h
default.o: default.h functionbase.h ../core/item.h
default.o: ../../pikotools/space/space.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
default.o: ../../pikotools/date/date.h ../core/error.h
default.o: ../../pikotools/space/space.h ../../pikotools/date/date.h
default.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
default.o: ../core/textstream.h ../core/misc.h ../core/item.h
default.o: ../core/requesttypes.h ../core/error.h
default.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
default.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
default.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -227,10 +227,10 @@ default.o: ../core/crypt.h ../core/users.h ../core/groups.h ../core/group.h
default.o: ../core/loadavg.h ../core/image.h ../core/threadmanager.h
default.o: ../core/synchro.h
download.o: download.h functionbase.h ../core/item.h
download.o: ../../pikotools/space/space.h ../db/db.h ../db/dbbase.h
download.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
download.o: ../core/misc.h ../core/item.h ../core/requesttypes.h
download.o: ../../pikotools/date/date.h ../core/error.h
download.o: ../../pikotools/space/space.h ../../pikotools/date/date.h
download.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
download.o: ../core/textstream.h ../core/misc.h ../core/item.h
download.o: ../core/requesttypes.h ../core/error.h
download.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
download.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
download.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -259,9 +259,9 @@ download.o: ../core/mountparser.h ../core/crypt.h ../core/users.h
download.o: ../core/groups.h ../core/group.h ../core/loadavg.h
download.o: ../core/image.h ../core/threadmanager.h ../core/synchro.h
emacs.o: emacs.h functionbase.h ../core/item.h ../../pikotools/space/space.h
emacs.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
emacs.o: ../core/textstream.h ../core/misc.h ../core/item.h
emacs.o: ../core/requesttypes.h ../../pikotools/date/date.h ../core/error.h
emacs.o: ../../pikotools/date/date.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
emacs.o: ../db/dbtextstream.h ../core/textstream.h ../core/misc.h
emacs.o: ../core/item.h ../core/requesttypes.h ../core/error.h
emacs.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
emacs.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
emacs.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -292,9 +292,9 @@ emacs.o: ../templates/patterncacher.h ../templates/indexpatterns.h
emacs.o: ../templates/patterns.h ../templates/changepatterns.h
emacs.o: ../templates/htmltextstream.h ../core/sessionmanager.h