Commit Graph

412 Commits

Author SHA1 Message Date
Bryce Kerley 3922b543ba Wait for a child to clear it out. 2008-11-17 16:07:30 -05:00
Bryce Kerley d8b926c13d use outputForCommand instead of handleForCommand to save code, remove zombie-leaking bug 2008-11-17 16:07:30 -05:00
Pieter de Bie 2f0dc3bbd5 Site: correct gitx path 2008-11-17 20:19:10 +01:00
Pieter de Bie 6577ee424f Site: Update to 0.5 2008-11-17 15:38:26 +01:00
Pieter de Bie b9d6e41e65 Update Sparke feed (oops) 2008-11-17 15:31:56 +01:00
Pieter de Bie 92c1349217 Update the Sparkle feed to point to frim.nl
This is the new home of the sparkle feed. We keep the old one
for a while so older clients will still update.
2008-11-17 15:24:30 +01:00
Pieter de Bie cea5507d51 Site: update screencasts part
This uses a new fancy inline video display and also shows newly created
screencasts, specifically for GitX v0.5
2008-11-17 15:16:00 +01:00
Pieter de Bie 9f166e61f6 GitX version 0.5 v0.5 2008-11-17 14:08:25 +01:00
Pieter de Bie a950505972 PBRefController: reload items when checking out branch
This will update the view with the new current branch.
2008-11-17 14:03:06 +01:00
Pieter de Bie 82aa6a3232 Autosave divider position
This autosaves the position of the divider in the splitviews
of the commit view and the history view
2008-11-17 13:56:33 +01:00
Pieter de Bie 562ee7c6dd Update ignorefile 2008-11-17 13:54:37 +01:00
Pieter de Bie 8dcb8553ed Fix XIB inconsistencies in naming 2008-11-17 13:54:11 +01:00
Kim Does ca7816b523 Add new icons for "Add Branch" and "Add Label"
The "Add Label"/tag will be used in the future
2008-11-17 13:52:25 +01:00
bkerley f1a6d0663d fix setString-related failures 2008-11-10 13:09:14 -07:00
Pieter de Bie b8e1b6da77 RevList: Optimize revision walking
This is a naive approach at optimizing the revision walking.
2008-11-08 23:22:21 +01:00
Pieter de Bie bcc167be1b CLITool: Change installation path to /usr/local/bin 2008-11-08 23:16:57 +01:00
Pieter de Bie 00e44b35d0 RefController: Allow checking out branches 2008-11-01 23:24:41 +01:00
Pieter de Bie 058fbcff58 RefController: Refactor ref menu to its own class 2008-11-01 23:16:41 +01:00
Pieter de Bie a9dad9dd31 GitRevisionCell: Allow right-clicking on refs
This reuses the code in the RefController to show context menus
when right-clicking on refs.
2008-11-01 22:51:10 +01:00
Pieter de Bie e02ee5231c WebHistoryController: Move ref deletion to RefController
That's why it's there, after all. This also makes the system
more robust and catches some more errors.

The next thing this enables is to also allow right-clicking
on refs in the commit list.
2008-11-01 22:51:10 +01:00
Pieter de Bie 8a399c0793 GitCommit: Add a 'removeRef' function
The ref functionality is somewhat weird right now, in that
some parts of the code require a nil array when there are no
refs. So, we add a good removeRef accessor to keep track of this
2008-11-01 22:51:10 +01:00
Pieter de Bie 23c918660c HistoryView: Allow creation of branches 2008-11-01 22:51:10 +01:00
Pieter de Bie 79e5304aa7 WebHistoryView: don't error out when reloading refs
We changed the showRef() prototype to take the current ref, but
didn't change all callers.
2008-11-01 22:51:06 +01:00
Pieter de Bie 304a1a5d03 Remove stray debug messages 2008-11-01 21:14:57 +01:00
Pieter de Bie 4cefe8ee92 HistoryView: Allow dragging of refs to move them 2008-11-01 21:14:24 +01:00
Pieter de Bie 90db001409 WebCommitView: Add a state display
This adds a div in the webview to display the current commit
state. It allows us to notify the user of new commits by
showing something in the webview, rather than a modal
dialog.
2008-11-01 20:56:33 +01:00
Pieter de Bie e232181fae Add a GitX:// protocol handler
This allows to read in arbitrary blobs from the repository.
For more information, see the CallingFromWebKit.txt
document in the Documentation/ directory.
2008-11-01 19:06:05 +01:00
Pieter de Bie b7645ec967 PBWebHistoryController: show the commit diff async
This should make the GUI more responsive by allowing the diff
to be read in the background. This assumes that

