Skip to content

Commit

Permalink
Revert "refactor: [extension] rename plugins"
Browse files Browse the repository at this point in the history
This reverts commit 242639b.
  • Loading branch information
deepin-mozart authored Jun 20, 2024
1 parent 0d2ee86 commit 8dbe159
Show file tree
Hide file tree
Showing 53 changed files with 79 additions and 79 deletions.
2 changes: 1 addition & 1 deletion debian/deepin-unioncode.install
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
/usr/share/deepin-unioncode/templates/*
/usr/share/applications/*.desktop
/usr/lib/*/deepin-unioncode/lib*.so*
/usr/lib/*/deepin-unioncode/plugins/lib*.so
/usr/lib/*/deepin-unioncode/plugins/libplugin-*.so
/usr/lib/*/deepin-unioncode/scripts
/usr/lib/*/deepin-unioncode/tools
4 changes: 2 additions & 2 deletions src/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
DWIDGET_USE_NAMESPACE

static const char *const IID = "org.deepin.plugin.unioncode";
static const char *const CORE_PLUGIN = "core";
static const char *const CORE_NAME = "libcore.so";
static const char *const CORE_PLUGIN = "plugin-core";
static const char *const CORE_NAME = "libplugin-core.so";
static bool loadPlugins()
{
dpfCheckTimeBegin();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/actionanalyse/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(actionanalyse)
project(plugin-actionanalyse)

set(CXX_CPP
mainframe/configure.cpp
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/actionanalyse/actionanalyseplugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Name" : "actionanalyse",
"Name" : "plugin-actionanalyse",
"Version" : "4.8.2",
"CompatVersion" : "4.8.0",
"Vendor" : "The Uniontech Software Technology Co., Ltd.",
Expand All @@ -11,6 +11,6 @@
"Description" : "The actionanalyse plugin for the unioncode.",
"UrlLink" : "https://www.uniontech.com",
"Depends" : [
{"Name" : "symbol"}
{"Name" : "plugin-symbol"}
]
}
2 changes: 1 addition & 1 deletion src/plugins/binarytools/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(binarytools)
project(plugin-binarytools)

set(CXX_CPP
mainframe/binarytoolsconfigview.cpp
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/binarytools/binarytools.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Name" : "binarytools",
"Name" : "plugin-binarytools",
"Version" : "4.8.2",
"CompatVersion" : "4.8.0",
"Vendor" : "The Uniontech Software Technology Co., Ltd.",
Expand All @@ -11,6 +11,6 @@
"Description" : "The binary compatibility tool plugin for the unioncode.",
"UrlLink" : "https://ecology.chinauos.com/adaptidentification/doc_new/#document3?dirid=656d40c5bd766615b0b02e64&id=656d417abd766615b0b02e7e",
"Depends" : [
{"Name" : "core"}
{"Name" : "plugin-core"}
]
}
2 changes: 1 addition & 1 deletion src/plugins/builder/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(buildercore)
project(plugin-buildercore)

set(CXX_CPP
tasks/taskmodel.cpp
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/builder/buildercore.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Name" : "buildercore",
"Name" : "plugin-buildercore",
"Version" : "4.8.2",
"CompatVersion" : "4.8.0",
"Vendor" : "The Uniontech Software Technology Co., Ltd.",
Expand All @@ -11,6 +11,6 @@
"Description" : "The buildercore plugin for the unioncode.",
"UrlLink" : "https://www.uniontech.com",
"Depends" : [
{"Name" : "codeeditor"}
{"Name" : "plugin-codeeditor"}
]
}
2 changes: 1 addition & 1 deletion src/plugins/codeeditor/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(codeeditor)
project(plugin-codeeditor)

include(${CMAKE_SOURCE_DIR}/3rdparty/unioncode-qscintilla214.cmake)
set(CMAKE_INCLUDE_CURRENT_DIR true)
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/codeeditor/codeeditor.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Name" : "codeeditor",
"Name" : "plugin-codeeditor",
"Version" : "4.8.2",
"CompatVersion" : "4.8.0",
"Vendor" : "The Uniontech Software Technology Co., Ltd.",
Expand All @@ -11,6 +11,6 @@
"Description" : "The core plugin for the unioncode.",
"UrlLink" : "https://ecology.chinauos.com/adaptidentification/doc_new/#document3?dirid=656d40c5bd766615b0b02e64&id=656d415bbd766615b0b02e78",
"Depends" : [
{"Name" : "core"}
{"Name" : "plugin-core"}
]
}
2 changes: 1 addition & 1 deletion src/plugins/codegeex/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(codegeex)
project(plugin-codegeex)

find_package(KF5SyntaxHighlighting)

Expand Down
4 changes: 2 additions & 2 deletions src/plugins/codegeex/codegeex.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Name" : "codegeex",
"Name" : "plugin-codegeex",
"Version" : "4.8.2",
"CompatVersion" : "4.8.0",
"Vendor" : "The Uniontech Software Technology Co., Ltd.",
Expand All @@ -11,6 +11,6 @@
"Description" : "The AI plugin for the unioncode.",
"UrlLink" : "https://ecology.chinauos.com/adaptidentification/doc_new/#document3?dirid=656d40c5bd766615b0b02e64&id=6597c7ad63a85b76997a070d",
"Depends" : [
{"Name" : "codeeditor"}
{"Name" : "plugin-codeeditor"}
]
}
2 changes: 1 addition & 1 deletion src/plugins/codeporting/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(codeporting)
project(plugin-codeporting)

