Commit Graph

317 Commits (63760073ef31584c656b6bfd8bfd11740aa9b0fc)

Author SHA1 Message Date
Andreas Jönsson 2a7ef2ecf0 Guard long-running operations with a mutex
The session snapshot feature runs in its own thread and access to
Scintilla etc is not thread-safe. As a *temporary* and *non-exhaustive*
fix we guard some long-running operations (undo, redo, replace, sort)
with a mutex to prevent data corruption.
2015-05-26 15:58:46 +02:00
Don HO 56ceaf5546 Merge pull request #117 from NN---/VS2015
[ADD] Add VS2015 project file and make notepad++ project compatible with VS2015.
2015-05-26 09:12:03 +02:00
Don HO 805ab2b9ff Merge pull request #86 from andreas-jonsson/decimal_sort
[NEW_FEATURE] Refine sort lines feature: Add Sort Lines Lexicographically/Integer/Decimal (comma) /Decimal (dot) with Ascending and Descending commands.
2015-05-25 22:59:26 +02:00
Andreas Jönsson 7c3376ae6b Use a rectangular selection as sort key. 2015-05-21 15:53:48 +02:00
NN f867f40cb9 Add warnings description. 2015-05-20 12:39:28 +03:00
Andreas Jönsson 626dc02c4c Use old-style loop to be compatible with VS2010. 2015-05-20 08:25:14 +02:00
NN 2ef5e5eca3 Support compilation in VS2015.
Changes:
_CRT_NON_CONFORMING_WCSTOK - to have old wcstok behaviour
dbghelp.h doesn't disable warnings, do it manually.
Better casting from pointer to integral.
Disable warnings in tinyXml headers.
Disable warnings 4456;4457;4459 to not touch the source.
More details about the warnings: http://blogs.msdn.com/b/vcblog/archive/2014/11/12/improvements-to-warnings-in-the-c-compiler.aspx
2015-05-19 14:01:27 +03:00
Andreas Jönsson 7b9c342bda Fix outdated comment. 2015-05-18 09:32:24 +02:00
Robert Dailey 5c69e59187 Enable multiprocessor build
Project now utilizes the /MP compiler switch to perform
parallelized builds. The number of parallel builds performed
is determined on a per-machine basis based on available
logical CPUs.

Long term this will provide the best performance output to
code maintainability ratio compared to just enabling
precompiled headers.

Using my personal machine (8 cores), I got the following
timings (Debug configuration):

* Normal build           : 89 seconds
* Multi-processor build  : 28 seconds
* PCH enabled            : 27 seconds

Note that the multi-processor build timings can be further
reduced with proper dependency management and removal of
existing precompiled header file (precompiledHeaders.h).

Specific Changes:

* Precompiled header support disabled (not compatible with
  /MP flag).
* precompiledHeader.cpp deleted.
* Solution File added.
* Minimal Rebuild (/Gm) disabled (ignored when /MP is on).

precompiledHeaders.h still exists because it contains a ton of
inclusions required by lots of files. A second and less trivial
cleanup will involve removing the precompiledHeaders.h file and
individually correcting and satisfying dependencies in each source
file in the code base.
2015-05-17 22:34:34 -05:00
Andreas Jönsson 91da641adc Use initializer list in ISorter. 2015-05-17 21:50:06 +02:00
Andreas Jönsson be230c1a29 Add a version of std::stod which takes locale.
We need a string-to-double conversion function which acts the same on
all computers, irrespective of which locale is running. We need to
guarantee that the function expects '.' as the decimal point, and not
','. The choice of en-US is more or less arbitrary.
2015-05-17 21:23:08 +02:00
Andreas Jönsson 0e42d3348a Fix handling of negative numbers + empty lines. 2015-05-17 20:05:25 +02:00
Andreas Jönsson d0bafb7fba Add more options for sorting.
User can now choose between lexicographic, integer and decimal sorting.
For decimal sorting there are two further options: decimal point ('.')
or decimal comma (',').

