<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-snapshot.c, branch v0.8</title>
<subtitle>🍴 My patches to cgit
</subtitle>
<id>https://git.ache.one/cgit/atom?h=v0.8</id>
<link rel='self' href='https://git.ache.one/cgit/atom?h=v0.8'/>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/'/>
<updated>2008-10-05T11:13:03Z</updated>
<entry>
<title>ui-snapshot.c: specify archiver_args.baselen</title>
<updated>2008-10-05T11:13:03Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-10-05T11:13:03Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=204669ff4a4028a82cc48e9319632595ba3ff703'/>
<id>urn:sha1:204669ff4a4028a82cc48e9319632595ba3ff703</id>
<content type='text'>
The struct member was introduces in git commit d53fe8187c38, but the cgit
testsuite failed to detect that cgit always generated archives without
prefixes, i.e. the result from cgit_repobasename was ignored.

This fixes the bug and the testsuite.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</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='https://git.ache.one/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>Refactor snapshot support</title>
<updated>2008-03-24T15:00:27Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-03-24T15:00:27Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=f34478cbe0214a201e7ecef3e79ed6c957b7beee'/>
<id>urn:sha1:f34478cbe0214a201e7ecef3e79ed6c957b7beee</id>
<content type='text'>
The snapshot support needs to be split between output- and config-related
functions to get the layering between shared.c and ui-*.c right. There
is also some codestyle-issues which needs fixing to make the snapshot
functions more similar to the rest of the cgit code.

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='https://git.ache.one/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='https://git.ache.one/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='https://git.ache.one/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>Compare string lengths when parsing the snapshot mask</title>
<updated>2007-12-02T23:39:20Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-12-02T23:39:20Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=2216fd6472fe183439df1a39c1c06974abc3f150'/>
<id>urn:sha1:2216fd6472fe183439df1a39c1c06974abc3f150</id>
<content type='text'>
We used to rely on the result from strncmp() without comparing the length of
the strings involved. Even worse, any single-character format specifier would
enable zip-format due to the optional '.'-prefix since the length of the
mask then would become zero.

Noticed-by: Evan Martin &lt;sys@neugierig.org&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Set commit date on snapshot contents</title>
<updated>2007-11-11T12:16:43Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-11-11T12:14:15Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=5b75064a81f9fe8f8a446a4be050fe3dfcf52b89'/>
<id>urn:sha1:5b75064a81f9fe8f8a446a4be050fe3dfcf52b89</id>
<content type='text'>
The testsuite revealed that cgit snapshots don't set any useful timestamp on
the files contained in the snapshot.

Cherry-picked-from: 2ff33a8a0405b420cd75e0e207c7efeecd6f130b
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-snapshot: whitespace/formatting cleanup</title>
<updated>2007-07-23T21:12:11Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-07-23T20:51:45Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=1221adbb581e222cfe932fe72fded2d8613112d9'/>
<id>urn:sha1:1221adbb581e222cfe932fe72fded2d8613112d9</id>
<content type='text'>
Introduce a #define for number of snapshot archive entries, move all decls
to function entrypoint, remove some trailing whitespace and reformat a few
lines.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>cgit_print_snapshot_links: use url to specify snapshot name</title>
<updated>2007-07-22T22:27:32Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-07-22T22:11:15Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=eb45342e735818b3c68cbab9b61b23e79ae74418'/>
<id>urn:sha1:eb45342e735818b3c68cbab9b61b23e79ae74418</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
</feed>
