Commit graph

32666 commits

Author SHA1 Message Date
Andrew Munger 68b1f10bef Remove a overzealous check. MSDN says to avoid calling with NumberOfBytes == 0, but it is valid.
Addresses bug 3715.

svn path=/trunk/; revision=36449
2008-09-24 07:52:19 +00:00
Aleksey Bragin 9185bead4e - Fix ~4.4 million handle limit bug due to memory corruption. ReactOS can now create 16 million handles as expected (thanks Alex).
svn path=/trunk/; revision=36439
2008-09-23 20:44:31 +00:00
Stefan Ginsberg c3320e0a31 - Attempt satisfy Alex
svn path=/trunk/; revision=36436
2008-09-23 19:54:13 +00:00
Ged Murphy 504c3f3278 Don't risk a negative array subscript. Fixes our one and only REVERSE_NEGATIVE error
Fix for Coverity error CID: 766

svn path=/trunk/; revision=36435
2008-09-23 19:02:32 +00:00
Christoph von Wittich b13cfee486 return correct value in SETUPAPI_GetCurrentHwProfile
Fix for Coverity error CID: 782

svn path=/trunk/; revision=36434
2008-09-23 18:44:58 +00:00
Gregor Brunmar 931c14a8ea D3D9:
* More init values when creating a texture

svn path=/trunk/; revision=36429
2008-09-23 17:01:40 +00:00
Stefan Ginsberg ad277c0c6b - Add basic tracing to CmpReferenceKeyControlBlock, CmpDereferenceKeyControlBlock and CmpDereferenceKeyControlBlockWithLock
svn path=/trunk/; revision=36428
2008-09-23 14:15:56 +00:00
Aleksey Bragin 22c7de15e6 - In success cases of NtAllocateVirtualMemory, return the real (page rounded!) base address and region size, not the possibly unaligned pointer and length which were passed to the function. These cases were hit when a region of memory was previously reserved, then a commit request came with unaligned base address and length, which match that previously reserved region after aligning.
svn path=/trunk/; revision=36427
2008-09-23 12:41:02 +00:00
Aleksey Bragin 55ea8c5583 [FORMATTING]
- Reformat to the kernel coding style.

svn path=/trunk/; revision=36426
2008-09-23 11:45:40 +00:00
Aleksey Bragin 7a0cd51dea [FORMATTING]
- Apply standard header.

svn path=/trunk/; revision=36425
2008-09-23 10:47:10 +00:00
Art Yerkes 1c65b2ed57 Didn't notice that bufferSize is used by RegQueryValueEx. Now we count in
bytes with bufferSize and count in chars just in the subscript.

Noticed by Christoph_Vw

svn path=/trunk/; revision=36424
2008-09-23 10:17:27 +00:00
Art Yerkes 99f3a239d7 Initialize DbgLoadOptions from the start. It would be unitialized if a bootcd
was made without having the right section in txtsetup.sif.

svn path=/trunk/; revision=36423
2008-09-23 09:36:23 +00:00
Art Yerkes 5a637c03db Count the end of the szApplicationName in the right units. (coverity 551).
svn path=/trunk/; revision=36422
2008-09-23 09:28:44 +00:00
Art Yerkes a6b7e20ad4 Fix a legitimate overrun in _widths (coverity 575), and try not to be as
clever.

svn path=/trunk/; revision=36421
2008-09-23 09:09:16 +00:00
Art Yerkes 91ae271e19 This bug could've caused mayhem in the icon cache. (coverity 790).
svn path=/trunk/; revision=36420
2008-09-23 08:58:19 +00:00
Art Yerkes 6276f8ea51 Fix possible overrun of the last byte of dbuf (coverity 552).
svn path=/trunk/; revision=36419
2008-09-23 08:43:49 +00:00
Christoph von Wittich 87b74aaeed overrun of static array
Fix for Coverity error CID: 529

