Commit graph

39777 commits

Author SHA1 Message Date
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
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
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
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
Michael Martin e2e8b52413 SXS Support Part 1 of 2. All import work done by Samuel Serapión with some small changes my me.
[lib/rtl]
- Import Rtlxx and related functions for Activation Context Support from WINE.
- Implement RtlAllocateActivationContextStack.
- Modify get_manifest_in_manifest_file function to use FileStandardInformation vice FileEndOfFileInformation (currently unsupported) in call to NtQueryInformationFile.
- Add structs RTL_ACTIVATION_CONTEXT_STACK_FRAME and ACTIVATION_CONTEXT_STACK from WINE.
- Add ActivationContextStackPointer to TEB.
- Define QUERY_ACTCTX_FLAG_NO_ADDREF.Will become active with changes to ntdll loader in Part 2.

svn path=/trunk/; revision=44359
2009-12-02 09:43:35 +00:00
Ged Murphy c259bdb773 Handle the upcoming name change from mingw32-make.exe to make.exe in the next version of RosBE.
svn path=/trunk/; revision=44358
2009-12-02 09:16:10 +00:00
Daniel Reimer f6dd1109f6 Bug 4970: PATCH: Dutch translation for newdev by Maikel Wever
Bug 4971: PATCH: Dutch translation for regsvr32 by Maikel Wever
Bug 4972: PATCH: Dutch translation of Calc - UPDATE by Maikel Wever

svn path=/trunk/; revision=44355
2009-12-02 08:22:35 +00:00
Aleksey Bragin 6bc24c2625 [ntoskrnl/cc]
- Don't create zero sized cache segments. By Dmitry Gorbachev.
See issue #4100 for more details.

svn path=/trunk/; revision=44349
2009-12-01 21:32:50 +00:00
Aleksey Bragin 88e41959e1 [ntoskrnl/se]
- Add a hack which prints an annoying message and grants access when it should not be. Callers/bugs should be fixed and this commit reverted after that.
See issue #4169 for more details.

svn path=/trunk/; revision=44348
2009-12-01 21:26:40 +00:00
Gregor Schneider 979696d87d [inf] Fix fdc driver version entry (highlighted by bug #4917)
svn path=/trunk/; revision=44347
2009-12-01 19:51:51 +00:00
Ged Murphy e1176344d4 Add the msvc10 makefile changes
svn path=/trunk/; revision=44346
2009-12-01 18:56:05 +00:00
Gregor Schneider fb3101148f [kernel]
- Fail in DosDateTimeToFileTime if prior time conversion was unsuccessful
- Should fix the NetStats installation, bug #4917, part 2

svn path=/trunk/; revision=44345
2009-12-01 18:53:01 +00:00
Gregor Schneider 09bdd4ffa0 [ntdll]
- Logic change of r37554 is correct, RtlTimeFieldsToTime doesn't normalize invalid input values - remove these codes
- Related to bug #4917, part 1

svn path=/trunk/; revision=44344
2009-12-01 18:46:13 +00:00
Ged Murphy 9d7f91d6ca - Include support for makefile configurations.
- Add a new makefile config to the global configuration called RosBuild
- Use the new makefile config to process and external batch file which make use of rbuild.
- Split and partially rewrite _generate_vcproj. Configurations are now written in support functions. 
- Remove the creation of .vcproj.user files. They're rather pointless for our needs
- Start to add support for VS2010 (make msvc10), it's very incomplete at the moment so don't bother trying it.

After this commit, you can now use Visual Studio to build individual reactos components. Run 'make msvc9', open up any vcproj file, select the RosBuild config and hit the build/rebuild button. Working build features are 'build', 'rebuild' and 'clean'

svn path=/trunk/; revision=44343
2009-12-01 18:44:16 +00:00
Ged Murphy 26b1e5ce54 Add a root level batch file which allows building reactos without invoking RosBE.
It won't currently work without RosBE as it relies in the gcc toolset installed along with RosBE to go about its business.
It currently checks for RosBE existence with a rather hackish ^H^H^H^H ... elaborate string parser using the 'reg' command line util output. I'd be happy for anyone to improve on this.

svn path=/trunk/; revision=44342
2009-12-01 18:39:49 +00:00
Michael Martin db4cbee9dc [kernel32]
- Fix broken code inside SXS_SUPPORT_ENABLED define and add some DPRINTs. Still unused.

svn path=/trunk/; revision=44341
2009-12-01 11:48:06 +00:00
James Tabor 4a32024814 - [Win32k] Make DispatchMessage call direct to WinProc callback. Add more thread death checks.
svn path=/trunk/; revision=44340
2009-12-01 05:35:05 +00:00
Dmitry Gorbachev 378568a6d9 Update log2lines to version 1.4. Jan Roeloffzen, bug #4342.
svn path=/trunk/; revision=44335
2009-11-30 21:49:18 +00:00
James Tabor 4b9396cef9 - [Win32k] Test thread death before posting to queue.
svn path=/trunk/; revision=44334
2009-11-30 20:13:05 +00:00