reactos.git
14 years agoSync Apps to wine HEAD (1 of 2)
Daniel Reimer [Sat, 17 Jan 2009 19:59:22 +0000 (19:59 +0000)]
Sync Apps to wine HEAD (1 of 2)

svn path=/trunk/; revision=38842

14 years agosync mapi32 with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 19:59:02 +0000 (19:59 +0000)]
sync mapi32 with wine 1.1.13

svn path=/trunk/; revision=38841

14 years agoConvert all line-endings to LF first in StringOut before passing the strings to print...
Colin Finck [Sat, 17 Jan 2009 19:58:18 +0000 (19:58 +0000)]
Convert all line-endings to LF first in StringOut before passing the strings to printf and OutputDebugStringA.
Both functions treat the string as text and convert the line-endings themselves to CRLF. If you already give them a CRLF line-ending, it'll be converted to CRCRLF..
By unifying the line-endings in StringOut, it is also possible now to pass both LF and CRLF to the function.

This should fix the empty lines in the BuildBot log.
Thanks to Christoph for the help!

svn path=/trunk/; revision=38840

14 years agosync fusion with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 19:56:32 +0000 (19:56 +0000)]
sync fusion with wine 1.1.13

svn path=/trunk/; revision=38839

14 years agosync wrc to wine 1.1.3 (except lang2cp struct as too many strange languages were...
Christoph von Wittich [Sat, 17 Jan 2009 19:46:42 +0000 (19:46 +0000)]
sync wrc to wine 1.1.3 (except lang2cp struct as too many strange languages were added in wine)

svn path=/trunk/; revision=38838

14 years ago-Dmitry Timoshkov <dmitry at codeweavers.com>
Christoph von Wittich [Sat, 17 Jan 2009 19:27:13 +0000 (19:27 +0000)]
-Dmitry Timoshkov <dmitry at codeweavers.com>
wrc: Warn for duplicate dialog ids.

svn path=/trunk/; revision=38837

14 years agoforgot to commit this file
Christoph von Wittich [Sat, 17 Jan 2009 19:18:06 +0000 (19:18 +0000)]
forgot to commit this file

svn path=/trunk/; revision=38836

14 years agosync cabinet headers with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 19:14:53 +0000 (19:14 +0000)]
sync cabinet headers with wine 1.1.13

svn path=/trunk/; revision=38835

14 years agosync wordpad with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 19:10:56 +0000 (19:10 +0000)]
sync wordpad with wine 1.1.13

svn path=/trunk/; revision=38834

14 years agosync cryptui with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 19:10:09 +0000 (19:10 +0000)]
sync cryptui with wine 1.1.13

svn path=/trunk/; revision=38833

14 years agosync credui with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 19:09:07 +0000 (19:09 +0000)]
sync credui with wine 1.1.13

svn path=/trunk/; revision=38832

14 years agosync cabinet with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 18:30:33 +0000 (18:30 +0000)]
sync cabinet with wine 1.1.13

svn path=/trunk/; revision=38831

14 years agosync cabinet_winetest with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 18:30:21 +0000 (18:30 +0000)]
sync cabinet_winetest with wine 1.1.13

svn path=/trunk/; revision=38830

14 years agoupdate comctl32 winetest
Ged Murphy [Sat, 17 Jan 2009 17:42:01 +0000 (17:42 +0000)]
update comctl32 winetest

svn path=/trunk/; revision=38829

14 years agomodified dll/win32/kernel32/debug/output.c
KJK::Hyperion [Sat, 17 Jan 2009 17:40:42 +0000 (17:40 +0000)]
modified   dll/win32/kernel32/debug/output.c
   KJK::Hyperion vs KJK::Hyperion: finishing the job I started in 2003
   "please uncomment when GCC supports SEH": it kind of does now, but it's totally unnecessary in K32CreateDBMonMutex
   "FIXME: this will be pointless until GCC does SEH": no longer pointless, I guess. 6 years after the fact, OutputDebugStringA finally sends the string to the user-mode debugger. Now if only we could test it...
   Use DBG_PRINTEXCEPTION_C symbolic constant instead of hardcoding its value
   Some [FORMATTING]
   Make K32CreateDBMonMutex, for symbol table hygiene
   My e-mail address changed

