reactos.git
11 years ago[INTL]
Hermès Bélusca-Maïto [Fri, 28 Dec 2012 16:28:49 +0000 (16:28 +0000)]
[INTL]
Fix French translation

svn path=/trunk/; revision=58025

11 years ago[NOTEPAD]
Hermès Bélusca-Maïto [Fri, 28 Dec 2012 15:50:38 +0000 (15:50 +0000)]
[NOTEPAD]
- Do not close Notepad when 'Save As' dialog is canceled (behaviour correction, makes it as under Windows). Patch by Peter Hater.
- Temporarily fix saving with invalid file name --> now return an error, don't save the file, reset the internal file name to "" (untitled) and keep Notepad opened.
  This is due to the lack of file name validation when calling Save-As file box (should be done by default, but it is not under ROS).

CORE-6836 #resolve #comment Committed in r58024. Thanks :)

svn path=/trunk/; revision=58024

11 years ago- Never queue a DPC for MiniportHandleInterrupt regardless of what MiniportISR reques...
Cameron Gutman [Fri, 28 Dec 2012 00:36:28 +0000 (00:36 +0000)]
- Never queue a DPC for MiniportHandleInterrupt regardless of what MiniportISR requests if MiniportInitialize is executing
- Very likely fixes CORE-6064

svn path=/trunk/; revision=58022

11 years ago[CRT/BUILTINS]
Amine Khaldi [Thu, 27 Dec 2012 22:26:35 +0000 (22:26 +0000)]
[CRT/BUILTINS]
* memcpy should behave exactly like memmove for Windows compatibility.
CORE-6833 #resolve #comment Committed in r58021.

svn path=/trunk/; revision=58021

11 years ago[FREELDR]
Hermès Bélusca-Maïto [Thu, 27 Dec 2012 21:52:40 +0000 (21:52 +0000)]
[FREELDR]
- Move PcBeep function declaration to a better header.
- Resuscitate OptionMenuCustomBootReactOS() from revision r52491, update it to match recent changes in freeldr as well as making it using new boot method, and reuse ConstructArcPath.
  Why I'm doing this ? Because it can be useful to enter personalized boot options by hand at boot time rather than being obliged to edit freeldr.ini. This needs care, not brutal deletion.

svn path=/trunk/; revision=58020

11 years ago* Addendum to r58018. Altered the wrong function. Also: "Should be sent to Wine ...
Amine Khaldi [Thu, 27 Dec 2012 12:42:31 +0000 (12:42 +0000)]
* Addendum to r58018. Altered the wrong function. Also: "Should be sent to Wine (TM)" ;)

svn path=/trunk/; revision=58019

11 years ago[SETUPAPI]
Amine Khaldi [Thu, 27 Dec 2012 12:35:10 +0000 (12:35 +0000)]
[SETUPAPI]
* Fix allocating the required bytes in SetupGetFileCompressionInfoW. Brought to you by Peter Hater (7element {at} mail [dot] bg)
CORE-6815 #resolve #comment Committed in r58018. Cheers ;)

svn path=/trunk/; revision=58018

11 years ago[NETAPI32]
Eric Kohl [Wed, 26 Dec 2012 21:07:13 +0000 (21:07 +0000)]
[NETAPI32]
- Include a netapi32.h in most files and move the other includes into netapi32.h.
- Add functions to open account and builtin domains directly and use these functions.

svn path=/trunk/; revision=58017

11 years ago[MSVCRT]
Hermès Bélusca-Maïto [Wed, 26 Dec 2012 19:26:08 +0000 (19:26 +0000)]
[MSVCRT]
Export __crtLCMapStringW and correct __crtLCMapStringA: their prototypes are :

int CDECL __crtLCMapStringW(LCID lcid, DWORD mapflags, const wchar_t *src,
    int srclen, wchar_t *dst, int dstlen, unsigned int codepage, int xflag)

and

