Commit graph

34501 commits

Author SHA1 Message Date
Aleksey Bragin
a3c29b9686 - Delete npfs_new skeleton. One rewrite less.
svn path=/trunk/; revision=38776
2009-01-15 19:15:26 +00:00
KJK::Hyperion
936851e20d Sync widl, comcat, ole32, oleaut32 and rpcrt4 to wine 1.1.12
widl can now automatically generate boilerplate code for DLLs hosting RPC proxies (and ole32 and oleaut32 now use this feature): invoke the generation automatically from rbuild rules for rpcproxy modules

svn path=/trunk/; revision=38774
2009-01-15 17:52:35 +00:00
Aleksey Bragin
dea2fe126b - Move batclass.h to PSDK, since it's a PSDK header.
- Remove inclusion of it from DDK's ntpoapi.h.

svn path=/trunk/; revision=38773
2009-01-15 17:22:28 +00:00
Dmitry Chapyshev
a45da19ead - Move SetThreadExecutionState to power.c
- Implement IsSystemResumeAutomatic
- Implement SetThreadExecutionState

svn path=/trunk/; revision=38772
2009-01-15 17:07:01 +00:00
Aleksey Bragin
75ee158474 - Revert 38770's modifications to NDK.
- Temporary move Nt power function prototypes inside power.c file.

svn path=/trunk/; revision=38771
2009-01-15 16:52:50 +00:00
Dmitry Chapyshev
6dea7537bb - Implement GetDevicePowerState
- Implement RequestWakeupLatency
- Add prototypes for GetDevicePowerState and RequestWakeupLatency to pofuncs.h

svn path=/trunk/; revision=38770
2009-01-15 16:09:03 +00:00
Dmitry Chapyshev
154c781d64 - Add power.c file for power management functions
- Move GetSystemPowerStatus, SetSystemPowerState, GetDevicePowerState, RequestDeviceWakeup, RequestWakeupLatency, CancelDeviceWakeupRequest, IsSystemResumeAutomatic, and SetMessageWaitingIndicator to power.c
- Implement GetSystemPowerStatus

svn path=/trunk/; revision=38769
2009-01-15 15:32:30 +00:00
Stefan Ginsberg
3c445f492d - DbgkpSendApiMessage/Lpc: Modification of EPROCESS flags must be interlocked, use PspSetProcessFlag.
- DbgkMap/UnmapViewOfSection: Don't check for the DeadThread flag, doing so is only necessary during early thread creation.
- DbgkCreateThread: Set the StartAddress pointer in the case where we only send the Create Thread message. Also, we should receive the target thread as the first parameter.
- NtDebugActiveProcess: Don't allow debugging the current process.
- NtDebugContinue: We should signal the Debug Object, not the Debug Event. Also make sure we pass the correct event to DbgkpWakeTarget.
- NtWaitForDebugEvent: Cleanup probe and capture of the input timeout.

svn path=/trunk/; revision=38768
2009-01-15 13:14:37 +00:00
Dmitry Chapyshev
a0520cb3ae - Implement FlashWindow
svn path=/trunk/; revision=38766
2009-01-15 10:18:10 +00:00
Johannes Anderwald
e284c5d6a8 - sorry folks
svn path=/trunk/; revision=38765
2009-01-14 21:47:54 +00:00
Stefan Ginsberg
2de45ffbc0 - Revert 38762 to fix build
svn path=/trunk/; revision=38764
2009-01-14 19:55:51 +00:00
Matthias Kupfer
67dd2ec87d Mario Kacmar <kario AT szm DOT sk>
- Fix Switch-To Button, enable only if one selected application.
- See issue #4028 for more details.

svn path=/trunk/; revision=38763
2009-01-14 18:12:43 +00:00
Johannes Anderwald
f8e5a94969 - Implement PcForwardIrpSynchronous
svn path=/trunk/; revision=38762
2009-01-14 17:14:20 +00:00
Stefan Ginsberg
be69d2aa50 - DBGK: Use flags instead of magic values for Debug Events -- names taken from http://neitsabes.online.fr/dc/index.php?2007/12/04/7-ntqueryinformationprocess-processinfoclass-30
svn path=/trunk/; revision=38761
2009-01-14 14:55:46 +00:00
KJK::Hyperion
d62fc8535e deleted lib/pseh/framebased-gcchack.c
added      lib/pseh/i386/framebased-gcchack-asm.S
added      lib/pseh/i386/framebased-gcchack.c
deleted    lib/pseh/i386/framebased-gcchack.S
modified   lib/pseh/pseh.rbuild
   framebased-gcchack.c is irreversibly married to the x86 architecture. Move it to the appropriate place
   Rename framebased-gcchack.S because its base name now conflicts with framebased-gcchack.c

