Commit Graph

111 Commits

Author SHA1 Message Date
Derick Payne
c442af31ab Merge pull request #65 from RaiKoHoff/Bugfix_450
wrong settings section for SciDirectWrite and SciFontQuality
2017-08-21 16:01:56 +02:00
Rainer Kottenhoff
d289084fd4 + extended default "space char set" for "Accelerated Word Navigation"
+ to avoid unexpected "accelerated word navigation" behavior,
  space-char extension is restricted to 7-bit ASCII char set (ignoring specified non-7-bit-ASCII chars).
2017-08-21 11:03:46 +02:00
Rainer Kottenhoff
4e71b4cf2f + fix: manually edited settings (SciDirectWriteTech, SciFontQuality) should be placed in settings section [Settings2]. 2017-08-19 08:51:40 +02:00
Derick Payne
af8410e070 Merge pull request #64 from RaiKoHoff/Bugfix_500
+ fixed: "file modified" flag not set on Ctrl+X actions
2017-08-18 19:04:42 +02:00
Rainer Kottenhoff
d78d417f7d + fixed: "file modified" flag not set on Ctrl+X actions 2017-08-18 17:05:57 +02:00
Derick Payne
56a988ea77 Merge pull request #58 from RaiKoHoff/Scintilla_400
Update to Scintilla 400  (VS2017 vc140+ needed for C++14 & C++17 features)
2017-08-18 14:31:36 +02:00
Derick Payne
43f51f7b18 Merge pull request #62 from RaiKoHoff/Bugfix_440
Bugfixes post build 440
2017-08-18 14:30:35 +02:00
Rainer Kottenhoff
d6808ea031 Merge branch 'Bugfixes' into Scintilla_400 2017-08-18 12:39:50 +02:00
Rainer Kottenhoff
aa52069372 + fix: re-enable accidentally disabled toolbar buttons (find, replace, clear, toggle-folds, file-launch) 2017-08-18 12:39:23 +02:00
Rainer Kottenhoff
f435a159c4 Merge branch 'Bugfixes' into Scintilla_400 2017-08-18 12:19:51 +02:00
Rainer Kottenhoff
f22d0198b9 + fix: remove obsolete settings entry, never read (SciDrawTechnology)
- correct entry is 'SciDirectWriteTech', must by manually edited

+ add possibility of override SciDirectWriteTech Settings (general section),
  by resolution specific specialization (using general settings if not defined)
2017-08-18 12:01:50 +02:00
Rainer Kottenhoff
89ecc77915 Merge branch 'Bugfixes' into Scintilla_400 2017-08-18 10:20:44 +02:00
Rainer Kottenhoff
fbf995a5c1 + fixing crash: no good idea to make char array (char*) external to other compilation unit
(might be a 64-bit pointer problem or (higher probability) an order of initialization problem)
  found another (better) solution for that
2017-08-18 10:18:57 +02:00
Rainer Kottenhoff
d9c017c9f9 + version info changed from "unstable" to "early bird" 2017-08-17 23:03:11 +02:00
Rainer Kottenhoff
0a4e3ae13c Merge branch 'Bugfixes' into Scintilla_400 2017-08-17 17:57:54 +02:00
Rainer Kottenhoff
accbcdcb2e + fix: wrong shortcut in menu on word navigation (Ctrl+LEFT/RIGHT)
+ add: toggle option for accelerated word navigation (Ctrl+LEFT/RIGHT)
  according to issue #27 (https://github.com/rizonesoft/Notepad3/issues/27)
  - [Settings2] parameter "ExtendedWhiteSpaceChars=" defines a
    set of chars to be ignored (handled as whitespaces) to find the next beginning of a word
    if "Accelerated word navigation" is switched ON
