reactos.git
10 years ago[CONSRV]: Stubplement the remaining APIs needed for Windows kernel32.
Hermès Bélusca-Maïto [Fri, 30 Aug 2013 17:53:45 +0000 (17:53 +0000)]
[CONSRV]: Stubplement the remaining APIs needed for Windows kernel32.

svn path=/trunk/; revision=59907

10 years agoEnable the C_ASSERT that validates our CONSRV structure matches the expected size.
Alex Ionescu [Fri, 30 Aug 2013 17:32:10 +0000 (17:32 +0000)]
Enable the C_ASSERT that validates our CONSRV structure matches the expected size.

svn path=/trunk/; revision=59906

10 years ago[NTOSKRNL]: 903 was not supposed to have this change.
Alex Ionescu [Fri, 30 Aug 2013 17:28:45 +0000 (17:28 +0000)]
[NTOSKRNL]: 903 was not supposed to have this change.

svn path=/trunk/; revision=59905

10 years ago[CONSRV]: Reorganize/rename/add some fields to CONSRV_API_CONNECTINFO, partially...
Alex Ionescu [Fri, 30 Aug 2013 17:14:41 +0000 (17:14 +0000)]
[CONSRV]: Reorganize/rename/add some fields to CONSRV_API_CONNECTINFO, partially based on an MSDN page, and a little bit of RE, which makes it closer to the Windows structure. No behavioral change should have happened as a result of these changes.

svn path=/trunk/; revision=59904

10 years ago[RTL]: Make RtlUnhandledExceptionFilter show a stack trace, so at least we can see...
Alex Ionescu [Fri, 30 Aug 2013 15:37:10 +0000 (15:37 +0000)]
[RTL]: Make RtlUnhandledExceptionFilter show a stack trace, so at least we can see where the exception came from.

svn path=/trunk/; revision=59903

10 years ago[KERNEL32]
Amine Khaldi [Fri, 30 Aug 2013 14:16:47 +0000 (14:16 +0000)]
[KERNEL32]
* Fix yet another buggy DPRINT.

svn path=/trunk/; revision=59902

10 years ago[CONSRV]: Add some DPRINT1 information.
Hermès Bélusca-Maïto [Fri, 30 Aug 2013 11:36:22 +0000 (11:36 +0000)]
[CONSRV]: Add some DPRINT1 information.

svn path=/trunk/; revision=59901

10 years ago[USERSRV]: Stubplement all the APIs needed for Windows kernel32.
Hermès Bélusca-Maïto [Fri, 30 Aug 2013 11:33:25 +0000 (11:33 +0000)]
[USERSRV]: Stubplement all the APIs needed for Windows kernel32.

svn path=/trunk/; revision=59900

10 years ago[GDI32]
Amine Khaldi [Fri, 30 Aug 2013 10:51:12 +0000 (10:51 +0000)]
[GDI32]
* Fix some print specifiers.

svn path=/trunk/; revision=59899

10 years ago[USER32]
Amine Khaldi [Fri, 30 Aug 2013 10:25:16 +0000 (10:25 +0000)]
[USER32]
* Fix some print specifiers.

svn path=/trunk/; revision=59898

10 years ago[PSDK]
Amine Khaldi [Fri, 30 Aug 2013 10:17:22 +0000 (10:17 +0000)]
[PSDK]
* Annotate sspi.h.

svn path=/trunk/; revision=59897

10 years ago[CMAKE]
Amine Khaldi [Fri, 30 Aug 2013 10:09:56 +0000 (10:09 +0000)]
[CMAKE]
* Set the subsystem version as 5.01 for recent MSVC toolchains.

svn path=/trunk/; revision=59896

10 years ago[BASESRV]: Fix critical bug in BaseSrvNlsGetUserInfo.
Alex Ionescu [Fri, 30 Aug 2013 06:53:07 +0000 (06:53 +0000)]
[BASESRV]: Fix critical bug in BaseSrvNlsGetUserInfo.

svn path=/trunk/; revision=59895

