Commit graph

64577 commits

Author SHA1 Message Date
Amine Khaldi b882d40564 [MSCONFIG_NEW] Fix duplicate IDD_FREELDR_PAGE dialog in ko-KR.rc. Fixes MSVC build and GCC build warning.
svn path=/trunk/; revision=69688
2015-10-25 10:46:09 +00:00
Amine Khaldi 56a83fbfe5 [HDWWIZ][NEWDEV] Fix mismatched titles. By Jared Smudde. CORE-10399
svn path=/trunk/; revision=69687
2015-10-25 10:38:15 +00:00
Pierre Schweitzer 2f829daee1 [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
2015-10-25 10:17:04 +00:00
Amine Khaldi eecc4b5fc4 [WMVCORE] Import from Wine Staging 1.7.47. CORE-10400
svn path=/trunk/; revision=69685
2015-10-25 10:07:44 +00:00
Amine Khaldi 6b0cbac192 [PSDK] Import wmsbuffer.idl and wmsdkidl.idl from Wine Staging 1.7.47. CORE-10400
svn path=/trunk/; revision=69684
2015-10-25 10:00:30 +00:00
Pierre Schweitzer 6445100f0d [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
2015-10-25 09:28:57 +00:00
Pierre Schweitzer d9674b27cf [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
2015-10-25 08:36:14 +00:00
Pierre Schweitzer 54af95dc46 [CRT_APITEST]
Add more tests

CORE-10390

svn path=/trunk/; revision=69681
2015-10-25 07:42:34 +00:00
Pierre Schweitzer 16543cd058 [CRT_APITEST]
Add a few tests to show mbstowcs/wcstombs behavior will NULL ptr.

CORE-10390

svn path=/trunk/; revision=69680
2015-10-24 23:18:33 +00:00
Thomas Faber 910e2d7dc7 [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
2015-10-24 15:46:34 +00:00
Thomas Faber 1bfbbb69c2 [WIN32K:NTUSER]
- Copy the right size...
CORE-10395

svn path=/trunk/; revision=69678
2015-10-24 15:14:09 +00:00
Thomas Faber 929dbdcd82 [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
2015-10-24 15:04:12 +00:00
Thomas Faber 2af7ac46cc [ATL]
- Add CComBSTR::operator BSTR. Mark by Mark Jansen.
CORE-10394 #resolve

svn path=/trunk/; revision=69676
2015-10-24 13:26:44 +00:00
Sylvain Petreolle 4a8d75d6ba [CONFIGURE]
NEW_STYLE_BUILD is used for official builds.
Enable it.

svn path=/trunk/; revision=69675
2015-10-24 12:30:42 +00:00
Pierre Schweitzer a2b2cb7dcf [SHELL32]
Backport Wine commit: 0efa2331e2f54b81480adeb588972ca16a8dab16
"Fix a cloned pidl leak (Coverity)." by Nikolay Sivov

CID 716480

svn path=/trunk/; revision=69674
2015-10-24 10:27:40 +00:00
Pierre Schweitzer 7479bc63fe [SHELL32]
Fix a memory leak

CID 1322131

svn path=/trunk/; revision=69673
2015-10-24 10:24:37 +00:00
Pierre Schweitzer d3a401609e [SETUPAPI]
Partly backport Wine commit: 4d796458d0ed517d45adc57a1aedaf1c3bdde232
"Avoid memory leaks (coverity)." by André Hentschel

CID 716469

svn path=/trunk/; revision=69672
2015-10-24 10:14:21 +00:00
Pierre Schweitzer 90198d9c56 [SETUPAPI]
Fix a memory leak

CID 716468

svn path=/trunk/; revision=69671
2015-10-24 10:09:44 +00:00
Pierre Schweitzer 4dfac410a4 [SETUPAPI]
Don't leak memory

CID 716460

svn path=/trunk/; revision=69670
2015-10-24 10:00:24 +00:00
Pierre Schweitzer bd3ef669f3 [SETUPAPI]
Fix a memory leak

CID 1250296

svn path=/trunk/; revision=69669
2015-10-24 09:54:54 +00:00
Pierre Schweitzer ca111f1d01 [SETUPAPI]
Properly return the machine handle in CM_Connect_MachineW()

CID 716459

svn path=/trunk/; revision=69668
2015-10-24 09:50:50 +00:00
Pierre Schweitzer 6f7ec944d5 [MSGINA]
Don't leak memory

CID 1206901

svn path=/trunk/; revision=69667
2015-10-24 09:39:20 +00:00
Pierre Schweitzer 383bf6699a [MSCOREE]
Backport Wine commit: 85d49c5819fb4494d9f81c56c3504bef5732b726
"Correct possible uninitialized variable (clang)." by Alistair Leslie-Hughes

CID 215556

svn path=/trunk/; revision=69666
2015-10-24 09:36:16 +00:00
Pierre Schweitzer e21fa420f0 [LSASRV]
Initialize pointers addresses before the first goto, to avoid uninit addresses handling

CID 1206997, 1206998

svn path=/trunk/; revision=69665
2015-10-24 08:49:08 +00:00
Pierre Schweitzer a3237b1f66 [KERNEL32]
Don't pass uninit pointer address to CsrFreeCaptureBuffer()

CID 1223181

svn path=/trunk/; revision=69664
2015-10-24 08:43:54 +00:00
Pierre Schweitzer 00e9309787 [BROWSEUI]
Use correct delete operator

CID 1321947

svn path=/trunk/; revision=69663
2015-10-24 08:33:20 +00:00
Pierre Schweitzer 71f36c710d [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
2015-10-24 08:21:09 +00:00
Pierre Schweitzer 34c9b63005 [MSVCRT]
Add a test that shows that _splitpath() null-terminates drive

svn path=/trunk/; revision=69661
2015-10-24 08:20:05 +00:00
Pierre Schweitzer 259db826a9 [CONSOLE]
Don't overrun two buffers

CID 1322100, 1237057

svn path=/trunk/; revision=69660
2015-10-24 07:59:52 +00:00
Ged Murphy db0a8fd47d [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
2015-10-23 13:16:25 +00:00
Ged Murphy 285e7278f5 [DEVMGR]
- When refreshing the view, reselect and expand the previously selected node in the tree. This allows to switch from 'by type' to 'by connection' and see where the selected device sits in the tree hierarchy (and vice versa)

svn path=/trunk/; revision=69658
2015-10-23 12:45:41 +00:00
Thomas Faber ba56cef9c1 [NTOS:SE]
- Fail if the provided default DACL is invalid in NtCreateToken. CID 1237131

svn path=/trunk/; revision=69657
2015-10-23 12:40:29 +00:00
Robert Naumann 6c7a279a05 revert r69654
svn path=/trunk/; revision=69656
2015-10-23 12:23:37 +00:00
Robert Naumann 65df2fce32 [CPL] Fix some blurry resources. By Henry Tang Ih. CORE-10385
svn path=/trunk/; revision=69655
2015-10-23 11:42:02 +00:00
Robert Naumann adb555abb7 [DEVMGR] Improve the toolbar bitmap. By Jared Smudde. CORE-10342
svn path=/trunk/; revision=69654
2015-10-23 11:27:52 +00:00
Thomas Faber c506de06be [WIN32K:NTUSER]
- Don't open-code IoGetRemainingStackSize

svn path=/trunk/; revision=69653
2015-10-23 10:34:44 +00:00
Thomas Faber 9b00fd4ea8 [NETWORKING][CABMAN]
- Attempt to silence some 200 benign "Operands don't affect result" Coverity defects

svn path=/trunk/; revision=69652
2015-10-23 07:26:42 +00:00
Thomas Faber 8325a50be7 [WIN32K:NTUSER]
- Properly set the window minimize status in WM_ACTIVATE's WPARAM. CID 513028, 513029

svn path=/trunk/; revision=69651
2015-10-22 21:06:25 +00:00
Ged Murphy 44f11315a4 The c++ bool is 1 byte, not 4. Thanks Thomas
svn path=/trunk/; revision=69650
2015-10-22 17:37:51 +00:00
Ged Murphy 6ed09fb64b [DEVMGR]
- Automatically refresh the view whenever there is a hardware change on the machine
- Don't force a refresh when we enable/disable devices, this is now be picked up automatically

svn path=/trunk/; revision=69649
2015-10-22 17:21:30 +00:00
Thomas Faber ac1ef8ea3b [WIN32K:NTUSER]
- Fix uninitialized variable use in failure case of NtUserSetCursorIconData. CID 1322233

svn path=/trunk/; revision=69648
2015-10-22 16:41:38 +00:00
Giannis Adamopoulos 3339ceb715 [SHELL32]
- Add DoDeleteAsync method that takes the data object and the fMask parameter from IContextMenu in order to distinguish if we need a permanent delete.
- CDefView: Properly add CMIC_MASK_SHIFT_DOWN and CMIC_MASK_CONTROL_DOWN flags when calling Invoke.
- CDefaultContextMenu: use DoDeleteAsync and pass fmask so as to make Shift+Delete shortcut to permanently delete files.
Note: GetKeyState sometimes returns wrong results but this doesn't concern the shell.
CORE-4365

svn path=/trunk/; revision=69647
2015-10-22 15:23:21 +00:00
Thomas Faber 359fa267cc [WIN32K:NTUSER]
- Don't pass an uninitialized DOSENDMESSAGE structure to co_IntDoSendMessage. CID 701425

svn path=/trunk/; revision=69646
2015-10-22 15:12:09 +00:00
Thomas Faber 2ecafe7510 [WIN32K:NTUSER]
- Only resend WM_ENTERIDLE after encountering a relevant message. CID 1321906

svn path=/trunk/; revision=69645
2015-10-22 14:43:39 +00:00
Thomas Faber 32a955c11c [WIN32K:NTUSER]
- Don't call PopupMenuWndProc for the message window in IntDispatchMessage. CID 1322026

svn path=/trunk/; revision=69644
2015-10-22 14:13:40 +00:00
Thomas Faber fef72582a0 [WIN32K:NTGDI]
- Fix pool leak in failure case of PATH_StrokePath. CID 716633

svn path=/trunk/; revision=69643
2015-10-22 13:48:12 +00:00
Thomas Faber 1589893f19 [WIN32K:NTGDI]
- Correctly pass 'planes' and 'bpp' arguments to IntCreateDIBitmap in GreCreateDIBitmapInternal. CID 1250302

svn path=/trunk/; revision=69642
2015-10-22 11:29:55 +00:00
Thomas Faber 598f3dccc4 [WIN32K:NTGDI]
- Fix pool leak in failure case (CID 1322140) and don't treat NTSTATUS values as Win32 errors in NtGdiGetGlyphIndicesW.

svn path=/trunk/; revision=69641
2015-10-22 11:05:59 +00:00
Thomas Faber bf191a5cd2 [WIN32K:ENG]
- Remove useless NULL checks in BltMask and IntEngStretchBlt. CID 1322184, 701344

svn path=/trunk/; revision=69640
2015-10-22 10:46:02 +00:00
James Tabor 27cd9042b5 [Win32k]
- Fix flashing windows and cleanup code. See CORE-10384.

svn path=/trunk/; revision=69639
2015-10-22 09:05:56 +00:00