Commit Graph

237 Commits

Author SHA1 Message Date
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
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
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
a092fbb09d - remove Debug build - not needed here ;-) 2017-09-02 01:06:03 +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
ebc3020297 + try fix parsing error 2017-09-02 00:16:02 +02:00
Rainer Kottenhoff
a1aec489ca + first AppVeyor config 2017-09-01 23:59:55 +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
9182ddcf37 + update doc parameters of [Settings2] 2017-08-31 21:04:04 +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
dce3076e39 Merge branch 'UniCodePage_Branch' into StrSafe3_Branch 2017-08-31 14:24:32 +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
Derick Payne
c0c07aca6f Merge pull request #71 from RaiKoHoff/UniCodePage_Branch
UniCodePage handling
2017-08-31 13:13:52 +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
059be6c8c2 + move crypto readme to doc dir 2017-08-30 12:10:40 +02:00
Rainer Kottenhoff
8cd22c7d97 + add doc for uthash library 2017-08-30 12:06:45 +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
Derick Payne
93b4511eb7 Merge pull request #70 from RaiKoHoff/StrSafe_Branch2
StrSafe migration
2017-08-27 17:52:42 +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
5b382254f1 Merge branch 'Selection_Undo' into StrSafe_Branch2 2017-08-26 12:50:05 +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
87763d9d89 Merge remote-tracking branch 'Notepad3_upstream_Rizone/master' 2017-08-24 10:24:10 +02:00
Rainer Kottenhoff
b644ede5f3 Merge commit '13f1d4a7076cce44bd5909ccb45fedf5dc1e1f23' 2017-08-24 10:23:43 +02:00
Derick Payne
a8fbb0a45e Merge pull request #69 from RaiKoHoff/StrSafe_Branch
StrSafe branch
2017-08-24 09:38:01 +02:00
Derick Payne
b2954be90f Merge branch 'master' into StrSafe_Branch 2017-08-24 09:37:48 +02:00
Derick Payne
13f1d4a707 Merge pull request #68 from RaiKoHoff/Bugfix_0823B
+ fix:  undo destructive operation on selection (rectangle) does not restore selection
2017-08-24 09:34:02 +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