Commit Graph

42088 Commits

Author SHA1 Message Date
Cameron Gutman
99d8e4f1b4 - Try again to fix build
svn path=/trunk/; revision=36499
2008-09-25 00:01:39 +00:00
Cameron Gutman
8ffee924f5 - Fix build
svn path=/trunk/; revision=36498
2008-09-24 23:48:28 +00:00
Cameron Gutman
564e5b5a2c 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
2008-09-24 23:39:17 +00:00
Cameron Gutman
df2275e5e3 - Add a debug print
svn path=/branches/aicom-network-fixes/; revision=36496
2008-09-24 22:00:02 +00:00
Cameron Gutman
b4f76ec0bb - MiniportAdapterHandle is PLOGICAL_ADAPTER not PNDIS_MINIPORT_BLOCK
svn path=/branches/aicom-network-fixes/; revision=36495
2008-09-24 21:56:07 +00:00
Stefan Ginsberg
ef2bb65235 - 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
2008-09-24 19:13:08 +00:00
Stefan Ginsberg
a9d6e4341e - Remove deprecated macro
svn path=/trunk/; revision=36493
2008-09-24 18:47:24 +00:00
Stefan Ginsberg
c1a36080a7 - Add ObpValidateAccessMask stub (only returns success for now) and call it from ObInsertObject
- Fix for Coverity Error CID: 9

svn path=/trunk/; revision=36491
2008-09-24 17:32:14 +00:00
Stefan Ginsberg
c2ca8fb596 - HalpXboxReadSector: Fail if we are out of memory instead of dereferencing null
- Fix for Coverity error CID: 464

svn path=/trunk/; revision=36490
2008-09-24 17:16:25 +00:00
Stefan Ginsberg
ba22ca771d - 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
2008-09-24 17:11:35 +00:00
Christoph von Wittich
e724baacde more correct fix
svn path=/trunk/; revision=36488
2008-09-24 16:57:29 +00:00
Stefan Ginsberg
d91564734d - 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
2008-09-24 16:37:35 +00:00
Stefan Ginsberg
e57cfa2826 - Only dereference the KCB if we know it exists
- Fix for Coverity error CID: 279

svn path=/trunk/; revision=36486
2008-09-24 16:19:52 +00:00
Christoph von Wittich
d82ca9895d check for value > 0 before using it as array index
Fix for Coverity error CID: 438

svn path=/trunk/; revision=36485
2008-09-24 15:42:33 +00:00
Stefan Ginsberg
649b40cd13 - 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
2008-09-24 15:27:54 +00:00
Stefan Ginsberg
9bbb8ab1a3 - FsRtlBalanceReads: Fail if we are out of memory instead of dereferencing null
- Fix for Coverity error CID: 465

