diff options
Diffstat (limited to 'src')
28 files changed, 4 insertions, 37 deletions
diff --git a/src/core/stdautoaway/src/main.cpp b/src/core/stdautoaway/src/main.cpp index 58f414e5ac..16bf735564 100644 --- a/src/core/stdautoaway/src/main.cpp +++ b/src/core/stdautoaway/src/main.cpp @@ -32,7 +32,6 @@ PLUGININFOEX pluginInfo = { MIRANDA_VERSION_DWORD,
__DESCRIPTION,
__AUTHOR,
- __AUTHOREMAIL,
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
diff --git a/src/core/stdautoaway/src/version.h b/src/core/stdautoaway/src/version.h index 84fee2edca..3952127b07 100644 --- a/src/core/stdautoaway/src/version.h +++ b/src/core/stdautoaway/src/version.h @@ -7,6 +7,5 @@ #define __FILENAME "stdautoaway.dll"
#define __DESCRIPTION "Core module for away state processing."
#define __AUTHOR "Miranda NG Development Team"
-#define __AUTHOREMAIL ""
#define __AUTHORWEB "https://miranda-ng.org/p/StdAutoAway/"
#define __COPYRIGHT "© 2012-17 Miranda NG Development Team"
diff --git a/src/core/stdaway/src/main.cpp b/src/core/stdaway/src/main.cpp index c176bff75e..3ab44e8bd4 100644 --- a/src/core/stdaway/src/main.cpp +++ b/src/core/stdaway/src/main.cpp @@ -33,7 +33,6 @@ PLUGININFOEX pluginInfo = { MIRANDA_VERSION_DWORD,
__DESCRIPTION,
__AUTHOR,
- __AUTHOREMAIL,
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
diff --git a/src/core/stdaway/src/version.h b/src/core/stdaway/src/version.h index c611618b3a..54199a498b 100644 --- a/src/core/stdaway/src/version.h +++ b/src/core/stdaway/src/version.h @@ -7,6 +7,5 @@ #define __FILENAME "stdaway.dll"
#define __DESCRIPTION "Core module for the away messages processing."
#define __AUTHOR "Miranda NG Development Team"
-#define __AUTHOREMAIL ""
#define __AUTHORWEB "https://miranda-ng.org/p/StdAway/"
#define __COPYRIGHT "© 2012-17 Miranda NG Development Team"
diff --git a/src/core/stdclist/src/init.cpp b/src/core/stdclist/src/init.cpp index e9a5b547f0..7fb57bdec1 100644 --- a/src/core/stdclist/src/init.cpp +++ b/src/core/stdclist/src/init.cpp @@ -58,7 +58,6 @@ PLUGININFOEX pluginInfo = { MIRANDA_VERSION_DWORD,
__DESCRIPTION,
__AUTHOR,
- __AUTHOREMAIL,
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
diff --git a/src/core/stdclist/src/version.h b/src/core/stdclist/src/version.h index ba56c650ec..07fceac156 100644 --- a/src/core/stdclist/src/version.h +++ b/src/core/stdclist/src/version.h @@ -8,6 +8,5 @@ #define __FILENAME "stdclist.dll"
#define __DESCRIPTION "Core module for displaying contacts."
#define __AUTHOR "Miranda NG Development Team"
-#define __AUTHOREMAIL ""
#define __AUTHORWEB "https://miranda-ng.org/p/StdClist/"
#define __COPYRIGHT "© 2012-17 Miranda NG Development Team"
diff --git a/src/core/stdcrypt/src/main.cpp b/src/core/stdcrypt/src/main.cpp index 48983fceb7..a9805b82d6 100644 --- a/src/core/stdcrypt/src/main.cpp +++ b/src/core/stdcrypt/src/main.cpp @@ -31,7 +31,6 @@ PLUGININFOEX pluginInfo = { MIRANDA_VERSION_DWORD,
__DESCRIPTION,
__AUTHOR,
- __AUTHOREMAIL,
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
diff --git a/src/core/stdcrypt/src/version.h b/src/core/stdcrypt/src/version.h index a45c96afb9..f2a287aa7b 100644 --- a/src/core/stdcrypt/src/version.h +++ b/src/core/stdcrypt/src/version.h @@ -7,6 +7,5 @@ #define __FILENAME "stdcrypt.dll"
#define __DESCRIPTION "Core module for encryption."
#define __AUTHOR "Miranda NG Development Team"
-#define __AUTHOREMAIL ""
#define __AUTHORWEB "https://miranda-ng.org/p/StdCrypt/"
#define __COPYRIGHT "© 2012-17 Miranda NG Development Team"
diff --git a/src/core/stdemail/src/main.cpp b/src/core/stdemail/src/main.cpp index f4a3299c77..4bb4247596 100644 --- a/src/core/stdemail/src/main.cpp +++ b/src/core/stdemail/src/main.cpp @@ -32,7 +32,6 @@ PLUGININFOEX pluginInfo = { MIRANDA_VERSION_DWORD,
__DESCRIPTION,
__AUTHOR,
- __AUTHOREMAIL,
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
diff --git a/src/core/stdemail/src/version.h b/src/core/stdemail/src/version.h index 1dbb386bea..c2ebdc6ab8 100644 --- a/src/core/stdemail/src/version.h +++ b/src/core/stdemail/src/version.h @@ -7,6 +7,5 @@ #define __FILENAME "stdemail.dll"
#define __DESCRIPTION "Core module for e-mail urls handling."
#define __AUTHOR "Miranda NG Development Team"
-#define __AUTHOREMAIL ""
#define __AUTHORWEB "https://miranda-ng.org/p/StdEmail/"
#define __COPYRIGHT "© 2012-17 Miranda NG Development Team"
diff --git a/src/core/stdfile/src/main.cpp b/src/core/stdfile/src/main.cpp index 2e3c002907..67ae29ac03 100644 --- a/src/core/stdfile/src/main.cpp +++ b/src/core/stdfile/src/main.cpp @@ -35,7 +35,6 @@ PLUGININFOEX pluginInfo = { MIRANDA_VERSION_DWORD,
__DESCRIPTION,
__AUTHOR,
- __AUTHOREMAIL,
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
diff --git a/src/core/stdfile/src/version.h b/src/core/stdfile/src/version.h index 61ada99635..54750eb07e 100644 --- a/src/core/stdfile/src/version.h +++ b/src/core/stdfile/src/version.h @@ -7,6 +7,5 @@ #define __FILENAME "stdfile.dll"
#define __DESCRIPTION "Core module for sending/receiving files."
#define __AUTHOR "Miranda NG Development Team"
-#define __AUTHOREMAIL ""
#define __AUTHORWEB "https://miranda-ng.org/p/StdFile/"
#define __COPYRIGHT "© 2012-17 Miranda NG Development Team"
diff --git a/src/core/stdidle/src/main.cpp b/src/core/stdidle/src/main.cpp index bbc78d8281..4ca3c99d33 100644 --- a/src/core/stdidle/src/main.cpp +++ b/src/core/stdidle/src/main.cpp @@ -34,7 +34,6 @@ PLUGININFOEX pluginInfo = { MIRANDA_VERSION_DWORD,
__DESCRIPTION,
__AUTHOR,
- __AUTHOREMAIL,
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
diff --git a/src/core/stdidle/src/version.h b/src/core/stdidle/src/version.h index e791573b3a..79f0d6a8b5 100644 --- a/src/core/stdidle/src/version.h +++ b/src/core/stdidle/src/version.h @@ -7,6 +7,5 @@ #define __FILENAME "stdidle.dll"
#define __DESCRIPTION "Core module for idle state processing."
#define __AUTHOR "Miranda NG Development Team"
-#define __AUTHOREMAIL ""
#define __AUTHORWEB "https://miranda-ng.org/p/StdIdle/"
#define __COPYRIGHT "© 2012-17 Miranda NG Development Team"
diff --git a/src/core/stdmsg/src/srmm.cpp b/src/core/stdmsg/src/srmm.cpp index 0b2ead1a17..37cd4f6b33 100644 --- a/src/core/stdmsg/src/srmm.cpp +++ b/src/core/stdmsg/src/srmm.cpp @@ -34,7 +34,6 @@ PLUGININFOEX pluginInfo = { MIRANDA_VERSION_DWORD,
__DESCRIPTION,
__AUTHOR,
- __AUTHOREMAIL,
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
diff --git a/src/core/stdmsg/src/version.h b/src/core/stdmsg/src/version.h index 55820233cb..64a2cec97c 100644 --- a/src/core/stdmsg/src/version.h +++ b/src/core/stdmsg/src/version.h @@ -8,6 +8,5 @@ #define __FILENAME "stdmsg.dll"
#define __DESCRIPTION "Core module for send/receive instant messages."
#define __AUTHOR "Miranda NG Development Team"
-#define __AUTHOREMAIL ""
#define __AUTHORWEB "https://miranda-ng.org/p/StdMsg/"
#define __COPYRIGHT "© 2012-17 Miranda NG Development Team"
diff --git a/src/core/stdssl/src/main.cpp b/src/core/stdssl/src/main.cpp index 584ff7335b..90aab5f72f 100644 --- a/src/core/stdssl/src/main.cpp +++ b/src/core/stdssl/src/main.cpp @@ -33,7 +33,6 @@ PLUGININFOEX pluginInfo = { MIRANDA_VERSION_DWORD,
__DESCRIPTION,
__AUTHOR,
- __AUTHOREMAIL,
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
diff --git a/src/core/stdssl/src/version.h b/src/core/stdssl/src/version.h index 3029aeafe1..a71217e95e 100644 --- a/src/core/stdssl/src/version.h +++ b/src/core/stdssl/src/version.h @@ -8,6 +8,5 @@ #define __FILENAME "stdssl.dll"
#define __DESCRIPTION "Core driver for Windows native SSL support."
#define __AUTHOR "Miranda NG Development Team"
-#define __AUTHOREMAIL ""
#define __AUTHORWEB "https://miranda-ng.org/p/StdSSL/"
#define __COPYRIGHT "© 2014-17 Miranda NG Development Team"
diff --git a/src/core/stduihist/src/main.cpp b/src/core/stduihist/src/main.cpp index 287c043f8a..9b2bf33812 100644 --- a/src/core/stduihist/src/main.cpp +++ b/src/core/stduihist/src/main.cpp @@ -33,7 +33,6 @@ PLUGININFOEX pluginInfo = { MIRANDA_VERSION_DWORD,
__DESCRIPTION,
__AUTHOR,
- __AUTHOREMAIL,
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
diff --git a/src/core/stduihist/src/version.h b/src/core/stduihist/src/version.h index 618c3c0661..8b3eae6dfc 100644 --- a/src/core/stduihist/src/version.h +++ b/src/core/stduihist/src/version.h @@ -7,6 +7,5 @@ #define __FILENAME "stduihist.dll"
#define __DESCRIPTION "Core module for built-in history viewer."
#define __AUTHOR "Miranda NG Development Team"
-#define __AUTHOREMAIL ""
#define __AUTHORWEB "https://miranda-ng.org/p/StdUIHist/"
#define __COPYRIGHT "© 2012-17 Miranda NG Development Team"
diff --git a/src/core/stduserinfo/src/main.cpp b/src/core/stduserinfo/src/main.cpp index bd569fa829..7563b8e37e 100644 --- a/src/core/stduserinfo/src/main.cpp +++ b/src/core/stduserinfo/src/main.cpp @@ -33,7 +33,6 @@ PLUGININFOEX pluginInfo = { MIRANDA_VERSION_DWORD,
__DESCRIPTION,
__AUTHOR,
- __AUTHOREMAIL,
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
diff --git a/src/core/stduserinfo/src/version.h b/src/core/stduserinfo/src/version.h index 1f9f1d330d..e6c6551488 100644 --- a/src/core/stduserinfo/src/version.h +++ b/src/core/stduserinfo/src/version.h @@ -7,6 +7,5 @@ #define __FILENAME "stduserinfo.dll"
#define __DESCRIPTION "Core module for providing user information."
#define __AUTHOR "Miranda NG Development Team"
-#define __AUTHOREMAIL ""
#define __AUTHORWEB "https://miranda-ng.org/p/StdUserInfo/"
#define __COPYRIGHT "© 2012-17 Miranda NG Development Team"
diff --git a/src/core/stduseronline/src/main.cpp b/src/core/stduseronline/src/main.cpp index 433c91e033..5bc9d43059 100644 --- a/src/core/stduseronline/src/main.cpp +++ b/src/core/stduseronline/src/main.cpp @@ -33,7 +33,6 @@ PLUGININFOEX pluginInfo = { MIRANDA_VERSION_DWORD,
__DESCRIPTION,
__AUTHOR,
- __AUTHOREMAIL,
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
diff --git a/src/core/stduseronline/src/version.h b/src/core/stduseronline/src/version.h index de5b14de25..7a7922cac6 100644 --- a/src/core/stduseronline/src/version.h +++ b/src/core/stduseronline/src/version.h @@ -7,6 +7,5 @@ #define __FILENAME "stduseronline.dll"
#define __DESCRIPTION "Core module for user-is-online event processing."
#define __AUTHOR "Miranda NG Development Team"
-#define __AUTHOREMAIL ""
#define __AUTHORWEB "https://miranda-ng.org/p/StdUserOnline/"
#define __COPYRIGHT "© 2012-17 Miranda NG Development Team"
diff --git a/src/mir_app/res/resource.rc b/src/mir_app/res/resource.rc index 34acde8b42..5f606d2740 100644 --- a/src/mir_app/res/resource.rc +++ b/src/mir_app/res/resource.rc @@ -404,8 +404,6 @@ BEGIN EDITTEXT IDC_PLUGINLONGINFO,70,136,236,25,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | ES_WANTRETURN | NOT WS_BORDER
RTEXT "Author(s):",IDC_STATIC,6,165,61,10
EDITTEXT IDC_PLUGINAUTHOR,70,165,236,18,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | ES_WANTRETURN | NOT WS_BORDER
- RTEXT "E-mail:",IDC_STATIC,6,188,61,10
- CONTROL "",IDC_PLUGINEMAIL,"Hyperlink",WS_TABSTOP,70,188,236,10
RTEXT "Homepage:",IDC_STATIC,6,200,61,9
CONTROL "",IDC_PLUGINURL,"Hyperlink",WS_TABSTOP,70,201,236,10
RTEXT "Unique ID:",IDC_STATIC,6,214,61,10
diff --git a/src/mir_app/src/newplugins.cpp b/src/mir_app/src/newplugins.cpp index a080c0eab0..9d19dedc54 100644 --- a/src/mir_app/src/newplugins.cpp +++ b/src/mir_app/src/newplugins.cpp @@ -272,7 +272,7 @@ static int checkPI(BASIC_PLUGIN_INFO* bpi, PLUGININFOEX* pi) return FALSE;
if (pi->shortName == nullptr || pi->description == nullptr || pi->author == nullptr ||
- pi->authorEmail == nullptr || pi->copyright == nullptr || pi->homepage == nullptr)
+ pi->copyright == nullptr || pi->homepage == nullptr)
return FALSE;
return TRUE;
diff --git a/src/mir_app/src/pluginopts.cpp b/src/mir_app/src/pluginopts.cpp index 02e6d7b10c..2228ed80b1 100644 --- a/src/mir_app/src/pluginopts.cpp +++ b/src/mir_app/src/pluginopts.cpp @@ -44,7 +44,7 @@ struct PluginListItemData wchar_t fileName[MAX_PATH];
HINSTANCE hInst;
int flags, stdPlugin;
- wchar_t *author, *authorEmail, *description, *copyright, *homepage;
+ wchar_t *author, *description, *copyright, *homepage;
MUUID uuid;
};
@@ -119,7 +119,6 @@ static BOOL dialogListPlugins(WIN32_FIND_DATA *fd, wchar_t *path, WPARAM, LPARAM ListView_SetItem(hwndList, &it);
dat->author = sttUtf8auto(pi.pluginInfo->author);
- dat->authorEmail = sttUtf8auto(pi.pluginInfo->authorEmail);
dat->copyright = sttUtf8auto(pi.pluginInfo->copyright);
dat->description = sttUtf8auto(pi.pluginInfo->description);
dat->homepage = sttUtf8auto(pi.pluginInfo->homepage);
@@ -179,7 +178,6 @@ static void RemoveAllItems(HWND hwnd) while (ListView_GetItem(hwnd, &lvi)) {
PluginListItemData *dat = (PluginListItemData*)lvi.lParam;
mir_free(dat->author);
- mir_free(dat->authorEmail);
mir_free(dat->copyright);
mir_free(dat->description);
mir_free(dat->homepage);
@@ -426,7 +424,6 @@ INT_PTR CALLBACK DlgPluginOpt(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar ListView_GetItemText(hwndList, hdr->iItem, 2, buf, _countof(buf));
SetDlgItemText(hwndDlg, IDC_PLUGININFOFRAME, sel ? buf : L"");
SetDlgItemText(hwndDlg, IDC_PLUGINAUTHOR, sel ? dat->author : L"");
- SetDlgItemText(hwndDlg, IDC_PLUGINEMAIL, sel ? dat->authorEmail : L"");
SetDlgItemText(hwndDlg, IDC_PLUGINLONGINFO, sel ? dat->description : L"");
SetDlgItemText(hwndDlg, IDC_PLUGINCPYR, sel ? dat->copyright : L"");
SetDlgItemText(hwndDlg, IDC_PLUGINURL, sel ? dat->homepage : L"");
@@ -513,13 +510,10 @@ INT_PTR CALLBACK DlgPluginOpt(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar Utils_OpenUrl("https://miranda-ng.org/downloads/");
break;
- case IDC_PLUGINEMAIL:
case IDC_PLUGINURL:
char buf[512];
- char *p = &buf[7];
- mir_strcpy(buf, "mailto:");
- if (GetDlgItemTextA(hwndDlg, LOWORD(wParam), p, _countof(buf) - 7))
- Utils_OpenUrl(LOWORD(wParam) == IDC_PLUGINEMAIL ? buf : p);
+ if (GetDlgItemTextA(hwndDlg, LOWORD(wParam), buf, _countof(buf)))
+ Utils_OpenUrl(buf);
break;
}
}
diff --git a/src/mir_app/src/resource.h b/src/mir_app/src/resource.h index 1230a2e293..d4302e4ca7 100644 --- a/src/mir_app/src/resource.h +++ b/src/mir_app/src/resource.h @@ -498,7 +498,6 @@ #define IDC_PLUGINCPYR 1681
#define IDC_PLUGINURL 1682
#define IDC_PLUGINPID 1683
-#define IDC_PLUGINEMAIL 1684
#define IDC_IDLESPIN 1687
#define IDC_NODBDRIVERS 1690
#define IDC_IDLESTATUSLOCK 1691
|