Skip to content

Commit 1d5fb45

Browse files
authored
Merge pull request #5636 from RaiKoHoff/Dev_Master
fix: PortableApps Platform build should use PA's grepWinPortable
2 parents 4de38d4 + 944c436 commit 1d5fb45

17 files changed

Lines changed: 399 additions & 404 deletions

File tree

.gitignore

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,11 @@ Thumbs.db
5757
/np3portableapp/Signing*.txt
5858
/np3portableapp/Notepad3Portable*.7z
5959
/np3portableapp/Notepad3Portable*.exe
60-
#/np3portableapp/Notepad3Portable/Data
61-
#/np3portableapp/Notepad3Portable/Data
62-
#/np3portableapp/Notepad3Portable/App/AppInfo/appinfo.ini
63-
#/np3portableapp/Notepad3Portable/App/AppInfo/installer.ini
64-
#/np3portableapp/Notepad3Portable/App/DefaultData/settings
65-
#/np3portableapp/Notepad3Portable/App/Notepad3/Docs
6660
/np3portableapp/Notepad3Portable*.exe
6761
/np3portableapp/Notepad3Portable/Notepad3Portable*.exe
6862
/np3portableapp/Notepad3Portable/App/Notepad3/x64/*.exe
69-
/np3portableapp/Notepad3Portable/App/Notepad3/x64/grepWin
7063
/np3portableapp/Notepad3Portable/App/Notepad3/x64/lng
7164
/np3portableapp/Notepad3Portable/App/Notepad3/x86/*.exe
72-
/np3portableapp/Notepad3Portable/App/Notepad3/x86/grepWin
7365
/np3portableapp/Notepad3Portable/App/Notepad3/x86/lng
7466
#
7567

Build/Build_PortableApp.cmd

Lines changed: 0 additions & 8 deletions
This file was deleted.

Build/Notepad3.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
SettingsVersion=5
66
;AnalyzeReliableConfidenceLevel=50
77
[Settings2]
8+
;grepWin.exe=grepWinNP3.exe
89
;IMEInteraction=0
910
;DateTimeFormat= ;(-> <Locale dependent short format>)
1011
;DateTimeLongFormat= ;(-> <Locale dependent long format>)
@@ -14,7 +15,6 @@ SettingsVersion=5
1415
;DefaultExtension=txt
1516
;DenyVirtualSpaceAccess=0
1617
;filebrowser.exe=minipath.exe
17-
;grepWin.exe=grepWinNP3.exe
1818
;FileCheckInterval=2000 ;(min: 200[msec] - if equal or less, notify immediately)
1919
;FileWatchingMethod=0 ;(0=both[default], 1=poll-only, 2=push-only)
2020
;FileChangedIndicator=[@]

Build/Notepad3_pap.ini

Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,198 @@
1+
[Notepad3]
2+
;Notepad3.ini=%USERPROFILE%\Notepad3.ini
3+
;Notepad3.ini=%APPDATA%\Rizonesoft\Notepad3\Notepad3.ini
4+
[Settings]
5+
SettingsVersion=5
6+
;AnalyzeReliableConfidenceLevel=50
7+
[Settings2]
8+
grepWin.exe=%PORTABLEAPPS_DIR%\grepWinPortable\grepWinPortable.exe
9+
;IMEInteraction=0
10+
;DateTimeFormat= ;(-> <Locale dependent short format>)
11+
;DateTimeLongFormat= ;(-> <Locale dependent long format>)
12+
;TimeStampRegEx= ;(-> \$Date:[^\$]+\$ ) (Find-Pattern to Update Stamps)
13+
;TimeStampFormat= ;(-> $Date: %s $) {Print format should fit to TimeStampRegEx}
14+
;DefaultDirectory=
15+
;DefaultExtension=txt
16+
;DenyVirtualSpaceAccess=0
17+
;filebrowser.exe=minipath.exe
18+
;FileCheckInterval=2000 ;(min: 200[msec] - if equal or less, notify immediately)
19+
;FileWatchingMethod=0 ;(0=both[default], 1=poll-only, 2=push-only)
20+
;FileChangedIndicator=[@]
21+
;FileDeletedIndicator=[X]
22+
;FileDlgFilters=
23+
;FileLoadWarningMB=4
24+
;MultiFileArg=0
25+
;NoCGIGuess=0
26+
;NoCopyLineOnEmptySelection=0
27+
;NoCutLineOnEmptySelection=0
28+
;CopyMultiSelectionSeparator= ;(-> <use current EOL>) {use empty value for no separator}
29+
;NoFadeHidden=0
30+
;NoFileVariables=0
31+
;NoHTMLGuess=0
32+
;PortableMyDocs=1
33+
;OpacityLevel=75
34+
;FindReplaceOpacityLevel=50
35+
;RelativeFileMRU=1
36+
;ReuseWindow=0
37+
;SaveBlankNewFile=true
38+
;SciFontQuality=3
39+
;SimpleIndentGuides=0
40+
;SingleFileInstance=1
41+
;ShellAppUserModelID=Rizonesoft.Notepad3
42+
;ShellUseSystemMRU=1
43+
;StickyWindowPosition=0
44+
;SubWrappedLineSelectOnMarginClick=false
45+
;LaunchInstanceWndPosOffset=28
46+
;LaunchInstanceFullVisible=true
47+
;UseOldStyleBraceMatching=0
48+
;WebTemplate1=https://google.com/search?q=%s
49+
;WebTmpl1MenuName=Open Web Action 1
50+
;WebTemplate2=https://en.wikipedia.org/w/index.php?search=%s
51+
;WebTmpl2MenuName=Open Web Action 2
52+
;ExtendedWhiteSpaceChars=
53+
;AutoCompleteWordCharSet=
54+
;AutoCompleteFillUpChars=
55+
;LineCommentPostfixStrg=
56+
;UpdateDelayMarkAllOccurrences=50
57+
;CurrentLineHorizontalSlop=40
58+
;CurrentLineVerticalSlop=5
59+
;UndoTransactionTimeout=0 ;in [msec]
60+
;AdministrationTool.exe=
61+
;DevDebugMode=0
62+
;LocaleAnsiCodePageAnalysisBonus=33
63+
;UchardetLanguageFilter=31
64+
; Bitmask controlling which CJK charset probers are active in uchardet:
65+
; Bit 0 (0x01/1) = Chinese Simplified (GB18030)
66+
; Bit 1 (0x02/2) = Chinese Traditional (Big5, EUC-TW)
67+
; Bit 2 (0x04/4) = Japanese (Shift_JIS, EUC-JP)
68+
; Bit 3 (0x08/8) = Korean (EUC-KR)
69+
; Bit 4 (0x10/16) = Non-CJK (single-byte encodings)
70+
; Common values:
71+
; 31 = All probers (default)
72+
; 27 = Exclude Japanese (fix GB18030 misdetected as EUC-JP)
73+
; 17 = Chinese Simplified + Non-CJK only
74+
; 3 = Chinese only (simplified + traditional)
75+
;LexerSQLNumberSignAsComment=1
76+
;AtomicFileSave=true
77+
;ExitOnESCSkipLevel=2
78+
;ZoomTooltipTimeout=3200 ;in [msec]
79+
;WrapAroundTooltipTimeout=2000 ;in [msec]
80+
;LargeIconScalePrecent=150
81+
;DarkModeBkgColor=0x1F1F1F
82+
;DarkModeBtnFaceColor=0x333333
83+
;DarkModeTxtColor=0xEFEFEF
84+
;HyperlinkShellExURLWithApp=""
85+
;HyperlinkShellExURLCmdLnArgs="${URL}" ;(use ${URL} as place holder for clicked Hyperlink URL string)
86+
;HyperlinkFileProtocolVerb="" ;(ShellExecuteEx()::lpVerb (""=default, "edit", "explore", "find", "open", "print", "properties", "runas")
87+
;CodeFontPrefPrioList="Cascadia Code,Cascadia Mono,Cousine,Fira Code,Source Code Pro,Roboto Mono,DejaVu Sans Mono,Inconsolata,Consolas,Lucida Console"
88+
;TextFontPrefPrioList="Cascadia Mono,Cousine,Roboto Mono,DejaVu Sans Mono,Inconsolata,Consolas,Lucida Console"
89+
[Statusbar Settings]
90+
;VisibleSections=0 1 15 14 2 4 5 6 7 8 9 10 11
91+
;SectionPrefixes=Ln ,Col ,Sel ,Sb ,SLn ,Occ ,,,,,,,Ch ,Repl ,Eval ,U+,
92+
;SectionPostfixes=,,,,,,,,,,,,,,,,
93+
;SectionWidthSpecs=30 20 20 20 20 20 20 0 0 0 0 0 0 0 20 24
94+
;ZeroBasedColumnIndex=0
95+
;ZeroBasedCharacterCount=0
96+
[Toolbar Images]
97+
;BitmapDefault=<[<drive>:|relative_]\path_to>\Toolbar.bmp
98+
;BitmapHot=<[<drive>:|relative_]\path_to>\ToolbarHot.bmp
99+
;BitmapDisabled=<[<drive>:|relative_]\path_to>\ToolbarDisabled.bmp
100+
[Toolbar Labels]
101+
;01=New
102+
;02=Open
103+
;03=Browse
104+
;04=Save
105+
;05=Undo
106+
;06=Redo
107+
;07=Cut
108+
;08=Copy
109+
;09=Paste
110+
;10=Find
111+
;11=Replace
112+
;12=Word Wrap
113+
;13=Zoom In
114+
;14=Zoom Out
115+
;15=Scheme
116+
;16=Customize Schemes
117+
;17=Exit
118+
;18=Save As
119+
;19=Save Copy
120+
;20=Delete
121+
;21=Print
122+
;22=Favorites
123+
;23=Add to Favorites
124+
;24=Toggle Folds
125+
;25=Execute Document
126+
;26=Focused View
127+
;27=Monitoring Log
128+
;28=History
129+
;29=Always On Top
130+
;30=Search in Files
131+
;31=Reset Zoom
132+
;32=New Empty Window
133+
[Styles]
134+
[Window]
135+
;<ResX>x<ResY> DefaultWindowPosition=
136+
[Suppressed Messages]
137+
[Custom Colors]
138+
[Common Base]
139+
[2nd Common Base]
140+
[Text Files]
141+
[ANSI Art]
142+
[Apache Config Files]
143+
[Assembly Script]
144+
[AutoHotkey Script]
145+
[AutoIt3 Script]
146+
[AviSynth Script]
147+
[Awk Script]
148+
[Batch Files]
149+
[C# Source Code]
150+
[C/C++ Source Code]
151+
[Cmake Script]
152+
[Coffeescript]
153+
[Configuration Files]
154+
[CSS Style Sheets]
155+
[CSV Prism]
156+
[D Source Code]
157+
[Dart Source Code]
158+
[Diff Files]
159+
[Fortran Source Code]
160+
[Go Source Code]
161+
[Inno Setup Script]
162+
[Java Source Code]
163+
[JavaScript]
164+
[JSON]
165+
[Julia Script]
166+
[KiXtart Script]
167+
[Kotlin Source Code]
168+
[LaTeX Files]
169+
[Lua Script]
170+
[Makefiles]
171+
[Markdown]
172+
[MATLAB]
173+
[Nim Source Code]
174+
[NSIS Script]
175+
[Pascal Source Code]
176+
[Perl Script]
177+
[PowerShell Script]
178+
[Python Script]
179+
[Registry Files]
180+
[Resource Script]
181+
[R-S-SPlus Statistics Code]
182+
[Ruby Script]
183+
[Rust Source Code]
184+
[Shell Script]
185+
[SQL Query]
186+
[SystemVerilog HDVL]
187+
[Tcl Script]
188+
[TOML Config]
189+
[VBScript]
190+
[Verilog HDL]
191+
[VHDL]
192+
[Visual Basic]
193+
[Web Source Code]
194+
[XML Document]
195+
[YAML]
196+
[Recent Files]
197+
[Recent Find]
198+
[Recent Replace]

Build/make_portable_rel(.zip).cmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ SET TEMP_NAME="make_portable_temp"
3333

3434
IF NOT EXIST "..\%INPUTDIRx86%\Notepad3.exe" CALL :SUBMSG "ERROR" "Compile Notepad3 x86 first!"
3535
IF NOT EXIST "..\%INPUTDIRx86%\minipath.exe" CALL :SUBMSG "ERROR" "Compile MiniPath x86 first!"
36-
IF NOT EXIST "..\%INPUTDIRx86%\grepWinNP3.exe" CALL :SUBMSG "ERROR" "Compile grepWinNP3 x86 first!"
36+
::IF NOT EXIST "..\%INPUTDIRx86%\grepWinNP3.exe" CALL :SUBMSG "ERROR" "Compile grepWinNP3 x86 first!"
3737
IF NOT EXIST "..\%INPUTDIRx86%\np3encrypt.exe" CALL :SUBMSG "ERROR" "Compile np3encrypt x86 first!"
3838
IF NOT EXIST "..\%INPUTDIRx64%\Notepad3.exe" CALL :SUBMSG "ERROR" "Compile Notepad3 x64 first!"
3939
IF NOT EXIST "..\%INPUTDIRx64%\minipath.exe" CALL :SUBMSG "ERROR" "Compile MiniPath x64 first!"
40-
IF NOT EXIST "..\%INPUTDIRx64%\grepWinNP3.exe" CALL :SUBMSG "ERROR" "Compile grepWinNP3 x64 first!"
40+
::IF NOT EXIST "..\%INPUTDIRx64%\grepWinNP3.exe" CALL :SUBMSG "ERROR" "Compile grepWinNP3 x64 first!"
4141
IF NOT EXIST "..\%INPUTDIRx64%\np3encrypt.exe" CALL :SUBMSG "ERROR" "Compile np3encrypt x64 first!"
4242

4343
CALL :SubGetVersion
@@ -91,8 +91,8 @@ IF EXIST "%TEMP_NAME%" RD /S /Q "%TEMP_NAME%"
9191
IF NOT EXIST "%TEMP_NAME%" MD "%TEMP_NAME%"
9292
IF NOT EXIST "Packages" MD "Packages"
9393

94-
FOR %%A IN ("..\License.txt" "..\Readme.txt" "..\grepWinNP3\grepWinLicense.txt" "Notepad3.ini" "minipath.ini"^
95-
"..\%1\Notepad3.exe" "..\%1\minipath.exe" "..\%1\grepWinNP3.exe" "..\%1\np3encrypt.exe") DO COPY /Y /V "%%A" "%TEMP_NAME%\"
94+
FOR %%A IN ("..\License.txt" "..\Readme.txt" "Notepad3.ini" "minipath.ini"^
95+
"..\%1\Notepad3.exe" "..\%1\minipath.exe" "..\%1\np3encrypt.exe") DO COPY /Y /V "%%A" "%TEMP_NAME%\"
9696

9797
SET "LNG=%TEMP_NAME%\lng"
9898
SET "GRP=%TEMP_NAME%\lng\gwLng\"

0 commit comments

Comments
 (0)