Commit graph

52580 commits

Author SHA1 Message Date
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
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
Jérôme Gardou bec3a1f913 [DLLS]
- Those libraries are actual DLLs

svn path=/trunk/; revision=57609
2012-10-24 22:03:25 +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
Jérôme Gardou e746ee6e89 [libjpeg]
- fix build

svn path=/trunk/; revision=57607
2012-10-24 21:49:09 +00:00
Jérôme Gardou b00eb852b3 [DLLs]
- Don't set entrypoint to 0 for those which don't provide DllMain

svn path=/trunk/; revision=57606
2012-10-24 21:44:47 +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
Johannes Anderwald 813e2cf2ef [USBHUB]
- Implement IOCTL_USB_GET_NODE_INFORMATION, IOCTL_USB_GET_NODE_CONNECTION_INFORMATION, IOCTL_USB_GET_NODE_CONNECTION_DRIVERKEY_NAME

svn path=/trunk/; revision=57604
2012-10-24 15:40:46 +00:00
Johannes Anderwald b0caef1b6b [MOUHID]
- Report absolute mouse in Flags MOUSE_INPUT_DATA member
[HIDPARSER]
- Fix data conversion when extracting unscaled data from reports
- Fixes VBOX absolute pointing device
- Tested with VBOX 4.1.22 
- #Core-6553 #resolve

svn path=/trunk/; revision=57603
2012-10-24 09:37:08 +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
Eric Kohl e5723cc926 [ADVAPI32]
- Use LookupAccountNameW to retrieve the account SID when a user tries to log-on to a computer.
- Little clean-up of LogonUserW.
This is the first step to get rid of hard-coded logon stuff.

svn path=/trunk/; revision=57601
2012-10-23 21:59:43 +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