<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/gitweb/gitweb.perl, branch v1.5.0.7</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.5.0.7</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.5.0.7'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2007-03-25T05:25:47Z</updated>
<entry>
<title>gitweb: Don't escape attributes in CGI.pm HTML methods</title>
<updated>2007-03-25T05:25:47Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2007-03-07T01:21:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=346d5e1835937d701785300717ce34f92609c2b3'/>
<id>urn:sha1:346d5e1835937d701785300717ce34f92609c2b3</id>
<content type='text'>
There is no need to escape HTML tag's attributes in CGI.pm
HTML methods (like CGI::a()), because CGI.pm does attribute
escaping automatically.

  $cgi-&gt;a({ ... -attribute =&gt; atribute_value }, tag_contents)

is translated to

  &lt;a ... attribute="attribute_value"&gt;tag_contents&lt;/a&gt;

The rules for escaping attribute values (which are string contents) are
different. For example you have to take care about escaping embedded '"'
and "'" characters; CGI::a() does that for us automatically.

CGI::a() does not HTML escape tag_contents; we would need to write

  &lt;a href="URL"&gt;some &lt;b&gt;bold&lt;/b&gt; text&lt;/a&gt;

for example. So we use esc_html (or esc_path) to escape tag_contents
as needed.

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: Change to use explicitly function call cgi-&gt;escapHTML()</title>
<updated>2007-03-25T05:25:40Z</updated>
<author>
<name>Li Yang</name>
<email>leoli@freescale.com</email>
</author>
<published>2007-03-06T03:58:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=290b1467a387a3e5306028f36118a52958fa36c5'/>
<id>urn:sha1:290b1467a387a3e5306028f36118a52958fa36c5</id>
<content type='text'>
Change to use explicitly function call cgi-&gt;escapHTML().
This fix the problem on some systems that escapeHTML() is not
functioning, as default CGI is not setting 'escape' parameter.

Signed-off-by: Li Yang &lt;leoli@freescale.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>gitweb: Fix "next" link in commit view</title>
<updated>2007-03-23T21:54:52Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2007-03-23T20:04:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=f9308a182e220c97cdbf90ee8de2ce21980cb7e9'/>
<id>urn:sha1:f9308a182e220c97cdbf90ee8de2ce21980cb7e9</id>
<content type='text'>
Fix copy'n'paste error in commit c9d193df which caused that "next"
link for merge commits in "commit" view
  (merge: _commit_ _commit_ ...)
was to "commitdiff" view instead of being to "commit" view.

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 mismatched parenthesis</title>
<updated>2007-02-06T09:09:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2007-02-06T09:09:32Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=c8f80d4dc89eddd4b343cb82ca8a75cfa41f800e'/>
<id>urn:sha1:c8f80d4dc89eddd4b343cb82ca8a75cfa41f800e</id>
<content type='text'>
An earlier commit 04179418 broke gitweb.  Badly.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>gitweb: Convert project name to UTF-8</title>
<updated>2007-02-05T21:49:00Z</updated>
<author>
<name>Yasushi SHOJI</name>
<email>yashi@atmark-techno.com</email>
</author>
<published>2007-01-30T10:23:38Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=041794188ff4f7a0b3ada8058d174a0c114da78b'/>
<id>urn:sha1:041794188ff4f7a0b3ada8058d174a0c114da78b</id>
<content type='text'>
If the repository directory name is in non-ascii, $project needs to be
converted from perl internal to utf-8 because it will be used as
title, page path, and snapshot filename.

use to_utf8() to do the conversion.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Assorted typo fixes</title>
<updated>2007-02-04T05:49:54Z</updated>
<author>
<name>Pavel Roskin</name>
<email>proski@gnu.org</email>
</author>
<published>2007-02-04T04:49:16Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=3dff5379bf1e3fda5e5a84ca5813b0c0cfd51be7'/>
<id>urn:sha1:3dff5379bf1e3fda5e5a84ca5813b0c0cfd51be7</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Rename git-repo-config to git-config.</title>
<updated>2007-01-29T00:16:53Z</updated>
<author>
<name>Tom Prince</name>
<email>tom.prince@ualberta.net</email>
</author>
<published>2007-01-29T00:16:53Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e0d10e1c63bc52b37bbec99b07deee794058d9b4'/>
<id>urn:sha1:e0d10e1c63bc52b37bbec99b07deee794058d9b4</id>
<content type='text'>
Signed-off-by: Tom Prince &lt;tom.prince@ualberta.net&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>gitweb: Fix git_patchset_body not closing &lt;div class="patch"&gt;</title>
<updated>2007-01-10T00:23:39Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2007-01-09T23:07:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=0bdb28c9ccd85b1c606664154b6f6d39a4c315fd'/>
<id>urn:sha1:0bdb28c9ccd85b1c606664154b6f6d39a4c315fd</id>
<content type='text'>
Fix case when git_patchset_body didn't close &lt;div class="patch"&gt;,
for patchsets with last patch empty.

This patch also removes some commented out code in git_patchset_body.

Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Acked-by: Luben Tuikov &lt;ltuikov@yahoo.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>gitweb: Remove superfluous "|" in "commit" view</title>
<updated>2007-01-08T02:06:45Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2007-01-08T01:10:42Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=3faa541fa924890b85b240b800312befbf052b9f'/>
<id>urn:sha1:3faa541fa924890b85b240b800312befbf052b9f</id>
<content type='text'>
Remove superfluous trailing "|" separator from difftree part of "commit"
view for new files (created in given commit).

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 split patches output (e.g. file to symlink)</title>
<updated>2007-01-07T06:53:08Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2007-01-07T01:52:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=13e86efbeae5994a85cc482b3964db7298c5c6ea'/>
<id>urn:sha1:13e86efbeae5994a85cc482b3964db7298c5c6ea</id>
<content type='text'>
Do not replace /dev/null in two-line from-file/to-file diff header for
split patches ("split" patch mean more than one patch per one
diff-tree raw line) by a/file or b/file link.

Split patches differ from pair of deletion/creation patch in git diff
header: both a/file and b/file are hyperlinks, in all patches in a
split.

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