Don Ho
94154b0f0e
Code enhancement: Fix comparison of different signs integers
3 years ago
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
3 years ago
Don Ho
2e9342ae24
Code enhancement: Initialize member variables
3 years ago
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
3 years ago
Don Ho
987a944ada
Update french.xml & taiwaneseMandarin.xml
3 years ago
Don Ho
6392508cd1
Solve the confilt in english.xml
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
Don Ho
9baaef786b
Fix Path Completion not working regression
...
Fix #11147
3 years ago
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.
3 years ago
VinsWorldcom
c394a890aa
Add icons on function items of auto-completion to distiguish from word items
...
Fix #11087 , close #11088
3 years ago
mere-human
b5a5baf13b
Fix file dialog "Append extension" checkbox not working in empty dir
...
Use hooks for keyboard and window procedure instead of subclassing controls.
Use a handle map for transferring instance data to the hook procedure.
This approach should be more reliable than the previous one.
Fix #10436 , close #11050
3 years ago
Don Ho
bbe8a7db26
Restore auto-completion insert selection default setting (ENTER & TAB)
...
Since auto-completion feature appeared in Notepad++, its selected item insertion default setting has had been always both "ENTER" & "TAB" keys. In commit 68d339d224eba0fa7aeb2e0f7526b3311cc02c5a:
68d339d224
this default setting was changed to only "TAB", that made a lot users who used "ENTER" for insertion unhappy.
In this commit the old default value has been restored. Users can always change this behaviour in auto-completion settings of preferences dialog.
Ref:
https://community.notepad-plus-plus.org/topic/22425/notepad-v8-2-1-release/34?_=1644179730538
3 years ago
xomx
deb99ae45b
Fix cmdline '-n' param not working and wrong cursor position regression
...
When file is opened via "Edit with Notepad++", cursor position is placed on the 2nd position instead of the first.
This fixes the signed/unsigned mismatch there arisen from the current 2GB+ changes.
Fix #11131 , close #11132
3 years ago
ArkadiuszMichalski
9fccc37987
Fix Dark Mode Customized tone link part is not persistent
...
Fix #11095 , close #11102
3 years ago
Christian Grasser
c0be50494c
Fix NPPM_RELOADFILE with 8.3 path containing bug
...
Fixes issue seen with pythonscript testcase https://github.com/bruderstein/PythonScript/blob/master/PythonScript/python_tests/tests/NotepadWrapperTestCase.py#L383-L397 using NPPM_RELOADFILE with a 8.3 path containing.
Fix #11106 , close #11107
3 years ago
Don HO
73a4cdc104
Fix XML tag mark deletion crash Notepad++ v8.3
...
The uninitialized structure members contain the random value.
The crash is fixed by initializing them with a default value.
Fix #11128
3 years ago
Don HO
ae6361fa35
Notepad++ release v8.3 (Boycott Beijing 2022)
3 years ago
Don HO
1c6055ecf7
Better management for unstable plugin
3 years ago
Don HO
bf82faea5e
Adapt Installer script for the unstable plugins
3 years ago
Don HO
807271f989
Fix NSIS build error
3 years ago
Don Ho
720bb3f74b
Remove unstable 64 bits plugins during the installation
...
Fix #11104
3 years ago
Don Ho
993506af0a
Fix Find in Files crash
3 years ago
Don Ho
6d311e102e
Fix 2 logic error (wrong copied/pasted)
...
ref:
774321e099 (r64847350)
3 years ago
Don Ho
4077ec2f69
Fix crash regression in UDL dialog
...
Fix #11101
3 years ago
Don Ho
774321e099
Improve 200MB+ files loading/editing performance
...
While loading files over more 200MB, they are all considered as Normal text files, that improve loading speed (for example for huge XML or SQL file).
Also, the feature as braces match, smart highlightingg, tag match and URL colorization are disabled for not penalizing the editing performance.
3 years ago
Don Ho
db3308329b
Fix crash on opening file with wild card characters
...
And redefining Sci_PositionCR to 64 bits on x64 build for managing 2GB+ files.
(ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/11047#issuecomment-1021540298 )
Fix #11098
3 years ago
Don Ho
44004d41d4
Enhance large file loading: disable 4 features for large files
...
Dur to the performaance issue, the loading of large files will disable automatically the following feature:
1. auto-completion (only for large files)
2. snapshot periode backup (only for large files)
3. backup on save (only for large files)
4. word wrap (persistent for all files. Need to enable it manually)
Ref: https://community.notepad-plus-plus.org/topic/22438/notepad-v8-2-2-release-candidate/6?_=1643194615292
Fix #8802
3 years ago
Don Ho
edabe44000
Disable Word Wrap while load a 2GB+ file
3 years ago
Don Ho
2132505cba
Fix unsaved untitled files not being opened on the next session regression
...
Fix #11080
3 years ago
Don Ho
961a133a60
Remove 2GB file open restriction for x64 binary
...
Fix #10921 , close #11047
3 years ago
Christian Grasser
5b5dbbd3f9
Fix ARM64 build doesn't contain 64 bits information
...
Fix #11068 , close #11069
3 years ago
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
3 years ago
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
3 years ago
Don HO
2b99372169
Notepad++ v8.2.1 release
3 years ago
Don Ho
234941c180
Fix regression of bg/fg color disabling visual glitchy
...
The regression is due to:
7c9f4204ea (diff-473b357ab7088152f46cb49e9d3336344425ab463c209b10b2fe16df98cc3b76)
Fix #11051
3 years ago
conky77
4f0be89651
Update Italian.xml to 8.2.0
...
Close #10976
3 years ago
conky77
953fea562e
update venetian.xml to 8.2.0
...
Close #10977
3 years ago
rddim
aa998a7f07
Update Bulgarian licalization
...
Close #10982
3 years ago
kubalav
95ced9ffa6
Update Slovak translation to 8.2
...
Close #10997
3 years ago
yasmise
5edbed748a
update japanese.xml
...
Following this commit:
Update english.xml (d9ef4be579
)
Close #10998
3 years ago
Patriccollu
441b9aa94c
Update Corsican translation for Notepad++ 8.2
...
Close #10999
3 years ago
~GOLEM~
bf3b974edd
Update russian.xml to v8.2
...
Close #11000
3 years ago
Daniel Fuchs
5a382cb646
Update German translation
...
* update german.xml to v8.2
* fix some (colloquial) wording
Close #11009
3 years ago
Hugo Carvalho
67cda62112
Update portuguese.xml to v8.2.1
...
Close #11030
3 years ago
ArkadiuszMichalski
44150ea675
Update polish.xml to 8.2.1
...
Update polish.xml to 8.2.1 (according to the latest commit).
Close #11033
3 years ago
xomx
88e660ab12
Update czech.xml to v8.2.1
...
resolved conflicts in previous PR #10975
Close #11043
3 years ago
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
3 years ago
Don Ho
cb7bbef4fe
Fix "File is too big to open" message isn't modal issue
...
And plus some refactoring.
3 years ago