Commit Graph

17 Commits

Author SHA1 Message Date
André Berg ff550e85f1 More cleanup and feature adding for the Push, Pull and Rebase popup button toolbar items.
- Complete the action methods for fetch and rebase. 
- Add a more generic and re-usable method for updating the popup toolbar items.
- Comment out updatePushMenuWithRemotes: and updatePullMenuWithRemotes: as those have been 
  superseded by updatePopUpToolbarItemMenu:remotes:action:title:
2009-11-10 12:41:02 +01:00
brotherbard a26bca8845 Add drop down menus to the push and pull toolbar items.
TODO: need small disclosure triangles in the bottom right corner of the icons.
2009-11-08 20:34:34 -07:00
brotherbard 0be790dad4 merge andreberg/master 2009-11-08 18:19:41 -07:00
brotherbard d365bd44f5 Add a "Create Tag" button to the toolbar.
TODO: a custom icon
2009-11-08 15:51:56 -07:00
brotherbard c52aedfcf2 Add an "Add Remote" button to the toolbar that adds and fetches a remote.
TODO: a custom icon
2009-11-08 10:06:37 -07:00
André Berg 22ba33f575 Disable/re-enable Push, Pull and Rebase buttons depending on selected branch validity.
If "All branches" or "Local branches" is selected, the buttons will be disabled. 
Actions from the context menu continue to work as they implicitly set the target branch
through the identity of the clicked label patch.
Any other branch will re-enable the buttons.
2009-11-08 16:22:53 +01:00
André Berg 4c4203a7ce Update PBGitErrors to include some error messages dealing with missing remote tracking branches.
This is especially useful for the new button functionality.
2009-11-07 01:02:22 +01:00
André Berg 93a027cccd Bug fix: Make new buttons actually work.
Mind you, these buttons cannot operate on the clicked branch like the context menu. 
Instead they always operate on the currently active branch (or its default remote).
2009-11-03 04:38:30 +01:00
André Berg 7c1b9d9961 Add pullButton: IBAction. 2009-11-01 00:29:07 +01:00
André Berg 2b0000ca23 Add menu and toolbar changes from cyberfox 2009-10-26 16:26:52 +01:00
Charles O'Rourke 353d1053b0 Tickets #151 and #155: check for illegal branch names before creating. 2009-05-28 13:46:12 +01:00
Pieter de Bie b2c03bc97b HistoryView: Correctly update branches when changing them
I stupidly used "observe.." instead of register.. so KVC
didn't even work
2008-11-19 02:12:03 +01:00
Pieter de Bie 92437c6663 WIP: Use a nicer branches menu 2008-11-19 01:41:27 +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 23c918660c HistoryView: Allow creation of branches 2008-11-01 22:51:10 +01:00
Pieter de Bie 4cefe8ee92 HistoryView: Allow dragging of refs to move them 2008-11-01 21:14:24 +01:00