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
Author:
cg

Description:


documentation to be added.

class:
    <a short class summary here, describing what instances represent>

responsibilities:    
    <describing what my main role is>

collaborators:    
    <describing with whom and how I talk to>

API:
    <public api and main messages>
    
example:
    <a one-line examples on how to use - can also be in a separate example method>

implementation:
    <implementation points>


[instance variables:]

[class variables:]


Related information:



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  classNameMapping: something

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 15:50:42 GMT