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

commits at source.squeak.org commits at source.squeak.org
Tue Aug 13 11:20:33 UTC 2019


Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/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.!



More information about the Squeak-dev mailing list