Commit Graph

4619 Commits (feeda479957361a6737743b6feb3ba128016f7d4)

Author SHA1 Message Date
Don Ho 635f1d41ab Fix a typo & add a pun 2021-09-20 18:34:50 +02:00
Don Ho bc2e689185 Add Insert Date/Time commands shortcut & macro capacities
Fix #10567
2021-09-20 04:11:45 +02:00
Don HO c7e1da48ff Align dark mode styles with light mode styles
1. Improve JSON, PYTHON, BANNC and VHDL syntax highlighting in dark mode.
2. Reosort light mode style.
2021-09-18 02:52:09 +02:00
popcorner 94788503d2 Update chineseSimplified.xml
Close #10559
2021-09-16 20:43:58 +02:00
Thomas De Rocker 8d7aa6b06c Update dutch.xml
Close #10474
2021-09-16 19:02:38 +02:00
popcorner ad40663fb3 Update chineseSimplified.xml
Close #10498
2021-09-16 19:00:04 +02:00
regener 827bcc1d05 Hungarian translation update for version 8.1.4
Close #10500
2021-09-16 18:55:40 +02:00
Don Ho 6ee3bd3c45 Make more room for the translation of custom format label 2021-09-16 17:54:25 +02:00
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