Resize the text in the toolbar search field.

The default text size of 13 causes highlighting to be off by one pixel. With a text size of 12 highlighting behaves correctly.
Make the Preferences window a panel.

This enables the standard behaviour of dismissing the panel with the <esc> key.
wording improved for commit typo fix.
URL regex adjusted so it now handles any <protocol>://<url> combination instead of only a list of set protocols.
Bugfix: Index not refreshing on manual refresh

The window controller should be calling the content controller's refresh and not the repository's.
Bugfix: fix the contextual menu and drag-n-drop of refs

When the Subject column is not the first column in the git history table the contextual menu for refs and dragging and dropping refs don't work.
Offset the mouse click's x value by the x origin of the Subject column.
In PBRefController look up the column index of the subject column and check that it's the clicked column (don't assume it's the first one).
Fix for "Remote host closed connection" exception

EINTR errors are recoverable, just need to read() again.
Randomly while looking at files in the file browser the contents view will be empty or files will not be shown when clicking a discloser triangle. Seems to happen more when running in XCode than when running by itself.
Fix file names with spaces not working in the contextual menu

Files with spaces end up with 4 extra spaces after the name. This stops them from working with the various commands in the contextual menus.
Fix drawing ref labels on the next tableview column

If there are a large number of refs pointing to a commit, then they may be drawn on top of or behind the other columns.
This will not show any labels that don't fit.
Bugfix: Avoid looping while parsing the children of a tree

Happens very intermittently, readLine keeps returning "\r".
Patch from pieter
Add support for QuickLook in 10.6+

In 10.6 Apple removed the private QL API that existed in 10.5 and added a new public API. However they did not port the new API back to 10.5 so we have to do some work to get it working in both.

This patch has GitX choose the correct version at run time.
    - The delegate code is based on Apple's QuickLookDownloader example project
    - added three of the public API methods to CWQuickLook.h to avoid warnings about unknown method calls
    - In ApplicationController try to load the public API first then load the private one if it fails
    - Created PBQLTextView, a subclass of NSTextView to allow the space key event to toggle the preview panel
    - PBGitHistoryView.xib:
        - set the text view's class to PBQLTextView
        - connected the history controller to the controller outlet
        - bound the quick look button's enabled binding to File's Owner.selectedCommitDetailsIndex
        - added "Quick Look" to the quick look button's tooltip
    - The commit list table view toggles the panel if the tree view is active
    - changed name of the toggle IBAction method which caused MainMenu.xib and PBGitHistoryView.xib to update
Maintain the selection in the file browser when the commit selection changes

    - only maintains one item, if multiple items are selected then only the first one will stay selected
    - if the file is removed in the new commit then don't select anything, then if a new commit is selected that does have that file it will be selected again
    - this does not maintain the expanded state of folders other than the one(s) that contain the selected file
    - in PBGitHistory.xib Tree Controller turn off:
        - Avoid Empty Selection
        - Select Inserted Objects
Remove the lower toolbar from the history and stage views

    - in the history view move the detail/tree view and quick look buttons to the top toolbar
Show the full width of text in the file content text view

The text view was wrapping text well before it reached the edge of the view.

In PBGitHistory.xib in the textview for the file contents check the Resizable Horizontally checkbox in the Size Inspector
Simplify install.sh script by removing a superfluous string comparison function.
Merge remote branch 'brotherbard/experimental' into local branch 'bb/experimental'
Post merge fix: Move remote XIBs into English.lproj and make them localized again.
Post merge fix: Remove unused KBPopUpToolbaritem files.
Move the jQuery lib from html/js into html/lib where it should have been right when I added it.