6443 Commits

Author SHA1 Message Date
xomx
38ee65fdb2 Fix default installation setting for preventing control characters input
Before, a missing npcNoInputC0 config.xml entry caused the feature to incorrectly reset to false/no (the default for any missing config.xml boolean setting) during the first launch of the Notepad++.

Fix #16326, fix #15839, fix #15729, close #16338
2025-04-03 17:49:54 +02:00
xomx
2ae5df05b9 Fix "Keep selection when right-click outside of selection" not work issue
Make right-click message handler x-margin calculation right.
Previously, the incorrectly used unsigned variable (size_t) overflowed with negative numbers due to incorrect calculation of margin size.x (where possible horizontal scrolling was not taken into account...).

Fix #16325, close #16332
2025-04-03 17:31:28 +02:00
Don Ho
6bc7abb021 Make some items translatable (in UDL & on status bar)
Fix #15426, fix #8004, fix #8972, close #16347
2025-04-03 01:20:35 +02:00
Don Ho
11e01d9abc Use '/' instead of English "or"
Fix #16206, close #16339
2025-04-03 01:17:42 +02:00
Don Ho
09abbad3d7 Fix -pluginMessage needing filename to work.
Remove filename restriction for -pluginMessage.

Fix #16273, close #16340
2025-04-03 01:15:31 +02:00
Don Ho
3ae0875a8c Add class & method recognization ability for JavaScript function list
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13013#issuecomment-1899399803

Fix #13013, close #16342
2025-04-03 01:13:51 +02:00
Don Ho
2a24867e98 Fix an easter egg not showing issue
Fix #15170, close #16341
2025-04-03 01:12:10 +02:00
MarkusBodensee
b9bf6d64c6 Fix CMake build error
Update CMakeLists.txt to cmake_minimum_required(VERSION 3.10).
2025-04-03 00:32:35 +02:00
Don Ho
f3bc1881a3 Notepad++ release 8.7.9 v8.7.9 2025-04-02 18:57:02 +02:00
Juan
9279c8e204 [xml] Update spanish.xml v. 8.7.9
Close #16320
2025-03-26 00:29:38 +01:00
Juan
ccb6993ab2 [xml] Update galician.xml v. 8.7.9
Close #16321
2025-03-26 00:27:47 +01:00
Karlo-F
13e2f5556b [xml] Update croatian.xml to v8.7.9
Close #16322
2025-03-26 00:25:06 +01:00
Hugo Carvalho
f9cd28e06f [xml] Update portuguese.xml
Close #16323
2025-03-26 00:23:12 +01:00
Don Ho
8ce442bd2d Fix a regression introduced by refactoring
The regression was introduce by:
ff734af115372eb3e6660c2891e55a914efb30bd

Fix https://community.notepad-plus-plus.org/topic/26716/notepad-v8-7-9-release-candidate/2?_=1742869287530
2025-03-26 00:06:08 +01:00
Don Ho
100164ff8d Update Taiwanese Mandarin 2025-03-23 17:55:03 +01:00
xomx
9eb2598ea4 Add version of external libraries (Scintilla/Lexilla/Boost) into Debug Info
Dynamically collects all the version info needed and creates NppLibsVersion.h file by the help of a pre-build event.

Fix https://community.notepad-plus-plus.org/topic/21513/determining-supporting-library-versions

Fix #11466, close #16318
2025-03-23 15:44:32 +01:00
Christophe Mateos
56795061c5 [xml] Update French translation
Close #16314
2025-03-22 17:52:31 +01:00
Don Ho
39d9525845 Fix switching different languages regression
This regression was introduced by de9ffd2.

Fix #16309, close #16312
2025-03-21 01:13:38 +01:00
Krazal
d3563cafac Update hungarian.xml
Make the translation up-to-date:
• Enable new low-level DirectX11 DirectWrite 1.1 Scintilla rendering mode

