reactos.git
6 years agoSynchronize with trunk r58528.
Hermès Bélusca-Maïto [Sat, 16 Mar 2013 22:10:42 +0000 (22:10 +0000)]
Synchronize with trunk r58528.

svn path=/branches/ros-csrss/; revision=58529

6 years agoRemove the unneeded $Id$ blabla from the source code. (Part 8/8) Done !!
Hermès Bélusca-Maïto [Sat, 16 Mar 2013 20:48:10 +0000 (20:48 +0000)]
Remove the unneeded $Id$ blabla from the source code. (Part 8/8) Done !!

svn path=/trunk/; revision=58527

6 years agoRemove the unneeded $Id$ blabla from the source code, but not in 3rd party code....
Hermès Bélusca-Maïto [Sat, 16 Mar 2013 20:41:13 +0000 (20:41 +0000)]
Remove the unneeded $Id$ blabla from the source code, but not in 3rd party code. (Part 7/8)

svn path=/trunk/; revision=58526

6 years agoRemove the unneeded $Id$ blabla from the source code, but not in 3rd party code....
Hermès Bélusca-Maïto [Sat, 16 Mar 2013 20:25:38 +0000 (20:25 +0000)]
Remove the unneeded $Id$ blabla from the source code, but not in 3rd party code. (Part 6/8) (N == 8)

svn path=/trunk/; revision=58525

6 years agoRemove the unneeded $Id$ blabla from the source code, but not in 3rd party code....
Hermès Bélusca-Maïto [Sat, 16 Mar 2013 20:08:56 +0000 (20:08 +0000)]
Remove the unneeded $Id$ blabla from the source code, but not in 3rd party code. (Part 5/N)
The only thing remaining is to remove $Id$ in /dll/

svn path=/trunk/; revision=58524

6 years agoRemove the unneeded $Id$ blabla from the source code, but not in 3rd party code....
Hermès Bélusca-Maïto [Sat, 16 Mar 2013 19:49:08 +0000 (19:49 +0000)]
Remove the unneeded $Id$ blabla from the source code, but not in 3rd party code. (Part 4/N)

svn path=/trunk/; revision=58523

