Commit graph

53393 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 599a7affa3 [REACTOS]
Merge of the ros-csrss branch created with a three-fold purpose:

- Use the new Windows-compatible Client-Server Runtime Subsystem (csrss + csrsrv)
written by Alex Ionescu to replace the old hacked one. Also the CSR client part,
residing in ntdll, is updated. Some work also done on the dlls side, which
communicate with CSR, namely kernel32.

- Replace our very old win32csr.dll CSR server by the collection basesrv.dll /
winsrv.dll as it is done under Windows.

- Since the console subsystem is (for historical purposes on Windows) the
only subsystem which exploits all the possibilities of the CSR, I decided to
put it in a new CSR dll called 'consrv.dll', even if on Windows it is included
together with other APIs inside the winsrv dll (since Windows NT 3.1 release)
(I took the name 'consrv' from the dll where it was included in Windows NT 3.1
beta from October 1991). Some work was also done on its internal architecture
(the external interface is of course unchanged for compatibility reasons) and a
two-layer approach was developed, using the existing idea of console functions +
GUI or TUI we already had in win32csr:
	* the "console server" which dialogs with the console applications,
and which maintains a list of all the created consoles.
	* different "front-ends" corresponding to where you want to output
the information (~= console hardware) (Work-In-Progress).
Another idea would be to make those front-ends dynamically-loadable (instead
of being compiled inside consrv).
- I also fixed some parts of the console properties dialog box.

More information can be found in http://www.reactos.org/archives/public/ros-dev/2013-April/016121.html

CORE-122 CORE-2510 CORE-7002 #resolve #comment Committed in revision r58xxx.

svn path=/trunk/; revision=58770
2013-04-15 19:32:00 +00:00
Amine Khaldi 192afa3ac1 [DINPUT_WINETEST]
* Import from Wine 1.5.26.

svn path=/trunk/; revision=58769
2013-04-15 19:31:42 +00:00
Amine Khaldi f31ab09118 [DINPUT]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58768
2013-04-15 18:54:35 +00:00
Amine Khaldi e7836734ab [CMAKE]
* Use PSEH2 again for TestBE (reverts 58603 and 58604).

svn path=/trunk/; revision=58767
2013-04-15 12:59:35 +00:00
Sylvain Petreolle 4c940f9e2e Addendum to r58764:
Remove MAX_PATH compatible definition and limits.h inclusion.


svn path=/trunk/; revision=58766
2013-04-14 20:54:33 +00:00
Timo Kreuzer f26c89182f [LOG2LINES]
Try to fix build

svn path=/trunk/; revision=58765
2013-04-14 20:14:45 +00:00
Timo Kreuzer 38ddc8955e [LOG2LINES]
Use PATH_MAX instead of MAX_PATH. Patch by tower.

svn path=/trunk/; revision=58764
2013-04-14 19:49:34 +00:00
Timo Kreuzer 0d2f933c3c [RTL/MKHIVE]
Revert r58762 and apply a better fix.

svn path=/trunk/; revision=58763
2013-04-14 19:16:20 +00:00
Timo Kreuzer 6f902c327d [RTL]
Fix host tools build

svn path=/trunk/; revision=58762
2013-04-14 18:59:37 +00:00
Timo Kreuzer 75082f2302 [RTL]
Add support for RTL_BITMAP64 on x64 builds

svn path=/trunk/; revision=58761
2013-04-14 18:49:20 +00:00
Timo Kreuzer 6090c3ee06 [FREELDR]
When generating the memory descriptor list, do not map the pages at the same time, since that requires allocating page tables, which will alter the state of pages, that might already have been processed. Instead map everything beforehand. This has not had any impact on x86, since the pfn database initialization code mindlessly adds all mapped pages as valid, even if they were reported as free by the OS loader. But proper Mm code does not necessarily do this.

svn path=/trunk/; revision=58760
2013-04-14 18:41:54 +00:00
Timo Kreuzer 291e52f39e [WIN32K]
Calculate flRaster in GDIINFO flags after calling DrvEnablePDEV. Should fix CORE-7079

svn path=/trunk/; revision=58759
2013-04-14 17:17:44 +00:00
Hermès Bélusca-Maïto ddfa887b86 [CONSRV]
Fix some MSVC warnings (type conversions).

Ready for merging (TM) :)

svn path=/branches/ros-csrss/; revision=58758
2013-04-14 16:04:46 +00:00
Sylvain Petreolle 881457ce32 [LOG2LINES]
Partly fix MSVC build.
Disable MSVC build for now.

svn path=/trunk/; revision=58757
2013-04-14 15:09:52 +00:00
Hermès Bélusca-Maïto f51caa6299 [ROS-CSRSS]
Fix compilation with MSVC. In particular initialization of structures variables (due to MSVC-C-compilation dumbass convention).