int CDECL __crtLCMapStringA(LCID lcid, DWORD mapflags, const char* src,
    int srclen, char* dst, int dstlen, unsigned int codepage, int xflag)

Needed by SVN.

svn path=/trunk/; revision=58016

11 years ago[NETAPI32]
Eric Kohl [Wed, 26 Dec 2012 16:31:28 +0000 (16:31 +0000)]
[NETAPI32]
- Implement NetLocalGroupAdd.
- Implement and use a helper function that opens aliases by name.

svn path=/trunk/; revision=58015

11 years ago[MSVCRT]
Hermès Bélusca-Maïto [Wed, 26 Dec 2012 16:28:44 +0000 (16:28 +0000)]
[MSVCRT]
Export ___lc_collate_cp_func since it exists in Win2k3 msvcrt.dll AND it is needed by SVN in RosBE 2.1.

svn path=/trunk/; revision=58014

11 years ago[EXPLORER_NEW]
Thomas Faber [Wed, 26 Dec 2012 15:48:49 +0000 (15:48 +0000)]
[EXPLORER_NEW]
- Fix some formatting and GetWindowLong[Ptr] confusion

svn path=/trunk/; revision=58013

11 years ago[MAGNIFY]
Hermès Bélusca-Maïto [Wed, 26 Dec 2012 15:28:28 +0000 (15:28 +0000)]
[MAGNIFY]
Fix French translation

svn path=/trunk/; revision=58012

11 years ago[EXPLORER_NEW]
Thomas Faber [Wed, 26 Dec 2012 15:14:41 +0000 (15:14 +0000)]
[EXPLORER_NEW]
- Add Advanced tab in task bar properties to support ReactOS-specific options (currently: show seconds in tray clock). Patch by Edijs Kolesnikovics.
CORE-5410 #comment Patch committed, thanks! Awaiting the updated save-to-registry functionality.

svn path=/trunk/; revision=58011

11 years ago[FREELDR]
Hermès Bélusca-Maïto [Wed, 26 Dec 2012 02:14:46 +0000 (02:14 +0000)]
[FREELDR]
Improve the way we are doing the timing: When the timeout is > 0, we refresh its display. When it becomes == 0, we exit the waiting-loop and do the right action (start the default OS, ...). However, when we press a key, it is set to -1 by convention, that means, no timeout. The timeout display is then cleared ONLY ONCE since there is no need to refresh it each time we do a waiting-loop-turn when the timeout is == -1.

svn path=/trunk/; revision=58010

11 years ago[FREELDR]
Hermès Bélusca-Maïto [Wed, 26 Dec 2012 01:59:39 +0000 (01:59 +0000)]
[FREELDR]
Code formatting only

svn path=/trunk/; revision=58009

