Commit Graph

121 Commits (7a6eb0da374d0520b6ef94f46a090424db2564bc)

Author SHA1 Message Date
Don HO 92b45d48c7 Include TypeScript files into installer
Include TypeScript auto-completion file & function list file into installer.
2021-08-15 12:02:45 +02:00
Don Ho 686bf4fba1 Fix security flaw issue
There's a security flaw for the un-installation of Notepad++ in Windows Register, the string without quotes:
C:\Program Files\Notepad++\uninstall.exe, whereas it should be "C:\Program Files\Notepad++\uninstall.exe".
The reason is, hacker can create a file called c:\program.exe, then Windows could interpret Files\Notepad++\uninstall.exe as the argument, so the system could run c:\program.exe. Ref:
https://isc.sans.edu/diary/Help+eliminate+unquoted+path+vulnerabilities/14464

Fixed by @ozone10:

Fix #10191, fix #6165, close #10369
2021-08-13 13:49:40 +02:00
Don Ho 4cc3d9fd1a Add Markdown UDL of dark mode in release packages
Add Markdown UDL of dark mode and the ability to apply it:
After dark mode being swiched in, all files with extension .md will be opened by applying Markdown UDL of dark mode.
When light mode is switched back, the default Markdown UDL (of light mode) will be applied to the new opened .md file.
Please note that all .md files opened before switching to new mode, will remain in the previous mode. User has to close and reopen these files to have the right Markdown UDL applied.

Fix #10196, close #10347
2021-08-08 03:22:15 +02:00
Don Ho 3347044595 Fix edit zone not being applied to dark mode issue
Problem:
After installing Notepad++ v8.1 under an user account (with admin privilege), then switch to another user account (with or without admin privilege), launch Notepad++ and turn dark mode on. The dark theme on edit zone won't be applied.

Solution:
Notepad++ installer copies all theme files in installed directory instead of "%APPDATA%\Notepad++\themes\".
When theme is choosen or modified, it'll be saved in "%APPDATA%\Notepad++\themes\", and the saved theme file will override the original theme in installation directory.

New behaviour of theme:
Any theme selected via Style Configurator will be copied from its installation directory (C:\Program Files\Notepad++\themes\) into "%APPDATA%\Notepad++\themes\".
If the theme exists in "%APPDATA%\Notepad++\themes", the original one in s installation directory (C:\Program Files\Notepad++\themes) will be ignored.

Fix #10076, close #10077
2021-06-27 16:42:01 +02:00
Don HO 219dfda6b3 Remove HexEdit via installer due to its crash
Ref: https://github.com/chcg/NPP_HexEdit/issues/51
2021-05-30 11:51:25 +02:00
Don HO 6d25b8b908 Add DarkModeDefault.xml into installation package 2021-05-18 19:09:04 +02:00
Don HO 266ca29861 Add ARM64 packages for the official distribution 2021-04-21 20:42:01 +02:00
Don HO 6e7b47faf8 Fix typo in installer for Fortran 2021-04-21 06:28:18 +02:00
Don HO b09fb1e719 Remove SciLexer.dll from the packaging 2021-04-17 17:32:52 +02:00
Christian Grasser 4cdd96f020 Add ada, fortran, fortran77 & haskell in function lists
- added missing unittest for c
- added further function lists for ada, fortran, fortran77, haskell from previous PR of MAPJe71_functionlist_update3
- added simple rust function list
- unittest files from the internet probably no complex ones
- added to installer

Fix #9698, close #3393, close #9727
2021-04-03 15:45:51 +02:00
Simon Sobisch da61b1d949 Add an option in installer to install COBOL autocomplete
follow-up to adae1922cf

Close #9672
2021-03-27 03:43:40 +01:00
Don HO 633dcbad5e Fix installer error if problematic plugin is absent 2021-03-22 03:27:44 +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 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
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
Don HO ca1bcb1ec0
Drop XP in installer 2021-01-22 04:35:56 +01:00
Don HO a68805b7ff
Make user defined overrideMap.xml not overridable during installation
Fix https://community.notepad-plus-plus.org/topic/20534/notepad-v7-9-2-release-candidate-2/4?_=1609416552124
2020-12-31 20:16:00 +01:00
Don HO 0472052f8e
Make installer override all the function list files on the installation 2020-12-31 03:50:56 +01:00
Don HO 814e6591b5
Fix function list is empty with new user profile issue
The new behaviour of loading function list will be:

1. For the installer package:
Try to load from %APPDATA%\Notepad++\functionList\, if it failed, then load from %PROGRAMFILES%\Notepad++\functionList\.
In this way, users can override function list in %APPDATA%\Notepad++\functionList\ manually. Otherwise, function list won't be empty.

2. For the portable package:
  - with doLocalConf.xml : Load always from <Notepad++ Dir>\functionList\
  - without doLocalConf.xml : Try to load from %APPDATA%\Notepad++\functionList\, if it failed, then load from <Notepad++ Dir>\functionList\

