Commit Graph

3818 Commits (b233c0c3e00f307260d5a9a7f1c42a7bc5505baa)

Author SHA1 Message Date
Don Ho edabe44000 Disable Word Wrap while load a 2GB+ file 2022-01-26 18:44:58 +01:00
Don Ho 2132505cba Fix unsaved untitled files not being opened on the next session regression
Fix #11080
2022-01-26 17:49:37 +01:00
Don Ho 961a133a60 Remove 2GB file open restriction for x64 binary
Fix #10921, close #11047
2022-01-25 18:08:05 +01:00
Christian Grasser 5b5dbbd3f9 Fix ARM64 build doesn't contain 64 bits information
Fix #11068, close #11069
2022-01-25 01:51:21 +01:00
Don Ho 7df6af7e2e Fix Find dialog visual glitch
Ref:
https://community.notepad-plus-plus.org/topic/22399/notepad-8-2-1-release-candidate/2?_=1643043577513

Close #11067
2022-01-24 18:54:00 +01:00
VinsWorldcom fcfa034cc5 ESC key clears function list filter & search result
Even the focus is not on filter field but on one of tree view entries.

Fix #11063, close #11064
2022-01-24 18:39:16 +01:00
Don HO 2b99372169 Notepad++ v8.2.1 release 2022-01-24 15:58:07 +01:00
Don Ho 234941c180 Fix regression of bg/fg color disabling visual glitchy
The regression is due to:
7c9f4204ea (diff-473b357ab7088152f46cb49e9d3336344425ab463c209b10b2fe16df98cc3b76)

Fix #11051
2022-01-19 16:49:04 +01:00
conky77 4f0be89651 Update Italian.xml to 8.2.0
Close #10976
2022-01-19 02:27:13 +01:00
conky77 953fea562e update venetian.xml to 8.2.0
Close #10977
2022-01-19 02:22:25 +01:00
rddim aa998a7f07 Update Bulgarian licalization
Close #10982
2022-01-19 02:17:24 +01:00
kubalav 95ced9ffa6 Update Slovak translation to 8.2
Close #10997
2022-01-19 01:32:19 +01:00
yasmise 5edbed748a update japanese.xml
Following this commit:
Update english.xml (d9ef4be579)

Close #10998
2022-01-19 01:30:02 +01:00
Patriccollu 441b9aa94c Update Corsican translation for Notepad++ 8.2
Close #10999
2022-01-19 01:26:02 +01:00
~GOLEM~ bf3b974edd Update russian.xml to v8.2
Close #11000
2022-01-19 01:22:58 +01:00
Daniel Fuchs 5a382cb646 Update German translation
* update german.xml to v8.2
* fix some (colloquial) wording

Close #11009
2022-01-19 01:20:12 +01:00
Hugo Carvalho 67cda62112 Update portuguese.xml to v8.2.1
Close #11030
2022-01-19 01:14:25 +01:00
ArkadiuszMichalski 44150ea675 Update polish.xml to 8.2.1
Update polish.xml to 8.2.1 (according to the latest commit).

Close #11033
2022-01-19 01:10:14 +01:00
xomx 88e660ab12 Update czech.xml to v8.2.1
resolved conflicts in previous PR #10975

Close #11043
2022-01-19 01:05:43 +01:00
Edditoria 8befad7751 Update Hong Kong Cantonese localization
As at commit cb7bbef of this repo.
Also bump version to v8.2.1 in advance.

Close #11054
2022-01-19 01:01:32 +01:00
Don Ho cb7bbef4fe Fix "File is too big to open" message isn't modal issue
And plus some refactoring.
2022-01-14 15:09:13 +01:00
Don Ho 029a09ab5b Remove obsolete localization entries
Ref:
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/11037#issuecomment-1012110125

Close #11041
2022-01-13 19:15:08 +01:00
Don Ho 7ebb1e3672 Add Find/Replace text swap button in Find replace dialog
Fix  #6010, close #11037
2022-01-13 18:44:03 +01:00
Don Ho 3ce90f56d6 Fix wrong keywords (of preprocessor in C) highlighting in Java
Remove C Preprocessor color settings from stylers.model.xml + all theme files.

