Commit Graph

100 Commits

Author SHA1 Message Date
Don HO 59a23f0386 Fix a crash issue due to CmdLineParams
CmdLineParams object of the block "case COPYDATA_PARAMS" is always made
by another instance of Notepad++, (located usually in C:\Program Files
(x86)\Notepad++\) which is launched by NppShell.dll.
If CmdLineParams structure is modified in the local instance, and file
is opened via NppShell.dll, then crash happeds.
2016-06-06 09:56:36 +02:00
Don HO 64d7535be1 x64 ready
1. Remove all warning while compiling in x64
2. Treat warning as error (W4) while compiling in x64
2016-06-05 20:30:22 +02:00
Don Ho 4268349bf0 Fix crash bug in Log Monitoring while monitoring a large file 2016-05-11 02:18:04 +02:00
Don Ho 6c4f9a64d2 Add new API to disable auto-updater
New API : NPPM_DISABLEAUTOUPDATE
2016-05-07 23:12:38 +02:00
Don HO 50c7e228ff Add new feature: Find in Finder
After finding in files, user can launch the find in Finder dialog from
the finder via its context menu command "Find in this finder...".
Find in Finder feature searchs the other occurrence into found results,,
that allow user to narrow down the search  and to refine their search
results.
2016-03-31 09:35:41 +02:00
Don Ho 058c9d5923 Folder as Workspace (implementation done) 2016-02-08 01:34:33 +01:00
Don Ho 81deab0554 File Browser (In progress)
1. Memorize the opened folders for the next session.
2. Add tip infos.
3. Add "Explorer from here" & "Command from here" context menu.
2016-02-02 19:06:23 +01:00
Don Ho f2cd779066 Fix crash issue due to the bad fix of touchscreen hanging issue
This crash issue is a regression due to
6f4140a281 which was intended to fix a
touchscreen hanging bug.
The crash issue is fixed in this commit, as well the touchscreen hanging
issue thanks to the answer from StackOverflow:

