Commit graph

38716 commits

Author SHA1 Message Date
James Tabor 5e29da18bf - Implement window message is active icon.
svn path=/trunk/; revision=42788
2009-08-20 01:49:25 +00:00
Cameron Gutman 9757ce3f97 - Allow binding to an interface's broadcast address
- Set address type

svn path=/trunk/; revision=42787
2009-08-20 00:54:27 +00:00
Johannes Anderwald 023b3bfa2a - Add bda driver
svn path=/trunk/; revision=42786
2009-08-19 12:40:02 +00:00
Johannes Anderwald 35ab9f725a - Arch should learn english first before bashing gcc
svn path=/trunk/; revision=42785
2009-08-19 12:32:56 +00:00
Johannes Anderwald 9d6768ef65 - Implement KsProbeStreamIrp
- Currently commented out as gcc finds it hard to find a member in a struct

svn path=/trunk/; revision=42784
2009-08-19 12:24:28 +00:00
Johannes Anderwald 9639b5995d - fix check
svn path=/trunk/; revision=42783
2009-08-19 12:19:56 +00:00
Johannes Anderwald 3a360ecf29 - Add flags
svn path=/trunk/; revision=42782
2009-08-19 12:14:42 +00:00
Matthias Kupfer 79d5c915fe - third part of German translation of rapps entries.
- change some entries to proper values

svn path=/trunk/; revision=42781
2009-08-19 11:28:00 +00:00
Gregor Schneider e5d8f301db - GetGlyphOutline: fail if output or transformation matrix buffers are not passed
- Fixes three gdi32 font winetests

svn path=/trunk/; revision=42780
2009-08-19 11:23:31 +00:00
Gregor Schneider ea488d3a60 - Sync and adapt Wine font metric code for setting first, last, default and break characters
- Fixes approx 80 gdi32 font winetests

svn path=/trunk/; revision=42779
2009-08-19 11:02:10 +00:00
Cameron Gutman 183b90d2c6 - Fix release build
svn path=/trunk/; revision=42778
2009-08-18 22:15:06 +00:00
Cameron Gutman ce8c9c4122 - I guess kdesvn didn't realize that when I check the box for include/reactos/winsock that I actually wanted the files in it to be committed also
svn path=/trunk/; revision=42777
2009-08-18 21:54:55 +00:00
Cameron Gutman ad72be7f7f - Fix ws2_32_new's build problems
- ws2_32_new is now included in build (output file is ws2_32_new.dll for any curious testers :P)

svn path=/trunk/; revision=42776
2009-08-18 21:40:20 +00:00
Cameron Gutman ca5c8b53bf - Print a message to the debug log if ZwClose returns STATUS_INVALID_HANDLE
- This message will only after "cont"ing past the bugcheck and will hopefully help me track down bug 4796

svn path=/trunk/; revision=42775
2009-08-18 20:43:13 +00:00
Cameron Gutman 3263e1f67a - Fix null pointer dereferences
- Fix out of bounds array access
 - Check that we got a valid pointer from HeapAlloc
 - Don't close the caller's handle when we fail
 - Fix a memory leak
 - Found by Amine Khaldi

svn path=/trunk/; revision=42774
2009-08-18 20:30:58 +00:00
Gregor Schneider e74d2c5ce4 - Improve glyph guard from r42749: allow displaying glyphs if the application knows the character placements
- Some rendering engines (like FF3) do the conversion without using GetCharacterPlacementA/W

svn path=/trunk/; revision=42773
2009-08-18 19:51:32 +00:00
Cameron Gutman 4e9ecfe8a7 - Fix dereference of freed memory
svn path=/trunk/; revision=42772
2009-08-18 19:06:52 +00:00
Cameron Gutman 1361a97afb - Fix a typo
svn path=/trunk/; revision=42771
2009-08-18 19:04:51 +00:00
Cameron Gutman 5b91c1a754 - Make sure HeapAlloc returned a valid pointer
- Fix some memory leaks
 - Return a better status for STATUS_INSUFFICIENT_RESOURCES and STATUS_NO_MEMORY
 - Fix a potential null pointer dereference in SetSocketInformation and GetSocketInformation
 - Initialize RemoteAddress so we aren't trying to copy the remote address to 0
 - Found by Amine Khaldi

