Commit graph

39804 commits

Author SHA1 Message Date
Timo Kreuzer 66fe9a0793 [RTL]
Rewrite the rtl bitmap implementation.
The old one was a little .... suboptimal. The new one should outperform the old one by several orders of magnitude, especially RtlFindClearBits that was literally searching bit by bit.

svn path=/trunk/; revision=44464
2009-12-08 01:02:36 +00:00
Michael Martin e7ff40f1e3 [dll/ntdll]
- LdrFixupImports: Unload modules import modules on LdrFixupImports failure to.
-LdrpLoadModule: Free resources and memory on LdrFixupImports failure.
Patch by Alexander Yastrebov. See #4954

svn path=/trunk/; revision=44453
2009-12-07 13:06:08 +00:00
Johannes Anderwald 2ddde07951 - Start implementing a mixer library. The mixer library is based directly on the code in the wdmaud driver. The purpose is to provide a generic library which can be used in usermode (wdmaud.drv (Vista Driver Model)/ dsound) or in kernel mode. In addition, it can be used to test mixer implementation.
svn path=/trunk/; revision=44452
2009-12-07 10:28:49 +00:00
Michael Martin 376921465e [dll/ntdll]
- LdrpMapDllImageFile: Supported finding and loading dlls from the path environment variable as needed. See MSDN for details. OO 3.0 no longer warns of dlls not found (sal3.dll) and at least allows configuration dialog to work.

svn path=/trunk/; revision=44451
2009-12-07 03:50:26 +00:00
Michael Martin 4ed40feb22 [dll/ntdll]
- LdrLoadDll: Create a module activation context for modules when loaded by LoadLibrary and friends. Fixes loading assemblies of modules when loaded from threads.
- find_actctx_dll: Silence debugging.
[dll/kernel32]
- CreateRemoteThread: Do not try to activate the processes default activation context, as the processes default activation context is not created properly yet. Will be fixed in near future.
Several application broken by recent SXS commit are now back to working, including Media Player Class 6.4.9 and Opera 9.64. OO 3.0 install no longer errors on loading ms runtime.

