Commit Graph

38 Commits

Author SHA1 Message Date
Rainer Kottenhoff
d1d9f2c8d5 + fixed: RegExpr "Find previous" corrected (find mode "left to right" has been used, which has not the intended behavior) 2017-09-07 11:06:14 +02:00
Rainer Kottenhoff
afb5140b0a + replace lstrcmp() and lstrcmpi() by StrSafe (helper.h defined) methods, where applicable 2017-08-31 14:21:45 +02:00
Rainer Kottenhoff
e5ab61a440 - dropping WinXP support , using compiler toolset vc141 Win SDK 10.0.14393.0
(current VC++ redistributable needed ?)
2017-08-30 18:18:00 +02:00
Derick Payne
72db927b90 Visual C++ 2017 now required 2017-08-27 18:36:14 +02:00
Rainer Kottenhoff
c708a522e3 + update to Scintilla 400 (unstable) pre release 2017-08-17 10:23:15 +02:00
Rainer Kottenhoff
362738769a + update to Scintilla 376 (root of long term maintenance branch avoiding C++14, C++17 and later features)
(one change only: the Baan lexer correctly highlights numbers when followed by an operator.)
2017-08-17 08:47:57 +02:00
Rainer Kottenhoff
1ebeb4ceca + minor fixes for .vcxproj files regarding optimization and linker settings 2017-08-11 19:48:46 +02:00
Derick Payne
c0379a137d Merge pull request #45 from RaiKoHoff/Bugfixes
revisit Manifest embedding
2017-08-10 20:05:56 +02:00
Rainer Kottenhoff
ada5b0c2b6 + fixing manifest embedding (Notepad3 & minipath) in VS2017 Solution / vcproj
- using Linker generated manifests (knows dependencies)
   - activate VS2017's postprocessing manifest-tool to merge manifest with
     Version.exe's .manifest.conf part (re-embedding assembled manifest)
     - by the way: Version.exe (Release/Win32) should only patch the items in
       <assemblyIdentity /> node of .manifest.conf and not re-create the complete manifest wiith dependencies
       (it works fine yet, but, if the Linker change dependencies, this will lead to merge conflicts)
   - switching DPI awarenes to 'false', cause only MFC Application can be made DPI aware
     (setting 'true' for non MFC Applications will end up in blurry effects on scaled desktops [MS doc])

- Tip: the embedded manifest resource can be checked by:
    i) load the .exe via file open dialog into VS2017
   ii) or using  Sysinternal's  > sigcheck.exe -a -m Notepad3.exe
2017-08-10 09:52:05 +02:00
Derick Payne
32eb85068d Creating new release 2017-08-09 22:09:31 +02:00
Rainer Kottenhoff
da77f7d308 - fixing issues for batch buils all project configs (Release/Debug/Win32/x64)
- automatic linkage of dependant link-library projects (scintilla static lib) does not work
  (due to a VS bug or special Scintilla .vcxproj settings ?)