10 years ago[NTDLL/RTL]: Stub and export all the routines that Kernel32 needs.
Alex Ionescu [Fri, 30 Aug 2013 06:34:16 +0000 (06:34 +0000)]
[NTDLL/RTL]: Stub and export all the routines that Kernel32 needs.

svn path=/trunk/; revision=59894

10 years ago[NTOS]
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 22:24:46 +0000 (22:24 +0000)]
[NTOS]
buzdelabuz2 !! We've unveiled who you are !!
Fix header information.

svn path=/trunk/; revision=59893

10 years ago[NTOS]
Aleksey Bragin [Thu, 29 Aug 2013 22:07:24 +0000 (22:07 +0000)]
[NTOS]
- Implement two types of FsRtl locking functions: exclusive lock and Cc flushing lock, along with their releasing counterparts, without the filter callbacks support. These functions are unused in trunk now but would be needed by proper Cc/Mm/IFS in future.

svn path=/trunk/; revision=59889

10 years ago[BASESRV]
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 21:37:22 +0000 (21:37 +0000)]
[BASESRV]
Fix the "fix" of r59887, i.e. add a stub for the unknown api.

svn path=/trunk/; revision=59888

10 years agoHere too ;)
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 21:29:33 +0000 (21:29 +0000)]
Here too ;)

svn path=/trunk/; revision=59887

10 years ago[BASESRV]: forgot to update the name table.
Alex Ionescu [Thu, 29 Aug 2013 21:27:18 +0000 (21:27 +0000)]
[BASESRV]: forgot to update the name table.

svn path=/trunk/; revision=59886

10 years agoPartially revert r59884 because of an enum name collision (which broke build).
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 21:23:46 +0000 (21:23 +0000)]
Partially revert r59884 because of an enum name collision (which broke build).

svn path=/trunk/; revision=59885

10 years ago[BASESRV]
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 21:14:49 +0000 (21:14 +0000)]
[BASESRV]
- Fix nls.c header information.
- Rename BasepUnknown to BasepDebugProcess according to j00ru's http://j00ru.vexillium.org/csrss_list/api_list.html#Windows_2k3 and what Alex_Ionescu committed in r59879 (deprecated api).

svn path=/trunk/; revision=59884

10 years ago[NTDLL]
Amine Khaldi [Thu, 29 Aug 2013 21:12:40 +0000 (21:12 +0000)]
[NTDLL]
* Fix several print specifiers.
* Add missing Status variable to a DPRINT1.

svn path=/trunk/; revision=59883

10 years ago[BASESRV]: Fix definition of NLS_USER_INFO so that it matches exactly that of Server...
Alex Ionescu [Thu, 29 Aug 2013 21:00:54 +0000 (21:00 +0000)]
[BASESRV]: Fix definition of NLS_USER_INFO so that it matches exactly that of Server 2003 (this now makes BASE_SERVER_STATIC_DATA correct too).
[BASESRV]: Implement BaseSrvNlsGetUserInfo.

svn path=/trunk/; revision=59882

10 years ago[KERNEL32]
Amine Khaldi [Thu, 29 Aug 2013 20:37:02 +0000 (20:37 +0000)]
[KERNEL32]
* Fix several print specifiers.

svn path=/trunk/; revision=59881

10 years ago[KERNEL32]: Passing flag 0 to QueryActCtx is valid, don't fail.
Alex Ionescu [Thu, 29 Aug 2013 20:14:43 +0000 (20:14 +0000)]
[KERNEL32]: Passing flag 0 to QueryActCtx is valid, don't fail.

svn path=/trunk/; revision=59880

10 years ago[BASESRV]: The last few APIs were off-by-one due to an unimplmented (in Windows)...
Alex Ionescu [Thu, 29 Aug 2013 20:13:31 +0000 (20:13 +0000)]
[BASESRV]: The last few APIs were off-by-one due to an unimplmented (in Windows) or deprecated api.c
[BASESRV]: Implement BaseSrvNlsCreateSection, which is needed by Windows kernel32.dll. Also implement the delay-loading functionality it needs.

svn path=/trunk/; revision=59879

