Commit graph

52417 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto
16ce2a0acf [FREELDR]
- Effectively reboot instead of exiting the bootloader and hanging.
- Do a cold reboot instead of a (soft) warm reboot, to let the user be able to choose another boot support or do anything else, instead of directly rebooting to the bootloader. Rename the concerned function accordingly.

svn path=/trunk/; revision=57935
2012-12-17 00:22:11 +00:00
Hermès Bélusca-Maïto
d03fcd8a09 [FREELDR]
Get rid of the default status bar text, which reappears at OS loading time if one boots with bootloader's text UI.

svn path=/trunk/; revision=57934
2012-12-16 22:00:41 +00:00
Hermès Bélusca-Maïto
0686441a38 [FREELDR]
Completely remove the special blue "setup-ui" appearing when starting the bootcd, in this way revert a part of r57842 and r57843.
Requested by some people. Now we keep the NTLDR-like boot ui.

svn path=/trunk/; revision=57933
2012-12-16 21:32:41 +00:00
Timo Kreuzer
2aadfb87d0 [PSDK]
Start rewrite sal.h
This will drop support for WDK's prefast, since it's impossible to maintain both sal version 1 and 2 and the old stuff is quite unreliable anyway. Only MSVC 11+ analyze with attributes for SAL will work. 
abragin: "\o/ for throwing away some legacy" ;-)

svn path=/trunk/; revision=57932
2012-12-16 18:28:06 +00:00
Amine Khaldi
ab0b0164ac [LIBINFHOST]
* Fix a linking issue with the upcoming toolchain.

svn path=/trunk/; revision=57931
2012-12-16 17:15:34 +00:00
Timo Kreuzer
03cb1310ee [CRT]
Fix build (2nd try)

svn path=/trunk/; revision=57930
2012-12-16 16:48:31 +00:00
Timo Kreuzer
fbda55d1d5 [CRT]
Fix build

svn path=/trunk/; revision=57929
2012-12-16 16:44:54 +00:00
Timo Kreuzer
16641911b6 [CRT]
Fix / silence a number of warnings/errors detected with VS-analyze

svn path=/trunk/; revision=57928
2012-12-16 16:38:36 +00:00
Pierre Schweitzer
b2be805a1e [MORE]
Fix memory leak

svn path=/trunk/; revision=57927
2012-12-16 16:12:30 +00:00
Pierre Schweitzer
fead25fd97 [ATACLT]
Add missing printf() parameter

svn path=/trunk/; revision=57926
2012-12-16 16:09:41 +00:00
Hermès Bélusca-Maïto
afc06cbf84 [WIn32k]
Fix the fix for Safe Mode (vide revision r57923).

svn path=/trunk/; revision=57925
2012-12-16 14:37:45 +00:00
Timo Kreuzer
f3900d8048 [FREELDR]
Fix / silence a number of warnings/errors detected with VS-analyze

svn path=/trunk/; revision=57924
2012-12-16 14:23:05 +00:00
Hermès Bélusca-Maïto
938d30d487 [WIN32K]
Fix BSOD when starting ReactOS in Safe Mode :
NEVER dereference a NULL pointer in a DPRINT or you are dead !! (here, the possible NULL pointer is GetW32ProcessInfo()->prpwinsta).
More precisely, you obtain:

