reactos.git
10 years ago[SOFT386]
Aleksandar Andrejevic [Sat, 31 Aug 2013 19:18:12 +0000 (19:18 +0000)]
[SOFT386]
Fix the "persistant prefix" bug.
Fix the conditional jump bug.
Implement Soft386ExecuteAt.
[NTVDM]
Add Soft386 support to ntvdm.

svn path=/branches/ntvdm/; revision=59929

10 years ago[SOFT386]
Aleksandar Andrejevic [Sat, 31 Aug 2013 02:13:58 +0000 (02:13 +0000)]
[SOFT386]
Implement port I/O instructions.

svn path=/branches/ntvdm/; revision=59911

10 years ago[SOFT386]
Aleksandar Andrejevic [Thu, 29 Aug 2013 22:18:28 +0000 (22:18 +0000)]
[SOFT386]
Implement CMC instruction.

svn path=/branches/ntvdm/; revision=59892

10 years ago[SOFT386]
Aleksandar Andrejevic [Thu, 29 Aug 2013 22:11:33 +0000 (22:11 +0000)]
[SOFT386]
Add Soft386OpcodeHalt to the opcode table.

svn path=/branches/ntvdm/; revision=59891

10 years ago[SOFT386]
Aleksandar Andrejevic [Thu, 29 Aug 2013 22:07:53 +0000 (22:07 +0000)]
[SOFT386]
Add checks for illegal prefixes.
Implement HLT and PAUSE.

svn path=/branches/ntvdm/; revision=59890

10 years ago[SOFT386]
Aleksandar Andrejevic [Thu, 29 Aug 2013 17:48:32 +0000 (17:48 +0000)]
[SOFT386]
Implement the CLC, STC, CLI, STI, CLD and STD instructions.

svn path=/branches/ntvdm/; revision=59876

10 years ago[SOFT386]
Aleksandar Andrejevic [Wed, 28 Aug 2013 17:52:21 +0000 (17:52 +0000)]
[SOFT386]
Implement short conditional jump opcodes.

svn path=/branches/ntvdm/; revision=59856

10 years ago[SOFT386]
Aleksandar Andrejevic [Sun, 25 Aug 2013 14:53:58 +0000 (14:53 +0000)]
[SOFT386]
Implement the following opcodes:
NOP
XCHG (E)AX, reg16/reg32

svn path=/branches/ntvdm/; revision=59819

10 years ago[SOFT386]
Aleksandar Andrejevic [Sun, 25 Aug 2013 12:17:24 +0000 (12:17 +0000)]
[SOFT386]
Implement the following instructions:
PUSH reg16/reg32
POP reg16/reg32

svn path=/branches/ntvdm/; revision=59816

10 years ago[SOFT386]
Aleksandar Andrejevic [Sat, 24 Aug 2013 21:32:45 +0000 (21:32 +0000)]
[SOFT386]
Implement the following opcodes:
INC reg16/reg32
DEC reg16/reg32

svn path=/branches/ntvdm/; revision=59814

10 years ago[SOFT386]
Aleksandar Andrejevic [Sat, 24 Aug 2013 11:48:38 +0000 (11:48 +0000)]
[SOFT386]
Implement prefix support.

svn path=/branches/ntvdm/; revision=59810

10 years ago[SOFT386]
Aleksandar Andrejevic [Thu, 22 Aug 2013 22:54:59 +0000 (22:54 +0000)]
[SOFT386]
Halfplement Soft386ExecutionControl.

svn path=/branches/ntvdm/; revision=59795

10 years agoSynchronize with trunk revision 59781.
Hermès Bélusca-Maïto [Mon, 19 Aug 2013 18:55:28 +0000 (18:55 +0000)]
Synchronize with trunk revision 59781.

svn path=/branches/ntvdm/; revision=59784

10 years ago[SOFT386]
Aleksandar Andrejevic [Mon, 19 Aug 2013 18:52:53 +0000 (18:52 +0000)]
[SOFT386]
Fix minor bug.

svn path=/branches/ntvdm/; revision=59783

10 years ago[SOFT386]
Aleksandar Andrejevic [Mon, 19 Aug 2013 18:23:39 +0000 (18:23 +0000)]
[SOFT386]
Implement instruction fetch functions.
Implement CPU exception system.

