Commit Graph

170 Commits (4fb8845183122409ef738597c788d69e327acd46)

Author SHA1 Message Date
Silent bfb7e863cc Update uchardet to 0.0.6 to improve UTF-8 detection quality
This PR updates uchardet (https://www.freedesktop.org/wiki/Software/uchardet/) to the newest stable version (0.0.6).
This version seems to improve UTF-8 detection quality, so updating this dependency is expected to squash numerous charset detection issues.

Fixes #4878, Fixes #4767, Fixes #4428, Fixes #4246, Fixes #3705, Fixes #3588, Fixes #431, Closes #4925
2018-11-09 13:49:58 +01:00
Don HO 519fecbb82 Add SHA-256 implementation and use sha-256 instead of md5 in Plugin Admin 2018-10-24 09:45:35 +02:00
Silent 6b5144d176 Fix format specifier warnings - /Wv:18 can now be removed
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
2018-06-27 22:35:32 +02:00
Silent 08eb29e3d6 Force cpp standard const char pointer on string literals
const-ified all string literals to suppress warnings on gcc and allow /Zc:strictStrings to be used with Visual Studio

Fix #4146, close #4150
2018-06-25 00:06:26 +02:00
Don HO 40163e0338 switch from VS2013 to VS2015 & VS2017 2017-10-01 23:16:17 +02:00
Don HO b033d907b2 Export function list in json format 2017-09-11 02:46:15 +02:00
Don Ho 5c714043fb Fix compiliing issue in VS2013 2017-05-08 01:43:04 +02:00
Don HO 6b0a3c8e6b Enhance certificate check 2017-05-08 00:19:56 +02:00
Don HO 20e669ff01 Add document snapshot feature (in progress) 2017-04-18 01:31:41 +02:00
Don Ho e5f4344f69 Add Crypto lib in vcproj to make Notepad++ compiled under VC2013 2017-03-08 03:14:54 +01:00
Don HO b869163609 Check SciLexer.dll certificate
This fix is about the issue "Vault 7: CIA Hacking Tools Revealed"
published on Wikileak:
https://wikileaks.org/ciav7p1/cms/page_26968090.html
2017-03-08 02:52:58 +01:00
Don HO f62bf83bca Make VS2015 compile again 2017-01-22 00:59:40 +01:00
Don Ho c235e17f7d Add Plugins Administrator (UI part, in progress) 2017-01-20 14:13:41 +01:00
Don HO 035bcfeb22 Fix VS 2015 post build error 2017-01-10 09:10:42 +01:00
Don HO b0a625913c Fix the shadow declarations & make VS2015 compile again 2017-01-10 01:09:18 +01:00
Don Ho f98686d9f4 Add some functions for future use 2017-01-08 23:59:36 +01:00
Don Ho 8fc1a2ed30 Add MD5 functionalities 2017-01-01 18:28:25 +01:00
Don Ho 0746d1f4f7 config.xml is generated by notepad++
No more config.model.xml. config.xml is generated by notepad++ directly.
2016-10-23 03:50:41 +02:00
dail8859 5f8ba93b78 Check plugin architecture before loading
Closes #2348, Closes #2350
2016-10-06 20:59:22 -04:00
Don Ho 6d2b1e4f5e Remove the old icon 2016-09-21 09:06:22 +02:00
A-R-C-A 3bf382f16b Make margins dpi aware
Closes #2171
2016-08-17 00:12:13 +02:00
Don HO 472d54d7c9 Fix crash in x64 due to C style cast 2016-07-09 16:47:09 +02:00
Don HO 5a5582b972 Make Scintilla 64-bit built with boost's pcre 2016-06-15 20:52:24 +02:00
Don HO 561713e46c Put warning as error in Release x64 build 2016-06-06 20:07:17 +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
Christian Grasser 163c8a0e5d add missing additional dirs from filebrowser feature also for x64 builds
Closes #1698
2016-05-15 01:09:56 +02:00
Adrian Stanciu 6c70948c4d Fix VS2015 compilation errorrs due to Folder as Workspace
Closes #1472, closes #1563
2016-03-11 16:26:40 +01:00
Don Ho 07ce6c2516 New feature: File browser 2016-01-23 02:25:44 +01:00
NN 8ba3a46b89 Synchronize VS2015 project
(fixes #1003)
2015-10-24 22:02:07 +02:00
NN 2cbc6a7a99 Make WarningAsError true for 64-bit builds 2015-10-13 14:16:26 +02:00
Linquize 52dda771d3 Remove non-existing files from vcxproj.
Remove files in vcxproj that do not exist to avoid rebuild all the time.
(closes #939)
2015-10-05 15:40:44 +02:00
Damien GERARD a30de2e605 Build: revert changes on platform toolset 2015-08-14 18:29:59 +02:00
Damien GERARD 3fb1d96671 Some warning fixes 2015-08-14 04:32:38 -07:00
Don Ho 7198ac7458 [REMOVE] Remove Source Code Pro font from vs project file 2015-08-13 02:25:04 +02:00
Damien GERARD 85c728573e Visual Studio Project: added more checks in debug
* Added `/RTCu`: Unitialized variables
 * Added `/RTCc`: Smaller Type check
2015-08-06 13:55:41 +02:00
NN--- 5e052c5bd0 Build: VS2015 project update (closes #628)
+ Added `_CRT_NON_CONFORMING_WCSTOK` define
2015-08-02 21:44:18 +02:00
Don Ho 9bb3c7d5be [ENHANCEMENT] Improve the usage of Source Code Pro font
1. fix the hanging problem for some rare situation (some specific
graphic cards?) by replacing otf file by ttf file.
2. make better font look by adding bold, italic and bold-italic fonts
3. load Source Code Pro privately so it won't be listed for the other
application during Notepad++ session.
2015-07-29 23:38:18 +02:00
NN 4acf228f65 Adjust x64 build paths 2015-07-24 14:53:44 +02:00
Don Ho 125aee20f7 [REMOVE] Remove VS 2005 project
The minimum supported version of VS project is VS2013.
2015-07-19 01:35:13 +02:00
Don Ho 91992d0b7c [ENHANCEMENT] Use "Source Code Pro" as default font
Source Code Pro is included in the Notepad++ distribution for its
internal use.
If it's not the first time of Notepad++ installation (ie. updating),
users need to set Source Code Pro as default font manually via style
configurator dialog, or just delete "%APPDATA%\Notepad++\stylers.xml".
2015-07-18 21:18:39 +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
Jon Fritzler 77a00e3434 build: removed sqlite3.c and sqlite3.h from VS2015 project (closes #445) 2015-07-11 11:09:39 +02:00
NN--- 684a6d114b build: Synchronize VS2015 project (closes #379) 2015-07-08 20:23:59 +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 d6c72fa3f7 Merge branch 'master' of https://github.com/notepad-plus-plus/notepad-plus-plus into x64_build_adaptions 2015-06-18 07:23:03 +02:00
Jon Fritzler 7986366249 Add missing Mutex files to VS2015 project :) 2015-06-15 12:09:29 -06:00
Don Ho 9ad71107e9 [BUG_FIXED] Lock some operations for data integrality.
Use mutex of Yuni library to lock critical operation for the
compatibility of windows xp sp2.
For more info of Yuni library: https://github.com/libyuni
2015-06-12 22:10:37 +02:00
Christian Grasser 0d1297b9c7 added x64 build target, copied from win32 version, relaxed treat warning as error, as multiple errors show up due to x64 type truncations on assignments 2015-06-11 11:25:16 +02:00
NN 6de87e3ecc Add _WIN32_WINNT=0x0501 to defines list. 2015-06-03 07:16:01 +03:00
Don Ho bc94d07766 [UPDATE] Unprecompile headers (part 4 - final) 2015-06-03 00:55:28 +02:00
NN c18101823a Add missing files.
Add warning 4091 to be ignored.
Define _CRT_NON_CONFORMING_WCSTOK globally.
2015-06-01 21:40:20 +03:00
Don HO 17e8ca3c15 Merge pull request #120 from andreas-jonsson/tempfix_corruption
[BUG_FIXED] Prevent big file corruption on some long period operations.
2015-05-30 18:00:16 +02:00
NN c8e0943286 Synchronize VS2015 project with VS2013. 2015-05-28 07:39:27 +03:00
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
NN 7ead0542cc Add special project for VS2015 2015-05-25 13:04:18 +03:00
Don Ho 0628508ef0 [REMOVE] Remove solution file from git index. 2015-05-24 01:28:43 +02:00
Don Ho ec105d7b5f [UPDATE] Remove solution file from git index.
VisualStudioVersion could be different.
2015-05-24 01:23:59 +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
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
Don Ho c420316fe8 [RELEASE] Notepad++ 6.7.2 Release.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1321 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-12-27 22:21:49 +00:00
Don Ho 019f5eea7d [UPDATE] fix some uninitialized variables issues.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1298 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-11-29 17:57:38 +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 b50d2a9a29 [NEW] Add VS 2013 support.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1278 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-10-14 22:29:23 +00:00
Don Ho e9ada08611 [NEW_FEATURE] Settings on cloud - Google Drive.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1258 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-06-30 15:54:40 +00:00
Don Ho 822693e106 [NEW] Add SQL ability.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1257 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-06-29 11:41:35 +00:00
Don Ho c27ea30f0e [ENHANCEMENT] Read dropbox database file instead of json file. Remove unnecessary and unstable component.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1256 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-06-28 00:53:11 +00:00
Don Ho 0f6c6276b3 [BUG_FIXED] Fix "Settings on cloud - Dropbox" not working problem if the dropbox path has been changed.
[RELEASE] Notepad++ v6.6.6

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1249 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-06-12 23:30:28 +00:00
Don Ho f8142f4aad [NEW_FEATURE] Automatic Backup System (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1226 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-23 00:43:38 +00:00
Don Ho 1302b354ad [UPDATE] Include "precompiledHeaders.h" in several files.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1200 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-03-10 18:01:57 +00:00
Don Ho ffccd13944 [ENHANCEMENT] Make files in uchardet folder conform with compiling warning level 4.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1197 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-03-08 22:11:15 +00:00
Don Ho 9554b8c79e [NEW_FEATURE] (Author: Giles Payne) Auto-detect character encoding.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1189 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-02-23 19:21:53 +00:00
Don Ho 7edbd55348 [NEW_FEATURE] Make Notepad++ DPI-aware.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1172 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-02-11 00:26:24 +00:00
Don Ho 35c160ddff [NEW] DPI aware (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1171 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-01-21 21:29:45 +00:00
Don Ho 5ae6536ce5 [UPDATE] Add/update localization files.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1062 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-06-27 21:57:23 +00:00
Don Ho e1423c27d4 [MODIF] Change Preferences dialog interface: use list instead of tab to switch among the dialogs.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1061 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-06-25 17:50:51 +00:00
Don Ho ef6c612dc7 [UPDATE] Build-in FunctionList in progress.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1001 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-01-06 01:50:12 +00:00
Don Ho 27efa1548c [NEW_FEATURE] Add build-in FunctionList (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@989 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-11-24 20:14:52 +00:00
Don Ho 71b72dbdf0 [UPDATE]Remove ANSI Config from project.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@977 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-11-04 14:11:31 +00:00
Don Ho da8fdbb86a [NEW_FEATURE] Doc map: Processing text wrapping situation (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@874 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-03-04 18:04:36 +00:00
Don Ho 7e0ed0ebf3 [NEW_FEATURE] (Author: Dave Brotherstone) Add PCRE (Perl Compatible Regular Expressions) support.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@863 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-02-13 01:45:05 +00:00
Don Ho 76c1a650c5 [NEW_FEATURE] Add Document Map feature (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@860 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-01-30 00:00:50 +00:00
Don Ho 7c81c623fd [ENHANCEMENT] Enhance "Add files from Directory" command in Project Manager: sorted result: first all folders, then all files, both of them alphabetically.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@837 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-11-03 02:15:46 +00:00
Don Ho 647748824a [ENHANCE] Enhance Project Manager.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@810 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-09-18 23:47:16 +00:00
Don Ho ede0a41d78 [ENHANCE] Enhance Project Manager.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@805 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-09-07 18:10:31 +00:00
Don Ho 52a17f8056 [NEW_FEATURE] Add Project manager (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@800 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-08-29 23:01:41 +00:00
Don Ho 16bae1a4a5 [NEW_FEATURE] Make Recent File List totally customizable (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@780 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-06-26 02:09:56 +00:00
Don Ho 1b68569f53 [ENHANCE] Enhance the packaging procedure.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@763 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-05-29 09:00:16 +00:00
Don Ho 1e441838a4 [CLEAN_UP] Clean up project file.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@759 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-05-21 23:54:54 +00:00
Don Ho a92c57b56c [UPDATE] Modify the project file to adapt to compile with VS2010.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@758 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-05-21 22:11:52 +00:00
Don Ho 70970e2bfd [UPDATE] Move 3 external precompile symboles into project file.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@757 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-05-21 14:02:58 +00:00
Don Ho 6eb08d415b [NEW_FEATURE] Add find characters in range feature.
[NEW_FEATURE] Add file switcher (list) dialog (in progress).


git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@756 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-05-19 21:19:05 +00:00
Don Ho 7b54c09db9 [NEW_FEATURE] Add Clipboard History feature.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@748 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-04-20 21:45:18 +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 622282fc66 [NEW] Add ChangeIcon.exe into generation binary procedure.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@718 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-11-25 21:54:48 +00:00
Don Ho 079353cd4c [BUG_FIXED] Fix localization switching under Windows 7 problem (UAC issue).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@711 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-11-20 21:13:47 +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 25755fd810 [NEW_FEATURE] Add a new capacity in context menu: the commands can be in the sub-menu.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@690 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-10-30 11:25:17 +00:00
Don Ho 03b2d5e8b7 [NEW] Add new application icon.
[ENHANCE] Enhance Editing Contextmenu feature.
[UPDATE] Add comment in contextMenu.xml.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@688 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-10-24 23:49:07 +00:00
Don Ho cfe63a2048 [BUG_FIXED] Fix macro recording bug for the non-ASCII characters.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@676 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-10-05 21:33:37 +00:00