svn path=/trunk/; revision=38828

14 years agosync riched20_winetest to wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 17:13:11 +0000 (17:13 +0000)]
sync riched20_winetest to wine 1.1.13

svn path=/trunk/; revision=38827

14 years agoadd new chinese resource file
Ged Murphy [Sat, 17 Jan 2009 17:11:13 +0000 (17:11 +0000)]
add new chinese resource file

svn path=/trunk/; revision=38826

14 years agosync riched20 to wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 17:11:08 +0000 (17:11 +0000)]
sync riched20 to wine 1.1.13

svn path=/trunk/; revision=38825

14 years agoupdate spying messages
Ged Murphy [Sat, 17 Jan 2009 17:03:50 +0000 (17:03 +0000)]
update spying messages
set TB_GETIMAGELISTCOUNT to have an lparam length of 0

svn path=/trunk/; revision=38824

14 years agoadd new file
Ged Murphy [Sat, 17 Jan 2009 16:48:52 +0000 (16:48 +0000)]
add new file

svn path=/trunk/; revision=38823

14 years agoupdate comctl32 to Wine 1.1.13.
Ged Murphy [Sat, 17 Jan 2009 16:43:06 +0000 (16:43 +0000)]
update comctl32 to Wine 1.1.13.
not including ros specific stuff for now while I work out what we still need

svn path=/trunk/; revision=38822

14 years agoAdd some previously undocumented messages
Ged Murphy [Sat, 17 Jan 2009 16:23:02 +0000 (16:23 +0000)]
Add some previously undocumented messages

svn path=/trunk/; revision=38821

14 years ago- Implement GUIDFromStringW. Based on http://www.winehq.org/pipermail/wine-cvs/2009...
Dmitry Chapyshev [Sat, 17 Jan 2009 15:47:50 +0000 (15:47 +0000)]
- Implement GUIDFromStringW. Based on winehq.org/pipermail/wine-cvs/2009-January/051920.html

svn path=/trunk/; revision=38820

