Commit Graph

171 Commits

Author SHA1 Message Date
Rainer Kottenhoff
c318d2b923 Merge branch 'NP2E_BugFixes' 2017-09-06 01:24:24 +02:00
Rainer Kottenhoff
809b8b89d4 + fixed bug: open find dialog the first time (new NP3 instance) while clipboard is empty, NP3 crashes
(try to LocalFree() static allocated memory)
2017-09-06 01:17:06 +02:00
Derick Payne
4c66c0efc3 Merge pull request #78 from RaiKoHoff/AppVeyor_VersionPatch
Suggestion:  Powershell based VersionPatch script and Help/About... display
2017-09-05 20:35:06 +02:00
Rainer Kottenhoff
c4e31c396e - remove FindReplaceDlg handle declared as external from compilation unit Edit.c - not really needed here.
(externals (handles / pointers) seemed to be a problem on module init instance time in 64-bit ?)
2017-09-05 18:41:54 +02:00
Rainer Kottenhoff
6e65f81fe5 + changed version display on Help/About...
+ powershell script to patch version numbers
+ appveyor.yml using same powershell commnads to patch version
2017-09-05 12:53:41 +02:00
Rainer Kottenhoff
a2f250dd4f + fixing crash in case of wrong Encoding (detection) 2017-09-05 09:24:55 +02:00
Rainer Kottenhoff
d6775f7161 + NP2E issue #100 "File lock not released on open" (https://github.com/ProgerXP/Notepad2e/issues/100): 2017-09-05 00:11:45 +02:00
Rainer Kottenhoff
3e23113b7f + NP2E issue #126 (https://github.com/ProgerXP/Notepad2e/issues/126)
- solved by commit   71838d6
2017-09-04 23:24:09 +02:00
Rainer Kottenhoff
4bc42b7840 Merge branch 'RelaunchElevated' into NP2E_BugFixes 2017-09-04 23:11:11 +02:00
Rainer Kottenhoff
cdbf84a2b0 + cleanup tmp filebuffer, if elevation has been rejected 2017-09-04 20:53:54 +02:00
Rainer Kottenhoff
9fcfe39f70 "Relaunch elevated": use current .ini-file instead of new user's (Admin's) .ini 2017-09-04 20:33:34 +02:00
Rainer Kottenhoff
95543b97c1 + "Relaunch elevated", infinite loop protection 2017-09-04 18:13:36 +02:00
Derick Payne
ac664d51b1 Merge pull request #74 from RaiKoHoff/RelaunchElevated
+ remember window position in case of "relaunch elevated"
2017-09-04 15:09:04 +02:00
Rainer Kottenhoff
348dee6801 + enhance consistency between toolbar (save button) and titlebar (modified marker) 2017-09-04 12:59:02 +02:00
Rainer Kottenhoff
f35e6ec96d + fixing problem memory initialization problem during InitInstance() 2017-09-04 10:20:08 +02:00
Derick Payne
1e3c0cbda2 Build 468 Released 2017-09-02 14:15:33 +02:00
Rainer Kottenhoff
837f22c588 + remember window position in case of "relaunch elevated" 2017-09-02 14:02:24 +02:00
Rainer Kottenhoff
239f54b0ca + small fixes for "Relaunch elevated"
+ consistency: raising WINVER macros to Win7 (abandoned WinXP support)
2017-09-02 09:09:23 +02:00
Rainer Kottenhoff
e8ec51f360 Merge branch 'StrSafe3_Branch' into RelaunchElevated 2017-09-02 01:13:13 +02:00
Rainer Kottenhoff
ac11c6bdaa + next try 2017-09-02 00:54:50 +02:00
Rainer Kottenhoff
3bf27e9b1d Merge branch 'StrSafe3_Branch' of https://github.com/RaiKoHoff/Notepad3 into StrSafe3_Branch 2017-09-02 00:50:54 +02:00
Rainer Kottenhoff
0790f7496f + next try for .vcxproj 2017-09-02 00:45:45 +02:00
Rainer Kottenhoff
444beff925 + try fixing .vcxproj file 2017-09-02 00:26:00 +02:00
Rainer Kottenhoff
a553fa4d9a + fixing some problems for feature "relaunch elevated preserve changes" 2017-09-01 20:25:38 +02:00
Rainer Kottenhoff
d1a53c3fb1 + relaunch elevated keeping current changes in a buffer 2017-09-01 16:45:31 +02:00
Rainer Kottenhoff
04752d0bb5 + clipboard encoding handling refined 2017-09-01 12:03:03 +02:00
Rainer Kottenhoff
a4f0b5c56e + add text file documentation for Notepad3 (includes Notepad2 and Notepad2-mod docs and detailed description of encryption feature)
+ add [Settings2] parameter for "mark occurence" max. count  (which was fix at 2000 before) - now configurable, max is 100000
2017-08-31 20:48:38 +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
11c29871e1 + replace lstrlen() by safe StrSafe method (where applicable) 2017-08-30 23:32:56 +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
Rainer Kottenhoff
d3e17140e4 + remove internal codepage support for Chinese, Japan, Korean DBCS use generalized UTF-8 codepage instead
(conversions do not work as expected within scintilla lib)
2017-08-30 12:35:07 +02:00
Rainer Kottenhoff
98f7649aee + enable "unlimited" (as in Scintilla Lib: dep. on memory and INT_MAX) undo / redo selection history
using utarray from uthash header library (https://troydhanson.github.io/uthash/index.html)
2017-08-30 11:43:18 +02:00
Rainer Kottenhoff
3ca370a13c + minor findings 2017-08-30 00:21:29 +02:00
Rainer Kottenhoff
fcd9630519 + refactoring: Encoding handling
+ more operations for selctions undo/redo
2017-08-29 14:55:13 +02:00
Rainer Kottenhoff
67806856c8 + fix ConvertText() according to internal SCI codepage 2017-08-29 01:15:45 +02:00
Rainer Kottenhoff
31a6c93f18 + unicode to codepage clipboard handling 2017-08-29 00:28:51 +02:00
Rainer Kottenhoff
8ff4bad83f + clean code 2017-08-28 17:33:00 +02:00
Rainer Kottenhoff
369fbe814b + remove support for obsolete Korean Johab (1361) codepage. 2017-08-28 16:34:29 +02:00
Rainer Kottenhoff
f0524f0321 + switching Scintilla internal codepage to UTF-8 only (resp. Japanese, Chinese and Korean DBCS)
single-byte encoding is supported externally and converted (fore and back) to UTF-8 internally,
  this simplifies i.e. clipboard exchange, etc.
2017-08-28 16:19:03 +02:00
Derick Payne
72db927b90 Visual C++ 2017 now required 2017-08-27 18:36:14 +02:00
Rainer Kottenhoff
803e39f771 + changes to EditGetClipboardText() solved the SCI_CUT problem, so it can be switched back from SCI_COPY & SCI_CLEAR to SCI_CUT (byte alignment in 64-bit , i am nut sure) 2017-08-27 08:59:13 +02:00
Rainer Kottenhoff
291da00a50 + extended: remember selection undo / redo
+ add undo / redo selection to more operations
+ found Scintilla 400 method "SCI_CUT"  (cut selection) broken: lost last char
   -  replaced by SCI_COPY & SCI_CLEAR combination (for now)
2017-08-26 12:48:47 +02:00
Rainer Kottenhoff
e0606ff986 + refactoring of "Accelerated Word Navigation" to be compliant with Scintillas WhiteSpace and Punctuation defines
+ "Accelerated Word Navigation" activation influences "Mark Occurrences" (whole word) if set
2017-08-25 15:24:40 +02:00
Rainer Kottenhoff
432db22943 + adapt lstrcpyn() calls according to StrSafe.h requirements ... 2017-08-24 17:31:56 +02:00
Rainer Kottenhoff
f4ce0193b6 + found bug caused by StrSafe migration (COUNTOF() for buffer size must not be used on buffer pointer)
+ migrate StrCpyN() and StrCatBuff() to corresponding StrSafe.h methods
2017-08-24 15:15:56 +02:00
Rainer Kottenhoff
db9dd13422 Merge branch 'master' into StrSafe_Branch 2017-08-23 17:38:25 +02:00
Rainer Kottenhoff
b7523f4d53 + last chunk of StrSafe.h replacements for deprecated string functions
* no functional changes compared origin master
- despite of regression tests, there is a small possibility of
  introducing changed/wrong behavior regarding string operations ... :-O
2017-08-23 12:22:48 +02:00
Rainer Kottenhoff
cb9b514f36 code cleanup 2017-08-23 00:20:27 +02:00
Rainer Kottenhoff
3d0359ae6b nth+ StrSafe code hardening 2017-08-23 00:02:48 +02:00
Rainer Kottenhoff
4dce5f0c0f nth StrSafe adaption 2017-08-22 22:03:12 +02:00