Commit Graph

4261 Commits (0ad4912eb07429b1ea857f8ca06bc7d7ca27acd1)

Author SHA1 Message Date
mere-human 0ad4912eb0 Enhance Insert Custom Date command by using MS datetime format
Fix #10467, close #10480
2021-09-16 17:25:19 +02:00
rddim e1e180397f Update Bulgarian localization
Close #10424
2021-09-16 15:20:46 +02:00
schnurlos 1d71e90a64 Update german.xml to v8.1.4
Close #10428
2021-09-16 15:17:34 +02:00
Hugo Carvalho 3d02256078 Update Portuguese translation to v8.1.5
Close  #10457
2021-09-16 15:12:22 +02:00
yasmise 114107957c update japanese.xml to v8.1.5
Added translations for these commits:
* Make "Confirm Save All" dialog more clear (deab93f9b5)
* Make Incremental Search panel translatable (e12b161d48)
* Add custom date time insert (84c1505fab)

Close #10477
2021-09-16 15:06:34 +02:00
kubalav 56b0af3c85 Update Slovak translation to 8.1.5
Close #10482
2021-09-16 12:54:19 +02:00
xomx 7a6eb0da37 Update czech.xml to v8.1.5
Close #10521
2021-09-16 12:50:28 +02:00
~GOLEM~ 748db1be38 Update russian.xml v8.1.5
Close #10542
2021-09-16 12:45:03 +02:00
IoeCmcomc 3c464e49bb Update Vietnamese translation
Close #10547
2021-09-15 20:17:22 +02:00
ArkadiuszMichalski f658c22265 Update polish.xml to 8.1.5
Update polish.xml to 8.1.5 (according to the latest commit).

Close #10550
2021-09-15 03:44:53 +02:00
Patriccollu 9342da4885 Update Corsican translation for Notepad++ 8.1.5
Close #10455
2021-09-15 01:21:44 +02:00
Don Ho f6282f4f11 Update localization files
And fix a typo in BUILD.md
2021-09-14 23:33:34 +02:00
Don Ho a3116818e0 Code enhancement: Initialize variable member's value of struct/class
Close #10545
2021-09-14 03:08:17 +02:00
Ivan Ustûžanin 049ededf9f Add gcc 32-bit build and improve build process
1. Include SciLexer build in Notepad++ build.
2. Remove -fpermissive, auto -j in make.

Fix #9989, close #10540
2021-09-13 23:17:11 +02:00
Ashfaaq18 73b41ec74f Fix docked/float panels in RTL layout issue
Fixed Npp RTL context menu for Document List, Project Panels, Folder Workspace, Search Results Window,
and fixed Floating Dockable Window RTL direction.

Fix #10488, close #10535
2021-09-13 13:27:35 +02:00
Don Ho f6bea32003 Update uzbek.xml 2021-09-12 19:04:10 +02:00
Don Ho e5a800722b Make code more sanitary
Fix some vulnerable codes detected by VS's analyzing.

Close #10541
2021-09-12 18:50:30 +02:00
Ashfaaq18 36d0d29cc7 Add path column in Document list panel
Fix #9679, close #10539
2021-09-12 15:18:22 +02:00
Don HO 36d13f3ad8 Sort Preferences->New Document->Default language combobox
Fix #10513
2021-09-10 02:44:55 +02:00
Ivan Ustûžanin 1c9009e9b2 Fix open file crash via open file dialog
Notepad_plus_Window was rather huge (megabytes). Now it's small (tens of kilobytes),
but to safeguard against future size increase move its allocation from the stack
into the heap.
By using smart pointer, this PR not only fix open file crash properly,
but also prevent stack from being corrupted in the future.

Fix #10454, close #10531
2021-09-09 16:05:50 +02:00
Ivan Ustûžanin 495d202a43 Fix Find dialog display mess-up
Find dialog display mess-up caused by unintialized member variable.
Intialization of member variables fixes it.

Fix #10511, close #10530
2021-09-09 12:41:22 +02:00
Don Ho aff77e27d3 Fix incremental search panel not translated after startup issue
Fix #10478
2021-09-08 13:43:51 +02:00
Don Ho bd31dbb68f Remove "#pragma once" from rc files 2021-09-06 22:49:11 +02:00
Ivan Ustûžanin 241238df5a Fix xml writing issue in gcc build
Fix #10185, fix #9163, close #10503
2021-09-06 00:25:09 +02:00
Don Ho cddcbb5d61 Fix CSS pseudo-elements not recognized issue
Update CSS keywords and add new styles.

Fix #10425, close #10501
2021-09-05 16:39:49 +02:00
Ivan Ustûžanin 156784722a Make number of languages and and styles unlimited and independent
A clean version of #10483 thanks to @ozone10 and @chcg.
The proper fix for #10206 without any compile-time limits.

