Commit Graph

4833 Commits (faba181e8fe7605dbff9ffc3d617f5306d9a1376)

Author SHA1 Message Date
xomx 0f48a82d6c [xml] Update czech.xml to v8.5.5
Close #13890
2023-08-01 21:30:16 +02:00
Andrei Miloiu 61b23dfd1e [xml] Update Romanian localization
Close #13848
2023-08-01 21:29:08 +02:00
A. Regnander 796ae18f0c Update swedish.xml
Added new strings and made changes to match english.xml

Close #13840
2023-08-01 21:26:44 +02:00
Juan e894c2baca [xml] Update galician.xml
Close #13830
2023-08-01 21:25:18 +02:00
~GOLEM~ 119d17f928 [xml] Update russian.xml v8.5.5
Close #13823
2023-08-01 21:23:24 +02:00
Juan c1605852be [xml] Update spanish.xml
Close #13828
2023-08-01 21:21:07 +02:00
Patriccollu e827e51ed1 [xml] Update Corsican translation for Notepad++ 8.5.5
Close #13820
2023-08-01 21:18:32 +02:00
spkprs 1f3cd8752e Update greek.xml
Close #13809
2023-08-01 21:16:42 +02:00
yaoyao5128 694c4101c3 Update chineseSimplified.xml
add Item id "1726-1728".