svn path=/branches/ntvdm/; revision=59782

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[SOFT386]
Hermès Bélusca-Maïto [Sat, 17 Aug 2013 21:15:55 +0000 (21:15 +0000)]
[SOFT386]
- In the interface header soft386.h, do not include other particular headers (windows.h and debug.h). Those must be included by the different applications which also will include soft386.h.
- LPVOID --> PVOID (do it general, not just à-la Win32).
- The .c files include the headers, and each .c files must have its "#define NDEBUG\n#include <debug.h>" lines, to activate (or deactivate here in the example) debugging output.
- In the .c files, include the header windef.h for having the basic types, and temporarily comment out the needed #defines which will be needed if one needs to include other win***.h files. Those will be deleted if they aren't needed at the end.

svn path=/branches/ntvdm/; revision=59766

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[SOFT386]
Aleksandar Andrejevic [Sat, 17 Aug 2013 18:44:16 +0000 (18:44 +0000)]
[SOFT386]
Implement Soft386LoadSegment.
[NTVDM]
Fix BiosPrintCharacter (Adapted from a patch by Hermes Belusca-Maito).

svn path=/branches/ntvdm/; revision=59764

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[SOFT386]
Aleksandar Andrejevic [Sat, 17 Aug 2013 15:20:47 +0000 (15:20 +0000)]
[SOFT386]
Implement Soft386ReadMemory, Soft386WriteMemory, Soft386StackPush and Soft386StackPop.

svn path=/branches/ntvdm/; revision=59760

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[SOFT386]
Aleksandar Andrejevic [Sat, 17 Aug 2013 01:41:22 +0000 (01:41 +0000)]
[SOFT386]
Add definition for Soft386Interrupt.
Implement Soft386DumpState.

svn path=/branches/ntvdm/; revision=59757

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[NTVDM]
Aleksandar Andrejevic [Fri, 16 Aug 2013 19:40:02 +0000 (19:40 +0000)]
[NTVDM]
Fix the INT 12h handler to call the correct function (DosOpenFile not DosCreateFile).

svn path=/branches/ntvdm/; revision=59754

10 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 16 Aug 2013 19:33:04 +0000 (19:33 +0000)]
[NTVDM]
Remove the "new emulator" started in emulator.c in favor of Soft386.

svn path=/branches/ntvdm/; revision=59753

10 years ago[SOFT386]
Aleksandar Andrejevic [Fri, 16 Aug 2013 19:21:02 +0000 (19:21 +0000)]
[SOFT386]
Start implementing a new emulator library to provide 386/486 emulation support to NTVDM
and perhaps other components aswell.

svn path=/branches/ntvdm/; revision=59752

10 years ago[NTVDM]
Sylvain Petreolle [Fri, 16 Aug 2013 18:33:24 +0000 (18:33 +0000)]
[NTVDM]
Report VGA card as present.

svn path=/branches/ntvdm/; revision=59751

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[NTVDM]
Hermès Bélusca-Maïto [Thu, 15 Aug 2013 21:10:09 +0000 (21:10 +0000)]
[NTVDM]
Do not rely on the internal format for console handles. Instead, use a more reliable way, by checking for success when calling a simple console function acting on in/out console handles.

svn path=/branches/ntvdm/; revision=59746

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[NTVDM]
Aleksandar Andrejevic [Thu, 15 Aug 2013 01:40:50 +0000 (01:40 +0000)]
[NTVDM]
Make the BIOS Data Area accessible to other parts of ntvdm.
Properly redirect read/write access to the console to the keyboard and VGA systems, respectively.

svn path=/branches/ntvdm/; revision=59741

10 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 14 Aug 2013 23:28:45 +0000 (23:28 +0000)]
[NTVDM]
Fix bug in DosTerminateProcess.

svn path=/branches/ntvdm/; revision=59740

10 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 14 Aug 2013 21:55:50 +0000 (21:55 +0000)]
[NTVDM]
Fix VGA interleaved mode.

svn path=/branches/ntvdm/; revision=59739

10 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 14 Aug 2013 17:17:43 +0000 (17:17 +0000)]
[NTVDM]
Fix 16 color modes.
Implement 4-bit interleaved shift mode.

svn path=/branches/ntvdm/; revision=59738

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

10 years ago[RTL]
Aleksey Bragin [Wed, 14 Aug 2013 14:08:40 +0000 (14:08 +0000)]
[RTL]
- Improve debug messages to include failure status.

svn path=/trunk/; revision=59736

