mercurial/HGChangesetList.st
author Jan Vrany <jan.vrany@labware.com>
Fri, 19 Feb 2021 08:29:41 +0000
changeset 924 4d92f234f671
parent 573 0a22fe210a7d
permissions -rw-r--r--
Rework and fix HGSourceCodeManager >> #revisionLogOf:...directory:module:` This commit changes the logic in two ways: 1. #newestRevision is now the newest revision in the branch that *contains* given file (not necesarily modidfes it). If there are multiple heads in that branch, pretty much random one is returned. This changes old behavior and therefore this commit updates tests. 2. If a specific single revision is requested, i.e., both from and to revisions are the same, revision log with that single revision is returned no matter whether it modifies the file or even contains that file at all. This is essentially a workaround to fix issue #305. Moreover, this commit simplifies the code a lot by delegating all the changeset searching and filtering to mercurial using revset expressions. See https://swing.fit.cvut.cz/projects/stx-jv/ticket/305#comment:3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     1
"
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     2
stx:libscm - a new source code management library for Smalltalk/X
509
f92210d4585b Updated copyright notice.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 410
diff changeset
     3
Copyright (C) 2012-2015 Jan Vrany
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     4
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     5
This library is free software; you can redistribute it and/or
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     6
modify it under the terms of the GNU Lesser General Public
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     7
License as published by the Free Software Foundation; either
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     8
version 2.1 of the License. 
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     9
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    10
This library is distributed in the hope that it will be useful,
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    11
but WITHOUT ANY WARRANTY; without even the implied warranty of
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    13
Lesser General Public License for more details.
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    14
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    15
You should have received a copy of the GNU Lesser General Public
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    16
License along with this library; if not, write to the Free Software
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    17
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    18
"
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    19
"{ Package: 'stx:libscm/mercurial' }"
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    20
573
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
    21
"{ NameSpace: Smalltalk }"
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
    22
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    23
ApplicationModel subclass:#HGChangesetList
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
    24
	instanceVariableNames:'changesetList changesetHolder entryList entryHolder entryListView'
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    25
	classVariableNames:''
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    26
	poolDictionaries:''
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    27
	category:'SCM-Mercurial-StX-Interface'
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    28
!
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    29
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    30
!HGChangesetList class methodsFor:'documentation'!
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    31
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    32
copyright
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    33
"
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    34
stx:libscm - a new source code management library for Smalltalk/X
509
f92210d4585b Updated copyright notice.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 410
diff changeset
    35
