winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
List overview
wine-gitlab
June 2024
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
wine-gitlab@winehq.org
2 participants
744 discussions
Start a n
N
ew thread
[PATCH 2/5] wineps.drv: Write page orientation hint for every page.
by Piotr Caban
04 Jun '24
04 Jun '24
From: Piotr Caban <piotr(a)codeweavers.com> --- dlls/wineps.drv/ps.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/dlls/wineps.drv/ps.c b/dlls/wineps.drv/ps.c index 149bfc81c36..744bda62497 100644 --- a/dlls/wineps.drv/ps.c +++ b/dlls/wineps.drv/ps.c @@ -56,7 +56,6 @@ static const char psheader[] = /* title llx lly urx ury orientation */ "%%%%Title: %s\n" "%%%%BoundingBox: %d %d %d %d\n" "%%%%Pages: (atend)\n" -"%%%%Orientation: %s\n" "%%%%EndComments\n"; static const char psbeginprolog[] = @@ -96,6 +95,7 @@ static const char psendfeature[] = static const char psnewpage[] = /* name, number, xres, yres, xtrans, ytrans, rot */ "%%%%Page: %s %d\n" +"%%%%PageOrientation: %s\n" "%%%%BeginPageSetup\n" "/pgsave save def\n" "72 %d div 72 %d div scale\n" @@ -402,7 +402,6 @@ INT PSDRV_WriteHeader( print_ctx *ctx, LPCWSTR title ) DUPLEX *duplex = find_duplex( ctx->pi->ppd, &ctx->Devmode->dmPublic ); int llx, lly, urx, ury; int ret, len; - const char * dmOrientation; struct ticket_info ticket_info = { page, duplex }; @@ -459,8 +458,7 @@ INT PSDRV_WriteHeader( print_ctx *ctx, LPCWSTR title ) } /* FIXME should do something better with BBox */ - dmOrientation = (ctx->Devmode->dmPublic.dmOrientation == DMORIENT_LANDSCAPE ? "Landscape" : "Portrait"); - sprintf(buf, psheader, escaped_title, llx, lly, urx, ury, dmOrientation); + sprintf(buf, psheader, escaped_title, llx, lly, urx, ury); HeapFree(GetProcessHeap(), 0, escaped_title); @@ -551,8 +549,9 @@ INT PSDRV_WriteNewPage( print_ctx *ctx ) } sprintf(buf, psnewpage, name, ctx->job.PageNo, - GetDeviceCaps(ctx->hdc, ASPECTX), GetDeviceCaps(ctx->hdc, ASPECTY), - xtrans, ytrans, rotation); + ctx->Devmode->dmPublic.dmOrientation == DMORIENT_LANDSCAPE ? "Landscape" : "Portrait", + GetDeviceCaps(ctx->hdc, ASPECTX), GetDeviceCaps(ctx->hdc, ASPECTY), + xtrans, ytrans, rotation); if( write_spool( ctx, buf, strlen(buf) ) != strlen(buf) ) { WARN("WriteSpool error\n"); -- GitLab
https://gitlab.winehq.org/wine/wine/-/merge_requests/5791
1
0
0
0
[PATCH 1/5] wineps.drv: Don't use dynamic buffer when writing new page info.
by Piotr Caban
04 Jun '24
04 Jun '24
From: Piotr Caban <piotr(a)codeweavers.com> --- dlls/wineps.drv/ps.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/dlls/wineps.drv/ps.c b/dlls/wineps.drv/ps.c index 59e245b9b6c..149bfc81c36 100644 --- a/dlls/wineps.drv/ps.c +++ b/dlls/wineps.drv/ps.c @@ -526,19 +526,11 @@ INT PSDRV_WriteEndPage( print_ctx *ctx ) INT PSDRV_WriteNewPage( print_ctx *ctx ) { - char *buf; - char name[100]; signed int xtrans, ytrans, rotation; - int ret = 1; + char buf[256], name[16]; sprintf(name, "%d", ctx->job.PageNo); - buf = HeapAlloc( GetProcessHeap(), 0, sizeof(psnewpage) + 200 ); - if(!buf) { - WARN("HeapAlloc failed\n"); - return 0; - } - if(ctx->Devmode->dmPublic.dmOrientation == DMORIENT_LANDSCAPE) { if(ctx->pi->ppd->LandscapeOrientation == -90) { xtrans = GetDeviceCaps(ctx->hdc, PHYSICALHEIGHT) - @@ -564,10 +556,9 @@ INT PSDRV_WriteNewPage( print_ctx *ctx ) if( write_spool( ctx, buf, strlen(buf) ) != strlen(buf) ) { WARN("WriteSpool error\n"); - ret = 0; + return 0; } - HeapFree( GetProcessHeap(), 0, buf ); - return ret; + return 1; } -- GitLab
https://gitlab.winehq.org/wine/wine/-/merge_requests/5791
1
0
0
0
[PATCH 0/1] MR5785: gdiplus: Remove record container from metafile object
by David Kahurani (@ReDress)
04 Jun '24
04 Jun '24
This list is best suited as a local object Signed-off-by: David Kahurani k.kahurani(a)gmail.com --
https://gitlab.winehq.org/wine/wine/-/merge_requests/5785
4
5
0
0
[PATCH v2 0/1] MR5788: d3d11/tests: Add a test for NV12 textures.
by Giovanni Mascellani (@giomasce)
04 Jun '24
04 Jun '24
-- v2: d3d11/tests: Add a test for NV12 textures.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5788
4
4
0
0
[PATCH 0/4] MR5780: mshtml: Unify document node IDispatchEx implementation.
by Jacek Caban (@jacek)
04 Jun '24
04 Jun '24
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5780
3
5
0
0
[PATCH v2 0/6] MR5773: mmdevapi: Fake success in a few IAudioSessionControl2 methods
by Fabian Maurer (@DarkShadow44)
04 Jun '24
04 Jun '24
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=56763
-- v2: mmdevapi: Implement IAudioSessionControl2 GetGroupingParam SetGroupingParam mmdevapi: Implement IAudioSessionControl2 GetIconPath / SetIconPath mmdevapi: Implement IAudioSessionControl2 GetDisplayName / SetDisplayName mmdevapi/tests: Add tests for IAudioSessionControl2 GetGroupingParam / SetGroupingParam mmdevapi/tests: Add tests for IAudioSessionControl2 GetIconPath / SetIconPath mmdevapi/tests: Add tests for IAudioSessionControl2 GetDisplayName / SetDisplayName
https://gitlab.winehq.org/wine/wine/-/merge_requests/5773
5
18
0
0
[PATCH 0/1] MR5770: wined3d: Update multisample state when the sample count changes.
by Elizabeth Figura (@zfigura)
04 Jun '24
04 Jun '24
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5770
3
2
0
0
Re: [PATCH v3 0/9] MR5782: win32u: Move UpdateLayeredWindow implementation to win32u. - approved
by Huw Davies (@huw)
04 Jun '24
04 Jun '24
This merge request was approved by Huw Davies. --
https://gitlab.winehq.org/wine/wine/-/merge_requests/5782
1
0
0
0
[PATCH 0/1] MR5788: d3d11/tests: Add a test for NV12 textures.
by Giovanni Mascellani (@giomasce)
04 Jun '24
04 Jun '24
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5788
3
2
0
0
[PATCH 0/1] MR5786: gdi32: Use an internal NtUser call for D3DKMTOpenAdapterFromGdiDisplayName.
by Rémi Bernon (@rbernon)
04 Jun '24
04 Jun '24
Fixes a deadlock with display_device_init mutex and display_lock when trying to open the D3DKMT adapter while holding the mutex in the caller. Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=56764
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5786
4
3
0
0
← Newer
1
...
66
67
68
69
70
71
72
...
75
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Results per page:
10
25
50
100
200