reactos.git
6 years ago[User32_wineTest]
James Tabor [Sat, 31 Oct 2015 18:40:44 +0000 (18:40 +0000)]
[User32_wineTest]
- Enable skipped menu tests.

svn path=/trunk/; revision=69758

6 years ago[PSDK] Comment commctrl.h preprocessor conditions in an attempt to make this maze...
Amine Khaldi [Sat, 31 Oct 2015 18:37:34 +0000 (18:37 +0000)]
[PSDK] Comment commctrl.h preprocessor conditions in an attempt to make this maze readable.

svn path=/trunk/; revision=69757

6 years agoFix build.
Hermès Bélusca-Maïto [Sat, 31 Oct 2015 17:28:37 +0000 (17:28 +0000)]
Fix build.

svn path=/trunk/; revision=69756

6 years ago[PSDK]
Hermès Bélusca-Maïto [Sat, 31 Oct 2015 17:25:32 +0000 (17:25 +0000)]
[PSDK]
Fix COMCTL32_VERSION definition.

[COMCTL32]
The comctl32 we currently have in trunk cannot pretend to be version 6+ (it was currently reporting version 6.82, aka something for Windows 20? ) Fix it and make it report 5.82 instead.
CORE-10457

svn path=/trunk/; revision=69755

6 years ago[GDI32_APITEST]
Timo Kreuzer [Sat, 31 Oct 2015 15:24:09 +0000 (15:24 +0000)]
[GDI32_APITEST]
Formatting: tabs -> spaces

svn path=/trunk/; revision=69754

6 years ago[NTOSKRNL]
Eric Kohl [Sat, 31 Oct 2015 15:16:57 +0000 (15:16 +0000)]
[NTOSKRNL]
DPRINT1 --> DPRINT

svn path=/trunk/; revision=69753

6 years ago[GDI32_APITEST]
Timo Kreuzer [Sat, 31 Oct 2015 14:59:08 +0000 (14:59 +0000)]
[GDI32_APITEST]
Fix tests for GetObject

svn path=/trunk/; revision=69752

6 years ago[SHDOCVW]
Thomas Faber [Sat, 31 Oct 2015 14:15:09 +0000 (14:15 +0000)]
[SHDOCVW]
- Add missing parameter to RunInstallUninstallStubs2
CORE-5189

svn path=/trunk/; revision=69751

6 years ago[NTOSKNRL]
Pierre Schweitzer [Sat, 31 Oct 2015 13:50:23 +0000 (13:50 +0000)]
[NTOSKNRL]
Comment out for now in MCB the assert hit when attempting to write on an extX volume.

Aleksey, could you have a look at it?

CORE-10407 #comment Can you retry with r69750?

svn path=/trunk/; revision=69750

6 years ago[NTOSKRNL]
Eric Kohl [Sat, 31 Oct 2015 13:32:12 +0000 (13:32 +0000)]
[NTOSKRNL]
Dereference the primary access token in SeDeassignPrimaryToken.

svn path=/trunk/; revision=69749

6 years ago[WIN32K]
Timo Kreuzer [Sat, 31 Oct 2015 12:52:01 +0000 (12:52 +0000)]
[WIN32K]
Fix parameter handling in NtGdiDoPalette
CORE-9435 #resolve

svn path=/trunk/; revision=69748

6 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 31 Oct 2015 12:43:09 +0000 (12:43 +0000)]
[NTOSKRNL]
Fix parameter checks in NtQuerySection. Fixes a number of kernel32:virtual winetests.

svn path=/trunk/; revision=69747

6 years ago[EXT2FS] Do not define _X86_ unconditionally. Spotted by Sergey Chernov. CORE-10448
Amine Khaldi [Sat, 31 Oct 2015 10:33:28 +0000 (10:33 +0000)]
[EXT2FS] Do not define _X86_ unconditionally. Spotted by Sergey Chernov. CORE-10448

svn path=/trunk/; revision=69746

6 years ago[MSCONFIG_NEW]: Add a search/find dialog (needed for the SYSTEM.INI/WIN.INI tab)...
Hermès Bélusca-Maïto [Fri, 30 Oct 2015 20:48:41 +0000 (20:48 +0000)]
[MSCONFIG_NEW]: Add a search/find dialog (needed for the SYSTEM.INI/WIN.INI tab); will be implemented later on.

