172 Commits

Author SHA1 Message Date
Don HO
df87c76724 Fix "Edit with Notepad++" not removed by uninstaller regression (from v8.8.3)
The regression was introduced by:
889efad2e8 (commitcomment-161831592)

Fix #16896
2025-08-05 18:19:06 +02:00
Maverick Doan
889efad2e8 Fix uninstaller security issue (CVE-2025-49144)
Fix #16787, close #16788
2025-07-03 18:49:12 +02:00
Don Ho
f2346ea00d Code enhancement: Use the absolute path instead of an unspecified path 2025-06-21 18:35:36 +02:00
xomx
bc99de07bb Add update Notepad++ on exit feature
And add `/relaunchNppAfterSilentInstall` into installer (ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/15280#issuecomment-2246816010)

Fix #16601, fix #13749, fix #10317, fix #8495, fix #8457, fix #3755, close #16626
2025-06-21 16:38:57 +02:00
Don Ho
4f649d24dd Use only toolbarButtonsConf.xml for toolbar buttons/icons customization
Merge toolbarIcons.xml into toolbarButtonsConf.xml for toolbar buttons/icons customization and remove toolbarIcons.xml.

Fix #16402, close #16407
2025-04-11 16:32:10 +02:00
Don Ho
99d3f86d8b Fix irish.xml copy error in installer 2025-03-02 14:51:52 +01:00
xomx
bb0ed32d40 Fix installer silent mode doLocalConf.xml setting handling issue
Fix #16233, close #16234
2025-02-27 17:08:03 +01:00
Don Ho
3d4a53adb4 Add the ability to hide selected toolbar buttons via a XML conf file
Usage:
Move & rename toolbarButtonsConf_example.xml to %APPDATA%\Notepad++\toolbarButtonsConf.xml, modify the XML file content & save it in your favorite editor (Notepad++, whatelse? ;) ), then relaunch Notepad++.

This PR simplies largely the logic of PR #15999 to make the code maintainable.

Fix #15106, fix #15440, fix #16000, close #16216
2025-02-22 20:31:05 +01:00
PeterCJ
4f295de864 Adds SAS programming language support
Enable Sctintilla's SAS lexer, populate langs.model, stylers.model, and themes.
(includes keyword lists from UDLs, notepad4, and SAS documentation)

Fix #16148, close #16183
2025-02-16 15:45:47 +01:00
Christian Grasser
d6a32d2f0c Added Visual Basic function list + unittest case
Fix #3239, close #15953
2024-12-18 02:28:24 +01:00
xomx
4972dcf4b3 Add "Show details" functionality in installer
Fix #15718, close #15719
2024-12-07 16:07:32 +01:00
Christian Grasser
a13d4637bf Add simple version of tex/latex function list
Close #15595
2024-09-04 03:17:54 +02:00
xomx
83f1195bc1 Add installer new option '/closeRunningNpp'
New Notepad++ NSIS installer cmdline option.

If specified on the cmdline, it first tries to use the usual app-closing by sending the WM_CLOSE message to the running Notepad++.
If that standard closing fails, it uses consequently the forceful TerminateProcess WINAPI way.

Partially fix the #8514, followup of the #14251.

Close #15230
2024-06-09 21:19:42 +02:00
Christian Grasser
973fb36044 Add auto-completion for Go & Raku, function list for Raku
- added autoCompletion for Go and Raku to installer script.
- added function list for Raku as starting point, currently just an adapted copy of the perl functionlist.

Related to #15000 and #14966

Close #15128
2024-05-12 01:30:49 +02:00
xomx
64e95cc61c fix unwanted Afrikaans installer language
A minimalist variant of the previous PR.

Fix #3844, fix #7574, close #14224
2023-10-10 17:25:09 +02:00
Anders
8250a81d6e Fix tabContextMenu_example.xml not being deleted while uninstallation
Correctly delete tabContextMenu_example.xml in the users profile.

