Commit graph

43 commits

Author SHA1 Message Date
Aric Stewart
39600d9d2e msi: Reorder the condition operators so that longer strings are matched first.
This allows ~<< to be properly matched.
2009-03-23 15:26:02 +01:00
James Hawkins
7ae4f695bc msi: Convert string variables to ints when appropriate. 2008-05-13 10:44:22 +02:00
James Hawkins
5e2bc5b3fe msi: If a feature's action is INSTALLSTATE_UNKNOWN, MsiEvaluateCondition should return MSICONDITION_FALSE. 2008-02-28 10:59:16 +01:00
Michael Stefaniuc
02933a11de dlls: Remove unreachable break after return/break. Found by Smatch. 2007-07-19 11:57:49 +02:00
James Hawkins
6b97f8905d msi: Handle remote calls to MsiEvaluateCondition. 2007-07-06 18:12:11 +02:00
Andrew Talbot
1486d851da msi: Constify some variables. 2007-06-01 12:51:14 +02:00
Alexandre Julliard
fadc820fe5 Revert "msi: Comparisons with null in conditions are special."
This reverts commit 9dce96b315.
2006-12-14 17:02:23 +01:00
Mike McCormack
9dce96b315 msi: Comparisons with null in conditions are special. 2006-12-07 17:54:32 +01:00
Mike McCormack
80affb3c2d msi: Merge action.h into msipriv.h. 2006-10-10 16:12:12 +02:00
Alexandre Julliard
2d1b6182af msi: Change the prefix on bison-generated names to avoid the name-prefix directive. 2006-09-11 21:53:04 +02:00
Alexandre Julliard
689d943dab msi: Specify the bison name prefix directly in the source file. 2006-09-09 11:25:19 +02:00
James Hawkins
6a520c0b6d msi: Add handling for MsiEvaluateCondition's substring operators. 2006-08-22 12:11:40 +02:00
Mike McCormack
31c5652dc6 msi: Fix some memory leaks in the condition parser. 2006-07-27 11:56:57 +02:00
Mike McCormack
172e183cf3 msi: Don't define COND_SPACE twice. 2006-06-15 11:39:28 +02:00
Hans Leidekker
c077aaf116 msi: Fix some copy/paste bugs in the implementation of condition operators. 2006-06-05 13:50:32 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack
deaae4b8d1 Empty strings are not equal to any number, so all comparisons against
them fail except for tests for non-equalness.
2005-11-14 12:29:10 +00:00
Mike McCormack
fc0cc66b54 Fix comparison of empty properties to numbers and add test cases. 2005-11-14 11:24:14 +00:00
Mike McCormack
1238fda624 Add missing semicolons that caused compile trouble on FreeBSD. 2005-11-03 09:55:30 +00:00
Mike McCormack
da20e4d9ca NULL and empty strings are the same in conditions. 2005-11-02 19:58:01 +00:00
Mike McCormack
9d43994ec2 Add a bunch of tests for MsiEvaluateCondition and make them pass. 2005-10-29 11:08:05 +00:00
Mike McCormack
029c83d88e Fix error handling in MsiEvaluateCondition. 2005-10-28 10:41:05 +00:00
Mike McCormack
470f23d471 Fix various memory leaks. 2005-09-22 10:56:26 +00:00
Mike McCormack
ee034ba4c2 Added memory allocation inline functions (part 2). 2005-09-20 11:59:14 +00:00
Mike McCormack
b58a098a11 -Wmissing-declarations and -Wwrite-strings warning fixes. 2005-05-29 20:08:12 +00:00
Aric Stewart
d5bfaf7897 A few small fixes. 2005-05-18 17:46:38 +00:00
Peter Berg Larsen
6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Aric Stewart
0f65057aed Do not limit properties to 256 characters when evaluating them. 2005-02-09 13:26:16 +00:00
Juan Lang
5f35a32f60 Identifiers evaluate to true if they are non-empty, regardless of
value.
2005-02-08 12:13:49 +00:00
Mike McCormack
79a6626b64 MsiEvaluateCondition returns an error when passed NULL as a
condition.
2005-02-02 09:29:46 +00:00
Michael Stefaniuc
b937407ee5 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2005-01-20 10:36:35 +00:00
Troy Rollo
7ade261c35 Fix parsing of string literals. 2004-07-29 02:36:06 +00:00
Hans Leidekker
4104c622af Set VersionMsi property.
Accept a dot in a number value.
2004-07-19 21:49:15 +00:00
Aric Stewart
d8b20cf53b Properly handle quoted number literals in MSI condition statements. 2004-07-12 23:31:18 +00:00
Mike McCormack
c90c781a32 Implement MsiVerifyPackage, cosmetic fixes. 2004-07-09 22:58:27 +00:00
Alexandre Julliard
a7a6f5f31c Authors: Mike McCormack <mike@codeweavers.com>, Aric Stewart <aric@codeweavers.com>
Refcount all objects, and use pointers internally.
2004-07-09 22:25:34 +00:00
Aric Stewart
b942e18636 Implemented ProcessComponents. 2004-07-06 18:50:02 +00:00
Aric Stewart
ec688fb4e0 Beginnings of costing and organizing into components and features. 2004-07-04 00:35:52 +00:00
Aric Stewart
eb0e0df908 Start implementing MsiOpenPackage. 2004-06-30 19:38:36 +00:00
Aric Stewart
e95136b7e3 Implement MsiGetTargetPathA/W. 2004-06-29 03:44:01 +00:00
Mike McCormack
8079d2ae33 Fixed the way the parser takes input strings. 2004-06-28 23:57:11 +00:00
Aric Stewart
401bd3f772 Start implementing actions. 2004-06-28 20:34:35 +00:00
Mike McCormack
af54ef9ce1 Start implementation of MsiEvaluateConditionA/W. 2004-03-16 03:23:43 +00:00