svn path=/trunk/; revision=69745

6 years ago[NETWORKING] Add some needed registry entries on tcpip install. By Peter Hater. CORE...
Amine Khaldi [Fri, 30 Oct 2015 19:50:00 +0000 (19:50 +0000)]
[NETWORKING] Add some needed registry entries on tcpip install. By Peter Hater. CORE-10440

svn path=/trunk/; revision=69744

6 years ago[NETWORKING] Add protocol and network files and add alias for mail protocol. Brought...
Amine Khaldi [Fri, 30 Oct 2015 19:46:11 +0000 (19:46 +0000)]
[NETWORKING] Add protocol and network files and add alias for mail protocol. Brought to you by Peter Hater. CORE-10440

svn path=/trunk/; revision=69743

6 years ago[NTOSKRNL]
Pierre Schweitzer [Fri, 30 Oct 2015 18:54:16 +0000 (18:54 +0000)]
[NTOSKRNL]
Improve the oplocks stubs:
- Always return success when FsRtlCheckOplock() is called: we deny oplock creation at FsRtlOplockFsctrl(), so the oplocks can only be fine.
- Always return TRUE when FsRtlOplockIsFastIoPossible() is called: we deny oplock creation at FsRtlOplockFsctrl(), so no oplock can prevent fastio from happening.

