OpenBSD CVS

CVS log for src/usr.bin/tmux/log.c


[BACK] Up to [local] / src / usr.bin / tmux

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.31 / (download) - annotate - [select for diffs], Mon May 30 12:55:25 2022 UTC (23 months, 2 weeks ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, HEAD
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Spacing/style nits.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Sep 10 15:03:18 2021 UTC (2 years, 8 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.29: +18 -19 lines
Diff to previous 1.29 (colored)

Do fatal/fatalx a different way so the compiler trick to avoid warnings
becomes unnecessary, prompted by theo.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Sep 10 14:22:24 2021 UTC (2 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

Get rid of the last two warnings by turning them off around the problem
statements, if the compiler supports it.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Aug 25 07:09:30 2021 UTC (2 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.27: +2 -5 lines
Diff to previous 1.27 (colored)

Fix up some printflike attributes.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Mar 31 08:37:48 2021 UTC (3 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.26: +8 -7 lines
Diff to previous 1.26 (colored)

Do not exit if cannot write to normal log file, GitHub issue 2630.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Sep 24 20:44:58 2019 UTC (4 years, 7 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.25: +4 -1 lines
Diff to previous 1.25 (colored)

Some minor performance improvements - most notably, don't search the
input state table if the next character matches the same state as before.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Jun 4 08:25:57 2017 UTC (6 years, 11 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.24: +18 -5 lines
Diff to previous 1.24 (colored)

Support SIGUSR2 to stop and start logging for an existing server. Also
we currently only have two log levels so just use -v and -vv rather than
-v and -vvvv, and clarify the man page entry for -v.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Feb 4 23:42:53 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.23: +3 -1 lines
Diff to previous 1.23 (colored)

Missing va_end, from Anton Lindqvist.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jan 19 15:59:12 2016 UTC (8 years, 4 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

I no longer use my SourceForge address so replace it.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Dec 14 00:32:19 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.21: +1 -2 lines
Diff to previous 1.21 (colored)

Remove some stray debug code.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Dec 14 00:31:54 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

Instead of combined flags for -c, -s, -t, split into different sets
using an enum and simplify the parsing code.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Nov 24 21:19:46 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.19: +30 -7 lines
Diff to previous 1.19 (colored)

Make the log stuff a bit tidier with some helper functions.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Nov 18 14:27:44 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Use __unused rather than rolling our own.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Nov 18 13:06:54 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Sync the entire xmalloc.[ch] with the other users, but with the addition
of xrealloc, xvasprintf, xvsnprintf.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Sep 24 12:03:58 2015 UTC (8 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.16: +4 -1 lines
Diff to previous 1.16 (colored)

Do not leak log file descriptor.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Sep 14 12:12:24 2015 UTC (8 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.15: +1 -3 lines
Diff to previous 1.15 (colored)

Move tzset() from log_open to main.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Sep 1 19:14:43 2015 UTC (8 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.14: +12 -6 lines
Diff to previous 1.14 (colored)

Pass logging through vis(3).

Revision 1.14 / (download) - annotate - [select for diffs], Sat Aug 29 00:24:44 2015 UTC (8 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.13: +6 -5 lines
Diff to previous 1.13 (colored)

Microseconds in log time.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Aug 28 12:15:54 2015 UTC (8 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.12: +4 -2 lines
Diff to previous 1.12 (colored)

Log time with message.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Nov 26 18:34:51 2014 UTC (9 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Prefer setvbuf() to setlinebuf() for portability; ok deraadt@

Revision 1.11 / (download) - annotate - [select for diffs], Mon Oct 20 23:57:13 2014 UTC (9 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

Better format for printf format attributes.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 31 21:42:45 2014 UTC (10 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.9: +22 -57 lines
Diff to previous 1.9 (colored)

Remove log_debug2 as well and simplify log.c.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Mar 31 21:42:05 2014 UTC (10 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.8: +2 -41 lines
Diff to previous 1.8 (colored)

Remove unused log functions.

Revision 1.8 / (download) - annotate - [select for diffs], Wed May 30 15:01:21 2012 UTC (11 years, 11 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.7: +6 -3 lines
Diff to previous 1.7 (colored)

Do not use stderr for log file and don't call log_close when not needed.

Revision 1.7 / (download) - annotate - [select for diffs], Fri May 25 08:28:10 2012 UTC (11 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.6: +20 -55 lines
Diff to previous 1.6 (colored)

Simplify logging and just fprintf(stderr, ...) for early errors.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Mar 17 18:38:58 2012 UTC (12 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

Fix warnings. Doh.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Mar 17 18:23:03 2012 UTC (12 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.4: +12 -1 lines
Diff to previous 1.4 (colored)

Redirect libevent logging to tmux's log.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 3 22:50:10 2009 UTC (14 years, 5 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jul 21 18:40:30 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.2: +1 -14 lines
Diff to previous 1.2 (colored)

Remove a couple of unused functions and fix a type ("FALLTHOUGH"), found by
lint.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jun 25 06:23:10 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.1: +5 -29 lines
Diff to previous 1.1 (colored)

tmux doesn't and won't need syslog logging, so remove it and some other unused
functions found by lint.

Also move a couple of internal function declarations into file scope.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jun 1 22:58:49 2009 UTC (14 years, 11 months ago) by nicm
Branch: MAIN

Import tmux, a terminal multiplexor allowing (among other things) a single
terminal to be switched between several different windows and programs
displayed on one terminal be detached from one terminal and moved to another.

ok deraadt pirofti

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.