changed: the way of building

core.a content.a templates.a confparser.a have gone away
	 there is only: cmslu.a now (in the global directory 'cmslu')
changed: the way of building
         in Makefile(s) we dont longer use explicitly a variable 'o = file1.o file2.o...'
	 it was put into Makefile.o.dep and is generated automatically 
         when 'make depend' is invoked
changed: some #include "..." directives were put from *.h to *.cpp files
         fewer dependences


git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@501 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Tomasz Sowa 2009-04-21 20:50:55 +00:00
parent f46677dfc0
commit 2dd3fc7df8
105 changed files with 647 additions and 809 deletions

View File

@ -1,36 +1,24 @@
# Makefile for GNU make # Makefile for GNU make
ifndef CC ifndef CXX
CC = g++ CXX = g++
export CC export CXX
endif endif
ifndef CFLAGS ifndef CXXFLAGS
CFLAGS = -Wall -pedantic -g -I/usr/local/include -L/usr/local/lib CXXFLAGS = -Wall -pedantic -g -I/usr/local/include -L/usr/local/lib
export CFLAGS export CXXFLAGS
endif endif
all: cmslu.a
all: core content confparser templates cmslu.a: FORCE
cp core/core.a ./
cp content/content.a ./
cp confparser/confparser.a ./
cp templates/templates.a ./
core: FORCE
@cd core ; $(MAKE) -e @cd core ; $(MAKE) -e
content: FORCE
@cd content ; $(MAKE) -e @cd content ; $(MAKE) -e
confparser: FORCE
@cd confparser ; $(MAKE) -e @cd confparser ; $(MAKE) -e
templates: FORCE
@cd templates ; $(MAKE) -e @cd templates ; $(MAKE) -e
ar rcs cmslu.a core/*.o content/*.o templates/*.o confparser/*.o
clean: clean:
@ -38,13 +26,12 @@ clean:
@cd content ; $(MAKE) -e clean @cd content ; $(MAKE) -e clean
@cd confparser ; $(MAKE) -e clean @cd confparser ; $(MAKE) -e clean
@cd templates ; $(MAKE) -e clean @cd templates ; $(MAKE) -e clean
rm -f *.a rm -f cmslu.a
FORCE: FORCE:
depend: depend:
@cd core ; $(MAKE) -e depend @cd core ; $(MAKE) -e depend
@cd content ; $(MAKE) -e depend @cd content ; $(MAKE) -e depend

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
@ -11,13 +11,6 @@
#define headerfileappcontent #define headerfileappcontent
#include "../core/log.h"
#include "../core/data.h"
#include "../core/function.h"
#include "../core/log.h"
namespace AppContent namespace AppContent
{ {

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
@ -12,8 +12,7 @@
#include "../../ezc/src/ezc.h" #include "../../ezc/src/ezc.h"
#include "../core/log.h"
#include "../core/data.h"
namespace AppTemplateFunctions namespace AppTemplateFunctions
{ {

View File

@ -1,29 +1,22 @@
o = confparser.o include Makefile.o.dep
all: $(o)
all: confparser.a
confparser.a: $(o)
ar rcs confparser.a $(o)
.SUFFIXES: .cpp .o .SUFFIXES: .cpp .o
.cpp.o: .cpp.o:
$(CC) -c $(CFLAGS) $< $(CXX) -c $(CXXFLAGS) $<
depend: depend:
makedepend $(DEPMACROS) -Y. -f- *.cpp > Makefile.dep makedepend $(DEPMACROS) -Y. -f- *.cpp > Makefile.dep
echo -n "o = " > Makefile.o.dep
ls -1 *.cpp | xargs -I foo echo -n foo " " | sed -E "s/([^\.]*)\.cpp[ ]/\1\.o/g" >> Makefile.o.dep
clean: clean:
rm -f *.o rm -f *.o
rm -f *.a
include Makefile.dep include Makefile.dep

1
confparser/Makefile.o.dep Executable file
View File

@ -0,0 +1 @@
o = confparser.o

View File

@ -1,26 +1,22 @@
o = content.o priv.o emacs.o login.o rm.o cat.o logout.o ls.o node.o mkdir.o default.o run.o last.o who.o thread.o createthread.o include Makefile.o.dep
all: content.a all: $(o)
content.a: $(o)
ar rcs content.a $(o)
.SUFFIXES: .cpp .o .SUFFIXES: .cpp .o
.cpp.o: .cpp.o:
$(CC) -c $(CFLAGS) $< $(CXX) -c $(CXXFLAGS) $<
depend: depend:
makedepend $(DEPMACROS) -Y. -f- *.cpp > Makefile.dep makedepend $(DEPMACROS) -Y. -f- *.cpp > Makefile.dep
echo -n "o = " > Makefile.o.dep
ls -1 *.cpp | xargs -I foo echo -n foo " " | sed -E "s/([^\.]*)\.cpp[ ]/\1\.o/g" >> Makefile.o.dep
clean: clean:
rm -f *.o rm -f *.o
rm -f *.a
include Makefile.dep include Makefile.dep

View File

@ -1,241 +1,120 @@
# DO NOT DELETE # DO NOT DELETE
cat.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h cat.o: content.h ../core/item.h ../templates/templates.h ../../ezc/src/ezc.h
cat.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h cat.o: ../templates/patterncacher.h ../app/templates.h ../core/request.h
cat.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h cat.o: ../core/requesttypes.h ../core/session.h ../core/done.h ../core/item.h
cat.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h ../core/users.h cat.o: ../core/error.h ../core/log.h ../core/user.h ../core/function.h
cat.o: ../core/groups.h ../core/functions.h ../core/function.h cat.o: ../core/thread.h ../core/error.h
cat.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h content.o: content.h ../core/item.h ../templates/templates.h
cat.o: ../core/mount.h ../core/request.h ../core/requesttypes.h content.o: ../../ezc/src/ezc.h ../templates/patterncacher.h
cat.o: ../core/session.h ../core/done.h ../core/getparser.h content.o: ../app/templates.h ../core/request.h ../core/requesttypes.h
cat.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h content.o: ../core/session.h ../core/done.h ../core/item.h ../core/error.h
cat.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h content.o: ../core/log.h ../core/user.h ../core/function.h ../core/thread.h
cat.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h content.o: ../core/error.h ../core/db.h ../core/group.h
cat.o: ../core/groups.h ../core/log.h ../templates/patterncacher.h content.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/data.h
cat.o: ../app/templates.h ../core/misc.h ../core/function.h content.o: ../core/dirs.h ../core/users.h ../core/groups.h
cat.o: ../core/functionparser.h ../core/data.h ../app/content.h content.o: ../core/functions.h ../core/lastcontainer.h ../core/mounts.h
content.o: content.h ../templates/templates.h ../../ezc/src/ezc.h content.o: ../core/mount.h
content.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h createthread.o: content.h ../core/item.h ../templates/templates.h
content.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h createthread.o: ../../ezc/src/ezc.h ../templates/patterncacher.h
content.o: ../core/user.h ../core/group.h ../core/ugcontainer.h createthread.o: ../app/templates.h ../core/request.h ../core/requesttypes.h
content.o: ../core/thread.h ../core/users.h ../core/groups.h createthread.o: ../core/session.h ../core/done.h ../core/item.h
content.o: ../core/functions.h ../core/function.h createthread.o: ../core/error.h ../core/log.h ../core/user.h
content.o: ../core/functioncodeparser.h ../core/lastcontainer.h createthread.o: ../core/function.h ../core/thread.h ../core/error.h
content.o: ../core/mounts.h ../core/mount.h ../core/request.h createthread.o: ../core/db.h ../core/group.h ../core/dircontainer.h
content.o: ../core/requesttypes.h ../core/session.h ../core/done.h createthread.o: ../core/ugcontainer.h ../core/mount.h ../core/data.h
content.o: ../core/getparser.h ../core/httpsimpleparser.h createthread.o: ../core/dirs.h ../core/users.h ../core/groups.h
content.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h createthread.o: ../core/functions.h ../core/lastcontainer.h ../core/mounts.h
content.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h createthread.o: ../core/mount.h
content.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h default.o: content.h ../core/item.h ../templates/templates.h
content.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h default.o: ../../ezc/src/ezc.h ../templates/patterncacher.h
content.o: ../core/misc.h ../core/function.h ../core/functionparser.h default.o: ../app/templates.h ../core/request.h ../core/requesttypes.h
content.o: ../core/data.h ../app/content.h default.o: ../core/session.h ../core/done.h ../core/item.h ../core/error.h
createthread.o: content.h ../templates/templates.h ../../ezc/src/ezc.h default.o: ../core/log.h ../core/user.h ../core/function.h ../core/thread.h
createthread.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h default.o: ../core/error.h ../core/db.h ../core/group.h
createthread.o: ../core/error.h ../core/dirs.h ../core/db.h default.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/data.h
createthread.o: ../core/dircontainer.h ../core/user.h ../core/group.h default.o: ../core/dirs.h ../core/users.h ../core/groups.h
createthread.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h default.o: ../core/functions.h ../core/lastcontainer.h ../core/mounts.h
createthread.o: ../core/groups.h ../core/functions.h ../core/function.h default.o: ../core/mount.h
createthread.o: ../core/functioncodeparser.h ../core/lastcontainer.h emacs.o: content.h ../core/item.h ../templates/templates.h
createthread.o: ../core/mounts.h ../core/mount.h ../core/request.h emacs.o: ../../ezc/src/ezc.h ../templates/patterncacher.h ../app/templates.h
createthread.o: ../core/requesttypes.h ../core/session.h ../core/done.h
createthread.o: ../core/getparser.h ../core/httpsimpleparser.h
createthread.o: ../core/postparser.h ../core/cookieparser.h
createthread.o: ../core/mountparser.h ../core/request.h ../core/item.h
createthread.o: ../core/db.h ../core/error.h ../core/user.h ../core/group.h
createthread.o: ../core/users.h ../core/groups.h ../core/log.h
createthread.o: ../templates/patterncacher.h ../app/templates.h
createthread.o: ../core/misc.h ../core/function.h ../core/functionparser.h
createthread.o: ../core/data.h ../app/content.h
default.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
default.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
default.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
default.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
default.o: ../core/thread.h ../core/users.h ../core/groups.h
default.o: ../core/functions.h ../core/function.h
default.o: ../core/functioncodeparser.h ../core/lastcontainer.h
default.o: ../core/mounts.h ../core/mount.h ../core/request.h
default.o: ../core/requesttypes.h ../core/session.h ../core/done.h
default.o: ../core/getparser.h ../core/httpsimpleparser.h
default.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
default.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
default.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
default.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
default.o: ../core/misc.h ../core/function.h ../core/functionparser.h
default.o: ../core/data.h ../app/content.h
emacs.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
emacs.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
emacs.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
emacs.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
emacs.o: ../core/thread.h ../core/users.h ../core/groups.h
emacs.o: ../core/functions.h ../core/function.h ../core/functioncodeparser.h
emacs.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
emacs.o: ../core/request.h ../core/requesttypes.h ../core/session.h emacs.o: ../core/request.h ../core/requesttypes.h ../core/session.h
emacs.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h emacs.o: ../core/done.h ../core/item.h ../core/error.h ../core/log.h
emacs.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h emacs.o: ../core/user.h ../core/function.h ../core/thread.h ../core/error.h
emacs.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h emacs.o: ../core/misc.h ../core/db.h ../core/group.h ../core/dircontainer.h
emacs.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h emacs.o: ../core/ugcontainer.h ../core/data.h ../core/dirs.h ../core/users.h
emacs.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h emacs.o: ../core/groups.h ../core/functions.h ../core/lastcontainer.h
emacs.o: ../core/misc.h ../core/function.h ../core/functionparser.h emacs.o: ../core/mounts.h ../core/mount.h
emacs.o: ../core/data.h ../app/content.h last.o: content.h ../core/item.h ../templates/templates.h ../../ezc/src/ezc.h
last.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h last.o: ../templates/patterncacher.h ../app/templates.h
last.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h login.o: content.h ../core/item.h ../templates/templates.h
last.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h login.o: ../../ezc/src/ezc.h ../templates/patterncacher.h ../app/templates.h
last.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h
last.o: ../core/users.h ../core/groups.h ../core/functions.h
last.o: ../core/function.h ../core/functioncodeparser.h
last.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
last.o: ../core/request.h ../core/requesttypes.h ../core/session.h
last.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
last.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
last.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
last.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
last.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
last.o: ../core/misc.h ../core/function.h ../core/functionparser.h
last.o: ../core/data.h ../app/content.h
login.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
login.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
login.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
login.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
login.o: ../core/thread.h ../core/users.h ../core/groups.h
login.o: ../core/functions.h ../core/function.h ../core/functioncodeparser.h
login.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
login.o: ../core/request.h ../core/requesttypes.h ../core/session.h login.o: ../core/request.h ../core/requesttypes.h ../core/session.h
login.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h login.o: ../core/done.h ../core/item.h ../core/error.h ../core/log.h
login.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h login.o: ../core/user.h ../core/function.h ../core/thread.h ../core/error.h
login.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h login.o: ../core/db.h ../core/group.h ../core/dircontainer.h
login.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h login.o: ../core/ugcontainer.h ../core/data.h ../core/dirs.h ../core/users.h
login.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h login.o: ../core/groups.h ../core/functions.h ../core/lastcontainer.h
login.o: ../core/misc.h ../core/function.h ../core/functionparser.h login.o: ../core/mounts.h ../core/mount.h
login.o: ../core/data.h ../app/content.h logout.o: content.h ../core/item.h ../templates/templates.h
logout.o: content.h ../templates/templates.h ../../ezc/src/ezc.h logout.o: ../../ezc/src/ezc.h ../templates/patterncacher.h ../app/templates.h
logout.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
logout.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
logout.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
logout.o: ../core/thread.h ../core/users.h ../core/groups.h
logout.o: ../core/functions.h ../core/function.h ../core/functioncodeparser.h
logout.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
logout.o: ../core/request.h ../core/requesttypes.h ../core/session.h logout.o: ../core/request.h ../core/requesttypes.h ../core/session.h
logout.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h logout.o: ../core/done.h ../core/item.h ../core/error.h ../core/log.h
logout.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h logout.o: ../core/user.h ../core/function.h ../core/thread.h ../core/data.h
logout.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h logout.o: ../core/dirs.h ../core/dircontainer.h ../core/users.h
logout.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h logout.o: ../core/ugcontainer.h ../core/groups.h ../core/group.h
logout.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h logout.o: ../core/functions.h ../core/lastcontainer.h ../core/mounts.h
logout.o: ../core/misc.h ../core/function.h ../core/functionparser.h logout.o: ../core/mount.h
logout.o: ../core/data.h ../app/content.h ls.o: content.h ../core/item.h ../templates/templates.h ../../ezc/src/ezc.h
ls.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h ls.o: ../templates/patterncacher.h ../app/templates.h ../core/request.h
ls.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h ls.o: ../core/requesttypes.h ../core/session.h ../core/done.h ../core/item.h
ls.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h ls.o: ../core/error.h ../core/log.h ../core/user.h ../core/function.h
ls.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h ../core/users.h ls.o: ../core/thread.h ../core/db.h ../core/group.h ../core/dircontainer.h
ls.o: ../core/groups.h ../core/functions.h ../core/function.h ls.o: ../core/ugcontainer.h
ls.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h mkdir.o: content.h ../core/item.h ../templates/templates.h
ls.o: ../core/mount.h ../core/request.h ../core/requesttypes.h mkdir.o: ../../ezc/src/ezc.h ../templates/patterncacher.h ../app/templates.h
ls.o: ../core/session.h ../core/done.h ../core/getparser.h
ls.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
ls.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h
ls.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h
ls.o: ../core/groups.h ../core/log.h ../templates/patterncacher.h
ls.o: ../app/templates.h ../core/misc.h ../core/function.h
ls.o: ../core/functionparser.h ../core/data.h ../app/content.h
mkdir.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
mkdir.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
mkdir.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
mkdir.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
mkdir.o: ../core/thread.h ../core/users.h ../core/groups.h
mkdir.o: ../core/functions.h ../core/function.h ../core/functioncodeparser.h
mkdir.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
mkdir.o: ../core/request.h ../core/requesttypes.h ../core/session.h mkdir.o: ../core/request.h ../core/requesttypes.h ../core/session.h
mkdir.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h mkdir.o: ../core/done.h ../core/item.h ../core/error.h ../core/log.h
mkdir.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h mkdir.o: ../core/user.h ../core/function.h ../core/thread.h ../core/error.h
mkdir.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h mkdir.o: ../core/db.h ../core/group.h ../core/dircontainer.h
mkdir.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h mkdir.o: ../core/ugcontainer.h ../core/data.h ../core/dirs.h ../core/users.h
mkdir.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h mkdir.o: ../core/groups.h ../core/functions.h ../core/lastcontainer.h
mkdir.o: ../core/misc.h ../core/function.h ../core/functionparser.h mkdir.o: ../core/mounts.h ../core/mount.h
mkdir.o: ../core/data.h ../app/content.h node.o: content.h ../core/item.h ../templates/templates.h ../../ezc/src/ezc.h
node.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h node.o: ../templates/patterncacher.h ../app/templates.h ../core/request.h
node.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h node.o: ../core/requesttypes.h ../core/session.h ../core/done.h
node.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h node.o: ../core/item.h ../core/error.h ../core/log.h ../core/user.h
node.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h node.o: ../core/function.h ../core/thread.h
node.o: ../core/users.h ../core/groups.h ../core/functions.h priv.o: content.h ../core/item.h ../templates/templates.h ../../ezc/src/ezc.h
node.o: ../core/function.h ../core/functioncodeparser.h priv.o: ../templates/patterncacher.h ../app/templates.h ../core/request.h
node.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h priv.o: ../core/requesttypes.h ../core/session.h ../core/done.h
node.o: ../core/request.h ../core/requesttypes.h ../core/session.h priv.o: ../core/item.h ../core/error.h ../core/log.h ../core/user.h
node.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h priv.o: ../core/function.h ../core/thread.h ../core/error.h ../core/db.h
node.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h priv.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
node.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h priv.o: ../core/data.h ../core/dirs.h ../core/users.h ../core/groups.h
node.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h priv.o: ../core/functions.h ../core/lastcontainer.h ../core/mounts.h
node.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h priv.o: ../core/mount.h
node.o: ../core/misc.h ../core/function.h ../core/functionparser.h rm.o: content.h ../core/item.h ../templates/templates.h ../../ezc/src/ezc.h
node.o: ../core/data.h ../app/content.h rm.o: ../templates/patterncacher.h ../app/templates.h ../core/request.h
priv.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h rm.o: ../core/requesttypes.h ../core/session.h ../core/done.h ../core/item.h
priv.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h rm.o: ../core/error.h ../core/log.h ../core/user.h ../core/function.h
priv.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h rm.o: ../core/thread.h ../core/error.h ../core/db.h ../core/group.h
priv.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h rm.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/data.h
priv.o: ../core/users.h ../core/groups.h ../core/functions.h rm.o: ../core/dirs.h ../core/users.h ../core/groups.h ../core/functions.h
priv.o: ../core/function.h ../core/functioncodeparser.h rm.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
priv.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h run.o: content.h ../core/item.h ../templates/templates.h ../../ezc/src/ezc.h
priv.o: ../core/request.h ../core/requesttypes.h ../core/session.h run.o: ../templates/patterncacher.h ../app/templates.h ../core/request.h
priv.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h run.o: ../core/requesttypes.h ../core/session.h ../core/done.h ../core/item.h
priv.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h run.o: ../core/error.h ../core/log.h ../core/user.h ../core/function.h
priv.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h run.o: ../core/thread.h ../core/error.h
priv.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h thread.o: content.h ../core/item.h ../templates/templates.h
priv.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h thread.o: ../../ezc/src/ezc.h ../templates/patterncacher.h ../app/templates.h
priv.o: ../core/misc.h ../core/function.h ../core/functionparser.h
priv.o: ../core/data.h ../app/content.h
rm.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
rm.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
rm.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
rm.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h ../core/users.h
rm.o: ../core/groups.h ../core/functions.h ../core/function.h
rm.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
rm.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
rm.o: ../core/session.h ../core/done.h ../core/getparser.h
rm.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
rm.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h
rm.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h
rm.o: ../core/groups.h ../core/log.h ../templates/patterncacher.h
rm.o: ../app/templates.h ../core/misc.h ../core/function.h
rm.o: ../core/functionparser.h ../core/data.h ../app/content.h
run.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
run.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
run.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
run.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h ../core/users.h
run.o: ../core/groups.h ../core/functions.h ../core/function.h
run.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
run.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
run.o: ../core/session.h ../core/done.h ../core/getparser.h
run.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
run.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h
run.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h
run.o: ../core/groups.h ../core/log.h ../templates/patterncacher.h
run.o: ../app/templates.h ../core/misc.h ../core/function.h
run.o: ../core/functionparser.h ../core/data.h ../app/content.h
thread.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
thread.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
thread.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
thread.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
thread.o: ../core/thread.h ../core/users.h ../core/groups.h
thread.o: ../core/functions.h ../core/function.h ../core/functioncodeparser.h
thread.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
thread.o: ../core/request.h ../core/requesttypes.h ../core/session.h thread.o: ../core/request.h ../core/requesttypes.h ../core/session.h
thread.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h thread.o: ../core/done.h ../core/item.h ../core/error.h ../core/log.h
thread.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h thread.o: ../core/user.h ../core/function.h ../core/thread.h ../core/db.h
thread.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h thread.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
thread.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h thread.o: ../core/data.h ../core/dirs.h ../core/users.h ../core/groups.h
thread.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h thread.o: ../core/functions.h ../core/lastcontainer.h ../core/mounts.h
thread.o: ../core/misc.h ../core/function.h ../core/functionparser.h thread.o: ../core/mount.h ../core/mount.h
thread.o: ../core/data.h ../app/content.h who.o: content.h ../core/item.h ../templates/templates.h ../../ezc/src/ezc.h
who.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h who.o: ../templates/patterncacher.h ../app/templates.h
who.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
who.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
who.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h ../core/users.h
who.o: ../core/groups.h ../core/functions.h ../core/function.h
who.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
who.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
who.o: ../core/session.h ../core/done.h ../core/getparser.h
who.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
who.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h
who.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h
who.o: ../core/groups.h ../core/log.h ../templates/patterncacher.h
who.o: ../app/templates.h ../core/misc.h ../core/function.h
who.o: ../core/functionparser.h ../core/data.h ../app/content.h

1
content/Makefile.o.dep Executable file
View File

@ -0,0 +1 @@
o = cat.o content.o createthread.o default.o emacs.o last.o login.o logout.o ls.o mkdir.o node.o priv.o rm.o run.o thread.o who.o

View File

@ -2,18 +2,14 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "content.h" #include "content.h"
#include "../core/request.h"
#include "../core/error.h"

View File

@ -2,12 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "content.h" #include "content.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/db.h"
#include "../core/data.h"

View File

@ -2,27 +2,20 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilecontent #ifndef headerfilecmslucontentcontent
#define headerfilecontent #define headerfilecmslucontentcontent
#include <cstdlib> #include <cstdlib>
#include <fcgiapp.h> #include <fcgiapp.h>
#include <ctime> #include <ctime>
#include "../core/item.h"
#include "../templates/templates.h" #include "../templates/templates.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/misc.h"
#include "../core/db.h"
#include "../core/user.h"
#include "../core/function.h"
#include "../core/functionparser.h"
class Content class Content

View File

@ -2,13 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "content.h" #include "content.h"
#include "../app/content.h" #include "../core/request.h"
#include "../core/error.h"
#include "../core/db.h"
#include "../core/mount.h"
#include "../core/data.h"

View File

@ -2,12 +2,16 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "content.h" #include "content.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/db.h"
#include "../core/data.h"

View File

@ -2,12 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "content.h" #include "content.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/misc.h"
#include "../core/db.h"
#include "../core/data.h"

View File

@ -2,18 +2,12 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "content.h" #include "content.h"
#include "../app/content.h"

View File

@ -2,14 +2,20 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "content.h"
#include <arpa/inet.h> #include <arpa/inet.h>
#include "content.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/db.h"
#include "../core/data.h"
/* /*
void Content::PostFunLoginAddLast() void Content::PostFunLoginAddLast()

View File

@ -2,12 +2,15 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "content.h" #include "content.h"
#include "../core/request.h"
#include "../core/data.h"

View File

@ -2,21 +2,14 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "content.h" #include "content.h"
#include "../core/request.h"
#include "../core/db.h"

View File

@ -2,12 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "content.h" #include "content.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/db.h"
#include "../core/data.h"

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "content.h" #include "content.h"
#include "../core/request.h"

View File

@ -2,12 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "content.h" #include "content.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/db.h"
#include "../core/data.h"

View File

@ -2,12 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "content.h" #include "content.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/db.h"
#include "../core/data.h"
void Content::FunRmDirRecursive() void Content::FunRmDirRecursive()

View File

@ -2,13 +2,14 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "content.h" #include "content.h"
#include "../app/content.h" #include "../core/request.h"
#include "../core/error.h"

View File

@ -2,14 +2,16 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "content.h" #include "content.h"
#include "../app/content.h" #include "../core/request.h"
#include "../core/db.h"
#include "../core/data.h"
#include "../core/mount.h"

View File

@ -2,13 +2,12 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "content.h" #include "content.h"
#include "../app/content.h"

View File

@ -1,26 +1,22 @@
o = data.o log.o sessionmanager.o requestcontroller.o dircontainer.o session.o main.o done.o request.o misc.o httpsimpleparser.o db.o error.o db_itemcolumns.o users.o config.o dirs.o groups.o function.o functionparser.o functions.o functioncodeparser.o sessioncontainer.o lastcontainer.o mounts.o mountparser.o mount.o include Makefile.o.dep
all: $(o)
all: core.a
core.a: $(o)
ar rcs core.a $(o)
.SUFFIXES: .cpp .o .SUFFIXES: .cpp .o
.cpp.o: .cpp.o:
$(CC) -c $(CFLAGS) $< $(CXX) -c $(CXXFLAGS) $<
depend: depend:
makedepend $(DEPMACROS) -Y. -f- *.cpp > Makefile.dep makedepend $(DEPMACROS) -Y. -f- *.cpp > Makefile.dep
echo -n "o = " > Makefile.o.dep
ls -1 *.cpp | xargs -I foo echo -n foo " " | sed -E "s/([^\.]*)\.cpp[ ]/\1\.o/g" >> Makefile.o.dep
clean: clean:
rm -f *.o rm -f *.o
rm -f *.a
include Makefile.dep include Makefile.dep

View File

@ -1,98 +1,72 @@
# DO NOT DELETE # DO NOT DELETE
config.o: config.h ../confparser/confparser.h error.h log.h data.h misc.h config.o: config.h ../confparser/confparser.h log.h data.h dirs.h item.h
config.o: item.h dirs.h db.h dircontainer.h user.h group.h ugcontainer.h config.o: dircontainer.h users.h user.h ugcontainer.h groups.h group.h
config.o: thread.h users.h groups.h functions.h function.h config.o: functions.h function.h lastcontainer.h mounts.h mount.h
config.o: functioncodeparser.h lastcontainer.h mounts.h mount.h request.h data.o: data.h dirs.h item.h dircontainer.h users.h user.h ugcontainer.h
config.o: requesttypes.h session.h done.h getparser.h httpsimpleparser.h data.o: log.h groups.h group.h functions.h function.h lastcontainer.h
config.o: postparser.h cookieparser.h mountparser.h data.o: mounts.h mount.h
data.o: data.h misc.h log.h item.h error.h dirs.h db.h dircontainer.h user.h db.o: db.h item.h user.h group.h thread.h error.h log.h dircontainer.h
data.o: group.h ugcontainer.h thread.h users.h groups.h functions.h db.o: ugcontainer.h misc.h
data.o: function.h functioncodeparser.h lastcontainer.h mounts.h mount.h db_itemcolumns.o: db.h item.h user.h group.h thread.h error.h log.h
data.o: request.h requesttypes.h session.h done.h getparser.h db_itemcolumns.o: dircontainer.h ugcontainer.h
data.o: httpsimpleparser.h postparser.h cookieparser.h mountparser.h
db.o: db.h log.h item.h misc.h error.h dircontainer.h user.h group.h
db.o: ugcontainer.h thread.h
db_itemcolumns.o: db.h log.h item.h misc.h error.h dircontainer.h user.h
db_itemcolumns.o: group.h ugcontainer.h thread.h
dircontainer.o: dircontainer.h item.h log.h dircontainer.o: dircontainer.h item.h log.h
dirs.o: dirs.h item.h error.h log.h db.h misc.h dircontainer.h user.h group.h dirs.o: dirs.h item.h dircontainer.h error.h log.h db.h user.h group.h
dirs.o: ugcontainer.h thread.h dirs.o: thread.h ugcontainer.h
done.o: done.h done.o: done.h
error.o: error.h log.h error.o: error.h log.h
function.o: function.h log.h item.h function.o: function.h item.h
functioncodeparser.o: functioncodeparser.h function.h log.h item.h functioncodeparser.o: functioncodeparser.h item.h function.h log.h
functionparser.o: functionparser.h request.h requesttypes.h log.h session.h functionparser.o: functionparser.h requesttypes.h ../app/content.h log.h
functionparser.o: error.h item.h done.h user.h getparser.h httpsimpleparser.h functionparser.o: item.h error.h data.h dirs.h dircontainer.h users.h user.h
functionparser.o: postparser.h cookieparser.h function.h thread.h data.h functionparser.o: ugcontainer.h groups.h group.h functions.h function.h
functionparser.o: misc.h dirs.h db.h dircontainer.h group.h ugcontainer.h functionparser.o: lastcontainer.h mounts.h mount.h db.h thread.h request.h
functionparser.o: users.h groups.h functions.h functioncodeparser.h functionparser.o: session.h done.h
functionparser.o: lastcontainer.h mounts.h mount.h mountparser.h functions.o: functions.h function.h item.h
functionparser.o: ../app/content.h ../core/log.h ../core/data.h groups.o: groups.h group.h ugcontainer.h log.h db.h item.h user.h thread.h
functionparser.o: ../core/function.h groups.o: error.h dircontainer.h
functions.o: functions.h function.h log.h item.h functioncodeparser.h
groups.o: groups.h group.h db.h log.h item.h misc.h error.h dircontainer.h
groups.o: user.h ugcontainer.h thread.h
httpsimpleparser.o: httpsimpleparser.h httpsimpleparser.o: httpsimpleparser.h
lastcontainer.o: lastcontainer.h log.h lastcontainer.o: lastcontainer.h log.h
log.o: log.h log.o: log.h
main.o: requestcontroller.h data.h misc.h log.h item.h error.h dirs.h db.h main.o: requestcontroller.h ../content/content.h ../core/item.h
main.o: dircontainer.h user.h group.h ugcontainer.h thread.h users.h groups.h main.o: ../templates/templates.h ../../ezc/src/ezc.h
main.o: functions.h function.h functioncodeparser.h lastcontainer.h mounts.h main.o: ../templates/patterncacher.h ../app/templates.h sessionmanager.h
main.o: mount.h request.h requesttypes.h session.h done.h getparser.h main.o: sessioncontainer.h session.h done.h item.h error.h log.h user.h
main.o: httpsimpleparser.h postparser.h cookieparser.h mountparser.h main.o: functionparser.h requesttypes.h ../app/content.h data.h dirs.h
main.o: ../content/content.h ../templates/templates.h ../../ezc/src/ezc.h main.o: dircontainer.h users.h ugcontainer.h groups.h group.h functions.h
main.o: ../core/data.h ../core/request.h ../core/item.h ../core/db.h main.o: function.h lastcontainer.h mounts.h mount.h request.h thread.h db.h
main.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h main.o: config.h ../confparser/confparser.h
main.o: ../core/groups.h ../core/log.h ../templates/patterncacher.h misc.o: misc.h item.h log.h
main.o: ../app/templates.h ../core/misc.h ../core/function.h
main.o: ../core/functionparser.h ../app/content.h sessionmanager.h
main.o: sessioncontainer.h config.h ../confparser/confparser.h
misc.o: misc.h log.h item.h
mount.o: mount.h mount.o: mount.h
mountparser.o: mountparser.h log.h mount.h error.h item.h data.h misc.h mountparser.o: mountparser.h mount.h item.h error.h log.h data.h dirs.h
mountparser.o: dirs.h db.h dircontainer.h user.h group.h ugcontainer.h mountparser.o: dircontainer.h users.h user.h ugcontainer.h groups.h group.h
mountparser.o: thread.h users.h groups.h functions.h function.h mountparser.o: functions.h function.h lastcontainer.h mounts.h
mountparser.o: functioncodeparser.h lastcontainer.h mounts.h request.h mounts.o: mounts.h mount.h data.h dirs.h item.h dircontainer.h users.h user.h
mountparser.o: requesttypes.h session.h done.h getparser.h httpsimpleparser.h mounts.o: ugcontainer.h log.h groups.h group.h functions.h function.h
mountparser.o: postparser.h cookieparser.h mounts.o: lastcontainer.h request.h requesttypes.h session.h done.h error.h
mounts.o: mounts.h mount.h request.h requesttypes.h log.h session.h error.h mounts.o: thread.h mountparser.h
mounts.o: item.h done.h user.h getparser.h httpsimpleparser.h postparser.h request.o: request.h requesttypes.h session.h done.h item.h error.h log.h
mounts.o: cookieparser.h function.h thread.h mountparser.h data.h misc.h request.o: user.h function.h thread.h getparser.h httpsimpleparser.h
mounts.o: dirs.h db.h dircontainer.h group.h ugcontainer.h users.h groups.h request.o: postparser.h cookieparser.h
mounts.o: functions.h functioncodeparser.h lastcontainer.h requestcontroller.o: requestcontroller.h ../content/content.h ../core/item.h
request.o: request.h requesttypes.h log.h session.h error.h item.h done.h
request.o: user.h getparser.h httpsimpleparser.h postparser.h cookieparser.h
request.o: function.h thread.h
requestcontroller.o: requestcontroller.h data.h misc.h log.h item.h error.h
requestcontroller.o: dirs.h db.h dircontainer.h user.h group.h ugcontainer.h
requestcontroller.o: thread.h users.h groups.h functions.h function.h
requestcontroller.o: functioncodeparser.h lastcontainer.h mounts.h mount.h
requestcontroller.o: request.h requesttypes.h session.h done.h getparser.h
requestcontroller.o: httpsimpleparser.h postparser.h cookieparser.h
requestcontroller.o: mountparser.h ../content/content.h
requestcontroller.o: ../templates/templates.h ../../ezc/src/ezc.h requestcontroller.o: ../templates/templates.h ../../ezc/src/ezc.h
requestcontroller.o: ../core/data.h ../core/request.h ../core/item.h requestcontroller.o: ../templates/patterncacher.h ../app/templates.h
requestcontroller.o: ../core/db.h ../core/error.h ../core/user.h requestcontroller.o: sessionmanager.h sessioncontainer.h session.h done.h
requestcontroller.o: ../core/group.h ../core/users.h ../core/groups.h requestcontroller.o: item.h error.h log.h user.h functionparser.h
requestcontroller.o: ../core/log.h ../templates/patterncacher.h requestcontroller.o: requesttypes.h ../app/content.h data.h dirs.h
requestcontroller.o: ../app/templates.h ../core/misc.h ../core/function.h requestcontroller.o: dircontainer.h users.h ugcontainer.h groups.h group.h
requestcontroller.o: ../core/functionparser.h ../app/content.h requestcontroller.o: functions.h function.h lastcontainer.h mounts.h mount.h
requestcontroller.o: sessionmanager.h sessioncontainer.h requestcontroller.o: request.h thread.h postparser.h httpsimpleparser.h
session.o: session.h requesttypes.h error.h log.h item.h done.h user.h requestcontroller.o: cookieparser.h
sessioncontainer.o: sessioncontainer.h session.h requesttypes.h error.h log.h session.o: session.h done.h item.h error.h log.h user.h
sessioncontainer.o: item.h done.h user.h data.h misc.h dirs.h db.h sessioncontainer.o: sessioncontainer.h session.h done.h item.h error.h log.h
sessioncontainer.o: dircontainer.h group.h ugcontainer.h thread.h users.h sessioncontainer.o: user.h data.h dirs.h dircontainer.h users.h ugcontainer.h
sessioncontainer.o: groups.h functions.h function.h functioncodeparser.h sessioncontainer.o: groups.h group.h functions.h function.h lastcontainer.h
sessioncontainer.o: lastcontainer.h mounts.h mount.h request.h getparser.h sessioncontainer.o: mounts.h mount.h
sessioncontainer.o: httpsimpleparser.h postparser.h cookieparser.h sessionmanager.o: sessionmanager.h sessioncontainer.h session.h done.h item.h
sessioncontainer.o: mountparser.h sessionmanager.o: error.h log.h user.h request.h requesttypes.h function.h
sessionmanager.o: sessionmanager.h request.h requesttypes.h log.h session.h sessionmanager.o: thread.h data.h dirs.h dircontainer.h users.h ugcontainer.h
sessionmanager.o: error.h item.h done.h user.h getparser.h httpsimpleparser.h sessionmanager.o: groups.h group.h functions.h lastcontainer.h mounts.h
sessionmanager.o: postparser.h cookieparser.h function.h thread.h data.h sessionmanager.o: mount.h
sessionmanager.o: misc.h dirs.h db.h dircontainer.h group.h ugcontainer.h users.o: users.h user.h ugcontainer.h log.h db.h item.h group.h thread.h
sessionmanager.o: users.h groups.h functions.h functioncodeparser.h users.o: error.h dircontainer.h
sessionmanager.o: lastcontainer.h mounts.h mount.h mountparser.h
sessionmanager.o: sessioncontainer.h
users.o: users.h user.h db.h log.h item.h misc.h error.h dircontainer.h
users.o: group.h ugcontainer.h thread.h

1
core/Makefile.o.dep Executable file
View File

@ -0,0 +1 @@
o = config.o data.o db.o db_itemcolumns.o dircontainer.o dirs.o done.o error.o function.o functioncodeparser.o functionparser.o functions.o groups.o httpsimpleparser.o lastcontainer.o log.o main.o misc.o mount.o mountparser.o mounts.o request.o requestcontroller.o session.o sessioncontainer.o sessionmanager.o users.o

View File

@ -2,12 +2,14 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "config.h" #include "config.h"
#include "log.h"
#include "data.h"
Config::Config() Config::Config()

View File

@ -2,22 +2,19 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfileconfig #ifndef headerfilecmslucoreconfig
#define headerfileconfig #define headerfilecmslucoreconfig
#include "../confparser/confparser.h"
#include "error.h"
#include "data.h"
#include "log.h"
#include <string> #include <string>
#include "../confparser/confparser.h"
class Config class Config
{ {

View File

@ -2,18 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilecookieparser #ifndef headerfilecmslucorecookieparser
#define headerfilecookieparser #define headerfilecmslucorecookieparser
#include <fcgiapp.h> #include <fcgiapp.h>
#include "httpsimpleparser.h" #include "httpsimpleparser.h"
#include "requesttypes.h" #include "requesttypes.h"
#include "log.h"

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
@ -11,6 +11,8 @@
Data::Data() Data::Data()
{ {
signal_hup = false; signal_hup = false;

View File

@ -2,22 +2,19 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfiledata #ifndef headerfilecmslucoredata
#define headerfiledata #define headerfilecmslucoredata
#include <string> #include <string>
#include <vector> #include <vector>
#include <map> #include <map>
#include <string.h> #include <string.h>
#include "misc.h"
#include "item.h"
#include "error.h"
#include "dirs.h" #include "dirs.h"
#include "users.h" #include "users.h"
#include "groups.h" #include "groups.h"

View File

@ -2,12 +2,14 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "db.h" #include "db.h"
#include "log.h"
#include "misc.h"
Db::Db(bool close_at_end_) Db::Db(bool close_at_end_)

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilecoredb #ifndef headerfilecmslucoredb
#define headerfilecoredb #define headerfilecmslucoredb
#include <string> #include <string>
@ -20,15 +20,13 @@
#include <ctime> #include <ctime>
#include <cstring> #include <cstring>
#include "log.h"
#include "item.h" #include "item.h"
#include "misc.h"
#include "error.h"
#include "dircontainer.h"
#include "user.h" #include "user.h"
#include "group.h" #include "group.h"
#include "ugcontainer.h"
#include "thread.h" #include "thread.h"
#include "error.h"
#include "dircontainer.h"
#include "ugcontainer.h"

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "dircontainer.h" #include "dircontainer.h"
#include "log.h"
DirContainer::DirContainer() DirContainer::DirContainer()

View File

@ -2,18 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfiledircontainer #ifndef headerfilecmslucoredircontainer
#define headerfiledircontainer #define headerfilecmslucoredircontainer
#include <list> #include <list>
#include <map> #include <map>
#include "item.h" #include "item.h"
#include "log.h"
class DirContainer class DirContainer

View File

@ -2,12 +2,16 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "dirs.h" #include "dirs.h"
#include "error.h"
#include "log.h"
#include "db.h"
void Dirs::Clear() void Dirs::Clear()

View File

@ -2,22 +2,20 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfiledirs #ifndef headerfilecmslucoredirs
#define headerfiledirs #define headerfilecmslucoredirs
#include <vector> #include <vector>
#include <map> #include <map>
#include <string> #include <string>
#include "item.h" #include "item.h"
#include "error.h"
#include "log.h"
#include "db.h"
#include "dircontainer.h" #include "dircontainer.h"

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfiledone #ifndef headerfilecmslucoredone
#define headerfiledone #define headerfilecmslucoredone

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfileerror #ifndef headerfilecmslucoreerror
#define headerfileerror #define headerfilecmslucoreerror
#include <iostream> #include <iostream>
#include "log.h" #include "log.h"

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
@ -10,6 +10,7 @@
#include "function.h" #include "function.h"
Function::Function() Function::Function()
{ {
code = FUN_NONE; code = FUN_NONE;

View File

@ -7,11 +7,10 @@
* *
*/ */
#ifndef headerfilefunction #ifndef headerfilecmslucorefunction
#define headerfilefunction #define headerfilecmslucorefunction
#include <iostream> #include <iostream>
#include "log.h"
#include "item.h" #include "item.h"

