Commit graph

52146 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto d81d8d6116 [CSR/CONSRV/WINSRV]
- Move some structures to better place, fix code.

svn path=/branches/ros-csrss/; revision=57619
2012-10-25 21:37:52 +00:00
Hermès Bélusca-Maïto b507bd0612 [CSR/BASESRV/CONSRV/WINSRV]
- Fix code headers. No code changes.
- Rename csrcl.h to csr.h for readability purposes.
- exitros.c --> shutdown.c

svn path=/branches/ros-csrss/; revision=57618
2012-10-25 20:40:41 +00:00
Hermès Bélusca-Maïto f3a771fae3 [BOOTDATA]
- Add winsrv and consrv to the Win32 subsystem command line. Keep win32csr but move it to another Server ID (till it disappears).

svn path=/branches/ros-csrss/; revision=57612
2012-10-24 23:35:35 +00:00
Hermès Bélusca-Maïto 6a5637234a [WINSRV/WIN32CSR]
- Move the last APIs which should be in winsrv and remove unneeded files and resources from win32csr. Keep only the desktop things.
- I'm waiting for the patch of Giannis which would act on win32csr, then I will transfer the needed changes into winsrv and I will remove definitively win32csr.
At the moment, winsrv doesn't compile, but win32csr does.

svn path=/branches/ros-csrss/; revision=57611
2012-10-24 23:19:54 +00:00
Hermès Bélusca-Maïto 2d61015804 [CSRSRV/WINSRV]
- Move the last User CSR api which was in csrsrv instead of in winsrv.
- Remove unneeded file.

svn path=/branches/ros-csrss/; revision=57610
2012-10-24 22:07:46 +00:00
Hermès Bélusca-Maïto e2b29aaaf5 [WINSRV]
Add some resources.

[CONSRV/WIN32CSR]
Fix resources ids.

svn path=/branches/ros-csrss/; revision=57608
2012-10-24 21:54:45 +00:00
Hermès Bélusca-Maïto 574d00dc19 [CSRSRV/BASESRV/CONSRV/WIN32CSR/WINSRV]
- Fix resource files strings, headers, delete unuseful files... Nothing interesting.
- Add winsrv to build.

svn path=/branches/ros-csrss/; revision=57605
2012-10-24 21:37:22 +00:00
Hermès Bélusca-Maïto 1827b99497 [CONSRV]
- Add consrv to compilation. It compiles now \o/
- Convert the used console-csrss structures to the new ones.

[CSR]
- Continue to move some structures, and temporary activate a symbol.

[WIN32CSR]
- Clean a header.

svn path=/branches/ros-csrss/; revision=57602
2012-10-23 22:31:36 +00:00
Hermès Bélusca-Maïto aab393ca70 Synchronize with trunk's revision r57599.
svn path=/branches/ros-csrss/; revision=57600
2012-10-23 19:54:03 +00:00
Johannes Anderwald f24aa3981d [NTOSKRNL]
- Unregister dope (device object power extension) from volume list when device object is deleted
- Core-6691 #resolve

svn path=/trunk/; revision=57599
2012-10-23 05:42:17 +00:00
Johannes Anderwald d1e0226d49 [USBD]
- Don't assert on invalid usb descriptor
- Core-6574

svn path=/trunk/; revision=57598
2012-10-23 04:54:37 +00:00
Hermès Bélusca-Maïto 608c1e0428 [CONSRV/WIN32CSR]
- Move all the console subsystem from win32csr to a new server dll called consrv.dll (instead of putting it directly to winsrv.dll). It's because I want to rework on this later on.
Many things must be done in order to achieve the moving (renaming functions, etc...). Tables & symbol names come from http://j00ru.vexillium.org/csrss_list/api_list.html as usual,
but here I took the Win 2k3 ones and I added few Win 7 functions which already existed in our codebase. The other table names are guessed based on what originally existed in csrsrv
and so on. Many stubs are also missing.
Cultural remark: consrv.dll originally existed in Beta releases of Windows NT 3.1 (e.g. the October 1991 one), but was soon merged with winsrv.dll and thus, in subsequent versions of
Windows, the console subsystem is also found in winsrv.dll. See http://www.logotypes.se/NT310CSRSS.txt and http://j00ru.vexillium.org/?p=349#comment-1883. One has to wait until
Windows 7 to see it moving again to conhost.exe.