10 years ago[NLS]. Add NLS files.
Alex Ionescu [Thu, 29 Aug 2013 19:07:10 +0000 (19:07 +0000)]
[NLS]. Add NLS files.

svn path=/trunk/; revision=59878

10 years agoFormatting fix only.
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 18:13:24 +0000 (18:13 +0000)]
Formatting fix only.

svn path=/trunk/; revision=59877

10 years agomoar failz
Alex Ionescu [Thu, 29 Aug 2013 17:46:26 +0000 (17:46 +0000)]
moar failz

svn path=/trunk/; revision=59875

10 years agofix a dprint
Alex Ionescu [Thu, 29 Aug 2013 17:44:34 +0000 (17:44 +0000)]
fix a dprint

svn path=/trunk/; revision=59874

10 years agoFix variable naming.
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 17:40:21 +0000 (17:40 +0000)]
Fix variable naming.

svn path=/trunk/; revision=59873

10 years ago[BASESRV]: Stubplement all the APIs so that our IDs match with Windows. Windows kerne...
Alex Ionescu [Thu, 29 Aug 2013 17:00:10 +0000 (17:00 +0000)]
[BASESRV]: Stubplement all the APIs so that our IDs match with Windows. Windows kernel32 now dies when calling NLSCreateSection.

svn path=/trunk/; revision=59872

10 years ago[KERNEL32]: Fix a bug in QueryActCtx
Alex Ionescu [Thu, 29 Aug 2013 16:42:14 +0000 (16:42 +0000)]
[KERNEL32]: Fix a bug in QueryActCtx

svn path=/trunk/; revision=59871

10 years ago[KERNEL32]
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 14:31:06 +0000 (14:31 +0000)]
[KERNEL32]
Use GetSystemDirectoryW for building the path to console.dll

svn path=/trunk/; revision=59870

10 years ago[KERNEL32]
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 12:20:29 +0000 (12:20 +0000)]
[KERNEL32]
Fix some headers information.
CORE-7421 #resolve #comment Fixed in revision r59869, thanks :)

svn path=/trunk/; revision=59869

10 years agoCORE-6639 #resolve #time 1d #comment Guard pages now work ;-)
Alex Ionescu [Thu, 29 Aug 2013 07:33:10 +0000 (07:33 +0000)]
CORE-6639 #resolve #time 1d #comment Guard pages now work ;-)
[NDK]: Fix definition of a global flag.
[RTL]: RtlpCreateUserStack: 1) If the image is invalid, bail out. 2) If the stack commit is higher than reserve, adjust reserve. 3) After allocating a guard page, the stack limit is now ABOVE the guard page, not BELOW it (stack grows backward!).
[RTL]: Remove the hack which always Commited the "StackReserve" value. Threads now have a 4-64KB stack, instead of a 1MB stack.
[NTOSKRNL]: Implement MiAccessCheck and MiCheckForUserStackOverflow, which handle guard page + stack expansion.
[USER32]: Because threads now correctly run with a smaller stack than usual (and expand as needed), remove some checks in user-mode callbacks which forced larger stacks.

svn path=/trunk/; revision=59868

10 years ago[HIDPARSE]: Stop the HID debug spam.
Alex Ionescu [Thu, 29 Aug 2013 06:09:28 +0000 (06:09 +0000)]
[HIDPARSE]: Stop the HID debug spam.

svn path=/trunk/; revision=59867

