Enumerations | |
enum | KeyType { KEY_UP, KEY_DOWN, SHIFT_KEY_UP, SHIFT_KEY_DOWN, KEY_LEFT, KEY_RIGHT, CTRL_PLUS, CTRL_MINUS, KEY_U, KEY_D, KEY_DELETE, KEY_B, KEY_BCKSPC, KEY_SPACE, KEY_R, KEY_P, KEY_F } |
enum | TabType { TAB_REV, TAB_PATCH, TAB_FILE } |
enum | LaneType { EMPTY, ACTIVE, NOT_ACTIVE, MERGE_FORK, MERGE_FORK_R, MERGE_FORK_L, JOIN, JOIN_R, JOIN_L, HEAD, HEAD_R, HEAD_L, TAIL, TAIL_R, TAIL_L, CROSS, CROSS_EMPTY, INITIAL, BRANCH, UNAPPLIED, APPLIED, BOUNDARY, BOUNDARY_C, BOUNDARY_R, BOUNDARY_L, LANE_TYPES_NUM } |
enum | EventType { ERROR_EV = 65432, POPUP_LIST_EV = 65433, POPUP_FILE_EV = 65434, POPUP_TREE_EV = 65435, MSG_EV = 65436, ANN_PRG_EV = 65437, UPD_DM_EV = 65438, UPD_DM_MST_EV = 65439 } |
enum | ColumnType { GRAPH_COL = 0, ANN_ID_COL = 1, LOG_COL = 2, AUTH_COL = 3, TIME_COL = 4, COMMIT_COL = 97, LOG_MSG_COL = 98, SHA_MAP_COL = 99 } |
enum | FlagType { MCR_REFRESH_F = 2, NUMBERS_F = 4, MCR_CMD_LINE_F = 16, DIFF_INDEX_F = 32, SIGN_PATCH_F = 64, SIGN_CMT_F = 128, VERIFY_CMT_F = 256, REL_DATE_F = 1024, ALL_BRANCHES_F = 2048, WHOLE_HISTORY_F = 4096, RANGE_SELECT_F = 8192 } |
Functions | |
bool | isHead (int x) |
bool | isTail (int x) |
bool | isJoin (int x) |
bool | isFreeLane (int x) |
bool | isBoundary (int x) |
bool | isMerge (int x) |
bool | isInfoCol (int x) |
uint | flags (SCRef group="") |
bool | testFlag (uint f, SCRef group="") |
void | setFlag (uint f, bool b, SCRef group="") |
void | writeSetting (SCRef key, SCRef value, SCRef group="") |
bool | stripPartialParaghraps (const QByteArray &src, QString *dst, QString *prev) |
bool | writeToFile (SCRef fileName, SCRef data, bool setExecutable=false) |
bool | writeToFile (SCRef fileName, const QByteArray &data, bool setExecutable=false) |
bool | readFromFile (SCRef fileName, QString &data) |
void | baAppend (QByteArray **src, const char *ascii, int len) |
void | baAppend (QByteArray &ba, const QByteArray &data) |
QFont | TYPE_WRITER_FONT ("Helvetica") |
Variables | |
const QString | GIT_VERSION = "1.4.4" |
const int | COLORS_NUM = 8 |
const int | DEF_GRAPH_COL_WIDTH = 80 |
const int | DEF_LOG_COL_WIDTH = 500 |
const int | DEF_AUTH_COL_WIDTH = 230 |
const int | DEF_TIME_COL_WIDTH = 130 |
const QColor | BROWN = QColor(150, 75, 0) |
const QColor | ORANGE = QColor(255, 160, 50) |
const QColor | DARK_ORANGE = QColor(216, 144, 0) |
const QColor | LIGHT_ORANGE = QColor(255, 221, 170) |
const QColor | LIGHT_BLUE = QColor(85, 255, 255) |
const QColor | PURPLE = QColor(221, 221, 255) |
const QColor | DARK_GREEN = QColor(0, 205, 0) |
QColor | ODD_LINE_COL |
QColor | EVEN_LINE_COL |
QFont | TYPE_WRITER_FONT |
const QString | PATCHES_DIR = "/.qgit_patches_copy" |
const QString | PATCHES_NAME = "qgit_import" |
const QString | ZERO_SHA = "0000000000000000000000000000000000000000" |
const QString | CUSTOM_SHA = "CUSTOM" |
const QString | ALL_MERGE_FILES = "ALL_MERGE_FILES" |
const QString | APP_KEY = "/qgit/" |
const QString | FP_DIR_KEY = "format_patch_last_dir" |
const QString | FPATCH_ARGS_KEY = "format_patch_args" |
const QString | FLAGS_KEY = "patch_flags" |
const QString | CMT_GEOM_KEY = "commit_viewer_geometry" |
const QString | CMT_SPLIT_KEY = "commit_viewer_splitter_sizes" |
const QString | CMT_TEMPL_KEY = "commit_template_file_path" |
const QString | CMT_ARGS_KEY = "commit_args" |
const QString | EX_KEY = "exclude_file_path" |
const QString | EX_PER_DIR_KEY = "exclude_per_directory_file_name" |
const QString | EXT_DIFF_KEY = "external_diff_viewer" |
const QString | REC_REP_KEY = "recent_open_repos" |
const QString | MCR_NAME_KEY = "macro_name" |
const QString | MCR_TEXT_KEY = "commands" |
const QString | MCR_LIST_KEY = "macro_list" |
const QString | FONT_KEY = "typewriter_font" |
const QString | CMT_GEOM_DEF = "290,140,495,540" |
const QString | CMT_SPLIT_DEF = "155,342" |
const QString | CMT_TEMPL_DEF = ".git/commit-template" |
const QString | EX_DEF = ".git/info/exclude" |
const QString | EX_PER_DIR_DEF = ".gitignore" |
const QString | EXT_DIFF_DEF = "kompare" |
const QString | MCR_NAME_DEF = "New macro" |
const int | FLAGS_DEF = 8512 |
const uint | C_MAGIC = 0xA0B0C0D0 |
const int | C_VERSION = 13 |
const QString | BAK_EXT = ".bak" |
const QString | C_DAT_FILE = "/qgit_cache.dat" |
const int | MAX_DICT_SIZE = 100003 |
const int | MAX_MENU_ENTRIES = 15 |
const int | MAX_RECENT_REPOS = 7 |
const QString | QUOTE_CHAR = "$" |
enum ColumnType |
enum EventType |
enum FlagType |
enum KeyType |
enum LaneType |
void baAppend | ( | QByteArray & | ba, | |
const QByteArray & | data | |||
) |
Definition at line 202 of file namespace_def.cpp.
void baAppend | ( | QByteArray ** | src, | |
const char * | ascii, | |||
int | len | |||
) |
Definition at line 187 of file namespace_def.cpp.
Referenced by baAppend(), PatchView::on_procDataReady(), FileContent::on_procDataReady(), MyProcess::on_readyReadStdout(), and DataLoader::parseSingleBuffer().
uint flags | ( | SCRef | group = "" |
) |
Definition at line 90 of file namespace_def.cpp.
Referenced by RangeSelectImpl::RangeSelectImpl(), setFlag(), SettingsImpl::SettingsImpl(), and testFlag().
bool QGit::isBoundary | ( | int | x | ) | [inline] |
bool QGit::isFreeLane | ( | int | x | ) | [inline] |
Definition at line 123 of file common.h.
Referenced by Git::getLaneParent(), and ListView::getLaneParentsChilds().
bool QGit::isHead | ( | int | x | ) | [inline] |
Definition at line 120 of file common.h.
Referenced by Lanes::afterMerge(), Git::getLaneParent(), and ListViewItem::paintGraph().
bool QGit::isInfoCol | ( | int | x | ) | [inline] |
bool QGit::isJoin | ( | int | x | ) | [inline] |
Definition at line 122 of file common.h.
Referenced by Lanes::afterMerge(), isFreeLane(), and ListViewItem::paintGraph().
bool QGit::isMerge | ( | int | x | ) | [inline] |
Definition at line 126 of file common.h.
Referenced by Git::getLaneParent(), ListViewItem::paintGraph(), and Git::updateLanes().
bool QGit::isTail | ( | int | x | ) | [inline] |
Definition at line 121 of file common.h.
Referenced by Lanes::afterFork(), and ListViewItem::paintGraph().
bool readFromFile | ( | SCRef | fileName, | |
QString & | data | |||
) |
void setFlag | ( | uint | f, | |
bool | b, | |||
SCRef | group = "" | |||
) |
Definition at line 101 of file namespace_def.cpp.
Referenced by MainImpl::ActCheckWorkDir_toggled(), CustomActionImpl::checkBoxAskArgs_toggled(), SettingsImpl::checkBoxCommitSign_toggled(), SettingsImpl::checkBoxCommitVerify_toggled(), SettingsImpl::checkBoxDiffCache_toggled(), RangeSelectImpl::checkBoxDiffCache_toggled(), SettingsImpl::checkBoxNumbers_toggled(), SettingsImpl::checkBoxRangeSelectDialog_toggled(), CustomActionImpl::checkBoxRefreshAfterAction_toggled(), SettingsImpl::checkBoxRelativeDate_toggled(), RangeSelectImpl::checkBoxShowAll_toggled(), RangeSelectImpl::checkBoxShowDialog_toggled(), RangeSelectImpl::checkBoxShowWholeHistory_toggled(), and SettingsImpl::checkBoxSign_toggled().
bool stripPartialParaghraps | ( | const QByteArray & | src, | |
QString * | dst, | |||
QString * | prev | |||
) |
Definition at line 116 of file namespace_def.cpp.
Referenced by ConsoleImpl::on_procDataReady(), PatchView::processData(), and FileContent::processData().
bool testFlag | ( | uint | f, | |
SCRef | group = "" | |||
) |
Definition at line 96 of file namespace_def.cpp.
Referenced by MainImpl::ActSettings_activated(), Git::applyPatchFile(), ListView::clear(), Git::commitFiles(), Git::formatPatch(), Git::getArgs(), Git::init(), CustomActionImpl::loadAction(), MainImpl::on_customAction_activated(), MainImpl::on_customAction_exited(), and MainImpl::setRepository().
QFont QGit::TYPE_WRITER_FONT | ( | "Helvetica" | ) |
Referenced by CommitImpl::CommitImpl(), SettingsImpl::pushButtonFont_clicked(), and SettingsImpl::SettingsImpl().
Definition at line 109 of file namespace_def.cpp.
Referenced by SettingsImpl::lineEditCommitExtraOptions_textChanged(), SettingsImpl::lineEditExcludeFile_textChanged(), SettingsImpl::lineEditExcludePerDir_textChanged(), SettingsImpl::lineEditExternalDiffViewer_textChanged(), SettingsImpl::lineEditExtraOptions_textChanged(), SettingsImpl::lineEditTemplate_textChanged(), SettingsImpl::pushButtonFont_clicked(), CustomActionImpl::textEditAction_textChanged(), and CustomActionImpl::updateActionList().
bool writeToFile | ( | SCRef | fileName, | |
const QByteArray & | data, | |||
bool | setExecutable = false | |||
) |
Definition at line 158 of file namespace_def.cpp.
Referenced by Git::commitFiles(), MainImpl::getExternalDiffArgs(), Git::mkPatchFromIndex(), Git::runAsScript(), and Git::saveFile().
const QString ALL_MERGE_FILES = "ALL_MERGE_FILES" |
const QString APP_KEY = "/qgit/" |
Definition at line 54 of file namespace_def.cpp.
Referenced by MainImpl::ActMailApplyPatch_activated(), MainImpl::ActMailFormatPatch_activated(), Git::commitFiles(), CommitImpl::CommitImpl(), CustomActionImpl::CustomActionImpl(), MainImpl::doUpdateRecentRepoMenu(), flags(), Git::formatPatch(), MainImpl::getExternalDiffArgs(), Git::getOthersFiles(), CustomActionImpl::loadAction(), MainImpl::MainImpl(), MainImpl::on_customAction_activated(), CustomActionImpl::removeAction(), setFlag(), SettingsImpl::SettingsImpl(), writeSetting(), and CommitImpl::~CommitImpl().
const QString BAK_EXT = ".bak" |
const QColor BROWN = QColor(150, 75, 0) |
const QString C_DAT_FILE = "/qgit_cache.dat" |
const uint C_MAGIC = 0xA0B0C0D0 |
const int C_VERSION = 13 |
const QString CMT_ARGS_KEY = "commit_args" |
Definition at line 61 of file namespace_def.cpp.
Referenced by Git::commitFiles(), SettingsImpl::lineEditCommitExtraOptions_textChanged(), and SettingsImpl::SettingsImpl().
const QString CMT_GEOM_DEF = "290,140,495,540" |
const QString CMT_GEOM_KEY = "commit_viewer_geometry" |
Definition at line 58 of file namespace_def.cpp.
Referenced by CommitImpl::CommitImpl(), and CommitImpl::~CommitImpl().
const QString CMT_SPLIT_DEF = "155,342" |
const QString CMT_SPLIT_KEY = "commit_viewer_splitter_sizes" |
Definition at line 59 of file namespace_def.cpp.
Referenced by CommitImpl::CommitImpl(), and CommitImpl::~CommitImpl().
const QString CMT_TEMPL_DEF = ".git/commit-template" |
Definition at line 74 of file namespace_def.cpp.
Referenced by CommitImpl::CommitImpl(), and SettingsImpl::SettingsImpl().
const QString CMT_TEMPL_KEY = "commit_template_file_path" |
Definition at line 60 of file namespace_def.cpp.
Referenced by CommitImpl::CommitImpl(), SettingsImpl::lineEditTemplate_textChanged(), and SettingsImpl::SettingsImpl().
const int COLORS_NUM = 8 |
const QString CUSTOM_SHA = "CUSTOM" |
const QColor DARK_GREEN = QColor(0, 205, 0) |
Definition at line 31 of file namespace_def.cpp.
Referenced by ListViewItem::addBranchPixmap(), ListViewItem::paintGraph(), and ListViewItem::paintGraphLane().
const QColor DARK_ORANGE = QColor(216, 144, 0) |
const int DEF_AUTH_COL_WIDTH = 230 |
const int DEF_GRAPH_COL_WIDTH = 80 |
const int DEF_LOG_COL_WIDTH = 500 |
const int DEF_TIME_COL_WIDTH = 130 |
QColor EVEN_LINE_COL |
Definition at line 35 of file namespace_def.cpp.
Referenced by ListViewItem::addTextPixmap(), MainImpl::MainImpl(), and ListViewItem::paintCell().
const QString EX_DEF = ".git/info/exclude" |
Definition at line 75 of file namespace_def.cpp.
Referenced by Git::getOthersFiles(), and SettingsImpl::SettingsImpl().
const QString EX_KEY = "exclude_file_path" |
Definition at line 62 of file namespace_def.cpp.
Referenced by Git::getOthersFiles(), SettingsImpl::lineEditExcludeFile_textChanged(), and SettingsImpl::SettingsImpl().
const QString EX_PER_DIR_DEF = ".gitignore" |
Definition at line 76 of file namespace_def.cpp.
Referenced by Git::getOthersFiles(), and SettingsImpl::SettingsImpl().
const QString EX_PER_DIR_KEY = "exclude_per_directory_file_name" |
Definition at line 63 of file namespace_def.cpp.
Referenced by Git::getOthersFiles(), SettingsImpl::lineEditExcludePerDir_textChanged(), and SettingsImpl::SettingsImpl().
const QString EXT_DIFF_DEF = "kompare" |
Definition at line 77 of file namespace_def.cpp.
Referenced by MainImpl::getExternalDiffArgs(), and SettingsImpl::SettingsImpl().
const QString EXT_DIFF_KEY = "external_diff_viewer" |
Definition at line 64 of file namespace_def.cpp.
Referenced by MainImpl::getExternalDiffArgs(), SettingsImpl::lineEditExternalDiffViewer_textChanged(), and SettingsImpl::SettingsImpl().
const int FLAGS_DEF = 8512 |
const QString FLAGS_KEY = "patch_flags" |
Definition at line 57 of file namespace_def.cpp.
Referenced by flags(), CustomActionImpl::removeAction(), and setFlag().
const QString FONT_KEY = "typewriter_font" |
Definition at line 69 of file namespace_def.cpp.
Referenced by MainImpl::MainImpl(), and SettingsImpl::pushButtonFont_clicked().
const QString FP_DIR_KEY = "format_patch_last_dir" |
Definition at line 55 of file namespace_def.cpp.
Referenced by MainImpl::ActMailApplyPatch_activated(), and MainImpl::ActMailFormatPatch_activated().
const QString FPATCH_ARGS_KEY = "format_patch_args" |
Definition at line 56 of file namespace_def.cpp.
Referenced by Git::formatPatch(), SettingsImpl::lineEditExtraOptions_textChanged(), and SettingsImpl::SettingsImpl().
const QString GIT_VERSION = "1.4.4" |
const QColor LIGHT_BLUE = QColor(85, 255, 255) |
Definition at line 29 of file namespace_def.cpp.
Referenced by ListViewItem::paintCell(), and ListBoxFiles::update().
const QColor LIGHT_ORANGE = QColor(255, 221, 170) |
const int MAX_DICT_SIZE = 100003 |
const int MAX_MENU_ENTRIES = 15 |
const int MAX_RECENT_REPOS = 7 |
const QString MCR_LIST_KEY = "macro_list" |
Definition at line 68 of file namespace_def.cpp.
Referenced by CustomActionImpl::CustomActionImpl(), MainImpl::MainImpl(), MainImpl::on_customAction_activated(), and CustomActionImpl::updateActionList().
const QString MCR_NAME_DEF = "New macro" |
Definition at line 78 of file namespace_def.cpp.
const QString MCR_NAME_KEY = "macro_name" |
Definition at line 66 of file namespace_def.cpp.
const QString MCR_TEXT_KEY = "commands" |
Definition at line 67 of file namespace_def.cpp.
Referenced by CustomActionImpl::loadAction(), MainImpl::on_customAction_activated(), CustomActionImpl::removeAction(), and CustomActionImpl::textEditAction_textChanged().
QColor ODD_LINE_COL |
Definition at line 34 of file namespace_def.cpp.
Referenced by ListViewItem::addTextPixmap(), MainImpl::MainImpl(), and ListViewItem::paintCell().
const QColor ORANGE = QColor(255, 160, 50) |
Definition at line 26 of file namespace_def.cpp.
Referenced by ListViewItem::paintCell(), and ListViewItem::paintGraph().
const QString PATCHES_DIR = "/.qgit_patches_copy" |
const QString PATCHES_NAME = "qgit_import" |
Definition at line 46 of file namespace_def.cpp.
const QColor PURPLE = QColor(221, 221, 255) |
const QString QUOTE_CHAR = "$" |
Definition at line 85 of file namespace_def.cpp.
Referenced by Annotate::getNextPatch(), Git::quote(), MyProcess::restoreSpaces(), and MyProcess::splitArgList().
const QString REC_REP_KEY = "recent_open_repos" |
QFont TYPE_WRITER_FONT |
Referenced by ConsoleImpl::ConsoleImpl(), FileContent::FileContent(), MainImpl::MainImpl(), and PatchView::PatchView().
const QString ZERO_SHA = "0000000000000000000000000000000000000000" |
Definition at line 49 of file namespace_def.cpp.
Referenced by MainImpl::ActCheckWorkDir_toggled(), MainImpl::ActMailFormatPatch_activated(), Git::clearRevs(), Git::commitFiles(), CommitImpl::CommitImpl(), Git::copyDiffIndex(), MainImpl::doContexPopup(), Git::fakeWorkDirRev(), ListView::filterRightButtonPressed(), Git::getDefCommitMsg(), Git::getDiff(), Git::getDiffIndex(), Git::getFile(), Git::getFiles(), Git::getFileSha(), Annotate::getNextPatch(), Git::getOtherFiles(), Git::getPatchFilter(), Git::getTree(), Git::getWorkDirFiles(), Git::isNothingToCommit(), Git::loadFileNames(), PatchView::on_buttonGroupDiff_clicked(), ListView::on_onItem(), ListViewItem::paintCell(), Git::removeDeleted(), Cache::save(), ListView::setHighlight(), ListViewItem::setupData(), TreeView::update(), MainImpl::updateContextActions(), and Annotate::updatePatchScript().