10 years ago[PSDK]
Amine Khaldi [Wed, 14 Aug 2013 13:23:37 +0000 (13:23 +0000)]
[PSDK]
* Annotate cfgmgr32.h.

svn path=/trunk/; revision=59735

10 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 14 Aug 2013 12:25:43 +0000 (12:25 +0000)]
[NTVDM]
Use the correct values for AC registers.

svn path=/branches/ntvdm/; revision=59734

10 years ago[WIN32K]
Aleksey Bragin [Wed, 14 Aug 2013 11:02:08 +0000 (11:02 +0000)]
[WIN32K]
- Do not use a internal section object structure type, it's just not necessary and win32k should not ever need to access its fields directly.

svn path=/trunk/; revision=59733

10 years ago[SACDRV]: fix a bug in ChannelReferenceToOneByIndexwithLock and ChanMgrCreateChannel.
Alex Ionescu [Wed, 14 Aug 2013 04:20:17 +0000 (04:20 +0000)]
[SACDRV]: fix a bug in ChannelReferenceToOneByIndexwithLock and ChanMgrCreateChannel.
[SACDRV]: implement SacTranslateUnicodeToUtf8.
[NTOSKRNL]: implement HadlessCmdPutData.
EMS bringup is now functional:
"
Computer is booting, SAC started and initialized.\n\nUse the \"ch -?\" command for information about using channels.\nUse the \"?\" command for general help.

             SAC>%0
"

svn path=/trunk/; revision=59732

10 years ago[SAL]
Amine Khaldi [Tue, 13 Aug 2013 21:21:08 +0000 (21:21 +0000)]
[SAL]
* Add _Ret_writes_maybenull_z_ annotation.

svn path=/trunk/; revision=59731

10 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 13 Aug 2013 20:15:24 +0000 (20:15 +0000)]
[NTVDM]
Simplify the code

svn path=/branches/ntvdm/; revision=59730

10 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 13 Aug 2013 19:00:02 +0000 (19:00 +0000)]
[NTVDM]
Fix bug with VGA DAC register access.

svn path=/branches/ntvdm/; revision=59729

10 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 13 Aug 2013 18:41:35 +0000 (18:41 +0000)]
[NTVDM]
Fix VGA register constants.

svn path=/branches/ntvdm/; revision=59728

10 years ago[PSDK]
Amine Khaldi [Tue, 13 Aug 2013 18:23:10 +0000 (18:23 +0000)]
[PSDK]
* Update oleauto.h.

svn path=/trunk/; revision=59727

10 years ago[PSDK]
Amine Khaldi [Tue, 13 Aug 2013 18:09:50 +0000 (18:09 +0000)]
[PSDK]
* Annotate commctrl.h.

svn path=/trunk/; revision=59726

10 years ago[SOFTX86]
Aleksandar Andrejevic [Tue, 13 Aug 2013 17:06:15 +0000 (17:06 +0000)]
[SOFTX86]
Fix carry/overflow flag computation for ADD instructions.

svn path=/branches/ntvdm/; revision=59725

10 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 13 Aug 2013 16:49:54 +0000 (16:49 +0000)]
[NTVDM]
- Add new BIOS video modes (obtained from DosBox with the help of Aleksander)
- Remove an unneeded comment.

svn path=/branches/ntvdm/; revision=59724

10 years ago[KERNEL32]
Amine Khaldi [Tue, 13 Aug 2013 15:27:13 +0000 (15:27 +0000)]
[KERNEL32]
* Include winspool.h only where it's needed.

svn path=/trunk/; revision=59723

10 years ago[PSDK]
Amine Khaldi [Tue, 13 Aug 2013 15:12:04 +0000 (15:12 +0000)]
[PSDK]
* Annotate shlwapi.h.

svn path=/trunk/; revision=59722

10 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 13 Aug 2013 11:57:10 +0000 (11:57 +0000)]
[NTVDM]
Use RGB() macro instead of defining the hexadecimal values manually, which were incorrect.

svn path=/branches/ntvdm/; revision=59721

10 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 13 Aug 2013 11:09:10 +0000 (11:09 +0000)]
[NTVDM]
- Simplify code (flags resetting)
- Fix console palette initialization (use version 3) and palette change.

svn path=/branches/ntvdm/; revision=59720

10 years agoFormatting fix only.
Hermès Bélusca-Maïto [Tue, 13 Aug 2013 11:06:02 +0000 (11:06 +0000)]
Formatting fix only.