This enables (for real :-)) write support in extX FSD. Not 100% perfect though, as it hits an assert in MCB (but that's yet another story).

Full implementation to come later on.

CORE-10407
CORE-10442

svn path=/trunk/; revision=69742

6 years ago[WLDAP32]
Thomas Faber [Fri, 30 Oct 2015 14:26:42 +0000 (14:26 +0000)]
[WLDAP32]
- Fix MSVC const mismatch warnings

svn path=/trunk/; revision=69741

6 years ago[CMAKE/GCC] Set O2 and define NDEBUG for GCC release builds.
Amine Khaldi [Fri, 30 Oct 2015 10:03:44 +0000 (10:03 +0000)]
[CMAKE/GCC] Set O2 and define NDEBUG for GCC release builds.

svn path=/trunk/; revision=69740

6 years ago[CMAKE/GCC] Override the INIT flags for Debug and Release build types.
Amine Khaldi [Fri, 30 Oct 2015 09:56:57 +0000 (09:56 +0000)]
[CMAKE/GCC] Override the INIT flags for Debug and Release build types.

svn path=/trunk/; revision=69739

6 years ago[CMAKE] Print the build type so it's clearly visible at configure time whether we...
Amine Khaldi [Fri, 30 Oct 2015 09:55:58 +0000 (09:55 +0000)]
[CMAKE] Print the build type so it's clearly visible at configure time whether we are doing a Debug or a Release build for example.

svn path=/trunk/; revision=69738

6 years ago[MSCONFIG_NEW]: Reorder the dialogs in the order they visually appear in the application.
Hermès Bélusca-Maïto [Fri, 30 Oct 2015 00:19:11 +0000 (00:19 +0000)]
[MSCONFIG_NEW]: Reorder the dialogs in the order they visually appear in the application.

svn path=/trunk/; revision=69737

6 years ago[MSCONFIG_NEW]: Update the "system.ini"/"win.ini" page layout.
Hermès Bélusca-Maïto [Thu, 29 Oct 2015 23:45:44 +0000 (23:45 +0000)]
[MSCONFIG_NEW]: Update the "system.ini"/"win.ini" page layout.

svn path=/trunk/; revision=69736

6 years ago[NTOSKRNL]
Eric Kohl [Thu, 29 Oct 2015 22:50:14 +0000 (22:50 +0000)]
[NTOSKRNL]
- Initialize SepRmDbLock and create the system and anonymous logon sessions in Phase 0, right before the system process token is created.
- Implement functions to reference and dereference a logon session.
- Reference a logon session in SepCreateToken and SepDuplicateToken.
- Dereference a logon session in SepDeleteToken.

svn path=/trunk/; revision=69735

6 years ago[EXPLORER] -First commit of my Explorer work. -Remove unneeded property pages and...
Robert Naumann [Thu, 29 Oct 2015 22:26:44 +0000 (22:26 +0000)]
[EXPLORER] -First commit of my Explorer work. -Remove unneeded property pages and move the important settings to the both pages which are also there in Win2k3 (taskbar and startmenu). -Add a folder layout for resources (like in shell32) to keep the overview. -Added missing resources like bitmaps and icons, some of them are needed for further work. -Added a new start menu bitmap, like in CE -All code related stuff is ignored so far, because it makes trouble. I'll work on this. This temporarily breaks the show seconds checkbox, which will also become fixed asap. -Translation may be broken, please translators take a look. Part 1/X CORE-10030 CORE-9240

svn path=/trunk/; revision=69734

6 years ago[LSASRV]
Eric Kohl [Thu, 29 Oct 2015 22:23:37 +0000 (22:23 +0000)]
[LSASRV]
Call LsapRmDeleteLogonSession from LsapDeleteLogonSession.

svn path=/trunk/; revision=69733

6 years ago[FATTEN]
Hermès Bélusca-Maïto [Wed, 28 Oct 2015 23:24:37 +0000 (23:24 +0000)]
[FATTEN]
- Do not always print the usage when an error occurs. Print it only when a syntactic error happens.
- FAT volume labels are constituted of 11 chars (not 8!) which should be printable ASCII (in particular, >= 0x20) and in uppercase.

svn path=/trunk/; revision=69732

6 years ago[WIN32K:NTUSER]
Thomas Faber [Wed, 28 Oct 2015 11:29:42 +0000 (11:29 +0000)]
[WIN32K:NTUSER]
- Window station handles are normally user handles. Treat them as such
CORE-10207

svn path=/trunk/; revision=69731

6 years ago[NTOS:IO]
Thomas Faber [Wed, 28 Oct 2015 11:14:46 +0000 (11:14 +0000)]
[NTOS:IO]
- Add missing OBJ_KERNEL_HANDLE
- Avoid INVALID_HANDLE_VALUE
CORE-10207

svn path=/trunk/; revision=69730

6 years ago[NTOS:IO]
Thomas Faber [Wed, 28 Oct 2015 10:59:59 +0000 (10:59 +0000)]
[NTOS:IO]
- Properly parse SymbolicLinkName (in particular, don't assume it's null-terminated) in IoSetDeviceInterface. Fixes IoDeviceInterface test failures and subsequent crashes due to memory corruption
CORE-9456

svn path=/trunk/; revision=69729

6 years ago[AFD]
Cameron Gutman [Wed, 28 Oct 2015 03:12:21 +0000 (03:12 +0000)]
[AFD]
- Fix WSAEnumNetworkEvents failing if no event was supplied (uTorrent issue - CORE-6656)

svn path=/trunk/; revision=69728

6 years ago[PCIX]
Cameron Gutman [Wed, 28 Oct 2015 01:11:00 +0000 (01:11 +0000)]
[PCIX]
- Fix typo in QueryInterface size field

svn path=/trunk/; revision=69727

6 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 28 Oct 2015 00:39:29 +0000 (00:39 +0000)]
[NTVDM]
VGA Horizontal splitting should reset the address to 0 + panning, and not
the start address + panning.

svn path=/trunk/; revision=69726

6 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 27 Oct 2015 22:16:53 +0000 (22:16 +0000)]
[NTVDM]
Implement VGA horizontal splitting.

svn path=/trunk/; revision=69725

6 years agoShut up Mr. GCC.
Hermès Bélusca-Maïto [Tue, 27 Oct 2015 21:27:55 +0000 (21:27 +0000)]
Shut up Mr. GCC.

svn path=/trunk/; revision=69724

6 years ago[MSCONFIG_NEW]
Hermès Bélusca-Maïto [Tue, 27 Oct 2015 21:22:17 +0000 (21:22 +0000)]
[MSCONFIG_NEW]
Enable Win7-like theming when applicable.

svn path=/trunk/; revision=69723

6 years ago[KMTESTS:IO]
Thomas Faber [Tue, 27 Oct 2015 12:14:10 +0000 (12:14 +0000)]
[KMTESTS:IO]
- Add some basic parameter tests for IoSetDeviceInterfaceState
CORE-9456

