Commit graph

60503 commits

Author SHA1 Message Date
Hervé Poussineau
994d960b81 [NTOS:IOMGR] When booting from a ramdisk, always assign drive letter X: to it
The only incomplete part to boot the LiveCD from PXE is some support in ramdisk.sys

svn path=/trunk/; revision=65868
2014-12-28 22:33:17 +00:00
Hervé Poussineau
74872db16c [NTOS:PNPMGR] Implement IoGetDeviceProperty/DevicePropertyInstallState case
svn path=/trunk/; revision=65867
2014-12-28 22:33:11 +00:00
Hervé Poussineau
aa38d68da9 [FREELDR] Add missing dependency (required by scsiport.c)
svn path=/trunk/; revision=65866
2014-12-28 22:15:34 +00:00
Hervé Poussineau
3ce44c57db [WHOAMI] Better error message when we're unable to find the logon SID
svn path=/trunk/; revision=65865
2014-12-28 22:15:08 +00:00
Pierre Schweitzer
a371a9b498 [NTOSKRNL]
Add missing specifiers

svn path=/trunk/; revision=65864
2014-12-28 21:29:32 +00:00
Hermès Bélusca-Maïto
f2f466977a [WIN32K]
A bit of code reorganization:
- move a maximum of typedefs into their corresponding headers,
- move user heap functionality into a dedicated header,
- add a note in some functions that the first heap mapping entry in the W32 process info structure is dedicated for the global user heap mapping,
- remove extra-parenthesis in casts.

svn path=/trunk/; revision=65863
2014-12-28 20:50:35 +00:00
Pierre Schweitzer
1c36df367b [NTOSKRNL]
- In case of AssignSecurityDescriptor operation in IopGetSetSecurityObject(), put the security descriptor in cache before attempting the assignement
- In IopUnloadDevice(), don't attempt to free the security descriptor, let this to Ob by just derefencing it. Spotted & fixed by Thomas.

This unregresses VMware Tools installation.

CORE-7991

svn path=/trunk/; revision=65862
2014-12-28 18:31:06 +00:00
Hermès Bélusca-Maïto
3b73052bf8 [WIN32K]
Split init code into GDI part and USER part. Don't use Eng* functions to initialize the InputIdleEvent.
Part 2/x

svn path=/trunk/; revision=65861
2014-12-28 15:28:00 +00:00
Pierre Schweitzer
14cce518d3 [NTOSKRNL]
Also lock IopSecurityResource during access check in IopParseDevice

svn path=/trunk/; revision=65860
2014-12-28 13:15:14 +00:00
Thomas Faber
938f228699 [MSI]
- Apply Wine commit f41ac94e (msi: Include the terminating null in the buffer size for decoded stream names.) by Hans Leidekker. Fixes a stack buffer overflow when installing VMware Tools.

svn path=/trunk/; revision=65859
2014-12-28 13:05:48 +00:00
Hermès Bélusca-Maïto
37f198c7d6 [WIN32K]: Rework a bit the initialization code to modularize it a bit (some parts to be reused in other places). Part 1/x
svn path=/trunk/; revision=65858
2014-12-28 13:00:28 +00:00
Pierre Schweitzer
594d5a3366 [NTOSKRNL]
Acquire IopSecurityResource exclusive when required. Spotted by Thomas.

svn path=/trunk/; revision=65857
2014-12-28 12:57:58 +00:00
Pierre Schweitzer
ecb6067cf0 [NTOSKRNL]
- Implement IopGetDeviceAttachmentBase() which allows getting the base device of the device stack given any device object in it
- Implement IopGetDevicePDO() which returns the physical device object of the device stack given any device object in it
- Implement IopSetDeviceSecurityDescriptor() which will swap the old security descriptor of a device object with a new provided one
- Implement IopSetDeviceSecurityDescriptors() which will swap the old security descriptor with a new provided one in all the device objects from the lowest provided to the uppest provided one.
- Fix a fixme in IopGetSetSecurityObject(), the operation SetSecurityDescriptor is now fully implemented for both PDO & DO.

This is required by VMware driver vmci.sys.
Even though, the installation doesn't get any better; it just changes the BSOD, we now face a memory corruption (in SE).

CORE-7991

svn path=/trunk/; revision=65856
2014-12-28 10:05:29 +00:00
Eric Kohl
cdc15f3bc5 [USETUP]
Update the on-disk partition tables immediately after modifying the in-memory tables. 

svn path=/trunk/; revision=65855
2014-12-28 09:16:41 +00:00
Aleksey Bragin
9bf8864501 [RAPPS]
- Add another tiny text-editor Akelpad, which works "good enough" in ReactOS.
Suggested by sergeygraf@yandex.ru, patch created by rechitskiy@reactos.org