11 years ago[FREELDR]
Hermès Bélusca-Maïto [Wed, 26 Dec 2012 01:40:18 +0000 (01:40 +0000)]
[FREELDR]
- Show the selected boot options as NTLDR does (in light blue under the "For troubleshooting... press F8" message).- The different safe modes are now mutually exclusive, as they must be.
- They can be coupled to the "boot logging", "vga mode" and "debugging" modes, enlarging possibilities (contrary to NTLDR. However you'll remark that these combinations are allowed when set with msconfig...).
- Since the safe modes come by default with boot logging, don't show "Boot Logging" when one of the safe modes is selected, but instead show the corresponding safe mode name.
- Modify the needed functions.

svn path=/trunk/; revision=58008

11 years ago[FONTVIEW]
Aleksey Bragin [Tue, 25 Dec 2012 18:11:55 +0000 (18:11 +0000)]
[FONTVIEW]
- Lee Schroeder: Replaces the current fontview icon with the icon found in the tango icon set (apps/preferences-desktop-font.png). This creates better consistency since that is where the majority of the icons come from.
CORE-6827 #resolve

svn path=/trunk/; revision=58007

11 years ago[FREELDR]
Hermès Bélusca-Maïto [Tue, 25 Dec 2012 13:24:56 +0000 (13:24 +0000)]
[FREELDR]
Remove commented-out code (since the new one works) - ThFabba: :P

svn path=/trunk/; revision=58006

11 years ago[FREELDR]
Hermès Bélusca-Maïto [Tue, 25 Dec 2012 12:54:31 +0000 (12:54 +0000)]
[FREELDR]
Allow VideoMode to be set via decimal, hexadecimal, ... number representation in bootcd/livecd/freeldr.ini (see the Brian Palmer's FREELDR.INI example).

svn path=/trunk/; revision=58005

11 years ago[NETAPI32]
Eric Kohl [Tue, 25 Dec 2012 09:54:53 +0000 (09:54 +0000)]
[NETAPI32]
- Implement NetLocalGreoupGetInfo.
- Move shared code into separate functions.

svn path=/trunk/; revision=58004

11 years ago[FREELDR]
Hermès Bélusca-Maïto [Tue, 25 Dec 2012 00:54:20 +0000 (00:54 +0000)]
[FREELDR]
Code formatting only

svn path=/trunk/; revision=58003

11 years ago[FREELDR]
Hermès Bélusca-Maïto [Tue, 25 Dec 2012 00:53:23 +0000 (00:53 +0000)]
[FREELDR]
Use NULL string pointers as separators instead of a special "SEPARATOR" string.

svn path=/trunk/; revision=58002

11 years ago[FREELDR]
Hermès Bélusca-Maïto [Mon, 24 Dec 2012 23:03:11 +0000 (23:03 +0000)]
[FREELDR]
- Menu titles --> Menu headers (see r57842).
- In the same way we introduced menu headers, introduce menu footers, therefore we add the possibility, in mini-tui,
  of showing or hiding the "For troubleshooting and advanced startup options for ReactOS, press F8." message, only
  useful for the main menu (the one which shows the list of available OSes installed on the system).

svn path=/trunk/; revision=58001

11 years ago[WIN32K]
Hermès Bélusca-Maïto [Mon, 24 Dec 2012 17:34:13 +0000 (17:34 +0000)]
[WIN32K]
Add some spacing (not too much) between the screen borders and the "Safe Mode" and the ReactOS version string labels, in Safe Mode.

svn path=/trunk/; revision=58000

11 years ago[USETUP/BOOTDATA/FONTS]
Hermès Bélusca-Maïto [Mon, 24 Dec 2012 17:31:30 +0000 (17:31 +0000)]
[USETUP/BOOTDATA/FONTS]
Adjust fonts substitutions.

[WIN32K]
Adjust system stock fonts.

svn path=/trunk/; revision=57999

11 years ago[FONTS]
Hermès Bélusca-Maïto [Mon, 24 Dec 2012 17:27:04 +0000 (17:27 +0000)]
[FONTS]
Add a suitable 'Fixedsys' TTF Unicode font, called 'Fixedsys Excelsior v3.01'.
Released into the Public Domain.
By Darien Gavin Valentine,
http://www.fixedsysexcelsior.com/

svn path=/trunk/; revision=57998

11 years ago[NETAPI32]
Eric Kohl [Mon, 24 Dec 2012 16:13:02 +0000 (16:13 +0000)]
[NETAPI32]
- Implement NetUserGetInfo.
- Implement level 10 in BuildUserInfoBuffer.
- Zero-initialize the user info buffer after allocation.

svn path=/trunk/; revision=57997

11 years ago[NETAPI32]
Eric Kohl [Mon, 24 Dec 2012 14:34:19 +0000 (14:34 +0000)]
[NETAPI32]
Move code that will be used by NetUserEnum and NetUserGetInfo into separate functions.

svn path=/trunk/; revision=57996

11 years ago[INF]
Johannes Anderwald [Mon, 24 Dec 2012 14:29:54 +0000 (14:29 +0000)]
[INF]
- Add Image class installer

svn path=/trunk/; revision=57995

11 years ago[NETAPI32]
Eric Kohl [Mon, 24 Dec 2012 12:48:39 +0000 (12:48 +0000)]
[NETAPI32]
Use servername in NetLocalGroupEnum and NetUserEnum.

svn path=/trunk/; revision=57994

11 years ago[EXPLORER_NEW]
Thomas Faber [Mon, 24 Dec 2012 12:47:35 +0000 (12:47 +0000)]
[EXPLORER_NEW]
- Remove "Properties" from the task bar property sheet title, as it is automatically appended. Patch by Edijs Kolesnikovics
CORE-6826 #resolve

svn path=/trunk/; revision=57993

11 years ago[REACTOS]
Timo Kreuzer [Mon, 24 Dec 2012 12:43:15 +0000 (12:43 +0000)]
[REACTOS]
Add simplified Chinese language resource. Patch by BinSys (binsys@163.com)
CORE-6823 #resolve

svn path=/trunk/; revision=57992

11 years ago[SAMLIB]
Eric Kohl [Mon, 24 Dec 2012 11:50:59 +0000 (11:50 +0000)]
[SAMLIB]
Implement SamGetCompatibilityMode.

svn path=/trunk/; revision=57991

11 years ago[CMAKE]
Amine Khaldi [Mon, 24 Dec 2012 11:21:54 +0000 (11:21 +0000)]
[CMAKE]
* Add basic support for the new MSVC build handling that comes with the upcoming RosBE 2.1.
* This needs to be inspected further to make sure it matches our current setup.

svn path=/trunk/; revision=57990

11 years ago[TASKMGR]
Timo Kreuzer [Mon, 24 Dec 2012 10:51:02 +0000 (10:51 +0000)]
[TASKMGR]
1) Use of CheckDlgButton() and IsDlgButtonChecked() rather than SendMessage, it will improve code readability.
2)Removes an useless initialization into perfpage.c
3) GetWindowLong/SetWindowLong were replaced with GetWindowLongPtr/SetWindowLongPtr, but GWL_WNDPROC and GWL_ID were not with GWLP_WNDPROC and GWLP_ID.
4) Corrected some comment texts.
Patch by Carlo Bramini
CORE-6367 #resolve

svn path=/trunk/; revision=57989

11 years ago[USBCCGP]
Johannes Anderwald [Mon, 24 Dec 2012 09:56:28 +0000 (09:56 +0000)]
[USBCCGP]
- Fix bug when enumerating composite usb devices with IADs

svn path=/trunk/; revision=57988

11 years ago[SYSSETUP]
Hermès Bélusca-Maïto [Sun, 23 Dec 2012 23:22:10 +0000 (23:22 +0000)]
[SYSSETUP]
I forgot that previously.

svn path=/trunk/; revision=57987

11 years ago[WRITE/SETUP/RUNONCE/SERVICES/MMSYS/MSGINA/SYSSETUP]
Hermès Bélusca-Maïto [Sun, 23 Dec 2012 23:17:10 +0000 (23:17 +0000)]
[WRITE/SETUP/RUNONCE/SERVICES/MMSYS/MSGINA/SYSSETUP]
- Use in some places ZeroMemory instead of memset(..., 0, ...).
- Fix way of initializing the STARTUPINFO structure before call to CreateProcess: in particular, when using the wShowWindow field, also use the STARTF_USESHOWWINDOW flag.

[USERINIT]
- Fix way of initializing the STARTUPINFO structure before call to CreateProcess: in particular, when using the wShowWindow field, also use the STARTF_USESHOWWINDOW flag.
- This fixes CORE-5735.

CORE-5735 #resolve #comment Command-line launching fixed in revision r57986.

svn path=/trunk/; revision=57986

11 years ago[KS]
Timo Kreuzer [Sun, 23 Dec 2012 22:53:41 +0000 (22:53 +0000)]
[KS]
- Mark a variable that is assigned inside an SEH block as _SEH2_VOLATILE.
- Silence some MSVC warnings

svn path=/trunk/; revision=57985

