<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/gitweb/gitweb.css, branch v1.5.2-rc3</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=v1.5.2-rc3</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=v1.5.2-rc3'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2007-05-10T21:13:29Z</updated>
<entry>
<title>gitweb: Do not use absolute font sizes</title>
<updated>2007-05-10T21:13:29Z</updated>
<author>
<name>Petr Baudis</name>
<email>pasky@ucw.cz</email>
</author>
<published>2007-05-09T01:41:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=63fcbe00a66d7cb7d8bce9a36120a19a809a33b8'/>
<id>urn:sha1:63fcbe00a66d7cb7d8bce9a36120a19a809a33b8</id>
<content type='text'>
Avoid specifying font sizes in pixels, since that is just pure evil.
Pointed out by Chris Riddoch.

Note that this is pretty much just a proposal; I didn't test if everything
fits perfectly right, but things seem to be pretty much okay. repo.or.cz
uses it now as a test drive - if you find any visual quirks, please point
them out, with a patch if possible since I'm total CSS noob and debugging
CSS is an extremely painful experience for me.

Note that this patch actually does change visual look of gitweb in Firefox
with my resolution and default settings - everything is bigger and I can't
explain the joy of actually seeing gitweb text that is in _readable_ size;
also, my horizontal screen real estate feels better used now. But judging
from the look of most modern webpages on the 'net, most people prefer
reading the web with strained eyes and/or a magnifying glass (I wonder what
species of scientists should look into this mystifying phenomenon) - so,
please tell us what you think.

Maybe we might want to get rid of absolute sizes other than font sizes in
the CSS file too in the long term.

Signed-off-by: Petr Baudis &lt;pasky@suse.cz&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>gitweb: Add combined diff support to git_difftree_body</title>
<updated>2007-05-08T01:20:18Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2007-05-06T23:10:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=ed224deac9436215f8c0b098baa0aecfcff1c293'/>
<id>urn:sha1:ed224deac9436215f8c0b098baa0aecfcff1c293</id>
<content type='text'>
You have to pass all parents as final parameters of git_difftree_body
subroutine; the number of parents of a diff must be equal to the
number derived from parsing git-diff-tree output, raw combined diff
for git_difftree_body to display combined diff correctly (but it is
not checked).

Currently the possibility of displaying diffree of combined diff is
not used in gitweb code; git_difftree_body is always caled for
ordinary diff, and with only one parent.

Description of output for combined diff:
----------------------------------------

The difftree table for combined diff starts with a cell with pathname
of changed blob (changed file), which if possible is hidden link
(class="list") to the 'blob' view of final version (if it exists),
like for difftree for ordinary diff. If file was deleted in the final
commit then filename is not hyperlinked.

There is no cell with single file status (new, deleted, mode change,
rename), as for combined diff as there is no single status: different
parents might have different status.

If git_difftree_body was called from git_commitdiff (for 'commitdiff'
action) there is inner link to anchor to appropriate fragment (patch)
in patchset body; the "patch" link does not replace "diff" link like
for ordinary diff.

Each of "diff" links is in separate cell, contrary to output for
ordinary diff in which all links are (at least for now) in a single
cell.

For each parent, if file was not present we leave cell empty. If file
was deleted in the result, we provide link to 'blob' view. Otherwise
we provide link to 'commitdiff' view, even if patch (diff) consist
only of extended diff header, and contents is not changed (pure
rename, pure mode change). The only difference is that link to
"blobdiff" view with no contents change is with 'nochange' class.

At last, there is provided link to current version of file as "blob"
link, if the file was not deleted in the result, and lik to history of
a file, if there exists one. (The link to file history might be
confused, at least for now, by renames.)

Note that git-diff-tree raw output dor combined diff does not provide
filename before change for renames and copies; we use
git_get_path_by_hash to get "src" filename for renames (this means
additional call to git-ls-tree for a _whole_ tree).

Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>gitweb: Show "no difference" message for empty diff</title>
<updated>2007-04-23T05:49:25Z</updated>
<author>
<name>Martin Koegler</name>
<email>mkoegler@auto.tuwien.ac.at</email>
</author>
<published>2007-04-23T05:49:25Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=4280cde95fa4e3fb012eb6d0c239a7777baaf60c'/>
<id>urn:sha1:4280cde95fa4e3fb012eb6d0c239a7777baaf60c</id>
<content type='text'>
Currently, gitweb shows only header and footer, if no differences are
found. This patch adds a "No differences found" message for the html
output.

Signed-off-by: Martin Koegler &lt;mkoegler@auto.tuwien.ac.at&gt;
Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>gitweb: Fix not marking signoff lines in "log" view</title>
<updated>2007-03-25T05:25:55Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2007-03-24T19:59:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=4ae89b76252d1c13a6675a2a4e491983946d72ec'/>
<id>urn:sha1:4ae89b76252d1c13a6675a2a4e491983946d72ec</id>
<content type='text'>
The CSS selector for signoff lines style was too strict: in the "log"
view the commit message is not encompassed in container "page_body"
div.

Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>gitweb: New improved formatting of chunk header in diff</title>
<updated>2006-11-21T22:35:40Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2006-11-18T22:35:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=59e3b14e08bf309baa692bf251b2cedcde131308'/>
<id>urn:sha1:59e3b14e08bf309baa692bf251b2cedcde131308</id>
<content type='text'>
If we have provided enough info, and diff is not combined diff,
and if provided diff line is chunk header, then:
* split chunk header into .chunk_info and .section span elements,
  first containing proper chunk header, second section heading
  (aka. which function), for separate styling: the proper chunk
  header is on non-white background, section heading part uses
  slightly lighter color.