6 years ago[COMCTL32_WINETEST]
Amine Khaldi [Sat, 16 Mar 2013 17:07:05 +0000 (17:07 +0000)]
[COMCTL32_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58522

6 years ago[COMCTL32]
Amine Khaldi [Sat, 16 Mar 2013 17:06:48 +0000 (17:06 +0000)]
[COMCTL32]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58521

6 years ago[ADVAPI32-SERVICES]
Hermès Bélusca-Maïto [Sat, 16 Mar 2013 15:39:08 +0000 (15:39 +0000)]
[ADVAPI32-SERVICES]
Put an event name into a macro (shared between advapi32.dll and services.exe)

[BOOTDATA]
Remove two reactos-specific and unused values in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon : StartLsass and StartServices.

svn path=/trunk/; revision=58520

6 years ago[PSDK]
Amine Khaldi [Sat, 16 Mar 2013 15:25:15 +0000 (15:25 +0000)]
[PSDK]
* Add some missing definitions.

svn path=/trunk/; revision=58519

6 years ago[GDI32_WINETEST]
Amine Khaldi [Sat, 16 Mar 2013 15:01:33 +0000 (15:01 +0000)]
[GDI32_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58518

6 years ago[CRT]
Timo Kreuzer [Sat, 16 Mar 2013 14:46:35 +0000 (14:46 +0000)]
[CRT]
Implement _splitpath_s and _wsplitpath_s

[MSVCRT]
Export _splitpath_s and _wsplitpath_s

svn path=/trunk/; revision=58517

6 years ago[SERVICES]
Hermès Bélusca-Maïto [Sat, 16 Mar 2013 13:50:24 +0000 (13:50 +0000)]
[SERVICES]
- Precise the purpose of lock.c
- Add an informative comment.

No code changes.

svn path=/trunk/; revision=58516

6 years ago[CRT]
Timo Kreuzer [Sat, 16 Mar 2013 13:40:28 +0000 (13:40 +0000)]
[CRT]
Implement [v]s[nw]printf_s

[MSVCRT]
Enable [v]s[nw]printf_s exports

svn path=/trunk/; revision=58515

6 years ago[win32k]
Giannis Adamopoulos [Sat, 16 Mar 2013 10:12:16 +0000 (10:12 +0000)]
[win32k]
- Store the session id in WINSTATION_OBJECT when we create a window station.
- Don't allow switching to a desktop that belongs to a different session
This is a modified version of the patch from CORE-5531

svn path=/trunk/; revision=58514

6 years ago[win32csr]
Giannis Adamopoulos [Sat, 16 Mar 2013 09:09:53 +0000 (09:09 +0000)]
[win32csr]
- When we close a window during shutdown, switch to the desktop of the window
CORE-5439

svn path=/trunk/; revision=58513

6 years agoUpdate Rapps Database. Welcome to CLT2013 ^^
Daniel Reimer [Sat, 16 Mar 2013 08:17:19 +0000 (08:17 +0000)]
Update Rapps Database. Welcome to CLT2013 ^^

svn path=/trunk/; revision=58512

6 years ago[CRT]
Amine Khaldi [Fri, 15 Mar 2013 22:04:05 +0000 (22:04 +0000)]
[CRT]
* Annotate stdlib_s.h.
* Annotate more functions in stdlib.h.

svn path=/trunk/; revision=58511

6 years ago[APPLICATIONS]
Amine Khaldi [Fri, 15 Mar 2013 21:59:57 +0000 (21:59 +0000)]
[APPLICATIONS]
* Fix some format specifiers.

svn path=/trunk/; revision=58510

6 years ago[SAL]
Amine Khaldi [Fri, 15 Mar 2013 21:36:13 +0000 (21:36 +0000)]
[SAL]
* Add _Outptr_result_z_ annotation.

svn path=/trunk/; revision=58509

6 years ago[SC]
Amine Khaldi [Fri, 15 Mar 2013 17:28:43 +0000 (17:28 +0000)]
[SC]
* Fix some format specifiers.

svn path=/trunk/; revision=58508

6 years ago[CRT]
Amine Khaldi [Fri, 15 Mar 2013 17:03:42 +0000 (17:03 +0000)]
[CRT]
* Annotate mbctype.h.

svn path=/trunk/; revision=58507

6 years ago[WINMINE]
Amine Khaldi [Fri, 15 Mar 2013 15:47:39 +0000 (15:47 +0000)]
[WINMINE]
* Fix some format specifiers.

svn path=/trunk/; revision=58506

6 years ago[CRT]
Amine Khaldi [Fri, 15 Mar 2013 14:52:20 +0000 (14:52 +0000)]
[CRT]
* Annotate io.h.

svn path=/trunk/; revision=58505

6 years ago[FREELDR]
Amine Khaldi [Fri, 15 Mar 2013 14:51:02 +0000 (14:51 +0000)]
[FREELDR]
* Fix a format specifiers.

svn path=/trunk/; revision=58504

6 years ago[CALC]
Amine Khaldi [Fri, 15 Mar 2013 13:34:52 +0000 (13:34 +0000)]
[CALC]
* Fix some format specifiers.

svn path=/trunk/; revision=58503

6 years ago[CRT]
Amine Khaldi [Fri, 15 Mar 2013 13:32:56 +0000 (13:32 +0000)]
[CRT]
* Annotate float.h.

svn path=/trunk/; revision=58502

6 years agoRemove the unneeded $Id$ blabla from the source code, but not in 3rd party code....
Hermès Bélusca-Maïto [Thu, 14 Mar 2013 22:21:37 +0000 (22:21 +0000)]
Remove the unneeded $Id$ blabla from the source code, but not in 3rd party code. (Part 3/N)

svn path=/trunk/; revision=58501

6 years agoRemove the unneeded $Id$ blabla from the source code. (Part 2/N)
Hermès Bélusca-Maïto [Thu, 14 Mar 2013 21:04:13 +0000 (21:04 +0000)]
Remove the unneeded $Id$ blabla from the source code. (Part 2/N)

svn path=/trunk/; revision=58500

6 years ago[WIN32SS]
Hermès Bélusca-Maïto [Thu, 14 Mar 2013 20:35:39 +0000 (20:35 +0000)]
[WIN32SS]
- Remove the unneeded $Id$ blabla from the source code.
- Translate some GreatLordish into English.

svn path=/trunk/; revision=58499

6 years ago[CRT]
Amine Khaldi [Thu, 14 Mar 2013 17:54:05 +0000 (17:54 +0000)]
[CRT]
* Annotate math.h.

svn path=/trunk/; revision=58498

6 years ago[TASKMGR]
Amine Khaldi [Thu, 14 Mar 2013 17:47:00 +0000 (17:47 +0000)]
[TASKMGR]
* Fix some format specifiers.

svn path=/trunk/; revision=58497

6 years ago[CRT]
Amine Khaldi [Thu, 14 Mar 2013 16:53:56 +0000 (16:53 +0000)]
[CRT]
* Annotate direct.h.

svn path=/trunk/; revision=58496

6 years ago[EVENTLOG]
Amine Khaldi [Thu, 14 Mar 2013 16:51:39 +0000 (16:51 +0000)]
[EVENTLOG]
* Fix some format specifiers.

svn path=/trunk/; revision=58495

6 years ago[CRT]
Amine Khaldi [Thu, 14 Mar 2013 12:54:51 +0000 (12:54 +0000)]
[CRT]
* Annotate conio.h.

svn path=/trunk/; revision=58494

6 years agoRemove the unneeded $Id$ blabla from the source code.
Hermès Bélusca-Maïto [Thu, 14 Mar 2013 01:14:18 +0000 (01:14 +0000)]
Remove the unneeded $Id$ blabla from the source code.

svn path=/trunk/; revision=58493

6 years agoRemove the unneeded $Id$ blabla from the source code.
Hermès Bélusca-Maïto [Thu, 14 Mar 2013 00:39:31 +0000 (00:39 +0000)]
Remove the unneeded $Id$ blabla from the source code.

svn path=/trunk/; revision=58492

6 years agoRemove ALL the unneeded "author date id revision" svn properties.
Hermès Bélusca-Maïto [Thu, 14 Mar 2013 00:02:41 +0000 (00:02 +0000)]
Remove ALL the unneeded "author date id revision" svn properties.

svn path=/trunk/; revision=58491

6 years agoRemove ALL the unneeded "author date id revision" svn properties.
Hermès Bélusca-Maïto [Thu, 14 Mar 2013 00:00:01 +0000 (00:00 +0000)]
Remove ALL the unneeded "author date id revision" svn properties.

svn path=/trunk/; revision=58490

6 years ago- Remove ALL the unneeded "author date id revision" svn properties.
Hermès Bélusca-Maïto [Wed, 13 Mar 2013 23:50:08 +0000 (23:50 +0000)]
- Remove ALL the unneeded "author date id revision" svn properties.
- Remove the erroneous svn:eol-syle or svn:eol-stlye properties (and replace them by svn:eol-style)

svn path=/trunk/; revision=58489

6 years ago[SYSSETUP]
Hermès Bélusca-Maïto [Wed, 13 Mar 2013 20:40:43 +0000 (20:40 +0000)]
[SYSSETUP]
Reorder closing of handles (the service handle then the SCM handle), it clarifies the logic (but not change it dramatically).

[RSYM64]
Correct a misspelling, no code change.

svn path=/trunk/; revision=58488

6 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 13 Mar 2013 18:26:11 +0000 (18:26 +0000)]
[NTOSKRNL]
Disable enqueuing processes into the SessionGlobal->ProcessList, since it's broken and causes non paged pool corruption. The reason is that sometimes the process is not removed, so a dead allocation stays in the list, causing havoc, when the next or previous process in that list is removed.

svn path=/trunk/; revision=58487

6 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 13 Mar 2013 18:25:52 +0000 (18:25 +0000)]
[NTOSKRNL]
Fix non-KDBG builds

