Commit Graph

741 Commits

Author SHA1 Message Date
Pieter de Bie 4bc43dbd7f Remove Sparkle feed url changer
Apparently the setFeedURL: method is persistent, so if someone ever used
a nightly, it would keep the debug URL. That's not what I intended (I wanted
to use a different URL for debugging purposes), so let's just remove it.
2009-09-18 01:06:10 +02:00
Pieter de Bie ca209652e2 Info.plist: No longer use the LONG_VERSION hack
Since 0b81911d we have a nicer Git version we can use, so we no longer
require this hack. It also interferes with Sparkle's updating system,
so just remove it and use the same versioning system as we use for
the short string.
2009-09-18 00:57:48 +02:00
Pieter de Bie 9b20e51685 Add release notes for 0.7.1 v0.7.1 2009-09-18 00:47:58 +02:00
Pieter de Bie 1ba804d426 Merge branch 'pu/pb/newSparkle' into stable
* pu/pb/newSparkle:
  Add update key
  Update Sparkle Framework
2009-09-18 00:39:10 +02:00
Pieter de Bie 63f6144cef CommitView: edit the xib a bit
This thing crashed when switching to the commit view in a WebKit private method.
After resaving, it worked again. Not very confidence inspiring :(
2009-09-18 00:15:28 +02:00
Pieter de Bie 7bfcf9af70 Add update key 2009-09-18 00:03:43 +02:00
Pieter de Bie 5972bd4f7f HistoryView: Don't show the 'loading commit' thing until after 500 ms.
This was annoying me a lot, so it's in stable :)

Signed-off-by: Pieter de Bie <pdebie@ai.rug.nl>
2009-09-17 23:40:38 +02:00
Pieter de Bie 34394d056b HistoryView: Remove raw view
I don't think anybody has ever used this, so let's just remove it.
2009-09-17 23:32:35 +02:00
Pieter de Bie 0363eea494 HistoryView: don't load in commit information in a separate thread anymore
I've seen this hang or crash a few times, so I hope this works better.
Instead of running a task in a separate thread, we just let it go through
the run loop and catch it when the task is done.

This ruins the second subview in the history view, but I don't think
anybody ever used that, so I'm going to remove it.
2009-09-17 23:29:06 +02:00
Pieter de Bie 77473612d9 Update Sparkle Framework 2009-09-17 13:28:07 +02:00
Pieter de Bie 2cdf2b60f5 Merge branch 'pu/pb/index_quick_fix' into stable
* pu/pb/index_quick_fix:
  CommitView: Don't keep rearranging when iterating over files
  IndexController: de-privatize the index-stopping stuff
2009-09-14 15:09:03 +02:00
Pieter de Bie 3324591e6c Fix UTF-8 bug in NSString_RegEx
This class would use the location information provided by
regex(3) as range for for a substring. However, the information
regex(3) returns is a byte-based, while NSString works on characters.

This can cause a problem when there are UTF-8 characters in the string,
as the wrong subsstring will be returned.

This is fixed by taking the UTF bytesequence, and extracting a substring
from that, rather than using NSString's own substring method
2009-09-14 13:25:01 +02:00
Pieter de Bie 00731eb285 CommitView: Don't keep rearranging when iterating over files 2009-09-12 23:43:35 +02:00
Pieter de Bie 916711324f IndexController: de-privatize the index-stopping stuff
We shouldn't need to do this, but we still need to, because
our index operations are split between two different controllers,
which is a bit odd.
2009-09-12 23:43:14 +02:00
Johannes Gilger 4544816ac8 GitX.css: Set a default-font for body
Some people have had Serif-fonts in their interface where no specific
fonts for classes/ids were specified. This sets the default-font to
'Lucida Grande' in order to have a nice non-serif on any system.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-09-09 23:03:03 +02:00
Johannes Gilger b7945b05e9 UserManual: Clarify double-click in stage-lines
Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-09-09 10:19:33 +02:00
Pieter de Bie ff5388cc24 HistoryView: Remove focus border
That's so 1999!
2009-09-08 16:42:55 +02:00
Pieter de Bie 53ca665271 Delete this test file.
I don't think we need it anymore. Otherwise, we can alway
get it back.
2009-09-08 15:53:43 +02:00
Pieter de Bie b6575d9dba Update site to mention git v1.6.0 requirement' 2009-09-08 15:19:04 +02:00
Johannes Gilger 3a1b10ae8f PBGitTree: Improve binary-file decision
This uses the same mechanisms as git to determine whether a file is
binary: By simply searching the first 8000 bytes for a 0-byte. This
gets rid of the call to "file" and is a much cleaner and shorter
implementation.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-09-08 15:13:13 +02:00
Pieter de Bie 3861deecfa Require Git 1.6.0 or higher
Git 1.6.0 was released over a year ago now, so it shouldn't be too hard
to get people to upgrade to that. We need 1.6.0 for the --children revlist
option.

Requiring Git 1.6.0 or higher means we can also revert
a94981f35 (RevList: Don't rely on the presence of %x00) sometime.
2009-09-08 00:06:57 +02:00
Pieter de Bie c95a22acc3 Add a link to the user survey v0.7 2009-09-07 15:22:24 +02:00
Johannes Gilger 8243cf58b3 PBGitTree: Don't try to print binary-file contents
This patch prevents the plaintext display of files with binary content
in tree-view by connecting the content to the textContents attribute.

PBGitTree is extended with the method textContents, which returns the
textual representation of a PBGitTree-object. The methods first checks
the output of "git check-attr binary <file>" to see if the user
set/unset the binary attribute manually. Then it checks for common
binary file-extensions. If this method can't determine whether the file
is binary, the file-content is loaded and Unix "file" is run on the
first 100 bytes of the file to make a decision.

It also adds the -[PBGitTree fileSize] method to check the size
of the file before actually loading its contents.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
Edited-by: Pieter de Bie <pdebie@ai.rug.nl>
2009-09-07 14:38:44 +02:00
Johannes Gilger 8750060621 Site: Get rid of auto-refresh description
Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-09-07 14:35:39 +02:00
Pieter de Bie 6f18d9457a Add a few more release points 2009-09-07 13:44:24 +02:00
Stonewall Ballard 85322728fa Add preferences for opening things at launch.
Heavily-Edited-By: Pieter de Bie <pdebie@ai.rug.nl>
2009-09-07 13:37:17 +02:00
Pieter de Bie ed4bb78706 Merge branch 'pu/jg/docs'
* pu/jg/docs:
  Update releasenotes, as autorefresh won't make it into 0.7
  ReleaseNotes for v0.7 with author information
  Site: W3C-Valid and CSS/HTML corrections
  UserManual: Rewrite most parts for GitX 0.7
  GitX 0.7 Release-Notes
  UserManual: Add disclaimer as to what GitX is

Conflicts:
	Site/UserManual/text/01 - Introduction.markdown
2009-09-07 12:58:25 +02:00
Pieter de Bie 6515624267 Update releasenotes, as autorefresh won't make it into 0.7 2009-09-07 12:55:50 +02:00
Johannes Gilger 6b56919b31 ReleaseNotes for v0.7 with author information
Include Dave's reload feature and author-information for the most
important parts. Also a list of contributors since v0.6.3 from the
shortlog.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-09-06 15:00:09 +02:00
Pieter de Bie 26c3cd1f48 HistoryView: Add "SHA" Column and make it hidden by default 2009-09-06 14:46:58 +02:00
Johannes Gilger 788cd7163b Site: W3C-Valid and CSS/HTML corrections
* Makes all the pages (except "See it") W3C Valid
* Adjusts a few texts here and there a little bit
* Makes the menubar span the whole div and display correct on FF/Linux
* Moves "GitX" in the header a few px down to center it

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-09-06 14:38:48 +02:00
Pieter de Bie 5fc59901c0 Merge branch 'pu/jg/describe'
* pu/jg/describe:
  About-Panel: Show git-describe using Info.plist
2009-09-06 13:24:01 +02:00
Johannes Gilger 0b81911d76 About-Panel: Show git-describe using Info.plist
This patch adds a CFBundleGitRevision key to Info.plist which is set to
the output of "git describe" when building.

The menu-entry for "About GitX" was reconnected to a custom method in
the AppController, which reads the CF-string from the .plist and also
indicates if the build is a DEBUG-build.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-09-06 13:23:38 +02:00
Johannes Gilger 9d2efb1bb6 UserManual: Rewrite most parts for GitX 0.7
This rewrites most of the UserManual for GitX 0.7 and also updates the
screenshots to reflect the latest GitX-version.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-09-06 12:20:52 +02:00
Johannes Gilger b86d2c480f UserManual: Add disclaimer as to what GitX is
Add a disclaimer about the intended use of GitX. A lot of people seem to
think GitX is a way to make using a complex system easy. Other think
that they can learn git by clicking their way around GitX.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-09-03 16:04:52 +02:00
Johannes Gilger 8b74bc04f5 GitX 0.7 Release-Notes
This prepares the GitX 0.7 release-notes and also fixes two small bugs
in the previous notes.

It also fixes a CSS-bug which makes the gitx-website display the same
font with Firefox and Safari instead of using a serif with FF.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-09-03 15:47:26 +02:00
Johannes Gilger 1f7a818743 UserManual: Add disclaimer as to what GitX is
Add a disclaimer about the intended use of GitX. A lot of people seem to
think GitX is a way to make using a complex system easy. Other think
that they can learn git by clicking their way around GitX.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-09-03 15:47:20 +02:00
Johannes Gilger 8cdb2e6c9d Add empty line at end of previous release notes 2009-09-03 10:22:29 +02:00
Johannes Gilger 4e2b0535d4 This fixes a CSS-bug which makes the gitx-website display the same
font with Firefox and Safari instead of using a serif with FF.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-09-03 10:21:36 +02:00
Johannes Gilger d3cb020598 commit.js: Fix discardHunk functionality
When rewriting big parts of commit.js, JD forgot to use the new function
for the "Discard hunk" functionality as well. This fixes that.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-09-03 10:13:44 +02:00
Benjamin Kramer a8f4304f86 Fix checkbox scaling warnings
This fixes Snow Leopard's "The image scaling property should not be used with
checkboxes" warnings. Noticed by Stonewall Ballard.
2009-08-31 22:35:33 +02:00
Johannes Gilger 0823ff859d Keep window-title up-to-date in commit view
This issues a simple reloadRefs when refreshing the commit-view, keeping
the current branchname up-to-date here as well.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-08-31 12:17:17 +02:00
Pieter de Bie a5cfbe1b42 Merge commit '2f9ca38689cc5dff15d7e52af846f275c00295d2'
* commit '2f9ca38689cc5dff15d7e52af846f275c00295d2':
  Fix build with external build products directory
  Statusbar: Bring View-Mode buttons to front
2009-08-28 00:37:33 +02:00
Pieter de Bie 85fcee1710 DiffHighlighter: Remove weird end line
This was added in 1688c2a (diffHighlighter.js: Record the line index as attribute.),
I guess by accident
2009-08-28 00:34:30 +02:00
Pieter de Bie 64bc1f96ca IndexController: re-add ellipsis to "Discard Changes" menu item
This was accidentally deleted when I applied a patch from JS
2009-08-28 00:32:50 +02:00
Pieter de Bie 703782163d PBChangedFile: Add assert to make sure we're not doing something stupid 2009-08-28 00:31:42 +02:00
Pieter de Bie f9f6809c40 Also set blobMode / blobSha for unstaged changes.
It shouldn't matter if a file has staged / unstaged changes, as long as the
file is tracked, the SHA and blob should be recorded.

This had really annoying complications because PBChangedFile used this
information to decide whether or not to delete a file from the index
when unstaging in PBGitIndexController
2009-08-28 00:31:23 +02:00
Pieter de Bie 9320ef71a8 Merge branch 'js/selectable_hunk' of git://github.com/jdtsmith/gitx
* 'js/selectable_hunk' of git://github.com/jdtsmith/gitx:
  commit.js: Interface for selecting lines to (un-)stage.
  commit.js: Refactor hunk retrieval.
  diffHighlighter.js: Record the line index as attribute.
  commit view: Ensure buttons display on top of text
2009-08-28 00:18:23 +02:00
Benjamin Kramer 86f9adb6a0 Fix an obvious typo
Found by the clang static analyzer.
2009-08-28 00:15:01 +02:00
Gerd Knops 2f9ca38689 Fix build with external build products directory 2009-08-20 11:35:09 +02:00