about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorMark Lodato <lodatom@gmail.com>2010-02-08 23:04:41 -0500
committerMark Lodato <lodatom@gmail.com>2010-02-08 23:04:41 -0500
commit8aab27f24de70acfbdcee31c634a4b1facf23b92 (patch)
tree10e5f83a5f0c2a286ec2d1feecf6732f863c9a47 /tests
parentMerge branch 'stable' (diff)
downloadcgit-pink-8aab27f24de70acfbdcee31c634a4b1facf23b92.tar.gz
cgit-pink-8aab27f24de70acfbdcee31c634a4b1facf23b92.zip
html: make all strings 'const char *'
None of the html_* functions modify their argument, so they can all be
'const char *' instead of a simple 'char *'.  This removes the need to
cast (or copy) when trying to print a const string.

Signed-off-by: Mark Lodato <lodatom@gmail.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
Lars Hjemli 2009-07-25cgit.h: keep config flags sortedLars Hjemli 2009-07-25cgitrc.5.txt: document 'embedded' and 'noheader'Lars Hjemli 2009-07-25Add support for 'noheader' optionLars Hjemli 2009-07-25cgitrc.5.txt: document 'head-include'Lars Hjemli 2009-07-25ui-blob: return 'application/octet-stream' for binary blobsLars Hjemli 2009-07-25ui-plain: Return 'application/octet-stream' for binary files.Remko Tronçon 2009-06-11use cgit_httpscheme() for atom feedDiego Ongaro 2009-06-11add cgit_httpscheme() -> http:// or https://Diego Ongaro 2009-06-07Return http statuscode 404 on unknown branchLars Hjemli 2009-06-07Add head-include configuration option.Mark Lodato 2009-03-15CGIT 0.8.2.1Lars Hjemli 2009-03-15Fix doc-related glitches in Makefile and .gitignoreLars Hjemli 2009-03-15ui-snapshot: avoid segfault when no filename is specifiedLars Hjemli 2009-03-15fix segfault when displaying empty blobsEric Wong 2009-02-19Add support for HEAD requestsLars Hjemli 2009-02-19Add support for ETag in 'plain' viewLars Hjemli 2009-02-12ui-tree: escape ascii-text properly in hexdump viewLars Hjemli 2009-02-12Makefile: add doc-related targetsLars Hjemli