reactos.git
11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

svn path=/trunk/; revision=58473

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 years ago[NDK]
Amine Khaldi [Mon, 4 Mar 2013 21:49:07 +0000 (21:49 +0000)]
[NDK]
* Correct the annotation of ObOpenObjectByName's 4th param.

svn path=/trunk/; revision=58428

11 years ago[LSASRV]
Eric Kohl [Mon, 4 Mar 2013 21:32:44 +0000 (21:32 +0000)]
[LSASRV]
- Get all procedure addresses of the loaded authentication packages and keep them in the authentication package entry.
- Implement parts of the lda dispatch table (allocate heap and free heap) and pass the table to LsaApInitializePackage call.
- Implement authentication package lookup by name.

[MSV1_0]
- Store the dispatch table entries passed to the LsaApInitializePackage call and use them to allocate a STRING to return the package name.

svn path=/trunk/; revision=58427

11 years ago[CRT]
Amine Khaldi [Mon, 4 Mar 2013 21:24:47 +0000 (21:24 +0000)]
[CRT]
* Annotate assert.h.

svn path=/trunk/; revision=58426

11 years ago[SAL]
Amine Khaldi [Mon, 4 Mar 2013 16:32:18 +0000 (16:32 +0000)]
[SAL]
* Add _Deref_post_opt_valid_, _Deref_pre_opt_valid_, _Deref_pre_z_, _Deref_prepost_opt_valid_, _Deref_prepost_z_, _Out_writes_all_ and _Out_writes_all_opt_ annotations.

svn path=/trunk/; revision=58425

11 years ago[TRANSLATION]
Sylvain Petreolle [Sun, 3 Mar 2013 23:24:55 +0000 (23:24 +0000)]
[TRANSLATION]
Erdem Ersoy :
- Fix Turkish translation of solitaire and winmine.
- Fix typos of Turkish spider resource file and Ukrainian winmine resource file.
CORE-6991 #resolve #comment Committed in r58424, thanks.

svn path=/trunk/; revision=58424

11 years ago[CRT]
Amine Khaldi [Sun, 3 Mar 2013 22:28:47 +0000 (22:28 +0000)]
[CRT]
* Annotate stdlib.h.

svn path=/trunk/; revision=58423

11 years ago[SAL]
Amine Khaldi [Sun, 3 Mar 2013 21:33:22 +0000 (21:33 +0000)]
[SAL]
* Add _Inout_opt_z_, _Inout_z_, _Out_writes_bytes_all_opt_, _Post_maybez_, _Prepost_opt_z_ and _Prepost_z_ annotations.

svn path=/trunk/; revision=58422

11 years ago[LSASRV]
Eric Kohl [Sun, 3 Mar 2013 19:43:33 +0000 (19:43 +0000)]
[LSASRV]
- Add authentication package loader code.
- Load registered authentication packages before the rpc server is started.

svn path=/trunk/; revision=58421

11 years ago[MSV1_0]
Eric Kohl [Sun, 3 Mar 2013 19:11:22 +0000 (19:11 +0000)]
[MSV1_0]
Add authentication package stub and add it to the registry.

svn path=/trunk/; revision=58420

11 years ago[CONSOLE.DLL]
Hermès Bélusca-Maïto [Sun, 3 Mar 2013 17:39:44 +0000 (17:39 +0000)]
[CONSOLE.DLL]
Use a new unique sample text for fonts and colors overview.

[CONSRV]
Remove few DPRINTs.

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

11 years ago[WIN32K]
Timo Kreuzer [Sun, 3 Mar 2013 17:20:44 +0000 (17:20 +0000)]
[WIN32K]
Properly handle glyph positions and take target coordinate transformation into account when caching glyphs. (This is suboptimal, since we might cache duplicates of the same glyphs, but it works). Fixes CORE-4657.

svn path=/trunk/; revision=58418

11 years ago[README]
Hermès Bélusca-Maïto [Sun, 3 Mar 2013 17:16:29 +0000 (17:16 +0000)]
[README]
- Precise which target we are primarily aiming at, update the readme a little bit.
- Add it to the installed files.

svn path=/trunk/; revision=58417

11 years ago[CONSOLE.DLL]
Hermès Bélusca-Maïto [Sun, 3 Mar 2013 15:47:52 +0000 (15:47 +0000)]
[CONSOLE.DLL]
Code formatting only (tab --> space indentation)

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

