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
March 2014
----- 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
2 participants
530 discussions
Start a n
N
ew thread
Francois Gouget : testbot: Clarify the timeout error message in the email reports.
by Alexandre Julliard
20 Mar '14
20 Mar '14
Module: tools Branch: master Commit: 872a26b5fe4e82b2e03541c4f1d6222012723dc4 URL:
http://source.winehq.org/git/tools.git/?a=commit;h=872a26b5fe4e82b2e03541c4…
Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Mon Mar 17 10:22:07 2014 +0100 testbot: Clarify the timeout error message in the email reports. --- testbot/bin/WineSendLog.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl index aec2bee..b375447 100755 --- a/testbot/bin/WineSendLog.pl +++ b/testbot/bin/WineSendLog.pl @@ -116,7 +116,7 @@ sub ReadLog if ($Line =~ m/${BaseName}:${TestSet} done \((\d+)\)/ && $1 eq "258") { - $Messages[@Messages] = "Timeout"; + $Messages[@Messages] = "The test timed out"; } $Found = 1; } @@ -256,7 +256,7 @@ EOF } if ($Line =~ m/^[^:]+:([^ ]+) done \(258\)/) { - print SENDMAIL "$1: Timeout\n"; + print SENDMAIL "$1: The test timed out\n"; } else {
1
0
0
0
Jacek Caban : jscript: Represent NULL VT_UNKNOWN VARIANT as NULL VT_DISPATCH.
by Alexandre Julliard
19 Mar '14
19 Mar '14
Module: wine Branch: master Commit: 5cf20ceffd2a2906b6b1c8b06d276e8436d746b7 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=5cf20ceffd2a2906b6b1c8b06…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Wed Mar 19 13:15:14 2014 +0100 jscript: Represent NULL VT_UNKNOWN VARIANT as NULL VT_DISPATCH. --- dlls/jscript/jsutils.c | 3 +++ dlls/jscript/tests/run.c | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/dlls/jscript/jsutils.c b/dlls/jscript/jsutils.c index 87bad26..a324c96 100644 --- a/dlls/jscript/jsutils.c +++ b/dlls/jscript/jsutils.c @@ -327,6 +327,9 @@ HRESULT variant_to_jsval(VARIANT *var, jsval_t *r) *r = jsval_disp(disp); return S_OK; } + }else { + *r = jsval_disp(NULL); + return S_OK; } /* fall through */ default: diff --git a/dlls/jscript/tests/run.c b/dlls/jscript/tests/run.c index 0db3660..a92282a 100644 --- a/dlls/jscript/tests/run.c +++ b/dlls/jscript/tests/run.c @@ -1156,7 +1156,7 @@ static HRESULT WINAPI Global_InvokeEx(IDispatchEx *iface, DISPID id, LCID lcid, return S_OK; case DISPID_GLOBAL_TESTARGTYPES: { - VARIANT args[3]; + VARIANT args[4]; DISPPARAMS dp = {args, NULL, sizeof(args)/sizeof(*args), 0}; HRESULT hres; @@ -1190,6 +1190,8 @@ static HRESULT WINAPI Global_InvokeEx(IDispatchEx *iface, DISPID id, LCID lcid, V_INT(args+1) = 22; V_VT(args+2) = VT_UNKNOWN; V_UNKNOWN(args+2) = (IUnknown*)&testObj; + V_VT(args+3) = VT_UNKNOWN; + V_UNKNOWN(args+3) = NULL; hres = IDispatch_Invoke(V_DISPATCH(pdp->rgvarg), DISPID_VALUE, &IID_NULL, 0, DISPATCH_METHOD, &dp, NULL, NULL, NULL); ok(hres == S_OK, "Invoke failed: %08x\n", hres); @@ -2140,10 +2142,12 @@ static BOOL run_tests(void) CHECK_CALLED(global_propargput_i); SET_EXPECT(global_testargtypes_i); - parse_script_a("testArgTypes(dispUnk, intProp(), intProp, getShort(), shortProp, function(d,i,s) {" + parse_script_a("testArgTypes(dispUnk, intProp(), intProp, getShort(), shortProp, function(nullunk,d,i,s) {" " ok(getVT(i) === 'VT_I4', 'getVT(i) = ' + getVT(i));" " ok(getVT(s) === 'VT_I4', 'getVT(s) = ' + getVT(s));" " ok(getVT(d) === 'VT_DISPATCH', 'getVT(d) = ' + getVT(d));" + " ok(getVT(nullunk) === 'VT_DISPATCH', 'getVT(nullunk) = ' + getVT(nullunk));" + " ok(nullunk === null, 'nullunk !== null');" "});"); CHECK_CALLED(global_testargtypes_i);
1
0
0
0
Alexandre Julliard : server: Restore the masks from the previous get_message when a wait is satisfied.
by Alexandre Julliard
19 Mar '14
19 Mar '14
Module: wine Branch: master Commit: f846312f46bab8dc373a8fd98fdef9c3aebe8ee0 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f846312f46bab8dc373a8fd98…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Mar 19 16:50:26 2014 +0100 server: Restore the masks from the previous get_message when a wait is satisfied. --- server/queue.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/server/queue.c b/server/queue.c index c19bb3a..a410691 100644 --- a/server/queue.c +++ b/server/queue.c @@ -117,8 +117,10 @@ struct msg_queue struct fd *fd; /* optional file descriptor to poll */ unsigned int wake_bits; /* wakeup bits */ unsigned int wake_mask; /* wakeup mask */ + unsigned int wake_get_msg; /* wakeup mask of last get_message */ unsigned int changed_bits; /* changed wakeup bits */ unsigned int changed_mask; /* changed wakeup mask */ + unsigned int changed_get_msg; /* changed wakeup mask of last get_message */ int paint_count; /* pending paint messages count */ int hotkey_count; /* pending hotkey messages count */ int quit_message; /* is there a pending quit message? */ @@ -277,8 +279,10 @@ static struct msg_queue *create_msg_queue( struct thread *thread, struct thread_ queue->fd = NULL; queue->wake_bits = 0; queue->wake_mask = 0; + queue->wake_get_msg = 0; queue->changed_bits = 0; queue->changed_mask = 0; + queue->changed_get_msg = 0; queue->paint_count = 0; queue->hotkey_count = 0; queue->quit_message = 0; @@ -927,8 +931,8 @@ static int msg_queue_signaled( struct object *obj, struct wait_queue_entry *entr static void msg_queue_satisfied( struct object *obj, struct wait_queue_entry *entry ) { struct msg_queue *queue = (struct msg_queue *)obj; - queue->wake_mask = 0; - queue->changed_mask = 0; + queue->wake_mask = queue->wake_get_msg; + queue->changed_mask = queue->changed_get_msg; } static void msg_queue_destroy( struct object *obj ) @@ -2197,7 +2201,11 @@ DECL_HANDLER(set_queue_mask) if (is_signaled( queue )) { /* if skip wait is set, do what would have been done in the subsequent wait */ - if (req->skip_wait) queue->wake_mask = queue->changed_mask = 0; + if (req->skip_wait) + { + queue->wake_mask = queue->wake_get_msg; + queue->changed_mask = queue->changed_get_msg; + } else wake_up( &queue->obj, 0 ); } } @@ -2369,6 +2377,7 @@ DECL_HANDLER(get_message) if (!queue) return; queue->last_get_msg = current_time; + queue->wake_get_msg = queue->changed_get_msg = 0; if (!filter) filter = QS_ALLINPUT; /* first check for sent messages */ @@ -2440,8 +2449,8 @@ DECL_HANDLER(get_message) } if (get_win == -1 && current->process->idle_event) set_event( current->process->idle_event ); - queue->wake_mask = req->wake_mask; - queue->changed_mask = req->changed_mask; + queue->wake_mask = queue->wake_get_msg = req->wake_mask; + queue->changed_mask = queue->changed_get_msg = req->changed_mask; set_error( STATUS_PENDING ); /* FIXME */ }
1
0
0
0
Alexandre Julliard : user32: Set the queue mask only after flushing the window surfaces.
by Alexandre Julliard
19 Mar '14
19 Mar '14
Module: wine Branch: master Commit: fc183ba2c5145106b3fc54a6bfe5cc8445c9427f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=fc183ba2c5145106b3fc54a6b…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Mar 19 15:56:22 2014 +0100 user32: Set the queue mask only after flushing the window surfaces. --- dlls/user32/message.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/user32/message.c b/dlls/user32/message.c index 2cd1472..1aee670 100644 --- a/dlls/user32/message.c +++ b/dlls/user32/message.c @@ -4093,6 +4093,8 @@ DWORD WINAPI MsgWaitForMultipleObjectsEx( DWORD count, const HANDLE *pHandles, return WAIT_FAILED; } + flush_window_surfaces( TRUE ); + /* set the queue mask */ SERVER_START_REQ( set_queue_mask ) { @@ -4107,7 +4109,6 @@ DWORD WINAPI MsgWaitForMultipleObjectsEx( DWORD count, const HANDLE *pHandles, for (i = 0; i < count; i++) handles[i] = pHandles[i]; handles[count] = get_server_queue_handle(); - flush_window_surfaces( TRUE ); return wow_handlers.wait_message( count+1, handles, timeout, mask, flags ); }
1
0
0
0
Alexandre Julliard : user32/tests: Mark a failing test as todo.
by Alexandre Julliard
19 Mar '14
19 Mar '14
Module: wine Branch: master Commit: 06960ac2674d15b922d1d63a4cf3505a97eba5b2 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=06960ac2674d15b922d1d63a4…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Mar 19 12:56:11 2014 +0100 user32/tests: Mark a failing test as todo. --- dlls/user32/tests/msg.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 9c1320d..b716630 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -11316,9 +11316,6 @@ if (0) /* FIXME: Wine behaves completely different here */ win_rc.left, win_rc.top, win_rc.right, win_rc.bottom, wp.rcNormalPosition.left, wp.rcNormalPosition.top, wp.rcNormalPosition.right, wp.rcNormalPosition.bottom); - - flush_events(); - flush_sequence(); } DestroyWindow(hwnd); @@ -14300,7 +14297,7 @@ static LRESULT WINAPI cancel_popup_proc(HWND hwnd, UINT message, WPARAM wParam, switch (message) { case WM_ENTERIDLE: - ok(GetCapture() == hwnd, "expected %p, got %p\n", hwnd, GetCapture()); + todo_wine ok(GetCapture() == hwnd, "expected %p, got %p\n", hwnd, GetCapture()); EndMenu(); break; case WM_INITMENU:
1
0
0
0
Dmitry Timoshkov : widl: Unify indentation of comments.
by Alexandre Julliard
19 Mar '14
19 Mar '14
Module: wine Branch: master Commit: ae843427ed7951990992b47543ce9e7cf4007e94 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ae843427ed7951990992b4754…
Author: Dmitry Timoshkov <dmitry(a)baikal.ru> Date: Wed Mar 19 19:26:24 2014 +0900 widl: Unify indentation of comments. --- tools/widl/typegen.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 6527437..d017521 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -860,7 +860,7 @@ static const char *get_context_handle_type_name(const type_t *type) do { \ if (file) \ fprintf(file, "/* %2u */\n", typestring_offset); \ - print_file((file), 2, "0x%02x, /* " #fctype " */\n", RPC_##fctype); \ + print_file((file), 2, "0x%02x,\t/* " #fctype " */\n", RPC_##fctype); \ } \ while (0) @@ -1447,8 +1447,8 @@ static void write_procformatstring_func( FILE *file, int indent, const type_t *i if (!is_new_style) { print_file(file, 0, "/* %u (void) */\n", *offset); - print_file(file, indent, "0x5b, /* FC_END */\n"); - print_file(file, indent, "0x5c, /* FC_PAD */\n"); + print_file(file, indent, "0x5b,\t/* FC_END */\n"); + print_file(file, indent, "0x5c,\t/* FC_PAD */\n"); *offset += 2; } } @@ -2350,10 +2350,10 @@ static void write_end(FILE *file, unsigned int *tfsoff) { if (*tfsoff % 2 == 0) { - print_file(file, 2, "0x%x,\t\t/* FC_PAD */\n", RPC_FC_PAD); + print_file(file, 2, "0x%x,\t/* FC_PAD */\n", RPC_FC_PAD); *tfsoff += 1; } - print_file(file, 2, "0x%x,\t\t/* FC_END */\n", RPC_FC_END); + print_file(file, 2, "0x%x,\t/* FC_END */\n", RPC_FC_END); *tfsoff += 1; } @@ -2842,7 +2842,7 @@ static unsigned int write_string_tfs(FILE *file, const attr_list_t *attrs, WRITE_FCTYPE(file, FC_WSTRING, *typestring_offset); else WRITE_FCTYPE(file, FC_CSTRING, *typestring_offset); - print_file(file, 2, "0x%x, /* FC_PAD */\n", RPC_FC_PAD); + print_file(file, 2, "0x%x,\t/* FC_PAD */\n", RPC_FC_PAD); *typestring_offset += 2; print_file(file, 2, "NdrFcShort(0x%hx),\t/* %d */\n", (unsigned short)dim, dim); @@ -2857,7 +2857,7 @@ static unsigned int write_string_tfs(FILE *file, const attr_list_t *attrs, WRITE_FCTYPE(file, FC_C_WSTRING, *typestring_offset); else WRITE_FCTYPE(file, FC_C_CSTRING, *typestring_offset); - print_file(file, 2, "0x%x, /* FC_STRING_SIZED */\n", RPC_FC_STRING_SIZED); + print_file(file, 2, "0x%x,\t/* FC_STRING_SIZED */\n", RPC_FC_STRING_SIZED); *typestring_offset += 2; *typestring_offset += write_conf_or_var_desc( @@ -2878,7 +2878,7 @@ static unsigned int write_string_tfs(FILE *file, const attr_list_t *attrs, WRITE_FCTYPE(file, FC_C_WSTRING, *typestring_offset); else WRITE_FCTYPE(file, FC_C_CSTRING, *typestring_offset); - print_file(file, 2, "0x%x, /* FC_PAD */\n", RPC_FC_PAD); + print_file(file, 2, "0x%x,\t/* FC_PAD */\n", RPC_FC_PAD); *typestring_offset += 2; update_tfsoff(type, start_offset, file); @@ -2964,11 +2964,11 @@ static unsigned int write_array_tfs(FILE *file, const attr_list_t *attrs, type_t if (type_has_pointers(type_array_get_element(type)) && (type_array_is_decl_as_ptr(type) || !current_structure)) { - print_file(file, 2, "0x%x, /* FC_PP */\n", RPC_FC_PP); - print_file(file, 2, "0x%x, /* FC_PAD */\n", RPC_FC_PAD); + print_file(file, 2, "0x%x,\t/* FC_PP */\n", RPC_FC_PP); + print_file(file, 2, "0x%x,\t/* FC_PAD */\n", RPC_FC_PAD); *typestring_offset += 2; write_pointer_description(file, type, typestring_offset); - print_file(file, 2, "0x%x, /* FC_END */\n", RPC_FC_END); + print_file(file, 2, "0x%x,\t/* FC_END */\n", RPC_FC_END); *typestring_offset += 1; } @@ -3151,11 +3151,11 @@ static unsigned int write_struct_tfs(FILE *file, type_t *type, (fc == RPC_FC_CPSTRUCT) || (fc == RPC_FC_CVSTRUCT && type_has_pointers(type))) { - print_file(file, 2, "0x%x, /* FC_PP */\n", RPC_FC_PP); - print_file(file, 2, "0x%x, /* FC_PAD */\n", RPC_FC_PAD); + print_file(file, 2, "0x%x,\t/* FC_PP */\n", RPC_FC_PP); + print_file(file, 2, "0x%x,\t/* FC_PAD */\n", RPC_FC_PAD); *tfsoff += 2; write_pointer_description(file, type, tfsoff); - print_file(file, 2, "0x%x, /* FC_END */\n", RPC_FC_END); + print_file(file, 2, "0x%x,\t/* FC_END */\n", RPC_FC_END); *tfsoff += 1; }
1
0
0
0
Dmitry Timoshkov : widl: Move is_ptr() and is_array() to header.h and make them inline.
by Alexandre Julliard
19 Mar '14
19 Mar '14
Module: wine Branch: master Commit: e809f0bd8c21558d030acf0bd2b7cf87fdc001ce URL:
http://source.winehq.org/git/wine.git/?a=commit;h=e809f0bd8c21558d030acf0bd…
Author: Dmitry Timoshkov <dmitry(a)baikal.ru> Date: Wed Mar 19 19:26:18 2014 +0900 widl: Move is_ptr() and is_array() to header.h and make them inline. --- tools/widl/header.h | 10 ++++++++++ tools/widl/typelib.c | 10 ---------- tools/widl/widltypes.h | 3 --- 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/tools/widl/header.h b/tools/widl/header.h index 3af57d6..8ca1cf1 100644 --- a/tools/widl/header.h +++ b/tools/widl/header.h @@ -58,6 +58,16 @@ extern const var_t *get_func_handle_var( const type_t *iface, const var_t *func, extern int has_out_arg_or_return(const var_t *func); extern int is_const_decl(const var_t *var); +static inline int is_ptr(const type_t *t) +{ + return type_get_type(t) == TYPE_POINTER; +} + +static inline int is_array(const type_t *t) +{ + return type_get_type(t) == TYPE_ARRAY; +} + static inline int last_ptr(const type_t *type) { return is_ptr(type) && !is_declptr(type_pointer_get_ref(type)); diff --git a/tools/widl/typelib.c b/tools/widl/typelib.c index e3fc0b9..8632fdf 100644 --- a/tools/widl/typelib.c +++ b/tools/widl/typelib.c @@ -49,16 +49,6 @@ static typelib_t *typelib; -int is_ptr(const type_t *t) -{ - return type_get_type(t) == TYPE_POINTER; -} - -int is_array(const type_t *t) -{ - return type_get_type(t) == TYPE_ARRAY; -} - /* List of oleauto types that should be recognized by name. * (most of) these seem to be intrinsic types in mktyplib. * This table MUST be alphabetically sorted on the kw field. diff --git a/tools/widl/widltypes.h b/tools/widl/widltypes.h index 30b6560..47c8844 100644 --- a/tools/widl/widltypes.h +++ b/tools/widl/widltypes.h @@ -544,9 +544,6 @@ type_t *alloc_type(void); void set_all_tfswrite(int val); void clear_all_offsets(void); -int is_ptr(const type_t *t); -int is_array(const type_t *t); - #define tsENUM 1 #define tsSTRUCT 2 #define tsUNION 3
1
0
0
0
Alistair Leslie-Hughes : include: Add netcfgx.idl.
by Alexandre Julliard
19 Mar '14
19 Mar '14
Module: wine Branch: master Commit: 84e8d18902a6dbff11c9e89c13d2be305376e80d URL:
http://source.winehq.org/git/wine.git/?a=commit;h=84e8d18902a6dbff11c9e89c1…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Wed Mar 19 14:01:38 2014 +1100 include: Add netcfgx.idl. --- dlls/uuid/uuid.c | 1 + include/Makefile.in | 1 + include/netcfgx.idl | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 117 insertions(+) diff --git a/dlls/uuid/uuid.c b/dlls/uuid/uuid.c index fb06f2d..af96221 100644 --- a/dlls/uuid/uuid.c +++ b/dlls/uuid/uuid.c @@ -86,6 +86,7 @@ DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0); #include "commdlg.h" #include "tlogstg.h" #include "msdasc.h" +#include "netcfgx.h" /* FIXME: cguids declares GUIDs but does not define their values */ diff --git a/include/Makefile.in b/include/Makefile.in index de0e563..525e4eb 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -74,6 +74,7 @@ PUBLIC_IDL_H_SRCS = \ msxml.idl \ msxml2.idl \ msxml6.idl \ + netcfgx.idl \ netcon.idl \ netfw.idl \ oaidl.idl \ diff --git a/include/netcfgx.idl b/include/netcfgx.idl new file mode 100644 index 0000000..c465410 --- /dev/null +++ b/include/netcfgx.idl @@ -0,0 +1,115 @@ +/* + * + * Copyright 2014 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "wtypes.idl"; + +#ifndef __WIDL__ +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +[ + local, + object, + uuid(c0e8ae99-306e-11d1-aacf-00805fc1270e), + pointer_default(unique) +] +interface INetCfgComponent : IUnknown +{ + typedef enum tagCOMPONENT_CHARACTERISTICS + { + NCF_VIRTUAL = 0x00000001, + NCF_SOFTWARE_ENUMERATED = 0x00000002, + NCF_PHYSICAL = 0x00000004, + NCF_HIDDEN = 0x00000008, + NCF_NO_SERVICE = 0x00000010, + NCF_NOT_USER_REMOVABLE = 0x00000020, + NCF_MULTIPORT_INSTANCED_ADAPTER = 0x00000040, + NCF_HAS_UI = 0x00000080, + NCF_SINGLE_INSTANCE = 0x00000100, + NCF_FILTER = 0x00000400, + NCF_DONTEXPOSELOWER = 0x00001000, + NCF_HIDE_BINDING = 0x00002000, + NCF_NDIS_PROTOCOL = 0x00004000, + NCF_FIXED_BINDING = 0x00020000, + NCF_LW_FILTER = 0x00040000 + } COMPONENT_CHARACTERISTICS; + + typedef enum tagNCRP_FLAGS + { + NCRP_QUERY_PROPERTY_UI = 0x00000001, + NCRP_SHOW_PROPERTY_UI = 0x00000002 + } NCRP_FLAGS; + + HRESULT GetDisplayName ([out] LPWSTR* ppszwDisplayName); + HRESULT SetDisplayName ([in] LPCWSTR pszwDisplayName); + HRESULT GetHelpText ([out] LPWSTR* pszwHelpText); + HRESULT GetId ([out] LPWSTR* ppszwId); + HRESULT GetCharacteristics ([out] LPDWORD pdwCharacteristics); + HRESULT GetInstanceGuid ([out] GUID* pGuid); + HRESULT GetPnpDevNodeId ([out] LPWSTR* ppszwDevNodeId); + HRESULT GetClassGuid ([out] GUID* pGuid); + HRESULT GetBindName ([out] LPWSTR* ppszwBindName); + HRESULT GetDeviceStatus ([out] ULONG* pulStatus); + HRESULT OpenParamKey ([out] HKEY* phkey); + HRESULT RaisePropertyUi ([in] HWND hwndParent, [in] DWORD dwFlags, [in] IUnknown* punkContext); +}; + + +[ + local, + object, + uuid(c0e8ae92-306e-11d1-aacf-00805fc1270e), + pointer_default(unique) +] +interface IEnumNetCfgComponent : IUnknown +{ + HRESULT Next ([in] ULONG celt, [out] INetCfgComponent** rgelt, [out] ULONG *pceltFetched); + HRESULT Skip ([in] ULONG celt); + HRESULT Reset (); + HRESULT Clone ([out] IEnumNetCfgComponent** ppenum); +}; + +[ + local, + object, + uuid(c0e8ae93-306e-11d1-aacf-00805fc1270e), + pointer_default(unique) +] +interface INetCfg : IUnknown +{ + HRESULT Initialize ([in] PVOID pvReserved); + HRESULT Uninitialize (); + HRESULT Apply (); + HRESULT Cancel (); + HRESULT EnumComponents ([in] const GUID* pguidClass, [out] IEnumNetCfgComponent** ppenumComponent); + HRESULT FindComponent ([in] LPCWSTR pszwInfId, [out] INetCfgComponent** pComponent); + HRESULT QueryNetCfgClass ([in] const GUID* pguidClass, [in] REFIID riid,[out] void** ppvObject); +}; + +[ + threading(both), + uuid(5b035261-40f9-11d1-aaec-00805fc1270e) +] +coclass CNetCfg +{ + [default] interface INetCfg; +}
1
0
0
0
Alistair Leslie-Hughes : ntoskrnl.exe: Add stub KeInsertQueue.
by Alexandre Julliard
19 Mar '14
19 Mar '14
Module: wine Branch: master Commit: d8c6a11971289a1e40fe379b90b33bcf522bfa55 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d8c6a11971289a1e40fe379b9…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Wed Mar 19 09:54:29 2014 +1100 ntoskrnl.exe: Add stub KeInsertQueue. --- dlls/ntoskrnl.exe/ntoskrnl.c | 9 +++++++++ dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +- include/Makefile.in | 1 + include/ddk/ntifs.h | 31 +++++++++++++++++++++++++++++++ 4 files changed, 42 insertions(+), 1 deletion(-) diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c index 69e56d7..17a0d39 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.c +++ b/dlls/ntoskrnl.exe/ntoskrnl.c @@ -34,6 +34,7 @@ #include "excpt.h" #include "winioctl.h" #include "ddk/ntddk.h" +#include "ddk/ntifs.h" #include "wine/unicode.h" #include "wine/server.h" #include "wine/list.h" @@ -1287,6 +1288,14 @@ void WINAPI KeInitializeTimer( PKTIMER Timer ) KeInitializeTimerEx(Timer, NotificationTimer); } +/*********************************************************************** + * KeInsertQueue (NTOSKRNL.EXE.@) + */ +LONG WINAPI KeInsertQueue(PRKQUEUE Queue, PLIST_ENTRY Entry) +{ + FIXME( "stub: %p %p\n", Queue, Entry ); + return 0; +} /********************************************************************** * KeQueryActiveProcessors (NTOSKRNL.EXE.@) diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec index e70c380..b9de94b 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec +++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec @@ -558,7 +558,7 @@ @ stub KeInsertByKeyDeviceQueue @ stub KeInsertDeviceQueue @ stub KeInsertHeadQueue -@ stub KeInsertQueue +@ stdcall KeInsertQueue(ptr ptr) @ stub KeInsertQueueApc @ stub KeInsertQueueDpc @ stub KeIsAttachedProcess diff --git a/include/Makefile.in b/include/Makefile.in index 7153467..de0e563 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -244,6 +244,7 @@ SRCDIR_INCLUDES = \ ddk/ntddk.h \ ddk/ntddser.h \ ddk/ntddtape.h \ + ddk/ntifs.h \ ddk/usb.h \ ddk/usb100.h \ ddk/usb200.h \ diff --git a/include/ddk/ntifs.h b/include/ddk/ntifs.h new file mode 100644 index 0000000..37ec637 --- /dev/null +++ b/include/ddk/ntifs.h @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2014 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __NTIFS_H__ +#define __NTIFS_H__ + +typedef struct _KQUEUE +{ + DISPATCHER_HEADER Header; + LIST_ENTRY EntryListHead; + volatile ULONG CurrentCount; + ULONG MaximumCount; + LIST_ENTRY ThreadListHead; +} KQUEUE, *PKQUEUE, *RESTRICTED_POINTER PRKQUEUE; + +#endif
1
0
0
0
Alistair Leslie-Hughes : ntoskrnl.exe: Add stub MmUnlockPagableImageSection.
by Alexandre Julliard
19 Mar '14
19 Mar '14
Module: wine Branch: master Commit: ba138930309410df79d2fe20e57516c36244b7ce URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ba138930309410df79d2fe20e…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Wed Mar 19 10:12:02 2014 +1100 ntoskrnl.exe: Add stub MmUnlockPagableImageSection. --- dlls/ntoskrnl.exe/ntoskrnl.c | 7 +++++++ dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c index f227e11..69e56d7 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.c +++ b/dlls/ntoskrnl.exe/ntoskrnl.c @@ -1521,6 +1521,13 @@ PVOID WINAPI MmMapLockedPagesSpecifyCache(PMDLX MemoryDescriptorList, KPROCESSO return NULL; } +/*********************************************************************** + * MmUnlockPagableImageSection (NTOSKRNL.EXE.@) + */ +VOID WINAPI MmUnlockPagableImageSection(PVOID ImageSectionHandle) +{ + FIXME("stub %p\n", ImageSectionHandle); +} /*********************************************************************** * MmPageEntireDriver (NTOSKRNL.EXE.@) diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec index cec8c87..e70c380 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec +++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec @@ -716,7 +716,7 @@ @ stub MmSizeOfMdl @ stub MmSystemRangeStart @ stub MmTrimAllSystemPagableMemory -@ stub MmUnlockPagableImageSection +@ stdcall MmUnlockPagableImageSection(ptr) @ stdcall MmUnlockPages(ptr) @ stdcall MmUnmapIoSpace(ptr long) @ stub MmUnmapLockedPages
1
0
0
0
← Newer
1
...
17
18
19
20
21
22
23
...
53
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
Results per page:
10
25
50
100
200