Commit graph

52200 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto
df87a091d1 [CONSRV]
Code formatting only.

svn path=/branches/ros-csrss/; revision=57687
2012-11-07 21:16:09 +00:00
Hermès Bélusca-Maïto
34086f2971 [CONSRV]
- Use the new PCONSOLE_PROCESS_DATA type instead of PCSR_PROCESS, for accessing console-specific fields inside a console structure (the code modifications inside these functions will follow in the next commits).
- Remove unneeded included header files in consrv.h.
- Use a DLL instance in order to facilitate the access to win32 resources.
- Activate the declaration of server apis (or rename existing ones to the Windows scheme from the http://j00ru.vexillium.org/csrss_list/api_list.html#Windows_2k3 list).
- Comment the Win32CsrValidateBuffer helper (because it should be replaced by the usage of CsrValidateMessageBuffer).
- Add the list of the old APIs (just for me, to remember at the end to check that I didn't forget ome of them during the process of moving / renaming).

svn path=/branches/ros-csrss/; revision=57686
2012-11-07 21:10:48 +00:00
Hermès Bélusca-Maïto
aa77ee7796 [CONSRV]
Add a new header containing per-process console-specific structure CSRSS_CON_PROCESS_DATA (it is stored inside one of the element of the ServerData array inside the CSR_PROCESS structure). It was deleted from csrsrv.h in revision r57673 and reappears here. Also add a macro in order to facilitate its access inside consrv.

svn path=/branches/ros-csrss/; revision=57685
2012-11-07 21:04:47 +00:00
Hermès Bélusca-Maïto
d736f0b914 [NTDLL]
- Add parameter annotations.
- Improve CSR buffer allocation with 4-byte align.
- Simplify the capture-buffer pointers settings.

[CSRSRV]
- Remove last console structure from csrsrv.h (in next commits it will be placed in a proper header).
- Enable global CSR debugging (for debugging purposes... ;-) ).
- api.c: Enable debugging.
- api.c/.h: Remove old code and deprecated unused definitions.
- Use the Win2k3-compliant version of CsrCreateThread (code from subsystems/csr/csrsrv) (TODO: correct its usage in basesrv:BaseSrvCreateThread).
- init.c: Implement a helper routine, CsrInitCsrRootProcess, in order to initialize the per-process server data (see CSR_PROCESS structure) in the Root CSR process. New process inherit it from this Root process.
- server.c - Add a DPRINT. Remove a hack. Correct a parameter passing.
- session.c - Remove a hack (it will go to the new process initialization in consrv)
- Disable the code of CsrConnectToUser while user32:ClientThreadSetup doesn't work.
- Correct the implementation of CsrValidateMessageBuffer.
- Basic implementation of CsrValidateMessageString using CsrValidateMessageBuffer.

TODO:
- Compare CsrpHandleConnectionRequest with the other one function in api.c.
- Compare CsrValidateMessageBuffer with Win32CsrValidateBuffer ?

svn path=/branches/ros-csrss/; revision=57673
2012-11-05 00:23:58 +00:00
Hermès Bélusca-Maïto
a8f1d34118 [KERNEL32]
Use the new messaging structures...

svn path=/branches/ros-csrss/; revision=57668
2012-11-02 18:30:27 +00:00
Hermès Bélusca-Maïto
1f05ce5f28 [KERNEL32]
- Use new messaging structures, defined-names instead of hardcoded values.
- Enable temporary debugging tracing and add some DPRINTs.
- Delete an unused variable.

svn path=/branches/ros-csrss/; revision=57667
2012-11-02 18:28:42 +00:00
Hermès Bélusca-Maïto
1e4253f2c0 [KERNEL32]
This is the first of a series of commits aiming at making kernel32 using the new CSR messaging structures for communicating with Server Dlls.

svn path=/branches/ros-csrss/; revision=57666
2012-11-02 18:00:47 +00:00
Hermès Bélusca-Maïto
bd4d83d88f [WIN32K]
- Remove the now unneeded CSR messaging support.
- CsrInit() goes away also and the usage of the CsrProcess is replaced by that of gpepCSRSS.

[WINSRV]
- Use a DLL instance for loading resources, instead of calling GetModuleHandle.

[KERNEL32/NTDLL]
- Remove unneeded variables.

svn path=/branches/ros-csrss/; revision=57665
2012-11-02 13:50:31 +00:00
Hermès Bélusca-Maïto
dbcead9345 [WIN32K/USER32/WINSRV]
- Correct an enumeration identificator initialization.
- Move the call of CSR for registering the logon application, from kernel-mode win32k to user-mode user32
  and therefore remove the unneeded co_CsrNotify function (plus some other unneeded defines).
- Comment some non-working code (#if 0) in user32/misc/misc.c and winsrv/shutdown.c.

svn path=/branches/ros-csrss/; revision=57664
2012-11-02 11:23:26 +00:00
Hermès Bélusca-Maïto
b3c0c36f28 Synchronize with trunk's revision r57659.
svn path=/branches/ros-csrss/; revision=57660
2012-10-31 19:39:53 +00:00
Hermès Bélusca-Maïto
eb1f9f74b7 Forgot two files.
svn path=/branches/ros-csrss/; revision=57654
2012-10-31 00:41:02 +00:00
Hermès Bélusca-Maïto
509461cd33 Synchronize with trunk's revision r57652.
svn path=/branches/ros-csrss/; revision=57653
2012-10-31 00:26:38 +00:00
Giannis Adamopoulos
ccb9c49a46 [win32k]
- Fix the remaining tests that failed in user32:winstation

svn path=/trunk/; revision=57652
2012-10-30 16:50:11 +00:00
Giannis Adamopoulos
864bf93f95 [user32_apitest]
- Add a test for LR_SHARED flag for LoadImage

svn path=/trunk/; revision=57651
2012-10-30 13:29:11 +00:00
Jérôme Gardou
95411ee85d [W32K_APITEST]
- Better test for NtUserGetIconInfo

svn path=/trunk/; revision=57650
2012-10-30 02:05:52 +00:00
Jérôme Gardou
1c8f7b026b [USER32_APITEST]
- Commit forgotten file

svn path=/trunk/; revision=57649
2012-10-30 01:39:28 +00:00
Jérôme Gardou
f40fbb64a6 [USER32_APITEST]
- More thorough test for what really happens after the "destruction" of a shared cursor.

svn path=/trunk/; revision=57648
2012-10-29 16:14:54 +00:00
Jérôme Gardou
a74a3edcc7 [USER32_APITESTS]
- Add some test for DestroyCursor/DestroyIcon

svn path=/trunk/; revision=57647
2012-10-29 16:12:49 +00:00
Jérôme Gardou
9aec2fb369 [WIN32K]
- put changes for the new cursor/icons implementation in a separate file

svn path=/trunk/; revision=57646
2012-10-29 15:50:20 +00:00
James Tabor
b7efe0bd86 [Win32k]
- Move away from thread pointer when using hooks.

svn path=/trunk/; revision=57645
2012-10-29 04:47:55 +00:00
Jérôme Gardou
3a6c8d107b [WIN32SS/USER]
- Begin a rewrite of our cursor/Icons implementation. 
The current one is too close to wine's.

svn path=/trunk/; revision=57644
2012-10-29 01:43:38 +00:00
Hermès Bélusca-Maïto
e5f19654e3 [NTDLL/CSR/SM]
- Clean some headers.
- Code formatting.

svn path=/branches/ros-csrss/; revision=57643
2012-10-28 22:56:13 +00:00
Giannis Adamopoulos
7aed406e55 [win32k]
- Plug some object leaks in callproc and clipboard code

svn path=/trunk/; revision=57642
2012-10-28 17:31:33 +00:00
Jérôme Gardou
b6e5342bce [WIN32K]
- Properly handle deletion of cursor/Icon objects
- Gracefully change object owner when process closes
- Remove useless check in a macro

svn path=/trunk/; revision=57641
2012-10-28 14:45:35 +00:00
Jérôme Gardou
2108e7256c [WIN32K]
- Plug an icon leak.

svn path=/trunk/; revision=57640
2012-10-28 14:37:40 +00:00
Eric Kohl
a769501f01 [SAMSRV]
Implement SamrRemoveMemberFromAlias and SamrRemoveMultipleMembersFromAlias.

svn path=/trunk/; revision=57639
2012-10-28 13:53:39 +00:00
Hermès Bélusca-Maïto
c269edc831 Fix part of build.
svn path=/branches/ros-csrss/; revision=57638
2012-10-28 12:57:03 +00:00
Hermès Bélusca-Maïto
fba10b8f88 Synchronize with trunk's revision r57636.
svn path=/branches/ros-csrss/; revision=57637
2012-10-28 12:33:23 +00:00
Hermès Bélusca-Maïto
c81f755853 [FREELDR]
Really use the 'status' variable.

svn path=/trunk/; revision=57636
2012-10-28 12:32:31 +00:00
Hermès Bélusca-Maïto
9dcdf10c6c - Synchronize with trunk's revision r57633.
[WIN32CSR/BOOTDATA]
- Finally get rid of win32csr, being replaced by winsrv and consrv.
- Remove it from the subsystem command-line.

[WINSRV]
- Move a hack from win32csr to winsrv.

svn path=/branches/ros-csrss/; revision=57635
2012-10-28 12:13:03 +00:00
Giannis Adamopoulos
5d8559da94 - Fix build
I wonder how ninja managed to compile this locally

svn path=/trunk/; revision=57633
2012-10-28 10:43:48 +00:00
Giannis Adamopoulos
765f09416d - Rewrite NtUserCreateDesktop and move the desktop thread completely in win32k like in windows in order to let desktop objects to be destroyed
- Disable deleting the desktop heap until CORE-6729 is fixed
- See CORE-6723 for more details

svn path=/trunk/; revision=57632
2012-10-28 10:34:41 +00:00
Hermès Bélusca-Maïto
43c7fc0c8d Synchronize with trunk's revision r57629.
svn path=/branches/ros-csrss/; revision=57630
2012-10-28 10:05:08 +00:00
Jérôme Gardou
0c2a779546 [FREELDR]
- Use a better workaround for the objcopy bug

svn path=/trunk/; revision=57629
2012-10-28 01:58:36 +00:00
Hermès Bélusca-Maïto
3cb1779934 [WIN32SS/USER32]
- Use the new subsystems header winmsg.h
- Use the new USER_API_MESSAGE structure, and adapt co_CsrNotify in consequence.
- Code formatting.

[KERNEL32]
- Use the new subsystems headers basemsg.h, conmsg.h, winmsg.h, etc...

[NTDLL]
- Code formatting only.

svn path=/branches/ros-csrss/; revision=57628
2012-10-27 23:52:28 +00:00
Hermès Bélusca-Maïto
c4ebd157cf [BASESRV]
Remove unneeded comments.

svn path=/branches/ros-csrss/; revision=57627
2012-10-27 23:18:49 +00:00
Eric Kohl
bd8c5df1b0 [SAMSRV]
- Fix MSVC build warnings.
- Implement SamrAddMultipeMembersToAlias.
- Add missing user attributes to the user setup code.

svn path=/trunk/; revision=57626
2012-10-27 19:38:12 +00:00
Hermès Bélusca-Maïto
5a3ba45059 [NTDLL]
- Code formatting.
- Fix CSR message length computation.

[CSR]
- Remove unneeded comments.
- Correct arguments names.

svn path=/branches/ros-csrss/; revision=57625
2012-10-27 19:05:10 +00:00
Giannis Adamopoulos
9ee3916cee [win32k]
- Double the size of the user handle table in order to allow the test suite to complete despite the horrible object leaks 

svn path=/trunk/; revision=57624
2012-10-27 18:06:10 +00:00
Giannis Adamopoulos
80ae4e6e8c [win32k]
- Fix WARN macros
- Keep a list of the PROCESSINFO of all the running processes
- Count how many handles a process owns per type in PROCESSINFO
- Improve the debug output when we run out of user handles to show all handle counts per process 

svn path=/trunk/; revision=57623
2012-10-27 16:39:18 +00:00
Hermès Bélusca-Maïto
ec451b5d49 [CSRSRV]
Code formatting only.

svn path=/branches/ros-csrss/; revision=57622
2012-10-27 14:30:32 +00:00
Jérôme Gardou
53d8444030 [GLU32]
- From version 9.0, mesa doesn't ship the glu library anymore. It is maintained in another tree.
 - Introduce glu 9.0 to ReactOS code base.

svn path=/trunk/; revision=57621
2012-10-27 13:44:35 +00:00
Hermès Bélusca-Maïto
cbcea7d2f7 [CONSRV/WINSRV]
- Fix structures usage and headers inclusions.
- Make winsrv compile.
- Deactivate some code related to processes enumeration (for testing purposes).

svn path=/branches/ros-csrss/; revision=57620
2012-10-25 22:14:46 +00:00
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
Johannes Anderwald
8226ec4807 [USBSTOR]
- Don't flush srb queue because the storage stack is not ready for it yet
- Fixes crash during shutdown

svn path=/trunk/; revision=57617
2012-10-25 17:17:25 +00:00
Johannes Anderwald
b1002c5e57 [USBHUB]
- Partly implement IOCTL_USB_GET_NODE_CONNECTION_NAME
- Complete power irps 

svn path=/trunk/; revision=57616
2012-10-25 15:36:09 +00:00
Johannes Anderwald
d0d756519b [NTOSKRNL]
- Dereference the correct device object in the power completion routine
- Fixes crash with ftdibus.sys

svn path=/trunk/; revision=57615
2012-10-25 14:27:02 +00:00
Jérôme Gardou
3ab390e130 [CONFIGURE_SH]
- Add the ability to use the ninja generator with unix configure script

svn path=/trunk/; revision=57614
2012-10-25 13:05:30 +00:00
Jérôme Gardou
68f5fd309d [SHELL32]
- remove invalid pointer from list in case of failure to add the icon to the image list

svn path=/trunk/; revision=57613
2012-10-25 00:10:20 +00:00