Commit graph

39989 commits

Author SHA1 Message Date
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
Timo Kreuzer
db10ad1090 Move architecture specific inline functions in into the respective headers. Remove some unused definitions from amd64 header.
svn path=/branches/ros-amd64-bringup/; revision=44415
2009-12-05 18:46:22 +00:00
Timo Kreuzer
a52c17e747 [KE]
Don't use fastcall functions

svn path=/branches/ros-amd64-bringup/; revision=44414
2009-12-05 18:17:59 +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
Samuel Serapion
17e075c784 wined3d.dll - Missing floating point math operations.
ddraw.dll - depends on wined3d
    d3d8.dll - depends on wined3d
    d3d9.dll - depends on wined3d
usbdriver.sys - numerous build errors
ntvdm.exe - not built

svn path=/branches/ros-amd64-bringup/; revision=44409
2009-12-04 22:32:35 +00:00
Timo Kreuzer
ca9707ca00 [MM]
Don't create a memory area for the PCR on amd64, as we use our own from the kernel mapping instead of a hardcoded address mapped by the loader. Skip initializing the old page pool. It will probably not live on long enough to deserve any 64 bit fixing.

svn path=/branches/ros-amd64-bringup/; revision=44408
2009-12-04 21:42:40 +00:00
Timo Kreuzer
6578ba71c1 fix a debugprint
svn path=/branches/ros-amd64-bringup/; revision=44407
2009-12-04 21:36:43 +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
Timo Kreuzer
2bd0dde813 Add some msr constants
svn path=/branches/ros-amd64-bringup/; revision=44405
2009-12-04 15:50:55 +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
Timo Kreuzer
4d8e5b9b6e [MM]
Rewrite MmAllocateSection to use system PTEs. Store the MDL pointer in the first PFN, to avoid allocating an additional PTE. Implement MmFreeSection. Now the bootdrivers go where they should go, freeing up lower system memory, and unloaded drivers actually get their memory freed (saving us 188 KB each boot).

svn path=/branches/ros-amd64-bringup/; revision=44402
2009-12-04 13:06:00 +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
Samuel Serapion
8744e698e9 Remove broken definitions from oskit bsd headers. Fixes numerous warnings.
svn path=/branches/ros-amd64-bringup/; revision=44396
2009-12-04 00:12:31 +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
Samuel Serapion
bd9dc6c5fb fix 32bit build
svn path=/branches/ros-amd64-bringup/; revision=44391
2009-12-03 20:02:52 +00:00
Samuel Serapion
9fd420498d Unhack bootcd file list
svn path=/branches/ros-amd64-bringup/; revision=44390
2009-12-03 19:51:31 +00:00
Samuel Serapion
8f51e0fb9d Fix build and enable building usermode components, since they all build.
svn path=/branches/ros-amd64-bringup/; revision=44389
2009-12-03 19:40:01 +00:00
Samuel Serapion
0d9a397e30 - Allow warnings in gdi32
- Fix ntdll build
- Fix mysteriously broken (in last sync) obdc32

svn path=/branches/ros-amd64-bringup/; revision=44388
2009-12-03 19:03:25 +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
Samuel Serapion
460cdf8351 Fix midimap build.
svn path=/branches/ros-amd64-bringup/; revision=44385
2009-12-03 18:46:04 +00:00
Dmitry Gorbachev
64c6953516 SndRec32 patch by Marco Pagliaricci, bug #4978.
svn path=/trunk/; revision=44384
2009-12-03 18:44:27 +00:00
Gregor Schneider
76e69bee97 [kernel32]
- Jerome Gardou <jerome DOT gardou AT laposte DOT net>: Implement missing ReplaceFileW functionality
- Fixes six kernel32 file winetests, bug #4827

