summaryrefslogtreecommitdiff
path: root/ringbuffer.c (follow)
Commit message (Collapse)AuthorAge
* Merge topic branch t/gui into masterAndre Noll2026-04-06
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improvements to para_gui A short series which implements the new clear_bot_win internal gui command. On top of that follow a bunch of other small improvements. Nothing scary here. * t/gui: gui: Drop terminating dummy command from command_list[]. gui: Remove dead post-schedule code. gui: Drop SIGUSR1 handling. gui: Ignore SIGINT. gui: Do not request minimal timeout on notifications. gui: Drop refresh_window(). gui: Use normal output color for help text. gui: Show file size in human-readable form. gui: New internal command: clear_bot_win.
| * gui: New internal command: clear_bot_win.Andre Noll2026-03-23
| | | | | | | | | | Introduce ringbuffer_flush() to remove all entries and call the new function from the command handler of the new "clear_bot_win" command.
* | Switch to SPDX identifiers.Andre Noll2026-03-17
|/ | | | | | | | Generated with sed -i 's|Copyright.*Andre Noll.*|SPDX-License-Identifier: GPL-2.0 */|g' *.c *.h followed by manually tweaking the result a bit. No license change intended.
* Improve ringbuffer API documentation.Andre Noll2026-02-18
| | | | | | Spell "ringbuffer" consistently, dedoxify the declaration of the opaque ringbuffer structure, drop doxygen \a annotations and streamline the documentation a bit.
* Include regex.h from para.h.Andre Noll2025-05-19
| | | | Every .c file includes it anyway.
* string: Rename para_calloc() -> zalloc().Andre Noll2022-07-29
| | | | | Reword the documentation a bit since the function has never been a wrapper for calloc(3). No code changes.
* Shorten copyright notice.Andre Noll2017-09-22
| | | | | | | | | | | | | | | | | | | | | The GPLv2 line does not add any additional information, so drop it. This leaves a single line of legalese text for most files, which is about the amount of screen real estate it deserves. This patch was created with the following script (plus some manual fixups): awk '{ if (NR <= 5) { gs = gensub(/.*Copyright.* ([0-9]+).*Andre Noll.*/, "\\1", "g") if (gs != $0) year = gs next } if (NR == 6 && year != "") printf("/* Copyright (C) %s Andre Noll <maan@tuebingen.mpg.de>, see file COPYING. */\n", year) print }'
* Update year in copyright headers.Andre Noll2015-01-12
| | | | | | | | | | | | | | | | Done with files=$(git grep -l 'Copyright (C) [0-9]\{4\}\(-2014\)* Andre Noll') sed --in-place= -e 's/Copyright (C) \([0-9]\{4\}\)-2014 Andre Noll/Copyright (C) \1 Andre Noll/1' $files In previous years we ran a similar script to set the second year in the range to the current year. This is kind of silly, so let's get rid of this useless information. This commit replaces "Copyright (C) A-B" by "Copyright (C) A" in all file headers, i.e. only the first year (A) is left in. Accurate information including time stamps for each change can be obtained from the git history.
* doc: Change email address to maan@tuebingen.mpg.deAndre Noll2014-08-18
| | | | | | | | | | | | | | The mail server on systemlinux.org was down for more than a week lately, so let's use an alternative official address. This commit changes all maan@systemlinux.org addresses to maan@tuebingen.mpg.de. Most .c and .h files contain the email address in the copyright header, so they must all be patched. Three other files contain the address for a different reason: * README lists email and git, gitweb and home page URLs * configure.ac needs it for configure -h * version.c contains it for the -V option of all commands
* Change copyright year to 2014.Andre Noll2014-02-22
| | | | | | | | | This year, we're really on time. The changes in this patch were created by the following silly script: files=$(git grep -l 'Copyright (C) [0-9]\{4\}\(-2013\)* Andre Noll') sed --in-place= -e 's/Copyright (C) \([0-9]\{4\}\)-2013 Andre Noll/Copyright (C) \1-2014 Andre Noll/1' $files sed --in-place= -e 's/Copyright (C) 2013 Andre Noll/Copyright (C) 2013-2014 Andre Noll/1' $files
* Change copyright year to 2013.Andre Noll2013-03-25
| | | | Better late than never.
* Change year in copyright message to 2012.Andre Noll2012-01-07
|
* doxygen: Add some missing documentation.Andre Noll2011-05-15
|
* Replace 2010 in copyright message by 2011.Andre Noll2011-01-17
|
* Change year in COPYRIGHT to 2010.Andre Noll2010-04-05
| | | | Hey, this is earlier than last year :)
* Introduce para_regcomp.Andre Noll2009-07-08
| | | | | | | | | | | | | A wrapper for regcomp() that logs an error message if the regcomp() failed and uses a return value according to the paraslash rules. Currently there is only one user of regular expressions, is_v4_dot_quad(), which is converted to para_regex(), but new callers will be added soon. Unfortunately, this change made it necessary to include regex.h in all .c files that use string.h. Clean up the order in which headers are included a bit while we're at it. Maybe I should rethink the rule "Only .c files shall include header files"...
* Kill some semicolons outside function definitions.Andre Noll2009-05-17
|
* Change year of copyright from 2008 to 2009.Andre Noll2009-01-10
|
* ringbuffer improvements.Andre Noll2008-01-14
| | | | | Introduce struct ringbuffer. This allows to get rid of the void* pointers of the ringbuffer implementation.
* Change year in Copyright comment from 2007 to 2008.Andre Noll2008-01-08
|
* ringbuffer.c: fix two typos.Andre Noll2007-07-07
|
* trivial doxygen cleanupsAndre Noll2007-07-07
| | | | Replace @param by \param and fix punctuation.
* replace standard GPL header by a one-line pointer to COPYINGAndre Noll2007-06-28
|
* no need to include gcc-compat.h twiceAndre2006-02-27
| | | | It gets already included from para.h.
* initial git commitAndre2006-02-20
Let's try if this works out.