svn path=/trunk/; revision=38760
2009-01-14 14:51:23 +00:00
Kamil Hornicek
53d48069ba [FORMATTING] Fix indentation. No code change.
svn path=/trunk/; revision=38759
2009-01-14 14:41:25 +00:00
Aleksey Bragin
bc6a89af41 - Add stubs for VolumeControlBlock structure, VolumeDeviceObject,
- Improve FAT_IRP_CONTEXT structure to suit future needs.
- Some more cleanup of fastfat.h (to be separated into a few headers as shown by Alex Vlasov).
- Implement FatBuildIrpContext / FatDestroyIrpContext.
- Implement FatCompleteRequest.
- Implement dispatching of FSCTRL requests.
- DPRINT->DPRINT1 for all unimplemented functions.
- We receive a mount volume request!

svn path=/trunk/; revision=38755
2009-01-14 10:42:56 +00:00
Aleksey Bragin
2ed6687632 - Revert 38750, a dereference happens when that hook is freed by IntFreeHook.
- Change thread dereferencing mechanism in NtUserSetWindowsHookEx:
 * A thread may be referenced in some cases when it's a system-wide hook, however dereference flag was not set for these, so they leaked a reference. Add a ThreadReferenced boolean var to track real references, and set hook's flag according to it.
 * There should be no need to call ObDereferenceObject on a thread when a call to IntRemoveHook was already performed (in failure branches). IntFreeHook() will dereference the thread object.

svn path=/trunk/; revision=38754
2009-01-14 09:51:50 +00:00
Christoph von Wittich
3bb7973d97 fix jim's copypasta
svn path=/trunk/; revision=38753
2009-01-14 07:09:25 +00:00
James Tabor
e3b9b100e1 - Added stubs to timers, tooling up to change over to handled timers. This is related to just about everything. From Carets to window positions.
svn path=/trunk/; revision=38752
2009-01-14 02:02:26 +00:00
Stefan Ginsberg
953cecc715 - KDBG: Correct the use of PsLookupThread/ProcessByThread/ProcessId -- the caller must dereference the Thread/Process after use
svn path=/trunk/; revision=38751
2009-01-14 00:34:24 +00:00
Stefan Ginsberg
3ca6b9e650 - NtUserSetWindowsHookEx: Don't leak a thread reference in case we are passed a Thread Id
svn path=/trunk/; revision=38750
2009-01-13 23:41:34 +00:00
Johannes Anderwald
5bc4586475 - Copy provided PCM_RESOURCE_LIST when a new ResourceList is created
svn path=/trunk/; revision=38748
2009-01-13 22:36:03 +00:00
Matthias Kupfer
2b06cfc0ef Víctor Martínez Calvo <vicmarcal AT hotmail DOT com>
- Fix dir command behavior for files without extension.
- See issue #3968 for more details.

svn path=/trunk/; revision=38746
2009-01-13 15:21:08 +00:00
James Tabor
0c4b617c16 - Re-implement NtUserDispatchMessage and implement NtUserValidateTimerCallback.
svn path=/trunk/; revision=38745
2009-01-13 12:16:06 +00:00
Aleksey Bragin
732b0f6f65 - Remove unneeded functions.
- Cleanup, reformat, remove static.

svn path=/trunk/; revision=38744
2009-01-13 12:13:21 +00:00
Cameron Gutman
71f5b95706 - Merge aicom-network-fixes up to r38730
svn path=/trunk/; revision=38743
2009-01-13 02:34:39 +00:00
Thomas Bluemel
9452b7e23c Remove unused code
svn path=/trunk/; revision=38742
2009-01-13 00:34:32 +00:00
James Tabor
a035fd4e21 - Un-implement NtUserDispatchMessage.
- First of all, it is incorrect. I had a rant that I was going to send to the private mail list, but this will do.
- No more "New Standards"! The Window object should already know it is ANSI or not. A pointer to MSG is the only thing passed.


