- FolderInfo.dll: Fixed several memory leaks

- Changed FolderInfo and WebParser to import pcre_* functions from Rainmeter.dll to reduce binary size
- Changed Help in context menu to open Support page (instead of Manual/Manual_beta)
This commit is contained in:
Birunthan Mohanathas
2012-02-04 08:25:11 +00:00
parent c790ca54e0
commit 1560c31510
9 changed files with 65 additions and 576 deletions

View File

@ -8,3 +8,11 @@ EXPORTS
LSLog
ReadConfigString
PluginBridge
; Private
pcre_compile @9 NONAME
pcre_exec @10 NONAME
pcre_study @12 NONAME
Initialize @13 NONAME
Quit @14 NONAME
ExecuteBang @15 NONAME

View File

@ -29,8 +29,7 @@
#include "../Version.h"
#define RAINMETER_OFFICIAL L"http://rainmeter.net/cms/"
#define RAINMETER_MANUAL L"http://rainmeter.net/cms/Manual"
#define RAINMETER_MANUALBETA L"http://rainmeter.net/cms/Manual_beta"
#define RAINMETER_HELP L"http://rainmeter.net/cms/Support"
#define ZPOS_FLAGS (SWP_NOMOVE | SWP_NOSIZE | SWP_NOOWNERZORDER | SWP_NOACTIVATE | SWP_NOSENDCHANGING)
@ -427,7 +426,7 @@ LRESULT CALLBACK CTrayWindow::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
}
else if (wParam == ID_CONTEXT_SHOW_HELP)
{
RunCommand(NULL, revision_beta ? RAINMETER_MANUALBETA : RAINMETER_MANUAL, SW_SHOWNORMAL);
RunCommand(NULL, RAINMETER_HELP, SW_SHOWNORMAL);
}
else if (wParam == ID_CONTEXT_NEW_VERSION)
{