webmcp

log libraries/mondelefant/mondelefant_native.c

age author description
2021-02-05 jbe Removed unused pointer for database connection to avoid compiler warning
2019-10-21 jbe Basic support for database array types (integers and strings)
2019-10-19 jbe Further bugfixes regarding 1:1 references
2019-10-19 jbe Fixed wrong use of logical-or operator introduced in previous commits
2019-10-19 jbe Added missing lua_settop(L, 6) in previous commit
2019-10-19 jbe Fix handling when setting 1:1 referenced objects
2017-05-28 jbe Provide "__tostring" meta-method for database error objects
2016-02-09 jbe Allow <db_handle>:create_list(...) to create a non-empty list by passing a table as argument (needed for references)
2016-01-20 jbe Methods :create_object() and :create_list() ignore any additional table argument; "_class" attribute is always set; "_col" proxy respects foreign keys
2016-01-12 jbe Fixed bug which was introduced during code-cleanup of <db_handle>:quote_string(...) function
2016-01-12 jbe Bugfix regarding emergency memory cleanup (missing memory initialization)
2016-01-12 jbe Bugfix in mondelefant.connect{...}
2016-01-12 jbe Added downward-compatibility code for mondelefant.connect{engine='postgresql', ...} call
2016-01-12 jbe Fixed invalid key to next bug
2016-01-09 jbe Renamed "columns" property to "_col"
2016-01-09 jbe Proxy table to directly access column-values of a database row (e.g. if document_column is set or for reserved method names)
2016-01-09 jbe Changed mondelefant_result_index C-function: lookup in _data table (regular columns) is done last; lookup in _data table is omitted if "document_column" attribute of class is set
2016-01-09 jbe Always write to document when "document_column" is set in class
2016-01-09 jbe Removed some line-breaks
2016-01-08 jbe Improved memory cleanup in case of out-of-memory errors (PQnotifies and PQunescapeBytea)
2016-01-07 jbe Replaced mondelefant_cleanup function with local cleanup code
2016-01-07 jbe Added missing mondelefant_cleanup(conn) call for previous commit in __gc metamethod
2016-01-07 jbe Hack to avoid cumulating memory leaks in case of (caught) out-of-memory errors
2016-01-06 jbe Some code-cleanup and fixed comments; Better behavior on out-of-memory errors in certain cases
2016-01-06 jbe Further fixes in mondelefant.connect{...} (including proper handling of garbage collection in case of memory allocation errors); Code cleanup (use luaL_setmetatable, which is available since Lua 5.2)
2016-01-06 jbe Do not require "engine" field to be set for mondelefant.connect{...}; Fixed bugs in mondelefant.connect{...} that could have crashed Lua; Shortened Lua registry key for mondelefant library
2016-01-04 jbe Quick fix to avoid problems on document creation
2016-01-04 jbe Bugfix in "document_column" write mechanism: write to document field when column does NOT exist
2016-01-03 jbe Bug in <db_handle>:try_query(...) fixed, which caused errors when result contains more than two columns (bug introduced by changeset fb98b17056e5)
2015-12-10 jbe Dropped compatibility code for Lua 5.1 (assume LUA_VERSION_NUM >= 502)
2015-12-10 jbe Improved error handling in mondelefant_native.c; Fixed bug in error handling when PQsendQuery returned 0
2015-12-09 jbe Use uservalues rather than ephemeron tables in mondelefant
2015-12-09 jbe Added <db_handle>:wait(...) method to wait for NOTIFYs
2015-11-16 jbe New implementation of (proxy) write access to fields of JSON object in a special column
2015-11-16 jbe New implementation of (proxy) read access to fields of JSON object in a special column
2015-11-16 jbe Reverted changes to mondelefant_result_index and mondelefant_result_newindex C-functions (proxying of JSON document)
2015-11-16 jbe Extended _column_info table to be an associative array as well (in addition to a sequence); Allow direct (proxy) access to fields of JSON object in a special column (completed write access)
2015-11-16 jbe Removed wrongly committed lines
2015-11-16 jbe Preparatory work for proxy write access to "document_column"
2015-11-15 jbe Slightly improved efficiency of (JSON) document proxying in mondelefant_native.c
2015-11-14 jbe Allow direct (proxy) access to fields of JSON object in a special column (set in the model) (write access not implemented yet)
2015-11-14 jbe Proper support for mutable data types (JSON objects/arrays) in table columns
2015-11-14 jbe Added mutability state handlers in mondelefant_atom_connector.lua and prepare its usage in mondelefant_native.c
2015-03-20 jbe Register mondelefant.class_prototype.get_reference(...) and mondelefant.class_prototype.get_foreign_key_reference_name(...) functions in mondelefant_native.c for use through Lua code
2014-08-01 jbe Load JSON library in WebMCP and automatically convert JSON documents in mondelefant-atom-connector
2012-04-15 jbe Compatibility with Lua 5.2
2010-10-16 jbe Allow mondelefant.connect to be called with an explicit "conninfo" string
2010-06-04 jbe Code cleanup and documentation added; Year in copyright notice changed to 2009-2010
2009-10-25 jbe/bsw Version 1.0.0v1.0.0

Impressum / About Us