As a follow up to my previous pull request, this PR fixes the last remaining improper format specifiers. This allows to remove /Wv:18 compilation flag completely, since (presumably) the only reason it was added in the first place were those format specifier warnings, introduced in VS2015.
Effectively, all this PR does is applying fixes suggested by the compiler (included in those warnings).
Close#4604
The Access Violation while closing Notepad++:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3961
could be due to SCN_UPDATEUI sending after NPPN_SHUTDOWN, that makes
plugins treat SCN_UPDATEUI on the released handle.
To avoid such situation, once NPPN_SHUTDOWN has been sent, no more
message will be sent to plugin.
Fixes#3961, fixes#4021
V746 Object slicing. An exception should be caught by reference rather than by value. filedialog.cpp 183
V746 Object slicing. An exception should be caught by reference rather than by value. nppbigswitch.cpp 110
V746 Object slicing. An exception should be caught by reference rather than by value. pluginsmanager.cpp 259
Load plugin only when plugin name match to plugin folder name.
For example: "NppPluginDemo.dll" can be loaded only when it in the
folder named "NppPluginDemo".
1. GetLastErrorAsString is moved from PluginsManager.cpp to Common.h and common.cpp and also function signature is changed
2. Below method were already defined in common.cpp, but not declared in common.h
generic_string intToString(int val);
generic_string uintToString(unsigned int val);
3. Updated RunDlg.cpp to show error if ShellExecute fails
Closes#2626, Fixes#2179
[UPDATE] Fix some typos and syntax issues.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1299 f5eea248-9336-0410-98b8-ebc06183d4e3
[NEW_FEATURE] Add Statistics feature which is accessible from the menu command "Summary..." (under menu "View") and the 2nd zone of statusbar (double click).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@667 f5eea248-9336-0410-98b8-ebc06183d4e3
[BUG_FIXED] Fix "Save all" inconsistent icon state on toolbar.
[UPDATE]
- (Author: Christian Cuvier) Update offline help document.
- Native Language Files : updated and added new one
- Add new keywords for HTML5 and css.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@638 f5eea248-9336-0410-98b8-ebc06183d4e3
[ENHANCED] Display more information while catching of plugins crash.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@585 f5eea248-9336-0410-98b8-ebc06183d4e3
[BUG_FIXED] Fix a crash bug due to unstability of FTP_synchronize plugin (enhance DockingCont.cpp).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@514 f5eea248-9336-0410-98b8-ebc06183d4e3
Fix the tooltip on toolbar bug for the plugins icons.
Signed-off-by: Don HO <don.h@free.fr>
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@510 f5eea248-9336-0410-98b8-ebc06183d4e3
.
Signed-off-by: Don HO <don.h@free.fr>
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@505 f5eea248-9336-0410-98b8-ebc06183d4e3