6168 Commits

Author SHA1 Message Date
Don Ho
c24444acfe Fix Ctrl-C not doing copy from Search result issue
Solution from: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/15739#issuecomment-2479671245

Fix #15739, close #15810
2024-11-16 22:09:10 +01:00
pawelzwronek
eeb4753044 Add "Minimize / Close to" option for System tray
Fix #15771, close #15785
2024-11-14 16:56:02 +01:00
Alan Kilborn
b8224808bd Add ability to open/copy selected files from Search-results
Add ability to open/copy selected files from Search-results, not always ALL files.

Fix #15741, close #15763
2024-11-14 16:01:02 +01:00
Don Ho
796b3a40b7 Highlight inactive darken tab on mouse hover
Fix #15791, close #15794
2024-11-13 18:04:46 +01:00
Don Ho
f607044da0 Fix wrong position of pin button while close disabled and pin enabled
After disable close button and enable pin button, relaunch Notepad++ will make wrong position of pin button on tab.
This commit fix the bug.
2024-11-13 02:11:20 +01:00
Don Ho
5f4610293c Hide inactive tab buttons (Close & Pin)
Fix #15298, close #15781
2024-11-12 04:38:34 +01:00
Don Ho
55df104606 Refactoring (part 2) 2024-11-10 03:51:33 +01:00
Don Ho
c5094fee8b Refactoring to move the message definitions to the right place
Move the message definitions of toolbar & tabbar to the right place.

Close #15775
2024-11-10 00:18:28 +01:00
Don Ho
d9c24ad78f Remove dead entry from the localization files
Ref: ce58b424bd (commitcomment-148911101)
2024-11-09 14:43:49 +01:00
Don Ho
ce58b424bd Add Pin tab feature
Fix #5786, close #15750
2024-11-09 03:59:20 +01:00
Coises
5d29f72464 Fix replace field focus losing when Notepad++ is switched back
Fix #6021, close #15756
2024-11-04 19:18:48 +01:00
Don Ho
ba3b4578b2 Notepad++ 8.7.1 release v8.7.1 2024-11-04 14:39:21 +01:00
Don Ho
682570ea6d Fix saved file from new empty doc keeping created time tip issue
Fix https://community.notepad-plus-plus.org/topic/26235/notepad-v8-7-1-release-candidate/11?_=1730165549940
2024-10-31 00:13:35 +01:00
Don Ho
2aa47e3219 Revert "Fix saved file from new empty doc keeping created time tip issue"
This reverts commit 93ecbb004c8a216d17a8b940572a388f010c94ee.
2024-10-31 00:12:37 +01:00
Craftidore
3311924e1c Make auto-completion case sensitive for lua
Fix #15612, close #15613
2024-10-30 02:01:31 +01:00
Don Ho
93ecbb004c Fix saved file from new empty doc keeping created time tip issue
Fix https://community.notepad-plus-plus.org/topic/26235/notepad-v8-7-1-release-candidate/11?_=1730165549940
2024-10-30 01:53:07 +01:00
Juan
ddf7908535 [xml] Update spanish.xml v. 8.7.1
Close #15730
2024-10-29 01:38:58 +01:00
Juan
b29fe57c26 [xml] Update galician.xml v. 8.7.1
Close #15731
2024-10-29 01:33:50 +01:00
xomx
bd415530a3 [xml] Update czech.xml to v8.7.1
Close #15736
2024-10-29 01:29:07 +01:00
xomx
62e6a5378a Fix SaveAs dialog "Append extension" option not working issue
Fix the regression introduced in commit:
f884a39dd4

