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
Stefan Ginsberg [Thu, 20 Aug 2009 13:57:16 +0000 (13:57 +0000)]
- Get rid of DECLSPEC_EXPORT from DDK
- "Isolate Hal* #defines, which are absent in WDK, they should not be used in kernel development." No, exactly, and they shouldn't be used in Xbox HAL either
svn path=/trunk/; revision=42807
Stefan Ginsberg [Thu, 20 Aug 2009 13:45:01 +0000 (13:45 +0000)]
- Remove usage of dllexport for most dlls and drivers -- we use .def/.spec instead.
svn path=/trunk/; revision=42806
Johannes Anderwald [Thu, 20 Aug 2009 13:21:24 +0000 (13:21 +0000)]
- Implement KsCopyObjectBagItems
svn path=/trunk/; revision=42805
Johannes Anderwald [Thu, 20 Aug 2009 12:38:52 +0000 (12:38 +0000)]
- Implement DllInitialize
svn path=/trunk/; revision=42804
Stefan Ginsberg [Thu, 20 Aug 2009 12:27:08 +0000 (12:27 +0000)]
- Release ntddsnd.h, portcls.h. punknown.h and stdunk.h to the public domain (silverblade and janderwald have agreed to this).
svn path=/trunk/; revision=42803
Johannes Anderwald [Thu, 20 Aug 2009 12:26:09 +0000 (12:26 +0000)]
- Define automation tables for Filter & Pin
- Plug in automation tables when creating a new filter factory / pin
svn path=/trunk/; revision=42802
Johannes Anderwald [Thu, 20 Aug 2009 12:11:36 +0000 (12:11 +0000)]
- Add KsMergeAutomationTables
svn path=/trunk/; revision=42801
Stefan Ginsberg [Thu, 20 Aug 2009 12:09:16 +0000 (12:09 +0000)]
- Remove several assumptions that the default calling convention is stdcall (it isn't under gcc)
- Fix even more definitions of function pointer protypes to define the calling convention compatibly for MSVC
- Don't use dllexport in scsiport -- fixes linking under msvc
svn path=/trunk/; revision=42800
Johannes Anderwald [Thu, 20 Aug 2009 11:55:42 +0000 (11:55 +0000)]
- Add types for bda driver
svn path=/trunk/; revision=42799
Christoph von Wittich [Thu, 20 Aug 2009 11:41:11 +0000 (11:41 +0000)]
sync credui with wine 1.1.27
svn path=/trunk/; revision=42798
Johannes Anderwald [Thu, 20 Aug 2009 11:39:54 +0000 (11:39 +0000)]
- Add types for bda driver
svn path=/trunk/; revision=42797
Christoph von Wittich [Thu, 20 Aug 2009 10:36:10 +0000 (10:36 +0000)]
sync oledlg with wine 1.1.27
svn path=/trunk/; revision=42796
Stefan Ginsberg [Thu, 20 Aug 2009 10:29:54 +0000 (10:29 +0000)]
Don't use dllexport for videoprt; we use a .spec. Also, don't use DDKAPI as it is a w32api/ReactOS define.
We welcome videoprt into the club of modules compiling *and* linking under msvc.
svn path=/trunk/; revision=42795
Christoph von Wittich [Thu, 20 Aug 2009 10:22:38 +0000 (10:22 +0000)]
sync cryptui with wine 1.1.27
svn path=/trunk/; revision=42794
Christoph von Wittich [Thu, 20 Aug 2009 10:19:17 +0000 (10:19 +0000)]
sync cryptnet with wine 1.1.27
svn path=/trunk/; revision=42793
Christoph von Wittich [Thu, 20 Aug 2009 10:06:41 +0000 (10:06 +0000)]
sync cryptdlg with wine 1.1.27
svn path=/trunk/; revision=42792
Christoph von Wittich [Thu, 20 Aug 2009 10:03:19 +0000 (10:03 +0000)]
sync crypt32 with wine 1.1.27
svn path=/trunk/; revision=42791
Christoph von Wittich [Thu, 20 Aug 2009 09:41:42 +0000 (09:41 +0000)]
sync cabinet winetest with wine 1.1.27
svn path=/trunk/; revision=42790
Dmitry Gorbachev [Thu, 20 Aug 2009 06:54:44 +0000 (06:54 +0000)]
No bug is too trivial to report:
- remove a stray semicolon (bug #4804).
svn path=/trunk/; revision=42789
James Tabor [Thu, 20 Aug 2009 01:49:25 +0000 (01:49 +0000)]
- Implement window message is active icon.
svn path=/trunk/; revision=42788