Commit graph

38658 commits

Author SHA1 Message Date
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
Dmitry Chapyshev
79c1f38e87 - Sync winemp3.acm and hhctrl.ocx with Wine 1.1.28
- Delete unneeded .diff file

svn path=/trunk/; revision=42869
2009-08-22 19:13:32 +00:00
Dmitry Chapyshev
9319924669 - Fully sync oleaut32 with Wine 1.1.28
svn path=/trunk/; revision=42868
2009-08-22 19:07:35 +00:00
Dmitry Chapyshev
fcf26f3471 - Add windowscodecs.dll from Wine 1.1.28
svn path=/trunk/; revision=42867
2009-08-22 19:03:09 +00:00
Gregor Schneider
9d4ec238ee Check the surface pointer before accessing it to get a handle
svn path=/trunk/; revision=42866
2009-08-22 18:44:17 +00:00
Gregor Schneider
6be4617f84 - Free global surface memory on error, found by Amine Khaldi
- Translate some comments for better understanding

svn path=/trunk/; revision=42865
2009-08-22 18:21:37 +00:00
Christoph von Wittich
86a4498283 sync objidl with wine 1.1.28
svn path=/trunk/; revision=42864
2009-08-22 18:08:57 +00:00
Christoph von Wittich
9596ede35f sync shlwapi to wine 1.1.28
svn path=/trunk/; revision=42862
2009-08-22 17:36:24 +00:00
Christoph von Wittich
fa3224d6d5 partial sync of oleaut32 to wine 1.1.28
svn path=/trunk/; revision=42861
2009-08-22 17:29:38 +00:00
Christoph von Wittich
ac215ed75c partial rpcrt4 sync with wine 1.1.28
svn path=/trunk/; revision=42860
2009-08-22 17:23:43 +00:00
Christoph von Wittich
898e09db4d sync widl with wine 1.1.28
svn path=/trunk/; revision=42859
2009-08-22 17:21:33 +00:00
Christoph von Wittich
c7b2857e8e sync userenv winetest with wine 1.1.28
svn path=/trunk/; revision=42858
2009-08-22 17:12:01 +00:00
Christoph von Wittich
9ed4628b97 sync oleaut32 winetest with wine 1.1.28
svn path=/trunk/; revision=42857
2009-08-22 17:05:58 +00:00
Gregor Schneider
5420cabe1a - Handle failed memory allocation in CreateDIBitmap, check initialize option before allocating and copying
svn path=/trunk/; revision=42856
2009-08-22 16:56:28 +00:00
Christoph von Wittich
aa5af3351e sync shell32 winetest with wine 1.1.28
svn path=/trunk/; revision=42855
2009-08-22 16:56:26 +00:00
Christoph von Wittich
196b3efac7 sync ntdsapi winetest with wine 1.1.28
svn path=/trunk/; revision=42854
2009-08-22 16:50:50 +00:00
Christoph von Wittich
58a23ff44c sync kernel32_winetest with wine 1.1.28
svn path=/trunk/; revision=42853
2009-08-22 16:42:11 +00:00
Gregor Schneider
7980badf18 Polish translation for rapps, translation fixes for mmsys and syssetup by Olaf Siejka
svn path=/trunk/; revision=42852
2009-08-22 16:42:01 +00:00
Christoph von Wittich
1a7345771f sync wrc to wine 1.1.28
svn path=/trunk/; revision=42851
2009-08-22 15:35:17 +00:00
Christoph von Wittich
a41cdb8eae sync jscript winetest with wine 1.1.28
svn path=/trunk/; revision=42850
2009-08-22 15:26:35 +00:00
Christoph von Wittich
d125c45fff sync jscript with wine 1.1.28
svn path=/trunk/; revision=42849
2009-08-22 15:25:26 +00:00
Christoph von Wittich
3fd2c631b4 sync msxml3 winetest with wine 1.1.28
svn path=/trunk/; revision=42848
2009-08-22 15:18:26 +00:00
Christoph von Wittich
fb79881787 sync test.h with wine 1.1.28
svn path=/trunk/; revision=42847
2009-08-22 15:18:03 +00:00
Christoph von Wittich
e6ac1a3fa7 sync msxml3 with wine 1.1.28
svn path=/trunk/; revision=42846
2009-08-22 15:10:54 +00:00
Stefan Ginsberg
3a85cbb4da - combotst: Fix uninitialized variable usage spotted by MSVC
- tmrqueue: Don't use empty structures, MSVC doe
- w32knapi: Implement IntSyscall in MSVC assembly, be compatible with C89 variable initialization and use '%' instead of '\%' to avoid a msvc warning.

svn path=/trunk/; revision=42845
2009-08-22 14:40:56 +00:00
Gregor Brunmar
e85cc27f88 - Implemented MSVC version of fmod
svn path=/trunk/; revision=42844
2009-08-22 13:21:01 +00:00
Gregor Brunmar
ecc5d7ef19 - Implemented MSVC version of exp
svn path=/trunk/; revision=42843
2009-08-22 13:06:11 +00:00
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