reactos.git
10 years agoJust fix a typo.
Hermès Bélusca-Maïto [Wed, 28 Aug 2013 20:12:35 +0000 (20:12 +0000)]
Just fix a typo.

svn path=/trunk/; revision=59858

10 years ago[RTL]: Correctly read PEB or Kernel Variables for Heap Tuning.
Alex Ionescu [Wed, 28 Aug 2013 18:57:29 +0000 (18:57 +0000)]
[RTL]: Correctly read PEB or Kernel Variables for Heap Tuning.
[NTOSKRNL]: MmCreatePeb should correctly fill out the Heap PEB parameters.
[NTOSKRNL]: MmInitSystem and mminit.c should correctly initialize and hold the Heap Tuning Parameters.
[NTOSKRNL]: CmControlVector should read the registry Heap Tuning Parameters into the real Mm variables, instaed of "Dummy".
This removes heap hacks and makes Windows NTDLL happy.

svn path=/trunk/; revision=59857

10 years ago[KERNEL32]
Hermès Bélusca-Maïto [Wed, 28 Aug 2013 13:23:09 +0000 (13:23 +0000)]
[KERNEL32]
- Add brackets around "case XXX:" so that I'm able to (un)fold regions of code when debugging and reading.
- Temporarily skip AppCompat functionality added by Alex, in order to "fix" (read: hack-fix) launch of .bat/.cmd files. Indeed, when .bat/.cmd files get started with the CreateProcess function, a call to NtCreateSection fails with status STATUS_INVALID_IMAGE_NOT_MZ, as expected (line 2952). But the new AppCompat code (lines 3028 and 3031-3033 and following, and 3114), executed whenever the status code from NtCreateSection is STATUS_SUCCESS or STATUS_INVALID_IMAGE_NOT_MZ or something else, overwrites the status code by other values, so that, after we return to the main code path (lines 3174 and following), the status code isn't STATUS_INVALID_IMAGE_NOT_MZ anymore but STATUS_SUCCESS or whatever, and then, we fail to run the .bat/.cmd file (that should be done at lines 3314-3316 and following).
To Alex_Ionescu: Have a look at this and fix it properly!!

svn path=/trunk/; revision=59855

10 years ago[CMAKE]
Amine Khaldi [Wed, 28 Aug 2013 12:32:09 +0000 (12:32 +0000)]
[CMAKE]
* Add the proper subsystem version when using a recent MSVC toolchain.

svn path=/trunk/; revision=59854

10 years ago[CRT]
Amine Khaldi [Wed, 28 Aug 2013 11:52:25 +0000 (11:52 +0000)]
[CRT]
* Annotate timeb_s.h.

svn path=/trunk/; revision=59853

10 years ago[PSDK]
Amine Khaldi [Wed, 28 Aug 2013 11:25:44 +0000 (11:25 +0000)]
[PSDK]
* Annotate imm.h.

svn path=/trunk/; revision=59852

10 years ago[SVCHOST]
Amine Khaldi [Wed, 28 Aug 2013 11:08:28 +0000 (11:08 +0000)]
[SVCHOST]
* Fix a typo.

svn path=/trunk/; revision=59851

10 years ago[SVCHOST]
Hermès Bélusca-Maïto [Wed, 28 Aug 2013 10:19:54 +0000 (10:19 +0000)]
[SVCHOST]
Fix debug prints.

svn path=/trunk/; revision=59850

10 years ago[KERNEL32]
Hermès Bélusca-Maïto [Wed, 28 Aug 2013 10:08:41 +0000 (10:08 +0000)]
[KERNEL32]
Cut a very loong DPRINT1 into pieces, to workaround the length limitation of debug strings I get.

svn path=/trunk/; revision=59849

10 years ago[SVCHOST]: Use ReactOS Linux-build compatible cases in the header files, which are...
Alex Ionescu [Wed, 28 Aug 2013 08:34:41 +0000 (08:34 +0000)]
[SVCHOST]: Use ReactOS Linux-build compatible cases in the header files, which are incompatible with Windows, and don't even matter on Windows, but hey, <3 Reactos + Linux.

svn path=/trunk/; revision=59848

