Commit Graph

5557 Commits

Author SHA1 Message Date
Cerno_b 1f3b0e6e44 Add recover search string feature after accessing search history
Fix #14174, close #14187
2023-09-28 16:13:42 +02:00
Don Ho 7bbe4d1ff8 Fix "Single Line Uncomment" uncomments an extra line issue
Fix from: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12829#issuecomment-1737330242

Fix #12829
2023-09-27 15:42:25 +02:00
Alan Kilborn c4c1089231 Allow Window Windows command to be assigned a shortcut
Fix #14179, close #14183
2023-09-26 20:36:54 +02:00
Christian Grasser cfcf827178 Update Scintilla to v5.3.7 & Lexilla to v5.2.7
Update scintilla with https://www.scintilla.org/scintilla537.zip

Release 5.3.7

    Released 22 September 2023.
    For GTK on macOS, fix popup window behaviour by setting type hints. Bug #2401.
    For GTK, fix assertion failure on some systems when an INDIC_SQUIGGLEPIXMAP drawn for a zero-width character.
    For Qt, allow parent window to handle context menu events by setting as ignored. Bug #2395.
    For Qt, fix potential crash when using IME with large amount of text selected.
    For Windows, fix building with non-English environment. Bug #2400.

and lexilla https://www.scintilla.org/lexilla527.zip

Release 5.2.7

    Released 22 September 2023.
    Fix building on Windows with non-English environment. Pull request #200.
    Bash: fix line continuation for comments and when multiple backslashes at line end. Issue #195.
    Bash: treat += as operator and, inside arithmetic expressions, treat ++ and -- as operators. Issue #197.
    Bash: improve backslash handling inside backquoted command substitution and fix $ at end of backtick expression. Issue #194.
    Bash: treat words that are similar to numbers but invalid wholly as identifiers. Issue #199.
    Bash: consistently handle '-' options at line start and after '|' as identifiers. Issue #202.
    Bash: handle '-' options differently in [ single ] and [[ double ]] bracket constructs. Issue #203.
    F#: improve speed of folding long lines. Issue #198.
    HTML: fix invalid entity at line end and terminate invalid entity before invalid character. Issue #192.

Fix #13991, fix #14062, close #14173
2023-09-26 17:52:52 +02:00
Don Ho 972329fb0c Fix unconsist "In select" behaviour in Find dialog
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14108#issuecomment-1719653099
2023-09-26 01:35:49 +02:00
Don Ho cb3c632444 Fix some typos
Fix #14182
2023-09-25 20:45:41 +02:00
xomx 939b00a61e Removing unused _isRestartedByOS member variable
This amends the previous #14074 PR.

Close #14171
2023-09-22 19:25:54 +02:00
xomx 87efdf5084 Add Win10+ OS Restart-app feature
It will allow for the Notepad++ to be a "restartable app", like some other SW can do today (eg Google Chrome, Mozilla Firefox or all the Microsoft UWP apps).

This is to create a seamless experience wherein, if you have to reboot your PC, you can now pick back up from where you left off and resume being productive.

The OS app-restart feature needs at least Windows 10 (20H1) and the user has to switch on the "Restart apps" in the system Settings (subsection Accounts > Sign-in options).

Implemented as per previous discussion: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12541#issuecomment-1332662024

To disable this feature, add "noRestartAutomatically.xml" into "%APPDATA%\Notepad++\" or Notepad++ installation directory.

Fix #9722, fix #11721, fix #11934, close #14074
2023-09-21 19:56:53 +02:00
Don Ho 39001d7a02 Fix Wrong Categories in Shortcuts Mapper
and make localization more accurate.

Fix #13285, close #14156
2023-09-20 23:07:08 +02:00
Dmitry cb1f2d1479 Check NULL pointer while opening filees to prevent Notepad++ from crash
Fix #14131, close #14094
2023-09-17 20:34:25 +02:00
Alan Kilborn 670e2f098d Fix "Next Bookmark" command not reset current-column issue
Reset current column after moving to next bookmark.

Fix #14137, close #14148
2023-09-16 14:08:25 +02:00
Don HO c2ebb94759
Improve CONTRIBUTING.md
Fix #14149
2023-09-16 13:44:43 +02:00
Don Ho 113003a79f Fix security issue CVE-2022-31901
Ref: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31901
&
https://github.com/CDACesec/CVE-2022-31901

Fix #13520
2023-09-15 03:13:22 +02:00
Orden4 dca3f682fd Improve document list display performance
Reduce number of document list redraws on reload. Force redraw on activating item.