svn path=/trunk/; revision=65854
2014-12-27 22:19:36 +00:00
Hervé Poussineau
040f158fa7 [ADVAPI/LSASRV] Implement LookupPrivilegeDisplayNameA, LookupPrivilegeDisplayNameW, LsaLookupPrivilegeDisplayName, LsarLookupPrivilegeDisplayName
Also partly implement LsarpLookupPrivilegeDisplayName (currently, privilege description is the same as privilege name)

svn path=/trunk/; revision=65853
2014-12-27 19:57:42 +00:00
Hermès Bélusca-Maïto
a306e56c55 [WIN32K]
- Put GDI initialization function(s) in a dedicated file.
- Whitespace fixes...

svn path=/trunk/; revision=65852
2014-12-27 19:16:05 +00:00
David Quintana
1db4f01f36 [FRAMEDYN]
* Actually use the right declaration. Fixes MSVC builds.

svn path=/trunk/; revision=65851
2014-12-27 14:04:32 +00:00
Pierre Schweitzer
f89f1cdf72 [NTOSKRNL]
Rename IopSecurityFile() to IopGetSetSecurityObject()

svn path=/trunk/; revision=65850
2014-12-27 13:46:00 +00:00
Pierre Schweitzer
acd3478e17 [FRAMEDYN]
Partly implement the Provider class from WMI.
This allows VMware Tools installer to complain a bit less about imports not found.

The installation still fails and still ends with a BSOD though.

CORE-7991

svn path=/trunk/; revision=65849
2014-12-27 13:33:14 +00:00
Daniel Reimer
959a34dc79 [RAPPS]
Add WINE Mono to RAPPS
CORE-8871 #resolve #comment Added to RApps DB.

svn path=/trunk/; revision=65848
2014-12-27 13:00:03 +00:00
Eric Kohl
27ff04d62b [USETUP]
- Re-enable the partition size check and display a warning if the install partition is too small.
- Update the required install partition size to 550MB.

svn path=/trunk/; revision=65847
2014-12-27 12:33:59 +00:00
Eric Kohl
9eba5bef02 [USETUP]
AddPartitionToDisk: Initialize DiskEntry pointer for existing partition entries.

svn path=/trunk/; revision=65846
2014-12-27 10:15:32 +00:00
James Tabor
5960c70f39 [Win32ss]
- Add header for Ime information. Setup support for Ime types and hot keys.
- Finish keyboard processing changes and call Imm process key for callback to user mode.

svn path=/trunk/; revision=65845
2014-12-27 06:59:29 +00:00
James Tabor
606ab6ed88 [w32knapi]
- Add Imm.h.

svn path=/trunk/; revision=65844
2014-12-27 06:33:48 +00:00
James Tabor
b4b8065c8c [Include]
- Add mod switch for SAS hotkey support.
- Add ImmProcessKey return flags, works the same as ImmProcessHotKey for WinCE.

svn path=/trunk/; revision=65843
2014-12-27 04:18:17 +00:00
James Tabor
594e534dd0 [Win32k]
- Move IME from stubs into its own file. Add flags and types to main header.
- Later, how to add Ime.h from mingw (tested it and works) and not effect VC++ ? VC SDK has Ime.h.
- Getting ready for Window Class update based on current wine tests.

svn path=/trunk/; revision=65842
2014-12-27 03:00:09 +00:00
Hermès Bélusca-Maïto
5f8ea303ee Whitespace fix.
svn path=/trunk/; revision=65841
2014-12-26 20:55:30 +00:00
Amine Khaldi
c84c201e3a [DXDIAG] Fix tab content redraw problem. By Lee Schroeder. CORE-8734
svn path=/trunk/; revision=65840
2014-12-26 14:33:14 +00:00
Amine Khaldi
9770259814 [FONTVIEW][MPLAY32][MSPAINT][TASKMGR] Chinese (zh-CN) translation update by Henry Tang Ih. CORE-8935
svn path=/trunk/; revision=65839
2014-12-26 14:18:02 +00:00
Amine Khaldi
55a9afa14c [WINLOGON][USER32] SetLogonNotifyWindow has only one parameter. Spotted by Giannis Adamopoulos. CORE-8174
svn path=/trunk/; revision=65838
2014-12-26 14:06:23 +00:00
Eric Kohl
9b71ae1269 [NOTEPAD]
Fix check mark of the status bar menu item.
Fix is based on mudheads patch.
CORE-8297 #resolve

svn path=/trunk/; revision=65837
2014-12-26 14:06:19 +00:00
Eric Kohl
df82e81f89 [SYSDM]
Fix startup and recovery option dialog issues.
Patch by Ricardo Hanke.
Thanks a lot!
CORE-8952 #resolve

