Commit Graph

4529 Commits

Author SHA1 Message Date
Bjarke Istrup Pedersen e849406806 Fix cleanup jobs problem for context menus in uninstaller
Close #13373
2023-03-19 21:00:38 +01:00
Don Ho eded6099b0 Make MS Trasact-SQL easier to be found in Style Configurator
Fix #13367
2023-03-19 19:02:57 +01:00
Don Ho 5645ca150b Integrer new Windows 11 Explorer Context Menu Entry "Edit with Notepad++" 2023-03-17 00:45:06 +01:00
Don Ho 9462238c0f Fix localization files structure error (already fixed in code) 2023-03-16 19:35:39 +01:00
Marcellomco c838741f4d [xml] Update brazilian_portuguese.xml
Close #13359
2023-03-16 19:24:15 +01:00
xomx b60231e1e6 [xml] Update czech.xml to v8.5.1
Close #13358
2023-03-16 19:07:30 +01:00
Bjarke Istrup Pedersen ce4d374a47 Add Windows 11 context menu entry "Edit with Notepad++"
This commit implements the Windows 11 context menu using the correct way of having a DLL file and a sparse package.

Fix #13320, close #13330
2023-03-16 18:47:04 +01:00
~GOLEM~ 7561864299 [xml] Update russian.xml to v8.5.1
Close #13356
2023-03-16 17:59:43 +01:00
schnurlos 626cc53209 [xml] Update german.xml
Close #13352
2023-03-16 17:56:54 +01:00
Patriccollu 8cd1559d4a [xml] Update Corsican translation for Notepad++ 8.5.1
Close #13340
2023-03-16 17:44:24 +01:00
yasmise 2fcdb6e6c5 [xml] Update japanese.xml
Update Japanese translation for these commits:
* Replace recent file ValueDlg with edit fields & fix DocSwitcher RTL problem (269e78b)
* Make tray icon context menu translatable (52d3c36)
* Add ability to copy "Find what" to "Replace with" and vice versa (12f649b)

Close #13339
2023-03-16 17:33:49 +01:00
Matteo Concato a5fdb42ede [xml] Update Italian.xml
Close #13326
2023-03-16 17:28:59 +01:00
Asx 669bbb2284 Update chineseSimplified.xml
Close #13310
2023-03-16 17:21:01 +01:00
kubalav ccbc757a4b [xml] Update Slovak translation
Close #13300
2023-03-16 17:12:05 +01:00
rddim d060b0f01a [xml] Update Bulgarian localization
Close #13299
2023-03-16 17:09:01 +01:00
Christophe Mateos f9e1a0b398 [xml] updating French translation
Close #13298
2023-03-16 17:05:18 +01:00
Don Ho e1e7196264 Add several spiritual quotes 2023-03-16 16:40:53 +01:00
zeltop 816fa3e414 Add GDScript language
Adds GDScript language support, autocomplete file, functionlist, default and dark themes.

Fix #13329, close #13335
2023-03-14 23:45:57 +01:00
Robert Di Pardo 01bbebf825 Add MS Transact-SQL
Add built-in support for Microsoft's SQL dialect, Transact-SQL, used by Microsoft SQL Server. This enables Lexilla's dedicated MS SQL lexer.
To preserve the current file extension mapping, the new lexer is mapped to the *.tsql file extension only.
Users can select "Microsoft Transact-SQL" from the Language menu to apply MS SQL Server style to scripts with the *.sql extension.

Keywords and styles copied from https://www.scintilla.org/mssql.properties

Fix #5940, fix #7988, fix #11718, fix #12610, fix #13160, close #13184
2023-03-14 01:03:37 +01:00
Christian Grasser feb454ad6f Update scintilla 5.3.4 and lexilla 5.2.4 with:
https://www.scintilla.org/scintilla534.zip

    Released 8 March 2023.
    Add multithreaded wrap to significantly improve performance of wrapping large files.
    More typesafe bindings of *Full APIs in ScintillaCall. Feature #1477.
    Fix overlapping of text with line end wrap marker. Bug #2378.
    Fix clipping of line end wrap symbol for SC_WRAPVISUALFLAGLOC_END_BY_TEXT.
    Where a multi-byte character contains multiple styles, display each byte as a representation. This makes it easier to see and fix lexers that change styles mid-character, commonly because they use fixed size buffers.
    Fix a potential crash with autocompletion list fill-ups where a SCN_CHARADDED handler retriggered an autocompletion list, but with no items that match the typed character.