[CSRSRV]
- Add an explanation comment on what the ValidTable member in the CSR_SERVER_DLL structure is for.

svn path=/branches/ros-csrss/; revision=57597
2012-10-22 23:55:51 +00:00
Hermès Bélusca-Maïto ad62b115de [BASESRV]
- Remove an unneeded cmake comment.

[CSRSRV]
- Compile the resource file.

svn path=/branches/ros-csrss/; revision=57596
2012-10-22 23:37:07 +00:00
Johannes Anderwald ed3d75f9de [HIDPARSE][HIDPARSER]
- Implement HidP_GetUsageValue
- Add hack to HidParser_GetScaledUsageValueWithReport 
[MOUHID]
- Add partial support for absolute pointing devices
- Tested in VBOX 4.1.22 with absolute pointing devices
- Needs more work in win32k
- Core 6553

svn path=/trunk/; revision=57595
2012-10-22 21:18:30 +00:00
Eric Kohl 77520445a8 [SAMLIB]
Implement SamRemoveMemberFromAlias, SamRemoveMemberFromForeignDomain, SamRemoveMemberFromGroup and
SamRemoveMultipleMembersFromAlias.

svn path=/trunk/; revision=57594
2012-10-22 20:43:04 +00:00
Jérôme Gardou be26053908 [SHELL32]
- Add error handling when adding icons to the cache.
 - Plug more icon leaks.

svn path=/trunk/; revision=57593
2012-10-22 13:43:03 +00:00
Johannes Anderwald 7983f1ff48 [USBSTOR][USBHUB]
- Append devobj number to device id
- Delete device objects
- Core-6598 

svn path=/trunk/; revision=57592
2012-10-22 11:33:26 +00:00
Hermès Bélusca-Maïto a195c2bcb5 [NTDLL]
- Fix a variable and a header names.

[CSR]
- Move all the interesting code from the "old" csrsrv (see r57579) to the new one. TODO: finish to reorganize the code.
- Rename the headers to a standard naming I will use for the other server dlls.
- Remove now unneeded files.
(one can sometimes find commented names next to declaration of variables: it is when a variable name doesn't satisfy me because it isn't enough self-explaining for my taste).

[CONSOLE]
- Add a new header for console working (win32csr --> consrv.dll == the console part of winsrv.dll I separate from it, because I plan a profound reworking on the console after all that).


svn path=/branches/ros-csrss/; revision=57591
2012-10-22 00:09:51 +00:00
Eric Kohl b3643a80d5 [SAMLIB]
- Implement SamDeleteAlias, SamDeleteGroup, SamGetGroupsForUser, SamGetMembersInGroup, SamQuerySecurityObject, SamSetMemberAttributesOfGroup and SamSetSecurityObject.
- Add stub for SamRidToSid.

svn path=/trunk/; revision=57590
2012-10-21 17:51:36 +00:00
Hermès Bélusca-Maïto 6144173cdf [BASESRV]
- Compile basesrv and add headers.
Some other things are missing yet.

svn path=/branches/ros-csrss/; revision=57589
2012-10-21 17:18:33 +00:00
Hermès Bélusca-Maïto 518cb1c247 [BASESRV]
Forget two files.

svn path=/branches/ros-csrss/; revision=57588
2012-10-20 21:04:51 +00:00
Hermès Bélusca-Maïto 13fc08ccc7 [NTDLL/KERNEL32]
- Use new naming scheme.

[CSRSRV]
- Continuing headers reorganization.
- Activate new code.

[CSRSRV/WIN32CSR]
- Move some code into basesrv.

[BASESRV]
- Add basesrv.dll
The names of the APIs tables come from http://j00ru.vexillium.org/csrss_list/api_list.html as usual,
however I used the NT 4 ones for testing purposes only. After that I will update them to 2k3 version
and add function stubs. Also some variable names are deduced from the subsystems/win32/csrss/csrsrv/server.c ones.

