<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/gitweb, branch v2.7.0-rc2</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v2.7.0-rc2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v2.7.0-rc2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2014-11-18T19:23:10Z</updated>
<entry>
<title>gitweb: hack around CGI's list-context param() handling</title>
<updated>2014-11-18T19:23:10Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2014-11-18T17:10:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=13dbf46a397260675a16b506314b0b2ed9713bbb'/>
<id>urn:sha1:13dbf46a397260675a16b506314b0b2ed9713bbb</id>
<content type='text'>
As of CGI.pm's 4.08 release, the behavior to call
CGI::param() in a list context is deprecated (because it can
be potentially unsafe if called inside a hash constructor).
This causes gitweb to issue a warning for some of our code,
which in turn causes the tests to fail.

Our use is in fact _not_ one of the dangerous cases, as we
are intentionally using a list context. The recommended
route by 4.08 is to use the new CGI::multi_param() call to
make it explicit that we know what we are doing.
However, that function is only available in 4.08, which is
about a month old; we cannot rely on having it.

One option would be to set $CGI::LIST_CONTEXT_WARN globally,
which turns off the warning. However, that would eliminate
the protection these newer releases are trying to provide.
We want to annotate each site as OK using the new function.

So instead, let's check whether CGI provides the
multi_param() function, and if not, provide an
implementation that just wraps param(). That will work on
both old and new versions of CGI. Sadly, we cannot just
check defined(\&amp;CGI::multi_param), because CGI uses the
autoload feature, which claims that all functions are
defined. Instead, we just do a version check.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: use start_form, not startform that was removed in CGI.pm 4.04</title>
<updated>2014-10-16T20:12:34Z</updated>
<author>
<name>Roland Mas</name>
<email>lolando@debian.org</email>
</author>
<published>2014-10-16T06:54:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=4750f4b962b4f09b03fcdde86684cf60c6f6e46a'/>
<id>urn:sha1:4750f4b962b4f09b03fcdde86684cf60c6f6e46a</id>
<content type='text'>
CGI.pm 4.04 removed the startform method, which had previously been
deprecated in favour of start_form.  Changes file for CGI.pm says:

    4.04 2014-09-04
     [ REMOVED / DEPRECATIONS ]
	- startform and endform methods removed (previously deprecated,
	  you should be using the start_form and end_form methods)

Signed-off-by: Roland Mas &lt;lolando@debian.org&gt;
Reviewed-by: Jakub Narębski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jl/nor-or-nand-and'</title>
<updated>2014-04-08T19:00:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-04-08T19:00:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=d59c12d7ad39f942fc60578ba1e934822f40445b'/>
<id>urn:sha1:d59c12d7ad39f942fc60578ba1e934822f40445b</id>
<content type='text'>
Eradicate mistaken use of "nor" (that is, essentially "nor" used
not in "neither A nor B" ;-)) from in-code comments, command output
strings, and documentations.

* jl/nor-or-nand-and:
  code and test: fix misuses of "nor"
  comments: fix misuses of "nor"
  contrib: fix misuses of "nor"
  Documentation: fix misuses of "nor"
</content>
</entry>
<entry>
<title>comments: fix misuses of "nor"</title>
<updated>2014-03-31T22:29:27Z</updated>
<author>
<name>Justin Lebar</name>
<email>jlebar@google.com</email>
</author>
<published>2014-03-31T22:11:46Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=01689909eb9f8366583c44b325d8d9ba259a2538'/>
<id>urn:sha1:01689909eb9f8366583c44b325d8d9ba259a2538</id>
<content type='text'>
Signed-off-by: Justin Lebar &lt;jlebar@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Avoid overflowing page body frame with large images</title>
<updated>2014-02-20T17:50:14Z</updated>
<author>
<name>Andrew Keller</name>
<email>andrew@kellerfarm.com</email>
</author>
<published>2014-02-17T14:25:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=46a7471f0e20af9d2efcc4a14c76d537e1551ac9'/>
<id>urn:sha1:46a7471f0e20af9d2efcc4a14c76d537e1551ac9</id>
<content type='text'>
When displaying a blob in gitweb, if it's an image, specify constraints for
maximum display width and height to prevent the image from overflowing the
frame of the enclosing page_body div.

This change assumes that it is more desirable to see the whole image without
scrolling (new behavior) than it is to see every pixel without zooming
(previous behavior).

Signed-off-by: Andrew Keller &lt;andrew@kellerfarm.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Denote non-heads, non-remotes branches</title>
<updated>2013-12-12T20:37:37Z</updated>
<author>
<name>Krzesimir Nowak</name>
<email>krzesimir@endocode.com</email>
</author>
<published>2013-12-11T11:54:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e374747f51736a08d048d3e227053d02b0d28735'/>
<id>urn:sha1:e374747f51736a08d048d3e227053d02b0d28735</id>
<content type='text'>
Given two branches residing in refs/heads/master and refs/wip/feature
the list-of-branches view will present them in following way:
master
feature (wip)

When getting a snapshot of a 'feature' branch, the tarball is going to
have name like 'project-wip-feature-&lt;short hash&gt;.tgz'.

Signed-off-by: Krzesimir Nowak &lt;krzesimir@endocode.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Add a feature for adding more branch refs</title>
<updated>2013-12-12T20:37:37Z</updated>
<author>
<name>Krzesimir Nowak</name>
<email>krzesimir@endocode.com</email>
</author>
<published>2013-12-11T11:54:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=8d646a9bac7d64c38060e0c252fd87eba6c4d5cf'/>
<id>urn:sha1:8d646a9bac7d64c38060e0c252fd87eba6c4d5cf</id>
<content type='text'>
Allow extra-branch-refs feature to tell gitweb to show refs from
additional hierarchies in addition to branches in the list-of-branches
view.

Signed-off-by: Krzesimir Nowak &lt;krzesimir@endocode.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Return 1 on validation success instead of passed input</title>
<updated>2013-12-12T20:37:36Z</updated>
<author>
<name>Krzesimir Nowak</name>
<email>krzesimir@endocode.com</email>
</author>
<published>2013-12-11T11:54:42Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=23faf546ae59d945848389070507bc418de733b6'/>
<id>urn:sha1:23faf546ae59d945848389070507bc418de733b6</id>
<content type='text'>
Users of validate_* passing "0" might get failures on correct name
because of coercion of "0" to false in code like:
die_error(500, "invalid ref") unless (check_ref_format ("0"));

Also, the validate_foo subs are renamed to is_valid_foo.

Signed-off-by: Krzesimir Nowak &lt;krzesimir@endocode.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Move check-ref-format code into separate function</title>
<updated>2013-12-12T20:37:36Z</updated>
<author>
<name>Krzesimir Nowak</name>
<email>krzesimir@endocode.com</email>
</author>
<published>2013-12-11T11:54:41Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=c0bc2265ef74331c0314be4a3f148e784800c3de'/>
<id>urn:sha1:c0bc2265ef74331c0314be4a3f148e784800c3de</id>
<content type='text'>
This check will be used in more than one place later.

Signed-off-by: Krzesimir Nowak &lt;krzesimir@endocode.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ab/gitweb-author-initials'</title>
<updated>2013-09-17T18:42:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-09-17T18:42:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e8717b67fec7ec7c1f8742bb7b75900ab60bbc1a'/>
<id>urn:sha1:e8717b67fec7ec7c1f8742bb7b75900ab60bbc1a</id>
<content type='text'>
* ab/gitweb-author-initials:
  gitweb: Fix the author initials in blame for non-ASCII names
</content>
</entry>
</feed>
