Commit graph

53782 commits

Author SHA1 Message Date
Thomas Faber b6ce4e511a [C++]
- Enable MSVC build of mesa, telnet, explorer and rosautotest
CORE-6950 #resolve

svn path=/trunk/; revision=59291
2013-06-22 16:38:27 +00:00
Thomas Faber e9df952de3 [C++]
- Enable STLPort build on MSVC
- Configure STLPort not to generate static constant definitions (which MSVC doesn't like)
- Link C++ modules to stlport and cpprt as appropriate
- Fix comsupp and atl C++ options
CORE-6950

svn path=/trunk/; revision=59290
2013-06-22 15:57:36 +00:00
Thomas Faber 77ce0c5663 [CPPRT]
- Add C++ runtime library for MSVC (analogous to GCC's libsupc++)
CORE-6950

svn path=/trunk/; revision=59289
2013-06-22 15:40:20 +00:00
Thomas Faber d8b4a7bd9e [CMAKE]
- rework set_cpp to allow fine-grained control over enabled language features
CORE-6950

svn path=/trunk/; revision=59288
2013-06-22 14:44:56 +00:00
Thomas Faber 020944a4bd [MESA]
- Temporarily disable MSVC build

svn path=/trunk/; revision=59287
2013-06-22 14:06:27 +00:00
Thomas Faber e29060bb8d [CMAKE]
- Add replace_compile_flags macros. Thanks to Amine and LLVM.
- Clean up compilerflags.cmake a bit, and make invalid macro/function invocations fatal so we actually notice them

svn path=/trunk/; revision=59286
2013-06-22 12:15:50 +00:00
Hermès Bélusca-Maïto 06b7934445 [CMAKE]
As ThFabba said:
" - Properly escape exclamation mark in configure message " <-- It's for delayed variable expansions in CMD scripts !! That's the true reason !
See r59281.

(The r59283 was a commit I've done because, independently (i.e. without seeing r59281), it happened for some reason that this phenomenon didn't appear at home, and after updating my local copy and rerunning a configure.cmd, I saw ^ characters before the ! . In fact it was because I temporarily disabled the delayed expansion vars in my configure script).

Therefore revert my error, shame on me :)

svn path=/trunk/; revision=59284
2013-06-22 11:11:35 +00:00
Hermès Bélusca-Maïto 68a58eafa6 - Remove two strange characters in configure.cmd
- Add a space between a word and an opening parenthese (in the informative message) in configure.sh

svn path=/trunk/; revision=59283
2013-06-22 10:54:11 +00:00
Eric Kohl 1edd94dfa6 [SAMSRV]
Clean-up the setup code:
- Use SampRegXxx functions instead of RegXxx functions.
- Let the setup functions return NTSTATUS instead of BOOL.
- Use a separate function to create the server object.

svn path=/trunk/; revision=59282
2013-06-22 09:13:53 +00:00
Thomas Faber b5de08425e [CMAKE]
- configure no longer defaults to nmake, don't confuse the user
- Properly escape exclamation mark in configure message

svn path=/trunk/; revision=59281
2013-06-22 08:05:50 +00:00
Eric Kohl dc5e210e8f [SAMSRV]
Changing user account names requires more than just changing the name attribute. Do it properly.

svn path=/trunk/; revision=59278
2013-06-21 23:19:37 +00:00
Thomas Faber 0aa1f8c0cc [MSHTML_WINETEST]
- Fix warnings about missing sprintf

svn path=/trunk/; revision=59275
2013-06-21 17:28:53 +00:00
Thomas Faber 7a91442d56 [APITESTS]
- Avoid warnings

svn path=/trunk/; revision=59274
2013-06-21 17:22:46 +00:00
Eric Kohl d0a49c0137 [NETAPI32]
NetUserSetInfo: Implement usriX_acct_expires for levels 2, 3, 4 and 1017.

svn path=/trunk/; revision=59270
2013-06-20 21:54:42 +00:00
Eric Kohl 5b6afe94ac [NETAPI32]
NetUserSetInfo: Implement level 4 and support the usri3_password_expired parameter of level 3.

svn path=/trunk/; revision=59267
2013-06-20 17:45:42 +00:00
Aleksey Bragin d91f3be3e6 [FSRTL]
- Fix incorrect McbMappingCompare() declaration, which was hard-casted to an incompatible prototype. It fixes the problem of crashes in generic tables code, however it does not make the actual MCB code logic any better.

svn path=/trunk/; revision=59266
2013-06-20 12:38:55 +00:00
Amine Khaldi 1d814c38a6 [QUARTZ]
* Sync with Wine 1.5.26.
[STRMBASE]
* Import from Wine 1.5.26.
[DXSDK]
* Remove a redundant (and outdated) strmif.idl.
* Update axextend.idl.
[PSDK]
* Update control.idl and strmif.idl.
* Correct the OVERLAPPED structure.
[CMAKE]
* Look for inclusions in psdk before dxsdk.
[DEVENUM]
* Adapt to the axextend.idl update.

svn path=/trunk/; revision=59265
2013-06-20 12:07:29 +00:00
Hermès Bélusca-Maïto 8eccf8f3b5 Fix the fix of revision 59258. By the way, I forgot to say that this "feature" was introduced in revision 54107.
svn path=/trunk/; revision=59259
2013-06-19 00:00:19 +00:00
Hermès Bélusca-Maïto 70202f89b6 [WIN32K]
Make F12 key working again on ReactOS. The problem was that it was hardcoded for activating a debugger and since we currently didn't activated a debugger, then nothing happened when pressing F12.
This key is in fact the default key (under some assumptions) for the UserDebuggerHotKey option, which should be read from the registry. Temporarily disable the checking code until someone implements a proper code for that.

svn path=/trunk/; revision=59258
2013-06-18 23:51:14 +00:00
Hermès Bélusca-Maïto 895a9ab679 [WIN32K]
Check for NULL pointer returned by PEN_AllocPenWithHandle before dereferencing the returned pointer (the allocation function can return NULL in low memory conditions, leading to kernel crashes).

svn path=/trunk/; revision=59257
2013-06-18 22:14:50 +00:00
Eric Kohl 99f4087daa [NETAPI32]
NetUserGetInfo: Implement level 4.

svn path=/trunk/; revision=59256
2013-06-18 22:08:04 +00:00
Hermès Bélusca-Maïto c4abf0b6cc [WIN32K]
Check for NULL pointer returned by COLORSPACEOBJ_AllocCSWithHandle before dereferencing the returned pointer (the allocation function can return NULL in low memory conditions, leading to kernel crashes).
Adapted from a patch from Aleksandar Andrejevic.
CORE-7317 #resolve #comment Fixed in revision r59255, cheers :D

svn path=/trunk/; revision=59255
2013-06-18 21:51:43 +00:00
Eric Kohl 29c077bd2b [NETAPI32]
- NetUserGetInfo: Implement level 11.
- NetUserSetInfo: Implement level 1024, 1025 and 1051.
- NetUserSetInfo: Support CountryCode and CodePage in level 2.
- NetUserSetInfo: Support CountryCode, CodePage and PrimaryGroupId in level 3.

svn path=/trunk/; revision=59254
2013-06-17 21:45:24 +00:00
Daniel Reimer 2cc2f1838f Fix sizes for German RC file.
Sync all sizes to be of the same size in every language to have a common look again!
Fix a size typo in nl-NL
Some languages need a overhaul badly! Especially Romanian really need to be shortened to not have such romans (See the word play?? ^^) for every string.

svn path=/trunk/; revision=59253
2013-06-17 21:18:50 +00:00
Amine Khaldi 842728981d [TELNET]
* Silence warnings.

svn path=/trunk/; revision=59252
2013-06-17 20:41:42 +00:00
Amine Khaldi 27fc57cd28 [EXT2FS]
* Silence warnings.

svn path=/trunk/; revision=59251
2013-06-17 16:33:21 +00:00
Daniel Reimer 523be793e6 Turkish translation update by Erdem Ersoy
CORE-7261 #resolve #comment Committed in revision r59250, thanks for help. Skipped wordpad, winhlp32 and write. These apps are wine synched and you need to send these patches to them, sorry.
CORE-7274 #resolve #comment Committed in revision r59249, thanks for help.

svn path=/trunk/; revision=59250
2013-06-17 00:26:48 +00:00
Daniel Reimer 753772532d Updated German Resource for usrmgr.
svn path=/trunk/; revision=59246
2013-06-16 23:30:09 +00:00
Daniel Reimer dfe18aa00c Fix for r59242.
GCC does not even care here... sorry.

svn path=/trunk/; revision=59245
2013-06-16 22:49:04 +00:00
Daniel Reimer d67db490fb advapi32: avicap32: fix missing allocation checks, and incorrect free calls by andygui
CORE-7197 #resolve #comment Committed in revision r59243, thanks for help

svn path=/trunk/; revision=59244
2013-06-16 22:15:28 +00:00
Daniel Reimer 30262ea0ce zlib: Sync to v1.2.8 by r3ddr4g0n
CORE-7217 #resolve #comment Committed in revision r59243, thanks for help

svn path=/trunk/; revision=59243
2013-06-16 22:08:36 +00:00
Daniel Reimer 0a65846d43 Right-to-Left mirroring fixes for various applications by Baruch Rutman
CORE-7015 #resolve #comment Committed in revision r59241, thanks for help.

svn path=/trunk/; revision=59242
2013-06-16 22:04:48 +00:00
Hermès Bélusca-Maïto 3e3200acef [KERNEL32]
- Change the argument types of both GetConsoleFontInfo() and SetConsoleFont() to be more complete. This research is based off of the examining of source code from the jockx-the-game project (licensed under a BSD license). Specifically, the files containing the functions are in both ConsoleFont.cpp and ConsoleFont.h:
  * http://code.google.com/p/jockx-the-game/source/browse/DamageCalc/ConsoleFont.cpp?r=a8ee04a8a8156de58754c4190f48435c32cfefaf
  * http://code.google.com/p/jockx-the-game/source/browse/DamageCalc/ConsoleFont.h?r=a8ee04a8a8156de58754c4190f48435c32cfefaf
- Since the code for jockx-the-game used a 0 for the boolean argument for GetConsoleFontInfo() in ConsoleFont.cpp, the patch creator currently doesn't know what the argument does exactly.
  **NOTE**: Using http://pages.videotron.com/lyra/PowerBASIC/ConsoleFont.html too, the patch committer (hbelusca) was able to deduce that the boolean has the same meaning as the bMaximumWindow parameter of the GetCurrentConsoleFont function (http://msdn.microsoft.com/en-us/library/windows/desktop/ms683176(v=vs.85).aspx).

Patch by Lee Schroeder, modified by me as explained above.
CORE-7015 #resolve #comment Committed in revision r, thanks :)

Extras:
- Fix the return type of GetCurrentConsoleFont
- Add both GetConsoleFontSize and GetCurrentConsoleFont prototypes (documented) to wincon.h

svn path=/trunk/; revision=59240
2013-06-16 21:35:18 +00:00
Eric Kohl 97cd0c3833 [USRMGR]
Enable the calls to NetUserSetInfo. We are now able to change user properties.

svn path=/trunk/; revision=59239
2013-06-16 21:26:04 +00:00
Daniel Reimer bfe3f61696 logical 'and' applied to non-boolean constant
Reviewed by Thomas Faber and asked for commit, so blame him!
CORE-7207 #resolve #comment Fixed!

svn path=/trunk/; revision=59238
2013-06-16 20:37:04 +00:00
Eric Kohl 179b2acb7d [NETAPI32]
- BuildUserInfoBuffer: return password age
- SetUserInfo: set account control flags and implement level 1008

svn path=/trunk/; revision=59237
2013-06-16 20:07:29 +00:00
Amine Khaldi 692a6854bd [MESA32]
* Silence warnings.

svn path=/trunk/; revision=59236
2013-06-16 19:13:50 +00:00
Amine Khaldi 862eb61397 [FREETYPE]
* Silence the unused-but-set warnings. Dedicated to Thomas Faber.

svn path=/trunk/; revision=59235
2013-06-16 17:42:42 +00:00
Hermès Bélusca-Maïto aa910aeae4 [KERNEL32]
- Simplify initialization of CONSOLE_START_INFO objects by also initializing their AppPath member in InitConsoleInfo.
- Add two members IconPath and IconIndex in the CONSOLE_START_INFO structure, to be used in a future work...

[HEADERS]
- CHAR_INFO* == PCHAR_INFO
- Add two informative comments for two fields of the CONSOLE_READOUTPUT structure (again, to be used in a future work...)

svn path=/trunk/; revision=59234
2013-06-16 17:16:33 +00:00
Eric Kohl d00ff48b65 [LSASRV]
Fix uninitialized variable.
CORE-7303 #resolve #comment Fixed!

svn path=/trunk/; revision=59233
2013-06-16 16:24:45 +00:00
Amine Khaldi 9190ce5a77 [LOCALSPL_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59232
2013-06-16 14:36:02 +00:00
Amine Khaldi 86fb632442 [LOCALSPL]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59231
2013-06-16 14:35:12 +00:00
Amine Khaldi a2949de657 [FONTVIEW]
* Restructure Display_OnPrint to eliminate allocating an unused variable and plug a leak.

svn path=/trunk/; revision=59230
2013-06-16 12:43:35 +00:00
Eric Kohl 78a3d923b6 [NTFS]
Fix indentation and coding style. No code changes!!!

svn path=/trunk/; revision=59229
2013-06-16 12:15:06 +00:00
Amine Khaldi 67115c45ed [QMGRPRXY]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59228
2013-06-16 11:11:48 +00:00
Amine Khaldi 1155b43932 [QMGR_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59227
2013-06-16 11:10:56 +00:00
Amine Khaldi 1794f4166f [QMGR]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59226
2013-06-16 11:10:20 +00:00
Amine Khaldi 2f922be30b [ATACTL]
* Add version information. By Lee Schroeder.
CR-16 CORE-6822

svn path=/trunk/; revision=59225
2013-06-16 10:58:55 +00:00
Johannes Anderwald 2146622d0f [VIDEOPRT]
- Check if there is a dma adapter
CORE-7181 #comment please retest

svn path=/trunk/; revision=59224
2013-06-16 09:17:29 +00:00
Eric Kohl a08cf1e057 [NETAPI32]
- NetUserEnum, NetUserGetInfo: Query UserAllInformation instead of UserAccountInformation.
- BuildUserInfoBuffer: Return more information to the caller (UserComment, Parameters, UnitsPerWeek, LogonHours and LogonServer).
- FreeUserInfo: Free additional strings.

svn path=/trunk/; revision=59223
2013-06-15 22:22:15 +00:00