summary refs log tree commit diff
Commit message (Expand)AuthorAge
...
* Remove msr606June McEnroe2018-11-07
* Implement all of MSR606June McEnroe2018-11-07
* Add Low — Double NegativeJune McEnroe2018-10-30
* Prevent buffer overflows in pngoJune McEnroe2018-10-28
* Remove other building bindings for engineerJune McEnroe2018-10-27
* Set MANSECT for sections 2 and 3 before 1June McEnroe2018-10-27
* Add Rival Consoles — HeliosJune McEnroe2018-10-21
* Nice shot!June McEnroe2018-10-19
* Fix tags targetJune McEnroe2018-10-17
* Remove klonJune McEnroe2018-10-16
* Use wchar_t in ttpreJune McEnroe2018-10-08
* Add ttpreJune McEnroe2018-10-08
* Use col -b to remove formatting for READMEJune McEnroe2018-10-08
* Remove edi.cJune McEnroe2018-10-07
* Add sans6x12June McEnroe2018-10-03
* Add -H flag to psfed to increase heightJune McEnroe2018-10-03
* Fix ≈ glyph of sans6x8June McEnroe2018-10-03
* Fill E0 through FE of sans6x10June McEnroe2018-10-03
* Fill 03 through 1F of sans6x10June McEnroe2018-10-03
* Fix ¼ glyph of sans6x8June McEnroe2018-10-03
* Fill A6 through AF of sans6x10June McEnroe2018-10-03
* Rewrite schemeJune McEnroe2018-10-02
* Allow setting colors in psf2pngJune McEnroe2018-10-02
* Add some '80s music notesJune McEnroe2018-09-30
* Fix case of ASCII constants in psfedJune McEnroe2018-09-30
* Squish Ñ in sans6x10 consistentlyJune McEnroe2018-09-29
* Add -c and -s to psf2pngJune McEnroe2018-09-29
* Add box drawing glyphs to sans6x10June McEnroe2018-09-29
* Tweak sans6x8 shading blocksJune McEnroe2018-09-29
* Fill 7F through A5 of sans6x10June McEnroe2018-09-29
* Add f and ' to psfedJune McEnroe2018-09-29
* Add sans6x10 basic glyphsJune McEnroe2018-09-28
* Make sans6x8 double quote narrowerJune McEnroe2018-09-28
* Add greek glyphs to sans6x8June McEnroe2018-09-28
* Add png target in etc/psfJune McEnroe2018-09-28
* Disable visual bell in light terminal profileJune McEnroe2018-09-28
* Add psf2pngJune McEnroe2018-09-28
* Add HJKL for moving glyphs to psfedJune McEnroe2018-09-27
* Move psfed paste to edit modeJune McEnroe2018-09-27
* Export PWDJune McEnroe2018-09-27
* Add sans6x8 PSF2 fontJune McEnroe2018-09-27
* Add copy paste to psfedJune McEnroe2018-09-26
* Add r to psfed for invertJune McEnroe2018-09-25
* Add psfed, a PSF2 font editorJune McEnroe2018-09-24
* Add scheme -i to swap white and blackJune McEnroe2018-09-21
* Map caps lock to escape on Linux consoleJune McEnroe2018-09-21
* Fix README mandoc lintsJune McEnroe2018-09-19
* Un-NOT trans.alpha values in pngoJune McEnroe2018-09-19
* Refactor reads in pngo and clear palette between filesJune McEnroe2018-09-18
* Add tRNS support to pngoJune McEnroe2018-09-17
1&id=06fe0c2f47eaf467db8ab1443e61dfa1c280f30a&follow=1'>Add 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