about summary refs log tree commit diff
path: root/ui-snapshot.c (follow)
Commit message (Expand)AuthorAge
* snapshot: don't reimplement cgit_print_error_page()John Keeping2015-08-14
* snapshot: use cgit_print_error_page() for HTTP status codesJohn Keeping2015-08-14
* snapshot: use cgit_print_error_page() instead of html_status()John Keeping2015-08-14
* Add Etags for snapshotsJanus2015-01-28
* git: update for git 2.0Christian Hesse2014-06-28
* Remove unused parameter from cgit_print_snapshot()Lukas Fleischer2014-02-21
* Switch to exclusively using global ctxLukas Fleischer2014-01-17
* filter: add interface layerJohn Keeping2014-01-14
* ui-snapshot: set unused cgit_filter fields to zeroJohn Keeping2014-01-12
* ui-snapshot.c: Do not reinvent suffixcmp()Lukas Fleischer2014-01-10
* Update copyright informationLukas Fleischer2014-01-08
* cgit.c: Do not reset HOME after unsetting it.Jason A. Donenfeld2013-05-25
* ui-snapshot: do not access $HOMEJason A. Donenfeld2013-04-30
* ui-snapshot.c: Prepend "V" when guessing ref namesLukas Fleischer2013-04-10
* use struct strbuf instead of static buffersJohn Keeping2013-04-08
* Convert cgit_print_error to a variadic functionJohn Keeping2013-04-08
* Always #include corresponding .h in .c filesJohn Keeping2013-04-08
* Mark several functions/variables staticLukas Fleischer2013-03-04
* ui-snapshot.c: Fill argv[0] with dummy.Jason A. Donenfeld2013-03-04
* White space around control verbs.Jason A. Donenfeld2013-03-04
* Update git to v1.7.7.7John Keeping2013-03-02
* ui-snapshot: pass -n to gzip, to suppress timestampJason A. Donenfeld2012-09-27
* cgit.c: always setup cgit repo environment variablesLars Hjemli2011-06-13
* Merge branch 'stable'Lars Hjemli2011-06-02
|\
| * ui-snapshot.c: remove debug cruftLars Hjemli2011-06-02
* | cgit_open_filter: also take the repo as a parameterFerry Huberts2011-03-26
|/
* Merge branch 'stable'Lars Hjemli2010-09-01
|\
| * ui-snapshot: actually compress zip archivesLars Hjemli2010-09-01
* | Add .tar.xz-snapshot supportAndreas Wiese2009-12-08
|/
* ui-snapshot: use cgit_{open|close}_filter() to execute compressorsLars Hjemli2009-07-31
* ui-snapshot: avoid segfault when no filename is specifiedLars Hjemli2009-03-15
* Merge branch 'snapshot-fixes'Lars Hjemli2009-01-11
|\
| * return 404 if snapshot is not foundNatanael Copa2008-12-28
* | ui-snapshot.c: change mime-type for tar.gz and tar.bz2Lars Hjemli2008-12-26
|/
* ui-snapshot: improve extraction of revision from snapshot nameLars Hjemli2008-12-01
* Set prefix in snapshots when using dwimmeryNatanael Copa2008-11-30
* ui-snapshot: add dwimmeryLars Hjemli2008-10-11
* ui-snapshot.c: specify archiver_args.baselenLars Hjemli2008-10-05
* Add ui-shared.hLars Hjemli2008-03-24
* Refactor snapshot supportLars Hjemli2008-03-24
* Remove obsolete cacheitem parameter to ui-functionsLars Hjemli2008-03-24
* Add struct cgit_page to cgit_contextLars Hjemli2008-03-24
* Introduce html.hLars Hjemli2008-03-18
* Compare string lengths when parsing the snapshot maskLars Hjemli2007-12-03
* Set commit date on snapshot contentsLars Hjemli2007-11-11
* ui-snapshot: whitespace/formatting cleanupLars Hjemli2007-07-23
* cgit_print_snapshot_links: use url to specify snapshot nameLars Hjemli2007-07-23
* allow selective enabling of snapshotsMichael Krelin2007-07-21
* shorten snapshot names to repo basenameMichael Krelin2007-07-21
* added snapshot filename to the linkMichael Krelin2007-07-21
l die() if exit_status isn't what it expects, anyway. So this is best as just a local variable instead of as part of the struct. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2014-01-10parsing: fix header typoJason A. Donenfeld 2014-01-10cgit.c: Fix comment on bit mask hackLukas Fleischer * Formatting and spelling fixes. * A bit mask with the size of one byte only allows for storing 8 (not 255!) different flags. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-10cgit.c: Use "else" for mutually exclusive branchesLukas Fleischer When parsing command line arguments, no pair of command line options can ever match simultaneously. Use "else if" blocks to reflect this. This change improves both readability and speed. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-10ui-snapshot.c: Do not reinvent suffixcmp()Lukas Fleischer Use suffixcmp() from Git instead of reimplementing it. This is a preparation for moving to ends_with() in Git 1.8.6. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-10Refactor cgit_parse_snapshots_mask()Lukas Fleischer Use Git string lists instead of str{spn,cspn,ncmp}() magic. This significantly improves readability. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-10Disallow use of undocumented snapshot delimitersLukas Fleischer Since the introduction of selective snapshot format configuration in dc3c9b5 (allow selective enabling of snapshots, 2007-07-21), we allowed seven different delimiters for snapshot formats, while the documentation has always been clear about spaces being the only valid delimiter: The value is a space-separated list of zero or more of the values "tar", "tar.gz", "tar.bz2", "tar.xz" and "zip". Supporting the undocumented delimiters makes the code unnecessarily complex. Remove them. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-10Replace most uses of strncmp() with prefixcmp()Lukas Fleischer This is a preparation for replacing all prefix checks with either strip_prefix() or starts_with() when Git 1.8.6 is released. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-09README: Fix dependenciesLukas Fleischer * Remove the dependency on Git (which can be obtained automatically when building, using either the Git submodule or `make get-git`). * Use proper upstream names of dependencies. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-08README: Spelling and formatting fixesLukas Fleischer * Several small spelling and capitalization fixes. * Use consistent and better-looking formatting that is compatible with AsciiDoc (and partly compatible with RST). Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-08Fix UTF-8 with syntax-highlighting.pyPřemysl Janouch Previously the script tried to encode output from Pygments with the ASCII codec, which failed. Signed-off-by: Přemysl Janouch <p.janouch@gmail.com> 2014-01-08Add a suggestion to the manpagePřemysl Janouch So that people wishing to use "enable-http-clone" don't have to find out the correct settings on their own. Signed-off-by: Přemysl Janouch <p.janouch@gmail.com> 2014-01-08Fix the example configurationPřemysl Janouch "enable-git-clone" doesn't exist, replaced with "enable-http-clone". Signed-off-by: Přemysl Janouch <p.janouch@gmail.com> 2014-01-08Fix about-formatting.shPřemysl Janouch dash failed to parse the script. Signed-off-by: Přemysl Janouch <p.janouch@gmail.com> 2014-01-08Fix some spelling errorsPřemysl Janouch Signed-off-by: Přemysl Janouch <p.janouch@gmail.com> 2014-01-08filters: highlight.sh: add css comments for highlight 2.6 and 3.8Ferry Huberts