Commit Graph

118 Commits

Author SHA1 Message Date
Mikołaj Zalewski
f53e314180 comctl32: tooltips: Remove broken support for non-NULL-terminated strings in TOOLTIPS_GetDispInfo[AW]. 2007-07-20 11:36:59 +02:00
Andrew Talbot
9a76763c90 comctl32: Constify some variables. 2007-04-02 11:36:23 +02:00
Andrew Talbot
f63233d6a3 comctl32: Constify some variables. 2007-03-23 13:04:43 +01:00
Michael Stefaniuc
22ecd7aa67 comctl32: Remove redundant NULL checks before Free() (found by Smatch). 2007-03-08 11:58:04 +01:00
Felix Nawothnig
8784d47cba comctl32: Remove redundant NULL checks before Free() calls. 2007-02-14 12:22:39 +01:00
Paul Vriens
d44b0dba6f comctl32: Move documented functions to string.c. 2006-11-02 12:29:24 +01:00
Andrew Talbot
30dd37edb0 comctl32: Cast-qual warnings fix. 2006-10-20 10:19:51 +02:00
Michael Ploujnikov
1c16d83379 comctl32: Win64 printf format warning fixes. 2006-10-14 20:17:06 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mikołaj Zalewski
c5b27fa97b comctl32: Add Str_SetPtrWtoA analogue to Str_SetPtrAtoW. 2006-04-19 19:24:43 +02:00
Mike McCormack
316e5835a0 comctl32: Having an MRU list without a compare function works in Windows. 2006-03-27 11:30:50 +02:00
Thomas Weidenmueller
e1fd79bb89 comctrl32: ReAlloc should be able to move memory blocks if necessary. 2006-01-03 12:06:40 +01:00
Ge van Geldorp
e3b3c5ad7c Buffer size needs to be specified in bytes on input. 2005-09-17 14:29:01 +00:00
Marcus Meissner
bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Aric Stewart
42e592d17a Reading the MRUlist using the W functions we need to divide the size
by sizeof(WCHAR) to get the count of characters.
2005-09-06 11:42:13 +00:00
Frank Richter
9e57091ffa Fix warnings in 64bit. 2005-08-30 10:07:17 +00:00
Steven Edwards
e14569d122 Correct RegCreateKeyEx[A/W] prototype to match the PSDK. 2005-07-28 10:18:23 +00:00
Felix Nawothnig
627acaf6f7 Move DPA and DSA functions out of comctl32undoc.c as they are
documented by now.
2005-07-06 10:32:18 +00:00
Francois Gouget
f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +00:00
Dimitrie O. Paun
4cfce24f0e Complete the unicodification of comctl32undoc. 2005-03-24 15:07:23 +00:00
Jakob Eriksson
461c830745 Eliminate HeapAlloc casts. 2005-03-22 18:26:06 +00:00
Francois Gouget
6fb1a20020 Assorted spelling fixes. 2004-12-20 19:27:06 +00:00
Jon Griffiths
d6139af2da Implement the remaining MRU functions, fix a couple of differences
from native comctl32, add tests of MRU behaviour and documentation.
2004-12-10 15:31:38 +00:00
Francois Gouget
486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Hans Leidekker
411fc5f164 Fix signed/unsigned comparison warnings. 2004-09-02 23:00:53 +00:00
Francois Gouget
52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Robert Shearman
997ce1926e Forward some wrapper functions since we don't care about compatibility
with Win98 in this case.
2004-02-17 22:47:21 +00:00
Robert Shearman
187c8b71ce Move string functions to separate file. 2004-02-17 21:02:18 +00:00
Robert Shearman
524cad7413 Documentation update. 2004-02-17 20:23:05 +00:00
Robert Shearman
436145e975 Fix nGrow initialization in DPA_CreateEx. 2004-02-06 05:16:32 +00:00
Alexandre Julliard
4e47ccb490 There is no need for a private heap in comctl32, memory allocations
should go to the standard process heap (reported by Ge van Geldorp).
2004-01-26 20:23:08 +00:00
Dimitrie O. Paun
e5762652d2 Remove some dead code: hwndParent is not used anywhere. 2003-11-20 04:19:41 +00:00
Alexandre Julliard
10aacbf3ef Renamed the COMCTL32_* functions to use the exported name. 2003-09-17 22:42:04 +00:00
Alexandre Julliard
f5cb3dde17 Moved undocumented functions out of the exported commctrl.h. 2003-09-17 20:15:21 +00:00
Robert Shearman
5dbf835b43 Add proper names to ordinal-only functions. 2003-09-11 01:04:24 +00:00
Alexandre Julliard
e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Filip Navara
1ccaaa1a82 Fixed prototypes of CreateStatusWindowA/W, ImageList_Copy,
ImageList_EndDrag, ImageList_SetImageCount.
2003-08-22 23:51:15 +00:00
Francois Gouget
9591836ffb 'sizeof type' is best avoided as it won't always compile (e.g. 'int
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Uwe Bonnes
29ef801b40 DPA_Search: Handle DPAS_INSERTBEFORE on empty list. 2003-05-15 23:55:12 +00:00
Alexandre Julliard
dd74d9d889 Ordinals 410-413 are the window subclassing functions. 2003-05-11 03:40:59 +00:00
Jon Griffiths
cd4234aa49 Documentation updates. 2003-03-18 18:35:48 +00:00
Dimitrie O. Paun
297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Rolf Kalbermatter
6c79930413 Add config.h/port.h to allow compilation/linking in MSVC.
Fix some unsigned/signed warnings.
2002-12-16 22:43:58 +00:00
Robert Shearman
096becedd8 Implemented StrStrIW. 2002-12-13 23:25:59 +00:00
Dimitrie O. Paun
5ffde298fe Append to the end of the DPA, if insert index is too large. 2002-10-23 23:32:19 +00:00
Michael Stefaniuc
353529b2c8 - fix the "int format, HANDLE arg" type of warnings for comctl32
- compile the comctl32 dll with -DSTRICT
2002-10-23 22:19:10 +00:00
Dimitrie O. Paun
254e7484fa DPAs can't have more than 0x8000 elements (fixed with lots of help
from Carlos <clozano@andago.com).
2002-10-21 19:54:06 +00:00
Dimitrie O. Paun
c7fbc1b2c9 No need to increment item size, it's already adjusted by DPA_SetPtr
(found, and fixed by Carlos <clozano@andago.com>).
2002-10-21 19:49:44 +00:00
Dimitrie O. Paun
6168b98176 Do not rely on HeapReAlloc to allocate a NULL pointer. 2002-10-21 19:49:12 +00:00
Dimitrie O. Paun
7888385d76 Rewrite DPA_InsertPtr in terms on DPA_SetPtr, so that it's simpler,
cleaner, and more correct.
It now expands the array to accomodate larger than current size
indexes.
2002-10-21 19:48:37 +00:00