Stefan Ginsberg [Mon, 24 Aug 2009 17:36:23 +0000 (17:36 +0000)]
- Actually commit prntfont.h change (leftover from 42915)
svn path=/trunk/; revision=42916
Stefan Ginsberg [Mon, 24 Aug 2009 17:12:25 +0000 (17:12 +0000)]
- Start deprecating TAG()
- Fix inverted tags in prntfont.h, stdunk.h and win32k/objects/font.c
svn path=/trunk/; revision=42915
Johannes Anderwald [Mon, 24 Aug 2009 13:00:14 +0000 (13:00 +0000)]
- Check that all pins have been closed when the last filter reference is gone
- Fix freeing of stream data (hacked atm)
- Implement retrieving of all property items for PinWaveCyclic
svn path=/trunk/; revision=42913
Sylvain Petreolle [Mon, 24 Aug 2009 12:57:34 +0000 (12:57 +0000)]
temporarily disable kernel32:pipe tests.
the testing process seems to go further if this test crashes,
looking at testman output.
svn path=/trunk/; revision=42912
Christoph von Wittich [Mon, 24 Aug 2009 12:42:47 +0000 (12:42 +0000)]
sync user32 winetest with wine 1.1.28
svn path=/trunk/; revision=42911
Johannes Anderwald [Mon, 24 Aug 2009 12:21:20 +0000 (12:21 +0000)]
- Fix calling property handler in IKsFilter_DispatchDeviceIoControl
- Found by [[Amine Khaldi]]
- Implement handling of KSPROPERTY_TYPE_BASICSUPPORT
svn path=/trunk/; revision=42910
Christoph von Wittich [Mon, 24 Aug 2009 12:17:02 +0000 (12:17 +0000)]
sync kernel32 profile with wine 1.1.28
svn path=/trunk/; revision=42909
Gregor Schneider [Mon, 24 Aug 2009 12:06:53 +0000 (12:06 +0000)]
gdb2: Use const char* for string constants, gcc 4.4 warnings
svn path=/trunk/; revision=42908
Gregor Schneider [Mon, 24 Aug 2009 12:01:38 +0000 (12:01 +0000)]
netreg: include stdio.h for fprintf, sprintf and sscanf; gcc 4.4 warnings
svn path=/trunk/; revision=42907
Gregor Schneider [Mon, 24 Aug 2009 11:50:37 +0000 (11:50 +0000)]
ddraw_test: Use const char* for string constants, gcc 4.4 warning
svn path=/trunk/; revision=42906
Christoph von Wittich [Mon, 24 Aug 2009 10:51:15 +0000 (10:51 +0000)]
sync ole32 with wine 1.1.28
svn path=/trunk/; revision=42905
Christoph von Wittich [Mon, 24 Aug 2009 10:48:24 +0000 (10:48 +0000)]
define USE_COM_CONTEXT_DEF
svn path=/trunk/; revision=42904
James Tabor [Mon, 24 Aug 2009 06:10:52 +0000 (06:10 +0000)]
- Patch by Dmitry Timoshkov : user32: Return 0 from DefDlgProc and dialog loop for invalid dialog handles. Need to update user32 wine tests.
svn path=/trunk/; revision=42903
James Tabor [Mon, 24 Aug 2009 06:09:01 +0000 (06:09 +0000)]
- Patch by Rein Klazes : user32: Handle WM_PRINTCLIENT message in PopupMenuWndProc().
svn path=/trunk/; revision=42902
James Tabor [Mon, 24 Aug 2009 06:06:05 +0000 (06:06 +0000)]
- Gdi32: Update metafile structure.
svn path=/trunk/; revision=42901
Johannes Anderwald [Mon, 24 Aug 2009 02:54:53 +0000 (02:54 +0000)]
- Fix broken check
- Enables Ks Studio to instantiate audio pins
svn path=/trunk/; revision=42900
Gregor Schneider [Mon, 24 Aug 2009 00:00:06 +0000 (00:00 +0000)]
GetCharacterPlacementA: check FONT_mbtowc return value for validity
svn path=/trunk/; revision=42899
Gregor Schneider [Sun, 23 Aug 2009 23:51:09 +0000 (23:51 +0000)]
GetCharacterPlacementA: Free memory on error
svn path=/trunk/; revision=42898
Gregor Schneider [Sun, 23 Aug 2009 23:40:48 +0000 (23:40 +0000)]
CreateMetaFileW: WriteFile returns the number of bytes written for synchronous operations
svn path=/trunk/; revision=42897
Gregor Schneider [Sun, 23 Aug 2009 23:09:55 +0000 (23:09 +0000)]
CreateMetaFileW: Free memory on error
svn path=/trunk/; revision=42896
Johannes Anderwald [Sun, 23 Aug 2009 23:05:23 +0000 (23:05 +0000)]
- fix build #2
svn path=/trunk/; revision=42895
Gregor Schneider [Sun, 23 Aug 2009 23:03:55 +0000 (23:03 +0000)]
Handle failed memory allocation
svn path=/trunk/; revision=42894
Johannes Anderwald [Sun, 23 Aug 2009 22:56:06 +0000 (22:56 +0000)]
- try fix build
svn path=/trunk/; revision=42893
Johannes Anderwald [Sun, 23 Aug 2009 22:50:09 +0000 (22:50 +0000)]
[KS]
- Fix a few bugs in KsPinPropertyHandler & KsTopologyPropertyHandler
[PORTCLS]
- Implement retrieving KSPROPSETID's
- Register KSCATEGORY_AUDIO_DEVICE as a temporary hack untill sysaudio is able to register device interfaces (bug 4556)
Ks Studio is now able to instantiate audio filters on ReactOS
svn path=/trunk/; revision=42892
Gregor Schneider [Sun, 23 Aug 2009 22:47:32 +0000 (22:47 +0000)]
Pass a zero instead of dereferencing a null pointer when copying one region
svn path=/trunk/; revision=42891
Johannes Anderwald [Sun, 23 Aug 2009 22:31:30 +0000 (22:31 +0000)]
- Fix KSPROPERTY_TOPOLOGY enumeration
svn path=/trunk/; revision=42890
Gregor Schneider [Sun, 23 Aug 2009 21:55:24 +0000 (21:55 +0000)]
- Fix two inverted pointer checks, found by Amine Khaldi
- Add, correct implemented comment
svn path=/trunk/; revision=42889
Dmitry Gorbachev [Sun, 23 Aug 2009 21:45:41 +0000 (21:45 +0000)]
A consistent indentation style is the hobgoblin of little minds.
svn path=/trunk/; revision=42888
Dmitry Gorbachev [Sun, 23 Aug 2009 21:41:05 +0000 (21:41 +0000)]
- Remove wrong "m" constraints from some places;
- relax constraints ("q" -> "r") when possible;
- remove "memory" clobbers from __readfsXXX functions, probably shouldn't be there;
- no movq instruction on x86_32;
- bswap's operand must be a register.
svn path=/trunk/; revision=42887
Johannes Anderwald [Sun, 23 Aug 2009 18:14:39 +0000 (18:14 +0000)]
- Add SetupDiGetDeviceInterfaceAlias, SetupDiOpenDeviceInterfaceRegKey stubs
svn path=/trunk/; revision=42885
Stefan Ginsberg [Sun, 23 Aug 2009 15:49:43 +0000 (15:49 +0000)]
- copy.c, view.c: malloc.h now properly implements alloca/_alloca, so remove #ifdef hacks
- main.c: Change bogus #ifdef _MSC_VER to #if 0 -- it seems this is another instance of "MSVC = MS' headers". The code compiles fine with our headers now and should probably be enabled.
- debug.h: Define non-NDEBUG DPRINT the same way for GCC and MSVC. The MSVC version was never inlined because the function has a variable argument list. The GCC version works fine under MSVC so use it instead. Results in neater code in object files.
svn path=/trunk/; revision=42884
Stefan Ginsberg [Sun, 23 Aug 2009 15:14:13 +0000 (15:14 +0000)]
- wdm.h: Define ALLOC_PRAGMA and ALLOC_DATA_PRAGMA for MSVC.
- marea.c: MmInitMemoryAreas doesn't exist anymore so don't try to put it in .INIT.
svn path=/trunk/; revision=42883
Stefan Ginsberg [Sun, 23 Aug 2009 14:46:41 +0000 (14:46 +0000)]
- Remove deprecated _NTDDK_ hacks from winnt.h -- these are no longer needed as ntddk.h no longer includes winnt.h. Also fix the way the PowerPC version of NtCurrentTeb was defined -- it was only defined if ntddk.h was included prior to winnt.h.
svn path=/trunk/; revision=42882
Matthias Kupfer [Sun, 23 Aug 2009 13:39:47 +0000 (13:39 +0000)]
- Remove tailing separator in explorer quicklaunch area.
- Fix some values for rebarband.
- See issue #3771 for details.
- TODO: fix rebar (comctl32) itself, because it's not working properly.
svn path=/trunk/; revision=42881
Johannes Anderwald [Sun, 23 Aug 2009 13:08:28 +0000 (13:08 +0000)]
- Code polishing
svn path=/trunk/; revision=42880
Johannes Anderwald [Sun, 23 Aug 2009 13:00:09 +0000 (13:00 +0000)]
- Fix exporting of CBaseUnknown
svn path=/trunk/; revision=42879
Johannes Anderwald [Sun, 23 Aug 2009 12:50:02 +0000 (12:50 +0000)]
- Implement CBaseUnknown class functions in C!
- Thanks To KJK::Hyperion for helping
- Function are not yet exported
svn path=/trunk/; revision=42878
Hervé Poussineau [Sun, 23 Aug 2009 08:34:20 +0000 (08:34 +0000)]
[freeldr] When creating a component, provide at the same time its configuration data
svn path=/trunk/; revision=42875
Hervé Poussineau [Sun, 23 Aug 2009 08:29:23 +0000 (08:29 +0000)]
Limit usage of KEY_ALL_ACCESS when opening registry keys
svn path=/trunk/; revision=42874
Hervé Poussineau [Sun, 23 Aug 2009 08:25:52 +0000 (08:25 +0000)]
[freeldr] When creating a component, provide at the same time its configuration data
svn path=/trunk/; revision=42873
Dmitry Chapyshev [Sun, 23 Aug 2009 07:40:23 +0000 (07:40 +0000)]
- Add enumeration user keys
svn path=/trunk/; revision=42872
James Tabor [Sun, 23 Aug 2009 07:12:58 +0000 (07:12 +0000)]
- Syncing up with current revision of Defdlg.c and Dialog.c from wine. Critical update for class rewrite.
svn path=/trunk/; revision=42871
Gregor Schneider [Sat, 22 Aug 2009 19:37:31 +0000 (19:37 +0000)]
Handle failed memory allocations
svn path=/trunk/; revision=42870
Dmitry Chapyshev [Sat, 22 Aug 2009 19:13:32 +0000 (19:13 +0000)]
- Sync winemp3.acm and hhctrl.ocx with Wine 1.1.28
- Delete unneeded .diff file
svn path=/trunk/; revision=42869
Dmitry Chapyshev [Sat, 22 Aug 2009 19:07:35 +0000 (19:07 +0000)]
- Fully sync oleaut32 with Wine 1.1.28
svn path=/trunk/; revision=42868
Dmitry Chapyshev [Sat, 22 Aug 2009 19:03:09 +0000 (19:03 +0000)]
- Add windowscodecs.dll from Wine 1.1.28
svn path=/trunk/; revision=42867
Gregor Schneider [Sat, 22 Aug 2009 18:44:17 +0000 (18:44 +0000)]
Check the surface pointer before accessing it to get a handle
svn path=/trunk/; revision=42866
Gregor Schneider [Sat, 22 Aug 2009 18:21:37 +0000 (18:21 +0000)]
- Free global surface memory on error, found by Amine Khaldi
- Translate some comments for better understanding
svn path=/trunk/; revision=42865
Christoph von Wittich [Sat, 22 Aug 2009 18:08:57 +0000 (18:08 +0000)]
sync objidl with wine 1.1.28
svn path=/trunk/; revision=42864
Christoph von Wittich [Sat, 22 Aug 2009 17:36:24 +0000 (17:36 +0000)]
sync shlwapi to wine 1.1.28
svn path=/trunk/; revision=42862
Christoph von Wittich [Sat, 22 Aug 2009 17:29:38 +0000 (17:29 +0000)]
partial sync of oleaut32 to wine 1.1.28
svn path=/trunk/; revision=42861
Christoph von Wittich [Sat, 22 Aug 2009 17:23:43 +0000 (17:23 +0000)]
partial rpcrt4 sync with wine 1.1.28
svn path=/trunk/; revision=42860
Christoph von Wittich [Sat, 22 Aug 2009 17:21:33 +0000 (17:21 +0000)]
sync widl with wine 1.1.28
svn path=/trunk/; revision=42859
Christoph von Wittich [Sat, 22 Aug 2009 17:12:01 +0000 (17:12 +0000)]
sync userenv winetest with wine 1.1.28
svn path=/trunk/; revision=42858
Christoph von Wittich [Sat, 22 Aug 2009 17:05:58 +0000 (17:05 +0000)]
sync oleaut32 winetest with wine 1.1.28
svn path=/trunk/; revision=42857
Gregor Schneider [Sat, 22 Aug 2009 16:56:28 +0000 (16:56 +0000)]
- Handle failed memory allocation in CreateDIBitmap, check initialize option before allocating and copying
svn path=/trunk/; revision=42856
Christoph von Wittich [Sat, 22 Aug 2009 16:56:26 +0000 (16:56 +0000)]
sync shell32 winetest with wine 1.1.28
svn path=/trunk/; revision=42855
Christoph von Wittich [Sat, 22 Aug 2009 16:50:50 +0000 (16:50 +0000)]
sync ntdsapi winetest with wine 1.1.28
svn path=/trunk/; revision=42854
Christoph von Wittich [Sat, 22 Aug 2009 16:42:11 +0000 (16:42 +0000)]
sync kernel32_winetest with wine 1.1.28
svn path=/trunk/; revision=42853
Gregor Schneider [Sat, 22 Aug 2009 16:42:01 +0000 (16:42 +0000)]
Polish translation for rapps, translation fixes for mmsys and syssetup by Olaf Siejka
svn path=/trunk/; revision=42852
Christoph von Wittich [Sat, 22 Aug 2009 15:35:17 +0000 (15:35 +0000)]
sync wrc to wine 1.1.28
svn path=/trunk/; revision=42851
Christoph von Wittich [Sat, 22 Aug 2009 15:26:35 +0000 (15:26 +0000)]
sync jscript winetest with wine 1.1.28
svn path=/trunk/; revision=42850
Christoph von Wittich [Sat, 22 Aug 2009 15:25:26 +0000 (15:25 +0000)]
sync jscript with wine 1.1.28
svn path=/trunk/; revision=42849
Christoph von Wittich [Sat, 22 Aug 2009 15:18:26 +0000 (15:18 +0000)]
sync msxml3 winetest with wine 1.1.28
svn path=/trunk/; revision=42848
Christoph von Wittich [Sat, 22 Aug 2009 15:18:03 +0000 (15:18 +0000)]
sync test.h with wine 1.1.28
svn path=/trunk/; revision=42847
Christoph von Wittich [Sat, 22 Aug 2009 15:10:54 +0000 (15:10 +0000)]
sync msxml3 with wine 1.1.28
svn path=/trunk/; revision=42846
Stefan Ginsberg [Sat, 22 Aug 2009 14:40:56 +0000 (14:40 +0000)]
- combotst: Fix uninitialized variable usage spotted by MSVC
- tmrqueue: Don't use empty structures, MSVC doe
- w32knapi: Implement IntSyscall in MSVC assembly, be compatible with C89 variable initialization and use '%' instead of '\%' to avoid a msvc warning.
svn path=/trunk/; revision=42845
Gregor Brunmar [Sat, 22 Aug 2009 13:21:01 +0000 (13:21 +0000)]
- Implemented MSVC version of fmod
svn path=/trunk/; revision=42844
Gregor Brunmar [Sat, 22 Aug 2009 13:06:11 +0000 (13:06 +0000)]
- Implemented MSVC version of exp
svn path=/trunk/; revision=42843
Gregor Brunmar [Sat, 22 Aug 2009 10:16:11 +0000 (10:16 +0000)]
- Implemented MSVC version of ldexp
svn path=/trunk/; revision=42842
Gregor Brunmar [Sat, 22 Aug 2009 10:07:25 +0000 (10:07 +0000)]
- Implemented MSVC version of atan2
svn path=/trunk/; revision=42841
Matthias Kupfer [Sat, 22 Aug 2009 09:26:13 +0000 (09:26 +0000)]
- halve and round up (improved version) ;-)
svn path=/trunk/; revision=42838
Johannes Anderwald [Fri, 21 Aug 2009 22:46:18 +0000 (22:46 +0000)]
[KS]
- Store input buffer in Irp->AssociatedIrp.SystemBuffer
- Add check
[PORTCLS]
- Add support for DirectKs
svn path=/trunk/; revision=42837
Matthias Kupfer [Fri, 21 Aug 2009 22:23:22 +0000 (22:23 +0000)]
Fix redraw bug by correcting nonclient region calculation. (Window->UpdateRegion has no proper values)
TODO: calculate and/or update Window->UpdateRegion properly
See issue #4181 for details.
svn path=/trunk/; revision=42836
Johannes Anderwald [Fri, 21 Aug 2009 19:38:45 +0000 (19:38 +0000)]
- IOCTL_KS_WRITE_STREAM passes the data in the OutputBuffer, not InputBuffer
svn path=/trunk/; revision=42834
Johannes Anderwald [Fri, 21 Aug 2009 18:36:43 +0000 (18:36 +0000)]
- Fix a few bugs
- Bug1 - BufferOverflow
- Bug2 - ks expects a '\\' for each pin creation request
- Bug3 - ObjectLength was not correctly set, thus truncating the request
- Bug4 - Zero byte was not set at correct offset, potentialy leading to a heap overflow
svn path=/trunk/; revision=42832
Stefan Ginsberg [Fri, 21 Aug 2009 17:39:37 +0000 (17:39 +0000)]
- Fix EXT2 IFS for msvc:
- Fix SEH for MSVC
- Disable C4003 (caused by the try_return mess)
- Add missing NTAPI to Ext2GetCurrentTime
svn path=/trunk/; revision=42831
Matthias Kupfer [Fri, 21 Aug 2009 17:27:28 +0000 (17:27 +0000)]
fixed typo in German translation
svn path=/trunk/; revision=42830
Stefan Ginsberg [Fri, 21 Aug 2009 15:57:26 +0000 (15:57 +0000)]
- svchost: #ifdef _MSC_VER doesn't mean "using Microsoft's headers" anymore
- ddraw, imm32, msxml3, oleaut32, riched20: Include typeof.h for typeof emulation when compiling under MSVC and remove from ReactOS-generic.rbuild (this can't go to port.h as the modules do not include it).
- TCPIP: Fix a check for MSVC.
- NDIS: Don't use floating point arithmetics in kernel mode -- spotted by MSVC trying to link to ftol (gcc inlined the operation).
- SAMLIB: Use __VA_ARGS__ instead of gcc-specific macro manipulation.
- WIN32CSR: Don't use gcc-specific \% if you want % in the string -- this is incorrect and will pass a broken string to swprintf (the code seems to be uncalled though, so this shouldn't change anything). Use %% instead.
- Error out on MSVC implementation of logb -- it doesn't produce the same code as the gcc version.
- Rename gcc's float.h to gcc_float.h and use #include instead of #include_next for consistency.
- Remove leftover header guard from types.h
- Remove superfluous brackets from PSEH2->MSVC defines -- this isn't necessary anymore after 41597
- Correction to 42216: MSVC *does* let you define types in a function, but only at the top of scope. Move back the C_ASSERT into KiAcquireGuardedMutex.
- Simplify definition of alloca
- scripts.cpp: Silence unavoidable warning.
- Remove compile time warning from Uniata -- the code has been unused for 1 1/2 years and will probably remain so.
svn path=/trunk/; revision=42829
Johannes Anderwald [Fri, 21 Aug 2009 15:08:46 +0000 (15:08 +0000)]
- Kernel is not yet writing the Control key when activating a device interface
svn path=/trunk/; revision=42828
Johannes Anderwald [Fri, 21 Aug 2009 14:53:04 +0000 (14:53 +0000)]
- RegQueryValueExW returns ERRROR_SUCCESS
svn path=/trunk/; revision=42827
Gregor Schneider [Fri, 21 Aug 2009 14:35:48 +0000 (14:35 +0000)]
Remove glyph guard (bug #933): there is no way to such an exclusion properly without working GetCharPlacement, every font engine handles glyphed output slightly different. Fixes Abiword text regression
svn path=/trunk/; revision=42826
Johannes Anderwald [Fri, 21 Aug 2009 13:15:38 +0000 (13:15 +0000)]
- Remove test code
svn path=/trunk/; revision=42825
Aleksey Bragin [Fri, 21 Aug 2009 13:01:27 +0000 (13:01 +0000)]
- Convert a wrong macro to an inlined function.
svn path=/trunk/; revision=42824
Johannes Anderwald [Fri, 21 Aug 2009 12:58:20 +0000 (12:58 +0000)]
- Partly implement KsCreateBusEnumObject
svn path=/trunk/; revision=42823
Gregor Schneider [Fri, 21 Aug 2009 11:27:24 +0000 (11:27 +0000)]
- co_IntLoadSysMenuTemplate: only copy buffer if prior operation succeeded, bug #4803
- co_IntLoadDefaultCursors: result is not used, no need to copy it
svn path=/trunk/; revision=42822
Johannes Anderwald [Fri, 21 Aug 2009 10:30:05 +0000 (10:30 +0000)]
- Don't touch the freed buffer in case of an error
- Found by Amine Khaldi
svn path=/trunk/; revision=42821
Johannes Anderwald [Fri, 21 Aug 2009 10:06:29 +0000 (10:06 +0000)]
- Remove hacks for bug 4566
svn path=/trunk/; revision=42820
Johannes Anderwald [Fri, 21 Aug 2009 10:02:25 +0000 (10:02 +0000)]
- Reference strings are not part of the symbolic link. Therefore don't include them when creating the symbolic link (IoCreateSymbolicLink)
- Reference strings are used by the kernel streaming system to distinguish kernel streaming filters. As it is perfectly possible, to provide more than one filter with same guid but different reference string, ignore the failure for now if IoCreateSymbolicLink fails
See issue #4566 for more details.
svn path=/trunk/; revision=42819
Matthias Kupfer [Fri, 21 Aug 2009 09:00:54 +0000 (09:00 +0000)]
Alexander Yastrebov <menone7 AT gmail DOT com>
- Russian translation and update of utorrent added.
- see issue #4762 for details.
- stupid BOM for compatibility added.
svn path=/trunk/; revision=42818
Stefan Ginsberg [Thu, 20 Aug 2009 20:02:19 +0000 (20:02 +0000)]
- Include windef.h so CDECL gets declared for msvc's version of DEFINE_GUIDEX in ks.h
svn path=/trunk/; revision=42817
Christoph von Wittich [Thu, 20 Aug 2009 18:16:35 +0000 (18:16 +0000)]
revert 41654
svn path=/trunk/; revision=42816
Christoph von Wittich [Thu, 20 Aug 2009 18:11:21 +0000 (18:11 +0000)]
sync mlang winetest with wine 1.1.27
svn path=/trunk/; revision=42815
Christoph von Wittich [Thu, 20 Aug 2009 18:08:05 +0000 (18:08 +0000)]
advapi32: fix parameter types of CreateServiceA/W in spec file
patch by Stefan Leichter <Stefan dot Leichter at camline dot com>
svn path=/trunk/; revision=42814
Christoph von Wittich [Thu, 20 Aug 2009 17:39:08 +0000 (17:39 +0000)]
sync wintrust with wine 1.1.27
svn path=/trunk/; revision=42813
Cameron Gutman [Thu, 20 Aug 2009 17:33:22 +0000 (17:33 +0000)]
- Forgot to change debug print
svn path=/trunk/; revision=42812
Cameron Gutman [Thu, 20 Aug 2009 17:25:39 +0000 (17:25 +0000)]
- Fix receiving packets on an interface's broadcast address while bound to an undefined address
- Simplify binding to a certain interface
svn path=/trunk/; revision=42811
Stefan Ginsberg [Thu, 20 Aug 2009 17:15:46 +0000 (17:15 +0000)]
- Fix some C4115 in typeof.h
svn path=/trunk/; revision=42810
Matthias Kupfer [Thu, 20 Aug 2009 16:40:57 +0000 (16:40 +0000)]
- 4th part of German translation of rapps entries.
- change some entries to proper values
svn path=/trunk/; revision=42809
Stefan Ginsberg [Thu, 20 Aug 2009 14:45:32 +0000 (14:45 +0000)]
- Get rid of some more assumptions that the default calling convention is stdcall
svn path=/trunk/; revision=42808