When doing integer/decimal sort, the parsing is not as strict as
before. E.g during integer sorting the program will interpret "123abc"
as 123.

Performance of integer sorting has been improved by 30%.

The implementation of sorting is delegated to classes which implement
the new "ISorter" interface. Unfortunately due to template issues most
of the code had to go in the header file.
2015-05-17 19:18:43 +02:00
Don Ho 50410cc744 [BUG_FIXED] Fix compiling problem in debug mode
This problem is due to the sort lines enhancement.
2015-05-15 19:41:59 +02:00
Andreas Jönsson 83de4a9da2 Use long long in numeric sort (ie 64 bit numbers). 2015-05-11 09:26:31 +02:00
Andreas Jönsson ee225f5cad Handle empty lines properly in numeric sort. 2015-05-10 11:00:58 +02:00
Andreas Jönsson 936d9c56fc When sorting, reserve enough space for work + output. 2015-05-10 10:30:17 +02:00
Andreas Jönsson dd846658e6 Use new kind of loop. 2015-05-10 10:27:36 +02:00
Andreas Jönsson 501ce1d689 Make reference signs consistent. 2015-05-10 10:25:56 +02:00
Andreas Jönsson 83c16755ab Don't cache int->string conversion, it doesn't speed up anything. 2015-05-09 21:23:40 +02:00
Andreas Jönsson 4b3fbdd570 Don't throw pointers (MFC habit). 2015-05-09 13:25:36 +02:00
Andreas Jönsson e258bcb3a7 Speed up numeric sorting by 10x.
Convert strings to int, sort, then convert back to strings.
2015-05-09 13:20:37 +02:00
Andreas Jönsson bcbe48b13f Make stoi_CountEmptyLinesAsMinimum more restrictive.
It now only accepts digits and possibly a single minus character as the first character.
Ordinary std::stoi has too much special magic, e.g. it converts "1 a" to "1".
2015-05-09 12:49:47 +02:00
Andreas Jönsson 0eca4db949 Improve numeric sorting. No need to read lines from Scintilla, we already
have them in a vector.
2015-05-09 11:25:07 +02:00
Andreas Jönsson eee7c4f16e Sort numerically (not lexicographically) if all lines are integers. 2015-05-09 11:02:58 +02:00
Andreas Jönsson c926e18f42 Use more const. 2015-05-09 08:34:44 +02:00
Andreas Jönsson 1f4a1fb2e7 Optimize sort.
Remove custom, recursive implementation of quicksort which becomes too
slow to use after a couple of hundred lines.
2015-05-08 23:27:21 +02:00
Andreas Jönsson 930464fb8c Cleanup after comments in pull review. 2015-04-25 08:59:38 +02:00
Don Ho 73f47a2c04 [BUG_FIXED] Fix Setting on Cloud for dropbox not working issue. 2015-04-06 01:49: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 b09a7c17f3 [NEW_FEATURE] Add new possibility to launch the auto-typing text from command line:
-qnQuoterName
-qfQuoteFileNameFullPath
-qtQuoteText


