Commit graph

316 commits

Author SHA1 Message Date
Thomas Faber a6265fc4b0
[BCRYPT] Improve stubs for functions needed by crypt32 aka fix build. 2018-03-09 18:20:30 +01:00
Amine Khaldi 5f279f2d12 [GDIPLUS] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 13:09:03 +01:00
Amine Khaldi b980bb98c2 [FUSION] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 13:07:30 +01:00
Amine Khaldi 2d651230a4 [DCIMAN32] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 13:05:29 +01:00
Amine Khaldi 72e8d9fa92 [CRYPTUI] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 13:04:41 +01:00
Amine Khaldi 18075aa040 [CRYPTNET] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 13:03:13 +01:00
Amine Khaldi 3e2633b781 [CRYPTDLL] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 13:02:26 +01:00
Amine Khaldi 7342d6751c [CRYPTDLG] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 13:01:37 +01:00
Amine Khaldi a6e1034289 [CRYPT32] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:59:49 +01:00
Amine Khaldi 98e90aa949 [CREDUI] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:57:13 +01:00
Amine Khaldi 9706012cb8 [COMPSTUI] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:56:22 +01:00
Amine Khaldi 45ed51c1ba [COMDLG32] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:54:34 +01:00
Amine Khaldi 0a4d45019b [COMCAT] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:51:19 +01:00
Amine Khaldi d4a72c78a2 [CLUSAPI] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:50:24 +01:00
Amine Khaldi afb6bca511 [CABINET] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:48:26 +01:00
Amine Khaldi 44836a6e12 [AVIFIL32] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:46:31 +01:00
Amine Khaldi ecb7521101 [ATL][ATL80][ATL100] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:43:41 +01:00
Amine Khaldi 89236be2cc [ADVPACK] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:41:26 +01:00
Amine Khaldi feea1bc5be [ACTXPRXY] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:40:09 +01:00
Amine Khaldi 7bfbe4f57a [ACTIVEDS] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:38:37 +01:00
Thomas Faber 0aed0fd167
[BROWSEUI][SHELL32] Treat OnWinEvent's result parameter as optional. CORE-14443
Windows's explorer can call it with NULL.
2018-03-08 12:21:24 +01:00
Pierre Schweitzer da8a41b97b
[SHELL32] Fix a directory handle leak when browsing folders
A bit of history: in r71528, I tried to fix our explorer often
crashing while browsing directories. It was linked to the fact
that a notification result may arrive while the notification
structure had already been deleted.

The fix for this was actually broken and was leading to a double
leak: the notification structure was leaked. But also the handle
to the directory that had been browsed!
This means that the directory couldn't be modified anymore as
a leaked handle to it was still open.

Actually, when notifications are cancel, the kernel properly
calls the notification routine, but with a specific error code.
So the correct fix is to stop handling that notification when
we receive this error code. This is the correct fix with no leaks.

This commit is a complete r71528 revert with the appropriate fix.

