Commit graph

57725 commits

Author SHA1 Message Date
Christoph von Wittich a7308b4d2f [shell32]
partial SHELL_FindExecutable sync to wine

svn path=/trunk/; revision=63265
2014-05-12 19:55:25 +00:00
Amine Khaldi b8780863c0 [CRT]
* Update _write().
CORE-8080

svn path=/trunk/; revision=63264
2014-05-12 19:54:29 +00:00
Amine Khaldi 19d92fec00 [CRT]
* _set_errno() returns an errno_t.
* error => value
CORE-8080

svn path=/trunk/; revision=63263
2014-05-12 19:44:41 +00:00
Amine Khaldi a30699ae01 [CRT]
* Update get_flags().
CORE-8080

svn path=/trunk/; revision=63262
2014-05-12 19:42:29 +00:00
Amine Khaldi 5d0809917f [CRT]
* Rename alloc_fd_from() to set_fd() and update it.
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63261
2014-05-12 18:12:07 +00:00
Amine Khaldi d8d54df1f6 [CRT]
* Update _setmode().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63260
2014-05-12 16:51:40 +00:00
Eric Kohl 3def58e0ff [FORMATTING]
Fix indentation and coding style. No code changes!

svn path=/trunk/; revision=63259
2014-05-12 16:14:19 +00:00
Amine Khaldi 5da1f1a63b [CRT]
* Update ioinfo structure.
CORE-8080

svn path=/trunk/; revision=63258
2014-05-12 16:01:49 +00:00
Amine Khaldi e68148f878 [CRT]
* Update fwrite().
CORE-8080

svn path=/trunk/; revision=63257
2014-05-12 15:32:43 +00:00
Kamil Hornicek c36bab312a [SERVMAN][EVENTVWR]
- add czech translations

svn path=/trunk/; revision=63256
2014-05-12 14:35:30 +00:00
Amine Khaldi ca543abe1e [CRT]
* Update ferror().
CORE-8080

svn path=/trunk/; revision=63255
2014-05-12 14:25:53 +00:00
Eric Kohl a4061f41e7 [FORMATTING]
Fix indentation and coding style. No code changes!

svn path=/trunk/; revision=63254
2014-05-12 14:17:37 +00:00
Amine Khaldi e34ff107cd [CRT]
* Update feof().
CORE-8080

svn path=/trunk/; revision=63253
2014-05-12 13:17:31 +00:00
Amine Khaldi 83e1917b77 [CRT]
* Reduce difference to Wine. No code changes.
CORE-8080

svn path=/trunk/; revision=63252
2014-05-12 12:52:40 +00:00
Amine Khaldi e444ff08e2 [CRT]
* Update tmpfile().
CORE-8080

svn path=/trunk/; revision=63251
2014-05-12 12:50:55 +00:00
Thomas Faber 233ba85cfe [ICMP]
- Fix socket leak. Spotted by Samuel & cppcheck
Note: Wine has this in iphlpapi these days. Should probably sync.
CORE-8208 #resolve

svn path=/trunk/; revision=63250
2014-05-12 06:44:01 +00:00
Thomas Faber dbe30dfb59 [CMD]
- Fix mismatched allocation/free. Spotted by Samuel & cppcheck
CORE-8207 #resolve

svn path=/trunk/; revision=63249
2014-05-12 06:19:07 +00:00
Hermès Bélusca-Maïto 76f9d532f2 [NTVDM]
Improve int32 callback stub (and sync int32.c too).

svn path=/trunk/; revision=63248
2014-05-12 00:26:48 +00:00
Timo Kreuzer df0efd5556 [DDK/XDK/NTOSKRNL/DRIVERS]
Fix incompatible definition of a number of NTOSKRNL data imports. These imports are declared in MS DDK in a way that is usually not how you would declare data imports. The proper way of doing it is using _DECLSPEC_INTRIN_TYPE(dllimport) or in this case NTKERNELAPI, which will cause the compiler to directly dereference the __imp__FooBar symbol. MS has declared some of these variables directly as pointers without using dllimport. This works with MS DDK, since it's import libraries contain aliases (like _FooBar) to the import symbols (__imp__FooBar). Neither MS LINK nor DLLTOOL create these aliases in the import libs, which is good, since hacks like these are dangerous. To make the original declarations work without using macros (which can conflict with other things, like for example the KdDebuggerEnabled member in KUSER_SHARED_DATA) these aliases have to be generated differently. Luckily both MSVC and GCC support a pragma that does exactly this. Fix the incompatible use in our drivers and the broen(!) use of KdDebuggerEnabled in kdcom (which was writing a PBOOLEAN value (FALSE == 0 == NULL, so no warning) into the location that is really a BOOLEAN, possibly overwriting other data. Finally get rid of a number of hacks in ntoskrnl, where prefixed versions were used to not conflict with the DDK definitions.

