Commit Graph

376 Commits

Author SHA1 Message Date
Rainer Kottenhoff
fa27fdd60d fix: NONE vs EMPTY INI file handling, remove styling empty sections 2026-04-14 13:32:18 +02:00
Rainer Kottenhoff
0a3f969c3d fix: encoding dialog system codepage special handling 2026-04-14 09:27:58 +02:00
Pairi Daiza
29e6b42613
MUI - Migration to original grepWin Portable, update divers scripts and cleanup 2026-04-11 00:46:30 +02:00
Pairi Daiza
b9c78d8344
Revert "fix: try to fix flickering issue" 2026-04-06 23:46:00 +02:00
METANEOCORTEX\Kotti
4339223594 Fix ARM64 flickering/rendering issues on Windows 11 25H2
Addresses reported flickering and rendering problems on ARM64 devices
running Windows 11 25H2 by implementing ARM64-specific rendering
defaults, build configuration fixes, and redraw optimizations.

Rendering fixes:
- Default to SC_TECHNOLOGY_DIRECTWRITERETAIN on ARM64 to preserve
  back buffer between frames, avoiding blank flashes with Qualcomm
  Adreno GPUs and Win11 25H2 DWM compositor changes
- Wrap MsgThemeChanged() in WM_SETREDRAW FALSE/TRUE to suppress
  N intermediate repaints during heavy theme/DPI transitions
- Add WS_EX_COMPOSITED to main window on ARM64 for system-level
  double-buffering
- Remove RDW_ERASE from DarkMode ListView/TreeView RedrawWindow()
  calls to avoid background erase flash during theme changes

Build configuration fixes:
- Add _WIN64 preprocessor define to Scintilla, SciLexer, Lexilla
  ARM64 configurations (was missing, could cause 32-bit code paths)
- Add TargetMachine=MachineARM64 to all ARM64 linker sections across
  Notepad3, Scintilla, SciLexer, Lexilla projects
- Add CETCompat=false to Scintilla and SciLexer ARM64 configurations
  (CET is x86/x64 only, not compatible with ARM64)

Platform code improvements:
- Add _M_ARM64 detection for GrepWin binary selection (ARM64 was
  silently mapped to x64 binary via _WIN64 check)
- Add NP3_BUILD_ARM64 helper macro in TypeDefs.h for future
  ARM64-specific code paths
- Document RenderingTechnology setting in Build/Notepad3.ini with
  per-resolution override syntax and ARM64 troubleshooting tips

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-06 17:19:34 +02:00
METANEOCORTEX\Kotti
944c436be4 fix: PortableApps Platform build should use PA's grepWinPortable - do not bundle grepWin with Notepad3Portable. 2026-04-04 12:04:50 +02:00
METANEOCORTEX\Kotti
3340277cdd upd: migration to original grepWin tooling (remove home brew project) 2026-04-02 05:56:17 +02:00
METANEOCORTEX\Kotti
1dd60f00b2 fix: simplify encoding settings 2026-03-30 12:12:10 +02:00
METANEOCORTEX\Kotti
e1ba11008c fix: default encoding (forced fallback), AnalyzeReliableConfidenceLevel dialog configurable 2026-03-29 16:42:55 +02:00
METANEOCORTEX\Kotti
dbec779092 +fix: Claude Code review of pathlib methods 2026-03-27 00:45:31 +01:00
Rainer Kottenhoff
2c50b7c62a add: Tab Settings - Tab/Backspace always indents (not only at beginning of line) 2026-03-23 20:10:02 +01:00
Rainer Kottenhoff
3cc9919929 add: [Settings2]CopyMultiSelectionSeparator= config 2026-03-23 18:18:03 +01:00
Rainer Kottenhoff
062d82b463 fix: Claude Code based refactoring of encoding detection - based on uchardet test files and more 2026-03-13 10:09:39 +01:00
Rainer Kottenhoff
aad3c16227 feat: add UCHARDET encoding prober filter (Settings2:UchardetLanguageFilter)
default(31): probe all encodings, 27: exclude Japanese prober...
2026-03-10 18:03:08 +01:00
Rainer Kottenhoff
7c52d5370d chore: update SimpleIni header only lib (to v4.25) 2026-03-09 18:11:52 +01:00
Rainer Kottenhoff
20b011529b fix: enhance InfoBoxLng() to replace non dark-mode aware MessageBoxEx(). InfoBoxLng is dynamicall adapted in height depending on text length. 2026-03-06 20:28:32 +01:00
Rainer Kottenhoff
bc97ba45b1 refactor: remove deprecated Win7 compatibility, refactor background worker and file observation, UTF-32 detection 2026-03-05 15:55:07 +01:00
Rainer Kottenhoff
71e1abe173 upd: update UCHARDET encoding detector 2026-03-04 18:40:32 +01:00
Rainer Kottenhoff
c40474866a refactor: File Change Notification handling 2026-02-25 15:07:04 +01:00
Rainer Kottenhoff
ae3f50ba1a feat: refactor to atomic save pattern 2026-02-24 20:22:25 +01:00
Rainer Kottenhoff
36d116e243 fix: INI file handling Notepad3 and Minipath 2026-02-23 13:59:54 +01:00
METANEOCORTEX\Kotti
399b95a5b1 fix: Zooming 2026-02-20 16:58:02 +01:00
METANEOCORTEX\Kotti
84c00a4214 fix: INI file handling in case of redirection 2026-02-17 15:40:09 +01:00
Derick Payne
734aa63117 fix: Persist Monitoring Log (View -> Monitoring Log) setting
Added MonitoringLog bool to Settings struct and implemented load/save
in Config.cpp. The setting is now restored from INI file on startup
and saved when settings are saved.

