reactos.git
10 years ago[MSPORTS]
Eric Kohl [Sat, 29 Jun 2013 19:25:31 +0000 (19:25 +0000)]
[MSPORTS]
- Add the port settings page for parallel ports.
- Implement ParallelPortPropPageProvider.

svn path=/trunk/; revision=59372

10 years ago[REGEDIT]
Hermès Bélusca-Maïto [Sat, 29 Jun 2013 19:22:00 +0000 (19:22 +0000)]
[REGEDIT]
Fix tree-view's image-list handle leakage when application quits.
Loosely based on a patch by Edijs Kolesnicovičs and Grégory Macário Harbs

NOTE: Always cleanup / destroy (or, try to) things in the reverse way they are created / initialized (i.e. in a symmetrical way). Therefore, destry the associated tree-view's image-list in the DestroyTreeView function, which is the opposite of CreateTreeView (which calls InitTreeViewImageLists). The same mechanism is already used by the list-view. For completeness, add a parameter to the DestroyTreeView function (a handle to a tree-view) so that we can pass to it the global tree-view's handle (see what's done in WM_DESTROY message handling in ChildWndProc).

CORE-6856 #resolve #comment Should be fixed in revision r59371. See the commit log for more details. Thanks :)

svn path=/trunk/; revision=59371

10 years ago[REGEDIT]
Hermès Bélusca-Maïto [Sat, 29 Jun 2013 19:05:15 +0000 (19:05 +0000)]
[REGEDIT]
Code formatting only.

svn path=/trunk/; revision=59370

10 years ago[LSALIB]
Eric Kohl [Sat, 29 Jun 2013 18:45:45 +0000 (18:45 +0000)]
[LSALIB]
- Implement LsaConnectUntrusted.
- Remove dead code.
- LsaRegisterLogonProcess: Fix ConnectInfo.Status check.

svn path=/trunk/; revision=59369

10 years ago[SHELL32]
Sylvain Petreolle [Sat, 29 Jun 2013 17:46:24 +0000 (17:46 +0000)]
[SHELL32]
Fix MSVC build.

svn path=/trunk/; revision=59368

10 years ago[SHELL32]
Sylvain Petreolle [Sat, 29 Jun 2013 17:35:05 +0000 (17:35 +0000)]
[SHELL32]
Properly disable DDE tests.

svn path=/trunk/; revision=59367

10 years ago[RTL:PATH]
Hermès Bélusca-Maïto [Sat, 29 Jun 2013 15:29:09 +0000 (15:29 +0000)]
[RTL:PATH]
- Use UNICODE markers for characters (the L'.' symbol for example) (i.e. fix code originating from Wine).
- Accept NULL Path/FileName in RtlDosSearchPath_U (fixes some ntdll_apitest tests, see after).

Fixes for RtlGetFullPathName_Ustr:
==================================
- Rework RtlGetFullPathName_Ustr by "reusing" little parts of the code of our old RtlGetFullPathName_U coming from Wine (and then make RtlGetFullPathName_U call RtlGetFullPathName_Ustr instead).
- Include the get_full_path_helper code into RtlGetFullPathName_Ustr and NT'ify it, and fix it too:
  * Fix skipping trailing path separators (slashes / backslashes) at the end of pathes.
  * Zero-out the destination buffer
  * Fix retrieving the "Short Name" (ie. the file name) out from the given full path name.
  * Fix remaining UNC path handling (ie. correctly remove trailing points, spaces, in UNC paths).

They fix the following tests:
* kernel32:FindFiles (6 failures to full success)
* ntdll:RtlDosPathNameToNtPathName_U (4 failures to full success)
* ntdll:RtlDosSearchPath_U (6 failures to full success)
* ntdll:RtlGetFullPathName_U (8 failures down to 2 failures because we don't correctly NULLify the user buffer when trimming unneeded chars)
* ntdll:RtlGetFullPathName_UstrEx (6 failures down to 2 failures for the same reasons as the previous test)

To Do: Finish to NT'ify the code originated from Wine, fix NULLification of the user buffer (when trimming unneeded characters), and "clean" the code ie. remove extra DPRINTs and added FIXMEs and NOTEs comments.

svn path=/trunk/; revision=59366

10 years ago[CRT]
Timo Kreuzer [Sat, 29 Jun 2013 14:55:01 +0000 (14:55 +0000)]
[CRT]
Fix exponential notation precision in scanf
Patch by dmitry216
CORE-7010 #resolve

svn path=/trunk/; revision=59365

10 years ago[MUP]
Hermès Bélusca-Maïto [Sat, 29 Jun 2013 14:03:04 +0000 (14:03 +0000)]
[MUP]
Return STATUS_OBJECT_NAME_INVALID instead of STATUS_BAD_NETWORK_PATH, fixes some tests (kernel32:FindFiles in particular).

svn path=/trunk/; revision=59364

10 years ago[GETUNAME]
Thomas Faber [Sat, 29 Jun 2013 13:44:17 +0000 (13:44 +0000)]
[GETUNAME]
- Implement GetUName. Patch by Baruch Rutman.
CORE-7264 #resolve #comment Awesome, thanks! Committed in r59363.

svn path=/trunk/; revision=59363

10 years ago[KMTESTS:MM]
Thomas Faber [Sat, 29 Jun 2013 13:10:30 +0000 (13:10 +0000)]
[KMTESTS:MM]
- Gracefully handle file open failure in ZwCreateSection test. Patch by Aleksandar Andrejevic.
ROSTESTS-115 #resolve

svn path=/trunk/; revision=59362

10 years ago[DESK.CPL]
Thomas Faber [Sat, 29 Jun 2013 13:05:52 +0000 (13:05 +0000)]
[DESK.CPL]
- Fix wrong buffer usage
CORE-7300 #resolve

svn path=/trunk/; revision=59361

10 years ago[SVCHOST]
Thomas Faber [Sat, 29 Jun 2013 13:01:35 +0000 (13:01 +0000)]
[SVCHOST]
- Fix various incorrect buffer size calculations
- Don't expand environment variables in REG_SZ values
- Repair all DPRINTs
- Other misc fixes
CORE-7296 #resolve

svn path=/trunk/; revision=59360

10 years ago[SVCHOST]
Thomas Faber [Sat, 29 Jun 2013 11:46:13 +0000 (11:46 +0000)]
[SVCHOST]
- Make WCHARs explicit

svn path=/trunk/; revision=59359

10 years ago[SVCHOST]
Thomas Faber [Sat, 29 Jun 2013 11:41:05 +0000 (11:41 +0000)]
[SVCHOST]
- Yoda logic fix you must. No functional changes.

svn path=/trunk/; revision=59358

10 years ago[SVCHOST]
Thomas Faber [Sat, 29 Jun 2013 11:10:28 +0000 (11:10 +0000)]
[SVCHOST]
- Convert tabs to spaces. No code changes.

svn path=/trunk/; revision=59357

10 years ago[QUARTZ_WINETEST]
Thomas Faber [Sat, 29 Jun 2013 08:36:39 +0000 (08:36 +0000)]
[QUARTZ_WINETEST]
- Skip dsoundrender, filtergraph, misc, videorenderer tests because they cause testbot timeouts.
ROSTESTS-116

svn path=/trunk/; revision=59356

10 years ago[KERNEL32]
Thomas Faber [Sat, 29 Jun 2013 06:08:57 +0000 (06:08 +0000)]
[KERNEL32]
- Fix use of uninitialized variables in failure case. Patch by Samuel Serapión
CORE-7302 #resolve

svn path=/trunk/; revision=59355

10 years ago[CRT]
Thomas Faber [Sat, 29 Jun 2013 06:04:58 +0000 (06:04 +0000)]
[CRT]
- Handle realloc failure in SetEnv. Based on patch by Samuel Serapión
CORE-7306 #resolve

svn path=/trunk/; revision=59354

10 years ago[NDK]
Thomas Faber [Sat, 29 Jun 2013 05:48:22 +0000 (05:48 +0000)]
[NDK]
- Fix some lpcfuncs.h annotations. Includes patch by Ivan Rodionov.
CORE-7329 #resolve #comment Thanks.

svn path=/trunk/; revision=59353

10 years ago[NTOSKRNL]
Thomas Faber [Sat, 29 Jun 2013 05:40:09 +0000 (05:40 +0000)]
[NTOSKRNL]
- Make MSVC analyzer happy by initializing the event before calling IoBuildDeviceIoControlRequest. Patch by Ivan Rodionov (overclocker at list dot ru).
CORE-7328 #resolve #comment Committed, thanks.

svn path=/trunk/; revision=59352

10 years ago[KMTESTS]
Thomas Faber [Sat, 29 Jun 2013 05:38:37 +0000 (05:38 +0000)]
[KMTESTS]
- Skip FsRtlMcb again to make testbot happy

svn path=/trunk/; revision=59351

10 years ago[KMTESTS:FSRTL]
Sylvain Petreolle [Fri, 28 Jun 2013 19:25:37 +0000 (19:25 +0000)]
[KMTESTS:FSRTL]
Enable FsRtlMcb tests.

svn path=/trunk/; revision=59349

10 years ago[NTOS/FSRTL]
Aleksey Bragin [Thu, 27 Jun 2013 09:18:32 +0000 (09:18 +0000)]
[NTOS/FSRTL]
- Implement FsRtlSplitLargeMcb. 168 tests executed / 59 failures.

svn path=/trunk/; revision=59348

10 years ago[KMTESTS/FSRTL]
Aleksey Bragin [Thu, 27 Jun 2013 08:32:46 +0000 (08:32 +0000)]
[KMTESTS/FSRTL]
- Add all runs dumping to aid in development.
- Do not try to add a mapping run with 0 LBN. Zero and negative LBNs are forbidden.
- Rework other tests to work as expected (plumb a hole).

svn path=/trunk/; revision=59347

10 years ago[KERNEL32]
Hermès Bélusca-Maïto [Thu, 27 Jun 2013 00:20:58 +0000 (00:20 +0000)]
[KERNEL32]
Remove a spurious cast, and add a note for the pInputControl parameter of ReadConsole.

[CONSRV]
- Move some input/output console function helpers to condrv.
- The way we notify for the presence of new input data, or for console pausing/unpausing, should be reconsidered (who should do this? The console driver? The active front-end?)

svn path=/trunk/; revision=59345

10 years ago[NTOS/FSRTL]
Aleksey Bragin [Wed, 26 Jun 2013 12:24:55 +0000 (12:24 +0000)]
[NTOS/FSRTL]
- Develop a new implementation of Large MCBs. It's based on (tested-in-real-world) implementation from Captive NTFS project, which is improved, enhanced, cleaned and beautified, using our own tests.
There are some test failures and some fishy things there (you may notice them when a variable name doesn't follow ReactOS kernel functions naming convention), however it's way better than the previous implementation.

Link to the original source file: http://git.jankratochvil.net/?p=captive.git;a=blob;f=src/libcaptive/fs/mcb.c;h=62b524630af82c9124c2c9b4eea7c4f0128c2cc4;hb=HEAD

svn path=/trunk/; revision=59342

10 years ago[MMCCLIENT]
Sylvain Petreolle [Tue, 25 Jun 2013 20:30:09 +0000 (20:30 +0000)]
[MMCCLIENT]
Copypasta--, fixes build.

svn path=/trunk/; revision=59341

10 years agoRevert an unwanted change committed by error.
Hermès Bélusca-Maïto [Sun, 23 Jun 2013 23:22:38 +0000 (23:22 +0000)]
Revert an unwanted change committed by error.

svn path=/trunk/; revision=59327

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Sun, 23 Jun 2013 23:19:42 +0000 (23:19 +0000)]
[CONSRV]
- Turn some BOOLs into BOOLEANs in condrv.
- Move some coninput functions into condrv.

svn path=/trunk/; revision=59326

10 years ago[NTOS:SE]
Thomas Faber [Sun, 23 Jun 2013 22:10:47 +0000 (22:10 +0000)]
[NTOS:SE]
- Fix pool corruption of the nastiest sort. Big thanks to Amine. Also thanks to MS for idiotic unsafe typedefs.

svn path=/trunk/; revision=59325

10 years ago[WBEMPROX]
Amine Khaldi [Sun, 23 Jun 2013 20:41:42 +0000 (20:41 +0000)]
[WBEMPROX]
* Import from Wine 1.5.26

svn path=/trunk/; revision=59324

10 years ago[DXGI]
Amine Khaldi [Sun, 23 Jun 2013 19:14:50 +0000 (19:14 +0000)]
[DXGI]
* Import from Wine 1.5.26.

svn path=/trunk/; revision=59323

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Sun, 23 Jun 2013 18:20:39 +0000 (18:20 +0000)]
[CONSRV]
Finish to move some text functions to condrv.

svn path=/trunk/; revision=59322

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Sun, 23 Jun 2013 17:19:08 +0000 (17:19 +0000)]
[CONSRV]
Continue to move some (text) functions to condrv.

