Commit Graph

4196 Commits (686bf4fba1dab0f9a065466427c2051c695903e5)

Author SHA1 Message Date
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 9ca3c69354
Update .gitignore with MinGW build outputs
Close #9451
2021-01-27 15:04:50 +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
Don HO 7d105cb74b
Add guidelines for supporting legacy systems
Close #9423, close #9443
2021-01-27 04:52:18 +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
mere-human 477dd1dbb0
Update contribution rules related to PR
Clarify the information about creating a PR
and addressing the review comments.

Address comment discussion in #9286

Close #9400
2021-01-16 23:38:20 +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
Scott Sumner d6c941034d
Make find/replace in files progress translatable
Fix #9319, close #9356
2021-01-07 04:08:24 +01:00
Don HO 9f635b22af
Fix invalid XML file 2021-01-04 23:33:42 +01:00
Don HO cb3d328666
Fix invalid UTF-8 XML files 2021-01-04 20:02:23 +01:00
Don HO 52e8c68f90
Change XML encoding from Windows-1252 to UTF-8 (config.xml and others)
and add XML declaration for session.xml, shortcuts.xml & userDefineLang.xml for conforming to XML standard specs.

Regarding the suggestions from #9339
2021-01-04 15:02:09 +01:00
Christian Grasser e24ad94ddd
Move script validator_xml.py to "Test" folder
Fix #9330 part 2
Close #9345
2021-01-04 01:42:57 +01:00
Christian Grasser d17fa02a6f
Check XML validation in Notepad++ build system
1. Added xml syntax check via python script just for the win32 debug build because there already the functionlist check happens.
2. Fixed an issue found for perl.

Fix #9330, close #9339
2021-01-03 01:52:23 +01:00
Scott Sumner aca736b766
Fix logic bug in NPPM_SETLINENUMBERWIDTHMODE
Fix #9338, close #9340
2021-01-03 00:04:54 +01:00