Commit graph

53964 commits

Author SHA1 Message Date
Aleksandar Andrejevic f603441db9 [NTVDM]
Implement multiple allocation strategies.


svn path=/branches/ntvdm/; revision=59530
2013-07-20 06:14:13 +00:00
Aleksandar Andrejevic bac747f151 [NTVDM]
Fix several bugs.


svn path=/branches/ntvdm/; revision=59502
2013-07-18 12:31:11 +00:00
Aleksandar Andrejevic 495320af6e [NTVDM]
Implement Upper Memory Blocks (UMB) support.


svn path=/branches/ntvdm/; revision=59501
2013-07-18 11:44:06 +00:00
Aleksandar Andrejevic 09e7fede48 Fix broken build after trunk merge.
svn path=/branches/ntvdm/; revision=59500
2013-07-18 05:46:06 +00:00
Aleksandar Andrejevic fb7355f834 Synchronize with trunk.
svn path=/branches/ntvdm/; revision=59499
2013-07-18 00:46:28 +00:00
Hermès Bélusca-Maïto c5dad7aefe [NTVDM]
Fix the TESTING case, in case you run ntvdm without other parameters.

svn path=/branches/ntvdm/; revision=59498
2013-07-18 00:17:04 +00:00
Aleksandar Andrejevic bebaf9e812 [NTVDM]
Add a compile-time option (not default) to run ntvdm manually with the target executable as a parameter.
Fix screen clearing bug.
Rewrite several INT 10h functions to work for all video pages.


svn path=/branches/ntvdm/; revision=59497
2013-07-18 00:01:18 +00:00
Aleksandar Andrejevic f82876686a [SOFTX86]
Fix carry/overflow condition for the SUB instruction.


svn path=/branches/ntvdm/; revision=59490
2013-07-15 02:34:45 +00:00
Aleksandar Andrejevic 40d639e7ff [NTVDM]
Implement the Bios Data Area (BDA).
Fix keyboard character translation bug.


svn path=/branches/ntvdm/; revision=59489
2013-07-15 01:37:38 +00:00
Thomas Faber ecf9d0b046 [BROWSEUI]
- Export CCommonBrowser, CRegTreeOptions, CGlobalFolderSettings
- Fix IBrowserService3 method signatures in CCommonBrowser
- Add IContextMenu3 to CBandSiteMenu

svn path=/trunk/; revision=59468
2013-07-13 09:23:33 +00:00
Thomas Faber 57fef2297a [BROWSEUI]
- Fix the order of some COM interfaces. This should have no functional effect, but makes testing easier.

svn path=/trunk/; revision=59467
2013-07-13 09:06:18 +00:00
Thomas Faber b05476d7af [COM_APITEST]
- Add additional classes and interfaces

svn path=/trunk/; revision=59466
2013-07-13 08:07:42 +00:00
Thomas Faber 0402c8a1e8 [COM_APITEST]
- Add support for classes with ThreadingModel values other than Apartment

svn path=/trunk/; revision=59465
2013-07-13 08:01:51 +00:00
Thomas Faber e15b19ebec [PSDK]
- Add CLSID_CCommonBrowser, CLSID_DeskBar, CLSID_DeskBarApp

svn path=/trunk/; revision=59464
2013-07-13 07:07:27 +00:00
Thomas Faber e241bb486e [KMTESTS:RTL]
- Fix a warning

svn path=/trunk/; revision=59463
2013-07-13 06:31:13 +00:00
Thomas Faber 4cdc7f487e [SYSSETUP]
- Correct spelling of 'Accessibility' in shortcuts.inf. Patch by Lee Schroeder.
CORE-7342 #resolve

svn path=/trunk/; revision=59462
2013-07-13 06:28:13 +00:00
Hermès Bélusca-Maïto cef1016047 [CONSRV-WINSRV]
Now that the console server works fine, move it into its real place (as in Windows), that is, inside winsrv.dll, instead of hosting it in consrv.dll.

svn path=/trunk/; revision=59461
2013-07-13 04:54:49 +00:00
Aleksandar Andrejevic 7ba3013923 [NTVDM]
Implement the IOCTL command in VDM DOS.
Rewrite the BIOS video pages support to use only one console buffer (not yet complete).
Fix the BIOS video mode table and several bugs in video functions.


