Commit Graph

3525 Commits

Author SHA1 Message Date
Nikolay Sivov 96c99dc99b comctl32/tests: Test return values in uniform way. 2011-05-13 17:05:06 +02:00
Nikolay Sivov c6dd14199c comctl32/listview: Fix parameter validation for LVM_SETITEMTEXT. 2011-05-13 10:55:43 +02:00
Nikolay Sivov 4daa5459f4 comctl32/tab: Send NM_RCLICK on WM_RBUTTONUP. 2011-05-13 10:55:14 +02:00
Nikolay Sivov 97314eeebd comctl32/tests: Make functions from test macros. 2011-05-12 14:25:04 +02:00
Nikolay Sivov 69bcdb7aad comctl32/listview: Don't forward HDN_ITEMCHANGING/HDN_ITEMCHANGED to listview parent. 2011-05-11 14:56:49 +02:00
Francois Gouget 5920de5ffb Assorted spelling and case fixes. 2011-05-09 12:09:27 +02:00
Nikolay Sivov 34d86a2d17 comctl32/listview: Make edit box handle available from LVN_ENDLABELEDIT notification. 2011-05-09 11:44:30 +02:00
Nikolay Sivov 740e7be128 comctl32/listview: Don't refuse to set subitem data when some extra flag is specified. 2011-05-06 16:42:01 +02:00
Nikolay Sivov 7f64031661 comctl32/tests: Test message result for equality. 2011-05-06 16:41:58 +02:00
Nikolay Sivov cefcadcc38 comctl32: Ignore size field when creating with -W calls. 2011-05-02 18:48:19 +02:00
Nikolay Sivov bf3f848d8a comctl32/tests: Add more MRU tests. 2011-05-02 18:48:14 +02:00
Nikolay Sivov ed161054fa comctl32: Adjust field names and some defines to match current documentation. 2011-05-02 18:33:28 +02:00
Nicolas Le Cam 401961f8fb comctl32/tests: Remove a set but unused variable. 2011-05-02 12:41:39 +02:00
Nikolay Sivov f79c4d6fa2 comctl32/syslink: Call default procedure directly when needed. 2011-04-27 11:54:49 +02:00
Nikolay Sivov f6b3376ec7 comctl32/tests: Remove practically unused parameters from test functions. 2011-04-27 11:54:47 +02:00
Henri Verbeet 5ce3186735 comctl32: Return if there's no current selection in TAB_EnsureSelectionVisible(). 2011-04-26 10:46:15 +02:00
Amine Khaldi 942aa70a0e comctl32: Don't draw text when the number of text lines has been set to zero. 2011-04-25 13:05:06 +02:00
Frédéric Delanoy 0ad90ee9ed po: Add message contexts (and French translations) for some polysemic English translation entries. 2011-04-25 11:52:02 +02:00
Austin English 49538a4b31 comctl32: Remove extraneous parentheses (LLVM/Clang). 2011-04-13 14:13:55 +02:00
Henri Verbeet e5c3883c92 comctl32: Allocate the correct amount of memory for tab items in TAB_InsertItemT(). 2011-04-12 17:42:17 +02:00
Nikolay Sivov 82258f4f25 comctl32/tab: Use dpa to store item data. 2011-04-11 12:06:37 +02:00
Nikolay Sivov 6867735e20 comctl32/tab: Fix invalid read of item data. 2011-04-11 12:06:18 +02:00
Nikolay Sivov 0270e69b54 comctl32/monthcal: Some tests for MCM_SIZERECTTOMIN. 2011-04-04 11:52:03 +02:00
Nikolay Sivov 6d43470600 comctl32/monthcal: Get rid of empty slots in cached brushes array. 2011-04-04 11:51:58 +02:00
Nikolay Sivov 41a113e0ce comctl32/monthcal: Cache pens, fix line colour. 2011-04-04 11:51:53 +02:00
Nikolay Sivov 49088bf96d comctl32/monthcal: Fix today label position and text colour. 2011-04-04 11:51:48 +02:00
Nikolay Sivov 5a8be0bc20 comctl32/monthcal: Week numbers use title colour. 2011-04-04 11:51:43 +02:00
Gerald Pfeifer 1e74b6379c comctl32: Simplify MONTHCAL_PaintLeadTrailMonths. 2011-04-01 10:49:00 +02:00
Vincent Povirk ae608e6ec3 comctl32: Validate the day of month when scrolling through years. 2011-03-31 23:48:05 +02:00
Vincent Povirk 0d8775c9f9 comctl32: When entering a month or year, keep the day in range. 2011-03-31 23:47:33 +02:00
Vincent Povirk 4d1fca24be comctl32: Use current month and year when checking day of month. 2011-03-31 23:47:26 +02:00
Nikolay Sivov 7bdcbfb9a0 comctl32/listview: Fix edit box text limit. 2011-03-28 17:31:25 +02:00
Nikolay Sivov 124eaa046f comctl32/listview: Adjust dispinfo text buffer length. 2011-03-28 17:31:21 +02:00
Nikolay Sivov 3796f12710 comctl32/monthcal: Clean day painting function. 2011-03-28 17:31:03 +02:00
Nikolay Sivov 802ab38f0c comctl32/monthcal: Selection and abbreviations should use title colour. 2011-03-28 17:30:58 +02:00
Nikolay Sivov 6d4b96020e comctl32/monthcal: Cache brush handles. 2011-03-28 17:30:53 +02:00
Nikolay Sivov eb2dc5c900 comctl32/monthcal: Fix hit test for previous month. 2011-03-28 17:30:45 +02:00
Nikolay Sivov 2f65a83370 comctl32/monthcal: Move partially visible months painting outside of calendar loop. 2011-03-28 17:30:40 +02:00
Nikolay Sivov ddab5d8548 comctl32/monthcal: Remove outdated comment. 2011-03-28 17:30:33 +02:00
Marcus Meissner e766a132db comctl32: Added missing break (Coverity). 2011-03-28 17:12:32 +02:00
Francois Gouget cc70cd9de1 comctl32/tests: Make init_tbsize_result() and tbsize_addbutton() static. 2011-03-16 14:14:23 +01:00
Marcus Meissner 2cd225b793 comctl32: Removed array NULL check (Coverity). 2011-03-15 17:14:07 +01:00
Vincent Povirk 08a4c8611b comctl32: Validate text entered in a datetime by the user. 2011-03-10 12:54:02 +01:00
Francois Gouget af10470597 comctl32: Add a trailing '\n' to an ERR() call. 2011-03-07 11:09:08 +01:00
Francois Gouget 755648421e comctl32/tests: Add a '\n' to a pair of ok() calls. 2011-03-07 11:08:42 +01:00
Dmitry Timoshkov 9f91254c0f comctl32: 'clip' rect is unused in the WM_ERASEBKGND rebar class handler. 2011-03-02 18:00:36 +01:00
Peter Urbanec 93b5bcc6eb comctl32: Add a check for setting number of parts in the statusbar to zero. 2011-03-01 13:21:58 +01:00
Peter Urbanec 193d13c421 comctl32/tests: Enable statusbar tooltip tests. 2011-02-28 15:50:24 +01:00
Peter Urbanec 4f77b00372 comctl32: Use signed indices, so that the number of parts can be set to zero. 2011-02-28 15:50:22 +01:00
Austin English 7c25705e3c comctl32/tests: Remove win9x hack. 2011-02-28 13:11:22 +01:00
Nikolay Sivov 653b31047d comctl32/ipaddress: Use array index after range check (Coverity). 2011-02-25 11:09:20 +01:00
Nikolay Sivov 1734577731 comctl32/listview: Fix dead condition (Coverity). 2011-02-25 11:09:15 +01:00
Nikolay Sivov 190f6ab158 comctl32/rebar: Don't use local variable with the same name as function parameter (Coverity). 2011-02-25 11:09:11 +01:00
Nikolay Sivov f8ba490e58 comctl32/datetime: Fix use of out-of-scope local buffer (Coverity). 2011-02-25 11:09:06 +01:00
Nikolay Sivov 101c8ca5ac comctl32/comboex: Reduce variable scope. 2011-02-25 11:08:59 +01:00
Alexander Scott-Johns 60b5d91abb comctl32: Fix read of uninitialized data in notify_itemactivate (Valgrind). 2011-02-21 12:46:26 +01:00
Alexander Scott-Johns f2df2f38e6 comctl32: Fix read of uninitialized data in LISTVIEW_GetItemExtT when LVIF_TEXT is not set (Valgrind). 2011-02-21 12:46:14 +01:00
Austin English 809bb35bf0 comctl32/tests: Make sure to use a return value (LLVM/Clang). 2011-02-18 14:54:51 +01:00
Austin English 85e3ff245f comctl32/tests: Make sure to use a return value (LLVM/Clang). 2011-02-18 14:54:50 +01:00
Austin English 223c431d90 comctl32/tests: Make sure to use a return value (LLVM/Clang). 2011-02-18 14:54:50 +01:00
Austin English 4803f921e6 comctl32/tests: Make sure to use a return value (LLVM/Clang). 2011-02-18 14:54:50 +01:00
Austin English a41a574d3e comctl32/tests: Remove dead assignments (LLVM/Clang). 2011-02-18 14:54:49 +01:00
Alexander Scott-Johns e2d4775233 comctl32: Fix read of uninitialized data in LISTVIEW_HeaderNotification and rename it to LISTVIEW_Notify (Valgrind). 2011-02-17 17:31:22 +01:00
Gerald Pfeifer d698e226f6 comctl32/tests: Remove unused parameter from test_removeimage(). 2011-02-14 13:33:30 +01:00
Gerald Pfeifer 8c9abc1dd8 comctl32/tests: Avoid uninitialized variable warning in GetWidthBytes(). 2011-02-14 13:33:29 +01:00
Alexander Kochetkov d668e76461 comctl32: Fixed height of comboboxex32. 2011-02-07 13:07:40 -06:00
Francois Gouget fc55c4a2d5 comctl32/tests: Fix compilation on systems that don't support nameless unions. 2011-02-07 10:17:41 -06:00
Nikolay Sivov cf36677cbc comctl32/tests: Test more return values (LLVM/Clang). 2011-02-07 10:08:40 -06:00
Nikolay Sivov 6992ccc042 comctl32/listview: Remove duplicated operation (LLVM/Clang). 2011-02-07 10:08:31 -06:00
Nikolay Sivov e8b73fa8f3 comctl32/listview: Remove some useless operations (LLVM/Clang). 2011-02-07 10:08:25 -06:00
Nikolay Sivov b5ddadce6f comctl32/listview: Remove couple of dead assignments (LLVM/Clang). 2011-02-07 10:08:04 -06:00
Austin English 3391c28d41 comctl32/tests: Make sure to use return value (LLVM/Clang). 2011-02-07 10:06:50 -06:00
Nikolay Sivov 0edfb1b4a0 comctl32/tests: Initialize item mask on item insert (Valgrind). 2011-01-31 12:28:29 +01:00
Greg Geldorp 50a25a8ebb comctl32/tests: Fix failures for 120DPI display. 2011-01-20 12:24:08 +01:00
Nikolay Sivov 6d1a3c6e6e comctl32/imagelist: Fix a couple of imagelist leaks (Valgrind). 2011-01-17 12:50:33 +01:00
Nikolay Sivov 6869f89a30 comctl32/tests: Fix a leak in rebar test data allocation (Valgrind). 2011-01-17 12:48:36 +01:00
Nikolay Sivov e61fd95146 comctl32/tests: Fix a leak in toolbar test data allocation (Valgrind). 2011-01-17 12:48:28 +01:00
Alexandre Julliard 54684cf674 comctl32: Convert string table resources to po files. 2011-01-11 16:05:47 +01:00
Alexandre Julliard cca319d594 comctl32/imagelist: Don't change destination size in ImageList_Duplicate without corresponding allocation. 2011-01-10 12:41:38 +01:00
Joel Holdsworth 90a8e3f37f comctl32/rebar: Implemented dragging between rows. 2011-01-10 12:41:37 +01:00
Joel Holdsworth 53284d2a18 comctl32/rebar: Moved drag notify code into REBAR_MouseMove. 2011-01-10 12:41:36 +01:00
Joel Holdsworth ebadd4ec46 comctl32/rebar: Implemented band reordering within rows. 2011-01-10 12:41:35 +01:00
Joel Holdsworth 1e644a7db7 comctl32/rebar: Removed a redundant call. 2011-01-10 12:41:35 +01:00
Gerald Pfeifer 38ce67a462 comctl32: Shed unused parameter from TOOLTIPS_NCCreate. 2011-01-03 11:29:30 +01:00
Gerald Pfeifer b227f75435 comctl32: Remove the last, unused parameter from LISTVIEW_HScroll. 2011-01-03 11:29:09 +01:00
Hwang YunSong a5661427dd comctl32: Update Korean resource. 2010-12-20 12:47:37 +01:00
Alexandre Julliard 84a86d4897 comctl32: Fix positioning of tracking tooltips at the bottom of the screen. 2010-12-13 16:24:49 +01:00
Francois Gouget 320d8d2a52 comctl32: Add a trailing '\n' to a FIXME() call. 2010-12-09 12:17:33 +01:00
André Hentschel d32d1c866d comctl32: Partially implement new messages. 2010-12-05 12:25:16 +01:00
Francois Gouget 1465b4d211 comctl32/tests: Add a trailing '\n' to an ok() call. 2010-12-03 16:08:17 +01:00
Nikolay Sivov f0f3157da1 comctl32/listview: Don't touch out text pointer if it wasn't requested. 2010-12-03 13:13:45 +01:00
Paul Vriens a9c31ed90e comctl32/tests: Fix shell32 test failures on NT4/W2K. 2010-11-23 14:16:22 +01:00
Nikolay Sivov 3fc6e08f2a comctl32/treeview: Remove some casts. 2010-11-17 14:01:13 +01:00
Nikolay Sivov 0517abf184 comctl32/treeview: Use a code set by dispinfo holder to convert data encoding after TVN_GETDISPINFO. 2010-11-17 14:01:13 +01:00
Nikolay Sivov 119860b05f comctl32/listview: Use a code set by dispinfo holder to convert data encoding after LVN_GETDISPINFO. 2010-11-17 11:19:32 +01:00
Austin Lund a4a60568a4 comctl32/tests: Fixed rebar layout tests that depend on system font widths. 2010-11-12 11:41:49 +01:00
Austin Lund 293e429296 comctl32/tests: Fixed rebar layout tests which depend on system font height. 2010-11-11 12:21:28 +01:00
Austin Lund cddcf039fc comctl32/tests: Changed rebar layout tests to load data dynamically. 2010-11-11 12:21:21 +01:00
Austin Lund 1f97cb2287 comctl32/tests: Change expect_band_content test to ensure line numbers are reported correctly on test failure. 2010-11-10 16:17:44 +01:00
Austin Lund 1eacb105b5 comctl32/tests: Fix band info tests that depend on system font heights. 2010-11-10 16:17:05 +01:00
Bernhard Übelacker 43aa5f6b2e comctl32: Test for window messages of a property sheet with custom dialog proc. 2010-11-08 18:12:57 +01:00
Austin Lund 05d82b6376 comctl32/tests: Fixed toolbar tests for varing width of button strings. 2010-11-08 13:30:22 +01:00
Austin Lund a07022a7e1 comctl32/tests: Fix toolbar size tests that depend on system font height. 2010-11-08 13:30:22 +01:00
Austin Lund 551d4077c5 comctl32/tests: Change toolbar size test data to load dynamically. 2010-11-08 13:30:22 +01:00
Paul Vriens afc5bf72c4 comctl32: Update Serbian (Latin and Cyrillic) translations.
Translation by Đorđe Vasiljević.
2010-11-08 11:56:13 +01:00
Austin Lund 6a819b102d comctl32/tests: Added extra debugging information to toolbar size tests. 2010-11-05 14:38:36 +01:00
Gerald Pfeifer 7312981cf5 comctl32: Remove the last, unused parameter fromTOOLTIPS_NewToolRectT. 2010-11-05 11:28:23 +01:00
Nikolay Sivov 6ec621e835 comctl32/treeview: Make item data layout partially compatible with native one. 2010-11-01 16:15:05 +01:00
Gerald Pfeifer 42b1006925 comctl32: Fix test description in test_hittest. 2010-11-01 11:44:49 +01:00
Gerald Pfeifer d25d667627 comctl32: Remove TOOLTIPS_WindowFromPoint, putting its functionality into its sole calling site. 2010-11-01 11:44:43 +01:00
Alexandre Julliard 478d35fa75 comctl32: Make more functions available by name. 2010-10-25 13:52:51 +02:00
Nikolay Sivov 4633fc5c03 comctl32/treeview: Fix TVN_DELETEITEM to use item that is about to be deleted. 2010-10-25 12:41:41 +02:00
Nikolay Sivov 04e5e9cfa0 comctl32/treeview: Accept null item handle as a root for TVM_DELETEITEM. 2010-10-25 12:41:41 +02:00
Alexandre Julliard 2b4aeca70b comctl32: Use the correct resource ids for cursors. 2010-10-18 19:08:37 +02:00
Austin Lund 23b00490c0 comctl32/tests: Fix ImageList tests for different device color depths. 2010-10-15 11:34:59 +02:00
Alexandre Julliard 1826530974 comctl32: Use the appropriate color format when loading a DIB in ImageList_LoadImageW. 2010-10-14 17:54:51 +02:00
Jeff Latimer ad9507b5f3 comctl32: Change stub to return IDYES instead of IDOK. 2010-10-13 11:19:53 +02:00
Yaron Shahrabani d298ec1944 comctl32: Added Hebrew translation. 2010-10-07 16:08:23 +02:00
Alexandre Julliard d8950a7ea6 comctl32/toolbar: Fix incorrect use of the ScreenToClient function. 2010-10-05 14:04:08 +02:00
Alexandre Julliard a37e5975dc comctl32/propsheet: Fix incorrect use of the ScreenToClient function. 2010-10-05 14:04:01 +02:00
Alexandre Julliard 87b359c48a comctl32/progress: Fix incorrect use of the ScreenToClient function. 2010-10-05 14:03:54 +02:00
Alexandre Julliard 5434d069ea comctl32/pager: Fix incorrect use of the ScreenToClient function. 2010-10-05 14:03:48 +02:00
Alexandre Julliard a10441d67a comctl32/ipaddress: Fix incorrect use of the ScreenToClient function. 2010-10-05 14:03:41 +02:00
Alexandre Julliard 96ed854d35 comctl32/datetime: Fix incorrect use of the ScreenToClient function. 2010-10-05 14:03:33 +02:00
Alexandre Julliard 4b4c1a0060 comctl32/comboex: Fix incorrect use of the ScreenToClient function. 2010-10-05 14:03:25 +02:00
Austin Lund 227b1fe2ca comctl32/tests: Add tests for negative subitems independent of local settings. 2010-10-05 12:20:29 +02:00
Detlef Riekenberg 51db7f0a15 comctl32: Dump a parameter in a TRACE. 2010-10-05 12:10:17 +02:00
Dmitry Timoshkov 09539e4219 comctl32: Postpone setting the property sheet focus until the tab control is initialized. 2010-10-05 12:07:38 +02:00
Marko Nikolic abed5b49b9 comctl32/tests: Removed sign comparison warnings. 2010-10-04 16:20:07 +02:00
Nikolay Sivov f08938c381 comctl32/tab: Fix DRAWITEMSTRUCT filling when extra item data of a custom size is used. 2010-10-04 15:00:07 +02:00
Nikolay Sivov 66bad889f4 comctl32/treeview: Prevent item height to be calculated to zero value. 2010-10-04 15:00:07 +02:00
Nikolay Sivov 03bd3c8040 comctl32/listview: Use actual edit box contents to calculate initial control size. 2010-10-04 15:00:07 +02:00
Nikolay Sivov f9736bcc6e comctl32/toolbar: Properly handle invalid arguments processing TB_ADDSTRING message. 2010-10-04 15:00:07 +02:00
Alexandre Julliard 55676e84ed comctl32/tests: Make some variables static. 2010-10-01 13:35:49 +02:00
Luca Bennati d345c8dd93 comctl32: Update Italian translation. 2010-09-28 12:57:33 +02:00
Nikolay Sivov 1b2f7517ee comctl32/tab: Add a test for TCM_SETITEMEXTRA. 2010-09-28 12:51:01 +02:00
Austin Lund 3fd940b2a1 comctl32/listview: Fix test failures for subitem returned with negative coordinates. 2010-09-27 14:13:16 +02:00
Nikolay Sivov 5d657a106f comctl32/listview: Use proper A/W call to measure item text string. 2010-09-27 14:13:16 +02:00
Nikolay Sivov b65423c546 comctl32/treeview: Erase background when painting over supplied hdc. 2010-09-27 14:13:16 +02:00
Hans Leidekker af7e4dbe54 comctl32: Add a stub implementation of TaskDialogIndirect. 2010-09-27 14:10:46 +02:00
Alexandre Julliard af200111b4 comctl32: Return the correct hittest for the size grip in mirrored windows. 2010-09-24 15:45:55 +02:00
Austin Lund e1a0a66f27 comctl32/tests: Default listview width appears to be 1 inch. 2010-09-23 11:53:11 +02:00
Austin Lund 3836e62ed8 comctl32/tests: LVM_GETRECTITEM should return TRUE. 2010-09-22 12:43:37 +02:00
Austin English 76ba45e5ab comctl32: Fix compiler warnings on Clang. 2010-09-20 13:57:40 +02:00
Gerald Pfeifer 9724a432e9 comctl32: Remove unused parameter lpcs from TOOLTIPS_Create. 2010-09-20 13:48:12 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard cd3d46d178 comctl32: Use int64 in the spec file for 64-bit integers. 2010-08-31 14:23:47 +02:00
Nikolay Sivov acbd632039 comctl32/imagelist: Fix return value for IImageList_GetIconSize(). 2010-08-23 13:37:02 +02:00
Nikolay Sivov 9b77425f6a comctl32/imagelist: Fix return value from IImageList_SetBkColor(). 2010-08-23 13:37:02 +02:00
Nikolay Sivov 1c82b3491a comctl32/imagelist: Remove parameter check from IImageList_GetBkColor(). 2010-08-23 13:37:02 +02:00