Commit graph

58768 commits

Author SHA1 Message Date
Timo Kreuzer
4b31efff8f [NTOSKRNL]
Fix compilation with MI_TRACE_PFNS and MSVC

svn path=/trunk/; revision=64530
2014-10-04 22:41:47 +00:00
Jérôme Gardou
2c4c58547d [USETUP]
- Fix potential buffer overflow

svn path=/trunk/; revision=64529
2014-10-04 21:24:16 +00:00
Timo Kreuzer
1282829615 [NTOSKRNL]
- Implement MiIncrementAvailablePages and MiDecrementAvailablePages factoring out duplicated code from a number of locations
- Get rid of MiAllocatePfn. Any further comment would result in excessive use of curse words.

svn path=/trunk/; revision=64528
2014-10-04 21:17:27 +00:00
Jérôme Gardou
87daca2bea [GCC/CMAKE]
- Add a way to conditionally use the GCC stack protector.
Just add -DSTACK_PROTECTOR:BOOL=TRUE as argument to configure.cmd/sh

svn path=/trunk/; revision=64527
2014-10-04 20:26:14 +00:00
Jérôme Gardou
4e9593f906 [CMAKE]
- Introduce the kerneldll module type (like kernelmodedriver, but ending with .dll) and use it in various places
 - vfatx.dll whould in fact be a native DLL

svn path=/trunk/; revision=64526
2014-10-04 20:25:57 +00:00
Jérôme Gardou
960c80a31b [KERNEL32]
- Always allocate a guard page at the bottom of the stack.
It doesn't depend on it being reserved or committed, it just has to be here.

svn path=/trunk/; revision=64525
2014-10-04 20:25:35 +00:00
Pierre Schweitzer
0b6013a4f6 [MSPAINT]
- Check for correct allocation
- Don't leak in case of file opening failure

svn path=/trunk/; revision=64524
2014-10-04 15:41:38 +00:00
Hermès Bélusca-Maïto
b02e9a73fd [NTVDM]
- Move registers code into cpu/
- Implement getIntelRegistersPointer.

svn path=/trunk/; revision=64523
2014-10-04 15:41:29 +00:00
Hermès Bélusca-Maïto
0d076f7dd8 [PSDK/XDK]: Don't hardcode "80" in the CONTEXT structure, but use the correct define.
svn path=/trunk/; revision=64522
2014-10-04 14:40:59 +00:00
Hermès Bélusca-Maïto
8d73d7c58a [NTVDM]
- Move almost all the DOS command launch thread into dem.c,
- Rework the code so that now, when we want to either load our BIOS32 or a custom one, we start their execution at F000:FFF0 as it should be,
- For modularity purposes (ie. to be able one day to load real OSes in our ntvdm), implement INT 19h (bootstrap loader) so that it calls a (temporary) dos bootsector loader that writes some bootstrap code at 0000:7c00, then the INT 19h runs this code, that has as an effect to load our DOS32 (for a real OS, the MBR code goes to 0000:7c00 and is then run).

svn path=/trunk/; revision=64521
2014-10-04 13:36:17 +00:00
Sylvain Petreolle
38258d656e [EVENTVWR]
-Fix use of unitialized handle for the waiting dialog.
-Allocate the size of one event for each event, not the amount of all events.

svn path=/trunk/; revision=64520
2014-10-04 13:34:19 +00:00
Thomas Faber
6acee80eb2 [CRT]
- Add __fastfail intrinsic implementation for GCC and MSVC <= 2010. Patch by Timo Kreuzer.
CORE-8419

svn path=/trunk/; revision=64519
2014-10-04 12:03:37 +00:00
Thomas Faber
9d68ddc78c [NTOS:FORMATTING]
- Remove some trailing whitespace

svn path=/trunk/; revision=64518
2014-10-04 08:43:15 +00:00
Hermès Bélusca-Maïto
317ae30716 [NTVDM]: DPRINT the CPU level for diagnostics purposes.
svn path=/trunk/; revision=64517
2014-10-04 00:18:39 +00:00
Jérôme Gardou
d01ad886a0 [MKHIVE]
- Perform a case insensitive comparison to find existing subkeys in the tree.
Dedicated to Hervé ;-)

svn path=/trunk/; revision=64516
2014-10-03 22:19:07 +00:00
Jérôme Gardou
34967fb279 [ADVAPI32]
- Add parameter checks to RegEnumValueW/A
 - Implement RegEnumValueW for HKCR subkeys
CORE-8582

svn path=/trunk/; revision=64515
2014-10-03 22:18:49 +00:00
Timo Kreuzer
cc58f75131 [HPP]
Fix problem with inconsistent EOLs

svn path=/trunk/; revision=64514
2014-10-03 20:11:37 +00:00
Timo Kreuzer
0a9f51e62d [XDK/DDK/PSDK]
- Move FsRtl functions to fsrtlfuncs.h
- Improve formatting of a few macros
- Add missing NTKERNELAPI
- Add a "special" kind of "ASSERT" to ListEntry64To32

svn path=/trunk/; revision=64513
2014-10-03 19:36:22 +00:00
Timo Kreuzer
a69a37ccfa [FRAMEDYN]
Only create framedynex on GCC builds

svn path=/trunk/; revision=64512
2014-10-03 19:29:57 +00:00
Timo Kreuzer
b79f784efd [DLLIMPORT_TEST]
- Only link to framedynex on GCC builds

svn path=/trunk/; revision=64511
2014-10-03 19:29:05 +00:00
Thomas Faber
695b53c312 [SHLWAPI]
- Merge Sebastian Lackner's SH*Shared/SHMapHandle fixes (Wine commits 5e4f15db, c95b182d, 403ff373)
CORE-8563 #resolve

