Commit Graph

4355 Commits

Author SHA1 Message Date
Don HO 0c2508d3d1 Notepad++ release 8.1.8 2021-10-19 19:17:40 +02:00
Don Ho 386366d7f2 Fix config files (XML) saving performance regression
Instead of writting on hard disk little by little all the time,
all data is collected in a string buffer to write once on the disk at the end.

Fix #10678, fix #10674, close #10691
2021-10-19 15:39:34 +02:00
Don Ho 5d086f93a8 Workaround Microsoft dark mode API bug of Windows 11
Notepad++ dark mode works fine under Microsft Windows 7, 8, 8.1 & 10.
Under Windows 11 while Notepad++ being switched into dark mode,
the hightlighting (background) of toolbar's hot-track icons remains in light mode.
Hence this workaround to remedy Notepad++ dark mode visual glitchy due to the bug of Windows 11.

Fix #10510, close #10685
2021-10-18 00:30:14 +02:00
Don HO d80b0b254e Notepad++ 8.1.7 release 2021-10-15 11:46:40 +02:00
Don Ho 6cae886dde Fix empty file not being saved regression
When open a non-empty text file, empty the file and save it, the file is not saved on disk.
This PR has fixed this regression.

Fix #10667, close #10668
2021-10-15 00:52:26 +02:00
Andrey Smolyakov 4c34652e14 Add VHDL unresolved numeric_std types highlighting
Close #10632
2021-10-15 00:50:36 +02:00
Don Ho 540fbeddda Add JSON syntanx highlighting in the dark themes 2021-10-15 00:42:45 +02:00
Thomas De Rocker 85ea1e6431 Update dutch.xml
Close #10631
2021-10-14 18:21:42 +02:00
Ashfaaq18 6526094ee7 Fix tooltip layout and position in RTL mode
Fix #10646, close #10655
2021-10-14 18:15:16 +02:00
Ashfaaq18 e82a451ec1 Fix docking problem for dockable panel in RTL mode
Fix #10641, close #10645
2021-10-14 18:09:21 +02:00
Kyle K 324a7ab8cc Enhance dark themes for some programming languages
Tweak themes for python and makefile.
Also apply default color to other items in need.

Fix #10648, close #10661
2021-10-14 16:41:15 +02:00
Ashfaaq18 4cf1267af8 Fix white flash in dark mode on CMD launch with position data
Fix #10657, close #10658
2021-10-14 15:36:45 +02:00
CennoxX add1c145ad Fix "Run macro until the end of file" command skipping the last line issue
Fix #10441, close #10638
2021-10-14 14:40:45 +02:00
Don HO c1dac5983a Notepad++ 8.1.6 release 2021-10-13 15:48:40 +02:00
Ashfaaq18 35e3fb9688 Fix white flash on Notepad++ startup in darkmode issue
Fix #3955, fix #10601, close #10639
2021-10-10 13:33:24 +02:00
Tmp341 d692b5060f Update Turkish localization
* According to 2576bf8, 45831ac, deab93f, e12b161, 84c1505, ef8522e, 36d0d29 and f6282f4 commits.
* Some spacing.

Close #10587
2021-10-07 01:17:28 +02:00
Don Ho 6a3d6e05d9 Add new quotes 2021-10-06 03:11:10 +02:00
CennoxX b4d94f5774 Make markdown UDL work in evry dark theme
When using dark mode with a theme other than DarkModeDefault the background and font color of the theme are not applied to all styles.
This PR fix this bug by adding colorStyle="1" to ignore defined background colour in UDL, and use the default's background colour (theme's one) instead.

Fix #10593, close #10619
2021-10-06 01:01:12 +02:00
A. Regnander 5de59d7e44 Update swedish.xml
Close #10620
2021-10-05 14:38:16 +02:00
Don Ho 6c3031f01b Fix file can be marked as saved even it's been deleted outside
This PR make buffer always dirty (with any undo/redo operation) if the editing buffer is unsyncronized with file on disk.
By "unsyncronized", it means:
1. the file is deleted outside but the buffer in Notepad++ is kept.
2. the file is modified by another app but the buffer is not reloaded in Notepad++.

