2016-01-15 14:57:40 +01:00
|
|
|
/****************************************************************************
|
2011-02-28 13:40:06 +01:00
|
|
|
**
|
2016-01-15 14:57:40 +01:00
|
|
|
** Copyright (C) 2016 Hugues Delorme
|
|
|
|
|
** Contact: https://www.qt.io/licensing/
|
2011-02-28 13:40:06 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
** This file is part of Qt Creator.
|
2011-02-28 13:40:06 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
** Commercial License Usage
|
|
|
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
|
** accordance with the commercial license agreement provided with the
|
|
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
2016-01-15 14:57:40 +01:00
|
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
|
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
|
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
2011-02-28 13:40:06 +01:00
|
|
|
**
|
2016-01-15 14:57:40 +01:00
|
|
|
** GNU General Public License Usage
|
|
|
|
|
** Alternatively, this file may be used under the terms of the GNU
|
|
|
|
|
** General Public License version 3 as published by the Free Software
|
|
|
|
|
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
|
|
|
|
** included in the packaging of this file. Please review the following
|
|
|
|
|
** information to ensure the GNU General Public License requirements will
|
|
|
|
|
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
2011-02-28 13:40:06 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
****************************************************************************/
|
2016-01-15 14:57:40 +01:00
|
|
|
|
2016-02-03 17:35:54 +01:00
|
|
|
#pragma once
|
2011-02-28 13:40:06 +01:00
|
|
|
|
2018-09-20 00:25:36 +03:00
|
|
|
#include <QtGlobal>
|
|
|
|
|
|
2011-02-28 13:40:06 +01:00
|
|
|
namespace Bazaar {
|
|
|
|
|
namespace Constants {
|
|
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
const char BAZAAR[] = "bazaar";
|
|
|
|
|
const char BAZAARREPO[] = ".bzr";
|
|
|
|
|
const char BAZAARDEFAULT[] = "bzr";
|
2014-11-16 12:05:34 +02:00
|
|
|
const char BAZAAR_CONTEXT[] = "Bazaar Context";
|
2011-02-28 13:40:06 +01:00
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
// Changeset identifiers
|
2012-01-26 14:18:59 +01:00
|
|
|
const char CHANGESET_ID[] = "^("
|
|
|
|
|
"revno: [.0-9]+" // detailed
|
|
|
|
|
"| +[.0-9]+" // short
|
|
|
|
|
"|[.0-9]+: " // line
|
|
|
|
|
")";
|
2020-06-23 16:36:59 +02:00
|
|
|
const char CHANGESET_ID_EXACT[] = "^([.0-9]+)$";
|
2012-01-26 14:18:59 +01:00
|
|
|
const char ANNOTATE_CHANGESET_ID[] = "([.0-9]+)";
|
2011-02-28 13:40:06 +01:00
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
// Base editor parameters
|
|
|
|
|
const char FILELOG_ID[] = "Bazaar File Log Editor";
|
|
|
|
|
const char FILELOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Bazaar File Log Editor");
|
2013-05-21 23:37:47 +03:00
|
|
|
const char LOGAPP[] = "text/vnd.qtcreator.bazaar.log";
|
2011-02-28 13:40:06 +01:00
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
const char ANNOTATELOG_ID[] = "Bazaar Annotation Editor";
|
|
|
|
|
const char ANNOTATELOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Bazaar Annotation Editor");
|
2013-05-21 23:37:47 +03:00
|
|
|
const char ANNOTATEAPP[] = "text/vnd.qtcreator.bazaar.annotation";
|
2011-02-28 13:40:06 +01:00
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
const char DIFFLOG_ID[] = "Bazaar Diff Editor";
|
|
|
|
|
const char DIFFLOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Bazaar Diff Editor");
|
|
|
|
|
const char DIFFAPP[] = "text/x-patch";
|
2011-02-28 13:40:06 +01:00
|
|
|
|
2015-03-11 17:52:26 +01:00
|
|
|
// File status hint
|
|
|
|
|
const char FSTATUS_CREATED[] = "Created";
|
|
|
|
|
const char FSTATUS_DELETED[] = "Deleted";
|
|
|
|
|
const char FSTATUS_MODIFIED[] = "Modified";
|
|
|
|
|
const char FSTATUS_RENAMED[] = "Renamed";
|
|
|
|
|
|
2011-02-28 13:40:06 +01:00
|
|
|
} // namespace Constants
|
|
|
|
|
} // namespace Bazaar
|