<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-patch.c, branch v0.8</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/ui-patch.c?h=v0.8</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/ui-patch.c?h=v0.8'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2008-08-01T20:09:13Z</updated>
<entry>
<title>Added `local-time` option to cgitrc</title>
<updated>2008-08-01T20:09:13Z</updated>
<author>
<name>Stefan Naewe</name>
<email>stefan.naewe@atlas-elektronik.com</email>
</author>
<published>2008-08-01T12:54:38Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=0f0ab148c6d444316af10e6b4c7a60630fed45d3'/>
<id>urn:sha1:0f0ab148c6d444316af10e6b4c7a60630fed45d3</id>
<content type='text'>
When `local-time` is set, commit, tag and patch timestamps will be printed
in the servers timezone. Also, regardless of the value of `local-time`,
these timestamps will now always show the timezone.

Signed-off-by: Stefan Naewe &lt;stefan.naewe@atlas-elektronik.com&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'lh/cleanup'</title>
<updated>2008-04-08T19:29:21Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-04-08T19:29:21Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=23296ad648c0e2a9e3cf40a3de322b10ad25cce3'/>
<id>urn:sha1:23296ad648c0e2a9e3cf40a3de322b10ad25cce3</id>
<content type='text'>
* lh/cleanup: (21 commits)
  Reset ctx.repo to NULL when the config parser is finished
  Move cgit_parse_query() from parsing.c to html.c as http_parse_querystring()
  Move function for configfile parsing into configfile.[ch]
  Add cache.h
  Remove global and obsolete cgit_cmd
  Makefile: copy the QUIET constructs from the Makefile in git.git
  Move cgit_version from shared.c to cgit.c
  Makefile: autobuild dependency rules
  Initial Makefile cleanup
  Move non-generic functions from shared.c to cgit.c
  Add ui-shared.h
  Add separate header-files for each page/view
  Refactor snapshot support
  Add command dispatcher
  Remove obsolete cacheitem parameter to ui-functions
  Add struct cgit_page to cgit_context
  Introduce html.h
  Improve initialization of git directory
  Move cgit_repo into cgit_context
  Add all config variables into struct cgit_context
  ...
</content>
</entry>
<entry>
<title>Add ui-shared.h</title>
<updated>2008-03-24T15:50:57Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-03-24T15:50:57Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=a4d1ca1dc6ff8171694d9e2280b6075a1beced0c'/>
<id>urn:sha1:a4d1ca1dc6ff8171694d9e2280b6075a1beced0c</id>
<content type='text'>
This is finally a proper headerfile for the shared ui-functions which
used to reside in cgit.h

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Remove obsolete cacheitem parameter to ui-functions</title>
<updated>2008-03-24T00:01:28Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-03-24T00:00:36Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=b608e88adb6f77328288afb6dd0eddf674fc9b5b'/>
<id>urn:sha1:b608e88adb6f77328288afb6dd0eddf674fc9b5b</id>
<content type='text'>
This parameter hasn't been used for a very long time...

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add struct cgit_page to cgit_context</title>
<updated>2008-03-23T23:51:19Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-03-23T23:51:19Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=f3c1a187fe2bc33f8423cd535d5045899699995b'/>
<id>urn:sha1:f3c1a187fe2bc33f8423cd535d5045899699995b</id>
<content type='text'>
This struct is used when generating http headers, and as such is another
small step towards the goal of the whole cleanup series; to invoke each
page/view function with a function pointer.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Introduce html.h</title>
<updated>2008-03-18T07:13:10Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-02-23T21:45:33Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=b1f9b9c1459cb9a30ebf80721aff6ef788d1f891'/>
<id>urn:sha1:b1f9b9c1459cb9a30ebf80721aff6ef788d1f891</id>
<content type='text'>
All html-functions can be quite easily separated from the rest of cgit, so
lets do it; the only issue was html_filemode which uses some git-defined
macros so the function is moved into ui-shared.c::cgit_print_filemode().

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix segfault in patch view for root commit</title>
<updated>2008-03-17T22:51:47Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-03-17T22:13:16Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=e01f1403b9b501c563b1fe0e0052460a95945528'/>
<id>urn:sha1:e01f1403b9b501c563b1fe0e0052460a95945528</id>
<content type='text'>
The code for patch view assumed the current commit would always have a parent,
which made cgit segfault when that wasn't the case.

This fixes the bug and adds a test-script for patch view which includes a test
for the inital commit.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Introduce struct cgit_context</title>
<updated>2008-02-16T11:07:28Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-02-16T10:53:40Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=d14d77fe95c3b6224b40df9b101dded0deea913c'/>
<id>urn:sha1:d14d77fe95c3b6224b40df9b101dded0deea913c</id>
<content type='text'>
This struct will hold all the cgit runtime information currently found in
a multitude of global variables.

The first cleanup removes all querystring-related variables.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Check for NULL-subject in patch view</title>
<updated>2008-01-10T11:50:12Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-12-18T08:26:50Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=f39c3c99a12154cdafcdc501a821e3fadd3c0602'/>
<id>urn:sha1:f39c3c99a12154cdafcdc501a821e3fadd3c0602</id>
<content type='text'>
While at it, make sure the commit message ends with a '\n'.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add plain patch view</title>
<updated>2007-12-11T01:43:24Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-12-10T20:47:29Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=620bb3e5e4ff87da740fe7232ba74330b5f862d4'/>
<id>urn:sha1:620bb3e5e4ff87da740fe7232ba74330b5f862d4</id>
<content type='text'>
The new view mimics the output from `git format-patch`, making it possible
to cherry-pick directly from cgit with something like `curl $url | git am`.

Inspired by a patch to `git-apply` by Mike Hommey:
  http://thread.gmane.org/gmane.comp.version-control.git/67611/focus=67610

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
</feed>