Fix #10483, fix #10206, close #10491
2021-09-05 16:31:18 +02:00
Don Ho d4781bd4a3 Update abkhazian.xml 2021-09-05 12:53:38 +02:00
Ivan Ustûžanin e31eb8ea2a Add missing element in PHP dark mode styler
Default DarkMode theme style for PHP was missing one element (COMPLEX VARIABLE).
Also Make variables in strings bold so they are more distinguishable.

Close #10502
2021-09-04 13:08:04 +02:00
Ashfaaq18 ef8522e4aa Enable/disable ext column from Document list directely
* Enable/disable ext column via the context menu.
* The ext column checkbox is removed from the preferences dialog.
* Cleaned up localization file

Fix #10468, close #10485
2021-09-03 14:48:18 +02:00
mere-human 55f2644953 Fix regression: no error message when locked file could not be saved
Show file locked warning.
This is a regression from commit 469fa62c0e

Fix #9994, close #10487
2021-09-03 14:18:53 +02:00
Christian Grasser f428fbab13 Fix building MinGW release twice in appveyor builds
Improve also MinGW build (toolbar appears) by adding changes from patch https://github.com/notepad-plus-plus/notepad-plus-plus/files/6947163/notepad-gcc-build.patch.txt

Fix #10328, fix #10185, close #10469
2021-09-01 11:54:00 +02:00
Christian Grasser ed5c2631c1 Fix asan(address sanitizer) issue with no plugins
Fix #10470, close #10471
2021-09-01 11:19:45 +02:00
Ashfaaq18 5c52aff7a1 Fix inconsistency of Document List context menu
Document List context menu now appears only when files are selected.

Fix #10463, close #10464
2021-09-01 00:49:44 +02:00
Don Ho dab02db976 Add non MSC info into debug info 2021-08-31 18:41:22 +02:00
Don HO f6488cdc7a
Update english.xml 2021-08-31 15:41:04 +02:00
Don HO 7006714c16
Update AboutDlg.cpp 2021-08-31 15:39:00 +02:00
Don Ho 88ee2eddb0 Fix the crash regression due to the array size increase
LexerStylerArray contains a MAX_LEXER_STYLE-element array (currently 100) of LexerStyler objects. Every one of them in turn via inheritance from StyleArray contains a SCE_STYLE_ARRAY_SIZE-element array (I tested with 99) of Style objects each at least 56 bytes in size. This in my test case requires over 550k of memory, and if LexerStylerArray is allocated on stack, the stack becomes corrupted. (Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10454#issuecomment-908732786)

Inline arrays are a part of an object and increase its size while std::vector uses memory from the heap and stores internally only a pointer to a chunk of memory, thus the size of an object with a vector is substantially smaller than the one with an inline array. (Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10454#issuecomment-908780106)

Fix #10454, fix #10206
2021-08-31 01:38:55 +02:00
Don Ho c1cce29c84 Fix build system error 2021-08-31 00:16:52 +02:00
Don Ho 84c1505fab Add custom date time insert
Make Insert date time customizable.
Also make date time order reversable for short & long format.

Fix #10445, close #10453
2021-08-29 19:42:05 +02:00
mere-human d41b4e1645 Fix current directory not applied bug after changing current directory option
Refresh the working directory when changing Follow current document preference.

Fix #10396, close #10426
2021-08-28 17:55:42 +02:00
Don HO cd8e479ffa
Update README.md 2021-08-26 01:47:18 +02:00
ozone10 68d293e711 Allow custom color for Document Map
Fix #10052, close #10422
2021-08-26 01:03:18 +02:00
Don Ho e12b161d48 Make Incremental Search panel translatable
Fix also checkbox overlap in incremental search bar.

Fix #8955, fix #8574, close #10420
2021-08-25 16:38:42 +02:00
Don Ho deab93f9b5 Make "Confirm Save All" dialog more clear
Use "Always Yes" button instead of "Cancel", and whole dialog is translatble.

Fix #10339, close #10429
2021-08-25 16:31:51 +02:00
Don Ho a391161e3d Add the info of TypeScript in overrideMap.xml
Close #10440
2021-08-25 16:29:16 +02:00
Don Ho a720b88e52 Update localization files to v8.1.4 2021-08-25 15:42:59 +02:00
Don HO 390f7631fa Notepad++ 8.1.4 release 2021-08-25 02:17:47 +02:00
Patriccollu d42c6a58aa Update Corsican translation for Notepad++ 8.1.4
Close #10415
2021-08-21 00:05:22 +02:00
yasmise e057e3ea88 update japanese.xml
Follow these commits:
* Substitute "Mark" for "Style" in the menu entries (2576bf884b)
* Update English localization file to v8.1.4 (45831ac050)

Close #10416
2021-08-21 00:02:20 +02:00
ozone10 8ac13d9065 Make dark mode compatible with Windows 11
Use documented way to enable UxTheme dialog texture.
Remove undocumented way.
Disable UxTheme dialog texture in dark mode.

Fix #10299, close #10383
2021-08-20 12:08:41 +02:00