svn path=/trunk/; revision=44383
2009-12-03 18:41:53 +00:00
Samuel Serapion
3c616c6610 fix copy/paste mistake.
svn path=/branches/ros-amd64-bringup/; revision=44382
2009-12-03 18:26:55 +00:00
Samuel Serapion
5da523a6b0 Don't use calloc, fixes building even more modules.
svn path=/branches/ros-amd64-bringup/; revision=44381
2009-12-03 18:10:08 +00:00
Samuel Serapion
fe58a95923 Re-add old name hack, fixes building some modules
svn path=/branches/ros-amd64-bringup/; revision=44380
2009-12-03 18:03:22 +00:00
Sylvain Petreolle
9b49e5e810 msimtf: remove unneeded ntdll dependancy
svn path=/trunk/; revision=44379
2009-12-03 17:36:15 +00:00
Timo Kreuzer
072306f953 Fix a bug in MiAllocatePagesForMdl that made it loop forever on the 1st page.
svn path=/trunk/; revision=44378
2009-12-03 17:02:34 +00:00
Ged Murphy
b9e2cd6419 - Initial re-architecture of the msvc backend.
- Split the MSVCBackend class into it's respective worker objects :
- * Use an abstract ProjMaker base class which we can now use to better implement support for future VS releases
- * Move sln creation into its own class
- Don't create the .user files anymore, they're not required for our use.
- Remove support for Visual Studio 6, Visual Studio 2002 and Visual Studio 2003
Although I haven't tested it, I'm 99.9% sure this breaks 'make msvc#' so DON'T RUN IT yet unless you want your vcproj files destroyed.

svn path=/trunk/; revision=44377
2009-12-03 16:09:09 +00:00
Daniel Reimer
c02b01ff32 Add DosBlaster 2.5 to rapps. This tool installs a shell extension which makes it possible to start any executable in DOSBox via right click.
svn path=/trunk/; revision=44376
2009-12-03 09:54:10 +00:00
Samuel Serapion
f94596c837 Fix msvcrt build
svn path=/branches/ros-amd64-bringup/; revision=44375
2009-12-03 09:20:03 +00:00
Samuel Serapion
e7c948033c Attempt to fix building some modules.
svn path=/branches/ros-amd64-bringup/; revision=44374
2009-12-03 08:56:36 +00:00
Samuel Serapion
f364e33219 Sync to trunk (r44371)
svn path=/branches/ros-amd64-bringup/; revision=44373
2009-12-03 07:28:23 +00:00
Samuel Serapion
07bd1f96bd Sync to trunk (r44371)
svn path=/branches/ros-amd64-bringup/; revision=44372
2009-12-03 07:26:32 +00:00
Michael Martin
7dc08676d7 SXS Support Part 2 of 2.
[dll/ntdll]
- Import find_actctx_dll from WINE. Add create_module_activation_context based on WINE.
- Search for an active context dlls during mapping dll's in LdrpMapDllImageFile.
- Allocate memory for the ActivationContextStackPointer when loading the executable image in LdrPEStartup.
[dll/kernel32]
- Import kernel32 ActCtx related apis from WINE.
Now active.

svn path=/trunk/; revision=44371
2009-12-03 05:42:58 +00:00
Colin Finck
dfa9eb6204 [General]
- Remove the "kernel32" library reference in all .rbuild files of user-mode modules, because this one is already added by "mingw_common". Also fix the indentation in some files.

svn path=/trunk/; revision=44368
2009-12-02 20:32:16 +00:00
Gregor Schneider
c77da60dbc Move tsclient to rosapps [2/2]
svn path=/trunk/; revision=44366
2009-12-02 18:58:51 +00:00
Gregor Schneider
23df1a2f4b Move tsclient to rosapps (not included in build process and superseded by Geds mstsc implementation) [1/2]
svn path=/trunk/; revision=44365
2009-12-02 18:58:05 +00:00
Gregor Schneider
93d086d81a Martin Ettl <ettl DOT martin AT gmx DOT de>: Fix various resource and memory leaks
See issue #4974 for more details.

svn path=/trunk/; revision=44364
2009-12-02 18:28:52 +00:00
Dmitry Gorbachev
0c2fe0a124 Update log2lines to version 1.5. Jan Roeloffzen, bug #4342.
svn path=/trunk/; revision=44363
2009-12-02 17:11:32 +00:00