Commit Graph

212 Commits

Author SHA1 Message Date
German Laullom d2c7cfc0d8 merge to master 2010-09-27 11:45:33 -07:00
German Laullon cad928126e merger brotherbard:experimetal 2010-09-24 10:25:12 -07:00
German Laullon a78a2c238c blame cosmetics
save the html for debug and CSS edit
2010-09-24 10:17:04 -07:00
German Laullon cbf7cd3fbf cosmetic 2010-09-19 13:18:40 -07:00
German Laullon 6cf9cc13c8 SyntaxHighlighter 3.0.83 2010-09-19 13:01:26 -07:00
German Laullon bcee4aa91e html and code parse errors... 2010-09-19 12:17:18 -07:00
Nathan Kinsinger 9a9de9577c Bugfix: crasher on 10.5 due to webkit and the <button> element
Something in webkit doesn't like the button html element nor the -webkit-appearance: button css tag. Ends up crashing in one of various WebCore::ThemeMac::paint functions.

This would crash for anyone on 10.5 with the Gist it button enabled (which it is by default so that means anyone who ran it for the first time).

Changing the button back to the way it was before SHA:b557d6b5c6e675216d340d20833f39d0096b7ccc
2010-09-18 19:17:12 -06:00
German Laullon 3a25496020 log format use %aN for the author name so that git uses the names from .mailmap 2010-09-18 11:19:29 -07:00
Johannes Gilger f2cf438179 History-View: Clear list of files on showDiff
This clears the list of files before redrawing the showDiff method.

Fixes Lighthouse ticket #263

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2010-09-17 23:46:12 -06:00
Johannes Gilger 2852ecbf01 History: Correctly wrap lots of tags
When there are many tags in a commit we want them to wrap.

This fixes lighthouse ticket #220.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2010-09-17 23:46:01 -06:00
German Laullon 1a4a179e9a History 2010-09-16 22:54:28 -07:00
German Laullon 9200d3e310 blame 2010-09-15 17:00:50 -07:00
German Laullon da97c25a6a initial highlighter file view 2010-09-14 20:38:58 -07:00
Nathan Kinsinger 8bb1173942 Allow the stage view's context slider to move from 0 to 10 2010-09-12 19:33:05 -06:00
Felix Holmgren d77d85b807 Make the context slider work again 2010-09-12 19:32:58 -06:00
Nathan Kinsinger f8e63e2c9c Remove the isReachable test for gravatar.com
If there is no network connection then the reachability test will take the system default time (90 seconds I think?) to time out. During this time the UI is blocked (spinning beach ball).

The test was being done even if gravatar use was turned off. It doesn't really matter if the site is unreachable, the image will not load but that's not a big deal.
2010-09-12 19:32:04 -06:00
Nathan Kinsinger 7b17eec476 Fix spelling error 2010-08-22 07:52:04 -06:00
Nicholas Riley 11c68b728d Fix vertical alignment of multiline Subjects in history. 2010-08-22 07:51:03 -06:00
Nathan Kinsinger c17215e55e Create wrapper class around git_oid and use it
This is a convenience class to replace using NSStrings to store and compare SHAs. PBGitSHA has a much faster isEqual: function.

It is <NSCopying> compliant and implements isEqual: and hash so it can be used as a key in dictionaries.
2010-07-04 09:46:12 -06:00
Nathan Kinsinger e067390fb2 Bugfix: Stop committer names from getting mangled
If the commit's detail is not UTF8 then PBWebHistoryController's commitDetailsLoaded: method will drop down to Latin1. That can cause character's in the committer's name to not be converted correctly.

