Chris Han [Thu, 28 Jul 2011 00:00:38 +0000 ]
Put html line breaks between debug messages
Chris Han [Wed, 27 Jul 2011 02:46:20 +0000 ]
Don't read description repeatedly
Chris Han [Wed, 27 Jul 2011 02:45:51 +0000 ]
Suppress warnings when description file doesn't exist
Chris Han [Wed, 27 Jul 2011 02:42:40 +0000 ]
Support scm-manager repository configs
Requires xml support. Only displays repositories marked as 'public'.
Chris Han [Sat, 23 Jul 2011 04:44:17 +0000 ]
Extract new diff message
Chris Han [Thu, 21 Jul 2011 04:27:55 +0000 ]
Don't require a valid diff exe if using xdiff
Chris Han [Thu, 21 Jul 2011 04:27:07 +0000 ]
Fix blobdiff with xdiff
Chris Han [Thu, 21 Jul 2011 04:05:44 +0000 ]
Display message when diffing binary files with xdiff
Chris Han [Thu, 21 Jul 2011 03:45:28 +0000 ]
Use xdiff if installed
Chris Han [Sun, 17 Jul 2011 15:31:37 +0000 ]
Merge branch 'experimental/nogit'
Chris Han [Sun, 17 Jul 2011 05:58:23 +0000 ]
Sometimes finfo_open chokes on the magic file and floods warnings
All sorts of junk "invalid offset" and "invalid type" messages, suppress
them
Chris Han [Sun, 17 Jul 2011 05:47:06 +0000 ]
Fix tag objects dereferencing their commits
Chris Han [Sun, 17 Jul 2011 05:24:05 +0000 ]
Don't do redundant regexes when reading commit data
Chris Han [Sun, 17 Jul 2011 05:19:38 +0000 ]
Fix tree links in logs
Chris Han [Sun, 17 Jul 2011 04:58:11 +0000 ]
Make the limit for the git exe fallback for the log configurable
Chris Han [Sun, 17 Jul 2011 04:38:56 +0000 ]
Cache packfile index offsets
Chris Han [Sun, 17 Jul 2011 04:19:08 +0000 ]
Store projectroot internally rather than loading it every time
Chris Han [Sun, 17 Jul 2011 00:17:24 +0000 ]
For subtree snapshots include path in archive filename and prefix
Chris Han [Sun, 17 Jul 2011 00:09:34 +0000 ]
This was supposed to be static
Chris Han [Sun, 17 Jul 2011 00:08:58 +0000 ]
Factor out slugification into utility function
Chris Han [Sun, 17 Jul 2011 00:02:15 +0000 ]
Make subtree snapshots using direct tree objects rather than path restrictions
Chris Han [Sat, 16 Jul 2011 21:55:45 +0000 ]
Use standard blob methods for split diff so it can use raw git objects
Chris Han [Sat, 16 Jul 2011 21:51:14 +0000 ]
Recurse tree paths using raw git objects
Chris Han [Sun, 10 Jul 2011 23:06:39 +0000 ]
Load sorted tag list using raw git objects
Chris Han [Sun, 10 Jul 2011 22:43:37 +0000 ]
Load sorted head list using raw git objects
Chris Han [Sun, 10 Jul 2011 21:57:42 +0000 ]
Load project epoch using raw git objects
Chris Han [Sun, 10 Jul 2011 21:10:23 +0000 ]
Read gitweb.owner from raw config file
Chris Han [Sun, 10 Jul 2011 20:37:03 +0000 ]
Fall back on git rev-list if skipping a significant number of commits
Chris Han [Sun, 10 Jul 2011 20:25:04 +0000 ]
Fix unset index warnings when listing log
Chris Han [Sun, 10 Jul 2011 20:02:38 +0000 ]
Load project log using raw git objects
Based on the log walking code from glip
Walking the log in raw php is a bit of a mixed bag as far as
performance. If you're walking commits close to the tip of the head
performance is good, because you save the shell call to git-rev-list and
performance wise it's light to load the parents of the first 50 commits.
However, in raw PHP we have to do the walking ourselves, which means we
can't --skip the first 100 or so commits - so when listing commits
several pages away from the head, we have to walk all the way from the
tip down to that page, and then discard the more recent commits we don't
care about.
So the loading time increases for each log page further away from the
tip (earlier commits).
Chris Han [Sun, 10 Jul 2011 05:29:31 +0000 ]
Fix head commit lookup crashes for projects without any commits
Chris Han [Sun, 10 Jul 2011 05:20:23 +0000 ]
Load ref list using raw git files
Chris Han [Sun, 10 Jul 2011 03:35:43 +0000 ]
Load HEAD using repo file pointer
Chris Han [Sun, 10 Jul 2011 02:39:04 +0000 ]
Load tag data from pack
Chris Han [Sat, 09 Jul 2011 22:55:04 +0000 ]
Fix binary search of v1 pack indices
Chris Han [Sat, 09 Jul 2011 22:40:06 +0000 ]
Load tree data from pack
Chris Han [Sat, 09 Jul 2011 21:57:37 +0000 ]
Calculate size of blob if not set
Chris Han [Sat, 09 Jul 2011 18:05:16 +0000 ]
Load blob data from pack
Chris Han [Sat, 09 Jul 2011 17:58:55 +0000 ]
Document compat config option
Chris Han [Sat, 09 Jul 2011 17:30:50 +0000 ]
Load commit data from pack
Chris Han [Sat, 09 Jul 2011 16:45:09 +0000 ]
Read commit parents from parent lines in the commit object
Chris Han [Sat, 09 Jul 2011 16:20:52 +0000 ]
Use binary search on index files
Chris Han [Sat, 09 Jul 2011 15:28:52 +0000 ]
Add packed object extraction class
Based on glip by Patrik Fimml
Chris Han [Fri, 08 Jul 2011 00:52:53 +0000 ]
Fix merge commit logic
A commit is a merge commit if it has multiple parents. The tip commit
of each head being merged become the parents of the merge commit.
Chris Han [Fri, 08 Jul 2011 00:47:17 +0000 ]
Change capitalization style to match
Tanguy Pruvot [Thu, 07 Jul 2011 19:44:21 +0000 ]
ShortLog: Show only 'real commit' titles in bold
Signed-off-by: Chris Han <xiphux@gmail.com>
Chris Han [Fri, 01 Jul 2011 02:20:20 +0000 ]
Append backslashes to paths on windows
Chris Han [Fri, 01 Jul 2011 02:09:53 +0000 ]
Move windows and 64 bit tests to utility functions
Chris Han [Fri, 01 Jul 2011 01:25:02 +0000 ]
Quote temp dir in diff command, for windows tempdirs with spaces in them
Chris Han [Fri, 01 Jul 2011 00:52:41 +0000 ]
Fix default diff binary lookup
Stupid mistake... wrote the function but forgot to actually use it
Chris Han [Sat, 25 Jun 2011 01:30:22 +0000 ]
Bump version
Chris Han [Thu, 23 Jun 2011 01:28:19 +0000 ]
Define background for commitdiff TOC
Chris Han [Sun, 19 Jun 2011 02:05:59 +0000 ]
Extract new strings
Chris Han [Sun, 19 Jun 2011 02:02:09 +0000 ]
i18n show all link
Chris Han [Sat, 18 Jun 2011 04:49:52 +0000 ]
Allow side by side commitdiff TOC to show the chosen diff and hide the
rest
Chris Han [Sat, 18 Jun 2011 04:12:10 +0000 ]
Add a count to the side by side table of contents
Chris Han [Sat, 18 Jun 2011 02:34:09 +0000 ]
Make side by side commitdiff TOC sticky
Chris Han [Sat, 18 Jun 2011 02:31:47 +0000 ]
Increase TOC indent a bit
Chris Han [Sat, 18 Jun 2011 01:46:03 +0000 ]
Adjust side-by-side display of added/deleted files to be closer to the way diff programs show
Chris Han [Fri, 17 Jun 2011 03:17:25 +0000 ]
Start working on sidebar navigation for side by side commitdiff
Chris Han [Wed, 15 Jun 2011 03:31:27 +0000 ]
Consolidate copy-and-pasted diff mode cookie code
Chris Han [Wed, 15 Jun 2011 03:02:48 +0000 ]
Remove extraneous pipe, fix diff output links
Tanguy Pruvot [Tue, 14 Jun 2011 08:09:02 +0000 ]
add side-by-side commit-diff view
Chris Han [Sat, 11 Jun 2011 01:37:38 +0000 ]
Fix commit lookups where a commit is referenced by the name of a ref
rather than a commit hash
Bug #78
Chris Han [Sat, 11 Jun 2011 00:29:13 +0000 ]
Fix HEAD commit lookup on blob_plain
Bug #79
mdevilz [Thu, 02 Jun 2011 01:32:16 +0000 ]
Added || ($end == ':') to check if there was the : operator at the end. Works with gitolite served repositories. Should work with gitosis as well.
Bug #77
Signed-off-by: Chris Han <xiphux@gmail.com>
Chris Han [Fri, 27 May 2011 03:34:22 +0000 ]
Make newly added blocks align correctly in side-by-side view
Added blocks of code (so all '+' lines) are aligning incorrectly - they
appear one line higher than where they actually are, which is confusing
because it generally makes the code look like it's syntactially invalid.
This change does fix it, but I'm really don't think that it's the right
solution. Labeling it as a HACK for now to revisit later.
Chris Han [Thu, 26 May 2011 03:37:42 +0000 ]
Remember user's preference of seeing unified or side-by-side blobdiffs
Chris Han [Thu, 26 May 2011 03:11:19 +0000 ]
Blobdiff and side by side diff templates are pretty much identical now - merge them
Chris Han [Thu, 26 May 2011 02:58:50 +0000 ]
Split actual side-by-side display into its own template
Chris Han [Thu, 26 May 2011 02:47:14 +0000 ]
The blobdiff and sidediff controllers are virtually identical now - merge them
Chris Han [Thu, 26 May 2011 02:30:52 +0000 ]
I messed up whitespace-only lines - make sure they have enough height to show up
Chris Han [Thu, 26 May 2011 02:23:20 +0000 ]
Allow side by side diff lines to wrap so the view doesn't get really wide with long lines
Chris Han [Thu, 26 May 2011 02:21:03 +0000 ]
Detach class names from model code so we can change them easily
Chris Han [Thu, 26 May 2011 01:59:59 +0000 ]
Move split diff parsing code to FileDiff class
Now that the HTML escaping has been moved out of the controller layer to
the view layer, there's nothing view-specific about the diff parsing
code - move it to the model layer so it can be reused
Chris Han [Thu, 26 May 2011 01:41:17 +0000 ]
Make diff command a constant
Chris Han [Thu, 26 May 2011 01:36:11 +0000 ]
Move side by side diff look-and-feel related styles to gitphpskin.css
Chris Han [Thu, 26 May 2011 01:24:41 +0000 ]
Move side by side diff html escaping to view layer
Mattias Ulbrich [Wed, 25 May 2011 14:44:06 +0000 ]
Implemented side-by-side diff comparison of files
Signed-off-by: Chris Han <xiphux@gmail.com>
seefan [Wed, 13 Apr 2011 00:28:23 +0000 ]
Chinese translation
Signed-off-by: Chris Han <xiphux@gmail.com>
Chris Han [Fri, 25 Feb 2011 01:36:02 +0000 ]
Bump version
Chris Han [Mon, 21 Feb 2011 03:49:34 +0000 ]
Merge branch 'stylesheet'
Chris Han [Mon, 21 Feb 2011 03:20:23 +0000 ]
Remove a few generic styles
Chris Han [Mon, 21 Feb 2011 00:24:42 +0000 ]
Fix crashes in tag commit load
Chris Han [Sun, 20 Feb 2011 23:59:40 +0000 ]
Don't load tag data if we want the commit and it's already been set
Chris Han [Sun, 20 Feb 2011 23:19:42 +0000 ]
Use count parameter on head/tag list
Chris Han [Sun, 20 Feb 2011 22:44:50 +0000 ]
Store refs as separate tag and head collections again
This avoids having to call instanceof on the objects over and over
Chris Han [Sun, 20 Feb 2011 22:28:58 +0000 ]
Improve performance of tag listing
This changes the tag / head list functions GetTags and GetHeads to use
for-each-ref to let git do the age sorting internally (which is much
faster) and changes them to build off of the data already loaded by the
main ref list loading function
Chris Han [Sun, 20 Feb 2011 21:25:01 +0000 ]
Use a shared ref ref list for finding a commit's tags and heads
This uses a new function to just load all refs without any accompanying
data, which we use to find the heads or refs for a given commit. Since
when displaying ref badges we only care about its type and name.
Chris Han [Sun, 20 Feb 2011 07:05:27 +0000 ]
Clean up CSS stylesheets, split apart functional vs skin css
Chris Han [Sun, 20 Feb 2011 07:13:24 +0000 ]
Fix warning on blob page with mime type lookup turned off
Chris Han [Sat, 19 Feb 2011 20:56:08 +0000 ]
Remove the commit containing tag from the cache
To be safe, you should clear your cache after taking this commit
Bug #65
Chris Han [Sat, 19 Feb 2011 20:38:19 +0000 ]
Wrap javascript livesearch in a setTimeout
This will help when searching lots of projects - it waits until the user
stops typing before running the search, instead of looping through all
projects every letter the user presses - bug #72
This also attaches the search to the paste event, so pasting in the live
search field will trigger the search - bug #73
Chris Han [Sat, 19 Feb 2011 19:15:11 +0000 ]
Add attribution and link to footer
Bug #66
Chris Han [Sat, 19 Feb 2011 18:32:07 +0000 ]
Escape html in the titlebar
Chris Han [Sat, 19 Feb 2011 18:18:28 +0000 ]
Make language setting cookie a permanent cookie
While I know that you can set cookies up to the year 2038, I would
prefer to be a good citizen to the user's browser, so I'm capping
the lifetime at 1 year.
Bug #67
Chris Han [Thu, 20 Jan 2011 01:47:39 +0000 ]
Degrade gracefully when system doesn't have the posix functions installed, rather than erroring
Chris Han [Sun, 12 Dec 2010 20:49:27 +0000 ]
Bump version to 0.2.2
Chris Han [Fri, 03 Dec 2010 04:12:16 +0000 ]
Extract executable error messages into gettext
Chris Han [Fri, 03 Dec 2010 04:09:09 +0000 ]
Move the config value out of the error message string