svn path=/trunk/; revision=69722

6 years ago[RAPPS]
Sylvain Petreolle [Tue, 27 Oct 2015 00:34:07 +0000 (00:34 +0000)]
[RAPPS]
AC97: Fix Russian and other languages.
CORE-10203

svn path=/trunk/; revision=69721

6 years ago[MSCONFIG_NEW]: Fix header (and build).
Hermès Bélusca-Maïto [Mon, 26 Oct 2015 23:24:19 +0000 (23:24 +0000)]
[MSCONFIG_NEW]: Fix header (and build).

svn path=/trunk/; revision=69720

6 years ago[SERVMAN]
Hermès Bélusca-Maïto [Mon, 26 Oct 2015 23:15:40 +0000 (23:15 +0000)]
[SERVMAN]
- Explicitely use UNICODE versions of OpenSCManager and OpenService.
- When OpenSCManager or OpenService fail, they return a NULL handle (not INVALID_HANDLE_VALUE).

svn path=/trunk/; revision=69719

6 years agoAdd msconfig_new in the list of compiled modules, for people to test it.
Hermès Bélusca-Maïto [Mon, 26 Oct 2015 23:04:37 +0000 (23:04 +0000)]
Add msconfig_new in the list of compiled modules, for people to test it.

svn path=/trunk/; revision=69718

6 years ago[MSCONFIG_NEW]
Hermès Bélusca-Maïto [Mon, 26 Oct 2015 23:03:21 +0000 (23:03 +0000)]
[MSCONFIG_NEW]
- Port the Services page in C++ and implement hide/show MS/ReactOS services & enable/disable. WIP.
- Fix resource ID for the "delete" button in the FreeLdr page.
- Revert the freeldr "advanced" dialog that I erroneously removed in r69638.
CORE-9333

svn path=/trunk/; revision=69717

6 years agoDisable mmdevapi from build.
Sylvain Petreolle [Mon, 26 Oct 2015 22:56:55 +0000 (22:56 +0000)]
Disable mmdevapi from build.
Its Vista+, called by apps, and relies on wine-only dlls like winepulse.drv,winealsa.drv,wineoss.drv.
CORE-10418

svn path=/trunk/; revision=69716

6 years ago[COMSUPP]: Use "operator new" and "operator delete" in order to avoid strange linkage...
Hermès Bélusca-Maïto [Mon, 26 Oct 2015 22:30:44 +0000 (22:30 +0000)]
[COMSUPP]: Use "operator new" and "operator delete" in order to avoid strange linkage problems (like "operator delete[]" not found, etc...) while being compatible with MS version of comsupp.lib.

svn path=/trunk/; revision=69715

6 years ago[NTOSKRNL][LSASRV]
Eric Kohl [Mon, 26 Oct 2015 21:03:40 +0000 (21:03 +0000)]
[NTOSKRNL][LSASRV]
- Move the message typedefs into a shared header file.
- Implement LsapRmCreateLogonSession and LsapRmDeleteLogonSession. Call LsapRmCreateLogonSession in LsapCreateLogonSession.

svn path=/trunk/; revision=69714

6 years ago[SHELL32]
Giannis Adamopoulos [Mon, 26 Oct 2015 15:51:21 +0000 (15:51 +0000)]
[SHELL32]
- Remove a few todo comments that are now completed. Also remove numbers to make it simpler to remove one entry from the todo list.

svn path=/trunk/; revision=69713

6 years ago[SHELL32]
Giannis Adamopoulos [Mon, 26 Oct 2015 15:07:44 +0000 (15:07 +0000)]
[SHELL32]
- Implement CompareIDs for the folders in the shell namespace. The previous implementation was a generic solution that just compared names.
- CDefView: Implement using CompareIDs method from the IShellFolder. Remove the previous implementation that was hardcoded in the CDefView and worked mostly for file items.

svn path=/trunk/; revision=69712

6 years ago[WMVCORE]
Ged Murphy [Mon, 26 Oct 2015 14:43:29 +0000 (14:43 +0000)]
[WMVCORE]
- Add dll to the correct destination dir
CORE-10404

svn path=/trunk/; revision=69711

