Commit graph

52396 commits

Author SHA1 Message Date
Timo Kreuzer 170f86f348 [INCLUDE]
Update annotations

svn path=/trunk/; revision=57964
2012-12-22 10:09:25 +00:00
Hermès Bélusca-Maïto 837b567bc2 [REG]
- Upgrade the files architecture to the classic one : lang-directory for language resource files, rsrc.rc and <app_name>.rc for main resource files.
- Convert remaining language resource files to UTF-8 without BOM.
- Add version information to the program - Patch by Lee Schroeder.

CORE-6821 #resolve #comment Committed in r57963. Thanks :)

svn path=/trunk/; revision=57963
2012-12-21 23:48:23 +00:00
Timo Kreuzer f538008e3e [WIN32K]
Fix crash, when running out of paged pool. Found by r3ddr4g0n.

svn path=/trunk/; revision=57962
2012-12-21 22:40:05 +00:00
Hermès Bélusca-Maïto 71a8acfc03 [SYSSETUP]
In fact, French translation wasn't so improved...

svn path=/trunk/; revision=57961
2012-12-21 22:25:28 +00:00
Hermès Bélusca-Maïto 67a4a9ff2d [SYSSETUP]
Improve French translation and correct some mistakes.

svn path=/trunk/; revision=57960
2012-12-20 21:28:54 +00:00
Hermès Bélusca-Maïto 0b2f234466 [FONTS]
- Update RedHat Liberation Fonts to 2.00.1
- Update and add some DejaVu Fonts to 2.33
- Update GNU FreeFonts to revision 20120503
- Update Tahoma and Symbol Fonts to Wine HEAD
- Sort the fonts documentation files to dedicated directories

svn path=/trunk/; revision=57959
2012-12-20 20:21:56 +00:00
Timo Kreuzer 7d2114ddb1 [NTOSKRNL]
- Use 2 seperate SEH blocks in PsSuspendThread(). This way we don't leak the rundown protection, and don't keep a terminating thread suspended, when KeSuspendThread() throws an exception. Also only catch STATUS_SUSPEND_COUNT_EXCEEDED exceptions in the SEH filter.

svn path=/trunk/; revision=57958
2012-12-20 14:58:02 +00:00
Hermès Bélusca-Maïto 589a2f3a3c [REGEDIT]
Improve the look of the "Go" button (at the right of the address bar).

svn path=/trunk/; revision=57957
2012-12-20 14:10:38 +00:00
Hermès Bélusca-Maïto 0f89e6e2ed [REGEDIT]
Improve the overall look (a little part was committed by accident in r57955).

svn path=/trunk/; revision=57956
2012-12-20 02:13:53 +00:00
Hermès Bélusca-Maïto 28473168d9 [REGEDIT]
Improve the way sorting is done.

svn path=/trunk/; revision=57955
2012-12-20 02:02:38 +00:00
Timo Kreuzer 1a64a18b5e [NTOSKRNL]
- Add some missing return value checks
- Add some annotations
- Fix format specifiers
- Fix variable scope conflicts
- Fix possible closing of a NULL handle
- Use ObCloseHandle instead of ZwClose

svn path=/trunk/; revision=57954
2012-12-19 23:49:13 +00:00
Timo Kreuzer ed547ad4a5 [CSQ]
Formatting, add annotations, use doxygen style comments, no functional change

svn path=/trunk/; revision=57953
2012-12-19 23:33:57 +00:00
Timo Kreuzer a011b6bc32 [WIN32K]
Fix a bug caused by r57948

svn path=/trunk/; revision=57952
2012-12-19 22:01:54 +00:00
Timo Kreuzer 49a76c78e0 [NTOSKRNL]
Formatting, no functional change

svn path=/trunk/; revision=57951
2012-12-19 11:11:34 +00:00
Hermès Bélusca-Maïto a9f6a51c2a We display a revision number (prefix: 'r')
svn path=/trunk/; revision=57950
2012-12-19 01:08:47 +00:00
Hermès Bélusca-Maïto 2327831f4b [REGEDIT]
Add support of sorting by value.
Patch by Katayama Hirofumi.

