Module: website
Branch: master
Commit: 3051e9b89fc583b68610f2a1a75bd7f2b12415d7
URL: http://source.winehq.org/git/website.git/?a=commit;h=3051e9b89fc583b68610f2…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Fri Dec 8 20:51:46 2017 +0100
Wine release 3.0-rc1
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
news/en/2017120801.xml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/news/en/2017120801.xml b/news/en/2017120801.xml
new file mode 100644
index 0000000..ae355d9
--- /dev/null
+++ b/news/en/2017120801.xml
@@ -0,0 +1,21 @@
+<news>
+<date>December 8, 2017</date>
+<title>Wine 3.0-rc1 Released</title>
+<body>
+<p> The Wine development release 3.0-rc1 is now available.</p>
+<p> This is the first release candidate for the upcoming Wine 3.0. It marks the beginning of the code freeze period. There have been many last minute changes, so please give this release a good testing to help us make 3.0 as good as possible.</p>
+<p> <a href="{$root}/announce/3.0-rc1">What's new</a> in this release:
+<ul>
+ <li>Direct3D 11 enabled by default on AMD and Intel GPUs.</li>
+ <li>AES encryption support on macOS.</li>
+ <li>Implementation of the task scheduler.</li>
+ <li>Registry export support in the reg.exe tool.</li>
+ <li>Progman DDE support.</li>
+ <li>OLE data cache improvements.</li>
+ <li>More event support in MSHTML.</li>
+ <li>Relay debugging improvements.</li>
+ <li>Various bug fixes.</li>
+</ul>
+<p>The source is <a href="//dl.winehq.org/wine/source/3.0/wine-3.0-rc1.tar.xz">available now</a>.
+Binary packages are in the process of being built, and will appear soon at their respective <a href="{$root}/download">download locations</a>.
+</p></body></news>
Module: wine
Branch: master
Commit: f85c6f283a54d8b5987f2e3fd83f93ddeb73efed
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f85c6f283a54d8b5987f2e3fd…
Author: Hans Leidekker <hans(a)codeweavers.com>
Date: Fri Dec 8 15:49:41 2017 +0100
webservices: Don't use the dictionary for UTF-16 text.
Although UTF-16 text is converted to UTF-8 before transmission it's
stored inline rather than in the dictionary.
Signed-off-by: Hans Leidekker <hans(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/webservices/reader.c | 12 +
dlls/webservices/webservices_private.h | 1 +
dlls/webservices/writer.c | 1411 +++++++++++++++++---------------
3 files changed, 754 insertions(+), 670 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=f85c6f283a54d8b5987f2…
Module: wine
Branch: master
Commit: 46aedd2ba4623f5ea72233d90c41c2291211b423
URL: http://source.winehq.org/git/wine.git/?a=commit;h=46aedd2ba4623f5ea72233d90…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Fri Dec 8 13:22:31 2017 +0100
oleaut32: Disable floating point instructions for the soft-float ARM build.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/oleaut32/typelib.c | 30 +++++++++++++++++++-----------
1 file changed, 19 insertions(+), 11 deletions(-)
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 388f108..4e72ac0 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -6443,7 +6443,10 @@ __ASM_GLOBAL_FUNC( call_method,
"subs r1, r1, #4\n\t" /* Decrement count */
"bgt 2b\n\t" /* Loop till done */
- "1:\tvldm r3!, {s0-s15}\n\t" /* Load the s0-s15/d0-d7 arguments */
+ "1:\n\t"
+#ifndef __SOFTFP__
+ "vldm r3!, {s0-s15}\n\t" /* Load the s0-s15/d0-d7 arguments */
+#endif
"mov ip, r0\n\t" /* Save the function call address to ip before we nuke r0 with arguments to pass */
"ldm r3, {r0-r3}\n\t" /* Load the r0-r3 arguments */
@@ -6854,14 +6857,18 @@ DispCallFunc(
UINT i;
DWORD *args;
struct {
+#ifndef __SOFTFP__
union {
float s[16];
double d[8];
} sd;
+#endif
DWORD r[4];
} regs;
int rcount; /* 32-bit register index count */
- int scount; /* single-precision float register index count (will be incremented twice for doubles, plus alignment) */
+#ifndef __SOFTFP__
+ int scount = 0; /* single-precision float register index count (will be incremented twice for doubles, plus alignment) */
+#endif
TRACE("(%p, %ld, %d, %d, %d, %p, %p, %p (vt=%d))\n",
pvInstance, oVft, cc, vtReturn, cActuals, prgvt, prgpvarg, pvargResult, V_VT(pvargResult));
@@ -6874,7 +6881,6 @@ DispCallFunc(
argspos = 0;
rcount = 0;
- scount = 0;
/* Determine if we need to pass a pointer for the return value as arg 0. If so, do that */
/* first as it will need to be in the 'r' registers: */
@@ -6912,14 +6918,9 @@ DispCallFunc(
{
case VT_EMPTY:
break;
- case VT_R4: /* these must be 4-byte aligned, and put in 's' regs or stack, as they are single-floats */
- if (scount < 16)
- regs.sd.s[scount++] = V_R4(arg);
- else
- args[argspos++] = V_UI4(arg);
- break;
case VT_R8: /* these must be 8-byte aligned, and put in 'd' regs or stack, as they are double-floats */
case VT_DATE:
+#ifndef __SOFTFP__
if (scount < 15)
{
scount += (scount % 2); /* align scount to next whole double */
@@ -6934,6 +6935,7 @@ DispCallFunc(
argspos += sizeof(V_R8(arg)) / sizeof(DWORD);
}
break;
+#endif
case VT_I8: /* these must be 8-byte aligned, and put in 'r' regs or stack, as they are long-longs */
case VT_UI8:
case VT_CY:
@@ -6977,6 +6979,14 @@ DispCallFunc(
else
args[argspos++] = V_BOOL(arg);
break;
+ case VT_R4: /* these must be 4-byte aligned, and put in 's' regs or stack, as they are single-floats */
+#ifndef __SOFTFP__
+ if (scount < 16)
+ regs.sd.s[scount++] = V_R4(arg);
+ else
+ args[argspos++] = V_UI4(arg);
+ break;
+#endif
default:
if (rcount < 4)
regs.r[rcount++] = V_UI4(arg);
@@ -6989,8 +6999,6 @@ DispCallFunc(
argspos += (argspos % 2); /* Make sure stack function alignment is 8-byte */
- TRACE("rcount: %d, scount: %d, argspos: %d\n", rcount, scount, argspos);
-
switch (vtReturn)
{
case VT_EMPTY: /* EMPTY = no return value */
Module: wine
Branch: master
Commit: 364e04ce0ca011c4bf8087d4982283093766ee56
URL: http://source.winehq.org/git/wine.git/?a=commit;h=364e04ce0ca011c4bf8087d49…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Fri Dec 8 11:37:16 2017 +0100
configure: Add option for overriding the floating point ABI on ARM platforms.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
configure | 38 +++++++++++++++++++++++++++++++-------
configure.ac | 31 ++++++++++++++++++++++++-------
2 files changed, 55 insertions(+), 14 deletions(-)
diff --git a/configure b/configure
index 5e1eeef..25930e3 100755
--- a/configure
+++ b/configure
@@ -829,6 +829,7 @@ with_coreaudio
with_cups
with_curses
with_dbus
+with_float_abi
with_fontconfig
with_freetype
with_gettext
@@ -2388,6 +2389,7 @@ Optional Packages:
--without-cups do not use CUPS
--without-curses do not use (n)curses
--without-dbus do not use DBus (dynamic device support)
+ --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
--without-fontconfig do not use fontconfig
--without-freetype do not use the FreeType library
--without-gettext do not use gettext
@@ -3545,6 +3547,12 @@ if test "${with_dbus+set}" = set; then :
fi
+# Check whether --with-float-abi was given.
+if test "${with_float_abi+set}" = set; then :
+ withval=$with_float_abi;
+fi
+
+
# Check whether --with-fontconfig was given.
if test "${with_fontconfig+set}" = set; then :
withval=$with_fontconfig;
@@ -5263,12 +5271,20 @@ $as_echo "no" >&6; }
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
- CFLAGS="$CFLAGS -marm"
- TARGETFLAGS="-marm"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports floating point" >&5
-$as_echo_n "checking whether $CC supports floating point... " >&6; }
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ case $with_float_abi in
+ soft|softfp|hard)
+ float_abi=$with_float_abi ;;
+ *)
+ case $host_os in
+ *eabihf)
+ float_abi=hard ;;
+ *)
+ float_abi=softfp
+ saved_CFLAGS=$CFLAGS
+ CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
+$as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -5285,10 +5301,18 @@ $as_echo "yes" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- as_fn_error $? "You need a target with floating point support to build Wine for ARM." "$LINENO" 5
+ float_abi=soft
+ as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
+ CFLAGS=$saved_CFLAGS
+ esac
+ ;;
+ esac
+ CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
+ TARGETFLAGS="-marm -mfloat-abi=$float_abi"
+
;;
i[3456789]86*)
enable_win16=${enable_win16:-yes}
diff --git a/configure.ac b/configure.ac
index 8d9ec29..00413bc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,6 +43,7 @@ AC_ARG_WITH(cups, AS_HELP_STRING([--without-cups],[do not use CUPS]))
AC_ARG_WITH(curses, AS_HELP_STRING([--without-curses],[do not use (n)curses]),
[if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi])
AC_ARG_WITH(dbus, AS_HELP_STRING([--without-dbus],[do not use DBus (dynamic device support)]))
+AC_ARG_WITH(float-abi, AS_HELP_STRING([--with-float-abi=abi],[specify the ABI (soft|softfp|hard) for ARM platforms]))
AC_ARG_WITH(fontconfig,AS_HELP_STRING([--without-fontconfig],[do not use fontconfig]))
AC_ARG_WITH(freetype, AS_HELP_STRING([--without-freetype],[do not use the FreeType library]))
AC_ARG_WITH(gettext, AS_HELP_STRING([--without-gettext],[do not use gettext]))
@@ -177,13 +178,29 @@ case $host in
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])
AC_MSG_ERROR([You need a target with Thumb support to build Wine for ARM.])])
- CFLAGS="$CFLAGS -marm"
- AC_SUBST(TARGETFLAGS,"-marm")
- AC_MSG_CHECKING([whether $CC supports floating point])
- WINE_TRY_ASM_LINK(["vmrs r2,fpscr"],,,
- [AC_MSG_RESULT([yes])],
- [AC_MSG_RESULT([no])
- AC_MSG_ERROR([You need a target with floating point support to build Wine for ARM.])])
+ case $with_float_abi in
+ soft|softfp|hard)
+ float_abi=$with_float_abi ;;
+ *)
+ case $host_os in
+ *eabihf)
+ float_abi=hard ;;
+ *)
+ float_abi=softfp
+ saved_CFLAGS=$CFLAGS
+ CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
+ AC_MSG_CHECKING([whether $CC supports -mfloat-abi=$float_abi])
+ WINE_TRY_ASM_LINK(["vmrs r2,fpscr"],,,
+ [AC_MSG_RESULT([yes])],
+ [AC_MSG_RESULT([no])
+ float_abi=soft
+ WINE_WARNING([Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries.])])
+ CFLAGS=$saved_CFLAGS
+ esac
+ ;;
+ esac
+ CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
+ AC_SUBST(TARGETFLAGS,"-marm -mfloat-abi=$float_abi")
;;
i[[3456789]]86*)
enable_win16=${enable_win16:-yes}
Module: wine
Branch: master
Commit: fd6f2a1781354a1a86a0469abd0766afd6304005
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fd6f2a1781354a1a86a0469ab…
Author: Ken Thomases <ken(a)codeweavers.com>
Date: Fri Dec 8 02:54:06 2017 -0600
winemac: Check the display link running state as well as the window count to decide whether to start/stop it.
The display link may be stopped even if there are associated windows, due to
idleness. So, it may need to be started when a window is added even if it's
not the first window.
Signed-off-by: Ken Thomases <ken(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/winemac.drv/cocoa_window.m | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/dlls/winemac.drv/cocoa_window.m b/dlls/winemac.drv/cocoa_window.m
index 65dc392..1b1d171 100644
--- a/dlls/winemac.drv/cocoa_window.m
+++ b/dlls/winemac.drv/cocoa_window.m
@@ -218,25 +218,25 @@ static CVReturn WineDisplayLinkCallback(CVDisplayLinkRef displayLink, const CVTi
- (void) addWindow:(WineWindow*)window
{
- BOOL needsStart;
+ BOOL firstWindow;
@synchronized(self) {
- needsStart = !_windows.count;
+ firstWindow = !_windows.count;
[_windows addObject:window];
}
- if (needsStart)
+ if (firstWindow || !CVDisplayLinkIsRunning(_link))
CVDisplayLinkStart(_link);
}
- (void) removeWindow:(WineWindow*)window
{
- BOOL shouldStop = FALSE;
+ BOOL lastWindow = FALSE;
@synchronized(self) {
- BOOL wasRunning = _windows.count > 0;
+ BOOL hadWindows = _windows.count > 0;
[_windows removeObject:window];
- if (wasRunning && !_windows.count)
- shouldStop = TRUE;
+ if (hadWindows && !_windows.count)
+ lastWindow = TRUE;
}
- if (shouldStop)
+ if (lastWindow && CVDisplayLinkIsRunning(_link))
CVDisplayLinkStop(_link);
}
Module: wine
Branch: master
Commit: f1512cf25f0c8ef3df192bc1980d047cfa650059
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f1512cf25f0c8ef3df192bc19…
Author: Austin English <austinenglish(a)gmail.com>
Date: Wed Dec 6 17:35:49 2017 -0600
loader/wine.pl.UTF-8.man.in: Move WineHQ URL to https.
Missed in 3bc68c24b972643aba2b96dcdcf97ea2f9fb82bd.
Signed-off-by: Austin English <austinenglish(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
loader/wine.pl.UTF-8.man.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/loader/wine.pl.UTF-8.man.in b/loader/wine.pl.UTF-8.man.in
index 9f1f2cf..c487d0a 100644
--- a/loader/wine.pl.UTF-8.man.in
+++ b/loader/wine.pl.UTF-8.man.in
@@ -305,7 +305,7 @@ można pobrać ze strony
Najaktualnieszy zrzut kodu można pobrać przez GIT. Aby dowiedzieć się
jak to zrobić, odwiedź stronę
.I
-http://www.winehq.org/git
+https://www.winehq.org/git
.PP
WineHQ, siedziba rozwoju
.B wine
Module: tools
Branch: master
Commit: 97036c17e646267916d87da7570a420631611d9a
URL: http://source.winehq.org/git/tools.git/?a=commit;h=97036c17e646267916d87da7…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Thu Dec 7 04:13:09 2017 +0100
testbot: Document a quirk of Collection::Add().
Not only does it not force loading from the database, it marks the
Collection as loaded. So if Add() is the first call on a Collection,
calling GetKeys() or GetItems() later on will only return the new
Item.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/lib/ObjectModel/Collection.pm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/testbot/lib/ObjectModel/Collection.pm b/testbot/lib/ObjectModel/Collection.pm
index 9d3d3ae..1b29ec1 100644
--- a/testbot/lib/ObjectModel/Collection.pm
+++ b/testbot/lib/ObjectModel/Collection.pm
@@ -168,6 +168,11 @@ sub Load($)
Instantiates a new Item and adds it to the Collection.
+Note that not only does calling Add() not force loading from the database,
+it marks the Collection as loaded. So if Add() is the first call on a
+Collection, calling GetKeys() or GetItems() later on will only return the new
+Item.
+
See Item->new() for details on the Item's default column values and for
important information regarding its primary key.
Module: wine
Branch: master
Commit: 83bbeab9b2d0ceac2548d2a9d8e5aefb0d9f5606
URL: http://source.winehq.org/git/wine.git/?a=commit;h=83bbeab9b2d0ceac2548d2a9d…
Author: Austin English <austinenglish(a)gmail.com>
Date: Wed Dec 6 13:51:09 2017 -0600
maintainers: Move WineHQ URLs to https.
Signed-off-by: Austin English <austinenglish(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
MAINTAINERS | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 2f92151..6845a7a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3,7 +3,7 @@
List of Wine subsection maintainers
When submitting patches to Wine, the guidelines at
-<http://wiki.winehq.org/SubmittingPatches> should be followed. This file
+<https://wiki.winehq.org/SubmittingPatches> should be followed. This file
contains a list of maintainers for subsections of Wine. When submitting
patches, you may want to CC relevant people from this list. If you have
questions about your work in an area of Wine, you may find a list of
@@ -317,7 +317,7 @@ F: */
Stable Branch
M: Michael Stefaniuc <mstefani(a)winehq.org>
-W: http://wiki.winehq.org/StableRules
+W: https://wiki.winehq.org/StableRules
Staging Branch
M: Sebastian Lackner <sebastian(a)fds-team.de>
Module: wine
Branch: master
Commit: 3ea7102cbe4a365f4364bc633f4b7f31f168c1ed
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3ea7102cbe4a365f4364bc633…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Wed Dec 6 13:50:21 2017 +0100
msvcp: Cast the wait time in _Cnd_timedwait to ULONG.
This prevents sign extending it when promoting it to ULONGLONG. This
fixes high CPU usage in Wargaming Game Center that was caused by
_Cnd_timedwait instantly returning timeout instead of waiting for the
requested 30 days.
Signed-off-by: Stefan Dösinger <stefan(a)codeweavers.com>
Signed-off-by: Piotr Caban <piotr(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/msvcp90/misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msvcp90/misc.c b/dlls/msvcp90/misc.c
index 901930b..159e9d6 100644
--- a/dlls/msvcp90/misc.c
+++ b/dlls/msvcp90/misc.c
@@ -635,7 +635,7 @@ int __cdecl _Cnd_timedwait(_Cnd_arg_t cnd, _Mtx_arg_t mtx, const xtime *xt)
InterlockedExchangeAdd( (LONG *)&cv->Ptr, 1 );
_Mtx_unlock(mtx);
- timeout.QuadPart = (ULONGLONG)_Xtime_diff_to_millis(xt) * -10000;
+ timeout.QuadPart = (ULONGLONG)(ULONG)_Xtime_diff_to_millis(xt) * -10000;
status = NtWaitForKeyedEvent(keyed_event, &cv->Ptr, FALSE, &timeout);
if (status)
{