6 years ago[USER32_APITEST]
Thomas Faber [Mon, 26 Oct 2015 12:12:01 +0000 (12:12 +0000)]
[USER32_APITEST]
- Add some tests for other WS_CHILD/WS_POPUP combinations

svn path=/trunk/; revision=69710

6 years ago[WIN32K]
Giannis Adamopoulos [Mon, 26 Oct 2015 12:09:34 +0000 (12:09 +0000)]
[WIN32K]
- co_UserCreateWindowEx: Fail when a wrong handle was passed for the parent window. "Fixes" a crash down the road due to missing null checks in other places (null checks are needed because desktop windows don't have parents).

svn path=/trunk/; revision=69709

6 years ago[USER32_APITEST]
Thomas Faber [Mon, 26 Oct 2015 12:05:35 +0000 (12:05 +0000)]
[USER32_APITEST]
- Remove nonexistent test...

svn path=/trunk/; revision=69708

6 years ago[USER32_APITEST]
Thomas Faber [Mon, 26 Oct 2015 12:03:09 +0000 (12:03 +0000)]
[USER32_APITEST]
- Add a test for the bug in win32k highlighted by the recent ATL breakage
CORE-10413

svn path=/trunk/; revision=69707

6 years ago[DEVMGR]
Ged Murphy [Mon, 26 Oct 2015 11:41:47 +0000 (11:41 +0000)]
[DEVMGR]
- Highlight unused resources
- Patch by Ștefan Fulea
CORE-6109

svn path=/trunk/; revision=69706

6 years ago[ATL]
Thomas Faber [Mon, 26 Oct 2015 11:38:30 +0000 (11:38 +0000)]
[ATL]
- Revert broken math change in ATL::thunkCode::Init

svn path=/trunk/; revision=69705

6 years ago[DEVMGR]
Ged Murphy [Mon, 26 Oct 2015 08:40:14 +0000 (08:40 +0000)]
[DEVMGR]
- Hide legacy devices and volumes by default
- Patch by Eric Kohl
CORE-10396

svn path=/trunk/; revision=69704

6 years agoA parenthesis trolled me.
Hermès Bélusca-Maïto [Sun, 25 Oct 2015 23:13:37 +0000 (23:13 +0000)]
A parenthesis trolled me.

svn path=/trunk/; revision=69703

6 years ago[ATL]
Hermès Bélusca-Maïto [Sun, 25 Oct 2015 23:10:43 +0000 (23:10 +0000)]
[ATL]
- Fix exception specifier (Ged or Thomas, can you double-check those please? :) )
- ATL can be used in code not using the C++11 standard aka. fix build when double '>' characters are present, for example in template<foo bar<stuff>> .

svn path=/trunk/; revision=69702

6 years ago[ATL]
Hermès Bélusca-Maïto [Sun, 25 Oct 2015 22:55:18 +0000 (22:55 +0000)]
[ATL]
- Flush the CPU instruction cache after the ATL window proc thunk code is patched into memory.
- Implement some (not all) CAtlList methods that I will need later on.
- Implement some (not all) CStringT and CSimpleStringT methods & operators that I will need later on.

svn path=/trunk/; revision=69701

6 years ago[DEVMGR]
Ged Murphy [Sun, 25 Oct 2015 17:01:19 +0000 (17:01 +0000)]
[DEVMGR]
- Fix overlay icon for problem devices

svn path=/trunk/; revision=69700

6 years ago[UNIATA] Update to v45j1. CORE-10189
Amine Khaldi [Sun, 25 Oct 2015 14:45:48 +0000 (14:45 +0000)]
[UNIATA] Update to v45j1. CORE-10189

svn path=/trunk/; revision=69699

6 years ago[ATL]: Use _AtlGetConversionACP() instead of hadcoded CP_THREAD_ACP value.
Hermès Bélusca-Maïto [Sun, 25 Oct 2015 14:37:33 +0000 (14:37 +0000)]
[ATL]: Use _AtlGetConversionACP() instead of hadcoded CP_THREAD_ACP value.

svn path=/trunk/; revision=69698