svn path=/trunk/; revision=63247
2014-05-11 23:11:16 +00:00
Timo Kreuzer bbfd5abfca [CRT]
Fix build

svn path=/trunk/; revision=63246
2014-05-11 22:28:54 +00:00
Timo Kreuzer 1147b7f948 [CRT]
Fix handling of multibyte strings in _splitpath. Fixes 2 winetests.

svn path=/trunk/; revision=63245
2014-05-11 22:25:46 +00:00
Sylvain Petreolle 109185f9de [INF]
Fix line endings (LF=> CRLF,CR)

svn path=/trunk/; revision=63244
2014-05-11 20:59:17 +00:00
Sylvain Petreolle c5688a4a32 [INF]
Set the mimetype property on the 2 remaining inf files.

svn path=/trunk/; revision=63243
2014-05-11 20:35:26 +00:00
Kamil Hornicek 606b742bf9 [TRANSLATIONS]
- fix the floppy.inf file which got somehow completely fubared in the previous revision

svn path=/trunk/; revision=63242
2014-05-11 20:03:30 +00:00
Kamil Hornicek 5ecc57aff5 [TRANSLATIONS]
- czech translation update by Radek Liska (with some minor modifications by me)

CORE-8092 #resolve #comment Committed in  r63241. Thanks!

svn path=/trunk/; revision=63241
2014-05-11 19:54:14 +00:00
Christoph von Wittich a3675e98fc [setupapi]
-sync pSetupInstallCatalog to wine
-only return RequiredSize in SetupCopyOEMInfA on failure

svn path=/trunk/; revision=63240
2014-05-11 19:44:50 +00:00
Hermès Bélusca-Maïto ec9727816d Forgot to redisable STANDALONE mode.
svn path=/trunk/; revision=63239
2014-05-11 19:26:17 +00:00
Hermès Bélusca-Maïto cdfa735cd1 [NTVDM]
- Continue to work on VGA attach/detach from console;
- Stick more #if(n)def STANDALONE to portions of code that are useful (or not) in standalone (i.e. not in OS-integrated) mode;
- Isolate the Dos***File functions in a new source file;
- Get rid of STACK_COUNTER, STACK_VAR_A and STACK_VAR_B since we now use 32-->16 bit callbacks (and therefore adjust the callback/INT32 trampoline stubs accordingly).

svn path=/trunk/; revision=63238
2014-05-11 19:25:09 +00:00
Kamil Hornicek 5c08d6b6c5 [SHELL32]
- attempt to resolve an widechar/multibyte mismatch in the applet name
- fixes opening the mouse applet if the translated name contains a non ASCII character

svn path=/trunk/; revision=63237
2014-05-11 18:43:51 +00:00
Amine Khaldi ad9936c218 [RAPPS]
* Lose the BOM.

svn path=/trunk/; revision=63236
2014-05-11 17:58:25 +00:00
Hermès Bélusca-Maïto 4cc030e477 [RAPPS]
- Turkish translation by Erdem Ersoy;
- Italian translation by Marco Maria Emanuele Bartucci;
- Polish translation by wojo664.
CORE-7493 #close #comment Committed in revision 63235, thanks! Please create a new report for translation updates.

svn path=/trunk/; revision=63235
2014-05-11 17:48:25 +00:00
Amine Khaldi 1adaa3117e [CRT]
* Update _filbuf().
CORE-8080

svn path=/trunk/; revision=63234
2014-05-11 17:45:26 +00:00
Amine Khaldi 330869f298 [CRT]
* Update _mktemp().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63233
2014-05-11 16:47:56 +00:00
Amine Khaldi 5da6e57577 [ATL]
* Zap atl_atliface_header dependency.