Close #16287
2025-03-19 16:11:31 +01:00
Andrei Miloiu
85477b7800 Update romanian.xml
Close #16288
2025-03-19 15:53:57 +01:00
kubalav
9e1184c771 [xml] Update Slovak translation
Close #16290
2025-03-19 03:41:58 +01:00
rddim
46525827ff [xml] Update Bulgarian localization
Close #16291
2025-03-19 03:39:27 +01:00
schnurlos
0b7162cf95 [xml] Update german.xml
Following a679e8ebfb

Close #16292
2025-03-19 03:24:24 +01:00
Radoš Milićev
ce64d99023 Update Serbian
Close #16308
2025-03-19 03:21:30 +01:00
A. Regnander
f4746ceeee Update swedish.xml
Close #16295
2025-03-19 02:26:40 +01:00
Marcellomco
33d90b7587 [xml] Update brazilian_portuguese.xml
Added translation for "Enable new low-level DirectX11 DirectWrite 1.1 Scintilla rendering mode"

Close #16296
2025-03-18 23:59:13 +01:00
xomx
48a68a7937 [xml] Update czech.xml to v8.7.9
Close #16302
2025-03-18 23:56:52 +01:00
~GOLEM~
3577dff9f7 [xml] Update russian.xml
Close #16304
2025-03-18 15:52:15 +01:00
yasmise
a06c257a07 [xml] Update japanese.xml
Update Japanese translation texts for this commit:
* Enable new low-level DirectX11 DirectWrite 1.1 Scintilla rendering mode (a679e8e)

Close #16306
2025-03-18 15:48:38 +01:00
Don Ho
ff734af115 Refactoring & cleanup Tabbar (part 2)
Remove unnecessary static functions, centralize the Tabbar settings on _tabStatus.

Close #16297
2025-03-17 13:02:37 +01:00
xomx
a679e8ebfb Enable new low-level DirectX11 DirectWrite 1.1 Scintilla rendering mode
Allow selection of the Scintilla v5.5.5 SC_TECHNOLOGY_DIRECT_WRITE_1 (Windows 7 SP1 and newer only).

Close #16284
2025-03-16 03:38:47 +01:00
Don Ho
659330e81a Fix plugin button hidings being ignored bug in toolbar button conf
Fix plugin button hidings settings being ignored bug in toolbar button config,
if the value of "hideAll" attribute of "Standard" node in "toolbarButtonsConf.xml" is set to "yes".

Fix #16280, close #16285
2025-03-15 23:31:22 +01:00
Don Ho
0ead95eb86 Fix incorrect syntax hiliting by switching from wrong langType to right one
Regression was introduced by commit b2152d983e3b20aed7f687ba1d9e916ae6065b24

Fix #16271, close #16281
2025-03-15 03:52:50 +01:00
Don Ho
25a40b9a62 Refactoring & clean up for TabBar (part 1)
Close #16275
2025-03-14 16:14:23 +01:00
PeterCJ
88bc3955e9 Fix SQL Backslash Escape preference not taking effect immediately
Refresh SQL lexer(s) on preference change.
With new internal message, able to send the SQL property to the each SQL buffer.

