Commit graph

38716 commits

Author SHA1 Message Date
Gregor Brunmar 9a06e2badb - Implemented MSVC version of ldexp
svn path=/trunk/; revision=42842
2009-08-22 10:16:11 +00:00
Gregor Brunmar a68ce7a4e3 - Implemented MSVC version of atan2
svn path=/trunk/; revision=42841
2009-08-22 10:07:25 +00:00
Matthias Kupfer c98133c6af - halve and round up (improved version) ;-)
svn path=/trunk/; revision=42838
2009-08-22 09:26:13 +00:00
Johannes Anderwald 0248a689e4 [KS]
- Store input buffer in Irp->AssociatedIrp.SystemBuffer
- Add check
[PORTCLS]
- Add support for DirectKs

svn path=/trunk/; revision=42837
2009-08-21 22:46:18 +00:00
Matthias Kupfer b728102816 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
2009-08-21 22:23:22 +00:00
Johannes Anderwald 5ad980f439 - IOCTL_KS_WRITE_STREAM passes the data in the OutputBuffer, not InputBuffer
svn path=/trunk/; revision=42834
2009-08-21 19:38:45 +00:00
Johannes Anderwald 6f2463f07d - 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
2009-08-21 18:36:43 +00:00
Stefan Ginsberg cd731afde1 - 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
2009-08-21 17:39:37 +00:00
Matthias Kupfer 4b9ecd6c5c fixed typo in German translation
svn path=/trunk/; revision=42830
2009-08-21 17:27:28 +00:00
Stefan Ginsberg 43b07d3f6a - 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
2009-08-21 15:57:26 +00:00
Johannes Anderwald fb91ab63f5 - Kernel is not yet writing the Control key when activating a device interface
svn path=/trunk/; revision=42828
2009-08-21 15:08:46 +00:00
Johannes Anderwald 785ccb4938 - RegQueryValueExW returns ERRROR_SUCCESS
svn path=/trunk/; revision=42827
2009-08-21 14:53:04 +00:00
Gregor Schneider 2922b635c3 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
2009-08-21 14:35:48 +00:00
Johannes Anderwald a39871ddb2 - Remove test code
svn path=/trunk/; revision=42825
2009-08-21 13:15:38 +00:00
Aleksey Bragin f6df5d0f26 - Convert a wrong macro to an inlined function.
svn path=/trunk/; revision=42824
2009-08-21 13:01:27 +00:00
Johannes Anderwald a6407bcf60 - Partly implement KsCreateBusEnumObject
svn path=/trunk/; revision=42823
2009-08-21 12:58:20 +00:00
Gregor Schneider d93536f7a1 - 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
2009-08-21 11:27:24 +00:00
Johannes Anderwald f5396c2fb8 - Don't touch the freed buffer in case of an error
- Found by Amine Khaldi

svn path=/trunk/; revision=42821
2009-08-21 10:30:05 +00:00
Johannes Anderwald 67d71e67d5 - Remove hacks for bug 4566
svn path=/trunk/; revision=42820
2009-08-21 10:06:29 +00:00
Johannes Anderwald 5fb02a865b - 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
2009-08-21 10:02:25 +00:00
Matthias Kupfer 97ebb9ee91 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
2009-08-21 09:00:54 +00:00
Stefan Ginsberg eae44a3cfd - Include windef.h so CDECL gets declared for msvc's version of DEFINE_GUIDEX in ks.h
svn path=/trunk/; revision=42817
2009-08-20 20:02:19 +00:00
Christoph von Wittich abb53b3db4 revert 41654
svn path=/trunk/; revision=42816
2009-08-20 18:16:35 +00:00
Christoph von Wittich 0fdef256ff sync mlang winetest with wine 1.1.27
svn path=/trunk/; revision=42815
2009-08-20 18:11:21 +00:00
Christoph von Wittich 9324b6140d 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
2009-08-20 18:08:05 +00:00
Christoph von Wittich 7f4bc6c2db sync wintrust with wine 1.1.27
svn path=/trunk/; revision=42813
2009-08-20 17:39:08 +00:00
Cameron Gutman a2e0b86cd0 - Forgot to change debug print
svn path=/trunk/; revision=42812
2009-08-20 17:33:22 +00:00
Cameron Gutman da1fa88e1c - 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
2009-08-20 17:25:39 +00:00
Stefan Ginsberg b1c4f00121 - Fix some C4115 in typeof.h
svn path=/trunk/; revision=42810
2009-08-20 17:15:46 +00:00
Matthias Kupfer 484cbc2b77 - 4th part of German translation of rapps entries.
- change some entries to proper values

