5806 Commits

Author SHA1 Message Date
Don Ho
ee3aecb161 Fix a typo 2024-05-10 23:18:55 +02:00
Don Ho
ec7c5cec42 Notepad++ 8.6.6 release v8.6.6 2024-05-10 01:45:08 +02:00
ozone10
eb627b0677 Enhance GUI: make sizing arrows more coherent in Find dialog
Remove vertical sizing arrows from Find & Replace dialog.

fix #15099, close #15100
2024-05-06 18:48:52 +02:00
ozone10
c64d706871 Fix GCC reorder warning, use override, remove duplicated code
Fix gcc reorder warning
https://github.com/notepad-plus-plus/notepad-plus-plus/actions/runs/8963463099/job/24613797904#step:4:403

Close #15101
2024-05-06 17:50:44 +02:00
rddim
e53bb4c88f [xml] Update Bulgarian localization
Close #15092
2024-05-06 05:11:13 +02:00
MarkusBodensee
c584a77e0e Fix URL enclosed in apostrophes or backtick not working issue
Check if URL is enclosed in apostrophes or backtick (grave accent). Only if URL is directly preceded by apostrophe/backtick and URL ends with apostrophe/backtick respectively.

Fix #14978, fix #14323, fix #14212, close #15058
2024-05-06 05:07:48 +02:00
Don Ho
6281227d84 Add more unit tests for Ada function list
for enhancement:
8ab9b99b73
2024-05-05 23:28:41 +02:00
notdodgeball
8ab9b99b73 Ada Function List improvements
Changes:
Ada is case insensitive
Added 'Parallel' reserved word
Identifiers may not begin or end with underscore
Support for identifiers containing digits
Support for Ada specifications file (subprogram declaration) (#14687)
Support for dot notation within types (#14908)
Support for generic instantiations (#14498) (functions with no return statement)

Fix #14908, fix #14687, fix #14498, close #14986
2024-05-05 22:21:17 +02:00
PeterCJ
aa6a55cb7e Enable remaining 4 keyword lists
including langs.model.xml, stylers.xml and all themes.

Fix #15081, fix #7615, close #15088
2024-05-05 17:43:55 +02:00
Karlo-F
e987f360cd [xml] Update Croatian translation for Notepad++ 8.6.6
Close #15085
2024-05-05 15:48:33 +02:00
Don Ho
3609a21258 Fix same file opened 2 times with different sensitive case of path regression
The regression is due to PR #14971 & commit 2531b4d12c4eddc6c0a519eb37c6edf25196619e

ref:
https://community.notepad-plus-plus.org/topic/25742/notepad-v8-6-6-release-candidate/3?_=1714876196550
2024-05-05 04:32:35 +02:00
Don Ho
2d076b645a Refactoring for new DPI management: avoiod the multiple inherence
Using the composition instead of the multiple inherence
1. For preventing from the diamond problem.
2. To fix the semantic problem by using DPIManagerV2 as class ancestor of class StaticDialog.

Remove also unecessary scaleX, unscaleX, scaleY & unscaleY methods.
2024-05-02 18:26:20 +02:00
Piotr Kostrzewski
e518c79a53 Update polish.xml
Close #14927
2024-05-01 17:25:47 +02:00
A. Regnander
cb9fb5c22d Update swedish.xml
Added new strings, removed outdated strings, made changes to existing strings

Close #14939
2024-05-01 17:23:02 +02:00
Juan
1183b4bb63 Update spanish.xml
Close #15025
2024-05-01 17:20:20 +02:00
Juan
3c0e54a012 Update galician.xml
Close #15026
2024-05-01 17:18:43 +02:00
~GOLEM~
4c367f4dea [xml] Update russian.xml v8.6.6
Close #15037
2024-05-01 17:14:55 +02:00
Patriccollu
052d601e51 [xml] Update Corsican translation for Notepad++ 8.6.6
Close #15070
2024-05-01 17:12:52 +02:00
Alan Kilborn
c63e29f21e Make F3 & Shift-F3 work in Find Replace dialog
Fix #2138, close #15063
2024-05-01 15:56:03 +02:00
Don Ho
188375e2ee Adapt TabBar to new DPI management
ref #14959

Close #15054
2024-05-01 03:23:47 +02:00
Christian Grasser
e877707ecb Update to boost 1.85.0
Update to https://www.boost.org/users/history/version_1_85_0.html
- no functional changes on regex
- support for newer compiler (e.g. VS2022) versions/features/workarounds

Close #15040
2024-04-30 04:40:58 +02:00
Christian Grasser
592d981b55 Update to nlohman json 3.11.3
Update to nlohman json 3.11.3 from https://github.com/nlohmann/json/releases/tag/v3.11.3
https://github.com/nlohmann/json/releases/download/v3.11.3/json.hpp

Close #15041
2024-04-30 04:31:38 +02:00
Christian Grasser
881e8c285e Update to scintilla 5.5.0 & Lexilla 5.3.2
Sintilla Release 5.5.0 (https://www.scintilla.org/scintilla550.zip)

    Released 23 April 2024.
    Add elements for inactive additional selections SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_TEXT and SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_BACK. When not set these default to SC_ELEMENT_SELECTION_INACTIVE_TEXT and SC_ELEMENT_SELECTION_INACTIVE_BACK. Bug #2417.
    On Cocoa, avoid use of NSUserDefaults which will soon require justification when used in applications on the App Store.
    Fix Win32 IME crash in windowed mode. Bug #2433.
    Scale reverse arrow cursor for margins to match other cursors when user changes pointer size. Bug #2321.

Lexilla Release 5.3.2 (https://www.scintilla.org/lexilla532.zip)

    Released 23 April 2024.
    COBOL: Stop string literal continuing over line end. Issue #229.
    COBOL: Stop doc comment assigning different styles to \r and \n at line end. Issue #229.
    COBOL: Recognize keywords that start with 'V'. Issue #230.
    COBOL: Recognize comments after tag or that start with '/'. Issue #231.
    HTML: Implement substyles for tags, attributes, and identifiers SCE_H_TAG, SCE_H_ATTRIBUTE, SCE_HJ_WORD, SCE_HJA_WORD, SCE_HB_WORD, SCE_HP_WORD, SCE_HPHP_WORD.
    HTML: Implement context-sensitive attributes. "tag.attribute" matches "attribute" only inside "tag".
    HTML: Match standard handling of comments. Issue #232.
    Lua: Implement substyles for identifiers SCE_LUA_IDENTIFIER.
    Ruby: Allow non-ASCII here-doc delimiters. Issue #234.
    Ruby: Allow modifier if, unless, while and until after heredoc delimiter. Issue #236.
    Rust: Recognize raw identifiers. Issue #239, Pull request #240.

Close #15042
2024-04-30 04:19:49 +02:00
Don Ho
c823ca8150 Adapt new DPI support for toolbar
ref #14959

Close #15044
2024-04-25 02:59:33 +02:00
Don Ho
89aaf43722 Use standard function (wcscmp/wcsicmp) instead home made one
Close #15030
2024-04-24 02:45:54 +02:00
Don Ho
4ffa8fcdf9 Small refactoring 2024-04-23 05:21:29 +02:00
ozone10
560f29fc8c Add dpi support to Style Configurator dialog
- reorder controls for consistent tab switch
- make spacing and position more consistent
- use system aware or gdi scaling for Color dialog and Color popup

ref #14959

Close #15029
2024-04-23 05:07:28 +02:00
Davi Feliciano Nonnenmacher
2531b4d12c Fix issue with case sensitive files
Fix #14724, close #14971
2024-04-22 19:04:58 +02:00
Don Ho
3c06d89b2a Fix wrong display of DarkMode on the 2nd monitor 2024-04-22 05:33:45 +02:00
ozone10
018d4f9a1f Add dpi support to UDL dialogs
- StringDlg (Rename Current Tab, ...)
- UDL Styler
- UDL in undock state

- UDL allow tab switching between main dialog and subdialogs
- make controls spacing and size consistent

ref #14959

Close #15024
2024-04-21 18:08:01 +02:00
ozone10
d43582d615 Add new DPI support to plugin admin dialog
ref #14959

Close #15023
2024-04-21 16:33:54 +02:00
ozone10
752777086e Add new DPI support to preference dialog
ref #14959

Close #15022
2024-04-21 15:50:06 +02:00
ozone10
4031339c58 Add dpi support to dialogs
- FindInFinder
- GoToLine
- ColumnEditor
- FindCharsInRange
- ProjectPanel FileRelocalizerDlg

ref #14959

Close #15020
2024-04-21 03:08:02 +02:00
ozone10
b476c67447 Add new DPI support to hash dialogs
- fix leak because of font.

ref #14959

Close  #15018
2024-04-21 01:53:09 +02:00
ozone10
34a6bf196e Add new DPI support to dialogs
- Run
- Run a Macro Multiple Times...
- Shortcut

- code enhancement
    - add override in shortcut.h
    - modify switches in WM_COMMAND
    - optimize dark mode for shortcut
    - avoid potential multiple subclassing for Run dialog

ref #14959

Close #15017
2024-04-20 19:28:49 +02:00
ozone10
61083a4468 Allow Ctrl-TAB to switch tabs in PluginAdmin and UDL dialogs
Fix #7932, close #15015
2024-04-20 17:52:52 +02:00
ozone10
b7ebd389c7 Add new DPI support to status bar
ref #14959

Close #15016
2024-04-20 05:02:06 +02:00
Don Ho
e6558a3618 Enhance source code 2024-04-20 02:54:38 +02:00
mpheath
8672d95ca4 Fix user defined auto-insert not working issue
Fix #3171, fix #8063, fix #12547, fix #14831, close #15005
2024-04-20 02:38:33 +02:00
ozone10
914869936b Enhance GUI: resize checkboxes/radio buttons as text length needs
Fix #15006, close #15007
2024-04-19 20:33:44 +02:00
ozone10
27e77cf6d6 Add dpi support to dialogs
- About
- DebugInfo
- Save All
- Close All

ref #14959

Close #14989
2024-04-18 17:16:52 +02:00
ozone10
01a088f994 Use new dpi manager scaled default fonts
ref #14959

Close #14991
2024-04-18 15:15:22 +02:00
xomx
a92a9fd7c7 Fix wrong dropped file view
Fix #14951, close #14953
2024-04-18 14:28:02 +02:00
PeterCJ
161bb41425 Add syntax highlighting for Raku
Based on SciTE, Go/Golang can use cpp lexer.
Use the Perl color scheme from each theme as the basis for the Raku color scheme.

Fix #4465, close #15000
2024-04-16 01:33:40 +02:00
Don Ho
0e8781938d Add log while flush file buffers action fails
Currently while flush file buffers action fails at not critical end session, a error message dialog display the problem.
It raises the problem of some external process interfering with the Notepad++ file saving (via NppSaveAsAdmin plugin).

This commit logs this error at critical end session, so if NUL characters content issue happens to the users again, we can try to know what was happening, plus users' plugin list.

Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14990#issuecomment-2054242025

Close #15003
2024-04-16 01:17:13 +02:00
Christian Grasser
25c6795d0c Code enhancements
- fix linux build on include upper/lowercase issue ../src/dpiManagerV2.cpp:20:10: fatal error: CommCtrl.h: No such file or directory
- avoid clang warning: 5>..\src\WinControls\Grid\BabyGrid.cpp(677,7): warning : unused variable 'rectwhole' [-Wunused-variable]
- avoid ../src/NppCommands.cpp:1790:24: warning: conversion from ‘int’ to ‘UCHAR’ {aka ‘unsigned char’} may change value [-Wconversion]

Close #15001
2024-04-15 03:15:59 +02:00
ArkadiuszMichalski
35f601b665 Add ISSUE_TEMPLATE folder to exceptions
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/14999#issuecomment-2054089871

Close #15002
2024-04-15 03:10:09 +02:00
ozone10
045d21aa15 Add additional instructions to issue templates
ref https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14992#issuecomment-2054022134

Close #14999
2024-04-15 03:01:59 +02:00
ozone10
7cfa79b8cd Allow Ctrl-TAB to switch tabs in FindReplace dialog
Fix #14975, close #14988
2024-04-15 02:54:14 +02:00
Don Ho
896d78a5db You can't criticize Roman numeral 11 in China 2024-04-14 22:20:05 +02:00