Rob Shearman
338568886c
msi: Create the table directly in create_table instead of requiring it to be loaded after saving.
2007-04-24 12:23:02 +02:00
Rob Shearman
ba0507a178
msi: Move table creation to table.c.
2007-04-24 12:22:48 +02:00
Rob Shearman
3aa9a25cb3
msi: Store the column info in the MSITABLE structure.
...
Load the data on view creation for simplicity instead of view execution.
2007-04-24 12:22:14 +02:00
Rob Shearman
94d48238ff
msi: Remove the hash table for a column when one of its values is modified since it will now be invalid.
2007-04-24 12:21:40 +02:00
Rob Shearman
37b11baaa3
msi: Move string loading and saving to string.c.
2007-04-24 12:20:19 +02:00
Rob Shearman
2e3289ca6c
msi: Add support for non-persistent strings.
...
Store the loaded refcount in the string table.
2007-04-24 12:18:04 +02:00
James Hawkins
d677bd7f3b
msi: Return MSICONDITION_NONE in MsiDatabaseIsTablePersistent if the table doesn't exist.
2007-04-23 14:00:24 +02:00
Mike McCormack
a16e5151da
msi: Factor out code to calculate column offsets.
2007-02-06 13:20:17 +01:00
Andrew Talbot
e5938d6fbb
msi: Remove unused variables.
2007-01-12 20:41:45 +01:00
Francois Gouget
6a385ae273
msi: assert.h is not a local header (spotted by winapi_check).
2006-11-13 12:59:14 +01:00
Alexandre Julliard
36c4ec8f33
msi: Fixed definition of the MSIITERHANDLE type.
2006-11-06 13:02:47 +01:00
Mike McCormack
14dda0f74f
msi: Fix a typo.
2006-11-01 13:38:23 +01:00
Mike McCormack
9a4ba8c114
msi: Search the patch package for source cabinet files.
2006-11-01 13:38:09 +01:00
Mike McCormack
15bfb30fc3
msi: Update tables using records, not integer by integer.
2006-10-26 12:56:10 +02:00
Mike McCormack
f6c7ae6a0c
msi: Fix insertion of null integers into a table.
2006-10-23 12:38:56 +02:00
Mike McCormack
8ecd34b971
msi: Allow rows in the _Columns table to be unordered.
2006-10-19 13:38:16 +02:00
Mike McCormack
f2c207fa03
msi: Reset the column number for each new table in a transform.
2006-10-19 13:38:09 +02:00
Mike McCormack
98a42ad575
msi: Fix tables with binary data where the key is an integer.
2006-10-17 11:17:43 +02:00
Mike McCormack
1f737c035e
msi: Stream fields shouldn't be treated as strings.
2006-10-17 11:17:34 +02:00
Francois Gouget
0b20150531
msi: Remove spaces before '\n's.
2006-10-16 11:31:03 +02:00
Mike McCormack
9187951ac7
msi: Handle the sign properly when converting integer data.
2006-10-12 14:58:39 +02:00
Mike McCormack
1b256f2c6e
msi: Improve error checking when applying transform data.
2006-10-12 14:58:33 +02:00
Mike McCormack
5742b332fe
msi: An empty string table entry should always have a zero refcount.
2006-10-12 11:32:21 +02:00
Mike McCormack
175c407bfc
msi: Make msi_makestring static.
2006-10-10 16:11:42 +02:00
Mike McCormack
2d48706d74
msi: Fix a memory leak.
2006-10-10 12:56:05 +02:00
Mike McCormack
07c85fe895
msi: Avoid reading the transform table data twice.
2006-10-10 12:55:57 +02:00
Mike McCormack
4d41a2b9ee
msi: Fix transform traces.
2006-10-06 12:54:30 +02:00
Mike McCormack
92cc0bc0c2
msi: Work around what appears to be a bug in native MSI's generation of transform data.
2006-10-06 12:54:21 +02:00
Mike McCormack
f53ba3ca58
msi: Transform the _Columns and _Tables tables first so the table metadata is present for new tables.
2006-10-06 12:54:13 +02:00
Mike McCormack
2c626c9d81
msi: Handle null integers properly in transforms.
2006-10-06 12:53:58 +02:00
Mike McCormack
59edd7d8a8
msi: Only ignore the StringPool and StringData in a transform.
2006-10-05 11:33:07 +02:00
Mike McCormack
2af5ed571a
msi: Only declare the szStringData and szStringPool strings once.
2006-10-05 11:33:00 +02:00
Mike McCormack
8d7bbd1809
msi: Remove an unused variable.
2006-10-05 11:32:51 +02:00
Mike McCormack
f1d4646a49
msi: Win64 printf format warning fixes.
2006-10-05 11:32:32 +02:00
Mike McCormack
60d92d42a3
msi: Fix a couple of test cases for MsiDatabaseIsTablePersistent.
2006-09-13 12:19:54 +02:00
Mike McCormack
00fdc6cb80
msi: Use msi_string_lookup_id instead of msi_id2stringW where possible.
2006-09-08 12:44:23 +02:00
Mike McCormack
533833b4e1
msi: Validate database fields before inserting them.
2006-09-07 11:00:32 +02:00
Mike McCormack
5f832b2731
msi: Fix writing of long strings to the database.
2006-08-28 11:49:21 +02:00
Mike McCormack
089411747b
msi: Fix strings with lengths that are exact multiples of 2^16.
2006-08-24 14:09:08 +02:00
Mike McCormack
65d12c342d
msi: Fix the value of LONG integers in records (suggested by James Hawkins).
2006-07-27 11:57:12 +02:00
James Hawkins
5842af1b95
msi: Fix a typo.
2006-07-27 11:43:22 +02:00
Dmitry Timoshkov
081563e7ec
Avoid non-portable WCHAR[] constructs.
2006-07-05 11:43:55 +02:00
Mike McCormack
cfe36cc81d
msi: Fix loading of long strings.
2006-06-13 12:56:42 +02:00
Alexandre Julliard
9a59ee76e4
msi: Make all the ops structures static and const.
2006-06-10 12:02:39 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Mike McCormack
819815d66c
msi: Use a debug channel to turn on transform debugging.
2006-04-07 20:00:45 +02:00
Mike McCormack
85e8d3adf8
msi: Fix possible free of uninitialized pointer.
2006-04-07 11:45:29 +02:00
Robert Shearman
9f487ba1de
msi: Optimise WHERE operations.
...
Optimise WHERE operations on matching against strings by adding a new
function find_matching_rows to the views, which eliminates the need to
examine every record when executing a query. Implement this function
in the table using a hash table on the ID stored in the data.
2006-03-20 12:03:04 +01:00
Robert Shearman
66c9cbbe0f
msi: Fix heap overflow in save_string_table.
...
Fix heap overflow caused by not accounting for the dummy first item,
which contains the codepage.
2006-02-22 22:15:12 +01:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00