10 years ago[NDK]: Add some RTL_ACTIVATION_CONTEXT flags from the ASSERTs in the checked ntdll...
Alex Ionescu [Thu, 29 Aug 2013 04:34:00 +0000 (04:34 +0000)]
[NDK]: Add some RTL_ACTIVATION_CONTEXT flags from the ASSERTs in the checked ntdll.dll. Guess some other ones based on what seems to be the naming pattern (can't find them on Google, so who knows).
[RTL]: Make the Wine RtlActivationContext* APIs use the native RTL flags, not the Win32 flags.
[KERNEL32]: Separate Wine-specific ActCtx code from NT-compatible ActCtx code, and reimplement the latter. Now all ActCtx APIs except CreateActCtx (which is a mess on Windows) are compatible with the real NT RtlActivationContext APIs in terms of flags.
[KERNEL32]: Fix the hacks which were sending Win32 flags to the NT Native Rtl* functions.

svn path=/trunk/; revision=59866

10 years ago[KERNEL32]: Implement BaseProcessInitPostImport. Windows NTDLL now loads much, much...
Alex Ionescu [Thu, 29 Aug 2013 00:07:00 +0000 (00:07 +0000)]
[KERNEL32]: Implement BaseProcessInitPostImport. Windows NTDLL now loads much, much further, all the way to lsass.exe now.

svn path=/trunk/; revision=59865

10 years ago[NTDLL]: Fix CsrpConnectToServer to use the correct CSR_API_CONNECTINFO structure.
Alex Ionescu [Thu, 29 Aug 2013 00:02:15 +0000 (00:02 +0000)]
[NTDLL]: Fix CsrpConnectToServer to use the correct CSR_API_CONNECTINFO structure.
[CSRSRV]: Fix definition of CSR_API_CONNECTINFO structure. It is now compatible with Server 2003. Also, set the DebugFlag.

svn path=/trunk/; revision=59864

10 years ago[WINHLP32]
Amine Khaldi [Wed, 28 Aug 2013 23:14:41 +0000 (23:14 +0000)]
[WINHLP32]
* Improve resource files layout to make it consistent with the rest of our codebase. By Erdem Ersoy.
CORE-7414 #resolve #comment Committed in r59863. Thanks.

svn path=/trunk/; revision=59863

10 years ago[NTDLL]: Don't give every process a KernelCallbackTable. Only GUI processes need...
Alex Ionescu [Wed, 28 Aug 2013 22:35:28 +0000 (22:35 +0000)]
[NTDLL]: Don't give every process a KernelCallbackTable. Only GUI processes need one.
[USER32]: Initialize the KernelCallbackTable when loaded in GUI process. Also, store it statically instead of requiring a heap allocation (just like Windows).

svn path=/trunk/; revision=59862

10 years ago[TRANSLATIONS]
Amine Khaldi [Wed, 28 Aug 2013 22:06:34 +0000 (22:06 +0000)]
[TRANSLATIONS]
* Turkish translation update and improvements by Erdem Ersoy.
CORE-7408 #resolve #comment Committed in r59861. Thanks.

svn path=/trunk/; revision=59861

10 years ago[CMAKE/VS]
Amine Khaldi [Wed, 28 Aug 2013 21:37:54 +0000 (21:37 +0000)]
[CMAKE/VS]
* Introduce the support for organizing the solution into a hierarchy of folders that matches our codebase layout.
* You can enable this feature by adding -DUSE_FOLDER_STRUCTURE=1 to your configure phase (the VSSolution one).
* Based on a patch by Yuntian Zhang with my improvements.
CORE-7412

svn path=/trunk/; revision=59860

10 years ago[NDK]: Fix Vista vs Server 2003 definition of SECTION_IMAGE_INFORMATION.
Alex Ionescu [Wed, 28 Aug 2013 21:09:16 +0000 (21:09 +0000)]
[NDK]: Fix Vista vs Server 2003 definition of SECTION_IMAGE_INFORMATION.
[NTOSKRNL]: Gut out almost all the fields in the ReactOS-specific MM_IMAGE_SECTION, and replace them with the NT SECTION_IMAGE_INFORMATION structure instead. Make NtQuerySection simply return a copy of these fields (as on Windows).
[NTOSKRNL]: Update the PE loader code to now store information in SECTION_IMAGE_INFORMATION. Also store LoaderFlags and DllCharacteristics, which were not stored/returned to users before (in NtQuerySection).
[NTOSKRNL]: An entrypoint of NULL should also set ImageContainsCode to FALSE.
[NTOSKRNL]: Implement MmGetImageInformation, which is used by NtQueryInformationProcess(ProcessImageInformation). Also implement this latter info class.
[NTOSKRNL]: Delete ps_i.h, nobody uses this anymore.

svn path=/trunk/; revision=59859

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