Fix https://community.notepad-plus-plus.org/topic/26235/notepad-v8-7-1-release-candidate/4
Close #15745
2024-10-29 01:24:22 +01:00
rddim
ef4bedefea [xml] Update Bulgarian localization
Close #15694
2024-10-24 04:27:03 +02:00
Don Ho
c9168cce80 Add 2 unit tests for URL
Follow 7dbb459b55642f48c99bc2e5b806ef7a6e971881
2024-10-23 04:02:19 +02:00
Czespo
7dbb459b55 Fix URL parsing issue with '?' after '#'
Fixes #13583, close #15670
2024-10-22 18:49:19 +02:00
p@pawel-pc
5a02c17803 [xml] Update polish.xml
- Minor fixes and added missing translations

Close #15722
2024-10-21 23:33:14 +02:00
Hugo Carvalho
cc942822fa [xml] Update portuguese.xml
Close #15723
2024-10-21 22:09:48 +02:00
Don Ho
c224a9630e Fix modified Find dialog status msg not being remembered throu sessions
Fix #15724
2024-10-21 17:07:10 +02:00
Karlo-F
911600fa20 [xml] Update Croatian.xml for Notepad++ 8.7
Close #15624
2024-10-21 15:48:23 +02:00
A. Regnander
40c668e77e Update swedish.xml
Updated strings from last english.xml commit, minor correction to existing string

Close #15621
2024-10-21 15:41:33 +02:00
Patriccollu
d34bca6a17 [xml] Update Corsican translation for Notepad++ 8.7.1
Close #15689
2024-10-21 15:35:39 +02:00
~GOLEM~
98a24a4d90 [xml] russian.xml v 8.7.1
Close #15720
2024-10-20 19:42:34 +02:00
schnurlos
f6655850a7 [xml] Update german.xml v8.7
Close #15623
2024-10-20 18:40:29 +02:00
Andrei Miloiu
439456bc43 [XML] Update romanian.xml
Close #15715
2024-10-20 18:25:13 +02:00
Marcellomco
7d9c60ff77 [XML] Update brazilian_portuguese.xml
Close #15710
2024-10-20 18:23:29 +02:00
p@pawel-pc
c8533ddc52 Update translation texts for these commits:
* Add "Close to system tray" in MISC preference (035ef19)
* Improve GUI for commands for the system tray in Preferences (cd45afc)

Close #15700
2024-10-20 18:18:58 +02:00
Matteo Concato
5a20b1e54a [XML] Update italian.xml
Close #15699
2024-10-20 18:17:01 +02:00
yasmise
d3687c1b89 [xml] Update japanese.xml
Update translation texts for these commits:
* Add "Close to system tray" in MISC preference (035ef19)
* Improve GUI for commands for the system tray in Preferences (cd45afc)

