Commit graph

52181 commits

Author SHA1 Message Date
Jérôme Gardou 6f481467d5 [WIN32K]
- Implement usage of alpha cursors (does not work yet due to a bug in windres)
- Directly use bitmaps passed to NtUserSetCursorIconData instead of copying them

svn path=/trunk/; revision=57695
2012-11-10 15:56:42 +00:00
Jérôme Gardou cde9a5f895 [GDI32_APITEST]
- Add test showing that a bitmap created using CreateDIBItmap can be selected into a DC despite a different bits depth

svn path=/trunk/; revision=57693
2012-11-08 14:46:47 +00:00
Jérôme Gardou bd515ad606 [WIN32SS/USER]
- Start using CURSORDATA structure for passing data from user to kernel mode.
- Start using the proper CURSOR structure for win32k internal represesentation of cursor and icons
- Create the alpha bitmap in user mode instead of kernel mode.


svn path=/trunk/; revision=57692
2012-11-08 12:51:24 +00:00
Jérôme Gardou 5ad72c9145 [WIN32K]
- Work only with BITMAPINFO in GreGetDIBItsInternal and convert the structure back to BITMAPCOREINFO if needed.
- Set the rgbReserved member to 0 when getting palette of a DIB section

svn path=/trunk/; revision=57691
2012-11-08 12:40:41 +00:00
Eric Kohl 20ec872b2f [NETAPI32]
NetLocalGroupEnum: Make sure that built-in aliases are retrieved once and only one alias is enumerated upon each consecutive call. Retrieve name and comment for each alias.

svn path=/trunk/; revision=57684
2012-11-07 18:51:38 +00:00
Eric Kohl e2dd0a34a1 [SAMSRV]
Fix build.

svn path=/trunk/; revision=57683
2012-11-06 23:47:43 +00:00
Eric Kohl 0b38742a0c [SAMSRV]
SamrQueryInformationAlias: When retrieving general information, return a member count of zero if the members sub key does not exist.

svn path=/trunk/; revision=57682
2012-11-06 23:39:59 +00:00
Jérôme Gardou 26504938df [USER32_APITEST]
- Test behaviour with icons handle from foreign process

svn path=/trunk/; revision=57681
2012-11-06 14:27:03 +00:00
Jérôme Gardou e8624870c3 [USER32]
- Link to msvcrtex in MSC builds

svn path=/trunk/; revision=57680
2012-11-05 23:29:52 +00:00
Jérôme Gardou 15deddd4ea [USER32]
- Avoid more rounding issues and hopefully fix MSC build

svn path=/trunk/; revision=57679
2012-11-05 22:51:32 +00:00
Eric Kohl b49a25a363 [NETAPI32]
Start the implementation of NetpNtStatusToApiStatus and NetLocalGroupEnum.

svn path=/trunk/; revision=57678
2012-11-05 22:51:08 +00:00
Jérôme Gardou 80dbb6e6d7 [USER32]
- Avoid casting double to int.
Should fix MSC build

svn path=/trunk/; revision=57677
2012-11-05 22:33:02 +00:00
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