svn path=/trunk/; revision=59321

10 years ago[SAMSRV]
Eric Kohl [Sun, 23 Jun 2013 15:02:31 +0000 (15:02 +0000)]
[SAMSRV]
Remove unused code.

svn path=/trunk/; revision=59320

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Sun, 23 Jun 2013 14:51:08 +0000 (14:51 +0000)]
[CONSRV]
Continue to move some functions to condrv.

svn path=/trunk/; revision=59319

10 years ago"Seccurity" --> "Security"
Hermès Bélusca-Maïto [Sun, 23 Jun 2013 14:34:30 +0000 (14:34 +0000)]
"Seccurity" --> "Security"

svn path=/trunk/; revision=59318

10 years ago[SAMSRV]
Eric Kohl [Sun, 23 Jun 2013 14:26:18 +0000 (14:26 +0000)]
[SAMSRV]
Create and store a security descriptor for the server object.

svn path=/trunk/; revision=59317

10 years ago[MSHTML]
Amine Khaldi [Sun, 23 Jun 2013 12:56:00 +0000 (12:56 +0000)]
[MSHTML]
* Fix a typo.

svn path=/trunk/; revision=59315

10 years ago[MSHTML]
Amine Khaldi [Sun, 23 Jun 2013 12:49:24 +0000 (12:49 +0000)]
[MSHTML]
* Welcome to the MSVC build club. Thanks to Thomas Faber.