CORE-4885 #resolve #comment Committed in r57949. Thanks!

svn path=/trunk/; revision=57949
2012-12-18 23:52:08 +00:00
Timo Kreuzer e61a4d3fcb [WIN32K]
- Add/improve some annotations
- Improve code in EngpGetPDEV and NtGdiGetRegionData
- Simplify SEH exception handling
- Fix possible NULL pointer dereferences
- Fix wrong variable usage in UnpackParam
- Fix a possible bufer overrun
- Check return value of ExAllocatePool and RtlCreateUnicodeString
- Fix & vs && typo
All detected with VS11 analyse

svn path=/trunk/; revision=57948
2012-12-18 21:44:58 +00:00
Hermès Bélusca-Maïto e3cf3471d2 [RTL]
Clarify the order of operations. No functionality changes.

svn path=/trunk/; revision=57947
2012-12-18 21:15:24 +00:00
Hermès Bélusca-Maïto 8e4c401495 [SERVICES]
- services.exe is indeed a GUI program, so build it as such.
- Check the return value of RegisterServicesProcess and thus allow only one instance of services.exe to be launched.

CORE-6123 #resolve #comment Fixed by r57946.

svn path=/trunk/; revision=57946
2012-12-18 20:38:54 +00:00
Hermès Bélusca-Maïto 3a6d338be3 [WIN32CSR]
Fix a misspelling: "loose" --> "lose" (verb). Spotted by Katayama Hirofumi.

CORE-6817 #resolve #comment Fixed in r57945. Cheers :)

svn path=/trunk/; revision=57945
2012-12-18 19:06:16 +00:00
Timo Kreuzer 020d337ca6 [WIN32K]
- Add/fix some annotations
- Simplify code in NtGdiSetMiterLimit

svn path=/trunk/; revision=57944
2012-12-18 15:20:20 +00:00
Timo Kreuzer 2a61a8dcec [RTL]
Reapply a fix, that got reverted accidentally in r57938

svn path=/trunk/; revision=57943
2012-12-18 15:00:45 +00:00
Timo Kreuzer be5ff02f5e [RTL]
- Implement dynamic allocation of handle entry pages in RtlAllocateHandle
- Fix a possible NULL pointer dereference

svn path=/trunk/; revision=57942
2012-12-18 10:10:34 +00:00
Timo Kreuzer 2cdf5f5ce0 [HAL]
Fix / silence some warnings/errors detected with VS-analyze

svn path=/trunk/; revision=57941
2012-12-18 09:52:07 +00:00
Hermès Bélusca-Maïto ea1421c020 [REGEDIT]
Update the address bar after creating a registry key.
CORE-6816 #resolve #comment Committed in r57940. Thanks ;)

svn path=/trunk/; revision=57940
2012-12-17 23:22:03 +00:00
Sylvain Petreolle 92b42897e0 [INFLIB]
Don't use _swprintf.
Tested in rosbe 2, 2.1, windows, linux, and VS 10.

svn path=/trunk/; revision=57939
2012-12-17 22:48:07 +00:00
Timo Kreuzer 4ff569d0f3 [RTL]
Revert silencing a warning and apply a real fix. Spotted by Thomas.

svn path=/trunk/; revision=57938
2012-12-17 13:27:33 +00:00
Timo Kreuzer 87bd443014 [CMLIB]
Fix / silence some warnings/errors detected with VS-analyze

svn path=/trunk/; revision=57937
2012-12-17 12:27:21 +00:00
Timo Kreuzer c6956a6d54 [RTL]
- Fix a calculation bug in the heap code
- Fix pointer arithmetics
- Fix artihetic overflows
- rename some global items to not conflict with local names
- Silence some more warnings from VS analyze

svn path=/trunk/; revision=57936
2012-12-17 12:06:14 +00:00
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