svn path=/trunk/; revision=44450
2009-12-07 03:34:25 +00:00
Dmitry Gorbachev a80552f8a9 Avoid buffer overflow (bug #4693).
svn path=/trunk/; revision=44449
2009-12-07 01:30:32 +00:00
James Tabor ae13f265c6 - [WineTests] User32: Skip test_shell_window, not sure if it is a user32 bug or not.
svn path=/trunk/; revision=44448
2009-12-07 01:21:23 +00:00
James Tabor 8b6f274b1b [Win32k]
- Add debug printout to show post thread message stall when posting hook messages to another thread. See bug 4926.
- Do not set current thread client hook flags, set only the requested client thread hook flag data.
- Initialize Hook head structure with thread info and desktop pointers.

svn path=/trunk/; revision=44447
2009-12-06 23:37:09 +00:00
Christoph von Wittich 6e365041b7 sync msxml3 with wine 1.1.34
svn path=/trunk/; revision=44446
2009-12-06 23:32:04 +00:00
James Tabor 03a7d800be [User32]
- Patch by Nikolay Sivov bunglehead@gmail.com : Check for edit window to be here in case of destruction during handler execution.
- Edit wine sync.

svn path=/trunk/; revision=44445
2009-12-06 22:52:51 +00:00
James Tabor d75d23721e - [Win32k] Missed this one for rev 44423. Return invalid index not invalid parameter. No pass all SetWindowLongPtr wine tests.
svn path=/trunk/; revision=44444
2009-12-06 22:41:53 +00:00
James Tabor b806aed1e1 - [Win32k] If Proc is null, use original one and perform processing.
svn path=/trunk/; revision=44443
2009-12-06 19:22:29 +00:00
Sylvain Petreolle bbcb38b968 Set filesystem characteristics.
Floppy disks and cdroms are now reported as removable.

svn path=/trunk/; revision=44442
2009-12-06 18:49:19 +00:00
Christoph von Wittich b0bec1e996 sync shlwapi with wine 1.1.34
svn path=/trunk/; revision=44441
2009-12-06 15:38:07 +00:00
Christoph von Wittich f0c623ad45 sync msi with wine 1.1.34
svn path=/trunk/; revision=44440
2009-12-06 14:55:00 +00:00
Christoph von Wittich 88f7d4c1bb sync msi_winetest with wine 1.1.34
svn path=/trunk/; revision=44439
2009-12-06 14:46:53 +00:00
Johannes Anderwald 00ba19e9a8 Return correct error code
svn path=/trunk/; revision=44437
2009-12-06 10:37:23 +00:00
Christoph von Wittich 0835abcb21 sync netapi32_winetest with wine 1.1.34
svn path=/trunk/; revision=44436
2009-12-06 09:50:53 +00:00
Christoph von Wittich d829b5a270 sync msxml3_winetest with wine 1.1.34
svn path=/trunk/; revision=44435
2009-12-06 09:48:52 +00:00
Christoph von Wittich 01be408c18 sync rsaenh with wine 1.1.34
svn path=/trunk/; revision=44434
2009-12-06 09:41:08 +00:00
Christoph von Wittich 163ce9095f sync rsaenh_winetest with wine 1.1.34
svn path=/trunk/; revision=44433
2009-12-06 09:40:22 +00:00
Christoph von Wittich 87465c2280 sync crypt32_winetest with wine 1.1.34
svn path=/trunk/; revision=44432
2009-12-06 09:36:50 +00:00
Timo Kreuzer 79690d04fa Merge from amd64 branch:
- 34939 fix several ULONG / ULONG_PTR / SIZE_T issues (Timo Kreuzer)
- 40088 implement __mulh and __umulh (Timo Kreuzer)

svn path=/trunk/; revision=44431
2009-12-06 03:24:18 +00:00
Timo Kreuzer 3ab9af72ac - merge r44429
- fix hal_generic_amd64.rbuild
- add missing files

svn path=/trunk/; revision=44430
2009-12-06 02:44:06 +00:00
Gregor Schneider c0df1554da [rapps] Radek Liška <radekliska AT gmail DOT com>: Fix Czech sections for FF2 and 3
See issue #4991 for more details.

svn path=/trunk/; revision=44425
2009-12-05 21:36:51 +00:00
Timo Kreuzer cef0db194e [EX]
- Fix calculation of PCR pointer from PRCB pointer

svn path=/trunk/; revision=44424
2009-12-05 21:33:31 +00:00
James Tabor 7bc1b745e3 - [Win32k] Return invalid index.
svn path=/trunk/; revision=44423
2009-12-05 20:45:07 +00:00
Christoph von Wittich 13c03eb48b sync crypt32 to wine 1.1.34
svn path=/trunk/; revision=44422
2009-12-05 20:37:08 +00:00
Christoph von Wittich ef635964be sync dde.c to wine 1.1.34
svn path=/trunk/; revision=44421
2009-12-05 20:04:54 +00:00
Christoph von Wittich 0f9bc5c1a4 sync mapi32 with wine 1.1.34
svn path=/trunk/; revision=44420
2009-12-05 19:47:30 +00:00
Giannis Adamopoulos 8cf6e9f84e [kernel32]
Enable code to initialize the activation context when calling CreateThread
See issue #4983 for more details.

svn path=/trunk/; revision=44419
2009-12-05 19:46:33 +00:00
Christoph von Wittich 260fadf65d sync netapi32 with wine 1.1.34
svn path=/trunk/; revision=44418
2009-12-05 19:41:56 +00:00
Christoph von Wittich 1e17486780 sync kernel32/misc/profile.c to wine
kernel32: Fix uninitialised memory read in GetPrivateProfileStringA 	if GetPrivateProfileStringW returns 0.  <robertshearman at gmail dot com>

svn path=/trunk/; revision=44417
2009-12-05 19:35:03 +00:00
Christoph von Wittich 77cae0674b sync user32_winetest with wine 1.1.34
svn path=/trunk/; revision=44416
2009-12-05 19:25:28 +00:00
Dmitry Gorbachev 323a6f6137 Fix a potential buffer owerflow. Noticed by Martin Ettl with cppcheck. Bug #4987.
svn path=/trunk/; revision=44413
2009-12-05 17:35:54 +00:00
Timo Kreuzer 77bf990378 [DDK]
Add MmAllocatePagesForMdlEx

svn path=/trunk/; revision=44411
2009-12-05 13:48:50 +00:00
Gregor Schneider 246ae043bc [rtl]
- Update status to error mapping tables and functions to current Wine sources
- Needed to for ERROR_TIMEOUT, ERROR_SXS_CANT_GEN_ACTCTX, ERROR_MR_MID_NOT_FOUND and several others
- Remove RtlNtStatusToPsxErrno - nobody will miss it
- Fixes ~20 kernel32 actctx winetests

svn path=/trunk/; revision=44410
2009-12-05 13:07:02 +00:00
Ged Murphy ca6850941c Start implementing Visual Studio 2010 support.
This is seriously boring, don't expect it anytime soon :(

svn path=/trunk/; revision=44406
2009-12-04 16:15:08 +00:00
Ged Murphy 0f11aa37e2 Remove perf test code I accidentally committed
svn path=/trunk/; revision=44404
2009-12-04 15:22:13 +00:00
Ged Murphy 628ba3758a Remove the devcpp backend.
svn path=/trunk/; revision=44403
2009-12-04 15:09:44 +00:00
Ged Murphy bb32402355 - Don't listen to me, my 99.9% assurance that the new backend architecture wouldn't work was wrong. Who'd have thunk it??
- Remove the 'test' file name bug I put in to stop people overwriting their vcproj files.
- Don't forget object cleanup Ged ... this isn't .NET.
- 'make msvc#' is now working again.

svn path=/trunk/; revision=44401
2009-12-04 11:33:17 +00:00
Michael Martin 649c865a46 [ntoskrnl/config]
- CmpFindSubKeyByName: Remove the check for (Found) when checking if SubKey is valid as index can be 0.

svn path=/trunk/; revision=44400
2009-12-04 08:11:59 +00:00
Michael Martin 7103686e15 [kernel32]
- GetProcessVersion: Assign ProcessHandle to NULL to prevent closing an invalid handle. Patch by Alexander Yastrebov. See #4967.

svn path=/trunk/; revision=44398
2009-12-04 08:03:19 +00:00
James Tabor 3d166388d3 [Win32k]
- Patch by Huw Davies huw@codeweavers.com : Fix incorrect initialization of path array.
- Patch was modified from wine. Tested with Area.exe path test, still fails.

svn path=/trunk/; revision=44397
2009-12-04 06:47:23 +00:00
Dmitry Gorbachev 9e98fb7c05 Bitmap files for SndRec32. Marco Pagliaricci, bug #4978.
svn path=/trunk/; revision=44395
2009-12-03 22:12:29 +00:00
Gregor Schneider 5b3aa0ee80 [kernel32]
- OpenFile: set the structure size after doing basic parameter checks
- Fixes two kernel32 file tests

svn path=/trunk/; revision=44394
2009-12-03 21:50:52 +00:00
James Tabor 17c8128475 [Win32k]
- Reformat message.c
- [Start] Re-implement Get/PeekMessage support.

svn path=/trunk/; revision=44393
2009-12-03 20:09:42 +00:00
James Tabor 3d7e8046ed - [Win32k] Create a Gre function for GetGlyphIndicesW.
svn path=/trunk/; revision=44392
2009-12-03 20:07:44 +00:00
Dmitry Gorbachev 99f27439b5 [FORMATTING] SndRec32 patch by Marco Pagliaricci, bug #4978.
svn path=/trunk/; revision=44387
2009-12-03 19:00:41 +00:00
Gregor Schneider f558c83b1c [kernel32]
- Update FormatMessageA/W to current Wine sources, rename the file to better reflect the content
- Fixes the failing kernel32 format_msg tests

svn path=/trunk/; revision=44386
2009-12-03 18:57:57 +00:00