10 years ago[SVCHOST]: Implement a Windows-compatible (5.2 SP1) SvcHost.exe process, which can...
Alex Ionescu [Wed, 28 Aug 2013 08:32:27 +0000 (08:32 +0000)]
[SVCHOST]: Implement a Windows-compatible (5.2 SP1) SvcHost.exe process, which can load Windows services according to the information at geoffchappell.com/studies/windows/win32/services/svchost/index.htm, using the same callbacks and registry settings, including support for RPC over NPIPE, NetBIOS and COM, with correct handling of Security, Threading, Locking and Stop Callbacks. Tested with the current BITS and DHCP services, which still work (although they don't take advantage of the new functionality).

svn path=/trunk/; revision=59847

10 years agoIt wants an EOF?
Alex Ionescu [Wed, 28 Aug 2013 07:42:09 +0000 (07:42 +0000)]
It wants an EOF?

svn path=/trunk/; revision=59846

10 years ago[UUID]: Add IID_IGlobalOptions and CLSID_GlobalOptions.
Alex Ionescu [Wed, 28 Aug 2013 07:39:58 +0000 (07:39 +0000)]
[UUID]: Add IID_IGlobalOptions and CLSID_GlobalOptions.

svn path=/trunk/; revision=59845

10 years ago[IDL]: Sync Objidl with http://www.winehq.org/pipermail/wine-patches/2012-November...
Alex Ionescu [Wed, 28 Aug 2013 07:15:12 +0000 (07:15 +0000)]
[IDL]: Sync Objidl with winehq.org/pipermail/wine-patches/2012-November/120299.html, which adds IGlobalOptions.

svn path=/trunk/; revision=59844

10 years ago[ADVAPI32/SERVICES]: Windows services (as per MSDN and testing) must always get at...
Alex Ionescu [Wed, 28 Aug 2013 05:04:36 +0000 (05:04 +0000)]
[ADVAPI32/SERVICES]: Windows services (as per MSDN and testing) must always get at least one parameter -- the service name, in the argument vector. However, in ReactOS, unless optional custom parameters were sent (when starting a service), services got 0 parameters and a NULL argument vector. Since services on Windows know this is impossible, many dereference the vector without checking for NULL (including Windows Svchost.exe). Either way, it's bogus for us not ever sending the name as the first parameter. So I fixed ScBuildUnicodeArgsVector to always either pre-pend the service name (if the caller gave us some parameters already), or do use the name as the sole parameter (if the caller sent none). This now works as on Windows, and should greately help with 3rd party service compatibility.
***NOTE THAT I ONLY DID THIS FOR UNICODE. I DID NOT BOTHER TO FIX THE ANSI VERSION. ERIC KOHL, PLEASE REVIEW & FIX AS APPROPRIATE***

svn path=/trunk/; revision=59843

10 years ago[ADVAPI32]
Eric Kohl [Tue, 27 Aug 2013 20:58:29 +0000 (20:58 +0000)]
[ADVAPI32]
GetSidSubAuthority and GetSidSubAuthorityCount: Set last error code to ERROR_SUCCESS before calling the Rtl function.

svn path=/trunk/; revision=59842

10 years ago[COM_APITEST]
Amine Khaldi [Tue, 27 Aug 2013 19:16:41 +0000 (19:16 +0000)]
[COM_APITEST]
* Fix build.

svn path=/trunk/; revision=59841

10 years ago[PSDK]: Add a bunch of missing RTL_ macros.
Alex Ionescu [Tue, 27 Aug 2013 18:28:47 +0000 (18:28 +0000)]
[PSDK]: Add a bunch of missing RTL_ macros.

svn path=/trunk/; revision=59840

10 years ago[KERNEL32]
Amine Khaldi [Mon, 26 Aug 2013 21:36:16 +0000 (21:36 +0000)]
[KERNEL32]
* Check more parameters in MultiByteToWideChar() and WideCharToMultibyte(). By Marcus Boillat.
* Fixes 4 kernel32:codepage tests.
CORE-7411 #resolve #comment Committed in r59839 with formatting fixes. Thanks.

svn path=/trunk/; revision=59839

10 years ago[SACDRV]: Implement DoCrashCommand.
Alex Ionescu [Mon, 26 Aug 2013 19:45:16 +0000 (19:45 +0000)]
[SACDRV]: Implement DoCrashCommand.
[SACDRV]: Cleanups and fixes. You can now use "Shutdown", "crashdump" and "restart" in the !SAC and the commands work as expected.
[SACDRV]: Implement GetTListInfo and DoTlistCommand. PrintTListInfo is next to actually show the output.

svn path=/trunk/; revision=59838

10 years ago[BOOTDATA]
Hermès Bélusca-Maïto [Mon, 26 Aug 2013 18:35:29 +0000 (18:35 +0000)]
[BOOTDATA]
[CMD]
The default command prompt is $p$g. But still keep the information line by setting a system environment variable "PROMPT" set to $i$p$g. Therefore, if you are tired of it, either remove the environement variable or redefine it to whatever you want. In a current command-line session, to restore the default command prompt, enter "prompt" without any other parameter.

svn path=/trunk/; revision=59837

10 years ago[PSDK]
Amine Khaldi [Mon, 26 Aug 2013 14:14:47 +0000 (14:14 +0000)]
[PSDK]
* Annotate winsplp.h.

svn path=/trunk/; revision=59836

10 years ago[MMC]
Amine Khaldi [Mon, 26 Aug 2013 14:10:59 +0000 (14:10 +0000)]
[MMC]
* Fix MSVC build.

svn path=/trunk/; revision=59835

10 years ago[HELP]
Hermès Bélusca-Maïto [Mon, 26 Aug 2013 13:19:31 +0000 (13:19 +0000)]
[HELP]
Fix a typo.

svn path=/trunk/; revision=59834

10 years ago[CMD]
Hermès Bélusca-Maïto [Mon, 26 Aug 2013 13:12:46 +0000 (13:12 +0000)]
[CMD]
Remove the help resources moved to the help utility.
@ gigaherz (a.k.a. David Quintana): Don't worry! Your changes to fr-FR.rc were already moved to help.exe in the previous commit :D

svn path=/trunk/; revision=59833

10 years ago[CMD-HELP]
Hermès Bélusca-Maïto [Mon, 26 Aug 2013 12:45:34 +0000 (12:45 +0000)]
[CMD-HELP]
Add a help.exe utility to replace the old built-in command "help" in cmd.exe (i.e. do it the Win2k3 way).
This way, if somebody runs a personalized command-line environment which provides its own help command, one can use the personalized help command and not the standard one (e.g. the "help" command of RosBE).

Adapted by myself from a patch by Lee Schroeder.
CORE-5701 #resolve #comment Committed in revision 59832, thanks :) I use a trick to be able to compile the utility (use: ninja cmd_help) because doing "ninja help" has a signification in ninja (signaled by AmineKhaldi).

svn path=/trunk/; revision=59832

10 years ago[SACDRV]: SAC expects its memory allocations to be zeroed out.
Alex Ionescu [Mon, 26 Aug 2013 10:40:31 +0000 (10:40 +0000)]
[SACDRV]: SAC expects its memory allocations to be zeroed out.
[SACMSG]: Re-commit the .mc file with CRLF endings, this is essential for correct output.
[SACDRV]: Fix bug in VTUTF8ChannelAnsiDispatch (freeing stack memory with pool API).
[SACDRV]: Fix the way in which the cell buffer was being computed. This way works (tm) and is also much easier to read.
[SACDRV]: Fix bug in VTUTF8ChannelIRead (incorrect char vs byte sizing).
VT-UTF8 output and input works now in the !SAC channel. There's still some lurking bugs, however, such as when hitting the 24th row (probably an off-by-one memcpy).

svn path=/trunk/; revision=59831

10 years ago[SACDRV]: Implement VTUTF8ChannelProcessAttributes and VTUTF8ChannelOFlush, since...
Alex Ionescu [Mon, 26 Aug 2013 08:12:52 +0000 (08:12 +0000)]
[SACDRV]: Implement VTUTF8ChannelProcessAttributes and VTUTF8ChannelOFlush, since these are also needed for output. Time to test for real now.

svn path=/trunk/; revision=59830

10 years ago[SACDRV]: Switch !SAC back to VT-UTF8 and remove the previous hacks.
Alex Ionescu [Mon, 26 Aug 2013 07:16:10 +0000 (07:16 +0000)]
[SACDRV]: Switch !SAC back to VT-UTF8 and remove the previous hacks.
[SACDRV]: We need VTUTF8ChannelOEcho. Implement VTUTF8ChannelAnsiDispatch in anticipation.

svn path=/trunk/; revision=59829

10 years ago[SACDRV]: Implement VTUTF8ChannelOWrite2. Time to try out the !SAC on VT-UTF8 mode...
Alex Ionescu [Mon, 26 Aug 2013 06:25:41 +0000 (06:25 +0000)]
[SACDRV]: Implement VTUTF8ChannelOWrite2. Time to try out the !SAC on VT-UTF8 mode now.

svn path=/trunk/; revision=59828

10 years ago[SACDRV]: Last WIP pass at VTUTF8ChannelConsumeEscapeSequence. Document the last...
Alex Ionescu [Sun, 25 Aug 2013 23:44:13 +0000 (23:44 +0000)]
[SACDRV]: Last WIP pass at VTUTF8ChannelConsumeEscapeSequence. Document the last few commands, and comment the entire parser so that it makes sense (within MS's definition of making sense). The erase/clear commands need cleanup/implementation, will take a pass at those later.

svn path=/trunk/; revision=59827

10 years ago[SACDRV]: A few more ANSI commands. Also now that I grok ANSI, CursorX and CursorY...
Alex Ionescu [Sun, 25 Aug 2013 23:13:00 +0000 (23:13 +0000)]
[SACDRV]: A few more ANSI commands. Also now that I grok ANSI, CursorX and CursorY were actually back/fore colors. Also define cursor flags/attributes that SAC supports (bold, inverted, blinking).
WANTED: The fact that the SAC developers cherry-picked *which* ANSI standard and VT standard they were going to follow, threw in ANSI.SYS compatibility, and then added a bunch of bugs, makes me wonder if real people use SAC on Windows...

svn path=/trunk/; revision=59826

10 years ago[SACDRV]: Start adding definitions/macros/etc based on my reading of ANSI standards...
Alex Ionescu [Sun, 25 Aug 2013 22:49:32 +0000 (22:49 +0000)]
[SACDRV]: Start adding definitions/macros/etc based on my reading of ANSI standards (which MS-DOS ANSI.sys of course doesn't respect...). Still WIP. Sources (URLs) listed as appropriate.

svn path=/trunk/; revision=59825

10 years ago[SACDRV]: Implement VTUTF8ChannelScanForNumber.
Alex Ionescu [Sun, 25 Aug 2013 21:56:20 +0000 (21:56 +0000)]
[SACDRV]: Implement VTUTF8ChannelScanForNumber.
[SACDRV]: Implement VTUTF8ChannelOEcho.
[SACDRV]: WIP-lement VTUTF8ChannelConsumeEscapeSequence. Have to do some reading up on ANSI to get this right.

svn path=/trunk/; revision=59824

10 years ago[MMC]
Eric Kohl [Sun, 25 Aug 2013 21:43:46 +0000 (21:43 +0000)]
[MMC]
- Fix all bugs that keep MMC from starting and terminating properly.
- Implement an MDI client window.
- Add menuitem "File/New" in order to create a new console window (MDI child).
- Add a "large" menu that is used when console windows are visible.

svn path=/trunk/; revision=59823

10 years ago[NEWDEV]
Sylvain Petreolle [Sun, 25 Aug 2013 16:36:04 +0000 (16:36 +0000)]
[NEWDEV]
Fix controls positions in French.
Spotted by gigaherz.

svn path=/trunk/; revision=59822

10 years ago[CRT]
Amine Khaldi [Sun, 25 Aug 2013 15:53:31 +0000 (15:53 +0000)]
[CRT]
* Annotate search_s.h.

svn path=/trunk/; revision=59821

10 years ago[PSDK]
Amine Khaldi [Sun, 25 Aug 2013 15:11:58 +0000 (15:11 +0000)]
[PSDK]
* Add a missing inclusion in wincrypt.h.

svn path=/trunk/; revision=59820

10 years ago[TRANSLATIONS]
Amine Khaldi [Sun, 25 Aug 2013 13:10:32 +0000 (13:10 +0000)]
[TRANSLATIONS]
* Turkish translation update and improvements by Erdem Ersoy.
CORE-7395

svn path=/trunk/; revision=59818

10 years ago[CRT]
Amine Khaldi [Sun, 25 Aug 2013 12:53:12 +0000 (12:53 +0000)]
[CRT]
* Annotate search.h.

svn path=/trunk/; revision=59817

10 years ago[CMD]
Sylvain Petreolle [Sat, 24 Aug 2013 22:07:27 +0000 (22:07 +0000)]
[CMD]
Fix MSVC warning and Visual Studio 2013 build.
Path by David Quintana (gigaherz)

svn path=/trunk/; revision=59815

10 years ago[USRMGR]
Eric Kohl [Sat, 24 Aug 2013 20:50:21 +0000 (20:50 +0000)]
[USRMGR]
Implement the set password function.

svn path=/trunk/; revision=59813

10 years ago[SAMLIB]
Eric Kohl [Sat, 24 Aug 2013 20:22:05 +0000 (20:22 +0000)]
[SAMLIB]
NetUserSetInfo: Use the proper access rights to open the domain object.

svn path=/trunk/; revision=59812

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Sat, 24 Aug 2013 17:44:19 +0000 (17:44 +0000)]
[CONSRV]
Fix "Select All" functionality.

svn path=/trunk/; revision=59811

10 years ago[CRT]
Amine Khaldi [Sat, 24 Aug 2013 11:13:44 +0000 (11:13 +0000)]
[CRT]
* Apply a consistent annotation to wcstombs_s(), _splitpath_s() and _wsplitpath_s().

svn path=/trunk/; revision=59809

10 years ago[CRT]
Amine Khaldi [Sat, 24 Aug 2013 11:05:35 +0000 (11:05 +0000)]
[CRT]
* Apply a consistent annotation to wcsncpy_s().

svn path=/trunk/; revision=59808

10 years ago[CMD]
Hermès Bélusca-Maïto [Sat, 24 Aug 2013 10:20:47 +0000 (10:20 +0000)]
[CMD]
Fix some French conjugation.

svn path=/trunk/; revision=59807

10 years ago[BOOTDATA]
Hermès Bélusca-Maïto [Sat, 24 Aug 2013 09:21:08 +0000 (09:21 +0000)]
[BOOTDATA]
Add system.ini into C:\ReactOS.
Patch by Lee Schroeder.
CORE-7402 #resolve #comment Committed in revision 59806, thanks :)

svn path=/trunk/; revision=59806

10 years ago[PSDK]
Amine Khaldi [Sat, 24 Aug 2013 00:37:30 +0000 (00:37 +0000)]
[PSDK]
* Add some missing definitions to winspool.h.

svn path=/trunk/; revision=59805

10 years ago[WINSPOOL.DRV]
Amine Khaldi [Fri, 23 Aug 2013 22:58:29 +0000 (22:58 +0000)]
[WINSPOOL.DRV]
* Correct the FindNextPrinterChangeNotification() stub.
[PSDK]
* Annotate winspool.h.

svn path=/trunk/; revision=59804

10 years ago[NTOSKRNL]
Hermès Bélusca-Maïto [Fri, 23 Aug 2013 21:18:46 +0000 (21:18 +0000)]
[NTOSKRNL]
We aim at being compatible with Windows Server 2003... Do it better! Use the \GLOBAL?? dos-devices object directory instead of \??, as used in Windows NT and 2000 (which becomes per-session in Windows >= XP), but add a temporary hack (i.e. create a symbolic link \?? <---> \GLOBAL??) since we don't support yet Ob device mappings which are needed for this mapping, in particular.
As a side-effect, fix starting of DeviceTree v2.30 on ReactOS. Now it works correctly, as on Win2k3 :)

CORE-6572 #resolve #comment Finally fix loading of the objinfo driver, which failed at creating a symbolic link in \GLOBAL??\ for its device.

svn path=/trunk/; revision=59803

10 years ago[NTOSKRNL]
Hermès Bélusca-Maïto [Fri, 23 Aug 2013 21:03:37 +0000 (21:03 +0000)]
[NTOSKRNL]
Don't hardcode L"\\Driver\\" but use the #define DRIVER_ROOT_NAME instead (2/2)

svn path=/trunk/; revision=59802

10 years ago[PSDK]
Amine Khaldi [Fri, 23 Aug 2013 20:52:09 +0000 (20:52 +0000)]
[PSDK]
* Apply some formatting consistency in winspool.h.

svn path=/trunk/; revision=59801

10 years ago[NTOSKRNL]
Hermès Bélusca-Maïto [Fri, 23 Aug 2013 20:03:38 +0000 (20:03 +0000)]
[NTOSKRNL]
Code formatting, and don't hardcode L"\\Driver\\" but use the #define DRIVER_ROOT_NAME instead.

svn path=/trunk/; revision=59800

10 years ago[PSDK]
Amine Khaldi [Fri, 23 Aug 2013 18:29:18 +0000 (18:29 +0000)]
[PSDK]
* Annotate hidpi.h.

svn path=/trunk/; revision=59799

10 years ago[PSDK]
Amine Khaldi [Fri, 23 Aug 2013 15:26:52 +0000 (15:26 +0000)]
[PSDK]
* Annotate mstcpip.h.

svn path=/trunk/; revision=59798

10 years ago[WORDPAD][WRITE]
Amine Khaldi [Fri, 23 Aug 2013 15:21:10 +0000 (15:21 +0000)]
[WORDPAD][WRITE]
* Improve resource files layout to make it consistent with the rest of our codebase. By Robert Naumann.
CORE-7397 #resolve #comment Committed in r59797. Thanks.

svn path=/trunk/; revision=59797

10 years ago[PSDK]
Amine Khaldi [Fri, 23 Aug 2013 15:04:39 +0000 (15:04 +0000)]
[PSDK]
* Replace WINBOOL by BOOL. The former is a mingw-w64 invention.

svn path=/trunk/; revision=59796

10 years ago[NTOSKRNL]
Hermès Bélusca-Maïto [Thu, 22 Aug 2013 19:17:17 +0000 (19:17 +0000)]
[NTOSKRNL]
Fix some code indentation and a DPRINT.

svn path=/trunk/; revision=59794

10 years ago[KERNEL32]
Hermès Bélusca-Maïto [Thu, 22 Aug 2013 18:25:02 +0000 (18:25 +0000)]
[KERNEL32]
Fix usage of the 2nd parameter of NtFlushVirtualMemory, in the FlushViewOfFile file. This fixes the creation of "self-extracted" files from executables (e.g. DeviceTree utility from OSR or some Sysinternals tools).
CORE-6572 #comment Partly fixed in revision r59793. Now the objinfo.sys file is created without corruption, but there are problems loading the driver itself...
This fixes a bug introduced in revision 775 about 14 years ago!
Many thanks to Oláf for having debugged DeviceTree and oriented me to the real problem :D

svn path=/trunk/; revision=59793

10 years ago[KERNEL32]
Hermès Bélusca-Maïto [Thu, 22 Aug 2013 16:10:34 +0000 (16:10 +0000)]
[KERNEL32]
- Move VDM-related definitions into a dedicated header.
- Clean some code.

svn path=/trunk/; revision=59792

10 years ago[KERNEL32]
Hermès Bélusca-Maïto [Thu, 22 Aug 2013 12:47:14 +0000 (12:47 +0000)]
[KERNEL32]
*Just* clarify some parts of the code and argument names of functions, and do not hardcode constant values; use #defines instead.

svn path=/trunk/; revision=59791

10 years ago[NTOSKRNL]
Hermès Bélusca-Maïto [Wed, 21 Aug 2013 16:54:19 +0000 (16:54 +0000)]
[NTOSKRNL]
- Move NtQueryTimerResolution and NtSetTimerResolution from ke/clock.c to their proper place in ex/time.c
- Simplify NtQueryTimerResolution and implement NtSetTimerResolution based on the patch of Aleksandar Andrejevic.
CORE-7387 #resolve #comment NtSetTimerResolution function committed in revision 59790, thanks :D

svn path=/trunk/; revision=59790

10 years ago[ROSTESTS]
Hermès Bélusca-Maïto [Wed, 21 Aug 2013 11:14:22 +0000 (11:14 +0000)]
[ROSTESTS]
Add a newline.

svn path=/trunk/; revision=59789

10 years ago[ROSTESTS]
Hermès Bélusca-Maïto [Tue, 20 Aug 2013 18:55:42 +0000 (18:55 +0000)]
[ROSTESTS]
Fix timer tests, by Aleksander Andrejevic.
See CORE-7387 for more details, and:
http://mirrors.arcadecontrols.com/www.sysinternals.com/Information/HighResolutionTimers.html too.

svn path=/trunk/; revision=59788

10 years ago[CTM]
Aleksey Bragin [Tue, 20 Aug 2013 11:51:05 +0000 (11:51 +0000)]
[CTM]
- Change my email address to a working one.
- Remove version info from the title.

svn path=/trunk/; revision=59787

10 years ago[ROSTESTS]
Hermès Bélusca-Maïto [Mon, 19 Aug 2013 21:44:26 +0000 (21:44 +0000)]
[ROSTESTS]
Add a test for NtQueryTimerResolution and NtSetTimerResolution, by Aleksander Andrejevic.
See CORE-7387 for more information.

svn path=/trunk/; revision=59786

10 years ago[NTOS]
Aleksey Bragin [Mon, 19 Aug 2013 19:40:25 +0000 (19:40 +0000)]
[NTOS]
- Aleksandar Andrejevic: Implement NtQueryTimerResolution().

CORE-7387

svn path=/trunk/; revision=59785

10 years agoRename CSR_CONNECTION_INFO and CONSOLE_CONNECTION_INFO to the same way as BASESRV_API...
Hermès Bélusca-Maïto [Mon, 19 Aug 2013 18:14:43 +0000 (18:14 +0000)]
Rename CSR_CONNECTION_INFO and CONSOLE_CONNECTION_INFO to the same way as BASESRV_API_CONNECTINFO

svn path=/trunk/; revision=59781

10 years ago[GLU32]
Aleksey Bragin [Mon, 19 Aug 2013 18:11:47 +0000 (18:11 +0000)]
[GLU32]
- Lee Schroeder: Add version information.

CORE-7392 #resolve #comment Thanks.

svn path=/trunk/; revision=59780

10 years ago[KERNEL32]
Hermès Bélusca-Maïto [Mon, 19 Aug 2013 17:50:27 +0000 (17:50 +0000)]
[KERNEL32]
Use some existing #define'd constants.

[CSRSRV-BASESRV]
- Add CSR version define (based from BASESRV version define).
- Add missing BASESRV structures, taken from https://code.google.com/p/ontl/source/browse/branches/devel/ntl/nt/csr.hxx (OpenNT Native Template Library).

svn path=/trunk/; revision=59779

10 years ago[SACDRV]: IReadLast returns WCHAR, not CHAR.
Alex Ionescu [Mon, 19 Aug 2013 03:32:39 +0000 (03:32 +0000)]
[SACDRV]: IReadLast returns WCHAR, not CHAR.
[SACDRV]: Implement VtUtf8 case in ChannelInitializeVTable.
[SACDRV]: Implement DoHelpCommand, reformat concmd.c to standards.
[SACDRV]: ConMgrInitialize shoudl setup the SAC channel as VtUtf8, not Raw. I guess it was set to Raw since VtUtf8 wasn't yet implemented, however this breaks the command parsing since it expects WCHAR's. Make a note of this, and temporarily hack ConMgrSerialPortConsumer to work with CHAR's from a Raw channel.
[SACDRV]: Implement ConMgrProcessInputLine, which calls out the appopriate helpers.
[SACDRV]: Fixes to parsing in ConMgrSerialPortConsumer
[SACDRV]: Document, reformat, and fix some of the bugs in the RawChannelI* commands.
[SACDRV]: Implement simple (ANSI) case of SacTranslateUtf8ToUnicode.
[SACDRV]: Implement SacFormatMessage and GetMessageLineCount.
[SACDRV]: Start implementing VT-UTF8 support. Input routines are done, output routines are still WIP.
[SACMSG]: Fix the messages in the .MC file. Stuff is now being output correctly. If using Putty, make sure to turn on "Implicit CR in every LF" in Settings->Terminal.

svn path=/trunk/; revision=59778

10 years ago[SAMSRV]
Eric Kohl [Sun, 18 Aug 2013 21:43:47 +0000 (21:43 +0000)]
[SAMSRV]
Implement the last part of SamrSetInformationUser.UserAllInformation: USER_ALL_PASSWORDEXPIRED.

svn path=/trunk/; revision=59777

10 years ago[NTOSKRNL]
Amine Khaldi [Sun, 18 Aug 2013 21:05:58 +0000 (21:05 +0000)]
[NTOSKRNL]
* Fix a comment typo.
CORE-7393 #resolve #comment Thanks.

svn path=/trunk/; revision=59776

10 years ago[RSYM]
Amine Khaldi [Sun, 18 Aug 2013 20:05:32 +0000 (20:05 +0000)]
[RSYM]
* Add a flag (-s) to pass the source folder. This allows it to set the debug file paths relatively to that source folder. Brought to you by Arty.
[CMAKE]
* Leverage the new rsym flag. The rossym file paths are no longer absolute.

svn path=/trunk/; revision=59775

10 years ago[BASESRV]
Hermès Bélusca-Maïto [Sun, 18 Aug 2013 19:46:22 +0000 (19:46 +0000)]
[BASESRV]
Add vdm.c for Virtual DOS Machines management.

svn path=/trunk/; revision=59774

10 years ago[KDCOM]: Also adhere to new standard.
Alex Ionescu [Sun, 18 Aug 2013 17:51:56 +0000 (17:51 +0000)]
[KDCOM]: Also adhere to new standard.

svn path=/trunk/; revision=59773

10 years ago[CPORTLIB/KDBG/FREELDR]: Fix CpGetByte and its callers -- it takes a 4th parameter...
Alex Ionescu [Sun, 18 Aug 2013 17:47:19 +0000 (17:47 +0000)]
[CPORTLIB/KDBG/FREELDR]: Fix CpGetByte and its callers -- it takes a 4th parameter for polling.
[NTOSKRNL]: Implement InbvPortPollOnly and InbvPortGetByte.
[NTOSKRNL]: Implement HeadlessCmdClearDisplay and HeadlessCmdGetByte.
[SACDRV]: Implement the TimerDpcRoutine which calls HeadlessCmdGetByte. We now consume characters in the EMS port.
[SACDRV]: Implement ConMgrSerialPortConsumer. We now do full VT-100 input parsing. DEL, BS, TAB, SPACE all work. Pressing ENTER results in an ASSERT in ConMgrProcessLine as expected.

svn path=/trunk/; revision=59772

10 years ago[PSDK]
Amine Khaldi [Sun, 18 Aug 2013 14:47:51 +0000 (14:47 +0000)]
[PSDK]
* Annotate msi.h.

svn path=/trunk/; revision=59771

10 years ago[SAMLIB]
Eric Kohl [Sun, 18 Aug 2013 13:26:33 +0000 (13:26 +0000)]
[SAMLIB]
SamSetInformationUser.UserAllInformation: Pass hashed passwords to SamrSetInformationUser.

[SAMSRV]
SampSetUserAll:
- Get fixed user data at the start of the function and set it only if it has been modified.
- Set user password hashes.

svn path=/trunk/; revision=59770

10 years ago[SAMSRV]
Eric Kohl [Sun, 18 Aug 2013 11:33:51 +0000 (11:33 +0000)]
[SAMSRV]
SampSetUserPassword: Fix check for vaild password hashes.

svn path=/trunk/; revision=59769

10 years ago[PSDK]
Amine Khaldi [Sat, 17 Aug 2013 23:51:10 +0000 (23:51 +0000)]
[PSDK]
* Apply some formatting consistency in ks.h.

svn path=/trunk/; revision=59768

10 years ago[PSDK]
Amine Khaldi [Sat, 17 Aug 2013 22:29:40 +0000 (22:29 +0000)]
[PSDK]
* Annotate ks.h.

svn path=/trunk/; revision=59767

10 years ago[SERVICES]
Hermès Bélusca-Maïto [Sat, 17 Aug 2013 20:07:39 +0000 (20:07 +0000)]
[SERVICES]
Clarify the fact that WaitForSingleObject returns WAIT_OBJECT_0 (which happens to be equal to ERROR_SUCCESS...)

svn path=/trunk/; revision=59765

10 years ago[PSDK]
Amine Khaldi [Sat, 17 Aug 2013 18:19:52 +0000 (18:19 +0000)]
[PSDK]
* Annotate oledlg.h.

svn path=/trunk/; revision=59763

10 years ago[PSDK]
Amine Khaldi [Sat, 17 Aug 2013 17:20:57 +0000 (17:20 +0000)]
[PSDK]
* Annotate wincon.h.

svn path=/trunk/; revision=59762

10 years ago[PSDK]
Amine Khaldi [Sat, 17 Aug 2013 15:39:59 +0000 (15:39 +0000)]
[PSDK]
* Annotate oleauto.h.

svn path=/trunk/; revision=59761

10 years ago[NETAPI32]
Eric Kohl [Sat, 17 Aug 2013 13:18:02 +0000 (13:18 +0000)]
[NETAPI32]
- NetUserAdd: Open the accounts domain with DOMAIN_READ_PASSWORD_PARAMETERS access. This is needed in order to check whether the password matches the password requirements of the domain.
- Start implementing NetUserGetGroups.

svn path=/trunk/; revision=59759

10 years ago[PSDK]
Amine Khaldi [Sat, 17 Aug 2013 11:20:05 +0000 (11:20 +0000)]
[PSDK]
* Annotate dbghelp.h.

svn path=/trunk/; revision=59758

10 years ago[PSDK]
Amine Khaldi [Fri, 16 Aug 2013 22:05:23 +0000 (22:05 +0000)]
[PSDK]
* Annotate objbase.h.

svn path=/trunk/; revision=59756

10 years ago[CRT]
Amine Khaldi [Fri, 16 Aug 2013 21:13:36 +0000 (21:13 +0000)]
[CRT]
* Annotate mbstring_s.h.
* Update _mbsnbcpy_s() annotation in mbstring.h.

svn path=/trunk/; revision=59755

10 years ago[CRT]
Amine Khaldi [Fri, 16 Aug 2013 14:51:13 +0000 (14:51 +0000)]
[CRT]
* Annotate string_s.h.

svn path=/trunk/; revision=59750

10 years ago[CRT]
Amine Khaldi [Fri, 16 Aug 2013 13:22:42 +0000 (13:22 +0000)]
[CRT]
* Annotate conio_s.h.

svn path=/trunk/; revision=59749

10 years ago[PSDK]
Amine Khaldi [Thu, 15 Aug 2013 21:43:06 +0000 (21:43 +0000)]
[PSDK]
* Annotate shellapi.h.

svn path=/trunk/; revision=59748

10 years ago[SAL]
Amine Khaldi [Thu, 15 Aug 2013 21:11:40 +0000 (21:11 +0000)]
[SAL]
* Add _Post_null_ annotation.

svn path=/trunk/; revision=59747

10 years ago[PSDK]
Amine Khaldi [Thu, 15 Aug 2013 14:32:37 +0000 (14:32 +0000)]
[PSDK]
* Annotate winsock.h.

svn path=/trunk/; revision=59745

10 years ago[SAL]
Amine Khaldi [Thu, 15 Aug 2013 13:57:16 +0000 (13:57 +0000)]
[SAL]
* Add _Inout_updates_to_() annotation.

svn path=/trunk/; revision=59744

10 years ago[PSDK]
Amine Khaldi [Thu, 15 Aug 2013 12:59:02 +0000 (12:59 +0000)]
[PSDK]
* Annotate ws2tcpip.h.

svn path=/trunk/; revision=59743

10 years ago[SAL]
Amine Khaldi [Thu, 15 Aug 2013 11:41:53 +0000 (11:41 +0000)]
[SAL]
* Add _Ret_opt_ and _Ret_opt_valid_ annotations.

svn path=/trunk/; revision=59742

10 years ago[PSDK]
Amine Khaldi [Wed, 14 Aug 2013 16:17:16 +0000 (16:17 +0000)]
[PSDK]
* Annotate ws2spi.h.

svn path=/trunk/; revision=59737