Website Summary Files Commits Branches @commit @diff @stats
Commit message (Collapse)AuthorAgeLinesSHA
* Use git-1.5.3.3
 Lars Hjemli
2007-10-01-1/+12e3b6fc
|
* cgit v0.6.3
 Lars Hjemli
2007-09-20-1/+1b65aa5d
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Upgrade to GIT 1.5.3.2
 Lars Hjemli
2007-09-20-1/+108b6776
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Use trim_end() to remove trailing slashes
 Lars Hjemli
2007-09-20-3/+34e40d85
| | | | | | | | | | | | | All urls and paths read from cgitrc needs to be 'normalized', i.e. get any trailing slashes removed, and the trim_end() function works out nice for this purpose. Removing the trailing slashes also happens to fix the case where the virtual root should be a single slash; that case used to require specifying the full hostname (including the http:// prefix), but now it can simply be specified as /. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Remove a few compiler warnings
 Lars Hjemli
2007-09-20-2/+30835ffe
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add cgit.conf to .gitignore, remove *~
 Lars Hjemli
2007-09-20-1/+16df9c70
| | | | | | | Not having cgit.conf in .gitignore is a bug, while having *~ is a personal preference. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* ui-tree: show last line of blob
 Lars Hjemli
2007-09-20-2/+5ff7a394
| | | | | | | | | The last line in a blob was never printed by ui-tree::print_object(), which was particularly annoying when the blob missed a final newline. This fixes the issue. Noticed-by: <mkraai@beckman.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* ui-tree: specify parameter position for all htmlf formats
 Lars Hjemli
2007-09-19-1/+163d5f5e
| | | | | | | | The GNU C library manual tells us that behavior is undefined if only some formats has a specification for the parameter position. Noticed-by: <mkraai@beckman.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* fixed typo in cgitrc
 Michael Krelin
2007-09-14-1/+17921572
| | | | Signed-off-by: Michael Krelin <hacker@klever.net>
* Improve the sample cgitrc file
 Chris Pickel
2007-09-09-12/+510602d8c
| | | | | | | | | | Added and documented missing cgitrc parameters, improved documentation for virtual-root, added examples for repositories with a working directory. [lh:sligthly modified/extended] Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* cgit v0.6.2
 Lars Hjemli
2007-09-08-1/+14beecc9
|
* Revert part of "Makefile: add support for DESTDIR"
 Lars Hjemli
2007-09-08-3/+36bfed7d
| | | | | | | | This removes my editing on the patch received by Chris Pickel, as I didn't understand the purpose of DESTDIR. Noticed-by: Chris Pickel <sfiera@macports.org> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Revert "Makefile: add missing references to DESTDIR"
 Lars Hjemli
2007-09-08-2/+2152c5e2
| | | | | | | | This reverts commit fa31c5ed4839575c3ef3f6f0823fc2b4af47dbfd, as I totally misunderstood the purpose of DESTDIR. Noticed-by: Chris Pickel <sfiera@macports.org> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* cgit v0.6.1
 Lars Hjemli
2007-09-08-2/+2af38d65
|
* Makefile: add missing references to DESTDIR
 Lars Hjemli
2007-09-08-2/+2fa31c5e
| | | | | | | When cgit is built it needs to get CGIT_CONFIG and CGIT_CACHE_ROOT prefix with DESTDIR. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Make cgit honor CACHE_ROOT as defined in Makefile
 Chris Pickel
2007-09-08-1/+2898f5f8
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Makefile: add support for DESTDIR
 Chris Pickel
2007-09-08-7/+797ded7c
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* cgit v0.6
 Lars Hjemli
2007-09-04-2/+296a2421
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Update README
 Lars Hjemli
2007-09-04-18/+39bd8e8a3
| | | | | | | Add new build instructions, extend the "Missing features" section and add a note about patches/email address of the author. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Set xdemitconf_t.findfunc=NULL
 Lars Hjemli
2007-09-04-0/+10de21a8
| | | | | | | | This function-pointer was introduced in git v1.5.3-rc0-42-gf258475. It needs to have a value, and setting it to NULL triggers the old behaviour for selecting hunk headers. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Merge branch 'jo/dirlink'
 Lars Hjemli
2007-09-03-7/+7ff13396
|\ | | | | | | | | | | | | | | | | | | | | * jo/dirlink: Rename dirlink to gitlink. Conflicts: ui-tree.c Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| * Rename dirlink to gitlink.
 Jeffrey C. Ollie
2007-06-04-7/+7e651cb0
| | | | | | | | | | | | | | Git changed from dirlink to gitlink in 302b9282c9ddfcc704ca759bdc98c1d5f75eba2f. Signed-off-by: Jeffrey C. Ollie <jeff@ocjtech.us>
* | Use git-1.5.3 as submodule
 Lars Hjemli
2007-09-03-0/+04e7e8bf
| | | | | | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | Delete submodules.sh and prepare for using git-submodule
 Lars Hjemli
2007-09-03-186/+379f0c10
| | | | | | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | Makefile: add target "get-git"
 Lars Hjemli
2007-09-03-1/+695eaf27
| | | | | | | | | | | | | | The new target downloads a suitable git.git tarball from kernel.org and unpacks it in the git directory. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | Rewrite the makefile + gen-version.sh
 Lars Hjemli
2007-09-03-67/+55e8920b5
| | | | | | | | | | | | | | The old files were simply broken, hopefully the new ones will work out somewhat better. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | ui-snapshot: whitespace/formatting cleanup
 Lars Hjemli
2007-07-23-23/+231221adb
| | | | | | | | | | | | | | | | 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 <hjemli@gmail.com>
* | Make ui-tag.c generate valid xhtml
 Lars Hjemli
2007-07-23-1/+143291e4
| | | | | | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | Add support for line number in url fragment
 Lars Hjemli
2007-07-23-1/+10f405d0b
| | | | | | | | | | | | | | With this change, urls like http://hjemli.net/git/cgit/tree/ui-tree.c#43 can be used to jump directly to the specified line number. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | cgit_print_snapshot_links: use url to specify snapshot name
 Lars Hjemli
2007-07-23-21/+41eb45342
| | | | | | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | Merge branch 'master' of git://git.klever.net/patchwork/cgit
 Lars Hjemli
2007-07-22-44/+1941d4aaff
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of git://git.klever.net/patchwork/cgit: link raw blob from tree file view fix: changed view link to blob in summary. allow selective enabling of snapshots shorten snapshot names to repo basename introduce cgit_repobasename added snapshot filename to the link add plain uncompressed tar snapshort format introduced .tar.bz2 snapshots compress .tar.gz using gzip as a filter added a chk_non_negative check css: adjust vertical-align of commit info th cells add support for snapshot tarballs Conflicts: ui-summary.c Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| * | link raw blob from tree file view
 Michael Krelin
2007-07-21-0/+4d6b01da
| | | | | | | | | | | | Signed-off-by: Michael Krelin <hacker@klever.net>
| * | fix: changed view link to blob in summary.
 Michael Krelin
2007-07-21-1/+1bbd4a14
| | | | | | | | | | | | | | | | | | | | | might not be the best way, but should suffice for now that view command isn't handled in any way Signed-off-by: Michael Krelin <hacker@klever.net>
| * | allow selective enabling of snapshots
 Michael Krelin
2007-07-21-15/+48dc3c9b5
| | | | | | | | | | | | | | | | | | | | | | | | snapshot configuration parameter now can be a space/slash/comma/colon/semicolon/pipe-separated list of snaphot suffixes as listed in ui-snapshot.c Signed-off-by: Michael Krelin <hacker@klever.net>
| * | shorten snapshot names to repo basename
 Michael Krelin
2007-07-21-2/+397c025a
| | | | | | | | | | | | Signed-off-by: Michael Krelin <hacker@klever.net>
| * | introduce cgit_repobasename
 Michael Krelin
2007-07-21-0/+261cb8bed
| | | | | | | | | | | | | | | | | | | | | that shortens reponame stripping any directories and .git suffixes, that is turning 'dir/repo.git/' or 'dir/repo/.git/' or alikes into mere 'repo'. Signed-off-by: Michael Krelin <hacker@klever.net>
| * | added snapshot filename to the link
 Michael Krelin
2007-07-21-5/+160df096f
| | | | | | | | | | | | | | | | | | | | | - changed cgit_pageurl into cgit_fileurl with the filename parameter - rewritten cgit_pageurl as a wrapper around cgit_fileurl Signed-off-by: Michael Krelin <hacker@klever.net>
| * | add plain uncompressed tar snapshort format
 Michael Krelin
2007-07-21-1/+286ca022
| | | | | | | | | | | | | | | | | | time to make available snapshots selectable Signed-off-by: Michael Krelin <hacker@klever.net>
| * | introduced .tar.bz2 snapshots
 Michael Krelin
2007-07-21-31/+4218a99bd
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - reworked write_tar_gzip_archive to handle arbitrary filter as a write_compressed_tar_archive - reformatted whitespaces in the said function to adhere to common cgit standards - added wrappers around write_compressed_tar_archive for .tar.gz and .tar.bz2 - added a hint for vim to use 8 characters shift width by default Signed-off-by: Michael Krelin <hacker@klever.net>
| * | compress .tar.gz using gzip as a filter
 Michael Krelin
2007-07-20-1/+374a92cbb
| | |
| * | added a chk_non_negative check
 Michael Krelin
2007-07-20-0/+8127f43d
| | |
| * | css: adjust vertical-align of commit info th cells
 Michael Krelin
2007-07-18-0/+13aae827
| | |
| * | add support for snapshot tarballs
 Michael Krelin
2007-07-18-37/+55f97c707
| | | | | | | | | | | | | | | | | | | | | - reworked cgit_print_snapshot to use a list of supported archivers and pick one for the suffix supplied - moved printing of snaphot links into ui-snapshot and make it iterate through the said list
* | | Add ui-tag.c
 Lars Hjemli
2007-07-22-32/+1114e9107a
|/ / | | | | | | | | | | | | This file implements the tag-command, i.e. printing of annotated tags. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | make gen-version.sh run even if . is not in PATH
 Michael Krelin
2007-07-03-1/+171ebcbe
| | | | | | | | | | Signed-off-by: Michael Krelin <hacker@klever.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | make config adjustable via env variable CGIT_CONFIG
 Michael Krelin
2007-07-03-1/+351f6547
| | | | | | | | | | Signed-off-by: Michael Krelin <hacker@klever.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | Merge branch 'lh/menu'
 Lars Hjemli
2007-06-29-53/+14516a3d27
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lh/menu: Add ofs argument to cgit_log_link and use it in ui-log.c Add trim_end() and use it to remove trailing slashes from repo paths Do not include current path in the "tree" menu link Add setting to enable/disable extra links on index page Change S/L/T to summary/log/tree Change "files" to "tree" Include querystring as part of cached filename for repo summary page Add more menuitems on repo pages
| * | Add ofs argument to cgit_log_link and use it in ui-log.c
 Lars Hjemli
2007-06-29-16/+30103940f
| | | | | | | | | | | | | | | | | | | | | This fixes a bug in the prev/next links on the log page: when on the default branch the links to prev/next page would contain h=(null). Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| * | Add trim_end() and use it to remove trailing slashes from repo paths
 Lars Hjemli
2007-06-26-2/+25382805e
| | | | | | | | | | | | | | | | | | | | | | | | The new function removes all trailing instances of an arbitrary character from a copy of the supplied char array. This is then used to remove any trailing slashes from cgit_query_path. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| * | Do not include current path in the "tree" menu link
 Lars Hjemli
2007-06-26-1/+142e459b
| | | | | | | | | | | | | | | | | | | | | | | | When generating the menu links on repo pages the tree link included the current path. This made the link pretty useless whenever the current path was set so this commit just passes NULL instead. Signed-off-by: Lars Hjemli <hjemli@gmail.com>