Commit Graph

3319 Commits (666f228027e24a616cf17deb88b708d949c3530c)

Author SHA1 Message Date
Udo Hoffmann 6834d796ab Replaced UCS-2 by UTF-16, removed unused UniConversion.* 2021-03-27 03:00:14 +01:00
Udo Hoffmann 38bf76e843 Fix UTF-16 decoding/encoding for code points above U+FFFF
Fix #9597, fix #3747, fix #5754, close #9599
2021-03-27 02:50:51 +01:00
mere-human dc106a4c95 Add Cloud Config and Command Line Arguments to Debug Info
Fix #9598, close #9607
2021-03-26 15:33:01 +01:00
Scott Sumner f308539abe SaveAs moves original path to recent files history
Fix #9673, close #9678
2021-03-26 14:00:01 +01:00
Scott Sumner 6bfe9d289c Widen Default Language control in Preferences for New Document
Close #9647
2021-03-26 01:25:06 +01:00
Udo Hoffmann 926e6e97d8 Catch regex search exceptions and show exception message
Fix #9565, close #9566
2021-03-24 01:24:24 +01:00
Scott Sumner 854f49c61c Fix typo: FINFER -> FINDER
Close #9688
2021-03-23 23:35:59 +01:00
Don HO 0c0a5d2097 Add 2 new easter eggs for the upcoming Easter Sunday 2021-03-23 01:57:37 +01:00
Don HO 4399c1343b Notepad++ 7.9.5 release 2021-03-22 22:46:05 +01:00
Don HO 633dcbad5e Fix installer error if problematic plugin is absent 2021-03-22 03:27:44 +01:00
Don HO aa22ee21cc Add a new quote 2021-03-21 01:12:30 +01:00
mere-human ad3a6ea2f6 Fix file doesn't save as extension type on Windows 7
Initialize file dialog window procedures later so that
all the controls have been created by this moment.

Fix #9657, close #9674
2021-03-20 23:17:05 +01:00
Don HO 805ff42cd4 Update slovenian.xml 2021-03-18 17:58:30 +01:00
conky77 9c471cd0a2 Reorder translation item nodes in Italian.xml
Set new order as English.xml.

Close #9635
2021-03-18 16:20:30 +01:00
schnurlos 39b7604107 Update german.xml
Close #9628
2021-03-18 15:58:08 +01:00
snxx-lppxx 3d6bb7ae06 Fix some inaccurate translation in kazakh.xml
Close #9625
2021-03-18 15:39:32 +01:00
mere-human cd738bcff7 Fix UNC path with quotes handling in folder & file Open/Save dialog
Remove a workaround for double backslash that leads to problems.
Originally, the double backslash workaround was needed to address #5368.
But now, the app isn't stuck when such path is used, so the problem is gone.

Fix #9582, close #9666
2021-03-18 15:31:03 +01:00
Don HO f44e6c4c06 Fix SaveAsAdmin plugin incompatibility with Notepad++ 7.9.3 issue
The installer will check the version of SaveAsAdmin plugin and remove all the versions of SaveAsAdmin plugin which doesn't contain the fix.

Fix #9514
2021-03-18 01:45:57 +01:00
Don HO 58f0a61770 Notepad++ 7.9.4 release 2021-03-15 01:37:51 +01:00
Edditoria b1ba14b922 Update localization: Hong Kong Cantonese
As at commit 3a4d1ac of this repo.

Close #9624
2021-03-14 19:50:34 +01:00
Udo Hoffmann aaab4607c1 Fix Find button not enabled in Find in Files section regression
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8125#issuecomment-798801190

Close #9654
2021-03-14 19:31:08 +01:00
rddim 3a4d1acad3
Update Bulgarian localization
Close #9547
2021-03-09 00:02:00 +01:00
schnurlos 1ef9b94581
Update german.xml
Following last changes of english.xml

