[squeak-dev] The Inbox: System-jr.1083.mcz

Chris Muller asqueaker at gmail.com
Tue Aug 13 01:40:57 UTC 2019


On Mon, Aug 12, 2019 at 5:41 AM Thiede, Christoph <
Christoph.Thiede at student.hpi.uni-potsdam.de> wrote:

> > In such cases, the emergency evaluator is not shown
>
>
> By the way, it is possible to invoke the emergency evaluator manually. You
> can invoke it with [Project tryEmergencyEvaluatorForRecovery: 'foo'].
>


It would be an extra gesture for the revert case, but that might make for a
more-powerful Do menu entry than revertMostRecent.

Best,
  Chris



> Marcel Taeumel also has a changeset that
> overrides MorphicProject>>#interruptSystem: to display a cmd-dot menu with
> various options. I do not want to violate any copyrights, but I love this
> menu and use it every day :)
>
> Best,
> Christoph
>
> Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im
> Auftrag von commits at source.squeak.org <commits at source.squeak.org>
> Gesendet: Samstag, 10. August 2019 23:06 Uhr
> An: squeak-dev at lists.squeakfoundation.org
> Betreff: [squeak-dev] The Inbox: System-jr.1083.mcz
>
> A new version of System was added to project The Inbox:
> http://source.squeak.org/inbox/System-jr.1083.mcz
>
> ==================== Summary ====================
>
> Name: System-jr.1083
> Author: jr
> Time: 10 August 2019, 11:06:17.813208 pm
> UUID: b49919ec-ca8e-0c42-945d-8df056a7e51d
> Ancestors: System-mt.1082
>
> Allow to revert the latest method submission from the Do menu.
>
> This makes it possible to revert the latest breaking change if the latter
> makes all Smalltalk tools unusable, but the world basically remains
> operable. In such cases, the emergency evaluator is not shown, so there was
> no easy way (that I know of) to revert  the latest change.
>
> Also update the deprecation delegation in revertLastMethodSubmission
> because RecentMessages does not understand the previous message anymore.
>
> =============== Diff against System-mt.1082 ===============
>
> Item was changed:
>   ----- Method: Utilities class>>initializeCommonRequestStrings (in
> category 'common requests') -----
>   initializeCommonRequestStrings
>          "Initialize the common request strings, a directly-editable list
> of expressions that can be evaluated from the 'do...' menu."
>
>          CommonRequestStrings := StringHolder new contents:
>   'Utilities emergencyCollapse.
>   Utilities closeAllDebuggers.
> + RecentMessages default revertMostRecent.
>   -
>   MCFileBasedRepository flushAllCaches
>   -
>   Sensor keyboard.
>   ParagraphEditor abandonChangeText.
>   Cursor normal show.
>   -
>   CommandHistory resetAllHistory.
>   Project allInstancesDo: [:p | p displayDepth: 16].
>   ScriptingSystem inspectFormDictionary.
>   Form fromUser bitEdit.
>   Display border: (0 at 0 extent: 640 at 480) width: 2.
>   -
>   Undeclared inspect.
>   Undeclared removeUnreferencedKeys; inspect.
>   Transcript clear.
>   Utilities grabScreenAndSaveOnDisk.
>   FrameRateMorph new openInHand.
>   -
>   Utilities reconstructTextWindowsFromFileNamed: ''TW''.
>   Utilities storeTextWindowContentsToFileNamed: ''TW''.
>   ChangeSorter removeEmptyUnnamedChangeSets.
>   ChangeSorter reorderChangeSets.
>   -
>   ActiveWorld installVectorVocabulary.
>   ActiveWorld abandonVocabularyPreference.'
>
>   "Utilities initializeCommonRequestStrings"!
>
> Item was changed:
>   ----- Method: Utilities class>>revertLastMethodSubmission (in category
> 'recent method submissions') -----
>   revertLastMethodSubmission
> +        self deprecated: 'Use RecentMessages default revertMostRecent'.
> +        RecentMessages default revertMostRecent.!
> -        self deprecated: 'Use RecentMessages default
> revertLastMethodSubmission'.
> -        RecentMessages default revertLastMethodSubmission.!
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190812/e4884f95/attachment-0001.html>


More information about the Squeak-dev mailing list