Copyright (C) 2012-2015 Jan Vrany
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    36
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    37
This library is free software; you can redistribute it and/or
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    38
modify it under the terms of the GNU Lesser General Public
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    39
License as published by the Free Software Foundation; either
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    40
version 2.1 of the License. 
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    41
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    42
This library is distributed in the hope that it will be useful,
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    43
but WITHOUT ANY WARRANTY; without even the implied warranty of
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    44
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    45
Lesser General Public License for more details.
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    46
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    47
You should have received a copy of the GNU Lesser General Public
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    48
License along with this library; if not, write to the Free Software
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    49
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    50
"
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    51
! !
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    52
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    53
!HGChangesetList class methodsFor:'interface specs'!
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    54
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    55
windowSpec
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    56
    "This resource specification was automatically generated
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    57
     by the UIPainter of ST/X."
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    58
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    59
    "Do not manually edit this!! If it is corrupted,
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    60
     the UIPainter may not be able to read the specification."
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    61
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    62
    "
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    63
     UIPainter new openOnClass:HGChangesetList andSelector:#windowSpec
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    64
     HGChangesetList new openInterface:#windowSpec
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    65
     HGChangesetList open
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    66
    "
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    67
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    68
    <resource: #canvas>
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    69
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    70
    ^ 
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    71
    #(FullSpec
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    72
       name: windowSpec
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    73
       window: 
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    74
      (WindowSpec
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    75
         label: 'HG Changeset List'
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    76
         name: 'HG Changeset List'
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    77
         min: (Point 10 10)
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    78
         bounds: (Rectangle 0 0 300 300)
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    79
       )
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    80
       component: 
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    81
      (SpecCollection
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    82
         collection: (
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    83
          (SelectionInListModelViewSpec
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    84
             name: 'SelectionInListModelView1'
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    85
             layout: (LayoutFrame 0 0 0 0 0 1 0 1)
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
    86
             model: entryHolder
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    87
             hasHorizontalScrollBar: true
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    88
             hasVerticalScrollBar: true
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
    89
             listModel: entryList
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
    90
             useIndex: false
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    91
             highlightMode: line
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
    92
             postBuildCallback: postBuildEntryListView:
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    93
           )
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    94
          )
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    95
        
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    96
       )
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    97
     )
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    98
! !
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    99
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   100
!HGChangesetList class methodsFor:'plugIn spec'!
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   101
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   102
aspectSelectors
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   103
    "This resource specification was automatically generated
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   104
     by the UIPainter of ST/X."
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   105
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   106
    "Do not manually edit this. If it is corrupted,
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   107
     the UIPainter may not be able to read the specification."
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   108
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   109
    "Return a description of exported aspects;
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   110
     these can be connected to aspects of an embedding application
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   111
     (if this app is embedded in a subCanvas)."
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   112
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   113
    ^ #(
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   114
        #changesetHolder
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   115
        #changesetList
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   116
      ).
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   117
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   118
! !
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   119
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   120
!HGChangesetList class methodsFor:'tableColumns specs'!
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   121
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   122
changesetListColumns
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   123
    "This resource specification was automatically generated
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   124
     by the DataSetBuilder of ST/X."
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   125
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   126
    "Do not manually edit this!! If it is corrupted,
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   127
     the DataSetBuilder may not be able to read the specification."
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   128
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   129
    "
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   130
     DataSetBuilder new openOnClass:HGChangesetList2 andSelector:#changesetListColumns
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   131
    "
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   132
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   133
    <resource: #tableColumns>
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   134
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   135
    ^#(
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   136
      (DataSetColumnSpec
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   137
         label: 'Revno'
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   138
         labelAlignment: right
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   139
         labelButtonType: Button
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   140
         usePreferredWidth: true
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   141
         height: heightOfFirstRow
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   142
         menuFromApplication: false
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   143
         printSelector: idRevno
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   144
       )
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   145
      (DataSetColumnSpec
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   146
         label: 'Revhash'
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   147
         labelButtonType: Button
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   148
         usePreferredWidth: true
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   149
         height: heightOfFirstRow
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   150
         menuFromApplication: false
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   151
         printSelector: idHash
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   152
       )
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   153
      (DataSetColumnSpec
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   154
         label: 'Labels'
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   155
         labelButtonType: Button
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   156
         usePreferredWidth: true
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   157
         height: heightOfFirstRow
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   158
         menuFromApplication: false
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   159
       )
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   160
      (DataSetColumnSpec
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   161
         label: 'Summary'
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   162
         labelButtonType: Button
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   163
         width: 1.0
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   164
         height: heightOfFirstRow
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   165
         menuFromApplication: false
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   166
         printSelector: summary
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   167
       )
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   168
      (DataSetColumnSpec
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   169
         label: 'Author'
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   170
         labelButtonType: Button
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   171
         height: heightOfFirstRow
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   172
         menuFromApplication: false
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   173
         printSelector: user
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   174
         canSelect: false
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   175
       )
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   176
      )
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   177
    
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   178
! !
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   179
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   180
!HGChangesetList methodsFor:'aspects'!
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   181
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   182
changesetHolder
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   183
    "return/create the 'changesetHolder' value holder (automatically generated)"
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   184
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   185
    changesetHolder isNil ifTrue:[
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   186
        changesetHolder := ValueHolder new.
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   187
        changesetHolder addDependent:self.
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   188
    ].
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   189
    ^ changesetHolder
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   190
!
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   191
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   192
changesetHolder:something
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   193
    "set the 'changesetHolder' value holder (automatically generated)"
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   194
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   195
    |oldValue newValue|
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   196
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   197
    changesetHolder notNil ifTrue:[
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   198
        oldValue := changesetHolder value.
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   199
        changesetHolder removeDependent:self.
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   200
    ].
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   201
    changesetHolder := something.
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   202
    changesetHolder notNil ifTrue:[
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   203
        changesetHolder addDependent:self.
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   204
    ].
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   205
    newValue := changesetHolder value.
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   206
    oldValue ~~ newValue ifTrue:[
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   207
        self update:#value with:newValue from:changesetHolder.
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   208
    ].
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   209
!
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   210
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   211
changesetList
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   212
    changesetList isNil ifTrue:[
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   213
        changesetList := List new.
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   214
    ].
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   215
    ^ changesetList
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   216
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   217
    "Modified: / 11-03-2014 / 20:26:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   218
!
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   219
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   220
changesetList:aListOrValueModel
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   221
    "set the 'changesetList' value holder (automatically generated)"
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   222
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   223
    |oldValue newValue|
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   224
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   225
    changesetList notNil ifTrue:[
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   226
        oldValue := changesetList value.
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   227
        changesetList removeDependent:self.
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   228
    ].
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   229
    changesetList := aListOrValueModel.
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   230
    changesetList notNil ifTrue:[
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   231
        changesetList addDependent:self.
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   232
    ].
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   233
    newValue := changesetList value.
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   234
    oldValue ~~ newValue ifTrue:[
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   235
        self update:#value with:newValue from:changesetList.
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   236
    ].
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   237
!
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   238
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   239
entryHolder
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   240
    "return/create the 'entryHolder' value holder (automatically generated)"
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   241
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   242
    entryHolder isNil ifTrue:[
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   243
        entryHolder := ValueHolder new.
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   244
        entryHolder addDependent:self.
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   245
    ].
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   246
    ^ entryHolder
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   247
!
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   248
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   249
entryList
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   250
    "return/create the 'entryList' value holder (automatically generated)"
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   251
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   252
    entryList isNil ifTrue:[
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   253
        entryList := List new.
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   254
    ].
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   255
    ^ entryList
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   256
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   257
    "Modified: / 14-03-2014 / 23:57:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   258