svn path=/branches/ros-csrss/; revision=58756
2013-04-14 14:49:30 +00:00
Sylvain Petreolle 17ad27cc71 [HOST-TOOLS]
Add log2lines to build.


svn path=/trunk/; revision=58755
2013-04-14 14:18:34 +00:00
Hermès Bélusca-Maïto 2fe3337b09 Forgot these changes.
svn path=/branches/ros-csrss/; revision=58754
2013-04-14 13:25:02 +00:00
Hermès Bélusca-Maïto 57d6853ca4 [CONSOLE.CPL-KERNEL32-USER32-NTDLL-CSRSRV-CONSRV-BASESRV-WINSRV]
- Fix some comments.
- Remove unuseful DPRINTs and just shut-up some DPRINT1s.
- Rename remaining CSRSS_*** structures.

svn path=/branches/ros-csrss/; revision=58753
2013-04-14 12:14:00 +00:00
Amine Khaldi 18e14e7e3e [DSOUND]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58752
2013-04-13 23:33:54 +00:00
Amine Khaldi 58c8c13693 [PSDK]
* Import audioclient.idl and mmdeviceapi.idl from Wine and add them to the generated PSDK headers.
* Add missing WAVE_FORMAT_IEEE_FLOAT definition to mmreg.h.
* Import audiosessiontypes.h, devpkey.h and propkey.h from Wine.

svn path=/trunk/; revision=58751
2013-04-13 23:28:46 +00:00
Amine Khaldi dfa9f630bb * Forgot the GCC case.
svn path=/trunk/; revision=58750
2013-04-13 22:42:50 +00:00
Amine Khaldi 78c8abf0e3 [PSDK]
* Add DECLSPEC_SELECTANY.

svn path=/trunk/; revision=58749
2013-04-13 22:35:13 +00:00
Hermès Bélusca-Maïto c6990096ac [REACTOS]
Addendum to revision r58744.

CORE-7062 #comment the NDIS_** structures, albeit containing the "recieve" misspelling, must be kept as they are because we must be compatible with the Windows DDK. Indeed this one contains the misspelling. Blame Microsoft if they do not know how to write proper English or if they do not re-read what they are writing !!

svn path=/trunk/; revision=58748
2013-04-13 22:11:40 +00:00
Eric Kohl 5286e4fac2 [MSV1_0]
Retrieve all information about the user.

svn path=/trunk/; revision=58747
2013-04-13 21:50:54 +00:00
Hermès Bélusca-Maïto 2cb57b25b4 [ROSAPPS]
Correct spelling of "receive" throughout the codebase.
Patch by andygui.

CORE-7062 #resolve #comment Part for RosApps fixed in revision r58746.

svn path=/trunk/; revision=58746
2013-04-13 21:33:53 +00:00
Hermès Bélusca-Maïto 2dd6b556a9 [ROSTESTS]
Correct spelling of "receive" throughout the codebase.
Patch by andygui.

CORE-7062 #resolve #comment Part for RosTests fixed in revision r58745.

svn path=/trunk/; revision=58745
2013-04-13 21:33:03 +00:00
Hermès Bélusca-Maïto 157aa32663 [REACTOS]
Correct spelling of "receive" throughout the codebase.
Patch by andygui.

CORE-7062 #resolve #comment Fixed in revision r58744. Thanks :)

svn path=/trunk/; revision=58744
2013-04-13 21:28:10 +00:00
Hermès Bélusca-Maïto 8b4f636332 [CONSRV]
Fix the TUI window procedure.

[SAMSRV]
Add Eric's revision r58742 in the meantime.

svn path=/branches/ros-csrss/; revision=58743
2013-04-13 21:09:49 +00:00
Eric Kohl fda13e9c4c [SAMSRV]
Implement SamIFree_SAMPR_USER_INFO_BUFFER.

svn path=/trunk/; revision=58742
2013-04-13 21:04:54 +00:00
Hermès Bélusca-Maïto 3a4f8f455f Sync with trunk r58740.
svn path=/branches/ros-csrss/; revision=58741
2013-04-13 18:49:50 +00:00
Eric Kohl 8bcbe27e41 [SAMSRV]
SamrCreateUserInDomain: Set default logon hours.

svn path=/trunk/; revision=58740
2013-04-13 17:59:40 +00:00
Amine Khaldi c2d5094a67 [DMUSIC]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58739
2013-04-13 17:29:01 +00:00
Timo Kreuzer 12eabcde28 [DDK]
Fix the definition of BYTES_TO_PAGES. While the macro might look overcomplicated, it actually needs to be this way to prevent integer overflows.

svn path=/trunk/; revision=58738
2013-04-13 16:10:09 +00:00
Eric Kohl 4eb24ad42a [SAMSRV]
- Implement SamIFree_SAMPR_ENUMERATION_BUFFER.
- Fix some typos in the spec file.