CORE-10941
CORE-12843
2018-03-06 20:30:21 +01:00
Amine Khaldi 4a93fbcd97 [WINDOWSCODECS] Forgot to commit this file. Addendum to ae80686. CORE-14434 2018-03-05 23:56:28 +01:00
Katayama Hirofumi MZ 1f4c636453 [SHELL32] Fix item order in Folder Options (#415) 2018-03-05 23:40:41 +01:00
Mark Jansen 173b79095c
[SHLWAPI] Implement SHAreIconsEqual
CORE-14425
2018-03-05 22:43:18 +01:00
Thomas Faber 1f7cb06c22
[WINDOWSCODECS] Fix stack pointer corruption when handling PNGs.
Without PNG_API_RULE defined, these functions (like all others) aren't stdcall.
2018-03-05 18:51:48 +01:00
Amine Khaldi c42b133eb1 [MSI] Sync with Wine Staging 3.3. CORE-14434 2018-03-05 00:30:58 +01:00
Amine Khaldi ae80686d81 [WINDOWSCODECS] Sync with Wine Staging 3.3. CORE-14434 2018-03-05 00:19:05 +01:00
Amine Khaldi bd5d127104 [DBGHELPHOST] Fix the *nix build. 2018-03-05 00:07:53 +01:00
Amine Khaldi 8d51a38cbc [DBGHELP] Sync with Wine Staging 3.3. CORE-14434 2018-03-04 23:54:20 +01:00
Amine Khaldi 87a48c832a [RPCRT4] Sync with Wine Staging 3.3. CORE-14434 2018-03-04 23:49:21 +01:00
Timo Kreuzer 0182dcd71b [PSDK][REACTOS] Fix definitions and usage of DWLP_MSGRESULT, DWLP_DLGPROC, and DWLP_USER
- Make sure the DWLP_* values are correct on _WIN64
- Don't use the DWL_* constants, they are not portable. Enforce this by removing them entirely from winuser.h
- Make sure Get/SetWindowLong*Ptr* is used and pointers are not truncated to LONG
2018-03-04 16:27:07 +01:00
Amine Khaldi d3fd5bdd97 [SHLWAPI] Sync with Wine Staging 3.3. CORE-14434 2018-03-04 13:17:11 +01:00
Amine Khaldi d506c2af65 [OLEAUT32] Sync with Wine Staging 3.3. CORE-14434 2018-03-04 13:14:52 +01:00
Adam Słaboń 8fd9d3f59b [TRANSLATION] Polish translation update (#413)
Translation update for sndvol32, shell32 (right click drag menu), rapps and ks.inf.
2018-03-03 21:24:46 +01:00
Thomas Faber eab8a0b968
[BEEPMIDI] Don't busy-wait when no notes are playing. CORE-12860
- Use a new work_available event to allow ProcessPlayingNotes to sleep when no
  notes are to be played.
- Get rid of the pointless thread_termination_complete event, wait on the
  thread handle instead.
- Don't leak thread_handle.
2018-03-01 08:58:33 +01:00
Giannis Adamopoulos 2f11904000 [SHIMGVW] -Add the 123 manifest to load the v6 comctl32. CORE-14415
This shows that we may have problems in the future with applications using just comctl32 v5
2018-03-01 09:23:06 +02:00
Giannis Adamopoulos 6d4a091b4a [BROWSEUI] CBandSite: Implement SetBandSiteInfo and GetBandSiteInfo
Only BSIS_LOCKED, BSIS_NOGRIPPER, BSIS_ALWAYSGRIPPER and BSIS_NOCAPTION supported so far.
2018-02-28 17:20:46 +02:00
Giannis Adamopoulos 6785192fe6 [BROWSEUI] CBandSite: Style fixes 2018-02-28 17:20:44 +02:00
Hermès Bélusca-Maïto 295ea36f9e
[ADVAPI32] Few improvements for Services.
- Set some last errors.
- Fix error code returned by ScLookupServiceByServiceName().
- Check the validity of the handler proc in RegisterServiceCtrlHandler(Ex)W().
- Improve some traces; comment some code.
2018-02-26 00:37:09 +01:00
Hermès Bélusca-Maïto 2e3f80f940
[ADVAPI32] Code formatting + improve two traces. 2018-02-26 00:37:05 +01:00
Hermès Bélusca-Maïto 0c44925ec1
[ADVAPI32] ScStartService(): Just start the thread straight ahead, and return a suitable error code if thread creation failed. 2018-02-26 00:37:01 +01:00
Hermès Bélusca-Maïto 91b50f9ccb
[ADVAPI32] Take into account the service handler context when dispatching a control notification to a service. (Used e.g. by tcpsvcs.) 2018-02-26 00:36:57 +01:00
Hermès Bélusca-Maïto 635aabb011
[ADVAPI32] Use RPC types where needed. Comments cleanup. 2018-02-26 00:36:53 +01:00
Thomas Faber af6c5806d5
[SHLWAPI] Cherry-pick Wine commit 7be8beab68c (Don't attempt to un-expect ComputerName in PathUnExpandEnvStrings) by Katayama Hirofumi MZ. CORE-13816 2018-02-24 14:18:29 +01:00
Eric Kohl 1dfbed9c3d [SERVICES][ADVAPI32] Fix the broken service stop sequence
services\database.c:
- Refactor ScmControlService() so that it can be used to send the dispatcher loop stop command.
- Separate the code to decrement the image run counter from the service image cleanup code.

services\rpcserver.c:
- RSetServiceStatus(): Stop the dispatcher loop when the image run counter is zero and remove the service image after that.

advapi32\service\sctrl.c:
- Do not terminate the service dispatcher loop when the last service is being stopped. Wait for an explicit dispatcher stop command (empty service name).

CORE-12413
2018-02-24 11:14:05 +01:00
Serge Gautherie b6c060ce04 [IPHLPAPI] Fix getNumRoutes() return value, on Mib error (#391) 2018-02-23 17:35:02 +00:00
Giannis Adamopoulos 5b38fed776 [SHELL32] -CMenuToolbarBase: Remove all buttons on destruction. CORE-13194
It seems that TBN_DELETINGBUTTON isn't called when the toolbar gets destroyed so the only way to avoid leaking the data is emptying it ourselves.
2018-02-23 12:27:48 +02:00
Thomas Faber b8741e2bb3 [SHELL32] Fix PIDL leak in CMenuSFToolbar::FillToolbar. CORE-13194 2018-02-22 11:53:34 +01:00
Thomas Faber 182a31074f [IPHLPAPI] Fix memory leak in getNumRoutes. CORE-14353 2018-02-21 18:42:43 +01:00