set(CXX_CPP
codeporting.json
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/codeporting/codeporting.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Name" : "codeporting",
"Name" : "plugin-codeporting",
"Version" : "4.8.2",
"CompatVersion" : "4.8.0",
"Vendor" : "The Uniontech Software Technology Co., Ltd.",
Expand All @@ -11,6 +11,6 @@
"Description" : "Help porting project code to other platform.",
"UrlLink" : "https://ecology.chinauos.com/adaptidentification/doc_new/#document3?dirid=656d40c5bd766615b0b02e64&id=656d415bbd766615b0b02e78",
"Depends" : [
{"Name" : "codeeditor"}
{"Name" : "plugin-codeeditor"}
]
}
2 changes: 1 addition & 1 deletion src/plugins/collaborators/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(collaborators)
project(plugin-collaborators)

include(${CMAKE_SOURCE_DIR}/3rdparty/unioncode-GitQlient.cmake)

Expand Down
4 changes: 2 additions & 2 deletions src/plugins/collaborators/collaborators.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Name" : "collaborators",
"Name" : "plugin-collaborators",
"Version" : "4.8.2",
"CompatVersion" : "4.8.0",
"Vendor" : "The Uniontech Software Technology Co., Ltd.",
Expand All @@ -11,6 +11,6 @@
"Description" : "The core plugin for the unioncode.",
"UrlLink" : "https://ecology.chinauos.com/adaptidentification/doc_new/#document3?dirid=656d40c5bd766615b0b02e64&id=656d4164bd766615b0b02e7a",
"Depends" : [
{"Name" : "core"}
{"Name" : "plugin-core"}
]
}
2 changes: 1 addition & 1 deletion src/plugins/commandproxy/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(commandproxy)
project(plugin-commandproxy)

set(CMAKE_INCLUDE_CURRENT_DIR true)

Expand Down
4 changes: 2 additions & 2 deletions src/plugins/commandproxy/commandproxy.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Name" : "commandproxy",
"Name" : "plugin-commandproxy",
"Version" : "4.8.2",
"CompatVersion" : "4.8.0",
"Vendor" : "The Uniontech Software Technology Co., Ltd.",
Expand All @@ -11,6 +11,6 @@
"Description" : "The command line proxy plugin for the unioncode.",
"UrlLink" : "https://www.uniontech.com",
"Depends" : [
{"Name" : "core"}
{"Name" : "plugin-core"}
]
}
2 changes: 1 addition & 1 deletion src/plugins/console/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(console)
project(plugin-console)

include(${CMAKE_SOURCE_DIR}/3rdparty/unioncode-qtermwidget-0.14.1.cmake)

Expand Down
4 changes: 2 additions & 2 deletions src/plugins/console/console.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Name" : "console",
"Name" : "plugin-console",
"Version" : "4.8.2",
"CompatVersion" : "4.8.0",
"Vendor" : "The Uniontech Software Technology Co., Ltd.",
Expand All @@ -11,6 +11,6 @@
"Description" : "The core plugin for the unioncode.",
"UrlLink" : "https://www.uniontech.com",
"Depends" : [
{"Name" : "codeeditor"}
{"Name" : "plugin-codeeditor"}
]
}
2 changes: 1 addition & 1 deletion src/plugins/core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(core)
project(plugin-core)

FILE(GLOB_RECURSE PROJECT_SOURCES
"${CMAKE_CURRENT_SOURCE_DIR}/*.h"
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/core/core.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Name" : "core",
"Name" : "plugin-core",
"Version" : "4.8.2",
"CompatVersion" : "4.8.0",
"Vendor" : "The Uniontech Software Technology Co., Ltd.",
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/core/gui/plugindetailsview.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ class DetailsView : public DTK_WIDGET_NAMESPACE::DWidget
"<tr><td><strong>" + tr("Version") + ":</strong></td><td>" + version + "</td></tr>"
"<tr><td><strong>" + tr("Compatible Version") + ":</strong></td><td>" + compatibleVersion + "</td></tr>"
"<tr><td><strong>" + tr("Vendor") + ":</strong></td><td>" + vendor + "</td></tr>"
// "<tr><td><strong>" + tr("Copyright") + ":</strong></td><td>" + copyright + "</td></tr>"
"<tr><td><strong>" + tr("Copyright") + ":</strong></td><td>" + copyright + "</td></tr>"
"<tr><td><strong>" + tr("Category") + ":</strong></td><td>" + category + "</td></tr>"
// "<tr><td><strong>" + tr("URL") + ":</strong></td><td>" + url + "</td></tr>"
"<tr><td><strong>" + tr("URL") + ":</strong></td><td>" + url + "</td></tr>"
"<tr><td><strong>" + tr("License") + ":</strong></td><td>" + license + "</td></tr>"
"<tr><td><strong>" + tr("Description") + ":</strong></td><td>" + description + "</td></tr>"
"<tr><td><strong>" + tr("Dependency") + ":</strong></td><td>" + dependency + "</td></tr>"
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/cxx/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(cxx)
project(plugin-cxx)

find_package(Qt5 COMPONENTS Xml REQUIRED)
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/cmake/project/")
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/cxx/cxxplugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Name" : "cxx",
"Name" : "plugin-cxx",
"Version" : "4.8.2",
"CompatVersion" : "4.8.0",
"Vendor" : "The Uniontech Software Technology Co., Ltd.",
Expand All @@ -11,6 +11,6 @@
"Description" : "The cxx plugin for the unioncode.",
"UrlLink" : "https://www.uniontech.com",
"Depends" : [
{"Name" : "codeeditor"}
{"Name" : "plugin-codeeditor"}
]
}
2 changes: 1 addition & 1 deletion src/plugins/debugger/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(debugger)
project(plugin-debugger)

