summaryrefslogtreecommitdiff
path: root/include/serialize.h
AgeCommit message (Collapse)Author
2017-12-03serialize: set and cache new value before calling OnSet and pass old value ↵Adam
to OnSet
2017-04-20Merge commit '8656b65e392e8d26de218bf372da949c3a00d8d4'Adam
2017-04-06Fix some more compiler warningsAdam
2017-03-19Fix some of the simplier compiler warningsAdam
2017-02-07Normalize databases by not allowing generic Object referencesAdam
Remove redis database support
2017-01-23Make log system use newer format stringsAdam
Also allow log messages to be translatable
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-12-01Allow objects to opt out of gc, don't gc accounts with users logged inAdam
Also store cached state with the field by using Serialize::Storage for field storage
2016-11-30Fix some field shadowing warningsAdam
2016-11-25sqlite: reference id of referenced type if available instead of objectsAdam
2016-10-30Add new RESTful JSON API and documentationAdam
2016-10-15Various improvements/bugfixes to extdb stuffAdam
2016-10-09Don't return a reference from the stack in TypeBase::GetTypesAdam
2016-10-07Set shared library suffix to .so, add missing serializable type GetTypes ↵Adam
definition
2016-07-31Update license headers and copyrights on all source filesAdam
2016-07-28Get rid of undefined behavior in configuration blocks by creating them as ↵Adam
necessary, add templated set function
2016-07-28Allow serializable fields to use storage in the respective objects.Adam
Split service management code nito a proper servicemanager. Make service references managed instead of lazy lookup. Also made events and serializable use service manager instead of their respective systems for management
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2015-12-31Add missing override keyword to methods that require it.Peter Powell
2015-07-08Fix a ton of typos.Peter Powell
2014-11-24Rewrite serializable to have field level granularityAdam
Represent serializable objects in a digraph, and as a result made most object relationships implicitly defined, and use the graph to trace references between objects to determine relationships. Edges may also be marked as having a dependency of the object they point to, which allows for automatic cleanup and deletion of most objects when no longer needed. Additionally, this allows not having to require in-memory copies of everything when using external databases. db_sql has been rewritten for this and now always requires a database to function. db_sql with MySQL now requires InnoDB to make use of transactions and foreign key constraints.
2014-06-23Hold a reference to the type in Serialize::Checker in the event it goes ↵Adam
away, and invalidate the type pointer of objects when the type goes away
2014-05-28Mark pure virtual functions with anope_abstractAdam
2014-04-20New event systemAdam
2014-04-01Require cmake 2.8 and C++11 supportAdam
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2013-05-17Add Redis database supportAdam
2013-02-24On startup check all object typesAdam
2013-02-15Store hashes of the last commit instead of the last commitAdam
2013-02-14Switch Destroy methods to deleteAdam
2013-02-14This Serialize::Destroy method isn't actually needed anymore. Fixes ↵Adam
weirdness from a few Serializable items we had on the stack. Added a comment about why operator< in Reference fails.
2013-01-27Fix db_flatfile not clearing databases on save if there are no objects left ↵Adam
of that type (it will leave the old database with old objects currently)
2013-01-21Merge usefulness of Flags and Extensible classes into Extensible, made most ↵Adam
flags we have juse strings instead of defines/enums
2013-01-09Update copyright to 2013. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2012-12-28The timestamp column in SQL should actually be null sometimes, and fixed ↵Adam
some valgrind errors with db_sql_live
2012-12-25Allow modules loaded after startup to magically reobtain their database ↵Adam
objects. Fix os_dns for sql(live)
2012-12-13Optimize much of the database code and serialize code.Adam
2012-11-22Pretty large coding style cleanup, in source docAdam
cleanup, and allow protocol mods to depend on each other
2012-11-06Use std::tr1::unordered_map for a few of the larger mapsAdam
2012-10-29This include is unncessaryAdam
2012-10-13Simplify the db_sql_live code since this isn't actually necessary. Fixes a ↵Adam
problem internally ovwrwriting data on objects that we have modified and are queued because of assigning something to a serialize_obj reference
2012-10-01Allow modules to store data in their own databases.Adam
2012-09-24Fix a few oddball warnings that came up from clang, and also make it so ↵Naram Qashat
webcpanel.so can be compiled under Mac OS X.
2012-09-02Fix WindowsAdam
2012-05-23Fixed some problems found by RobbyAdam
2012-05-10Fixed crash on access del + valgrind errorsAdam
2012-05-08Fixed some 100% cpu bugs with the new SQL stuff, and fixed sqlite+db_sql_liveAdam
2012-04-23Reworked live SQL support yet againAdam
2012-02-14Clean up and reorganize our header filesAdam
2011-11-17Fixed storing mode locksAdam