Fix #11026
2022-01-12 18:09:55 +01:00
Don Ho e048f83420 Make menu folders on context menu translatable
Make the following context menu items translatable:
1. "Style all occurrences of token"
2. "Style one token"
3. "Clear style"
4. "Plugin commands"

Note for translators: to test your translation, you have to replace the old "contextMenu.xml" with the new one (modified in this commit).

Fix partially #8972
Fix #9713, close #11031
2022-01-11 15:07:55 +01:00
Don Ho 5dada11848 Fix Debug information wrong OS information detected with windows 11 issue
Fix #11011
2022-01-11 02:05:38 +01:00
Don Ho 68d339d224 Auto-completion currently use both ENTER and TAB to insert the selected item,
in some circumstance people have to ENTER twice to have 1 newline feed.

In this commit, 2 options (ENTER & TAB) are given in Auto-completion settings, so users can choose one of these 2 keystrokes (or both, or none). By default ENTER is disabled and TAB is enabled.
If auto-completion is disabled and completion is triggered manually, then the settings of ENTER & TAB won't be considered, both ENTER & TAB will be able to insert the selection.

Fix #4799, fix #4631, fix #8389, fix #10915, close #11016
2022-01-10 15:10:54 +01:00
Don Ho ed40f11515 Fix loaded session being empty on exit
In the following configuration loaded session will be empty on exit
* Remember current session for next launch: OFF
* Open session in a new instance: ON

This commit fix the issue.

Fix #10986, close #11017
2022-01-10 15:05:44 +01:00
Don Ho e40aec0b3f Friends are just like trees 2022-01-10 03:11:49 +01:00
Don Ho 9208ed2abc Make 1 entry of French translation shorter
Fix #11006
2022-01-09 03:05:01 +01:00
Don HO 36cbfb45cd Better clean on unstallation 2022-01-09 02:35:19 +01:00
xomx 9f08013d08 Fix installer x64 not detected the previous installation location
Ref:
https://nsis.sourceforge.io/Reference/SetRegView

Fix #7946, close #11013
2022-01-08 18:03:03 +01:00
Don Ho 9929160a00 Update French & Taiwanese localization 2022-01-08 17:04:53 +01:00
mere-human 78c6554e91 Add missing translation for folder browser title
Affected places:
File > Open Folder as Workspace
Search > Find in Files
Settings > Preferences > Default Directory > [...]
Settings > Preferences > Backup > [...]

Fix #10983, fix #10984, fix #10985, close #11005
2022-01-08 16:57:33 +01:00
Don Ho 44c9a0561b Fix "Save As" command cannot be used as "Save" issue
If user tries to save a existing file as file itself by using "Save As" command,
then he/she chooses the same file from the Save As file dialog,
* old wrong behaviour: "Save As" action is rejected with the message "The file is already opened in Notepad++".
* new correct behaviour: "Save As" action is allowed.

Fix #10965, close #11008
2022-01-07 21:04:10 +01:00
mere-human 9be4eeb4e6 Add copy name/path commands to DocList and Edit menu
1. Add new commands to copy selected files name/path into multi-selection context menu in Document List.
2. Add new commands to copy all files name/path into Edit > Copy to Clipboard.
3. Create a new function buf2Clipborad() to be used in all similar commands.
4. Fix the translation of the Document List multi-selection context menu.

Fix #10394, close #10993
2022-01-05 15:58:54 +01:00
Don Ho a4bd526639 Fix French localization 2022-01-05 02:52:21 +01:00
rddim d9ef4be579 Update english.xml
Fix #10356, close #10981
2022-01-05 00:29:27 +01:00
Rajendra Singh 23b2a3fa8e Fix Recent Files List not revised issue after "Save As" command
Fix #10946, close #10994
2022-01-04 23:41:29 +01:00
ArkadiuszMichalski 0dd0a9586a Support both MingGW multilib versions
Fix #10941, close #10962
2022-01-04 22:34:59 +01:00
Don HO 573a3db6e9 Notepad++ release 8.2 2022-01-01 00:04:52 +01:00
Don HO 3c89b57167 Installation: Let users decide to keep or not HexEdit plugin
Fix #10828, close #10972
2021-12-31 23:59:59 +01:00
Don Ho 5d1bbc05ef Update 3 localization files 2021-12-30 01:49:05 +01:00
schnurlos 5dd868cf4b Update german.xml to V.8.1.9.2
Following add9f64104 (diff-a6ac7ceba70d88bf1547fd1defd760bd55052dcdb78c44f9d46d99ef1f450472) & 7aa0a56320 (diff-a6ac7ceba70d88bf1547fd1defd760bd55052dcdb78c44f9d46d99ef1f450472)

