The Trunk: ReleaseBuilder-eem.173.mcz

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

The Trunk: ReleaseBuilder-eem.173.mcz

Eliot Miranda uploaded a new version of ReleaseBuilder to project The Trunk:

==================== Summary ====================

Name: ReleaseBuilder-eem.173
Author: eem
Time: 5 January 2018, 8:32:47.664882 pm
UUID: 285b720e-b53c-41a4-b8a6-d46d379b9acc
Ancestors: ReleaseBuilder-eem.172

Split selecting the bytecode set from installing it, to allow asking promptly and deferring installing until the recmpile step.

=============== Diff against ReleaseBuilder-eem.172 ===============

Item was changed:
  Object subclass: #ReleaseBuilder
  instanceVariableNames: ''
  classVariableNames: 'DeferredTask NextMajorVersion NextMinorVersion NextTask'
  poolDictionaries: ''
  category: 'ReleaseBuilder'!
+ ReleaseBuilder class
+ instanceVariableNames: 'useNewBytecodeSet'!
  !ReleaseBuilder commentStamp: 'mt 6/22/2016 18:08' prior: 0!
  I'm the script that prepares a trunk image for release.
  Just do "ReleaseBuilder doNextStep" repeatedly until the next release is done.
  For the final release step:
  - If you want to try it locally, change #localBuild to return true.
  - Most of the code operates (read-only) on the build repository, which is usually the trunk. For releases, there is a release repository, to which some package versions will be copied from trunk.!
+ ReleaseBuilder class
+ instanceVariableNames: 'useNewBytecodeSet'!

Item was changed:
  ----- Method: ReleaseBuilder class>>recompileAll (in category 'scripts - support') -----
+ useNewBytecodeSet ifTrue:
+ [(Smalltalk classNamed: #EncoderForSistaV1) ifNotNil:
+ [:sistaBytecodeSet|
+ CompiledCode
+ installSecondaryBytecodeSet: sistaBytecodeSet;
+ preferredBytecodeSetEncoderClass: sistaBytecodeSet]].
- (Smalltalk classNamed: #EncoderForSistaV1) ifNotNil:
- [:sistaBytecodeSet|
- CompiledCode preferredBytecodeSetEncoderClass ~~ sistaBytecodeSet ifTrue:
- [(Project uiManager
- confirm: 'Do you want to make it the default in this release?'
- orCancel: [false]
- title: 'The SistaV1 Bytecode Set Is Available') ifTrue:
- [CompiledCode
- installSecondaryBytecodeSet: sistaBytecodeSet;
- preferredBytecodeSetEncoderClass: sistaBytecodeSet]]].
  Compiler recompileAll!

Item was added:
+ ----- Method: ReleaseBuilder class>>setBytecodeSet (in category 'scripts') -----
+ setBytecodeSet
+ "If possible and desired. install the SistaV1 byetcode set as the default.
+ Note that we use a variable to ask to use the compiler early so as not
+ to keep the release manager waiting, while deferring installing the
+ bytecode set until the recompileAll phase."
+ useNewBytecodeSet := false.
+ (Smalltalk classNamed: #EncoderForSistaV1) ifNotNil:
+ [:sistaBytecodeSet|
+ CompiledCode preferredBytecodeSetEncoderClass ~~ sistaBytecodeSet ifTrue:
+ [(Project uiManager
+ confirm: 'Do you want to make it the default in this release?'
+ orCancel: [^ Error signal: 'Release building canceled.']
+ title: 'The SistaV1 Bytecode Set Is Available') ifTrue:
+ [useNewBytecodeSet := true]]]!

Item was changed:
  ----- Method: ReleaseBuilder class>>setPreferences (in category 'scripts') -----
  "Preferences class defaultValueTableForCurrentRelease"
  " Preferences outOfTheBox."  "<-- uncomment after #defaultValueTableForCurrentRelease is fixed up."
  "General User interaction"
  enable: #generalizedYellowButtonMenu ;
  enable: #swapMouseButtons;
  disable: #mouseOverForKeyboardFocus.
  Morph indicateKeyboardFocus: true.
  Project uiManager openToolsAttachedToMouseCursor: false.
  SearchBar useScratchPad: false.
  HandMorph sendMouseWheelToKeyboardFocus: false.
  HandMorph synthesizeMouseWheelEvents: true.
  "Text input."
  autoEnclose: true ;
  autoIndent: true ;
  encloseSelection: false ;
  destructiveBackWord: false ;
  blinkingCursor: true ;
  dumbbellCursor: false.
  PluggableTextMorph simpleFrameAdornments: false.
  TextMorphForEditView draggableTextSelection: true.
  SystemWindow reuseWindows: false.
  SystemWindow windowsRaiseOnClick: true.
  SystemWindow windowTitleActiveOnFirstClick: true.
  Model windowActiveOnFirstClick: false. "Not good for little screen real estate."
  Model useColorfulWindows: false.
  disable: #showSplitterHandles;
  disable: #fastDragWindowForMorphic.
  drawCornerResizeHandles: false;
  passiveColor: (Color gray: 0.85);
  activeColor: (Color r: 1 g: 0.599 b: 0.0).
  smartHorizontalSplitters: false ;
  smartVerticalSplitters: false.
  "Scroll bars."
  enable: #scrollBarsNarrow;
  enable: #scrollBarsOnRight;
  enable: #alwaysHideHScrollbar;
  disable: #alwaysShowHScrollbar;
  disable: #alwaysShowVScrollbar.
  scrollBarsWithoutArrowButtons: true;
  scrollBarsWithoutMenuButton: true.
  useRetractableScrollBars: false.
  "Rounded corners."
  Morph preferredCornerRadius: 8.
  SystemWindow roundedWindowCorners: false.
  DialogWindow roundedDialogCorners: false.
  MenuMorph roundedMenuCorners: false.
  PluggableButtonMorph roundedButtonCorners: false.
  ScrollBar roundedScrollBarLook: false.
  SystemWindow gradientWindow: false.
  DialogWindow gradientDialog: false.
  MenuMorph gradientMenu: false.
  PluggableButtonMorph gradientButton: false.
  ScrollBar gradientScrollBar: false.
  Preferences enable: #menuAppearance3d.
  Morph useSoftDropShadow: true.
  "Lists and Trees"
  filterableLists: true;
  clearFilterAutomatically: false;
  highlightHoveredRow: true;
  menuRequestUpdatesSelection: true.
  filterByLabelsOnly: false;
  maximumSearchDepth: 1.
  "Standard Tools"
  showWorldMainDockingBar: true;
  showSecondsInClock: true;
  twentyFourHourClock: true.
  SearchBar useSmartSearch: true.
  Workspace shouldStyle: false.
  listClassesHierarchically: true;
  showClassIcons: true;
  showMessageIcons: true;
  sortMessageCategoriesAlphabetically: true.
  Preferences enable: #annotationPanes;
  enable: #optionalButtons;
  disable: #diffsWithPrettyPrint;
  enable: #traceMessages;
  enable: #alternativeBrowseIt;
  enable: #menuWithIcons;
  enable: #visualExplorer.
  SystemNavigation thoroughSenders: true.
  Preferences disable: #debugLogTimestamp.
  enable: #showBoundsInHalo ;
  disable: #alternateHandlesLook;
  disable: #showDirectionHandles.
  NetNameResolver enableIPv6: false.
  allowUnderscoreAsAssignment: true;
  prefAllowUnderscoreSelectors: true.
+ Deprecation showDeprecationWarnings: true.
- Deprecation showDeprecationWarnings: true
+ self setBytecodeSet.
  "that's all, folks"!