! !
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   259
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   260
!HGChangesetList methodsFor:'change & update'!
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   261
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   262
update:aspect with:param from:sender
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   263
    "Invoked when an object that I depend upon sends a change notification."
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   264
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   265
    sender == entryHolder ifTrue:[ 
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   266
        self updateAfterEntryHolderChanged.
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   267
    ].
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   268
    sender == changesetHolder ifTrue:[ 
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   269
        self updateAfterChangesetHolderChanged.
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   270
    ].
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   271
    sender == changesetList ifTrue:[ 
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   272
        self updateList.
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   273
    ].
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   274
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   275
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   276
    super update:aspect with:param from:sender
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   277
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   278
    "Modified: / 14-03-2014 / 23:58:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   279
!
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   280
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   281
updateAfterChangesetHolderChanged
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   282
    | entry changeset |
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   283
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   284
    changeset := changesetHolder value.
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   285
    entry  :=(changeset notNil) 
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   286
                    ifTrue:[ self entryList detect: [:e | e changeset = changeset ] ifNone:[ nil ] ]
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   287
                    ifFalse:[ nil ].
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   288
    self entryHolder
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   289
        removeDependent: self;
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   290
        value: entry;
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   291
        addDependent: self.
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   292
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   293
    "Created: / 11-03-2014 / 20:29:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   294
!
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   295
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   296
updateAfterEntryHolderChanged
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   297
    | entry  changeset |
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   298
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   299
    entry := entryHolder value.
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   300
    changeset := entry notNil ifTrue:[ entry changeset] ifFalse:[ nil ].
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   301
    (self changesetHolder)
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   302
        removeDependent:self;
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   303
        value:changeset;
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   304
        addDependent:self.
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   305
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   306
    "Created: / 11-03-2014 / 20:29:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   307
    "Modified: / 15-03-2014 / 00:02:04 / Jan Vrany <jan.vrany@fit.cvut.cz>"
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   308
!
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   309
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   310
updateList
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   311
    | changesets entries |
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   312
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   313
    changesets := self changesetList value.
410
34ca0972c5ba Added 'Update To Revision' menu item to file browser and fixed issue #32.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 405
diff changeset
   314
    entries := changesets collect:[ :cs | HGChangesetPresenter new changeset: cs ].
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   315
    "/ Sort them from newest to oldest..."
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   316
    entries notEmpty ifTrue:[
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   317
        (entries first changeset timestamp < entries last changeset timestamp) ifTrue:[ 
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   318
            entries reverse.
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   319
        ].
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   320
    ].
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   321
    self entryList
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   322
        removeAll;
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   323
        addAll: entries.
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   324
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   325
    "Created: / 14-03-2014 / 23:58:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
410
34ca0972c5ba Added 'Update To Revision' menu item to file browser and fixed issue #32.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 405
diff changeset
   326
    "Modified: / 27-03-2014 / 23:53:59 / Jan Vrany <jan.vrany@fit.cvut.cz>"
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   327
! !
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   328
573
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   329
!HGChangesetList methodsFor:'help texts'!
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   330
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   331
flyByHelpTextFor:aView
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   332
    aView == entryListView ifTrue:[ 
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   333
        | point line item |
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   334
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   335
        point := entryListView device pointerPosition.
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   336
        point := entryListView device translatePointFromRoot:point toView:entryListView.     
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   337
        line := entryListView yVisibleToLineNr: point y.
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   338
        line notNil ifTrue:[ 
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   339
            item := entryListView list at: line ifAbsent:[ nil ].
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   340
            item notNil ifTrue:[
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   341
              ^ item helpText
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   342
            ].
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   343
        ].
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   344
    ].
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   345
    ^ super flyByHelpTextFor:aView
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   346
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   347
    "Created: / 10-09-2015 / 18:44:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   348
! !
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   349
399
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   350
!HGChangesetList methodsFor:'hooks'!
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   351
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   352
postBuildEntryListView:aView
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   353
    <resource: #uiCallback>
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   354
    entryListView := aView scrolledView.
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   355
abafe12d47d6 Initial version of HGChangesetBrowser, a tool for browsing commit history.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 398
diff changeset
   356
    "Modified: / 15-03-2014 / 15:02:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
573
0a22fe210a7d Display commit details in a tooltip
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 509
diff changeset
   357
    "Modified (comment): / 10-09-2015 / 09:23:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
398
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   358
! !
65dc8645e496 Added HGChangesetList, a pluggable component to display list of changesets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   359