lexilla523

    Released 8 March 2023.
    Add scripts/PromoteNew.bat script to promote .new files after checking.
    Makefile: Remove 1024-byte line length limit..
    Ruby: Add new lexical classes for % literals SCE_RB_STRING_W (%w non-interpolable string array), SCE_RB_STRING_I (%i non-interpolable symbol array), SCE_RB_STRING_QI (%I interpolable symbol array), and SCE_RB_STRING_QS (%s symbol). Issue #124.
    Ruby: Disambiguate %= which may be a quote or modulo assignment. Issue #124, Bug #1255, Bug #2182.
    Ruby: Fix additional fold level for single character in SCE_RB_STRING_QW. Issue #132.
    Ruby: Set SCE_RB_HERE_QQ for unquoted and double-quoted heredocs and SCE_RB_HERE_QX for backticks-quoted heredocs. Issue #134.
    Ruby: Recognise #{} inside SCE_RB_HERE_QQ and SCE_RB_HERE_QX. Issue #134.
    Ruby: Improve regex and heredoc recognition. Issue #136.
    Ruby: Highlight #@, #@@ and #$ style interpolation. Issue #140.
    Ruby: Fix folding for multiple heredocs started on one line. Fix folding when there is a space after heredoc opening delimiter. Issue #135.
    YAML: Remove 1024-byte line length limit.

https://www.scintilla.org/lexilla524.zip

    Released 13 March 2023.
    C++: Fix failure to recognize keywords containing upper case. Issue #149.
    GDScript: Support % and $ node paths. Issue #145, Pull request #146.

Close #13338
2023-03-13 21:06:09 +01:00
Don Ho 12f649bf54 Add ability to copy "Find what" to "Replace with" and vice versa
This feature use the same swap button for new added actions:
Use mouse right click on swap button to have popup menu for toggling among "Swap Replace with Find", "Copy from Find to Replace" and "Copy from Replace to Find".

Related to #12195

Fix #12122, close #13332
2023-03-12 14:11:05 +01:00
Alan Kilborn 5251d8477a Code enhancement: remove unnecessary hidden lines separator marker
Let Scintilla manage hidden lines separator and free marker 17 for plugins use.

Fix #12109, close #13223
2023-03-11 02:03:04 +01:00
Don Ho 399a8f3020 Fix tipos
Close #13323
2023-03-09 18:56:07 +01:00
Don Ho bf8b9e613e Fix x86 build error 2023-03-08 19:34:41 +01:00
Don Ho 36da61dc35 Code enhancement: remove some MSVS analysis warning (Part 5) 2023-03-08 18:35:02 +01:00
Don Ho ab5d29b6fe Code enhancement: remove some MSVS analysis warning (Part 4) 2023-03-08 00:28:42 +01:00
Don Ho f85435d962 Code enhancement: remove some MSVS analysis warning (Part 2) 2023-03-07 05:03:16 +01:00
Don Ho 0b6a8e2011 Fix an eventual crash and UDL empty button issue after changing language
The bug was inserted by the following commit:
4d217387f1

Fix #13228
2023-03-07 03:52:10 +01:00
Don Ho 25be5dd3b6 Code enhancement: remove some MSVS analysis warning (Part 2) 2023-03-06 19:33:36 +01:00
Don Ho c8e4e671da Code enhancement: remove some MSVS analisis warning 2023-03-06 17:55:53 +01:00
ozone10 34545beddd Code enhancement: enable code analysis with custom rule set
Ref https://github.com/notepad-plus-plus/notepad-plus-plus/pull/13143#issuecomment-1434689064

Close #13168
2023-03-06 16:17:30 +01:00
ArkadiuszMichalski 52d3c36e35 Make tray icon context menu translatable
Fix #11628, close #13241
2023-03-06 15:49:55 +01:00
ozone10 b8291d4911 GUI visual enhancement: optimize dlg items redraw
Fix #13230, close #13231
2023-03-06 15:39:38 +01:00
ozone10 269e78bc1e Replace recent file ValueDlg with edit fields & fix DocSwitcher RTL problem
Remove ValueDlg class.

