Commit graph

68890 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto cef084134d [i8042prt]: Yet another hack for Dell trackpad, but this time, we inaugurate the Inspiron series with a Dell Inspiron 6000 hack!! x^( Something's fishy in our driver...
Tested and confirmed working by Jared Smudde.
CORE-6901

svn path=/trunk/; revision=74918
2017-06-04 18:24:05 +00:00
Hermès Bélusca-Maïto b3e5a3b667 [PSDK]: Remove a couple of redundant #defines that are already defined in this regstr.h file.
svn path=/trunk/; revision=74917
2017-06-04 18:19:55 +00:00
Hermès Bélusca-Maïto 93cfc03633 [SETUPAPI]: Fix a 9-year old bug in the SETUP_CreateClassKey() logic, introduced in r31860, that set a wrong Class name value if the corresponding registry key already existed. The bug was unveiled by my commit r74761.
[SETUPAPI_APITEST]: When selecting another test_class_guid and test_class_name couple via SetupDiClassNameFromGuidA(), check whether this function actually succeeds. Also, improve some error output.

svn path=/trunk/; revision=74916
2017-06-04 18:16:24 +00:00
Pierre Schweitzer a538181140 [UDFS]
Fix broken implementation of UDFGetFullNameInformation().
Always return full name length so that caller can allocate a big-enough buffer for later call.

CORE-4375

svn path=/trunk/; revision=74914
2017-06-04 16:59:25 +00:00
Eric Kohl 09d56b8cff [NETAPI32]
- Implement NetFileClose, NetFileEnum and NetFileGetInfo. These functions call their counterparts in the server service.
- Get rid of share.c as it is no longer needed.

svn path=/trunk/; revision=74913
2017-06-04 15:46:29 +00:00
Amine Khaldi 61b665bdda [README.WINE] Mark some modules as synced with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74912
2017-06-04 15:19:05 +00:00
Amine Khaldi 8fa7e9eda7 [ADVAPI32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74911
2017-06-04 14:57:35 +00:00
Eric Kohl 597e5ae5bd [NETAPI32]
- Implement NetSessionDel, NetSessionEnum and NetSessionGetInfo. These functions call their counterparts in the server service.

svn path=/trunk/; revision=74910
2017-06-04 14:34:27 +00:00
Amine Khaldi 29d9f9eb31 [USER32_WINETEST] Sync with Wine Staging 2.9 except win.c. CORE-13362
svn path=/trunk/; revision=74909
2017-06-04 14:34:15 +00:00
Amine Khaldi e7bfd19443 [KERNEL32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74908
2017-06-04 14:29:15 +00:00
Amine Khaldi eb1618cb01 [PSDK] Add some missing PROC_THREAD_ATTRIBUTE_* definitions.
svn path=/trunk/; revision=74907
2017-06-04 14:27:51 +00:00
Mark Jansen d8b7427d6b [WIN32SS] Prevent accessing an unininitialized pointer when loading an invalid font. CORE-13364
svn path=/trunk/; revision=74906
2017-06-04 14:03:25 +00:00
Amine Khaldi 09cb26ed2e [RPCRT4_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74905
2017-06-04 14:02:01 +00:00
Amine Khaldi 0d89ad94cf [RPCRT4] Sync with Wine Staging 2.9. CORE-13362
6b53b79 rpcrt4: Use HEAP_ZERO_MEMORY to alloc RpcServerProtseq objects.
28f865b rpcrt4: Add close_read implementation for TCP connections.
29f0b28 rpcrt4: Add close_read implementation for named pipe connections.
42ba4d7 rpcrt4: Introduce op for closing connection read end and use it when shutting down server.
ef267f1 rpcrt4: Store all active connections in RpcServerProtseq.
dae3065 rpcrt4: Remove connection from list in RPCRT4_ReleaseConnection.
812897c rpcrt4: Use HEAP_ZERO_MEMORY to alloc RpcConnection objects.
13d529a rpcrt4: Renamed connections list to listeners.
c953763 rpcrt4: Remove no longer needed helpers.
b548338 rpcrt4: Implement cancel_call for named pipes.
372c9e0 rpcrt4: Cache event handle in RpcConnection_np object.
6e7a297 rpcrt4: Use non-blocking listening on named pipes.
4f4ac8c rpcrt4: Use named pipe in overlapped mode.
bd6f807 rpcrt4: Simplify rpcrt4_conn_np_read implementation.
f62b9d6 rpcrt4: Simplify rpcrt4_conn_np_write implementation.
2035294 rpcrt4: Use standard Wine list to store connections in RpcServerProtseq.
e621593 rpcrt4: Always use winsock for networking.
d0ed6d1 rpcrt4: Get rid of manual_listen_count and use binary state instead.

svn path=/trunk/; revision=74904
2017-06-04 14:01:54 +00:00
Amine Khaldi afc72d800f [COMCTL32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74903
2017-06-04 12:53:30 +00:00
Amine Khaldi b44a9ed6f6 [COMCTL32] Sync with Wine Staging 2.9. CORE-13362
9abd3d1 comctl32: fix buttons becoming unthemed when pressed/released
8967e87 comctl32/taskdialog: Display content text label.
65d64e1 comctl32/listview: Simplify a couple of conditions that are using LVFI_PARTIAL.
407a3c0 comctl32/listview: Search through all items in LVFI_NEARESTXY mode.
5fe4493 comctl32/listview: When adding a scrollbar, update the other one.
8ef79b0 comctl32/listview: Convert item text once when looking for insertion point.
791924a comctl32/listview: Remove internal autoarrange flag, it breaks positioning.
b1d46e0 comctl32/taskdialog: Remove superfluous title pointer check (Coverity).
48c4edd comctl32/pager: Prevent excessive PGN_CALCSIZE notifications during PGM_SETCHILD.
d6a6055 comctl32: Improve right-click handling in treeview controls.
6926564 comctl32: Don't touch the new child twice in PGM_SETCHILD.
995b690 comctl32/taskdialog: Initial implementation of a minimal task dialog.
e2245bc comctl32/taskdialog: Move TaskDialogIndirect and its tests into own source files.
429705e comctl32/propsheet: Implement PSPCB_ADDREF/PSPCB_RELEASE notifications.
a3aa217 comctl32/propsheet: Enforce minimal PROPSHEETPAGE structure size when creating a page.
b7cc440 comctl32: Update the tooltip rectangle when a tool button is hidden.
690022c comctl32: Return TRUE from LVM_REDRAWITEMS with bad indices.

svn path=/trunk/; revision=74902
2017-06-04 12:53:17 +00:00
Pierre Schweitzer 3a104c8f20 [UDFS]
Enable the UDFS driver on ReactOS. It will be started "on demand" by the FS_REC driver when an UDF
formatted volume is inserted.
It's not bug free (yet? ;-)). It seems to show issues when trying to start an executable, it locks
and never release DVD (ie, you've to force ejection) and you might face deadlocks.
But, for the basics, you can open an UDF volume, browse it, and display files.

CORE-4375

svn path=/trunk/; revision=74901
2017-06-04 11:47:34 +00:00
Pierre Schweitzer 2989383bb2 [UDFS]
Add UFDS to bootcd, so that it can be installed on disk

CORE-4375

svn path=/trunk/; revision=74900
2017-06-04 10:32:51 +00:00
Pierre Schweitzer d35d70f2de [UDFS]
Addendum to r74897: use the appropriate keyword (by Thomas)

CORE-4375

svn path=/trunk/; revision=74898
2017-06-04 08:09:29 +00:00
Pierre Schweitzer 0978c888bd [UDFS]
lolfix some deadlocks in UDFS:
- deadlock when enumerating files
- deadlock on shutdown after volume change

I could track it to the fact that for whatever reason, GCC wrongly optimize the
BOOLEAN used to store whether the VCB resource was acquired. The optimization being
to assume it's always FALSE. Thus, the resource is never released and the driver
ends in a deadlock.
To avoid this: marked the BOOLEAN variables as volatile.

I guess there are same kind deadlocks I couldn't see in my limited tests...

CORE-4375

svn path=/trunk/; revision=74897
2017-06-04 08:02:01 +00:00
Amine Khaldi 474be69727 [PSDK] Add missing USER_DEFAULT_SCREEN_DPI and AR_STATE.
svn path=/trunk/; revision=74895
2017-06-04 01:52:55 +00:00
Amine Khaldi 74e602b7f1 [XDK][DDK][PSDK] Update WELL_KNOWN_SID_TYPE and TOKEN_INFORMATION_CLASS.
svn path=/trunk/; revision=74894
2017-06-04 01:52:50 +00:00
Amine Khaldi ab03499440 [XDK][PSDK] Add missing ACTCTX_REQUESTED_RUN_LEVEL and ACTIVATION_CONTEXT_RUN_LEVEL_INFORMATION.
svn path=/trunk/; revision=74893
2017-06-04 01:52:45 +00:00
Amine Khaldi 5fbcf4bdd4 [WIDL] Sync with Wine Staging 2.9. CORE-13362
5a06b6b widl: Add missing width and alignment for VARIANT.
028b2bd widl: Initialize decoded_size.
2ff2792 widl: Accept known type as library name.

svn path=/trunk/; revision=74892
2017-06-04 01:52:35 +00:00
Amine Khaldi 0688aec488 [COMDLG32] Sync with Wine Staging 2.9. CORE-13362
6d3243c comdlg32: Postpone setting ofn->lpstrFileTitle to work around an application bug.
3c33ebd comdlg32: Use existing symbol for Help button id.
5d9ab56 comdlg32: Select the correct font before querying the extents.
e77771c comdlg32: Set the radiobuttons' font if they're part of a visual group.
0099452 comdlg32: Use pixel sizes throughout.
6df0198 comdlg32: Scale the control size limits with dpi.
6891b5a comdlg32: Don't ask for icon information since it's unused.
a44a608 comdlg32: Take nMaxFile into account when converting A->W.
b47de18 comdlg32: Use GetPropW() to get to file dialog data.
c23a91c comdlg32: Consolidate file dialog initialization to avoid duplication.
aef8433 comdlg32: Expand initial directory path for file open dialog.

svn path=/trunk/; revision=74891
2017-06-04 01:52:26 +00:00
Amine Khaldi 92e558732b [UXTHEME_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74890
2017-06-04 01:52:19 +00:00
Amine Khaldi 3145e7c7c1 [SHELL32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74889
2017-06-04 01:52:12 +00:00
Amine Khaldi 980868b1f9 [PSDK] Add missing GPFIDL_FLAGS.
svn path=/trunk/; revision=74888
2017-06-04 01:51:57 +00:00
Amine Khaldi e024f8f37b [PSDK] Add missing IID_CDefView.
svn path=/trunk/; revision=74887
2017-06-04 01:51:51 +00:00
Amine Khaldi fca7431a53 [SETUPAPI_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74886
2017-06-04 01:51:43 +00:00
Amine Khaldi 6c88bfb14d [SERVICES_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74885
2017-06-04 01:51:25 +00:00
Amine Khaldi f0f266a71d [SECUR32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74884
2017-06-04 01:51:16 +00:00
Amine Khaldi f743323efa [PSDK] Update sspi.h. CORE-13362
svn path=/trunk/; revision=74883
2017-06-04 01:51:07 +00:00
Amine Khaldi 4a981826c1 [MSVCRT_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74882
2017-06-04 01:50:58 +00:00
Amine Khaldi 05343d6328 [GDI32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74881
2017-06-04 01:50:46 +00:00
Amine Khaldi ed4906ee50 [REG_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74880
2017-06-04 01:50:37 +00:00
Amine Khaldi 7bd43aa322 [WSCRIPT_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74879
2017-06-04 01:50:30 +00:00
Amine Khaldi 8f32e01d63 [WS2_32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74878
2017-06-04 01:50:24 +00:00
Amine Khaldi 0c663413f5 [PSDK] Add missing AI_DISABLE_IDN_ENCODING.
svn path=/trunk/; revision=74877
2017-06-04 01:50:16 +00:00
Amine Khaldi dd3b6e0e8d [INCLUDE/WINE] Update winternl.h. CORE-13362
svn path=/trunk/; revision=74876
2017-06-04 01:50:07 +00:00
Amine Khaldi 3e7b57d242 [WINSPOOL_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74875
2017-06-04 01:50:00 +00:00
Amine Khaldi 8e8a5efa43 [WINMM_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74874
2017-06-04 01:49:55 +00:00
Amine Khaldi 4c2c978917 [XMLLITE_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74873
2017-06-04 01:49:50 +00:00
Amine Khaldi 17e927e7e5 [XMLLITE] Sync with Wine Staging 2.9. CORE-13362
707ab55 xmllite/writer: Fix IID argument handling in CreateXmlWriter().
d1e1457 xmllite/reader: Fix IID argument handling in CreateXmlReader().
a68e51c xmllite/writer: Preserve original encoding name spelling in writer output.
ef023c3 xmllite: Recognize us-ascii encoding.
9506e7d xmllite: Return local name stored in namespace for prefixed namespace attribute values.
1b9b791 xmllite: Allocate value in reader_add_attr.
daf0504 xmllite: Allow reading from allocated strings in ReadValueChunk.
f862222 xmllite: Store allocated copy of local name in attribute struct and use that instead of StringValue_LocalName.
004d615 xmllite: Don't use StringValue_LocalName for element nodes.
6917e2a xmllite: Clear all parser values in SetInput.
291ffdd xmllite: Don't fail in readerinput_detectencoding if input buffer has 3 bytes.
536ed3f xmllite: Return empty value for end element and none nodes.
48fff1b xmllite: Replace crln in input buffer with nl.
2b5203b xmllite: Fixed ReadValueChunk implementation.
a3d7806 xmllite: Fixed buffer handling in reader_parse_reference.
68aeee4 xmllite: Return WC_E_SYNTAX if there is unexpected data in the end of the stream.
253f233 xmllite/reader: Return same string for local and qualified names for attributes when appropriate.
d7057a3 xmllite/reader: For elements without a prefix return same string for both local and qualified names.
1e015f1 xmllite/reader: Always return local name from element structure.
876de4a xmllite/reader: Reset reader nesting depth on error.
ec9e05c xmllite/reader: Enter error state on parsing error.
b115e96 xmllite/reader: Improve returned position for whitespace text nodes.
9685fec xmllite/reader: Improve line number updating when switching to the next line.
79a6567 xmllite/reader: Fix position methods return values in closed reader state.
62a41d0 xmllite/reader: Return correct error for multiple colons in qualified name.
3b83a44 xmllite/reader: Explicitly return empty string as qualified name for some node types.
52f9193 xmllite/reader: Explicitly return empty static string as local name for nodes without names.
1ccc1f2 xmllite/reader: Return static empty string as xml declaration node value.
65e62c3 xmllite/reader: Fix reader position returned for xml declaration node.
6cf9524 xmllite/reader: Improve returned reader position for elements and attributes.
e1c31e1 xmllite/reader: Remove redundant parameter.
d3319f6 xmllite/reader: Return prefixes from namespace stack.
b57589a xmllite/reader: Return qualified element names from the stack, instead of input buffer.
3ae1043 xmllite/reader: Return local element names from the stack, instead of input buffer.
3697bd9 xmllite/reader: Return empty string for namespace uri for some nodes.
63c489f xmllite/reader: Fix GetValue() for comments.
71a0733 xmllite/reader: Enforce maximum element depth limit.
ce84b20 xmllite/reader: Return qualified names for attributes.
3fe5f25 xmllite/reader: Fix prefix returned after moving back to element.
70028b7 xmllite/reader: Return empty value for elements.
7c44c65 xmllite/reader: Return proper name for xml declaration PI.
8f0c235 xmllite/reader: Improve the way nesting level returned by GetDepth() is updated.
073c43a xmllite/reader: Implement IsEOF().
b188079 xmllite/reader: Reset node type to XmlNodeType_None on EOF.
0cbd938 xmllite/reader: Always return node type from Read().
80cf883 xmllite/reader: Improve input stream encoding detection.
5b78cc9 xmllite/writer: Fix Release() trace.
9c988e7 xmllite/writer: Implement WriteString().
107615d xmllite/reader: Fix writing back resolved character reference value.
05956e6 xmllite: Fix CreateXmlReaderInputWithEncodingName spec file entry.
d369857c xmllite: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.

svn path=/trunk/; revision=74872
2017-06-04 01:49:43 +00:00
Amine Khaldi 6f73f34dab [WSHOM.OCX] Sync with Wine Staging 2.9. CORE-13362
2619bdb wshom: Fix IWshShell3::Invoke() call to use correct implementation pointer.

svn path=/trunk/; revision=74871
2017-06-04 01:49:32 +00:00
Amine Khaldi ac024d1cda [WMIUTILS] Sync with Wine Staging 2.9. CORE-13362
b16f08b wmiutils: Simplify and standardize the heap_xxx() declarations.

svn path=/trunk/; revision=74870
2017-06-04 01:49:25 +00:00
Amine Khaldi 2e2012f926 [WINTRUST] Sync with Wine Staging 2.9. CORE-13362
e420549 wintrust: Verify image hash in WinVerifyTrust. (v2)
f1dfc53 wintrust: Fix CryptCATAdminAcquireContext spec file entry.

svn path=/trunk/; revision=74869
2017-06-04 01:49:20 +00:00
Amine Khaldi 2464924026 [WININET_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74868
2017-06-04 01:49:09 +00:00
Amine Khaldi 8743767965 [PSDK] Update winhttp.h and wininet.h. CORE-13362
svn path=/trunk/; revision=74867
2017-06-04 01:49:03 +00:00
Amine Khaldi 6e2403e911 [WININET] Sync with Wine Staging 2.9. CORE-13362
05c23c9 wininet: Use isspaceW() instead of isspace() for WCHARs.
f9d1b16 wininet: Return failure when handling http redirect without hostname.
4ca5f42 wininet: Allow to set INTERNET_OPTION_HTTP_DECODING on sessions and connections.
7d8cf31 wininet: Don't use returned read size if read failed in gzip_read.
2952c63 wininet: Get rid of no longer needed get_avail_data from data stream implementations.
295291b wininet: Always use non-blocking reads in HTTP_ReceiveRequestData.
fd0ac40 wininet: Get rid of no longer needed blocking_mode_t.
18f9d03 wininet: Get rid of no longer needed BLOCKING_WAITALL.
7eaadab wininet: Merge InternetReadFile and InternetReadFileEx implementations.
a546e8a wininet: Reimplemented InternetQueryDataAvailable on top of async_read.
0880874 wininet: Rewrite InternetReadFileEx for http protocol to make use of non-blocking reads.
98bcd00 wininet: Rewrite asynchronous read to try to fill whole buffer and not buffer additional data unless requested.
c140a70 wininet: Propagate WSAEWOULDBLOCK from read_http_stream.
f42a2cc wininet: Pass blocking mode to HTTPREQ_Read.
67b5677 wininet: Propagate WSAEWOULDBLOCK result from content decoding reads.
36f6387 wininet: Forward InternetGetConnectedState to Ex function.
7b42dc4 wininet: Improved netconn_drain_content.
6caecb6 wininet: Handle query parameters for HTTPS urls in InternetOpenUrlW.
e9be490 wininet: Fix some more spec file entries.

svn path=/trunk/; revision=74866
2017-06-04 01:48:55 +00:00