Commit graph

52205 commits

Author SHA1 Message Date
Sylvain Petreolle
3e532bda01 Install the vga fonts needed for the Blue driver.
svn path=/trunk/; revision=57755
2012-11-24 01:23:13 +00:00
Hermès Bélusca-Maïto
da5ab71ded [SERVICES]
- (Re-)implement acquiring/releasing driver-loading and unloading privilege (Note: the two privileges have the same name SE_LOAD_DRIVER_NAME).
- Rework the SCM initialization code. In particular, acquiring the starting lock MUST BE done BEFORE starting the RPC server, otherwise, a program can try to start a service (and during this operation, the global start lock is acquired by the SCM) DURING the initialization of SCM, and in particular between the call to ScmStartRpcServer and ScmAcquireServiceStartLock. The SCM would then see an already-acquired start lock at this point and would fail to initialize. ==> This commit corrects this behaviour.

svn path=/trunk/; revision=57754
2012-11-24 00:53:01 +00:00
Eric Kohl
ba30f8c018 [LSASRV]
- LsarSetInformationPolicy: Add stubs for all missing case.
- Implement LsarSetAuditLog and LsarSetDefaultQuota.

svn path=/trunk/; revision=57753
2012-11-24 00:13:10 +00:00
Hermès Bélusca-Maïto
3f75d10725 [FREELDR]
When filling LoadOptions, strip the '/' commutator symbol in front of each option. Now we fully comply with Windows when holding LoaderBlock->LoadOptions, and the content of the registry value SystemStartOptions under HKLM\CurrentControlSet\Control display the options without their / symbol.

[WIN32K]
Now, the SystemStartOptions value doesn't contain / anymore.

svn path=/trunk/; revision=57752
2012-11-23 22:39:12 +00:00
Hermès Bélusca-Maïto
0981cdc216 [NTOSKRNL]
SystemBootDevice should be the ARC-formatted boot device (see what Windows does).

svn path=/trunk/; revision=57751
2012-11-23 20:41:28 +00:00
Hermès Bélusca-Maïto
7cdac802e3 The console boot switch is really named CONSOLE, not CMDCONS, since r29948.
svn path=/trunk/; revision=57750
2012-11-23 20:05:35 +00:00
Colin Finck
010dd80061 Revert 57718
svn path=/trunk/; revision=57748
2012-11-23 11:22:46 +00:00
Colin Finck
80a52b6aa4 Fix Unicode output on the console, broken in 33866, fixed in 34042, broken again in 38185, fixed again in 51058 and finally broken yet another time since 54651...
I think this history deserves champagne and forceful warning comments, which have been added.
Simple solution: Don't blindly sync Wine code!

#resolve #CORE-6495

svn path=/trunk/; revision=57747
2012-11-23 11:18:28 +00:00
Eric Kohl
392231efa4 [LSASRV]
Move set functions to the end of the file. No code changes!

svn path=/trunk/; revision=57746
2012-11-22 22:09:59 +00:00
Eric Kohl
1cbb837c1a [LSASRV]
LsarSetInformationPolicy: Add labels for unimplemented cases.

svn path=/trunk/; revision=57745
2012-11-22 21:25:15 +00:00
Eric Kohl
949d0c4bed [LSASRV]
- Create and set a security descriptor for newly created secrets.

svn path=/trunk/; revision=57742
2012-11-20 22:34:00 +00:00
Eric Kohl
bf98c11bae [LSASRV]
- Move LsapCreatePolicySd into a separate file.
- Create and set a security descriptor to newly created accounts.

svn path=/trunk/; revision=57737
2012-11-19 21:33:07 +00:00
Eric Kohl
4874b78fd4 [INCLUDE]
Add generic rights for account and secret objects.

svn path=/trunk/; revision=57736
2012-11-19 17:28:36 +00:00
Eric Kohl
8a858bc0d1 [LSASRV]
Implement LsarQuerySecurityObject.

svn path=/trunk/; revision=57735
2012-11-18 21:42:14 +00:00
Eric Kohl
4a3e29dc6c [LSASRV]
Create a security descriptor for the policy object and store as attribute "SecDesc".

svn path=/trunk/; revision=57733
2012-11-18 15:19:14 +00:00
Johannes Anderwald
59ce999f95 - Fix build
- Partly revert 57718

svn path=/trunk/; revision=57719
2012-11-17 16:01:29 +00:00
Johannes Anderwald
38b84d3f65 - Don't compile apps with Unicode as ReactOS console screenbuffer is not supporting this yet
- fixes #CORE-6495, #CORE-6786

svn path=/trunk/; revision=57718
2012-11-17 15:50:39 +00:00
James Tabor
edee22de36 [PSDK|User32]
- Fix error return for future wine Win.c test_map_points tests.
- Add missing error code.

svn path=/trunk/; revision=57716
2012-11-16 23:23:49 +00:00
James Tabor
f6f71e3fd1 [Win32k]
- Rewrite message events to use posting to queues instead of sending them. See CORE-6551.

svn path=/trunk/; revision=57704
2012-11-14 03:45:55 +00:00
Eric Kohl
809352b8d8 [NETAPI32]
NetLocalGroupEnum: Add code to return information about a single alias to the caller.
Now, the user account control panel enumerates the built-in groups. ;-)

svn path=/trunk/; revision=57700
2012-11-11 22:28:08 +00:00
James Tabor
22bcb6ceaf [Win32k]
- Implement Gdi32 counterpart SetStretchBltMode for Win32k.

svn path=/trunk/; revision=57699
2012-11-11 03:18:21 +00:00
James Tabor
5b39db6a1e [Win32k]
- Fix api test crash.

svn path=/trunk/; revision=57698
2012-11-11 03:01:58 +00:00
Hermès Bélusca-Maïto
c2ad2fb56b [MSGINA]
Resize the dialogs to fit the ReactOS image, and add the logo to the "Please wait..." dialog
(which is displayed when a user is logging-on or quitting his session and the "Save your parameters..."
message is displayed). Now ReactOS looks perfect.

svn path=/trunk/; revision=57697
2012-11-11 01:54:11 +00:00
Hermès Bélusca-Maïto
86683a28ff [MSGINA]
Introduce a new logon image.
Resizing the dialog boxes remains to do.

svn path=/trunk/; revision=57696
2012-11-10 23:45:08 +00:00
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