Fix #13244, fix #13248, close #13245
2023-03-06 14:44:50 +01:00
Don Ho 21a78ed035 Notepad++ release 8.5 2023-03-06 03:19:41 +01:00
Don Ho f923940dcc Add more translation of 'Edit with Notepad++'
Close #13265
2023-03-05 22:48:39 +01:00
ArkadiuszMichalski 20f381e506 Add langCode for English and convert passed value to one format
Fix #8927, close #13272
2023-03-05 22:18:40 +01:00
ArkadiuszMichalski dc0c8d6510 Fix visual glitch for UDL window when changing localization
Fix #10876, close #13242
2023-03-05 22:12:58 +01:00
Alan Kilborn fa9504d595 Don't populate in Find what if a stream selection more than 1024 characters
Avoid auto-population into "Find What" if "In Selection" is going to be auto-checkmarked.

Fix #12603, close #12603
2023-03-05 20:24:43 +01:00
ArkadiuszMichalski 9c0e1e4559 Fix "Recent Files" menu lost translation
Fix #9343, close #13208
2023-03-05 20:14:41 +01:00
ArkadiuszMichalski 892ab0850f Fix untitled document number jumping or repeated problem
Fix #13194, fix #8677, fix #11704, close #13204
2023-03-05 20:06:47 +01:00
Karlo-F 7789c7daf5 [xml] Update croatian.xml to 8.5
Close #13257
2023-03-05 19:54:19 +01:00
Daniel Fuchs d4f8aea5d2 Update german.xml to v8.5
Close #13262

* update translation to current workprint of english.xml
* change version scheme to a yyyy.mm.dd format for better versioning
* removed redundant comments
2023-03-05 19:53:03 +01:00
Matteo Concato e9e5f57f81 [xml] Update italian.xml
Close #13268
2023-03-05 19:17:07 +01:00
ArkadiuszMichalski 35dcffc33e [xml] Update polish.xml to 8.5
Close #13275
2023-03-05 18:47:23 +01:00
Sahid Ali Zakaria 9362e782d8 Update indonesian.xml to v8.5
Close #13282
2023-03-05 18:45:53 +01:00
ArkadiuszMichalski 568075beb5 Fix wrong value set in Preferences->Performance->"Define Large File Size"
Use correct type for file size variables.

Fix #13280, close #13290
2023-03-05 18:01:54 +01:00
Edditoria 081e8ad11b [xml] Update localization: Hong Kong Cantonese...
Close #13247
2023-02-26 23:14:56 +01:00
schnurlos 8a69ab841f [xml] Update german.xml
Close #13051
2023-02-26 21:07:40 +01:00
Thomas De Rocker d660070ac1 Update dutch.xml
Close #13148
2023-02-26 21:06:13 +01:00
Juan 4648a25138 [xml] Update spanish.xml
Close #13239
2023-02-26 21:03:59 +01:00
Juan e4b18fbcc7 [xml] Update galician.xml
Close #13240
2023-02-26 20:59:42 +01:00
Don Ho cd64850ed8 Update SUPPORTED_SYSTEM.md for Vista & Server 2008
Fix #13074
2023-02-26 20:47:23 +01:00
Hugo Carvalho 055deeb4b5 [xml] Update portuguese.xml
close #13090
2023-02-26 01:39:16 +01:00
Don Ho 7c848e89e4 Merge branch 'fix_13228' of https://github.com/ArkadiuszMichalski/notepad-plus-plus into ArkadiuszMichalski-fix_13228 2023-02-25 18:39:04 +01:00
Christophe Mateos 7cc7bcf60a [xml] Update French translation file
Close #13225
2023-02-25 18:17:04 +01:00
yasmise 642a3493fb [xml] update japanese.xml
Add translations for these commits:
* Add Begin/End Select in Column Mode command (0792452)
* Add show non-printable characters command (aaab190)
* Make Non-Print Characters show by default (dc99ce1)
* Translate 'Compact Language Menu' popup dialog (43d9f0d)
* Add option to make auto-completion list brief (9eab1f5)
* Make two items in progress dialog translatable (3f13957)
* Make categories in the Shortcut Mapper dialog translatable (f7fcab4)
* Make theme warning message translatable (switching unsaved theme to another) (0c704fd)
* Apply tab colors to document list items and add groups to document list. (37963ea)
* Make Context menu in Shortcut Mapper (Modify, Delete, Clear) translatable (f403b12)
* Fix translation issue for Dock/Undock label in User-Defined dialog (9627494)
* GUI enhancement: replace auto-complete link mini dlg with slider (caff51c)
* Rename commanfd "Remove Unmarked Lines" to "Remove Non-Bookmarked Lines" (3f3aed4)
* Make "Cannot open file" message translatable (a689635)
* GUI enhancement: use edit field instead of tab size link + mini dlg (8b3f072)
* Set english.xml version right (99e7c5a)