[PBGitCommit details] is threadsafe, so we should keep it that
way.
2008-10-31 23:45:39 +01:00
Pieter de Bie db39ff7f92 PBWebController: Add a script accessor
This allows easy access to the window's script object
2008-10-31 23:44:28 +01:00
Pieter de Bie 0a40f876d1 PBWebController: Add asynchronous functions
This allows us to keep the UI responsive while
running expensive commands
2008-10-31 23:44:28 +01:00
Pieter de Bie 38a49e251e ReleaseNotes: Update up to 0.5 2008-10-31 23:44:28 +01:00
Pieter de Bie 77ad37a76a History/CommitView: Use a nice-looking splitview divider
This uses images based on those in Mail.app to create a nice
looking splitview (Hush, don't tell Apple!)
2008-10-31 23:44:24 +01:00
Pieter de Bie 1d19bd64df PBChangedFile: Don't use cat to read file contents
This changes PBChangedFile to read in files by using
NSString's stringWithContentsOfFile: method.

It still uses the UTF8 encoding scheme so that we
can capture binary files. This should perhaps be loosened to
also allow other encodings.
2008-10-29 00:49:47 +01:00
Pieter de Bie 41a906d715 PBGitRepository: Don't return a ref if we error out
This fixes the -parseReference: method to return nil if
there is an error in the git call. This also simplifies
our commit controller.
2008-10-29 00:24:10 +01:00
Pieter de Bie 9382cbf266 Merge commit '9e2618c3ea0e0517e156c3e04b9dba356311f361'
* commit '9e2618c3ea0e0517e156c3e04b9dba356311f361':
  Reorder project
  CommitView: Allow committing per hunk
2008-10-28 23:08:13 +01:00
Pieter de Bie d491f3b3ae CommitWebView: Display new files
This was broken when refactoring the commit code
2008-10-27 17:42:36 +01:00
Pieter de Bie 19f4d94ec6 Add a Complete SHA service
This adds a service bound to ⌘⇧7 that expands
any ref to its abbreviated SHA and its subject
line, much like ⌘C in the commit list does.
2008-10-27 17:40:46 +01:00
Kim Does 593606fa22 Site: Fix anchors in seeit page 2008-10-23 22:57:29 +02:00
Pieter de Bie 9e2618c3ea Reorder project 2008-10-21 23:31:56 +02:00
Pieter de Bie b252de1a76 CommitView: Allow committing per hunk 2008-10-21 23:31:45 +02:00
Pieter de Bie b1e3dd2212 WebCommitView: Use a notification to display errors
This should give GitX some more consistency. Also, it will
give us a basis to build further changes on.
2008-10-21 22:48:50 +02:00
Pieter de Bie bd097b0eff HTML: Restructure html folder
This changes the HTML part of GitX to be more consistent -- we
now use a "views" directory where every web view has it's own
directory.

Furthermore, GitX-wide Javascript is added in the "lib" directory.
The same is true for CSS in the "css" directory. Every view can
have its own custom CSS and JS, and those are put in the views
directory (without JS or CSS prefix directories).
2008-10-21 22:48:47 +02:00
Pieter de Bie 4363ad159a Clean up project
There were some leftover file entries, so let's
remove them.
2008-10-21 22:25:29 +02:00
Pieter de Bie 1c7fa93074 WebCommitView: Fix Gistie code
After removing the prototype code, the Gistie XMLHTTPRequest would send
the complete request in the URI, which was often too lang and cause a
failure.

This only sends the request in the body, and also adds additional
diagnostics.
2008-10-21 22:25:29 +02:00
Pieter de Bie 9b86f61991 Build fix 2008-10-21 17:44:21 +02:00
Pieter de Bie b82faa56af Merge branch 'pu/pb/diff_window'
* pu/pb/diff_window:
  Add a diff window
2008-10-21 17:31:31 +02:00
Pieter de Bie 36c550f8cd Merge branch 'pu/pb/remove_prototype'
* pu/pb/remove_prototype:
  HTMLviews: various cleanups
  WebHistoryView: Don't use Prototype
  WebDiffView: Don't use prototype anymore
  WebController: Display JS errors
2008-10-21 16:52:55 +02:00
Pieter de Bie 23b5cb2d7b Update Rakefile with upload task 2008-10-21 16:18:30 +02:00
Pieter de Bie d41f546620 Project: Move CommitList to 'git' folder
This is in accordance with the recent tendency to move all objects
related to a view in that folder (rather than only objects that have an
actual meaning in the Git context)
2008-10-21 15:45:40 +02:00
Pieter de Bie 49a708b446 PBGraphCellInfo: Remove stray data members 2008-10-21 15:44:57 +02:00