svn path=/trunk/; revision=65836
2014-12-26 13:11:57 +00:00
Hermès Bélusca-Maïto
bf2b5fda05 [WIN32K]: Anecdotal formatting/renaming changes before reusing this code in other parts of wijn32k.
svn path=/trunk/; revision=65835
2014-12-26 12:06:43 +00:00
Pierre Schweitzer
5ad81a46e3 [DXDIAG]
Update French translation

svn path=/trunk/; revision=65834
2014-12-26 11:40:17 +00:00
Hervé Poussineau
6a3a03c719 [FREELDR] Support custom SystemPath and ramdisk in setup phase
We can now start ReactOS installation via PXE boot.

svn path=/trunk/; revision=65833
2014-12-26 11:38:43 +00:00
Hervé Poussineau
948e82af18 [FREELDR] Merge setupldr_pe and freeldr_pe
svn path=/trunk/; revision=65832
2014-12-26 11:38:39 +00:00
Hervé Poussineau
d8fc6d0000 [NTFS] Be verbose only on unimplemented FSCTL requests we're supposed to handle
svn path=/trunk/; revision=65831
2014-12-26 11:38:35 +00:00
Hervé Poussineau
723f55af2c [NTOS:CC] Fix some debug prints
svn path=/trunk/; revision=65830
2014-12-26 11:38:31 +00:00
Pierre Schweitzer
373fb8c25c [CHARMAP]
Fix the following issues:
- Skip rotated font (font name starting with "@" char)
- Fix a comment (misspelled "Richedit")
- Fix enlarged preview font in font name is long (it truncated font name in 31 chars when copying)
- Fix 2 magic values (255 here is not meaningful, and it doesn't even entirely showing Unicode Plane 0) 

Patch by Roy Tam.

CORE-8966 #resolve #comment Thanks. Commited in r65829.

svn path=/trunk/; revision=65829
2014-12-26 11:02:47 +00:00
James Tabor
51cd3cccb9 - Patch by Aric Stewart : Pass WM_IME_CONTROL messages to the IME.
svn path=/trunk/; revision=65828
2014-12-26 00:44:36 +00:00
Thomas Faber
fdc61d524b [WIN32K:NTUSER]
- Don't forget to ProbeForWrite in NtUserProcessConnect
- Use SEH in NtUserSetInformationThread:UserThreadCsrApiPort

svn path=/trunk/; revision=65827
2014-12-25 23:10:47 +00:00
Pierre Schweitzer
8783434e42 [WHOAMI]
Add French translation
It's totally broken though because the util directly writes Unicode to console. That should be fixed (see CORE-8965).

svn path=/trunk/; revision=65826
2014-12-25 22:01:29 +00:00
Hermès Bélusca-Maïto
ea4e02fba0 [USER32]
- CreateSystemThreads' parameter is unused, and the parameter of ONEPARAM_ROUTINE_CREATESYSTEMTHREADS win32k system call is set to TRUE when creating system threads in "remote processes", i.e. not CSRSS.
- Few code formatting fixes.
CORE-8949

svn path=/trunk/; revision=65825
2014-12-25 15:50:07 +00:00
Hermès Bélusca-Maïto
5195c10036 [WIN32K]: Change the enum id name for something meaningful (here: PROC == process and not procedure).
svn path=/trunk/; revision=65824
2014-12-25 15:27:31 +00:00
Hermès Bélusca-Maïto
13a6f58a0a [USER32]: Fix whitespace. Everybody knows that our user32/win32k modules are the best examples of good programming, indentation rules and so on...
svn path=/trunk/; revision=65823
2014-12-25 15:03:48 +00:00
David Quintana
fca4b3f636 [RSHELL]
* Add a copy of CBandSite to rshell, so we can debug it in windows with our explorer.

svn path=/trunk/; revision=65822
2014-12-24 17:00:53 +00:00
David Quintana
3b182d93b2 [BROWSEUI]
* Do not make browseui an NT6 dll just because it has a missing include and it needs a few previously undocumented constants. We can just define them in an undoc header.

svn path=/trunk/; revision=65821
2014-12-24 16:14:10 +00:00
Hermès Bélusca-Maïto
7afb72e9a2 [WIN32K]
Fix NtUserProcessConnect to use the process handle we give to it, instead of the "current process"... This should fix the user32 CSR connection that I was failing to fix in previous revisions...
CORE-8949

svn path=/trunk/; revision=65820
2014-12-24 15:48:37 +00:00
Hermès Bélusca-Maïto
84b91a7f5f [NETSHELL]
Fix flags usage for LoadImage / CopyImage, that made network tray applet icons uglily being downscaled from 32px versions instead of their 16px counterparts.

svn path=/trunk/; revision=65819
2014-12-24 15:25:42 +00:00