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
February 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
2 participants
965 discussions
Start a n
N
ew thread
Francois Gouget : progman: Make DIALOG_Symbol() static.
by Alexandre Julliard
09 Feb '09
09 Feb '09
Module: wine Branch: master Commit: 7274de8888a64eefe3175fee2e57538619e929e0 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=7274de8888a64eefe3175fee2…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sat Feb 7 16:10:33 2009 +0100 progman: Make DIALOG_Symbol() static. --- programs/progman/dialog.c | 2 +- programs/progman/progman.h | 2 -- 2 files changed, 1 insertions(+), 3 deletions(-) diff --git a/programs/progman/dialog.c b/programs/progman/dialog.c index f862b08..fc7c7fd 100644 --- a/programs/progman/dialog.c +++ b/programs/progman/dialog.c @@ -406,7 +406,7 @@ static INT_PTR CALLBACK DIALOG_SYMBOL_DlgProc(HWND hDlg, UINT msg, WPARAM wParam * * DIALOG_Symbol */ -VOID DIALOG_Symbol(HICON *lphIcon, LPSTR lpszIconFile, +static VOID DIALOG_Symbol(HICON *lphIcon, LPSTR lpszIconFile, INT *lpnIconIndex, INT nSize) { DLGPROC lpfnDlg = MakeProcInstance(DIALOG_SYMBOL_DlgProc, Globals.hInstance); diff --git a/programs/progman/progman.h b/programs/progman/progman.h index 59004b9..5f7504b 100644 --- a/programs/progman/progman.h +++ b/programs/progman/progman.h @@ -184,8 +184,6 @@ BOOL DIALOG_ProgramAttributes(LPSTR lpszTitle, LPSTR lpszCmdLine, LPSTR lpszWorkDir, LPSTR lpszIconFile, HICON *lphIcon, INT *nIconIndex, INT *lpnHotKey, INT *lpnCmdShow, INT nSize); -VOID DIALOG_Symbol(HICON *lphIcon, LPSTR lpszIconFile, - INT *lpnIconIndex, INT nSize); VOID DIALOG_Execute(void); VOID STRING_LoadMenus(VOID);
1
0
0
0
Francois Gouget : taskmgr: Make some functions static.
by Alexandre Julliard
09 Feb '09
09 Feb '09
Module: wine Branch: master Commit: c6643c61086a9466f73f2bdcc8f192f3cff8d441 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c6643c61086a9466f73f2bdcc…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sat Feb 7 16:09:34 2009 +0100 taskmgr: Make some functions static. --- programs/taskmgr/applpage.c | 2 +- programs/taskmgr/graphctl.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/programs/taskmgr/applpage.c b/programs/taskmgr/applpage.c index c7450ac..8fb923d 100644 --- a/programs/taskmgr/applpage.c +++ b/programs/taskmgr/applpage.c @@ -507,7 +507,7 @@ void RefreshApplicationPage(void) SetEvent(hApplicationPageEvent); } -void UpdateApplicationListControlViewSetting(void) +static void UpdateApplicationListControlViewSetting(void) { DWORD dwStyle = GetWindowLong(hApplicationPageListCtrl, GWL_STYLE); diff --git a/programs/taskmgr/graphctl.c b/programs/taskmgr/graphctl.c index 305b56c..657ac6c 100644 --- a/programs/taskmgr/graphctl.c +++ b/programs/taskmgr/graphctl.c @@ -124,7 +124,7 @@ TGraphCtrl::~TGraphCtrl(void) } #endif -void GraphCtrl_Resize(TGraphCtrl* this) +static void GraphCtrl_Resize(TGraphCtrl* this) { /* NOTE: Resize automatically gets called during the setup of the control */ GetClientRect(this->m_hWnd, &this->m_rectClient); @@ -165,7 +165,7 @@ BOOL GraphCtrl_Create(TGraphCtrl* this, HWND hWnd, HWND hParentWnd, UINT nID) return 0; } -void GraphCtrl_InvalidateCtrl(TGraphCtrl* this) +static void GraphCtrl_InvalidateCtrl(TGraphCtrl* this) { /* There is a lot of drawing going on here - particularly in terms of */ /* drawing the grid. Don't panic, this is all being drawn (only once) */ @@ -374,7 +374,7 @@ void GraphCtrl_SetBackgroundColor(TGraphCtrl* this, COLORREF color) GraphCtrl_InvalidateCtrl(this); } -void GraphCtrl_DrawPoint(TGraphCtrl* this) +static void GraphCtrl_DrawPoint(TGraphCtrl* this) { /* this does the work of "scrolling" the plot to the left * and appending a new data point all of the plotting is @@ -477,7 +477,7 @@ double GraphCtrl_AppendPoint(TGraphCtrl* this, return dPrevious; } -void GraphCtrl_Paint(TGraphCtrl* this, HWND hWnd, HDC dc) +static void GraphCtrl_Paint(TGraphCtrl* this, HWND hWnd, HDC dc) { HDC memDC; HBITMAP memBitmap;
1
0
0
0
Francois Gouget : shell32: HCR_GetDefaultIconFromGUIDW() is unused so remove it.
by Alexandre Julliard
09 Feb '09
09 Feb '09
Module: wine Branch: master Commit: 0ecc22be616144c90ee4313e15e7bcff1dcb843a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0ecc22be616144c90ee4313e1…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sat Feb 7 16:09:28 2009 +0100 shell32: HCR_GetDefaultIconFromGUIDW() is unused so remove it. --- dlls/shell32/classes.c | 14 -------------- dlls/shell32/shell32_main.h | 1 - 2 files changed, 0 insertions(+), 15 deletions(-) diff --git a/dlls/shell32/classes.c b/dlls/shell32/classes.c index 73c8822..f4aa870 100644 --- a/dlls/shell32/classes.c +++ b/dlls/shell32/classes.c @@ -313,20 +313,6 @@ BOOL HCR_GetDefaultIconA(LPCSTR szClass, LPSTR szDest, DWORD len, int* picon_idx return ret; } -BOOL HCR_GetDefaultIconFromGUIDW(REFIID riid, LPWSTR szDest, DWORD len, int* picon_idx) -{ - HKEY hkey; - BOOL ret = FALSE; - - if (HCR_RegOpenClassIDKey(riid, &hkey)) - { - ret = HCR_RegGetDefaultIconW(hkey, szDest, len, picon_idx); - RegCloseKey(hkey); - } - TRACE("-- %s %i\n", debugstr_w(szDest), *picon_idx); - return ret; -} - /*************************************************************************************** * HCR_GetClassName [internal] * diff --git a/dlls/shell32/shell32_main.h b/dlls/shell32/shell32_main.h index a508916..88ffb0c 100644 --- a/dlls/shell32/shell32_main.h +++ b/dlls/shell32/shell32_main.h @@ -60,7 +60,6 @@ BOOL HCR_MapTypeToValueW(LPCWSTR szExtension, LPWSTR szFileType, LONG len, BOOL BOOL HCR_GetDefaultVerbW( HKEY hkeyClass, LPCWSTR szVerb, LPWSTR szDest, DWORD len ); BOOL HCR_GetExecuteCommandW( HKEY hkeyClass, LPCWSTR szClass, LPCWSTR szVerb, LPWSTR szDest, DWORD len ); BOOL HCR_GetDefaultIconW(LPCWSTR szClass, LPWSTR szDest, DWORD len, int* picon_idx); -BOOL HCR_GetDefaultIconFromGUIDW(REFIID riid, LPWSTR szDest, DWORD len, int* picon_idx); BOOL HCR_GetClassNameW(REFIID riid, LPWSTR szDest, DWORD len); /* ANSI versions of above functions, supposed to go away as soon as they are not used anymore */
1
0
0
0
Francois Gouget : shell32: Get rid of TRASH_ELEMENT and TRASH_DisposeElement().
by Alexandre Julliard
09 Feb '09
09 Feb '09
Module: wine Branch: master Commit: fc93ff351eb3e03c30f4082337b0a10e82fc3886 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=fc93ff351eb3e03c30f408233…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sat Feb 7 16:09:05 2009 +0100 shell32: Get rid of TRASH_ELEMENT and TRASH_DisposeElement(). The latter was unused while the former did not seem very useful. --- dlls/shell32/recyclebin.c | 4 +- dlls/shell32/trash.c | 59 ++++++++++++++------------------------------ dlls/shell32/xdg.h | 6 +---- 3 files changed, 22 insertions(+), 47 deletions(-) diff --git a/dlls/shell32/recyclebin.c b/dlls/shell32/recyclebin.c index fef478d..a538b3c 100644 --- a/dlls/shell32/recyclebin.c +++ b/dlls/shell32/recyclebin.c @@ -311,7 +311,7 @@ static HRESULT WINAPI RecycleBin_GetDisplayNameOf(IShellFolder2 *This, LPCITEMID WIN32_FIND_DATAW data; TRACE("(%p, %p, %x, %p)\n", This, pidl, uFlags, pName); - TRASH_UnpackItemID(&pidl->mkid, NULL, &data); + TRASH_UnpackItemID(&pidl->mkid, &data); pName->uType = STRRET_WSTR; pName->u.pOleStr = StrDupW(PathFindFileNameW(data.cFileName)); if (pName->u.pOleStr == NULL) @@ -414,7 +414,7 @@ static HRESULT WINAPI RecycleBin_GetDetailsOf(IShellFolder2 *iface, LPCITEMIDLIS if (iColumn == COLUMN_NAME) return RecycleBin_GetDisplayNameOf(iface, pidl, SHGDN_NORMAL, &pDetails->str); - TRASH_UnpackItemID(&pidl->mkid, NULL, &data); + TRASH_UnpackItemID(&pidl->mkid, &data); switch (iColumn) { case COLUMN_DATEDEL: diff --git a/dlls/shell32/trash.c b/dlls/shell32/trash.c index d692046..6f9cae4 100644 --- a/dlls/shell32/trash.c +++ b/dlls/shell32/trash.c @@ -320,24 +320,18 @@ BOOL TRASH_TrashFile(LPCWSTR wszPath) * bucket name - currently only an empty string meaning the home bucket is supported * trash file name - a NUL-terminated string */ -struct tagTRASH_ELEMENT +static HRESULT TRASH_CreateSimplePIDL(LPCSTR filename, const WIN32_FIND_DATAW *data, LPITEMIDLIST *pidlOut) { - TRASH_BUCKET *bucket; - LPSTR filename; -}; - -static HRESULT TRASH_CreateSimplePIDL(const TRASH_ELEMENT *element, const WIN32_FIND_DATAW *data, LPITEMIDLIST *pidlOut) -{ - LPITEMIDLIST pidl = SHAlloc(2+1+sizeof(WIN32_FIND_DATAW)+1+lstrlenA(element->filename)+1+2); + LPITEMIDLIST pidl = SHAlloc(2+1+sizeof(WIN32_FIND_DATAW)+1+lstrlenA(filename)+1+2); *pidlOut = NULL; if (pidl == NULL) return E_OUTOFMEMORY; - pidl->mkid.cb = (USHORT)(2+1+sizeof(WIN32_FIND_DATAW)+1+lstrlenA(element->filename)+1); + pidl->mkid.cb = (USHORT)(2+1+sizeof(WIN32_FIND_DATAW)+1+lstrlenA(filename)+1); pidl->mkid.abID[0] = 0; memcpy(pidl->mkid.abID+1, data, sizeof(WIN32_FIND_DATAW)); pidl->mkid.abID[1+sizeof(WIN32_FIND_DATAW)] = 0; - lstrcpyA((LPSTR)(pidl->mkid.abID+1+sizeof(WIN32_FIND_DATAW)+1), element->filename); - *(USHORT *)(pidl->mkid.abID+1+sizeof(WIN32_FIND_DATAW)+1+lstrlenA(element->filename)+1) = 0; + lstrcpyA((LPSTR)(pidl->mkid.abID+1+sizeof(WIN32_FIND_DATAW)+1), filename); + *(USHORT *)(pidl->mkid.abID+1+sizeof(WIN32_FIND_DATAW)+1+lstrlenA(filename)+1) = 0; *pidlOut = pidl; return S_OK; } @@ -346,17 +340,15 @@ static HRESULT TRASH_CreateSimplePIDL(const TRASH_ELEMENT *element, const WIN32_ * TRASH_UnpackItemID [Internal] * * DESCRIPTION: - * Extract the information stored in an Item ID. The TRASH_ELEMENT - * identifies the element in the Trash. The WIN32_FIND_DATA contains the - * information about the original file. The data->ftLastAccessTime contains + * Extract the information stored in an Item ID. The WIN32_FIND_DATA contains + * the information about the original file. The data->ftLastAccessTime contains * the deletion time * * PARAMETER(S): * [I] id : the ID of the item - * [O] element : the trash element this item id contains. Can be NULL if not needed * [O] data : the WIN32_FIND_DATA of the original file. Can be NULL is not needed */ -HRESULT TRASH_UnpackItemID(LPCSHITEMID id, TRASH_ELEMENT *element, WIN32_FIND_DATAW *data) +HRESULT TRASH_UnpackItemID(LPCSHITEMID id, WIN32_FIND_DATAW *data) { if (id->cb < 2+1+sizeof(WIN32_FIND_DATAW)+2) return E_INVALIDARG; @@ -367,22 +359,10 @@ HRESULT TRASH_UnpackItemID(LPCSHITEMID id, TRASH_ELEMENT *element, WIN32_FIND_DA if (data != NULL) *data = *(WIN32_FIND_DATAW *)(id->abID+1); - if (element != NULL) - { - element->bucket = home_trash; - element->filename = StrDupA((LPCSTR)(id->abID+1+sizeof(WIN32_FIND_DATAW)+1)); - if (element->filename == NULL) - return E_OUTOFMEMORY; - } return S_OK; } -void TRASH_DisposeElement(TRASH_ELEMENT *element) -{ - SHFree(element->filename); -} - -static HRESULT TRASH_GetDetails(const TRASH_ELEMENT *element, WIN32_FIND_DATAW *data) +static HRESULT TRASH_GetDetails(const TRASH_BUCKET *bucket, LPCSTR filename, WIN32_FIND_DATAW *data) { LPSTR path = NULL; XDG_PARSED_FILE *parsed = NULL; @@ -393,21 +373,21 @@ static HRESULT TRASH_GetDetails(const TRASH_ELEMENT *element, WIN32_FIND_DATAW * HRESULT ret = S_FALSE; LPWSTR original_dos_name; int suffix_length = lstrlenA(trashinfo_suffix); - int filename_length = lstrlenA(element->filename); - int files_length = lstrlenA(element->bucket->files_dir); - int path_length = max(lstrlenA(element->bucket->info_dir), files_length); + int filename_length = lstrlenA(filename); + int files_length = lstrlenA(bucket->files_dir); + int path_length = max(lstrlenA(bucket->info_dir), files_length); path = SHAlloc(path_length + filename_length + 1); if (path == NULL) return E_OUTOFMEMORY; - wsprintfA(path, "%s%s", element->bucket->files_dir, element->filename); + wsprintfA(path, "%s%s", bucket->files_dir, filename); path[path_length + filename_length - suffix_length] = 0; /* remove the '.trashinfo' */ if (lstat(path, &stats) == -1) { - ERR("Error accessing data file for trashinfo %s (errno=%d)\n", element->filename, errno); + ERR("Error accessing data file for trashinfo %s (errno=%d)\n", filename, errno); goto failed; } - wsprintfA(path, "%s%s", element->bucket->info_dir, element->filename); + wsprintfA(path, "%s%s", bucket->info_dir, filename); fd = open(path, O_RDONLY); if (fd == -1) { @@ -536,15 +516,14 @@ HRESULT TRASH_EnumItems(LPITEMIDLIST **pidls, int *count) for (i=0; i<ti_count; i++) { WIN32_FIND_DATAW data; - TRASH_ELEMENT elem; + LPCSTR filename; - elem.bucket = home_trash; - elem.filename = DPA_GetPtr(tinfs, i); - if (FAILED(err = TRASH_GetDetails(&elem, &data))) + filename = DPA_GetPtr(tinfs, i); + if (FAILED(err = TRASH_GetDetails(home_trash, filename, &data))) goto failed; if (err == S_FALSE) continue; - if (FAILED(err = TRASH_CreateSimplePIDL(&elem, &data, &(*pidls)[pos]))) + if (FAILED(err = TRASH_CreateSimplePIDL(filename, &data, &(*pidls)[pos]))) goto failed; pos++; } diff --git a/dlls/shell32/xdg.h b/dlls/shell32/xdg.h index daa864f..f010632 100644 --- a/dlls/shell32/xdg.h +++ b/dlls/shell32/xdg.h @@ -37,14 +37,10 @@ XDG_PARSED_FILE *XDG_ParseDesktopFile(int fd); char *XDG_GetStringValue(XDG_PARSED_FILE *file, const char *group_name, const char *value_name, DWORD dwFlags); void XDG_FreeParsedFile(XDG_PARSED_FILE *file); -/* implemented in trash.c */ -typedef struct tagTRASH_ELEMENT TRASH_ELEMENT; - BOOL TRASH_CanTrashFile(LPCWSTR wszPath); BOOL TRASH_TrashFile(LPCWSTR wszPath); -HRESULT TRASH_UnpackItemID(LPCSHITEMID id, TRASH_ELEMENT *element, WIN32_FIND_DATAW *data); +HRESULT TRASH_UnpackItemID(LPCSHITEMID id, WIN32_FIND_DATAW *data); HRESULT TRASH_EnumItems(LPITEMIDLIST **pidls, int *count); -void TRASH_DisposeElement(TRASH_ELEMENT *element); HRESULT XDG_UserDirLookup(const char * const *xdg_dirs, const unsigned int num_dirs, char *** out_ptr);
1
0
0
0
Francois Gouget : shell32: Remove some unused functions in clipboard.c.
by Alexandre Julliard
09 Feb '09
09 Feb '09
Module: wine Branch: master Commit: 59c00d55685c526aec65e87bcf3e0ced2a9369d7 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=59c00d55685c526aec65e87bc…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sat Feb 7 16:08:22 2009 +0100 shell32: Remove some unused functions in clipboard.c. --- dlls/shell32/clipboard.c | 33 --------------------------------- dlls/shell32/shell32_main.h | 4 ---- 2 files changed, 0 insertions(+), 37 deletions(-) diff --git a/dlls/shell32/clipboard.c b/dlls/shell32/clipboard.c index b19d0ed..82df534 100644 --- a/dlls/shell32/clipboard.c +++ b/dlls/shell32/clipboard.c @@ -151,24 +151,6 @@ HGLOBAL RenderSHELLIDLIST (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cid return hGlobal; } -HGLOBAL RenderSHELLIDLISTOFFSET (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl) -{ - FIXME("\n"); - return 0; -} - -HGLOBAL RenderFILECONTENTS (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl) -{ - FIXME("\n"); - return 0; -} - -HGLOBAL RenderFILEDESCRIPTOR (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl) -{ - FIXME("\n"); - return 0; -} - HGLOBAL RenderFILENAMEA (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl) { int size = 0; @@ -232,18 +214,3 @@ HGLOBAL RenderFILENAMEW (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl) return hGlobal; } - -HGLOBAL RenderPREFEREDDROPEFFECT (DWORD dwFlags) -{ - DWORD * pdwFlag; - HGLOBAL hGlobal; - - TRACE("(0x%08x)\n", dwFlags); - - hGlobal = GlobalAlloc(GHND|GMEM_SHARE, sizeof(DWORD)); - if(!hGlobal) return hGlobal; - pdwFlag = GlobalLock(hGlobal); - *pdwFlag = dwFlags; - GlobalUnlock(hGlobal); - return hGlobal; -} diff --git a/dlls/shell32/shell32_main.h b/dlls/shell32/shell32_main.h index 920625f..a508916 100644 --- a/dlls/shell32/shell32_main.h +++ b/dlls/shell32/shell32_main.h @@ -131,12 +131,8 @@ HRESULT WINAPI Shell_MergeMenus (HMENU hmDst, HMENU hmSrc, UINT uInsert, UINT uI HGLOBAL RenderHDROP(LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl); HGLOBAL RenderSHELLIDLIST (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl); -HGLOBAL RenderSHELLIDLISTOFFSET (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl); -HGLOBAL RenderFILECONTENTS (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl); -HGLOBAL RenderFILEDESCRIPTOR (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl); HGLOBAL RenderFILENAMEA (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl); HGLOBAL RenderFILENAMEW (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl); -HGLOBAL RenderPREFEREDDROPEFFECT (DWORD dwFlags); /* Change Notification */ void InitChangeNotifications(void);
1
0
0
0
Francois Gouget : winealsa.drv: ALSA_PeekRingMessage() is not used anymore so remove it.
by Alexandre Julliard
09 Feb '09
09 Feb '09
Module: wine Branch: master Commit: a8187db2fbf48d12c78748bca0a009bdcd1a0aec URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a8187db2fbf48d12c78748bca…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sat Feb 7 16:07:37 2009 +0100 winealsa.drv: ALSA_PeekRingMessage() is not used anymore so remove it. --- dlls/winealsa.drv/alsa.c | 25 ------------------------- dlls/winealsa.drv/alsa.h | 1 - 2 files changed, 0 insertions(+), 26 deletions(-) diff --git a/dlls/winealsa.drv/alsa.c b/dlls/winealsa.drv/alsa.c index dea7722..f16d013 100644 --- a/dlls/winealsa.drv/alsa.c +++ b/dlls/winealsa.drv/alsa.c @@ -213,31 +213,6 @@ int ALSA_RetrieveRingMessage(ALSA_MSG_RING* omr, enum win_wm_message *msg, return 1; } -/****************************************************************** - * ALSA_PeekRingMessage - * - * Peek at a message from the ring but do not remove it. - * Should be called by the playback/record thread. - */ -int ALSA_PeekRingMessage(ALSA_MSG_RING* omr, - enum win_wm_message *msg, - DWORD_PTR *param, HANDLE *hEvent) -{ - EnterCriticalSection(&omr->msg_crst); - - if (omr->msg_toget == omr->msg_tosave) /* buffer empty ? */ - { - LeaveCriticalSection(&omr->msg_crst); - return 0; - } - - *msg = omr->messages[omr->msg_toget].msg; - *param = omr->messages[omr->msg_toget].param; - *hEvent = omr->messages[omr->msg_toget].hEvent; - LeaveCriticalSection(&omr->msg_crst); - return 1; -} - /*======================================================================* * Utility functions * *======================================================================*/ diff --git a/dlls/winealsa.drv/alsa.h b/dlls/winealsa.drv/alsa.h index c88925d..88529fb 100644 --- a/dlls/winealsa.drv/alsa.h +++ b/dlls/winealsa.drv/alsa.h @@ -179,7 +179,6 @@ void ALSA_ResetRingMessage(ALSA_MSG_RING* omr); void ALSA_WaitRingMessage(ALSA_MSG_RING* omr, DWORD sleep); int ALSA_AddRingMessage(ALSA_MSG_RING* omr, enum win_wm_message msg, DWORD_PTR param, BOOL wait); int ALSA_RetrieveRingMessage(ALSA_MSG_RING* omr, enum win_wm_message *msg, DWORD_PTR *param, HANDLE *hEvent); -int ALSA_PeekRingMessage(ALSA_MSG_RING* omr, enum win_wm_message *msg, DWORD_PTR *param, HANDLE *hEvent); int ALSA_CheckSetVolume(snd_hctl_t *hctl, int *out_left, int *out_right, int *out_min, int *out_max, int *out_step, int *new_left, int *new_right); const char * ALSA_getCmdString(enum win_wm_message msg);
1
0
0
0
Francois Gouget : urlmon: Make create_http_protocol() static.
by Alexandre Julliard
09 Feb '09
09 Feb '09
Module: wine Branch: master Commit: 4617d7753d768a854e1fb59f305e60b98b29134d URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4617d7753d768a854e1fb59f3…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sat Feb 7 16:06:11 2009 +0100 urlmon: Make create_http_protocol() static. --- dlls/urlmon/http.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/urlmon/http.c b/dlls/urlmon/http.c index 2e73653..9bb4ffa 100644 --- a/dlls/urlmon/http.c +++ b/dlls/urlmon/http.c @@ -933,7 +933,7 @@ static const IInternetProtocolVtbl HttpProtocolVtbl = { HttpProtocol_UnlockRequest }; -HRESULT create_http_protocol(BOOL https, void **ppobj) +static HRESULT create_http_protocol(BOOL https, void **ppobj) { HttpProtocol *ret;
1
0
0
0
Francois Gouget : user32: Make EditWndProcW() static, fix its documentation .
by Alexandre Julliard
09 Feb '09
09 Feb '09
Module: wine Branch: master Commit: 07b7da77d4b8f68e5c1dc7f053096e76ff80139c URL:
http://source.winehq.org/git/wine.git/?a=commit;h=07b7da77d4b8f68e5c1dc7f05…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sat Feb 7 16:06:02 2009 +0100 user32: Make EditWndProcW() static, fix its documentation. --- dlls/user32/edit.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c index 636b957..ee9fb3f 100644 --- a/dlls/user32/edit.c +++ b/dlls/user32/edit.c @@ -5408,9 +5408,9 @@ LRESULT WINAPI EditWndProcA(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) /********************************************************************* * - * EditWndProcW (USER32.@) + * EditWndProcW */ -LRESULT WINAPI EditWndProcW(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) +static LRESULT WINAPI EditWndProcW(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { return EditWndProc_common(hWnd, uMsg, wParam, lParam, TRUE); }
1
0
0
0
Francois Gouget : user32: Reorder some functions to avoid forward declarations in edit.c.
by Alexandre Julliard
09 Feb '09
09 Feb '09
Module: wine Branch: master Commit: 9e7b55675d0039cddcd76145b6d17e61ba8610c0 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9e7b55675d0039cddcd76145b…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sat Feb 7 16:05:33 2009 +0100 user32: Reorder some functions to avoid forward declarations in edit.c. --- dlls/user32/edit.c | 4078 +++++++++++++++++++++++++--------------------------- 1 files changed, 1998 insertions(+), 2080 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=9e7b55675d0039cddcd76…
1
0
0
0
Francois Gouget : user32: Remove unneeded forward declarations in edit.c.
by Alexandre Julliard
09 Feb '09
09 Feb '09
Module: wine Branch: master Commit: 0e9695d9c865e3cc3cfbbefdae791924a2be1b08 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0e9695d9c865e3cc3cfbbefda…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sat Feb 7 16:05:22 2009 +0100 user32: Remove unneeded forward declarations in edit.c. --- dlls/user32/edit.c | 31 ------------------------------- 1 files changed, 0 insertions(+), 31 deletions(-) diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c index 6914906..d37cec8 100644 --- a/dlls/user32/edit.c +++ b/dlls/user32/edit.c @@ -180,46 +180,15 @@ typedef struct */ /* - * These functions have trivial implementations - * We still like to call them internally - * "static inline" makes them more like macro's - */ -static inline BOOL EDIT_EM_CanUndo(const EDITSTATE *es); -static inline void EDIT_EM_EmptyUndoBuffer(EDITSTATE *es); -static inline void EDIT_WM_Clear(EDITSTATE *es); -static inline void EDIT_WM_Cut(EDITSTATE *es); - -/* * Helper functions only valid for one type of control */ -static void EDIT_BuildLineDefs_ML(EDITSTATE *es, INT iStart, INT iEnd, INT delta, HRGN hrgn); -static void EDIT_CalcLineWidth_SL(EDITSTATE *es); static LPWSTR EDIT_GetPasswordPointer_SL(EDITSTATE *es); -static void EDIT_MoveDown_ML(EDITSTATE *es, BOOL extend); -static void EDIT_MovePageDown_ML(EDITSTATE *es, BOOL extend); -static void EDIT_MovePageUp_ML(EDITSTATE *es, BOOL extend); -static void EDIT_MoveUp_ML(EDITSTATE *es, BOOL extend); /* * Helper functions valid for both single line _and_ multi line controls */ static INT EDIT_CallWordBreakProc(EDITSTATE *es, INT start, INT index, INT count, INT action); -static INT EDIT_CharFromPos(EDITSTATE *es, INT x, INT y, LPBOOL after_wrap); -static void EDIT_ConfinePoint(const EDITSTATE *es, LPINT x, LPINT y); -static void EDIT_GetLineRect(EDITSTATE *es, INT line, INT scol, INT ecol, LPRECT rc); -static void EDIT_InvalidateText(EDITSTATE *es, INT start, INT end); static void EDIT_LockBuffer(EDITSTATE *es); -static BOOL EDIT_MakeFit(EDITSTATE *es, UINT size); -static BOOL EDIT_MakeUndoFit(EDITSTATE *es, UINT size); -static void EDIT_MoveBackward(EDITSTATE *es, BOOL extend); -static void EDIT_MoveEnd(EDITSTATE *es, BOOL extend, BOOL ctrl); -static void EDIT_MoveForward(EDITSTATE *es, BOOL extend); -static void EDIT_MoveHome(EDITSTATE *es, BOOL extend, BOOL ctrl); -static void EDIT_MoveWordBackward(EDITSTATE *es, BOOL extend); -static void EDIT_MoveWordForward(EDITSTATE *es, BOOL extend); -static void EDIT_PaintLine(EDITSTATE *es, HDC hdc, INT line, BOOL rev); static INT EDIT_PaintText(EDITSTATE *es, HDC hdc, INT x, INT y, INT line, INT col, INT count, BOOL rev); -static void EDIT_SetCaretPos(EDITSTATE *es, INT pos, BOOL after_wrap); -static void EDIT_AdjustFormatRect(EDITSTATE *es); static void EDIT_SetRectNP(EDITSTATE *es, const RECT *lprc); static void EDIT_UnlockBuffer(EDITSTATE *es, BOOL force); static void EDIT_UpdateScrollInfo(EDITSTATE *es);
1
0
0
0
← Newer
1
...
64
65
66
67
68
69
70
...
97
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
Results per page:
10
25
50
100
200