<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/Makefile, branch v0.9.2</title>
<subtitle>Robin Krahl's fork of cgit</subtitle>
<id>https://git.ireas.org/cgit/atom?h=v0.9.2</id>
<link rel='self' href='https://git.ireas.org/cgit/atom?h=v0.9.2'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/'/>
<updated>2013-05-27T20:18:09Z</updated>
<entry>
<title>CGIT-0.9.2</title>
<updated>2013-05-27T20:18:09Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2013-05-27T20:00:13Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=989d251384d5600abb33eb4c97b85d54dbfc6fcb'/>
<id>urn:sha1:989d251384d5600abb33eb4c97b85d54dbfc6fcb</id>
<content type='text'>
Features:
- update to git v1.8.3.
- expanded set of default filters to include markdown, restructuredtext, and
  man pages.
- better sample configuration file in man page.
- "readme" may now be specified multiple times, and cgit will choose the first
  one it finds.
- "readme" no longer needs a branch name. If prefixed with simply ":" it will
  use the default branch.
- "branch-sort" allowing branches to be sorted either by "age" or "name", for
  kernel.org.
- "enable-index-owner" allowing the owner column to be disabled in the index
  page.
- print submodule revision next to submodule link.
- integrate more closely with git apis, such as strbuf.
- rely on git test harness and git makefiles.
- more robust test suite.
- more rebust makefile dependency accounting.
- pager navigation is now unordered list.
- span tag wraps commit directions.

Behavior changes:
- HOME is no longer passed as an environment variable to any filter api
  scripts.
- "about-filter" now receives the filename being filtered as argv[1]. This may
  disrupt existing scripts, so adjust accordingly.
- gitconfig and gitattributes are no longer loaded from any system directories
  or home directories.

Security:
- CVE-2013-2117: disallow directory traversal when readme is set to filesystem
  path.

Bug fixes:
- ssdiff now correctly manages tab expansion.
- support unannotated tags in http git clone.
- lots of cleanups of global variables and memory leaks.
- do not rely on gettext/libintl.
- better C standard compliance.
- make several functions and variables static.
- improved constification.
- remove unused functions.
- fix colspan values to correct width.
- fix out-of-bounds memory accesses with virtual_root="".
- cache repo config more precisely.
- die when write fails.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>filters: import more modern scripts</title>
<updated>2013-05-27T19:54:16Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2013-05-27T19:39:43Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=8149be213f1c8f52b0dbe6c213f6073af57fa954'/>
<id>urn:sha1:8149be213f1c8f52b0dbe6c213f6073af57fa954</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>git: update to 1.8.3</title>
<updated>2013-05-25T11:10:14Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-05-25T10:19:00Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=0499e88ccec43dc69233841779ab4b71b5d94dac'/>
<id>urn:sha1:0499e88ccec43dc69233841779ab4b71b5d94dac</id>
<content type='text'>
No changes required, just bump the submodule and Makefile versions.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>Makefile: fix parallel "make test"</title>
<updated>2013-05-22T10:53:06Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-05-18T14:17:08Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=c2b79dd8e0020c1c10b61fa1a6c58afd53738c85'/>
<id>urn:sha1:c2b79dd8e0020c1c10b61fa1a6c58afd53738c85</id>
<content type='text'>
When building the "test" target we depend on both cgit and building the
Git tools.  By doing this with two targets we end up running make in the
git/ directory twice, concurrently if using parallel make, which causes
us to build more than we need and potentially builds incorrectly if
multi-step build-then-move operations overlap.

Fix this by instead calling back into the makefile so that we alter the
"cgit" target to also build the Git tools.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>git: update to 1.8.2.2</title>
<updated>2013-04-27T15:13:46Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-04-27T09:20:16Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=83115075abe970306a79484dbaa9adfa97fef2d0'/>
<id>urn:sha1:83115075abe970306a79484dbaa9adfa97fef2d0</id>
<content type='text'>
No changes required, just bump the submodule and Makefile version.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>tests: use Git's test framework</title>
<updated>2013-04-08T20:27:11Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-04-01T14:09:05Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=c95cc5ec56dbb7394015eb18201403be6d80f69b'/>
<id>urn:sha1:c95cc5ec56dbb7394015eb18201403be6d80f69b</id>
<content type='text'>
This allows tests to run in parallel as well as letting us use "prove"
or another TAP harness to run the tests.

Git's test framework requires Git to be fully built before letting any
tests run, so add a new target to the top-level Makefile which builds
all of Git instead of just libgit.a and make the "test" target depend on
that.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>Update git to v1.8.2.1</title>
<updated>2013-04-08T13:41:38Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-04-08T08:00:22Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=849ecd961df9454d6f849eac34e6f501395c4f01'/>
<id>urn:sha1:849ecd961df9454d6f849eac34e6f501395c4f01</id>
<content type='text'>
This requires a small change to how we handle notes, but otherwise just
works.

Note that we can't use anything from v1.8.0 until v1.8.2.1 because some
of the symbols that we need for graph drawing were made private in
v1.8.0 and this was not reverted until v1.8.2.1.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>Makefile: remove CGIT-CFLAGS files in clean stage</title>
<updated>2013-03-20T20:14:22Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2013-03-20T20:14:22Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=121089ced5e1d3f3103cbc2b37f5fb579d800915'/>
<id>urn:sha1:121089ced5e1d3f3103cbc2b37f5fb579d800915</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Makefile: re-use Git's Makefile where possible</title>
<updated>2013-03-20T20:08:32Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-03-06T21:22:06Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=5f323c1ff45c10d8f8b0a673d2fe7e98272f5d78'/>
<id>urn:sha1:5f323c1ff45c10d8f8b0a673d2fe7e98272f5d78</id>
<content type='text'>
Git does quite a lot of platform-specific detection in its Makefile,
which can result in it defining preprocessor variables that are used in
its header files.  If CGit does not define the same variables it can
result in different sizes of some structures in different places in the
same application.

For example, on Solaris Git uses it's "compat" regex library which has a
different sized regex_t structure than that available in the platform
regex.h.  This has a knock-on effect on the size of "struct rev_info"
and leads to hard to diagnose runtime issues.

In order to avoid all of this, introduce a "cgit.mk" file that includes
Git's Makefile and make all of the existing logic apply to CGit's
objects as well.  This is slightly complicated because Git's Makefile
must run in Git's directory, so all references to CGit files need to be
prefixed with "../".

In addition, OBJECTS is a simply expanded variable in Git's Makefile so
we cannot just add our objects to it.  Instead we must copy the two
applicable rules into "cgit.mk".  This has the advantage that we can
split CGit-specific CFLAGS from Git's CFLAGS and hence avoid rebuilding
all of Git whenever a CGit-specific value changes.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Acked-by: Jamie Couture &lt;jamie.couture@gmail.com&gt;
</content>
</entry>
<entry>
<title>Makefile: Disable gettext in the Git submodule</title>
<updated>2013-03-04T14:27:43Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2013-03-04T08:18:38Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=78a24e5c55ac57efab90cf1e65b9af226b388a39'/>
<id>urn:sha1:78a24e5c55ac57efab90cf1e65b9af226b388a39</id>
<content type='text'>
Newer libgit versions depend on the libintl library. However, we
currently do not link against libintl which breaks compilation under
OpenBSD:

    git/libgit.a(commit.o)(.text+0x1d1b): In function `lookup_commit_or_die':
    git/gettext.h:47: undefined reference to `libintl_gettext'
    [...]

Since we do not support i18n in cgit, just disable gettext in the Git
submodule to fix this.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
</entry>
</feed>
