added: winix functions: locale, timezone

changed: time zones -- now we have the daylight saving time
       different for each year (start, end)
added: config option: time_zone_id (size_t)
       time zone identifier for not logged users
       or for newly created accounts
       those identifiers you can see in etc/time_zones.conf file
       or by using timezone winix function with 'a' parameter (timezone/a) (!!IMPROVE ME NOT IMPLEMENTED YET)
       default: 34 (Coordinated Universal Time UTC+00:00)
added: config option: locale_default_id (size_t)
       locale for not logged users
       or for newly created accounts
added: config option: locale_max_id (size_t)
       a maximum value of a locale identifier
       default: 100 (maximum: 1000)
       each locale files should have its own identifier (in "winix_locale_id" field)
       from zero to this value
added: config option: time_zone_max_id (size_t)
       maximum value of a time zone identifier
       time zones with an id greater than this will be skipped
       default: 130 (maximum: 1000)
removed: config option: locale_default



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@852 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-06-26 23:19:19 +00:00
parent 54e6c07efc
commit b8ff5d4cfc
53 changed files with 4618 additions and 3053 deletions

View File

@@ -8,8 +8,7 @@ createthread.o: ../../core/textstream.h ../../core/misc.h ../../core/item.h
createthread.o: ../../core/requesttypes.h ../../core/error.h
createthread.o: ../../../pikotools/space/spaceparser.h
createthread.o: ../../../pikotools/space/space.h ../../db/dbitemquery.h
createthread.o: ../../db/dbitemcolumns.h ../../core/user.h
createthread.o: ../../core/timezone.h ../../core/group.h
createthread.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
createthread.o: ../../core/dircontainer.h ../../core/ugcontainer.h
createthread.o: ../../core/log.h ../../core/textstream.h
createthread.o: ../../core/logmanipulators.h ../../core/slog.h
@@ -34,8 +33,9 @@ createthread.o: ../../core/mounts.h ../../core/mountparser.h
createthread.o: ../../core/crypt.h ../../core/run.h ../../core/users.h
createthread.o: ../../core/groups.h ../../core/group.h ../../core/loadavg.h
createthread.o: ../../core/image.h ../../core/threadmanager.h
createthread.o: ../../core/timezones.h ../../core/synchro.h tdb.h thread.h
createthread.o: ../../db/dbbase.h threadinfo.h ../../functions/functions.h
createthread.o: ../../core/timezones.h ../../core/timezone.h
createthread.o: ../../core/synchro.h tdb.h thread.h ../../db/dbbase.h
createthread.o: threadinfo.h ../../functions/functions.h
createthread.o: ../../functions/functionbase.h
createthread.o: ../../functions/functionparser.h ../../core/cur.h
createthread.o: ../../functions/adduser.h ../../functions/cat.h
@@ -66,33 +66,32 @@ funthread.o: ../../db/dbconn.h ../../db/dbtextstream.h
funthread.o: ../../core/textstream.h ../../core/misc.h ../../core/error.h
funthread.o: ../../../pikotools/space/spaceparser.h
funthread.o: ../../../pikotools/space/space.h ../../db/dbitemquery.h
funthread.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/timezone.h
funthread.o: ../../core/group.h ../../core/dircontainer.h
funthread.o: ../../core/ugcontainer.h ../../core/log.h
funthread.o: ../../core/textstream.h ../../core/logmanipulators.h
funthread.o: ../../core/slog.h ../../core/cur.h ../../core/request.h
funthread.o: ../../core/error.h ../../core/config.h ../../core/htmlfilter.h
funthread.o: ../../templates/htmltextstream.h ../../core/session.h
funthread.o: ../../core/user.h ../../core/plugindata.h ../../core/rebus.h
funthread.o: ../../core/mount.h ../../templates/locale.h ../../core/request.h
funthread.o: ../../core/config.h ../../core/system.h ../../core/job.h
funthread.o: ../../core/basethread.h ../../core/synchro.h ../../core/dirs.h
funthread.o: ../../core/dircontainer.h ../../notify/notify.h
funthread.o: ../../notify/notifypool.h ../../templates/patterns.h
funthread.o: ../../templates/locale.h ../../templates/localefilter.h
funthread.o: ../../../ezc/src/ezc.h ../../../ezc/src/generator.h
funthread.o: ../../../ezc/src/pattern.h ../../../ezc/src/functions.h
funthread.o: ../../../ezc/src/funinfo.h ../../../ezc/src/stringconv.h
funthread.o: ../../../pikotools/utf8/utf8.h ../../notify/notifythread.h
funthread.o: ../../core/basethread.h ../../notify/templatesnotify.h
funthread.o: ../../core/users.h ../../core/ugcontainer.h
funthread.o: ../../core/lastcontainer.h ../../core/mounts.h
funthread.o: ../../core/mountparser.h ../../core/crypt.h ../../core/run.h
funthread.o: ../../core/users.h ../../core/groups.h ../../core/group.h
funthread.o: ../../core/loadavg.h ../../core/image.h
funthread.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
funthread.o: ../../core/dircontainer.h ../../core/ugcontainer.h
funthread.o: ../../core/log.h ../../core/textstream.h
funthread.o: ../../core/logmanipulators.h ../../core/slog.h ../../core/cur.h
funthread.o: ../../core/request.h ../../core/error.h ../../core/config.h
funthread.o: ../../core/htmlfilter.h ../../templates/htmltextstream.h
funthread.o: ../../core/session.h ../../core/user.h ../../core/plugindata.h
funthread.o: ../../core/rebus.h ../../core/mount.h ../../templates/locale.h
funthread.o: ../../core/request.h ../../core/config.h ../../core/system.h
funthread.o: ../../core/job.h ../../core/basethread.h ../../core/synchro.h
funthread.o: ../../core/dirs.h ../../core/dircontainer.h
funthread.o: ../../notify/notify.h ../../notify/notifypool.h
funthread.o: ../../templates/patterns.h ../../templates/locale.h
funthread.o: ../../templates/localefilter.h ../../../ezc/src/ezc.h
funthread.o: ../../../ezc/src/generator.h ../../../ezc/src/pattern.h
funthread.o: ../../../ezc/src/functions.h ../../../ezc/src/funinfo.h
funthread.o: ../../../ezc/src/stringconv.h ../../../pikotools/utf8/utf8.h
funthread.o: ../../notify/notifythread.h ../../core/basethread.h
funthread.o: ../../notify/templatesnotify.h ../../core/users.h
funthread.o: ../../core/ugcontainer.h ../../core/lastcontainer.h
funthread.o: ../../core/mounts.h ../../core/mountparser.h ../../core/crypt.h
funthread.o: ../../core/run.h ../../core/users.h ../../core/groups.h
funthread.o: ../../core/group.h ../../core/loadavg.h ../../core/image.h
funthread.o: ../../core/threadmanager.h ../../core/timezones.h
funthread.o: ../../core/synchro.h tdb.h thread.h ../../db/dbbase.h
funthread.o: threadinfo.h
funthread.o: ../../core/timezone.h ../../core/synchro.h tdb.h thread.h
funthread.o: ../../db/dbbase.h threadinfo.h
init.o: tdb.h thread.h ../../../pikotools/date/date.h ../../db/dbbase.h
init.o: ../../core/error.h reply.h ../../functions/functionbase.h
init.o: ../../core/item.h ../../../pikotools/space/space.h ../../db/db.h
@@ -100,9 +99,9 @@ init.o: ../../db/dbbase.h ../../db/dbconn.h ../../db/dbtextstream.h
init.o: ../../core/textstream.h ../../core/misc.h ../../core/item.h
init.o: ../../core/requesttypes.h ../../../pikotools/space/spaceparser.h
init.o: ../../../pikotools/space/space.h ../../db/dbitemquery.h
init.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/timezone.h
init.o: ../../core/group.h ../../core/dircontainer.h ../../core/ugcontainer.h
init.o: ../../core/log.h ../../core/textstream.h ../../core/logmanipulators.h
init.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
init.o: ../../core/dircontainer.h ../../core/ugcontainer.h ../../core/log.h
init.o: ../../core/textstream.h ../../core/logmanipulators.h
init.o: ../../core/slog.h ../../core/cur.h ../../core/request.h
init.o: ../../core/error.h ../../core/config.h ../../core/htmlfilter.h
init.o: ../../templates/htmltextstream.h ../../core/session.h
@@ -123,12 +122,13 @@ init.o: ../../core/lastcontainer.h ../../core/mounts.h
init.o: ../../core/mountparser.h ../../core/crypt.h ../../core/run.h
init.o: ../../core/users.h ../../core/groups.h ../../core/group.h
init.o: ../../core/loadavg.h ../../core/image.h ../../core/threadmanager.h
init.o: ../../core/timezones.h ../../core/synchro.h threadinfo.h funthread.h
init.o: createthread.h showthreads.h ../../core/log.h ../../core/plugin.h
init.o: pluginmsg.h ../../core/system.h ../../core/sessionmanager.h
init.o: ../../core/sessioncontainer.h ../../functions/functions.h
init.o: ../../functions/functionbase.h ../../functions/functionparser.h
init.o: ../../core/cur.h ../../functions/adduser.h ../../functions/cat.h
init.o: ../../core/timezones.h ../../core/timezone.h ../../core/synchro.h
init.o: threadinfo.h funthread.h createthread.h showthreads.h
init.o: ../../core/log.h ../../core/plugin.h pluginmsg.h ../../core/system.h
init.o: ../../core/sessionmanager.h ../../core/sessioncontainer.h
init.o: ../../functions/functions.h ../../functions/functionbase.h
init.o: ../../functions/functionparser.h ../../core/cur.h
init.o: ../../functions/adduser.h ../../functions/cat.h
init.o: ../../functions/chmod.h ../../functions/privchanger.h
init.o: ../../functions/chown.h ../../functions/ckeditor.h
init.o: ../../functions/cp.h ../../functions/default.h
@@ -156,17 +156,17 @@ reply.o: ../../db/dbtextstream.h ../../core/textstream.h ../../core/misc.h
reply.o: ../../core/item.h ../../core/requesttypes.h ../../core/error.h
reply.o: ../../../pikotools/space/spaceparser.h
reply.o: ../../../pikotools/space/space.h ../../db/dbitemquery.h
reply.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/timezone.h
reply.o: ../../core/group.h ../../core/dircontainer.h
reply.o: ../../core/ugcontainer.h ../../core/log.h ../../core/textstream.h
reply.o: ../../core/logmanipulators.h ../../core/slog.h ../../core/cur.h
reply.o: ../../core/request.h ../../core/error.h ../../core/config.h
reply.o: ../../core/htmlfilter.h ../../templates/htmltextstream.h
reply.o: ../../core/session.h ../../core/user.h ../../core/plugindata.h
reply.o: ../../core/rebus.h ../../core/mount.h ../../templates/locale.h
reply.o: ../../core/request.h ../../core/config.h ../../core/system.h
reply.o: ../../core/job.h ../../core/basethread.h ../../core/synchro.h
reply.o: ../../core/dirs.h ../../core/dircontainer.h ../../notify/notify.h
reply.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
reply.o: ../../core/dircontainer.h ../../core/ugcontainer.h ../../core/log.h
reply.o: ../../core/textstream.h ../../core/logmanipulators.h
reply.o: ../../core/slog.h ../../core/cur.h ../../core/request.h
reply.o: ../../core/error.h ../../core/config.h ../../core/htmlfilter.h
reply.o: ../../templates/htmltextstream.h ../../core/session.h
reply.o: ../../core/user.h ../../core/plugindata.h ../../core/rebus.h
reply.o: ../../core/mount.h ../../templates/locale.h ../../core/request.h
reply.o: ../../core/config.h ../../core/system.h ../../core/job.h
reply.o: ../../core/basethread.h ../../core/synchro.h ../../core/dirs.h
reply.o: ../../core/dircontainer.h ../../notify/notify.h
reply.o: ../../notify/notifypool.h ../../templates/patterns.h
reply.o: ../../templates/locale.h ../../templates/localefilter.h
reply.o: ../../../ezc/src/ezc.h ../../../ezc/src/generator.h
@@ -179,10 +179,11 @@ reply.o: ../../core/lastcontainer.h ../../core/mounts.h
reply.o: ../../core/mountparser.h ../../core/crypt.h ../../core/run.h
reply.o: ../../core/users.h ../../core/groups.h ../../core/group.h
reply.o: ../../core/loadavg.h ../../core/image.h ../../core/threadmanager.h
reply.o: ../../core/timezones.h ../../core/synchro.h tdb.h thread.h
reply.o: ../../db/dbbase.h threadinfo.h ../../functions/functions.h
reply.o: ../../functions/functionbase.h ../../functions/functionparser.h
reply.o: ../../core/cur.h ../../functions/adduser.h ../../functions/cat.h
reply.o: ../../core/timezones.h ../../core/timezone.h ../../core/synchro.h
reply.o: tdb.h thread.h ../../db/dbbase.h threadinfo.h
reply.o: ../../functions/functions.h ../../functions/functionbase.h
reply.o: ../../functions/functionparser.h ../../core/cur.h
reply.o: ../../functions/adduser.h ../../functions/cat.h
reply.o: ../../functions/chmod.h ../../functions/privchanger.h
reply.o: ../../functions/chown.h ../../functions/ckeditor.h
reply.o: ../../functions/cp.h ../../functions/default.h
@@ -213,8 +214,7 @@ showthreads.o: ../../core/textstream.h ../../core/misc.h ../../core/item.h
showthreads.o: ../../core/requesttypes.h ../../core/error.h
showthreads.o: ../../../pikotools/space/spaceparser.h
showthreads.o: ../../../pikotools/space/space.h ../../db/dbitemquery.h
showthreads.o: ../../db/dbitemcolumns.h ../../core/user.h
showthreads.o: ../../core/timezone.h ../../core/group.h
showthreads.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
showthreads.o: ../../core/dircontainer.h ../../core/ugcontainer.h
showthreads.o: ../../core/log.h ../../core/textstream.h
showthreads.o: ../../core/logmanipulators.h ../../core/slog.h
@@ -239,8 +239,9 @@ showthreads.o: ../../core/mounts.h ../../core/mountparser.h
showthreads.o: ../../core/crypt.h ../../core/run.h ../../core/users.h
showthreads.o: ../../core/groups.h ../../core/group.h ../../core/loadavg.h
showthreads.o: ../../core/image.h ../../core/threadmanager.h
showthreads.o: ../../core/timezones.h ../../core/synchro.h tdb.h thread.h
showthreads.o: ../../db/dbbase.h threadinfo.h
showthreads.o: ../../core/timezones.h ../../core/timezone.h
showthreads.o: ../../core/synchro.h tdb.h thread.h ../../db/dbbase.h
showthreads.o: threadinfo.h
tdb.o: tdb.h thread.h ../../../pikotools/date/date.h ../../db/dbbase.h
tdb.o: ../../core/error.h ../../core/log.h
templates.o: threadinfo.h ../../core/item.h ../../../pikotools/space/space.h
@@ -252,15 +253,14 @@ templates.o: ../../db/dbtextstream.h ../../core/textstream.h
templates.o: ../../core/misc.h ../../core/requesttypes.h ../../core/error.h
templates.o: ../../../pikotools/space/spaceparser.h
templates.o: ../../../pikotools/space/space.h ../../db/dbitemquery.h
templates.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/timezone.h
templates.o: ../../core/group.h ../../core/dircontainer.h
templates.o: ../../core/ugcontainer.h ../../core/log.h
templates.o: ../../core/textstream.h ../../core/logmanipulators.h
templates.o: ../../core/slog.h ../../core/cur.h ../../core/request.h
templates.o: ../../core/error.h ../../core/config.h ../../core/htmlfilter.h
templates.o: ../../templates/htmltextstream.h ../../core/session.h
templates.o: ../../core/user.h ../../core/plugindata.h ../../core/rebus.h
templates.o: ../../core/mount.h ../../templates/locale.h
templates.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
templates.o: ../../core/dircontainer.h ../../core/ugcontainer.h
templates.o: ../../core/log.h ../../core/textstream.h
templates.o: ../../core/logmanipulators.h ../../core/slog.h ../../core/cur.h
templates.o: ../../core/request.h ../../core/error.h ../../core/config.h
templates.o: ../../core/htmlfilter.h ../../templates/htmltextstream.h
templates.o: ../../core/session.h ../../core/user.h ../../core/plugindata.h
templates.o: ../../core/rebus.h ../../core/mount.h ../../templates/locale.h
templates.o: ../../notify/notify.h ../../notify/notifypool.h
templates.o: ../../templates/patterns.h ../../templates/locale.h
templates.o: ../../templates/localefilter.h ../../../ezc/src/ezc.h
@@ -274,15 +274,15 @@ templates.o: ../../core/lastcontainer.h ../../core/mounts.h
templates.o: ../../core/mountparser.h ../../core/crypt.h ../../core/run.h
templates.o: ../../core/users.h ../../core/groups.h ../../core/group.h
templates.o: ../../core/loadavg.h ../../core/image.h
templates.o: ../../core/threadmanager.h ../../core/timezones.h thread.h tdb.h
templates.o: ../../db/dbbase.h reply.h ../../functions/functionbase.h
templates.o: ../../core/request.h ../../core/synchro.h funthread.h
templates.o: createthread.h showthreads.h ../../core/misc.h
templates.o: ../../core/plugin.h pluginmsg.h ../../core/system.h
templates.o: ../../core/sessionmanager.h ../../core/sessioncontainer.h
templates.o: ../../functions/functions.h ../../functions/functionbase.h
templates.o: ../../functions/functionparser.h ../../core/cur.h
templates.o: ../../functions/adduser.h ../../functions/cat.h
templates.o: ../../core/threadmanager.h ../../core/timezones.h
templates.o: ../../core/timezone.h thread.h tdb.h ../../db/dbbase.h reply.h
templates.o: ../../functions/functionbase.h ../../core/request.h
templates.o: ../../core/synchro.h funthread.h createthread.h showthreads.h
templates.o: ../../core/misc.h ../../core/plugin.h pluginmsg.h
templates.o: ../../core/system.h ../../core/sessionmanager.h
templates.o: ../../core/sessioncontainer.h ../../functions/functions.h
templates.o: ../../functions/functionbase.h ../../functions/functionparser.h
templates.o: ../../core/cur.h ../../functions/adduser.h ../../functions/cat.h
templates.o: ../../functions/chmod.h ../../functions/privchanger.h
templates.o: ../../functions/chown.h ../../functions/ckeditor.h
templates.o: ../../functions/cp.h ../../functions/default.h
@@ -314,8 +314,7 @@ threadinfo.o: ../../db/dbtextstream.h ../../core/textstream.h
threadinfo.o: ../../core/misc.h ../../core/requesttypes.h ../../core/error.h
threadinfo.o: ../../../pikotools/space/spaceparser.h
threadinfo.o: ../../../pikotools/space/space.h ../../db/dbitemquery.h
threadinfo.o: ../../db/dbitemcolumns.h ../../core/user.h
threadinfo.o: ../../core/timezone.h ../../core/group.h
threadinfo.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
threadinfo.o: ../../core/dircontainer.h ../../core/ugcontainer.h
threadinfo.o: ../../core/log.h ../../core/textstream.h
threadinfo.o: ../../core/logmanipulators.h ../../core/slog.h ../../core/cur.h
@@ -336,5 +335,5 @@ threadinfo.o: ../../core/lastcontainer.h ../../core/mounts.h
threadinfo.o: ../../core/mountparser.h ../../core/crypt.h ../../core/run.h
threadinfo.o: ../../core/users.h ../../core/groups.h ../../core/group.h
threadinfo.o: ../../core/loadavg.h ../../core/image.h
threadinfo.o: ../../core/threadmanager.h ../../core/timezones.h thread.h
threadinfo.o: tdb.h ../../db/dbbase.h
threadinfo.o: ../../core/threadmanager.h ../../core/timezones.h
threadinfo.o: ../../core/timezone.h thread.h tdb.h ../../db/dbbase.h