View File

@ -2,12 +2,14 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "functioncodeparser.h" #include "functioncodeparser.h"
#include "function.h"
#include "log.h"

View File

@ -2,19 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilefunctioncodeparser #ifndef headerfilecmslucorefunctioncodeparser
#define headerfilefunctioncodeparser #define headerfilecmslucorefunctioncodeparser
#include <cstring> #include <cstring>
#include <cstdlib> #include <cstdlib>
#include "function.h"
#include "item.h" #include "item.h"
#include "log.h"
class FunctionCodeParser class FunctionCodeParser

View File

@ -2,13 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "functionparser.h" #include "functionparser.h"
#include "log.h"
#include "item.h"
#include "error.h"
#include "data.h"
#include "db.h"
#include "request.h"

View File

@ -2,20 +2,15 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilefunctionparser #ifndef headerfilecmslucorefunctionparser
#define headerfilefunctionparser #define headerfilecmslucorefunctionparser
#include "request.h" #include "requesttypes.h"
#include "log.h"
#include "item.h"
#include "error.h"
#include "data.h"
#include "db.h"
#ifdef APPFUNCTIONS #ifdef APPFUNCTIONS
#include "../app/content.h" #include "../app/content.h"

View File

@ -14,6 +14,7 @@
void Functions::Clear() void Functions::Clear()
{ {
table.clear(); table.clear();

View File

@ -2,18 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilefunctions #ifndef headerfilecmslucorefunctions
#define headerfilefunctions #define headerfilecmslucorefunctions
#include <map> #include <map>
#include <string> #include <string>
#include "function.h" #include "function.h"
#include "functioncodeparser.h"

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilegetparser #ifndef headerfilecmslucoregetparser
#define headerfilegetparser #define headerfilecmslucoregetparser
#include "httpsimpleparser.h" #include "httpsimpleparser.h"
#include "requesttypes.h" #include "requesttypes.h"

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilegroup #ifndef headerfilecmslucoregroup
#define headerfilegroup #define headerfilecmslucoregroup
#include <string> #include <string>
#include <vector> #include <vector>

View File

@ -2,14 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "groups.h" #include "groups.h"
#include "db.h"

View File

@ -2,17 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilegroups #ifndef headerfilecmslucoregroups
#define headerfilegroups #define headerfilecmslucoregroups
#include <map> #include <map>
#include "group.h" #include "group.h"
#include "db.h"
#include "ugcontainer.h" #include "ugcontainer.h"

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilehttpsimpleparser #ifndef headerfilecmslucorehttpsimpleparser
#define headerfilehttpsimpleparser #define headerfilecmslucorehttpsimpleparser
#include <string> #include <string>

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfileitem #ifndef headerfilecmslucoreitem
#define headerfileitem #define headerfilecmslucoreitem
#include <string> #include <string>

View File

@ -9,6 +9,7 @@
#include "lastcontainer.h" #include "lastcontainer.h"
#include "log.h"

View File

@ -7,15 +7,14 @@
* *
*/ */
#ifndef headerfilelastcontainer33 #ifndef headerfilecmslucorelastcontainer
#define headerfilelastcontainer33 #define headerfilecmslucorelastcontainer
#include <string> #include <string>
#include <list> #include <list>
#include <cstring> #include <cstring>
#include <ctime> #include <ctime>
#include "log.h"
// how many items we store in the 'last' function // how many items we store in the 'last' function

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilelog #ifndef headerfilecmslucorelog
#define headerfilelog #define headerfilecmslucorelog
#include <sstream> #include <sstream>

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
@ -11,6 +11,7 @@
#include <ctime> #include <ctime>
#include <signal.h> #include <signal.h>
#include <iostream> #include <iostream>
#include "requestcontroller.h" #include "requestcontroller.h"
#include "data.h" #include "data.h"
#include "log.h" #include "log.h"

View File

@ -2,12 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "misc.h" #include "misc.h"
#include "log.h"

View File

@ -2,19 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilemisc #ifndef headerfilecmslucoremisc
#define headerfilemisc #define headerfilecmslucoremisc
#include <string> #include <string>
#include <sstream> #include <sstream>
#include <ctime> #include <ctime>
#include "log.h"
#include "item.h" #include "item.h"
#define MAJOR_VER 0 #define MAJOR_VER 0

View File

@ -8,8 +8,8 @@
*/ */
#ifndef headerfilecoremount #ifndef headerfilecmslucoremount
#define headerfilecoremount #define headerfilecmslucoremount
#include <set> #include <set>
#include <string> #include <string>

View File

@ -9,6 +9,7 @@
#include "mountparser.h" #include "mountparser.h"
#include "data.h" #include "data.h"
#include "log.h"

View File

@ -7,17 +7,15 @@
* *
*/ */
#ifndef headerfilecoremountparser #ifndef headerfilecmslucoremountparser
#define headerfilecoremountparser #define headerfilecmslucoremountparser
#include <map> #include <map>
#include <string> #include <string>
#include "log.h"
#include "mount.h" #include "mount.h"
#include "error.h"
#include "item.h" #include "item.h"
#include "error.h"

View File

@ -9,6 +9,9 @@
#include "mounts.h" #include "mounts.h"
#include "data.h" #include "data.h"
#include "request.h"
#include "log.h"
#include "mountparser.h"
void Mounts::ReadMounts() void Mounts::ReadMounts()

View File

@ -8,15 +8,12 @@
*/ */
#ifndef headerfilecoremounts #ifndef headerfilecmslucorecoremounts
#define headerfilecoremounts #define headerfilecmslucorecoremounts
#include <map> #include <map>
#include "mount.h" #include "mount.h"
#include "request.h"
#include "log.h"
#include "mountparser.h"

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilepostparser #ifndef headerfilecmslucorepostparser
#define headerfilepostparser #define headerfilecmslucorepostparser
#include <fcgiapp.h> #include <fcgiapp.h>
#include <string> #include <string>

View File

@ -2,12 +2,16 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "request.h" #include "request.h"
#include "getparser.h"
#include "postparser.h"
#include "cookieparser.h"
#include "log.h"

View File

@ -2,32 +2,29 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilerequest #ifndef headerfilecmslucorerequest
#define headerfilerequest #define headerfilecmslucorerequest
#include <fcgiapp.h> #include <fcgiapp.h>
#include <sstream> #include <sstream>
#include <vector> #include <vector>
#include <ctime> #include <ctime>
#include <iomanip> #include <iomanip>
#include "requesttypes.h"
#include "log.h"
#include "session.h"
#include "getparser.h" #include "requesttypes.h"
#include "postparser.h" #include "session.h"
#include "cookieparser.h"
#include "item.h" #include "item.h"
#include "error.h" #include "error.h"
#include "function.h" #include "function.h"
#include "thread.h" #include "thread.h"
struct Request struct Request
{ {
// request id // request id

View File

@ -2,12 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "requestcontroller.h" #include "requestcontroller.h"
#include "data.h"
#include "log.h"
#include "request.h"
#include "postparser.h"
#include "cookieparser.h"

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilerequestcontroller #ifndef headerfilecmslucorerequestcontroller
#define headerfilerequestcontroller #define headerfilecmslucorerequestcontroller
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
@ -18,13 +18,10 @@
#include <grp.h> #include <grp.h>
#include <errno.h> #include <errno.h>
#include "data.h"
#include "log.h"
#include "request.h"
#include "../content/content.h" #include "../content/content.h"
#include "sessionmanager.h" #include "sessionmanager.h"
#include "postparser.h" #include "functionparser.h"
#include "cookieparser.h" #include "sessioncontainer.h"
class RequestController class RequestController

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilerequesttypes #ifndef headerfilecmslucorerequesttypes
#define headerfilerequesttypes #define headerfilecmslucorerequesttypes
#include <string> #include <string>
#include <vector> #include <vector>

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
@ -10,6 +10,7 @@
#include "session.h" #include "session.h"
Session::Session() Session::Session()
{ {
Clear(); Clear();

View File

@ -2,19 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilecoresession #ifndef headerfilecmslucoresession
#define headerfilecoresession #define headerfilecmslucoresession
#include <ctime> #include <ctime>
#include "requesttypes.h"
#include "error.h"
#include "item.h"
#include "done.h" #include "done.h"
#include "item.h"
#include "error.h"
#include "user.h" #include "user.h"

View File

@ -2,13 +2,15 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "sessioncontainer.h" #include "sessioncontainer.h"
#include "data.h" #include "data.h"
#include "log.h"
void SessionContainer::Clear() void SessionContainer::Clear()
{ {

View File

@ -2,20 +2,22 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilesessioncontainer #ifndef headerfilecmslucoresessioncontainer
#define headerfilesessioncontainer #define headerfilecmslucoresessioncontainer
#include <list> #include <list>
#include <map> #include <map>
#include <ctime> #include <ctime>
#include "session.h" #include "session.h"
#include "log.h"
class SessionContainer class SessionContainer

View File

@ -2,12 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "sessionmanager.h" #include "sessionmanager.h"
#include "request.h"
#include "log.h"
#include "data.h"
#include "session.h"
bool SessionManager::IsSession(long id) bool SessionManager::IsSession(long id)

View File

@ -2,22 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilesessionmanager #ifndef headerfilecmslucoresessionmanager
#define headerfilesessionmanager #define headerfilecmslucoresessionmanager
#include <set> #include <set>
#include <ctime> #include <ctime>
#include "request.h"
#include "log.h"
#include "data.h"
#include "session.h"
#include "db.h"
#include "sessioncontainer.h" #include "sessioncontainer.h"

View File

@ -7,12 +7,13 @@
* *
*/ */
#ifndef headerfilecorethread #ifndef headerfilecmslucorecorethread
#define headerfilecorethread #define headerfilecmslucorecorethread
#include <string> #include <string>
class Thread class Thread
{ {
public: public:

View File

@ -2,17 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfileugcontainer #ifndef headerfilecmslucoreugcontainer
#define headerfileugcontainer #define headerfilecmslucoreugcontainer
#include <vector> #include <vector>
#include <map> #include <map>
#include <stdexcept> #include <stdexcept>
#include "log.h" #include "log.h"

View File

@ -2,17 +2,19 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfileuser #ifndef headerfilecmslucoreuser
#define headerfileuser #define headerfilecmslucoreuser
#include <string> #include <string>
#include <vector> #include <vector>
struct User struct User
{ {
long id; long id;

View File

@ -2,12 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "users.h" #include "users.h"
#include "db.h"

View File

@ -2,17 +2,16 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfileusers #ifndef headerfilecmslucoreusers
#define headerfileusers #define headerfilecmslucoreusers
#include <map> #include <map>
#include "user.h" #include "user.h"
#include "db.h"
#include "ugcontainer.h" #include "ugcontainer.h"

View File

@ -1,25 +1,22 @@
o = templates.o sys.o item.o doc.o user.o dir.o done.o priv.o patterncacher.o who.o last.o thread.o include Makefile.o.dep
all: templates.a all: $(o)
templates.a: $(o)
ar rcs templates.a $(o)
.SUFFIXES: .cpp .o .SUFFIXES: .cpp .o
.cpp.o: .cpp.o:
$(CC) -c $(CFLAGS) $< $(CXX) -c $(CXXFLAGS) $<
depend: depend:
makedepend $(DEPMACROS) -Y. -f- *.cpp > Makefile.dep makedepend $(DEPMACROS) -Y. -f- *.cpp > Makefile.dep
echo -n "o = " > Makefile.o.dep
ls -1 *.cpp | xargs -I foo echo -n foo " " | sed -E "s/([^\.]*)\.cpp[ ]/\1\.o/g" >> Makefile.o.dep
clean: clean:
rm -f *.o rm -f *.o
rm -f *.a
include Makefile.dep include Makefile.dep

View File

@ -1,149 +1,97 @@
# DO NOT DELETE # DO NOT DELETE
dir.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h dir.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
dir.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h dir.o: ../app/templates.h ../core/request.h ../core/requesttypes.h
dir.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h dir.o: ../core/session.h ../core/done.h ../core/item.h ../core/error.h
dir.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h dir.o: ../core/log.h ../core/user.h ../core/function.h ../core/thread.h
dir.o: ../core/groups.h ../core/functions.h ../core/function.h dir.o: ../core/data.h ../core/dirs.h ../core/dircontainer.h ../core/users.h
dir.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h dir.o: ../core/ugcontainer.h ../core/groups.h ../core/group.h
dir.o: ../core/mount.h ../core/request.h ../core/requesttypes.h dir.o: ../core/functions.h ../core/lastcontainer.h ../core/mounts.h
dir.o: ../core/session.h ../core/done.h ../core/getparser.h dir.o: ../core/mount.h ../core/db.h ../core/log.h ../core/misc.h
dir.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h doc.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
dir.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h doc.o: ../app/templates.h ../core/data.h ../core/dirs.h ../core/item.h
dir.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h doc.o: ../core/dircontainer.h ../core/users.h ../core/user.h
dir.o: ../core/groups.h ../core/log.h patterncacher.h ../app/templates.h doc.o: ../core/ugcontainer.h ../core/log.h ../core/groups.h ../core/group.h
doc.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h doc.o: ../core/functions.h ../core/function.h ../core/lastcontainer.h
doc.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h doc.o: ../core/mounts.h ../core/mount.h ../core/request.h
doc.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h doc.o: ../core/requesttypes.h ../core/session.h ../core/done.h
doc.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h doc.o: ../core/error.h ../core/thread.h ../core/misc.h
doc.o: ../core/groups.h ../core/functions.h ../core/function.h done.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
doc.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h done.o: ../app/templates.h ../core/request.h ../core/requesttypes.h
doc.o: ../core/mount.h ../core/request.h ../core/requesttypes.h done.o: ../core/session.h ../core/done.h ../core/item.h ../core/error.h
doc.o: ../core/session.h ../core/done.h ../core/getparser.h done.o: ../core/log.h ../core/user.h ../core/function.h ../core/thread.h
doc.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h done.o: ../core/misc.h
doc.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h item.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
doc.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h item.o: ../app/templates.h ../core/data.h ../core/dirs.h ../core/item.h
doc.o: ../core/groups.h ../core/log.h patterncacher.h ../app/templates.h item.o: ../core/dircontainer.h ../core/users.h ../core/user.h
done.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h item.o: ../core/ugcontainer.h ../core/log.h ../core/groups.h ../core/group.h
done.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h item.o: ../core/functions.h ../core/function.h ../core/lastcontainer.h
done.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h item.o: ../core/mounts.h ../core/mount.h ../core/request.h
done.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h item.o: ../core/requesttypes.h ../core/session.h ../core/done.h
done.o: ../core/groups.h ../core/functions.h ../core/function.h item.o: ../core/error.h ../core/thread.h ../core/misc.h
done.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h last.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
done.o: ../core/mount.h ../core/request.h ../core/requesttypes.h last.o: ../app/templates.h ../core/lastcontainer.h ../core/data.h
done.o: ../core/session.h ../core/done.h ../core/getparser.h last.o: ../core/dirs.h ../core/item.h ../core/dircontainer.h ../core/users.h
done.o: ../core/httpsimpleparser.h ../core/postparser.h last.o: ../core/user.h ../core/ugcontainer.h ../core/log.h ../core/groups.h
done.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h last.o: ../core/group.h ../core/functions.h ../core/function.h
done.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h last.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
done.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h last.o: ../core/request.h ../core/requesttypes.h ../core/session.h
done.o: patterncacher.h ../app/templates.h last.o: ../core/done.h ../core/error.h ../core/thread.h ../core/misc.h
item.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h
item.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h
item.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h
item.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h
item.o: ../core/groups.h ../core/functions.h ../core/function.h
item.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
item.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
item.o: ../core/session.h ../core/done.h ../core/getparser.h
item.o: ../core/httpsimpleparser.h ../core/postparser.h
item.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h
item.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
item.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
item.o: patterncacher.h ../app/templates.h
last.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h
last.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h
last.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h
last.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h
last.o: ../core/groups.h ../core/functions.h ../core/function.h
last.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
last.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
last.o: ../core/session.h ../core/done.h ../core/getparser.h
last.o: ../core/httpsimpleparser.h ../core/postparser.h
last.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h
last.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
last.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
last.o: patterncacher.h ../app/templates.h ../core/lastcontainer.h
last.o: ../core/misc.h
patterncacher.o: patterncacher.h ../core/item.h ../../ezc/src/ezc.h patterncacher.o: patterncacher.h ../core/item.h ../../ezc/src/ezc.h
patterncacher.o: ../core/data.h ../core/dirs.h ../core/item.h
patterncacher.o: ../core/dircontainer.h ../core/users.h ../core/user.h
patterncacher.o: ../core/ugcontainer.h ../core/log.h ../core/groups.h
patterncacher.o: ../core/group.h ../core/functions.h ../core/function.h
patterncacher.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
patterncacher.o: ../core/log.h patterncacher.o: ../core/log.h
priv.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h priv.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
priv.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h priv.o: ../app/templates.h ../core/data.h ../core/dirs.h ../core/item.h
priv.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h priv.o: ../core/dircontainer.h ../core/users.h ../core/user.h
priv.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h priv.o: ../core/ugcontainer.h ../core/log.h ../core/groups.h ../core/group.h
priv.o: ../core/groups.h ../core/functions.h ../core/function.h priv.o: ../core/functions.h ../core/function.h ../core/lastcontainer.h
priv.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h priv.o: ../core/mounts.h ../core/mount.h ../core/request.h
priv.o: ../core/mount.h ../core/request.h ../core/requesttypes.h priv.o: ../core/requesttypes.h ../core/session.h ../core/done.h
priv.o: ../core/session.h ../core/done.h ../core/getparser.h priv.o: ../core/error.h ../core/thread.h ../core/misc.h
priv.o: ../core/httpsimpleparser.h ../core/postparser.h sys.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
priv.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h sys.o: ../app/templates.h ../core/data.h ../core/dirs.h ../core/item.h
priv.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h sys.o: ../core/dircontainer.h ../core/users.h ../core/user.h
priv.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h sys.o: ../core/ugcontainer.h ../core/log.h ../core/groups.h ../core/group.h
priv.o: patterncacher.h ../app/templates.h sys.o: ../core/functions.h ../core/function.h ../core/lastcontainer.h
sys.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h sys.o: ../core/mounts.h ../core/mount.h ../core/request.h
sys.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h sys.o: ../core/requesttypes.h ../core/session.h ../core/done.h
sys.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h sys.o: ../core/error.h ../core/thread.h ../core/misc.h
sys.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h templates.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
sys.o: ../core/groups.h ../core/functions.h ../core/function.h templates.o: ../app/templates.h ../core/data.h ../core/dirs.h ../core/item.h
sys.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h templates.o: ../core/dircontainer.h ../core/users.h ../core/user.h
sys.o: ../core/mount.h ../core/request.h ../core/requesttypes.h templates.o: ../core/ugcontainer.h ../core/log.h ../core/groups.h
sys.o: ../core/session.h ../core/done.h ../core/getparser.h templates.o: ../core/group.h ../core/functions.h ../core/function.h
sys.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
sys.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h
sys.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h
sys.o: ../core/groups.h ../core/log.h patterncacher.h ../app/templates.h
templates.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h
templates.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h
templates.o: ../core/db.h ../core/dircontainer.h ../core/user.h
templates.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h
templates.o: ../core/users.h ../core/groups.h ../core/functions.h
templates.o: ../core/function.h ../core/functioncodeparser.h
templates.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h templates.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
templates.o: ../core/request.h ../core/requesttypes.h ../core/session.h templates.o: ../core/request.h ../core/requesttypes.h ../core/session.h
templates.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h templates.o: ../core/done.h ../core/error.h ../core/thread.h ../core/misc.h
templates.o: ../core/postparser.h ../core/cookieparser.h thread.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
templates.o: ../core/mountparser.h ../core/request.h ../core/item.h thread.o: ../app/templates.h ../core/data.h ../core/dirs.h ../core/item.h
templates.o: ../core/db.h ../core/error.h ../core/user.h ../core/group.h thread.o: ../core/dircontainer.h ../core/users.h ../core/user.h
templates.o: ../core/users.h ../core/groups.h ../core/log.h patterncacher.h thread.o: ../core/ugcontainer.h ../core/log.h ../core/groups.h
templates.o: ../app/templates.h thread.o: ../core/group.h ../core/functions.h ../core/function.h
thread.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h thread.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
thread.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h thread.o: ../core/request.h ../core/requesttypes.h ../core/session.h
thread.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h thread.o: ../core/done.h ../core/error.h ../core/thread.h ../core/misc.h
thread.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h user.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
thread.o: ../core/groups.h ../core/functions.h ../core/function.h user.o: ../app/templates.h ../core/data.h ../core/dirs.h ../core/item.h
thread.o: ../core/functioncodeparser.h ../core/lastcontainer.h user.o: ../core/dircontainer.h ../core/users.h ../core/user.h
thread.o: ../core/mounts.h ../core/mount.h ../core/request.h user.o: ../core/ugcontainer.h ../core/log.h ../core/groups.h ../core/group.h
thread.o: ../core/requesttypes.h ../core/session.h ../core/done.h user.o: ../core/functions.h ../core/function.h ../core/lastcontainer.h
thread.o: ../core/getparser.h ../core/httpsimpleparser.h ../core/postparser.h user.o: ../core/mounts.h ../core/mount.h ../core/request.h
thread.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h user.o: ../core/requesttypes.h ../core/session.h ../core/done.h
thread.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h user.o: ../core/error.h ../core/thread.h ../core/misc.h
thread.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h who.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
thread.o: patterncacher.h ../app/templates.h who.o: ../app/templates.h ../core/sessioncontainer.h ../core/session.h
user.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h who.o: ../core/done.h ../core/item.h ../core/error.h ../core/log.h
user.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h who.o: ../core/user.h ../core/requestcontroller.h ../content/content.h
user.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h who.o: ../templates/templates.h ../core/sessionmanager.h
user.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h who.o: ../core/sessioncontainer.h ../core/functionparser.h
user.o: ../core/groups.h ../core/functions.h ../core/function.h who.o: ../core/requesttypes.h ../app/content.h ../core/data.h ../core/dirs.h
user.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h who.o: ../core/dircontainer.h ../core/users.h ../core/ugcontainer.h
user.o: ../core/mount.h ../core/request.h ../core/requesttypes.h who.o: ../core/groups.h ../core/group.h ../core/functions.h
user.o: ../core/session.h ../core/done.h ../core/getparser.h who.o: ../core/function.h ../core/lastcontainer.h ../core/mounts.h
user.o: ../core/httpsimpleparser.h ../core/postparser.h who.o: ../core/mount.h ../core/request.h ../core/thread.h ../core/misc.h
user.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h
user.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
user.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
user.o: patterncacher.h ../app/templates.h
who.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h
who.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h
who.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h
who.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h
who.o: ../core/groups.h ../core/functions.h ../core/function.h
who.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
who.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
who.o: ../core/session.h ../core/done.h ../core/getparser.h
who.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
who.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h
who.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h
who.o: ../core/groups.h ../core/log.h patterncacher.h ../app/templates.h
who.o: ../core/sessioncontainer.h ../core/requestcontroller.h ../core/data.h
who.o: ../content/content.h ../templates/templates.h ../core/misc.h
who.o: ../core/function.h ../core/functionparser.h ../app/content.h
who.o: ../core/sessionmanager.h ../core/sessioncontainer.h

1
templates/Makefile.o.dep Executable file
View File

@ -0,0 +1 @@
o = dir.o doc.o done.o item.o last.o patterncacher.o priv.o sys.o templates.o thread.o user.o who.o

View File

@ -2,12 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "templates.h" #include "templates.h"
#include "../core/request.h"
#include "../core/data.h"
#include "../core/db.h"
#include "../core/log.h"
#include "../core/misc.h"
namespace TemplatesFunctions namespace TemplatesFunctions

View File

@ -2,12 +2,16 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "templates.h" #include "templates.h"
#include "../core/data.h"
#include "../core/request.h"
#include "../core/misc.h"
namespace TemplatesFunctions namespace TemplatesFunctions

View File

@ -2,12 +2,15 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "templates.h" #include "templates.h"
#include "../core/request.h"
#include "../core/misc.h"
namespace TemplatesFunctions namespace TemplatesFunctions

View File

@ -2,12 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "templates.h" #include "templates.h"
#include "../core/data.h"
#include "../core/request.h"
#include "../core/misc.h"
namespace TemplatesFunctions namespace TemplatesFunctions

View File

@ -2,16 +2,20 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "templates.h" #include "templates.h"
#include "../core/lastcontainer.h" #include "../core/lastcontainer.h"
#include "../core/data.h"
#include "../core/request.h"
#include "../core/misc.h" #include "../core/misc.h"
namespace TemplatesFunctions namespace TemplatesFunctions
{ {
static size_t last_reqid = 0; static size_t last_reqid = 0;

View File

@ -2,12 +2,15 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "patterncacher.h" #include "patterncacher.h"
#include "../core/data.h"
#include "../core/log.h"
PatternCacher::PatternCacher() PatternCacher::PatternCacher()

View File

@ -2,20 +2,21 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#ifndef headerfilepatterncacher #ifndef headerfilecmslutemplatespatterncacher
#define headerfilepatterncacher #define headerfilecmslutemplatespatterncacher
#include <vector> #include <vector>
#include <map> #include <map>
#include "../core/item.h" #include "../core/item.h"
#include "../../ezc/src/ezc.h" #include "../../ezc/src/ezc.h"
#include "../core/log.h"

View File

@ -2,12 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "templates.h" #include "templates.h"
#include "../core/data.h"
#include "../core/request.h"
#include "../core/misc.h"
namespace TemplatesFunctions namespace TemplatesFunctions

View File

@ -2,12 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix * This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed * and is not publicly distributed
* *
* Copyright (c) 2008, Tomasz Sowa * Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
*/ */
#include "templates.h" #include "templates.h"
#include "../core/data.h"
#include "../core/request.h"
#include "../core/misc.h"
namespace TemplatesFunctions namespace TemplatesFunctions

Some files were not shown because too many files have changed in this diff Show More