Commit graph

52169 commits

Author SHA1 Message Date
Jérôme Gardou 63c74a8acd [WIN32SS/USER]
- Bake a parameter for NtUserFindExistingCursorIcon to differentiate between icons and cursors

svn path=/trunk/; revision=57676
2012-11-05 20:23:01 +00:00
Jérôme Gardou e557a51d3e [WIN32SS]
- Do not link gdi32.dll and user32.dll to msvcrt

svn path=/trunk/; revision=57675
2012-11-05 20:20:49 +00:00
Pierre Schweitzer d23b82a133 [DOXYGEN]
ReactOS is not C only.
Enable support builtin STL.

svn path=/trunk/; revision=57674
2012-11-05 11:13:59 +00:00
Jérôme Gardou 4a467211be [USER32]
- Implement LookupIconIdFromDirectoryEx.
- Implement CopyImage
- Finish Implementing LoadImage
- Implement various functions.
[WIN32SS]
- Add a first working implementation for LR_SHARED cursors and icons.User32 support is there, but more work is needed in win32k.

svn path=/trunk/; revision=57672
2012-11-04 12:56:44 +00:00
Giannis Adamopoulos db13cd87ac [explorer]
- Implement calling IShellView_TranslateAccelerator
- Fixes accelerators like Ctrl+c , Ctrl+v, etc in windows

svn path=/trunk/; revision=57671
2012-11-03 21:00:10 +00:00
Eric Kohl e9d11b2672 [ADVAPI32]
Remove ADVAPI_GetComputerSid because it is not used any more.

svn path=/trunk/; revision=57670
2012-11-03 12:13:32 +00:00
Eric Kohl 29ac848726 [ADVAPI32]
Fix indentation and coding style. No code changes!

svn path=/trunk/; revision=57669
2012-11-02 19:29:48 +00:00
Giannis Adamopoulos dd46d43734 - Fix the double scrollbars in explorer
svn path=/trunk/; revision=57663
2012-11-01 17:28:52 +00:00
Hermès Bélusca-Maïto 8ba1ca638e [KERNEL32/NTDLL]
- Move the ReactOS-specific workaround described in http://jira.reactos.org/browse/CORE-6611 and http://jira.reactos.org/browse/CORE-4620
  from kernel32 to ntdll for using it by RtlGetVersion, in order to :
  * still having it available in user-mode only,
  * and having VerifyVersionInfo (and its Rtl counter-part) working properly.

[RTL/NTOSKRNL]
- Code formatting.
- Use a defined-constant instead of a hard-coded value.

svn path=/trunk/; revision=57662
2012-11-01 12:52:34 +00:00
Hermès Bélusca-Maïto c7054c5c36 [BOOTDATA]
Fix report of OS version: we report us as Windows Server 2003 SP1, in a consistent way, i.e. our product type is ServerNT and not WinNT (workstation).
However, for applications which would need to see us as a workstation OS, a workaround exists and can be activated manually by the user (by default it is not).
See http://jira.reactos.org/browse/CORE-4620 for a description of the workaround.

CORE-6611 #comment In r57661, our version is reported consistently.

svn path=/trunk/; revision=57661
2012-10-31 23:36:52 +00:00
Giannis Adamopoulos 005eda32fb [win32k]
- Remove InputDesktopHandle variable because it is a handle and that means that it can only be used in the context of winlogon
- Fixes NtUserOpenInputDesktop which never really worked

svn path=/trunk/; revision=57659
2012-10-31 16:19:48 +00:00
Giannis Adamopoulos d612b03104 [user32_apitests]
- Add some tests for OpenInputDesktop

svn path=/trunk/; revision=57658
2012-10-31 15:23:11 +00:00
Giannis Adamopoulos fc462652f0 [win32k]
- Use ONEPARAM_ROUTINE_GETCURSORPOS instead of ONEPARAM_ROUTINE_GETCURSORPOSITION in GetCursorPos
- Correctly check if the current thread belongs to the active desktop

svn path=/trunk/; revision=57657
2012-10-31 14:55:23 +00:00
Giannis Adamopoulos d93c98ed58 [user32_apitest]
- Add some tests to see how SetCursorPos is affected by the current desktop

svn path=/trunk/; revision=57656
2012-10-31 14:18:06 +00:00
Jérôme Gardou 5b99cd433d [USER32_APITESTS]
- Add some more test for DrawIconEx and CreateIconFromResourceEx

svn path=/trunk/; revision=57655
2012-10-31 14:08:31 +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
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 c81f755853 [FREELDR]
Really use the 'status' variable.

svn path=/trunk/; revision=57636
2012-10-28 12:32:31 +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
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
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
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
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
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
Jérôme Gardou bec3a1f913 [DLLS]
- Those libraries are actual DLLs

svn path=/trunk/; revision=57609
2012-10-24 22:03:25 +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
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
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
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
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