svn path=/trunk/; revision=59313

10 years ago[WIDL]
Amine Khaldi [Sun, 23 Jun 2013 12:47:33 +0000 (12:47 +0000)]
[WIDL]
* Do not generate empty Vtbl structure for empty interfaces. Brought to you by Thomas Faber.
* Patch is pending upstream.

svn path=/trunk/; revision=59312

10 years ago[WIDL]
Amine Khaldi [Sun, 23 Jun 2013 12:42:00 +0000 (12:42 +0000)]
[WIDL]
* Don't mix static and extern (FORCEINLINE).

svn path=/trunk/; revision=59311

10 years agoFix compilation (forgot this change).
Hermès Bélusca-Maïto [Sun, 23 Jun 2013 12:18:31 +0000 (12:18 +0000)]
Fix compilation (forgot this change).

svn path=/trunk/; revision=59309

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Sun, 23 Jun 2013 12:13:21 +0000 (12:13 +0000)]
[CONSRV]
Move some output functions to the future console driver (i.e. for the moment, CSR console server functions SrvConsole* call ConDrv* functions).
Don't worry, internal headers will be rearranged, so that:

<ConDrv***_function_prototype>(...);
CSR_API(SrvConsole***)
{
...
}

constructions will be avoided in the future. For now, just make everything working.

