André Berg
facf2ba40e
Simplify Xcode's build settings on project and target level by using xcconfigs.
...
Since xcconfigs can include other configs you get the same functionality that Xcode's
build settings give you but with much more clarity. And it's much better for SCM,
especially decentralized ones like git.
Changes:
- Archs is set to ppc i386 x86_64
- libgit2 is now compiled including -arch x86_64.
- LTO is off (caused a Rel32 address space error when linking)
- Default compiler is now LLVM GCC4.2 since Clang is not quite ready for Objective C++.
(and we have some .mm files in there)
- Based on: settings on Xcode's build settings dialogs are set according to the name
of the xcconfig file. (project settings are based on Common.xcconfig)
- Deleted all the overwritten settings (bold font display) that are now defined through
the xcconfigs.
2010-03-26 01:07:24 +01:00
André Berg
e004c644a4
Update .gitmodules to point to the actual libgit2 host now.
2010-03-26 00:58:24 +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
Roddi
0177e20824
changed calls to git_oid_mkhex() to git_oid_to_string() to make it compile with current git sources
2010-03-25 20:19:25 +01:00
André Berg
5b5118cb61
Xcode: Set Clang as default compiler for all build configurations.
2010-03-24 18:57:29 +01:00
André Berg
27a8c8a52a
Merge branch 'refs/heads/devel'
2010-03-24 18:47:32 +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
00545fbe73
Add a preference option for truncating very large info sheet content texts when they exceed a user-configurable limit.
2010-03-24 18:43:51 +01:00
André Berg
1fa1c4dc99
Add Cmd+Shift+F for "Reveal in Finder" and Cmd+Shift+T for "Open Terminal".
2010-03-24 18:41:56 +01:00
André Berg
925c227c88
Add Cmd+Shift+F for "Reveal in Finder" and Cmd+Shift+T for "Open Terminal".
2010-03-24 18:04:41 +01:00
André Berg
d999eff109
Remove superfluous (and crash prone) entries from the context menu of Gravatar images.
...
"Copy Image" should suffice for most use cases, since it will put the URI and the image data on
both pasteboards.
2010-03-24 18:03:19 +01:00
André Berg
804f62068b
Remove finalizers with only observer unregistering code since GC guide says they are stored as __weak refs anyway.
2010-03-24 17:59:26 +01:00
André Berg
95e050398b
Add a string truncation category because on a very large commit the showMessage sheet just exploded out of my monitor.
2010-03-24 16:29:27 +01:00
André Berg
a3ede54889
Bugfix: Bad files descriptor should be history now.
...
Had this multiple times in a row, but after the change I have't seen any to date.
2010-03-24 16:29:00 +01:00
André Berg
1922798d4a
Merge branch 'master' into devel
2010-03-24 11:09:35 +01:00
André Berg
a100ff38ee
Set a copy of the "Push" message strings for the alert panel message with a small case "p" letter because it will be appended in the middle of a sentence.
2010-03-24 11:09:09 +01:00
André Berg
d9778b250f
Merge branch 'master' into devel
2010-03-24 10:57:12 +01:00
André Berg
0f18ffdace
Make remaining sheets resizable as well.
2010-03-24 10:55:16 +01:00
André Berg
065a83b1c4
Merge branch 'master' into devel
2010-03-24 10:34:47 +01:00
André Berg
b4d30935a4
Remove some left over image links from Xcode's project.pbproj.
2010-03-24 10:29:24 +01:00
André Berg
6a542d441a
Cannot use non-informal protocols with Base SDK 10.5.
2010-03-24 10:28:54 +01:00
Uli Kusterer
abe09c4178
Label on password window so it's less cryptic.
2010-03-24 10:23:54 +01:00
Uli Kusterer
6c4c40d496
Set the environment variables for our tool. We have a rudimentary but working password panel now. Prettification later.
2010-03-24 10:17:55 +01:00
Uli Kusterer
bca58a7d9c
First stab at an executable that can be put into the SSH_ASKPASS environment variable to make GitX ask for passwords.
2010-03-24 10:17:19 +01:00
André Berg
e6f7350106
Remove the superfluous string comparison shell function.
2010-03-24 09:24:31 +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
7d6f966978
Make the view controllers __weak to silence some underflow refcount errors.
2010-03-24 09:21:31 +01:00
André Berg
e5b5e4ca42
SCNetworkCheckReachabilityByName will be deprecated anyways, so replace it with the docs example which will work on any OS version from 10.3.
2010-03-24 09:20:37 +01:00
André Berg
22f916f160
Give the showHideAllFiles action at least a chance to call the public version of the code if avilable.
2010-03-24 09:19:34 +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
André Berg
842630482c
Move error domains into their own PBGitXErrors file pair.
2010-03-24 09:17:19 +01:00
André Berg
752bb7cfa1
Post merge fix: Delete some left over code from my 10.6 QuickLook preview panel support.
2010-03-24 09:16:36 +01:00
André Berg
3541acf4a2
Post merge fix: Use the git_oid_mkhex function again from Pieter's libgit2 version.
2010-03-24 09:15:51 +01:00
André Berg
5598eef737
Add preference options for refreshing the view + controller automatically on windowDidBecomeMain.
...
Add preference for showing exact or relative dates.
Make the showWhitespaceDifferences preference work.
Make the context slider in the diff views work.
This is done with a minimal version of jQuery 1.3.2 being responsible for the animation and
a small cookie storing the last value between page refreshes so that it can be incremented by the HTML sliders
default value.
TODO: Maybe we can also make the default context value into a preference?
2010-03-24 09:14:52 +01:00
André Berg
45e8aabaf3
Post merge fix: Since we're 10.5 SDK again, we cannot use non-informal protocols.
2010-03-24 09:04:06 +01:00
André Berg
4832f3b59f
Code cleanup: Remove unneeded #imports, empty methods, declare id return type when left out, commit irrelevant whitespace flagged as change.
2010-03-24 09:02:45 +01:00
André Berg
b6272c082f
Post merge fix: Set Base SDK back to 10.5
2010-03-24 09:00:07 +01:00
André Berg
d1eff3ce75
Bugfix?: this seems to fix the "malloc refcount underflow" errors that seem to happen frequently when utilizing the QL panel from the source files outline view. Not entirely sure why though.
2010-03-24 08:59:25 +01:00
André Berg
e6d25913d8
Post merge fix: Remove some of my left over code for the 10.6 QuickLook panel support.
2010-03-24 08:57:20 +01:00
André Berg
79c928dcdd
Remove my 10.6 QuickLook panel code since Nathan's implementation handles this more gracefully (includes 10.5 support).
2010-03-24 08:09:10 +01:00
André Berg
eb23f421a2
Remove the bad file descriptor #warning since that was likely caused by calling standardOutput via dot notation on NSTask and this is fixed now.
2010-03-24 07:08:01 +01:00
André Berg
d276c5eac4
PBGitHistoryView.xib: Set Key Equiv. of QuickLook button to Space.
2010-03-24 04:56:59 +01:00
André Berg
7d14bff011
Make some of the sheets resizable (you never know how much a user wants to enter ;)).
...
Ignore the RepositoryWindow.xib change I tried something but set it back to the value it had before.
2010-03-24 04:54:54 +01:00
André Berg
c22e888d53
Add a note to .gitmodules telling why we need to keep using Pieter's version of libgit2.
2010-03-24 04:52:20 +01:00
André Berg
85167431d9
Move the jQuery lib from html/js into html/lib where it should have been right when I added it.
2010-03-24 04:50:57 +01:00
André Berg
38162780f5
Post merge fix: Remove unused KBPopUpToolbaritem files.
2010-03-24 04:49:41 +01:00
André Berg
884a2fcd31
Post merge fix: Move remote XIBs into English.lproj and make them localized again.
2010-03-24 04:49:10 +01:00
André Berg
38177ed968
Merge remote branch 'brotherbard/experimental' into local branch 'bb/experimental'
2010-03-24 01:41:00 +01:00
André Berg
16cdb6f069
Simplify install.sh script by removing a superfluous string comparison function.
2010-03-23 23:37:08 +01:00
Nathan Kinsinger
096a176fbd
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
2010-03-22 13:06:51 -06:00