Close #15693
2024-10-20 18:10:59 +02:00
kubalav
2097969e73 [xml] Update Slovak translation
Close #15692
2024-10-20 18:08:58 +02:00
Christian Grasser
213e9135ba Update to scintilla 5.5.3 & Lexilla 5.4.1
Release 5.5.3 (https://www.scintilla.org/scintilla553.zip)

    Released 19 October 2024.
    On Win32 change direction of horizontal mouse wheel and touchpad scrolling to match other applications. Bug #2449.

Release 5.4.1 (https://www.scintilla.org/lexilla541.zip)

    Released 19 October 2024.
    Lexer added for Dart "dart". Pull request #265, Pull request #275.
    Lexer added for troff / nroff "troff". Pull request #264.
    Lexer added for Zig "zig". Pull request #267.
    C++: Fix crash for empty documentation comment keyword where '<' occurs at line end.
    F#: Include EOLs in the style range of SCE_FSHARP_COMMENTLINE. Stabilizes EOL detection when folding line comment groups. Issue #276.
    F#: Fix per-line folding in F# documents. Issue #277.
    HTML: Improve SGML/DTD lexing. Don't terminate SGML when > inside quoted string. Lex both [ and ] as SCE_H_SGML_DEFAULT. Nested sections handled instead of switching to SCE_H_SGML_ERROR. Issue #272.
    JavaScript: New SCE_HJ_TEMPLATELITERAL and SCE_HJA_TEMPLATELITERAL styles for template literals when lexer is hypertext, or xml. Issue #280.
    PHP: Fix failure to recognize PHP start "<?php' at end of document. Caused by not capping retrieval range at document end causing no text to be retrieved. Issue #269.
    Smalltalk: Fix scaled decimal numbers without decimal separator. Pull request #274.

Fix #15228, fix #15368, fix #15650, close #15717
2024-10-20 17:33:07 +02:00
Don Ho
ba8cd8c46f Add one comment for localization file 2024-10-20 15:05:29 +02:00
Don Ho
ad34461261 Make left behide hide line close marker removable
Fix #15713
2024-10-18 03:57:03 +02:00
Adrian Kulawik
5d2bea5b97 Fix hanging issue while hiding lines
Fix #15630, close #15632
2024-10-18 03:55:50 +02:00
Don Ho
bfe835e8a4 Fix wrong messages for replacement status 2024-10-16 16:56:26 +02:00
Don Ho
901014746c Fix Find dialog status bar wrong messaging
Fix #15662
2024-10-16 05:27:29 +02:00
Don Ho
1890ea65f9 Avoid user confusion between Global override & Default Styles
Fix #15640, close #15706
2024-10-16 00:49:44 +02:00
Don Ho
dc9f58ddac Reduce network file hanging issue due to win32API GetFileAttributes cache (unsynchronized).
STR:
1. Open a network file.
2. Close Notepad++ to have it in the session.
3. Disconnect the network, and launch Notepad++ immediately.
4. Around more than 1 minute's delay, then the "Error" dialog displayed.

The reason for the hanging is that the network file was incorrectly detected by doesFileExist (GetFileAttributesEx) as present, leading Notepad++ to attempt opening a non-existent file with _wfopen. This issue seems to stem from a caching mechanism within the IO function (GetFileAttributesEx). When the network disconnects, the cache is not immediately cleared, causing GetFileAttributesEx to falsely report that the file exists. Consequently, when Notepad++ is launched after a network disconnection, GetFileAttributesEx retains its cache, indicating the file exists, while _wfopen fails to locate the network resource, resulting in a hang.

Unfortunately, there's no efficient solution for this problem. The commit's remedy is to check if the file is on the network and whether its directory still exists. If the directory doesn't exist, we avoid calling _wfopen. We verify the directory's existence instead of the file itself because the cache issue with GetFileAttributesEx occurs before _wfopen is executed. Checking the directory avoids the cache problem due to the identical argument being used.

I've tested this remedy in debug mode, and it works fine. However, the problem persists in release mode. Despite this, I believe it's worth keeping this solution, as it provides some protection in a variable network environment, potentially mitigating the issue when it arises.

Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/15658#issuecomment-2386662974

Improve #4306, #6178, #8055, #11388, #12553, #15540, close #15701
2024-10-15 21:27:44 +02:00
Don Ho
5e3ee3e0e4 Rename variable & enhance the code 2024-10-12 19:32:37 +02:00
Don Ho
3b6f22b357 Fix disconnected network files hanging while saving
This PR prevent hanging when user: Open a network file, modify it. Disconnect the network, then save the file.
It also prevents the zombie process due to blocked CreateFile left behind.

Remove the timeout thread for CreateFile to prevent the zombie process. Use another way for the detection:
If the result of network file existent detection is false, and the network problem found (timeout reached), we just stop and don't call CreateFile routine.

Ref: 1445487

Improve #4306, #6178, #8055, #11388, #12553, #15540
2024-10-12 04:25:09 +02:00
Don Ho
0ca0348e7f Improve code & refactoring
Close #15681
2024-10-11 19:54:11 +02:00
Don Ho
cd45afc020 Improve GUI for commands for the system tray in Preferences 2024-10-11 04:28:19 +02:00
p@pawel-pc
035ef19b17 Add "Close to system tray" in MISC preference
Fix #4075, fix #11627, close #15617
2024-10-11 04:21:21 +02:00