6 years ago[NTOSKRNL][LSASRV]
Eric Kohl [Sun, 25 Oct 2015 14:33:27 +0000 (14:33 +0000)]
[NTOSKRNL][LSASRV]
- Add the SRM code from Timos kernel-fun branch.
- Move its lsasrv code to a separate file.
Thank you very much, Timo!

svn path=/trunk/; revision=69697

6 years ago[FONTS]
Daniel Reimer [Sun, 25 Oct 2015 13:10:25 +0000 (13:10 +0000)]
[FONTS]
Update Ubuntu font to v0.83

svn path=/trunk/; revision=69696

6 years ago[NTDLL:LDR]
Thomas Faber [Sun, 25 Oct 2015 13:07:28 +0000 (13:07 +0000)]
[NTDLL:LDR]
- Take the right exit path from LdrpMapDll when an illegal dll relocation is encountered. CID 1237071

svn path=/trunk/; revision=69695

6 years ago[FREETYPE] Update to v2.6.1. CORE-10378
Amine Khaldi [Sun, 25 Oct 2015 12:56:20 +0000 (12:56 +0000)]
[FREETYPE] Update to v2.6.1. CORE-10378

svn path=/trunk/; revision=69694

6 years ago[WIN32K] Use FreeType inclusion macros.
Amine Khaldi [Sun, 25 Oct 2015 12:51:50 +0000 (12:51 +0000)]
[WIN32K] Use FreeType inclusion macros.

svn path=/trunk/; revision=69693

6 years ago[SHELL32]
Thomas Faber [Sun, 25 Oct 2015 11:49:12 +0000 (11:49 +0000)]
[SHELL32]
- Correctly initialize LVITEM::iSubItem before LVM_GETITEM/LVM_SETITEM
CORE-10403 #resolve

svn path=/trunk/; revision=69692

6 years ago[CRT] Remove second semicolon. Spotted by Michael Fritscher. CORE-10390
Amine Khaldi [Sun, 25 Oct 2015 11:11:34 +0000 (11:11 +0000)]
[CRT] Remove second semicolon. Spotted by Michael Fritscher. CORE-10390

svn path=/trunk/; revision=69691

6 years ago[LAUTUS.MSSSTYLES] French translation by Eliott Lavier. CORE-10371
Amine Khaldi [Sun, 25 Oct 2015 11:06:19 +0000 (11:06 +0000)]
[LAUTUS.MSSSTYLES] French translation by Eliott Lavier. CORE-10371

svn path=/trunk/; revision=69690

6 years ago[MSCONFIG_NEW][DEVMGR] Turkish translation update by Erdem Ersoy. CORE-10397
Amine Khaldi [Sun, 25 Oct 2015 11:01:01 +0000 (11:01 +0000)]
[MSCONFIG_NEW][DEVMGR] Turkish translation update by Erdem Ersoy. CORE-10397

svn path=/trunk/; revision=69689

6 years ago[MSCONFIG_NEW] Fix duplicate IDD_FREELDR_PAGE dialog in ko-KR.rc. Fixes MSVC build...
Amine Khaldi [Sun, 25 Oct 2015 10:46:09 +0000 (10:46 +0000)]
[MSCONFIG_NEW] Fix duplicate IDD_FREELDR_PAGE dialog in ko-KR.rc. Fixes MSVC build and GCC build warning.

svn path=/trunk/; revision=69688

6 years ago[HDWWIZ][NEWDEV] Fix mismatched titles. By Jared Smudde. CORE-10399
Amine Khaldi [Sun, 25 Oct 2015 10:38:15 +0000 (10:38 +0000)]
[HDWWIZ][NEWDEV] Fix mismatched titles. By Jared Smudde. CORE-10399

svn path=/trunk/; revision=69687

6 years ago[EXT2]
Pierre Schweitzer [Sun, 25 Oct 2015 10:17:04 +0000 (10:17 +0000)]
[EXT2]
Import missing parameters for Ext2 driver.

This fixes extX volumes being only available in read-only on ReactOS.

CORE-10272 #comment Fixed with r69686

svn path=/trunk/; revision=69686

6 years ago[WMVCORE] Import from Wine Staging 1.7.47. CORE-10400
Amine Khaldi [Sun, 25 Oct 2015 10:07:44 +0000 (10:07 +0000)]
[WMVCORE] Import from Wine Staging 1.7.47. CORE-10400