11 years ago[CONSOLE.DLL-KERNEL32-CONSRV]
Hermès Bélusca-Maïto [Sun, 3 Mar 2013 15:35:12 +0000 (15:35 +0000)]
[CONSOLE.DLL-KERNEL32-CONSRV]
Fix the console properties dialog, when launching and transmitting console properties. Before, the properties dialog was directly launched by the console server (consrv), running with CSRSS (System) privileges, what constituted a security hole. Now, I create a remote thread in the running process owning the console for launching the properties dialog (thus it has only user privileges, and not System ones anymore). For that purpose, I basically took the technique described in the following paper (Cesar Cerrudo, "Story of a dumb patch", http://www.argeniss.com/research/MSBugPaper.pdf or http://www.scn.rain.com/~neighorn/PDF/MSBugPaper.pdf), where basically the console server shares the console properties via a shared memory section with the console properties dialog dll. The address of the thread which launches the dialog in the context of the console app is given to the console server the same way as we do for the control handler (called e.g. when you press Ctrl-C, etc...)
Of course this is quite hackish, because you have the GUI interface split between the console server and the console properties dialog dll. Something far more elegant would be to put all the GUI thingie into a dedicated dll or exe, running with the same privileges as the console program itself (a kind of console -- or terminal -- emulator).

[CONSOLE.DLL]
Fix retriving / setting colors.c and other things.

[CONSRV.DLL]
- Fix retrieving / setting console properties from the registry (via the HKCU\Console\* keys), via the shell shortcuts (not totally done at the moment, because somebody has to implement properly that thing : http://msdn.microsoft.com/en-us/library/windows/desktop/bb773359(v=vs.85).aspx (NT_CONSOLE_PROPS structure stored as a shortcut data block) (at application launching time), and via the console properties dialog.
- Few DPRINTs removed.

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

11 years ago[WIN32K]
Timo Kreuzer [Sun, 3 Mar 2013 14:43:53 +0000 (14:43 +0000)]
[WIN32K]
Add support for arbitrary scaling matrices when rendering glyphs.
Partly fixes CORE-4657
Todo: handle glyph coordinates

svn path=/trunk/; revision=58414

11 years ago[ADVAPI32]
Eric Kohl [Sun, 3 Mar 2013 13:07:33 +0000 (13:07 +0000)]
[ADVAPI32]
Remove LsaRegisterPolicyChangeNotification and LsaUnregisterPolicyChangeNotification because they are not exported by advapi32.dll. These functions are exported by secur32.dll instead.

svn path=/trunk/; revision=58413

11 years ago[TRANSLATION]
Dmitry Gorbachev [Sun, 3 Mar 2013 03:30:57 +0000 (03:30 +0000)]
[TRANSLATION]
Update/add Turkish translations. Arda Tanrıkulu (ardatanrikulu~AT~gmail~DOT~com).

svn path=/trunk/; revision=58412

11 years ago[csrsrv]
Giannis Adamopoulos [Sat, 2 Mar 2013 22:22:56 +0000 (22:22 +0000)]
[csrsrv]
- Remove CsrSetLogonNotifyWindow
- Use a reactos only TWOPARAM_ROUTINE_EXITREACTOS call in order to start the shut down process in winlogon
- Use a NOPARAM_ROUTINE_ISCONSOLEMODE call in DtbgIsDesktopVisible to fix detecting console mode in gui-on-demand mode

svn path=/trunk/; revision=58411

11 years ago[REGEDIT]
Sylvain Petreolle [Sat, 2 Mar 2013 21:44:01 +0000 (21:44 +0000)]
[REGEDIT]
- Katayama Hirofumi: Fix Japanese resource.
CORE-6988 #resolve #comment Commited in r58410,thanks.

svn path=/trunk/; revision=58410

11 years ago[TRANSLATION]
Dmitry Gorbachev [Sat, 2 Mar 2013 20:56:12 +0000 (20:56 +0000)]
[TRANSLATION]
Turkish translation for Solitaire and Spider by Erdem Ersoy
(erdemersoy~AT~live~DOT~com). CORE-6989.

svn path=/trunk/; revision=58409

11 years ago[PAINT]
Hermès Bélusca-Maïto [Sat, 2 Mar 2013 20:44:09 +0000 (20:44 +0000)]
[PAINT]
- Fix the "grey panel" bug when doing File --> New.
- Add the possibility, when doing File --> New, to save the drawing the user did before actually reset it, and take into account whether he/she cancels the operation in the middle.
Patch by Marco Vaiano, slightly modified by me.

CORE-5642 #resolve #comment Committed in revision r58408. Thanks :)

svn path=/trunk/; revision=58408