Move parsing the name to PBGitRevList where the correct encoding can be determined.
2010-07-04 09:46:07 -06:00
Pieter de Bie 25caa849fe Fix safari 5 render issue 2010-07-04 09:45:49 -06:00
André Berg 71c0f30ae5 Stability: employ more sanity checks when parsing author details from history.js 2010-06-27 06:30:28 -06:00
German Laullon 93803ce149 Better diff display 2010-06-18 20:09:50 -07:00
glaullon c73d759ac8 log commit link 2010-06-16 09:00:00 -07:00
glaullon 9c75e6f765 Merge remote branch 'refs/remotes/fbartho/fbartho' 2010-06-16 06:55:21 -07:00
glaullon 936a3b4cae diff working 2010-06-15 20:17:07 -07:00
Frederic Barthelemy 3755c46edd Improved appearance of urls in commit history message. 2010-06-15 19:34:16 -07:00
Frederic Barthelemy 3edd89010f Changed regex for urlifying commit history views so that it now doesn't match selectors, now it will only match <protocol>://<rest of url> 2010-06-15 19:33:45 -07:00
Frederic Barthelemy fd47c991ed Merge in changes from brotherbard's work into my own branch.
Merge branch 'master' into fbartho

Conflicts:
	PBGitIndex.m
	html/views/history/history.js
2010-06-15 19:19:02 -07:00
German Laullon 8b357d40e9 log work 2010-06-15 08:54:22 -07:00
German Laullon 1c350dbcf9 Merge commit 'refs/remotes/andreberg/master' into test_merge
Conflicts:
	ApplicationController.m
	GitX.xcodeproj/project.pbxproj
	PBGitHistoryView.xib
	PBGitTree.m
	PBViewController.m
2010-06-14 16:39:06 -07:00
German Laullon 3d123f7fa3 initial File log 2010-06-14 15:59:16 -07:00
German Laullon 26d9adca8e Common file viewer for historic and commit views 2010-06-14 10:29:18 -07:00
glaullon 1c3364dec9 source and diff view on history 2010-06-11 16:23:12 -07:00
German Laullon 1a4556e955 SyntaxHighlighter Object-C brush 2010-06-11 01:00:49 -07:00
German Laullon a3a9173b35 SyntaxHighlighter functional 2010-06-11 01:00:19 -07:00
glaullon 5ebb673840 highlight test 2010-06-10 21:54:45 -07:00
glaullon 8a683431de reload html 2010-06-10 21:11:02 -07:00
German Laullon 6d7a0a5e81 HTML Blame 2010-06-10 13:51:23 -07:00
German Laullon 852006ed22 initial blame functionality on tree view 2010-06-10 01:28:27 -07:00
German Laullon fe31a90233 initial blame functionality 2010-06-09 00:31:02 -07:00
Dave Grijalva 39ec2319bf Merge commit 'brotherbard/experimental'
Conflicts:
	ApplicationController.m
	GitX.xcodeproj/project.pbxproj
	PBGitCommitView.xib
	PBGitHistoryView.xib
	PBGitWindowController.m
	PBViewController.m
	html/views/history/history.css
	html/views/history/history.js
2010-06-02 02:35:32 -07:00
Frederic Barthelemy bfb71494fa Merge branch 'master' into fbartho 2010-05-04 14:50:46 -07:00
André Berg 34c404a6d9 Stability: employ more sanity checks when parsing author details from history.js (part 2) 2010-03-30 15:10:47 +02:00
André Berg d12b92349b Stability: employ more sanity checks when parsing author details from history.js 2010-03-30 14:33:49 +02:00
André Berg d43e72f6dd Tweak to the context slider response time (hopefully final this time). 2010-03-26 11:39:12 +01:00
André Berg 97e3d189ca Bugfix: obj.realSha() in history.js returns nil/undefined more often than not.
My guess is that this is caused by the rather large buffer size of 2000. 
Since we know that a full SHA will never be longer than 40+1 bytes, we simply use 
a default define from libgit2 for the buffer size.
2010-03-26 00:57:53 +01:00
André Berg 1488bebd2e Small tweak to the response of the Context diff slider. 2010-03-24 18:46:51 +01:00
André Berg ca0fa1ec40 Some personal preferences for the history web view's #message.
Use the smaller 8pt Monaco again, since it allows for more compact text space requirements without losing readability.

Users who don't agree may safely ignore this commit.
2010-03-24 09:24:05 +01:00
André Berg 97550f28c2 Bugfix: This caused "no var named button" exceptions in the web view. 2010-03-24 09:18:29 +01:00