From 62302496dc5ff61dbaf4fe16fd8ce813aa8657f2 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Sat, 23 Nov 2019 18:31:23 +0100 Subject: [PATCH] git mv src/bin/termptysave.{c,h} src/bin/backlog.{c,h} --- DESIGN.md | 2 +- src/bin/{termptysave.c => backlog.c} | 2 +- src/bin/{termptysave.h => backlog.h} | 0 src/bin/meson.build | 6 +++--- src/bin/termpty.c | 2 +- src/bin/termptyops.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) rename src/bin/{termptysave.c => backlog.c} (98%) rename src/bin/{termptysave.h => backlog.h} (100%) diff --git a/DESIGN.md b/DESIGN.md index ba466151..e277a67e 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -1,6 +1,7 @@ A simple documentation to navige through the C files: * `src/bin/about.c` handles the About widget +* `src/bin/backlog.c`: backlog handling * `src/bin/col.c` is about the colors handled by the terminal * `src/bin/config.c`: how the configuration is saved/loaded/updated * `src/bin/controls.c`: the widget when a right-click is done on a terminal @@ -33,7 +34,6 @@ A simple documentation to navige through the C files: * `src/bin/termptyext.c`: extented terminology escape handling * `src/bin/termptygfx.c`: charset translations * `src/bin/termptyops.c`: handling history -* `src/bin/termptysave.c`: compression of the backlog * `src/bin/tyalpha.c`: the `tyalpha` tool * `src/bin/tybg.c`: the `tybg` tool * `src/bin/tycat.c`: the `tycat` tool diff --git a/src/bin/termptysave.c b/src/bin/backlog.c similarity index 98% rename from src/bin/termptysave.c rename to src/bin/backlog.c index afb9db4d..e3e81368 100644 --- a/src/bin/termptysave.c +++ b/src/bin/backlog.c @@ -1,7 +1,7 @@ #include "private.h" #include #include "termpty.h" -#include "termptysave.h" +#include "backlog.h" static int ts_comp = 0; diff --git a/src/bin/termptysave.h b/src/bin/backlog.h similarity index 100% rename from src/bin/termptysave.h rename to src/bin/backlog.h diff --git a/src/bin/meson.build b/src/bin/meson.build index dc6c2a7b..6de1d171 100644 --- a/src/bin/meson.build +++ b/src/bin/meson.build @@ -31,7 +31,7 @@ terminology_sources = ['private.h', 'termptyops.c', 'termptyops.h', 'termptygfx.c', 'termptygfx.h', 'termptyext.c', 'termptyext.h', - 'termptysave.c', 'termptysave.h', + 'backlog.c', 'backlog.h', 'md5/md5.c', 'md5/md5.h', 'utf8.c', 'utf8.h', 'win.c', 'win.h', @@ -49,7 +49,7 @@ tycat_sources = ['tycommon.c', 'tycommon.h', 'tycat.c', 'extns.c', 'extns.h'] tyls_sources = ['extns.c', 'extns.h', 'tyls.c', 'tycommon.c', 'tycommon.h'] tysend_sources = ['tycommon.c', 'tycommon.h', 'tysend.c'] tyfuzz_sources = ['termptyesc.c', 'termptyesc.h', - 'termptysave.c', 'termptysave.h', + 'backlog.c', 'backlog.h', 'termptyops.c', 'termptyops.h', 'termptydbl.c', 'termptydbl.h', 'termptyext.c', 'termptyext.h', @@ -64,7 +64,7 @@ tyfuzz_sources = ['termptyesc.c', 'termptyesc.h', 'utils.c', 'utils.h', 'tyfuzz.c'] tytest_sources = ['termptyesc.c', 'termptyesc.h', - 'termptysave.c', 'termptysave.h', + 'backlog.c', 'backlog.h', 'termptyops.c', 'termptyops.h', 'termptydbl.c', 'termptydbl.h', 'termptyext.c', 'termptyext.h', diff --git a/src/bin/termpty.c b/src/bin/termpty.c index 879135f1..29517100 100644 --- a/src/bin/termpty.c +++ b/src/bin/termpty.c @@ -6,7 +6,7 @@ #include "termpty.h" #include "termptyesc.h" #include "termptyops.h" -#include "termptysave.h" +#include "backlog.h" #include "keyin.h" #if !defined(ENABLE_FUZZING) && !defined(ENABLE_TESTS) # include "win.h" diff --git a/src/bin/termptyops.c b/src/bin/termptyops.c index 27c4399f..208cb734 100644 --- a/src/bin/termptyops.c +++ b/src/bin/termptyops.c @@ -5,7 +5,7 @@ #include "termptydbl.h" #include "termptyops.h" #include "termptygfx.h" -#include "termptysave.h" +#include "backlog.h" #include "miniview.h" #include