11 years ago[PORTCLS]
Timo Kreuzer [Sun, 23 Dec 2012 21:59:45 +0000 (21:59 +0000)]
[PORTCLS]
Make DllInitialize extern "C", otherwise it would be imported from ks.sys.

svn path=/trunk/; revision=57984

11 years ago[PSEH]
Timo Kreuzer [Sun, 23 Dec 2012 21:42:55 +0000 (21:42 +0000)]
[PSEH]
Add missing definition of _SEH2_VOLATILE.

svn path=/trunk/; revision=57983

11 years ago[PSEH]
Timo Kreuzer [Sun, 23 Dec 2012 21:33:48 +0000 (21:33 +0000)]
[PSEH]
Add _SEH2_VOLATILE macro, that expands to volatile on gcc. This is to mark variables as volatile, if neccessary.

svn path=/trunk/; revision=57982

11 years ago[NETAPI32]
Eric Kohl [Sun, 23 Dec 2012 18:59:40 +0000 (18:59 +0000)]
[NETAPI32]
Ooops! These are needed too!

svn path=/trunk/; revision=57981

11 years ago[NETAPI32]
Eric Kohl [Sun, 23 Dec 2012 18:56:13 +0000 (18:56 +0000)]
[NETAPI32]
- Implement NetUserEnum partially.
- Move common code into a separate file.

svn path=/trunk/; revision=57980

11 years ago[KS]
Johannes Anderwald [Sun, 23 Dec 2012 16:47:06 +0000 (16:47 +0000)]
[KS]
- resource size parameter is optional according to documentation
CORE-6555

svn path=/trunk/; revision=57979

11 years ago[EXPLORER_NEW]
Thomas Faber [Sun, 23 Dec 2012 14:37:22 +0000 (14:37 +0000)]
[EXPLORER_NEW]
- Add support for task bar theming
- Add notification area support
- Add support for window flashing
- Hide minimized windows
- Based on Andrew Green's GSoC branch (3/3)

svn path=/trunk/; revision=57978

11 years ago[EXPLORER_NEW]
Thomas Faber [Sun, 23 Dec 2012 14:31:18 +0000 (14:31 +0000)]
[EXPLORER_NEW]
- Run file dialog in its own thread
- Correctly check MapWindowPoints return value
- Fix a warning
- Based on Andrew Green's GSoC branch

svn path=/trunk/; revision=57977

11 years ago[EXPLORER_NEW]
Thomas Faber [Sun, 23 Dec 2012 10:25:19 +0000 (10:25 +0000)]
[EXPLORER_NEW]
- Add a manifest file to support theming
- Formatting fixes
- Based on Andrew Green's GSoC branch

svn path=/trunk/; revision=57976

11 years ago[AFD]
Cameron Gutman [Sun, 23 Dec 2012 09:53:36 +0000 (09:53 +0000)]
[AFD]
- Fix a bug during socket closure that could cause buffered data to be lost
[LWIP]
- Only signal errors when the packet queue is empty to avoid dropping received data
- Use pbuf_copy_partial to copy pbuf chains instead of doing it manually which had a bug
CORE-6655 #resolve CORE-6741 #resolve

svn path=/trunk/; revision=57975

11 years ago[WIN32K]
Timo Kreuzer [Sat, 22 Dec 2012 22:34:50 +0000 (22:34 +0000)]
[WIN32K]
Fix BRUSH_GetObject. Fixes 4 gdi32_apitests.

svn path=/trunk/; revision=57974

11 years ago[WIN32K]
Timo Kreuzer [Sat, 22 Dec 2012 22:22:06 +0000 (22:22 +0000)]
[WIN32K]
Fix a bug in the GDI pool code that could lead to list corruption and a failed ASSERT, when an app allocated a large number of DCs or brushes, like AbiWord with more than 1 document open. Also add a few more ASSERTs.

svn path=/trunk/; revision=57973