svn path=/trunk/; revision=36483
2008-09-24 15:04:59 +00:00
Stefan Ginsberg
85033039ab - RawQueryFsSizeInfo: Fail if we are out of memory instead of dereferencing null
svn path=/trunk/; revision=36482
2008-09-24 14:53:28 +00:00
Stefan Ginsberg
74897bfee4 - Fix some non-x86 FLOATOBJ_*
svn path=/trunk/; revision=36481
2008-09-24 14:01:43 +00:00
Art Yerkes
c261b9dbe8 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
2008-09-24 13:35:37 +00:00
Art Yerkes
4046f15afe Fix my copypasta spotted by (coverity 1294)
svn path=/trunk/; revision=36479
2008-09-24 12:56:30 +00:00
Samuel Serapion
0a516495af Small 64bit fix.
svn path=/branches/ros-amd64-bringup/; revision=36477
2008-09-24 12:33:59 +00:00
Timo Kreuzer
d84724a86e add gdi32.spec taken from wine 1.13
svn path=/branches/ros-amd64-bringup/; revision=36476
2008-09-24 12:21:04 +00:00
Samuel Serapion
9d500537c2 - 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
2008-09-24 12:03:27 +00:00
Samuel Serapion
a870b6d07f Fix ReadProcessMemory and Toolhelp32ReadProcessMemory prototypes.
svn path=/branches/ros-amd64-bringup/; revision=36474
2008-09-24 12:01:07 +00:00
Samuel Serapion
3686c8090f remove unneeded "fixes"
svn path=/branches/ros-amd64-bringup/; revision=36473
2008-09-24 11:38:39 +00:00
Daniel Reimer
c96b189f38 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
2008-09-24 11:22:08 +00:00
Timo Kreuzer
c00f4a266c - remove old test code
svn path=/trunk/; revision=36471
2008-09-24 11:17:33 +00:00
Samuel Serapion
bb39afaeaf Convert to spec. Minor 64bit fixes.
svn path=/branches/ros-amd64-bringup/; revision=36470
2008-09-24 10:52:32 +00:00
Samuel Serapion
bfd898eae6 Fix NetLocalGroupGetMembers prototype.
svn path=/branches/ros-amd64-bringup/; revision=36469
2008-09-24 10:50:50 +00:00
Timo Kreuzer
274b9d1f57 Add MemoryBarrier definition for amd64
svn path=/branches/ros-amd64-bringup/; revision=36468
2008-09-24 10:45:58 +00:00
Samuel Serapion
5ea1818ff4 Convert to spec. two for the price of one.
svn path=/branches/ros-amd64-bringup/; revision=36467
2008-09-24 10:45:05 +00:00
Samuel Serapion
629e99b314 Convert to spec. Minor 64bit fixes.
svn path=/branches/ros-amd64-bringup/; revision=36466
2008-09-24 10:41:39 +00:00
Samuel Serapion
2edf435328 Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36465
2008-09-24 10:41:07 +00:00
Samuel Serapion
b57f969783 Minor 64bit fix.
svn path=/branches/ros-amd64-bringup/; revision=36464
2008-09-24 10:35:36 +00:00
Samuel Serapion
fe87d3cecc Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36463
2008-09-24 10:33:46 +00:00
Samuel Serapion
d4c08202f8 Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36462
2008-09-24 10:28:59 +00:00
Samuel Serapion
6e56a5e40b Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36461
2008-09-24 10:26:21 +00:00
Samuel Serapion
a41608c1c6 Minor 64bit fixes.
svn path=/branches/ros-amd64-bringup/; revision=36460
2008-09-24 10:18:20 +00:00
Aleksey Bragin
f05e50b409 - 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
2008-09-24 10:06:08 +00:00
Samuel Serapion
cadf2f6abb Convert to spec.
Sprinkle IntToPtr all over mouse.c

svn path=/branches/ros-amd64-bringup/; revision=36458
2008-09-24 10:05:05 +00:00
Samuel Serapion
3a756711d4 Convert to spec.
Use tabs in rbuild file.

svn path=/branches/ros-amd64-bringup/; revision=36457
2008-09-24 09:51:33 +00:00
Samuel Serapion
7bb3cd360e Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36456
2008-09-24 09:49:25 +00:00
Samuel Serapion
3f5eb93b23 Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36455
2008-09-24 09:48:04 +00:00
Samuel Serapion
4aae8ef4d5 Minor 64bit fixes.
svn path=/branches/ros-amd64-bringup/; revision=36454
2008-09-24 09:44:39 +00:00
Samuel Serapion
9128270195 Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36453
2008-09-24 09:41:42 +00:00
Samuel Serapion
778d48d1a6 Convert appwiz.cpl to spec
svn path=/branches/ros-amd64-bringup/; revision=36452
2008-09-24 09:39:44 +00:00
Aleksey Bragin
200665fb89 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
2008-09-24 08:17:15 +00:00
Aleksey Bragin
b20633a1f0 - 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
2008-09-24 08:12:41 +00:00
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
Samuel Serapion
bcd1bf1cd6 Sorry, these are DialogBoxParams.:(
svn path=/branches/ros-amd64-bringup/; revision=36448
2008-09-24 07:33:48 +00:00