Commit Graph

107 Commits

Author SHA1 Message Date
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
Paul Rupe 2fbe9cf2b7 Resize dynamic pointer array more carefully when adding new entries. 2002-09-25 03:19:24 +00:00
Michael Stefaniuc 025c0b716b Prepare dlls/{comctl32,gdi,msvideo,setupapi,shell32,twain,winmm} for
the conversion of HWND to a void*.
2002-09-06 19:41:17 +00:00
Dmitry Timoshkov cc7042f9ec Implement comctl32.417 and shlwapi.299. This avoids crash in IE's
History.
2002-08-16 01:43:11 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 9b6f433ebb Implemented strtolW/strtoulW in libwine_unicode and used it to replace
wcstol and friends.
2002-05-16 18:58:47 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Guy L. Albertelli a8bba78485 Fix problems in DPA_Merge exposed by previous code cleanup. 2002-02-21 20:08:29 +00:00
Andreas Mohr 2295e87be8 Fixed some more missing parenthesis issues. 2002-02-02 18:06:03 +00:00
Guy Albertelli 1cc881772c - fix order of parameters is SendNotify
- always use the dlg cntrl ID of the sender
2002-01-31 20:37:49 +00:00
Huw D M Davies 8ebf7c292f Removed IsBadStringPtrA call that caused trouble. 2002-01-29 16:56:48 +00:00
Aric Stewart 97b8c5704e Initialize streamData and check on failure to read desired data from
stream.
2002-01-18 19:04:39 +00:00