<NTOSKRNL.EXE:112296 (ReactOS/ntoskrnl/ke/i386/traphdlr.c:1246 (@KiTrap0EHandler@4))>
<NTOSKRNL.EXE:110154 (ReactOS/ntoskrnl/ke/i386/trap.s:0 (_KiTrap0E))>
<NTOSKRNL.EXE:142926 (ReactOS/lib/sdk/crt/printf/streamout.c:644 (streamout))>
<NTOSKRNL.EXE:140631 (ReactOS/lib/sdk/crt/printf/_sxprintf.c:61 (_vsnprintf))>
<NTOSKRNL.EXE:12736a (ReactOS/lib/rtl/debug.c:85 (vDbgPrintExWithPrefixInternal@24))>
<NTOSKRNL.EXE:12751c (ReactOS/lib/rtl/debug.c:209 (DbgPrint))>
<win32k.sys:55034 (ReactOS/win32ss/user/ntuser/sysparams.c:451 (SpiGet))>
<win32k.sys:56bc7 (ReactOS/win32ss/user/ntuser/sysparams.c:963 (@UserSystemParametersInfo@16)

svn path=/trunk/; revision=57923
2012-12-16 14:01:32 +00:00
Timo Kreuzer
41b928c780 [PSDK/WIN32K]
- Add suppress.h
- Use symbolic error definitions with _PRAGMA_WARNING_SUPPRESS

svn path=/trunk/; revision=57922
2012-12-16 11:32:56 +00:00
Timo Kreuzer
33bacef5b3 [RTL]
Formatting, no code change

svn path=/trunk/; revision=57921
2012-12-15 13:58:24 +00:00
Eric Kohl
b271725de3 [LSASRV]
- Implement LsarRemovePrivilegesFromAccount and LsarOpenPolicy2.
- Remove unused Vista+ stubs.

svn path=/trunk/; revision=57920
2012-12-15 11:31:04 +00:00
Amine Khaldi
d5386fe498 [CMAKE]
* Transition phase for asm handling between the actual and the upcoming RosBE.

svn path=/trunk/; revision=57919
2012-12-15 11:03:50 +00:00
Hermès Bélusca-Maïto
11ae0efce4 [SHUTDOWN]
Final attempt to fix resource compilation with MSVC. Seriously, their resource compiler sucks.

svn path=/trunk/; revision=57918
2012-12-15 01:20:06 +00:00
Hermès Bélusca-Maïto
2a50799eea [SHUTDOWN]
- Fix a signed / unsigned warning.
- Attempt to fix resource compilation with MSVC.

svn path=/trunk/; revision=57917
2012-12-15 00:41:16 +00:00
Hermès Bélusca-Maïto
45d0b41d19 [SHUTDOWN]
Improve functionnality of the shutdown utility :

* Added extra arguments based upon Windows 7.
* Added options to CommandLineOptions function.
* Simplify the PrintResourceString() function.
* Removed PrintUsage() since PrintResourceString() does a more flexible job at printing strings out.
* Added clear error messages when there is a problem. This makes it a bit easier to determine if there is a problem.
* Convert all the C++ comments to C.
* Since each version of Windows has a different upper limit for the length of the comment, a work around solution is used that first checks the length of the comment based upon the version of Windows that the user is currently using.
* Added support for hibernation mode, but the function SetSuspendState() is only a stub right now.
* In cases where the shutdown/restart operation is done remotely, now the proper permission is granted if the user has the proper permission.
* Added the REASON structure, which contains all the reason code combinations required for giving the proper reason code to the computer.
* Added bare bones basic support for the GUI option (/i). However, until the required features are added to ReactOS, the GUI won't do anything.
* Convert the program to full UNICODE support.

CORE-6613 #resolve #comment Committed in r57916. Thanks :)

svn path=/trunk/; revision=57916
2012-12-14 23:29:22 +00:00
Amine Khaldi
c56017ac21 [COMCTL32_WINETEST]
* Sync with Wine 1.5.19.

svn path=/trunk/; revision=57915
2012-12-14 23:24:10 +00:00
Amine Khaldi
d501ae4e5a [COMCTL32]
* Sync with Wine 1.5.19.

svn path=/trunk/; revision=57914
2012-12-14 23:23:44 +00:00
Amine Khaldi
ac35817a56 [ROSBE/CMAKE]
* Set the correct prefix for the upcoming RosBE 2.1 toolchain.

svn path=/trunk/; revision=57913
2012-12-14 21:56:11 +00:00
Jérôme Gardou
b806622f18 [INCLUDE/PSDK]
- Add LdrAddRefDll definition

svn path=/trunk/; revision=57912
2012-12-14 08:29:55 +00:00
Jérôme Gardou
181585f322 [CRT]
- sync _mbbtombc and _mbctombb implementations with wine

svn path=/trunk/; revision=57911
2012-12-13 21:36:27 +00:00
Jérôme Gardou
301e93be58 [CRT]
-fix __lc_codepage confusion
 -fix implementations of _mbsjistojms and _mbsjmstojis

svn path=/trunk/; revision=57910
2012-12-13 21:13:06 +00:00
Jérôme Gardou
bc5d860b9e [INCLUDE/CRT]
- _CRT_NON_CONFORMING_SWPRINTFS is not relevant for us.

svn path=/trunk/; revision=57909
2012-12-13 19:21:30 +00:00
Jérôme Gardou
45ed0bc0ac [ATL]
- silence "unused but set" warning

svn path=/trunk/; revision=57908
2012-12-13 18:38:46 +00:00
Jérôme Gardou
ac12febb5b [CRT]
- fix isleadbyte
 - implement mbrlen
 - avoid race condition when creatong global ANSI locale

svn path=/trunk/; revision=57907
2012-12-13 16:32:17 +00:00
Jérôme Gardou
5a862da366 [OLE32_WINETEST]
- Addendum to r57905
Both of them already sent upstream

svn path=/trunk/; revision=57906
2012-12-13 16:02:04 +00:00
Jérôme Gardou
3bddc1bdba [OLE32]
- Fix compilation with newer GCC

svn path=/trunk/; revision=57905
2012-12-13 16:00:44 +00:00
Jérôme Gardou
f85ab10caf [INCLUDE/PSDK]
- winuser.h: properly cast CW_USEDEFAULT to int

svn path=/trunk/; revision=57904
2012-12-13 14:10:49 +00:00
Amine Khaldi
f33678fca7 [CABINET]
* Sync with Wine 1.5.19.

svn path=/trunk/; revision=57903
2012-12-13 13:25:38 +00:00
Amine Khaldi
ff05a3b37a [RICHED20_WINETEST]
* Sync with Wine 1.5.19.

svn path=/trunk/; revision=57902
2012-12-13 13:10:24 +00:00
Amine Khaldi
56299b0509 [RICHED20]
* Sync with Wine 1.5.19.

svn path=/trunk/; revision=57901
2012-12-13 13:10:17 +00:00
Amine Khaldi
0851cf3cdb [WINDOWSCODECS_WINETEST]
* Import from Wine 1.5.19.

svn path=/trunk/; revision=57900
2012-12-13 11:15:23 +00:00
Hermès Bélusca-Maïto
d4129a2e07 [FREELDR]
- Use a list of possible operating system method loading to load ReactOS / ROS-Setup / Windows / Linux or booting from a disk / partition ..., instead of using a (huge) if () else if () ... instruction.
- Modify the corresponding functions to take into account for this new functionality.
- Allow having a live + boot cd if needed, in a elegant way.

svn path=/trunk/; revision=57899
2012-12-13 00:46:55 +00:00
Hermès Bélusca-Maïto
5b900194af [FREELDR]
Correct the type of few variables.

svn path=/trunk/; revision=57898
2012-12-13 00:15:19 +00:00
Amine Khaldi
2bd370a435 * Mark this as a DUMMYUNIONNAME.
svn path=/trunk/; revision=57897
2012-12-12 21:11:22 +00:00
Amine Khaldi
ee729eb861 [OLE32_WINETEST]
* Sync with Wine 1.5.19.

svn path=/trunk/; revision=57896
2012-12-12 21:02:09 +00:00
Amine Khaldi
5acb061f2b [OLE32]
* Sync with Wine 1.5.19.

svn path=/trunk/; revision=57895
2012-12-12 21:01:41 +00:00
Amine Khaldi
ba64101d04 [CMAKE]
* Addendum to r57893.

svn path=/trunk/; revision=57894
2012-12-12 15:39:08 +00:00
Amine Khaldi
c410c0a203 [CMAKE]
* Add the ability to handle more than one idl file in generate_idl_iids.

svn path=/trunk/; revision=57893
2012-12-12 15:09:49 +00:00
Amine Khaldi
74b1cd4a03 [OLEAUT32_WINETEST]
* Sync with Wine 1.5.19.

svn path=/trunk/; revision=57892
2012-12-12 15:05:13 +00:00
Amine Khaldi
7e47495621 * Back out r57890 in favor of a complete upcoming sync.
svn path=/trunk/; revision=57891
2012-12-12 13:55:29 +00:00
Amine Khaldi
fcbfe7f21b [OLEAUT32_WINETEST]
* Sync with Wine 1.5.19.

svn path=/trunk/; revision=57890
2012-12-12 13:53:12 +00:00
Amine Khaldi
e00952317b [OLEAUT32]
* Sync to Wine 1.5.19.

svn path=/trunk/; revision=57889
2012-12-12 13:52:25 +00:00
Amine Khaldi
1e6bd4d298 [ATL_WINETEST]
* Sync with Wine 1.5.19.

svn path=/trunk/; revision=57888
2012-12-12 12:55:58 +00:00
Amine Khaldi
be896f3971 [ATL]
* Sync with Wine 1.5.19.
[ATL100]
* Import from Wine 1.5.19.

svn path=/trunk/; revision=57887
2012-12-12 12:48:52 +00:00
Amine Khaldi
424881352d [SHELL32]
* Remove unneeded config.h inclusion.
* Remove an unneeded include dir.

svn path=/trunk/; revision=57886
2012-12-12 12:20:26 +00:00