svn path=/branches/ntvdm/; revision=59719

10 years ago[NTOSKRNL]: Add and fix more glue code for EMS/Headless support. The SAC driver is...
Alex Ionescu [Tue, 13 Aug 2013 03:18:03 +0000 (03:18 +0000)]
[NTOSKRNL]: Add and fix more glue code for EMS/Headless support. The SAC driver is at least correctly able to initialize now when /redirect is enabled.
[SACMSG]: SAC wants the message tables as Unicode, but the CMakeList has an obscure comment that Unicode MC needs "testing". Well, I'll be the first to test it and confirm it works -- implement a UNICODE_SOURCE_REALLY to get Unicode-mc.
[SACMSG]: Add a few more constants.
[SACDRV]: Implement InitializeMachineInformation.
[SACDRV]: Fix countless bugs. Now the entire driver initializes up to UTF8EncodeAndSend, which is unimplemented. We're almost there!

svn path=/trunk/; revision=59718

10 years ago[NTOSKRNL]: RtlGetVersion in the kernel does not fail, does not return a CSD version...
Alex Ionescu [Tue, 13 Aug 2013 03:14:22 +0000 (03:14 +0000)]
[NTOSKRNL]: RtlGetVersion in the kernel does not fail, does not return a CSD version, and should not be returning negative build numbers. Fix it so that it works as it should (and anyone that relied on correct build numbers will no longer fail).

svn path=/trunk/; revision=59717

10 years ago[USETUP]: Add an entry in freeldr.ini for EMS testing.
Alex Ionescu [Tue, 13 Aug 2013 03:11:02 +0000 (03:11 +0000)]
[USETUP]: Add an entry in freeldr.ini for EMS testing.
[HIVESYS]: Fix double-addition of "nmidebug". One of those should have been "sacdrv".
[FREELDR]: Fix bugs in WinLdrSetupEms which caused an invalid HEADLESS_LOADER_BLOCK to be created.
[FERELDR]: Move WinLdrSetupEms in LoadWindowsCommon, so that setupldr can use EMS too.

svn path=/trunk/; revision=59716

10 years ago[PSDK]
Amine Khaldi [Mon, 12 Aug 2013 22:19:46 +0000 (22:19 +0000)]
[PSDK]
* Annotate shlobj.h.

svn path=/trunk/; revision=59715

10 years ago[PSDK]
Amine Khaldi [Mon, 12 Aug 2013 22:08:17 +0000 (22:08 +0000)]
[PSDK]
* Update shlwapi.h.
* Remove IUnknown_AtomicRelease() from shlwapi_undoc.h.

svn path=/trunk/; revision=59714

10 years ago[NTVDM]
Aleksandar Andrejevic [Mon, 12 Aug 2013 19:31:54 +0000 (19:31 +0000)]
[NTVDM]
Synchronize with trunk again for SetConsolePalette.
Implement VGA palettes for graphics mode and DAC register access.

svn path=/branches/ntvdm/; revision=59713

10 years agoForgot this file (fixes all the builds).
Hermès Bélusca-Maïto [Mon, 12 Aug 2013 16:15:44 +0000 (16:15 +0000)]
Forgot this file (fixes all the builds).

svn path=/trunk/; revision=59712

10 years ago[KERNEL32][CONSRV]
Hermès Bélusca-Maïto [Mon, 12 Aug 2013 16:12:58 +0000 (16:12 +0000)]
[KERNEL32][CONSRV]
Half-plement SetConsolePalette.

svn path=/trunk/; revision=59711

10 years ago[PSDK]
Amine Khaldi [Mon, 12 Aug 2013 11:52:50 +0000 (11:52 +0000)]
[PSDK]
* Annotate vfw.h.

svn path=/trunk/; revision=59710

10 years ago[TCPIP]
Cameron Gutman [Mon, 12 Aug 2013 06:46:06 +0000 (06:46 +0000)]
[TCPIP]
- Disable object logging now that all the deadlocks, leaks, double-frees, and use-after-frees visible in our test suite are fixed in TCP/IP

svn path=/trunk/; revision=59709

10 years ago[IP]
Cameron Gutman [Mon, 12 Aug 2013 06:00:06 +0000 (06:00 +0000)]
[IP]
- Fix a nasty bug preventing any of the non-default interface's NCEs from being selected
- Fix a bug preventing loopback NCEs from being found (fixes hang in ws2_32:sock winetest)

