Commit graph

60296 commits

Author SHA1 Message Date
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
James Tabor
e0bd16e270 - Fix, always something, thank you Thomas.
svn path=/trunk/; revision=65818
2014-12-24 00:18:03 +00:00
Hermès Bélusca-Maïto
56347a8b98 [WIN32K]
Reintroduce CSR support for kernel mode, based on code from Ge that was wiped out in revision 58770, and by ntdll CSR code. Is needed for kernel to user-mode CSR callbacks.

For readers, I remind you the big callback picture in the Win32 subsystem:
- In Windows NT 3.1 and 3.51, USER and GDI was modeled against client/server model (USER32.DLL and WINSRV.DLL, and GDI32.DLL and GDISRV.DLL), all running in user mode (using the CSR API).
- Starting Windows NT 4.0 (and up), some USER and GDI parts were moved into kernel mode (in the WIN32K.SYS driver) to speedup communication. We get:
  * GDI32.DLL as the client, doing win32k system calls (kernel-mode system calls to win32k),
  * and USER32.DLL, WINSRV.DLL and WIN32K.SYS working in tandem, USER32.DLL being the client and {WINSRV.DLL, WIN32K.SYS} being the server.
    USER32.DLL can do win32k system calls or CSR calls to WINSRV.DLL (client to server calls). For server-to-server calls, we have WINSRV.DLL
    doing win32k system calls, or WIN32K.SYS doing CSR calls back to WINSRV.DLL . Also, there is the possibility for WIN32K.SYS to make user-mode
    callbacks to USER32.DLL.

svn path=/trunk/; revision=65817
2014-12-23 21:17:24 +00:00
Hermès Bélusca-Maïto
eacca6fe3e [NTDLL]: Whitespace fixes. No code changes.
svn path=/trunk/; revision=65816
2014-12-23 20:35:42 +00:00
James Tabor
4b6fb8acdf [NtUser]
- Crash while in recursion through hook calls. Move fast calls to api. Placed safe guards for removing message queue structures. Lock threads while calling hooks. Just add paranoid code to prevent recursion freeing that will crash the kernel at some point. Fixes OpenMPT crashes, see CORE-8819. This might improve the same issues with CORE-6734.

svn path=/trunk/; revision=65815
2014-12-23 19:05:44 +00:00
Amine Khaldi
117b0daf21 [KDVBOX] Properly handle the ASM source file.
svn path=/trunk/; revision=65814
2014-12-23 19:01:02 +00:00
Timo Kreuzer
69512e2d9b [KDVBOX]
Implement a virtualkd compatible kernel debugger transport DLL. I started this, because I didn't manage to get the original one working, but it turned out, the original one works, you only need to use the correct virtualkd version. Anyway, it's there now. A virtualkd version that works with VBox 4.3.16+ can be found here: http://forum.sysprogs.com/viewtopic.php?f=4&t=3370 or here: http://public.avast.com/~hnanicek/VirtualKd.zip
The folder is called kdvm, since I thought about adding support for VMWare as well, but here the original one probably works as well.
Also fix my email address in some files.

svn path=/trunk/; revision=65813
2014-12-23 17:48:16 +00:00
Hermès Bélusca-Maïto
a9305dd7bb [SHORTCUTS]
Fix Explorer shortcut icon. Patch by Jared.
CORE-8955 #resolve #comment Fixed in r65812, thanks!

svn path=/trunk/; revision=65812
2014-12-23 17:11:00 +00:00