Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bootstrap/scripts/4-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ ${VM} "${COMPILER_IMAGE_NAME}.image" perform --save PharoBootstrapFixMethodsTool

# Installing compiler through Hermes
echo $(date -u) "[Compiler] Installing compiler through Hermes"
${VM} "${COMPILER_IMAGE_NAME}.image" loadHermes UIManager.hermes Debugging-Utils.hermes OpalCompiler-Core.hermes ParseTreeRewriter.hermes Deprecation.hermes DebugInfo.hermes CodeImport.hermes CodeImport-Commands.hermes --save --no-fail-on-undeclared
${VM} "${COMPILER_IMAGE_NAME}.image" loadHermes Debugging-Utils.hermes OpalCompiler-Core.hermes ParseTreeRewriter.hermes Deprecation.hermes DebugInfo.hermes CodeImport.hermes CodeImport-Commands.hermes --save --no-fail-on-undeclared
${VM} "${COMPILER_IMAGE_NAME}.image" eval --save "SystemEnvironment deprecatedAliases: { #SystemDictionary }." # This line should be removed in Pharo 14 since it is for backward compatibility.
${VM} "${COMPILER_IMAGE_NAME}.image" st ${BOOTSTRAP_REPOSITORY}/bootstrap/scripts/01-initialization/01-init.st --no-source --save --quit

Expand Down
2 changes: 1 addition & 1 deletion bootstrap/scripts/runKernelTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export PHARO_CI_TESTING_ENVIRONMENT=1
#Adding packages removed from the bootstrap
./pharo bootstrap.image perform --save BasicHermesTool load: --as-array Clap-Core.hermes Clap-Commands-Pharo.hermes Hermes-Extensions.hermes
./pharo bootstrap.image perform --save Pragma buildCache
./pharo bootstrap.image loadHermes UIManager.hermes Math-Operations-Extensions.hermes System-Time.hermes NumberParser.hermes AST-Core.hermes ParseTreeRewriter.hermes Random-Core.hermes System-NumberPrinting.hermes --save --no-fail-on-undeclared --on-duplication ignore
./pharo bootstrap.image loadHermes Math-Operations-Extensions.hermes System-Time.hermes NumberParser.hermes AST-Core.hermes ParseTreeRewriter.hermes Random-Core.hermes System-NumberPrinting.hermes --save --no-fail-on-undeclared --on-duplication ignore

#Initializing the package manager
./pharo bootstrap.image perform --save PharoBootstrapFixMethodsTool fixExtensionMethods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ BaselineOfPharoBootstrap >> baseline: spec [
spec package: 'System-Sources'.
spec package: 'System-Support'.

spec package: 'UIManager'.
spec package: 'Zinc-Character-Encoding-Core'.

spec package: 'FFI-Kernel'.
Expand Down Expand Up @@ -193,7 +192,6 @@ BaselineOfPharoBootstrap >> baseline: spec [
'Multilingual-Encodings' }.

spec group: 'CompilerGroup' with: {
'UIManager'.
'AST-Core'.
'Collections-Arithmetic'.
'Collections-Atomic'.
Expand Down
3 changes: 3 additions & 0 deletions src/BaselineOfUI/BaselineOfUI.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ BaselineOfUI >> baseline: spec [
repository := self packageRepositoryURLForSpec: spec.
spec for: #common do: [
spec postLoadDoIt: #postload:package:.

"This should go to Morphic but for now Debugger-Model still depends on it"
spec package: 'UIManager'.

"Loading the debugger model and infrastructure before the UI"
spec package: 'Debugging-Core'.
Expand Down
17 changes: 17 additions & 0 deletions src/Morphic-Deprecated/UIManager.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,23 @@ UIManager >> informUserDuring: aBlock [
during: [ :bar | aBlock value: bar ]
]

{ #category : '*Morphic-Deprecated' }
UIManager >> request: aTitleString regex: initialRegexString [
"Prompt the user for a valid regex.
Return nil on cancel or a valid RxMatcher"

| regex |
self deprecated: 'This method is too specific and will be removed in future versions of Pharo.'.
regex := initialRegexString. "loop until we get a valid regex string back"
[
regex := self multiLineRequest: aTitleString initialAnswer: regex answerHeight: 200. "cancelled dialog ==> nil"
regex ifNil: [ ^ nil ].

[ ^ regex asRegex ]
on: Error
do: [ :regexParsingError | self defer: [ self inform: 'Bad Regex: ' , regexParsingError asString ] ] ] repeat
]

{ #category : '*Morphic-Deprecated' }
UIManager >> requestPassword: queryString [
"Create an instance of me whose question is queryString. Invoke it centered
Expand Down
21 changes: 0 additions & 21 deletions src/Regex-Core/UIManager.extension.st

This file was deleted.