<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/gitweb/gitweb.css, branch v1.7.2</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=v1.7.2</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=v1.7.2'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2010-06-01T00:56:29Z</updated>
<entry>
<title>gitweb: Move static files into seperate subdirectory</title>
<updated>2010-06-01T00:56:29Z</updated>
<author>
<name>Pavan Kumar Sunkara</name>
<email>pavan.sss1991@gmail.com</email>
</author>
<published>2010-05-28T06:25:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=18d05328f3333e63bfffa65ac887ea16de60918c'/>
<id>urn:sha1:18d05328f3333e63bfffa65ac887ea16de60918c</id>
<content type='text'>
Create a new subdirectory called 'static' in gitweb/, and move
all static files required by gitweb.cgi when running, which means
styles, images and Javascript code. This should make gitweb more
readable and easier to maintain.

Update t/gitweb-lib.sh to reflect this change.The install-gitweb
now also include moving of static files into 'static' subdirectory
in target directory: update Makefile, gitweb's INSTALL, README and
Makefile accordingly.

Signed-off-by: Pavan Kumar Sunkara &lt;pavan.sss1991@gmail.com&gt;
Mentored-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Mentored-by: Petr Baudis &lt;pasky@ucw.cz&gt;
Acked-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Acked-by: Petr Baudis &lt;pasky@suse.cz&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jn/gitweb-blame'</title>
<updated>2009-12-01T19:28:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-12-01T19:28:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=8678bc09e3a553fdacfbf7f8493e400c399f8e7b'/>
<id>urn:sha1:8678bc09e3a553fdacfbf7f8493e400c399f8e7b</id>
<content type='text'>
* jn/gitweb-blame:
  gitweb: Add link to other blame implementation in blame views
  gitweb: Make linking to actions requiring JavaScript a feature
  gitweb.js: fix padLeftStr() and its usage
  gitweb.js: Harden setting blamed commit info in incremental blame
  gitweb.js: fix null object exception in initials calculation
  gitweb: Minify gitweb.js if JSMIN is defined
  gitweb: Create links leading to 'blame_incremental' using JavaScript
  gitweb: Colorize 'blame_incremental' view during processing
  gitweb: Incremental blame (using JavaScript)
  gitweb: Add optional "time to generate page" info in footer

Conflicts:
	Makefile
	gitweb/gitweb.css
</content>
</entry>
<entry>
<title>Merge branch 'sb/gitweb-link-author'</title>
<updated>2009-10-26T01:40:21Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-10-26T01:40:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=24be49522f00767718e84468d46ccb22cc7734d7'/>
<id>urn:sha1:24be49522f00767718e84468d46ccb22cc7734d7</id>
<content type='text'>
* sb/gitweb-link-author:
  gitweb: linkify author/committer names with search
</content>
</entry>
<entry>
<title>gitweb: linkify author/committer names with search</title>
<updated>2009-10-20T07:08:16Z</updated>
<author>
<name>Stephen Boyd</name>
<email>bebarino@gmail.com</email>
</author>
<published>2009-10-16T04:14:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=e133d65c3e3d7f5f869edb2d6205af68af0fe38f'/>
<id>urn:sha1:e133d65c3e3d7f5f869edb2d6205af68af0fe38f</id>
<content type='text'>
It's nice to search for an author by merely clicking on their name in
gitweb. This is usually faster than selecting the name, copying the
selection, pasting it into the search box, selecting between
author/committer and then hitting enter.

Linkify the avatar icon in log/shortlog view because the icon is directly
adjacent to the name and thus more related. The same is not true
when in commit/tag view where the icon is farther away.

Signed-off-by: Stephen Boyd &lt;bebarino@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Add 'show-sizes' feature to show blob sizes in tree view</title>
<updated>2009-09-07T21:53:56Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2009-09-07T12:40:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=e4b48eaab724d9fd5941c6a683a34ee38a864897'/>
<id>urn:sha1:e4b48eaab724d9fd5941c6a683a34ee38a864897</id>
<content type='text'>
Add support for 'show-sizes' feature to show (in separate column,
between mode and filename) the size of blobs (files) in the 'tree'
view.  It passes '-l' option to "git ls-tree" invocation.

For the 'tree' and 'commit' (submodule) entries, '-' is shown in place
of size; for generated '..' "up directory" entry nothing is shown.

The 'show-sizes' feature is enabled by default.

Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Colorize 'blame_incremental' view during processing</title>
<updated>2009-09-01T15:34:25Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2009-09-01T11:39:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=e206d62a922d80f2d00427ddfb93435adbf1cc59'/>
<id>urn:sha1:e206d62a922d80f2d00427ddfb93435adbf1cc59</id>
<content type='text'>
This requires using 3 colors, not only two, to choose a color that is
different from colors of up to 2 neighbors.