Close #9596
2021-03-08 23:55:39 +01:00
popcorner ed347fae90
Update chineseSimplified.xml
Close #9622
2021-03-08 23:52:16 +01:00
Patriccollu 4f64597762
Fix wrong translation ID in 2 localization files
Close #9616
2021-03-08 18:24:57 +01:00
yasmise 1f2c63cce1
Update japanese.xml to v7.9.4
Follow-up to these commits:
* Add an option to mute all sounds in preferences dialog (6e43ba6ea5)
* Make tab splitter menu and incremental search translatable (35584b379f)

Close #9559
2021-03-08 13:14:27 +01:00
Haoran Du 7c73faba57
Fix a interface error(missed a "$" symbol) in Chinese localization
Close #9589
2021-03-08 13:08:18 +01:00
conky77 e27c125ef7
update italian.xml to v7.9.4
Close #9619
2021-03-08 13:02:34 +01:00
xomx 63760073ef
Update Czech translation to v7.9.4
Close #9610
2021-03-08 00:36:42 +01:00
Tmp341 c6088dbcdf
Update Turkish localization
* According to d6c9410, d5ad025, e26199a and 41c4180 commits.

Close #9531
2021-03-07 20:59:32 +01:00
Thomas De Rocker cc17f69a37
Update dutch.xml
Update Dutch translations according to 35584b379f and 6e43ba6ea5 (diff-a6ac7ceba70d88bf1547fd1defd760bd55052dcdb78c44f9d46d99ef1f450472)

Close #9541
2021-03-07 20:32:39 +01:00
Patriccollu 663b6471d1
Update Corsican translation for Notepad++ 7.9.4
Close #9571
2021-03-07 20:00:47 +01:00
~GOLEM~ e1df2ed032
Update russian.xml to v7.9.4
Close #9576
2021-03-07 19:55:21 +01:00
ArkadiuszMichalski 03332eca82
Update polish.xml to 7.9.4
Update polish.xml to 7.9.4 (according to the latest commit).

Close #9615
2021-03-07 19:52:26 +01:00
conky77 b4d8b1d5b0
Update Venetian.xml v7.9.4
Close #9614
2021-03-07 19:19:08 +01:00
Don HO 2e7c5e3e89
Update localization files 2021-03-07 17:34:10 +01:00
Don HO 68c537f697
Fix Find in Projects replace confirmation message localization problem 2021-03-07 17:05:02 +01:00
Udo Hoffmann a044cefe7c
Fix Project workspace changes lost on save cancel
Fix #9605, close #9609
2021-03-06 23:23:12 +01:00
Don HO 47ca5281fe
Revert "Improve high-dpi display"
This reverts commit 1364b199b4.

3 ways we can choose:
1. PerMonitorV2: it would be the ideal solution if there were no custom control in Notepad++ : some part of the custom controls like panels and Find dialog are not rendered properly in PerMonitorV2 mode.
2. PerMonitor: in v7.9.3 WM_DPICHANGED message was not processed and that makes Notepad++ unusable under a high resolution monitor.
3. Without "PerMonitor" feature: (as in v7.9.2), it will be a little bit blurry, but at least the system resizes all parts of application correctly

This commit revert the modification in v7.9.3 and go back to the way in v7.9.2 (Without "PerMonitor" feature).
It's not easy to solve this issue, all I can do is choose the "less worst" way, just like people in world-wide vote for choosing their political leader.

Fix #9513, fix #9579
2021-03-04 01:28:12 +01:00
Don HO 4b0010c4c3
Fix regression in "Find Result" field due to Scintilla upgrade
Fix #9595
2021-03-03 20:01:16 +01:00
Udo Hoffmann 5c884a80c6
Add "Find in Projects" features
Close #8125, close #9534
2021-02-27 23:58:17 +01:00
mere-human 91a570a305
Fix folder picker not displying as the given directory is invalid issue
Fix #9569, close #9570
2021-02-25 16:43:23 +01:00
mere-human 064d844a41
Fix handling of network path (UNC path) in CustomFileDialog
Use STL algorithms for path transformation.