svn path=/trunk/; revision=59708

10 years ago[LWIP]
Cameron Gutman [Mon, 12 Aug 2013 04:58:22 +0000 (04:58 +0000)]
[LWIP]
- Indicate the graceful close before calling the FIN event handler

svn path=/trunk/; revision=59707

10 years ago[LWIP]
Cameron Gutman [Mon, 12 Aug 2013 04:08:20 +0000 (04:08 +0000)]
[LWIP]
- Ensure that the connection failure gets delivered if the socket is not yet ready to receive or has shutdown receive

svn path=/trunk/; revision=59706

10 years ago[TCPIP]
Cameron Gutman [Mon, 12 Aug 2013 03:09:28 +0000 (03:09 +0000)]
[TCPIP]
- Add logging of address files and connections (on temporarily for testing changes)
[LWIP]
- Drastically simplify the closing state machine
- All connection objects (and as a result address files too) are now getting properly reaped now
- Tested with Firefox and Abyss Web Server

svn path=/trunk/; revision=59705

10 years ago[CMAKE]
Cameron Gutman [Mon, 12 Aug 2013 01:12:25 +0000 (01:12 +0000)]
[CMAKE]
- Define i386 on x86 MSVC builds
- Probably fixes the infamous MSVC networking issues caused by tcpip.h assuming it was a big-endian platform and never byte-swapping anything
[TCPIP][LAN]
- Fix byteswapping on AMD64 and ARM builds too

svn path=/trunk/; revision=59704

10 years ago[TCPIP]
Cameron Gutman [Mon, 12 Aug 2013 00:45:04 +0000 (00:45 +0000)]
[TCPIP]
- Use common macro for htons
- Fail compilation if an unrecognized architecture is found (testing)

svn path=/trunk/; revision=59703

10 years ago[SETUPAPI]
Cameron Gutman [Sun, 11 Aug 2013 21:19:35 +0000 (21:19 +0000)]
[SETUPAPI]
- SetupDiRegisterDeviceInfo shouldn't fail if a device instance already exists
- MSDN documentation for this function states: "If [SPRDI_FIND_DUPS] is not specified, the device instance is registered regardless of whether a device instance already exists for it."

svn path=/trunk/; revision=59702

10 years ago[NTVDM]
Aleksandar Andrejevic [Sun, 11 Aug 2013 21:07:09 +0000 (21:07 +0000)]
[NTVDM]
Fix bug in DosChangeDirectory.

svn path=/branches/ntvdm/; revision=59701

10 years ago[NTVDM]
Aleksandar Andrejevic [Sun, 11 Aug 2013 20:54:07 +0000 (20:54 +0000)]
[NTVDM]
Keep a list of current directories for all drives.
Implement functions that change the default drive and current directory.

svn path=/branches/ntvdm/; revision=59700

10 years ago[UMPNPMGR]
Cameron Gutman [Sun, 11 Aug 2013 19:57:47 +0000 (19:57 +0000)]
[UMPNPMGR]
- Handle the CM_CREATE_DEVNODE_GENERATE_ID flag
[SETUPAPI]
- Use the correct ID (the newly generated instance ID) when creating the device info if the DICD_GENERATE_ID flag was passed in

svn path=/trunk/; revision=59699

10 years ago[SETUPAPI]
Cameron Gutman [Sun, 11 Aug 2013 17:49:17 +0000 (17:49 +0000)]
[SETUPAPI]
- Pass the CM_CREATE_DEVINST_GENERATE_ID flag to CM_Create_DevInst_ExW if DICD_GENERATE_ID was used
- Currently unimplemented in umpnpmgr

svn path=/trunk/; revision=59698

10 years ago[KERNEL32]
Hermès Bélusca-Maïto [Sun, 11 Aug 2013 17:06:19 +0000 (17:06 +0000)]
[KERNEL32]
Fix the prototype of the undocumented function SetConsolePalette (see http://comments.gmane.org/gmane.comp.lang.harbour.devel/27844 and https://github.com/harbour/core/commit/d79a1b7b812cbde6ddf718ebfd6939a24f633e52 for a usage example); tested by Mysoft a.k.a. Grégory Macario Harbs.
Needed for modifying VGA palettes for NTVDM.

svn path=/trunk/; revision=59697