svn path=/trunk/; revision=36418
2008-09-23 08:04:57 +00:00
Aleksey Bragin 77b6062570 - The check for SystemHive being non-NULL is meaningless, because CmpInitializeHive is already checked for failure earlier, and in success case it returns a valid Hive.
- Fix for Coverity error CID: 280

svn path=/trunk/; revision=36417
2008-09-23 08:04:23 +00:00
Christoph von Wittich 112e87a86c overrun of static array
Fix for Coverity error CID: 532

svn path=/trunk/; revision=36416
2008-09-23 07:50:59 +00:00
Christoph von Wittich 1285642dcd overrun of static array
Fix for Coverity error CID: 552

svn path=/trunk/; revision=36415
2008-09-23 07:44:15 +00:00
Aleksey Bragin 118679eda4 - Preinitialize ValueData with NULL.
- Fix for Coverity error CID: 772.

svn path=/trunk/; revision=36414
2008-09-23 07:40:40 +00:00
Christoph von Wittich db712aaf9b overrun of static array
Fix for Coverity error CID: 546 + 547.

svn path=/trunk/; revision=36413
2008-09-23 07:38:00 +00:00
Christoph von Wittich eb68ba4328 overrun of static array
Fix for Coverity error CID: 548.

svn path=/trunk/; revision=36412
2008-09-23 07:33:44 +00:00
Christoph von Wittich cb7fa454fa don't free memory which is not allocated yet
Fix for Coverity error CID: 789.

svn path=/trunk/; revision=36411
2008-09-23 07:05:18 +00:00
Christoph von Wittich 2aabf8b66d fix heap corruption when lpStringToFind is NULL
Fix for Coverity error CID: 775.

svn path=/trunk/; revision=36410
2008-09-23 06:55:05 +00:00
Art Yerkes 9b1a7c47bd some detritus exposed by coverity.
svn path=/trunk/; revision=36409
2008-09-23 05:58:51 +00:00
James Tabor 9c5dbd4ca2 Add UpdateLayeredWindowIndirect to def and cleanup and add a new type in dce.h.
svn path=/trunk/; revision=36405
2008-09-22 15:49:38 +00:00
Christoph von Wittich 86186976c5 sync riched20 with wine 1.1.5
svn path=/trunk/; revision=36404
2008-09-22 14:29:28 +00:00
Christoph von Wittich a03d696d68 sync oleaut32 with wine 1.1.5
svn path=/trunk/; revision=36403
2008-09-22 14:20:27 +00:00
Christoph von Wittich 31607505af fix some memory leaks (patch by Ged)
svn path=/trunk/; revision=36402
2008-09-22 12:18:12 +00:00
Stefan Ginsberg 9c5e46aede - Remove deprecated output
svn path=/trunk/; revision=36401
2008-09-22 11:46:51 +00:00
Christoph von Wittich f6e7185c74 the time has COM
import stdole32.tlb from wine

svn path=/trunk/; revision=36400
2008-09-22 11:38:51 +00:00
James Tabor 1a7da253a8 - Add UPDATELAYEREDWINDOWINFO structure and UpdateLayeredWindowIndirect and types to psdk.
- Move UpdateLayeredWindow to def and change it to UpdateLayeredWindowIndirect.

svn path=/trunk/; revision=36398
2008-09-22 00:52:24 +00:00
Eric Kohl 4a8d830f83 Sync to Wine-0.9.58
- Rob Shearman <rob@codeweavers.com> Thu, 14 Feb 2008
widl: Remove unused headers.

- Rob Shearman <rob@codeweavers.com> Thu, 14 Feb 2008
widl: Guard the inclusion of unistd.h.

- Rob Shearman <rob@codeweavers.com> Tue, 19 Feb 2008
Add the nounistd option to all lex source files.

- Alexandre Julliard <julliard@winehq.org> Tue, 19 Feb 2008
Avoid the nounistd option that doesn't exist on older flex, define YY_NO_UNISTD_H... 

