81 Commits

Author SHA1 Message Date
Don HO
dc4897c8f2 [BUG_FIXED] Fix the crash by using wide card to open files on cmdline.
By using string instead of char * in the constructor std::string::string() make a call:
string (const string& str, size_t pos, size_t len = npos);
instead of:
string (const char* s, size_t n);
2015-08-25 14:39:11 +02:00
Damien GERARD
3fb1d96671 Some warning fixes 2015-08-14 04:32:38 -07:00
Damien GERARD
4a20a4c412 Fixed buffer overrun when opening a recent file (fixes #558) 2015-08-06 13:49:14 +02:00
Damien GERARD
660951bdf6 Coding style / Code cleanup 2015-08-04 18:09:17 +02:00
Christian Grasser
324a29a848 Merge branch 'GWLP_648' of https://github.com/chcg/notepad-plus-plus into x64_build_adaptions 2015-06-08 13:51:57 +02:00
Christian Grasser
edfa987f4e x64 issue, replace int for bufferid by bufferid itself, otherwise x64 crashes as bufferid aka buffer * differs from int under x64 2015-06-08 12:11:10 +02:00
Don Ho
4cca41267e [NEW_FEATURE] Save in new instance with admin privileges.
While user tries to save a file which requires administrator privileges,
another instance in admin mode could be launched to save the file in
question.
2015-06-05 18:51:52 +02:00
Don HO
c3037a91df [TYPO] Fix a typo. 2015-06-05 14:21:06 +02:00
Don Ho
246c8bd168 [UPDATE] Unprecompile headers (part 3) 2015-06-02 18:01:47 +02:00
Don Ho
e9e710a3d4 [UPDATE] Unprecompile headers (part 2) 2015-05-31 22:40:07 +02:00
Don Ho
7f6dd17f03 [CODE_ENHANCEMENT] Code enhancement. 2015-05-28 01:22:28 +02:00
Don Ho
1f8ad1e75c [BUG_FIXED] Fix a regression that system64 files cannot be opened by Notepad++. 2015-04-04 23:29:30 +02:00
Don Ho
55099cb4b7 [BUG_FIXED] (Author: Alexander Riccio) Fix several bugs.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1352 f5eea248-9336-0410-98b8-ebc06183d4e3
2015-03-14 22:55:03 +00:00
Don Ho
8ec487d668 [RELEASE] Notepad++ 6.7.5 Release.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1351 f5eea248-9336-0410-98b8-ebc06183d4e3
2015-03-10 20:53:52 +00:00
Don Ho
f224c673bf [NEW] (Author: Pavel Nedev) Add notification for plugins : NPPN_BEFORESHUTDOWN NPPN_CANCELSHUTDOWN NPPN_FILEBEFORERENAME NPPN_FILERENAMECANCEL NPPN_FILERENAMED NPPN_FILEBEFOREDELETE NPPN_FILEDELETEFAILED NPPN_FILEDELETED
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1346 f5eea248-9336-0410-98b8-ebc06183d4e3
2015-02-21 18:20:50 +00:00
Don Ho
d2651832ea [BUG_FIXED] Fix undo actions on unsaved snapshot file removing the dirty state bug.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1304 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-12-09 23:16:48 +00:00
Don Ho
1d92d189b3 [FIX] Fix typo.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1288 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-11-12 17:49:30 +00:00
Don Ho
d815ae4981 [BUG_FIXED] (Author: Pavel Nedev) Fix docSwitcher bug which shows new 0 after loading a session of files.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1279 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-10-15 22:24:14 +00:00
Don Ho
c92f6cc91d [NEW] Apply new file default settings on created new file (opened via commandline).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1269 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-08-02 11:28:42 +00:00
Don Ho
44c291aee5 [NEW] Add new notification NPPN_SNAPSHOTDIRTYFILELOADED to notify plugins that a snapshot dirty file is loaded on startup.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1265 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-07-26 09:47:14 +00:00
Don Ho
908d12a061 [BUG_FIXED] Fix a saving issue in session snapshot & periodic backup feature while backup file is deleted or read-only.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1247 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-06-07 13:04:09 +00:00
Don Ho
e3208e4ce2 [BUG_FIXED] Fix docking error messages displaying due to bad detection of windows version.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1236 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-05-10 01:12:44 +00:00
Don Ho
7bfcda086d [RELEASE] Notepad++ 6.6.2 Release.
[BUG_FIXED] Fix session snapshot enabled issue even "remember current session" option is disabled.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1235 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-05-08 20:48:03 +00:00
Don Ho
f8fd88b96b [RELEASE] Notepad++ 6.6 Release (Workers' Day Edition).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1232 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-05-01 21:08:46 +00:00
Don Ho
85a6d2c054 [NEW_FEATURE] Automatic Backup System: uniq untitled tab name.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1229 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-27 10:14:19 +00:00
Don Ho
e1a3fe91b9 [BUG_FIXED] Fix crash bug on second view (startup) while session snapshot is enabled.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1228 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-27 01:47:13 +00:00
Don Ho
e4ff453125 [NEW_FEATURE] Automatic Backup System.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1227 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-23 18:18:19 +00:00
Don Ho
4c49b023ca [NEW_FEATURE] Automatic Backup System (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1220 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-13 01:31:02 +00:00
Don Ho
b30c3246d4 [NEW_FEATURE] Automatic Backup System (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1218 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-10 18:16:11 +00:00
Don Ho
7ec6d51d8f [NEW_FEATURE] Automatic Backup System (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1217 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-08 03:45:52 +00:00
Don Ho
5512a9221c [NEW_FEATURE] Automatic Backup System (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1216 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-06 22:22:54 +00:00
Don Ho
b72f302138 [NEW_FEATURE] Automatic Backup System (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1215 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-05 12:38:54 +00:00
Don Ho
db0489c8ed [NEW_FEATURE] Automatic Backup System (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1213 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-03 18:38:09 +00:00
Don Ho
ac4b7ea8db [NEW_FEATURE] Automatic Backup System (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1211 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-02 22:02:10 +00:00
Don Ho
33189832ba [NEW_FEATURE] Automatic Backup System (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1206 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-03-31 01:01:54 +00:00
Don Ho
282d0ea9a9 [NEW] Add new command line argument "-r" for opening files recursively (with wildcard characters).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1194 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-03-05 21:18:05 +00:00
Don Ho
b63c4a0f6c [NEW_FEATURE] (Author: Loreia) Add widecard capacity for command line arguments.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1192 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-03-04 18:56:53 +00:00
Don Ho
f558747a2d [ENHANCEMENT] Enhance Function list panel: reload on saving.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1190 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-02-24 22:38:56 +00:00
Don Ho
082253c37f [NEW_FEATURE] (Author: Andreas Jonsson) Add "close all tab to left" and "close all tab to right" features.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1097 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-08-03 23:40:07 +00:00
Don Ho
bc17d47825 [BUG_FIXED] Fix open session on another instance while session to open path contain space.
[ENHANCEMENT] open session always on the same instance if no files opened in this instance.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1087 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-07-27 17:30:55 +00:00
Don Ho
58716efa78 [NEW_FEATURE] Add open session in the new instance and customizable multi-instance feature.
[NEW_FEATURE] Add new command line argument "-openSession" for opening a session file.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1079 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-07-17 22:35:34 +00:00
Don Ho
6264ef03d0 [ENHANCEMENT] Code optimization.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1073 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-07-08 00:12:50 +00:00
Don Ho
a62ecb6449 [ENHANCEMENT] Enhance the performance to get once the length in the for loop.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1041 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-05-15 07:28:55 +00:00
Don Ho
d7cce21309 [RESTORE_FEATURE] Restore remembering session folding feature with the optimized algorithm.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1036 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-04-20 23:10:07 +00:00
Don Ho
f03cac6706 [BUG_FIXED] Revert remember folding states between session feature for a performance issue.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1032 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-04-02 16:25:04 +00:00
Don Ho
0180d012cb [NEW_FEATURE] (Author: FLS) Remember folding states for each file in session.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1024 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-02-18 23:13:18 +00:00
Don Ho
18737c7ccd [BUG_FIXED] (Author: Pekka Pöyry) Fix the issue of document focus after canceling exit on an unsaved file.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1003 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-01-08 01:00:19 +00:00
Don Ho
7516aa5437 [BEHAVIOUR_CHANGE] Remove the "move to Recycle bin" confirmation dialog for windows 7/Vista/XP.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1000 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-01-05 20:05:02 +00:00
Don Ho
e96c9b151b [BUG_FIXED] (Author: Pekka Pöyry) Fix tab display bug when buffer's filename is changed or buffer is closed.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@998 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-01-01 21:02:17 +00:00
Don Ho
90cd3e065a [BUG_FIXED] Fix "Move to Recycle Bin" crash bug in debug mode.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@993 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-12-08 12:28:52 +00:00