svn path=/trunk/; revision=38741
2009-01-12 23:36:10 +00:00
Timo Kreuzer
a10da42dd1 winbase.h: Add EncodePointer, DecodePointer, EncodeSystemPointer and DecodeSystemPointer
svn path=/trunk/; revision=38740
2009-01-12 22:47:25 +00:00
Timo Kreuzer
02c15ae9f7 Sync edit.c with wine head (Wine-1_1_12)
Reduces failures from 18 to 13 and test doesn't keep a window open anymore.

(Partly) revert 29649, 33848, 33909, 33910 as it's now implemented by wine

1.4 Francois Gouget <fgouget@free.fr>
Don't put single quotes around '%s' when using the debugstr_*() functions.

1.5 Huw Davies <huw@codeweavers.com>
user32: Keep track of whether the app has asked for the text buffer handle.

1.9 Dmitry Timoshkov <dmitry@codeweavers.com>
user32: Fix some compilation warnings in 64-bit mode.

1.15 Alexandre Julliard <julliard@winehq.org>
user32: Store the builtin class names in Unicode.

1.16 Andrew Talbot <andrew.talbot@talbotville.com>
user32: Constify some variables.

1.17 Gerald Pfeifer <gerald@pfeifer.com>
user32: Factor in EDIT_WM_EraseBkGnd().

1.18 Andrew Talbot <andrew.talbot@talbotville.com>
user32: Remove unneeded casts.

1.19 Marcus Meissner <marcus@jet.franken.de>
user32: Handle error returns from ImmGetCompositionString.

1.20 Lei Zhang <thestig@google.com>
user32: Tweak how the edit control handles WM_GETDLGCODE.

1.21 Lei Zhang <thestig@google.com>
user32: Handle WM_CHAR messages better in edit controls.

1.22 Lei Zhang <thestig@google.com>
user32: Correctly handle VK_RETURN for edit controls with ES_WANTRETURN style.

1.23 Lei Zhang <thestig@google.com>
user32: Fix WM_CHAR return value for edit controls.

1.24 Lei Zhang <thestig@google.com>
user32: Handle ES_MULTILINE correctly for WM_KEYDOWN/VK_RETURN.

1.25 Lei Zhang <thestig@google.com>
user32: Handle VK_ESCAPE correctly in EDIT_WM_KeyDown.

1.26 Lei Zhang <thestig@google.com>
user32: Add edit control check to see if its in a dialog on WM_CHAR/VK_RETURN.

1.27 Lei Zhang <thestig@google.com>
user32: Add edit control check to see if its in a dialog on WM_CHAR/VK_TAB.

1.28 Lei Zhang <thestig@google.com>
user32: Fix a typo.

1.29 Lei Zhang <thestig@google.com>
user32: Handle VK_TAB in EDIT_WM_KeyDown.

1.30 Lei Zhang <thestig@google.com>
user32: Do checks in the right order in EDIT_BuildLineDefs_ML.

1.31 Lei Zhang <thestig@google.com>
user32: Handle ctrl + home in edit control.

1.32 Lei Zhang <thestig@google.com>
user32: Handle ctrl + end in edit control.

1.33 Alexandre Julliard <julliard@winehq.org>
user32: Added support for WS_EX_RIGHT in the edit control.

1.34 Kusanagi Kouichi <slash@ma.neweb.ne.jp>
user32: Handle IME messages more gracefully.

1.35 Alexandre Julliard <julliard@winehq.org>
user32: Remove redundant LocalUnlock calls.

1.36 Austin English <austinenglish@gmail.com>
Spelling fixes.

1.37 Lei Zhang <thestig@google.com>
user32: Handle VK_RETURN WM_KEYDOWN events better in edit controls.
Elias Benali wrote the initial version of this patch.

1.38 Lei Zhang <thestig@google.com>
user32: Edit controls should ignore WM_KEYDOWN on control + enter.

1.39 Andrew Talbot <andrew.talbot@talbotville.com>
user32: Remove unused variables.

1.40 Hongbo Ni <hongbo@njstar.com>
user32: Implement WM_UNICHAR for edit control.

1.41 Lei Zhang <thestig@google.com>
user32: Send messages for edit control context menu operations.

1.42 Aric Stewart <aric@codeweavers.com>
user32: Make sure our vertical line count is at least 1 even if there is an oversized font in the edit control.

1.43 Michael Stefaniuc <mstefani@redhat.de>
user32: Remove superfluous casts of void pointers.

1.44 Francois Gouget <fgouget@codeweavers.com>
user32: Remove WINAPI/CALLBACK on static functions where not needed.