Fix #13479, fix #12632, close #14142
2023-09-14 20:27:03 +02:00
Don Ho b068aa9033 Fix saving files loosing Alternate Data Stream issue
Fix #1498, fix #8451, fix #8013, close #14039
2023-09-14 13:53:51 +02:00
Don Ho 01ff1eb881 Fix Cleaer Read-Only Flag command not working immediately regression
Fix #14138
2023-09-12 17:44:19 +02:00
Don Ho e30ee852d6 Fix data loss issue due to no room on disk for saving
Fix #5664, fix #14089, close #14134
2023-09-12 14:50:52 +02:00
Don Ho a511a575b7 Update slovenian.xml 2023-09-10 15:53:57 +02:00
Don Ho 5008b8a0cc Notepad++ v8.5.7 release (Vulnerability fixes) 2023-09-08 02:04:24 +02:00
Don Ho 02cc028cd8 Fix eventual memory leak in Utf8_16.cpp
Fix #14099, close #14104
2023-09-06 18:58:15 +02:00
xomx 6eb74a9653 [xml] Update czech.xml to v8.5.7
Close #14102
2023-09-06 18:21:36 +02:00
Karlo-F f1adb46c59 [xml] Update croatian.xml to v8.5.7
Close #14106
2023-09-06 18:17:56 +02:00
SinghRajenM 4476432d0b Security enhancement: Sign uninstall.exe
Fix #4120, fix #5806, fix #4443, close #14087
2023-09-06 18:06:52 +02:00
Don Ho 06a2c6f377 Make variable name more explicit 2023-09-05 16:50:15 +02:00
Orden4 8afa4c6ea8 Fix dragging tab performance issue while Document List is displayed
Fix #13479, fix #12632, close #14080
2023-09-05 16:40:03 +02:00
Hugo Carvalho 14d8aaaa1f [xml] Update portuguese.xml
For commit: 391f4281ef

Close #14014
2023-09-05 14:33:46 +02:00
Christophe Mateos 4276428e01 [xml] Update french.xml
Close #14048
2023-09-05 14:29:43 +02:00
Andrei Miloiu e64de6cd5f Update romanian.xml
Close #14050
2023-09-05 14:26:42 +02:00
Marcellomco ceb9306451 [XML] Update brazilian_portuguese.xml
Added translation for "Add suppress 2GB file warning option for x64".

Close #14076
2023-09-05 14:23:55 +02:00
rddim 88ba29cff0 [xml] Update Bulgarian localization
Close #14079
2023-09-05 14:21:35 +02:00
kubalav df94bfae54 [xml] Update Slovak translation
Close #14081
2023-09-05 14:17:49 +02:00
yasmise 3c802e0767 [xml] Update japanese.xml
Add translation text for this commit:
* Add supperss 2GB file warning option for x64 (cf8ddc1)

Close #14083
2023-09-05 14:12:11 +02:00
SinghRajenM b62b77b3ea Correct some typos 2023-09-03 18:48:55 +02:00
Don Ho 0e3c676668 Remove unnecessary comment 2023-09-02 02:16:24 +02:00
Don Ho f8447b670e Make comment counting right 2023-09-02 02:14:07 +02:00
Don HO ea063246f1
Merge pull request from GHSA-jg7c-f532-25h8
GHSL-2023-102: apply 2694ba6363
2023-09-02 02:03:07 +02:00
Don HO 8c561ba74b
Merge pull request from GHSA-67mm-g35x-jv47
GHSL-2023-103: apply 94b10b9b29
2023-09-01 21:43:28 +02:00
Don HO 4b66d80b2f
Merge pull request from GHSA-cfcv-789h-3pg3
GHSL-2023-112: check if the current pointer and the next one are less than the end
2023-09-01 17:50:08 +02:00
Jaroslav Lobačevski 6567a89094
Add comment 2023-09-01 17:28:58 +02:00
Don Ho fb1985defc Code enhancement: fix a logic error - va_end missing
Fix #14071
2023-09-01 01:32:07 +02:00
Don HO 5402622abc
Merge pull request from GHSA-v2h9-jfmf-5cgq
GHSL-2023-092: Check if i is not bigger than datalen
2023-08-31 14:30:53 +02:00
robionekenobi d3c84b7d23 Fix VS 2022 17.7 compiling error message
With VS 2022 17.7 this error appears
Z:\DevStudio\Work\notepad-plus-plus\PowerEditor\src\WinControls\Preference\preferenceDlg.cpp(3374): error C26819: Unannotated fallthrough between switch labels (es.78). [Z:\DevStudio\Work\notepad-plus-plus\PowerEditor\visual.net\notepadPlus.vcxproj]

Close #14005
2023-08-31 01:21:39 +02:00
(x*ln(7))⁻¹ cf8ddc18c9 Add supperss 2GB file warning option for x64
Fix #14055, close #14069
2023-08-31 01:16:15 +02:00
Don HO f5c60d26cd
Update CONTRIBUTING.md 2023-08-28 16:01:13 +02:00
Don Ho 00481aadd5 Change the slogan in installer
Fix #14052
2023-08-27 02:55:27 +02:00
molsonkiko f4297f1a83 Fix cloned document disassociated issue after Npp being relaunched
Fix #10266, close #14003
2023-08-24 23:55:40 +02:00
Don Ho 7340696734 Add a quote 2023-08-24 15:59:06 +02:00
Mr-Update a714b9464f Update langs.model.xml
Duplicate keyword "add_custom_command" is removed.

Close #14026
2023-08-22 14:17:45 +02:00
Don Ho 3aa9e9280f Fix session file saving problem if it's read-only
Refactoring and fix a typo.

Fix #14024, fix #13894, fix #13859, close #14035
2023-08-22 13:57:07 +02:00
Don Ho fc736d8afb Fix activating wrong file(s) issue after loading session file
... if some files are already opened in Notepad++.

Fix #14006, close #14028
2023-08-20 15:52:53 +02:00