svn path=/trunk/; revision=42809
2009-08-20 16:40:57 +00:00
Stefan Ginsberg 165dc7a512 - Get rid of some more assumptions that the default calling convention is stdcall
svn path=/trunk/; revision=42808
2009-08-20 14:45:32 +00:00
Stefan Ginsberg 4705fbc38a - 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
2009-08-20 13:57:16 +00:00
Stefan Ginsberg ce5adcdab2 - Remove usage of dllexport for most dlls and drivers -- we use .def/.spec instead.
svn path=/trunk/; revision=42806
2009-08-20 13:45:01 +00:00
Johannes Anderwald 0d280a8bde - Implement KsCopyObjectBagItems
svn path=/trunk/; revision=42805
2009-08-20 13:21:24 +00:00
Johannes Anderwald bfe81917e0 - Implement DllInitialize
svn path=/trunk/; revision=42804
2009-08-20 12:38:52 +00:00
Stefan Ginsberg e64b6077f6 - 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
2009-08-20 12:27:08 +00:00
Johannes Anderwald 1e7c4cb0cc - Define automation tables for Filter & Pin
- Plug in automation tables when creating a new filter factory / pin

svn path=/trunk/; revision=42802
2009-08-20 12:26:09 +00:00
Johannes Anderwald bb8ff85531 - Add KsMergeAutomationTables
svn path=/trunk/; revision=42801
2009-08-20 12:11:36 +00:00
Stefan Ginsberg 71820568a2 - 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
2009-08-20 12:09:16 +00:00
Johannes Anderwald 7a862d7907 - Add types for bda driver
svn path=/trunk/; revision=42799
2009-08-20 11:55:42 +00:00
Christoph von Wittich 5a25dd682a sync credui with wine 1.1.27
svn path=/trunk/; revision=42798
2009-08-20 11:41:11 +00:00
Johannes Anderwald 43eae548e0 - Add types for bda driver
svn path=/trunk/; revision=42797
2009-08-20 11:39:54 +00:00
Christoph von Wittich 743c591273 sync oledlg with wine 1.1.27
svn path=/trunk/; revision=42796
2009-08-20 10:36:10 +00:00
Stefan Ginsberg 047dc08ea4 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
2009-08-20 10:29:54 +00:00
Christoph von Wittich fed70152bf sync cryptui with wine 1.1.27
svn path=/trunk/; revision=42794
2009-08-20 10:22:38 +00:00
Christoph von Wittich 6d951b54a6 sync cryptnet with wine 1.1.27
svn path=/trunk/; revision=42793
2009-08-20 10:19:17 +00:00
Christoph von Wittich 0fd54d3881 sync cryptdlg with wine 1.1.27
svn path=/trunk/; revision=42792
2009-08-20 10:06:41 +00:00
Christoph von Wittich da29fff769 sync crypt32 with wine 1.1.27
svn path=/trunk/; revision=42791
2009-08-20 10:03:19 +00:00
Christoph von Wittich 4d55416f67 sync cabinet winetest with wine 1.1.27
svn path=/trunk/; revision=42790
2009-08-20 09:41:42 +00:00
Dmitry Gorbachev db5b8e29f7 No bug is too trivial to report:
- remove a stray semicolon (bug #4804).

svn path=/trunk/; revision=42789
2009-08-20 06:54:44 +00:00