2003-02-18 Bernhard Herzog * setup.py (GenerateWrapper.oracle_extension_from_lib): Assume that the header files are in the same directory as the DLL 2003-02-07 Bernhard Herzog * test/mock_db.py (MockDB.da_update_res): New. 2003-02-06 Bernhard Herzog * test/mock_db.py (MockDB.da_insert_bulk_res_stretch): New. 2003-01-24 Jan-Oliver Wagner * test/mock_db.py (MockDB.da_insert_para_tree): New. 2003-01-23 Bernhard Herzog * test/mock_db.py (MockDB.__init__): Add res_tab, res_stretch_tab, res_disch_tab and corresponding id counters. (MockDB.da_get_res, MockDB.da_insert_res, MockDB.da_delete_res): New. Methods to handle DA_S_res (MockDB.da_get_res_stretch, MockDB.da_insert_res_stretch): New. Methods to handle DA_S_res_stretch (MockDB.da_get_res_disch, MockDB.da_insert_res_disch): New. Methods to handle DA_S_res_disch 2003-01-16 Bernhard Herzog * dagreater/apispec.py (DA_S_res): The stp_factor field has actually 41 chars. 2003-01-16 Jan-Oliver Wagner * test/mock_db.py (MockDB.da_cleanup_temp_sess): new. But a dummy so far. 2003-01-16 Jan-Oliver Wagner * test/mock_db.py (MockDB.authorized_to_write): Now at least checks for the user (though not the group). (MockDB.da_get_subst): now considers the is_templ flag. 2003-01-15 Jan-Oliver Wagner * test/mock_db.py (NULL_ID, NULL_NUMERIC): new (MockDB.__init__): initialize user_id. (MockDB.authorized_to_write): new, but still a dummy. (MockDB.da_db_connect): now stores the user_id. (MockDB.da_get_sess): now returns copied records instead of the original. (MockDB.da_insert_sess): now copies the record correctly. (MockDB.da_update_sess): now copies the record correctly. (MockDB.da_get_subst): now returns copied records instead of the original. (MockDB.da_insert_subst): now works almost according to API Spec. (MockDB.da_update_subst, MockDB.da_delete_subst): new. 2003-01-13 Bernhard Herzog * test/mock_db.py (MockDB.da_db_disconnect): Added. 2003-01-07 Bernhard Herzog * GreaterDB/interface.py (set_api_interface): Allow dotted names in the modulename and provide a way to refer to an object in the module. See the doc-string for how this works. 2003-01-03 Frank Koormann * test/mock_db.py (da_get_stretch, da_insert_stretch, da_get_stretch_class, da_insert_stretch_class, da_get_disch, da_insert_disch, da_get_disch_class, da_insert_disch_class, da_get_market, da_insert_market, da_get_sess_disch, da_insert_sess_disch, da_insert_subst_det, da_get_subst_det, da_get_env, da_insert_env_det, da_get_env_det): New 2003-01-02 Bernhard Herzog * generator/test/test_types.py (TestArray.test_array_of_char), generator/test/test_list_struct.py (TestListStruct.test_from_dict_impl), generator/test/test_format.py (TestListStruct.test_format_api_module): Update the tests because of the additional checks in Array.py_to_c (TestPointer.test_pointer_to_char): Add doc-string * generator/WrapperGenerator/typesystem.py (Array.py_to_c): For an array of char, make the generated C-code raise an exception if the object is not in fact a string. 2002-12-20 Frank Koormann * test/mock_db.py: New, moved to here from GREAT-ER/test 2002-12-18 Jan-Oliver Wagner * generator/test/test_db_functions.py (TestParamInsertFunction): new * generator/GreaterAPIGenerator/dbfunctions.py (DBInsertFunction): introduced self.dbrecord_pos which specifies the position of the actual record for the insert action in the list of parameters. Constantly set to -2 for this class. (DBParamInsertFunction): new * dagreater/apispec.py: DBParamInsertFunction() definition of da_insert_user added. 2002-12-04 Bernhard Herzog * setup.py (GenerateWrapper.run), GreaterDB/interface.py (set_api_interface): The automatically generated python wrapper is now named pydagreater. On windows, dagreater.py would be overridden by the dagreater.dll so they couldn't be both in the GreaterDB directory. 2002-11-27 Bernhard Herzog Started new separate CVS repository for the DB API wrapper.