14 years ago- Implement AllocateUserPhysicalPages, FreeUserPhysicalPages, MapUserPhysicalPages...
Dmitry Chapyshev [Sat, 17 Jan 2009 15:27:35 +0000 (15:27 +0000)]
- Implement AllocateUserPhysicalPages, FreeUserPhysicalPages, MapUserPhysicalPages, MapUserPhysicalPagesScatter, ResetWriteWatch
- Fix return value for CreateSocketHandle
- Fix arguments for DelayLoadFailureHook (see http://msdn.microsoft.com/en-us/library/bb432244(VS.85).aspx)

svn path=/trunk/; revision=38819

14 years ago- rw.c: Better implementation of read/write for pipes.
Michael Martin [Sat, 17 Jan 2009 15:21:15 +0000 (15:21 +0000)]
- rw.c: Better implementation of read/write for pipes.
    The ReadPtr is there so use it. Duuhh.
    Only move memory to make room for more data when the buffer is full vice moving memory on every read.
    Call KeSetEvent at the correct time, when reading is done.
- fsctrl.c: Correct data returned from NpfsPeekPipe when read mode is byte stream.

svn path=/trunk/; revision=38818

14 years ago- Launch hardware wizard on hardware page
Dmitry Chapyshev [Sat, 17 Jan 2009 15:13:10 +0000 (15:13 +0000)]
- Launch hardware wizard on hardware page

svn path=/trunk/; revision=38817

14 years agoFix a bug.
Dmitry Gorbachev [Sat, 17 Jan 2009 15:05:21 +0000 (15:05 +0000)]
Fix a bug.

svn path=/trunk/; revision=38816

14 years agouse spaces instead of tabs (for real now)
Christoph von Wittich [Sat, 17 Jan 2009 14:47:32 +0000 (14:47 +0000)]
use spaces instead of tabs (for real now)

svn path=/trunk/; revision=38815

14 years agoUse spaces instead of tabs.
Andrew Greenwood [Sat, 17 Jan 2009 14:44:24 +0000 (14:44 +0000)]
Use spaces instead of tabs.

svn path=/trunk/; revision=38814

14 years agoTreat "LiveCD" system path as a prefix rather than an entire path. This allows a...
Andrew Greenwood [Sat, 17 Jan 2009 14:20:47 +0000 (14:20 +0000)]
Treat "LiveCD" system path as a prefix rather than an entire path. This allows a custom path to be specified,
so FreeLDR can boot multiple ReactOS builds from the same CD. FreeLDR happily does this, ReactOS does not like
booting from a livecd path other than \reactos however. Updated livecd.ini to use the new style of livecd
system path.

svn path=/trunk/; revision=38813

14 years agoDon't treat a slash as the beginning of a new argument for the MOVE command (Bug...
Jeffrey Morlan [Sat, 17 Jan 2009 12:55:46 +0000 (12:55 +0000)]
Don't treat a slash as the beginning of a new argument for the MOVE command (Bug 4013). Patch by Víctor Martínez Calvo <vicmarcal at hotmail.com>.

svn path=/trunk/; revision=38811

14 years ago- Check for valid DeviceExtensionSize
Johannes Anderwald [Sat, 17 Jan 2009 11:19:27 +0000 (11:19 +0000)]
- Check for valid DeviceExtensionSize
- Pass correct flags when creating the fdo
- set DO_DIRECT_IO flag
- clear DO_DEVICE_INITIALIZING flag
- Move all calls to ExAllocatePoolWithTag to a function AllocateItem which is also responsible for zeroing memory
- Fix ISubDevice GUID
- don't disconnect the interrupt on cleanup, IInterruptSync_fnDisconnect exist for that purpose
- If there is no interrupt yet connected, call the synchronized routine holding the internal spinlock
- Copy the current stack location  when forwarding a Irp PcForwardIrpSynchronous
- Implement ISubdevice interface for IPortTopology
- Initialize the dpc for calling Miniport object, as it might create an interrupt object which immediately fires an interrupt
- If the caller doesnt provide an IAdapterPowerManagement interface, clear the existing reference
- Fix 2 bugs in IRegistryKey_NewSubKey which made the system crashing
- Pass the pdo to IoOpenDeviceRegistryKey
- Move all guids and IIDs to own file and initialize them
- portcls initializes now to the first interrupt fired (vbox+ICH AC97 driver | qemu+es1370 driver)

svn path=/trunk/; revision=38810

14 years ago- RtlOemStringToCountedUnicodeString improvements:
Aleksey Bragin [Sat, 17 Jan 2009 08:38:25 +0000 (08:38 +0000)]
- RtlOemStringToCountedUnicodeString improvements:
 * Fix STATUS_BUFFER_OVERFLOW when destination string's MaximumLength and Length are equal.
 * Add comments.

svn path=/trunk/; revision=38809

14 years ago- RtlUnicodeStringToCountedOemString improvements:
Aleksey Bragin [Sat, 17 Jan 2009 07:44:28 +0000 (07:44 +0000)]
- RtlUnicodeStringToCountedOemString improvements:
 * Fix zero-sized input string handling, result would be error instead of success and zero output string.
 * If destination string's MaximumLength and Length are equal, it's not an erroneous situation (in fact, a very common situation).
 * Add comments.

svn path=/trunk/; revision=38808

14 years ago- It is shameful, hacks like this.
James Tabor [Sat, 17 Jan 2009 07:07:36 +0000 (07:07 +0000)]
- It is shameful, hacks like this.

svn path=/trunk/; revision=38807

14 years ago- Update DispathMessage and fix time stamp for system and standard timers. Tested...
James Tabor [Sat, 17 Jan 2009 01:03:03 +0000 (01:03 +0000)]
- Update DispathMessage and fix time stamp for system and standard timers. Tested with qemu bootcd, cmd and explorer. If any bugs arise please log them under Timer Rewrite then associate the older or newer related bugs under it.

svn path=/trunk/; revision=38803

14 years agoFix background color used for DrawCaptionTemp with DC_INBUTTON
Thomas Bluemel [Fri, 16 Jan 2009 23:56:11 +0000 (23:56 +0000)]
Fix background color used for DrawCaptionTemp with DC_INBUTTON

svn path=/trunk/; revision=38802

14 years agoPrevent accessing NULL as a PE header when we have a bad file, found with Stefan100...
Art Yerkes [Fri, 16 Jan 2009 23:44:29 +0000 (23:44 +0000)]
Prevent accessing NULL as a PE header when we have a bad file, found with Stefan100's help

svn path=/trunk/; revision=38801

14 years ago - Merge aicom-network-fixes up to r38799
Cameron Gutman [Fri, 16 Jan 2009 23:30:40 +0000 (23:30 +0000)]
 - Merge aicom-network-fixes up to r38799
 - This should finally fix the "UNTRACK: SPECIFIED ALREADY FREE ITEM 0" bug

svn path=/trunk/; revision=38800

14 years agoThis actually used to work due to the work csrss does setting up low memory
Art Yerkes [Fri, 16 Jan 2009 21:03:10 +0000 (21:03 +0000)]
This actually used to work due to the work csrss does setting up low memory
space.  This fixes it to pass a QOS parameter as it isn't optional.

svn path=/trunk/; revision=38798

14 years ago- Reply 38790, with fix for npfsPeekPipe which was breaking rosautotests.
Michael Martin [Fri, 16 Jan 2009 19:30:55 +0000 (19:30 +0000)]
- Reply 38790, with fix for npfsPeekPipe which was breaking rosautotests.

svn path=/trunk/; revision=38797

14 years ago- Add function tags
Stefan Ginsberg [Fri, 16 Jan 2009 16:56:00 +0000 (16:56 +0000)]
- Add function tags
- Documentary fix from last commit -- DbgkpPostFakeThreadMessage: Implement missing handling of 2 failure cases

svn path=/trunk/; revision=38796

14 years ago- Fix bug with addition of duplicates to the devices list
Dmitry Chapyshev [Fri, 16 Jan 2009 16:53:32 +0000 (16:53 +0000)]
- Fix bug with addition of duplicates to the devices list
- Other small changes

svn path=/trunk/; revision=38795

14 years ago- DbgkpPostFakeThreadMessage: Implement missing
Stefan Ginsberg [Fri, 16 Jan 2009 16:48:17 +0000 (16:48 +0000)]
- DbgkpPostFakeThreadMessage: Implement missing
- DbgkpSetProcessDebugObject: Fix the traversing of the debug object's event list
- Implement DbgkClearProcessDebugObject

svn path=/trunk/; revision=38794

14 years ago- Revert 38790 as i broke autotests.
Michael Martin [Fri, 16 Jan 2009 15:59:03 +0000 (15:59 +0000)]
- Revert 38790 as i broke autotests.

svn path=/trunk/; revision=38793

14 years ago- Partly implement hardware types page
Dmitry Chapyshev [Fri, 16 Jan 2009 15:21:32 +0000 (15:21 +0000)]
- Partly implement hardware types page

svn path=/trunk/; revision=38792

14 years agoreapply 36982
Christoph von Wittich [Fri, 16 Jan 2009 15:16:09 +0000 (15:16 +0000)]
reapply 36982
WIDL: Enable the use of scalar types (non-pointer types) as custom binding handles.

svn path=/trunk/; revision=38791

14 years ago- create.c: All instances of a pipe must be the same pipe mode as when first instance...
Michael Martin [Fri, 16 Jan 2009 14:33:45 +0000 (14:33 +0000)]
- create.c: All instances of a pipe must be the same pipe mode as when first instance was created.
            Clients start of in byte stream mode, regardless of the pipe's mode.
- finfo.c:  NPFS does not allow changing read mode to message for byte stream mode pipes.
- rw.c:     The format in which data is in the pipe's buffer is based on the pipe mode vice read mode.
            Implement reads in byte stream mode for pipes using message mode.
            Fixed a bug that could caused buffer data to be corrupted due to incorrect calc of WritePtr position.
- fsctrl.c: Return buffer from NpfsPeekPipe if caller requested.
            Use a mutex before reading the pipe's buffer.
            Return the correct length in Irp info.

svn path=/trunk/; revision=38790

14 years ago- More dialogs implementation
Dmitry Chapyshev [Fri, 16 Jan 2009 14:28:07 +0000 (14:28 +0000)]
- More dialogs implementation

svn path=/trunk/; revision=38789

14 years agoEcho [HOST-CC] and [HOST-LD] instead of [HOSTCC] and [HOSTLD]
KJK::Hyperion [Fri, 16 Jan 2009 13:19:14 +0000 (13:19 +0000)]
Echo [HOST-CC] and [HOST-LD] instead of [HOSTCC] and [HOSTLD]
Also echo [HOST-AR] for invocations of the host "ar"
Use [HOST-CC], [HOST-LD] and [HOST-AR] in bootstrap makefiles as well

svn path=/trunk/; revision=38788

14 years ago... and echo "[HOSTLD]" for the link phase of host modules
KJK::Hyperion [Fri, 16 Jan 2009 12:50:20 +0000 (12:50 +0000)]
... and echo "[HOSTLD]" for the link phase of host modules

svn path=/trunk/; revision=38786

14 years agoEcho "[HOSTCC]" instead of "[CC]" in short-hand build output when invoking the host...
KJK::Hyperion [Fri, 16 Jan 2009 12:44:55 +0000 (12:44 +0000)]
Echo "[HOSTCC]" instead of "[CC]" in short-hand build output when invoking the host compiler

svn path=/trunk/; revision=38785

14 years agomodified tools/rbuild/backend/mingw/modulehandler.cpp
KJK::Hyperion [Fri, 16 Jan 2009 10:44:36 +0000 (10:44 +0000)]
modified   tools/rbuild/backend/mingw/modulehandler.cpp
   Don't precompile headers with g++: g++ is stupid and, ironically, will precompile .h headers but not .hpp headers (it will mistake them for linker input files). Always use gcc instead
   Don't let gcc guess the language of the header, either: we detect "C++ modules" automatically in rbuild, use that for consistency

svn path=/trunk/; revision=38784

14 years ago- Set version override in pnp_* IDL modules too, since we use Vista's APIs there...
Aleksey Bragin [Fri, 16 Jan 2009 08:59:56 +0000 (08:59 +0000)]
- Set version override in pnp_* IDL modules too, since we use Vista's APIs there. Fixes implicitly declared PNP_* functions.

svn path=/trunk/; revision=38783

14 years ago- Implement RequestDeviceWakeup
Dmitry Chapyshev [Fri, 16 Jan 2009 06:44:40 +0000 (06:44 +0000)]
- Implement RequestDeviceWakeup
- Implement CancelDeviceWakeupRequest

svn path=/trunk/; revision=38782

14 years ago- Implement SetSystemPowerState
Dmitry Chapyshev [Fri, 16 Jan 2009 06:33:19 +0000 (06:33 +0000)]
- Implement SetSystemPowerState

svn path=/trunk/; revision=38781

14 years agoCreate band site's rebar control with styles CCS_NORESIZE and CCS_NOPARENTALIGN
Thomas Bluemel [Fri, 16 Jan 2009 03:19:42 +0000 (03:19 +0000)]
Create band site's rebar control with styles CCS_NORESIZE and CCS_NOPARENTALIGN

svn path=/trunk/; revision=38780

14 years ago- Rewrite Timers, nothing is using it except a bogus system timer for raw input threa...
James Tabor [Thu, 15 Jan 2009 23:15:31 +0000 (23:15 +0000)]
- Rewrite Timers, nothing is using it except a bogus system timer for raw input thread is loaded and running.

svn path=/trunk/; revision=38779

14 years ago- Delete npfs_new skeleton. One rewrite less.
Aleksey Bragin [Thu, 15 Jan 2009 19:15:26 +0000 (19:15 +0000)]
- Delete npfs_new skeleton. One rewrite less.

svn path=/trunk/; revision=38776

14 years agoSync widl, comcat, ole32, oleaut32 and rpcrt4 to wine 1.1.12
KJK::Hyperion [Thu, 15 Jan 2009 17:52:35 +0000 (17:52 +0000)]
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

14 years ago- Move batclass.h to PSDK, since it's a PSDK header.
Aleksey Bragin [Thu, 15 Jan 2009 17:22:28 +0000 (17:22 +0000)]
- 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

14 years ago- Move SetThreadExecutionState to power.c
Dmitry Chapyshev [Thu, 15 Jan 2009 17:07:01 +0000 (17:07 +0000)]
- Move SetThreadExecutionState to power.c
- Implement IsSystemResumeAutomatic
- Implement SetThreadExecutionState

svn path=/trunk/; revision=38772

14 years ago- Revert 38770's modifications to NDK.
Aleksey Bragin [Thu, 15 Jan 2009 16:52:50 +0000 (16:52 +0000)]
- Revert 38770's modifications to NDK.
- Temporary move Nt power function prototypes inside power.c file.

svn path=/trunk/; revision=38771

14 years ago- Implement GetDevicePowerState
Dmitry Chapyshev [Thu, 15 Jan 2009 16:09:03 +0000 (16:09 +0000)]
- Implement GetDevicePowerState
- Implement RequestWakeupLatency
- Add prototypes for GetDevicePowerState and RequestWakeupLatency to pofuncs.h

svn path=/trunk/; revision=38770

14 years ago- Add power.c file for power management functions
Dmitry Chapyshev [Thu, 15 Jan 2009 15:32:30 +0000 (15:32 +0000)]
- 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

14 years ago- DbgkpSendApiMessage/Lpc: Modification of EPROCESS flags must be interlocked, use...
Stefan Ginsberg [Thu, 15 Jan 2009 13:14:37 +0000 (13:14 +0000)]
- 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

14 years ago- Implement FlashWindow
Dmitry Chapyshev [Thu, 15 Jan 2009 10:18:10 +0000 (10:18 +0000)]
- Implement FlashWindow

svn path=/trunk/; revision=38766

14 years ago- sorry folks
Johannes Anderwald [Wed, 14 Jan 2009 21:47:54 +0000 (21:47 +0000)]
- sorry folks

svn path=/trunk/; revision=38765

14 years ago- Revert 38762 to fix build
Stefan Ginsberg [Wed, 14 Jan 2009 19:55:51 +0000 (19:55 +0000)]
- Revert 38762 to fix build

svn path=/trunk/; revision=38764

14 years agoMario Kacmar <kario AT szm DOT sk>
Matthias Kupfer [Wed, 14 Jan 2009 18:12:43 +0000 (18:12 +0000)]
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

14 years ago- Implement PcForwardIrpSynchronous
Johannes Anderwald [Wed, 14 Jan 2009 17:14:20 +0000 (17:14 +0000)]
- Implement PcForwardIrpSynchronous

svn path=/trunk/; revision=38762

14 years ago- DBGK: Use flags instead of magic values for Debug Events -- names taken from http...
Stefan Ginsberg [Wed, 14 Jan 2009 14:55:46 +0000 (14:55 +0000)]
- DBGK: Use flags instead of magic values for Debug Events -- names taken from neitsabes.online.fr/dc/index.php?2007/12/04/7-ntqueryinformationprocess-processinfoclass-30

svn path=/trunk/; revision=38761

14 years agodeleted lib/pseh/framebased-gcchack.c
KJK::Hyperion [Wed, 14 Jan 2009 14:51:23 +0000 (14:51 +0000)]
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

14 years ago[FORMATTING] Fix indentation. No code change.
Kamil Hornicek [Wed, 14 Jan 2009 14:41:25 +0000 (14:41 +0000)]
[FORMATTING] Fix indentation. No code change.

svn path=/trunk/; revision=38759

14 years ago- Add stubs for VolumeControlBlock structure, VolumeDeviceObject,
Aleksey Bragin [Wed, 14 Jan 2009 10:42:56 +0000 (10:42 +0000)]
- 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

14 years ago- Revert 38750, a dereference happens when that hook is freed by IntFreeHook.
Aleksey Bragin [Wed, 14 Jan 2009 09:51:50 +0000 (09:51 +0000)]
- 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

14 years agofix jim's copypasta
Christoph von Wittich [Wed, 14 Jan 2009 07:09:25 +0000 (07:09 +0000)]
fix jim's copypasta

svn path=/trunk/; revision=38753

14 years ago- Added stubs to timers, tooling up to change over to handled timers. This is related...
James Tabor [Wed, 14 Jan 2009 02:02:26 +0000 (02:02 +0000)]
- 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

14 years ago- KDBG: Correct the use of PsLookupThread/ProcessByThread/ProcessId -- the caller...
Stefan Ginsberg [Wed, 14 Jan 2009 00:34:24 +0000 (00:34 +0000)]
- KDBG: Correct the use of PsLookupThread/ProcessByThread/ProcessId -- the caller must dereference the Thread/Process after use

svn path=/trunk/; revision=38751

14 years ago- NtUserSetWindowsHookEx: Don't leak a thread reference in case we are passed a Thread Id
Stefan Ginsberg [Tue, 13 Jan 2009 23:41:34 +0000 (23:41 +0000)]
- NtUserSetWindowsHookEx: Don't leak a thread reference in case we are passed a Thread Id

svn path=/trunk/; revision=38750

14 years ago- Copy provided PCM_RESOURCE_LIST when a new ResourceList is created
Johannes Anderwald [Tue, 13 Jan 2009 22:36:03 +0000 (22:36 +0000)]
- Copy provided PCM_RESOURCE_LIST when a new ResourceList is created

svn path=/trunk/; revision=38748

14 years agoVíctor Martínez Calvo <vicmarcal AT hotmail DOT com>
Matthias Kupfer [Tue, 13 Jan 2009 15:21:08 +0000 (15:21 +0000)]
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

14 years ago- Re-implement NtUserDispatchMessage and implement NtUserValidateTimerCallback.
James Tabor [Tue, 13 Jan 2009 12:16:06 +0000 (12:16 +0000)]
- Re-implement NtUserDispatchMessage and implement NtUserValidateTimerCallback.

svn path=/trunk/; revision=38745

14 years ago- Remove unneeded functions.
Aleksey Bragin [Tue, 13 Jan 2009 12:13:21 +0000 (12:13 +0000)]
- Remove unneeded functions.
- Cleanup, reformat, remove static.

svn path=/trunk/; revision=38744

14 years ago - Merge aicom-network-fixes up to r38730
Cameron Gutman [Tue, 13 Jan 2009 02:34:39 +0000 (02:34 +0000)]
 - Merge aicom-network-fixes up to r38730

svn path=/trunk/; revision=38743

14 years agoRemove unused code
Thomas Bluemel [Tue, 13 Jan 2009 00:34:32 +0000 (00:34 +0000)]
Remove unused code

svn path=/trunk/; revision=38742

14 years ago- Un-implement NtUserDispatchMessage.
James Tabor [Mon, 12 Jan 2009 23:36:10 +0000 (23:36 +0000)]
- 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

14 years agowinbase.h: Add EncodePointer, DecodePointer, EncodeSystemPointer and DecodeSystemPointer
Timo Kreuzer [Mon, 12 Jan 2009 22:47:25 +0000 (22:47 +0000)]
winbase.h: Add EncodePointer, DecodePointer, EncodeSystemPointer and DecodeSystemPointer

svn path=/trunk/; revision=38740

14 years agoSync edit.c with wine head (Wine-1_1_12)
Timo Kreuzer [Mon, 12 Jan 2009 22:03:00 +0000 (22:03 +0000)]
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

14 years agoUpdate Spanish translations.
Dmitry Gorbachev [Mon, 12 Jan 2009 21:18:57 +0000 (21:18 +0000)]
Update Spanish translations.
Patch from Javier Remacha (remialdo gmail com). Bug #4021.

svn path=/trunk/; revision=38738

14 years agorevert last commit insetad remove UNICODE_NOCHAR from wine/winuser.h
Timo Kreuzer [Mon, 12 Jan 2009 21:12:10 +0000 (21:12 +0000)]
revert last commit insetad remove UNICODE_NOCHAR from wine/winuser.h

svn path=/trunk/; revision=38737

14 years agodefine UNICODE_NOCHAR only if it wasn't already defined
Timo Kreuzer [Mon, 12 Jan 2009 20:59:51 +0000 (20:59 +0000)]
define UNICODE_NOCHAR only if it wasn't already defined

svn path=/trunk/; revision=38736

14 years agoSort window messages by num, add WM_MENUDRAG, WM_MENUGETOBJECT, WM_UNICHAR
Timo Kreuzer [Mon, 12 Jan 2009 20:49:08 +0000 (20:49 +0000)]
Sort window messages by num, add WM_MENUDRAG, WM_MENUGETOBJECT, WM_UNICHAR

svn path=/trunk/; revision=38735

14 years ago- Sort out common used DCE flags.
James Tabor [Mon, 12 Jan 2009 20:43:34 +0000 (20:43 +0000)]
- Sort out common used DCE flags.

svn path=/trunk/; revision=38734

14 years ago- Fix another wine test for SetWindowPos.
James Tabor [Mon, 12 Jan 2009 20:00:41 +0000 (20:00 +0000)]
- Fix another wine test for SetWindowPos.

svn path=/trunk/; revision=38733

14 years ago- fix me (add missing file)
Johannes Anderwald [Mon, 12 Jan 2009 18:40:08 +0000 (18:40 +0000)]
- fix me (add missing file)

svn path=/trunk/; revision=38732

14 years ago- Implement IPortTopology::NewRegistryKey, IPortWavePci::NewRegistryKey
Johannes Anderwald [Mon, 12 Jan 2009 18:37:02 +0000 (18:37 +0000)]
- Implement IPortTopology::NewRegistryKey, IPortWavePci::NewRegistryKey
- Implement PcRegisterPhysicalConnection, PcRegisterPhysicalConnectionFromExternal, PcRegisterPhysicalConnectionToExternal- Implement PcRequestNewPowerState

svn path=/trunk/; revision=38731

14 years ago- Revert to pre-38722 to unbreak build
Stefan Ginsberg [Mon, 12 Jan 2009 17:52:03 +0000 (17:52 +0000)]
- Revert to pre-38722 to unbreak build

svn path=/trunk/; revision=38728

14 years ago- Stubplement handlers for all needed IRP_MJ except EA and PNP one.
Aleksey Bragin [Mon, 12 Jan 2009 17:04:13 +0000 (17:04 +0000)]
- Stubplement handlers for all needed IRP_MJ except EA and PNP one.
- Cleanup remains of unneeded functions.

svn path=/trunk/; revision=38726

14 years ago- Cleanup header file.
Aleksey Bragin [Mon, 12 Jan 2009 16:31:22 +0000 (16:31 +0000)]
- Cleanup header file.
- Add sync resource to the global data and initialize it.
- Remove unneeded block device access functions.

svn path=/trunk/; revision=38725