- Dan Hipschman <dsh@linux.ucla.edu> Thu, 21 Feb 2008
widl: Allow is_string_type to work for typedef'd types.

- Gerald Pfeifer <gerald@pfeifer.com> Fri, 22 Feb 2008
widl: Include <unistd.h> for prototype of unlink().

- Dan Hipschman <dsh@linux.ucla.edu> Wed, 19 Mar 2008
widl: Ignore libraries in imported IDL files.

- Dan Hipschman <dsh@linux.ucla.edu> Thu, 20 Mar 2008
widl: Make structures with FC_ENUM16 fields complex.

svn path=/trunk/; revision=36394
2008-09-21 21:18:42 +00:00
Eric Kohl 1c1bfdafe2 Define TRUE only if it hasn't been defined before
svn path=/trunk/; revision=36390
2008-09-21 19:57:05 +00:00
Colin Finck 033cea3fa6 Forgot these files, sorry...
svn path=/trunk/; revision=36385
2008-09-21 17:01:55 +00:00
Colin Finck 6b981d5bb1 Sync msi with Wine 1.1.5
svn path=/trunk/; revision=36384
2008-09-21 15:24:30 +00:00
Eric Kohl 2cbfa7cb91 EnumDependentServicesA/W and EnumServicesStatusA/W don't fix up pointers if the service manager returns an error.
This fixes bug #3737.
Patch by Michael Martin aka bugboy <martinmnet@hotmail.com>.


svn path=/trunk/; revision=36383
2008-09-21 15:19:52 +00:00
Cameron Gutman 39a0bb1742 - Merge aicom-network-fixes up to r36381
svn path=/trunk/; revision=36382
2008-09-21 14:43:43 +00:00
Christoph von Wittich 70f9181595 fix another typo...
svn path=/trunk/; revision=36378
2008-09-21 14:12:52 +00:00
Eric Kohl b48aef5119 [FORMATTING] No code changes!
svn path=/trunk/; revision=36377
2008-09-21 13:55:53 +00:00
Christoph von Wittich fff44b9cb5 sync jscript with wine 1.1.5
svn path=/trunk/; revision=36376
2008-09-21 13:24:00 +00:00
Christoph von Wittich 3415a605e5 this hack wasn't supposed to be committed
svn path=/trunk/; revision=36375
2008-09-21 13:05:48 +00:00
Christoph von Wittich 8ff60114b6 sync msxml3 with wine 1.1.5
svn path=/trunk/; revision=36374
2008-09-21 13:03:20 +00:00
Colin Finck 0fa81bc0da Wow, WriteConfigurationFile() in rbuild never worked since it was added in r13496 over 3 years ago! :-)
Thus, the generated "roscfg.h" was always empty, but for whatever reason modules started to include it.
I removed all dependencies on this file and the function itself from rbuild.

svn path=/trunk/; revision=36373
2008-09-21 13:00:40 +00:00
Cameron Gutman 0f1167cbc0 - Merge aicom-network-fixes up to r36371
svn path=/trunk/; revision=36372
2008-09-21 12:41:26 +00:00
Gregor Brunmar 82d36803fa D3D9:
* Added stubs for IDirect3DTexture9 methods
* Implemented IDirect3DTexture9::GetDevice()
* Moved device locking to the D3D9BaseObject instead of in each child object

svn path=/trunk/; revision=36370
2008-09-21 12:25:38 +00:00
Christoph von Wittich a63c53bdac fix two nice typo's
(array subscript was above array bounds)

svn path=/trunk/; revision=36369
2008-09-21 12:12:37 +00:00
Christoph von Wittich ec73256471 sync msiexec with wine 1.1.5
svn path=/trunk/; revision=36368
2008-09-21 12:00:07 +00:00
Aleksey Bragin 0230d25b11 - FileOffset is 32bit long, not 64bit, so no reason in additional casting.
- Fix a ULONG -> BOOLEAN conversion warning.

svn path=/trunk/; revision=36367
2008-09-21 11:34:04 +00:00