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
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
August 2009
----- 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
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
4 participants
1042 discussions
Start a n
N
ew thread
Aurimas Fišeras : winecfg: Update Lithuanian translation.
by Alexandre Julliard
18 Aug '09
18 Aug '09
Module: wine Branch: master Commit: ebca91750ba54c73fd4ea58c4f8e0098249209cc URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ebca91750ba54c73fd4ea58c4…
Author: Aurimas Fišeras <aurimas(a)gmail.com> Date: Mon Aug 17 23:01:21 2009 +0300 winecfg: Update Lithuanian translation. --- programs/winecfg/Lt.rc | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/programs/winecfg/Lt.rc b/programs/winecfg/Lt.rc index ca4f162..7208cc6 100644 --- a/programs/winecfg/Lt.rc +++ b/programs/winecfg/Lt.rc @@ -125,6 +125,16 @@ BEGIN PUSHBUTTON "Atsisakyti",IDCANCEL,57,74,45,14,WS_GROUP END +IDD_DRIVECHOOSE DIALOG DISCARDABLE 60, 70, 170, 60 +STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU +CAPTION "Parinkite disko raidę" +FONT 8, "MS Shell Dlg" +BEGIN + COMBOBOX IDC_DRIVESA2Z,15,10,75,230,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP + DEFPUSHBUTTON "Gerai",IDOK,105,10,45,14,WS_GROUP + PUSHBUTTON "Atsisakyti",IDCANCEL,105,30,45,14,WS_GROUP +END + IDD_DRIVECFG DIALOG DISCARDABLE 0, 0, 260, 250 STYLE WS_CHILD | WS_DISABLED FONT 8, "MS Shell Dlg"
1
0
0
0
Jörg Höhle : wined3d: Check GL_SUPPORT prior to an ARB occlusion call.
by Alexandre Julliard
18 Aug '09
18 Aug '09
Module: wine Branch: master Commit: 7763da811bdee8ef1bfec9f18763c45b799d41ee URL:
http://source.winehq.org/git/wine.git/?a=commit;h=7763da811bdee8ef1bfec9f18…
Author: Jörg Höhle <hoehle(a)users.sourceforge.net> Date: Fri Aug 14 18:12:49 2009 +0200 wined3d: Check GL_SUPPORT prior to an ARB occlusion call. --- dlls/wined3d/context.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 87416b7..ea664aa 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -675,7 +675,8 @@ static void context_destroy_gl_resources(struct wined3d_context *context) GL_EXTCALL(glDeleteProgramsARB(1, &context->dummy_arbfp_prog)); } - GL_EXTCALL(glDeleteQueriesARB(context->free_occlusion_query_count, context->free_occlusion_queries)); + if (GL_SUPPORT(ARB_OCCLUSION_QUERY)) + GL_EXTCALL(glDeleteQueriesARB(context->free_occlusion_query_count, context->free_occlusion_queries)); if (GL_SUPPORT(APPLE_FENCE)) GL_EXTCALL(glDeleteFencesAPPLE(context->free_event_query_count, context->free_event_queries));
1
0
0
0
Alexandre Julliard : server: Don' t use the cached file mode when setting the security descriptor.
by Alexandre Julliard
17 Aug '09
17 Aug '09
Module: wine Branch: master Commit: da1784bb9ea65e5021dfade5acaab14362f67657 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=da1784bb9ea65e5021dfade5a…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Aug 17 17:26:51 2009 +0200 server: Don't use the cached file mode when setting the security descriptor. --- server/change.c | 16 ++++++---------- server/file.c | 16 ++++++---------- 2 files changed, 12 insertions(+), 20 deletions(-) diff --git a/server/change.c b/server/change.c index 2b940fe..06d9e37 100644 --- a/server/change.c +++ b/server/change.c @@ -342,6 +342,7 @@ static int dir_set_sd( struct object *obj, const struct security_descriptor *sd, { struct dir *dir = (struct dir *)obj; const SID *owner; + struct stat st; mode_t mode; int unix_fd; @@ -349,7 +350,7 @@ static int dir_set_sd( struct object *obj, const struct security_descriptor *sd, unix_fd = get_dir_unix_fd( dir ); - if (unix_fd == -1) return 1; + if (unix_fd == -1 || fstat( unix_fd, &st ) == -1) return 1; if (set_info & OWNER_SECURITY_INFORMATION) { @@ -372,18 +373,13 @@ static int dir_set_sd( struct object *obj, const struct security_descriptor *sd, if (set_info & DACL_SECURITY_INFORMATION) { /* keep the bits that we don't map to access rights in the ACL */ - mode = dir->mode & (S_ISUID|S_ISGID|S_ISVTX|S_IRWXG); + mode = st.st_mode & (S_ISUID|S_ISGID|S_ISVTX|S_IRWXG); mode |= sd_to_mode( sd, owner ); - if (dir->mode != mode) + if (st.st_mode != mode && fchmod( unix_fd, mode ) == -1) { - if (fchmod( unix_fd, mode ) == -1) - { - file_set_error(); - return 0; - } - - dir->mode = mode; + file_set_error(); + return 0; } } return 1; diff --git a/server/file.c b/server/file.c index bbcd6f4..a74de14 100644 --- a/server/file.c +++ b/server/file.c @@ -535,6 +535,7 @@ static int file_set_sd( struct object *obj, const struct security_descriptor *sd { struct file *file = (struct file *)obj; const SID *owner; + struct stat st; mode_t mode; int unix_fd; @@ -542,7 +543,7 @@ static int file_set_sd( struct object *obj, const struct security_descriptor *sd unix_fd = get_file_unix_fd( file ); - if (unix_fd == -1) return 1; + if (unix_fd == -1 || fstat( unix_fd, &st ) == -1) return 1; if (set_info & OWNER_SECURITY_INFORMATION) { @@ -567,18 +568,13 @@ static int file_set_sd( struct object *obj, const struct security_descriptor *sd if (set_info & DACL_SECURITY_INFORMATION) { /* keep the bits that we don't map to access rights in the ACL */ - mode = file->mode & (S_ISUID|S_ISGID|S_ISVTX|S_IRWXG); + mode = st.st_mode & (S_ISUID|S_ISGID|S_ISVTX|S_IRWXG); mode |= sd_to_mode( sd, owner ); - if (file->mode != mode) + if (st.st_mode != mode && fchmod( unix_fd, mode ) == -1) { - if (fchmod( unix_fd, mode ) == -1) - { - file_set_error(); - return 0; - } - - file->mode = mode; + file_set_error(); + return 0; } } return 1;
1
0
0
0
Alexandre Julliard : server: Properly initialize mode and uid for file and directory objects.
by Alexandre Julliard
17 Aug '09
17 Aug '09
Module: wine Branch: master Commit: 74a63029c7ba4ea8079983a69dbbe681335a7d2d URL:
http://source.winehq.org/git/wine.git/?a=commit;h=74a63029c7ba4ea8079983a69…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Aug 17 17:18:54 2009 +0200 server: Properly initialize mode and uid for file and directory objects. --- server/change.c | 4 +++- server/file.c | 3 ++- server/file.h | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/server/change.c b/server/change.c index 773fa1c..2b940fe 100644 --- a/server/change.c +++ b/server/change.c @@ -1108,7 +1108,7 @@ static int dir_add_to_existing_notify( struct dir *dir ) #endif /* USE_INOTIFY */ -struct object *create_dir_obj( struct fd *fd ) +struct object *create_dir_obj( struct fd *fd, unsigned int access, mode_t mode ) { struct dir *dir; @@ -1123,6 +1123,8 @@ struct object *create_dir_obj( struct fd *fd ) dir->inode = NULL; grab_object( fd ); dir->fd = fd; + dir->mode = mode; + dir->uid = ~(uid_t)0; set_fd_user( fd, &dir_fd_ops, &dir->obj ); dir_add_to_existing_notify( dir ); diff --git a/server/file.c b/server/file.c index 98017b9..bbcd6f4 100644 --- a/server/file.c +++ b/server/file.c @@ -147,6 +147,7 @@ static struct object *create_file_obj( struct fd *fd, unsigned int access, mode_ if (!file) return NULL; file->access = access; file->mode = mode; + file->uid = ~(uid_t)0; file->fd = fd; grab_object( fd ); set_fd_user( fd, &file_fd_ops, &file->obj ); @@ -206,7 +207,7 @@ static struct object *create_file( const char *nameptr, data_size_t len, unsigne if (!fd) goto done; if (S_ISDIR(mode)) - obj = create_dir_obj( fd ); + obj = create_dir_obj( fd, access, mode ); else if (S_ISCHR(mode) && is_serial_fd( fd )) obj = create_serial( fd ); else diff --git a/server/file.h b/server/file.h index aef40f7..77de546 100644 --- a/server/file.h +++ b/server/file.h @@ -120,7 +120,7 @@ extern mode_t sd_to_mode( const struct security_descriptor *sd, const SID *owner extern void do_change_notify( int unix_fd ); extern void sigio_callback(void); -extern struct object *create_dir_obj( struct fd *fd ); +extern struct object *create_dir_obj( struct fd *fd, unsigned int access, mode_t mode ); /* completion */
1
0
0
0
Huw Davies : widl: Add a structure packing command line option.
by Alexandre Julliard
17 Aug '09
17 Aug '09
Module: wine Branch: master Commit: bbb3a85c51c05aa42ed4eeff5f27911d0e98e46e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=bbb3a85c51c05aa42ed4eeff5…
Author: Huw Davies <huw(a)codeweavers.com> Date: Mon Aug 17 15:16:54 2009 +0100 widl: Add a structure packing command line option. --- tools/widl/typegen.c | 13 ++++++++++++- tools/widl/widl.c | 10 ++++++++-- tools/widl/widl.h | 1 + 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index b820430..dc22fb2 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -108,6 +108,7 @@ const char *string_of_type(unsigned char type) case RPC_FC_CARRAY: return "FC_CARRAY"; case RPC_FC_CVARRAY: return "FC_CVARRAY"; case RPC_FC_BOGUS_ARRAY: return "FC_BOGUS_ARRAY"; + case RPC_FC_ALIGNM2: return "FC_ALIGNM2"; case RPC_FC_ALIGNM4: return "FC_ALIGNM4"; case RPC_FC_ALIGNM8: return "FC_ALIGNM8"; case RPC_FC_POINTER: return "FC_POINTER"; @@ -1094,6 +1095,7 @@ static unsigned int field_memsize(const type_t *type, unsigned int *offset) static unsigned int fields_memsize(const var_list_t *fields, unsigned int *align) { unsigned int size = 0; + unsigned int max_align; const var_t *v; if (!fields) return 0; @@ -1102,11 +1104,15 @@ static unsigned int fields_memsize(const var_list_t *fields, unsigned int *align unsigned int falign = 0; unsigned int fsize = type_memsize(v->type, &falign); if (*align < falign) *align = falign; + if (falign > packing) falign = packing; size = ROUND_SIZE(size, falign); size += fsize; } - size = ROUND_SIZE(size, *align); + max_align = *align; + if(max_align > packing) max_align = packing; + size = ROUND_SIZE(size, max_align); + return size; } @@ -1144,6 +1150,7 @@ int get_padding(const var_list_t *fields) type_t *ft = f->type; unsigned int align = 0; unsigned int size = type_memsize(ft, &align); + if (align > packing) align = packing; if (align > salign) salign = align; offset = ROUND_SIZE(offset, align); offset += size; @@ -2210,6 +2217,7 @@ static void write_struct_members(FILE *file, const type_t *type, type_t *ft = field->type; unsigned int align = 0; unsigned int size = type_memsize(ft, &align); + if(align > packing) align = packing; if (salign < align) salign = align; if (!is_conformant_array(ft) || type_array_is_decl_as_ptr(ft)) @@ -2219,6 +2227,9 @@ static void write_struct_members(FILE *file, const type_t *type, unsigned char fc = 0; switch (align) { + case 2: + fc = RPC_FC_ALIGNM2; + break; case 4: fc = RPC_FC_ALIGNM4; break; diff --git a/tools/widl/widl.c b/tools/widl/widl.c index 98e7a51..38e05cf 100644 --- a/tools/widl/widl.c +++ b/tools/widl/widl.c @@ -44,7 +44,6 @@ #include "header.h" /* future options to reserve characters for: */ -/* a = alignment of structures */ /* A = ACF input filename */ /* J = do not search standard include path */ /* O = generate interpreted stubs */ @@ -53,6 +52,7 @@ static const char usage[] = "Usage: widl [options...] infile.idl\n" " or: widl [options...] --dlldata-only name1 [name2...]\n" +" -a n Set structure alignment to 'n'\n" " -b arch Set the target architecture\n" " -c Generate client stub\n" " -C file Name of client stub file (default is infile_c.c)\n" @@ -111,6 +111,7 @@ int no_preprocess = 0; int old_names = 0; int do_win32 = 1; int do_win64 = 1; +int packing = 8; char *input_name; char *header_name; @@ -153,7 +154,7 @@ enum { }; static const char short_options[] = - "b:cC:d:D:EhH:I:m:NpP:sS:tT:uU:VW"; + "a:b:cC:d:D:EhH:I:m:NpP:sS:tT:uU:VW"; static const struct option long_options[] = { { "dlldata", 1, 0, DLLDATA_OPTION }, { "dlldata-only", 0, 0, DLLDATA_ONLY_OPTION }, @@ -521,6 +522,11 @@ int main(int argc,char *argv[]) do_win32 = 0; do_win64 = 1; break; + case 'a': + packing = strtol(optarg, NULL, 0); + if(packing != 2 && packing != 4 && packing != 8) + error("Packing must be one of 2, 4 or 8\n"); + break; case 'b': set_target( optarg ); break; diff --git a/tools/widl/widl.h b/tools/widl/widl.h index e34e64b..d6a46fc 100644 --- a/tools/widl/widl.h +++ b/tools/widl/widl.h @@ -46,6 +46,7 @@ extern int do_dlldata; extern int old_names; extern int do_win32; extern int do_win64; +extern int packing; extern char *input_name; extern char *header_name;
1
0
0
0
Huw Davies : rpcrt4: Add support for FC_ALIGNM2.
by Alexandre Julliard
17 Aug '09
17 Aug '09
Module: wine Branch: master Commit: 70804336aa72130e25d714921e604b79e568c6b4 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=70804336aa72130e25d714921…
Author: Huw Davies <huw(a)codeweavers.com> Date: Mon Aug 17 14:35:31 2009 +0100 rpcrt4: Add support for FC_ALIGNM2. --- dlls/rpcrt4/ndr_marshall.c | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c index 1777c49..9846d9e 100644 --- a/dlls/rpcrt4/ndr_marshall.c +++ b/dlls/rpcrt4/ndr_marshall.c @@ -2727,6 +2727,9 @@ static unsigned char * ComplexMarshall(PMIDL_STUB_MESSAGE pStubMsg, pMemory += sizeof(void *); break; } + case RPC_FC_ALIGNM2: + ALIGN_POINTER(pMemory, 2); + break; case RPC_FC_ALIGNM4: ALIGN_POINTER(pMemory, 4); break; @@ -2852,6 +2855,9 @@ static unsigned char * ComplexUnmarshall(PMIDL_STUB_MESSAGE pStubMsg, pMemory += sizeof(void *); break; } + case RPC_FC_ALIGNM2: + ALIGN_POINTER_CLEAR(pMemory, 2); + break; case RPC_FC_ALIGNM4: ALIGN_POINTER_CLEAR(pMemory, 4); break; @@ -2966,6 +2972,9 @@ static unsigned char * ComplexBufferSize(PMIDL_STUB_MESSAGE pStubMsg, pPointer += 4; pMemory += sizeof(void*); break; + case RPC_FC_ALIGNM2: + ALIGN_POINTER(pMemory, 2); + break; case RPC_FC_ALIGNM4: ALIGN_POINTER(pMemory, 4); break; @@ -3049,6 +3058,9 @@ static unsigned char * ComplexFree(PMIDL_STUB_MESSAGE pStubMsg, pPointer += 4; pMemory += sizeof(void *); break; + case RPC_FC_ALIGNM2: + ALIGN_POINTER(pMemory, 2); + break; case RPC_FC_ALIGNM4: ALIGN_POINTER(pMemory, 4); break; @@ -3161,6 +3173,9 @@ static ULONG ComplexStructMemorySize(PMIDL_STUB_MESSAGE pStubMsg, size += sizeof(void *); break; } + case RPC_FC_ALIGNM2: + ALIGN_LENGTH(size, 2); + break; case RPC_FC_ALIGNM4: ALIGN_LENGTH(size, 4); break; @@ -3224,6 +3239,9 @@ ULONG ComplexStructSize(PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat) case RPC_FC_POINTER: size += sizeof(void *); break; + case RPC_FC_ALIGNM2: + ALIGN_LENGTH(size, 2); + break; case RPC_FC_ALIGNM4: ALIGN_LENGTH(size, 4); break;
1
0
0
0
Huw Davies : include: Add ALIGNM2 format character.
by Alexandre Julliard
17 Aug '09
17 Aug '09
Module: wine Branch: master Commit: 86f0634dae9d2c2825f8dba5e7de36f2d4cfb8e1 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=86f0634dae9d2c2825f8dba5e…
Author: Huw Davies <huw(a)codeweavers.com> Date: Mon Aug 17 14:29:50 2009 +0100 include: Add ALIGNM2 format character. --- include/wine/rpcfc.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/wine/rpcfc.h b/include/wine/rpcfc.h index 34878e2..ee7ba7f 100644 --- a/include/wine/rpcfc.h +++ b/include/wine/rpcfc.h @@ -87,6 +87,7 @@ #define RPC_FC_POINTER 0x36 +#define RPC_FC_ALIGNM2 0x37 #define RPC_FC_ALIGNM4 0x38 #define RPC_FC_ALIGNM8 0x39
1
0
0
0
Michael Karcher : server: Don't report LOAD_DLL debug event for exe module.
by Alexandre Julliard
17 Aug '09
17 Aug '09
Module: wine Branch: master Commit: a0eb2ed4134bce2bbe3a811789ff19c2627a3e6c URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a0eb2ed4134bce2bbe3a81178…
Author: Michael Karcher <wine(a)mkarcher.dialup.fu-berlin.de> Date: Mon Aug 17 09:19:53 2009 +0200 server: Don't report LOAD_DLL debug event for exe module. --- dlls/kernel32/tests/process.c | 9 +++++++++ server/debugger.c | 2 +- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/dlls/kernel32/tests/process.c b/dlls/kernel32/tests/process.c index d8087a6..21f3c52 100644 --- a/dlls/kernel32/tests/process.c +++ b/dlls/kernel32/tests/process.c @@ -1241,6 +1241,7 @@ static void test_SuspendFlag(void) static void test_DebuggingFlag(void) { char buffer[MAX_PATH]; + void *processbase = NULL; PROCESS_INFORMATION info; STARTUPINFOA startup, us; DEBUG_EVENT de; @@ -1261,7 +1262,15 @@ static void test_DebuggingFlag(void) { ok(WaitForDebugEvent(&de, INFINITE), "reading debug event\n"); ContinueDebugEvent(de.dwProcessId, de.dwThreadId, DBG_CONTINUE); + if (!dbg) + { + ok(de.dwDebugEventCode == CREATE_PROCESS_DEBUG_EVENT, + "first event: %d\n", de.dwDebugEventCode); + processbase = de.u.CreateProcessInfo.lpBaseOfImage; + } if (de.dwDebugEventCode != EXCEPTION_DEBUG_EVENT) dbg++; + ok(de.dwDebugEventCode != LOAD_DLL_DEBUG_EVENT || + de.u.LoadDll.lpBaseOfDll != processbase, "got LOAD_DLL for main module\n"); } while (de.dwDebugEventCode != EXIT_PROCESS_DEBUG_EVENT); ok(dbg, "I have seen a debug event\n"); diff --git a/server/debugger.c b/server/debugger.c index c01ab45..faade98 100644 --- a/server/debugger.c +++ b/server/debugger.c @@ -514,7 +514,7 @@ void generate_startup_debug_events( struct process *process, client_ptr_t entry /* generate dll events (in loading order, i.e. reverse list order) */ ptr = list_tail( &process->dlls ); - while (ptr) + while (ptr != list_head( &process->dlls )) { struct process_dll *dll = LIST_ENTRY( ptr, struct process_dll, entry ); generate_debug_event( first_thread, LOAD_DLL_DEBUG_EVENT, dll );
1
0
0
0
Rein Klazes : winecfg: Let the user specify the drive letter of a to be added drive.
by Alexandre Julliard
17 Aug '09
17 Aug '09
Module: wine Branch: master Commit: 9d6d3b3b3c76f9cba64c3ecff00143dee715b613 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9d6d3b3b3c76f9cba64c3ecff…
Author: Rein Klazes <wijn(a)online.nl> Date: Sun Aug 16 20:37:10 2009 +0200 winecfg: Let the user specify the drive letter of a to be added drive. --- programs/winecfg/En.rc | 10 +++++++++ programs/winecfg/Nl.rc | 10 +++++++++ programs/winecfg/driveui.c | 48 ++++++++++++++++++++++++++++++++++++++++++- programs/winecfg/resource.h | 2 + 4 files changed, 69 insertions(+), 1 deletions(-) diff --git a/programs/winecfg/En.rc b/programs/winecfg/En.rc index 049aaa7..6aa5120 100644 --- a/programs/winecfg/En.rc +++ b/programs/winecfg/En.rc @@ -124,6 +124,16 @@ BEGIN PUSHBUTTON "Cancel",IDCANCEL,57,74,45,14,WS_GROUP END +IDD_DRIVECHOOSE DIALOG DISCARDABLE 60, 70, 170, 60 +STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU +CAPTION "Select Drive Letter" +FONT 8, "MS Shell Dlg" +BEGIN + COMBOBOX IDC_DRIVESA2Z,15,10,75,230,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP + DEFPUSHBUTTON "OK",IDOK,105,10,45,14,WS_GROUP + PUSHBUTTON "Cancel",IDCANCEL,105,30,45,14,WS_GROUP +END + IDD_DRIVECFG DIALOG DISCARDABLE 0, 0, 260, 250 STYLE WS_CHILD | WS_DISABLED FONT 8, "MS Shell Dlg" diff --git a/programs/winecfg/Nl.rc b/programs/winecfg/Nl.rc index 4cd45f0..2fbba6a 100644 --- a/programs/winecfg/Nl.rc +++ b/programs/winecfg/Nl.rc @@ -125,6 +125,16 @@ BEGIN PUSHBUTTON "Annuleren",IDCANCEL,57,74,45,14,WS_GROUP END +IDD_DRIVECHOOSE DIALOG DISCARDABLE 60, 70, 170, 60 +STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU +CAPTION "Selecteer Stationsletter" +FONT 8, "MS Shell Dlg" +BEGIN + COMBOBOX IDC_DRIVESA2Z,15,10,75,230,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP + DEFPUSHBUTTON "OK",IDOK,105,10,45,14,WS_GROUP + PUSHBUTTON "Annuleren",IDCANCEL,105,30,45,14,WS_GROUP +END + IDD_DRIVECFG DIALOG DISCARDABLE 0, 0, 260, 250 STYLE WS_CHILD | WS_DISABLED FONT 8, "MS Shell Dlg" diff --git a/programs/winecfg/driveui.c b/programs/winecfg/driveui.c index de54f21..87af06c 100644 --- a/programs/winecfg/driveui.c +++ b/programs/winecfg/driveui.c @@ -291,6 +291,47 @@ static void on_options_click(HWND dialog) SendMessage(GetParent(dialog), PSM_CHANGED, 0, 0); } +static INT_PTR CALLBACK drivechoose_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) +{ + static int i, sel; + char c; + char drive[] = "X:"; + + switch(uMsg) + { + case WM_INITDIALOG: + { + ULONG mask = ~drive_available_mask(0); /* the mask is now which drives aren't available */ + for( c = 'A'; c<= 'Z'; c++){ + drive[0] = c; + if(!( mask & (1 << (c - 'A')))) + SendDlgItemMessageA( hwndDlg, IDC_DRIVESA2Z, CB_ADDSTRING, 0, (LPARAM) drive); + } + drive[0] = lParam; + SendDlgItemMessageA( hwndDlg, IDC_DRIVESA2Z, CB_SELECTSTRING, 0, (LPARAM) drive); + return TRUE; + } + case WM_COMMAND: + if(HIWORD(wParam) != BN_CLICKED) break; + switch (LOWORD(wParam)) + { + case IDOK: + i = SendDlgItemMessageA( hwndDlg, IDC_DRIVESA2Z, CB_GETCURSEL, 0, 0); + if( i != CB_ERR){ + SendDlgItemMessageA( hwndDlg, IDC_DRIVESA2Z, CB_GETLBTEXT, i, (LPARAM) drive); + sel = drive[0]; + } else + sel = -1; + EndDialog(hwndDlg, sel); + return TRUE; + case IDCANCEL: + EndDialog(hwndDlg, -1); + return TRUE; + } + } + return FALSE; +} + static void on_add_click(HWND dialog) { /* we should allocate a drive letter automatically. We also need @@ -313,7 +354,12 @@ static void on_add_click(HWND dialog) } } - WINE_TRACE("allocating drive letter %c\n", new); + + new = DialogBoxParam(0, MAKEINTRESOURCE(IDD_DRIVECHOOSE), dialog, drivechoose_dlgproc, new); + + if( new == -1) return; + + WINE_TRACE("selected drive letter %c\n", new); if (new == 'C') { diff --git a/programs/winecfg/resource.h b/programs/winecfg/resource.h index 27736b7..f006861 100644 --- a/programs/winecfg/resource.h +++ b/programs/winecfg/resource.h @@ -146,6 +146,8 @@ #define IDS_COL_DRIVELETTER 8208 #define IDS_COL_DRIVEMAPPING 8209 #define IDS_NO_DRIVE_C 8210 +#define IDD_DRIVECHOOSE 8211 +#define IDC_DRIVESA2Z 8212 /* graphics */ #define IDC_ENABLE_MANAGED 1100
1
0
0
0
Alexandre Julliard : winex11: Add handling of take focus event on the desktop window.
by Alexandre Julliard
17 Aug '09
17 Aug '09
Module: wine Branch: master Commit: 12d1ff8ef6c34533a20008f4cfeb73ee4c601a5d URL:
http://source.winehq.org/git/wine.git/?a=commit;h=12d1ff8ef6c34533a20008f4c…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Aug 17 16:32:45 2009 +0200 winex11: Add handling of take focus event on the desktop window. --- dlls/winex11.drv/event.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c index c746546..9a489cd 100644 --- a/dlls/winex11.drv/event.c +++ b/dlls/winex11.drv/event.c @@ -566,6 +566,14 @@ static void handle_wm_protocols( HWND hwnd, XClientMessageEvent *event ) return; } } + else if (hwnd == GetDesktopWindow()) + { + hwnd = GetForegroundWindow(); + if (!hwnd) hwnd = last_focus; + if (!hwnd) hwnd = GetDesktopWindow(); + set_focus( event->display, hwnd, event_time ); + return; + } /* try to find some other window to give the focus to */ hwnd = GetFocus(); if (hwnd) hwnd = GetAncestor( hwnd, GA_ROOT );
1
0
0
0
← Newer
1
...
49
50
51
52
53
54
55
...
105
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
Results per page:
10
25
50
100
200