svn path=/trunk/; revision=58737
2013-04-13 15:33:56 +00:00
Amine Khaldi ffa7a81ee3 [DPLAY][DPLAYX]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58736
2013-04-13 13:08:11 +00:00
Amine Khaldi 30d5c755b7 [CMAKE]
* Invoke the linker directly instead of through the compiler in MSVC builds.

svn path=/trunk/; revision=58735
2013-04-13 10:37:24 +00:00
Hermès Bélusca-Maïto 0022d071df [CSRSRV]
Deactivate few breakpoints.

svn path=/branches/ros-csrss/; revision=58734
2013-04-12 21:13:25 +00:00
Ziliang Guo e14ac0cd5a [RTL8139]
Add header files for RTL8139 drivers holding function definitions and register addresses. Still incomplete/some holdovers from old ne2000 driver which will get pruned as more of the driver is rewritten. Not committing the actual driver code yet due to the need to massively clean it up. Not yet added to compilation.
CORE-7081

svn path=/trunk/; revision=58733
2013-04-12 15:06:11 +00:00
Hermès Bélusca-Maïto 0777ed55e5 [CONSRV]
- Reintegrate the text-only frontend, deactivated in revision r58447.
- Use a (temporary) helper ConioIsBufferResizeSupported to know whether or not the frontend supports screenbuffer resizing. In a near future, all the frontends will support that so this function will be removed.
- Promote ConioResizeBuffer to be a function of the console server (not only reserved for the GUI frontend).

[WIN32K]
- Remove the support of registrating TUI notification window class (feature such as knowing at which console app the notification window belongs to is unneeded when using the TUI).
- Start to introduce ConsoleAcquireDisplayOwnership, a win32k console control to let win32k release the display so that we can own it (it is step 0.0.1 on a scale of 0.0.0 to 1.0.0).

Note that, as in trunk, getting a text-only interface when booting with the /CONSOLE switch still doesn't work (clash between text-mode and video-mode enabled by win32k).

svn path=/branches/ros-csrss/; revision=58732
2013-04-11 23:37:09 +00:00
Hermès Bélusca-Maïto 2b02f27941 [KERNEL32]
Fix here also paternity of some code.

svn path=/branches/ros-csrss/; revision=58731
2013-04-10 20:33:30 +00:00
Hermès Bélusca-Maïto edf419952d [CONSRV]
Try to do some archaeology of names: attempt to attribute some files to programmers who spent lot of time on them, based on SVN history (I might have forget some other ones).

svn path=/branches/ros-csrss/; revision=58730
2013-04-10 20:22:30 +00:00
Pierre Schweitzer 79915a6835 [RTL]
Fix incorrect assignation.
Patch by Victor Martinez
Reviewed by Timo Kreuzer
CORE-7067 #comment Committed in r58729 #resolve

svn path=/trunk/; revision=58729
2013-04-10 19:02:54 +00:00
Jérôme Gardou 9ba5a55c52 [NTDLL_APITEST]
* Enable the test for committing regions larger than the section again
 * Test behaviour of NtFreeVirtualMemory(MEM_DECOMMIT) for section-backed virtual memory

svn path=/trunk/; revision=58728
2013-04-09 23:27:35 +00:00
Jérôme Gardou abec02cd44 [NTOS/MM]
- Fix check for address range fitting the VAD when commiting memory
CORE-7065 #comment Should be fixed with r58627 #resolve

svn path=/trunk/; revision=58727
2013-04-09 23:24:50 +00:00
Hermès Bélusca-Maïto d070d323fb [KERNEL32-CONSRV]
- Implement GetLargestConsoleWindowSize (and add a DPRINT to see what happens when Far 1.65 is launched).
- Implement SetConsoleWindowInfo in kernel32 and pre-implement its CONSRV counterpart.

svn path=/branches/ros-csrss/; revision=58726
2013-04-09 15:21:14 +00:00
Hermès Bélusca-Maïto 2358a3210f [CONSRV]
"Hack-fix" some headers to remove the forward declaration of typedef struct _CONSOLE *PCONSOLE;, which makes GCC 4.4.3 angry, but makes GCC 4.7.2 stay imperturbable.

svn path=/branches/ros-csrss/; revision=58725
2013-04-08 21:03:24 +00:00
Amine Khaldi b257ae4d5d [HHCTRL.OCX]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58723
2013-04-08 16:35:35 +00:00
Amine Khaldi f7bf1643bf [CRYPTUI_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58722
2013-04-08 16:31:12 +00:00
Amine Khaldi 63b8350830 [CRYPTDLG] [CRYPTDLL] [CRYPTUI]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58721
2013-04-08 16:31:05 +00:00
Amine Khaldi 71e8bf218c [CRYPTNET_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58720
2013-04-08 16:22:36 +00:00