svn path=/trunk/; revision=38739
2009-01-12 22:03:00 +00:00
Dmitry Gorbachev
24ffd04056 Update Spanish translations.
Patch from Javier Remacha (remialdo gmail com). Bug #4021.

svn path=/trunk/; revision=38738
2009-01-12 21:18:57 +00:00
Timo Kreuzer
b025eddd79 revert last commit insetad remove UNICODE_NOCHAR from wine/winuser.h
svn path=/trunk/; revision=38737
2009-01-12 21:12:10 +00:00
Timo Kreuzer
4ca5586a80 define UNICODE_NOCHAR only if it wasn't already defined
svn path=/trunk/; revision=38736
2009-01-12 20:59:51 +00:00
Timo Kreuzer
15c3798cac Sort window messages by num, add WM_MENUDRAG, WM_MENUGETOBJECT, WM_UNICHAR
svn path=/trunk/; revision=38735
2009-01-12 20:49:08 +00:00
James Tabor
fe1e8cc06f - Sort out common used DCE flags.
svn path=/trunk/; revision=38734
2009-01-12 20:43:34 +00:00
James Tabor
9378c725cf - Fix another wine test for SetWindowPos.
svn path=/trunk/; revision=38733
2009-01-12 20:00:41 +00:00
Johannes Anderwald
10462d3a41 - fix me (add missing file)
svn path=/trunk/; revision=38732
2009-01-12 18:40:08 +00:00
Johannes Anderwald
efbe4ec231 - Implement IPortTopology::NewRegistryKey, IPortWavePci::NewRegistryKey
- Implement PcRegisterPhysicalConnection, PcRegisterPhysicalConnectionFromExternal, PcRegisterPhysicalConnectionToExternal- Implement PcRequestNewPowerState

svn path=/trunk/; revision=38731
2009-01-12 18:37:02 +00:00
Stefan Ginsberg
ca7c2576bb - Revert to pre-38722 to unbreak build
svn path=/trunk/; revision=38728
2009-01-12 17:52:03 +00:00
Aleksey Bragin
cf776e38c2 - Stubplement handlers for all needed IRP_MJ except EA and PNP one.
- Cleanup remains of unneeded functions.

svn path=/trunk/; revision=38726
2009-01-12 17:04:13 +00:00
Aleksey Bragin
45c73d1f38 - Cleanup header file.
- Add sync resource to the global data and initialize it.
- Remove unneeded block device access functions.

svn path=/trunk/; revision=38725
2009-01-12 16:31:22 +00:00
Dmitry Gorbachev
4e52f2d1e3 BATCH_BUFFSIZE -> 8192.
svn path=/trunk/; revision=38724
2009-01-12 16:13:06 +00:00
Johannes Anderwald
db8b3ac429 - Implement PcRequestNewPowerState
svn path=/trunk/; revision=38723
2009-01-12 15:57:49 +00:00
Johannes Anderwald
0afaa05791 - Implement IPortTopology::NewRegistryKey, IPortWavePci::NewRegistryKey
- Implement PcRegisterPhysicalConnection, PcRegisterPhysicalConnectionFromExternal, PcRegisterPhysicalConnectionToExternal

svn path=/trunk/; revision=38722
2009-01-12 15:20:45 +00:00
Aleksey Bragin
25b0bc6e8f - Remove leftover from 38352 and 38353, sorry.
svn path=/trunk/; revision=38721
2009-01-12 15:13:44 +00:00
Michael Martin
31efcbd841 - Revert 38719.
svn path=/trunk/; revision=38720
2009-01-12 12:29:53 +00:00
Michael Martin
5888e8aa1c - Re-enable pipe tests as the npfs driver is in much better shape.
- Change the timeout value passed to WaitForSingleObject to 20 so tests pass on slower systems.
- Re-enable process console test as they now complete.

svn path=/trunk/; revision=38719
2009-01-12 12:13:54 +00:00
Timo Kreuzer
cfdb62c4a4 update README.WINE
svn path=/trunk/; revision=38718
2009-01-12 03:20:27 +00:00
Timo Kreuzer
6ee72ec6cb Sync wsprintf.c to wine head (Wine-1_1_12)
Alexandre Julliard <julliard@winehq.org>
user32: Convert wvsprintfA/W to use an MS ABI vararg list for x86_64.

svn path=/trunk/; revision=38717
2009-01-12 02:46:45 +00:00