xomx
3de15f5512
Enhance performance on exit with certain settings
...
Notepad++ is unnecessarily stalled in the situation, when closing a N++ with a large file opened within, but the session.xml file will not be updated at all due to the current Notepad++ settings chosen.
Fix #11219 , close #11259
2022-02-22 01:38:26 +01:00
Don Ho
58e404650b
Remove not used codes
2022-02-22 00:54:10 +01:00
Don Ho
ee765135be
Add "Windows..." localization entry
...
The "Window" menu localization was pleinty of dirty hack due to "Plugin" menu was created (or not) dynamically.
Now "Plugin" menu is present statically so we localize this entry as other entries.
2022-02-21 18:59:07 +01:00
Don Ho
456fdaa680
Simplify the localization in codes
...
and fix the bug that menu "Window" not translated:
5917fdefb0 (commitcomment-67151276)
2022-02-21 17:59:25 +01:00
exd0tpy
fc064d3254
Fix UDL dialog crash issue on over 30 created UDL
...
Add index check when add User Defined Language
If user create User Defined Language over 30 (NB_MAX_USER_LANG) times app is crash.
Fix #11257 , close #11251
2022-02-21 15:48:56 +01:00
Patriccollu
456d3fcebf
Update Corsican translation for Notepad++ 8.3.2
...
Close #11254
2022-02-21 14:50:53 +01:00
~GOLEM~
27ade5d88b
Update russian.xml to v8.3.2
...
Close #11252
2022-02-21 14:29:58 +01:00
A. Regnander
60f42199db
Update swedish.xml
...
Close #11242
2022-02-21 03:45:50 +01:00
VinsWorldcom
80ba58773d
Fix auto-completion sort order problem due to fx icon
...
Fix #11233 , close #11234
2022-02-21 03:42:09 +01:00
Don Ho
efcb3d0472
Update localization files
2022-02-21 01:41:58 +01:00
Don Ho
5917fdefb0
Fix translation problem for "Sort By"
...
Make "Plugins" & "Window" menu static to simplify the code.
2022-02-21 00:57:15 +01:00
deebash
1c8b867395
Add "Sort By" commands under Window Menu
...
Add commands by name, path, type and by size for sorting under Window Menu.
Fix #10393 , close #11190
2022-02-20 18:52:07 +01:00
mpheath
726ad7f580
Fix autocomplete case insensitive not working issue
...
Fix #11187 , close #11191
2022-02-20 18:13:41 +01:00
Don Ho
de43eca30e
Exclude NppTaskList v2.3 and older versions only, crash fixed in 2.4
...
Exclude NppTaskList v2.3 (and older versions) only thanks to its update to v2.4:
a6596d99c9
Ref:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11243#issuecomment-1046072537
2022-02-19 20:02:06 +01:00
Don Ho
60df9e5f0a
Exclude NppTaskList via installer due to crash issue on Npp x64
...
Fix #11243
2022-02-19 17:40:32 +01:00
xomx
b233c0c3e0
Fix saving problem (regression) with "Sysnative" alias in x86 binary
...
Removing the 'case sensitive' default flag FILE_FLAG_POSIX_SEMANTICS fixes the CreateFile ERROR_PATH_NOT_FOUND, when working with files like "C:\Windows\Sysnative\drivers\etc\hosts".
Without the FILE_FLAG_POSIX_SEMANTICS the WIN32 IO (CreateFile/WriteFile) way will be equivalent with the previously used POSIX IO (fopen/fwrite) way.
More info about this "Sysnative" alias: https://docs.microsoft.com/en-us/windows/win32/winprog64/file-system-redirector
Fix #11196 , close #11225
2022-02-18 16:48:34 +01:00
Don Ho
2321e648ae
Fix regression: file can't be saved if it's set to other charset before
...
Fix #11238
2022-02-18 14:49:21 +01:00
Don HO
4555db8f91
Update localization files
2022-02-18 11:36:03 +01:00
Don Ho
e1ccd98745
Remove old version of XMLTool via installer to prevent Notepad++ from crash
...
Add "removing old version (3.1.1.10) of XMLTool" entry in installer to prevent Notepad++ x64 from crash.
Its v3.1.1.12 or upper versions are allowed.
Fix #11236
2022-02-18 11:01:49 +01:00
Don Ho
637f470b6e
Add more Easter Eggs for the coming Easter Sunday
2022-02-17 15:20:07 +01:00
Don HO
010ce6f0f1
Update CONTRIBUTING.md
...
Make brace position more explicit in both .cpp & .h.
2022-02-17 14:02:00 +01:00
Don HO
47481c76e8
Update CONTRIBUTING.md
...
Define the braces position in C++ header files.
2022-02-17 13:50:48 +01:00
Don Ho
2df765e189
Code enhancement: prevent from signed integer overflow
...
Ref:
94154b0f0e (commitcomment-66609009)
2022-02-16 19:13:35 +01:00
Don Ho
51b1c9377c
Fix incorrect message on double click on search result regression
...
This regression was inserted by commit c0be50494c
(PR #11107 ).
Fix #11215 , Fix #11106
2022-02-16 18:22:47 +01:00
Don HO
5c02505998
Notepad++ v8.3.1 release
...
Boycotting Beijing 2022 continues in this release
2022-02-15 16:32:03 +01:00
Hugo Carvalho
92eb49f6af
Update portuguese.xml
...
For commits: 85e7207eef
2c1090e554
6392508cd1
Close #11176
2022-02-12 18:15:27 +01:00
Thomas De Rocker
c5f692815d
Update dutch.xml
...
Close #11174
2022-02-12 18:13:13 +01:00
rddim
4612d0aafb
Update Bulgarian localization
...
Close #11154
2022-02-12 18:11:24 +01:00
yasmise
2d9545dd3b
update japanese.xml
...
Added translation for these commits:
* Enhance error handling while opening file (85e7207eef
)
* Update english.xml (2c1090e554
)
Close #11151
2022-02-12 18:08:53 +01:00
kubalav
bde3da46fe
Update Slovak translation to 8.3.0
...
Close #11149
2022-02-12 16:39:08 +01:00
Patriccollu
f3b11d16d4
Update Corsican translation for Notepad++ 8.3.1
...
Close #11116
2022-02-12 16:33:56 +01:00
Artem Polivanchuk
30651e94ff
Update belarusian.xml
...
Close #11108
2022-02-12 16:30:56 +01:00
xomx
5d78c7f08e
Update czech.xml to v8.2.2
...
- WantToOpenHugeFile
- added missing translations for Print Header & Footer Variable combobox items
- better meaning for some of the edit-onSelection items
- some previous typing error corrections
Close #11100
2022-02-12 16:27:22 +01:00
~GOLEM~
8be6bcc708
Update russian.xml to v8.3.1
...
Close #11094
2022-02-12 16:16:57 +01:00
Daniel Fuchs
0c83175b59
Fix conflicting German translations
...
* make two functions available in Shortcut Mapper by improving their translation
Close #11092
2022-02-12 14:52:46 +01:00
Regmos
79d1a2230d
Update danish.xml
...
Close #11062
2022-02-12 14:46:56 +01:00
Tmp341
c2af4a8b3d
Update Turkish localization
...
* * According to d9ef4be
, 9be4eeb
, 78c6554
, 68d339d
, e048f83
, 85e7207
and 2c1090e
commits.
* I don't know how i missed the removal of id=42079, but removed now (line 178).
Close #11183
2022-02-12 14:31:38 +01:00
xomx
fc1365ea99
Fix target directory parameter ignored by x64 installer issue
...
Fix for the /D= NSIS param regression (x64)
Detailed explanation is in the .onInit patch comments.
This regression has been caused by the previous PR: #11013 .
Fix #11072 , close #11158
2022-02-12 03:29:18 +01:00
Don Ho
d372894e78
Fix typo and reword contribution note
...
Fix #11058
2022-02-10 14:23:27 +01:00
Don Ho
94154b0f0e
Code enhancement: Fix comparison of different signs integers
2022-02-09 20:06:59 +01:00
Don Ho
785453147b
Inialize all memebers of struct (instead of its 1st member) to zero
...
The curly brace initiator in C/C++ is quite confusing (at least to me).
The C style array uses {0} for initializing all the array to 0,
whereas C++ struct uses {0} for initializing only the 1st member's value to 0.
If we want to set all members' value in a struct to 0, we should use {} instread of {0}.
This commit fix the error which initialize only the 1st member's value to 0 in the structures.
Ref:
1. https://docs.microsoft.com/en-us/cpp/cpp/initializing-classes-and-structs-without-constructors-cpp?view=msvc-170
2. https://en.cppreference.com/w/c/language/struct_initialization
2022-02-09 16:41:56 +01:00
Don Ho
2e9342ae24
Code enhancement: Initialize member variables
2022-02-09 04:40:16 +01:00
Daniel Fuchs
dee3bad29d
Make variable list combobox translatable in printing preferences
...
The list of variables defined under Preferences > Print can be translated using the following method:
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/11093/files#diff-a6ac7ceba70d88bf1547fd1defd760bd55052dcdb78c44f9d46d99ef1f450472R999-R1007
However as pointed out by others this will break the "Add" button, so translation is currently not possible. The result is, that nothing is added to the current field.
This commit makes translation possible without breaking "Add" feature.
Fix #11114 , close #11115
2022-02-08 19:40:23 +01:00
Don Ho
987a944ada
Update french.xml & taiwaneseMandarin.xml
2022-02-08 19:17:27 +01:00
Don Ho
6392508cd1
Solve the confilt in english.xml
2022-02-08 18:44:59 +01:00
Daniel Fuchs
2c1090e554
Update english.xml
...
English localization for #11047
* add translation for WantToOpenHugeFile as referenced by commit 46011e3
* add previously untranslated drop-down items in Preferences > Print
Close #11093
2022-02-08 18:40:41 +01:00
Don Ho
f815b7057f
Revert "Enable backup on save (simple) feature by default"
...
This reverts commit 40fbae1f76
.
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10725#issuecomment-1032106977
2022-02-08 02:10:23 +01:00
xomx
85e7207eef
Enhance error handling while opening file
...
In FileManager::loadFileData method:
1. Fix unnecessary GCC crashes when opening larger files in 32-bit Notepad++ binary.
2. Take into account and report correctly also other possible Scintilla error states there (than the previously handled SC_STATUS_BADALLOC).
3. Catch and report correctly also exceptions not handled by the Scintilla exception handler.
4. Catch and report correctly also Notepad++ code exceptions there.
Fix #11103 , close #11112
2022-02-07 23:34:54 +01:00
Don Ho
9baaef786b
Fix Path Completion not working regression
...
Fix #11147
2022-02-07 23:17:07 +01:00
Don Ho
6c345e907b
Optimize setting image call in auto-completion
...
In PR #11088 the calling scinitilla is not optimized:
SCI_REGISTERIMAGE & SCI_AUTOCSETTYPESEPARATOR need to be called only once.
2022-02-07 20:12:45 +01:00