reactos.git
7 years ago[COMCTL32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 20:53:49 +0000 (20:53 +0000)]
[COMCTL32_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=74091

7 years ago[COMCTL32] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 20:52:24 +0000 (20:52 +0000)]
[COMCTL32] Sync with Wine Staging 2.2. CORE-12823

cc055c4 comctl32: Add support for PSPCB_ADDREF/PSPCB_RELEASE callback notifications. (v2)
83cde06 comctl32/propsheet: Implement PSM_SETHEADERSUBTITLE.
ce9c06b comctl32/propsheet: Implement PSM_SETHEADERTITLE.
1a750f7 comctl32/propsheet: Add helpers to do string duplication.
14a6c98 comctl32/pager: Don't block window size changes.
a6661ba comctl32/propsheet: Added PSM_INSERTPAGE implementation.
34dd326 comctl32/propsheet: Only use header bitmap when asked for it.
6eafebe comctl32/propsheet: Force wizard header if any of pages has title/subtitle.
70c9a96 comctl32: Fix some more spec file entries.
2dd0fb8 comctl32: Correctly set the colour table for ILC_COLOR4 and ILC_COLOR8 imagelists.
a0e73a1 comctl32/syslink: Don't use exported StrCmpNIW().
970029b comctl32/toolbar: Fix TB_SETDRAWTEXTFLAGS handler.
99913e8 comctl32: Fix some spec file entries.
9d404dd comctl32/propsheet: Double size of a template buffer passed to PSCB_PRECREATE.
bb1d68e comctl32/trackbar: Fix TBM_SETRANGEMAX handling when new limit is less than current min boundary.
26067cc comctl32/toolbar: Protect from NULL pointer access in TB_GETBUTTONINFOW handler.
a6aabe0 comctl32/trackbar: Update thumb unconditionally on TBM_SETTICFREQ.
c7c8994 comctl32: Recompute the text width if necessary.
3ed6ba5 comctl32: Set the text and bkgnd colours to the default before the item pre-paint notification.
8915404 comctl32: Use wine_dbgstr_point in TRACES.

svn path=/trunk/; revision=74090

7 years ago[PSDK] Add missing PSPCB_ADDREF. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 20:49:12 +0000 (20:49 +0000)]
[PSDK] Add missing PSPCB_ADDREF. CORE-12823

svn path=/trunk/; revision=74089

7 years ago[MSI_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 20:45:43 +0000 (20:45 +0000)]
[MSI_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=74088

7 years ago[MSI] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 20:45:25 +0000 (20:45 +0000)]
[MSI] Sync with Wine Staging 2.2. CORE-12823

fe50dbf msi: Do not sign extend after multiplying.
c659222 msi: Fix some spec file entries.
167de42 msi: Make reg_get_{multi}sz() static.
f5e4dad msi: Fix handling of NULL buffer in MsiGetProductPropertyW() (Coverity).
3b5b3ef msi: Fix MSIREG_OpenUserComponentsKey and MSIREG_DeleteUpgradeCodesKey for Wow64.
5ac0242 msi: Correctly size packagecode as it's an unsquashed guid.

svn path=/trunk/; revision=74087

7 years ago[RPCRT4_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 20:43:17 +0000 (20:43 +0000)]
[RPCRT4_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=74086

7 years ago[RPCRT4] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 20:42:41 +0000 (20:42 +0000)]
[RPCRT4] Sync with Wine Staging 2.2. CORE-12823

b85c2f7 rpcrt4: Fix some spec file entries.
042b41d rpcrt4: Avoid potential overflow in rpcrt4_protseq_ncacn_np_open_endpoint.
c32cd11 rpcrt4: Acquire new credential handle for each connection.
da05dfd rpcrt4: Store security package name in rpc_server_registered_auth_info.
f8450fa rpcrt4: Handle NULL binding in RpcBindingInqAuthClient{,Ex}.

svn path=/trunk/; revision=74085

7 years ago[UXTHME] Implement drawing themed text with shadows.
Giannis Adamopoulos [Sun, 5 Mar 2017 19:34:01 +0000 (19:34 +0000)]
[UXTHME] Implement drawing themed text with shadows.

svn path=/trunk/; revision=74083

7 years ago[FREELDR]
Thomas Faber [Sun, 5 Mar 2017 11:24:31 +0000 (11:24 +0000)]
[FREELDR]
- "ReactOS Medium" isn't a trademark or anything, no need to capitalize it

svn path=/trunk/; revision=74077

7 years ago[COMCTL32] -Slightly improve the hack.
Giannis Adamopoulos [Sun, 5 Mar 2017 10:26:57 +0000 (10:26 +0000)]
[COMCTL32] -Slightly improve the hack.

svn path=/trunk/; revision=74076

7 years ago[COMCTL32] -Remove a debug print that is no longer needed.
Giannis Adamopoulos [Sun, 5 Mar 2017 09:42:29 +0000 (09:42 +0000)]
[COMCTL32] -Remove a debug print that is no longer needed.