http://stackoverflow.com/questions/34816597/messagebox-not-responsing-in-wm-activateapp-on-touchscreen/34825851#34825851
2016-01-16 13:00:39 +01:00
Stefanos Anastasiou 624e5fa1ae Add new API NPPM_SAVEFILE to save any file.
Close #1214, closes #817
This API saves a file without having to actually focus on the file.
// VOID NPPM_SAVEFILE(0, const TCHAR *fileNameToSave)
2016-01-09 23:42:25 +01:00
Don Ho 6f4140a281 Fix Notepad++ hanging issue while user uses touch screen to activate Notepad++ windows
Make checkModifiedDocument as thread to avoid Notepad++ hanging while
user uses touch screen to activate Notepad++ windows.
2015-12-25 16:41:26 +01:00
Don Ho 6c7ca02fea Add no editor border edge option
Close #707
Add no editor border edge option in preferences dialog.
Add new API NPPM_SETEDITORBORDEREDGE
2015-12-04 19:01:28 +01:00
Don Ho fe62ff989b Make function naming more explicite 2015-10-27 17:26:29 +01:00
Don Ho 280ddcd493 Make the EOL type more explicite 2015-10-27 15:35:19 +01:00
Don Ho 44e9a03101 Fix the restoring problem from system tray when running in admin mode (closes #884)
It seems the notification area is locked (for the sake of security)
while application is in Admin mode.
Disabling the tray icon mode while Notepad++ is in Admin mode is the
compromised solution.
2015-09-11 01:34:28 +02:00
Don Ho d7ca1eaaf6 Fix the problem of display refresh missing in exit (closes #800)
Solution: release lock updating before killing main handle.
2015-08-28 01:05:36 +02:00
Damien GERARD 2ad6ba5a44 Code: using enum class for FormatType 2015-08-14 05:57:19 -07:00
Damien GERARD 3fb1d96671 Some warning fixes 2015-08-14 04:32:38 -07:00
Damien GERARD 366a393f13 minor code cleanup for future refactoring 2015-08-06 11:50:58 +02:00
Don Ho ba5d36e2bf [BUG_FIXED] Fix a visual glitch on exit
Don't make Notepad++ redraw on exit.
2015-08-06 01:18:43 +02:00
Don HO 16b4113afc Add forgotten parenthesis. 2015-07-29 14:30:50 +02:00
Don Ho 11ad9f699a [BUG_FIXED] Fix a regression of Preferences dialog (closes #570)
In v6.8, some options in Preferences dialog are not applied dynamically.
This fix makes them work again.
2015-07-25 17:25:10 +02:00
Don Ho 7164d4f516 [ENHANCEMENT] Make smooth font optional
The old behaviour enabled smooth font and it didn't allow user to change
this setting. The new behaviour makes it optional and turn it off by
default.
2015-07-16 12:52:16 +02:00
Don Ho 5e240147c5 [MODIF] Remove settings on cloud dependency
This feature got a lot of regression due to its dependency on dropbox,
google drive and one drive implementation. This modification removes
such dependecy and allow users to set their settings location - any
cloud location path and even customized local location.
2015-07-08 13:33:53 +02:00
Christian Grasser 10dfc331bf merge with master 2015-06-08 13:39:07 +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
Christian Grasser d11cba6798 merge with master and resolve confilcts 2015-06-03 01:31:39 +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
Christian Grasser e1d8e055c8 Merge branch 'master' of https://github.com/chcg/notepad-plus-plus into GWLP_648 2015-05-28 19:37:24 +02:00
Don Ho c123fd1a01 [CODE_ENHANCEMENT] Init some uninitialized vars. 2015-05-27 23:47:06 +02:00
Christian Grasser 4d694ea704 Add patch from http://sourceforge.net/p/notepad-plus/patches/648/ by Xileer Torias with comment:
Updated the GetWindowLongPtr and SetWindowLongPtrW nIndex reference as per https://msdn.microsoft.com/en-us/library/windows/desktop/ms633585%28v=vs.85%29.aspx and https://msdn.microsoft.com/en-us/library/windows/desktop/ms644898(v=vs.85).aspx

This alters the function to be compatible with both x86, and x64 as to simplify future x64 builds.
2015-05-27 22:06:53 +02: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 15542d7c8d [BUG_FIXED] Fix NPPM_LAUNCHFINDINFILESDLG API regression issue.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1315 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-12-24 02:03:52 +00:00
Don Ho bf76a3f5ee [RELEASE] Notepad++ 6.7.1 Release.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1313 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-12-21 19:43:40 +00:00
Don Ho daf42f1d62 [BUG_FIXED] Fix document list panel has no selection while start up.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1280 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-10-25 19:44:57 +00:00
Don Ho bf9f679cb8 [BUG_FIXED] Make Finder's fg/bg colors aligned with global default fg/bg colors.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1261 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-07-19 23:12:54 +00:00
Don Ho a8ebab987f [BUG_FIXED] Update internal docking dialog colors while selecting themes.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1260 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-07-18 08:58:52 +00:00
Don Ho f3407442db [NEW_FEATURE] Add 2 new plugins APIs: NPPM_GETEDITORDEFAULTBACKGROUNDCOLOR & NPPM_GETEDITORDEFAULTFOREGROUNDCOLOR
[NEW_FEATURE] Make internal docking dialog match/follow the selected theme's background and foreground colors.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1259 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-07-16 11:20:58 +00:00
Don Ho 8c5b4df673 [BUG_FIXED] Fix "Settings on cloud - Dropbox" not saving problem on the 1st time if the dropbox path has been changed.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1250 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-06-22 19:33:20 +00:00
Don Ho bad9b9dbbf [NEW_FEATURE] Settings on cloud - dropbox.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1242 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-06-02 07:02:46 +00:00
Don Ho 4ab4945f0a [BUG_FIXED] Fix SaveAll command hanging issue while session snapshot is enabled.
[CHANGE_BEHAVIOUR] Disable session snapshot while command line -nosession is used.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1240 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-05-17 15:35:09 +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 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 e8b76a28ec [NEW_FEATURE] Snapshot feature.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1221 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-13 20:56:20 +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 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 c79f105597 [NEW_FEATURE] Automatic Backup System (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1214 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-03 23:46:21 +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 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