2017-08-08 16:03:52 +02:00
Rainer Kottenhoff
4500c2b855 add VS2017 .vcproj files: and adapt Compiler Tool Set accordingly 2017-08-08 13:00:03 +02:00
Rainer Kottenhoff
b944089efc - cleanup .vcxproj to support "All Config" ans "All Platform" selection
~ maybe it is time to change to Platform Toolset "Visual Studio 2017 - Windows XP (v141_xp)" ?

 - add existing recoding accelerator keys (Ctrl+Alt+F & Ctrl+Shift+A)
   to "Recode" menue  (func: reload file forcing this encoding type)

 - add version info for used Scintilla library
  ~ VERSION_SCIVERSION should be set by Version.exe (version patcher)
    and can be picked from provided scintilla\version.txt

 - some code-cleanup (cleancode-developer pathfinder rule)
   while trying to trace down notepad2-mod issue #121
   (i am able to reproduce, but didn't find the reason (yet))
2017-08-08 11:56:56 +02:00
Rainer Kottenhoff
d5e480f1eb - minor cleanups reported by CppCheck v.1.79
- fix exception - reported in notepad2-mod pull request (Crash fixing. #172), which has been rejected there,
  but I was able to reproduce it in VS2017 debug mode (initial defaults for exception handling).
  (https://github.com/XhmikosR/notepad2-mod/pull/172)

- incorporate changes from  notepad2-mod from v.4.2.25.995  to  v.4.2.25.998
  (one fix,  the other changes we have done before already)

- Change shortcuts for the following actions:
  (-) Toggle Transparent Mode:  moved from Ctrl+0  to  Ctrl+Numpad_*
  (x) Reset Zoom: Ctrl+/ change to Ctrl+0      ($v_5.0.26)
  Additional Accelerator Keys, as suggested by (https://github.com/XhmikosR/notepad2-mod/pull/197)
  (+) Toggle Line Comment : in addition to Ctrl+Q add Ctrl+/  with same functionality
  (+) Do Stream Comment : in addition to Ctrl+Shift+Q add Ctrl+Shift+/ with same functionality
  believing new shortcuts are more convenient and more widely used, aren't they?
2017-08-06 23:35:37 +02:00
Rainer Kottenhoff
da073686dc reverting, and fixing encoding / code-page issues:
- consistent encoding <> code-page handling (including Scintilla's code-page settings)
- Scintilla issue regarding notepad2-mod issie #173 (see https://github.com/XhmikosR/notepad2-mod/pull/193)
- allow arbitrary conversion between encodings (even it it does not make sense in any case)
  (instead of doing silently nothing but changing encoding info on status bar)
2017-08-05 20:20:22 +02:00
Rainer Kottenhoff
8a94087563 - fixed: broken Ctrl-Q (toggle line comments)
- remember more settings/checksboxes for “Find text” dialog between sessions (.ini-file persistence of (open) dialog)
- DeelX RegexSearch:  remove EXTENDED mode - that disables white space ignore and '#' as line comment (expexted/convenient behaviour)
- fixing ".LOG-feature" of Notepad : ".LOG" recognition must be case sensitive
2017-08-02 15:48:40 +02:00
Rainer Kottenhoff
9f56e00787 - add VS2013 (vc120) std::unique_ptr handling (Scintilla's "UniqueString.h") 2017-05-30 13:41:55 +02:00
Rainer Kottenhoff
056303b6de - Update Scintilla Lib to v3.7.5
- Add CSS variable and media highlighting.
2017-05-30 10:24:10 +02:00
Derick Payne
cb6990cba6 Bigger toolbar buttons
- Bigger toolbar buttons (24px)
- Visual Studio 2017 solution file
2017-03-31 01:52:39 +02:00
Rainer Kottenhoff
de1f3b55b9 update to Scintilla library v.374 2017-03-28 09:37:26 +02:00
Rainer Kottenhoff
60d356a17f update to Scintilla v.3.7.3 2017-02-21 11:31:09 +01:00
Rainer Kottenhoff
334a68bbcb use changed scintilla/lexers/LexPython.cxx from current Notepad2-mod 2017-01-03 10:07:11 +01:00
Rainer Kottenhoff
51693dc7c7 update component Scintilla to version 372 2017-01-03 08:44:50 +01:00
Rainer Kottenhoff
1f5354b194 + update to Scintilla 371 (NP2 adaption due to deprecated data types) 2016-12-06 11:49:54 +01:00
Derick Payne
8a0723a133 Merge pull request #11 from RaPeHoff/crypto_update
+ crypto module: code cleanup
2016-11-28 08:25:38 +02:00
Rainer Kottenhoff
1d526576c9 + Integration of DeelX RegExpr engine ( see http://www.regexlab.com/en/deelx/ )
Notepad2 and also the maintaining fork notepad2-mod are using Scintilla's internal regexpr engine, which has its limitations ( see  XhmikosR/notepad2-mod#148 ).
   In wise forsight, the developer of Scintilla creates an interface (activated by preprocessor define SCI_OWNREGEX), to embed your own RegExpr search (and replace) engine.
2016-11-27 13:25:39 +01:00
Rainer Kottenhoff
8598137ecc + crypto module: code cleanup according to static code analysis (CppCheck and VS2015 Analyze)
+ crypto module: replace LocalAlloc/GlobalAlloc by HeapAlloc methods
+ Scintilla 370 last merge missed some files
2016-11-27 11:23:16 +01:00
Rainer Kottenhoff
86c8fcaea0 + update Scintilla to Version 3.7.0
- add _SCL_SECURE_NO_WARNINGS preprocessor define (Scintilla uses "unsafe" std::copy now)
+ integrate additional Lexers: lexJSON, lexMATLAB, lexRegistry (see also McNeight/notepad2-mod)
+ Insert GUID insertion option (XhmikosR/notepad2-mod#171)
+ fixing sporadic initial crash (XhmikosR/notepad2-mod#172)
2016-11-15 10:37:30 +01:00
Derick Payne
20192bdfe6 Changed various solution properties 2016-09-08 14:19:39 +02:00
Derick Payne
2267251a35 Updated Scintilla to version 3.6.7
Updated Scintilla to version 3.6.7, Updated HTML Keywords and Added
Microsoft Visual C++ Update 3 version number.
2016-09-06 11:11:37 +02:00
Derick Payne
2429e56f3f Removed Visual Studio 2010 to 2013 Support
Removed Visual Studio 2010 to 2013 Support and Cleaned Source Code.
2016-06-11 17:24:14 +02:00
Derick Payne
ad74a36002 Updated to Scintilla 3.6.6
Updated to Scintilla 3.6.6
2016-06-11 09:32:20 +02:00
Derick Payne
124ab91e84 Build Environment Cleanup
Build Environment Cleanup
2016-06-03 13:13:46 +02:00
Derick Payne
b843870b5a Updated Scintilla to version 3.6.4
Updated Scintilla to version 3.6.4
2016-04-17 20:44:10 +02:00
Derick Payne
0ada3c6d5e Updated Build Output Directories 2016-01-29 19:57:20 +02:00
Derick Payne
865d2af7a5 Updated Scintilla to version 3.6.3 2016-01-29 18:45:29 +02:00
Derick Payne
b8c5f0717c Update Scintilla to version 3.6.2 2015-11-14 11:20:53 +02:00
Derick Payne
3737845a15 Initial Release
This is the start of the project.
2015-11-13 07:44:58 +02:00