summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2005-07-16Removed a lot of tabs used for indenting (please don't do that...), redidBjørn Lindeijer13-227/+268
MessageOut a bit so that it uses SDL_net, writes strings correctly and doesn't rely on Packet to be expandable. Also specified message IDs explicitly.
2005-07-16Workaround to let tmwserv work in windowsEugenio Favalli1-2/+5
2005-07-16Added chat message handler placeholder (still not fully functional).Aaron Marks12-61/+245
Updated PostgreSQL SQL support - although there is still problem with primary key being initialized to null. Updated message enumeration.
2005-07-16Fixed problem with memory expanding in Packet.Aaron Marks9-27/+98
Server now handles register requests.
2005-07-13Now compiles in windows, doesn't run though, it exits with code 3Eugenio Favalli1-3/+1
2005-07-13Implemented MessageOut.Aaron Marks8-60/+122
Rewrote MessageIn::readString - it was overly complex and didn't operate correctly. Update test client so it sends a login message.
2005-07-12Fixed problem with PostgreSQL support (variable was undefined).Aaron Marks4-3/+125
Added client/server message type enumerations. Enabled message handling in ConnectionHandler.
2005-07-01Fixed compilation warning and code cleanup.Huynh Tran5-134/+110
2005-07-01Fixed incorrect deletion in a map.Huynh Tran1-3/+3
2005-06-30Fixed memory leak, implemented delAccount() + unit tests and now using ↵Huynh Tran16-350/+696
reference-counted smart pointers to facilitate the memory management.
2005-06-29Fixed memory leak and set conditional stats updates.Huynh Tran5-17/+34
2005-06-29Fixed wrong memory deallocation.Huynh Tran1-2/+2
2005-06-29Fixed bugs, added new accessors and mutators to Object and Being, sync'd the ↵Huynh Tran13-186/+936
rest of the code to take into account the changes.
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