svn path=/trunk/; revision=42770
2009-08-18 18:53:10 +00:00
Cameron Gutman ab9f22b2e8 - Handle failure of NdisMInitializeWrapper
- Found by Amine Khaldi

svn path=/trunk/; revision=42769
2009-08-18 18:01:26 +00:00
Cameron Gutman 38a3ccc3fd - Verify that we got a handle to a file object
svn path=/trunk/; revision=42768
2009-08-18 16:23:31 +00:00
Gregor Schneider 6af2bfe3c7 Check the correct buffer for failed memory allocation, found by Amine Khaldi
svn path=/trunk/; revision=42767
2009-08-18 14:43:47 +00:00
Gregor Schneider 332c985b52 Sync scanf to current wine sources, correct msvcrt cpp sync date
svn path=/trunk/; revision=42766
2009-08-18 14:23:51 +00:00
Gregor Schneider d2fa38f67a - GetConsoleAliasW: Check for invalid target buffer, failed memory allocation + set last error
svn path=/trunk/; revision=42765
2009-08-18 13:47:02 +00:00
Gregor Schneider 9f218a3f22 - GetConsoleAliasA: Check for invalid target buffer, failed memory allocations (3x)
- Found by Amine Khaldi 

svn path=/trunk/; revision=42764
2009-08-18 13:39:28 +00:00
Johannes Anderwald 8739063551 - Implement IPortEvents interface for IPortTopology
- Fix a bug in the IPortEvents::QueryInterface handler of IPortWaveCyclic & IPortWavePci 

svn path=/trunk/; revision=42762
2009-08-18 08:24:09 +00:00
Johannes Anderwald f886c8a5b0 - Increment reference count only if resource list was passed
- May fix A.8738-4C

svn path=/trunk/; revision=42761
2009-08-18 08:03:12 +00:00
Sylvain Petreolle dbc071c121 Move IF_OPER_STATUS enum to ifdef.h
svn path=/trunk/; revision=42760
2009-08-17 19:46:30 +00:00
Johannes Anderwald bc5b55fb73 [WDMAUD.DRV]
- Disable traces
- Use device name from IOCTL
[WDMAUD_KERNEL]
- Implement retrieving devicename by looking up in the registry
[SYSAUDIO]
- Implement KSPROPERTY_SYSAUDIO_DEVICE_INTERFACE_NAME
- Audio CPL should now show correct audio device name

svn path=/trunk/; revision=42759
2009-08-17 17:23:35 +00:00
Gregor Schneider e453915908 - Remove duplicate WToA conversion routine, update the kept version to current Wine
- Adapt calling functions from BOOL to VOID since they can't fail
- Fixes ~two font tests

svn path=/trunk/; revision=42758
2009-08-17 17:03:55 +00:00
Johannes Anderwald 915aebab36 - Implement usermode mixing support
- To enable, see wdmaud rbuild

svn path=/trunk/; revision=42757
2009-08-17 13:49:19 +00:00
Johannes Anderwald fd6d123510 - Fix a big bug in the samplerate conversion routine
svn path=/trunk/; revision=42756
2009-08-17 13:39:20 +00:00
Johannes Anderwald 53a7643988 - Add members required for usermode-mixing support
svn path=/trunk/; revision=42755
2009-08-17 13:37:57 +00:00
James Tabor 78741d32c5 - Add win32k support functions for GetCharacterPlacement.
svn path=/trunk/; revision=42754
2009-08-17 05:46:57 +00:00
Daniel Reimer 5a32565702 Sync all apps with wine 1.1.27. (reactos)
This is not a 1:1 sync anymore, because Wine adds all single rc files into the makefile now and we don't support this right now.
-> Reverted to old behavior and added a pragma revert line to all rc files which change the pragma for UTF8 Support.
Now all Wine apps properly work again.

