summary refs log tree commit diff
Commit message (Expand)AuthorAge
...
* Clean up style in xxJune McEnroe2017-05-01
* Clean up style in pbdJune McEnroe2017-05-01
* Use EX_OK in pbcopyJune McEnroe2017-05-01
* Clean up clockJune McEnroe2017-04-30
* Clean up error strings in briJune McEnroe2017-04-30
* Add -u option to xxJune McEnroe2017-03-18
* Fix non-string-literal-format-string in briJune McEnroe2017-03-15
* Fix bri compilationJune McEnroe2017-03-15
* Use psvar for title settingJune McEnroe2017-03-15
* Add bri brightness control scriptJune McEnroe2017-03-14
* Add comment to tmux terminal overrideJune McEnroe2017-03-14
* Have tmux set block cursor on linux consoleJune McEnroe2017-03-13
* Use inverse for Visual in colorschemeJune McEnroe2017-03-13
* Add console color palette scriptJune McEnroe2017-03-12
* Add custom keymap for consoleJune McEnroe2017-03-12
* Fix OSTYPE check for ARMJune McEnroe2017-03-12
* Use Escape and i to enter/exit tmux copy modeJune McEnroe2017-02-27
* Set inccommand=nosplitJune McEnroe2017-02-22
* Set inccommand=splitJune McEnroe2017-02-22
* Use Hermit font in iTermJune McEnroe2017-02-19
* Remove mayJune McEnroe2017-02-14
* Add W command in vimJune McEnroe2017-02-06
* Add nasd functionJune McEnroe2017-02-01
* Highlight Ruby symbols as stringsJune McEnroe2017-01-30
* Remove broken gem bin path from pathJune McEnroe2017-01-26
* Remove macOS keyboard layoutJune McEnroe2017-01-25
* Use 127.0.0.1 instead of localhost in SSH configJune McEnroe2017-01-22
* Set shiftwidth=2 for sh and zshJune McEnroe2017-01-22
* Add short descriptions to C utilitiesJune McEnroe2017-01-21
* Update READMEJune McEnroe2017-01-21
* Use zsh for shell scriptsJune McEnroe2017-01-21
* Group git aliasesJune McEnroe2017-01-20
* Clean up zshrcJune McEnroe2017-01-20
* Set PATH manuallyJune McEnroe2017-01-20
* Switch back to 10-minute increments in clockJune McEnroe2017-01-20
* Modulo next hour by 24 in clockJune McEnroe2017-01-20
* Switch clock to 6-minute graduationsJune McEnroe2017-01-19
* Revert "Show one digit of each hour in clock"June McEnroe2017-01-19
* Display fuzzy clock in tmuxJune McEnroe2017-01-19
* Show one digit of each hour in clockJune McEnroe2017-01-19
* Add fuzzy clockJune McEnroe2017-01-19
* Include host in tmux status lineJune McEnroe2017-01-19
* Add include so that pbcopy.c compiles on FreeBSDJune McEnroe2017-01-08
* Implement pbcopy and pbpaste in CJune McEnroe2017-01-06
* Add custom keyboard layout for macOSJune McEnroe2017-01-03
* Add gdbinitJune McEnroe2016-12-23
* Clean up tmux.conf a bit moreJune McEnroe2016-12-01
* Remove iTerm tux profileJune McEnroe2016-12-01
* Use C-e C-e to switch tmux windowsJune McEnroe2016-11-24
* Set tmux status colors BLACKJune McEnroe2016-11-10
ef257d4fdbb2e0ff645bf0524cfca652e65ff0&follow=1'>Remove implementation details from READMELars Hjemli Let README describe the "bigger picture" instead. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-13Small layout adjustments to summary and blob viewLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-13Add display of tree content w/ui-tree.cLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-12cache_lock: do xstrdup/free on lockfileLars Hjemli Since fmt() uses 8 alternating static buffers, and cache_lock might call cache_create_dirs() multiple times, which in turn might call fmt() twice, after four iterations lockfile would be overwritten by a cachedirectory path. In worst case, this could cause the cachedirectory to be unlinked and replaced by a cachefile. Fix: use xstrdup() on the result from fmt() before assigning to lockfile, and call free(lockfile) before exit. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Don't truncate valid cachefilesLars Hjemli An embarrassing thinko in cgit_check_cache() would truncate valid cachefiles in the following situation: 1) process A notices a missing/expired cachefile 2) process B gets scheduled, locks, fills and unlocks the cachefile 3) process A gets scheduled, locks the cachefile, notices that the cachefile now exist/is not expired anymore, and continues to overwrite it with an empty lockfile. Thanks to Linus for noticing (again). Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move global variables + callback functions into shared.cLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move functions for generic object output into ui-view.cLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move log-functions into ui-log.cLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move repo summary functions into ui-summary.cLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move functions for repolist output into ui-repolist.cLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move common output-functions into ui-shared.cLars Hjemli While at it, replace the cgit_[lib_]error constants with a proper function Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Rename config.c to parsing.c + move cgit_parse_query from cgit.c to parsing.cLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Avoid infinite loops in caching layerLars Hjemli Add a global variable, cgit_max_lock_attemps, to avoid the possibility of infinite loops when failing to acquire a lockfile. This could happen on broken setups or under crazy server load. Incidentally, this also fixes a lurking bug in cache_lock() where an uninitialized returnvalue was used. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Let 'make install' clear all cachefilesLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Fix cache algorithm loopholeLars Hjemli This closes the door for unneccessary calls to cgit_fill_cache(). Noticed by Linus. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-10Add version identifier in generated filesLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-10Add license file and copyright noticesLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-10Add caching infrastructureLars Hjemli