svn path=/branches/ros-csrss/; revision=57587
2012-10-20 21:03:32 +00:00
Eric Kohl 5563b4393e [SAMLIB]
Implement SamAddMemberToGroup, SamAddMultipleMembersToAlias and SamDeleteUser.

svn path=/trunk/; revision=57586
2012-10-20 15:37:42 +00:00
Eric Kohl 0ffc17d4a2 [LSASRV]
Rename sids.c to lookup.c because the new name fits much better.

svn path=/trunk/; revision=57585
2012-10-20 14:21:32 +00:00
Hermès Bélusca-Maïto b5d68787ca [NTDLL]
- Activate new code (but keep the old one for the moment).

svn path=/branches/ros-csrss/; revision=57584
2012-10-20 14:10:50 +00:00
Hermès Bélusca-Maïto 16c4e80679 [CSRSRV]
- Start renaming some APIs which should not be present there, but in basesrv instead.
Names come from http://j00ru.vexillium.org/csrss_list/api_list.html#Windows_2k3

svn path=/branches/ros-csrss/; revision=57583
2012-10-20 14:07:04 +00:00
Hermès Bélusca-Maïto 71a7fe86e4 [CSRSS/CSRSRV]
- Reorganize the source code tree.

(Branch build still broken)

svn path=/branches/ros-csrss/; revision=57582
2012-10-20 13:28:09 +00:00
Eric Kohl 76963aa8b7 [LSASRV]
- Change the account and domain names in the WELL_KNOWN_SID type to AccountName and DomainName.
- Implement a function to look-up fully qualified well-known names (for example "NT AUTHORITY\LOCAL SERVICE"). This kind of look-up was still missing from LsapLookupNames.
- Ensure that all well-known SIDs returned by look-up functions are copied from the list of well-known SIDs, because RPCRT4.DLL frees the SID buffers after copying the SIDs to the caller. This will corrupt the well-known SID list if pointers to the original SIDs are passed.
- Check all memory allocations.

svn path=/trunk/; revision=57581
2012-10-20 13:21:48 +00:00
Hermès Bélusca-Maïto f40ade26d9 [CSRSS/CSRSRV]
- Rename ProcessDataLock to CsrProcessLock (as it was in the "old" csrsrv, see r57579).
- Merge the APIs from the "old" csrsrv (subsystems/csr , see r57579) with the other ones (subsystems/win32/csrss/csrsrv).
- Reorganize the functions into Private & Public functions.
- Add temporary comments.
- Start removing things which should be present in basesrv instead of in csrsrv.

This breaks build of this branch at the moment...

svn path=/branches/ros-csrss/; revision=57580
2012-10-20 13:00:41 +00:00
Hermès Bélusca-Maïto 13811a0034 [CSR]
Remove old csrss.

svn path=/branches/ros-csrss/; revision=57579
2012-10-19 20:14:47 +00:00
Jérôme Gardou e1c6cc44cb [WIN32K]
- Use GdiBlt channel for relevant functions

svn path=/trunk/; revision=57578
2012-10-19 09:00:45 +00:00
Thomas Faber c6a234fc76 [WINE]
- Remove useless casts from unicode.h
CORE-6418 #resolve

svn path=/trunk/; revision=57577
2012-10-19 05:55:45 +00:00
Sylvain Petreolle accdcd67e2 [BOOTDATA]
Add setupapi.dll to the KnownDlls list.
CORE-6732 #comment Quake II setup fixed in rev 57576. Patch by Lee Schroeder. #resolve

svn path=/trunk/; revision=57576
2012-10-18 21:51:42 +00:00
Jérôme Gardou 2e4ed45911 [WIN32K]
- Try to fix MSVC build

svn path=/trunk/; revision=57575
2012-10-18 19:33:46 +00:00
Jérôme Gardou d1b3bd7221 [SHELL32]
- cope with alpha channel when shortcut-overlaying an icon.
CORE-6099 #comment Fixed by rev 57574 #resolve

svn path=/trunk/; revision=57574
2012-10-18 18:37:37 +00:00
Jérôme Gardou 163a67bb5d [WIN32K]
- Use low level functions (IntEng*) to draw an icon.
Now mode settings change (eg. 16->32bpp) is not so ugly.