svn path=/trunk/; revision=42753
2009-08-17 01:42:32 +00:00
Daniel Reimer b58cef33fa Sync all apps with wine 1.1.27. (rosapps)
This is not a 1:1 sync anymore, because Wine adds all single rc files into the makefile now and we dont support this right now.
-> Reverted to old behavior and added a pragma revert line to all rc files which change the pragma for UTF8 Support.

svn path=/trunk/; revision=42752
2009-08-17 01:37:17 +00:00
James Tabor 2594a8fbef - Move GetCharacterPlacement functions into new locations. Implemented GetCharacterPlacementA from wine port.
- Port from wine, original authors: Juergen Schmied <juergen.schmied@metronet.de>, Peter Oberndorfer <kumbayo84@arcor.de>

svn path=/trunk/; revision=42751
2009-08-17 01:34:20 +00:00
James Tabor 2e771a7968 - Add callback for client side thread startup. This is for bug 4785.
svn path=/trunk/; revision=42750
2009-08-17 00:30:25 +00:00
Gregor Schneider 96e5d9e878 - Don't allow glyph indices (ETO_GLYPH_INDEX) in ExtTextOut as long as they are not created properly
- GetCharacterPlacementA/W has to work to allow this, currently broken/stubbed
- Switch to full text processing mode so that those texts are shown
- Fixes garbled text in OpenOffice 1.14/1.15 installers, bug #933

svn path=/trunk/; revision=42749
2009-08-17 00:24:46 +00:00
Gregor Schneider a7c654b075 Handle a missing output buffer in NtGdiGetCharABCWidthsW
svn path=/trunk/; revision=42748
2009-08-17 00:13:44 +00:00
Dmitry Gorbachev 39980608f8 Add an assertion. See bug #4785.
svn path=/trunk/; revision=42747
2009-08-16 22:52:05 +00:00
James Tabor 46af179093 - [Win32k] Removed W32THREADINFO.
- Tested AbiWord, User32 wine tests. Yes, of course, this needs more testing.


svn path=/trunk/; revision=42746
2009-08-16 21:44:59 +00:00
Gregor Schneider c365f1c1bb Handle failure of EngLockSurface as well
svn path=/trunk/; revision=42745
2009-08-16 20:11:31 +00:00
Stefan Ginsberg ac35e87724 - Revert 32309 -- instead of removing FORCEINLINE to make GCC happy (it can't inline functions using va_list), use __inline to merely hint that the function should be inlined. This lets you use RtlStringCbPrintfA and RtlStringCbPrintfExA in multiple source files as the functions aren't static.
- Moreover, there is no reason to forceinline all the RtlString* routines -- they are quite big and the compiler should be allowed to optimize here as it likes, so just use __inline. Also add RtlStringCchCopyA and re-enable ASSERTMSG and use it for the stubs.
- Add missing GUID_CLASS_COMPORT and GUID_SERENUM_BUS_ENUMERATOR to ntddser.h
- Add driverspecs.h to stub out Driver Verifier annotations
- The WDK serenum source sample now compiles with our header set.

svn path=/trunk/; revision=42744
2009-08-16 20:08:48 +00:00
Gregor Schneider f145632ab6 Handle failure of EngCreateClip, spotted by Amine Khaldi
svn path=/trunk/; revision=42743
2009-08-16 19:56:40 +00:00
Gregor Schneider ea7be198c3 - Copy the source rectangle after checking it
- Create input rectangle from destination size if source is not used

svn path=/trunk/; revision=42742
2009-08-16 19:43:58 +00:00
Gregor Schneider d9bc76c65a Allocate span memory for every clipping type, not only for one
svn path=/trunk/; revision=42741
2009-08-16 19:20:50 +00:00
Gregor Schneider 9a8137bdd5 Add some useful information to the popen header
svn path=/trunk/; revision=42740
2009-08-16 18:58:25 +00:00
Gregor Schneider 1aebf2497e Only set the pattern function pointer if the pattern surface is valid, spotted by Amine Khaldi
svn path=/trunk/; revision=42739
2009-08-16 18:52:06 +00:00
KJK::Hyperion f5828613f7 Tests to exercise support for calling stack-allocated trampolines. All three tests pass
svn path=/trunk/; revision=42738
2009-08-16 16:50:35 +00:00