* hyperlink from-file-range to starting line of from-file, if file
  was not created.
* hyperlink to-file-range to starting line of to-file, if file
  was not deleted.
Links are of invisible variety (and "list" class).

Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>gitweb: New improved patchset view</title>
<updated>2006-11-08T20:34:19Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2006-11-08T16:59:41Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=744d0ac33ab579845808b8b01e526adc4678a226'/>
<id>urn:sha1:744d0ac33ab579845808b8b01e526adc4678a226</id>
<content type='text'>
Replace "gitweb diff header" with its full sha1 of blobs and replace
it by "git diff" header and extended diff header. Change also somewhat
highlighting of diffs.

Added `file_type_long' subroutine to convert file mode in octal to
file type description (only for file modes which used by git).

Changes:
* "gitweb diff header" which looked for example like below:
    file:_&lt;sha1 before&gt;_ -&gt; file:_&lt;sha1 after&gt;_
  where 'file' is file type and '&lt;sha1&gt;' is full sha1 of blob is
  changed to
    diff --git _a/&lt;file before&gt;_ _b/&lt;file after&gt;_
  In both cases links are visible and use default link style. If file
  is added, a/&lt;file&gt; is not hyperlinked. If file is deleted, b/&lt;file&gt;
  is not hyperlinked.
* there is added "extended diff header", with &lt;path&gt; and &lt;hash&gt;
  hyperlinked (and &lt;hash&gt; shortened to 7 characters), and &lt;mode&gt;
  explained: '&lt;mode&gt;' is extended to '&lt;mode&gt; (&lt;file type description&gt;)',
  where added text is slightly lighter to easy distinguish that it
  was added (and it is difference from git-diff output).
* from-file/to-file two-line header lines have slightly darker color
  than removed/added lines.
* chunk header has now delicate line above for easier finding chunk
  boundary, and top margin of 2px, both barely visible.

Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>gitweb: Better git-unquoting and gitweb-quoting of pathnames</title>
<updated>2006-11-08T18:38:48Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2006-11-08T10:48:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=403d0906e9876871a7913554be4caa93f21f1d15'/>
<id>urn:sha1:403d0906e9876871a7913554be4caa93f21f1d15</id>
<content type='text'>
Extend unquote subroutine, which unquotes quoted and escaped filenames
which git may return, to deal not only with octal char sequence
quoting, but also quoting ordinary characters including '\"' and '\\'
which are respectively quoted '"' and '\', and to deal also with
C escape sequences including '\t' for TAB and '\n' for LF.

Add esc_path subroutine for gitweb quoting and HTML escaping filenames
(currently it does equivalent of ls' --hide-control-chars, which means
showing undisplayable characters (including '\n' and '\t') as '?'
(question mark) character, and use 'span' element with cntrl CSS class
to help rendering them differently.

Convert gitweb to use esc_path correctly to print pathnames.

Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>gitweb: Make search type a popup menu</title>
<updated>2006-10-24T03:55:38Z</updated>
<author>
<name>Petr Baudis</name>
<email>pasky@suse.cz</email>
</author>
<published>2006-10-24T03:15:46Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=88ad729b73264025d2d4c187ff74432d7cacafb2'/>
<id>urn:sha1:88ad729b73264025d2d4c187ff74432d7cacafb2</id>
<content type='text'>
This makes the multiple search types actually usable by the user;
if you don't read the gitweb source, you don't even have an idea
that you can write things like that there.

Signed-off-by: Petr Baudis &lt;pasky@suse.cz&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>gitweb: Cleanup Git logo and Git logo target generation</title>
<updated>2006-10-08T20:36:58Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2006-10-06T10:31:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=9a7a62ff71c436fb5e024ec409ec28fca460a168'/>
<id>urn:sha1:9a7a62ff71c436fb5e024ec409ec28fca460a168</id>
<content type='text'>
Rename $githelp_url and $githelp_label to $logo_url and $logo_label to
be more obvious what they refer to; while at it add commented out
previous contents (git documentation at kernel.org). Add comment about
logo size.

Use $cgi-&gt;a(...) to generate Git logo link; it automatically escapes
attribute values when it is needed.  Escape href attribute using
esc_url instead of (incorrect!) esc_html.

Move styling of git logo &lt;img&gt; element from "style" attribute to CSS
via setting class to "logo".  Perhaps we should set it by id rather
than by class.

Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>gitweb: blame: Minimize vertical table row padding</title>
<updated>2006-10-05T21:21:12Z</updated>
<author>
<name>Luben Tuikov</name>
<email>ltuikov@yahoo.com</email>
</author>
<published>2006-10-05T20:30:31Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=db94b41aee0dfeae06e9c6f03d38a2aa30f8fd10'/>
<id>urn:sha1:db94b41aee0dfeae06e9c6f03d38a2aa30f8fd10</id>
<content type='text'>
Minimize vertical table row padding for blame only.  I
discovered this while having the browser's blame output
right next to my editor's window, only to notice how much
vertically stretched the blame output was.

Blame most likely shows source code and is in this way
more "spartan" than the rest of the tables gitweb shows.

This patch makes the blame table more vertically compact,
thus being closer to what you'd see in your editor's window,
as well as reusing more window estate to show more
information (which in turn minimizes scrolling).

Signed-off-by: Luben Tuikov &lt;ltuikov@yahoo.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