Close #10845
2021-12-30 00:52:24 +01:00
IoeCmcomc 61eff45bd2 Update Vietnamese translation
Signed-off-by: IoeCmcomc <53734763+IoeCmcomc@users.noreply.github.com>

Close #10880
2021-12-30 00:50:00 +01:00
Iñigo Zendegi 66eddf2501 Update basque.xml
Close #10931
2021-12-30 00:46:44 +01:00
Artem Polivanchuk 1ad973fa26 Update Ukrainian translation
Close #10934
2021-12-30 00:41:57 +01:00
Tmp341 35c26e3ad4 Update Turkish localization
* According to add9f64, 7aa0a56 and 4facc4d commits.

Close #10938
2021-12-30 00:40:05 +01:00
~GOLEM~ 9debacde9f Update russian.xml to v8.1.9.3
Close #10944
2021-12-30 00:37:58 +01:00
kubalav cb441d8a59 Update Slovak translation to 8.1.9.3
Close #10945
2021-12-30 00:36:37 +01:00
yasmise 13d92c614f Update japanese.xml
Translation update to follow this commit:
* Add auto save loaded session on exit feature (a16930fffe)

Also, fix for looking of parentheses for inconsistency.

Fix #10949
2021-12-30 00:35:23 +01:00
György Bata 35dc1f8c45 Hungarian translation update for 8.1.9.3
Close #10951
2021-12-30 00:34:05 +01:00
rddim 492d27996d Update Bulgarian localization
Close #10953
2021-12-30 00:25:20 +01:00
Hugo Carvalho 234d142cab Update portuguese.xml
For commit: a16930fffe

Close #10954
2021-12-30 00:21:59 +01:00
Don Ho 87db9d1957 Fix caret left-right inverse moving in R2L mode issue
ref:
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/10334#issuecomment-1002054488

Fix #8553, fix #7678, fix #9730, close #10963
2021-12-29 18:37:02 +01:00
Ashfaaq18 79fa0abc8b Fix memory leak when toggling to and from Dark Mode
Fix the memory leak due to icons of toolbar - they are not removed from ImageList while switching between dark/lite mode.

Fix #10957, close #10966
2021-12-29 16:50:07 +01:00
Don Ho c0989d472c Enlarge your name field size!
Rename current tab & Rename User Language name could be up to 63 characters now!
(Before this implementation the limit size is about 20 characters)

Fix #10961, fix #9849, close
2021-12-29 16:00:55 +01:00
Ashfaaq18 4a7a33f010 Fix Document List icons unchanged issue after switching to dark mode
1. Document List icons now support darkmode icons and alternate icons.
2. Fixed memory leak in code and additional code refactoring.

Fix #10740, close #10956
2021-12-28 01:04:38 +01:00
Don Ho ae09024e66 Fix UTF-8 detected wrongly as TIS-620 issue
uchardet detects usually wrongly UTF-8 as TIS-620, hence TIS-620 detection is disabled in this commit.
More info:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10916#issuecomment-1001671957

Fix #10916, fix #940, fix #8755, fix #3588, fix #3188, fix #4932, fix #3172, fix #10492, close #10958
2021-12-27 20:17:18 +01:00
Don Ho 33a0587a65 Fix incorrect folding behaviour in C, C++ & Javascript
Fix also for TypeScript and Objective-C.

Fix  #4560, close #10948
2021-12-25 21:49:30 +01:00
Don Ho a16930fffe Add auto save loaded session on exit feature
This new feature works only if Multi-instance settings is NOT set to "Default (Mono-instance)".