svn path=/trunk/; revision=58486

6 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 13 Mar 2013 18:13:55 +0000 (18:13 +0000)]
[NTOSKRNL]
- Implement "!pool" kdbg extension that works like in WinDbg
- Implement ExpCheckPoolAllocation to check a single allocation for sanity
- Rename MEMORY_ARE::PageOpCount (which is unused) to Magic and set it to 'MAre'
- Implement MiRosCheckMemoryAreas, that checks all memory areas for integrity and PspCheckProcessList that checks the process list. The code is not used anywhere, since it can cause a major performance impact, but it proved useful to detect non paged pool corruptions. So I'll commit it in the hope that it will be useful.

svn path=/trunk/; revision=58485

6 years ago[CRT]
Amine Khaldi [Wed, 13 Mar 2013 14:19:51 +0000 (14:19 +0000)]
[CRT]
* Annotate locale.h.

svn path=/trunk/; revision=58484

6 years ago[CRT]
Amine Khaldi [Wed, 13 Mar 2013 12:30:49 +0000 (12:30 +0000)]
[CRT]
* Annotate errno.h.

svn path=/trunk/; revision=58483

6 years ago[PSDK]
Amine Khaldi [Wed, 13 Mar 2013 12:06:41 +0000 (12:06 +0000)]
[PSDK]
* Annotate winnls.h.

