Timo Kreuzer [Mon, 20 Oct 2008 15:46:20 +0000 (15:46 +0000)]
sync to trunk revision 36500
svn path=/branches/ros-amd64-bringup/; revision=36846
Timo Kreuzer [Mon, 20 Oct 2008 15:13:53 +0000 (15:13 +0000)]
sync to trunk revision 36100
svn path=/branches/ros-amd64-bringup/; revision=36845
Timo Kreuzer [Mon, 20 Oct 2008 12:22:41 +0000 (12:22 +0000)]
display unexpected interrupts
svn path=/branches/ros-amd64-bringup/; revision=36842
Timo Kreuzer [Mon, 20 Oct 2008 12:21:07 +0000 (12:21 +0000)]
- set the new idt in the pcr
svn path=/branches/ros-amd64-bringup/; revision=36841
Timo Kreuzer [Mon, 20 Oct 2008 12:17:06 +0000 (12:17 +0000)]
fix __rdtsc on amd64 build, "=A" doesn't work.
svn path=/branches/ros-amd64-bringup/; revision=36840
Samuel Serapion [Sun, 12 Oct 2008 19:15:57 +0000 (19:15 +0000)]
Set svn:eol-style property
svn path=/branches/ros-amd64-bringup/; revision=36734
Samuel Serapion [Sun, 12 Oct 2008 07:17:20 +0000 (07:17 +0000)]
Stub setjmp and longjmp on freetype. This hack should be removed.
svn path=/branches/ros-amd64-bringup/; revision=36726
Samuel Serapion [Sun, 12 Oct 2008 06:58:31 +0000 (06:58 +0000)]
Fix: "1" may not appear in macro parameter list
svn path=/branches/ros-amd64-bringup/; revision=36725
Timo Kreuzer [Fri, 10 Oct 2008 23:35:34 +0000 (23:35 +0000)]
Sorry forgot this one. Fix build.
svn path=/branches/ros-amd64-bringup/; revision=36710
Samuel Serapion [Tue, 7 Oct 2008 04:05:18 +0000 (04:05 +0000)]
Finally convert gdi32 to spec file.
svn path=/branches/ros-amd64-bringup/; revision=36673
Samuel Serapion [Tue, 7 Oct 2008 04:03:36 +0000 (04:03 +0000)]
Fix incorrect parameter counts for NtGdiEngCreateBitmap, NtGdiEngCreateDeviceSurface, NtGdiEngCreateDeviceBitmap.
Don't worry these were just stubs.
svn path=/branches/ros-amd64-bringup/; revision=36672
Samuel Serapion [Wed, 1 Oct 2008 16:39:19 +0000 (16:39 +0000)]
Convert to spec.
Fix definitions (taken from WINE).
svn path=/branches/ros-amd64-bringup/; revision=36614
Timo Kreuzer [Wed, 1 Oct 2008 09:44:53 +0000 (09:44 +0000)]
fix usage of InterlockedIncrement
svn path=/branches/ros-amd64-bringup/; revision=36605
Timo Kreuzer [Sun, 28 Sep 2008 10:56:06 +0000 (10:56 +0000)]
remove duplicate definitions
svn path=/branches/ros-amd64-bringup/; revision=36570
Samuel Serapion [Sun, 28 Sep 2008 08:47:44 +0000 (08:47 +0000)]
Work around bug 3746. Use arch specific def files.
svn path=/branches/ros-amd64-bringup/; revision=36562
Timo Kreuzer [Thu, 25 Sep 2008 15:56:14 +0000 (15:56 +0000)]
Fix the "fix".
svn path=/branches/ros-amd64-bringup/; revision=36511
Samuel Serapion [Thu, 25 Sep 2008 05:43:26 +0000 (05:43 +0000)]
Convert to spec.
Protect _WIN32_WINNT from redefinition warning.
svn path=/branches/ros-amd64-bringup/; revision=36505
Samuel Serapion [Thu, 25 Sep 2008 05:15:16 +0000 (05:15 +0000)]
Fix redefinition warning.
svn path=/branches/ros-amd64-bringup/; revision=36504
Samuel Serapion [Thu, 25 Sep 2008 05:13:21 +0000 (05:13 +0000)]
Remove hack in cstub.c, it was caused by a hack in the rbuild file.
Fix fill_table() definition for non i386.
svn path=/branches/ros-amd64-bringup/; revision=36503
Samuel Serapion [Thu, 25 Sep 2008 04:27:03 +0000 (04:27 +0000)]
- Convert to spec.
- No need to assert an offset thats only used in i386 specific code.
svn path=/branches/ros-amd64-bringup/; revision=36502
Cameron Gutman [Thu, 25 Sep 2008 00:01:39 +0000 (00:01 +0000)]
- Try again to fix build
svn path=/trunk/; revision=36499
Cameron Gutman [Wed, 24 Sep 2008 23:48:28 +0000 (23:48 +0000)]
- Fix build
svn path=/trunk/; revision=36498
Cameron Gutman [Wed, 24 Sep 2008 23:39:17 +0000 (23:39 +0000)]
Merge aicom-network-fixes up to r36496
- We now call the MiniportCheckForHang handler every two seconds
- We reset the miniport if it has detected a hang
- Added some IRQL checks
svn path=/trunk/; revision=36497
Stefan Ginsberg [Wed, 24 Sep 2008 19:13:08 +0000 (19:13 +0000)]
- MiQueryVirtualMemory shouldn't be called for kernel memory, so remove the special case code for a kernel address space. Also fixes a case where we would dereference an uninitialized pointer.
- Fix for Coverity Error CID: 773
svn path=/trunk/; revision=36494
Stefan Ginsberg [Wed, 24 Sep 2008 18:47:24 +0000 (18:47 +0000)]
- Remove deprecated macro
svn path=/trunk/; revision=36493
Stefan Ginsberg [Wed, 24 Sep 2008 17:32:14 +0000 (17:32 +0000)]
- Add ObpValidateAccessMask stub (only returns success for now) and call it from ObInsertObject
- Fix for Coverity Error CID: 9
svn path=/trunk/; revision=36491
Stefan Ginsberg [Wed, 24 Sep 2008 17:16:25 +0000 (17:16 +0000)]
- HalpXboxReadSector: Fail if we are out of memory instead of dereferencing null
- Fix for Coverity error CID: 464
svn path=/trunk/; revision=36490
Stefan Ginsberg [Wed, 24 Sep 2008 17:11:35 +0000 (17:11 +0000)]
- IoFlushAdapterBuffers: "AdapterObject" is not an optional parameter, it is vital to identify the DMA adapter. Remove the check which confused Coverity and ASSERTify this instead.
- Fix for Coverity error CID: 155
svn path=/trunk/; revision=36489
Christoph von Wittich [Wed, 24 Sep 2008 16:57:29 +0000 (16:57 +0000)]
more correct fix
svn path=/trunk/; revision=36488
Stefan Ginsberg [Wed, 24 Sep 2008 16:37:35 +0000 (16:37 +0000)]
- IopGetDiskInformation: Fail if we are out of memory instead of dereferencing null
- Fix for Coverity error CID: 469
- Also fix a (potential) memory leak
svn path=/trunk/; revision=36487
Stefan Ginsberg [Wed, 24 Sep 2008 16:19:52 +0000 (16:19 +0000)]
- Only dereference the KCB if we know it exists
- Fix for Coverity error CID: 279
svn path=/trunk/; revision=36486
Christoph von Wittich [Wed, 24 Sep 2008 15:42:33 +0000 (15:42 +0000)]
check for value > 0 before using it as array index
Fix for Coverity error CID: 438
svn path=/trunk/; revision=36485
Stefan Ginsberg [Wed, 24 Sep 2008 15:27:54 +0000 (15:27 +0000)]
- 64 bit fixes for Mm routines: Use SIZE_T and ULONG_PTR where appropriate
- Note: MSDN is wrong about Nt/ZwAllocateVirtualMemory's ZeroBits. It really is a ULONG_PTR.
svn path=/trunk/; revision=36484
Stefan Ginsberg [Wed, 24 Sep 2008 15:04:59 +0000 (15:04 +0000)]
- FsRtlBalanceReads: Fail if we are out of memory instead of dereferencing null
- Fix for Coverity error CID: 465
svn path=/trunk/; revision=36483
Stefan Ginsberg [Wed, 24 Sep 2008 14:53:28 +0000 (14:53 +0000)]
- RawQueryFsSizeInfo: Fail if we are out of memory instead of dereferencing null
svn path=/trunk/; revision=36482
Stefan Ginsberg [Wed, 24 Sep 2008 14:01:43 +0000 (14:01 +0000)]
- Fix some non-x86 FLOATOBJ_*
svn path=/trunk/; revision=36481
Art Yerkes [Wed, 24 Sep 2008 13:35:37 +0000 (13:35 +0000)]
Fix leaks reported by coverity 612-615. In each case, it'd be safe to free
NULL, and failure to allocate isn't the only dropthrough case, leading to
conversion buffer leaks.
svn path=/trunk/; revision=36480
Art Yerkes [Wed, 24 Sep 2008 12:56:30 +0000 (12:56 +0000)]
Fix my copypasta spotted by (coverity 1294)
svn path=/trunk/; revision=36479
Samuel Serapion [Wed, 24 Sep 2008 12:33:59 +0000 (12:33 +0000)]
Small 64bit fix.
svn path=/branches/ros-amd64-bringup/; revision=36477
Timo Kreuzer [Wed, 24 Sep 2008 12:21:04 +0000 (12:21 +0000)]
add gdi32.spec taken from wine 1.13
svn path=/branches/ros-amd64-bringup/; revision=36476
Samuel Serapion [Wed, 24 Sep 2008 12:03:27 +0000 (12:03 +0000)]
- Fix ReadProcessMemory and Toolhelp32ReadProcessMemory definitions.
- Numerous 64bit fixes.
- Remove useless cast.
- Remove Fls API exports as per trunk.
svn path=/branches/ros-amd64-bringup/; revision=36475
Samuel Serapion [Wed, 24 Sep 2008 12:01:07 +0000 (12:01 +0000)]
Fix ReadProcessMemory and Toolhelp32ReadProcessMemory prototypes.
svn path=/branches/ros-amd64-bringup/; revision=36474
Samuel Serapion [Wed, 24 Sep 2008 11:38:39 +0000 (11:38 +0000)]
remove unneeded "fixes"
svn path=/branches/ros-amd64-bringup/; revision=36473
Daniel Reimer [Wed, 24 Sep 2008 11:22:08 +0000 (11:22 +0000)]
Bug 3726: Translate file: netshell by Lars Martin Hambro
Bug 3729: Italian translation update by Paolo Devoti
Bug 3738: slovak translations and fixes by Mario Kacmar
Bug 3741: Korean translation of Taskmgr by Sengyu Kim
svn path=/trunk/; revision=36472
Timo Kreuzer [Wed, 24 Sep 2008 11:17:33 +0000 (11:17 +0000)]
- remove old test code
svn path=/trunk/; revision=36471
Samuel Serapion [Wed, 24 Sep 2008 10:52:32 +0000 (10:52 +0000)]
Convert to spec. Minor 64bit fixes.
svn path=/branches/ros-amd64-bringup/; revision=36470
Samuel Serapion [Wed, 24 Sep 2008 10:50:50 +0000 (10:50 +0000)]
Fix NetLocalGroupGetMembers prototype.
svn path=/branches/ros-amd64-bringup/; revision=36469
Timo Kreuzer [Wed, 24 Sep 2008 10:45:58 +0000 (10:45 +0000)]
Add MemoryBarrier definition for amd64
svn path=/branches/ros-amd64-bringup/; revision=36468
Samuel Serapion [Wed, 24 Sep 2008 10:45:05 +0000 (10:45 +0000)]
Convert to spec. two for the price of one.
svn path=/branches/ros-amd64-bringup/; revision=36467
Samuel Serapion [Wed, 24 Sep 2008 10:41:39 +0000 (10:41 +0000)]
Convert to spec. Minor 64bit fixes.
svn path=/branches/ros-amd64-bringup/; revision=36466
Samuel Serapion [Wed, 24 Sep 2008 10:41:07 +0000 (10:41 +0000)]
Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36465
Samuel Serapion [Wed, 24 Sep 2008 10:35:36 +0000 (10:35 +0000)]
Minor 64bit fix.
svn path=/branches/ros-amd64-bringup/; revision=36464
Samuel Serapion [Wed, 24 Sep 2008 10:33:46 +0000 (10:33 +0000)]
Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36463
Samuel Serapion [Wed, 24 Sep 2008 10:28:59 +0000 (10:28 +0000)]
Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36462
Samuel Serapion [Wed, 24 Sep 2008 10:26:21 +0000 (10:26 +0000)]
Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36461
Samuel Serapion [Wed, 24 Sep 2008 10:18:20 +0000 (10:18 +0000)]
Minor 64bit fixes.
svn path=/branches/ros-amd64-bringup/; revision=36460
Aleksey Bragin [Wed, 24 Sep 2008 10:06:08 +0000 (10:06 +0000)]
- Create a VdmpInitialize function for NtVdmControl's initialize command.
- Remove NtEarlyVdmInitialize hack and csrss IVT/BDA copying hack, instead, copy the first page of physical memory to the beginning of process's virtual address space like NT does.
svn path=/trunk/; revision=36459
Samuel Serapion [Wed, 24 Sep 2008 10:05:05 +0000 (10:05 +0000)]
Convert to spec.
Sprinkle IntToPtr all over mouse.c
svn path=/branches/ros-amd64-bringup/; revision=36458
Samuel Serapion [Wed, 24 Sep 2008 09:51:33 +0000 (09:51 +0000)]
Convert to spec.
Use tabs in rbuild file.
svn path=/branches/ros-amd64-bringup/; revision=36457
Samuel Serapion [Wed, 24 Sep 2008 09:49:25 +0000 (09:49 +0000)]
Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36456
Samuel Serapion [Wed, 24 Sep 2008 09:48:04 +0000 (09:48 +0000)]
Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36455
Samuel Serapion [Wed, 24 Sep 2008 09:44:39 +0000 (09:44 +0000)]
Minor 64bit fixes.
svn path=/branches/ros-amd64-bringup/; revision=36454
Samuel Serapion [Wed, 24 Sep 2008 09:41:42 +0000 (09:41 +0000)]
Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36453
Samuel Serapion [Wed, 24 Sep 2008 09:39:44 +0000 (09:39 +0000)]
Convert appwiz.cpl to spec
svn path=/branches/ros-amd64-bringup/; revision=36452
Aleksey Bragin [Wed, 24 Sep 2008 08:17:15 +0000 (08:17 +0000)]
Juriy Sidorov <jura@cp-lab.com>
- Fix existing font substitutions.
- Add FreeMono as substitution for Courier and Courier New.
- Optimize font substitution tables and make them easy to maintain.
See issue #3483 for more details.
svn path=/trunk/; revision=36451
Aleksey Bragin [Wed, 24 Sep 2008 08:12:41 +0000 (08:12 +0000)]
- Make SmCreateUserProcess accept two flags: the old "wait for" one, and a new "reserve 1Mb" one. NT reserves lower 1MB of address space when starting a subsystem process. ReactOS should too, however right now this change is disabled (leads to boot problems).
svn path=/trunk/; revision=36450
Andrew Munger [Wed, 24 Sep 2008 07:52:19 +0000 (07:52 +0000)]
Remove a overzealous check. MSDN says to avoid calling with NumberOfBytes == 0, but it is valid.
Addresses bug 3715.
svn path=/trunk/; revision=36449
Samuel Serapion [Wed, 24 Sep 2008 07:33:48 +0000 (07:33 +0000)]
Sorry, these are DialogBoxParams.:(
svn path=/branches/ros-amd64-bringup/; revision=36448
Samuel Serapion [Wed, 24 Sep 2008 05:08:25 +0000 (05:08 +0000)]
Fix 64bit warnings/errors.
svn path=/branches/ros-amd64-bringup/; revision=36447
Samuel Serapion [Wed, 24 Sep 2008 05:06:55 +0000 (05:06 +0000)]
It is blasphemy to say that DLGPROC returns BOOL.
svn path=/branches/ros-amd64-bringup/; revision=36446
Samuel Serapion [Wed, 24 Sep 2008 04:36:35 +0000 (04:36 +0000)]
Minor 64bit fixes.
svn path=/branches/ros-amd64-bringup/; revision=36445
Samuel Serapion [Wed, 24 Sep 2008 04:24:45 +0000 (04:24 +0000)]
Fix 64bit warning.
svn path=/branches/ros-amd64-bringup/; revision=36444
Samuel Serapion [Wed, 24 Sep 2008 04:07:16 +0000 (04:07 +0000)]
Remove references to Infp Functions that collide with inflib names, call the actual functions instead of making small functions that shared the same parameters and just called into inflib anyway, with no changes whatsoever.
Make InfpGetIntField's 3rd parameter an INT*
svn path=/branches/ros-amd64-bringup/; revision=36443
Aleksey Bragin [Tue, 23 Sep 2008 20:44:31 +0000 (20:44 +0000)]
- 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
Stefan Ginsberg [Tue, 23 Sep 2008 19:54:13 +0000 (19:54 +0000)]
- Attempt satisfy Alex
svn path=/trunk/; revision=36436
Ged Murphy [Tue, 23 Sep 2008 19:02:32 +0000 (19:02 +0000)]
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
Christoph von Wittich [Tue, 23 Sep 2008 18:44:58 +0000 (18:44 +0000)]
return correct value in SETUPAPI_GetCurrentHwProfile
Fix for Coverity error CID: 782
svn path=/trunk/; revision=36434
Gregor Brunmar [Tue, 23 Sep 2008 17:01:40 +0000 (17:01 +0000)]
D3D9:
* More init values when creating a texture
svn path=/trunk/; revision=36429
Stefan Ginsberg [Tue, 23 Sep 2008 14:15:56 +0000 (14:15 +0000)]
- Add basic tracing to CmpReferenceKeyControlBlock, CmpDereferenceKeyControlBlock and CmpDereferenceKeyControlBlockWithLock
svn path=/trunk/; revision=36428
Aleksey Bragin [Tue, 23 Sep 2008 12:41:02 +0000 (12:41 +0000)]
- 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
Aleksey Bragin [Tue, 23 Sep 2008 11:45:40 +0000 (11:45 +0000)]
[FORMATTING]
- Reformat to the kernel coding style.
svn path=/trunk/; revision=36426
Aleksey Bragin [Tue, 23 Sep 2008 10:47:10 +0000 (10:47 +0000)]
[FORMATTING]
- Apply standard header.
svn path=/trunk/; revision=36425
Art Yerkes [Tue, 23 Sep 2008 10:17:27 +0000 (10:17 +0000)]
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
Art Yerkes [Tue, 23 Sep 2008 09:36:23 +0000 (09:36 +0000)]
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
Art Yerkes [Tue, 23 Sep 2008 09:28:44 +0000 (09:28 +0000)]
Count the end of the szApplicationName in the right units. (coverity 551).
svn path=/trunk/; revision=36422
Art Yerkes [Tue, 23 Sep 2008 09:09:16 +0000 (09:09 +0000)]
Fix a legitimate overrun in _widths (coverity 575), and try not to be as
clever.
svn path=/trunk/; revision=36421
Art Yerkes [Tue, 23 Sep 2008 08:58:19 +0000 (08:58 +0000)]
This bug could've caused mayhem in the icon cache. (coverity 790).
svn path=/trunk/; revision=36420
Art Yerkes [Tue, 23 Sep 2008 08:43:49 +0000 (08:43 +0000)]
Fix possible overrun of the last byte of dbuf (coverity 552).
svn path=/trunk/; revision=36419
Christoph von Wittich [Tue, 23 Sep 2008 08:04:57 +0000 (08:04 +0000)]
overrun of static array
Fix for Coverity error CID: 529
svn path=/trunk/; revision=36418
Aleksey Bragin [Tue, 23 Sep 2008 08:04:23 +0000 (08:04 +0000)]
- 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
Christoph von Wittich [Tue, 23 Sep 2008 07:50:59 +0000 (07:50 +0000)]
overrun of static array
Fix for Coverity error CID: 532
svn path=/trunk/; revision=36416
Christoph von Wittich [Tue, 23 Sep 2008 07:44:15 +0000 (07:44 +0000)]
overrun of static array
Fix for Coverity error CID: 552
svn path=/trunk/; revision=36415
Aleksey Bragin [Tue, 23 Sep 2008 07:40:40 +0000 (07:40 +0000)]
- Preinitialize ValueData with NULL.
- Fix for Coverity error CID: 772.
svn path=/trunk/; revision=36414
Christoph von Wittich [Tue, 23 Sep 2008 07:38:00 +0000 (07:38 +0000)]
overrun of static array
Fix for Coverity error CID: 546 + 547.
svn path=/trunk/; revision=36413
Christoph von Wittich [Tue, 23 Sep 2008 07:33:44 +0000 (07:33 +0000)]
overrun of static array
Fix for Coverity error CID: 548.
svn path=/trunk/; revision=36412
Christoph von Wittich [Tue, 23 Sep 2008 07:05:18 +0000 (07:05 +0000)]
don't free memory which is not allocated yet
Fix for Coverity error CID: 789.
svn path=/trunk/; revision=36411
Christoph von Wittich [Tue, 23 Sep 2008 06:55:05 +0000 (06:55 +0000)]
fix heap corruption when lpStringToFind is NULL
Fix for Coverity error CID: 775.
svn path=/trunk/; revision=36410
Art Yerkes [Tue, 23 Sep 2008 05:58:51 +0000 (05:58 +0000)]
some detritus exposed by coverity.
svn path=/trunk/; revision=36409
James Tabor [Mon, 22 Sep 2008 15:49:38 +0000 (15:49 +0000)]
Add UpdateLayeredWindowIndirect to def and cleanup and add a new type in dce.h.
svn path=/trunk/; revision=36405
Christoph von Wittich [Mon, 22 Sep 2008 14:29:28 +0000 (14:29 +0000)]
sync riched20 with wine 1.1.5
svn path=/trunk/; revision=36404