Commit Graph

43 Commits

Author SHA1 Message Date
Rainer Kottenhoff
e24aae06d3 + fix: add thread COM initializations 2021-04-23 13:04:19 +02:00
Rainer Kottenhoff
63657fa440 + rfc: IconThread code refactoring 2021-04-23 12:30:38 +02:00
Rainer Kottenhoff
51e861600b + rfc: small refactorings 2021-03-22 10:21:18 +01:00
Rainer Kottenhoff
252af18400 + add: 1st part of exclusive lock file open mode
+ rfc: som minor refactorings
2021-03-19 21:01:39 +01:00
Pairi Daiza
a1706a2a75 + chg: Rizonesoft Copyright © 2008-2020 to year "2008-2021" 2021-01-01 10:48:00 +01:00
Rainer Kottenhoff
fbf83129a5 + fix: file save problem after switching encoding to GB2312 (52936)
+ sty: code styling reformat (AStyle: OTBS)
+ fix: file encoding analysis with 7-bit ASCII only
2020-11-25 12:47:14 +01:00
Rainer Kottenhoff
b3488836c4 + fmt: AStyle ALLMAN core code base 2020-11-19 20:15:29 +01:00
RaiKoHoff
ca003c82dd + fix: some more CppCheck complaints 2020-05-14 12:22:28 +02:00
Pairi Daiza
ae53805a59 Change Rizonesoft Copyright © to year "2020" 2020-01-03 18:17:29 +01:00
Rainer Kottenhoff
e9b6daa6eb + integrate text conversion wrapper (DWORD -> ptrdiff_t) 2019-11-13 12:58:01 +01:00
Pairi Daiza
2be6142a16 Conversion all files to encoding UTF-8 (Final) 2019-11-05 00:07:41 +01:00
Pairi Daiza
c7f4d725e3 Conversion all files to encoding UTF-8 (Partial_1) 2019-11-04 00:27:34 +01:00
Derick Payne
d63c046d9f Revert "Releasing Build 2511 RC"
This reverts commit 140c60c6ec.
2019-07-26 21:18:11 +02:00
Derick Payne
140c60c6ec Releasing Build 2511 RC 2019-07-26 20:36:25 +02:00
Rainer Kottenhoff
4cb6b0e4ec + chg: reworked Styling Import/Export 2019-03-15 21:17:17 +01:00
Rainer Kottenhoff
c3828859a1 + new: 1st version of menu language selection 2019-02-27 02:18:31 +01:00
Rainer Kottenhoff
e83fbcc747 + upd: current corrections for Compact Encoding Detection (CED by Google)
+ fix: problem with UTF-8 (no BOM) encoding vs. ANSI encoding detection
+ cln: code cleanup
2019-02-01 13:21:15 +01:00
Rainer Kottenhoff
1dd48be287 + cln: CppCheck (v1.86) clean code suggestions 2019-01-30 11:21:33 +01:00
Pairi Daiza
fe977cddec Change Rizonesoft Copyright © to year "2019" 2018-12-30 00:28:28 +01:00
Rainer Kottenhoff
44a98f4f66 + tidy: code cleaning based on "Clang Power Tools" VS extension : "Tidy" 2018-10-10 15:30:43 +02:00
Rainer Kottenhoff
4a8fe155d1 + replace LocalAlloc() by recommended HeapAlloc() 2018-09-20 12:47:26 +02:00
Rainer Kottenhoff
cf7d9a9c87 + some minor refactorings 2018-09-17 16:28:50 +02:00
Rainer Kottenhoff
7e6e32e444 + add: menu entries for function "Increase/Decrease Number" (Ctrl+Alt+NK+/NK-)
+ CppCheck issues fixed
2018-09-12 16:52:08 +02:00
Rainer Kottenhoff
f5ed95be63 + refactoring & code cleanup 2018-09-09 01:54:08 +02:00
Rainer Kottenhoff
81b83eec34 + code cleanup: Suggestions from Visual Studio's Code Analysis Mode 2018-08-28 14:37:40 +02:00
Rainer Kottenhoff
a86a05200f + add: first draft of DirectWrite Font Chooser 2018-08-14 18:20:39 +02:00
Rainer Kottenhoff
83a561ba21 + refac: BOOL -> bool 2018-04-05 08:12:32 +02:00
Rainer Kottenhoff
897945958c + chg: change encoding of NP3 sources to UTF-8 (Sig)
+ fix: Update Toolbar,Statusbar and LinNumber Margin on Observe NotifyEvent reactivation
+ enh: more int to DocPos type changes
2018-03-26 13:50:44 +02:00
Rainer Kottenhoff
415bf9979c + enh: Non Modal Customize Schemes... dialog 2018-03-11 23:28:27 +01:00
Rainer Kottenhoff
b015d54c97 + fixes found by static code analysis 2017-11-03 07:50:17 +01:00
Rainer Kottenhoff
049f0e6d8f + first refactoring for find/replace (RegExpr) operations 2017-10-27 16:28:07 +02:00
Rainer Kottenhoff
3b084fcae5 + fix: crash in Favorites management (release version only, debug version didn't crash - so hard to find)
+ small code refactoring (replacing deprecated methods)
2017-10-17 12:56:10 +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
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
432db22943 + adapt lstrcpyn() calls according to StrSafe.h requirements ... 2017-08-24 17:31:56 +02:00
Rainer Kottenhoff
3d0359ae6b nth+ StrSafe code hardening 2017-08-23 00:02:48 +02:00
Rainer Kottenhoff
3db1dbd0ab StrSafe adaptions 2017-08-21 18:02:50 +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
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
1b71079b13 - fix: nullptr access while pressing "favorites" toolbar button on 'virgin' NP3
- reintroduce HighDPI toolbar:
  .ini-File settings:  section [Toolbar Images]
    + (new) HighDpiToolBar=
        val  -1  (or not set at all) => depending on screen resolution:
                 higher than Full-HD (1920x1080) -> select internal HighDPI-Toolbar
       val  0:  use internal low resolution Toolbar  (old behaviour)
       val  1:  use internal HighDPI-Toolbar
   -  (old)  BitmapDefault=<bitmap-file-path>  overrides HighDpiToolBar setting and uses <bitmap-file-path> (if valid)
2017-08-09 10:51:43 +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
Derick Payne
3737845a15 Initial Release
This is the start of the project.
2015-11-13 07:44:58 +02:00