2017-08-17 17:56:08 +02:00
Rainer Kottenhoff
f6f1c5ad0d + rename encoding menu item: "Recode No FileVars" (Alt+F8) =>> "Ignore Encoding Tags" (Alt-F8) 2017-08-17 15:06:34 +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
6474ab9a22 + Save Edit.c and Version.h as UTF-8 w/BOM to make Unicode chars independant from encoding ANSI local codepage.
+ remove some unneccessary comments with unicode chars
2017-08-16 22:58:37 +02:00
Rainer Kottenhoff
1a9f19d961 + fix: restore selection after undo: revert selection mode too 2017-08-16 21:40:55 +02:00
Derick Payne
79dbf39761 Prepared Build 440 for Release 2017-08-16 20:19:10 +02:00
Rainer Kottenhoff
878a84b9ad + fix: unicode conversion error fixed in .rc 2017-08-16 16:19:48 +02:00
Rainer Kottenhoff
b88fe6bf26 + add Del/Back Selection preserving on Undo/Redo 2017-08-16 15:39:21 +02:00
Rainer Kottenhoff
7f52ae6a4d + fix: restore "rectangular" selection too on "Selection Cut" Undo/Redo 2017-08-16 14:13:18 +02:00
Rainer Kottenhoff
ba09c53f27 + Cut Selection (Ctrl-X) will preserve Selection on Undo/Redo 2017-08-16 12:33:45 +02:00
Rainer Kottenhoff
e66c9cae8f dev trial 1 2017-08-16 00:18:06 +02:00
Rainer Kottenhoff
d9ef89f715 + fix Toolbar Button "Save" has to be enabled on encoding changes
+ encode Notepad.rc as Unicode BOM (UTF-16LE) to enable unicode characters for resource embedding
2017-08-15 21:45:29 +02:00
Rainer Kottenhoff
490b99831a + fix bug on path compare for editing own settings file (.ini) to disable "save settings" menu entries (should be case insensitive) 2017-08-15 19:27:16 +02:00
Rainer Kottenhoff
2e2e1707cd + further discussions on notepad2-mod PR #200 convinced me, that the "reload UTF-8 bugfix" solves a problem regarding pure ASCII files reloaded as UTF-8.
+ add menu entries for launching WebTemplates (specified in section [Settings2]) with selected text as arguments
2017-08-15 19:12:13 +02:00
Rainer Kottenhoff
2a11751359 + Zero initializing string buffers (hardening code while searching an issue regarding "Recent Files" list in "relative paths" mode ... 2017-08-15 17:32:31 +02:00
Rainer Kottenhoff
461b848156 + add Enabling/Disabling Save-Button in toolbar according to file modified indicator
- moving Save Settings enabler (in case of own settings loaded into editor) to method (instead of define)
2017-08-15 09:12:18 +02:00
Rainer Kottenhoff
63479b9a26 Merge branch 'master' into NP2-mod_Enhancements 2017-08-14 21:34:34 +02:00
Rainer Kottenhoff
640274b0a5 + took the nice pull request from @zufuliu (notepad2-mod PR #200 : (https://github.com/XhmikosR/notepad2-mod/pull/200)
and put some of the "hidden" shortcuts into NP3's menu tree.
   - couldn't reproduce the "reload as UTF-8 not work bug" in NP3 (?) - so didn't merge the related change.
     (if someone can reproduce it, please tell me)
+  I "guard" the shortcut for direct editing the NP3's .ini-file (Ctrl+F7) by disabling "Save Settings Now (F7)" and  "Save Settings on Exit" - Flag
    as long as I edit the settings file itself.
    (Example not disabling this:  Editing the .ini-file while "Save Settings on Exit"-Flag is checked,
     leaving NP3 would override the just edited .ini-file with "old" NP3 settings ...)
2017-08-14 21:30:16 +02:00
Rainer Kottenhoff
592796d44f menu integration of "hidden" commands 2017-08-14 18:12:13 +02:00
Derick Payne
49b7372766 Updated build bat files 2017-08-12 20:13:24 +02:00
Rainer Kottenhoff
223a977207 Merge branch 'Sandbox' into Code_Quality 2017-08-11 20:13:03 +02:00
Rainer Kottenhoff
93325e250d + add printing additional option /v(d)ialog to allow access to the Printer dialog (as on Menu: Print... ) 2017-08-11 20:10:52 +02:00
Rainer Kottenhoff
1ebeb4ceca + minor fixes for .vcxproj files regarding optimization and linker settings 2017-08-11 19:48:46 +02:00
Rainer Kottenhoff
935eed6d1e Merge branch 'Sandbox' into Code_Quality
# Conflicts:
#	src/Notepad3.c  (manually linebased merged)
2017-08-11 19:07:32 +02:00
Rainer Kottenhoff
fc10dbf655 + add command line option ( /v ) to print file immediately and quit (like Window's original notepad.exe /p option) 2017-08-11 18:33:38 +02:00
Rainer Kottenhoff
af4d1292f4 + raise Warning Level from 3 -> 4, and fix corresponding warnings
+ option: build-time: treat warning as error (build fails)
+ cleanups reported by CppCheck v.1.79  (except issue: 'variableScope')
+ remove _CRT_SECURE_NO_WARNINGS to see security warnings for deprecated functions;
+ remove macro-definition for BOOKMARK_EDITION (bookmarks are fixed component of NP3 now)
   (code has not been excaped by this MACRO consistently)
2017-08-11 14:18:39 +02:00
Rainer Kottenhoff
8600d566db fixing issue #35 (preserve FileExtension settings while switching Styles / 2nd Default Scheme)
+ enlarge some string buffers for dialogs
+ fixing np3encrypt vcxproj files
2017-08-11 03:35:21 +02:00
Derick Payne
dc2968bb28 Prepaired NP3 Build 422 for Release 2017-08-10 22:41:46 +02:00
Derick Payne
b5646fda70 Fixed some version patching issues.
- Will create a seperate repository for the version patcher.
2017-08-10 21:45:13 +02:00
Derick Payne
03e882a02d Merge pull request #46 from RaiKoHoff/NP3Encrypt
commandline tool for batch encryption - compatible with MP3' encryption feature
2017-08-10 20:07: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
0b84a9ab1d + add commandline tool for batch encrypt / decrypt textfiles, comatible with NP3's encryption feature (Autor Dave Dyer: http://www.andromeda.com/people/ddyer/) 2017-08-10 18:00:27 +02:00
Rainer Kottenhoff
8bdad106c4 - cleanup manifest handling 2017-08-10 10:25:33 +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