Remove unused History.h and History.cpp files."

wilder
Gustavo Carneiro 6 years ago
parent c486fc514c
commit 616db49e69
  1. 1
      src/CMakeLists.txt
  2. 2
      src/CompactHistoryScroll.cpp
  3. 58
      src/History.cpp
  4. 63
      src/History.h
  5. 2
      src/HistoryScroll.cpp
  6. 3
      src/HistoryScrollFile.cpp
  7. 2
      src/HistoryScrollNone.cpp
  8. 3
      src/Screen.cpp
  9. 6
      src/autotests/HistoryTest.cpp
  10. 1
      src/autotests/SessionTest.cpp
  11. 4
      src/session/Session.cpp
  12. 5
      src/session/SessionController.cpp
  13. 4
      src/session/SessionManager.cpp

@ -72,7 +72,6 @@ set(konsoleprivate_SRCS ${sessionadaptors_SRCS}
filterHotSpots/TerminalImageFilterChain.cpp
filterHotSpots/UrlFilter.cpp
filterHotSpots/UrlFilterHotspot.cpp
History.cpp
HistoryFile.cpp
HistoryScroll.cpp
HistoryScrollFile.cpp

@ -21,7 +21,7 @@
// Own
#include "CompactHistoryScroll.h"
#include "History.h"
#include "CompactHistoryType.h"
using namespace Konsole;

@ -1,58 +0,0 @@
/*
This file is part of Konsole, an X terminal.
Copyright 1997,1998 by Lars Doelle <lars.doelle@on-line.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.
*/
// Own
#include "History.h"
#include "HistoryScrollFile.h"
#include "konsoledebug.h"
#include "KonsoleSettings.h"
// System
#include <cerrno>
#include <cstdlib>
#include <cstdio>
#include <sys/types.h>
#include <unistd.h>
// KDE
#include <QDir>
#include <qplatformdefs.h>
#include <QStandardPaths>
#include <KConfigGroup>
#include <KSharedConfig>
using namespace Konsole;
/*
An arbitrary long scroll.
One can modify the scroll only by adding either cells
or newlines, but access it randomly.
The model is that of an arbitrary wide typewriter scroll
in that the scroll is a series of lines and each line is
a series of cells with no overwriting permitted.
The implementation provides arbitrary length and numbers
of cells and line/column indexed read access to the scroll
at constant costs.
*/

@ -1,63 +0,0 @@
/*
This file is part of Konsole, an X terminal.
Copyright 1997,1998 by Lars Doelle <lars.doelle@on-line.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.
*/
#ifndef HISTORY_H
#define HISTORY_H
// System
#include <sys/mman.h>
// Qt
#include <QList>
#include <QVector>
#include <QTemporaryFile>
#include "konsoleprivate_export.h"
// History
#include "HistoryFile.h"
#include "HistoryScroll.h"
#include "HistoryScrollFile.h"
#include "HistoryScrollNone.h"
#include "CharacterFormat.h"
#include "CompactHistoryBlock.h"
#include "CompactHistoryBlockList.h"
#include "CompactHistoryLine.h"
#include "CompactHistoryScroll.h"
#include "HistoryType.h"
#include "HistoryTypeNone.h"
#include "HistoryTypeFile.h"
#include "CompactHistoryType.h"
// Konsole
#include "Character.h"
namespace Konsole {
//////////////////////////////////////////////////////////////////////
// History using compact storage
// This implementation uses a list of fixed-sized blocks
// where history lines are allocated in (avoids heap fragmentation)
//////////////////////////////////////////////////////////////////////
}
#endif // HISTORY_H

@ -21,7 +21,7 @@
// Own
#include "HistoryScroll.h"
#include "History.h"
#include "HistoryType.h"
using namespace Konsole;

@ -19,7 +19,8 @@
*/
#include "HistoryScrollFile.h"
#include "History.h"
#include "HistoryTypeFile.h"
/*
The history scroll makes a Row(Row(Cell)) from

@ -21,7 +21,7 @@
// Own
#include "HistoryScrollNone.h"
#include "History.h"
#include "HistoryTypeNone.h"
using namespace Konsole;

@ -28,7 +28,8 @@
// Konsole
#include "TerminalCharacterDecoder.h"
#include "History.h"
#include "HistoryType.h"
#include "HistoryScrollNone.h"
#include "ExtendedCharTable.h"
using namespace Konsole;

@ -25,8 +25,12 @@
// Konsole
#include "../session/Session.h"
#include "../Emulation.h"
#include "../History.h"
#include "../HistoryTypeNone.h"
#include "../HistoryTypeFile.h"
#include "../CompactHistoryType.h"
#include "../HistoryScrollNone.h"
#include "../HistoryScrollFile.h"
#include "../CompactHistoryScroll.h"
using namespace Konsole;

@ -25,7 +25,6 @@
// Konsole
#include "../session/Session.h"
#include "../Emulation.h"
#include "../History.h"
using namespace Konsole;

@ -55,7 +55,9 @@
#include "ShellCommand.h"
#include "Vt102Emulation.h"
#include "ZModemDialog.h"
#include "History.h"
#include "HistoryTypeNone.h"
#include "HistoryTypeFile.h"
#include "CompactHistoryType.h"
#include "konsoledebug.h"
#include "session/SessionManager.h"
#include "ProfileManager.h"

@ -68,7 +68,10 @@
#include "filterHotSpots/HotSpot.h"
#include "filterHotSpots/RegExpFilter.h"
#include "filterHotSpots/UrlFilter.h"
#include "History.h"
#include "HistoryType.h"
#include "HistoryTypeNone.h"
#include "HistoryTypeFile.h"
#include "CompactHistoryType.h"
#include "HistorySizeDialog.h"
#include "widgets/IncrementalSearchBar.h"
#include "RenameTabDialog.h"

@ -35,7 +35,9 @@
// Konsole
#include "session/Session.h"
#include "ProfileManager.h"
#include "History.h"
#include "HistoryTypeNone.h"
#include "HistoryTypeFile.h"
#include "CompactHistoryType.h"
#include "Enumeration.h"
#include "widgets/TerminalDisplay.h"

Loading…
Cancel
Save