Commit graph

38692 commits

Author SHA1 Message Date
Stefan Ginsberg
9bf4e79360 - Add a comment and debug print
svn path=/trunk/; revision=42924
2009-08-24 20:07:12 +00:00
Stefan Ginsberg
f022f9092b - Use _SEH2_YIELD when returning from an exception instead of returning outside the SEH block. Avoids unnecessary status checks for the most common case (no exception). Move the cleanup code into the handler too in favor of the no-exception case. Futhermore, don't call ExSystemExceptionFilter when we know we are called from user mode. Finally, only enter SEH if we need to do any probing.
- Re-enable user mode probes in KiRaiseException; they do not seem to be an issue anymore -- booting and running the ntdll exception Winetest didn't reveal any issue. Put a breakpoint there in case this code is ever hit (unlikely).

svn path=/trunk/; revision=42923
2009-08-24 19:58:15 +00:00
Stefan Ginsberg
87db4c425c - "BIG0" isn't a reserved tag, but "BIG " is.
svn path=/trunk/; revision=42922
2009-08-24 18:36:03 +00:00
Dmitry Gorbachev
59c14c8c0f Fix Czech file.
svn path=/trunk/; revision=42921
2009-08-24 18:21:48 +00:00
Stefan Ginsberg
beba1269e6 - Get rid of TAG() from the kernel
- mmtypes.h: Goodbye TAG(), you won't be missed

svn path=/trunk/; revision=42920
2009-08-24 18:19:53 +00:00
Stefan Ginsberg
77fc26f56a - Deprecate TAG() in rostests
svn path=/trunk/; revision=42918
2009-08-24 17:41:36 +00:00
Stefan Ginsberg
53cbc6c4a3 - Missed these in 42915
svn path=/trunk/; revision=42917
2009-08-24 17:38:50 +00:00
Stefan Ginsberg
67e0101546 - Actually commit prntfont.h change (leftover from 42915)
svn path=/trunk/; revision=42916
2009-08-24 17:36:23 +00:00
Stefan Ginsberg
ea23cd10c2 - Start deprecating TAG()
- Fix inverted tags in prntfont.h, stdunk.h and win32k/objects/font.c

svn path=/trunk/; revision=42915
2009-08-24 17:12:25 +00:00
Johannes Anderwald
7776fec6ce - Check that all pins have been closed when the last filter reference is gone
- Fix freeing of stream data (hacked atm)
- Implement retrieving of all property items for PinWaveCyclic

svn path=/trunk/; revision=42913
2009-08-24 13:00:14 +00:00
Sylvain Petreolle
ae0ddccd63 temporarily disable kernel32:pipe tests.
the testing process seems to go further if this test crashes,
looking at testman output.

svn path=/trunk/; revision=42912
2009-08-24 12:57:34 +00:00
Christoph von Wittich
694741e9f9 sync user32 winetest with wine 1.1.28
svn path=/trunk/; revision=42911
2009-08-24 12:42:47 +00:00
Johannes Anderwald
63b3ed6d1e - Fix calling property handler in IKsFilter_DispatchDeviceIoControl
- Found by [[Amine Khaldi]]
- Implement handling of KSPROPERTY_TYPE_BASICSUPPORT

svn path=/trunk/; revision=42910
2009-08-24 12:21:20 +00:00
Christoph von Wittich
e080831a72 sync kernel32 profile with wine 1.1.28
svn path=/trunk/; revision=42909
2009-08-24 12:17:02 +00:00
Gregor Schneider
2296d0a5dd gdb2: Use const char* for string constants, gcc 4.4 warnings
svn path=/trunk/; revision=42908
2009-08-24 12:06:53 +00:00
Gregor Schneider
aab0f77c13 netreg: include stdio.h for fprintf, sprintf and sscanf; gcc 4.4 warnings
svn path=/trunk/; revision=42907
2009-08-24 12:01:38 +00:00
Gregor Schneider
b84ac6c703 ddraw_test: Use const char* for string constants, gcc 4.4 warning
svn path=/trunk/; revision=42906
2009-08-24 11:50:37 +00:00
Christoph von Wittich
eb65544870 sync ole32 with wine 1.1.28
svn path=/trunk/; revision=42905
2009-08-24 10:51:15 +00:00
Christoph von Wittich
c0755ff4f4 define USE_COM_CONTEXT_DEF
svn path=/trunk/; revision=42904
2009-08-24 10:48:24 +00:00
James Tabor
e83ca9a324 - Patch by Dmitry Timoshkov : user32: Return 0 from DefDlgProc and dialog loop for invalid dialog handles. Need to update user32 wine tests.
svn path=/trunk/; revision=42903
2009-08-24 06:10:52 +00:00
James Tabor
ddd06401af - Patch by Rein Klazes : user32: Handle WM_PRINTCLIENT message in PopupMenuWndProc().
svn path=/trunk/; revision=42902
2009-08-24 06:09:01 +00:00
James Tabor
69dffc5810 - Gdi32: Update metafile structure.
svn path=/trunk/; revision=42901
2009-08-24 06:06:05 +00:00
Johannes Anderwald
c1854b985e - Fix broken check
- Enables Ks Studio to instantiate audio pins