Close #13093
2023-02-25 17:38:00 +01:00
Don Ho d4d4163cb3 Fix an eventual memory leak 2023-02-25 16:40:38 +01:00
ArkadiuszMichalski 4d217387f1 Fix Dock/Undock label when we change localization 2023-02-25 02:58:37 +01:00
Don Ho b1e1361189 Updat the translation of 'Edit with Notepad++' 2023-02-25 02:36:48 +01:00
Juan 2939039dbe [xml] Update galician.xml to v8.5.0
Close #13161

Estuve más de cuatro horas para adaptarlo al english.xml actual y son necesarios más cambios.
Espero que lo acepten para terminar de igualarlo en futuras traducciones.
2023-02-25 01:27:25 +01:00
Patriccollu 07804a8288 [xml] Update Corsican translation for Notepad++ 8.5.0
Close #13059
2023-02-25 01:19:34 +01:00
kubalav 3abd500d70 [xml] Update Slovak translation
Close #13050
2023-02-25 01:17:03 +01:00
Marcellomco dc611488e2 [xml] Update brazilian_portuguese.xml
Close #13049
2023-02-25 01:14:41 +01:00
A. Regnander 74101aa689 Update swedish.xml
Close #13025
2023-02-25 00:41:28 +01:00
Juan 2525c2d102 [xml] Update spanish.xml to v8.5.0
Close #13144
2023-02-25 00:27:27 +01:00
rddim 167e7fdd4f [xml] Update Bulgarian localization
Close #13169
2023-02-25 00:17:51 +01:00
ozone10 2bf50bc191 Add edit ctrl highlight on focus for incremental search & function panel
- Enable edit control highlight for incremental search and function panel
- add initializers

Fix #13187, close #13187
2023-02-24 23:49:42 +01:00
~GOLEM~ 8444f85c1c [xml] Update russian.xml for v8.5.0
Close #13102
2023-02-24 20:26:28 +01:00
Matteo Concato 130ccd81fc [XML] update italian.xml v.8.5.0
Close #13165
2023-02-24 18:08:46 +01:00
xomx 5a886fd60b [xml] Update czech.xml to v8.5
Close #13218
2023-02-24 17:57:56 +01:00
ArkadiuszMichalski bb260a15d7 [xml] Update polish.xml to 8.5
Close #13215
2023-02-24 16:51:16 +01:00
xomx e819b6d392 Czech translation of context menu entry
translation for #13201

Close #13212
2023-02-24 16:48:48 +01:00
Don Ho 99e7c5a84c Set english.xml version right 2023-02-24 02:59:43 +01:00
ozone10 8b3f072a38 GUI enhancement: use edit field instead of tab size link + mini dlg
Fix #11695, fix #13176, close #13177
2023-02-24 01:58:40 +01:00
ozone10 ea008dc29d Fix regression about search progress window visual glitch
Fix #13185, close #13189
2023-02-24 01:21:03 +01:00
ArkadiuszMichalski 0649ca9c57 [xml] Add RETURNING keyword to SQL
Fix #3536, close #13195
2023-02-24 00:51:29 +01:00
ArkadiuszMichalski a689635037 Make "Cannot open file" message translatable
Fix #13175, close #13190
2023-02-24 00:49:49 +01:00
Matteo Concato 81b41be647 Translate explorer context menu "Edit with Notepad++" in Italian
Close #13206
2023-02-23 22:26:29 +01:00
rddim 96030fe833 Add Bulgarian context menu entry
Close #13205
2023-02-23 21:10:05 +01:00
Don Ho a0031159cd Add new explorer context menu entry "Edit with Notepad++" for W11
Windows 11 has its new interface for its explorer context menu. It makes the old "Edit with Notepad++" command hardly accessible. This commit improves the accessibility and also fix issue of run as an administrator (Properties set in Compatibility) in the new context menu command.
It fixes also the context menu command issue under ARM64 architecture (fixed only under Windows 11).

The localization of "Edit with Notepad++" is also possible in this commit.

Note that if the command place of "Edit with Notepad++" context menu command is taken by other application ("\HKEY_CLASSES_ROOT*\shell\pintohome"), the new context menu "Edit with Notepad++" won't be installed. User should install it him/herself.

