Module: wine
Branch: master
Commit: 6526ac1999f99a9e24ee2002219b39a9a7e2126e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6526ac1999f99a9e24ee20022…
Author: Huw Davies <huw(a)codeweavers.com>
Date: Mon Jul 4 09:05:45 2016 +0100
gdi32: Try to compact the region.
Signed-off-by: Huw Davies <huw(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/gdi32/region.c | 43 +++++++++++++++++++++++++------------------
1 file changed, 25 insertions(+), 18 deletions(-)
diff --git a/dlls/gdi32/region.c b/dlls/gdi32/region.c
index 834e6be..646512f 100644
--- a/dlls/gdi32/region.c
+++ b/dlls/gdi32/region.c
@@ -1598,6 +1598,28 @@ static INT REGION_Coalesce (
return (curStart);
}
+/**********************************************************************
+ * REGION_compact
+ *
+ * To keep regions from growing without bound, shrink the array of rectangles
+ * to match the new number of rectangles in the region.
+ *
+ * Only do this if the number of rectangles allocated is more than
+ * twice the number of rectangles in the region.
+ */
+static void REGION_compact( WINEREGION *reg )
+{
+ if ((reg->numRects < reg->size / 2) && (reg->numRects > 2))
+ {
+ RECT *new_rects = HeapReAlloc( GetProcessHeap(), 0, reg->rects, reg->numRects * sizeof(RECT) );
+ if (new_rects)
+ {
+ reg->rects = new_rects;
+ reg->size = reg->numRects;
+ }
+ }
+}
+
/***********************************************************************
* REGION_RegionOp
*
@@ -1839,23 +1861,7 @@ static BOOL REGION_RegionOp(
REGION_Coalesce (&newReg, prevBand, curBand);
}
- /*
- * A bit of cleanup. To keep regions from growing without bound,
- * we shrink the array of rectangles to match the new number of
- * rectangles in the region. This never goes to 0, however...
- *
- * Only do this stuff if the number of rectangles allocated is more than
- * twice the number of rectangles in the region (a simple optimization...).
- */
- if ((newReg.numRects < (newReg.size >> 1)) && (newReg.numRects > 2))
- {
- RECT *new_rects = HeapReAlloc( GetProcessHeap(), 0, newReg.rects, newReg.numRects * sizeof(RECT) );
- if (new_rects)
- {
- newReg.rects = new_rects;
- newReg.size = newReg.numRects;
- }
- }
+ REGION_compact( &newReg );
HeapFree( GetProcessHeap(), 0, destReg->rects );
destReg->rects = newReg.rects;
destReg->size = newReg.size;
@@ -2633,8 +2639,9 @@ static BOOL REGION_PtsToRegion( struct point_block *FirstPtBlock, WINEREGION *re
extents->right = 0;
extents->bottom = 0;
}
+ REGION_compact( reg );
- return(TRUE);
+ return TRUE;
}
/***********************************************************************
Module: website
Branch: master
Commit: 4a6b692020b272790ef023c28a28c1988cecfece
URL: http://source.winehq.org/git/website.git/?a=commit;h=4a6b692020b272790ef023…
Author: Frédéric Delanoy <frederic.delanoy(a)gmail.com>
Date: Sun Jul 3 10:12:38 2016 +0200
French translation for release 1.9.13
Signed-off-by: Frédéric Delanoy <frederic.delanoy(a)gmail.com>
Signed-off-by: Jeremy Newman <jnewman(a)codeweavers.com>
---
news/fr/2016062401.xml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/news/fr/2016062401.xml b/news/fr/2016062401.xml
new file mode 100644
index 0000000..1be14c9
--- /dev/null
+++ b/news/fr/2016062401.xml
@@ -0,0 +1,17 @@
+<news>
+<date>24 juin 2016</date>
+<title>Sortie de Wine 1.9.13</title>
+<body>
+<p>La version de développement 1.9.13 de Wine est disponible.</p>
+<p><a href="{$root}/announce/1.9.13">Nouveautés</a> de cette version :
+<ul>
+ <li>Nouvelle version du moteur Gecko basée sur Firefox 47.</li>
+ <li>Meilleure prise en charge de Shader Model 5 dans Direct3D.</li>
+ <li>Données Unicode mises à jour vers Unicode 9.0.0.</li>
+ <li>Améliorations dans les métafichiers et chemins GDI.</li>
+ <li>Progrès en vue du flux de commandes Direct3D.</li>
+ <li>Améliorations dans la prise en charge des joysticks sous Mac OS X.</li>
+ <li>Diverses corrections de bugs.</li>
+</ul></p>
+<p>Le <a href="//dl.winehq.org/wine/source/1.9/wine-1.9.13.tar.bz2">code source</a> est disponible dès à présent. Les paquets binaires sont en cours de construction, et apparaîtront sous peu sur leurs <a href="{$root}/download">sites de téléchargement</a> respectifs.
+</p></body></news>
Module: website
Branch: master
Commit: 383bb9c1a6f2660054f856cc7b3295af9d4ddbe8
URL: http://source.winehq.org/git/website.git/?a=commit;h=383bb9c1a6f2660054f856…
Author: Frédéric Delanoy <frederic.delanoy(a)gmail.com>
Date: Sun Jul 3 10:12:36 2016 +0200
French translation for release 1.8.3
Signed-off-by: Frédéric Delanoy <frederic.delanoy(a)gmail.com>
Signed-off-by: Jeremy Newman <jnewman(a)codeweavers.com>
---
news/fr/2016061601.xml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/news/fr/2016061601.xml b/news/fr/2016061601.xml
new file mode 100644
index 0000000..d613a77
--- /dev/null
+++ b/news/fr/2016061601.xml
@@ -0,0 +1,13 @@
+<news>
+<date>16 juin 2016</date>
+<title>Sortie de Wine 1.8.3</title>
+<body>
+<p> La version de maintenance 1.8.3 de Wine est disponible.</p>
+<p> <a href="{$root}/announce/1.8.3">Nouveautés</a> de cette version :
+<ul>
+ <li>Diverses corrections de bugs.</li>
+ <li>Beaucoup de cartes NVidia ajoutées dans la table de description de GPU.</li>
+ <li>Mises à jour des fichiers de prise en charge des langues nationales (NLS).</li>
+</ul>
+<p>Le <a href="//dl.winehq.org/wine/source/1.8/wine-1.8.3.tar.bz3">code source</a> est disponible dès à présent. Les paquets binaires sont en cours de construction, et apparaîtront sous peu sur leurs <a href="{$root}/download">sites de téléchargement</a> respectifs.
+</p></body></news>
Module: website
Branch: master
Commit: e9b338bac9c726f6514fc9983a0b3f34f76312d6
URL: http://source.winehq.org/git/website.git/?a=commit;h=e9b338bac9c726f6514fc9…
Author: Frédéric Delanoy <frederic.delanoy(a)gmail.com>
Date: Sun Jul 3 10:12:37 2016 +0200
Fix French translation for releases 1.8.[1,2]
Signed-off-by: Frédéric Delanoy <frederic.delanoy(a)gmail.com>
Signed-off-by: Jeremy Newman <jnewman(a)codeweavers.com>
---
news/fr/2016020301.xml | 2 +-
news/fr/2016041201.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/news/fr/2016020301.xml b/news/fr/2016020301.xml
index c344fc6..e96c628 100644
--- a/news/fr/2016020301.xml
+++ b/news/fr/2016020301.xml
@@ -2,7 +2,7 @@
<date>3 février 2016</date>
<title>Sortie de Wine 1.8.1</title>
<body>
-<p> La version de maintenance 1.8.1 est disponible.</p>
+<p> La version de maintenance 1.8.1 de Wine est disponible.</p>
<p> <a href="{$root}/announce/1.8.1">Nouveautés</a> de cette version :
<ul>
<li>Diverses corrections de bugs.</li>
diff --git a/news/fr/2016041201.xml b/news/fr/2016041201.xml
index d5cb69a..2b153ba 100644
--- a/news/fr/2016041201.xml
+++ b/news/fr/2016041201.xml
@@ -2,7 +2,7 @@
<date>12 avril 2016</date>
<title>Sortie de Wine 1.8.2</title>
<body>
-<p> La version de maintenance 1.8.2 est disponible.</p>
+<p> La version de maintenance 1.8.2 de Wine est disponible.</p>
<p> <a href="{$root}/announce/1.8.2">Nouveautés</a> de cette version :
<ul>
<li>Diverses corrections de bugs.</li>