Commit Graph

4266 Commits (1b22df5391ad7c42abd941a75b519d11228388a9)

Author SHA1 Message Date
~GOLEM~ e5708bf3ea Hotfix russian.xml v8.4.7
Fix wrong IDs.

Close #12452
2022-11-08 04:14:34 +01:00
Thomas De Rocker e53aefcf87 Update dutch.xml
Close #12455
2022-11-08 04:12:13 +01:00
Karlo-F a12168c3bb Update croatian.xml to 8.4.7
Close #12456
2022-11-08 04:09:37 +01:00
Biswapriyo Nath f3f615d522 Set PKGBUILD and APKBUILD syntax highlighting as shell script
Both PKGBUILD and APKBUILD files are actually shell script. See
* https://wiki.archlinux.org/title/PKGBUILD
* https://wiki.alpinelinux.org/wiki/APKBUILD_Reference

Close #12445
2022-11-01 22:43:56 +01:00
Harvey R 6f67656f8c Make solarized.xml up-to-date with stylers.xml
Fix #12425, close #12444
2022-11-01 22:23:29 +01:00
Don Ho 713117c68d Rename a function 2022-11-01 15:18:24 +01:00
SinghRajenM 5b9cd0b2e5 Fix plugin admin search issue
Fix #12375, close #12376
2022-11-01 14:59:59 +01:00
Tianxiao Cao 0bd8f6f7e0 Update spanish.xml
Fix #12268, close #12277
2022-11-01 14:25:09 +01:00
Artem Polivanchuk c96be1bbe4 Update belarusian.xml
Close #12379
2022-11-01 13:59:32 +01:00
Arkadiusz Michalski ae32f34fb3 Add minlength attribute for HTML
Fix #12416, close #12430
2022-10-31 11:49:29 +01:00
Don Ho 3e9413d615 Restore Scintilla header files
Restore Sci_Position.h & ScintillaStructures.h (ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12327#issuecomment-1296020276)
And add R styles.
2022-10-31 01:52:42 +01:00
Christian Grasser b502266e8d Update to scintilla 5.3.1 and lexilla 5.2.0
Close #12327
2022-10-31 00:45:13 +01:00
Edditoria 22489a1311 Update localization: Hong Kong Cantonese
As at commit 2f080d8 of this repo.

Close #12428
2022-10-30 23:31:55 +01:00
rddim 2f080d82af Update Bulgarian localization
Close #12343
2022-10-30 17:22:55 +01:00
Don Ho b4c5c14cd6 Enlarge a control for the translation 2022-10-30 17:20:52 +01:00
Marcello-mco 9df5859d06 Update in Brazilian Portuguese translation
Close #12335
2022-10-30 15:37:58 +01:00
xomx 6000f3bb21 Fix session.xml emptying by forced Windows update restart
This fixes both the long standing problem with the emptying of the session.xml file by forced Windows Update restart/shutdown and some potential Notepad++ crashes caused by possible main Notepad++ window blocking at exit.

Two main changes to the original design:
- WM_QUERYENDSESSION is not used anymore for the tidy-up ops and it always quickly returns TRUE/FALSE to the system as it should.
- there is now a safe-guard flag for the session.xml saving at N++ exit, which prevents otherwise possible incorrect overwriting in case of multiple "endsession" messages.

Fix #9850, fix #12389, close #12388
2022-10-30 14:06:33 +01:00
Matteo Concato ed3189e00b Update Italian.xml
Fix #12265, close #12267
2022-10-30 13:25:52 +01:00
Hugo Carvalho 2fd55ff11d Update portuguese.xml
Fix https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12269

Close #12274
2022-10-30 13:15:09 +01:00
kubalav 4cb312da58 Update Slovak translation
Close #12341
2022-10-30 13:10:56 +01:00
Patriccollu 8c7142ddb8 Update Corsican translation for Notepad++ 8.4.7
Close #12346
2022-10-30 12:59:35 +01:00
A. Regnander b9bb1706b2 Update swedish.xml
Close #12345
2022-10-30 12:55:09 +01:00
yasmise 20771fe55a update japanese.xml to v8.4.7
Add translations for these commits:
* Make large file limit (for styling) configurable (8ff003412a)
* Add tooltips in performance section to make features more explicit (c02c23b7d4)
* Enhance Large File Restriction UI (6755daf223)
* Add "Allow clickable link" option in large file restriction (cd6a6ac3bb)

Close #12361
2022-10-30 12:53:01 +01:00
~GOLEM~ 39e0aa37b5 Update russian.xml v8.4.7
Close #12362
2022-10-30 12:50:24 +01:00
IoeCmcomc 32bb1457ca Update Vietnamese translation
Close #12365
2022-10-30 12:43:31 +01:00
Sapziller 0ce2c20835 Update korean localization file
Update korean 8.4.5 -> 8.4.6

Close #12409
2022-10-30 12:34:15 +01:00
ArkadiuszMichalski b8a05edcfa Update polish.xml to 8.4.7
Update polish.xml to 8.4.7 according to the last commit.

Close #12413
2022-10-30 12:31:43 +01:00
xomx a54cc861bf Update czech.xml to v8.4.7
Close #12420
2022-10-30 12:29:15 +01:00
Don Ho 5867025842 Fix 32 bits build error 2022-10-30 11:47:45 +01:00
Don Ho 513ee3e3fe Use Scitilla default 64 bits symbol 2022-10-30 01:09:52 +02:00
ArkadiuszMichalski c3ffe35492 Enhance "Allow clickable link" option for Large File Restriction
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12369#issuecomment-1287821244.
2022-10-28 12:37:32 +02:00
Don Ho b4f569b8ba Add back an misdeleted entry 2022-10-27 13:18:02 +02:00
Don Ho 50a50cce3c Remember Column Editor settings through the sessions
Close #12386
2022-10-25 00:20:54 +02:00
Don Ho cd6a6ac3bb Add "Allow clickable link" option in large file restriction
And enhance large file restriction UI

Close #12369
2022-10-22 14:31:19 +02:00
Don Ho 7e080a46bb Fix brace match not working in Large File Restriction
Fix also the highlight remaining issue while Large File Restriction disabled.
2022-10-20 16:19:49 +02:00
Don Ho 6755daf223 Enhance Large File Restriction UI
1. Rename some labels to be more explicit.
2. Add a tooltip for "Deactivate Word Wrap globally".
3. Unchecking "Enable Large File Restriction" removes the sub-restrictions.
2022-10-20 05:07:17 +02:00
SinghRajenM 546745fe34 Increase hash font height 2022-10-18 04:22:11 +02:00
Don Ho c02c23b7d4 Add tooltips in performance section to make features more explicit
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12310#issuecomment-1279826809
2022-10-17 17:09:02 +02:00
xomx 1be0044663 Installer enhancement: prevent arm64 installer from installing on non ARM64 system
Fix #12320, close #12331
2022-10-16 01:38:30 +02:00
xomx a6a1442bab Installer enhancement: remember "Don't use_%APPDATA%" option
Added detection of the "doLocalConf.xml" trigger-file from the previous installation.

Fix #12202, close #12326
2022-10-15 23:38:50 +02:00
Don Ho 8ff003412a Make large file limit (for styling) configurable
Background: because styling large file can cause the performance issue, 200 MB (and bigger) file is not applied to its language (if any) while loading.
This PR makes large file restriction for styling and for other features (smart highlighting, brace match, etc...) configurable via the section Performance of Preferences dialog.

Fix #11389, fix #12260, fix #11670, close #12310
2022-10-15 18:18:06 +02:00
Anklebitter 49e5a17377 Enhance "Go To" dialog: update line/position data dynamically
Fix #12284, close #12302
2022-10-09 17:35:37 +02:00
Don Ho a26599794c Refactoring & optimizing open/save large files time 2022-10-09 01:08:22 +02:00
Christian Grasser f57c69aac6 Fix output from makefile and correct cmake for c++20
Close #12297
2022-10-07 02:58:44 +02:00
Don Ho e73fca5a85 Use c++20 function ends_with()
Close #12294
2022-10-06 20:49:23 +02:00
ozone10 bcaf0f00b5 Update CI env to have GCC 12 for using c++20
1. Update Makefile to use c++20.
2. Update appveyor.yml to use MSYS2 (GCC 12).

Close #12292
2022-10-06 17:34:19 +02:00
Don Ho 3cbbb42933 Revert "Fix CI system error due to the project build env update"
This reverts commit c64049a1e6.
2022-10-06 14:15:16 +02:00
Don Ho c64049a1e6 Fix CI system error due to the project build env update
And use C++20 for string::ends_with() function.
2022-10-05 17:28:21 +02:00
SinghRajenM 4b539b4d5d Build project using C++20
Fix #12232, close #12233
2022-10-05 15:44:56 +02:00
Don Ho 4c96f86979 Update build environment
Update MS Visual Studio to 2022 and its platform toolkits to v143.
2022-10-05 13:52:55 +02:00
Harvey R 06a082d35f Add Python missing option in theme files
Fix #12066, close #12070
2022-10-05 04:19:21 +02:00
Robert Di Pardo a610387fb4 Fix language detected from content not applied if default language is set
Properly handle missing file extensions in `Buffer::setFileName`

Before 6263ce5, the user-preferred default language would apply to
files with no extension, but got overwritten by `L_TEXT` when the
extension was present *but unknown*.

This is why the `buf->_lang == L_TEXT` condition failed *only for
buffers with _no_ extension*.

Fix #11504, close #12286
2022-10-05 00:56:15 +02:00
Don Ho af0bc2e113 Revert "Fix detected language not being applied issue"
This reverts commit 6263ce5dec for fixing the regression.

Fix #12226, fix #12253
2022-10-05 00:06:57 +02:00
xomx 23fc940a27 Enhance N++ EndSession logging
To be able to distinguish:
- different types of Windows system restart/shutdown
- WM_CLOSE messages after previous WM_QUERYENDSESSION

Close #12257
2022-10-04 17:36:49 +02:00
Christian Grasser 20b14b8e4b Updated nlohmann json to 3.11.2
Updated nlohmann json to 3.11.2 from https://github.com/nlohmann/json/releases/download/v3.11.2/json.hpp

Close #12271
2022-10-04 03:46:57 +02:00
Don Ho 4d50692809 Add new API for getting bookmark ID
ref: https://community.notepad-plus-plus.org/topic/23541/notepad-v8-4-6-release/22?_=1664842498334
2022-10-04 03:31:09 +02:00
Don Ho 83ee8f09bf Clean up NPPM_ALLOCATEMARKER API 2022-10-03 01:32:11 +02:00
Don Ho 11884bd97f Fix long filters get truncated in Find in Files feature
Increse filter size from 256 to 512 bytes.

Fix #12041
2022-09-30 16:14:15 +02:00
Chukwudumebi Smarty dfa6c19d87 Make ESC Key abort "Move to Recycle Bin" confirmation prompt
Fix #12117, close #12239
2022-09-29 16:49:53 +02:00
Adrian 4b3ee9c4ea Fix line hiding issues
Fix #12184, fix #8149, close #12250
2022-09-29 15:32:58 +02:00
Don Ho 6750d4dbbc Notepad++ release 8.4.6 2022-09-29 02:57:44 +02:00
SinghRajenM 2d4af44f54 Fix plugin admin UI overlapping
Fix #12229, close #12230
2022-09-25 19:11:13 +02:00
Don Ho 155d75414b Update localization files 2022-09-25 16:27:42 +02:00
Matteo Concato 6d5efab7de Update italian.xml
Close #12215
2022-09-25 04:45:32 +02:00
Edditoria bfc7c302c4 Update localization: Hong Kong Cantonese
As at commit 466053d of this repo.

Close #12217
2022-09-25 04:43:44 +02:00
~GOLEM~ 7df3d73621 Update russian.xml hotfix for v8.4.6
Close #12218
2022-09-25 04:41:30 +02:00
Christian Grasser 0ce3bc08df Fix rebol syntax quote issue
see http://www.rebol.com/r3/docs/guide/code-syntax.html#section-3
setREBOLLexer seems to use wrong, non ASCII single quote, see also https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/lexilla/lexers/LexRebol.cxx#L38
found by clang tidy warning

Close #12221
2022-09-24 19:40:52 +02:00
Don Ho 18971709f5 Change colours for applying to tab more distiguishable
And simplify the code.

Ref: https://community.notepad-plus-plus.org/topic/23513/notepad-v8-4-6-release-candidate-2/3?_=1663982940040

Fix partially #12223
2022-09-24 19:35:08 +02:00
Karlo-F 466053dc99 Update crotian.xml to 8.4.6
Close #12210
2022-09-22 19:49:55 +02:00
xomx 0c121a1725 Update czech.xml to v8.4.6
Ciose #12212
2022-09-22 19:46:05 +02:00
Don Ho 848b412cf7 Fix Change History margin visual glichy under dark mode
Ref: https://community.notepad-plus-plus.org/topic/23510/notepad-v8-4-6-release-candidate/2?_=1663857801779
2022-09-22 19:28:08 +02:00
rddim 5a24dc77f9 Update Bulgarian localization
Close #12118
2022-09-22 01:15:25 +02:00
Matteo Concato 0dd9756740 Update italian.xml to 8.4.6
Close #12197
2022-09-22 01:07:42 +02:00
kubalav 1d07d4717c Update Slovak translation
Close #12123
2022-09-21 20:23:46 +02:00
ArkadiuszMichalski 36bfe59d2a Update polish.xml to 8.4.6
Update polish.xml to 8.4.6 according to the last commit.

Close #12206
2022-09-21 20:21:11 +02:00
Christophe Mateos b48af08e8c Update french.xml
Close #12176
2022-09-21 18:19:19 +02:00
Tmp341 a064015c01 Update Turkish localization
* According to 2258274, 059bca3, 67ab4d5, 7d5516e, 8519003, and 9809e2f commits.

Close #12115
2022-09-21 17:45:17 +02:00
~GOLEM~ d5a89ed922 Update russian.xml v8.4.6
Close #12173
2022-09-21 17:43:02 +02:00
schnurlos 514c9a4629 Update german.xml
Close #12168
2022-09-21 17:40:53 +02:00
Hugo Carvalho 26f80a7d31 Update portuguese translation
Close #12167
2022-09-21 17:38:34 +02:00
yasmise aebab9330e Update japanese.xml to v8.4.6
Close #12162

Add/Update translations for these commits:
* Unify the terms "Fold/unfold" on menu (15e5da6f7d)
* Add setting colour ability for individual tab (42d863dd9f)
* Change to menu name to the "normalized" terms on Internet (aad36afc6b)
* Revamp tab context menu (6322562cf8)
* Complete localization files with missing entries (4cb63ff011)
* Add Change History markers for saved/unsaved/undone modification (fc32fbdcce)
2022-09-21 17:35:47 +02:00
Patriccollu b54481350e Update Corsican translation for Notepad++ 8.4.6
Close #12136
2022-09-21 17:33:40 +02:00
Marcello-mco e0afc7a281 Update brazilian_portuguese.xml
Close #12119
2022-09-21 17:30:25 +02:00
popcorner c3c410506b Update chineseSimplified.xml
Close #12096
2022-09-21 17:26:23 +02:00
ozone10 b29a9ce142 Code enhancement - removing gcc warning
Fix conversion-null, nonnull-compare, dangling-else, address warnings, add initializers.

Fix #12198, close #12199
2022-09-20 16:19:58 +02:00
ozone10 d3b630841e Fix horizontal bar showing issue while resizing document list's height
Take into account vertical scrollbar when resizing document list.

Fix #12191, close #12192
2022-09-20 03:39:03 +02:00
Don Ho 6a801cc0a4 Make Change History margin colour configurable
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12165#issuecomment-1250899679
2022-09-19 19:24:57 +02:00
Christian Grasser ead6fb6b8f Fix gcc linux build and cmake build issues under ubuntu
1. Fix gcc build issues under ubuntu linux due to upper/lower case filename issues.
2. corrected cmake build issues.

Close  #12188
2022-09-19 01:42:49 +02:00
ozone10 1ac1b1150d Code enhancement
Fix some conversion-null, nonnull-compare, unknown-pragmas, switch warnings, add initializers.

Fix #12179, close #12180
2022-09-19 01:38:26 +02:00
Don Ho fc32fbdcce Add Change History markers for saved/unsaved/undone modification
Implement Change History by using the new abilities of Scintilla v5.3.0.

Fix  #12164, close #12165
2022-09-18 23:57:36 +02:00
ozone10 3295cc8d2c Code improvement
Fix warnings ,some conversion-null, format, unused-but-set-variable, class-memaccess.
Add initializer.

Fix #12171, close #12172
2022-09-15 02:07:38 +02:00
Don Ho 4cb63ff011 Complete localization files with missing entries
Fix #12163
2022-09-15 00:07:17 +02:00
ozone10 43c8d8115f Code improvement, remove unnecessary part
Fix some conversion-null, unused-* warnings, add initializer.

Fix #12151, close #12152
2022-09-13 15:42:55 +02:00
blu3mania 84b8c64944 Fix NPPN_DARKMODECHANGED wrong return value to plugins
Send NPPN_DARKMODECHANGED notification with hwndNpp as hwndFrom, so the documented API info on https://npp-user-manual.org/docs/plugin-communication/#nppn-darkmodechanged is correct. Previously it sends 0 which is of no use to plugin authors.

Fix #12144, close #12160
2022-09-13 02:10:07 +02:00
blu3mania d03b11ebf8 Add dark mode support to ColourPicker/ColourPopup's ChooseColor dialog
Fix #12148, close #12158
2022-09-13 01:15:20 +02:00
Christian Grasser 1646ea6139 Update to scintilla 5.3.0 and lexilla 5.1.9
Close #12045
2022-09-12 19:02:55 +02:00
Don Ho 9455684b42 Renumber Notepad++ marks for preparing Scintilla 5.3.0's integration
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12045#issuecomment-1229195785
2022-09-12 18:46:25 +02:00
Don Ho 6322562cf8 Revamp tab context menu
Add sub-menu in tab context menu so it will be less cluttered.

Fix #12147, close #12150
2022-09-12 17:01:50 +02:00
Don Ho aad36afc6b Change to menu name to the "normalized" terms on Internet
Fix #12146
2022-09-11 23:06:30 +02:00
ozone10 2da5c5b393 Code enhancement
Fix parentheses, misleading-indentation, sign-compare, some conversion-null warnings.

Fix #12139, close #12140
2022-09-11 18:22:51 +02:00