svn path=/trunk/; revision=58482

6 years ago*** INFORMATIONAL COMMIT !! NO CODE CHANGES !! (but svn properties, yes !) ***
Hermès Bélusca-Maïto [Wed, 13 Mar 2013 01:44:48 +0000 (01:44 +0000)]
*** INFORMATIONAL COMMIT !! NO CODE CHANGES !! (but svn properties, yes !) ***

The previous commit r58480 was the Part 2/2 of the commit r58305 from 4 weeks ago.

svn path=/branches/ros-csrss/; revision=58481

6 years ago[SHELL32]
Hermès Bélusca-Maïto [Wed, 13 Mar 2013 01:35:46 +0000 (01:35 +0000)]
[SHELL32]
Implement the usage of the STARTF_TITLEISLINKNAME flag (in a STARTUPINFO structure, it signals that the program was started from a shell link, and therefore its lpTitle member holds the path of the link).
What I do is that, in CShellLink::InvokeCommand (called when a shortcut is being executed), I initialize the SHELLEXECUTEINFO structure such that we know that we are starting from a shortcut (use the
SEE_MASK_HASLINKNAME flag), and to hold the path to the flag I use its lpClass member (which is not used for other things in this code path). Then the whole thing is passed to ShellExecuteExW which, in turn,
calls the SHELL_ExecuteW function. This function reads the SHELLEXECUTEINFO structure and, if it has the flag SEE_MASK_HASLINKNAME (or SEE_MASK_HASTITLE too, if somebody also uses lpClass to pass a particular
title for the startup), we use the forementioned lpClass member, holding the link path, as the title (lpTitle member) of a new STARTUPINFO object used when calling CreateProcess (and thus, launching the
new application). So that this application will be aware that she was launched via a link (therefore we become compliant with the STARTF_TITLEISLINKNAME documentation).

svn path=/branches/ros-csrss/; revision=58480