11 years ago[NETAPI32]
Eric Kohl [Sat, 22 Dec 2012 20:11:43 +0000 (20:11 +0000)]
[NETAPI32]
- Fork netapi32.dll because most of its exported functions are interfaces to services that wine will not implement.
- Move user and group functions to separate files and add some stubs.
- Update README.WINE.

svn path=/trunk/; revision=57972

11 years ago[WIN32K]
Timo Kreuzer [Sat, 22 Dec 2012 17:58:53 +0000 (17:58 +0000)]
[WIN32K]
- Move some files to more appropriate locations
- Remove an empty file

svn path=/trunk/; revision=57971

11 years ago[WIN32K]
Timo Kreuzer [Sat, 22 Dec 2012 17:43:20 +0000 (17:43 +0000)]
[WIN32K]
- Rewrite NtUserGetAtomName, make it return the length in WCHARs instead of bytes, as it is supposed to be. Fix a buffer overrun, when the caller passes a too large UNICODE_STRING buffer. Probe the output buffers before accessing them. Makes sure the target string is always NULL terminated, even if the buffer is too small for the whole name.
- Remove NULL termination code from IntGetAtomName, since that is already done by RtlQueryAtomInAtomTable

svn path=/trunk/; revision=57970

11 years ago[CMAKE]
Amine Khaldi [Sat, 22 Dec 2012 15:45:00 +0000 (15:45 +0000)]
[CMAKE]
* Remove unneeded set_rc_compiler.
ROSAPPS-255 #resolve #comment Fixed in r57968.

svn path=/trunk/; revision=57969

11 years ago[WIN32K]
Timo Kreuzer [Sat, 22 Dec 2012 12:22:53 +0000 (12:22 +0000)]
[WIN32K]
Don't access the PROCESSINFO after freeing it.

svn path=/trunk/; revision=57968

11 years ago[PSEH3]
Timo Kreuzer [Sat, 22 Dec 2012 10:51:30 +0000 (10:51 +0000)]
[PSEH3]
Fix a typo, add a comment

svn path=/trunk/; revision=57967

11 years ago[CMAKE]
Amine Khaldi [Sat, 22 Dec 2012 10:47:06 +0000 (10:47 +0000)]
[CMAKE]
* Remove unneeded set_rc_compiler.

svn path=/trunk/; revision=57966

11 years ago[CMAKE]
Amine Khaldi [Sat, 22 Dec 2012 10:46:37 +0000 (10:46 +0000)]
[CMAKE]
* Remove unneeded set_rc_compiler.

svn path=/trunk/; revision=57965

11 years ago[INCLUDE]
Timo Kreuzer [Sat, 22 Dec 2012 10:09:25 +0000 (10:09 +0000)]
[INCLUDE]
Update annotations

svn path=/trunk/; revision=57964

