Commit Graph

264 Commits

Author SHA1 Message Date
Hans Leidekker 0b2bd0c903 msi: Count progress in units of 512 bytes. 2011-06-23 10:00:13 +02:00
Hans Leidekker ebf323cfcb msi: Add support for running the progress bar backwards. 2011-06-23 10:00:02 +02:00
Hans Leidekker 1ae309f981 msi: Get rid of some more forward declarations. 2011-06-07 14:18:34 +02:00
Hans Leidekker 5e37c1a2b7 msi: Revert 8321276cd3. 2011-06-07 14:18:33 +02:00
Hans Leidekker ddb25cd8a1 msi: Reorder dialog functions to avoid forward declarations. 2011-06-07 14:18:33 +02:00
Hans Leidekker 0c43024af7 msi: Get rid of helpers.c. 2011-05-06 16:39:08 +02:00
Hans Leidekker cd34bfe6c1 msi: Define common strings just once. 2011-05-02 16:40:20 +02:00
Hans Leidekker 9ad5d05a6a msi: Sync with the action request instead of the action taken in msi_seltree_sync_item_state. 2011-04-19 13:30:07 +02:00
Hans Leidekker ba9f1f770a msi: Get rid of msi_component_set_state and msi_feature_set_state. 2011-02-10 10:28:01 -06:00
Hans Leidekker 6d10216891 msi: Change ACTION_UpdateComponentStates to take a feature pointer. 2010-12-24 15:51:31 +01:00
Hans Leidekker 4b5db7a9ac msi: Always initialize the dialog font list. Convert it to a standard Wine list.
Avoids accessing uninitialized memory when the TextStyle table is absent.
2010-11-26 14:59:19 +01:00
André Hentschel 384b95533d msi: Downgrade an error. 2010-11-09 11:44:14 +01:00
Hans Leidekker 54a61744e0 msi: Features don't require a directory. 2010-11-05 17:15:34 +01:00
Hans Leidekker aef0aa30fd msi: Don't crash if there is no feature parent. 2010-11-03 16:06:12 +01:00
Hans Leidekker ced35838ea msi: An inactive dialog control does not require a property. 2010-10-26 15:24:46 +02:00
Hans Leidekker eaa57c5b7b msi: Compare strings without depending on thread locale. 2010-10-19 13:49:54 +02:00
Alexandre Julliard 04a6a14c1f msi: Don't allow entering text in a scroll text richedit control. 2010-06-10 14:48:28 +02:00
Hans Leidekker e1a63fd5c2 msi: Pass the control name to ControlEvent_SubscribeToEvent instead of uninitialized memory. 2010-05-31 12:46:08 +02:00
Hans Leidekker e31ee69f37 msi: Rename MSI_GetPropertyW and MSI_SetPropertyW.
For consistency with related functions msi_dup_property and msi_get_property_int
and because there is no ANSI version of these functions.
2010-04-21 11:57:33 +02:00
Hans Leidekker 44b7983913 msi: Make MSI_SetPropertyW take a pointer to a database instead of a package. 2010-04-21 11:57:33 +02:00
Hans Leidekker 186f4efa3f msi: Make msi_get_property_int and friends take a pointer to a database instead of a package.
They only operate on a database and this way we can use them before a package is created.
2010-04-21 11:57:33 +02:00
Octavian Voicu 80878d00da msi: Sync combo control value with associated property. 2010-04-19 15:13:30 +02:00
Octavian Voicu 857f979468 msi: Fill combo control with items from database. 2010-04-19 15:13:19 +02:00
Octavian Voicu 2793a4fd52 msi: Use standard window class for combo control and add error checking. 2010-04-19 15:12:48 +02:00
Hans Leidekker 7b6858546c msi: Strip leading text style label from control text before lookup in binary table. 2010-03-03 15:23:15 +01:00
Andrew Eikum d1a916a614 msi: Implement recursive INSTALLSTATE updates for msi treeview selector. 2010-01-06 09:51:17 +01:00
Rob Shearman b960b967c9 msi: Improve stub for MsiGetFeatureCost{A, W} and hook the stub into the VolumeCostList dialog control. 2009-11-09 19:43:23 +01:00
Dmitry Timoshkov 0513f3c4e6 msi: Add support for msidbControlAttributesProgress95. 2009-10-29 15:48:38 +01:00
Dmitry Timoshkov df8780356b msi: Limit the progress to its maximal value, use MulDiv for better results. 2009-10-29 15:48:27 +01:00
Hans Leidekker 843382f284 msi: Define common strings only once. 2009-10-15 14:16:50 +02:00
Alexandre Julliard 2c5bd49297 msi: Build a proper tab chain by walking through the controls list.
Simply changing Z-order as we encounter windows is not sufficient to
ensure correct ordering, we have to rebuild the list from scratch.
2009-07-15 14:22:14 +02:00
Alexandre Julliard 3271362a26 msi: The dialog units are based on a 12-point font size, despite the documentation. 2009-06-25 12:09:45 +02:00
Ilya Shpigor 6c64da8b7c msi: Subscribe to SetProgress event on adding progress bar control to dialog. 2009-05-21 16:17:52 +02:00
Michael Stefaniuc 5f3ac30b3c msi: Remove superfluous pointer casts. 2009-01-15 12:43:03 +01:00
Andrew Talbot 668197a898 msi: Declare some functions static. 2009-01-12 13:10:53 +01:00
Andrew Talbot 40db5bdb16 msi: Sign-compare warnings fix. 2008-10-21 11:45:39 +02:00
James Hawkins 68268dc3df msi: Initialize the count variable to zero. 2008-10-09 13:01:31 +02:00
James Hawkins 451aff9ae5 msi: Add extra constraints on the formatting string of edit path text. 2008-10-09 13:01:25 +02:00
James Hawkins d596ae29d8 msi: Skip the feature action detection logic if there is no product code. 2008-08-25 11:40:30 +02:00
James Hawkins 4cacdc7dba msi: Initialize the update function pointer when creating the control. 2008-07-18 11:15:38 +02:00
James Hawkins 69c02d0b03 msi: Create the MSI hidden window on demand. 2008-05-14 21:51:10 +02:00
James Hawkins 6d91fd8ce6 msi: Use the handle to the treeview item if the item text is not returned. 2008-05-05 13:34:05 +02:00
James Hawkins c48daf93bb msi: Downgrade a few messages to WARN. 2008-04-03 11:29:58 +02:00
James Hawkins 174b7b51ac msi: Update controls based on a property when that property changes. 2008-02-28 10:59:22 +01:00
Rico Schüller 63c5e152a1 msi: Fix memory leaks (found by Smatch). 2008-01-07 13:46:06 +01:00
James Hawkins f0d369ba44 msi: Allow whitespace after the property name when setting a property in the dialog. 2007-12-23 14:17:11 +01:00
James Hawkins f4eea10bed msi: The BS_GROUPBOX style should only be used if the HasBorder attribute is set. 2007-12-20 12:17:21 +01:00
James Hawkins b1ce93f944 msi: Set the text color after calling the window proc. 2007-12-17 11:48:39 +01:00
James Hawkins b1cc87cb65 msi: The line control has a height of exactly 2 device units. 2007-12-17 11:48:35 +01:00
Marcus Meissner 964a0303c1 msi: Fixed buffer overflow in number parsing. 2007-12-17 11:33:33 +01:00
Lionel Debroux 1bed47a3b3 msi: Fix missing alloc check. 2007-12-13 14:30:40 +01:00
Anatoly Lyutin 704c399237 msi: Fix invalid SQL query. 2007-11-28 11:14:42 +01:00
James Hawkins 9459ef5ab1 msi: Implement the VolumeSelectCombo control. 2007-11-13 13:35:27 +01:00
Mikolaj Zalewski 96e4320feb msi: Use BS_GROUPBOX for group boxes. 2007-10-22 12:36:07 +02:00
Andrew Talbot 19ef864058 msi: Name all or none of the formal arguments in function prototypes. 2007-06-18 13:36:42 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
James Hawkins 12c33ab8aa msi: Remove incorrect ERR as messages can be sent before the control is created. 2007-05-07 14:32:03 +02:00
James Hawkins 933fd8b879 msi: Set the text limit of the edit control if the limit is given. 2007-05-07 14:31:57 +02:00
James Hawkins 7fe3ba934c msi: Add the ES_AUTOHSCROLL style to the edit control. 2007-05-07 14:30:38 +02:00
James Hawkins 7f4a4e161f msi: Only allow valid styles in msi_dialog_get_style. 2007-05-07 14:30:29 +02:00
James Hawkins d4a324940b msi: Check for a NULL text entry, as it can be blank in the VolumeCostList control. 2007-02-26 13:56:21 +01:00
James Hawkins 0746b9076d msi: Cleanup the dialog event subscriptions when destroying the dialog. 2007-02-21 10:53:49 +01:00
Steven Stein 378928f2df msi: Added "Default" control condition to msi_dialog_set_control_condition. 2007-02-14 22:17:36 +01:00
Peter Oberndorfer 712e67723a msi: Clean up magic numbers. 2007-02-07 11:35:17 +01:00
Peter Oberndorfer c1b7a825ff msi: Honor attributes for combobox. 2007-02-07 11:35:09 +01:00
Peter Oberndorfer a5277fb53b msi: Honor msidbControlAttributesSorted attribute for list box. 2007-02-07 11:34:32 +01:00
Misha Koshelev d8b00a071d msi: Make sure to ignore UI level flags in dialog and files as well. 2007-02-07 11:03:39 +01:00
Peter Oberndorfer 91bf34f610 msi: Do not use a static variable to save the insertion position for the listview. 2007-02-06 20:36:33 +01:00
Peter Oberndorfer 9afb0f39a8 msi: Store value of the property with each listbox element.
This makes sure the property is set to the right value even when order in listbox is changed.
2007-02-06 20:36:12 +01:00
Peter Oberndorfer 69448afdc7 msi: Do not store property for each listbox element, as it is the same one for the whole listbox.
Remove struct msi_listbox_item as it only contains 1 element now.
2007-02-06 20:35:19 +01:00
Peter Oberndorfer 79d2f76b8e msi: Only insert entries into listbox if property value matches. 2007-02-06 20:35:03 +01:00
James Hawkins fdfb10e02b msi: Update the text control when the selection path changes. 2006-12-18 12:01:18 +01:00
Dmitry Timoshkov 1cdf5cddac msi: Make some data const and static. 2006-11-29 12:44:10 +01:00
Mike McCormack ed663fe216 msi: Don't access the list of controls after the dialog is destroyed. 2006-11-21 12:14:44 +01:00
Mike McCormack 6a2fb05451 msi: Create a function to free control data. 2006-11-21 12:14:34 +01:00
Mike McCormack fbfc221a77 msi: Fix an access after freeing memory. 2006-11-21 12:14:31 +01:00
Mike McCormack f241daef54 msi: Always delete temp files after creating them. 2006-11-14 11:43:10 +01:00
James Hawkins 31a9b087c1 msi: Notify the external UI handler when changing media. 2006-11-14 11:35:00 +01:00
James Hawkins 9d899129bf msi: Only add text to the scroll control if text is provided. 2006-11-09 10:35:07 +01:00
James Hawkins c6bfbde849 msi: Implement handling for the ErrorDialog and use it to change media. 2006-10-27 12:08:46 +02:00
Mike McCormack 575cc67d0f msi: Use msi_feature_set_state and msi_component_set_state where possible. 2006-10-26 12:56:09 +02:00
Alexandre Julliard 33b346613e msi: Properly handle negative coordinates for mouse events. 2006-10-25 17:42:04 +02:00
James Hawkins 8321276cd3 msi: Run SetProperty events before all other events no matter what the order is. 2006-10-19 13:34:17 +02:00
James Hawkins 9119b700ed msi: Revert "msi: Perform button control events in greatest to least order." 2006-10-17 11:16:11 +02:00
Mike McCormack 80affb3c2d msi: Merge action.h into msipriv.h. 2006-10-10 16:12:12 +02:00
James Hawkins f721a24a13 msi: Perform button control events in greatest to least order. 2006-10-09 14:40:00 +02:00
James Hawkins 9024a88dd9 msi: Make msi_dialog_dup_property return a copy of the property if the property is empty. 2006-10-06 15:20:52 +02:00
Mike McCormack f1d4646a49 msi: Win64 printf format warning fixes. 2006-10-05 11:32:32 +02:00
James Hawkins f16ddf1b32 msi: Only apply the last font style in the list of styles. 2006-10-04 11:14:21 +02:00
James Hawkins 5ea2cd44c1 msi: Subscribe the SelectionTree control to the SelectionPath event. 2006-10-04 11:13:22 +02:00
James Hawkins 908e27d6fc msi: Store the selected item in the SelectionTree control. 2006-10-04 11:13:12 +02:00
James Hawkins 846fdd1550 msi: Publish the SelectionDescription and SelectionPath events when the selection changes in the SelectionTree control. 2006-10-04 11:13:01 +02:00
James Hawkins de0efba366 msi: Properly initialize the SelectionTree control's attributes and property values. 2006-10-04 11:12:44 +02:00
James Hawkins 2a8c38ff74 msi: Provide a specific dialog to ControlEvent_SubscribeToEvent, as package->dialog does not always point to the same dialog. 2006-10-04 11:12:22 +02:00
James Hawkins 7ee3a4efdf msi: Select the first item in the SelectionTree control. 2006-10-04 11:12:11 +02:00
James Hawkins 0fe1b36716 msi: Empty the window text if no text is provided. 2006-10-04 11:11:59 +02:00
James Hawkins e3496be256 msi: Assign the property to path if the property is empty. 2006-10-04 11:11:49 +02:00
James Hawkins 038d31ca93 msi: Don't ERR if a dialog doesn't provide control conditions, as they are not required. 2006-10-04 11:11:36 +02:00
James Hawkins 1bfc50eb74 msi: Add missing '\n' to TRACE output. 2006-10-04 11:11:20 +02:00
James Hawkins 3d812659e8 msi: Return to the parent dialog when the argument to the EndDialog event is Return. 2006-09-29 15:00:13 +02:00