Close #13808
2023-08-01 21:13:06 +02:00
rddim 459f310edd [xml] Update Bulgarian localization
Close #13801
2023-08-01 21:11:30 +02:00
Christian Grasser cc1a3c826b Update: Scintilla 5.3.6 and Lexilla 5.2.6
update to Scinitlla Release 5.3.6 (https://www.scintilla.org/scintilla536.zip)

    Released 26 July 2023.
    Redraw calltip after showing as didn't update when size of new text exactly same as previous. Feature #1486.
    On Win32 fix reverse arrow cursor when scaled. Bug #2382.
    On Win32 hide cursor when typing if that system preference has been chosen. Bug #2333.
    On Win32 and Qt, stop aligning IME candidate window to target. It is now always aligned to start of composition string. This undoes part of feature #1300. Feature #1488, Bug #2391, Feature #1300.
    On Qt, for IMEs, update micro focus when selection changes. This may move the location of IME popups to align with the caret.
    On Qt, implement replacement for IMEs which may help with actions like reconversion. This is similar to delete-surrounding on GTK.

and Lexilla Release 5.2.6 (https://www.scintilla.org/lexilla526.zip)

    Released 26 July 2023.
    Include empty word list names in value returned by DescribeWordListSets and SCI_DESCRIBEKEYWORDSETS. Issue #175, Pull request #176.
    Bash: style here-doc end delimiters as SCE_SH_HERE_DELIM instead of SCE_SH_HERE_Q. Issue #177.
    Bash: allow '$' as last character in string. Issue #180, Pull request #181.
    Bash: fix state after expansion. Highlight all numeric and file test operators. Don't highlight dash in long option as operator. Issue #182, Pull request #183.
    Bash: strict checking of special parameters ($*, $@, $$, ...) with property lexer.bash.special.parameter to specify valid parameters. Issue #184, Pull request #186.
    Bash: recognize keyword before redirection operators (< and >). Issue #188, Pull request #189.
    Errorlist: recognize Bash diagnostic messages.
    HTML: allow ASP block to terminate inside line comment. Issue #185.
    HTML: fix folding with JSP/ASP.NET <%-- comment. Issue #191.
    HTML: fix incremental styling of multi-line ASP.NET directive. Issue #191.
    Matlab: improve arguments blocks. Add support for multiple arguments blocks. Prevent "arguments" from being keyword in function declaration line. Fix semicolon handling. Pull request #179.
    Visual Prolog: add support for embedded syntax with SCE_VISUALPROLOG_EMBEDDED and SCE_VISUALPROLOG_PLACEHOLDER.
    Styling of string literals changed with no differentiation between literals with quotes and those that are prefixed with "@". Quote characters are in a separate style (SCE_VISUALPROLOG_STRING_QUOTE) to contents (SCE_VISUALPROLOG_STRING).
    SCE_VISUALPROLOG_CHARACTER, SCE_VISUALPROLOG_CHARACTER_TOO_MANY, SCE_VISUALPROLOG_CHARACTER_ESCAPE_ERROR, SCE_VISUALPROLOG_STRING_EOL_OPEN, and SCE_VISUALPROLOG_STRING_VERBATIM_SPECIAL were removed (replaced with SCE_VISUALPROLOG_UNUSED[1-5]). Pull request #178.

Fix #13901, fix #13911, fix #13943, close #13940
2023-08-01 19:44:35 +02:00
Patriccollu 50a15f2e59 Remove extra char on top of french.xml
Close #13949
2023-08-01 19:15:11 +02:00
Don Ho c143a4a6cc Remove "Temporary doc site:" from localization files
The removal is due to 9011253
(9011253a0a (commitcomment-121208415))
2023-07-31 02:24:11 +02:00
Don Ho e7f7c319f5 Fix inaccurate find/replace in files result while using invalid regexp
Fix #13164, close #13945
2023-07-30 13:31:15 +02:00
Don Ho c4733db0af Use better variable name & use standard type name
1. isInFile to isBetweenFileNameQuotes
2. generic_string to std::wstring
2023-07-27 14:26:01 +02:00
jofon 3ea789caea Fix error message of openning file with '=' as end of file name
Ignore '=' at the end of a file name.

Fix #13344, close #13917
2023-07-27 14:02:51 +02:00
Don Ho 4df27c8e8b Fix Project panel inaccurate save dialog initilized path
Fix #13086, close #13936
2023-07-27 13:59:03 +02:00
byronigoe 3bdefd88d0 Fix handling of URLs in JSON
Fix #13522, close 13907
2023-07-23 10:06:58 +02:00
Don Ho 2804ac79f0 Fix "Last Used Directory" may not be saved issue
Also change open/save "Last Used Directory" behaviour - on last changed directory changed in open/save dialog dialog instead on pressing OK.

Fix  #13914, close #13918
2023-07-23 10:05:14 +02:00
Don Ho c8020647dd Fix regression: the small size of Notepad++ on its very first launch
Fix regression is due to a367fc1
2023-07-22 11:39:47 +02:00
Don Ho a367fc1b79 Code enhancement: use std::wstring instead of generic_string 2023-07-21 12:11:08 +02:00
molsonkiko ff2179aeca Remember the directory of "Remember last used directory" through sessions
Fix #11326, fix #10901, fix #4961, fix #4119, close #13887
2023-07-21 11:14:01 +02:00
ozone10 eef91b0214 Enable optimization flags & CET
Fix #13855, close #13869
2023-07-17 11:09:17 +02:00
xomx 9122dc64fa Fix rejection of the standard filenames with dot at the end (regression)
Currently we cannot accept e.g. the "\\?\C:\file.", but when someone tries to open the standard variant 'C:\file.', we should accept that, as this is the way how to work with filenames without an extension.

Fixes #12849, close #13888
2023-07-16 01:54:20 +02:00
Don Ho 38e97b179c Align URL with "Home:" label in About dialog
Fix #13898
2023-07-15 17:21:43 +02:00
Don Ho bf47586259 Add more info on save session error message part 2 2023-07-14 12:56:36 +02:00
Don Ho 7e353903b8 Add more info on save session error message
For the future debugging using.

Related: #13859

Close #13893
2023-07-13 10:42:12 +02:00
xomx 50f942c880 Fix MD5 dialog title not showing regression
One had to click on the Tools -> MD5 -> Generate from files... twice for showing up the dialog (only for the first time, next time it was ok).
Caused by the previous 'Add SHA-512 hash features' commit.

Close #13891
2023-07-13 10:38:40 +02:00
Don Ho ebdc910dcd Fix normal.xml for Normal text auto-completion using not working issue
Fix #12325, close #13875
2023-07-09 13:09:12 +02:00
Don Ho d9b98681f4 Add change history navgation commands
Add Go to next/prev change & clear change history commands.

Fix #12248, close #13861
2023-07-07 21:44:04 +02:00
Don Ho 9011253a0a Remove "Temporary doc site:" label
Fix #13737
2023-07-07 21:13:47 +02:00
80rokwoc4j 6330a688b1 Fix Korean IME append extension issue
Currently, there is a bug in notepad++'s add extension feature only for Korean input after it was changed to hooking-based in the commit below.
b5a5baf#diff-eeb5624a35a43795da4eb970149a9ce7d22858b678a242affd2357520ea3e9f2R607

Bug

    Attempting to save via Enter appends the last character to the extension.
    Candidate mode is similar, with more varied issues depending on IME.

Cause

    the hooking function is executed before the Hangul composition is completed and the last character is added after the extension.
    Same for Candidate mode.

Workaround

It is almost impossible to fix issue 2 while maintaining the current Enter hooking
Exiting Candidate Mode can be done by pressing Enter, ESC, number key, or clicking on a candidate character, but there is too much code to cover all of these cases.
In addition, the Windows input framework is fragmented into IMM and TSF, and various IMEs have different implementations, so it is almost impossible to determine the state of Candidate or Hangul composition through IME hooking.
I have seen differences in the events fired by different Windows versions and different IME programs for the same IME behavior.
This PR solves problem 1 and partially solves problem 2 by not saving with Enter when in Hangul mode.

Fix #11582, fix #12225, fix #12366, close #13788
2023-07-07 20:01:18 +02:00
ozone10 a647991cd7 Fix some GCC and MSC warnings
-  optimize dark mode
-  add initializers

Fix #13867, close #13868
2023-07-07 19:51:39 +02:00
Christian Grasser d6bdc5d3f8 Fix cmake build
- update CMakeLists.txt to contain latest changes sha1 and sha512.cpp
- fixed uppercase issue on cross platform build with mingw on linux

Close #13865
2023-07-06 13:43:11 +02:00
BuzzTheGamer23 0786dc0adc Fix compiling on Scoop mingw-winlibs g++ 13
Fix #13821, close #13822
2023-07-05 13:53:32 +02:00
Don Ho 83d203561d Fix Change History wrong display after "Reload from Disk" command
The code for fixing is from Change Lines plugin:
https://github.com/vinsworldcom/nppChangedLines/blob/main/PluginDefinition.cpp

Fix #12319, fix #12261, fix #13735, close #13858
2023-07-04 03:12:01 +02:00
JarLob d7ea26d931 GHSL-2023-092: Check if i is not bigger than datalen 2023-07-02 09:56:09 +00:00
Don Ho 9e24ec55db Improve lines sorting memory consumption
Use reference instead of copy for the sorting result.
Also improve lines sorting performance slightly: Sorting a 200 MB text file takes 13.71 seconds instead of 14.63 seconds.

Fix #10435, close #13852
2023-07-02 03:32:55 +02:00
jarlob 5687c4f43c GHSL-2023-112: check if the current pointer and the next one are less than the end 2023-07-01 20:45:03 +00:00
JarLob ddf4f746d7 GHSL-2023-102: apply 2694ba6363 2023-07-01 20:02:25 +00:00
JarLob 97f9a4d963 GHSL-2023-103: apply 94b10b9b29 2023-07-01 19:55:49 +00:00
Don Ho 02dd1d36fc Add blank document only when the sessin is remembered
Fix #13796
2023-07-01 03:26:55 +02:00
Don Ho d6b5f53a0e Fix Clipboard History panel shows corrupted data issue
Fix #13817, fix #13844, close #13833
2023-06-30 16:42:43 +02:00
Don Ho 1943ce87b5 [xml] Update slovenian.xml 2023-06-23 01:40:34 +02:00
Don Ho 6131195da7 Fix "Generate from selection into clipboard" crash regression
Fix #13818
2023-06-21 19:35:23 +02:00
Don Ho b14810d087 Update localization files 2023-06-21 18:23:49 +02:00
yasmise d7aee6828d [xml] Add missing entries in english.xml for SHA-1/SHA-512
Fix #13815, close #13816
2023-06-21 18:20:33 +02:00
Don Ho 4ffd897ccf Add SHA-512 hash features
Fix also SHA-1 hash result wrong length bug while "Treat each line as a separate string" enabled.

Fix #13805, fix #13812, fix #13811, close #13806
2023-06-20 23:19:19 +02:00
Don Ho 32ce6b5b4c Code Enhancement: make notepadPlus.vcxproj less messed
Fix #13798
2023-06-19 19:29:13 +02:00
Don Ho 5b5238610e Fix menu Tools contains 2 SHA-256 item while using localization
Fix #13797
2023-06-19 18:29:13 +02:00
Don Ho 85ba11bf7e Notepad++ 8.5.4 release 2023-06-18 14:21:27 +02:00
Don HO 19c6895f83 Fix gcc compiling failure
Close #13793
2023-06-17 20:15:45 +02:00
Don Ho b883759c83 Add SHA-1 hash feature
Fix #13791, close #13792
2023-06-17 13:25:07 +02:00
Don Ho 51bddf57ad Use multiple-files Save dialog in Document list
Fix #13768, fix #13178, close #13776
2023-06-17 13:24:13 +02:00
xomx bdd13c0839 [xml] Update czech.xml to v8.5.4
Close #13772
2023-06-17 13:24:13 +02:00
Karlo-F fcb9f56df8 [xml] Update croatian.xml to v8.5.4
Close #13773
2023-06-17 13:24:13 +02:00
ozone10 af1ab5d294 Support up down control generic dark mode for plugins
Fix #13766, close #13767
2023-06-17 13:24:13 +02:00
Don Ho d2fdfd7b73 Fix defective detection for file read-only attribute removal via Explorer
The regression has been made by 5e2f5d79aa

Fix #13742
2023-06-17 13:24:13 +02:00
Don Ho 7077e304aa Add CSHA1 2023-06-17 03:46:44 +02:00
Don Ho 3b823f358e Add SHA1 hash generator 2023-06-13 19:35:06 +02:00
xomx b0e849fe65 Fix ignored writeStr return value in TiXmlDocument::SaveFile
Previously the TiXmlDocument::SaveFile could return true even when the underlying writeStr func failed.

Close #13774
2023-06-12 16:06:34 +02:00
ozone10 28594daef3 Progress window: Prefer SystemParametersInfo fonts over DEFAULT_GUI_FONT
Fix #13764
2023-06-11 14:05:34 +02:00
ozone10 da8e48f67a Fix EOL symbol color/appearence being reset while changing encoding issue
Fix #13728, close #13763
2023-06-11 13:41:23 +02:00
Robert Di Pardo fadc083051 Enable code folding in Assembly source files
Enables the folding capabilities of Lexilla's Assembly lexer by:

 - adding the currently [unused keyword groups], `Directives4Foldstart` and `Directives4Foldend`;

b5e2e9d737/lexilla/lexers/LexAsm.cxx (L101-L109)

 - adding some fold-trigger keywords to the new `Directives4Foldstart` and `Directives4Foldend` groups, and *duplicating* them in the existing `Directives` group, following [these instructions].

 - activating a *selection* of the lexer's [optional folding properties]. Since `fold.asm.comment.explicit` is not likely to be popular, the default delimiters `;{` and `;}` are permanent, and `fold.asm.explicit.anywhere` is *not* turned on. Users who want different options can always use [Python Script] to set them dynamically.

There are plenty of *more* candidate keywords than what I've added, but I'm not very familiar with [Microsoft's macro assembler].

Fix #13758, fix #9888, close #13762
2023-06-11 12:12:14 +02:00
kubalav 2aa6b0cff5 [xml] Update Slovak translation
Close #13671
2023-06-11 01:49:12 +02:00
schnurlos 15d5c1e9c6 [xml] Update german.xml
Close #13672
2023-06-11 01:46:44 +02:00
Marcellomco 9bbcfd1354 [xml] Update brazilian_portuguese.xml
Mirror changes from "GUI Enhancement: Column Editor" to Brazilian Portuguese language.

Close #13679
2023-06-11 01:30:14 +02:00
Patriccollu ec23e4216f [xml] Update Corsican translation for Notepad++ 8.5.4
Close #13680
2023-06-11 01:28:07 +02:00
Blackspirits 8e0b326b77 [xml] Update portuguese.xml
Close #13689
2023-06-11 01:26:15 +02:00
yasmise 063a31a87c [xml] Update japanese.xml
Update translations for these commits:
* GUI Enhancement: User Define dlgs (052626c)
* Make all the localization files pretty printed (3c15ff5)
* GUI Enhancement: Plugins Admin dialog (4e0f504)
* GUI enhancement: Find in Finder dialog (af8b339)
* GUI Enhancement: General & Editing sections in Preferences dialog (a1d7db8)
* GUI Enhancement: About, Debug, Save dialogs (1806b89)
* Add "open new blank document in addition on startup" ability (61503a2)

Close #13697
2023-06-11 01:22:32 +02:00
rddim 5694b3c407 [xml] Update Bulgarian localization
Close #13707
2023-06-11 01:20:57 +02:00
Matteo Concato 1ae5745118 [xml] Update italian.xml 8.5.4
Close #13710
2023-06-11 01:19:12 +02:00
Tmp341 38d19095be [xml] Update Turkish localization
Close #13727
2023-06-11 01:17:54 +02:00
Sapziller f1ed6e6f4f [xml] update korean translate (8.5.3)
Close #13732
2023-06-11 01:15:21 +02:00
~GOLEM~ 647dd703a5 [xml] Update russian.xml v8.5.4
Close #13751
2023-06-11 01:09:02 +02:00
artpoli b335454733 [xml] Update Ukrainian translation
Close #13759
2023-06-11 01:02:47 +02:00
Don Ho e61b20a7fe Small refactoring 2023-06-11 00:59:15 +02:00
Don Ho b5e2e9d737 Fix macro recording regression on Unicode character
Fix #13757
2023-06-10 17:47:34 +02:00
molsonkiko 96ff66b225 Fix infinite loop in running macro to EOF
To test fix, try making file
```
f
f
```
and recording macro of find/replace form searching for f, then running until EOF.

This does not break any existing behavior, including:

   - macros where the cursor moves towards EOF but line num doesn't change (those already stopped after one iteration)
   - macros where line(s) are deleted with every iteration (even if line number doesn't change, they run until file empty)
   - macros where the line number increases with each iteration
   - macros where the cursor advances up or down with each iteration but would eventually stop anyway (those end at the correct time)

Fix #13342, close #13587
2023-06-08 22:20:29 +02:00
Don Ho 61503a2dcd Add "open new blank document in addition on startup" ability
To enable/disable this feature, go to New Document section of Preferences dialog, and check/uncheck "Always open a new document in addition at startup" checkbox.

Fix #11134, fix #9535, fix #5527, close #13738
2023-06-08 19:16:56 +02:00
Don Ho ccf80a0699 Add session.xml.fail2Load for analyzing
When session.xml is written while Notepad++ exit, it'll be load for checking if it's an valid xml file.
If not, then it will be replaced by the old session file (if any).

This commit renames session.xml to session.xml.fail2Load so in case of the situation user can provide session.xml.fail2Load to devs for analyzing.

Ref #13694

Close #13741
2023-06-06 13:40:17 +02:00
Don Ho dba15cfaf3 Fix document language not remembered through sessions issue
Fix document language not remembered through sessions due to languange being hidden from languages menu.

Fix #13743, close #13744
2023-06-06 02:07:19 +02:00
Christian Grasser b39ca37c3a Update: Scintilla 5.3.5 Lexilla 5.2.5
update to Scinitlla Release 5.3.5 (https://www.scintilla.org/scintilla535.zip)

    Released 31 May 2023.
    On Win32, implement IME context sensitivity with IMR_DOCUMENTFEED. Feature #1310.
    On Win32 remove dependence on MSIMG32.DLL by replacing AlphaBlend by GdiAlphaBlend. Bug #1923.
    On Qt, stop movement of IME candidate box.
    On Qt, report correct caret position within paragraph for IME retrieve surrounding text.
    On Qt for Cocoa, fix crash in entry of multi-character strings with IME.

and Lexilla Release 5.2.5 (https://www.scintilla.org/lexilla525.zip)

    Released 31 May 2023.
    Add CharacterSetArray constructor without setBase initial argument for common case where this is setNone and the initialSet argument completely defines the characters. This shortens and clarifies use of CharacterSetArray.
    Bash: implement highlighting inside quoted elements and here-docs. Controlled with properties lexer.bash.styling.inside.string, lexer.bash.styling.inside.backticks, lexer.bash.styling.inside.parameter, and lexer.bash.styling.inside.heredoc. Issue #154, Issue #153, Feature #1033.
    Bash: add property lexer.bash.command.substitution to choose how to style command substitutions. 0 → SCE_SH_BACKTICKS; 1 → surrounding "$(" and ")" as operators and contents styled as bash code; 2 → use distinct styles (base style + 64) for contents. Choice (2) is a provisional feature and details may change before it is finalized. Issue #153.
    Bash: fix nesting of parameters (SCE_SH_PARAM) like ${var/$sub/"${rep}}"}. Issue #154.
    Bash: fix single character special parameters like $? by limiting style. Issue #154.
    Bash: treat "$$" as special parameter and end scalars before "$". Issue #154.
    Bash: treat "<<" in arithmetic contexts as left bitwise shift operator instead of here-doc. Issue #137.
    Batch: style SCE_BAT_AFTER_LABEL used for rest of line after label which is not executed. Issue #148.
    F#: Lex interpolated verbatim strings as verbatim. Issue #156.
    VB: allow multiline strings when lexer.vb.strings.multiline set. Issue #151.

Close #13729
2023-06-02 14:15:54 +02:00
blu3mania 406a77a608 Fix lexer plugin is sorted unconventionally in language menu issue
Correct the logic when inserting external lexer's language into language menu,
while inserting external lexer's language into language menu, also search in submenu if compact language menu is used.
Fix also a similar issue in Preferences dialog when enabling a previously disabled language.

Fix #9516, close #13660
2023-05-31 15:39:28 +02:00
ozone10 776a3fb945 GUI Enhancement: StylerDlg & URLCtrl
-  prefer SystemParametersInfo fonts over DEFAULT_GUI_FONT
-  optimize dark mode
-  fix override warnings

Fix #13705, close #13706
2023-05-30 18:42:51 +02:00
ozone10 781709a022 GUI Enhancement: Tabbar part 2
- use one tab icon size
- close button crop in RTL
- improve text positions
- font size adjustment

ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/13702#issuecomment-1564296333

Fix #10349, fix #8109, close #13709
2023-05-30 01:15:49 +02:00
ozone10 e2f1662c90 GUI Enhancement: Docking Container & Function List
-  prefer SystemParametersInfo fonts over DEFAULT_GUI_FONT
-  fix override warnings
-  add initializer

Fix #13703, close #13704
2023-05-29 20:23:07 +02:00
ozone10 e7f321f21a Add message NPPM_DARKMODESUBCLASSANDTHEME
to allow plugin authors to use generic dark mode.
Unfortunately not for C# plugins.
related #13572

Fix #13574, close #13596
2023-05-28 11:52:14 +02:00
ozone10 b88456764b GUI Enhancement: Tabbar
-  prefer SystemParametersInfo fonts over DEFAULT_GUI_FONT
-  fix inconsistent tab bar size values
-  add initializer
-  fix override warnings

Fix #13701, close #13702
2023-05-25 14:51:48 +02:00
ozone10 1806b8994b GUIEnhancement: About, Debug, Save dialogs
-  add accelerators
-  optimize dark mode
-  remove/comment unused variables
-  replace debug copy link with push button
-  fix override warnings
-  add initializers

Fix #13686, close #13687
2023-05-23 16:05:54 +02:00
ozone10 779db128ac GUI Enhancement: Go to Line dialog
- optimize dark mode
- simplify code
- fix override warnings

Fix #13665, close #13666
2023-05-22 13:38:21 +02:00
ozone10 a1d7db8049 GUI Enhancement: General & Editing sections in Preferences dialog
- increase width for some items for translation
- make translation consistent between source and xml files
- reorder items for consistent tab focus

Ref #13627, ref 0cad36d#r108675058
Fix #13657, fix #13676, close #13632
2023-05-22 10:19:23 +02:00
ozone10 41af936855 GUI Enhancement: Column Editor
- fix override warnings
- replace SendMessage check with isCheckedOrNot
- make translation consistent

Fix #13667, close #13668
2023-05-20 20:08:20 +02:00
Anders 8250a81d6e Fix tabContextMenu_example.xml not being deleted while uninstallation
Correctly delete tabContextMenu_example.xml in the users profile.

Fix #13670, close #13654
2023-05-19 05:43:52 +02:00
ozone10 af8b339296 GUI enhancement: Find in Finder dialog
- add key accelerator
- optimize dark mode
- add initializers
- fix override warnings

Fix #13624, close #13625
2023-05-18 10:52:13 +02:00
Bjarke Istrup Pedersen 04e85241f3 Remove old context menu ini file and attributes file
The old explorerContextMenuEntryLocal.ini file is no longer used, and
keeping it here causes confusion with people adding pull requests to
update it.
This removes it, along with the .gitattributes file, since it is no
longer needed with the ini file gone.

Close #13662
2023-05-18 07:15:27 +02:00
ozone10 4e0f50416d GUI Enhancement: Plugins Admin dialog
- add key accelerators
- remove unused define
- add initializers
- fix override warnings
- optimize dark mode
- resize listview controls based on other child controls

Fix #13622, close #13623
2023-05-18 06:29:54 +02:00
Anders 571c815b1e Fix error message on uninstallation
Only call CleanupDll if the DLL exists.

close #13653
2023-05-17 18:42:04 +02:00
Don Ho a561cd37d4 Notepad++ 8.5.3 release 2023-05-15 07:01:31 +02:00
Don Ho 50b81eadef Backup session file in case of its corruption
It could be, in certain unknown circumstances, the session file (session.xml) is saved with the incorrect characters (for example NUL characters) which leads session file corrupted and empty session loaded on the next launch. This commit makes a backup of session file before rewritting it, then check the session file after it having been writting - if written session file is corrupted, the backup session file will be restored, otherwise the backup file will be removed.

Ref:
1. https://github.com/notepad-plus-plus/notepad-plus-plus/issues/6133#issuecomment-1121781830
2. https://github.com/notepad-plus-plus/notepad-plus-plus/issues/6133#issuecomment-1544703701

Fix #13514, close #13648
2023-05-15 05:59:14 +02:00
Don Ho 34186d2e85 Fix menu strings cut off regression for some localication
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13556#issuecomment-1518197329

Fix #13556, close #13645
2023-05-15 05:51:05 +02:00
schnurlos 2577594e2c [xml] Update german.xml
Close #13642
2023-05-12 04:32:59 +02:00
Karlo-F e6a12b6a41 [xml] Update croatian.xml to v8.5.3
Close #13640
2023-05-12 04:31:03 +02:00
xomx f5d64151ef [xml] Update czech.xml to v8.5.3
Close #13635
2023-05-12 04:28:32 +02:00
Don Ho 3c15ff5783 [xml] Make all the localization files pretty printed
This commit makes all the localization files pretty printed (indent only).

Close #13631
2023-05-09 04:52:09 +02:00
Don Ho 8dd1f3a337 Revert "[xml] Standarize english.xml format by using XML pretty print"
This reverts commit dccab1f25a.
2023-05-08 16:35:03 +02:00
ArkadiuszMichalski df3080d855 [xml] Update polish.xml to 8.5.3
Close #13628
2023-05-08 04:38:47 +02:00
Don Ho dccab1f25a [xml] Standarize english.xml format by using XML pretty print
Use XML Tools plugin for formatting english.xml.
Command: via menu "Plugins -> XML Tools-> Pretty Print" command.

Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/13562#issuecomment-1518543453

Close #13621
2023-05-08 04:32:52 +02:00
Patriccollu f5afac3f91 [xml] Update Corsican translation for Notepad++ 8.5.3
Close #13620
2023-05-07 16:57:58 +02:00
Juan 9fce39d2b2 [xml] Update galician.xml to v 8.5.3
Close #13562
2023-05-07 16:54:49 +02:00
schnurlos d4f0fa95dd [xml] Update german.xml
Close #13539
2023-05-07 16:51:09 +02:00
Juan c9fa1742e0 [xml] Update spanish to v 8.5.3
Close #13537
2023-05-07 16:45:28 +02:00
Thomas De Rocker 97ad88227b [xml] Update dutch.xml
Close #13536
2023-05-07 16:42:34 +02:00
Matteo Concato 20aeb510a5 [xml] update italian.xml
Close #13527
2023-05-07 16:37:57 +02:00
~GOLEM~ 6b55dbd187 [xml] Update russian.xml
Close #13525
2023-05-07 16:33:47 +02:00
yasmise a699f09c50 [xml] Update japanese.xml
* Update translations for these commits:
  * Add hide/show ability of Control Characters (C0 & C1) and Unicode EOL (0cad36d)
  * Enhance Run Macro dialog (87e34c1)
  * Backup old version of shortcuts.xml (5b5c30b)
  * GUI enhancement: Find Characters in Range dialog (997ef82)
  * GUI enhancement: MD5 and SHA256 Hash dialogs (7e6c4b3)
  * GUI Enhancement: Preference Print sub-dialog (6b19445)
* Some translations are modified to be clear.

Close #13518
2023-05-07 16:29:54 +02:00
rddim 76cf3c7931 [xml] Update Bulgarian localization
Close #13515
2023-05-07 16:24:27 +02:00
Marcellomco befcbae1b4 [xml] Update brazilian_portuguese.xml
Close #13512
2023-05-07 14:28:50 +02:00
kubalav 13ef27645b [xml] Update Slovak translation
Close #13509
2023-05-07 14:23:26 +02:00
Christophe Mateos 76afd9284e [xml] Update french.xml 2023-05-07 14:19:29 +02:00
Regmos c4563eddb2 Update danish.xml
Close #13495
2023-05-07 14:06:53 +02:00
Hugo Carvalho 17fcb4d3a0 [xml] Update portuguese.xml to v8.5.2
Close #13480
2023-05-07 13:52:05 +02:00
ozone10 052626ca99 GUI Enhancement: User Define dlgs
- main dlg shared part - tab focus reorder
- string dlg (User language name, New tab name) - make edit ctrl larger
- remove obsolete style
- add initializer
- fix override warnings
- optimize dark mode
- make translation consistent between source code and english lang xml files

Fix #13615, close #13616
2023-05-07 05:50:58 +02:00
ozone10 2a21a042d1 Fix GCC warnings & add initializers
Fix #13603, close #13604
2023-05-06 05:58:58 +02:00
ozone10 2d5c241e2b Fix Change history margin in black color issue
Use Line number margin style color for Change history margin, if not defined in 'theme.xml'.

Fix #12764, fix #13593, close #13594
2023-05-04 05:03:49 +02:00
ozone10 6b194453b8 GUI Enhancement: Preference Print sub-dialog
- add initializers
- reorder controls for tab focus
- add accelerators
- make comboboxes larger
- replace variable static text with edit control
- fix override warnings

Fix #13601, fix #12812, close #13602
2023-05-04 04:25:57 +02:00
Don Ho 23a0cfb3aa Enhance shortcuts backup & warning
Commit 5b5c30b0d3 backup current shortcuts file before rewritting it, and gives a warning to users.
However, when a PC installs v8.5.3 (or later version) from scratch (ie. no v8.5.2 or previous version installed), there should be no warning and no backup.
This commit remove unnecessary cases for warning user (and backup shortcuts file).

Enhance #13589 & #13599

Close #13609
2023-05-04 04:11:54 +02:00
ozone10 7e6c4b3c6b GUI enhancement: MD5 and SHA256 Hash dialogs
- add accelerators
- add initializers
- optimize dark mod

Fix #13579, close #13580
2023-05-02 16:58:08 +02:00
ozone10 997ef821d1 GUI enhancement: Find Characters in Range dialog
- add accelerators
- add initializers

Fix #13577, close #13578
2023-05-02 04:58:52 +02:00
ozone10 61d2d36821 Make focus on edit field in Project panel File relocalizer dialog
- tab focus reorder
- optimize dark mod
- fix override warnings
- add initializer

Fix #13575, close #13576
2023-05-02 04:18:44 +02:00
Don Ho 5b5c30b0d3 Backup old version of shortcuts.xml
An enhancement (fff5f9b - it will be in v8.5.3) makes Macro & Run menu completely localizable. However, it will bring a regression and critical bug for all macro recorded by v8.5.2 and previous versions.
In order to remedy this issue, shortcuts.xml will be copied to shortcuts.xml.v8.5.2.backup before being written. So user can recover backup file if they want to back to v8.5.2 or previous version with the old data.

Fix #13589, close #13599
2023-05-01 19:26:28 +02:00
ArkadiuszMichalski ecb10712c1 Improve "Remove consecutive duplicate lines" command performance
Rewrite "Remove consecutive duplicate lines" without using regex.

Fix #5538, fix #12548, close #13558
2023-05-01 12:58:26 +02:00
ozone10 c585a1ab08 Fix incosistent key accelerator cue for groupbox in dark mode
Fix #13597, close #13598
2023-04-29 19:47:14 +02:00
ozone10 80b34f0adf Fix regression Run Macro Multiple Times cmd
Not changing times immediately from edit control.

Fix #13561, close #13563
2023-04-25 04:48:51 +02:00
Don Ho c76f178534 Fix regression of macro recording
Fix #13565, close #13570
2023-04-23 15:16:52 +02:00
doug1234 2c6c556a3a Project Workspace "Save a Copy As" confusion issue
Fix #13135, close #13303
2023-04-22 15:39:51 +02:00
Don Ho 0457a112c7 Fix regression: Key-Combos in Shortcuts Mapper displayed incorrectly
Fix #13554
2023-04-21 20:36:29 +02:00
Alan Kilborn bc7d6b26a4 Make input focus right in Shortcut dialog
Fix #13524, close #13526
2023-04-21 08:02:46 +02:00
ozone10 3cf45ec3a8 Reorder tab focus in Run dlg
Plus:
- add key accelerators.
- remove unneeded library.
- add initializers.

Fix #13540, close #13541
2023-04-21 07:55:57 +02:00
ArkadiuszMichalski 15decdb3d9 Make 'Remove consecutive duplicate lines' support more line break
Fix #13474, close #13519
2023-04-20 10:22:42 +02:00
ozone10 87e34c1f7b Enhance Run Macro dialog
- reorder tab focus.
- add key accelerators.
- optimize dark mode.

fix #13544, close #13545
2023-04-19 21:09:21 +02:00
Don Ho 1a1ce04caa Fix regression about empty combobox of Run macro dialog 2023-04-19 20:55:52 +02:00
ozone10 59c8689ff4 Fix warnings in WindowsDlg.cpp, .h files
And add initializers.

Fix #13542, close #13543
2023-04-19 19:26:15 +02:00
Andreas Falkenhahn de618df55f Add Hollywood function list into installer
Close #13547
2023-04-19 15:22:07 +02:00
Don Ho fff5f9b24c Add the UTF8 character ability for Run & Macro menu
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13221#issuecomment-1457325172

Fix #12670, fix #13221, fix #13488, close #13538
2023-04-19 02:06:40 +02:00
Mathias Berchtold ac5657d826 Add comment line symbol for gui4cli
gui4cli uses // to comment a line.

Close #13501
2023-04-13 08:17:43 +02:00
Don Ho 96b56f61f9 Fix saving wrong macro/run menu UTF8 folder name after commands modification
The macro/run commands menu folder (submenu entry) can be UTF8 characters.
After modification of macro/run shortcut commands, the macro/run menu UTF8 folder names can be saved correctly by this commit, but in Unicode character number form instead of human readible characters.

Fix #12670, close #13516
2023-04-13 05:14:26 +02:00
Don Ho 4934b46bd7 Fix UDL deletion issue
While there are the UDL in the userDefineLangs folder (new system) and a (or some) UDL in "userDefineLang.xml" (old system). The complete UDL deletion in "userDefineLang.xml" not remove "userDefineLang.xml" file.
This PR fixes the problem.

Fix #8101, close #13513
2023-04-13 05:10:03 +02:00
Don Ho 6d917af8ba Fix installer fails to update NppShell.dll
Fix #13496
2023-04-12 00:00:02 +02:00
Alan Kilborn cca3eccea1 Fix RTL not working on FindInFiles progress window
Fix #13458, close #13490
2023-04-11 23:47:27 +02:00
ozone10 83b0b1e4ce Move uchardet file definitions from main project file to separate targets file
fix #13493, close #13494
2023-04-11 15:54:38 +02:00
ozone10 0cad36d636 Add hide/show ability of Control Characters (C0 & C1) and Unicode EOL
Fix #8111, close #13324
2023-04-11 15:35:35 +02:00
doug1234 81802e7d77 Fix search results output alignment for large file searches
Fix #13481, close #13482
2023-04-10 15:18:43 +02:00
Don Ho 14b215db76 Update slovenian.xml 2023-04-09 19:03:48 +02:00
Don Ho 81db72afb3 Fix Column Editor OK button not disabled if Text-to-Insert is empty
Fix #13315
2023-04-06 23:43:08 +02:00
Don Ho 6326340ccb Remove unecessary file 2023-04-06 14:36:00 +02:00
Don Ho 28b45ccee4 Notepad++ v8.5.2 release 2023-04-06 14:12:52 +02:00
Don Ho 9ee9046be4 Add the definition of "DEBUGGING" 2023-04-04 17:11:00 +02:00
Hugo Carvalho 9d06762a71 [xml] Update portuguese.xml
Fix #13472
2023-04-04 15:32:44 +02:00
Karlo-F 9d94b29b7d [xml] Update croatian.xml to v8.5.2
Close #13471
2023-04-04 15:31:09 +02:00
xomx a333e0bc13 [xml] Update czech.xml to v8.5.2
Close #13470
2023-04-04 15:29:25 +02:00
ArkadiuszMichalski 44a1a7d710 [xml] Update polish.xml to 8.5.2
Close #13469
2023-04-04 15:27:44 +02:00
~GOLEM~ b292e7e278 [xml] Update russian.xml v8.5.2
Close #13466
2023-04-04 15:25:06 +02:00
Sapziller 27600a7a66 Update korean translate (8.5.1)
Close #13400
2023-04-04 15:21:47 +02:00
ozone10 810ceacb49 Add dark mode to new column editor feature
Fix #13467, close #13468
2023-04-04 01:15:26 +02:00
Don Ho 0dff45568b Make uninstaller clean up better 2023-04-03 23:40:31 +02:00
Blackspirits dbe1ab2ee3 Update Portuguese translation for Notepad++ 8.5.1
Close #13432
2023-04-02 16:44:11 +02:00
Hedman 193a19ccb2 Add PowerShell block comment style in HotFudgeSundae.xml
Fix #13271, close #13273
2023-04-02 16:38:30 +02:00
schnurlos c2f18fb785 [xml] Update german.xml
Close #13409
2023-04-02 16:05:06 +02:00
Marcellomco 5518ec069a [xml] Update brazilian_portuguese.xml
Fix #13397, close #13398
2023-04-02 16:03:56 +02:00
kubalav 70d24706a5 [xml] Update Slovak translation
Close #13412
2023-04-02 16:01:06 +02:00
Alan Kilborn c7e9440179 Turn off "Match Case" and "Whole Word" options by default in Find In Finder
Fix #13415, close #13427
2023-04-02 15:51:12 +02:00
rddim ecf6eba681 [xml] Update Bulgarian localization
Close #13449
2023-04-02 15:35:27 +02:00
yasmise ef7b9360a4 [xml] Update japanese.xml
Add translations for these commits:
* Add ability to do leading spaces with ColumnEditor (7f54a4b)
* Add more items and HTML Hexadecilmal column to ASCII panel (9b67c93)
* Add hits in-progress increased number to Search Progress dialog (508b3fa)

Close #13451
2023-04-02 15:33:09 +02:00
Patriccollu c96bcbd8b7 [xml] Update Corsican translation for Notepad++ 8.5.2
Close #13455
2023-04-02 15:31:25 +02:00
Christophe Mateos a30daeb7f9 [xml] Update french.xml
Close #13463
2023-04-02 15:28:39 +02:00
Artem Polivanchuk 444c5e5a49 [xml] Update ukrainian.xml
Close #13462
2023-04-02 15:20:54 +02:00
Robert Di Pardo 38d23d36e9 [xml] Provide a default Dark Mode theme for MS Transact-SQL
Ref. https://community.notepad-plus-plus.org/post/85179

Close #13461
2023-04-02 14:33:46 +02:00
Juan 18b8c1248d [xml] Update galician.xml to v. 8.5.1
Close #13380
2023-04-02 04:55:35 +02:00
Juan f8ce71a5c9 [xml] Update spanish.xml to v. 8.5.1
Close #13376
2023-04-02 04:53:23 +02:00
Matteo Concato baef651e9c [xml] update Italian.xml v8.5.1
Close #13374
2023-04-02 04:52:05 +02:00
Karlo-F 959bb5db63 [xml] Update croatian.xml to v8.5.1
Close #13371
2023-04-02 04:49:22 +02:00
Emir SARI bedc92d022 [XML] Update Turkish translations
Small improvements, that make it more in-line with the generally
accepted Turkish software l10n.

Close #13311
2023-04-02 04:47:04 +02:00
Karlo-F 778e1f568e Add show non-printable characters style in Deep Black theme
Close #13258
2023-04-02 03:29:32 +02:00
ozone10 37a18bf3b8 Fix dock panels visual glitch
The visual glitch is caused by 'Find in Search Results'.

Fix #13402, fix #13459
2023-04-02 02:35:55 +02:00
Don Ho e28db05754 Fix "Edit with Notepad++" context menu needs restarting OS issue
Fix context menu disappears issue while update.

It works with https://github.com/notepad-plus-plus/nppShell/pull/14 to fix
https://github.com/notepad-plus-plus/nppShell/issues/13

It fixes also the added dependency of the service "Application Information".

Fix #13446, fix #13457
2023-04-01 23:59:38 +02:00
Alan Kilborn 508b3fabd6 Add hits in-progress increased number to Search Progress dialog
Fix #13364, close #13404
2023-03-31 00:12:24 +02:00
ozone10 7b4e700d49 Use the right size of icon in system tray
Fix #8971, close #13419
2023-03-30 15:29:22 +02:00
Bjarke Istrup Pedersen 2bcc32cb99 Cleanup old NppShell & adapt the new one in installer
Close #13411
2023-03-30 15:10:32 +02:00
Alan Kilborn b54b9c49ce Remember "Bookmark Line" and "Purge" options in Mark dlg through the session
Fix #13277, close #13443
2023-03-30 02:36:59 +02:00
Alan Kilborn a67a5f7170 Fix unexpected column jump post brace match
Fix #13433, close #13441
2023-03-30 02:31:10 +02:00
ozone10 24d3a69f0f Dark mode enhancement: make combobox focus more visible
Use focus rectangle for list combobox with focus.

Fix #13420, close #13421
2023-03-30 02:21:05 +02:00
doug1234 5e23a86179 Fix Mark dialog's Copy Marked Text button is not macroable issue
Fix #13405, close #13407
2023-03-30 02:13:48 +02:00
ozone10 7e4b281b8a GUI enhancement: use split button for find dlg swap/copy button
- Reorder controls for consistent tab switching.
- Fix visual glitch for checkbox button focus rectangles.

Fix #13368, fix #13021close #13372
2023-03-30 01:00:11 +02:00
Don Ho d37c7c396a Fix value in config.xml does not match user's preference in Column Editor
Fix #13370
2023-03-28 18:09:02 +02:00
Don Ho 57667d136f Update Slovenian translation 2023-03-28 12:51:13 +02:00
Don Ho 641b6e71c2 Fix XML syntax error 2023-03-27 14:15:02 +02:00
Don Ho a049009ba9 Add a philosophy quote 2023-03-27 03:21:41 +02:00
afalkenhahn d21f7cbf5c Added Hollywood support
Close #13417
2023-03-26 23:39:47 +02:00
ozone10 9b67c93ef9 Add more items and HTML Hexadecilmal column to ASCII panel
Fix #13347, close #13348
2023-03-25 02:42:00 +01:00