svn path=/trunk/; revision=64509
2014-10-03 18:42:20 +00:00
Thomas Faber
a6d27398a0 [SHLWAPI_WINETEST]
- Merge Sebastian Lackner's SH*Shared/SHMapHandle tests (Wine commits cad3e3e5, 5e4f15db, ef065486, c95b182d)
CORE-8563

svn path=/trunk/; revision=64508
2014-10-03 18:39:34 +00:00
Timo Kreuzer
8fd775de2e [MKHIVE]
Fix warnings. (Compiling source files from ntoskrnl in mkhive is as ugly as it can get, this stuff needs to go to cmlib, if it is shared!)

svn path=/trunk/; revision=64507
2014-10-03 18:01:46 +00:00
Amine Khaldi
b0298f5c99 [OLEAUT32_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64506
2014-10-03 17:10:32 +00:00
Amine Khaldi
0a9f27da5b [OLEAUT32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64505
2014-10-03 17:10:15 +00:00
Amine Khaldi
38fc098b92 [OLEACC_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64504
2014-10-03 16:42:24 +00:00
Amine Khaldi
5deff46cef [OLEACC]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64503
2014-10-03 16:42:05 +00:00
Amine Khaldi
96edd470cf [PSDK]
* Update oleacc.idl.
CORE-8540

svn path=/trunk/; revision=64502
2014-10-03 16:10:46 +00:00
Hervé Poussineau
fcafe31f42 [MKHIVE] Misc fixes:
- add missing initialization
- support trailing backslash at end of registry key name
CORE-8584 #resolve

svn path=/trunk/; revision=64501
2014-10-03 15:11:31 +00:00
Hervé Poussineau
a1c13a964f [BOOTDATA] Do not mix lower and upper case
svn path=/trunk/; revision=64500
2014-10-03 15:11:22 +00:00
Hervé Poussineau
9618603a72 [TCPIP] Fix debug traces
svn path=/trunk/; revision=64499
2014-10-03 15:11:19 +00:00
Hervé Poussineau
02ed08d57f [MKHIVE] Use same code as ntoskrnl to create registry keys
CORE-8584

svn path=/trunk/; revision=64498
2014-10-03 13:17:32 +00:00
Hervé Poussineau
3bbcfb760d [MKHIVE] Use same code as ntoskrnl to create registry keys
CORE-8584


svn path=/trunk/; revision=64497
2014-10-03 13:15:10 +00:00
Timo Kreuzer
cf215482dd [PSDK/XDK]
Add some missing definitions to ntdef.h and winnt.h

svn path=/trunk/; revision=64496
2014-10-03 12:10:08 +00:00
Amine Khaldi
2db1fa18c8 [SHLWAPI_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64495
2014-10-03 12:07:36 +00:00
Timo Kreuzer
e854a2795e [KMTEST]
Use CONST UCHAR * instead of PCUCHAR (which is only defined in ntdef.h, not in winnt.h)

svn path=/trunk/; revision=64494
2014-10-03 12:07:30 +00:00
Amine Khaldi
30c5b892c6 [SHLWAPI]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64493
2014-10-03 12:07:14 +00:00
Amine Khaldi
087773e117 [OLE32_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64492
2014-10-03 11:44:48 +00:00
Amine Khaldi
9fd8bd9a43 [OLE32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64491
2014-10-03 11:44:27 +00:00
Amine Khaldi
0f7a9e0894 [MSXML][MSXML2][MSXML4][MSXML6]
* Mark as synced with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64490
2014-10-03 11:26:12 +00:00
Amine Khaldi
c16ba6c760 [MSXML3_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64489
2014-10-03 11:23:20 +00:00
Amine Khaldi
10c6f73e97 [MSXML3]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64488
2014-10-03 11:23:01 +00:00
Eric Kohl
6b19e75efa [USETUP]
Remove obsolete partition creation checks and their corresponding error messages.

svn path=/trunk/; revision=64487
2014-10-03 11:05:56 +00:00
Amine Khaldi
8a6c831120 * Minor formatting fixes for consistency.
svn path=/trunk/; revision=64486
2014-10-03 10:25:20 +00:00
Amine Khaldi
dbdf622f5c [TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=64485
2014-10-03 10:21:00 +00:00
Amine Khaldi
722578a47b [USETUP]
* Prevent the "illegal character encoding in string literal" warning from flooding the build log. This must be inspected.
CORE-8516

svn path=/trunk/; revision=64484
2014-10-03 10:08:33 +00:00
Amine Khaldi
7c6eba950b [CMAKE]
* Introduce an option to compile ReactOS with dwarf symbols instead of rossym. Use NO_ROSSYM to control it.
* Dedicated to V.
CORE-8594 #resolve

svn path=/trunk/; revision=64483
2014-10-03 09:56:36 +00:00
Eric Kohl
908fdb6ee8 [USETUP]
- DeleteCurrentPartition: A deleted partition is of type PARTITION_ENTRY_UNUSED.
- ScrollDownPartitionList / ScrollUpPartitionList: Ignore container partitions if they are not used.
CORE-8413 #resolve #comment Fixed in r64482.

svn path=/trunk/; revision=64482
2014-10-03 09:24:54 +00:00
Sylvain Petreolle
7384d6fd6f [WS2_32]
inet_addr does not require WSAStartup()

svn path=/trunk/; revision=64481
2014-10-03 09:05:34 +00:00
Sylvain Petreolle
4a66664eba [WS2_32_APITEST]
Add WSAStartup-dependent tests.

svn path=/trunk/; revision=64480
2014-10-03 09:00:15 +00:00