svn path=/trunk/; revision=74075

7 years ago[COMCTL32] - A button with the style BS_DEFPUSHBUTTON is drawn as defaulted instead...
Giannis Adamopoulos [Sun, 5 Mar 2017 09:35:12 +0000 (09:35 +0000)]
[COMCTL32] - A button with the style BS_DEFPUSHBUTTON is drawn as defaulted instead of normal.

svn path=/trunk/; revision=74074

7 years ago[COMCTL32] -Make the lautus hack a bit more strict.
Giannis Adamopoulos [Sun, 5 Mar 2017 09:14:12 +0000 (09:14 +0000)]
[COMCTL32] -Make the lautus hack a bit more strict.

svn path=/trunk/; revision=74073

7 years ago[COMCTL32] Ha^^Fix the size of the start button for lautus so as it gets the same...
Giannis Adamopoulos [Sun, 5 Mar 2017 09:09:30 +0000 (09:09 +0000)]
[COMCTL32] Ha^^Fix the size of the start button for lautus so as it gets the same size with our shell in ros and windows.

svn path=/trunk/; revision=74072

7 years ago[USER32]: Use RtlInitEmptyUnicodeString where needed. Fix CID 1401230 and CID 701428...
Hermès Bélusca-Maïto [Sun, 5 Mar 2017 01:20:40 +0000 (01:20 +0000)]
[USER32]: Use RtlInitEmptyUnicodeString where needed. Fix CID 1401230 and CID 701428 in the process.

svn path=/trunk/; revision=74071

7 years ago[USER32]: Trim trailing whitespace + few code style changes only.
Hermès Bélusca-Maïto [Sun, 5 Mar 2017 01:19:07 +0000 (01:19 +0000)]
[USER32]: Trim trailing whitespace + few code style changes only.

svn path=/trunk/; revision=74070

7 years ago[NTOS:LPC]
Thomas Faber [Sun, 5 Mar 2017 00:55:50 +0000 (00:55 +0000)]
[NTOS:LPC]
- Implement the early exit case (e.g. on connection refused) in NtAcceptConnectPort
CORE-12145

svn path=/trunk/; revision=74069

7 years ago[WS2_32]
Hermès Bélusca-Maïto [Sun, 5 Mar 2017 00:40:22 +0000 (00:40 +0000)]
[WS2_32]
- Fix pointers verification in WSALookupServiceNextW and WSALookupServiceNextA;
- In WSALookupServiceNextA: Perform extra checks to see whether we failed the first local buffer allocation, and if so, retrieve the needed size by calling a first time WSALookupServiceNextW, then reallocate the temp buffer and redo a WSALookupServiceNextW call (if it still fails, then we bail out).
  CID 513448.

svn path=/trunk/; revision=74068

7 years ago[WS2_32]: Fix the crash in ws2_32 reported in CORE-12852, that happens when opening...
Hermès Bélusca-Maïto [Sun, 5 Mar 2017 00:24:08 +0000 (00:24 +0000)]
[WS2_32]: Fix the crash in ws2_32 reported in CORE-12852, that happens when opening e.g. Word 2010 for the first time (when it asks for registration):
- Check whether WsNcLoadProvider really succeeded in loading a provider in WsNcGetCatalogFromProviderId, and return appropriate error code.
- In WsNqLookupServiceBegin, initialize CatalogEntry to NULL prior to calling WsNcGetCatalogFromProviderId, and check for success or failure of WsNqAddProvider (and fail in accordance).

svn path=/trunk/; revision=74067

7 years ago[WS2_32]
Hermès Bélusca-Maïto [Sat, 4 Mar 2017 23:55:30 +0000 (23:55 +0000)]
[WS2_32]
- Let require explicit semicolons when using the Ws***(Un)Lock macros (and thus remove the semicolon from their definition).

svn path=/trunk/; revision=74066