Fix #13670, close #13654
2023-05-19 05:43:52 +02:00
Anders
571c815b1e Fix error message on uninstallation
Only call CleanupDll if the DLL exists.

close #13653
2023-05-17 18:42:04 +02:00
Andreas Falkenhahn
de618df55f Add Hollywood function list into installer
Close #13547
2023-04-19 15:22:07 +02:00
Don Ho
6d917af8ba Fix installer fails to update NppShell.dll
Fix #13496
2023-04-12 00:00:02 +02:00
Don Ho
0dff45568b Make uninstaller clean up better 2023-04-03 23:40:31 +02:00
Don Ho
e28db05754 Fix "Edit with Notepad++" context menu needs restarting OS issue
Fix context menu disappears issue while update.

It works with https://github.com/notepad-plus-plus/nppShell/pull/14 to fix
https://github.com/notepad-plus-plus/nppShell/issues/13

It fixes also the added dependency of the service "Application Information".

Fix #13446, fix #13457
2023-04-01 23:59:38 +02:00
Bjarke Istrup Pedersen
2bcc32cb99 Cleanup old NppShell & adapt the new one in installer
Close #13411
2023-03-30 15:10:32 +02:00
Don Ho
9c15bdc236 Fix unregister modern context menu syntax error and remove concerning binaries during uninstallation 2023-03-20 00:37:44 +01:00
Bjarke Istrup Pedersen
e849406806 Fix cleanup jobs problem for context menus in uninstaller
Close #13373
2023-03-19 21:00:38 +01:00
Don Ho
5645ca150b Integrer new Windows 11 Explorer Context Menu Entry "Edit with Notepad++" 2023-03-17 00:45:06 +01:00
zeltop
816fa3e414 Add GDScript language
Adds GDScript language support, autocomplete file, functionlist, default and dark themes.

Fix #13329, close #13335
2023-03-14 23:45:57 +01:00
Don Ho
a0031159cd Add new explorer context menu entry "Edit with Notepad++" for W11
Windows 11 has its new interface for its explorer context menu. It makes the old "Edit with Notepad++" command hardly accessible. This commit improves the accessibility and also fix issue of run as an administrator (Properties set in Compatibility) in the new context menu command.
It fixes also the context menu command issue under ARM64 architecture (fixed only under Windows 11).

The localization of "Edit with Notepad++" is also possible in this commit.

Note that if the command place of "Edit with Notepad++" context menu command is taken by other application ("\HKEY_CLASSES_ROOT*\shell\pintohome"), the new context menu "Edit with Notepad++" won't be installed. User should install it him/herself.

Fix #10320, fix #10565, fix #4368, fix #8786, fix #10320, fix #10640, fix #10856, fix #10653, fix #7747, fix #6169, fix #92, close #13170
2023-02-23 15:17:46 +01:00
ArkadiuszMichalski
1d6fe3ff42 [xml][force compile] Add toolbarIcons.xml to the build process
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12682#issuecomment-1365151173

Close #12712
2022-12-27 19:20:06 +01:00
Don Ho
11f7ba2e0a Fix a typo 2022-12-22 00:12:19 +01:00
Don Ho
529693a559 Add forgotten files into the binary packages 2022-12-21 23:52:53 +01:00
Don Ho
58416114da Add tabContextMenu_example.xml into binary packages 2022-12-19 03:34:24 +01:00
xomx
1be0044663 Installer enhancement: prevent arm64 installer from installing on non ARM64 system
Fix #12320, close #12331
2022-10-16 01:38:30 +02:00
xomx
a6a1442bab Installer enhancement: remember "Don't use_%APPDATA%" option
Added detection of the "doLocalConf.xml" trigger-file from the previous installation.

Fix #12202, close #12326
2022-10-15 23:38:50 +02:00
Don Ho
e8ed195aac Exclude an unstable version of one plugin from the installer
Ref:
https://community.notepad-plus-plus.org/topic/23100/notepad-8-4-2-64-bit-suddenly-closes-for-no-reason
2022-06-27 22:23:30 +02:00
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