svn path=/trunk/; revision=57573
2012-10-18 18:27:44 +00:00
Jérôme Gardou 7b38b0ec6d [WIN32K]
- Implement EXLATEOBJ_vInitSrcMonoXlate

svn path=/trunk/; revision=57572
2012-10-18 18:26:08 +00:00
Jérôme Gardou 1f44ad4b42 [WIN32K]
- Add the ability to initialize an EBRUSHOBJ object without a device context

svn path=/trunk/; revision=57571
2012-10-18 18:23:47 +00:00
Hermès Bélusca-Maïto 61d07a5b47 [NTDLL/KERNEL32/CSRSRV/WIN32K/USER32/WIN32CSR]
- Use the new messaging structures and the new macros, plus the new CSR_API function's signature (--> and rename some variables).
- Code cleaning & formatting.

[CSRSS/NDK]
- Reorganize all the header files in logical units (server.h for server-side of CSR, client.h for client-side, and msg.h for messaging), removing duplicated definitions.
- Code cleaning & formatting.

The next step would be to activate the code of server-dll loading inside csrsrv, then moving all the console-related APIs from win32csr to winsrv, the latter built with the same structure as csrsrv's.

svn path=/branches/ros-csrss/; revision=57570
2012-10-17 23:10:40 +00:00
Hermès Bélusca-Maïto 9616bdb4f0 [BOOTDATA]
Revert r57562; it is better to perform tests...

svn path=/branches/ros-csrss/; revision=57569
2012-10-17 22:19:29 +00:00
Eric Kohl c881b2b949 [LSASRV]
- Add well-known account names "LOCALSERVICE" and "NETWORKSERVICE" as aliases of "LOCAL SERVICE" and "NETWORKSERVICE". They can be found on a german Windows XP.
- Remove a part LsaLookupSids that returned "UNKNOWN\Test" for unknown SIDs. Was used for tests only.

svn path=/trunk/; revision=57568
2012-10-17 20:16:06 +00:00
Jérôme Gardou 08f38d2ff7 [SHELL32]
- Beautify some code, plug icons leak and improve error handling

svn path=/trunk/; revision=57567
2012-10-16 14:28:08 +00:00
Thomas Faber 82492e6dc1 [WIDL]
- Forward-declare coclasses as 'class' in C++ to fix MSVC warnings. Already applied upstream.
CORE-6587 #resolve

svn path=/trunk/; revision=57566
2012-10-16 06:43:32 +00:00
Hermès Bélusca-Maïto af05c7d622 - Use only the cmd.exe as a shell.
- Deactivate compilation of the (optional) applications and of explorer(_new).exe

svn path=/branches/ros-csrss/; revision=57562
2012-10-14 13:53:59 +00:00
Hermès Bélusca-Maïto 65ce146169 Create a branch for working on csrss and co.
svn path=/branches/ros-csrss/; revision=57561
2012-10-14 13:04:31 +00:00
Hermès Bélusca-Maïto 679f8cec0e [CSRSS]
Code formatting only.

svn path=/trunk/; revision=57558
2012-10-14 11:46:22 +00:00
Eric Kohl a4d1f42fdf [LSASRV]
LsapLookupIsolatedNames: Add a domain entry to the referenced domain list for an unknown/unidentified domain. Its SID is the SID of the account minus the last sub-authority and its name is an empty string.

svn path=/trunk/; revision=57557
2012-10-14 10:20:59 +00:00
Hermès Bélusca-Maïto 2a51f3967e [CSRSRV]
- Remove $Id$ property.
- Correct misspellings : "othwerwise" --> "otherwise" and "(de)refence" --> "(de)reference".
- Add missing functions' documentation (from the old CSRSRV).
- Add some useful comments.

svn path=/trunk/; revision=57556
2012-10-13 20:32:44 +00:00
Hermès Bélusca-Maïto c2d167775f [USER32]
- Change the French keyboard accelerators of the windows' system menu to match those of Win2k3.

svn path=/trunk/; revision=57555
2012-10-13 18:19:31 +00:00
Sylvain Petreolle 46cb12a3fc [BOOTDATA]
Clean up svn properties.

svn path=/trunk/; revision=57554
2012-10-13 16:22:48 +00:00