svn path=/trunk/; revision=42900
2009-08-24 02:54:53 +00:00
Gregor Schneider
8e0dd42d55 GetCharacterPlacementA: check FONT_mbtowc return value for validity
svn path=/trunk/; revision=42899
2009-08-24 00:00:06 +00:00
Gregor Schneider
eda170fe74 GetCharacterPlacementA: Free memory on error
svn path=/trunk/; revision=42898
2009-08-23 23:51:09 +00:00
Gregor Schneider
aa38bf2535 CreateMetaFileW: WriteFile returns the number of bytes written for synchronous operations
svn path=/trunk/; revision=42897
2009-08-23 23:40:48 +00:00
Gregor Schneider
c3d83ebfa9 CreateMetaFileW: Free memory on error
svn path=/trunk/; revision=42896
2009-08-23 23:09:55 +00:00
Johannes Anderwald
91ae05b80d - fix build #2
svn path=/trunk/; revision=42895
2009-08-23 23:05:23 +00:00
Gregor Schneider
2785ec2386 Handle failed memory allocation
svn path=/trunk/; revision=42894
2009-08-23 23:03:55 +00:00
Johannes Anderwald
97d1a131cc - try fix build
svn path=/trunk/; revision=42893
2009-08-23 22:56:06 +00:00
Johannes Anderwald
d3f226afd5 [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
2009-08-23 22:50:09 +00:00
Gregor Schneider
9ef29fde4b Pass a zero instead of dereferencing a null pointer when copying one region
svn path=/trunk/; revision=42891
2009-08-23 22:47:32 +00:00
Johannes Anderwald
331c3994d5 - Fix KSPROPERTY_TOPOLOGY enumeration
svn path=/trunk/; revision=42890
2009-08-23 22:31:30 +00:00
Gregor Schneider
4a61832f36 - Fix two inverted pointer checks, found by Amine Khaldi
- Add, correct implemented comment

svn path=/trunk/; revision=42889
2009-08-23 21:55:24 +00:00
Dmitry Gorbachev
687189aaaf A consistent indentation style is the hobgoblin of little minds.
svn path=/trunk/; revision=42888
2009-08-23 21:45:41 +00:00
Dmitry Gorbachev
be9c72f1ad - 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
2009-08-23 21:41:05 +00:00
Johannes Anderwald
394ad9b83e - Add SetupDiGetDeviceInterfaceAlias, SetupDiOpenDeviceInterfaceRegKey stubs
svn path=/trunk/; revision=42885
2009-08-23 18:14:39 +00:00
Stefan Ginsberg
9f8b94600e - 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
2009-08-23 15:49:43 +00:00
Stefan Ginsberg
ccbdde9482 - 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
2009-08-23 15:14:13 +00:00
Stefan Ginsberg
faf3bb5778 - 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
2009-08-23 14:46:41 +00:00
Matthias Kupfer
9e652d5604 - 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
2009-08-23 13:39:47 +00:00
Johannes Anderwald
612682d56c - Code polishing
svn path=/trunk/; revision=42880
2009-08-23 13:08:28 +00:00
Johannes Anderwald
8e1d22f818 - Fix exporting of CBaseUnknown
svn path=/trunk/; revision=42879
2009-08-23 13:00:09 +00:00
Johannes Anderwald
9b074f69c7 - Implement CBaseUnknown class functions in C!
- Thanks To KJK::Hyperion for helping
- Function are not yet exported

svn path=/trunk/; revision=42878
2009-08-23 12:50:02 +00:00
Hervé Poussineau
8a5ac3eb85 [freeldr] When creating a component, provide at the same time its configuration data
svn path=/trunk/; revision=42875
2009-08-23 08:34:20 +00:00
Hervé Poussineau
9feee2204c Limit usage of KEY_ALL_ACCESS when opening registry keys
svn path=/trunk/; revision=42874
2009-08-23 08:29:23 +00:00
Hervé Poussineau
413dcab765 [freeldr] When creating a component, provide at the same time its configuration data
svn path=/trunk/; revision=42873
2009-08-23 08:25:52 +00:00
Dmitry Chapyshev
4abf644be8 - Add enumeration user keys
svn path=/trunk/; revision=42872
2009-08-23 07:40:23 +00:00
James Tabor
f6d5c06f8c - Syncing up with current revision of Defdlg.c and Dialog.c from wine. Critical update for class rewrite.
svn path=/trunk/; revision=42871
2009-08-23 07:12:58 +00:00
Gregor Schneider
030d5a52f3 Handle failed memory allocations
svn path=/trunk/; revision=42870
2009-08-22 19:37:31 +00:00