6 years ago[PSDK]
Hermès Bélusca-Maïto [Wed, 13 Mar 2013 01:19:43 +0000 (01:19 +0000)]
[PSDK]
- Define all the missing STARTF_* flags needed for the STARTUPINFO structure (taken from http://msdn.microsoft.com/en-us/library/windows/desktop/ms686331(v=vs.85).aspx).
  Amongst them is the STARTF_TITLEISLINKNAME flag that I use in the console server to determine whether a console app was started from a shell link, and if so, extract
  the name of the link and its icon.

- Define all the missing SEE_MASK_* flags needed for the SHELLEXECUTEINFO structure, but the Windows 8 flag (taken from http://msdn.microsoft.com/en-us/library/windows/desktop/bb759784(v=vs.85).aspx).
  Furthermore I add three undocumented flags, SEE_MASK_HASLINKNAME, SEE_MASK_HASTITLE and SEE_MASK_FLAG_SEPVDM. These three flags are undocumented and even not present in the official Windows SDK.
  However they are used in shobjidl.idl to define some CMIC_MASK_* flags, these ones being mentioned in the MSDN documentation of the CMINVOKECOMMANDINFOEX structure (see http://msdn.microsoft.com/en-us/library/windows/desktop/bb773217(v=vs.85).aspx).
  So I affect them a range of values which seems to be strangely empty (see the code). Of course their values may differ from the real ones, however I have no way of discovering them. If somebody else
  can verify them, it would be great.

svn path=/branches/ros-csrss/; revision=58479

6 years ago[SAMSRV]
Eric Kohl [Tue, 12 Mar 2013 21:27:35 +0000 (21:27 +0000)]
[SAMSRV]
Set MaxPasswordAge, LockoutDuration and LockoutObservationWindow for domains during setup.

svn path=/trunk/; revision=58478

6 years ago[PSDK]
Amine Khaldi [Tue, 12 Mar 2013 21:16:25 +0000 (21:16 +0000)]
[PSDK]
* Annotate batclass.h.

svn path=/trunk/; revision=58477

6 years ago[SAMSRV]
Eric Kohl [Tue, 12 Mar 2013 20:07:56 +0000 (20:07 +0000)]
[SAMSRV]
Add helper functions SampOpenAliasObject, SampOpenGroupObject and SampRemoveUserFromAllGroups.

svn path=/trunk/; revision=58476

6 years ago[PSDK]
Amine Khaldi [Tue, 12 Mar 2013 11:40:11 +0000 (11:40 +0000)]
[PSDK]
* Annotate evntprov.h.

svn path=/trunk/; revision=58475

6 years ago[CRT]
Amine Khaldi [Mon, 11 Mar 2013 22:06:16 +0000 (22:06 +0000)]
[CRT]
* Annotate malloc.h.

svn path=/trunk/; revision=58474

6 years ago[SAMSRV]
Eric Kohl [Mon, 11 Mar 2013 21:49:11 +0000 (21:49 +0000)]
[SAMSRV]
Implement SamrShutdownSamServer.

svn path=/trunk/; revision=58473

6 years ago[SAMSRV]
Eric Kohl [Mon, 11 Mar 2013 21:01:30 +0000 (21:01 +0000)]
[SAMSRV]
- Implement SamIConnect.
- Add a trusted caller flag to the database object type and inherit it to opened or created sub objects.
- Restrict access to SamrQueryInformationUser.UserInternal1Information for non-trusted callers.

svn path=/trunk/; revision=58472

6 years ago[AUDIOSRV]
Sylvain Petreolle [Mon, 11 Mar 2013 20:59:01 +0000 (20:59 +0000)]
[AUDIOSRV]
Fix log message.

svn path=/trunk/; revision=58471

6 years ago[DDK]
Amine Khaldi [Mon, 11 Mar 2013 19:49:26 +0000 (19:49 +0000)]
[DDK]
* Annotate ntpoapi.h.

svn path=/trunk/; revision=58470

6 years ago[PSDK]
Amine Khaldi [Mon, 11 Mar 2013 19:48:21 +0000 (19:48 +0000)]
[PSDK]
* Annotate some structures in ntddstor.h.

svn path=/trunk/; revision=58469

6 years ago[SAL]
Amine Khaldi [Mon, 11 Mar 2013 19:31:40 +0000 (19:31 +0000)]
[SAL]
* Add _Outptr_opt_result_buffer_ and _Outptr_opt_result_bytebuffer_ annotations.

svn path=/trunk/; revision=58468

6 years ago[SAMSRV]
Eric Kohl [Sun, 10 Mar 2013 22:28:26 +0000 (22:28 +0000)]
[SAMSRV]
Implement SamIFree_SAMPR_PSID_ARRAY.

svn path=/trunk/; revision=58467

6 years ago[SAMSRV]
Eric Kohl [Sun, 10 Mar 2013 21:49:10 +0000 (21:49 +0000)]
[SAMSRV]
Update .spec file to Windows XP SP3.

svn path=/trunk/; revision=58466

6 years ago[CSRSRV]
Hermès Bélusca-Maïto [Sun, 10 Mar 2013 19:44:48 +0000 (19:44 +0000)]
[CSRSRV]
Clarify this one, too.

svn path=/branches/ros-csrss/; revision=58465

6 years ago[CSRSRV]
Hermès Bélusca-Maïto [Sun, 10 Mar 2013 19:37:33 +0000 (19:37 +0000)]
[CSRSRV]
Clarify few parts of code; remove unneeded comments and DPRINTs; start documentation of the CsrCreateProcess routine.

[BASESRV-CONSRV-WINSRV]
Correct the sizes of the API tables.

[SM]
Correct the API names.

svn path=/branches/ros-csrss/; revision=58464

6 years ago[CONSRV]
Hermès Bélusca-Maïto [Sun, 10 Mar 2013 15:56:35 +0000 (15:56 +0000)]
[CONSRV]
Attempt to fix terminal window positioning at initialization. Some work also needs to be done in console.dll.

svn path=/branches/ros-csrss/; revision=58463

6 years ago[CONSRV]
Hermès Bélusca-Maïto [Sun, 10 Mar 2013 15:37:22 +0000 (15:37 +0000)]
[CONSRV]
- Fix console initialization / uninitialization and resources release when initialization fails.
- Remove unneeded DPRINTs.

svn path=/branches/ros-csrss/; revision=58462

6 years ago[LSASRV]
Timo Kreuzer [Sun, 10 Mar 2013 13:43:13 +0000 (13:43 +0000)]
[LSASRV]
In LsapCreateDatabaseObjects pass the pointer AuditEventsInfo to LsapSetObjectAttribute instead a pointer to the pointer. Fixes 1 advapi32::lsa winetest when compiled with the new BE.

svn path=/trunk/; revision=58461

6 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 10 Mar 2013 11:44:04 +0000 (11:44 +0000)]
[NTOSKRNL]
Implement Ke386SetGdtEntryBase and KiSetTebBase and use it in the appropriate places.

svn path=/trunk/; revision=58460

6 years ago[CONSOLE.DLL-CONSRV]
Hermès Bélusca-Maïto [Sun, 10 Mar 2013 02:23:46 +0000 (02:23 +0000)]
[CONSOLE.DLL-CONSRV]
Fix cursor size.

svn path=/branches/ros-csrss/; revision=58459

6 years agoSynchronize with trunk r58457.
Hermès Bélusca-Maïto [Sun, 10 Mar 2013 01:01:36 +0000 (01:01 +0000)]
Synchronize with trunk r58457.

svn path=/branches/ros-csrss/; revision=58458

6 years ago[LSASRV]
Eric Kohl [Sat, 9 Mar 2013 22:32:53 +0000 (22:32 +0000)]
[LSASRV]
- Implement LSA dispatch routines LsapAllocateClientBuffer, LsapFreeClientBuffer, LsapCopyToClientBuffer and LsapCopyFromClientBuffer.
- LsapCallAuthenticationPackage and LsapLogonUser: Copy data from the callers address space into a local buffer and pass it to the authentication package.

svn path=/trunk/; revision=58457

6 years ago[KERNEL32-USER32]
Hermès Bélusca-Maïto [Sat, 9 Mar 2013 22:16:26 +0000 (22:16 +0000)]
[KERNEL32-USER32]
No need to check ApiMessage.Status if you also check the returned value of CsrClientCallServer because, according to dll/ntdll/csr/connect.c:CsrClientCallServer, the (only) return value of CsrClientCallServer _is_ equal to ApiMessage.Status (vide line 169).

svn path=/branches/ros-csrss/; revision=58456

6 years ago[CONSRV-USER32-WINSRV]
Hermès Bélusca-Maïto [Sat, 9 Mar 2013 21:52:12 +0000 (21:52 +0000)]
[CONSRV-USER32-WINSRV]
Pre-synchrosize with trunk, by applying some changes from revision r58411.

svn path=/branches/ros-csrss/; revision=58455

6 years ago[KERNEL32-CONSRV]
Hermès Bélusca-Maïto [Sat, 9 Mar 2013 21:21:37 +0000 (21:21 +0000)]
[KERNEL32-CONSRV]
Remove the old implementation of GetConsoleInputWaitHandle which was commented-out for some time.

[BASESRV]
Correct few names.

svn path=/branches/ros-csrss/; revision=58454

6 years ago[NTDLL]
Hermès Bélusca-Maïto [Sat, 9 Mar 2013 21:08:23 +0000 (21:08 +0000)]
[NTDLL]
Fix CsrCaptureTimeout (verified against Windows Server 2003).

[KERNEL32-CSRSRV-BASESRV-CONSRV-WINSRV]
Clean the code: remove unuseful comments and dprints, reorganize a little bit few source files.

svn path=/branches/ros-csrss/; revision=58453

6 years ago[USER32]
Timo Kreuzer [Sat, 9 Mar 2013 18:28:30 +0000 (18:28 +0000)]
[USER32]
MsgiAnsiToUnicodeReply: Use heap buffer for MDICREATSTRUCT instead of returning a pointer to a stackbuffer.

svn path=/trunk/; revision=58452

6 years ago[LSASRV]
Eric Kohl [Sat, 9 Mar 2013 15:54:45 +0000 (15:54 +0000)]
[LSASRV]
- Move LsapLookupAuthenticationPackage, LsapCallAuthenticationPackage and LsapLogonUser from authport.c to authpackage.c.
- Make LsapCallAuthenticationPackage and LsapLogonUser call the matching authentication package functions.

svn path=/trunk/; revision=58451

6 years ago[BOOTDATA]
Sylvain Petreolle [Sat, 9 Mar 2013 15:06:50 +0000 (15:06 +0000)]
[BOOTDATA]
CurrentVersion, CSDVersion and CurrentBuildNumber are REG_SZ strings, not REG_EXPAND_SZ.

svn path=/trunk/; revision=58450

6 years ago[KERNEL32]
Hermès Bélusca-Maïto [Sat, 9 Mar 2013 14:18:10 +0000 (14:18 +0000)]
[KERNEL32]
Further correct 4 console winetests.

svn path=/branches/ros-csrss/; revision=58449

6 years ago[CONSRV]
Hermès Bélusca-Maïto [Sat, 9 Mar 2013 01:39:49 +0000 (01:39 +0000)]
[CONSRV]
Fix the initialization of screen buffers (concerning the cursor size).

[KERNEL32]
Fix almost all of the console winetests. Only 26 tests remain to be fixed, concerning principally WriteConsoleInputA/W and GetNumberOfConsoleInputEvents.

svn path=/branches/ros-csrss/; revision=58448

6 years ago[CONSRV]
Hermès Bélusca-Maïto [Fri, 8 Mar 2013 23:37:11 +0000 (23:37 +0000)]
[CONSRV]
- Start to sort out things that depends only of the internals of a console, and things which are only related to "terminal emulators". Do it especially for (what I will call starting from now) the "GUI terminal emulator".
- Temporarily deactivate starting "TUI terminals".
- Temporarily break report that the terminal window is held by the current running console application in it (see r58107). This will be fixed later on.

svn path=/branches/ros-csrss/; revision=58447

6 years ago[SERVICES-ADVAPI32]
Hermès Bélusca-Maïto [Fri, 8 Mar 2013 22:40:38 +0000 (22:40 +0000)]
[SERVICES-ADVAPI32]
- Check for possible null pointers (invalid address) before dereferencing them.
- Correct some DPRINT formatting.

svn path=/trunk/; revision=58446

6 years agoThe 'i' variable being only used for displaying the array of parameters (when debug...
Hermès Bélusca-Maïto [Fri, 8 Mar 2013 21:22:05 +0000 (21:22 +0000)]
The 'i' variable being only used for displaying the array of parameters (when debug output is enabled), disable it also to avoid "error: unused variable 'i'".

svn path=/trunk/; revision=58445

6 years ago[SERVICES]
Hermès Bélusca-Maïto [Fri, 8 Mar 2013 21:19:12 +0000 (21:19 +0000)]
[SERVICES]
- Disable an unuseful DPRINT.
- Remove a redundant variable lpConfig.

svn path=/trunk/; revision=58444

6 years ago[SERVICES]
Hermès Bélusca-Maïto [Fri, 8 Mar 2013 20:56:18 +0000 (20:56 +0000)]
[SERVICES]
* Fix some format specifiers (part 2 of r58442). Thanks Amine :)
* Remane two "global" static variables to avoid name collision warnings.

svn path=/trunk/; revision=58443

6 years ago[SERVICES]
Amine Khaldi [Fri, 8 Mar 2013 20:49:03 +0000 (20:49 +0000)]
[SERVICES]
* Fix some format specifiers.

svn path=/trunk/; revision=58442

6 years ago[CRT]
Amine Khaldi [Fri, 8 Mar 2013 13:55:06 +0000 (13:55 +0000)]
[CRT]
* Annotate excpt.h.

svn path=/trunk/; revision=58441

6 years ago[CRT]
Amine Khaldi [Thu, 7 Mar 2013 16:46:59 +0000 (16:46 +0000)]
[CRT]
* Annotate wchar.h.

svn path=/trunk/; revision=58440

6 years ago[CRT]
Amine Khaldi [Thu, 7 Mar 2013 16:45:18 +0000 (16:45 +0000)]
[CRT]
* Annotate string.h.

svn path=/trunk/; revision=58439

6 years ago[CMAKE]
Amine Khaldi [Thu, 7 Mar 2013 16:22:49 +0000 (16:22 +0000)]
[CMAKE]
* Add "/nologo" to the MSVC resource compilation rule. Brought to you by Yu Pan (binsys {at} 163 dot com).
CORE-6997 #resolve #comment Committed in r58438.

svn path=/trunk/; revision=58438

6 years ago[WIN32K]
Timo Kreuzer [Tue, 5 Mar 2013 20:03:30 +0000 (20:03 +0000)]
[WIN32K]
Use _SEH2_YIELD to return from except block. Thanks Hermes.

svn path=/trunk/; revision=58437

6 years ago[win32k]
Giannis Adamopoulos [Tue, 5 Mar 2013 13:39:04 +0000 (13:39 +0000)]
[win32k]
- Initialize NewPos before using it in co_WinPosShowWindow

svn path=/trunk/; revision=58436

6 years ago[CRT]
Amine Khaldi [Tue, 5 Mar 2013 11:27:06 +0000 (11:27 +0000)]
[CRT]
* Annotate ctype.h.

svn path=/trunk/; revision=58435

6 years ago[WIN32K]
Timo Kreuzer [Tue, 5 Mar 2013 08:47:51 +0000 (08:47 +0000)]
[WIN32K]
- Fix a bug in EngLoadModuleEx
- Fix a bug in co_IntLoadSysMenuTemplate
- Fix / improve a number of annotations
- Improve code in NtGdiExtGetObjectW
- Check return value of ZwAllocateVirtualMemory and handle error in GdiPoolAllocate
- Fix possible memory leaks in NtGdiPolyDraw
- Check for NtGdiExtCreatePen == NULL instead of passing it to ProbeForRead in NtGdiExtCreatePen
- Simplify code in NtGdiGetTextMetricsW
- Fix a number of format specifiers

svn path=/trunk/; revision=58434

6 years ago[RTL]
Timo Kreuzer [Tue, 5 Mar 2013 08:38:18 +0000 (08:38 +0000)]
[RTL]
Formatting, no code change.

svn path=/trunk/; revision=58433

6 years ago[CMAKE]
Timo Kreuzer [Tue, 5 Mar 2013 08:25:22 +0000 (08:25 +0000)]
[CMAKE]
Add -mstackrealign option for GCC 4.7+. Seems to fix some problems.

svn path=/trunk/; revision=58432

6 years ago[CDMAKE]
Timo Kreuzer [Tue, 5 Mar 2013 08:07:21 +0000 (08:07 +0000)]
[CDMAKE]
Fix a warning with new RosBE

svn path=/trunk/; revision=58431

6 years ago[CRT]
Amine Khaldi [Mon, 4 Mar 2013 21:59:28 +0000 (21:59 +0000)]
[CRT]
* Annotate stdio.h.

svn path=/trunk/; revision=58430

6 years ago[SAL]
Amine Khaldi [Mon, 4 Mar 2013 21:58:35 +0000 (21:58 +0000)]
[SAL]
* Add _Field_size_part_ annotation.

svn path=/trunk/; revision=58429