set(CPPDAP_DIR ${CMAKE_SOURCE_DIR}/3rdparty/cppdap)
include_directories(${CPPDAP_DIR}/include)
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/debugger/debugger.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Name" : "debugger",
"Name" : "plugin-debugger",
"Version" : "4.8.2",
"CompatVersion" : "4.8.0",
"Vendor" : "The Uniontech Software Technology Co., Ltd.",
Expand All @@ -11,6 +11,6 @@
"Description" : "The core plugin for the unioncode.",
"UrlLink" : "https://www.uniontech.com",
"Depends" : [
{"Name" : "codeeditor"}
{"Name" : "plugin-codeeditor"}
]
}
2 changes: 1 addition & 1 deletion src/plugins/filebrowser/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(filebrowser)
project(plugin-filebrowser)

set(CXX_CPP
transceiver/sendevents.cpp
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/filebrowser/filebrowser.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Name" : "filebrowser",
"Name" : "plugin-filebrowser",
"Version" : "4.8.2",
"CompatVersion" : "4.8.0",
"Vendor" : "The Uniontech Software Technology Co., Ltd.",
Expand All @@ -11,6 +11,6 @@
"Description" : "The core plugin for the unioncode.",
"UrlLink" : "https://www.uniontech.com",
"Depends" : [
{"Name" : "codeeditor"}
{"Name" : "plugin-codeeditor"}
]
}
2 changes: 1 addition & 1 deletion src/plugins/find/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(find)
project(plugin-find)

set(CXX_CPP
transceiver/findreceiver.cpp
Expand Down
6 changes: 3 additions & 3 deletions src/plugins/find/findplugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Name" : "find",
"Name" : "plugin-find",
"Version" : "4.8.2",
"CompatVersion" : "4.8.0",
"Vendor" : "The Uniontech Software Technology Co., Ltd.",
Expand All @@ -11,7 +11,7 @@
"Description" : "The find plugin for the unioncode.",
"UrlLink" : "https://www.uniontech.com",
"Depends" : [
{"Name" : "codeeditor"},
{"Name" : "debugger"}
{"Name" : "plugin-codeeditor"},
{"Name" : "plugin-debugger"}
]
}
2 changes: 1 addition & 1 deletion src/plugins/java/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(java)
project(plugin-java)

find_package(Qt5 COMPONENTS Xml REQUIRED)

Expand Down
4 changes: 2 additions & 2 deletions src/plugins/java/javaplugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Name" : "java",
"Name" : "plugin-java",
"Version" : "4.8.2",
"CompatVersion" : "4.8.0",
"Vendor" : "The Uniontech Software Technology Co., Ltd.",
Expand All @@ -11,6 +11,6 @@
"Description" : "The java plugin for the unioncode.",
"UrlLink" : "https://www.uniontech.com",
"Depends" : [
{"Name" : "codeeditor"}
{"Name" : "plugin-codeeditor"}
]
}
2 changes: 1 addition & 1 deletion src/plugins/javascript/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(javascript)
project(plugin-javascript)

find_package(Qt5 COMPONENTS Xml Script ScriptTools REQUIRED)

Expand Down
4 changes: 2 additions & 2 deletions src/plugins/javascript/javascriptplugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Name" : "javascript",
"Name" : "plugin-javascript",
"Version" : "4.8.2",
"CompatVersion" : "4.8.0",
"Vendor" : "The Uniontech Software Technology Co., Ltd.",
Expand All @@ -10,5 +10,5 @@
"Category" : "Languages",
"Description" : "The javascript plugin for the unioncode.",
"UrlLink" : "https://www.uniontech.com",
"Depends" : [{"Name" : "debugger"}]
"Depends" : [{"Name" : "plugin-debugger"}]
}
2 changes: 1 addition & 1 deletion src/plugins/option/optioncore/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2)

project(optioncore)
project(plugin-optioncore)

find_package(Qt5 COMPONENTS Xml REQUIRED)

Expand Down
Loading

0 comments on commit 8dbe159

Please sign in to comment.