Commit Graph

138 Commits (0b41f4f5c8fce6ec8af88ded429cff590a2674ae)

Author SHA1 Message Date
Don Ho 6892bcbf3a Fix Inslaller bad checkbox display under high DPI (250%)
Close #11384
2022-03-14 12:50:57 +01:00
xomx c19033c917 Make the silent uninstall of N++ via 'winget' possible
Fix issue https://github.com/microsoft/winget-pkgs/issues/49601

Fix #11310, close #11316
2022-03-02 22:27:09 +01:00
Don Ho de43eca30e Exclude NppTaskList v2.3 and older versions only, crash fixed in 2.4
Exclude NppTaskList v2.3 (and older versions) only thanks to its update to v2.4:
a6596d99c9

Ref:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11243#issuecomment-1046072537
2022-02-19 20:02:06 +01:00
Don Ho 60df9e5f0a Exclude NppTaskList via installer due to crash issue on Npp x64
Fix #11243
2022-02-19 17:40:32 +01:00
Don Ho e1ccd98745 Remove old version of XMLTool via installer to prevent Notepad++ from crash
Add "removing old version (3.1.1.10) of XMLTool" entry in installer to prevent Notepad++ x64 from crash.
Its v3.1.1.12 or upper versions are allowed.

Fix #11236
2022-02-18 11:01:49 +01:00
Don HO 5c02505998 Notepad++ v8.3.1 release
Boycotting Beijing 2022 continues in this release
2022-02-15 16:32:03 +01:00
Don HO ae6361fa35 Notepad++ release v8.3 (Boycott Beijing 2022) 2022-02-03 23:35:12 +01:00
Don HO 1c6055ecf7 Better management for unstable plugin 2022-02-03 02:46:29 +01:00
Don HO bf82faea5e Adapt Installer script for the unstable plugins 2022-02-02 16:51:06 +01:00
Don HO 807271f989 Fix NSIS build error 2022-01-31 21:28:12 +01:00
Don Ho 720bb3f74b Remove unstable 64 bits plugins during the installation
Fix #11104
2022-01-31 05:03:18 +01:00
Don HO 36cbfb45cd Better clean on unstallation 2022-01-09 02:35:19 +01:00
Don HO 3c89b57167 Installation: Let users decide to keep or not HexEdit plugin
Fix #10828, close #10972
2021-12-31 23:59:59 +01:00
Don Ho 30c586d94c Fix wrong language name in installer 2021-12-23 15:49:48 +01:00
Don Ho acb8a9db47 Add logs for nul content corruption issue
These logs are written for debugging NUL file-corruption issue (#6133) and session lost issue (#10402) which are still problematic probably.
The writting log info will be triggered only when Windows notifies Notepad++ to end session.
The log file will be in "%APPDATA%\Notepad++\" or in Notepad++ installation folder if doLocalConf.xml is present.
To disable the log, just remove nppLogNulContentCorruptionIssue.xml.

Close #10871
2021-12-04 15:33:32 +01:00
Don Ho 1039c10bae Add lua function list into installer 2021-12-04 03:07:18 +01:00
Don HO eeaa4576f3 Add Auto-Updater icon
WinGup for Notepad++ has been added a customizable icon capacity:
728ac51975
An icon is added in the commit for Notepad++ updater.
2021-11-08 01:48:55 +01:00
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