svn path=/branches/ntvdm/; revision=59460
2013-07-13 01:56:36 +00:00
Hermès Bélusca-Maïto d009a8d53e [KERNEL32]
CreateEvent --> NtCreateEvent --> NotificationEvent or SynchronizationEvent (contrary to CreateTimer --> NtCreateTimer).

svn path=/trunk/; revision=59459
2013-07-12 22:27:12 +00:00
Pierre Schweitzer ed44a9b246 [CONFIGURE.SH]
Fix formatting

svn path=/trunk/; revision=59458
2013-07-12 10:13:45 +00:00
Pierre Schweitzer c7f7b737c8 [CONFIGURE.SH]
Kill bashisms introduced by r59197 and replace them by sh code.

This is mainly to preserve maximum portability of the code, and to
fix configure.sh on platforms where /bin/sh doesn't point to /bin/sh ;-).

svn path=/trunk/; revision=59457
2013-07-12 10:10:23 +00:00
Eric Kohl b219de051f [SAMSRV]
SamrChangePasswordUser: Update the PasswordLastSet time after a new password has been set.

svn path=/trunk/; revision=59456
2013-07-10 23:04:49 +00:00
Hermès Bélusca-Maïto eb7721d922 Remove an unneccesary commented definition of RegOpenCurrentUser.
svn path=/trunk/; revision=59455
2013-07-10 22:28:29 +00:00
Aleksandar Andrejevic be1d88e4b7 [NTVDM]
Add video pages support to INT 10h functions and memory access.
[SOFTX86]
Fix the opcode check for XLAT.


svn path=/branches/ntvdm/; revision=59454
2013-07-10 19:41:43 +00:00
Eric Kohl dc49d97409 [SAMSRV]
SamrChangePasswordUser: Use SampSetUserPassword to set the password hashes and update the password history.

svn path=/trunk/; revision=59453
2013-07-09 21:47:55 +00:00
Aleksandar Andrejevic 25cbe37d30 [NTVDM]
Fix bugs in the VDM DOS executable loader.


svn path=/branches/ntvdm/; revision=59452
2013-07-09 17:28:16 +00:00
Eric Kohl 76feb9e733 [NPFS]
NpfsCreateNamedPipe: Check for invalid disposition values. Fixes 3 winetest failures.

svn path=/trunk/; revision=59451
2013-07-07 22:18:50 +00:00
Aleksandar Andrejevic 59e28c4f15 [SOFTX86]
Fix jump conditions.
[NTVDM]
Implement BIOS teletype output command.
Start implementation of a new CPU emulator to replace softx86.


svn path=/branches/ntvdm/; revision=59450
2013-07-07 20:53:23 +00:00
Eric Kohl aa04fb3639 [SAMSRV]
SamrChangePasswordUser: Check the old password before storing the new one.

svn path=/trunk/; revision=59449
2013-07-07 20:27:38 +00:00
Hermès Bélusca-Maïto fd86dd4500 [CONDRV]
- Hey Arch! You're displaying Major function codes, not IOCTL codes. Also, remove unnecessary casts (coming from some old code), and a use-after free.
- Add some memory helpers.

svn path=/trunk/; revision=59448
2013-07-07 15:57:48 +00:00
Hermès Bélusca-Maïto 2f99c45433 [CONDRV]
Initial commit of the ReactOS Console Driver.
For the moment, it's just able to load/unload, creating a "controller" device
and being able to DPRINT1 lots of messages when you try to access to it.

svn path=/trunk/; revision=59447
2013-07-07 15:15:10 +00:00
Thomas Faber dd8a102390 [ATL]
- Arch, don't forget to initialize your pointer

svn path=/trunk/; revision=59446
2013-07-07 13:41:18 +00:00
Eric Kohl 56a6e6e112 [SAMSRV]
Start work on SamrChangePasswordUser. The new passwords can be stored but the required checks are still missing.

svn path=/trunk/; revision=59445
2013-07-07 12:45:03 +00:00
Thomas Faber 5e435112e9 [ATL]
- Don't pretend success if we actually failed in CComModule::GetClassObject

svn path=/trunk/; revision=59444
2013-07-07 10:20:49 +00:00
Thomas Faber 915aea7b1a [CMAKE]
- Try again to fix version detection. If anyone sees compilers that are not .00 versions, please complain. This is required because a simply "contains" check can match all parts of the version number -- e.g. 16.00.40219.01 contains "19." in addition to "16."

