public
Fork of Caged/gitnub
Description: A Gitk-like application written in RubyCocoa that looks like it belongs on a Mac. See the wiki for downloads and screenshots.
Homepage: http://alternateidea.com
Clone URL: git://github.com/juretta/gitnub.git
Search Repo:
Remove grit & mimetypes from the other sources area as well
Caged (author)
Wed Apr 23 15:23:53 -0700 2008
commit  7e0f6a4ada7e6778359939bed8187a521a4b12c8
tree    20f060016e8dc5b569463d6feeb5b00635593d6f
parent  c44a7a9f7db2f8b9e7fdd58a9e8b46ac6d2db942
...
56
57
58
59
60
61
62
...
71
72
73
74
75
76
77
...
164
165
166
167
168
169
170
171
...
56
57
58
 
59
60
61
...
70
71
72
 
73
74
75
...
162
163
164
 
 
165
166
167
0
@@ -56,7 +56,6 @@
0
     0ABA3B1A0D89E53E004B6667 /* nub */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = nub; sourceTree = "<group>"; };
0
     1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
0
     283254650D8B792500D99366 /* lib */ = {isa = PBXFileReference; lastKnownFileType = folder; path = lib; sourceTree = "<group>"; };
0
- 285BB4690D8306C60027980C /* mime-types */ = {isa = PBXFileReference; lastKnownFileType = folder; path = "mime-types"; sourceTree = "<group>"; };
0
     285BB52F0D849C890027980C /* TexturedWindow.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = TexturedWindow.rb; sourceTree = "<group>"; };
0
     285BB5380D849DD20027980C /* added.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = added.png; sourceTree = "<group>"; };
0
     285BB5390D849DD20027980C /* committer.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = committer.png; sourceTree = "<group>"; };
0
@@ -71,7 +70,6 @@
0
     2888530C0D7CEA5200862D67 /* gitnub-icon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = "gitnub-icon.icns"; sourceTree = "<group>"; };
0
     288853C80D7E06A600862D67 /* commit.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = commit.html; sourceTree = "<group>"; };
0
     288853CC0D7E074B00862D67 /* style.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; path = style.css; sourceTree = "<group>"; };
0
- 288854540D7E352C00862D67 /* grit */ = {isa = PBXFileReference; lastKnownFileType = folder; path = grit; sourceTree = "<group>"; };
0
     288CB4190D8789DD0092B5CC /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/MainMenu.xib; sourceTree = "<group>"; };
0
     288CB41C0D878A1C0092B5CC /* Info.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = Info.xib; sourceTree = "<group>"; };
0
     29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
0
@@ -164,8 +162,6 @@
0
         28851B960DB147AA00FA9C7D /* VisualizationView.rb */,
0
         283254650D8B792500D99366 /* lib */,
0
         285BB52F0D849C890027980C /* TexturedWindow.rb */,
0
- 285BB4690D8306C60027980C /* mime-types */,
0
- 288854540D7E352C00862D67 /* grit */,
0
         29B97316FDCFA39411CA2CEA /* main.m */,
0
         E8F5E25803AEB7C803A81C6F /* rb_main.rb */,
0
       );
...
36
37
38
39
40
41
 
 
 
42
43
44
...
36
37
38
 
 
 
39
40
41
42
43
44
0
@@ -36,9 +36,9 @@
0
     
0
     path.moveToPoint([100, 100])
0
     @repo.commits(:master, 50, 0).each_with_index do |commit, index|
0
- point = [((index + 1) * 25), 100]
0
- #path.lineToPoint([25 * index, 100])
0
- path.appendBezierPathWithOvalInRect(NSMakeRect(point[0] + 75, point[1], 10, 10))
0
+ point = NSMakePoint(((index + 1) * 25), 100)
0
+ path.lineToPoint([25 * index, 100])
0
+ path.appendBezierPathWithOvalInRect(NSMakeRect(point[0] - 10, point[1], 10, 10))
0
     end
0
     
0
     NSColor.blackColor.set

Comments

    No one has commented yet.