Fix #16244, close #16258
2025-03-13 20:06:32 +01:00
Christian Grasser
e38a0f2ec9 Update to scintilla 5.5.5 & Lexilla 5.4.3
Release 5.5.5 (https://www.scintilla.org/scintilla555.zip)

    Released 25 February 2025.
    Remember selection with undo and redo. Controlled with SCI_SETUNDOSELECTIONHISTORY. Feature #1273, Bug #1479, Bug #1224.
    Serialize selection type and ranges with SCI_GETSELECTIONSERIALIZED and SCI_SETSELECTIONSERIALIZED.
    For Win32, update Direct2D and DirectWrite interfaces used to 1.1 and add a lower-level approach to calling DirectWrite 1.1 by specifying SC_TECHNOLOGY_DIRECT_WRITE_1. Since Windows Vista does not support these API versions, Scintilla o longer supports DirectWrite on Windows Vista and will fall back to using GDI.
    Fix segmentation of long lexemes to avoid breaking before modifiers like accents that must be drawn with their base letters. For wrapping, try to break lines without separating letters from modifiers.
    For GTK on Windows, replace reverse arrow cursor with hand as reverse arrow was small in scaled modes. Bug #2460.
    Fix bug on Qt where double-click stopped working when Scintilla instance had been running for weeks.

Release 5.4.3 (https://www.scintilla.org/lexilla543.zip)

    Released 25 February 2025.
    C++: Fix evaluation of != in preprocessor condition. Issue #299.
    Modula-3: Allow digits in uppercase identifiers. Issue #297.
    Pascal: Fix asm style extending past end. Issue #295.
    Python: Fix detection of attributes and decorators. Issue #294, Pull request #302.
    Ruby: Implement substyles for identifiers SCE_RB_IDENTIFIER.
    Ruby: Recognize name as SCE_RB_DEFNAME in def when `::` used as well as `.`. Issue #300.

Close #16235
2025-03-12 16:09:49 +01:00
Don Ho
1068b5359a Notepad++ release 8.7.8 v8.7.8 2025-03-08 04:12:53 +01:00
Don Ho
8793825b34 Fix FuncList not refresh correctly due to large files perf improving
Fix #16221 completely
2025-03-07 17:02:20 +01:00
xomx
829cd9d119 Fix FunctionList not refresh correctly on change of current doc's lang
Synchronize FunctionList panel with the current tab/buffer syntax set.
Ensures automatic switching to the currently used tab/buffer lang.

Before, the FunctionList remained populated according to the previously used lang, even if the user switched to a different one. In such a case a manual FL-reload/re-init was needed.

Fix #16221, close #16245
2025-03-07 15:25:05 +01:00
PeterCJ
a1f5405387 Fix SQL Backslash Preference state regression (from v8.7)
Move IDC_CHECK_BACKSLASHISESCAPECHARACTERFORSQL BM_SETCHECK from IndentationSubDlg processing to LanguageSubDlg processing to fix the regression in v8.7.

Fix #16249, close #16253
2025-03-06 21:45:22 +01:00
Patriccollu
1331002c74 [xml] Update Corsican translation for Notepad++ 8.7.8
Close #16237
2025-03-06 21:42:56 +01:00
Don Ho
ba3b955a45 Fix syntax hiliting err while switch lang on untitled doc regression
The regression was introduced by commit b2152d983e3b20aed7f687ba1d9e916ae6065b24

Fix #16250, close #16254
2025-03-06 21:39:20 +01:00
Don Ho
99d3f86d8b Fix irish.xml copy error in installer 2025-03-02 14:51:52 +01:00
xomx
bb0ed32d40 Fix installer silent mode doLocalConf.xml setting handling issue
Fix #16233, close #16234
2025-02-27 17:08:03 +01:00
Don Ho
aecc0e4a3b Update French & Taiwanese Mandarin localization 2025-02-26 02:27:32 +01:00
Andrei Miloiu
9044a085fe [xml] Update romanian.xml
Close  #16227
2025-02-25 22:24:11 +01:00
Don Ho
977391c5cb Enlarge the text fields of 2 control for the localization files
Fix #16199
2025-02-25 17:13:51 +01:00
A. Regnander
9008ae79f9 Update swedish.xml
Close #16204
2025-02-25 16:26:12 +01:00
Don Ho
eb5ed6c527 Add a new quote 2025-02-25 05:08:55 +01:00
Don Ho
0a42806515 Fix regression of keeping saving backup file even w/o modification
The regression was introduced by commit fc051a1231065731205ff5e315684ce3bfb19033, and the regression is from v8.7.1 to v8.7.7.

Fix #16186, close #16225
2025-02-24 23:49:11 +01:00