git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1328 f5eea248-9336-0410-98b8-ebc06183d4e3
2015-02-01 12:16:12 +00:00
Don Ho b1f84d2788 [NEW] Add some menu accelerator.
[UPDATE] Fix some typos and syntax issues.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1299 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-11-30 02:17:49 +00:00
Don Ho 770624c9c5 [BUG_FIXED] Make getFileName safer.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1274 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-08-25 22:05:45 +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 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 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 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 6e9b5a64b1 [ENHANCE] Make extension column optional in vertical file switcher.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1170 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-01-14 08:03:33 +00:00
Don Ho 81f5a3613e [BUG_FIXED] Fix sort settings bug in function list while reloading.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1137 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-10-21 21:50:04 +00:00
Don Ho ea1f12e7a2 [ENHANCEMENT] Warn to user for unfound result of functionlist.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1131 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-10-14 06:09:48 +00:00
Don Ho 0da8942be8 [NEW_FEATURE] Add search ability into function list.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1130 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-10-12 09:10:03 +00:00
Don Ho 5ade0c4821 [NEW_FEATURE] Add Coffee script support.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1117 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-09-14 19:35:34 +00:00
Don Ho 31b15392a5 [ENHANCEMENT] Enhance delimiter selection settings GUI.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1083 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-07-24 00:35:27 +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 f80a49148e [BUG_FIXED] (Author: Andreas Jonsson) Minor fixes.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1072 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-07-07 21:33:19 +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 36b9b7cc8c [NEW_BEHAVIOUR] Remove the result dialogs of Find/Replace dialog. Display the error/result in the new added statusbar of Find/Replace dialog. (di Sardegna)
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1039 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-05-11 20:55:09 +00:00
Don Ho d6ea29c577 [NEW] Add new API NPPM_GETCURRENTVIEW.
Add new capacity in existent API NPPM_GETMENUHANDLE.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1028 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-03-03 01:04:09 +00:00
Don Ho 37bac16aff [BUG_FIXED] (Author: Pekka Pöyry) Fix focus order by TAB key in preference dialog.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1004 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-01-08 01:35:09 +00:00
Don Ho ba935673e5 [BUG_FIXED] (Author: Mike Stratoti) Enhance and stabilize the build.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@999 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-01-03 01:17:59 +00:00
Don Ho fa5fb505ce [BUG_FIXED] Fix a crash bug while file path as argument and its length is more than 260 characters(MAX_PATH).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@980 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-11-05 00:10:33 +00:00
Don Ho 25ae135f82 [BUG_FIXED] (Author: Ivan Radić, aka Loreia) Fix link hotspot colourising issue.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@970 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-10-19 00:20:40 +00:00
Don Ho 0011deec48 [ENHANCEMENT] (Author: FLS) Enhance comment operations: Stream Uncomment added, cross-calling of block.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@948 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-08-31 19:14:00 +00:00
Don Ho 6fc39bed3f [BUG_FIXED] Check update without elevating to Administrator right.
[NEW_FEATURE] Activate auto-updating feature under Vista, Windows 7 and Windows 8.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@928 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-07-20 22:46:03 +00:00
Don Ho af994f0042 [BUG_FIXED] Add Windows 8 detection - Fix the sidebar splitter failed in Windows 8 issue.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@924 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-07-01 15:38:30 +00:00
Don Ho 5d28d74ac7 [ENHANCEMENT] (Author: Anton Vasiliev) Add some enhancement to common functions.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@908 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-05-03 01:02:54 +00:00
Don Ho a896922136 [UPDATE] Update the GPL of all project source code to avoid the bundle version made by the tiers sites : cnet, softonic and 01net.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@896 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-04-15 16:54:38 +00:00
Don Ho 41a9d6854b [MODIF] Installer: Don't override contextMenu.xml.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@869 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-02-25 00:41:10 +00:00
Don Ho 49964f565d [CHANGE_BEHAVIOUR] Plugins loading from %APPDATA\Notepad++\plugins\% is enabled only if "NPP_INSTALLED_DIR\Notepad++\allowAppDataPlugins.xml" is present.
[NEW_FEATURE] Edit Zone border can be customizable via Preferences dialog.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@846 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-11-22 01:15:03 +00:00
Don Ho 6c4eef8cb7 [MODIF_BEHAVIOUR] Make plugins in %APPDATA%/Notepad++/plugins/ override les plugins in Notepad++ installation directory.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@844 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-11-16 23:24:11 +00:00
Don Ho e82e63d3a6 [BUG_FiXED] Fix the crash issue while execute "Add Files from Directory" command (Project Manager).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@835 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-11-01 23:42:00 +00:00
Don Ho 8daa455c0d [NEW_FEATURE] Add "adding files from folder" for Project Manager.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@833 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-10-31 01:25:40 +00:00
Don Ho 1b590704f6 [RELEASE] Notepad++ v5.9.3 release.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@794 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-07-23 20:20:40 +00:00
Don Ho bd28e3bfa7 [NEW_FEATURE] Make file switcher dialog accessible (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@788 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-07-15 01:00:05 +00:00
Don Ho c508aa94ef [MODIFY] Chang file switcher behaviour while clonning a document on the other view.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@785 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-07-09 10:14:54 +00:00
Don Ho 9cddb4903d [NEW_FEATURE] Make Recent File List totally customizable (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@781 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-06-27 01:23:58 +00:00
Don Ho 8bae5fcf0f [NEW] Add 2 plugins messages NPPM_GETLANGUAGENAME & NPPM_GETLANGUAGEDESC.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@775 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-06-15 23:38:36 +00:00
Don Ho 28fa54583e [NEW_FEATURE] Add Character Insertion Panel.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@745 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-04-13 07:08:51 +00:00
Don Ho 49cd94f137 [MODIF] Modify File Association dialog UI.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@709 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-11-18 23:24:27 +00:00
Don Ho 79e153399f [RELEASE] Notepad++ 5.8.4 release.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@705 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-11-14 18:10:10 +00:00
Don Ho 9d733b29cc [NEW_FEATURE] Add a new capacity in context menu: the menu item and folder item can be renamed in any language.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@697 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-11-07 03:00:27 +00:00
Don Ho 2745ad40e5 [NEW_FEATURE] Add the capacity to open x64 system files.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@692 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-11-01 16:08:43 +00:00
Don Ho df0f0b3a30 [BUG_FIXED] Fix context menu reload problem (plugin commands reload fails).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@691 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-10-30 15:38:51 +00:00
Don Ho a86096b84b [BUG_FIXED] (Author: Jocelyn Legault) Fix a memory corruption bug.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@689 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-10-26 21:09:34 +00:00
Don Ho c8f5903ce5 [BUG_FIXED] (Author: Jocelyn Legault) Fix a heap corruption of ColourPicker.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@681 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-10-16 13:31:33 +00:00
Don Ho e420ae3707 [BUG_FIXED] Fix windows 7 crash bug while executing update.
[BUG_FIXED] (Author: Christian Cuvier) Fix find performance issue related macro recording.


git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@675 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-10-03 23:38:11 +00:00
Don Ho 00fbd3444b [NEW] (Author: Dave Brotherstone) Add NPPM_ALLOCATEMARKER plugin message.
[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
2010-09-19 01:27:41 +00:00
Don Ho 876bd5c2fa [NEW] (Author: Dave Brotherstone) Add NPPM_ALLOCATECMDID plugin message.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@665 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-09-13 23:10:24 +00:00
Don Ho 948f281eb0 [BUG_FIXED] (Author: François-R Boyer) Fix DBCS encodings file saving corruption bug.
[BUG_FIXED] (Author: François-R Boyer) Fix file containing NULL character loading bug.
[ENHANCEMENT] (Author: François-R Boyer) Improve getCurrentDocCharCount() method performance.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@651 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-08-16 16:52:03 +00:00
Don Ho 33de57fe1d [NEW_FEATURE] (Author: Christian Cuvier) Add macro new ability to record search and replace actions.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@650 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-08-15 18:52:55 +00:00
Don Ho 49e4230a4a [NEW_FEATURE] Add 2 menu commands : "Modify Shortcut/Delete Macro" and "Modify Shortcut/Delete Command".
[NEW] Add "Modify" and "Delete" buttons on Shortcut mapper dialog.
[BUG_FIXED] Fix Shortcut Mapper inconsistence issue after deleting a macro or an user command.
[NEW] Add NPPM_GETCURRENTNATIVELANGENCODING message (to get the current native language enconding).
[UPDATE] Update native languages files: english.xml, french.xml and chinese.xml .
[BUG_FIXED] Remove characters count feature from the status bar due to its performance issue with UTF8 file.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@647 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-08-14 00:11:01 +00:00
Don Ho e0773602b2 [UPDATE] Update the readmeFirst.txt for the build information.
Remove systemMessage().
Fix symbol redefinition due to Scintilla header update.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@642 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-07-18 12:38:27 +00:00
Don Ho ba9731ca7f [NEW] Regroup bookmark operation menu commands under "Bookmark" menu folder.
[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
2010-07-04 07:12:02 +00:00
Don Ho 52539b01b9 [CLEAN] throw runtime_error instead of int.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@635 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-05-25 23:41:58 +00:00
Don Ho 1953eea074 [NEW] Add NPPM_SAVECURRENTFILEAS message.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@634 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-05-24 18:51:50 +00:00
Don Ho 7a236ed330 [BUG_FIXED] Fix comment stream without selection bug.
[BUG_FIXED] Fix Find in files results highlighting problem.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@619 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-02-24 00:06:12 +00:00
Don Ho b3f11896eb [RELEASE] Notepad++ v5.6.7 release.
[CHANGE_BEHAVIOUR] Enlarge regconition of clickable link from "http://" to any URI.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@617 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-02-21 18:17:54 +00:00
Don Ho 99042edb28 [BUG_FIXED] Fix "finds in all opened files" crash bug.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@615 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-02-20 01:07:35 +00:00
Don Ho 689d434a9f [OPTIMIZE] (Author : Sune Marcher) Rewrite of menuID2LangType function.
[UPDATE] Refactor Notepad_plus.cpp (in progress).

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@608 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-02-04 01:22:41 +00:00
Don Ho 639c336587 [UPDATE] Refactor Notepad_plus.cpp (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@606 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-01-29 23:52:47 +00:00
Don Ho 9c03f48263 [BUG_FIXED] Recover langs.xml while its length is zero.
[NEW] Add JSP.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@601 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-01-23 18:07:32 +00:00
Don Ho dbe22f6cac [BUG_FIXED] Fix status bar display bug that xml/html utf8 indicator makes status bar display ANSI instead of ANSI as UTF-8.
[UPDATE] Convert process thread module from ANSI to Unicode.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@593 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-12-23 19:23:20 +00:00
Don Ho 0d2eee4ed5 [BUG_FIXED] Fix the translated sub menu entries applying on the menu item.
[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
2009-12-06 03:06:59 +00:00
Don Ho 553e47d580 [RELEASE] Notepad++ v5.6 release.
[NEW_FEATURE] Add ISO_8859-1 to ISO_8859-16 encodings.
[BUG_FIXED] Fix last recent file list menu items localization encoding bug.
[BUG_FIXED] Fix last recent file number goes to zero issue.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@575 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-11-30 01:31:55 +00:00
Don Ho 5b4f8e3e11 [NEW] Add new encodings.
[REMOVE] Remove Line Draw TTF for MSDOS ASCCI Art highlighter; using encoding Dos 437 instead.
[UPDATE] (Author : Christian Cuvier) Update NppHelp to v5.6.


git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@569 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-11-23 01:34:38 +00:00
Don Ho de6f421c9c [NEW] File Encoding is remembered in the session.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@567 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-11-22 01:52:07 +00:00
Don Ho 10e6cbfb61 [NEW] Add new encodings, make status bar work for the new encodings.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@566 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-11-21 02:38:48 +00:00
Don Ho 90f5338cb5 [NEW] Add Chinese simplified, Japanese, Korean, Thai... encodings.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@565 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-11-20 00:26:38 +00:00
Don Ho fe4c746cd4 [NEW_FEATURE] Add Chinese BIG5 encoding (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@564 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-11-19 02:02:17 +00:00
Don Ho 4b1812816f [NEW_FEATURE] Add COBOL, D, Gui4Cli, PowerShell and R language support (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@552 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-10-19 00:35:27 +00:00
Don Ho b45df0db24 [NEW_FEATURE] Add plugin Black list.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@547 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-10-02 18:47:27 +00:00
Don Ho d36fd964e4 [NEW_FEATURE] Try to catch plugin crash.
[BUG_FIXED] (Author : Jocelyn Legault) Fix some memory leaks.


git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@545 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-09-29 00:14:48 +00:00
Don Ho 6a022cdb9a [NEW_FEATURE] Make column editor work in multi-selection mode.
[BUG_FIXED] Fix column editor inserting octal number broken issue.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@537 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-09-13 19:31:40 +00:00
Don Ho 0c490dc55a [ENHANCE] Thanks to Jocelyn Legault (precompiled headers), the build time is sped up.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@529 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-09-04 00:10:01 +00:00
Don Ho 79eba94cba [ADAPTATION] Make existing Column mode operations work with Scintilla 2.01 (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@528 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-08-31 00:27:35 +00:00
Don Ho e8f584c764 [BUG_FIXED] Fix a crash issue due to tip feature (to check).
[NEW_FEATURE] Add import plugins feature (load on the fly).
[NEW_FEATURE] Add import theme (stylers.xml) feature.
[ENHANCE] Prevent crash from some uncertain context.


git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@519 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-08-11 23:55:57 +00:00
Don Ho dd70030c5c [BUG_FIXED] Fix a crash issue while launch Fin in file (regression since the last svn commit).
[BUG_FIXED] Fix a crash issue while deleting the last line.
[BUG_FIXED] Fix a bug of plugin message NPPM_GETPLUGINSCONFIGDIR (regression since the last svn commit).
[NEW_FEATURE] User can define different size of TAB by each language (in progress).
[NEW_FEATURE] Add new plugin notification NPPN_DOCORDERCHANGED to notify plugins that document order is changed.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@518 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-08-08 13:30:13 +00:00
Don Ho 659a938735 [BUG_FIXED] FIX toolbar bug : make toolbar chevron work.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@515 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-08-03 23:01:20 +00:00
Don Ho 3464682ef6 [ENHANCE] Enhance to avoid eventual crash (TCHAR * to generic_string).
[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
2009-08-03 00:37:30 +00:00
Don Ho bc6e33c78a [BUG_FIXED] Fix the plugins shortcuts not working issue.
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
2009-07-08 23:01:19 +00:00
Don Ho 05bb2a8f77 [ENHANCE] Enhance the source code compiling by /W4 /WX
.

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
2009-07-04 11:33:17 +00:00
Don Ho b02de751e9 [BUG_FIXED] Fix Window7 SetWindowsHookEx() failed issue for the dockable windows. (by recognizing windows7 environment)
Signed-off-by: Don HO <don.h@free.fr>

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@503 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-07-02 12:40:15 +00:00
Don Ho 9e1a05c0e2 [RELEASE] v5.4.2 release.
[BUG_FIXED] Fix only one document "Move to other view" close Notepad++ instance issue.
[BUG_FIXED] Fix plugin menu boolean check box bug.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@488 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-06-01 00:21:48 +00:00
Don Ho 82f0d792f8 [BUG_FIXED] Add ChangeMarkers in installer.
Add theme description in installer.
Update contextMenu.xml in installer.
Fix lastRecentFileList localization issue.
[NEW] Add readonly change status notification for plugin system.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@479 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-05-26 23:34:45 +00:00
Yuval a5ddc3e7b3 [BUGFIX] Added protection against invalid start/end markers in wchar2char and char2wchar. This is needed for find in files where the result is found in a line containing the null character (binary files). This caused an Access violation exception because the markers were past the EOL in this case (char2wchar), and then they were used in wchar2char.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@475 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-05-04 15:07:54 +00:00
Yuval 3067f9f93c [UPDATE] MRU file list under the File menu is limited to 100 characters per file. Longer files are fitted to 100 characters by replacing path components with ellipses. (code reuse - Window menu)
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@466 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-04-27 17:00:51 +00:00
Don Ho 4dd3b257e0 Moved PowerEditor in trunk remotely
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@460 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-04-24 23:34:47 +00:00