[RELEASE] Notepad++ 5.9.1 release

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@768 f5eea248-9336-0410-98b8-ebc06183d4e3
remotes/trunk
Don Ho 14 years ago
parent c67a87bd96
commit cf11f87b77

@ -1,4 +1,11 @@
Notepad++ v5.9 new features and fixed bug (from v5.8.7) :
Notepad++ v5.9.1 new features and fixed bug (from v5.9):
1. Add Character Insertion Panel.
2. Add Clipboard History feature.
3. Add find characters in range feature.
Notepad++ v5.9 new features and fixed bug (from v5.8.7):
1. Update Scintilla from 2.21 to 2.25
2. New feature: Non-greedy regular expression (Scintilla).
@ -26,10 +33,9 @@ Included plugins (ANSI):
1. TextFX v0.25
2. NppExec v0.4.1
3. Spell Checker v1.3.3
4. MIME Tools v1.6
5. NppExport v0.2.8
6. Light Explorer v1.6
7. Compare Plugin 1.5.5
8. Plugin Manager 0.9.3.1
4. NppExport v0.2.8
5. Light Explorer v1.6
6. Compare Plugin 1.5.5
7. Plugin Manager 0.9.3.1

Binary file not shown.

@ -18,8 +18,8 @@
; Define the application name
!define APPNAME "Notepad++"
!define APPVERSION "5.91"
!define APPNAMEANDVERSION "Notepad++ v5.91"
!define APPVERSION "5.9.1"
!define APPNAMEANDVERSION "Notepad++ v5.9.1"
!define VERSION_MAJOR 5
!define VERSION_MINOR 91
@ -150,7 +150,7 @@ FunctionEnd
!insertmacro MUI_PAGE_LICENSE "..\license.txt"
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_COMPONENTS
;page Custom ChooserIcon
page Custom ExtraOptions
!insertmacro MUI_PAGE_INSTFILES
@ -226,6 +226,50 @@ FunctionEnd
!insertmacro MUI_RESERVEFILE_LANGDLL
;Installer Functions
Var Dialog
Var NoUserDataCheckboxHandle
Var OldIconCheckboxHandle
Var ShortcutCheckboxHandle
Function ExtraOptions
nsDialogs::Create 1018
Pop $Dialog
${If} $Dialog == error
Abort
${EndIf}
${NSD_CreateCheckbox} 0 20 100% 30u "Don't use %APPDATA%$\nEnable this option to make Notepad++ load/write the configuration files from/to its install directory. Check it if you use Notepad++ in an USB device."
Pop $NoUserDataCheckboxHandle
${NSD_OnClick} $NoUserDataCheckboxHandle OnChange_NoUserDataCheckBox
${NSD_CreateCheckbox} 0 80 100% 30u "Create Shortcut on Desktop"
Pop $ShortcutCheckboxHandle
${NSD_OnClick} $ShortcutCheckboxHandle ShortcutOnChange_OldIconCheckBox
${NSD_CreateCheckbox} 0 140 100% 30u "Use the old, obsolete and monstrous icon$\nI won't blame you if you want to get the old icon back :)"
Pop $OldIconCheckboxHandle
${NSD_OnClick} $OldIconCheckboxHandle OnChange_OldIconCheckBox
nsDialogs::Show
FunctionEnd
Var noUserDataChecked
Var isOldIconChecked
Var createShortcutChecked
; The definition of "OnChange" event for checkbox
Function OnChange_NoUserDataCheckBox
${NSD_GetState} $NoUserDataCheckboxHandle $noUserDataChecked
FunctionEnd
Function OnChange_OldIconCheckBox
${NSD_GetState} $OldIconCheckboxHandle $isOldIconChecked
FunctionEnd
Function ShortcutOnChange_OldIconCheckBox
${NSD_GetState} $ShortcutCheckboxHandle $createShortcutChecked
FunctionEnd
Function .onInit
@ -259,11 +303,6 @@ Function .onInit
FunctionEnd
/*
Function ChooserIcon
FunctionEnd
*/
LangString langFileName ${LANG_ENGLISH} "english.xml"
LangString langFileName ${LANG_FRENCH} "french.xml"
@ -314,7 +353,7 @@ LangString langFileName ${LANG_MACEDONIAN} "macedonian.xml"
LangString langFileName ${LANG_LATVIAN} "Latvian.xml"
LangString langFileName ${LANG_BOSNIAN} "bosnian.xml"
/*
;--------------------------------
;Variables
Var IS_LOCAL
@ -323,7 +362,7 @@ LangString langFileName ${LANG_BOSNIAN} "bosnian.xml"
Section /o "Don't use %APPDATA%" makeLocal
StrCpy $IS_LOCAL "1"
SectionEnd
*/
Var UPDATE_PATH
@ -334,16 +373,20 @@ Section -"Notepad++" mainSection
StrCpy $UPDATE_PATH $INSTDIR
;SetOutPath "$TEMP\"
File /oname=$TEMP\xmlUpdater.exe ".\bin\xmlUpdater.exe"
SetOutPath "$INSTDIR\"
/*
; if isLocal -> copy file "doLocalConf.xml"
StrCmp $IS_LOCAL "1" 0 IS_NOT_LOCAL
File "..\bin\doLocalConf.xml"
goto GLOBAL_INST
*/
${If} $noUserDataChecked == ${BST_CHECKED}
goto IS_NOT_LOCAL
${ELSE}
goto GLOBAL_INST
${EndIf}
IS_NOT_LOCAL:
IfFileExists $INSTDIR\doLocalConf.xml 0 +2
Delete $INSTDIR\doLocalConf.xml
@ -527,6 +570,17 @@ GLOBAL_INST:
CreateShortCut "$SMPROGRAMS\Notepad++\Notepad++.lnk" "$INSTDIR\notepad++.exe"
SetShellVarContext current
${If} $createShortcutChecked == ${BST_CHECKED}
CreateShortCut "$DESKTOP\Notepad++.lnk" "$INSTDIR\notepad++.exe"
${EndIf}
${If} $isOldIconChecked == ${BST_CHECKED}
SetOutPath "$TEMP\"
File "..\misc\vistaIconTool\changeIcon.exe"
File "..\src\icons\npp.ico"
nsExec::ExecToStack '"$TEMP\changeIcon.exe" "$TEMP\npp.ico" "$INSTDIR\notepad++.exe" 100 1033'
${EndIf}
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\notepad++.exe" "" "$INSTDIR\notepad++.exe"
SectionEnd
@ -1014,17 +1068,17 @@ Section "User Manual" UserManual
File /r "..\bin\user.manual\"
SectionEnd
/*
Section /o "Create Shortcut on Desktop"
Section /o "Create Shortcut on Desktop" shortcutOnDesktop
CreateShortCut "$DESKTOP\Notepad++.lnk" "$INSTDIR\notepad++.exe"
SectionEnd
Section /o "Use the old application icon" getOldIcon
SetOutPath "$TEMP\"
File "..\misc\vistaIconTool\changeIcon.exe"
File "..\src\icons\npp.ico"
nsExec::ExecToStack '"$TEMP\changeIcon.exe" "$TEMP\npp.ico" "$INSTDIR\notepad++.exe" 100 1033'
SectionEnd
*/
;--------------------------------
;Descriptions
@ -1033,7 +1087,7 @@ SectionEnd
;Assign language strings to sections
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${makeLocal} 'Enable this option to make Notepad++ load/write the configuration files from/to its install directory. Check it if you use Notepad++ in an USB device.'
;!insertmacro MUI_DESCRIPTION_TEXT ${makeLocal} 'Enable this option to make Notepad++ load/write the configuration files from/to its install directory. Check it if you use Notepad++ in an USB device.'
!insertmacro MUI_DESCRIPTION_TEXT ${explorerContextMenu} 'Explorer context menu entry for Notepad++ : Open whatever you want in Notepad++ from Windows Explorer.'
!insertmacro MUI_DESCRIPTION_TEXT ${autoCompletionComponent} 'Install the API files you need for the auto-completion feature (Ctrl+Space).'
!insertmacro MUI_DESCRIPTION_TEXT ${Plugins} 'You may need those plugins to extend the capacity of Notepad++.'
@ -1041,8 +1095,8 @@ SectionEnd
!insertmacro MUI_DESCRIPTION_TEXT ${htmlViewer} 'Open the html file in Notepad++ while you choose <view source> from IE.'
!insertmacro MUI_DESCRIPTION_TEXT ${AutoUpdater} 'Keep your Notepad++ update: Check this option to install an update module which searches Notepad++ update on Internet and install it for you.'
!insertmacro MUI_DESCRIPTION_TEXT ${UserManual} 'Here you can get all the secrets of Notepad++.'
!insertmacro MUI_DESCRIPTION_TEXT ${shortcutOnDesktop} 'Check this option to add Notepad++ shortcut on your desktop.'
!insertmacro MUI_DESCRIPTION_TEXT ${getOldIcon} "I won't blame you if you want to get the old icon back."
;!insertmacro MUI_DESCRIPTION_TEXT ${shortcutOnDesktop} 'Check this option to add Notepad++ shortcut on your desktop.'
;!insertmacro MUI_DESCRIPTION_TEXT ${getOldIcon} "I won't blame you if you want to get the old icon back."
!insertmacro MUI_FUNCTION_DESCRIPTION_END
;--------------------------------

@ -18,11 +18,11 @@ rem Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
echo on
rmdir /F /Q .\build
rmdir /S /Q .\build
mkdir .\build
rem Notepad++ minimalist package
rmdir /F /S /Q .\minimalist
rmdir /S /Q .\minimalist
mkdir .\minimalist
copy /Y ..\bin\license.txt .\minimalist\
@ -50,7 +50,7 @@ If ErrorLevel 1 PAUSE
rem Notepad++ Unicode package
rmdir /F /S /Q .\zipped.package.release
rmdir /S /Q .\zipped.package.release
mkdir .\zipped.package.release
mkdir .\zipped.package.release\unicode

Loading…
Cancel
Save