Fix #10320, fix #10565, fix #4368, fix #8786, fix #10320, fix #10640, fix #10856, fix #10653, fix #7747, fix #6169, fix #92, close #13170
2023-02-23 15:17:46 +01:00
Alan Kilborn b077c58b5d Make volatile Find uses least-strict option settings
Fix #13145, close #13159
2023-02-23 02:59:00 +01:00
mpheath 4fd972cda3 Auto-completion enhancement: reduce duplicate items in function/word list
Fix #13061, close #13098
2023-02-23 02:07:25 +01:00
Alan Kilborn 1b65cc0104 Make Select and Find (Next or Previous) always in Normal search mode
Fix #3229, close #13155
2023-02-21 18:46:20 +01:00
ArkadiuszMichalski 3f3aed43ed Rename commanfd "Remove Unmarked Lines" to "Remove Non-Bookmarked Lines"
Fix 5502; close #13149
2023-02-21 16:05:01 +01:00
ArkadiuszMichalski a0caaf83e3 [xml] Add more pseudo-classes to CSS
Fix #10517, close #13156
2023-02-21 04:25:24 +01:00
Christian Grasser b9ab516c2c Code enhancement: fix clang warnings
- reduced visibility of tagMaxLen to AutoCompletion.cpp
- fixed missing init of BoostRegexSearch::_lastDirection, adapted also _substituted
- removed unused vars Printer::_nbPageTotal, FunctionListPanel::_hTreeViewImaLst
- fileBrowser.cpp(511,35): warning : equality comparison with extraneous parentheses [-Wparentheses-equality]
- ProjectPanel.cpp(595,35): warning : equality comparison with extraneous parentheses [-Wparentheses-equality]
- removed unused methods IsStateComment(), IsStateString() from LexObjC.cxx
- removed unused var KEYWORD_FOLDCONTRACTED from LexObjC.cxx

Close #13167
2023-02-21 02:24:33 +01:00
Alan Kilborn 5c10f58212 Fix hit text in search results being out of sight issue
Fix #13129, close #13138
2023-02-21 02:09:04 +01:00
ozone10 caff51c788 GUI enhancement: replace auto-complete link mini dlg with slider
Fix #13162, close #13163
2023-02-21 01:05:12 +01:00
Alan Kilborn 5e2f5d79aa Code enhancement: correct parameter error to call of doOpen
Fix #13150, close #13158
2023-02-20 23:21:59 +01:00
ozone10 d30b789d67 Add support for non-printing char in main Search Result dock window
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/13020#issuecomment-1430034599

Close #13128
2023-02-20 17:20:04 +01:00
ozone10 278f694f3a Code enhancement: fix GCC implicit-fallthrough warnings
Fix #13142, close #13143
2023-02-17 15:00:53 +01:00
ArkadiuszMichalski 9627494043 Fix translation issue for Dock/Undock label in User-Defined dialog
Fix 8020, close #13127
2023-02-16 14:30:47 +01:00
ozone10 4a4f96cefc Code enhancement: Fix GCC warnings
- fix conversion warnings
- fix missing-field-initializers warnings
- fix unused-parameter warnings
- fix deprecated-copy warnings
- add initializers

Fix #13122, close #13123
2023-02-15 21:06:38 +01:00
Christian Grasser e163c6d0aa Code enhancement: Secure overloads
- use  _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES, like in scintilla, see description in msdn https://msdn.microsoft.com/de-de/library/ms175759.aspx
- enable SDLCheck https://learn.microsoft.com/en-us/cpp/build/reference/sdl-enable-additional-security-checks?view=msvc-170

Close #13104
2023-02-15 15:19:37 +01:00
Don Ho 52c850de74 Fix a minor GUI glitch in Preferences lg
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/13075#issuecomment-1429515246
2023-02-14 19:00:39 +01:00
ArkadiuszMichalski f403b12264 Make Context menu in Shortcut Mapper (Modify, Delete, Clear) translatable
Fix one of issues in https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8972

Close #13120
2023-02-14 17:41:02 +01:00
ArkadiuszMichalski d2ba9cae0e Add keywords and functions of PHP
Fix #13012, fix #9897, close #13111
2023-02-14 16:59:15 +01:00
ozone10 37963ea21a Apply tab colors to document list items
and add groups to document list.

Fix #12155, fix #12689, cllose #13080
2023-02-14 14:15:13 +01:00
ArkadiuszMichalski 0c704fd66b Make theme warning message translatable (switching unsaved theme to another)
Fix report from comment: #8972 (comment).

Close #13112
2023-02-14 04:37:01 +01:00