Skip to content

Commit

Permalink
Merge pull request #1053 from jecisc/775-Reviewing-a-PR-is-broken
Browse files Browse the repository at this point in the history
775-Reviewing-a-PR-is-broken
  • Loading branch information
guillep authored Oct 31, 2018
2 parents 8d5878e + 3cd4ff7 commit dbfa9be
Show file tree
Hide file tree
Showing 26 changed files with 116 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*Iceberg-Plugin-GitHub
changes
"I am called by Iceberg's UI to get UI nodes for the tree"
^ (IceDiffNode on: tree) children
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name" : "IceDiff"
}
Empty file.
6 changes: 6 additions & 0 deletions Iceberg-Plugin-GitHub.package/IceDiffNode.class/class/on..st
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
instance-creation
on: anIceNode

^ self new
node: anIceNode;
yourself
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
morph-compatibility
balloonText

^ nil
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
as yet unclassified
browse

^ node value browse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ui
canBeBrowsed

^ node value canBeBrowsed
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ui
canBrowseReferences

^ node value canBrowseReferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
children

^ node children collect: [ :e | IceDiffNode on: e ]
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
morph-compatibility
contents

^ self children
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
description

^ node description
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
morph-compatibility
hasContents

^ node notEmpty
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
morph-compatibility
hasEquivalentIn: aCollection

self haltIf: [ aCollection notEmpty ].
^ false
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
morph-compatibility
highlightingColor

^ self theme selectionColor
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ui
icon

^ node value icon
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
actions
install

^ node value install
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
key

^ node key
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
myVersion

^ node value leftContents
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
node: anIceNode

node := anIceNode
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
node

^ node
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
printing
printOn: aStream

self description printOn: aStream
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
theirVersion

^ node value rightContents
14 changes: 14 additions & 0 deletions Iceberg-Plugin-GitHub.package/IceDiffNode.class/properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"commentStamp" : "",
"super" : "Object",
"category" : "Iceberg-Plugin-GitHub-Old",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
"instvars" : [
"node",
"diff"
],
"name" : "IceDiffNode",
"type" : "normal"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
building
compose
self tabulator with: [ :browser |
browser initialExtent: self initialExtent.
self composeBrowserOn: browser ]
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
actions
mergeBaseCommitFor: commitInfo
^ commitInfo repository lookupCommit: (self mergeBaseFor: commitInfo)
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
actions
mergeBaseFor: commitInfo
self flag: #bug.
"Should use #commonAncestorWith:"

^ commitInfo repository
mergeBaseBetween: commitInfo id
and: self baseSHA

0 comments on commit dbfa9be

Please sign in to comment.