svn path=/trunk/; revision=69685

6 years ago[PSDK] Import wmsbuffer.idl and wmsdkidl.idl from Wine Staging 1.7.47. CORE-10400
Amine Khaldi [Sun, 25 Oct 2015 10:00:30 +0000 (10:00 +0000)]
[PSDK] Import wmsbuffer.idl and wmsdkidl.idl from Wine Staging 1.7.47. CORE-10400

svn path=/trunk/; revision=69684

6 years ago[CRT]
Pierre Schweitzer [Sun, 25 Oct 2015 09:28:57 +0000 (09:28 +0000)]
[CRT]
Fix NTDLL implementation of mbstowcs() and wcstombs() so that they return length in caracters and not in bytes.

This fixes last failing *to* CRT apitests

CORE-10390

svn path=/trunk/; revision=69683

6 years ago[CRT]
Pierre Schweitzer [Sun, 25 Oct 2015 08:36:14 +0000 (08:36 +0000)]
[CRT]
Import _mbstowcs_l() from Wine and call it in mbstowcs().

This fixes crashes when calling the msvcrt, crtdll implementation of mbstowcs() with no output string.
Thus, it fixes a few crashing apitests

The NTDLL version is still broken in some way, need to investigate why.

CORE-10390 #resolve #comment Fixed with 69682. Thanks for the report!

svn path=/trunk/; revision=69682

6 years ago[CRT_APITEST]
Pierre Schweitzer [Sun, 25 Oct 2015 07:42:34 +0000 (07:42 +0000)]
[CRT_APITEST]
Add more tests

CORE-10390

svn path=/trunk/; revision=69681

6 years ago[CRT_APITEST]
Pierre Schweitzer [Sat, 24 Oct 2015 23:18:33 +0000 (23:18 +0000)]
[CRT_APITEST]
Add a few tests to show mbstowcs/wcstombs behavior will NULL ptr.

CORE-10390

svn path=/trunk/; revision=69680

6 years ago[WIN32K:NTUSER]
Thomas Faber [Sat, 24 Oct 2015 15:46:34 +0000 (15:46 +0000)]
[WIN32K:NTUSER]
- Make CaretInfo part of the USER_MESSAGE_QUEUE structure since the pointer can no longer change
CORE-10395

svn path=/trunk/; revision=69679

6 years ago[WIN32K:NTUSER]
Thomas Faber [Sat, 24 Oct 2015 15:14:09 +0000 (15:14 +0000)]
[WIN32K:NTUSER]
- Copy the right size...
CORE-10395

svn path=/trunk/; revision=69678

6 years ago[WIN32K:NTUSER]
Thomas Faber [Sat, 24 Oct 2015 15:04:12 +0000 (15:04 +0000)]
[WIN32K:NTUSER]
- In UserAttachThreadInput, copy the CaretInfo structure instead of saving a pointer that may be freed right after
CORE-10395 #resolve

svn path=/trunk/; revision=69677

6 years ago[ATL]
Thomas Faber [Sat, 24 Oct 2015 13:26:44 +0000 (13:26 +0000)]
[ATL]
- Add CComBSTR::operator BSTR. Mark by Mark Jansen.
CORE-10394 #resolve

svn path=/trunk/; revision=69676

6 years ago[CONFIGURE]
Sylvain Petreolle [Sat, 24 Oct 2015 12:30:42 +0000 (12:30 +0000)]
[CONFIGURE]
NEW_STYLE_BUILD is used for official builds.
Enable it.

svn path=/trunk/; revision=69675

6 years ago[SHELL32]
Pierre Schweitzer [Sat, 24 Oct 2015 10:27:40 +0000 (10:27 +0000)]
[SHELL32]
Backport Wine commit: 0efa2331e2f54b81480adeb588972ca16a8dab16
"Fix a cloned pidl leak (Coverity)." by Nikolay Sivov

CID 716480

svn path=/trunk/; revision=69674

6 years ago[SHELL32]
Pierre Schweitzer [Sat, 24 Oct 2015 10:24:37 +0000 (10:24 +0000)]
[SHELL32]
Fix a memory leak

CID 1322131

