diff --git a/Build/Changes.txt b/Build/Changes.txt index 58b97d163..97da83526 100644 --- a/Build/Changes.txt +++ b/Build/Changes.txt @@ -34,25 +34,32 @@ UCD - (UCD)ARDET is an Encoding Detector Library ======================================================== -Current BETA/RC Version 6.23.217.(build_#) (2023-02-17) +Current BETA/RC Version 6.23.220.(build_#) (2023-02-20) ======================================================== -------------------------------------------------------- NEW: -------------------------------------------------------- [.###.#]- . +[.220.1]- Add "np3encrypt" project to solution (cmd-ln tool). [.217.1]- Localization of the INNO Setup / Installer menus (SUP). -------------------------------------------------------- CHANGES: -------------------------------------------------------- [.###.#]- . +[.220.1]- AnalyzeConfidenceLevel at least 90%. +[.220.1]- Lexer TEXT using own Default settings (corresponding to ANSI Lexer). [.207.1]- Installer script resets "Theme files" only on user decision (SUP). -------------------------------------------------------- FIXES: -------------------------------------------------------- [.###.#]- . +[.220.1]- WSL2 simple path and NP3 otions given with slash. +[.220.1]- Representation of EOLs in case of GDI technology (use default). +[.220.1]- Find previous skips finding at begin. +[.220.1]- Use random IV for np3encrypt. [.217.2]- Encoding as "UTF-8 Signature" for Korean INNO Setup menus (SUP). [.207.1]- Line spacing in TEXT Lexer. [.204.1]- Don't force top-left if window does not fit to monitor. diff --git a/Build/make_portable(.zip).cmd b/Build/make_portable(.zip).cmd index acc254ee5..38b26acc4 100644 --- a/Build/make_portable(.zip).cmd +++ b/Build/make_portable(.zip).cmd @@ -34,9 +34,11 @@ SET TEMP_NAME="make_portable_temp" IF NOT EXIST "..\%INPUTDIRx86%\Notepad3.exe" CALL :SUBMSG "ERROR" "Compile Notepad3 x86 first!" IF NOT EXIST "..\%INPUTDIRx86%\minipath.exe" CALL :SUBMSG "ERROR" "Compile MiniPath x86 first!" IF NOT EXIST "..\%INPUTDIRx86%\grepWinNP3.exe" CALL :SUBMSG "ERROR" "Compile grepWinNP3 x86 first!" +IF NOT EXIST "..\%INPUTDIRx86%\np3encrypt.exe" CALL :SUBMSG "ERROR" "Compile np3encrypt x86 first!" IF NOT EXIST "..\%INPUTDIRx64%\Notepad3.exe" CALL :SUBMSG "ERROR" "Compile Notepad3 x64 first!" IF NOT EXIST "..\%INPUTDIRx64%\minipath.exe" CALL :SUBMSG "ERROR" "Compile MiniPath x64 first!" IF NOT EXIST "..\%INPUTDIRx64%\grepWinNP3.exe" CALL :SUBMSG "ERROR" "Compile grepWinNP3 x64 first!" +IF NOT EXIST "..\%INPUTDIRx64%\np3encrypt.exe" CALL :SUBMSG "ERROR" "Compile np3encrypt x64 first!" CALL :SubGetVersion CALL :SubDetectSevenzipPath @@ -90,7 +92,7 @@ IF NOT EXIST "%TEMP_NAME%" MD "%TEMP_NAME%" IF NOT EXIST "Packages" MD "Packages" FOR %%A IN ("..\License.txt" "..\Readme.txt" "..\grepWinNP3\grepWinLicense.txt" "Notepad3.ini" "minipath.ini"^ - "..\%1\Notepad3.exe" "..\%1\minipath.exe" "..\%1\grepWinNP3.exe") DO COPY /Y /V "%%A" "%TEMP_NAME%\" + "..\%1\Notepad3.exe" "..\%1\minipath.exe" "..\%1\grepWinNP3.exe" "..\%1\np3encrypt.exe") DO COPY /Y /V "%%A" "%TEMP_NAME%\" SET "LNG=%TEMP_NAME%\lng" SET "GRP=%TEMP_NAME%\lng\gwLng\" @@ -111,7 +113,7 @@ IF NOT EXIST "%FAVORITES%" MD "%FAVORITES%" PUSHD "%TEMP_NAME%" "%SEVENZIP%" a -tzip -mcu=on -mx=7^ "%ZIP_NAME%.zip" "License.txt" "Notepad3.exe" "Notepad3.ini" "grepWinLicense.txt" "Readme.txt"^ - "Favorites" "minipath.exe" "minipath.ini" "grepWinNP3.exe" "lng" "Themes" "Docs">NUL + "Favorites" "minipath.exe" "minipath.ini" "grepWinNP3.exe" "np3encrypt.exe" "lng" "Themes" "Docs">NUL IF %ERRORLEVEL% NEQ 0 CALL :SUBMSG "ERROR" "Compilation failed!" CALL :SUBMSG "INFO" "%ZIP_NAME%.zip created successfully!" diff --git a/Build/notepad3_x64_setup.iss b/Build/notepad3_x64_setup.iss index 98e604487..99a697836 100644 --- a/Build/notepad3_x64_setup.iss +++ b/Build/notepad3_x64_setup.iss @@ -24,6 +24,10 @@ #error Compile grepWinNP3 x64 first #endif +#ifnexist bindir + "\Release_x64_v143\np3encrypt.exe" + #error Compile np3encrypt x64 first +#endif + #define app_name "Notepad3" #define app_publisher "Rizonesoft" #define app_version GetVersionNumbersString(bindir + "\Release_x64_v143\Notepad3.exe") @@ -260,21 +264,21 @@ esm.tsk_LaunchWelcomePage=¡Información importante de lanzamiento! esm.tsk_RemoveOpenWith=Eliminar "Abrir con {#app_name}" del menú contextual esm.tsk_SetOpenWith=Añade "Abrir con {#app_name}" al menú contextual -fra.msg_DeleteSettings=Voulez-vous également supprimer les paramètres et les thèmes de {#app_name} ?%n%nSi vous prévoyez de réinstaller {#app_name}, vous n'avez pas à les supprimer. +fra.msg_DeleteSettings=Voulez-vous également supprimer tous les réglages et thèmes de {#app_name} ?%n%nSi vous comptez réinstaller {#app_name}, vous pouvez les garder. #if defined(sse_required) -fra.msg_simd_sse=Cette version de {#app_name} nécessite un CPU prenant en charge l'extension SSE.%n%nVotre CPU n'a pas ces fonctionnalités. +fra.msg_simd_sse=Cette édition de {#app_name} nécessite un CPU supportant l'extension SSE.%n%nVotre CPU ne dispose pas de ces capacités. #elif defined(sse2_required) -fra.msg_simd_sse2=Cette version de {#app_name} nécessite un CPU prenant en charge l'extension SSE2.%n%nVotre CPU n'a pas ces fonctionnalités. +fra.msg_simd_sse2=Cette édition de {#app_name} nécessite un CPU supportant l'extension SSE2.%n%nVotre CPU ne dispose pas de ces capacités. #endif fra.tsk_AllUsers=Pour tous les utilisateurs -fra.tsk_CurrentUser=Pour l'utilisateur actuel uniquement -fra.tsk_Other=Other tasks: -fra.tsk_ResetSettings=Réinitialiser les paramètres et les thèmes de {#app_name} -fra.tsk_RemoveDefault=Restaurer le Notepad Windows -fra.tsk_SetDefault=Remplacez le Notepad Windows par {#app_name} -fra.tsk_StartMenuIcon=Créer un raccourci au menu Démarrer -fra.tsk_LaunchWelcomePage=Informations importantes sur la version! -fra.tsk_RemoveOpenWith=Supprimer "Ouvrir avec {#app_name}" du menu contextuel +fra.tsk_CurrentUser=Uniquement pour l'utilisateur actuel +fra.tsk_Other=Autres tâches : +fra.tsk_ResetSettings=Rétablir les réglages et thèmes de {#app_name} +fra.tsk_RemoveDefault=Restaurer le Notepad de Windows +fra.tsk_SetDefault=Remplacer le Notepad de Windows par {#app_name} +fra.tsk_StartMenuIcon=Créer un raccourci dans le menu de démarrage +fra.tsk_LaunchWelcomePage=Information importante de publication ! +fra.tsk_RemoveOpenWith=Retirer "Ouvrir avec {#app_name}" du menu contextuel fra.tsk_SetOpenWith=Ajouter "Ouvrir avec {#app_name}" au menu contextuel hin.msg_DeleteSettings=Do you also want to delete {#app_name}'s settings and themes?%n%nIf you plan on installing {#app_name} again then you do not have to delete them. @@ -582,6 +586,7 @@ Name: "remove_openwith"; Description: "{cm:tsk_RemoveOpenWith}"; GroupDescriptio Source: "{#bindir}\Release_x64_v143\Notepad3.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "{#bindir}\Release_x64_v143\minipath.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "{#bindir}\Release_x64_v143\grepWinNP3.exe"; DestDir: "{app}"; Flags: ignoreversion +Source: "{#bindir}\Release_x64_v143\np3encrypt.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "..\License.txt"; DestDir: "{app}"; Flags: ignoreversion Source: "..\Readme.txt"; DestDir: "{app}"; Flags: ignoreversion Source: "..\grepWinNP3\grepWinLicense.txt"; DestDir: "{app}"; Flags: ignoreversion diff --git a/Build/notepad3_x86_setup.iss b/Build/notepad3_x86_setup.iss index ffa9ed5aa..09929ce51 100644 --- a/Build/notepad3_x86_setup.iss +++ b/Build/notepad3_x86_setup.iss @@ -24,6 +24,10 @@ #error Compile grepWinNP3 x86 first #endif +#ifnexist bindir + "\Release_x86_v143\np3encrypt.exe" + #error Compile np3encrypt x86 first +#endif + #define app_name "Notepad3" #define app_publisher "Rizonesoft" #define app_version GetVersionNumbersString(bindir + "\Release_x86_v143\Notepad3.exe") @@ -260,21 +264,21 @@ esm.tsk_LaunchWelcomePage=¡Información importante de lanzamiento! esm.tsk_RemoveOpenWith=Eliminar "Abrir con {#app_name}" del menú contextual esm.tsk_SetOpenWith=Añade "Abrir con {#app_name}" al menú contextual -fra.msg_DeleteSettings=Voulez-vous également supprimer les paramètres et les thèmes de {#app_name} ?%n%nSi vous prévoyez de réinstaller {#app_name}, vous n'avez pas à les supprimer. +fra.msg_DeleteSettings=Voulez-vous également supprimer tous les réglages et thèmes de {#app_name} ?%n%nSi vous comptez réinstaller {#app_name}, vous pouvez les garder. #if defined(sse_required) -fra.msg_simd_sse=Cette version de {#app_name} nécessite un CPU prenant en charge l'extension SSE.%n%nVotre CPU n'a pas ces fonctionnalités. +fra.msg_simd_sse=Cette édition de {#app_name} nécessite un CPU supportant l'extension SSE.%n%nVotre CPU ne dispose pas de ces capacités. #elif defined(sse2_required) -fra.msg_simd_sse2=Cette version de {#app_name} nécessite un CPU prenant en charge l'extension SSE2.%n%nVotre CPU n'a pas ces fonctionnalités. +fra.msg_simd_sse2=Cette édition de {#app_name} nécessite un CPU supportant l'extension SSE2.%n%nVotre CPU ne dispose pas de ces capacités. #endif fra.tsk_AllUsers=Pour tous les utilisateurs -fra.tsk_CurrentUser=Pour l'utilisateur actuel uniquement -fra.tsk_Other=Other tasks: -fra.tsk_ResetSettings=Réinitialiser les paramètres et les thèmes de {#app_name} -fra.tsk_RemoveDefault=Restaurer le Notepad Windows -fra.tsk_SetDefault=Remplacez le Notepad Windows par {#app_name} -fra.tsk_StartMenuIcon=Créer un raccourci au menu Démarrer -fra.tsk_LaunchWelcomePage=Informations importantes sur la version! -fra.tsk_RemoveOpenWith=Supprimer "Ouvrir avec {#app_name}" du menu contextuel +fra.tsk_CurrentUser=Uniquement pour l'utilisateur actuel +fra.tsk_Other=Autres tâches : +fra.tsk_ResetSettings=Rétablir les réglages et thèmes de {#app_name} +fra.tsk_RemoveDefault=Restaurer le Notepad de Windows +fra.tsk_SetDefault=Remplacer le Notepad de Windows par {#app_name} +fra.tsk_StartMenuIcon=Créer un raccourci dans le menu de démarrage +fra.tsk_LaunchWelcomePage=Information importante de publication ! +fra.tsk_RemoveOpenWith=Retirer "Ouvrir avec {#app_name}" du menu contextuel fra.tsk_SetOpenWith=Ajouter "Ouvrir avec {#app_name}" au menu contextuel hin.msg_DeleteSettings=Do you also want to delete {#app_name}'s settings and themes?%n%nIf you plan on installing {#app_name} again then you do not have to delete them. @@ -582,6 +586,7 @@ Name: "remove_openwith"; Description: "{cm:tsk_RemoveOpenWith}"; GroupDescriptio Source: "{#bindir}\Release_x86_v143\Notepad3.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "{#bindir}\Release_x86_v143\minipath.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "{#bindir}\Release_x86_v143\grepWinNP3.exe"; DestDir: "{app}"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v143\np3encrypt.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "..\License.txt"; DestDir: "{app}"; Flags: ignoreversion Source: "..\Readme.txt"; DestDir: "{app}"; Flags: ignoreversion Source: "..\grepWinNP3\grepWinLicense.txt"; DestDir: "{app}"; Flags: ignoreversion diff --git a/Readme.md b/Readme.md index 7a34931ac..79803c476 100644 --- a/Readme.md +++ b/Readme.md @@ -400,7 +400,7 @@ This parameter is not used at the moment. Encoding Detector information in Titlebar. This parameter is used to "debug" UCHARDET. -#### `AnalyzeReliableConfidenceLevel=75` +#### `AnalyzeReliableConfidenceLevel=90` Confidence/Reliability level for reliability switch in encoding dialog. diff --git a/np3portableapp/build_np3portableapp.cmd b/np3portableapp/build_np3portableapp.cmd index 903ecfeaf..91e40d7de 100644 --- a/np3portableapp/build_np3portableapp.cmd +++ b/np3portableapp/build_np3portableapp.cmd @@ -158,14 +158,16 @@ for /d %%d in (%NP3_LANGUAGE_SET%) do ( copy /B "%NP3_X64_DIR%\lng\np3lng.dll" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x64\lng\" /Y /V copy /B "%NP3_X64_DIR%\lng\mplng.dll" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x64\lng\" /Y /V -:: Copy all current "grepWinNP3" files +:: Copy all current "grepWinNP3" and "np3encrypt" files if not exist "%NP3_PORTAPP_DIR%\App\Notepad3\x86\lng\gwLng\" mkdir "%NP3_PORTAPP_DIR%\App\Notepad3\x86\lng\gwLng" copy /B "%NP3_WIN32_DIR%\lng\gwLng\*.lang" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x86\lng\gwLng\" /Y /V copy /B "%NP3_WIN32_DIR%\grepWinNP3.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x86\" /Y /V +copy /B "%NP3_WIN32_DIR%\np3encrypt.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x86\" /Y /V if not exist "%NP3_PORTAPP_DIR%\App\Notepad3\x64\lng\gwLng\" mkdir "%NP3_PORTAPP_DIR%\App\Notepad3\x64\lng\gwLng" copy /B "%NP3_X64_DIR%\lng\gwLng\*.lang" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x64\lng\gwLng\" /Y /V copy /B "%NP3_X64_DIR%\grepWinNP3.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x64\" /Y /V +copy /B "%NP3_X64_DIR%\np3encrypt.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x64\" /Y /V :: ---------------------------------------------------------------------------------------------------