svn path=/trunk/; revision=63232
2014-05-11 14:16:27 +00:00
Amine Khaldi c34bd28ce8 * Fix a typo.
svn path=/trunk/; revision=63231
2014-05-11 14:12:21 +00:00
Amine Khaldi 6b76e0f40b [CRT]
* Update _tstat64()
* Fixes several msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63230
2014-05-11 13:41:35 +00:00
Amine Khaldi bd3aa41c29 [TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7861 #comment Committed in r63229. Thanks!

svn path=/trunk/; revision=63229
2014-05-11 13:10:44 +00:00
Amine Khaldi da76ed637b [RAPPS]
* Italian translation update by Marco Maria Emanuele Bartucci.
* A small Polish translation update from wojo664.
CORE-8086 #resolve #Committed in r63228. Thanks!

svn path=/trunk/; revision=63228
2014-05-11 13:02:16 +00:00
Amine Khaldi 83effd53af [CRT]
* Update _open_osfhandle()
* Fixes a couple msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63227
2014-05-11 11:32:19 +00:00
Amine Khaldi bef8de14c4 [CRT]
* Update _ftelli64()
* Fixes a couple msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63226
2014-05-11 10:45:02 +00:00
Christoph von Wittich c93f8e51f0 [comctl32]
Notify the parent on a return key press.
fixes return key in device manager

svn path=/trunk/; revision=63225
2014-05-11 05:04:56 +00:00
Eric Kohl 94f60baa09 [VIDEOPRT]
Fix buggy monitor device id decode routine.
This patch is dedicated to Christoph von Wittlich.

svn path=/trunk/; revision=63224
2014-05-10 21:15:36 +00:00
Amine Khaldi 8ce24812f8 [CRT]
* Update MSVCRT_CHECK_PMT and co.
* Update the use of MSVCRT_INVALID_PMT throughout our code.
* Fix the return of _ltoa_s() in some case. Fixes a couple msvcrt:string tests.
CORE-8080

svn path=/trunk/; revision=63223
2014-05-10 20:38:26 +00:00
Timo Kreuzer be359827c5 [KMTEST]
Add a temp hack that allows to compile kmtest_drv with either the current incompatible object type data imports or with the fixed ones

svn path=/trunk/; revision=63222
2014-05-10 17:19:53 +00:00
Timo Kreuzer 5a330ec787 [WIN32K]
Fix comments for some systemcalls, noticed by Giannis

svn path=/trunk/; revision=63221
2014-05-10 16:43:13 +00:00
Timo Kreuzer 2b89f1925e [KS/NTOSKRNL/WIN32K] Fix MSVC warnings
[WMILIB] Don't put it in a cab file, so we can use it in first stage
[DDK/VDDSVC.H] use the 16 bit interface only on MIPS
[WINE/PORT.H] WIN32 -> _WIN32
[NTOSKRNL] KfAcquire/ReleaseSpinLock -> KeAcquire/ReleaseSpinLock
[NTOSKRNL] Make sure KeUpdateSystemTime returns properly on non-x86 builds

svn path=/trunk/; revision=63220
2014-05-10 14:33:37 +00:00
Timo Kreuzer a74ecc13fd [MSVCRT] Fix export of __uncaught_exception
[MSHTML] Add x64 asm wrappers

svn path=/trunk/; revision=63219
2014-05-10 14:16:11 +00:00
Timo Kreuzer 2e1ac56d1c [SPEC2DEF]
Improve the previous fix.

svn path=/trunk/; revision=63218
2014-05-10 14:12:20 +00:00
Timo Kreuzer fda4b225f8 [SPEC2DEF]
Add support for adding aliases when exporting data by specifying the -withalias switch. This will cause MS LINK to generate _FooVar as an alias alias for _imp__FooVar. While this looks wrong and is not the way you usually handle data imports, this is what we have in the DDK for a number of data exports like KdDebuggerNotPresent, IoFileObjectType, ..., which we currently define in an incompatible way. Remove stdcall decorations on non-x86 builds

svn path=/trunk/; revision=63217
2014-05-10 13:55:09 +00:00
Timo Kreuzer 6c9afdb590 [CPPRT]
Add an alias for __CxxFrameHandler3 on x64 builds

svn path=/trunk/; revision=63216
2014-05-10 12:01:17 +00:00