eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ChangesBrowser::ChangeFileReader':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: ChangeFileReader (private in ChangesBrowser

This class is only visible from within ChangesBrowser.

Inheritance:

   Object
   |
   +--ChangesBrowser::ChangeFileReader

Package:
stx:libtool
Category:
Interface-Browsers
Owner:
ChangesBrowser

Instance protocol:

accessing
o  autoCompare: something

o  autoloadAsRequired

o  autoloadAsRequired: something

o  browser: something

o  changeChunks

o  changeClassNames

o  changeFileName

o  changeFileName: something

o  changeHeaderLines

o  changeInfo

o  changeIsFollowupMethodChange

o  changePositions

o  changeTimeStamps

o  enforcedNameSpace: something

o  inStream: something

o  noColoring: something

o  tabSpec: something

o  thisIsAClassSource

private
o  contractClass: className selector: selector to: maxLen
contract a class>>selector string (for display in the changeList).

o  extractClassAndClassNameFromParseTree: rec

o  nameSpaceForApply

reading
o  addHeaderLineForChangeType: changeType changeString: changeString changeDelta: changeDelta timeStampInfo: timeStampInfo

o  colorizeAsCommentChange: changeType
changeString := changeString allItalic.

o  headerLineForChangeType: changeType changeString: changeString changeDelta: changeDelta timeStampInfo: timeStampInfo

o  processChunk
self addHeaderLineForChangeType:changeType changeString:changeString changeDelta:changeDelta timeStampInfo:timeStampInfo.

o  processMethodChunkIfNone: emptyBlock
sawExcla

o  processNonMethodChunk
first, assume doIt - then lets have a more detailed look ...

o  processSnapshotChunk

o  readChangesFile
read the changes file, create a list of header-lines (changeChunks)
and a list of chunk-positions (changePositions).
Starting with 2.10.3, the entries are multi-col entries;
the cols are:
1 delta (only if comparing)
'+' -> new method (w.r.t. current state)
'-' -> removed method (w.r.t. current state)
'?' -> class does not exist currently
'=' -> change is the same as current methods source
'~' -> change is almost the same as current methods source
2 class/selector
3 type of change
doit
method
category change
4 timestamp

since comparing slows down startup time, it is now disabled by
default and can be enabled via a toggle.



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 02 Apr 2020 03:26:30 GMT