Fix #1646, fix #3241, fix #3574, fix #4228, close #10935
2021-12-24 17:32:08 +01:00
Don Ho a563a8b812 Open "crontab" file by using syntax highlighting of bash
Fix #3377, close #10943
2021-12-24 03:19:19 +01:00
Don Ho 30c586d94c Fix wrong language name in installer 2021-12-23 15:49:48 +01:00
ArkadiuszMichalski 85d6108a6b Fix Build not work under path with space
Fix #10907, close #10914
2021-12-21 23:44:52 +01:00
CennoxX 31799472b4 Add new keyword "var" in Java
Add new keyword "var" in Java, and sort the list alphabetically.

Fix #4390,  close #10917
2021-12-21 19:27:11 +01:00
Don Ho b5d646b4cd Add exclude folder(s) capacity in Find in Files
This PR allows users to provide the list of excluding folder names/patterns in "Filters" field.
Eclusion operator is alway "!" at the begining. In order to distinguish folder from file, "\" should be used as prefix of the folder name/pattern, following "!". That allows the exclusion of the directories under the root directory you want to search (the 1st level of matched directories).

If users need to exclude folders with the same name (or names matched the specific pattern) in all levels, the + should be put between "!" and "\" to exclude them recursively.

Here is a sample:
Filters: *.* !\bin !+\test !+\log*
Directory: c:\myProject\

So the excluded directories could be:

    c:\myProject\bin\
    c:\myProject\log\
    c:\myProject\logs\
    c:\myProject\src\log4j\
    c:\myProject\test\
    c:\myProject\src\test\

The following directories will not be excluded:

    c:\myProject\foo\tests\
    c:\myProject\foo\bin\

Note that "inclusion of folder" is not allowed, and such pattern will be ignored.

