summaryrefslogtreecommitdiff
path: root/html.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* html.c: use '+' to escape spaces in urlsLars Hjemli2010-11-101-2/+2
* prefer html_raw() to write()Mark Lodato2010-09-041-9/+9
* Merge branch 'stable'Lars Hjemli2010-08-291-4/+5
|\
| * html: fix strcpy bug in convert_query_hexcharMark Lodato2010-08-291-4/+5
* | html: properly percent-escape URLsMark Lodato2010-02-091-4/+32
* | html: make all strings 'const char *'Mark Lodato2010-02-081-17/+17
|/
* html.c: use correct escaping in html attributesLars Hjemli2009-01-291-2/+4
* html.c: add html_url_pathLars Hjemli2008-10-051-0/+16
* html.c: add html_url_argLars Hjemli2008-10-051-0/+16
* Supply status description to html_status()Lars Hjemli2008-08-061-2/+2
* Implement plain viewLars Hjemli2008-08-061-0/+5
* Add support for cloning over httpLars Hjemli2008-08-061-0/+7
* Print an error if filename is not found in html_include.Harley Laue2008-04-291-1/+5
* Merge branch 'lh/cleanup'Lars Hjemli2008-04-081-19/+76
|\
| * Move cgit_parse_query() from parsing.c to html.c as http_parse_querystring()Lars Hjemli2008-04-081-0/+64
| * Introduce html.hLars Hjemli2008-03-181-19/+12
* | Merge branch 'stable'Lars Hjemli2008-02-231-15/+5
|\ \ | |/ |/|
| * Fix segfaultHiroki Hattori2008-02-231-15/+5
* | Fix html error detected by test-suiteLars Hjemli2007-11-111-1/+1
|/
* Add html_option() functionLars Hjemli2007-10-281-0/+12
* Rename dirlink to gitlink.Jeffrey C. Ollie2007-06-041-1/+1
* Add html_include()Lars Hjemli2007-05-181-0/+14
* Add submodule links in tree listingLars Hjemli2007-05-111-1/+2
* Add generic support for search box in page headerLars Hjemli2006-12-281-0/+10
* Test for NULL-pointers in html_txt() and friendsLars Hjemli2006-12-281-4/+3
* Only show first 80 characters of commit subject in log and summaryLars Hjemli2006-12-221-0/+28
* Show list of modified files in ui-commit.cLars Hjemli2006-12-171-0/+20
* Add license file and copyright noticesLars Hjemli2006-12-101-0/+8
* Add caching infrastructureLars Hjemli2006-12-101-2/+4
* Import cgit prototype from git treeLars Hjemli2006-12-091-0/+100
We already have a global cgit_version which is set from the #define'd CGIT_VERSION in cgit.c. Change ui-patch.c to use this so that we only need to rebuild cgit.o when the version changes. Signed-off-by: John Keeping <john@keeping.me.uk> 2013-03-20Makefile: re-use Git's Makefile where possibleJohn Keeping3-119/+80 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 <john@keeping.me.uk> Acked-by: Jamie Couture <jamie.couture@gmail.com>