svn path=/trunk/; revision=59443
2013-07-07 09:42:57 +00:00
Thomas Faber 7b4f26f22d [COM_APITEST]
- Add a test verifying the interfaces exposed by various COM classes, grouped by server dll
ROSTESTS-98

svn path=/trunk/; revision=59442
2013-07-07 09:10:31 +00:00
Thomas Faber cf2e5acf00 [NDK]
- Add RtlStringFromGUID

svn path=/trunk/; revision=59441
2013-07-07 07:56:46 +00:00
Thomas Faber 583a73ec79 [PSDK]
- Fix IShellFolderView too

svn path=/trunk/; revision=59440
2013-07-07 07:48:32 +00:00
Thomas Faber e25e5e9863 [PSDK]
- Declare IID only once aka fix GCC build

svn path=/trunk/; revision=59439
2013-07-07 07:28:43 +00:00
Thomas Faber b8c50a5989 [PSDK]
- Fix ShellItem/ShellFolderItem confusion and some misc GUIDs

svn path=/trunk/; revision=59438
2013-07-07 07:19:35 +00:00
Hermès Bélusca-Maïto 82d21b524a Revert revision r59381 since it fails to detect VS2010 (and I suppose the other ones, then).
Indeed with VS2010, checking for the string content " 16." instead of "16." makes version checking fail.
After checking with a hex editor what was the character preceding the number "1" of the "16." part of the
version string returned by cl.exe, I saw that it wasn't a space as thought by the author, but the character
of code 0xA0 ...

svn path=/trunk/; revision=59437
2013-07-07 00:23:34 +00:00
Hermès Bélusca-Maïto 006c1387b2 [KERNEL32]
Forgot to add those files in the previous commit r59435:
We now store only console handles and not console pointers themselves.

svn path=/trunk/; revision=59436
2013-07-06 19:57:38 +00:00
Hermès Bélusca-Maïto b16b88d434 [CONSRV]
- Use a handle table for storing consoles. Now checking validity of console handles is done in O(1) instead of O(n) as before.
  I will see later on whether it would be good to have both a handle table and a linked list (which is removed here) for storing them
  (when condrv will be a real console driver, handles to consoles will be obtained as you would obtain usual handles to devices, etc...
  so that consoles will be internally stored in a linked list again).
- Add a "dummy" frontend to have the possibility to adopt default actions when no frontend is attached to a console, and to always have
  a valid virtual table for them.

svn path=/trunk/; revision=59435
2013-07-06 19:47:53 +00:00
Hermès Bélusca-Maïto c3eb80aa84 [CONSRV]
Fix copy of text in text-mode screenbuffers, in case we are copying NULL chars.

svn path=/trunk/; revision=59434
2013-07-06 16:05:39 +00:00
Hermès Bélusca-Maïto 72badc4dd2 [CONSRV]
- Fix some files' info-header text.
- Move code of SrvSetConsoleWindowInfo to ConDrvSetConsoleWindowInfo.
- Introduce the helper function GetScreenBufferSizeUnits to retrieve screen-buffer width/height units.

svn path=/trunk/; revision=59433
2013-07-06 15:59:28 +00:00
Eric Kohl f77cf0c5fc [SAMLIB]
- Implement SamChangePasswordUser.
- Remove useless casts.

svn path=/trunk/; revision=59432
2013-07-06 10:28:18 +00:00
Thomas Faber 52436562f4 [INCLUDE]
- Properly declare and use DECLSPEC_CACHEALIGN. Patch by Samuel Serapión.
CORE-7139 #resolve

svn path=/trunk/; revision=59431
2013-07-06 10:11:21 +00:00
Cameron Gutman 945604b9dd [RTL8139]
- Switch back to a 32K receive window, because WRAP doesn't work with a 64K window and our receive code depends on that functionality

svn path=/trunk/; revision=59430
2013-07-05 08:34:05 +00:00
Cameron Gutman 25a49804c0 [RTL8139]
- Fix receive stalling if more than 10 packets are in the receive window
- Tune configuration to use larger DMA transfers and begin DMA earlier

svn path=/trunk/; revision=59429
2013-07-05 08:11:18 +00:00
Cameron Gutman 7630a9f60a [RTL8139]
- Fix PCH in CMake file
- Fix broken failure path in MiniportInitialize

svn path=/trunk/; revision=59428
2013-07-05 05:48:08 +00:00