svn path=/trunk/; revision=69673

6 years ago[SETUPAPI]
Pierre Schweitzer [Sat, 24 Oct 2015 10:14:21 +0000 (10:14 +0000)]
[SETUPAPI]
Partly backport Wine commit: 4d796458d0ed517d45adc57a1aedaf1c3bdde232
"Avoid memory leaks (coverity)." by André Hentschel

CID 716469

svn path=/trunk/; revision=69672

6 years ago[SETUPAPI]
Pierre Schweitzer [Sat, 24 Oct 2015 10:09:44 +0000 (10:09 +0000)]
[SETUPAPI]
Fix a memory leak

CID 716468

svn path=/trunk/; revision=69671

6 years ago[SETUPAPI]
Pierre Schweitzer [Sat, 24 Oct 2015 10:00:24 +0000 (10:00 +0000)]
[SETUPAPI]
Don't leak memory

CID 716460

svn path=/trunk/; revision=69670

6 years ago[SETUPAPI]
Pierre Schweitzer [Sat, 24 Oct 2015 09:54:54 +0000 (09:54 +0000)]
[SETUPAPI]
Fix a memory leak

CID 1250296

svn path=/trunk/; revision=69669

6 years ago[SETUPAPI]
Pierre Schweitzer [Sat, 24 Oct 2015 09:50:50 +0000 (09:50 +0000)]
[SETUPAPI]
Properly return the machine handle in CM_Connect_MachineW()

CID 716459

svn path=/trunk/; revision=69668

6 years ago[MSGINA]
Pierre Schweitzer [Sat, 24 Oct 2015 09:39:20 +0000 (09:39 +0000)]
[MSGINA]
Don't leak memory

CID 1206901

svn path=/trunk/; revision=69667

6 years ago[MSCOREE]
Pierre Schweitzer [Sat, 24 Oct 2015 09:36:16 +0000 (09:36 +0000)]
[MSCOREE]
Backport Wine commit: 85d49c5819fb4494d9f81c56c3504bef5732b726
"Correct possible uninitialized variable (clang)." by Alistair Leslie-Hughes

CID 215556

svn path=/trunk/; revision=69666

6 years ago[LSASRV]
Pierre Schweitzer [Sat, 24 Oct 2015 08:49:08 +0000 (08:49 +0000)]
[LSASRV]
Initialize pointers addresses before the first goto, to avoid uninit addresses handling

CID 12069971206998

svn path=/trunk/; revision=69665

6 years ago[KERNEL32]
Pierre Schweitzer [Sat, 24 Oct 2015 08:43:54 +0000 (08:43 +0000)]
[KERNEL32]
Don't pass uninit pointer address to CsrFreeCaptureBuffer()

CID 1223181

svn path=/trunk/; revision=69664

6 years ago[BROWSEUI]
Pierre Schweitzer [Sat, 24 Oct 2015 08:33:20 +0000 (08:33 +0000)]
[BROWSEUI]
Use correct delete operator

CID 1321947

svn path=/trunk/; revision=69663

6 years ago[DESK]
Pierre Schweitzer [Sat, 24 Oct 2015 08:21:09 +0000 (08:21 +0000)]
[DESK]
Pass a buffer big enough to hold the drive size to _wsplitpath().
This fixes a buffer overrun.

CID 1322097

svn path=/trunk/; revision=69662

6 years ago[MSVCRT]
Pierre Schweitzer [Sat, 24 Oct 2015 08:20:05 +0000 (08:20 +0000)]
[MSVCRT]
Add a test that shows that _splitpath() null-terminates drive

svn path=/trunk/; revision=69661

6 years ago[CONSOLE]
Pierre Schweitzer [Sat, 24 Oct 2015 07:59:52 +0000 (07:59 +0000)]
[CONSOLE]
Don't overrun two buffers

CID 13221001237057

svn path=/trunk/; revision=69660

6 years ago[DEVMGR]
Ged Murphy [Fri, 23 Oct 2015 13:16:25 +0000 (13:16 +0000)]
[DEVMGR]
- Force all refreshes to go through the CDeviceManager method instead of calling CDeviceView directly.
- Fixes missing checked radio item in the view menu on startup

svn path=/trunk/; revision=69659