7 years ago[UXTHEME]: Handle WM_NCACTIVATE only when the window has a themed caption (it's not...
Giannis Adamopoulos [Sat, 4 Mar 2017 22:33:21 +0000 (22:33 +0000)]
[UXTHEME]: Handle WM_NCACTIVATE only when the window has a themed caption (it's not like windows with classic borders and no caption need to be redrawn to reflect that they get or lose the active state). Fixes the classic border drawn on deactivation in the taskbar. Found by Sylvain Deverre. CORE-12887

svn path=/trunk/; revision=74065

7 years ago[NTDLL] Implement some basic shim engine integration. CORE-10368
Mark Jansen [Sat, 4 Mar 2017 20:34:36 +0000 (20:34 +0000)]
[NTDLL] Implement some basic shim engine integration. CORE-10368

svn path=/trunk/; revision=74064

7 years ago[NTDLL] Fix RtlDecodeSystemPointer for usage inside ntdll. CORE-10368
Mark Jansen [Sat, 4 Mar 2017 20:32:12 +0000 (20:32 +0000)]
[NTDLL] Fix RtlDecodeSystemPointer for usage inside ntdll. CORE-10368

svn path=/trunk/; revision=74063

7 years ago[APPHELP] Fix a possible read past the buffer in SdbpIsPathOnRemovableMedia.
Mark Jansen [Sat, 4 Mar 2017 20:29:46 +0000 (20:29 +0000)]
[APPHELP] Fix a possible read past the buffer in SdbpIsPathOnRemovableMedia.

svn path=/trunk/; revision=74062

7 years ago[APPHELP_APITEST] Check which parts of apphelp accept NT paths
Mark Jansen [Sat, 4 Mar 2017 20:27:39 +0000 (20:27 +0000)]
[APPHELP_APITEST] Check which parts of apphelp accept NT paths

svn path=/trunk/; revision=74061

7 years ago[NTOS:CM]
Eric Kohl [Sat, 4 Mar 2017 19:48:27 +0000 (19:48 +0000)]
[NTOS:CM]
CmpSecurityMethod:
- Lock and unlock the Hive and the KCB.
- Fail, if we try to access a key that has been marked for deletion.

svn path=/trunk/; revision=74060

7 years ago[USER32]
Thomas Faber [Sat, 4 Mar 2017 19:02:30 +0000 (19:02 +0000)]
[USER32]
- Fix overflow check in SetScrollRange. CID 731535
CORE-12763 #resolve

svn path=/trunk/; revision=74059

7 years ago[USER32_APITEST]
Thomas Faber [Sat, 4 Mar 2017 18:34:35 +0000 (18:34 +0000)]
[USER32_APITEST]
- Add a test for SetScrollRange
CORE-12763

svn path=/trunk/; revision=74058

7 years ago[DESK] Fix Font Smoothing Dropdown Field. Patch by Katayama Hirofumi MZ CORE-12568
Robert Naumann [Sat, 4 Mar 2017 18:12:42 +0000 (18:12 +0000)]
[DESK] Fix Font Smoothing Dropdown Field. Patch by Katayama Hirofumi MZ CORE-12568

svn path=/trunk/; revision=74057

7 years ago[ACPICA]
Thomas Faber [Sat, 4 Mar 2017 16:54:26 +0000 (16:54 +0000)]
[ACPICA]
- Update to version 20170303
CORE-12885

svn path=/trunk/; revision=74056

7 years ago[BOOTDATA]
Thomas Faber [Sat, 4 Mar 2017 16:29:51 +0000 (16:29 +0000)]
[BOOTDATA]
- Support integrating Intel's DC21x4 network card driver (for Hyper-V/VirtualPC) into our ISOs until we have our own.
CORE-8724

svn path=/trunk/; revision=74055

7 years ago[NTOS:OB]
Eric Kohl [Sat, 4 Mar 2017 16:02:06 +0000 (16:02 +0000)]
[NTOS:OB]
Create a custom security descriptor for the global DosDevices directory.

svn path=/trunk/; revision=74054

7 years ago[NTOS:PNP]
Thomas Faber [Sat, 4 Mar 2017 16:01:59 +0000 (16:01 +0000)]
[NTOS:PNP]
- Make device instance paths unique if necessary (by adding the parent ID prefix), regardless of the return status from IRP_MN_QUERY_ID/BusQueryInstanceID. Support for this IRP is optional in most cases, and a failure status just indicates no instance id information is needed by the driver stack.
Major thanks to Vadim Galyant for debugging this and identifying the root cause.
CORE-12732 CORE-12818 CORE-12745 CORE-12733 CORE-12717 CORE-12735

svn path=/trunk/; revision=74053

7 years ago[NTOS:PNP]
Thomas Faber [Sat, 4 Mar 2017 15:17:30 +0000 (15:17 +0000)]
[NTOS:PNP]
- Use UNICODE_STRINGs in IopCreateDeviceInstancePath instead of messing around with unsafe string functions and stack buffers

svn path=/trunk/; revision=74052

7 years ago[FASTFAT]
Thomas Faber [Sat, 4 Mar 2017 14:48:05 +0000 (14:48 +0000)]
[FASTFAT]
- Avoid use after free in vfatDestroyFCB

svn path=/trunk/; revision=74051

7 years ago[NTOS:SE]
Eric Kohl [Sat, 4 Mar 2017 14:38:13 +0000 (14:38 +0000)]
[NTOS:SE]
Add a missing ACE(SeAliasAdminsSid / GENERIC_ALL) to the SePublicDefaultDacl ACL. This fixes a kmtest:ObSecurity failure.

svn path=/trunk/; revision=74050

7 years ago[NTOS:PNP]
Thomas Faber [Sat, 4 Mar 2017 13:50:55 +0000 (13:50 +0000)]
[NTOS:PNP]
Fix IopGetParentIdPrefix:
- Do not include null terminator in UNICODE_STRING::Length
- Use pool tagging
- Use strsafe printf
- Avoid a magic number

svn path=/trunk/; revision=74049

7 years ago[NTOS:PNP]
Thomas Faber [Sat, 4 Mar 2017 13:20:25 +0000 (13:20 +0000)]
[NTOS:PNP]
- Improve use of local variables in IopCreateDeviceInstancePath and IopActionInterrogateDeviceStack
- Improve debug prints in IopCreateDeviceInstancePath. By Vadim Galyant
- Fix formatting in IopGetParentIdPrefix

svn path=/trunk/; revision=74048

7 years ago[FASTFAT]
Pierre Schweitzer [Sat, 4 Mar 2017 11:34:13 +0000 (11:34 +0000)]
[FASTFAT]
When un/locking a volume, also handle VPB state

svn path=/trunk/; revision=74047

7 years ago[WIN32K]
Kamil Hornicek [Sat, 4 Mar 2017 10:37:00 +0000 (10:37 +0000)]
[WIN32K]
- GreGetDIBitsInternal:
- Prevent an access violation in DIB_FreeConvertedBitmapInfo by initializing the bit count before calling DIB_ConvertBitmapInfo and setting clrUsed.
- Validate input parameters and return correct values - only return number of scan lines if bits are not null and bpp is not zero. Otherwise return 1 on success.
- We now pass more gdi32:GetDIBits and gdi32:bitmap tests.
CORE-9270

svn path=/trunk/; revision=74046

7 years ago[WS2_32]
Hermès Bélusca-Maïto [Sat, 4 Mar 2017 01:09:28 +0000 (01:09 +0000)]
[WS2_32]
- Turn the "!memcmp(ptr1, ptr2, sizeof(GUID))" into IsEqualGUID(ptr1, ptr2) macro calls (aka. make code readable);
  this also allowed me to discover a logical bug in the GUID comparison in WsNcUpdateNamespaceList.
- Fix few comments, and rename some goto labels to make their meaning clearer (they are not only taken for error code paths,
  but also on regular path, for cleanup before returning from the function).
CORE-12880

svn path=/trunk/; revision=74045

7 years ago[WS2_32]: More fixes:
Hermès Bélusca-Maïto [Sat, 4 Mar 2017 00:35:02 +0000 (00:35 +0000)]
[WS2_32]: More fixes:
- Perform success checks in WsAsyncCheckAndInitThread, in particular, check whether Context is correctly allocated,
  and check whether the WsAsyncThread was correctly started up. In case of failure, perform the necessary cleanup,
  including calling WSACleanup().
- Check also the returned error code of WSAStartup. Fixes CID 1101934.
- Fix logic mess-up in WsNqLookupServiceNext when updating NsQuery->ActiveProvider;
- Fix copy-pasta errors (using 'lpafpProtocols' instead of 'lpcsaBuffer') in CopyQuerySetIndirectA and CopyQuerySetIndirectW,
  that triggered CID 513446 + CID 513447 (CopyQuerySetIndirectA), and CID 513444 + CID 513445 (CopyQuerySetIndirectW).
- Check for 'lpdwBufferLength' pointer validity in WSALookupServiceNextW;
- Check for 'lpdwBufferLength' and 'lpqsResults' pointers validity in WSALookupServiceNextA, and dereference lpdwBufferLength only afterwards.
- Check for return value of RegCreateKeyEx in WsOpenRegistryRoot(), fixes CID 715923.

svn path=/trunk/; revision=74044

7 years ago[WS2_32]
Hermès Bélusca-Maïto [Fri, 3 Mar 2017 23:47:26 +0000 (23:47 +0000)]
[WS2_32]
- Check for NULL pointers after HeapAlloc calls, in the constructor functions, before initializing members of created objects;
- Add a bunch of missing HeapFree in the corresponding destructor functions.
  In particular, fix the root cause of CID 1401152 in WsTpDelete: missing HeapFree call.
CORE-12880

svn path=/trunk/; revision=74043

7 years ago[WS2_32]: Addendum to r74041: Forgot these changes too. CORE-12880
Hermès Bélusca-Maïto [Fri, 3 Mar 2017 23:34:47 +0000 (23:34 +0000)]
[WS2_32]: Addendum to r74041: Forgot these changes too. CORE-12880

svn path=/trunk/; revision=74042

7 years ago[WS2_32]: Cosmetic changes first, before real fixes - CORE-12880 :
Hermès Bélusca-Maïto [Fri, 3 Mar 2017 23:31:32 +0000 (23:31 +0000)]
[WS2_32]: Cosmetic changes first, before real fixes - CORE-12880 :
- Use IsListEmpty where needed;
- Initialize NextEntry using Catalog->ProtocolList after the lock on the catalog has been acquired;
- Rearrange WsNqLookupServiceNext to reduce the code indent level; also, convert the construct "if (var) { do { ... } while (var); }" into a mere "while (var) { ... }";
- WsNqPreviousProvider: the "next" provider is the previous one...;
- WsNqAddProvider: Use a more standard name for the boolean return value;
- Fix the annotation of MapUnicodeQuerySetToAnsi;
- Factor out setting the SetLastError WSALookupServiceBeginA.

svn path=/trunk/; revision=74041

7 years ago[FONTS] Add Libre Franklin Font v4.0.15
Robert Naumann [Fri, 3 Mar 2017 22:07:00 +0000 (22:07 +0000)]
[FONTS] Add Libre Franklin Font v4.0.15
[USETUP] Add Font Substitutions for Franklin Gothic and MS Trebuchet CORE-12878 CORE-12877

Now Luna uses better fonts but the font styles are still not used.

svn path=/trunk/; revision=74040

7 years ago[SHELL32]
Kamil Hornicek [Fri, 3 Mar 2017 16:20:03 +0000 (16:20 +0000)]
[SHELL32]
- Always set the default value in SetDefaultHandler, otherwise it's impossible to create a default association if the key for some reason already exists. This is consistent with what Windows does.

svn path=/trunk/; revision=74039

7 years ago[UXTHEME]: Use SendMessage to notify windows that the theme has changed. This needs...
Giannis Adamopoulos [Fri, 3 Mar 2017 14:35:19 +0000 (14:35 +0000)]
[UXTHEME]: Use SendMessage to notify windows that the theme has changed. This needs a proper test. Makes it possible for SetWindowTheme with empty parameters to have effect immediately in the same way the tests for BCM_GETIDEALSIZE use it. Fixes the BCM_GETIDEALSIZE tests when run with an active theme.

svn path=/trunk/; revision=74038

7 years ago[COMCTL32]: Fix all tests for BCM_GETIDEALSIZE that we have so far. (It still returns...
Giannis Adamopoulos [Fri, 3 Mar 2017 13:56:49 +0000 (13:56 +0000)]
[COMCTL32]: Fix all tests for BCM_GETIDEALSIZE that we have so far. (It still returns a wrong result for the start button with lautus).

svn path=/trunk/; revision=74037

7 years ago[COMCTL32_APITEST]: Simplify tests to not depend on internals of CreateWindow (creati...
Giannis Adamopoulos [Fri, 3 Mar 2017 13:54:56 +0000 (13:54 +0000)]
[COMCTL32_APITEST]: Simplify tests to not depend on internals of CreateWindow (creating buttons as top level windows and testing their sizes complicates stuff without reason).

svn path=/trunk/; revision=74036

7 years ago[COMCTL32_APITEST]: Add a few more tests.
Giannis Adamopoulos [Fri, 3 Mar 2017 11:30:06 +0000 (11:30 +0000)]
[COMCTL32_APITEST]: Add a few more tests.

svn path=/trunk/; revision=74035

7 years ago[COMCTL32_APITEST]: Make some tests more strict and add tests for all button types.
Giannis Adamopoulos [Fri, 3 Mar 2017 11:22:20 +0000 (11:22 +0000)]
[COMCTL32_APITEST]: Make some tests more strict and add tests for all button types.

svn path=/trunk/; revision=74034

7 years ago[WS2_32]: Remove trailing whitespace.
Hermès Bélusca-Maïto [Fri, 3 Mar 2017 00:13:40 +0000 (00:13 +0000)]
[WS2_32]: Remove trailing whitespace.

svn path=/trunk/; revision=74033

7 years ago[NTDLL] Some style changes for RtlNtPathNameToDosPathName as suggested by Thomas...
Mark Jansen [Thu, 2 Mar 2017 21:51:22 +0000 (21:51 +0000)]
[NTDLL] Some style changes for RtlNtPathNameToDosPathName as suggested by Thomas and Hermes. CORE-12847

svn path=/trunk/; revision=74032

7 years ago[NTDLL] Add implementation for RtlNtPathNameToDosPathName. CORE-12847 #resolve
Mark Jansen [Thu, 2 Mar 2017 21:29:38 +0000 (21:29 +0000)]
[NTDLL] Add implementation for RtlNtPathNameToDosPathName. CORE-12847 #resolve

svn path=/trunk/; revision=74031

7 years ago[NTDLL_APITEST] Add tests for RtlNtPathNameToDosPathName. CORE-12847
Mark Jansen [Thu, 2 Mar 2017 20:43:09 +0000 (20:43 +0000)]
[NTDLL_APITEST] Add tests for RtlNtPathNameToDosPathName. CORE-12847

svn path=/trunk/; revision=74030

7 years ago[NTDLL] Implement RtlpEnsureBufferSize. Patch by Hermes Belusca-Maito. CORE-11990
Mark Jansen [Thu, 2 Mar 2017 20:40:21 +0000 (20:40 +0000)]
[NTDLL] Implement RtlpEnsureBufferSize. Patch by Hermes Belusca-Maito. CORE-11990
Some small changes by me.

svn path=/trunk/; revision=74029

7 years ago[NTDLL_APITEST] Add tests for RtlpEnsureBufferSize. CORE-11990
Mark Jansen [Thu, 2 Mar 2017 20:38:58 +0000 (20:38 +0000)]
[NTDLL_APITEST] Add tests for RtlpEnsureBufferSize. CORE-11990

svn path=/trunk/; revision=74028

7 years ago[DISK]
Pierre Schweitzer [Thu, 2 Mar 2017 20:03:55 +0000 (20:03 +0000)]
[DISK]
Fix size checking for IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, and only copy what's possible to fit in the buffer.
Also, make the code a bit more readable.

CORE-12858

svn path=/trunk/; revision=74027

7 years ago[DISK]
Pierre Schweitzer [Thu, 2 Mar 2017 19:39:07 +0000 (19:39 +0000)]
[DISK]
Fix return code when buffer is too small, as exposed in r74025.

CORE-12858

svn path=/trunk/; revision=74026

7 years ago[KERNEL32_APITEST]
Pierre Schweitzer [Thu, 2 Mar 2017 19:33:25 +0000 (19:33 +0000)]
[KERNEL32_APITEST]
Add tests for DeviceIoControl. These are mainly used to test our storage stack

CORE-12858

svn path=/trunk/; revision=74025

7 years ago[NTOS:PNP]
Thomas Faber [Thu, 2 Mar 2017 13:42:04 +0000 (13:42 +0000)]
[NTOS:PNP]
- Move generation of the device instance path into its own function

svn path=/trunk/; revision=74024

7 years ago[NTOS:PNP]
Thomas Faber [Thu, 2 Mar 2017 09:39:40 +0000 (09:39 +0000)]
[NTOS:PNP]
- Avoid memory leaks in IopActionInterrogateDeviceStack. Noticed by Vadim Galyant.
CORE-12732

svn path=/trunk/; revision=74023

7 years ago[UXTHEME] -Fix parsing negative integers. Improves the situation of the start button...
Giannis Adamopoulos [Thu, 2 Mar 2017 08:24:20 +0000 (08:24 +0000)]
[UXTHEME] -Fix parsing negative integers. Improves the situation of the start button with Lautus.

svn path=/trunk/; revision=74022

7 years ago[UMPNPMGR]
Eric Kohl [Wed, 1 Mar 2017 21:52:20 +0000 (21:52 +0000)]
[UMPNPMGR]
Fix a property id for a call to NtPlugPlayControl().

svn path=/trunk/; revision=74021

7 years ago[SCHEDSVC]
Eric Kohl [Wed, 1 Mar 2017 21:48:15 +0000 (21:48 +0000)]
[SCHEDSVC]
Set service status to SERVICE_STOP_PENDING before setting it to SERVICE_STOPPED.

svn path=/trunk/; revision=74020

7 years ago[USETUP]
Eric Kohl [Wed, 1 Mar 2017 20:46:24 +0000 (20:46 +0000)]
[USETUP]
Fix unbootable system after recreating the boot partition
Patch by Wim Hueskens.
CORE-11232 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=74019

7 years ago[USER32]: Now for the real fix: Initialize lpLibFileName and pCtx in User32CreateWind...
Hermès Bélusca-Maïto [Wed, 1 Mar 2017 19:36:51 +0000 (19:36 +0000)]
[USER32]: Now for the real fix: Initialize lpLibFileName and pCtx in User32CreateWindowEx prior to calling ClassNameToVersion.
This avoid passing invalid parameters to VersionRegisterClass (and subsequent functions) afterwards.
Fix suggested by Mark Jansen, thanks!
CORE-12855

svn path=/trunk/; revision=74018

7 years ago[USER32]: Fix formatting in User32CreateWindowEx, no code changes.
Hermès Bélusca-Maïto [Wed, 1 Mar 2017 19:23:27 +0000 (19:23 +0000)]
[USER32]: Fix formatting in User32CreateWindowEx, no code changes.

svn path=/trunk/; revision=74017

7 years ago[NTOS:FORMATTING]
Thomas Faber [Wed, 1 Mar 2017 19:07:13 +0000 (19:07 +0000)]
[NTOS:FORMATTING]
- Fix spacing in IopActionInterrogateDeviceStack. No code changes.

svn path=/trunk/; revision=74016

7 years ago[NtUser]
James Tabor [Wed, 1 Mar 2017 16:51:13 +0000 (16:51 +0000)]
[NtUser]
- Move functions around.

svn path=/trunk/; revision=74015

7 years ago[USBSTOR]
Thomas Faber [Wed, 1 Mar 2017 13:51:18 +0000 (13:51 +0000)]
[USBSTOR]
- Fix error check in USBSTOR_SelectConfigurationAndInterface. CID 515249

svn path=/trunk/; revision=74014

7 years ago[NTOS:IO]
Thomas Faber [Wed, 1 Mar 2017 13:10:52 +0000 (13:10 +0000)]
[NTOS:IO]
- Avoid event leak in NtQueryInformationFile. CID 716584

svn path=/trunk/; revision=74013

7 years ago[COMCTL32] -Add initial implementation for BCM_GETIDEALSIZE and support to draw butto...
Giannis Adamopoulos [Wed, 1 Mar 2017 11:49:59 +0000 (11:49 +0000)]
[COMCTL32] -Add initial implementation for BCM_GETIDEALSIZE and support to draw buttons with image lists. This is still WIP and needs tons of new tests. Crappy themes will be displayed like crap for now.

svn path=/trunk/; revision=74012

7 years ago[ACPICA]
Thomas Faber [Wed, 1 Mar 2017 11:36:19 +0000 (11:36 +0000)]
[ACPICA]
- Update to version 20170119, since the February version needs more work.
CORE-12833 #resolve

svn path=/trunk/; revision=74011

7 years ago[MSACM32]
Thomas Faber [Wed, 1 Mar 2017 10:54:59 +0000 (10:54 +0000)]
[MSACM32]
- Free session driver instance using the correct heap. Fixes crash in msacm32_winetest.
- Remove obsolete diff file

svn path=/trunk/; revision=74010

7 years ago[MBEDTLS]
Thomas Faber [Wed, 1 Mar 2017 10:01:14 +0000 (10:01 +0000)]
[MBEDTLS]
- Avoid building unneeded source files
- Style fixes in the CMake file
CORE-12834

svn path=/trunk/; revision=74009

7 years ago[COMCTL32_APITEST} -Add some more tests and fix build.
Giannis Adamopoulos [Wed, 1 Mar 2017 09:35:44 +0000 (09:35 +0000)]
[COMCTL32_APITEST} -Add some more tests and fix build.

svn path=/trunk/; revision=74008

7 years ago[COMCTL32] -These "border sizes" are as good as hardcoded.
Giannis Adamopoulos [Wed, 1 Mar 2017 08:57:25 +0000 (08:57 +0000)]
[COMCTL32] -These "border sizes" are as good as hardcoded.

svn path=/trunk/; revision=74007

7 years ago[FONTVIEW]
Eric Kohl [Tue, 28 Feb 2017 23:00:19 +0000 (23:00 +0000)]
[FONTVIEW]
Implementation of the install button.
Patch by Baruch Rutman.
Fixes by Eric Kohl.
CORE-7355 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=74006

7 years ago[NTUSER]: NtUserGetObjectInformation, nIndex == UOI_FLAGS case:
Hermès Bélusca-Maïto [Tue, 28 Feb 2017 20:49:37 +0000 (20:49 +0000)]
[NTUSER]: NtUserGetObjectInformation, nIndex == UOI_FLAGS case:
- Capture the ObjectFlags to be set in a local variable,
- Then copy its contents in the mem area pointed by pvInformation *under the SEH block*! This allows:
  * protection if pvInformation is an invalid pointer;
  * avoid to run the "RtlCopyMemory(pvInformation, pvData, nDataSize);" afterwards with pvData == NULL.

svn path=/trunk/; revision=74005

7 years ago[Fontview]
Eric Kohl [Tue, 28 Feb 2017 19:33:28 +0000 (19:33 +0000)]
[Fontview]
Unicodify it.
CORE-7355

svn path=/trunk/; revision=74004

7 years ago[NtUser]
James Tabor [Tue, 28 Feb 2017 17:11:08 +0000 (17:11 +0000)]
[NtUser]
- Patch to level up scroll bar code, based on mudhead patch. See CORE-12827.

svn path=/trunk/; revision=74003

7 years ago[WININET_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Tue, 28 Feb 2017 15:52:04 +0000 (15:52 +0000)]
[WININET_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=74001

7 years ago[WININET] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Tue, 28 Feb 2017 15:51:01 +0000 (15:51 +0000)]
[WININET] Sync with Wine Staging 2.2. CORE-12823

07e3181 wininet: Fix some spec file entries.
725b55d wininet: Get rid of no longer needed INTERNET_INVALID_PORT_NUMBER in get_server.
0d22e43 wininet: Handle INTERNET_INVALID_PORT_NUMBER in HttpOpenRequest.
8c39694 wininet: Changed usage of UrlEscapeW to fit winapi behavior.
b3d12a1 wininet: Canonicalize URL in HttpOpenRequest.
47ff954 wininet: Use return value of sprintf() instead of calling strlen() and simplify code.

svn path=/trunk/; revision=74000

7 years ago[APPCOMPAT] Fix a memory leak in a failure case (CID 1401161), a 0-length memset...
Mark Jansen [Mon, 27 Feb 2017 18:54:57 +0000 (18:54 +0000)]
[APPCOMPAT] Fix a memory leak in a failure case (CID 1401161), a 0-length memset that is detected 3 times (CID 140106914010641401062)

svn path=/trunk/; revision=73999

7 years ago[REACTOS]
Eric Kohl [Mon, 27 Feb 2017 15:55:21 +0000 (15:55 +0000)]
[REACTOS]
Fix LoadSetupData() failure paths (properly).
CORE-11691 #resolve

svn path=/trunk/; revision=73998

7 years ago[USETUP]
Eric Kohl [Mon, 27 Feb 2017 14:32:09 +0000 (14:32 +0000)]
[USETUP]
Scroll in partitions list doesn't work.
Patch by thc.
CORE-11895 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=73997

7 years ago[USETUP]
Eric Kohl [Mon, 27 Feb 2017 12:57:05 +0000 (12:57 +0000)]
[USETUP]
Define the language specific keyboard layout first. The US keyboard layout should always be the  last one (aka fallback). Other languages will probably need the same fix!
CORE-10064 #resolve

svn path=/trunk/; revision=73996

7 years ago[COMCTL32_APITEST]: Add one more test for BCM_GETIDEALSIZE, it is as if it completely...
Giannis Adamopoulos [Mon, 27 Feb 2017 11:06:45 +0000 (11:06 +0000)]
[COMCTL32_APITEST]: Add one more test for BCM_GETIDEALSIZE, it is as if it completely ignores BS_BITMAP.

svn path=/trunk/; revision=73995

7 years ago[COMCTL32_APITEST]: -Add tests for BCM_GETIDEALSIZE for non themed v6 buttons.
Giannis Adamopoulos [Mon, 27 Feb 2017 10:53:59 +0000 (10:53 +0000)]
[COMCTL32_APITEST]: -Add tests for BCM_GETIDEALSIZE for non themed v6 buttons.

svn path=/trunk/; revision=73994

7 years ago[RAPPS_NEW][USRMGR]
Eric Kohl [Mon, 27 Feb 2017 09:45:24 +0000 (09:45 +0000)]
[RAPPS_NEW][USRMGR]
Missing italian translations in ReactOS.
CORE-9725 #resolve #comment Thanks a lot for making this mess! Please don't ever reopen this task again! Create a new one instead!

svn path=/trunk/; revision=73993

7 years ago[UXTHEME_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 20:49:49 +0000 (20:49 +0000)]
[UXTHEME_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=73992

7 years ago[CMD_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 20:47:12 +0000 (20:47 +0000)]
[CMD_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=73991

7 years ago[XMLLITE] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 20:41:49 +0000 (20:41 +0000)]
[XMLLITE] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=73990

7 years ago[XMLLITE] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 20:41:20 +0000 (20:41 +0000)]
[XMLLITE] Sync with Wine Staging 2.2. CORE-12823

455f5f2 xmllite: Handle char references within text nodes.
33d8a32 xmllite/reader: Handle NULL node type argument in Read().
1ed0631 xmllite/reader: Handle NULL argument in GetNodeType().
dcf1469 xmllite: A spelling fix in a comment.
f900879 xmllite: Hr was uninitialized in error path (Coverity).
831c202 xmllite: Add maintainer entry.
682d4f1 xmllite: Allow prefixed element names.
9b98d69 xmllite: Fix setting local name when parsing QName.
20c575e xmllite: Improve GetValue() for namespace definition nodes.
13afa65 xmllite: Implement GetNamespaceUri().
249b7a9 xmllite: Free prefix and local name too when clearing element list.
585735a xmllite: Update prefix when moving to first attribute.
0575a4b xmllite: Use a helper to move to first attribute to avoid extra traces.
65ee2b7 xmllite: Keep namespace list updated when going through document tree.
18d6def xmllite: Keep a list of namespace definitions.
635c409 xmllite: Store prefix for elements.
f185dd5 xmllite: Store empty element fields separately.
a39251b xmllite: Improve writer methods tracing.
65cbc12 xmllite: Parse URLs in `DOCTYPE PUBLIC` DTDs.

svn path=/trunk/; revision=73989

7 years ago[XINPUT1_3_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 20:37:54 +0000 (20:37 +0000)]
[XINPUT1_3_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=73988

7 years ago[XINPUT1_3] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 20:37:15 +0000 (20:37 +0000)]
[XINPUT1_3] Sync with Wine Staging 2.2. CORE-12823

8936a84 xinput1_3: Avoid spamming FIXME for XInputGetKeystroke.
1640c9c xinput1_3: Add DECLSPEC_HOTPATCH to XInputEnable() definition.

svn path=/trunk/; revision=73987

7 years ago[WSHOM_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 20:35:07 +0000 (20:35 +0000)]
[WSHOM_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=73986

7 years ago[WSHOM.OCX] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 20:33:41 +0000 (20:33 +0000)]
[WSHOM.OCX] Sync with Wine Staging 2.2. CORE-12823

722c28c wshom: Added IProvideClassInfo support for implemented interfaces.

svn path=/trunk/; revision=73985