gitweb.js selects the least used color, if more than one color is
possible.

Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Incremental blame (using JavaScript)</title>
<updated>2009-09-01T15:34:24Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2009-09-01T11:39:17Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=4af819d4cad206648b832f4d6103547981ab8004'/>
<id>urn:sha1:4af819d4cad206648b832f4d6103547981ab8004</id>
<content type='text'>
Add 'blame_incremental' view, which uses "git blame --incremental"
and JavaScript (Ajax), where 'blame' use "git blame --porcelain".

 * gitweb generates initial info by putting file contents (from
   "git cat-file") together with line numbers in blame table
 * then gitweb makes web browser JavaScript engine call startBlame()
   function from gitweb.js
 * startBlame() opens XMLHttpRequest connection to 'blame_data' view,
   which in turn calls "git blame --incremental" for a file, and
   streams output of git-blame to JavaScript (gitweb.js)
 * XMLHttpRequest event handler updates line info in blame view as soon
   as it gets data from 'blame_data' (from server), and it also updates
   progress info
 * when 'blame_data' ends, and gitweb.js finishes updating line info,
   it fixes colors to match (as far as possible) ordinary 'blame' view,
   and updates information about how long it took to generate page.

Gitweb deals with streamed 'blame_data' server errors by displaying
them in the progress info area (just in case).

The 'blame_incremental' view tries to be equivalent to 'blame' action;
there are however a few differences in output between 'blame' and
'blame_incremental' view:

 * 'blame_incremental' always used query form for this part of link(s)
   which is generated by JavaScript code.  The difference is visible
   if we use path_info link (pass some or all arguments in path_info).
   Changing this would require implementing something akin to href()
   subroutine from gitweb.perl in JavaScript (in gitweb.js).
 * 'blame_incremental' always uses "rowspan" attribute, even if
   rowspan="1".  This simplifies code, and is not visible to user.
 * The progress bar and progress info are still there even after
   JavaScript part of 'blame_incremental' finishes work.

Note that currently no link generated by gitweb leads to this new view.

This code is based on patch by Petr Baudis &lt;pasky@suse.cz&gt; patch, which
in turn was tweaked up version of Fredrik Kuivinen &lt;frekui@gmail.com&gt;'s
proof of concept patch.

This patch adds GITWEB_JS compile configuration option, and modifies
git-instaweb.sh to take gitweb.js into account.  The code for
git-instaweb.sh was taken from Pasky's patch.

Signed-off-by: Fredrik Kuivinen &lt;frekui@gmail.com&gt;
Signed-off-by: Petr Baudis &lt;pasky@suse.cz&gt;
Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Add optional "time to generate page" info in footer</title>
<updated>2009-09-01T15:34:24Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2009-09-01T11:39:16Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=aa7dd05e6a622ec17d034980c4440b0aed583c6e'/>
<id>urn:sha1:aa7dd05e6a622ec17d034980c4440b0aed583c6e</id>
<content type='text'>
Add "This page took XXX seconds and Y git commands to generate"
to page footer, if global feature 'timed' is enabled (disabled
by default).  Requires Time::HiRes installed for high precision
'wallclock' time.

Note that Time::HiRes is being required unconditionally; this is
because setting $t0 variable needs to be done fairly early to have
running time of the whole script.  If Time::HiRes module were required
only if 'timed' feature is enabled, the earliest place where starting
time ($t0) could be calculated would be after reading gitweb config,
making "time to generate page" info inaccurate.

This code is based on example code by Petr 'Pasky' Baudis.

Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Use light/dark for class names also in 'blame' view</title>
<updated>2009-07-25T08:39:16Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2009-07-24T22:44:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=aef37684ea713c96dc3e4913cf33962df1efb92b'/>
<id>urn:sha1:aef37684ea713c96dc3e4913cf33962df1efb92b</id>
<content type='text'>
Instead of using "light2" and "dark2" for class names in 'blame' view
(in place of "light" and "dark" classes in other places) to avoid
changing style on hover in 'blame' view while doing it for other views
(like 'shortlog'), use more advanced CSS, relying on the fact that
more specific selector wins.

While at it add a few comments to gitweb CSS file, and consolidate
some repeated info.

Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Mark commits with no "previous" in 'blame' view</title>
<updated>2009-07-25T08:39:16Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2009-07-24T22:44:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=3665e7e7f2b210f6896815d563255c364a861a6e'/>
<id>urn:sha1:3665e7e7f2b210f6896815d563255c364a861a6e</id>
<content type='text'>
Use "no-previous" class to mark blamed commits which do not have
"previous" header.  Those are commits in which blamed file was created
(added); this includes boundary commits.  This means that 'linenr'
link leads to blamed commit, not (one of) parent of blamed commit.
Therefore currently line number for such commit uses bold weight font
to denote this situation; the effect is subtle.

Use "multiple-previous" class in the opposite situation, where blamed
commit has multiple "previous" headers (is an evil merge).  Currently
this class is not used for styling.  In this situation 'linenr' link
leads to first of "previous" commits (first parent).

Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
