Cameron Gutman [Tue, 18 Aug 2009 22:15:06 +0000 (22:15 +0000)]
- Fix release build
svn path=/trunk/; revision=42778
Cameron Gutman [Tue, 18 Aug 2009 21:54:55 +0000 (21:54 +0000)]
- 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
Cameron Gutman [Tue, 18 Aug 2009 21:40:20 +0000 (21:40 +0000)]
- 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
Cameron Gutman [Tue, 18 Aug 2009 20:43:13 +0000 (20:43 +0000)]
- 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
Cameron Gutman [Tue, 18 Aug 2009 20:30:58 +0000 (20:30 +0000)]
- 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
Gregor Schneider [Tue, 18 Aug 2009 19:51:32 +0000 (19:51 +0000)]
- 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
Cameron Gutman [Tue, 18 Aug 2009 19:06:52 +0000 (19:06 +0000)]
- Fix dereference of freed memory
svn path=/trunk/; revision=42772
Cameron Gutman [Tue, 18 Aug 2009 19:04:51 +0000 (19:04 +0000)]
- Fix a typo
svn path=/trunk/; revision=42771
Cameron Gutman [Tue, 18 Aug 2009 18:53:10 +0000 (18:53 +0000)]
- 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
Cameron Gutman [Tue, 18 Aug 2009 18:01:26 +0000 (18:01 +0000)]
- Handle failure of NdisMInitializeWrapper
- Found by Amine Khaldi
svn path=/trunk/; revision=42769
Cameron Gutman [Tue, 18 Aug 2009 16:23:31 +0000 (16:23 +0000)]
- Verify that we got a handle to a file object
svn path=/trunk/; revision=42768
Gregor Schneider [Tue, 18 Aug 2009 14:43:47 +0000 (14:43 +0000)]
Check the correct buffer for failed memory allocation, found by Amine Khaldi
svn path=/trunk/; revision=42767
Gregor Schneider [Tue, 18 Aug 2009 14:23:51 +0000 (14:23 +0000)]
Sync scanf to current wine sources, correct msvcrt cpp sync date
svn path=/trunk/; revision=42766
Gregor Schneider [Tue, 18 Aug 2009 13:47:02 +0000 (13:47 +0000)]
- GetConsoleAliasW: Check for invalid target buffer, failed memory allocation + set last error
svn path=/trunk/; revision=42765
Gregor Schneider [Tue, 18 Aug 2009 13:39:28 +0000 (13:39 +0000)]
- GetConsoleAliasA: Check for invalid target buffer, failed memory allocations (3x)
- Found by Amine Khaldi
svn path=/trunk/; revision=42764
Johannes Anderwald [Tue, 18 Aug 2009 08:24:09 +0000 (08:24 +0000)]
- Implement IPortEvents interface for IPortTopology
- Fix a bug in the IPortEvents::QueryInterface handler of IPortWaveCyclic & IPortWavePci
svn path=/trunk/; revision=42762
Johannes Anderwald [Tue, 18 Aug 2009 08:03:12 +0000 (08:03 +0000)]
- Increment reference count only if resource list was passed
- May fix A.8738-4C
svn path=/trunk/; revision=42761
Sylvain Petreolle [Mon, 17 Aug 2009 19:46:30 +0000 (19:46 +0000)]
Move IF_OPER_STATUS enum to ifdef.h
svn path=/trunk/; revision=42760
Johannes Anderwald [Mon, 17 Aug 2009 17:23:35 +0000 (17:23 +0000)]
[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
Gregor Schneider [Mon, 17 Aug 2009 17:03:55 +0000 (17:03 +0000)]
- 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
Johannes Anderwald [Mon, 17 Aug 2009 13:49:19 +0000 (13:49 +0000)]
- Implement usermode mixing support
- To enable, see wdmaud rbuild
svn path=/trunk/; revision=42757
Johannes Anderwald [Mon, 17 Aug 2009 13:39:20 +0000 (13:39 +0000)]
- Fix a big bug in the samplerate conversion routine
svn path=/trunk/; revision=42756
Johannes Anderwald [Mon, 17 Aug 2009 13:37:57 +0000 (13:37 +0000)]
- Add members required for usermode-mixing support
svn path=/trunk/; revision=42755
James Tabor [Mon, 17 Aug 2009 05:46:57 +0000 (05:46 +0000)]
- Add win32k support functions for GetCharacterPlacement.
svn path=/trunk/; revision=42754
Daniel Reimer [Mon, 17 Aug 2009 01:42:32 +0000 (01:42 +0000)]
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
Daniel Reimer [Mon, 17 Aug 2009 01:37:17 +0000 (01:37 +0000)]
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
James Tabor [Mon, 17 Aug 2009 01:34:20 +0000 (01:34 +0000)]
- 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
James Tabor [Mon, 17 Aug 2009 00:30:25 +0000 (00:30 +0000)]
- Add callback for client side thread startup. This is for bug 4785.
svn path=/trunk/; revision=42750
Gregor Schneider [Mon, 17 Aug 2009 00:24:46 +0000 (00:24 +0000)]
- 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
Gregor Schneider [Mon, 17 Aug 2009 00:13:44 +0000 (00:13 +0000)]
Handle a missing output buffer in NtGdiGetCharABCWidthsW
svn path=/trunk/; revision=42748
Dmitry Gorbachev [Sun, 16 Aug 2009 22:52:05 +0000 (22:52 +0000)]
Add an assertion. See bug #4785.
svn path=/trunk/; revision=42747
James Tabor [Sun, 16 Aug 2009 21:44:59 +0000 (21:44 +0000)]
- [Win32k] Removed W32THREADINFO.
- Tested AbiWord, User32 wine tests. Yes, of course, this needs more testing.
svn path=/trunk/; revision=42746
Gregor Schneider [Sun, 16 Aug 2009 20:11:31 +0000 (20:11 +0000)]
Handle failure of EngLockSurface as well
svn path=/trunk/; revision=42745
Stefan Ginsberg [Sun, 16 Aug 2009 20:08:48 +0000 (20:08 +0000)]
- 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
Gregor Schneider [Sun, 16 Aug 2009 19:56:40 +0000 (19:56 +0000)]
Handle failure of EngCreateClip, spotted by Amine Khaldi
svn path=/trunk/; revision=42743
Gregor Schneider [Sun, 16 Aug 2009 19:43:58 +0000 (19:43 +0000)]
- Copy the source rectangle after checking it
- Create input rectangle from destination size if source is not used
svn path=/trunk/; revision=42742
Gregor Schneider [Sun, 16 Aug 2009 19:20:50 +0000 (19:20 +0000)]
Allocate span memory for every clipping type, not only for one
svn path=/trunk/; revision=42741
Gregor Schneider [Sun, 16 Aug 2009 18:58:25 +0000 (18:58 +0000)]
Add some useful information to the popen header
svn path=/trunk/; revision=42740
Gregor Schneider [Sun, 16 Aug 2009 18:52:06 +0000 (18:52 +0000)]
Only set the pattern function pointer if the pattern surface is valid, spotted by Amine Khaldi
svn path=/trunk/; revision=42739
KJK::Hyperion [Sun, 16 Aug 2009 16:50:35 +0000 (16:50 +0000)]
Tests to exercise support for calling stack-allocated trampolines. All three tests pass
svn path=/trunk/; revision=42738
KJK::Hyperion [Sun, 16 Aug 2009 16:40:52 +0000 (16:40 +0000)]
modified include/reactos/libs/pseh/pseh2.h
Trampoline-related definitions are no longer necessary in the public header
modified lib/pseh/i386/framebased-gcchack.c
Don't use byte arrays when you mean unaligned field, Arch: use __attribute__((packed)) instead, and gcc will thank you for not violating strong aliasing
svn path=/trunk/; revision=42737
Stefan Ginsberg [Sun, 16 Aug 2009 13:20:19 +0000 (13:20 +0000)]
- Remove incorrect #pragma pack/pop
svn path=/trunk/; revision=42736
Timo Kreuzer [Sun, 16 Aug 2009 12:57:41 +0000 (12:57 +0000)]
Update PDEVOBJ and GRAPHICS_DEVICE fields
svn path=/trunk/; revision=42735
Stefan Ginsberg [Sun, 16 Aug 2009 12:53:31 +0000 (12:53 +0000)]
- Woops, NDIS_PHYSICAL_MEDIUM got lost somehow... and NDIS_MEDIUM belongs in ntddndis.h too
svn path=/trunk/; revision=42734
Stefan Ginsberg [Sun, 16 Aug 2009 12:42:18 +0000 (12:42 +0000)]
- Fix ntstrsafe.h's dependency on debug.h
svn path=/trunk/; revision=42733
Stefan Ginsberg [Sun, 16 Aug 2009 12:37:44 +0000 (12:37 +0000)]
- Remove duplicate ntddndis.h in /psdk/ -- we already have it in /ddk/. Add the duplicated types to the DDK version. Also move NDIS_OBJECT_HEADER over to ntddndis.h from ndis.h as this is where it belongs.
- Remove "ntdd1934.h" -- this header should be named ntdd1394.h. We already have a copy named so, but the old incompatible header wasn't removed.
svn path=/trunk/; revision=42732
Matthias Kupfer [Sun, 16 Aug 2009 12:31:54 +0000 (12:31 +0000)]
fix German translation of ReactOS Applications Manager
svn path=/trunk/; revision=42731
Matthias Kupfer [Sun, 16 Aug 2009 12:28:17 +0000 (12:28 +0000)]
fix some typos
svn path=/trunk/; revision=42730
Matthias Kupfer [Sun, 16 Aug 2009 12:23:01 +0000 (12:23 +0000)]
- second part of German translation of rapps entries.
- change some entries to proper values
svn path=/trunk/; revision=42729
Sylvain Petreolle [Sun, 16 Aug 2009 11:04:42 +0000 (11:04 +0000)]
fix tditest build
svn path=/trunk/; revision=42728
James Tabor [Sun, 16 Aug 2009 06:41:18 +0000 (06:41 +0000)]
- Use correct head structure for event hooks.
svn path=/trunk/; revision=42727
James Tabor [Sun, 16 Aug 2009 01:48:35 +0000 (01:48 +0000)]
- Move inline function to local header.
svn path=/trunk/; revision=42726
Dmitry Gorbachev [Sun, 16 Aug 2009 01:21:20 +0000 (01:21 +0000)]
Revert r42569.
svn path=/trunk/; revision=42725
Dmitry Gorbachev [Sun, 16 Aug 2009 01:20:50 +0000 (01:20 +0000)]
Synchronize with paging I/O.
svn path=/trunk/; revision=42724
Dmitry Gorbachev [Sun, 16 Aug 2009 01:20:22 +0000 (01:20 +0000)]
Take inode size from Ext2 superblock.
svn path=/trunk/; revision=42723
Dmitry Gorbachev [Sun, 16 Aug 2009 01:20:15 +0000 (01:20 +0000)]
Fix FsRtlDissectName(). Pierre Schweitzer.
svn path=/trunk/; revision=42722
James Tabor [Sat, 15 Aug 2009 22:57:32 +0000 (22:57 +0000)]
- Rename pointer to server information structure.
svn path=/trunk/; revision=42721
James Tabor [Sat, 15 Aug 2009 22:24:26 +0000 (22:24 +0000)]
- Use the correct flag for hidden popup actions.
svn path=/trunk/; revision=42720
Matthias Kupfer [Sat, 15 Aug 2009 22:17:30 +0000 (22:17 +0000)]
first part of German translation of rapps entries.
svn path=/trunk/; revision=42719
Gregor Schneider [Sat, 15 Aug 2009 22:06:09 +0000 (22:06 +0000)]
Apply changes from r42521 to DefWndProcW as well
See issue #4791 for more details.
svn path=/trunk/; revision=42718
James Tabor [Sat, 15 Aug 2009 21:28:02 +0000 (21:28 +0000)]
- Fix define types.
svn path=/trunk/; revision=42716
Hervé Poussineau [Sat, 15 Aug 2009 20:47:58 +0000 (20:47 +0000)]
Try to fix build after r42706
svn path=/trunk/; revision=42715
Stefan Ginsberg [Sat, 15 Aug 2009 20:11:04 +0000 (20:11 +0000)]
- Attempt to fix user32 build after 42706 -- user32 needs those undocumented TB_* too
svn path=/trunk/; revision=42714
Matthias Kupfer [Sat, 15 Aug 2009 19:42:57 +0000 (19:42 +0000)]
German translation of ReactOS Applications Manager
svn path=/trunk/; revision=42713
Stefan Ginsberg [Sat, 15 Aug 2009 16:40:51 +0000 (16:40 +0000)]
- Convert tditest to PSEH instead of a broken MSVC SEH attempt
- Teach man how to use "subroutines"
svn path=/trunk/; revision=42709
Aleksey Bragin [Sat, 15 Aug 2009 16:32:20 +0000 (16:32 +0000)]
- Fix a typo.
svn path=/trunk/; revision=42708
Dmitry Chapyshev [Sat, 15 Aug 2009 16:15:43 +0000 (16:15 +0000)]
- Sync comctl32 with Wine 1.1.27 (without imagelist.c)
- Sync comdlg32 with Wine 1.1.27
svn path=/trunk/; revision=42706
Dmitry Chapyshev [Sat, 15 Aug 2009 15:50:29 +0000 (15:50 +0000)]
- Fix Russian translation
svn path=/trunk/; revision=42705
Dmitry Chapyshev [Sat, 15 Aug 2009 15:38:40 +0000 (15:38 +0000)]
- Set mute icon if sound unavailable
- Set "No devices" if device unavailable
- Disable controls after dialog initialization
svn path=/trunk/; revision=42704
Dmitry Chapyshev [Sat, 15 Aug 2009 14:49:44 +0000 (14:49 +0000)]
- Add some resources
- Disable controls after dialog initialization
svn path=/trunk/; revision=42703
Dmitry Chapyshev [Sat, 15 Aug 2009 14:46:24 +0000 (14:46 +0000)]
- Add EventLabels keys
svn path=/trunk/; revision=42702
Dmitry Chapyshev [Sat, 15 Aug 2009 14:16:08 +0000 (14:16 +0000)]
- Add sound schemes keys
svn path=/trunk/; revision=42701
Dmitry Chapyshev [Sat, 15 Aug 2009 13:55:40 +0000 (13:55 +0000)]
- Add bcrypt, xmllite and hnetcfg from Wine
svn path=/trunk/; revision=42700
Johannes Anderwald [Sat, 15 Aug 2009 13:45:06 +0000 (13:45 +0000)]
- Implement KsGetFirstChild, KsGetNextSibling
- Implement IKsFilter_fnAddProcessPin, IKsFilter_fnRemoveProcessPin
- Remove old code for attaching so that it works with KsGetFirstChild
- Implement attach of filter factories to the device header
- Unimplement a few functions which were wrong
- Implement KsDispatchSpecificProperty
svn path=/trunk/; revision=42699
Johannes Anderwald [Sat, 15 Aug 2009 13:38:15 +0000 (13:38 +0000)]
- Add dmksctrl.h
- Add KsPinGetNextSiblingPin prototype
svn path=/trunk/; revision=42698
Dmitry Chapyshev [Sat, 15 Aug 2009 11:41:56 +0000 (11:41 +0000)]
- Define APPLICATION_DATEBASE_URL
svn path=/trunk/; revision=42695
Dmitry Chapyshev [Sat, 15 Aug 2009 11:36:44 +0000 (11:36 +0000)]
- Add README.ENG
- Change rapps.cab to rappmgr.cab (in CreateCabFile.bat)
svn path=/trunk/; revision=42694
Dmitry Chapyshev [Sat, 15 Aug 2009 11:14:07 +0000 (11:14 +0000)]
- Remove appwiz-new
- Simplify appwiz (appwiz now starts rapps.exe)
svn path=/trunk/; revision=42693
Dmitry Chapyshev [Sat, 15 Aug 2009 10:19:50 +0000 (10:19 +0000)]
- Add rapps.exe to bootcd
- Add msgsm32.acm to bootcd
- Add some optional modules
- Remove downloader.exe and downloader.xml
svn path=/trunk/; revision=42692
Dmitry Chapyshev [Sat, 15 Aug 2009 10:17:48 +0000 (10:17 +0000)]
- Change downloader.exe to rapps.exe
svn path=/trunk/; revision=42691
Dmitry Chapyshev [Sat, 15 Aug 2009 10:04:45 +0000 (10:04 +0000)]
- Returns TRUE in AttachConsole (like in Wine)
svn path=/trunk/; revision=42690
Dmitry Chapyshev [Sat, 15 Aug 2009 10:01:28 +0000 (10:01 +0000)]
- Partially sync locale.c with Wine
svn path=/trunk/; revision=42689
Dmitry Chapyshev [Sat, 15 Aug 2009 10:00:15 +0000 (10:00 +0000)]
- Add debug print for unimplemented function
svn path=/trunk/; revision=42688
Dmitry Chapyshev [Sat, 15 Aug 2009 09:56:22 +0000 (09:56 +0000)]
- Implement EnumObjects (untested)
- Implement PolyTextOutA/W (from Wine)
- Implement GetICMProfileA (from Wine)
- Stub-implement CreateScalableFontResourceW (from Wine)
svn path=/trunk/; revision=42687
Dmitry Chapyshev [Sat, 15 Aug 2009 09:49:01 +0000 (09:49 +0000)]
- Add some defines
svn path=/trunk/; revision=42686
Dmitry Chapyshev [Sat, 15 Aug 2009 09:42:14 +0000 (09:42 +0000)]
- Add debug print for unimplemented function
svn path=/trunk/; revision=42685
Dmitry Chapyshev [Sat, 15 Aug 2009 09:39:56 +0000 (09:39 +0000)]
- Handle query security descriptor
- Add SEH protection
svn path=/trunk/; revision=42684
Dmitry Chapyshev [Sat, 15 Aug 2009 09:34:24 +0000 (09:34 +0000)]
- Add msgsm32.acm from Wine
- Add some MCI Extensions to registry
svn path=/trunk/; revision=42683
Dmitry Chapyshev [Sat, 15 Aug 2009 09:29:45 +0000 (09:29 +0000)]
- Sync oleacc, oleaut32, olesvr32 with Wine 1.1.27
svn path=/trunk/; revision=42681
Dmitry Chapyshev [Sat, 15 Aug 2009 09:25:32 +0000 (09:25 +0000)]
- Add Russian translation
svn path=/trunk/; revision=42680
Johannes Anderwald [Sat, 15 Aug 2009 08:07:06 +0000 (08:07 +0000)]
- Include splitter in build
svn path=/trunk/; revision=42678
Dmitry Chapyshev [Sat, 15 Aug 2009 05:28:45 +0000 (05:28 +0000)]
- Add/update Ukrainian translation by Yevhen Sakara <eresid@gmail.com>
svn path=/trunk/; revision=42676
Cameron Gutman [Sat, 15 Aug 2009 02:48:59 +0000 (02:48 +0000)]
- Actually zero the select events in ZeroEvents
- Part 3 of 3 (hopefully :P)
svn path=/trunk/; revision=42675
Cameron Gutman [Sat, 15 Aug 2009 02:27:02 +0000 (02:27 +0000)]
- Fix more select bugs related to the disconnect event
- Part 2 of x
svn path=/trunk/; revision=42674
Cameron Gutman [Sat, 15 Aug 2009 02:09:23 +0000 (02:09 +0000)]
- Fix several bugs in select code and remove some dead code
- Fix a typo
- Part 1 of x
svn path=/trunk/; revision=42673
Timo Kreuzer [Sat, 15 Aug 2009 00:40:09 +0000 (00:40 +0000)]
Fix screwed logic in LIST_FOR_EACH and LIST_FOR_EACH_SAFE. They were 1. using inverse logic and entering the loop when elem was NULL, 2. checking elem, whick is the result of CONTAINING_RECORD on the Flink pointer that should be checked for NULL. Anyway these macros are ugly and shouldn't be used, they only obfuscate the code.
svn path=/trunk/; revision=42672
Timo Kreuzer [Fri, 14 Aug 2009 22:08:15 +0000 (22:08 +0000)]
[win32k] EngCreateDeviceBitmap: handle failure of EngLockSurface. Found by Amine.
svn path=/trunk/; revision=42671
Johannes Anderwald [Fri, 14 Aug 2009 19:44:01 +0000 (19:44 +0000)]
- Implement KsPropertyHandler, KsPropertyHandlerWithAllocator, KsFastPropertyHandler
svn path=/trunk/; revision=42669
Johannes Anderwald [Fri, 14 Aug 2009 09:27:24 +0000 (09:27 +0000)]
[KS]
- Proper implement KsValidateConnectRequest
- Dataformat isnt not yet checked
svn path=/trunk/; revision=42664
Johannes Anderwald [Fri, 14 Aug 2009 09:26:05 +0000 (09:26 +0000)]
- A few header updates
svn path=/trunk/; revision=42663