Changes:
- TypeDefs.h: Added MonitoringLog to SETTINGS_T struct
- Config.cpp: Added GET_BOOL_VALUE_FROM_INISECTION for loading
- Config.cpp: Added SAVE_VALUE_IF_NOT_EQ_DEFAULT for saving
- Notepad3.c: Initialize FileWatching.MonitoringLog from Settings

Fixes #5037
2026-01-20 22:51:03 +02:00
Derick Payne
90c261012e fix: Create settings folder recursively if it doesn't exist
Changed CreateDirectoryW to SHCreateDirectoryExW in CreateIniFile() to
create all intermediate directories in the settings path. This fixes the
issue where Notepad3 cannot save settings if %APPDATA%\Rizonesoft\Notepad3
folder doesn't exist (e.g., when installed via Chocolatey under admin).

Fixes #5075
2026-01-20 22:43:29 +02:00
Pairi Daiza
02dfec5c38
+ chg: Rizonesoft Copyright © 2008-2025 to year "2008-2026" 2026-01-01 09:31:16 +01:00
Pairi Daiza
f8893c0b83
+ chg: Rizonesoft Copyright © 2008-2024 to year "2008-2025" 2025-01-01 09:31:47 +01:00
METANEOCORTEX\Kotti
aa093a765d +add: New settings option to enable/disable feature Multiple Selection 2024-05-30 23:01:39 +02:00
METANEOCORTEX\Kotti
c16ca28dc9 +rm: remove "DrawAnimatedWindow" settings feature and rely on system window animation configuration 2024-05-28 01:40:55 +02:00
METANEOCORTEX\Kotti
963c5f2ca7 fix mouse cursor flickering in case of "hide mouse while typing" 2024-05-20 13:01:50 +02:00
METANEOCORTEX\Kotti
f3e76cdcb6 +add: option to choose between sub-line and whole-line selection on line-number margin click 2024-03-07 11:46:21 +01:00
METANEOCORTEX\Kotti
90ce681ad7 +chg: DrawAnimatedWindow: only toggle between system settings and suppress-animation if used in system settings (avoids global system settings activation) 2024-03-01 01:43:02 +01:00
METANEOCORTEX\Kotti
16208cb2e2 +chg: Ini-Filereader: allow long suffix comments for numeric values 2024-02-26 09:10:27 +01:00
METANEOCORTEX\Kotti
7b35d58af3 +chg: Config-File: allow space or comment char after integer and float values - other (ivalid) suffixes will yield default value 2024-02-25 23:05:45 +01:00
METANEOCORTEX\Kotti
f26b3602bd +fix: Settings2:DrawAnimatedWindow - support system settings (value = 0 or undefined) 2024-02-24 15:09:33 +01:00
Pairi Daiza
9c09f044a6
+ chg: Rizonesoft Copyright © 2008-2023 to year "2008-2024" 2024-01-01 07:55:39 +01:00
METANEOCORTEX\Kotti
5b72f484f1 +fix: show ColorDef Dlg always full visible 2023-10-16 11:50:58 +02:00
rkotten
5d4d00fe40 +rfc: Some refactoring regarding string comparison 2023-09-26 11:35:37 +02:00
METANEOCORTEX\Kotti
57ca075f39 +add: opt. to disable animated max./min. window ([Settings2] DrawAnimatedWindow)] 2023-08-28 22:16:46 +02:00
METANEOCORTEX\Kotti
45034f90c4 +add: Dark-Mode Contrast control for Schemes configuration 2023-08-27 18:16:33 +02:00
METANEOCORTEX\Kotti
493faf5b92 +chg: add Reset Zoom toolbar button 2023-06-29 23:39:02 +02:00
METANEOCORTEX\Kotti
da07882fca +add: option on F/R dialog: incremental search ON/OFF 2023-05-12 22:12:34 +02:00
rkotten
9d7f8f8faa +enh: option: do not save blank new files 2023-05-04 18:11:00 +02:00
rkotten
3d73eed105 +upd: current grepWin dev 2023-05-03 15:59:29 +02:00
METANEOCORTEX\Kotti
525530919b +enh: some enhancements for Logfile Monitoring 2023-04-30 01:48:05 +02:00
rkotten
753b94b19f +chg: watch log-file (part I) 2023-04-28 17:27:37 +02:00
METANEOCORTEX\Kotti
628c22405a +chg: Keep Dark/Light Win Mode settings (if once set manually - else auto detect) 2023-04-27 16:10:03 +02:00
METANEOCORTEX\Kotti
35a1aad6a9 +add: option to show/hide titlebar 2023-04-27 11:21:35 +02:00
rkotten
8903122724 +fix: some more issues around "File Change Monitoring" 2023-03-30 18:19:48 +02:00
rkotten
dd2fd09c20 +fix: Integration and Notification of DirectoryObserver and FileChanged-Polling 2023-03-28 13:44:55 +02:00