svn path=/trunk/; revision=59308

10 years ago[SAMSRV]
Eric Kohl [Sun, 23 Jun 2013 11:20:32 +0000 (11:20 +0000)]
[SAMSRV]
Implement SamIFree_SAMPR_SR_SECURITY_DESCRIPTOR.

svn path=/trunk/; revision=59307

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Sun, 23 Jun 2013 10:55:18 +0000 (10:55 +0000)]
[CONSRV]
Hey Arch, how do you define functions types?! Fix MSVC builds.

svn path=/trunk/; revision=59306

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Sun, 23 Jun 2013 00:18:47 +0000 (00:18 +0000)]
[CONSRV]
Start to separate better the CSR console server layer from the pure set of console functions (which will constitute a future console driver called... condrv :) ), and rework the terminal frontends interface.
Now load the frontends by order :
- the tui if we're in console mode
- the gui, otherwise.
(It's a temporary solution)
More modifications to come !

svn path=/trunk/; revision=59297

10 years ago[RTL]
Sylvain Petreolle [Sat, 22 Jun 2013 23:42:54 +0000 (23:42 +0000)]
[RTL]
Update WIN32 to NT errors table.
Patch by Samuel Serapion.
CORE-7206 #resolve

svn path=/trunk/; revision=59295

10 years ago[VERSION]
Sylvain Petreolle [Sat, 22 Jun 2013 22:33:49 +0000 (22:33 +0000)]
[VERSION]
Replace binary tool in repository by a Windows one to get current date. (supported since Windows XP/2003)

svn path=/trunk/; revision=59294

10 years ago[CPPRT]
Thomas Faber [Sat, 22 Jun 2013 19:32:27 +0000 (19:32 +0000)]
[CPPRT]
- Apply VS asm file hack. Spotted by Dominik Hornung

svn path=/trunk/; revision=59293

10 years ago[ROSAUTOTEST]
Thomas Faber [Sat, 22 Jun 2013 17:16:25 +0000 (17:16 +0000)]
[ROSAUTOTEST]
- Remove an unnecessary hack that makes the app useless on MSVC

svn path=/trunk/; revision=59292

10 years ago[C++]
Thomas Faber [Sat, 22 Jun 2013 16:38:27 +0000 (16:38 +0000)]
[C++]
- Enable MSVC build of mesa, telnet, explorer and rosautotest
CORE-6950 #resolve

svn path=/trunk/; revision=59291

10 years ago[C++]
Thomas Faber [Sat, 22 Jun 2013 15:57:36 +0000 (15:57 +0000)]
[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

10 years ago[CPPRT]
Thomas Faber [Sat, 22 Jun 2013 15:40:20 +0000 (15:40 +0000)]
[CPPRT]
- Add C++ runtime library for MSVC (analogous to GCC's libsupc++)
CORE-6950

svn path=/trunk/; revision=59289

10 years ago[CMAKE]
Thomas Faber [Sat, 22 Jun 2013 14:44:56 +0000 (14:44 +0000)]
[CMAKE]
- rework set_cpp to allow fine-grained control over enabled language features
CORE-6950

svn path=/trunk/; revision=59288

10 years ago[MESA]
Thomas Faber [Sat, 22 Jun 2013 14:06:27 +0000 (14:06 +0000)]
[MESA]
- Temporarily disable MSVC build

svn path=/trunk/; revision=59287

10 years ago[CMAKE]
Thomas Faber [Sat, 22 Jun 2013 12:15:50 +0000 (12:15 +0000)]
[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

10 years ago[CMAKE]
Hermès Bélusca-Maïto [Sat, 22 Jun 2013 11:11:35 +0000 (11:11 +0000)]
[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

10 years ago- Remove two strange characters in configure.cmd
Hermès Bélusca-Maïto [Sat, 22 Jun 2013 10:54:11 +0000 (10:54 +0000)]
- 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

10 years ago[SAMSRV]
Eric Kohl [Sat, 22 Jun 2013 09:13:53 +0000 (09:13 +0000)]
[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

10 years ago[CMAKE]
Thomas Faber [Sat, 22 Jun 2013 08:05:50 +0000 (08:05 +0000)]
[CMAKE]
- configure no longer defaults to nmake, don't confuse the user
- Properly escape exclamation mark in configure message

svn path=/trunk/; revision=59281

10 years ago[SAMSRV]
Eric Kohl [Fri, 21 Jun 2013 23:19:37 +0000 (23:19 +0000)]
[SAMSRV]
Changing user account names requires more than just changing the name attribute. Do it properly.

svn path=/trunk/; revision=59278

10 years ago[MSHTML_WINETEST]
Thomas Faber [Fri, 21 Jun 2013 17:28:53 +0000 (17:28 +0000)]
[MSHTML_WINETEST]
- Fix warnings about missing sprintf

svn path=/trunk/; revision=59275

10 years ago[APITESTS]
Thomas Faber [Fri, 21 Jun 2013 17:22:46 +0000 (17:22 +0000)]
[APITESTS]
- Avoid warnings

svn path=/trunk/; revision=59274

10 years ago[NETAPI32]
Eric Kohl [Thu, 20 Jun 2013 21:54:42 +0000 (21:54 +0000)]
[NETAPI32]
NetUserSetInfo: Implement usriX_acct_expires for levels 2, 3, 4 and 1017.

svn path=/trunk/; revision=59270

10 years ago[NETAPI32]
Eric Kohl [Thu, 20 Jun 2013 17:45:42 +0000 (17:45 +0000)]
[NETAPI32]
NetUserSetInfo: Implement level 4 and support the usri3_password_expired parameter of level 3.

svn path=/trunk/; revision=59267

10 years ago[FSRTL]
Aleksey Bragin [Thu, 20 Jun 2013 12:38:55 +0000 (12:38 +0000)]
[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

10 years ago[QUARTZ]
Amine Khaldi [Thu, 20 Jun 2013 12:07:29 +0000 (12:07 +0000)]
[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

10 years agoFix the fix of revision 59258. By the way, I forgot to say that this "feature" was...
Hermès Bélusca-Maïto [Wed, 19 Jun 2013 00:00:19 +0000 (00:00 +0000)]
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

10 years ago[WIN32K]
Hermès Bélusca-Maïto [Tue, 18 Jun 2013 23:51:14 +0000 (23:51 +0000)]
[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

10 years ago[WIN32K]
Hermès Bélusca-Maïto [Tue, 18 Jun 2013 22:14:50 +0000 (22:14 +0000)]
[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

10 years ago[NETAPI32]
Eric Kohl [Tue, 18 Jun 2013 22:08:04 +0000 (22:08 +0000)]
[NETAPI32]
NetUserGetInfo: Implement level 4.

svn path=/trunk/; revision=59256

10 years ago[WIN32K]
Hermès Bélusca-Maïto [Tue, 18 Jun 2013 21:51:43 +0000 (21:51 +0000)]
[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

10 years ago[NETAPI32]
Eric Kohl [Mon, 17 Jun 2013 21:45:24 +0000 (21:45 +0000)]
[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

10 years agoFix sizes for German RC file.
Daniel Reimer [Mon, 17 Jun 2013 21:18:50 +0000 (21:18 +0000)]
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

10 years ago[TELNET]
Amine Khaldi [Mon, 17 Jun 2013 20:41:42 +0000 (20:41 +0000)]
[TELNET]
* Silence warnings.

svn path=/trunk/; revision=59252

10 years ago[EXT2FS]
Amine Khaldi [Mon, 17 Jun 2013 16:33:21 +0000 (16:33 +0000)]
[EXT2FS]
* Silence warnings.

svn path=/trunk/; revision=59251

10 years agoTurkish translation update by Erdem Ersoy
Daniel Reimer [Mon, 17 Jun 2013 00:26:48 +0000 (00:26 +0000)]
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

10 years agoUpdated German Resource for usrmgr.
Daniel Reimer [Sun, 16 Jun 2013 23:30:09 +0000 (23:30 +0000)]
Updated German Resource for usrmgr.

svn path=/trunk/; revision=59246

10 years agoFix for r59242.
Daniel Reimer [Sun, 16 Jun 2013 22:49:04 +0000 (22:49 +0000)]
Fix for r59242.
GCC does not even care here... sorry.

svn path=/trunk/; revision=59245

10 years agoadvapi32: avicap32: fix missing allocation checks, and incorrect free calls by andygui
Daniel Reimer [Sun, 16 Jun 2013 22:15:28 +0000 (22:15 +0000)]
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

10 years agozlib: Sync to v1.2.8 by r3ddr4g0n
Daniel Reimer [Sun, 16 Jun 2013 22:08:36 +0000 (22:08 +0000)]
zlib: Sync to v1.2.8 by r3ddr4g0n
CORE-7217 #resolve #comment Committed in revision r59243, thanks for help

svn path=/trunk/; revision=59243

10 years agoRight-to-Left mirroring fixes for various applications by Baruch Rutman
Daniel Reimer [Sun, 16 Jun 2013 22:04:48 +0000 (22:04 +0000)]
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

10 years ago[KERNEL32]
Hermès Bélusca-Maïto [Sun, 16 Jun 2013 21:35:18 +0000 (21:35 +0000)]
[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

10 years ago[USRMGR]
Eric Kohl [Sun, 16 Jun 2013 21:26:04 +0000 (21:26 +0000)]
[USRMGR]
Enable the calls to NetUserSetInfo. We are now able to change user properties.

svn path=/trunk/; revision=59239

10 years agological 'and' applied to non-boolean constant
Daniel Reimer [Sun, 16 Jun 2013 20:37:04 +0000 (20:37 +0000)]
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

10 years ago[NETAPI32]
Eric Kohl [Sun, 16 Jun 2013 20:07:29 +0000 (20:07 +0000)]
[NETAPI32]
- BuildUserInfoBuffer: return password age
- SetUserInfo: set account control flags and implement level 1008

svn path=/trunk/; revision=59237

10 years ago[MESA32]
Amine Khaldi [Sun, 16 Jun 2013 19:13:50 +0000 (19:13 +0000)]
[MESA32]
* Silence warnings.

svn path=/trunk/; revision=59236

10 years ago[FREETYPE]
Amine Khaldi [Sun, 16 Jun 2013 17:42:42 +0000 (17:42 +0000)]
[FREETYPE]
* Silence the unused-but-set warnings. Dedicated to Thomas Faber.

svn path=/trunk/; revision=59235

10 years ago[KERNEL32]
Hermès Bélusca-Maïto [Sun, 16 Jun 2013 17:16:33 +0000 (17:16 +0000)]
[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

10 years ago[LSASRV]
Eric Kohl [Sun, 16 Jun 2013 16:24:45 +0000 (16:24 +0000)]
[LSASRV]
Fix uninitialized variable.
CORE-7303 #resolve #comment Fixed!

svn path=/trunk/; revision=59233

10 years ago[LOCALSPL_WINETEST]
Amine Khaldi [Sun, 16 Jun 2013 14:36:02 +0000 (14:36 +0000)]
[LOCALSPL_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59232

10 years ago[LOCALSPL]
Amine Khaldi [Sun, 16 Jun 2013 14:35:12 +0000 (14:35 +0000)]
[LOCALSPL]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59231

10 years ago[FONTVIEW]
Amine Khaldi [Sun, 16 Jun 2013 12:43:35 +0000 (12:43 +0000)]
[FONTVIEW]
* Restructure Display_OnPrint to eliminate allocating an unused variable and plug a leak.

svn path=/trunk/; revision=59230

10 years ago[NTFS]
Eric Kohl [Sun, 16 Jun 2013 12:15:06 +0000 (12:15 +0000)]
[NTFS]
Fix indentation and coding style. No code changes!!!

svn path=/trunk/; revision=59229

10 years ago[QMGRPRXY]
Amine Khaldi [Sun, 16 Jun 2013 11:11:48 +0000 (11:11 +0000)]
[QMGRPRXY]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59228

10 years ago[QMGR_WINETEST]
Amine Khaldi [Sun, 16 Jun 2013 11:10:56 +0000 (11:10 +0000)]
[QMGR_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59227

10 years ago[QMGR]
Amine Khaldi [Sun, 16 Jun 2013 11:10:20 +0000 (11:10 +0000)]
[QMGR]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59226

10 years ago[ATACTL]
Amine Khaldi [Sun, 16 Jun 2013 10:58:55 +0000 (10:58 +0000)]
[ATACTL]
* Add version information. By Lee Schroeder.
CR-16 CORE-6822

svn path=/trunk/; revision=59225