summary refs log tree commit diff
Commit message (Expand)AuthorAge
...
* [BUILTIN] Exit without arguments in a trap should use status outside trapsHerbert Xu2014-10-06
* [EVAL] Do not clobber exitstatus in evalcommandHerbert Xu2014-10-03
* [ERROR] Set exitstatus in onintHerbert Xu2014-10-02
* [TRAP] Make sure evalskip is zero before running trapsHerbert Xu2014-10-02
* [EVAL] Fix use-after-free in dotrap/evalstringHerbert Xu2014-10-02
* [PARSER] Add nlprompt/nlnoprompt helpersHerbert Xu2014-09-29
* [PARSER] Handle backslash newlines properly after dollar signHerbert Xu2014-09-29
* [INPUT] Kill pgetc_macroHerbert Xu2014-09-29
* [BUILTIN] Correctly handle test ! ! = !Herbert Xu2014-09-28
* Release 0.5.8.Herbert Xu2014-09-26
* [MAN] Clarify "trap '' signals" syntax in manual pageJonathan Nieder2014-09-26
* [MAN] 0 and EXIT both work for exit trapsAdam Buchbinder2014-09-26
* [MAN] Change characters for printf precision to bytesHerbert Xu2014-09-26
* [JOBS] Fix off-by-one error for multiple of four job numbersHarald van Dijk2014-09-26
* [BUILTIN] Set command -p path to /usr/sbin:/usr/bin:/sbin:/binHerbert Xu2014-09-26
* [BUILTIN] Small optimisation of command -pv changeHerbert Xu2014-09-26
* [BUILTIN] command: allow combining -p with -vHarald van Dijk2014-09-26
* [BUILTIN] Fixed argument parsing crash in testHerbert Xu2013-08-23
* [VAR] Initialise OPTIND after importing environmentHerbert Xu2013-08-23
* [VAR] Add newline when tracing in poplocalvarsPeter Rosin2013-08-23
* [MAN] Markup fixes in manual for mandoc 1.12.1Jérémie Courrèges-Anglas2013-08-23
* [BUILTIN] Use PRIdMAX instead of %j in printfHarald van Dijk2013-08-23
* [EXPAND] Propagate EXP_QPAT in subevalvarHerbert Xu2013-08-23
* [MAN] Fix typo for waitKimo Rosenbaum2013-08-23
* [BUILTIN] Add support for ulimit -rChristoph Mathys2012-07-03
* Avoid overflow for very long variable nameJim Meyering2012-07-03
* [VAR] Sanitise environment variable names on entryHerbert Xu2012-02-25
* [SHELL] Add top-level autogen.shDavid S. Miller2011-08-17
* [SHELL] Allow building without LINEO supportDavid S. Miller2011-08-17
* [ARITH] Avoid imaxdiv when only one of the results is wantedHarald van Dijk2011-08-17
* [SHELL] Fix klibc DEBUG compilationmaximilian attems2011-07-15
* [BUILTIN] Merge SKIPFUNC/SKIPFILE and only clear SKIPFUNC when leaving dotcmdHerbert Xu2011-07-09
* Release 0.5.7.Herbert Xu2011-07-08
* [EVAL] Avoid using undefined handlerJim Meyering2011-07-08
* [MEMALLOC] Avoid clang warning about dead store to "size"Jim Meyering2011-07-08
* [MEMALLOC] Avoid gcc warning: variable 'oldstackp' set but not usedJim Meyering2011-07-08
* [BUILTIN] Eliminate unnecessary promotion in echocmdHerbert Xu2011-07-07
* [OUTPUT] Make outc an inline functionJonathan Nieder2011-07-07
* [MAN] Remove spurious space in descriptions of PS1, PS2, PS4Kalle Olavi Niemitalo2011-07-07
* [SHELL] Optimize dash -c "command" to avoid a forkHerbert Xu2011-07-07
* [EVAL] Remove unused EV_BACKCMD flagJonathan Nieder2011-07-07
* [PARSER] Fix clobbering of checkkwdHerbert Xu2011-03-15
* [DEBUG] Use va_copy when reusing a va_listJonathan Nieder2011-03-15
* [EXPAND] Free IFS state after here document expansionJonathan Nieder2011-03-15
* [SHELL] Improve LINENO supportHarald van Dijk2011-03-15
* [EVAL] Let funcnode refer to a function definition, not its first commandHarald van Dijk2011-03-15
* [SHELL] Port to SolarisBrian Koropoff2011-03-15
* [BUILTIN] Fix backslash handling in read(1)Herbert Xu2011-03-11
* [BUILTIN] Dotcmd should exit with zero when doing nothingJonathan Nieder2011-03-10
* [BUILTIN] Fix CTLESC clobbering by read(1)Herbert Xu2011-03-10
DMELars 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