summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2005-06-28Fixed bugs and added new unit tests.Huynh Tran6-71/+375
2005-06-28Recommitted changes for new PostgreSQL defines.Aaron Marks1-2/+2
2005-06-28Updated PostgreSQL defines in source to work with updated configure.Aaron Marks6-4/+352
Added XML configuration loader from tmw.
2005-06-27Implemented addAccount() (+ unit tests).Huynh Tran11-114/+634
2005-06-27Removed debug code and actually use the generated config.h.Huynh Tran1-27/+7
2005-06-24Fixed compilation warnings, the unit tests are now compiled if ↵Huynh Tran4-8/+57
--enable-unit-tests is set.
2005-06-23Wrote the M4 function and re-added header files to Makefile.am for make dist.Huynh Tran1-4/+32
2005-06-22Updated configure so that only one database backend can be selected and ↵Huynh Tran1-69/+36
simplified Makefile.am.
2005-06-22Removed some old unused stuff.Bjørn Lindeijer5-53/+34
2005-06-21Reorganized unit tests and initial release of the unit tests for the Storage ↵Huynh Tran12-40/+666
class (to be completed).
2005-06-21Fixed memory leak.Huynh Tran1-1/+7
2005-06-21Fixed missing includes.Huynh Tran1-0/+5
2005-06-21Improved Storage APIs and moved debug code to unit tests.Huynh Tran5-132/+452
2005-06-21Account names and character names must be unique.Huynh Tran1-5/+5
2005-06-21Made sure that pointers are initalized and reset to null after deallocation ↵Huynh Tran6-104/+129
and some reformatting.
2005-06-19Correcting indent and removing obsoleted files.Bjørn Lindeijer8-623/+54
2005-06-19Forgot to initalize member variables :PHuynh Tran2-2/+4
2005-06-19Removed USE_SQLITE define from configure.ac (not used anywhere anymore)Aaron Marks1-3/+3
Fixed problem with PGconn not being cleaned up.
2005-06-19Passwords are now encrypted when creating a new Account, added unit tests ↵Huynh Tran9-117/+717
for the Account class and moved functors into a separate header file for reuse.
2005-06-19Added PostgreSQL DAL class.Aaron Marks6-22/+292
Updated configure.ac to include PostgreSQL & MySQL. (MySQL needs to be adjusted, and it seems that using --with-sqlite will drop out of configure after check for atexit. I dont know why, as i didn't touch the SQLite stuff) :)
2005-06-19Actually using the new Logger now.Huynh Tran4-132/+135
2005-06-19Fixed SQL query bug.Huynh Tran1-1/+1
2005-06-19Added tee mode to Logger.Huynh Tran2-6/+83
2005-06-19Moved unit tests main from dal to src, rewrote Logger and added Cipher ↵Huynh Tran8-0/+1096
(requires libcrypto from OpenSSL) + unit tests.
2005-06-19Reworked Storage APIs and reordered operations in DALStorage to match those ↵Huynh Tran5-109/+230
of Storage.
2005-06-19Fixed compilation warnings.Huynh Tran1-1/+5
2005-06-18Moved SQL queries for the creation of tables into a separate file and ↵Huynh Tran4-112/+359
rewrote the initialization of the database.
2005-06-17Force a user class to use the Storage singleton instead of instantiating ↵Huynh Tran1-12/+33
DALStorage directly.
2005-06-17Fixed instantiation of Beings.Huynh Tran1-15/+37
2005-06-17Updated Makefile.am.Aaron Marks3-3/+11
dataproviderfactory.cpp now conditionally includes related dataprovider header. (A problem exists with instantiating Being in dalstorage.cpp though)
2005-06-16Synchronized APIs with DAL.Huynh Tran2-148/+312
2005-06-16Simplified APIs, change namespace from tmw to tmwserv, implemented MySQL ↵Huynh Tran16-434/+1180
data provider, added unit tests (require CPPUnit) and bug fixes.
2005-06-16Created Storage child which uses DAL (used by default now).Aaron Marks7-8/+304
Updated RecoredSet to allow access to rows() and cols().
2005-06-16Updated tables.Aaron Marks2-10/+47
2005-06-14Reworked RecordSet and implemented the SQLite Data ProviderHuynh Tran9-180/+421
2005-06-13Removing duplicate textYohann Ferreira1-14/+0
2005-06-13First corrections of messageIn class.Yohann Ferreira1-9/+8
2005-06-13first attempt of messageIn Implementation. I'll do testings from that.Yohann Ferreira2-3/+151
2005-06-13Initial release of the Database Abstraction LayerHuynh Tran11-0/+1542
2005-06-12Moved SQLiteStorage to subclass of Storage, made Storage a singleton andBjørn Lindeijer9-282/+407
updated SQL tables a bit.
2005-06-12Some cleanups mostly in account class formatting.Bjørn Lindeijer6-48/+75
2005-05-29Added getAccount & getCharacter to storage class. Cleaned up storage code.Aaron Marks4-52/+145
Added test in main.cpp.
2005-05-24Added object.cppAaron Marks2-1/+63
Fixed account.cpp constructor.
2005-05-23Updated Storage class (added extra table to database).Aaron Marks7-27/+139
Misc.
2005-05-23Building sqlite conditionalyMateusz Kaduk4-6/+6
2005-05-23Remove main.h, added storage class, moved some code to itMateusz Kaduk4-48/+148
2005-05-22Adding default tables if sqlite_master table is emptyMateusz Kaduk2-6/+32
2005-05-22Added main.h with database reference, opening and closing databaseMateusz Kaduk6-0/+61
2005-05-22Fixed compile time warningsMateusz Kaduk3-6/+8
2005-05-21Print error when trying to build with scripting but without Squirrel installed.Bjørn Lindeijer1-1/+2