Fix #9527, close #9551
2021-02-22 19:09:37 +01:00
QoL 26dad277c9
Fix shortcut name more than 64 characters makes an empty name issue
Fix #9556, close #9543
2021-02-22 05:05:41 +01:00
mere-human f96d81af11
Fix extension appending issue in file dialog
Fix #9510, close #9532
2021-02-22 03:58:30 +01:00
Udo Hoffmann 75bcb7c536
Fix file not turning dirty (with Session Manager plugin) issue
Fixes #9475, close #9498
2021-02-22 03:30:13 +01:00
Don HO d7819cf601
Upgrade Scintilla from v4.2.0 to v4.4.6
Close #8900, close #9550
2021-02-21 19:14:40 +01:00
Don HO dbac42edd0
Use unary operator '!' instead of "not" 2021-02-20 04:44:34 +01:00
Don HO 1eaaf45d87
Add needed space in "Window dialog"
Fix #9542
2021-02-20 03:44:37 +01:00
mere-human 35584b379f
Make tab splitter menu and incremental search translatable
Rename menu IDs in tab splitter to be in English.
Relocate some controls in incremental search dialog to ease translation.

Fix #8955, close #9496
2021-02-19 04:00:02 +01:00
mere-human 6e43ba6ea5
Add an option to mute all sounds in preferences dialog
Fix #7950, close #9507
2021-02-19 03:46:52 +01:00
Victor Istomin ea33a0cb76
Add JSON syntax highlightning to the Obsidian theme
Close #9503
2021-02-18 02:42:00 +01:00
Vince 69e6eb26a3
Make JSON auto-indent for brace
Fix #9499, close #9504
2021-02-18 02:33:13 +01:00
Don HO f576559eaa
Add some spiritual quotes 2021-02-16 03:05:29 +01:00
Don HO 16c8198915
Update Slovenian localization to v7.9.3 2021-02-15 21:08:19 +01:00
Don HO 994b10c18d Notepad++ 7.9.3 release 2021-02-15 01:43:19 +01:00
Don HO 949a777ee5
Fix the issue that zip/7z packages contain still GPL v2 2021-02-10 21:04:12 +01:00
Don HO 4b30d1b786
Fix typo in French localization file
Fix #9492
2021-02-10 18:49:07 +01:00
Don HO 3419a749d9 Change Notepad++ binary description
https://community.notepad-plus-plus.org/topic/20678/gnu-source-code-editor-error-on-close?_=1612738141494&lang=fr

Fix #9489
2021-02-07 23:24:25 +01:00
Don HO 5155dfed9d
Synchronize GUP localization file with Notepad++ in installer
During the installation, GUP localization file will be synchronized with Notepad++ chosen localization.
So updater will show the same installed language of Notepad++ in the dialogs if the language is avalable in GUP.
2021-02-07 00:15:51 +01:00
Don HO a4d7f77016
Fix regression of installer which cannot be launched
The regression is due to commit "Drop XP in installer" (ca1bcb1ec0).
2021-02-06 15:23:15 +01:00
Don HO 541b4d1c7a
Add new localization file abkhazian.xml 2021-02-05 15:53:07 +01:00
conky77 821e3edfb7
Update italian.xml v7.9.3
Close #9469
2021-01-30 19:48:34 +01:00
mere-human 5a45674c36
Fix miss-treating browsing folder as saving file issue in FileDialog
Improve file name parsing.
Use the absolute path to check if a file name is a directory.
Expand environment variables if they are part of the file name.
Avoid unnecessary calls to onPreFileOk().

Close #9467
2021-01-29 23:11:16 +01:00
Thomas De Rocker c677b15d82
Update dutch.xml
Close #9466
2021-01-29 20:18:39 +01:00
Artem Polivanchuk 5a77553631
Update ukrainian.xml
Close #9314
2021-01-28 20:34:40 +01:00
conky77 8e19014df7
Update venetian.xml
Close #9301
2021-01-28 20:30:46 +01:00
xomx a838607e2b
Update czech.xml to v7.9.3
Close #9391
2021-01-28 15:10:09 +01:00
yasmise ad3a86d60f
Update japanese.xml to v7.9.3
Follow up to these commits:
* Make find/replace in files progress translatable (d6c941034d)
* Improve option for setting save dialog filter to All Types (d5ad02521e)
* Make 1 section name of Preferences more explicit (e26199ab51)
* Make "Save Folder as Workspace" in Save Session dialog translatable (41c4180b2e)
* Fix spelling inconsistencies