Fix #9134
2020-11-27 03:54:37 +01:00
Don HO e97ee70c02
Remove old markdown UDL 2020-10-24 21:12:19 +02:00
Edditoria c2159afa9d
Update markdown UDL XML file
The XML file is updated from v2.x to v3.2.0
in the commit: Edditoria/markdown-plus-plus@c137918

Also rename it shorter and starting with "m".
So users can sort their UDL file-list in tidy.

Close #9058
2020-10-24 19:47:50 +02:00
Don HO c0c070abaf
Split functionList.xml into multifile in "functionList" Folder
New "functionList" will be added beside of notepad++.exe or "%APPDATA%\Notepad++\", according the installation mode. If the portable package is used, after removing "doLocalConf.xml", the "functionList" folder should be copied manually from Notepad++ installed directory to "%APPDATA%\Notepad++\" to make function list work again.

All splited files are localized in this folder with the explicit language name.

"overrideMap.xml" is optional for overriding the default functionList parse rule files, and for adding UDL parse rule files.

Close #4896
2020-10-21 18:05:08 +02:00
Don HO 8c219896c5
Add Hongkonger localization into installer 2020-10-21 00:28:32 +02:00
Don HO 47bb08ee6c Add Irish localization 2020-08-16 15:23:33 +02:00
Don HO e9e9e8daa9
Remove Irish translation due to its bad quality
Please check:
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/8273
2020-05-26 18:53:30 +02:00
Don HO 920fc5c3d3
Add a new theme in installer 2020-05-14 01:06:14 +02:00
Don HO d05bf63840
Add Nepali localization 2020-04-29 02:34:27 +02:00
Don HO bf2cd8e05a
Changes localization file name "chinese.xml" to "taiwaneseMandarin.xml"
Saying Taiwan is part of China is like saying Java is part of JavaScript.
2020-04-09 00:11:11 +02:00
Don HO 5c069cfa24
Add Irish localization file 2020-01-31 03:13:36 +01:00
conky77 30bf629858 Add Venetian localization
Close #7770
2020-01-08 10:08:16 +01:00
Don HO b96f91c39a
Fix x64 installer option issue
x64 installer set installation path in "C:/Program Files/Notepad++/" but "don't use %APPDATA%" is enabled.
This commit fix this issue (make it disabled)

Fix #6243
2019-10-21 20:21:05 +02:00
Don HO 7651d703a9 Fix include new release files problem 2019-10-02 03:36:26 +02:00
Don HO 21939308b0
Add NppExport 64 bits plugin in the distribution
Close #5944
2019-07-23 21:37:49 +02:00
Rajendra Singh a660c60d21
Delete autoCompletion folder on uninstall correctely
Close #5422
2019-03-24 14:47:08 +01:00
Rajendra Singh 3939551280
Add Hindi support for installer.
Close #5433
2019-03-21 22:51:01 +01:00
Don HO 103409464d Remove DSpellCheck due to some performance issues 2019-03-05 02:33:34 +01:00
Don HO 496e93e1b0 Minor change for the installation 2019-03-03 03:29:55 +01:00
Don HO dcd3942362 Fix Markdown not working in installer package of v7.6.3
and add Markdown in zip packages
2019-03-03 03:12:27 +01:00
Rajendra Singh ea08e037d2 Remove autocomplete directory on uninstall
Close #5277
2019-03-02 17:47:47 +01:00
Don HO e5108cc0ea Add Markdown language.
via User Defined Language.
Markdown++: https://github.com/Edditoria/markdown-plus-plus

Included only for Installer.
2019-01-27 02:53:02 +01:00
Don HO 9fecbae030 Move plugins home from %ProgramData% to %ProgramFiles% for the sake of security
Whole specs here:
https://notepad-plus-plus.org/community/topic/16996/new-plugins-home-round-2
2019-01-25 02:10:11 +01:00
rra0137 b1285e7b1e Add Zulu localization
Close #5160
2018-12-29 12:40:35 +01:00
Don HO 589e21151d Change the access right of folders via installer
%PROGRAMDATA%\Notepad++\plugins\ will be restricted
%PROGRAMDATA%\Notepad++\plugins\Config\ will has full access
2018-12-25 19:25:38 +01:00
Don HO 62bfef46ef Remove unused "plugins\disabled" folder 2018-12-24 02:49:30 +01:00
Don HO a76843cf65 Remove auto-completion files from the old location while update 2018-12-23 15:02:50 +01:00
Don HO d6f5b7b13a Change folder location of auto-completion
from "<NPP_INST>\plugins\APIs\" to "<NPP_INST>\autoCompletion\"
2018-12-23 04:27:56 +01:00
Don HO b709bc9f1b Fix installer's plugins copy issue under Linux (by using WINE) 2018-12-11 18:50:57 +01:00
Don HO 03daf5559e Make installer more coherent for the option doLocalConf.xml
If the install path is under %PROGRAMFILE% then option to copy doLocalConf.xml will be unchecked and disabled.
2018-12-08 17:33:03 +01:00