11 years ago[REG]
Hermès Bélusca-Maïto [Fri, 21 Dec 2012 23:48:23 +0000 (23:48 +0000)]
[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

11 years ago[WIN32K]
Timo Kreuzer [Fri, 21 Dec 2012 22:40:05 +0000 (22:40 +0000)]
[WIN32K]
Fix crash, when running out of paged pool. Found by r3ddr4g0n.

svn path=/trunk/; revision=57962

11 years ago[SYSSETUP]
Hermès Bélusca-Maïto [Fri, 21 Dec 2012 22:25:28 +0000 (22:25 +0000)]
[SYSSETUP]
In fact, French translation wasn't so improved...

svn path=/trunk/; revision=57961

11 years ago[SYSSETUP]
Hermès Bélusca-Maïto [Thu, 20 Dec 2012 21:28:54 +0000 (21:28 +0000)]
[SYSSETUP]
Improve French translation and correct some mistakes.

svn path=/trunk/; revision=57960

11 years ago[FONTS]
Hermès Bélusca-Maïto [Thu, 20 Dec 2012 20:21:56 +0000 (20:21 +0000)]
[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

11 years ago[NTOSKRNL]
Timo Kreuzer [Thu, 20 Dec 2012 14:58:02 +0000 (14:58 +0000)]
[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

11 years ago[REGEDIT]
Hermès Bélusca-Maïto [Thu, 20 Dec 2012 14:10:38 +0000 (14:10 +0000)]
[REGEDIT]
Improve the look of the "Go" button (at the right of the address bar).

svn path=/trunk/; revision=57957

11 years ago[REGEDIT]
Hermès Bélusca-Maïto [Thu, 20 Dec 2012 02:13:53 +0000 (02:13 +0000)]
[REGEDIT]
Improve the overall look (a little part was committed by accident in r57955).

svn path=/trunk/; revision=57956

11 years ago[REGEDIT]
Hermès Bélusca-Maïto [Thu, 20 Dec 2012 02:02:38 +0000 (02:02 +0000)]
[REGEDIT]
Improve the way sorting is done.

svn path=/trunk/; revision=57955

11 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 19 Dec 2012 23:49:13 +0000 (23:49 +0000)]
[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

11 years ago[CSQ]
Timo Kreuzer [Wed, 19 Dec 2012 23:33:57 +0000 (23:33 +0000)]
[CSQ]
Formatting, add annotations, use doxygen style comments, no functional change

svn path=/trunk/; revision=57953

11 years ago[WIN32K]
Timo Kreuzer [Wed, 19 Dec 2012 22:01:54 +0000 (22:01 +0000)]
[WIN32K]
Fix a bug caused by r57948

svn path=/trunk/; revision=57952

11 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 19 Dec 2012 11:11:34 +0000 (11:11 +0000)]
[NTOSKRNL]
Formatting, no functional change

svn path=/trunk/; revision=57951

11 years agoWe display a revision number (prefix: 'r')
Hermès Bélusca-Maïto [Wed, 19 Dec 2012 01:08:47 +0000 (01:08 +0000)]
We display a revision number (prefix: 'r')

svn path=/trunk/; revision=57950

11 years ago[REGEDIT]
Hermès Bélusca-Maïto [Tue, 18 Dec 2012 23:52:08 +0000 (23:52 +0000)]
[REGEDIT]
Add support of sorting by value.
Patch by Katayama Hirofumi.

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

svn path=/trunk/; revision=57949

11 years ago[WIN32K]
Timo Kreuzer [Tue, 18 Dec 2012 21:44:58 +0000 (21:44 +0000)]
[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

11 years ago[RTL]
Hermès Bélusca-Maïto [Tue, 18 Dec 2012 21:15:24 +0000 (21:15 +0000)]
[RTL]
Clarify the order of operations. No functionality changes.

svn path=/trunk/; revision=57947

11 years ago[SERVICES]
Hermès Bélusca-Maïto [Tue, 18 Dec 2012 20:38:54 +0000 (20:38 +0000)]
[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

11 years ago[WIN32CSR]
Hermès Bélusca-Maïto [Tue, 18 Dec 2012 19:06:16 +0000 (19:06 +0000)]
[WIN32CSR]
Fix a misspelling: "loose" --> "lose" (verb). Spotted by Katayama Hirofumi.

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

svn path=/trunk/; revision=57945

11 years ago[WIN32K]
Timo Kreuzer [Tue, 18 Dec 2012 15:20:20 +0000 (15:20 +0000)]
[WIN32K]
- Add/fix some annotations
- Simplify code in NtGdiSetMiterLimit

svn path=/trunk/; revision=57944

11 years ago[RTL]
Timo Kreuzer [Tue, 18 Dec 2012 15:00:45 +0000 (15:00 +0000)]
[RTL]
Reapply a fix, that got reverted accidentally in r57938

svn path=/trunk/; revision=57943

11 years ago[RTL]
Timo Kreuzer [Tue, 18 Dec 2012 10:10:34 +0000 (10:10 +0000)]
[RTL]
- Implement dynamic allocation of handle entry pages in RtlAllocateHandle
- Fix a possible NULL pointer dereference

svn path=/trunk/; revision=57942

11 years ago[HAL]
Timo Kreuzer [Tue, 18 Dec 2012 09:52:07 +0000 (09:52 +0000)]
[HAL]
Fix / silence some warnings/errors detected with VS-analyze

svn path=/trunk/; revision=57941

11 years ago[REGEDIT]
Hermès Bélusca-Maïto [Mon, 17 Dec 2012 23:22:03 +0000 (23:22 +0000)]
[REGEDIT]
Update the address bar after creating a registry key.
CORE-6816 #resolve #comment Committed in r57940. Thanks ;)

svn path=/trunk/; revision=57940

11 years ago[INFLIB]
Sylvain Petreolle [Mon, 17 Dec 2012 22:48:07 +0000 (22:48 +0000)]
[INFLIB]
Don't use _swprintf.
Tested in rosbe 2, 2.1, windows, linux, and VS 10.

svn path=/trunk/; revision=57939

11 years ago[RTL]
Timo Kreuzer [Mon, 17 Dec 2012 13:27:33 +0000 (13:27 +0000)]
[RTL]
Revert silencing a warning and apply a real fix. Spotted by Thomas.

svn path=/trunk/; revision=57938

11 years ago[CMLIB]
Timo Kreuzer [Mon, 17 Dec 2012 12:27:21 +0000 (12:27 +0000)]
[CMLIB]
Fix / silence some warnings/errors detected with VS-analyze

svn path=/trunk/; revision=57937

11 years ago[RTL]
Timo Kreuzer [Mon, 17 Dec 2012 12:06:14 +0000 (12:06 +0000)]
[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

11 years ago[FREELDR]
Hermès Bélusca-Maïto [Mon, 17 Dec 2012 00:22:11 +0000 (00:22 +0000)]
[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

11 years ago[FREELDR]
Hermès Bélusca-Maïto [Sun, 16 Dec 2012 22:00:41 +0000 (22:00 +0000)]
[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

11 years ago[FREELDR]
Hermès Bélusca-Maïto [Sun, 16 Dec 2012 21:32:41 +0000 (21:32 +0000)]
[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

11 years ago[PSDK]
Timo Kreuzer [Sun, 16 Dec 2012 18:28:06 +0000 (18:28 +0000)]
[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

11 years ago[LIBINFHOST]
Amine Khaldi [Sun, 16 Dec 2012 17:15:34 +0000 (17:15 +0000)]
[LIBINFHOST]
* Fix a linking issue with the upcoming toolchain.

svn path=/trunk/; revision=57931

11 years ago[CRT]
Timo Kreuzer [Sun, 16 Dec 2012 16:48:31 +0000 (16:48 +0000)]
[CRT]
Fix build (2nd try)

svn path=/trunk/; revision=57930

11 years ago[CRT]
Timo Kreuzer [Sun, 16 Dec 2012 16:44:54 +0000 (16:44 +0000)]
[CRT]
Fix build

svn path=/trunk/; revision=57929

11 years ago[CRT]
Timo Kreuzer [Sun, 16 Dec 2012 16:38:36 +0000 (16:38 +0000)]
[CRT]
Fix / silence a number of warnings/errors detected with VS-analyze

svn path=/trunk/; revision=57928

11 years ago[MORE]
Pierre Schweitzer [Sun, 16 Dec 2012 16:12:30 +0000 (16:12 +0000)]
[MORE]
Fix memory leak

svn path=/trunk/; revision=57927

11 years ago[ATACLT]
Pierre Schweitzer [Sun, 16 Dec 2012 16:09:41 +0000 (16:09 +0000)]
[ATACLT]
Add missing printf() parameter

svn path=/trunk/; revision=57926

11 years ago[WIn32k]
Hermès Bélusca-Maïto [Sun, 16 Dec 2012 14:37:45 +0000 (14:37 +0000)]
[WIn32k]
Fix the fix for Safe Mode (vide revision r57923).

svn path=/trunk/; revision=57925