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
Timo Kreuzer [Fri, 14 Aug 2009 01:37:28 +0000 (01:37 +0000)]
More fix NtUserSetWindowContextHelpId. Spotted by Cameron.
svn path=/trunk/; revision=42662
Cameron Gutman [Fri, 14 Aug 2009 00:09:59 +0000 (00:09 +0000)]
- Fix several bugs so select() will now recognize when a connection gets closed
svn path=/trunk/; revision=42661
Cameron Gutman [Thu, 13 Aug 2009 23:42:21 +0000 (23:42 +0000)]
- Fix a NULL pointer dereference if ExAllocatePool fails
- Move some sanity checks into the right location
- Fix another NULL pointer dereference if there is not a socket on the queue
- Also spotted by Amine Khaldi
svn path=/trunk/; revision=42660
Cameron Gutman [Thu, 13 Aug 2009 23:38:57 +0000 (23:38 +0000)]
- Fix a handle leak
- Fix a potential NULL pointer dereference if ExAllocatePool fails
- Fix a potential NULL pointer dereference that causes AFD to crash when the socket is closed with waiting send IRPs
- Fix another NULL pointer dereference if NdisOpenConfiguration fails
- Move ASSERT before accessing Status
- Add some sanity checks
- Most of these were found by Amine Khaldi
svn path=/trunk/; revision=42659
Johannes Anderwald [Thu, 13 Aug 2009 10:05:42 +0000 (10:05 +0000)]
[SPLITTER]
- Implement Splitter (WIP)
svn path=/trunk/; revision=42650
Johannes Anderwald [Thu, 13 Aug 2009 09:54:51 +0000 (09:54 +0000)]
[KS]
- Check if irp was allocated
- Unimplement KsPinGetConnectedPinFileObject
svn path=/trunk/; revision=42649
Johannes Anderwald [Thu, 13 Aug 2009 09:53:13 +0000 (09:53 +0000)]
- Implement IPortDMus_fnNewRegistryKey
svn path=/trunk/; revision=42648
Stefan Ginsberg [Thu, 13 Aug 2009 09:34:37 +0000 (09:34 +0000)]
- Re-disallow warnings for gdi32, user32 and lsasrv
svn path=/trunk/; revision=42647
Stefan Ginsberg [Thu, 13 Aug 2009 09:29:48 +0000 (09:29 +0000)]
- Make gdi32 compile warning free under msvc
svn path=/trunk/; revision=42646
James Tabor [Thu, 13 Aug 2009 05:18:18 +0000 (05:18 +0000)]
- Fix SetWndContextHlpId call.
svn path=/trunk/; revision=42645
James Tabor [Thu, 13 Aug 2009 04:17:23 +0000 (04:17 +0000)]
- Fix another NULL Wnd crash.
svn path=/trunk/; revision=42644
James Tabor [Wed, 12 Aug 2009 23:37:26 +0000 (23:37 +0000)]
- Fix menu window callback. Only use it when the menu name is not null.
svn path=/trunk/; revision=42643
Cameron Gutman [Wed, 12 Aug 2009 23:14:49 +0000 (23:14 +0000)]
- Don't access an uninitialized variable
- Initialize the unicode string at the start of the function
- Spotted by Amine Khaldi
svn path=/trunk/; revision=42642
James Tabor [Wed, 12 Aug 2009 18:46:34 +0000 (18:46 +0000)]
- Move GetWindowInfo support into user32. Use HWNDPARAM for SetWindowContextHelpId.
svn path=/trunk/; revision=42637
Aleksey Bragin [Wed, 12 Aug 2009 11:42:34 +0000 (11:42 +0000)]
- Rewrite RtlpCreateAtomHandle to readable code and fix a problem spotted in bug 4788.
svn path=/trunk/; revision=42635
James Tabor [Wed, 12 Aug 2009 07:42:30 +0000 (07:42 +0000)]
- Check if server side window proc is set when clearing or setting dialog window flag.
svn path=/trunk/; revision=42633
James Tabor [Wed, 12 Aug 2009 07:35:15 +0000 (07:35 +0000)]
Rewrite NtUserGetCPD to correctly return the callproc handle pointer.
svn path=/trunk/; revision=42632
James Tabor [Wed, 12 Aug 2009 07:03:58 +0000 (07:03 +0000)]
Properly set the active window frame flag. Add missing file header. Add a note in defwnd.c.
svn path=/trunk/; revision=42631
James Tabor [Wed, 12 Aug 2009 06:54:31 +0000 (06:54 +0000)]
- Move W32 Process flags to the proper place.
svn path=/trunk/; revision=42630
James Tabor [Wed, 12 Aug 2009 06:41:20 +0000 (06:41 +0000)]
Properly set and clear the dialog window flag.
svn path=/trunk/; revision=42629
Timo Kreuzer [Tue, 11 Aug 2009 20:23:18 +0000 (20:23 +0000)]
Make the tui console background black instead of blue.
svn path=/trunk/; revision=42628
Gregor Schneider [Tue, 11 Aug 2009 19:50:42 +0000 (19:50 +0000)]
Amendment to r42615: add the check in the correct line
svn path=/trunk/; revision=42627
Timo Kreuzer [Tue, 11 Aug 2009 19:03:51 +0000 (19:03 +0000)]
[win32k]
- EngSetPointerShape: Don't dereference psoMask without checking it
svn path=/trunk/; revision=42626
Timo Kreuzer [Tue, 11 Aug 2009 18:42:30 +0000 (18:42 +0000)]
[win32k]
- GreSetPointerShape: Don't cleanup the XLATEOBJ when it wasn't initialized.
- Found by Amine Khaldi
svn path=/trunk/; revision=42625
Jeffrey Morlan [Tue, 11 Aug 2009 16:21:46 +0000 (16:21 +0000)]
Fix a buffer overflow in ConvertULargeInteger
svn path=/trunk/; revision=42623
Johannes Anderwald [Tue, 11 Aug 2009 15:22:06 +0000 (15:22 +0000)]
- Filter dispatch is optional, handle it when creating new filters
svn path=/trunk/; revision=42622
Gregor Schneider [Tue, 11 Aug 2009 15:03:41 +0000 (15:03 +0000)]
Re-add r42536, it didn't break the build server
svn path=/trunk/; revision=42621
Johannes Anderwald [Tue, 11 Aug 2009 15:03:33 +0000 (15:03 +0000)]
- Start implementing splitter
- Add a device descriptor
svn path=/trunk/; revision=42620
Johannes Anderwald [Tue, 11 Aug 2009 14:52:22 +0000 (14:52 +0000)]
- Add few macros, constants for splitter
svn path=/trunk/; revision=42619