Fix #2433, fix #8350, close #10927
2021-12-21 18:39:22 +01:00
Don Ho ac52f406f3 Fix no focus on edit zone regression
Fix no focus on edit zone after switching back to Notepad++.
This regression is introduced by ee884f87bb (#10910)

ref:
ee884f87bb (commitcomment-62032223)
2021-12-16 17:37:11 +01:00
Don Ho 1c81788881 Add a new keyword "nameof" in C#
Fix #10870
2021-12-15 14:29:55 +01:00
Shridhar Kumar ee884f87bb A comprehensive fix for background clipping of dock panels
The (very detailed) explanation/information of fix:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2937#issuecomment-992086848

Fix #2202, fix #2937, fix #5980, fix #8980, fix #9905, fix #10091, close #10910
2021-12-14 02:53:09 +01:00
ArkadiuszMichalski 3d5aa49cdd Fix build 32-bit binary failure under unix-like shell (Git Bash)
Read Windows environment variables correct also for unix-like shell.

Fix #10885, close #10886
2021-12-14 00:54:30 +01:00
Don HO 6df3db124f Notepad++ release 8.1.9.3 2021-12-08 20:58:49 +01:00
Don Ho 5d2fc0d8c0 Fix log written under wrong condition 2021-12-06 18:50:36 +01:00
Don Ho 0f4010eada Refactoring for the readability 2021-12-05 04:45:55 +01:00
xomx bf732c9991 Fix dirty status after reloading file
Fix #10796, close #10874
2021-12-05 04:15:12 +01:00
Regmos 09890daa54 Update danish.xml
Close #10879
2021-12-05 01:16:12 +01:00
xomx b41cb7d65b Update czech.xml to v8.1.9.3
Close #10877
2021-12-05 01:14:39 +01:00
ArkadiuszMichalski 4facc4db46 Update polish.xml to 8.1.9.3
Close #10875
2021-12-05 01:13:17 +01:00
yasmise e99d2eb696 update japanese.xml to v8.1.9.2
Added these translations:
* Add "Notepad++ User Defined Languages Collection" project website ... (add9f64104)
* Update english.xml (7aa0a56320)

Close #10848
2021-12-05 01:10:54 +01:00
kubalav 1574deb570 Update Slovak translation to 8.1.9.2
Close #10834
2021-12-05 01:07:31 +01:00
rddim a4c29c96c1 Update Bulgarian localization
Close #10830
2021-12-05 01:00:56 +01:00
Patriccollu 1ae7490092 Update Corsican translation for Notepad++ 8.1.9.3
Close #10813
2021-12-05 00:58:59 +01:00
Hugo Carvalho 50ed14367e Update portuguese.xml v8.1.9.1
Close #10808
2021-12-05 00:55:54 +01:00
Don Ho acb8a9db47 Add logs for nul content corruption issue
These logs are written for debugging NUL file-corruption issue (#6133) and session lost issue (#10402) which are still problematic probably.
The writting log info will be triggered only when Windows notifies Notepad++ to end session.
The log file will be in "%APPDATA%\Notepad++\" or in Notepad++ installation folder if doLocalConf.xml is present.
To disable the log, just remove nppLogNulContentCorruptionIssue.xml.

Close #10871
2021-12-04 15:33:32 +01:00
Don Ho 1039c10bae Add lua function list into installer 2021-12-04 03:07:18 +01:00
Simon Buhrow feac018149 Add lua function list capacity
Fix #4563, close #10867
2021-12-04 02:27:15 +01:00
Don Ho 12a13b1c0a Fix saving file and false alert on network drive issues
And add log ability for debugging network drive file status detection issue.

To activate log, user should:
1. Add an empty "nppLogNetworkDriveIssue.xml" file beside of notepad++.exe, or if user has no admin previlege, he/she can add this file into %APPDATA%\Notepad++\.
2. Create "C:\temp\" directory, if it doesn't exist yet.
3. Start notepad++.exe, and wait for the file status (timestamp) detection error from the network drive. If the errors occur, there should be some trace in "C:\temp\nppLogNetworkDriveIssue.log".

People who have had the network drive file status detection issue in #10688, #10753, #10757, #10751 & #10787 are welcome to download the binary and provide the generated log in order to fix this issue.

Fix #10751, fix #10688, fix #10753, fix #10757, fix #10751, fix #10787, close #10847
2021-12-01 20:42:35 +01:00
Don Ho e87342fef6 Fix Notepad++ dockable panels lose bg color issue when swiching it back
It's rather a bug of Windows' API than the bug of Notepad++. The visual glitch comes from TreeView (FunctionList, Folder As WorkSpace, Project Panels etc ...) but ListView (ASCII Insertion Panel & Document List) works fine.
I have done some fixes about this issue. However, it's not perfect when use mouse to do the snapshot.
OTOH, once the click done to show Notepad++, it becomes normal.
This is the best fix I can offer for this bug.

Fix #2202, fix #2937, fix #5980, fix #8980, fix #9905, fix #10091
2021-12-01 02:32:33 +01:00
Don Ho bab3573be7 Fix detection of backup file restored back problem
Fix #10839, close #10843
2021-11-27 16:27:59 +01:00
vlakoff e7bf582ffd Add some new PHP 7.3 function keywords
Add some new PHP 7.3 function keywords for highlighting and autocompletion.

Fix #8410, close #10819
2021-11-27 05:02:03 +01:00
jimcarst 567e0456bb Support "Taggle line comment" command for LaTeX
Fix #10836, close #10837
2021-11-27 04:48:54 +01:00
rddim 7aa0a56320 Update english.xml
Close #10831
2021-11-27 04:40:29 +01:00
Don Ho add9f64104 Add "Notepad++ User Defined Languages Collection" project website access command 2021-11-23 00:31:37 +01:00
Don HO 21dd62bb0d Notepad++ release 8.1.9.2 2021-11-21 15:02:30 +01:00
Don HO dc082ba2fd Fix dark mode not working on Windows 10 2H22
Fix #10810
2021-11-21 04:01:26 +01:00
~GOLEM~ b28ea17a91 Update russian.xml v8.1.9.1
Updated to v8.1.9.1:
- minor fix

Close #10780
2021-11-20 15:59:20 +01:00
rddim 240134958a Update Bulgarian localization
Close #10782
2021-11-20 15:56:59 +01:00
Sapziller ce2de092c4 Update korean.xml 8.1.9.1
Close #10785
2021-11-20 15:54:35 +01:00
Ashfaaq18 c7140f279b Fix disabling alnative icons on tab in dark mode issue
Fix #10775, close #10798
2021-11-18 18:33:46 +01:00
Don Ho 9662b2e7d3 Remove unnecessary file 2021-11-18 16:25:26 +01:00
Don Ho 990c92540d Fix fallure of erasing & saving server logs (of network drive) issue
Fix #10794
2021-11-18 02:32:21 +01:00