mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Cleanup includes
- Remove unused includes - Use '<..>' style consistently - Strip any paths from include - Replace deprecated C++ headers - Sort includes according to LLVM rules https://llvm.org/docs/CodingStandards.html#include-style Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
3008e458e9
commit
2535c2c399
88 changed files with 275 additions and 350 deletions
|
@ -24,19 +24,18 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <csignal>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <cassert>
|
|
||||||
#include <iostream>
|
|
||||||
#include <vector>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <timew.h>
|
|
||||||
|
|
||||||
#include <format.h>
|
|
||||||
#include <AtomicFile.h>
|
#include <AtomicFile.h>
|
||||||
#include <FS.h>
|
#include <FS.h>
|
||||||
|
#include <cassert>
|
||||||
|
#include <cerrno>
|
||||||
|
#include <csignal>
|
||||||
|
#include <cstdio>
|
||||||
|
#include <cstring>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
struct AtomicFile::impl
|
struct AtomicFile::impl
|
||||||
{
|
{
|
||||||
|
|
19
src/CLI.cpp
19
src/CLI.cpp
|
@ -24,19 +24,18 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <CLI.h>
|
#include <CLI.h>
|
||||||
#include <Color.h>
|
#include <Color.h>
|
||||||
#include <Pig.h>
|
|
||||||
#include <shared.h>
|
|
||||||
#include <format.h>
|
|
||||||
#include <utf8.h>
|
|
||||||
#include <sstream>
|
|
||||||
#include <algorithm>
|
|
||||||
#include <set>
|
|
||||||
#include <Duration.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <DatetimeParser.h>
|
#include <DatetimeParser.h>
|
||||||
|
#include <Duration.h>
|
||||||
|
#include <Pig.h>
|
||||||
|
#include <algorithm>
|
||||||
|
#include <format.h>
|
||||||
|
#include <set>
|
||||||
|
#include <shared.h>
|
||||||
|
#include <sstream>
|
||||||
|
#include <timew.h>
|
||||||
|
#include <utf8.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
A2::A2 (const std::string& raw, Lexer::Type lextype)
|
A2::A2 (const std::string& raw, Lexer::Type lextype)
|
||||||
|
|
12
src/CLI.h
12
src/CLI.h
|
@ -27,13 +27,13 @@
|
||||||
#ifndef INCLUDED_CLI
|
#ifndef INCLUDED_CLI
|
||||||
#define INCLUDED_CLI
|
#define INCLUDED_CLI
|
||||||
|
|
||||||
#include <Lexer.h>
|
|
||||||
#include <string>
|
|
||||||
#include <set>
|
|
||||||
#include <vector>
|
|
||||||
#include <map>
|
|
||||||
#include <Duration.h>
|
#include <Duration.h>
|
||||||
#include "Interval.h"
|
#include <Interval.h>
|
||||||
|
#include <Lexer.h>
|
||||||
|
#include <map>
|
||||||
|
#include <set>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
// Represents a single argument.
|
// Represents a single argument.
|
||||||
class A2
|
class A2
|
||||||
|
|
|
@ -24,17 +24,14 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <iomanip>
|
#include <Chart.h>
|
||||||
#include <iostream>
|
|
||||||
#include <shared.h>
|
|
||||||
#include <commands.h>
|
|
||||||
#include <Duration.h>
|
|
||||||
#include <Composite.h>
|
#include <Composite.h>
|
||||||
#include <Chart.h>
|
#include <Duration.h>
|
||||||
#include <format.h>
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iomanip>
|
||||||
|
#include <shared.h>
|
||||||
#include <timew.h>
|
#include <timew.h>
|
||||||
#include <Chart.h>
|
|
||||||
#include <utf8.h>
|
#include <utf8.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -27,10 +27,10 @@
|
||||||
#ifndef INCLUDED_CHART
|
#ifndef INCLUDED_CHART
|
||||||
#define INCLUDED_CHART
|
#define INCLUDED_CHART
|
||||||
|
|
||||||
|
#include <ChartConfig.h>
|
||||||
#include <Composite.h>
|
#include <Composite.h>
|
||||||
#include <Interval.h>
|
#include <Interval.h>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include "ChartConfig.h"
|
|
||||||
|
|
||||||
class Chart
|
class Chart
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,6 +27,10 @@
|
||||||
#ifndef INCLUDED_CHARTCONFIG
|
#ifndef INCLUDED_CHARTCONFIG
|
||||||
#define INCLUDED_CHARTCONFIG
|
#define INCLUDED_CHARTCONFIG
|
||||||
|
|
||||||
|
#include <Color.h>
|
||||||
|
#include <Datetime.h>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
class ChartConfig
|
class ChartConfig
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -24,16 +24,15 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cassert>
|
|
||||||
#include <Database.h>
|
|
||||||
#include <format.h>
|
|
||||||
#include <JSON.h>
|
|
||||||
#include <IntervalFactory.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <iomanip>
|
|
||||||
#include <shared.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <AtomicFile.h>
|
#include <AtomicFile.h>
|
||||||
|
#include <Database.h>
|
||||||
|
#include <IntervalFactory.h>
|
||||||
|
#include <JSON.h>
|
||||||
|
#include <cassert>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iomanip>
|
||||||
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Database::iterator::iterator (files_iterator fbegin, files_iterator fend) :
|
Database::iterator::iterator (files_iterator fbegin, files_iterator fend) :
|
||||||
|
|
|
@ -29,12 +29,12 @@
|
||||||
|
|
||||||
#include <Datafile.h>
|
#include <Datafile.h>
|
||||||
#include <Interval.h>
|
#include <Interval.h>
|
||||||
#include <Range.h>
|
|
||||||
#include <Transaction.h>
|
|
||||||
#include <vector>
|
|
||||||
#include <string>
|
|
||||||
#include <TagInfoDatabase.h>
|
|
||||||
#include <Journal.h>
|
#include <Journal.h>
|
||||||
|
#include <Range.h>
|
||||||
|
#include <TagInfoDatabase.h>
|
||||||
|
#include <Transaction.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class Database
|
class Database
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,16 +24,15 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <Datafile.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <format.h>
|
|
||||||
#include <algorithm>
|
|
||||||
#include <sstream>
|
|
||||||
#include <cassert>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <AtomicFile.h>
|
#include <AtomicFile.h>
|
||||||
|
#include <Datafile.h>
|
||||||
#include <IntervalFactory.h>
|
#include <IntervalFactory.h>
|
||||||
|
#include <algorithm>
|
||||||
|
#include <cassert>
|
||||||
|
#include <cstdlib>
|
||||||
|
#include <format.h>
|
||||||
|
#include <sstream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void Datafile::initialize (const std::string& name)
|
void Datafile::initialize (const std::string& name)
|
||||||
|
|
|
@ -27,11 +27,11 @@
|
||||||
#ifndef INCLUDED_DATAFILE
|
#ifndef INCLUDED_DATAFILE
|
||||||
#define INCLUDED_DATAFILE
|
#define INCLUDED_DATAFILE
|
||||||
|
|
||||||
|
#include <FS.h>
|
||||||
#include <Interval.h>
|
#include <Interval.h>
|
||||||
#include <Range.h>
|
#include <Range.h>
|
||||||
#include <FS.h>
|
|
||||||
#include <vector>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class Datafile
|
class Datafile
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,19 +24,13 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <DatetimeParser.h>
|
#include <DatetimeParser.h>
|
||||||
|
#include <Duration.h>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <iostream>
|
|
||||||
#include <sstream>
|
|
||||||
#include <iomanip>
|
|
||||||
#include <cassert>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <shared.h>
|
|
||||||
#include <format.h>
|
#include <format.h>
|
||||||
|
#include <iostream>
|
||||||
#include <unicode.h>
|
#include <unicode.h>
|
||||||
#include <utf8.h>
|
#include <utf8.h>
|
||||||
#include <src/libshared/src/Duration.h>
|
|
||||||
|
|
||||||
static std::vector <std::string> dayNames {
|
static std::vector <std::string> dayNames {
|
||||||
"sunday",
|
"sunday",
|
||||||
|
|
|
@ -27,10 +27,10 @@
|
||||||
#ifndef INCLUDED_DATETIMEPARSER
|
#ifndef INCLUDED_DATETIMEPARSER
|
||||||
#define INCLUDED_DATETIMEPARSER
|
#define INCLUDED_DATETIMEPARSER
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <ctime>
|
|
||||||
#include <Pig.h>
|
#include <Pig.h>
|
||||||
#include <Range.h>
|
#include <Range.h>
|
||||||
|
#include <ctime>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
class DatetimeParser
|
class DatetimeParser
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,13 +24,12 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <Exclusion.h>
|
|
||||||
#include <Datetime.h>
|
#include <Datetime.h>
|
||||||
|
#include <Exclusion.h>
|
||||||
#include <Pig.h>
|
#include <Pig.h>
|
||||||
#include <shared.h>
|
|
||||||
#include <format.h>
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <format.h>
|
||||||
|
#include <shared.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// An exclusion represents untrackable time such as holidays, weekends, evenings
|
// An exclusion represents untrackable time such as holidays, weekends, evenings
|
||||||
|
|
|
@ -29,8 +29,8 @@
|
||||||
|
|
||||||
#include <Interval.h>
|
#include <Interval.h>
|
||||||
#include <Range.h>
|
#include <Range.h>
|
||||||
#include <vector>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class Exclusion
|
class Exclusion
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,16 +24,14 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <Extensions.h>
|
#include <Extensions.h>
|
||||||
#include <FS.h>
|
#include <FS.h>
|
||||||
#include <Timer.h>
|
#include <Timer.h>
|
||||||
#include <shared.h>
|
#include <algorithm>
|
||||||
#include <timew.h>
|
|
||||||
#include <sstream>
|
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <algorithm>
|
#include <shared.h>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void Extensions::initialize (const std::string& location)
|
void Extensions::initialize (const std::string& location)
|
||||||
|
|
|
@ -27,8 +27,8 @@
|
||||||
#ifndef INCLUDED_EXTENSIONS
|
#ifndef INCLUDED_EXTENSIONS
|
||||||
#define INCLUDED_EXTENSIONS
|
#define INCLUDED_EXTENSIONS
|
||||||
|
|
||||||
#include <vector>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class Extensions
|
class Extensions
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,14 +24,12 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <Interval.h>
|
#include <Interval.h>
|
||||||
#include <timew.h>
|
|
||||||
#include <format.h>
|
|
||||||
#include <Lexer.h>
|
|
||||||
#include <sstream>
|
|
||||||
#include <JSON.h>
|
#include <JSON.h>
|
||||||
#include <Interval.h>
|
#include <Lexer.h>
|
||||||
|
#include <algorithm>
|
||||||
|
#include <sstream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
bool Interval::operator== (const Interval& other) const
|
bool Interval::operator== (const Interval& other) const
|
||||||
|
|
|
@ -24,11 +24,10 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <format.h>
|
|
||||||
#include <Lexer.h>
|
|
||||||
#include <IntervalFactory.h>
|
#include <IntervalFactory.h>
|
||||||
#include <JSON.h>
|
#include <JSON.h>
|
||||||
#include <shared.h>
|
#include <Lexer.h>
|
||||||
|
#include <format.h>
|
||||||
|
|
||||||
static std::vector <std::string> tokenizeSerialization (const std::string& line)
|
static std::vector <std::string> tokenizeSerialization (const std::string& line)
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,10 +27,10 @@
|
||||||
#ifndef INCLUDED_INTERVALFILTERALLWITHIDS
|
#ifndef INCLUDED_INTERVALFILTERALLWITHIDS
|
||||||
#define INCLUDED_INTERVALFILTERALLWITHIDS
|
#define INCLUDED_INTERVALFILTERALLWITHIDS
|
||||||
|
|
||||||
#include <IntervalFilter.h>
|
|
||||||
#include <string>
|
|
||||||
#include <set>
|
|
||||||
#include <Interval.h>
|
#include <Interval.h>
|
||||||
|
#include <IntervalFilter.h>
|
||||||
|
#include <set>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
class IntervalFilterAllWithIds : public IntervalFilter
|
class IntervalFilterAllWithIds : public IntervalFilter
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <IntervalFilterAllWithTags.h>
|
|
||||||
#include <Interval.h>
|
#include <Interval.h>
|
||||||
|
#include <IntervalFilterAllWithTags.h>
|
||||||
|
|
||||||
IntervalFilterAllWithTags::IntervalFilterAllWithTags (std::set <std::string> tags): _tags (std::move(tags))
|
IntervalFilterAllWithTags::IntervalFilterAllWithTags (std::set <std::string> tags): _tags (std::move(tags))
|
||||||
{}
|
{}
|
||||||
|
|
|
@ -27,10 +27,10 @@
|
||||||
#ifndef INCLUDED_INTERVALFILTERALLWITHTAGSET
|
#ifndef INCLUDED_INTERVALFILTERALLWITHTAGSET
|
||||||
#define INCLUDED_INTERVALFILTERALLWITHTAGSET
|
#define INCLUDED_INTERVALFILTERALLWITHTAGSET
|
||||||
|
|
||||||
#include <IntervalFilter.h>
|
|
||||||
#include <string>
|
|
||||||
#include <set>
|
|
||||||
#include <Interval.h>
|
#include <Interval.h>
|
||||||
|
#include <IntervalFilter.h>
|
||||||
|
#include <set>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
class IntervalFilterAllWithTags : public IntervalFilter
|
class IntervalFilterAllWithTags : public IntervalFilter
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,8 +27,8 @@
|
||||||
#ifndef INCLUDED_INTERVALFILTERANDGROUP
|
#ifndef INCLUDED_INTERVALFILTERANDGROUP
|
||||||
#define INCLUDED_INTERVALFILTERANDGROUP
|
#define INCLUDED_INTERVALFILTERANDGROUP
|
||||||
|
|
||||||
#include <memory>
|
|
||||||
#include <IntervalFilter.h>
|
#include <IntervalFilter.h>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
class IntervalFilterAndGroup : public IntervalFilter
|
class IntervalFilterAndGroup : public IntervalFilter
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,8 +27,8 @@
|
||||||
#ifndef INCLUDED_INTERVALFILTERFIRSTOF
|
#ifndef INCLUDED_INTERVALFILTERFIRSTOF
|
||||||
#define INCLUDED_INTERVALFILTERFIRSTOF
|
#define INCLUDED_INTERVALFILTERFIRSTOF
|
||||||
|
|
||||||
#include <memory>
|
|
||||||
#include <IntervalFilter.h>
|
#include <IntervalFilter.h>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
class IntervalFilterFirstOf : public IntervalFilter
|
class IntervalFilterFirstOf : public IntervalFilter
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,12 +24,10 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cassert>
|
|
||||||
#include <AtomicFile.h>
|
#include <AtomicFile.h>
|
||||||
#include <format.h>
|
|
||||||
#include <Journal.h>
|
#include <Journal.h>
|
||||||
#include <TransactionsFactory.h>
|
#include <TransactionsFactory.h>
|
||||||
|
#include <cassert>
|
||||||
#include <timew.h>
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -28,10 +28,10 @@
|
||||||
#define INCLUDED_JOURNAL
|
#define INCLUDED_JOURNAL
|
||||||
|
|
||||||
|
|
||||||
#include <vector>
|
|
||||||
#include <string>
|
|
||||||
#include <memory>
|
|
||||||
#include <Transaction.h>
|
#include <Transaction.h>
|
||||||
|
#include <memory>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class Journal
|
class Journal
|
||||||
{
|
{
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <Range.h>
|
#include <Range.h>
|
||||||
#include <sstream>
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
#include <sstream>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// A Range consists of a start time and optional end time. A missing end
|
// A Range consists of a start time and optional end time. A missing end
|
||||||
|
|
|
@ -24,18 +24,17 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
#include <AtomicFile.h>
|
||||||
#include <Rules.h>
|
|
||||||
#include <FS.h>
|
#include <FS.h>
|
||||||
#include <shared.h>
|
#include <JSON.h>
|
||||||
#include <format.h>
|
#include <Rules.h>
|
||||||
#include <sstream>
|
|
||||||
#include <tuple>
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
#include <inttypes.h>
|
#include <cinttypes>
|
||||||
#include <AtomicFile.h>
|
#include <format.h>
|
||||||
#include <JSON.h>
|
#include <shared.h>
|
||||||
|
#include <sstream>
|
||||||
|
#include <tuple>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Rules::Rules ()
|
Rules::Rules ()
|
||||||
|
|
|
@ -27,12 +27,12 @@
|
||||||
#ifndef INCLUDED_RULES
|
#ifndef INCLUDED_RULES
|
||||||
#define INCLUDED_RULES
|
#define INCLUDED_RULES
|
||||||
|
|
||||||
#include <Lexer.h>
|
|
||||||
#include <map>
|
|
||||||
#include <vector>
|
|
||||||
#include <string>
|
|
||||||
#include <Database.h>
|
#include <Database.h>
|
||||||
#include <Journal.h>
|
#include <Journal.h>
|
||||||
|
#include <Lexer.h>
|
||||||
|
#include <map>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class Rules
|
class Rules
|
||||||
{
|
{
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <JSON.h>
|
#include <JSON.h>
|
||||||
|
#include <TagInfo.h>
|
||||||
#include <TagInfoDatabase.h>
|
#include <TagInfoDatabase.h>
|
||||||
#include <format.h>
|
#include <format.h>
|
||||||
#include <TagInfo.h>
|
|
||||||
#include <timew.h>
|
#include <timew.h>
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -27,10 +27,10 @@
|
||||||
#ifndef INCLUDED_TAGINFODATABASE
|
#ifndef INCLUDED_TAGINFODATABASE
|
||||||
#define INCLUDED_TAGINFODATABASE
|
#define INCLUDED_TAGINFODATABASE
|
||||||
|
|
||||||
|
#include <TagInfo.h>
|
||||||
|
#include <map>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
|
||||||
#include <TagInfo.h>
|
|
||||||
|
|
||||||
class TagInfoDatabase
|
class TagInfoDatabase
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <vector>
|
|
||||||
#include <TransactionsFactory.h>
|
#include <TransactionsFactory.h>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
void TransactionsFactory::parseLine (const std::string& line)
|
void TransactionsFactory::parseLine (const std::string& line)
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,8 +27,8 @@
|
||||||
#ifndef INCLUDED_TRANSACTIONSFACTORY
|
#ifndef INCLUDED_TRANSACTIONSFACTORY
|
||||||
#define INCLUDED_TRANSACTIONSFACTORY
|
#define INCLUDED_TRANSACTIONSFACTORY
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <Transaction.h>
|
#include <Transaction.h>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
class TransactionsFactory
|
class TransactionsFactory
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,15 +24,13 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
#include <IntervalFilterAllInRange.h>
|
||||||
|
#include <IntervalFilterAllWithIds.h>
|
||||||
|
#include <IntervalFilterFirstOf.h>
|
||||||
#include <commands.h>
|
#include <commands.h>
|
||||||
#include <format.h>
|
#include <format.h>
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <stdlib.h>
|
#include <timew.h>
|
||||||
#include <IntervalFilterAllWithIds.h>
|
|
||||||
#include <IntervalFilterAllInRange.h>
|
|
||||||
#include <IntervalFilterFirstOf.h>
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdAnnotate (
|
int CmdAnnotate (
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <commands.h>
|
#include <commands.h>
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdCancel (
|
int CmdCancel (
|
||||||
|
|
|
@ -24,19 +24,17 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <Duration.h>
|
|
||||||
#include <Range.h>
|
|
||||||
#include <Chart.h>
|
#include <Chart.h>
|
||||||
#include <ChartConfig.h>
|
#include <ChartConfig.h>
|
||||||
#include <commands.h>
|
#include <Duration.h>
|
||||||
#include <timew.h>
|
|
||||||
#include <shared.h>
|
|
||||||
#include <format.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <iomanip>
|
|
||||||
#include <IntervalFilterAllInRange.h>
|
#include <IntervalFilterAllInRange.h>
|
||||||
#include <IntervalFilterAllWithTags.h>
|
#include <IntervalFilterAllWithTags.h>
|
||||||
#include <IntervalFilterAndGroup.h>
|
#include <IntervalFilterAndGroup.h>
|
||||||
|
#include <Range.h>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
int renderChart (const CLI&, const std::string&, Interval&, Rules&, Database&);
|
int renderChart (const CLI&, const std::string&, Interval&, Rules&, Database&);
|
||||||
|
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <JSON.h>
|
#include <JSON.h>
|
||||||
#include <format.h>
|
|
||||||
#include <commands.h>
|
#include <commands.h>
|
||||||
|
#include <format.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -24,15 +24,15 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <commands.h>
|
#include <IntervalFilterAllInRange.h>
|
||||||
#include <format.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <cassert>
|
|
||||||
#include <IntervalFilterAllWithIds.h>
|
#include <IntervalFilterAllWithIds.h>
|
||||||
#include <IntervalFilterAllWithTags.h>
|
#include <IntervalFilterAllWithTags.h>
|
||||||
#include <IntervalFilterFirstOf.h>
|
#include <IntervalFilterFirstOf.h>
|
||||||
#include <IntervalFilterAllInRange.h>
|
#include <cassert>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdContinue (
|
int CmdContinue (
|
||||||
|
|
|
@ -24,11 +24,11 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <commands.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <IntervalFilterAllInRange.h>
|
#include <IntervalFilterAllInRange.h>
|
||||||
#include <IntervalFilterFirstOf.h>
|
#include <IntervalFilterFirstOf.h>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Returns 0 if tracking is active, 1 if not.
|
// Returns 0 if tracking is active, 1 if not.
|
||||||
|
|
|
@ -24,11 +24,11 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <timew.h>
|
#include <IntervalFilterAllWithIds.h>
|
||||||
|
#include <Journal.h>
|
||||||
#include <format.h>
|
#include <format.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <src/Journal.h>
|
#include <timew.h>
|
||||||
#include <IntervalFilterAllWithIds.h>
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdDelete (
|
int CmdDelete (
|
||||||
|
|
|
@ -26,10 +26,10 @@
|
||||||
|
|
||||||
#include <cmake.h>
|
#include <cmake.h>
|
||||||
#include <format.h>
|
#include <format.h>
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <shared.h>
|
|
||||||
#include <paths.h>
|
#include <paths.h>
|
||||||
|
#include <shared.h>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
#ifdef HAVE_COMMIT
|
#ifdef HAVE_COMMIT
|
||||||
#include <commit.h>
|
#include <commit.h>
|
||||||
|
|
|
@ -24,13 +24,13 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <commands.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <IntervalFilterAllInRange.h>
|
#include <IntervalFilterAllInRange.h>
|
||||||
#include <IntervalFilterAllWithIds.h>
|
#include <IntervalFilterAllWithIds.h>
|
||||||
#include <IntervalFilterAllWithTags.h>
|
#include <IntervalFilterAllWithTags.h>
|
||||||
#include <IntervalFilterAndGroup.h>
|
#include <IntervalFilterAndGroup.h>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdExport (
|
int CmdExport (
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <commands.h>
|
|
||||||
#include <Table.h>
|
#include <Table.h>
|
||||||
|
#include <commands.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <paths.h>
|
#include <paths.h>
|
||||||
|
|
||||||
|
|
|
@ -25,11 +25,11 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <Duration.h>
|
#include <Duration.h>
|
||||||
#include <format.h>
|
|
||||||
#include <commands.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <IntervalFilterAllInRange.h>
|
#include <IntervalFilterAllInRange.h>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdFill (
|
int CmdFill (
|
||||||
|
|
|
@ -24,12 +24,12 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <Table.h>
|
|
||||||
#include <Duration.h>
|
#include <Duration.h>
|
||||||
#include <format.h>
|
#include <Table.h>
|
||||||
#include <commands.h>
|
#include <commands.h>
|
||||||
#include <timew.h>
|
#include <format.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdGaps (
|
int CmdGaps (
|
||||||
|
|
|
@ -25,10 +25,10 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <commands.h>
|
#include <commands.h>
|
||||||
#include <timew.h>
|
|
||||||
#include <shared.h>
|
|
||||||
#include <format.h>
|
#include <format.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <shared.h>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Іdentify DOM references in cli, provide space-separated results.
|
// Іdentify DOM references in cli, provide space-separated results.
|
||||||
|
|
|
@ -24,15 +24,13 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/wait.h>
|
|
||||||
|
|
||||||
#include <commands.h>
|
|
||||||
#include <algorithm>
|
|
||||||
#include <iostream>
|
|
||||||
#include <FS.h>
|
#include <FS.h>
|
||||||
#include <shared.h>
|
|
||||||
#include <additional-help.h>
|
#include <additional-help.h>
|
||||||
|
#include <algorithm>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <shared.h>
|
||||||
|
#include <sys/wait.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdHelpUsage (const Extensions& extensions)
|
int CmdHelpUsage (const Extensions& extensions)
|
||||||
|
|
|
@ -24,14 +24,12 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <Duration.h>
|
#include <Duration.h>
|
||||||
#include <format.h>
|
|
||||||
#include <commands.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <IntervalFilterAllWithIds.h>
|
#include <IntervalFilterAllWithIds.h>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdJoin (
|
int CmdJoin (
|
||||||
|
|
|
@ -24,14 +24,12 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <Duration.h>
|
#include <Duration.h>
|
||||||
#include <format.h>
|
|
||||||
#include <commands.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <IntervalFilterAllWithIds.h>
|
#include <IntervalFilterAllWithIds.h>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdLengthen (
|
int CmdLengthen (
|
||||||
|
|
|
@ -24,12 +24,11 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cassert>
|
|
||||||
#include <format.h>
|
|
||||||
#include <commands.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <IntervalFilterAllWithIds.h>
|
#include <IntervalFilterAllWithIds.h>
|
||||||
|
#include <cassert>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <format.h>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdModify (
|
int CmdModify (
|
||||||
|
|
|
@ -24,14 +24,12 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <Datetime.h>
|
#include <Datetime.h>
|
||||||
#include <format.h>
|
|
||||||
#include <commands.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <IntervalFilterAllWithIds.h>
|
#include <IntervalFilterAllWithIds.h>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdMove (
|
int CmdMove (
|
||||||
|
|
|
@ -24,17 +24,16 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <commands.h>
|
|
||||||
#include <shared.h>
|
|
||||||
#include <format.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <sstream>
|
|
||||||
#include <FS.h>
|
#include <FS.h>
|
||||||
#include <IntervalFilterAllInRange.h>
|
#include <IntervalFilterAllInRange.h>
|
||||||
#include <IntervalFilterAllWithTags.h>
|
#include <IntervalFilterAllWithTags.h>
|
||||||
#include <IntervalFilterAndGroup.h>
|
#include <IntervalFilterAndGroup.h>
|
||||||
|
#include <cmake.h>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <shared.h>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Given a partial match for an extension script name, find the full patch of
|
// Given a partial match for an extension script name, find the full patch of
|
||||||
|
|
|
@ -24,14 +24,12 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <Duration.h>
|
#include <Duration.h>
|
||||||
#include <format.h>
|
|
||||||
#include <commands.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <IntervalFilterAllWithIds.h>
|
#include <IntervalFilterAllWithIds.h>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdResize (
|
int CmdResize (
|
||||||
|
|
|
@ -24,14 +24,12 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <Duration.h>
|
#include <Duration.h>
|
||||||
#include <format.h>
|
|
||||||
#include <commands.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <IntervalFilterAllWithIds.h>
|
#include <IntervalFilterAllWithIds.h>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdShorten (
|
int CmdShorten (
|
||||||
|
|
|
@ -24,11 +24,10 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <shared.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <shared.h>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdShow (Rules& rules)
|
int CmdShow (Rules& rules)
|
||||||
|
|
|
@ -24,14 +24,12 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <Duration.h>
|
#include <Duration.h>
|
||||||
#include <format.h>
|
|
||||||
#include <commands.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <IntervalFilterAllWithIds.h>
|
#include <IntervalFilterAllWithIds.h>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdSplit (
|
int CmdSplit (
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <commands.h>
|
#include <commands.h>
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdStart (
|
int CmdStart (
|
||||||
|
|
|
@ -24,10 +24,10 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <format.h>
|
|
||||||
#include <commands.h>
|
#include <commands.h>
|
||||||
#include <timew.h>
|
#include <format.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
template <class T> T setIntersect (
|
template <class T> T setIntersect (
|
||||||
const T& left, const T& right)
|
const T& left, const T& right)
|
||||||
|
|
|
@ -24,16 +24,15 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <Table.h>
|
|
||||||
#include <Duration.h>
|
#include <Duration.h>
|
||||||
#include <shared.h>
|
|
||||||
#include <format.h>
|
|
||||||
#include <commands.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <IntervalFilterAndGroup.h>
|
|
||||||
#include <IntervalFilterAllWithTags.h>
|
|
||||||
#include <IntervalFilterAllInRange.h>
|
#include <IntervalFilterAllInRange.h>
|
||||||
|
#include <IntervalFilterAllWithTags.h>
|
||||||
|
#include <IntervalFilterAndGroup.h>
|
||||||
|
#include <Table.h>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
#include <utf8.h>
|
#include <utf8.h>
|
||||||
|
|
||||||
// Implemented in CmdChart.cpp.
|
// Implemented in CmdChart.cpp.
|
||||||
|
|
|
@ -24,16 +24,13 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
#include <IntervalFilterAllInRange.h>
|
||||||
#include <cassert>
|
#include <IntervalFilterAllWithIds.h>
|
||||||
|
#include <IntervalFilterFirstOf.h>
|
||||||
#include <commands.h>
|
#include <commands.h>
|
||||||
#include <format.h>
|
#include <format.h>
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <stdlib.h>
|
#include <timew.h>
|
||||||
#include <IntervalFilterAllWithIds.h>
|
|
||||||
#include <IntervalFilterAllInRange.h>
|
|
||||||
#include <IntervalFilterFirstOf.h>
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdTag (
|
int CmdTag (
|
||||||
|
|
|
@ -24,16 +24,15 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <commands.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <Table.h>
|
|
||||||
#include <Color.h>
|
#include <Color.h>
|
||||||
#include <set>
|
|
||||||
#include <iostream>
|
|
||||||
#include <IntervalFilterAllInRange.h>
|
#include <IntervalFilterAllInRange.h>
|
||||||
#include <IntervalFilterAllWithTags.h>
|
#include <IntervalFilterAllWithTags.h>
|
||||||
#include <IntervalFilterAndGroup.h>
|
#include <IntervalFilterAndGroup.h>
|
||||||
|
#include <Table.h>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <set>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdTags (
|
int CmdTags (
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <commands.h>
|
#include <commands.h>
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdTrack (
|
int CmdTrack (
|
||||||
|
|
|
@ -24,11 +24,10 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <commands.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <format.h>
|
|
||||||
#include <IntervalFactory.h>
|
#include <IntervalFactory.h>
|
||||||
|
#include <commands.h>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
static void undoIntervalAction(UndoAction& action, Database& database)
|
static void undoIntervalAction(UndoAction& action, Database& database)
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,15 +24,13 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
#include <IntervalFilterAllInRange.h>
|
||||||
|
#include <IntervalFilterAllWithIds.h>
|
||||||
|
#include <IntervalFilterFirstOf.h>
|
||||||
#include <commands.h>
|
#include <commands.h>
|
||||||
#include <format.h>
|
#include <format.h>
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <stdlib.h>
|
#include <timew.h>
|
||||||
#include <IntervalFilterAllWithIds.h>
|
|
||||||
#include <IntervalFilterAllInRange.h>
|
|
||||||
#include <IntervalFilterFirstOf.h>
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdUntag (
|
int CmdUntag (
|
||||||
|
|
|
@ -28,10 +28,10 @@
|
||||||
#define INCLUDED_COMMANDS
|
#define INCLUDED_COMMANDS
|
||||||
|
|
||||||
#include <CLI.h>
|
#include <CLI.h>
|
||||||
#include <Rules.h>
|
|
||||||
#include <Database.h>
|
#include <Database.h>
|
||||||
#include <Extensions.h>
|
#include <Extensions.h>
|
||||||
#include <Journal.h>
|
#include <Journal.h>
|
||||||
|
#include <Rules.h>
|
||||||
|
|
||||||
int CmdAnnotate (const CLI&, Rules&, Database&, Journal& );
|
int CmdAnnotate (const CLI&, Rules&, Database&, Journal& );
|
||||||
int CmdCancel ( Rules&, Database&, Journal& );
|
int CmdCancel ( Rules&, Database&, Journal& );
|
||||||
|
|
11
src/data.cpp
11
src/data.cpp
|
@ -24,17 +24,14 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <algorithm>
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <shared.h>
|
|
||||||
#include <format.h>
|
|
||||||
#include <Datetime.h>
|
#include <Datetime.h>
|
||||||
#include <Duration.h>
|
#include <Duration.h>
|
||||||
#include <timew.h>
|
|
||||||
#include <algorithm>
|
|
||||||
#include <iostream>
|
|
||||||
#include <IntervalFactory.h>
|
#include <IntervalFactory.h>
|
||||||
#include <IntervalFilter.h>
|
#include <IntervalFilter.h>
|
||||||
|
#include <algorithm>
|
||||||
|
#include <format.h>
|
||||||
|
#include <shared.h>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Read rules and extract all holiday definitions. Create a Range for each
|
// Read rules and extract all holiday definitions. Create a Range for each
|
||||||
|
|
11
src/dom.cpp
11
src/dom.cpp
|
@ -24,17 +24,16 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <Pig.h>
|
|
||||||
#include <Duration.h>
|
#include <Duration.h>
|
||||||
#include <format.h>
|
|
||||||
#include <vector>
|
|
||||||
#include <iostream>
|
|
||||||
#include <IntervalFilterAllInRange.h>
|
#include <IntervalFilterAllInRange.h>
|
||||||
#include <IntervalFilterAllWithTags.h>
|
#include <IntervalFilterAllWithTags.h>
|
||||||
#include <IntervalFilterAndGroup.h>
|
#include <IntervalFilterAndGroup.h>
|
||||||
#include <IntervalFilterFirstOf.h>
|
#include <IntervalFilterFirstOf.h>
|
||||||
|
#include <Pig.h>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
bool domGet (
|
bool domGet (
|
||||||
|
|
|
@ -24,17 +24,14 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <shared.h>
|
|
||||||
#include <format.h>
|
|
||||||
#include <Datetime.h>
|
#include <Datetime.h>
|
||||||
#include <Duration.h>
|
#include <Duration.h>
|
||||||
#include <IntervalFactory.h>
|
#include <IntervalFactory.h>
|
||||||
#include <sstream>
|
#include <format.h>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <iostream>
|
|
||||||
#include <map>
|
#include <map>
|
||||||
|
#include <sstream>
|
||||||
|
#include <timew.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -25,14 +25,13 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
#include <cmake.h>
|
||||||
#include <timew.h>
|
|
||||||
#include <shared.h>
|
|
||||||
#include <format.h>
|
|
||||||
#include <commands.h>
|
#include <commands.h>
|
||||||
#include <cstring>
|
#include <format.h>
|
||||||
#include <unistd.h>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <paths.h>
|
#include <paths.h>
|
||||||
|
#include <shared.h>
|
||||||
|
#include <timew.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
bool lightweightVersionCheck (int argc, const char** argv)
|
bool lightweightVersionCheck (int argc, const char** argv)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
#include <Lexer.h>
|
#include <Lexer.h>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
int main (int argc, char** argv)
|
int main (int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <Color.h>
|
#include <Color.h>
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
static bool debugMode = false;
|
static bool debugMode = false;
|
||||||
static std::string debugIndicator = ">>";
|
static std::string debugIndicator = ">>";
|
||||||
|
|
|
@ -26,10 +26,10 @@
|
||||||
|
|
||||||
#ifndef INCLUDED_PATH_RESOLVER
|
#ifndef INCLUDED_PATH_RESOLVER
|
||||||
#define INCLUDED_PATH_RESOLVER
|
#define INCLUDED_PATH_RESOLVER
|
||||||
#include <string>
|
|
||||||
#include <Rules.h>
|
|
||||||
#include <CLI.h>
|
#include <CLI.h>
|
||||||
#include <Rules.h>
|
#include <Rules.h>
|
||||||
|
#include <Rules.h>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
namespace paths {
|
namespace paths {
|
||||||
void initializeDirs (const CLI&, Rules&);
|
void initializeDirs (const CLI&, Rules&);
|
||||||
|
|
|
@ -24,20 +24,18 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <AtomicFile.h>
|
#include <AtomicFile.h>
|
||||||
#include <CLI.h>
|
#include <CLI.h>
|
||||||
#include <Database.h>
|
#include <Database.h>
|
||||||
#include <Rules.h>
|
|
||||||
#include <Extensions.h>
|
|
||||||
#include <Datetime.h>
|
#include <Datetime.h>
|
||||||
|
#include <Extensions.h>
|
||||||
|
#include <Rules.h>
|
||||||
#include <Timer.h>
|
#include <Timer.h>
|
||||||
#include <shared.h>
|
|
||||||
#include <commands.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
|
#include <iostream>
|
||||||
#include <new>
|
#include <new>
|
||||||
|
#include <shared.h>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int main (int argc, const char** argv)
|
int main (int argc, const char** argv)
|
||||||
|
|
|
@ -28,14 +28,14 @@
|
||||||
#define INCLUDED_TIMEW
|
#define INCLUDED_TIMEW
|
||||||
|
|
||||||
#include <CLI.h>
|
#include <CLI.h>
|
||||||
|
#include <Color.h>
|
||||||
#include <Database.h>
|
#include <Database.h>
|
||||||
#include <Rules.h>
|
#include <Exclusion.h>
|
||||||
#include <Extensions.h>
|
#include <Extensions.h>
|
||||||
#include <Interval.h>
|
#include <Interval.h>
|
||||||
#include <Exclusion.h>
|
|
||||||
#include <Palette.h>
|
|
||||||
#include <Color.h>
|
|
||||||
#include <IntervalFilter.h>
|
#include <IntervalFilter.h>
|
||||||
|
#include <Palette.h>
|
||||||
|
#include <Rules.h>
|
||||||
|
|
||||||
// data.cpp
|
// data.cpp
|
||||||
std::vector <Range> getHolidays (const Rules&);
|
std::vector <Range> getHolidays (const Rules&);
|
||||||
|
|
|
@ -24,9 +24,8 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Escape all 'c' --> '\c'.
|
// Escape all 'c' --> '\c'.
|
||||||
|
|
|
@ -24,11 +24,10 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <format.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <IntervalFilterAllInRange.h>
|
#include <IntervalFilterAllInRange.h>
|
||||||
|
#include <format.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// :fill
|
// :fill
|
||||||
|
|
|
@ -24,20 +24,15 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cassert>
|
|
||||||
#include <sstream>
|
|
||||||
#include <memory>
|
|
||||||
#include <string>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <cstdlib>
|
|
||||||
#include <fstream>
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <test.h>
|
|
||||||
#include <AtomicFile.h>
|
#include <AtomicFile.h>
|
||||||
#include <FS.h>
|
#include <FS.h>
|
||||||
#include <TempDir.h>
|
#include <TempDir.h>
|
||||||
|
#include <cassert>
|
||||||
|
#include <iostream>
|
||||||
|
#include <memory>
|
||||||
|
#include <sstream>
|
||||||
|
#include <string>
|
||||||
|
#include <test.h>
|
||||||
|
|
||||||
#ifdef FIU_ENABLE
|
#ifdef FIU_ENABLE
|
||||||
|
|
||||||
|
|
|
@ -24,11 +24,10 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <test.h>
|
|
||||||
#include <Datafile.h>
|
#include <Datafile.h>
|
||||||
#include <Interval.h>
|
#include <Interval.h>
|
||||||
|
|
||||||
#include <TempDir.h>
|
#include <TempDir.h>
|
||||||
|
#include <test.h>
|
||||||
|
|
||||||
int main ()
|
int main ()
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,12 +24,11 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <Datetime.h>
|
#include <Datetime.h>
|
||||||
#include <test.h>
|
#include <DatetimeParser.h>
|
||||||
|
#include <ctime>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <time.h>
|
#include <test.h>
|
||||||
#include <src/DatetimeParser.h>
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void testParseOpenRange (
|
void testParseOpenRange (
|
||||||
|
|
|
@ -24,9 +24,8 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <test.h>
|
|
||||||
#include <TagInfoDatabase.h>
|
#include <TagInfoDatabase.h>
|
||||||
|
#include <test.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int main (int, char**)
|
int main (int, char**)
|
||||||
|
|
|
@ -27,13 +27,11 @@
|
||||||
#ifndef TIMEW_TEMP_DIR
|
#ifndef TIMEW_TEMP_DIR
|
||||||
#define TIMEW_TEMP_DIR
|
#define TIMEW_TEMP_DIR
|
||||||
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <cstdlib>
|
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
#include <FS.h>
|
#include <FS.h>
|
||||||
|
#include <cstdlib>
|
||||||
|
#include <iostream>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class TempDir
|
class TempDir
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <timew.h>
|
#include <IntervalFactory.h>
|
||||||
#include <test.h>
|
#include <test.h>
|
||||||
#include <src/IntervalFactory.h>
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void test_flatten (
|
void test_flatten (
|
||||||
|
|
|
@ -24,12 +24,10 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <Exclusion.h>
|
#include <Exclusion.h>
|
||||||
#include <Range.h>
|
#include <Range.h>
|
||||||
#include <vector>
|
|
||||||
#include <iostream>
|
|
||||||
#include <test.h>
|
#include <test.h>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int main (int, char**)
|
int main (int, char**)
|
||||||
|
|
|
@ -24,9 +24,8 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <test.h>
|
#include <test.h>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int main (int, char**)
|
int main (int, char**)
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <Interval.h>
|
#include <Interval.h>
|
||||||
#include <IntervalFactory.h>
|
#include <IntervalFactory.h>
|
||||||
#include <test.h>
|
#include <test.h>
|
||||||
|
|
|
@ -24,10 +24,10 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <Range.h>
|
#include <Range.h>
|
||||||
#include <test.h>
|
#include <cmake.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <test.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int main (int, char**)
|
int main (int, char**)
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <Rules.h>
|
#include <Rules.h>
|
||||||
#include <test.h>
|
#include <test.h>
|
||||||
|
|
||||||
|
|
|
@ -24,14 +24,14 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <iostream>
|
#include <cmath>
|
||||||
|
#include <cstdio>
|
||||||
|
#include <cstdlib>
|
||||||
|
#include <cstring>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <stdio.h>
|
#include <iostream>
|
||||||
#include <unistd.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <math.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <test.h>
|
#include <test.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
UnitTest::UnitTest ()
|
UnitTest::UnitTest ()
|
||||||
|
|
|
@ -24,9 +24,8 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <cmake.h>
|
|
||||||
#include <timew.h>
|
|
||||||
#include <test.h>
|
#include <test.h>
|
||||||
|
#include <timew.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int main (int, char**)
|
int main (int, char**)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue