Commit Graph

50 Commits

Author SHA1 Message Date
Andrew Talbot 40db5bdb16 msi: Sign-compare warnings fix. 2008-10-21 11:45:39 +02:00
James Hawkins 8128d97fd4 msi: Replace lengthy calls to MSI_DatabaseOpenView with MSI_OpenQuery. 2008-10-09 12:58:47 +02:00
James Hawkins f03889ae82 msi: Add initial implementation of MsiDatabaseMerge, with tests. 2008-10-09 12:58:25 +02:00
Michael Stefaniuc 704ebf280e msi: Use the right FAILED/SUCCEEDED macro instead of negating the opposite. 2008-10-08 13:43:17 +02:00
James Hawkins 4749ee2662 msi: Forward MsiDatabaseMergeA to MsiDatabaseMergeW. 2008-10-01 11:41:29 -05:00
James Hawkins 525865447e msi: Add a stub implementation of MsiDatabaseMerge. 2008-10-01 11:41:23 -05:00
James Hawkins 4b9fd1d5e2 msi: Store the _Columns and _Tables tables in the database structure. 2008-08-25 11:40:46 +02:00
James Hawkins ca4758201d msi: Parse the MSIDBOPEN_PATCHFILE flag. 2008-07-08 10:50:11 +02:00
Dmitry Timoshkov 76d6b76737 msi: Mark some data as constant. 2008-05-26 19:46:09 +02:00
James Hawkins 4439e0b57d msi: Make local functions static. 2008-03-01 12:18:40 +01:00
Rob Shearman 03e466b837 msi: Fix the buffer size calculation in msi_build_createsql_prelude. 2008-02-28 10:44:06 +01:00
James Hawkins ec086f77e3 msi: Handle carriage returns in MsiDatabaseImport. 2008-02-12 22:59:53 +01:00
James Hawkins 00cfd2899b msi: Use MsiViewModify instead of building a SQL query when adding rows to the table. 2008-02-12 22:59:46 +01:00
James Hawkins a8d87a86cc msi: Handle the special table _ForceCodepage in MsiDatabaseExport. 2008-02-11 20:42:29 +01:00
James Hawkins d89ee5fdd6 msi: Test using carriage returns in SQL queries and imported tables. 2008-02-07 12:09:10 +01:00
Lionel Debroux 99ad76c3c1 msi: Correctly handle return value of msi_realloc. 2008-01-02 13:17:52 +01:00
Lionel Debroux fe444f0217 msi: Fix memory leaks (found by Smatch). 2007-12-13 14:30:40 +01:00
James Hawkins 0e29f314f5 msi: Return a remote interface to the database in a custom action. 2007-11-12 12:06:40 +01:00
James Hawkins 7dffb518c0 msi: Create the _Tables table when creating a database. 2007-11-12 12:06:29 +01:00
Detlef Riekenberg 7f655802a3 msi: Dump the database name in a FIXME. 2007-10-04 11:28:53 +02:00
James Hawkins a05613a9f2 msi: Add support for large string tables. 2007-06-08 11:59:28 +02:00
Rob Shearman d8cd46ac47 msi: The HOLD keyword implies a temporary table, whereas database importing should lead to permanent tables, so remove the HOLD keyword. 2007-04-24 12:23:13 +02:00
Rob Shearman 37b11baaa3 msi: Move string loading and saving to string.c. 2007-04-24 12:20:19 +02:00
James Hawkins 00fa70dbc1 msi: Fail if stg is NULL. 2006-12-05 16:49:45 +01:00
James Hawkins 5b19cc79bd msi: Add support for localizable strings in MsiDatabaseImport. 2006-10-24 11:43:33 +02:00
Mike McCormack 7f98f1d086 msi: Initialize the summary information from a storage interface, not a db. 2006-10-23 12:37:32 +02:00
James Hawkins 279f8158f8 msi: Integer columns can have the 'NOT NULL' modifier too. 2006-10-20 11:41:09 +02:00
James Hawkins a66584e1a2 msi: Allow more than one primary key in a table when importing a database. 2006-10-20 11:41:09 +02:00
Mike McCormack 73c7bcb6e5 msi: Fix memory leaks and bad frees. 2006-10-10 12:10:07 +02:00
Mike McCormack f1d4646a49 msi: Win64 printf format warning fixes. 2006-10-05 11:32:32 +02:00
James Hawkins 6be7ba7546 msi: Implement MsiDatabaseImport. 2006-10-03 20:18:38 +02:00
James Hawkins da14a4a25e msi: Store the full path to the database file in the MSIDATABASE structure. 2006-09-26 21:50:36 +02:00
Mike McCormack b4005c15f0 msi: Fix database creation. 2006-09-13 11:43:11 +02:00
Mike McCormack 74a6a1e71b msi: Delete databases we create but never commit. 2006-09-13 10:58:42 +02:00
Mike McCormack 6991563d81 msi: Implement MsiDatabaseExport. 2006-09-07 11:01:07 +02:00
Dan Kegel 337e1e202f msi: Callers of alloc_msihandle should handle failure. 2006-08-29 12:21:54 +02:00
Robert Shearman 95d057a839 msi: Support MSIDBOPEN_CREATEDIRECT and MSIDBOPEN_DIRECT in MSI_OpenDatabaseW. 2006-08-09 20:41:40 +02:00
Mike McCormack 2acf800fd4 msi: Fix some pointer to integer casts. 2006-05-25 10:44:44 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack 43b27144f0 msi: Add an implementation of MsiGetDatabaseState. 2006-01-30 14:56:52 +01:00
Mike McCormack ec5edeebf4 Define MSIDBOPEN_ constants using LPCWSTR when compiling Wine. 2005-10-30 19:21:51 +00:00
Mike McCormack 1cd26d25fc Implement transforms. This still includes some debugging code which
can be enabled by setting debug_transform to 1 in the relevant
places.
2005-10-27 12:25:04 +00:00
Mike McCormack ee034ba4c2 Added memory allocation inline functions (part 2). 2005-09-20 11:59:14 +00:00
Mike McCormack 6b5f290d75 Make load_string_table return the string table. 2005-09-16 19:01:40 +00:00
Mike McCormack 5f1b258c9c Convert the list of tables to a standard list. 2005-09-14 10:07:26 +00:00
Aric Stewart 27eb7adb92 Add the GUID for Patch files so that they can be opened as well. Looks
like the database structure is pretty much the same.
2005-09-06 09:24:48 +00:00
Mike McCormack 64de949cdd More -Wmissing-declarations and -Wwrite-strings warning fixes. 2005-05-31 09:30:28 +00:00
Mike McCormack c1f2cf1fba - make sure to free the string table when closing the database
- don't free szPersist in MsiOpenDatabase if it's not a string
2005-05-10 16:00:19 +00:00
Mike McCormack f47c0b2e29 Declare MsiExportDatabase* in the spec file, and fix a typo. 2005-04-26 14:30:15 +00:00
Mike McCormack 180f04059b Split out database functions, remove dependence on wine/unicode.h. 2005-03-29 11:28:57 +00:00