Commit graph

54193 commits

Author SHA1 Message Date
Alex Ionescu 368ae5f2ec [SACDRV]: Implement VTUTF8ChannelProcessAttributes and VTUTF8ChannelOFlush, since these are also needed for output. Time to test for real now.
svn path=/trunk/; revision=59830
2013-08-26 08:12:52 +00:00
Alex Ionescu 30f0e5cc98 [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
2013-08-26 07:16:10 +00:00
Alex Ionescu aa7497361a [SACDRV]: Implement VTUTF8ChannelOWrite2. Time to try out the !SAC on VT-UTF8 mode now.
svn path=/trunk/; revision=59828
2013-08-26 06:25:41 +00:00
Alex Ionescu 93883d01d6 [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
2013-08-25 23:44:13 +00:00
Alex Ionescu 02ed8a9b93 [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
2013-08-25 23:13:00 +00:00
Alex Ionescu 5027e45444 [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
2013-08-25 22:49:32 +00:00
Alex Ionescu e84d7ea634 [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
2013-08-25 21:56:20 +00:00
Eric Kohl abedd40dd8 [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
2013-08-25 21:43:46 +00:00
Sylvain Petreolle 360451830b [NEWDEV]
Fix controls positions in French.
Spotted by gigaherz.

svn path=/trunk/; revision=59822
2013-08-25 16:36:04 +00:00
Amine Khaldi cb3adb53f5 [CRT]
* Annotate search_s.h.

svn path=/trunk/; revision=59821
2013-08-25 15:53:31 +00:00
Amine Khaldi abce7035cb [PSDK]
* Add a missing inclusion in wincrypt.h.

svn path=/trunk/; revision=59820
2013-08-25 15:11:58 +00:00
Amine Khaldi 4728da4c06 [TRANSLATIONS]
* Turkish translation update and improvements by Erdem Ersoy.
CORE-7395

svn path=/trunk/; revision=59818
2013-08-25 13:10:32 +00:00
Amine Khaldi 2dc8971f36 [CRT]
* Annotate search.h.

svn path=/trunk/; revision=59817
2013-08-25 12:53:12 +00:00
Sylvain Petreolle 12e38303a3 [CMD]
Fix MSVC warning and Visual Studio 2013 build.
Path by David Quintana (gigaherz)


svn path=/trunk/; revision=59815
2013-08-24 22:07:27 +00:00
Eric Kohl 80c67bbde7 [USRMGR]
Implement the set password function.

svn path=/trunk/; revision=59813
2013-08-24 20:50:21 +00:00
Eric Kohl 4c96bd997e [SAMLIB]
NetUserSetInfo: Use the proper access rights to open the domain object.

svn path=/trunk/; revision=59812
2013-08-24 20:22:05 +00:00
Hermès Bélusca-Maïto 47f00dba5f [CONSRV]
Fix "Select All" functionality.

svn path=/trunk/; revision=59811
2013-08-24 17:44:19 +00:00
Amine Khaldi 04c2922307 [CRT]
* Apply a consistent annotation to wcstombs_s(), _splitpath_s() and _wsplitpath_s().

svn path=/trunk/; revision=59809
2013-08-24 11:13:44 +00:00
Amine Khaldi 75daa9b8e6 [CRT]
* Apply a consistent annotation to wcsncpy_s().

svn path=/trunk/; revision=59808
2013-08-24 11:05:35 +00:00
Hermès Bélusca-Maïto a6315c0206 [CMD]
Fix some French conjugation.

svn path=/trunk/; revision=59807
2013-08-24 10:20:47 +00:00
Hermès Bélusca-Maïto 550e521dbc [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
2013-08-24 09:21:08 +00:00
Amine Khaldi 7a5d147c3f [PSDK]
* Add some missing definitions to winspool.h.

svn path=/trunk/; revision=59805
2013-08-24 00:37:30 +00:00
Amine Khaldi 1cc4d8885c [WINSPOOL.DRV]
* Correct the FindNextPrinterChangeNotification() stub.
[PSDK]
* Annotate winspool.h.

svn path=/trunk/; revision=59804
2013-08-23 22:58:29 +00:00
Hermès Bélusca-Maïto 0f375710aa [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
2013-08-23 21:18:46 +00:00
Hermès Bélusca-Maïto 7efba3bbfc [NTOSKRNL]
Don't hardcode L"\\Driver\\" but use the #define DRIVER_ROOT_NAME instead (2/2)

svn path=/trunk/; revision=59802
2013-08-23 21:03:37 +00:00
Amine Khaldi 7911d070b9 [PSDK]
* Apply some formatting consistency in winspool.h.

svn path=/trunk/; revision=59801
2013-08-23 20:52:09 +00:00
Hermès Bélusca-Maïto 2d60181421 [NTOSKRNL]
Code formatting, and don't hardcode L"\\Driver\\" but use the #define DRIVER_ROOT_NAME instead.

svn path=/trunk/; revision=59800
2013-08-23 20:03:38 +00:00
Amine Khaldi 566a7607c1 [PSDK]
* Annotate hidpi.h.

svn path=/trunk/; revision=59799
2013-08-23 18:29:18 +00:00
Amine Khaldi e2d4d758d7 [PSDK]
* Annotate mstcpip.h.

svn path=/trunk/; revision=59798
2013-08-23 15:26:52 +00:00
Amine Khaldi 47bfd5da5d [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
2013-08-23 15:21:10 +00:00
Amine Khaldi f656bb5534 [PSDK]
* Replace WINBOOL by BOOL. The former is a mingw-w64 invention.

svn path=/trunk/; revision=59796
2013-08-23 15:04:39 +00:00
Hermès Bélusca-Maïto e48a0068d6 [NTOSKRNL]
Fix some code indentation and a DPRINT.

svn path=/trunk/; revision=59794
2013-08-22 19:17:17 +00:00
Hermès Bélusca-Maïto 3d31c7014a [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
2013-08-22 18:25:02 +00:00
Hermès Bélusca-Maïto 3bb2ee8cd3 [KERNEL32]
- Move VDM-related definitions into a dedicated header.
- Clean some code.

svn path=/trunk/; revision=59792
2013-08-22 16:10:34 +00:00
Hermès Bélusca-Maïto c1826bc280 [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
2013-08-22 12:47:14 +00:00
Hermès Bélusca-Maïto 068cf237e9 [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
2013-08-21 16:54:19 +00:00
Hermès Bélusca-Maïto 7b25683467 [ROSTESTS]
Add a newline.

svn path=/trunk/; revision=59789
2013-08-21 11:14:22 +00:00
Hermès Bélusca-Maïto 19906a0907 [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
2013-08-20 18:55:42 +00:00
Aleksey Bragin 65502e2141 [CTM]
- Change my email address to a working one.
- Remove version info from the title.

svn path=/trunk/; revision=59787
2013-08-20 11:51:05 +00:00
Hermès Bélusca-Maïto 282942655f [ROSTESTS]
Add a test for NtQueryTimerResolution and NtSetTimerResolution, by Aleksander Andrejevic.
See CORE-7387 for more information.

svn path=/trunk/; revision=59786
2013-08-19 21:44:26 +00:00
Aleksey Bragin 63feab70a0 [NTOS]
- Aleksandar Andrejevic: Implement NtQueryTimerResolution().

CORE-7387

svn path=/trunk/; revision=59785
2013-08-19 19:40:25 +00:00
Hermès Bélusca-Maïto 7e36ed9fa8 Rename CSR_CONNECTION_INFO and CONSOLE_CONNECTION_INFO to the same way as BASESRV_API_CONNECTINFO
svn path=/trunk/; revision=59781
2013-08-19 18:14:43 +00:00
Aleksey Bragin 8925f44f91 [GLU32]
- Lee Schroeder: Add version information.

CORE-7392 #resolve #comment Thanks.

svn path=/trunk/; revision=59780
2013-08-19 18:11:47 +00:00
Hermès Bélusca-Maïto 4203172aa0 [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
2013-08-19 17:50:27 +00:00
Alex Ionescu 519595d9c4 [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
2013-08-19 03:32:39 +00:00
Eric Kohl ed35b983f9 [SAMSRV]
Implement the last part of SamrSetInformationUser.UserAllInformation: USER_ALL_PASSWORDEXPIRED.

svn path=/trunk/; revision=59777
2013-08-18 21:43:47 +00:00
Amine Khaldi a02dab8fb2 [NTOSKRNL]
* Fix a comment typo.
CORE-7393 #resolve #comment Thanks.

svn path=/trunk/; revision=59776
2013-08-18 21:05:58 +00:00
Amine Khaldi f47701b71d [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
2013-08-18 20:05:32 +00:00
Hermès Bélusca-Maïto d1f2547346 [BASESRV]
Add vdm.c for Virtual DOS Machines management.

svn path=/trunk/; revision=59774
2013-08-18 19:46:22 +00:00
Alex Ionescu 57ec941f0f [KDCOM]: Also adhere to new standard.
svn path=/trunk/; revision=59773
2013-08-18 17:51:56 +00:00