Note that if the buffer is untitled, there's no correspondent file on the disk so the buffer is considered as independent therefore synchronized.

Fix #10401, close #10616
2021-10-05 02:32:40 +02:00
Don Ho 97ad1d922e Update translations 2021-10-03 03:38:05 +02:00
Adam D. Walling 78a2f32692 Fix status bar text display issue in dark mode
Fix incorrect text size calculation for drawing the dark mode status bar
which can cause an invalid character to be displayed.

Fix #10564, close #10611
2021-10-03 03:06:22 +02:00
Don Ho 682a8edafa CFile (Win32 API IO) Refactoring
1. Rename CFile to Win32_IO_File (plus some modification in class).
2. Add new method writeStr() in Win32_IO_File class to write "char*" & string.
3. Change method names of Utf8_16_Write class and make writeFile() method return accurate type (boolean).

Close #10612
2021-10-02 15:00:08 +02:00
Don Ho 11b2dd0f6b Fix previous session lost issue after MS update restarting Windows
Use Windows IO API instaed POSIX IO (output only) on tinyXml component for writting xml file (config.xml, session.xml, etc...).

Fix #10402, close #10612
2021-10-02 14:59:47 +02:00
Don Ho f1837474ca Fix Print Preferences GUI bug issue
Fix #10552
2021-09-29 18:23:59 +02:00
Pavel Nedev 9aa9ecb664 Fix NUL file-corruption issue after system shutting down brutally
Uses native Win32 IO API (CreateFile, ReadFile, WriteFile, CloseHandle) instead of POSIX ones (fopen, fread, fwrite, fclose) for remedying NUL file-corruption problem due to system shutting down brutally.

Fix #6133, close #10598
2021-09-28 12:30:05 +02:00
Ivan Ustûžanin 49c3e5d553 UDL lexer: fix potential infinite loop
Fixed a condition in a loop which is always true (unsigned >= 0) and can
potentially turn the loop infinite.

And removed a check after the loop which now is also always false.

Close #10597
2021-09-28 01:30:52 +02:00
Don Ho 4d57f5071f Make modified code conform to the coding style 2021-09-27 23:03:10 +02:00
Ashfaaq18 531bef28d8 Fix docked window sizing direction problem in RTL mode
Fix #10536, close #10576
2021-09-27 22:55:26 +02:00
Ivan Ustûžanin 19cf5c9037 UDL: preserve DarMode-ness upon saving
Fix #10583, close #10570
2021-09-27 20:56:21 +02:00
Don Ho 2159126d8e Initialize the values of Gripper's varible member 2021-09-27 20:51:39 +02:00
Ashfaaq18 d939e4a6ed Fix floating panel movement issue in RTL mode
Fix #10579, close #10586
2021-09-27 19:42:51 +02:00
Ivan Ustûžanin d11d2c7f23 gcc: fix warnings during Scintilla build
Fixed warnings generated during Scintilla build in `boostregex/BoostRegExSearch.cxx`
(`-Wall -Wpedantic` are the default for Scintilla).

Close #10596
2021-09-27 19:31:51 +02:00
Don HO 45693d1302 Notepad++ 8.1.5 release 2021-09-27 13:24:09 +02:00
Don Ho 2f7490abab Fix tab settings in UDL regression
Bug reported here:
https://community.notepad-plus-plus.org/topic/21866/notepad-8-1-5-rc-3?_=1632620635740

The regression is due to e5a800722b
2021-09-26 04:34:37 +02:00
Don Ho a7a700145d Fix a regression of pluginsAdmin
Fix a regression of pluginsAdmin reported in:
https://community.notepad-plus-plus.org/topic/21853/notepad-8-1-5-rc2/3?_=1632245574765
2021-09-21 22:53:58 +02:00
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