Close #9376
2021-01-28 14:07:12 +01:00
kubalav e2d6cb2356
Update Slovak translation to 7.9.3
Close #9462
2021-01-28 13:36:46 +01:00
~GOLEM~ 5872d779df
Update russian.xml to 7.9.3
Close #9458
2021-01-28 05:06:12 +01:00
schnurlos 34e73c3f5b
Update german.xml v7.9.2
Following https://github.com/notepad-plus-plus/notepad-plus-plus/pull/9333

Close #9351
2021-01-28 03:04:44 +01:00
rddim 1916fba771
Update Bulgarian localization
Close #9369
2021-01-28 03:02:17 +01:00
Edditoria 27b68e06c3
Update localization: Hong Kong Cantonese
As at commit 41c4180 of this repo.

Close #9401
2021-01-28 02:59:47 +01:00
Patriccollu d773f4bb0b
Update Corsican translation for Notepad++ 7.9.3
Close #9424
2021-01-28 02:57:24 +01:00
ArkadiuszMichalski ec465516bf
Update polish.xml to v7.9.3
Update polish.xml to 7.9.3. Also include typo from https://github.com/notepad-plus-plus/notepad-plus-plus/pull/9405.

Close #9457
2021-01-28 02:53:44 +01:00
Don HO adce1a8ea3
Update localization files to v7.9.3 2021-01-27 18:50:28 +01:00
mere-human 3cf65ade81
Fix typo in ScitillaComponent directory name
Rename ScitillaComponent -> ScintillaComponent.
Git history should be kept because `git mv` was used.
Also change paths in source code.

This was noted in scope of #9403

Close #9450
2021-01-27 05:39:55 +01:00
mere-human aca37f150b
Remove localization of "Use new style dialog" with id="6430"
The option isn't available since FileDialog was removed.

For more context, see discussion in #9403 and #9374

Close #9449
2021-01-27 02:48:16 +01:00
mere-human e7079d57c6
Enhance FileDialog for allowing UNIX stile file path
And use modern CustomFileDialog istead of old FileDialog in Notepad++.

In the file dialog, override window procedure for "OK" button and
file name edit box to check for input.
Transform forward slash file name to a Window path after input.

Fix #9374, close #9403
2021-01-26 18:52:15 +01:00
Don HO ab5c1d3e2a
Upgrade Notepad++ License
Update GPL version from v2 to v3.

Fix #9425, close #9441
2021-01-24 01:51:19 +01:00
Udo Hoffmann fed1803c78
Fix Switch-To keyboard shortcuts cannot be used in context menu
Fix #943, close #9436
2021-01-22 14:08:36 +01:00
Don HO ca1bcb1ec0
Drop XP in installer 2021-01-22 04:35:56 +01:00
Udo Hoffmann 0004981ff7
Improve size calculation of value dialog
Fix #8443, close #9432
2021-01-21 16:17:43 +01:00
Pavel Nedev ce0012ab5c
Fix possible empty snapshot session on Windows reboot/shutdown
Save snapshot session immediately when needed (without incuring delay by using ::PostMessage).

Fix #7839 and latest user reported problems in #6133.
Close #9427
2021-01-20 19:25:16 +01:00
Don HO 3bf17ec697
Fix build error in MinGW
and fix a misuse of CopyFileEx function.
2021-01-20 04:55:42 +01:00
Don HO 051b17ca44
Enhance copy/move file Win32API functions to avoid system cach
Suggestion from:
https://github.com/d0vgan/nppexec/issues/29#issuecomment-761830889
2021-01-19 04:05:54 +01:00
Don HO 45912a3321
Drop Windows XP support for IFileDialogCustomize
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/9378
2021-01-19 03:03:56 +01:00
Scott Sumner b5ec511c38
Add ability to delete from Find combobox history
When any of the Find window comboboxes are dropped and an entry is highlighted, pressing the Delete key will remove the highlighted entry from the following comboboxes:

1. Find what combobox
2. Replace with combobox
3. Directory combobox
4. Filters combobox

No method is provided for clearing all entries at once, but as the "depth" of the comboboxes is limited to a small amount, clearing one entry at a time (when one wants to clear all) is not overly burdensome.

Fix #9366, close #9396
2021-01-18 02:52:00 +01:00
Scott Sumner 5003a45306
Make split-lines work with multi-edge rightmost specified edge
Implements a fix whereby the RIGHTMOST user specified value in the vertical edge box is the column to split by, e.g. 60 in the following example: [15, 40, 60]

If the contents of the box were instead [15, 60, 40], the split-by column would be 40, as that is the RIGHTMOST value.

Fix #8262, close #9387
2021-01-18 02:30:13 +01:00
Don HO a2ee3e6254
Fix a memory leak issue in NppParameters::writeSession
Solution: simplify the method NppParameters::getSessionFromXmlTree by removing unecessary variable member NppParameters::_pXmlSessionDoc.
2021-01-17 19:47:45 +01:00
Don HO 67234d2269
Fix dockable panels 0 width/height in multi-instance mode regression
Fix #9341, fix #9363
2021-01-15 22:19:02 +01:00
mere-human 41c4180b2e
Make "Save Folder as Workspace" in Save Session dialog translatable
Fix #9375, close #9383
2021-01-12 00:36:15 +01:00
Scott Sumner 1364b199b4
Improve high-dpi display
Fix #8115, close #9381
2021-01-11 23:26:18 +01:00
Don HO e26199ab51
Make 1 section name of Preferences more explicit. 2021-01-11 12:16:34 +01:00
Christian Grasser a55d46d170
Fix incompatible plugin not being deleted issue
Unload incompatible plugin before deleting it.

Fix #9377, close #9382
2021-01-11 04:58:15 +01:00
mere-human b58a5cc227
Use the mordern browse folder dialog to get folder path
Add new methods to CustomFileDialog:
- setTitle() sets the dialog title
- setFolder() sets an initial directory
- pickFolder() shows a file open dialog to select a folder

Use CustomFileDialog in folderBrowser().

Affected areas:
- Search > Find in Files
- File > Open Folder as Workspace
- Preferences > Default Directory
- Preferences > Backup > Custom Backup
- Preferences > Cloud & Link

Fix #8513, close #9378
2021-01-11 03:56:46 +01:00
Don HO 38f6319f4e
Fix "Print Line Number" preference is ignored for printing regression
Fix #9379
2021-01-10 04:07:13 +01:00
Scott Sumner d5ad02521e
Improve option for setting save dialog filter to All Types
Fix #9325, close #9328
2021-01-08 04:34:23 +01:00
mere-human b9f498f041
Add "save Folder as Workspace in session" option in save session dialog
Save FileBrowser root folders if it is visible.
When loading a session file (from menu or via the command line),
launch a FileBrowser from scratch and add folders from the file to it.
When loading an auto-saved session, ignore saved FileBrowser folders.

Store roots and selected item of FileBrowser in a Session class.

Add "FileBrowser" node to session XML.
It containts "latestSelectedItem" attribute and "root" child nodes.
This structure corresponds to the one from "config.xml".

Current save session behavior for Folder as Workspace (FaW) is like this:
1. FaW isn't opened, checkbox is greyed-out -> FaW info is not saved in session
2. FaW is opened, checkbox isn't checked -> FaW info isn't saved in session
3. FaW is opened, checkbox is checked -> FaW info is saved in session

Load session behavior:
1. FaW isn't open, session without FaW info -> FaW isn't shown after loading
2. FaW isn't open, session with FaW info -> FaW is shown after loading
3. FaW is open, session without FaW info -> FaW is kept as is without changes
4. FaW is open, session with FaW info -> FaW is shown with new directories from session

Fix #9165, close #9286
2021-01-08 00:02:52 +01:00