Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

775-Reviewing-a-PR-is-broken #1053

Merged
merged 4 commits into from
Oct 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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