From 403f13fbcb279771e3e2f69c7748d06606ac22a8 Mon Sep 17 00:00:00 2001 From: Igor Jarek Date: Mon, 14 Mar 2022 15:51:39 +0100 Subject: [PATCH 1/3] add cmake project and github actions ci --- .appveyor.yml | 84 ------ .github/workflows/README.md | 41 +++ .github/workflows/build_cmake.yml | 452 ++++++++++++++++++++++++++++ .travis.yml | 66 ---- Asn1Acn.json.in | 2 +- CMakeLists.txt | 474 +++++++++++++++++++++++++++++ appveyor/make_import_libs.bat | 30 -- asn1acn.pro | 483 ------------------------------ travis/dist.sh | 54 ---- travis/fix_mac.sh | 5 - travis/install.sh | 32 -- travis/script.sh | 32 -- travis/setup-env.sh | 20 -- 13 files changed, 968 insertions(+), 807 deletions(-) delete mode 100644 .appveyor.yml create mode 100644 .github/workflows/README.md create mode 100644 .github/workflows/build_cmake.yml delete mode 100644 .travis.yml create mode 100644 CMakeLists.txt delete mode 100644 appveyor/make_import_libs.bat delete mode 100644 asn1acn.pro delete mode 100755 travis/dist.sh delete mode 100755 travis/fix_mac.sh delete mode 100755 travis/install.sh delete mode 100755 travis/script.sh delete mode 100755 travis/setup-env.sh diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index e52eae38..00000000 --- a/.appveyor.yml +++ /dev/null @@ -1,84 +0,0 @@ -# Appveyor project configuration file -# Build the plugin on Windows environment - -version: 4.9.2.{build} - -image: Visual Studio 2017 - -clone_folder: c:\projects\asn1scc.IDE\src - -environment: - QTDIR: C:\Qt\5.12\msvc2017 - ENV_QTC_PLATFORM: msvc2017_x86 - ENV_MSVC_PLATFORM: x86 - ENV_QTC_VERSION: 4.9.0 - ENV_QTC_VERSION_SHORT: 4.9 - BUILD_DIR: c:\projects\asn1scc.IDE\build - DIST_DIR: c:\projects\asn1scc.IDE\dist - DOWNLOAD_DIR: c:\projects\asn1scc.IDE\downloads - VSVER: 14.0 - PUSC_VERSION: 1.1.0 - FUZZER_VERSION: 0.9 - matrix: - - ENV_WITH_TESTS: BUILD_TESTS=1 - - ENV_WITH_TESTS: - -configuration: - - Release - -# Download and unpack QtC sources and binaries -install: - - cmd: mkdir %DOWNLOAD_DIR% - - cmd: curl -fsSL "https://download.qt.io/official_releases/qtcreator/%ENV_QTC_VERSION_SHORT%/%ENV_QTC_VERSION%/qt-creator-opensource-src-%ENV_QTC_VERSION%.zip" -o %DOWNLOAD_DIR%\qt-src.zip - - cmd: 7z x -y "%DOWNLOAD_DIR%\qt-src.zip" -o"%DOWNLOAD_DIR%\qt-src\" | findstr /b /r /c:"\qt.qt${qt_version_major}.*([0-9+-.]+)" updates_xml_output "${updates_xml}") + set(qt_package_version ${CMAKE_MATCH_1}) + + file(MAKE_DIRECTORY qt) + + # Save the path for other steps + file(TO_CMAKE_PATH "$ENV{GITHUB_WORKSPACE}/qt/${qt_dir_prefix}" qt_dir) + message("::set-output name=qt_dir::${qt_dir}") + + message("Downloading Qt to ${qt_dir}") + function(downloadAndExtract url archive) + message("Downloading ${url}") + file(DOWNLOAD "${url}" ./${archive} SHOW_PROGRESS) + execute_process(COMMAND ${CMAKE_COMMAND} -E tar xvf ../${archive} WORKING_DIRECTORY qt) + endfunction() + + foreach(package qtbase qtdeclarative) + downloadAndExtract( + "${qt_base_url}/qt.qt${qt_version_major}.${qt_version_dotless}.${qt_package_arch_suffix}/${qt_package_version}${package}${qt_package_suffix}.7z" + ${package}.7z + ) + endforeach() + + if("${qt_version_major}" STREQUAL "6") + foreach(package qt5compat qtshadertools) + downloadAndExtract( + "${qt_base_url}/qt.qt6.${qt_version_dotless}.${package}.${qt_package_arch_suffix}/${qt_package_version}${package}${qt_package_suffix}.7z" + ${package}.7z + ) + endforeach() + endif() + + # uic depends on libicu56.so + if ("${{ runner.os }}" STREQUAL "Linux") + downloadAndExtract( + "${qt_base_url}/qt.qt${qt_version_major}.${qt_version_dotless}.${qt_package_arch_suffix}/${qt_package_version}icu-linux-Rhel7.2-x64.7z" + icu.7z + ) + endif() + + - name: Download Qt Creator + id: qt_creator + shell: cmake -P {0} + run: | + string(REGEX MATCH "([0-9]+.[0-9]+).[0-9]+" outvar "$ENV{QT_CREATOR_VERSION}") + + set(qtc_base_url "https://download.qt.io/official_releases/qtcreator/${CMAKE_MATCH_1}/$ENV{QT_CREATOR_VERSION}/installer_source") + set(qtc_snapshot "$ENV{QT_CREATOR_SNAPSHOT}") + if (qtc_snapshot) + set(qtc_base_url "https://download.qt.io/snapshots/qtcreator/${CMAKE_MATCH_1}/$ENV{QT_CREATOR_VERSION}/installer_source/${qtc_snapshot}") + endif() + + if ("${{ runner.os }}" STREQUAL "Windows") + set(qtc_platform "windows_x64") + elseif ("${{ runner.os }}" STREQUAL "Linux") + set(qtc_platform "linux_x64") + elseif ("${{ runner.os }}" STREQUAL "macOS") + set(qtc_platform "mac_x64") + endif() + + file(TO_CMAKE_PATH "$ENV{GITHUB_WORKSPACE}/qtcreator" qtc_dir) + # Save the path for other steps + message("::set-output name=qtc_dir::${qtc_dir}") + + file(MAKE_DIRECTORY qtcreator) + + message("Downloading Qt Creator from ${qtc_base_url}/${qtc_platform}") + + foreach(package qtcreator qtcreator_dev) + file(DOWNLOAD + "${qtc_base_url}/${qtc_platform}/${package}.7z" ./${package}.7z SHOW_PROGRESS) + execute_process(COMMAND + ${CMAKE_COMMAND} -E tar xvf ../${package}.7z WORKING_DIRECTORY qtcreator) + endforeach() + + # Add QTCreator bin path to PATH environment variable + set(path_separator ":") + if ("${{ runner.os }}" STREQUAL "Windows") + set(path_separator ";") + endif() + file(APPEND "$ENV{GITHUB_PATH}" "${path_separator}${qtc_dir}/bin") + + - name: Build + shell: cmake -P {0} + run: | + set(ENV{CC} ${{ matrix.config.cc }}) + set(ENV{CXX} ${{ matrix.config.cxx }}) + set(ENV{MACOSX_DEPLOYMENT_TARGET} "10.13") + + if ("${{ runner.os }}" STREQUAL "Windows" AND NOT "x${{ matrix.config.environment_script }}" STREQUAL "x") + execute_process( + COMMAND "${{ matrix.config.environment_script }}" && set + OUTPUT_FILE environment_script_output.txt + ) + file(STRINGS environment_script_output.txt output_lines) + foreach(line IN LISTS output_lines) + if (line MATCHES "^([a-zA-Z0-9_-]+)=(.*)$") + set(ENV{${CMAKE_MATCH_1}} "${CMAKE_MATCH_2}") + endif() + endforeach() + endif() + + set(ENV{NINJA_STATUS} "[%f/%t %o/sec] ") + + set(build_plugin_py "scripts/build_plugin.py") + foreach(dir "share/qtcreator/scripts" "Qt Creator.app/Contents/Resources/scripts" "Contents/Resources/scripts") + if(EXISTS "${{ steps.qt_creator.outputs.qtc_dir }}/${dir}/build_plugin.py") + set(build_plugin_py "${dir}/build_plugin.py") + break() + endif() + endforeach() + + execute_process( + COMMAND python + -u + "${{ steps.qt_creator.outputs.qtc_dir }}/${build_plugin_py}" + --name "$ENV{PLUGIN_NAME}-$ENV{QT_CREATOR_VERSION}-${{ matrix.config.artifact }}" + --src . + --build build + --qt-path "${{ steps.qt.outputs.qt_dir }}" + --qtc-path "${{ steps.qt_creator.outputs.qtc_dir }}" + --output-path "$ENV{GITHUB_WORKSPACE}" + --add-config=-DWITH_TESTS=ON + --build-type=Release + RESULT_VARIABLE result + ) + + if (NOT result EQUAL 0) + string(REGEX MATCH "FAILED:.*$" error_message "${output}") + string(REPLACE "\n" "%0A" error_message "${error_message}") + message("::error::${error_message}") + message(FATAL_ERROR "BUILD HAS FAILED") + endif() + + - name: Run tests + if: ${{ runner.os == 'Linux' }} + shell: cmake -P {0} + run: | + set(ENV{QT_QPA_PLATFORM} "offscreen") + + if ("${{ runner.os }}" STREQUAL "Linux") + set(plugin_filepath "$ENV{GITHUB_WORKSPACE}/build/build/lib/qtcreator/plugins/libAsn1Acn.so") + set(qtc_plugin_path ${{ steps.qt_creator.outputs.qtc_dir }}/lib/qtcreator/plugins) + elseif("${{ runner.os }}" STREQUAL "Windows") + set(plugin_filepath "$ENV{GITHUB_WORKSPACE}/build/build/lib/qtcreator/plugins/Asn1Acn.dll") + set(qtc_plugin_path ${{ steps.qt_creator.outputs.qtc_dir }}/lib/qtcreator/plugins) + elseif("${{ runner.os }}" STREQUAL "macOS") + set(plugin_filepath "$ENV{GITHUB_WORKSPACE}/build/build/Qt Creator.app/Contents/PlugIns/libAsn1Acn.dylib") + set(qtc_plugin_path ${{ steps.qt_creator.outputs.qtc_dir }}/Contents/PlugIns) + endif() + + file(COPY ${plugin_filepath} DESTINATION ${qtc_plugin_path}) + + execute_process( + COMMAND qtcreator -test "ASN.1/ACN" + RESULT_VARIABLE result + ) + + if(result EQUAL 1) + message(FATAL_ERROR "1 TEST HAS FAILED") + elseif(result GREATER_EQUAL 2) + message(FATAL_ERROR "${result} TESTS HAVE FAILED") + endif() + + - name: Build package + shell: cmake -P {0} + run: | + set(package_content "package") + set(daemon_sharepoint_cookie "daemon_sharepoint_cookie") + + if ("${{ runner.os }}" STREQUAL "Linux") + set(plugin_bin_path "${package_content}/libexec/qtcreator") + set(plugin_resources_path "${package_content}/share/qtcreator") + elseif("${{ runner.os }}" STREQUAL "Windows") + set(plugin_bin_path "${package_content}/bin") + set(plugin_resources_path "${package_content}/share/qtcreator") + elseif("${{ runner.os }}" STREQUAL "macOS") + set(plugin_bin_path "${package_content}/Qt Creator.app/Contents/Resources") + set(plugin_resources_path "${package_content}/Qt Creator.app/Contents/Resources") + endif() + + set(plugin_pusc_path "${plugin_resources_path}/asn1acn/libs/PUS-C") + + file(MAKE_DIRECTORY ${plugin_bin_path}) + file(MAKE_DIRECTORY ${plugin_resources_path}) + file(MAKE_DIRECTORY ${plugin_pusc_path}) + file(MAKE_DIRECTORY ${daemon_sharepoint_cookie}) + + set(asn1sccUrl "https://github.com/ttsiodras/asn1scc/releases/download/$ENV{ASN1SCC_VERSION}/asn1scc-bin-$ENV{ASN1SCC_VERSION}.tar.bz2") + message("Downloading ASN1SCC from ${asn1sccUrl}") + file(DOWNLOAD "${asn1sccUrl}" $ENV{GITHUB_WORKSPACE}/asn1scc.tar.bz2 SHOW_PROGRESS) + message("Extracting ASN1SCC from file") + execute_process(COMMAND ${CMAKE_COMMAND} -E tar xvf $ENV{GITHUB_WORKSPACE}/asn1scc.tar.bz2 WORKING_DIRECTORY ${plugin_bin_path}) + + set(daemonUrl "https://n7space-my.sharepoint.com/:u:/p/kgrochowski/EZSwzkHV-C1Mn1nppkUqKIcBjFpzsn67G_N_1RMW2Yr7dQ?download=1") + message("Downloading ASN1SCC Daemon from ${daemonUrl}") + execute_process(COMMAND curl -c "$ENV{GITHUB_WORKSPACE}/${daemon_sharepoint_cookie}}" -fsSL ${daemonUrl} -o $ENV{GITHUB_WORKSPACE}/asn1scc-daemon.7z) + message("Extracting ASN1SCC Daemon from file") + execute_process(COMMAND ${CMAKE_COMMAND} -E tar xvf $ENV{GITHUB_WORKSPACE}/asn1scc-daemon.7z) + + set(puscUrl "https://github.com/n7space/asn1-pusc-lib/releases/download/$ENV{PUSC_VERSION}/Asn1Acn-PusC-Library-$ENV{PUSC_VERSION}.7z") + message("Downloading PUSC from ${puscUrl}") + file(DOWNLOAD "${puscUrl}" $ENV{GITHUB_WORKSPACE}/pusc-lib.tar SHOW_PROGRESS) + message("Extracting PUSC from file") + execute_process(COMMAND ${CMAKE_COMMAND} -E tar xvf $ENV{GITHUB_WORKSPACE}/pusc-lib.tar WORKING_DIRECTORY ${plugin_pusc_path}) + + if ("${{ runner.os }}" STREQUAL "Linux") + set(fuzzerUrl "https://github.com/n7space/asn1scc.Fuzzer/releases/download/$ENV{FUZZER_VERSION}/asn1scc-Fuzzer-$ENV{FUZZER_VERSION}-linux-x64.tar.gz") + message("Downloading Fuzzer from ${fuzzerUrl}") + file(DOWNLOAD "${fuzzerUrl}" $ENV{GITHUB_WORKSPACE}//asn1scc-fuzzer.tar.gz SHOW_PROGRESS) + message("Extracting Fuzzer from file") + execute_process(COMMAND ${CMAKE_COMMAND} -E tar xvf $ENV{GITHUB_WORKSPACE}/asn1scc-fuzzer.tar.gz WORKING_DIRECTORY ${plugin_bin_path}) + endif() + + file(COPY $ENV{GITHUB_WORKSPACE}/asn1scc/daemon DESTINATION ${plugin_bin_path}/asn1scc) + + file(COPY $ENV{GITHUB_WORKSPACE}/generic-highlighter DESTINATION ${plugin_resources_path}) + file(COPY $ENV{GITHUB_WORKSPACE}/templates DESTINATION ${plugin_resources_path}) + file(COPY $ENV{GITHUB_WORKSPACE}/snippets DESTINATION ${plugin_resources_path}) + + file(RENAME $ENV{GITHUB_WORKSPACE}/LICENSE $ENV{GITHUB_WORKSPACE}/$ENV{PLUGIN_NAME}-LICENSE) + file(RENAME $ENV{GITHUB_WORKSPACE}/README.md $ENV{GITHUB_WORKSPACE}/$ENV{PLUGIN_NAME}-README.md) + + file(COPY $ENV{GITHUB_WORKSPACE}/$ENV{PLUGIN_NAME}-LICENSE DESTINATION ${package_content}) + file(COPY $ENV{GITHUB_WORKSPACE}/$ENV{PLUGIN_NAME}-README.md DESTINATION ${package_content}) + + file(GLOB package_filelist ${package_content}/*) + + execute_process(COMMAND + 7z a $ENV{GITHUB_WORKSPACE}/${{ env.PLUGIN_NAME }}-${{ env.QT_CREATOR_VERSION }}-${{ matrix.config.artifact }}.7z + ${package_filelist}) + + - uses: actions/upload-artifact@v2 + id: upload_artifact + with: + path: ./${{ env.PLUGIN_NAME }}-${{ env.QT_CREATOR_VERSION }}-${{ matrix.config.artifact }}.7z + name: ${{ env.PLUGIN_NAME}}-${{ env.QT_CREATOR_VERSION }}-${{ matrix.config.artifact }}.7z + + release: + if: ${{ github.ref_type == 'tag' }} + runs-on: ubuntu-latest + needs: build + + steps: + - name: Create Release + id: create_release + uses: actions/create-release@v1.0.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref_name }} + release_name: ${{ github.ref_name }} + draft: false + prerelease: false + + - name: Store Release url + run: | + echo "${{ steps.create_release.outputs.upload_url }}" > ./upload_url + + - uses: actions/upload-artifact@v1 + with: + path: ./upload_url + name: upload_url + + publish: + if: ${{ github.ref_type == 'tag' }} + needs: release + + name: ${{ matrix.config.name }} + runs-on: ${{ matrix.config.os }} + strategy: + matrix: + config: + - { + name: "Windows Latest x64", artifact: "Windows-x64.7z", + os: ubuntu-latest + } + - { + name: "Linux Latest x64", artifact: "Linux-x64.7z", + os: ubuntu-latest + } + - { + name: "macOS Latest x64", artifact: "macOS-x64.7z", + os: macos-latest + } + + steps: + - name: Download artifact + uses: actions/download-artifact@v1 + with: + name: ${{ env.PLUGIN_NAME }}-${{ env.QT_CREATOR_VERSION }}-${{ matrix.config.artifact }} + path: ./ + + - name: Download URL + uses: actions/download-artifact@v1 + with: + name: upload_url + path: ./ + - id: set_upload_url + run: | + upload_url=`cat ./upload_url` + echo ::set-output name=upload_url::$upload_url + + - name: Upload to Release + id: upload_to_release + uses: actions/upload-release-asset@v1.0.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.set_upload_url.outputs.upload_url }} + asset_path: ./${{ env.PLUGIN_NAME }}-${{ env.QT_CREATOR_VERSION }}-${{ matrix.config.artifact }} + asset_name: ${{ env.PLUGIN_NAME }}-${{ env.QT_CREATOR_VERSION }}-${{ matrix.config.artifact }} + asset_content_type: application/x-7z-compressed diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5f6868b9..00000000 --- a/.travis.yml +++ /dev/null @@ -1,66 +0,0 @@ -language: cpp - -os: - - linux - - osx - -compiler: - - gcc - - clang - -matrix: - exclude: - - os: osx - compiler: gcc - - os: linux - compiler: clang - allow_failures: - - os: osx - fast_finish: true - -dist: xenial - -env: - global: - - ENV_QTC_VERSION="4.9.0" - - ENV_QTC_VERSION_SHORT="4.9" - - PUSC_VERSION="1.1.0" - - FUZZER_VERSION="0.9" - matrix: - - ENV_WITH_TESTS=1 - - ENV_WITH_TESTS=0 - -addons: - apt: - sources: - - sourceline: "ppa:beineri/opt-qt-5.12.2-xenial" - packages: - - qt512-meta-minimal - - qt512tools - - qt512script - - p7zip - - libgl1-mesa-dev - -services: - - xvfb - -install: - - travis/install.sh - -script: - - travis/script.sh - -before_deploy: - - travis/dist.sh -deploy: - provider: releases - api_key: - secure: SS4OHjm3Rg4mjaiionWSkQS3f8Roaxq2e9rYNYbRoDGnN2X94JsGczMsh1/Nmlip1TVY0+nd8QDrZyG0cSowskYc0TZ0pWT2xvnYpzDq0ptGfEO6t6VFhtcWkUe4FxM7jyaNiYc7+rW5Uz/rKW4zZUP6OPzWfl3TEsjolk1BgqNgdg1PtQUJ6MgLtGdRuLlfMnrZyZuT1mzz5jtU8FW5zrQziTjx1Eos4aJU469Mi75TG687b/MwQWslxq3sO+P56o/zW+OUmlQlZSYrvHOiDJbzMUEcdIab0kalnIZooGmZ9eVsNE0lMRdhHdUjaH46yZo/oBSwkszz6+GVHRbYULWrF5RTIwGrqR6OJ7/t0JbgsaoJkJTDIersMUqLwcXrk4E2bhMAl6UC9owS2224s6IszxT1hTWnNBgGGslE0ofuUPUMUPBlobHSXyWgjxgOahZrG9pBQH0IIKA+V6FMJ/queEoyGzpMOFrn8DqTGyMQCJmOn0lmul2lsmDFWwGcXb2avsFT9Ugj8nykK5f/uMtLnP5G6+hKAQ9aqsJZS5x1XDEHrZgKJ8ZTBzwO3H9z4ItxqmUgphkiJQ02PCP0MnotrzxWBkBAN9dlARujKx5FCt+cWwGEaOk4LP2DF9x+EbCW364uaDnbLf9EflmOOkSkA9fSK8WrkKeN9rlz3jg= - file_glob: true - file: Asn1Acn-*.tar.gz - skip_cleanup: true - overwrite: true - on: - repo: n7space/asn1scc.IDE - tags: true - condition: $ENV_WITH_TESTS = 0 diff --git a/Asn1Acn.json.in b/Asn1Acn.json.in index a365a9e7..9d65f556 100644 --- a/Asn1Acn.json.in +++ b/Asn1Acn.json.in @@ -9,7 +9,7 @@ \"Url\" : \"https://n7space.com\", \"Category\" : \"Other Languages\", $$dependencyList, - + \"Mimetypes\" : \" diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 00000000..7af5a35a --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,474 @@ +############################################################################# +## +## Copyright (C) 2017-2022 N7 Space sp. z o. o. +## Contact: https://n7space.com +## +## This file is part of ASN.1/ACN Plugin for QtCreator. +## +## Plugin was developed under a programme and funded by +## European Space Agency. +## +## This Plugin is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## This Plugin is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see . +## +############################################################################# + +cmake_minimum_required(VERSION 3.10) + +list(APPEND CMAKE_PREFIX_PATH "/opt/QT/Tools/QtCreator") + +project(Asn1Acn) +set(QTC_PLUGIN_REVISION 6.0.2) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) +set(CMAKE_CXX_STANDARD 17) + +find_package(QtCreator COMPONENTS Core TextEditor ProjectExplorer REQUIRED) +find_package(Qt6 COMPONENTS Test REQUIRED) + +option(WITH_TESTS "Build Tests" ON) +add_feature_info("Build tests" ${WITH_TESTS} "") + +if (WITH_TESTS) + set(IMPLICIT_DEPENDS Qt6::Test) +endif() + +if (WITH_TESTS) + enable_testing() +endif() + +add_qtc_plugin(Asn1Acn + PLUGIN_DEPENDS + QtCreator::Core + QtCreator::TextEditor + QtCreator::ProjectExplorer + DEPENDS + QtCreator::Utils + INCLUDES + src + SOURCES + src/completion/autocompleter.cpp + src/completion/asncompletionassist.cpp + src/completion/asnsnippets.cpp + src/completion/acnsnippets.cpp + src/completion/proposalsbuilder.cpp + src/completion/asnkeywordproposalsbuilder.cpp + src/completion/usertypesproposalsbuilder.cpp + src/completion/acnkeywordproposalsbuilder.cpp + src/completion/completionassist.cpp + src/completion/acncompletionassist.cpp + src/completion/keywordproposalsbuilder.cpp + src/completion/importfindingvisitor.cpp + + src/data/sourcelocation.cpp + src/data/node.cpp + src/data/root.cpp + src/data/file.cpp + src/data/project.cpp + src/data/typeassignment.cpp + src/data/valueassignment.cpp + src/data/typereference.cpp + src/data/definitions.cpp + src/data/visitor.cpp + + src/data/types/type.cpp + src/data/types/userdefinedtype.cpp + src/data/types/labeltype.cpp + src/data/types/builtintypes.cpp + + src/tree-views/outline-visitors/childrencountingvisitor.cpp + src/tree-views/outline-visitors/childreturningvisitor.cpp + src/tree-views/outline-visitors/indexfindingvisitor.cpp + + src/tree-views/combo-visitors/childrencountingvisitor.cpp + src/tree-views/combo-visitors/childreturningvisitor.cpp + src/tree-views/combo-visitors/indexfindingvisitor.cpp + + src/tree-views/typestree-visitors/parentreturningvisitor.cpp + src/tree-views/typestree-visitors/childrencountingvisitor.cpp + src/tree-views/typestree-visitors/childreturningvisitor.cpp + src/tree-views/typestree-visitors/indexfindingvisitor.cpp + + src/tree-views/displayrolevisitor.cpp + src/tree-views/decorationrolevisitor.cpp + src/tree-views/mutablerootmodel.cpp + src/tree-views/outlinemodel.cpp + src/tree-views/typestreemodel.cpp + src/tree-views/model.cpp + src/tree-views/combomodel.cpp + src/tree-views/treeviewwidget.cpp + src/tree-views/activatehandler.cpp + src/tree-views/indexupdater.cpp + src/tree-views/outlineindexupdater.cpp + src/tree-views/typestreeindexupdater.cpp + src/tree-views/synchronizedindexupdater.cpp + src/tree-views/unsynchronizedindexupdater.cpp + src/tree-views/outlinecombo.cpp + src/tree-views/outlinewidget.cpp + src/tree-views/typestreewidget.cpp + src/tree-views/expansionstaterestorer.cpp + + src/options-pages/service.cpp + src/options-pages/libraries.cpp + src/options-pages/fuzzer.cpp + src/options-pages/servicewidget.cpp + src/options-pages/librarieswidget.cpp + src/options-pages/fuzzerwidget.cpp + + src/settings/settings.cpp + src/settings/service.cpp + src/settings/libraries.cpp + src/settings/fuzzer.cpp + + src/fuzzer/fuzzerparamsdialog.cpp + src/fuzzer/fuzzerparamswidget.cpp + src/fuzzer/fuzzerrunner.cpp + src/fuzzer/fuzzerparamsprovider.cpp + + src/libraries/modulemetadataparser.cpp + src/libraries/generalmetadataparser.cpp + src/libraries/componentimporter.cpp + src/libraries/componentdirectorywatcher.cpp + src/libraries/componentlibraryprocessor.cpp + src/libraries/generalmetadataprocessor.cpp + src/libraries/componentlibrarydispatcher.cpp + src/libraries/librarystorage.cpp + src/libraries/metadatamodel.cpp + src/libraries/filemodel.cpp + src/libraries/metadatacheckstatehandler.cpp + + src/libraries/wizard/importcomponentwizard.cpp + src/libraries/wizard/selectsourcepage.cpp + src/libraries/wizard/selectcomponentspage.cpp + src/libraries/wizard/summarypage.cpp + src/libraries/wizard/metadatacomponentselector.cpp + src/libraries/wizard/filecomponentselector.cpp + src/libraries/wizard/relationslabelscontroller.cpp + src/libraries/wizard/vcshandler.cpp + src/libraries/wizard/modulestreeview.cpp + + src/messages/messageutils.cpp + src/messages/messagemanager.cpp + + src/icd/icdbuilder.cpp + + src/asn1acn.cpp + src/asneditor.cpp + src/asndocument.cpp + src/acneditor.cpp + src/acndocument.cpp + src/editor.cpp + src/asn1sccdocumentprocessor.cpp + src/parseddatastorage.cpp + src/astxmlparser.cpp + src/projectwatcher.cpp + src/document.cpp + src/asn1acnjsextension.cpp + src/asn1sccserviceprovider.cpp + src/asn1sccparseddocumentbuilder.cpp + src/projectcontenthandler.cpp + src/indenter.cpp + src/tools.cpp + src/linkcreator.cpp + src/referencefinder.cpp + src/filesourcereader.cpp + src/errormessageparser.cpp + src/typeslocator.cpp + src/modelvalidityguard.cpp + src/usagesfinder.cpp + src/toolsmenuimportitemcontroller.cpp + src/projectmenuimportitemcontroller.cpp + src/kitaspect.cpp + src/kitaspectwidget.cpp + src/selectionpositionresolver.cpp + src/asn1acnerrorparser.cpp + src/asn1acnstepscache.cpp + src/asn1acnbuildstep.cpp + src/asn1acnbuildsteprunner.cpp + + src/completion/autocompleter.h + src/completion/asncompletionassist.h + src/completion/asnsnippets.h + src/completion/acnsnippets.h + src/completion/proposalsbuilder.h + src/completion/asnkeywordproposalsbuilder.h + src/completion/usertypesproposalsbuilder.h + src/completion/acnkeywordproposalsbuilder.h + src/completion/completionassist.h + src/completion/acncompletionassist.h + src/completion/keywordproposalsbuilder.h + src/completion/completiontypedefs.h + src/completion/importfindingvisitor.h + + src/data/sourcelocation.h + src/data/typeassignment.h + src/data/valueassignment.h + src/data/definitions.h + src/data/typereference.h + src/data/errormessage.h + src/data/node.h + src/data/root.h + src/data/file.h + src/data/project.h + src/data/visitor.h + src/data/visitorwithvalue.h + src/data/importedtype.h + src/data/importedvalue.h + + src/data/types/type.h + src/data/types/userdefinedtype.h + src/data/types/labeltype.h + src/data/types/builtintypes.h + + src/tree-views/outline-visitors/childrencountingvisitor.h + src/tree-views/outline-visitors/childreturningvisitor.h + src/tree-views/outline-visitors/indexfindingvisitor.h + + src/tree-views/combo-visitors/childrencountingvisitor.h + src/tree-views/combo-visitors/childreturningvisitor.h + src/tree-views/combo-visitors/indexfindingvisitor.h + + src/tree-views/typestree-visitors/parentreturningvisitor.h + src/tree-views/typestree-visitors/childrencountingvisitor.h + src/tree-views/typestree-visitors/childreturningvisitor.h + src/tree-views/typestree-visitors/indexfindingvisitor.h + + src/tree-views/displayrolevisitor.h + src/tree-views/decorationrolevisitor.h + src/tree-views/mutablerootmodel.h + src/tree-views/outlinemodel.h + src/tree-views/typestreemodel.h + src/tree-views/typestreeindexupdater.h + src/tree-views/model.h + src/tree-views/combomodel.h + src/tree-views/treeviewwidget.h + src/tree-views/activatehandler.h + src/tree-views/indexupdater.h + src/tree-views/outlineindexupdater.h + src/tree-views/unsynchronizedindexupdater.h + src/tree-views/synchronizedindexupdater.h + src/tree-views/outlinecombo.h + src/tree-views/outlinewidget.h + src/tree-views/typestreewidget.h + src/tree-views/expansionstaterestorer.h + src/tree-views/indexupdaterfactory.h + src/tree-views/typestreeindexupdaterfactory.h + src/tree-views/outlineindexupdaterfactory.h + + src/options-pages/service.h + src/options-pages/libraries.h + src/options-pages/fuzzer.h + src/options-pages/servicewidget.h + src/options-pages/librarieswidget.h + src/options-pages/fuzzerwidget.h + + src/settings/settings.h + src/settings/service.h + src/settings/libraries.h + src/settings/fuzzer.h + + src/fuzzer/fuzzerparamsdialog.h + src/fuzzer/fuzzerparamswidget.h + src/fuzzer/fuzzerrunner.h + src/fuzzer/fuzzerparamsprovider.h + + src/libraries/modulemetadataparser.h + src/libraries/generalmetadataparser.h + src/libraries/componentimporter.h + src/libraries/componentdirectorywatcher.h + src/libraries/componentlibraryprocessor.h + src/libraries/generalmetadataprocessor.h + src/libraries/componentlibrarydispatcher.h + src/libraries/librarystorage.h + src/libraries/metadatamodel.h + src/libraries/filemodel.h + src/libraries/metadatacheckstatehandler.h + + src/libraries/wizard/importcomponentwizard.h + src/libraries/wizard/selectsourcepage.h + src/libraries/wizard/selectcomponentspage.h + src/libraries/wizard/summarypage.h + src/libraries/wizard/metadatacomponentselector.h + src/libraries/wizard/componentselector.h + src/libraries/wizard/filecomponentselector.h + src/libraries/wizard/relationslabelscontroller.h + src/libraries/wizard/vcshandler.h + src/libraries/wizard/modulestreeview.h + + src/libraries/metadata/element.h + src/libraries/metadata/reference.h + src/libraries/metadata/submodule.h + src/libraries/metadata/module.h + src/libraries/metadata/library.h + src/libraries/metadata/general.h + src/libraries/metadata/librarynode.h + + src/messages/messageutils.h + src/messages/messagemanager.h + + src/icd/icdbuilder.h + + src/asn1acn_global.h + src/asn1acnconstants.h + src/asn1acn.h + src/asneditor.h + src/asndocument.h + src/acneditor.h + src/acndocument.h + src/editor.h + src/asn1sccdocumentprocessor.h + src/parseddatastorage.h + src/astxmlparser.h + src/projectwatcher.h + src/document.h + src/asn1acnjsextension.h + src/asn1sccserviceprovider.h + src/asn1sccparseddocumentbuilder.h + src/projectcontenthandler.h + src/indenter.h + src/tr.h + src/linkcreator.h + src/referencefinder.h + src/tools.h + src/parsingserviceprovider.h + src/parseddocumentbuilder.h + src/documentprocessor.h + src/sourcereader.h + src/filesourcereader.h + src/errormessageparser.h + src/typeslocator.h + src/modelvalidityguard.h + src/usagesfinder.h + src/toolsmenuimportitemcontroller.h + src/projectmenuimportitemcontroller.h + src/kitaspect.h + src/kitaspectwidget.h + src/selectionpositionresolver.h + src/asn1acnerrorparser.h + src/asn1acnstepscache.h + src/asn1acnbuildstep.h + src/asn1acnbuildsteprunner.h + + .github/workflows/build_cmake.yml + .github/workflows/README.md + + asn1acn.qrc + LICENSE + README.md + + src/fuzzer/fuzzerparams.ui + + src/options-pages/service.ui + src/options-pages/libraries.ui + src/options-pages/fuzzer.ui + + src/libraries/wizard/import_component.ui + src/libraries/wizard/select_component.ui + src/libraries/wizard/summary.ui + + schemas/asn1-lib-general-schema.json + schemas/asn1-lib-module-schema.json + + snippets/asn1.xml + snippets/acn.xml + generic-highlighter/syntax/asn1.xml + generic-highlighter/syntax/acn.xml + templates/wizards/files/acn/wizard.json + templates/wizards/files/acn/template.acn + templates/wizards/files/asn1/wizard.json + templates/wizards/files/asn1/template.asn + templates/wizards/files/asn1acn/wizard.json + templates/wizards/files/asn1acn/template.asn + templates/wizards/files/asn1acn/template.acn + templates/wizards/projects/asn1acn/wizard.json + templates/wizards/projects/asn1acn/template.asn + templates/wizards/projects/asn1acn/template.acn + templates/wizards/projects/asn1acn/file.pro + templates/wizards/projects/asn1acn/generateFromAsn1.pri + templates/wizards/projects/asn1acn/handleAsn1AcnBuild.pri + templates/wizards/projects/asn1acn/updateSourcesList.pri + templates/wizards/projects/asn1acn/CMakeLists.txt + templates/wizards/projects/asn1acn/asn1sccSettings.cmake + templates/wizards/projects/asn1acn/configureAsn1SccTarget.cmake + templates/wizards/projects/asn1acn/createFilesList.cmake +) + +extend_qtc_plugin(Asn1Acn + CONDITION WITH_TESTS + SOURCES + src/libraries/tests/modulemetadataparser_tests.cpp + src/libraries/tests/generalmetadataparser_tests.cpp + src/libraries/tests/metadatamodel_tests.cpp + src/libraries/tests/filemodel_tests.cpp + src/libraries/tests/metadatacheckstatehandler_tests.cpp + + src/3rdparty/tests/modeltest.cpp + + src/tree-views/tests/outlinemodel_tests.cpp + src/tree-views/tests/combomodel_tests.cpp + src/tree-views/tests/typestreemodel_tests.cpp + src/tree-views/tests/displayrolevisitor_tests.cpp + src/tree-views/tests/outlineindexupdater_tests.cpp + + src/tests/astxmlparser_tests.cpp + src/tests/errormessageparser_tests.cpp + src/tests/parseddocumentbuilder_tests.cpp + src/tests/documentprocessor_tests.cpp + src/tests/projectcontenthandler_tests.cpp + src/tests/parseddatastorage_tests.cpp + src/tests/autocompleter_tests.cpp + src/tests/modelvalidityguard_tests.cpp + src/tests/linkcreator_tests.cpp + src/tests/indenter_tests.cpp + src/tests/selectionpositionresolver_test.cpp + + src/tests/networkreply.cpp + src/tests/parsingserviceproviderstub.cpp + src/tests/parseddocumentbuilderstub.cpp + src/tests/documentprocessorstub.cpp + src/tests/sourcereadermock.cpp + + src/libraries/tests/modulemetadataparser_tests.h + src/libraries/tests/generalmetadataparser_tests.h + src/libraries/tests/metadatamodel_tests.h + src/libraries/tests/filemodel_tests.h + src/libraries/tests/metadatacheckstatehandler_tests.h + + src/tree-views/tests/outlinemodel_tests.h + src/tree-views/tests/combomodel_tests.h + src/tree-views/tests/typestreemodel_tests.h + src/tree-views/tests/displayrolevisitor_tests.h + src/tree-views/tests/outlineindexupdater_tests.h + + src/3rdparty/tests/modeltest.h + + src/tests/astxmlparser_tests.h + src/tests/errormessageparser_tests.h + src/tests/parseddocumentbuilder_tests.h + src/tests/documentprocessor_tests.h + src/tests/projectcontenthandler_tests.h + src/tests/parseddatastorage_tests.h + src/tests/autocompleter_tests.h + src/tests/modelvalidityguard_tests.h + src/tests/linkcreator_tests.h + src/tests/indenter_tests.h + src/tests/selectionpositionresolver_test.h + + src/tests/networkreply.h + src/tests/parsingserviceproviderstub.h + src/tests/parseddocumentbuilderstub.h + src/tests/documentprocessorstub.h + src/tests/sourcereadermock.h +) diff --git a/appveyor/make_import_libs.bat b/appveyor/make_import_libs.bat deleted file mode 100644 index b2bdeb56..00000000 --- a/appveyor/make_import_libs.bat +++ /dev/null @@ -1,30 +0,0 @@ -REM Generate .lib files using existing .dll files -REM Helpful to skip QtC building and use installed QtC binaries -REM First argument is a directory with dlls -REM Second argument is an output directory - -setlocal ENABLEDELAYEDEXPANSION -@ECHO OFF -SET "INPUT_DIR=%1" -SET "OUTPUT_DIR=%2" -for /F %%x in ('dir /B/D %INPUT_DIR%\*.dll') do ( - call :makelib %%x %%~nx %INPUT_DIR%) - -goto:End - -:makelib - set x=%1 - set NAME=%2 - set FP=%3 - echo !NAME! - dumpbin /exports %FP%\%x% > !OUTPUT_DIR!\!NAME!_export.txt - echo LIBRARY !NAME! > !OUTPUT_DIR!\!NAME!.def - echo EXPORTS >> !OUTPUT_DIR!\!NAME!.def - call :prepend !OUTPUT_DIR!\!NAME! - lib /def:!OUTPUT_DIR!\!NAME!.def /out:!OUTPUT_DIR!\!NAME!.lib /machine:x86 -goto:eof - -:prepend - for /f "skip=19 tokens=4" %%a in (%1_export.txt) do echo %%a >> %1.def -goto:eof -:End \ No newline at end of file diff --git a/asn1acn.pro b/asn1acn.pro deleted file mode 100644 index 4bf70863..00000000 --- a/asn1acn.pro +++ /dev/null @@ -1,483 +0,0 @@ -############################################################################# -## -## Copyright (C) 2017-2022 N7 Space sp. z o. o. -## Contact: https://n7space.com -## -## This file is part of ASN.1/ACN Plugin for QtCreator. -## -## Plugin was developed under a programme and funded by -## European Space Agency. -## -## This Plugin is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. -## -## This Plugin is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see . -## -############################################################################# - -# Qt Creator linking - -IDE_SOURCE_TREE = $$QTC_SOURCE -isEmpty(IDE_SOURCE_TREE): IDE_SOURCE_TREE = "/opt/qt-creator-dev/qt-creator" - -IDE_BUILD_TREE = $$QTC_BUILD -isEmpty(IDE_BUILD_TREE): IDE_BUILD_TREE = "/opt/qt-creator-dev/build-debug" - -QTC_PLUGIN_NAME = Asn1Acn -QTC_LIB_DEPENDS += \ - utils - -QTC_PLUGIN_DEPENDS += \ - texteditor \ - coreplugin \ - projectexplorer - -QTC_PLUGIN_RECOMMENDS += \ - # optional plugin dependencies. nothing here at this time - -include($$IDE_SOURCE_TREE/src/qtcreatorplugin.pri) - -### Plugin ### - -CONFIG += object_parallel_to_source - -DEFINES += ASN1ACN_LIBRARY -INCLUDEPATH += $$PWD/src -VPATH += $$PWD/src - -# asn1acn plugin files - -SOURCES += \ - completion/autocompleter.cpp \ - completion/asncompletionassist.cpp \ - completion/asnsnippets.cpp \ - completion/acnsnippets.cpp \ - completion/proposalsbuilder.cpp \ - completion/asnkeywordproposalsbuilder.cpp \ - completion/usertypesproposalsbuilder.cpp \ - completion/acnkeywordproposalsbuilder.cpp \ - completion/completionassist.cpp \ - completion/acncompletionassist.cpp \ - completion/keywordproposalsbuilder.cpp \ - completion/importfindingvisitor.cpp \ - \ - data/sourcelocation.cpp \ - data/node.cpp \ - data/root.cpp \ - data/file.cpp \ - data/project.cpp \ - data/typeassignment.cpp \ - data/valueassignment.cpp \ - data/typereference.cpp \ - data/definitions.cpp \ - data/visitor.cpp \ - \ - data/types/type.cpp \ - data/types/userdefinedtype.cpp \ - data/types/labeltype.cpp \ - data/types/builtintypes.cpp \ - \ - tree-views/outline-visitors/childrencountingvisitor.cpp \ - tree-views/outline-visitors/childreturningvisitor.cpp \ - tree-views/outline-visitors/indexfindingvisitor.cpp \ - \ - tree-views/combo-visitors/childrencountingvisitor.cpp \ - tree-views/combo-visitors/childreturningvisitor.cpp \ - tree-views/combo-visitors/indexfindingvisitor.cpp \ - \ - tree-views/typestree-visitors/parentreturningvisitor.cpp \ - tree-views/typestree-visitors/childrencountingvisitor.cpp \ - tree-views/typestree-visitors/childreturningvisitor.cpp \ - tree-views/typestree-visitors/indexfindingvisitor.cpp \ - \ - tree-views/displayrolevisitor.cpp \ - tree-views/decorationrolevisitor.cpp \ - tree-views/mutablerootmodel.cpp \ - tree-views/outlinemodel.cpp \ - tree-views/typestreemodel.cpp \ - tree-views/model.cpp \ - tree-views/combomodel.cpp \ - tree-views/treeviewwidget.cpp \ - tree-views/activatehandler.cpp \ - tree-views/indexupdater.cpp \ - tree-views/outlineindexupdater.cpp \ - tree-views/typestreeindexupdater.cpp \ - tree-views/synchronizedindexupdater.cpp \ - tree-views/unsynchronizedindexupdater.cpp \ - tree-views/outlinecombo.cpp \ - tree-views/outlinewidget.cpp \ - tree-views/typestreewidget.cpp \ - tree-views/expansionstaterestorer.cpp \ - \ - options-pages/service.cpp \ - options-pages/libraries.cpp \ - options-pages/fuzzer.cpp \ - options-pages/servicewidget.cpp \ - options-pages/librarieswidget.cpp \ - options-pages/fuzzerwidget.cpp \ - \ - settings/settings.cpp \ - settings/service.cpp \ - settings/libraries.cpp \ - settings/fuzzer.cpp \ - \ - fuzzer/fuzzerparamsdialog.cpp \ - fuzzer/fuzzerparamswidget.cpp \ - fuzzer/fuzzerrunner.cpp \ - fuzzer/fuzzerparamsprovider.cpp \ - \ - libraries/modulemetadataparser.cpp \ - libraries/generalmetadataparser.cpp \ - libraries/componentimporter.cpp \ - libraries/componentdirectorywatcher.cpp \ - libraries/componentlibraryprocessor.cpp \ - libraries/generalmetadataprocessor.cpp \ - libraries/componentlibrarydispatcher.cpp \ - libraries/librarystorage.cpp \ - libraries/metadatamodel.cpp \ - libraries/filemodel.cpp \ - libraries/metadatacheckstatehandler.cpp \ - \ - libraries/wizard/importcomponentwizard.cpp \ - libraries/wizard/selectsourcepage.cpp \ - libraries/wizard/selectcomponentspage.cpp \ - libraries/wizard/summarypage.cpp \ - libraries/wizard/metadatacomponentselector.cpp \ - libraries/wizard/filecomponentselector.cpp \ - libraries/wizard/relationslabelscontroller.cpp \ - libraries/wizard/vcshandler.cpp \ - libraries/wizard/modulestreeview.cpp \ - \ - messages/messageutils.cpp \ - messages/messagemanager.cpp \ - \ - icd/icdbuilder.cpp \ - \ - asn1acn.cpp \ - asneditor.cpp \ - asndocument.cpp \ - acneditor.cpp \ - acndocument.cpp \ - editor.cpp \ - asn1sccdocumentprocessor.cpp \ - parseddatastorage.cpp \ - astxmlparser.cpp \ - projectwatcher.cpp \ - document.cpp \ - asn1acnjsextension.cpp \ - asn1sccserviceprovider.cpp \ - asn1sccparseddocumentbuilder.cpp \ - projectcontenthandler.cpp \ - indenter.cpp \ - tools.cpp \ - linkcreator.cpp \ - referencefinder.cpp \ - filesourcereader.cpp \ - errormessageparser.cpp \ - typeslocator.cpp \ - modelvalidityguard.cpp \ - usagesfinder.cpp \ - toolsmenuimportitemcontroller.cpp \ - projectmenuimportitemcontroller.cpp\ - kitaspect.cpp \ - kitaspectwidget.cpp \ - selectionpositionresolver.cpp \ - asn1acnerrorparser.cpp \ - asn1acnstepscache.cpp \ - asn1acnbuildstep.cpp \ - asn1acnbuildsteprunner.cpp - -HEADERS += \ - completion/autocompleter.h \ - completion/asncompletionassist.h \ - completion/asnsnippets.h \ - completion/acnsnippets.h \ - completion/proposalsbuilder.h \ - completion/asnkeywordproposalsbuilder.h \ - completion/usertypesproposalsbuilder.h \ - completion/acnkeywordproposalsbuilder.h \ - completion/completionassist.h \ - completion/acncompletionassist.h \ - completion/keywordproposalsbuilder.h \ - completion/completiontypedefs.h \ - completion/importfindingvisitor.h \ - \ - data/sourcelocation.h \ - data/typeassignment.h \ - data/valueassignment.h \ - data/definitions.h \ - data/typereference.h \ - data/errormessage.h \ - data/node.h \ - data/root.h \ - data/file.h \ - data/project.h \ - data/visitor.h \ - data/visitorwithvalue.h \ - data/importedtype.h \ - data/importedvalue.h \ - \ - data/types/type.h \ - data/types/userdefinedtype.h \ - data/types/labeltype.h \ - data/types/builtintypes.h \ - \ - tree-views/outline-visitors/childrencountingvisitor.h \ - tree-views/outline-visitors/childreturningvisitor.h \ - tree-views/outline-visitors/indexfindingvisitor.h \ - \ - tree-views/combo-visitors/childrencountingvisitor.h \ - tree-views/combo-visitors/childreturningvisitor.h \ - tree-views/combo-visitors/indexfindingvisitor.h \ - \ - tree-views/typestree-visitors/parentreturningvisitor.h \ - tree-views/typestree-visitors/childrencountingvisitor.h \ - tree-views/typestree-visitors/childreturningvisitor.h \ - tree-views/typestree-visitors/indexfindingvisitor.h \ - \ - tree-views/displayrolevisitor.h \ - tree-views/decorationrolevisitor.h \ - tree-views/mutablerootmodel.h \ - tree-views/outlinemodel.h \ - tree-views/typestreemodel.h \ - tree-views/typestreeindexupdater.h \ - tree-views/model.h \ - tree-views/combomodel.h \ - tree-views/treeviewwidget.h \ - tree-views/activatehandler.h \ - tree-views/indexupdater.h \ - tree-views/outlineindexupdater.h \ - tree-views/unsynchronizedindexupdater.h \ - tree-views/synchronizedindexupdater.h \ - tree-views/outlinecombo.h \ - tree-views/outlinewidget.h \ - tree-views/typestreewidget.h \ - tree-views/expansionstaterestorer.h \ - tree-views/indexupdaterfactory.h \ - tree-views/typestreeindexupdaterfactory.h \ - tree-views/outlineindexupdaterfactory.h \ - \ - options-pages/service.h \ - options-pages/libraries.h \ - options-pages/fuzzer.h \ - options-pages/servicewidget.h \ - options-pages/librarieswidget.h \ - options-pages/fuzzerwidget.h \ - \ - settings/settings.h \ - settings/service.h \ - settings/libraries.h \ - settings/fuzzer.h \ - \ - fuzzer/fuzzerparamsdialog.h \ - fuzzer/fuzzerparamswidget.h \ - fuzzer/fuzzerrunner.h \ - fuzzer/fuzzerparamsprovider.h \ - \ - libraries/modulemetadataparser.h \ - libraries/generalmetadataparser.h \ - libraries/componentimporter.h \ - libraries/componentdirectorywatcher.h \ - libraries/componentlibraryprocessor.h \ - libraries/generalmetadataprocessor.h \ - libraries/componentlibrarydispatcher.h \ - libraries/librarystorage.h \ - libraries/metadatamodel.h \ - libraries/filemodel.h \ - libraries/metadatacheckstatehandler.h \ - \ - libraries/wizard/importcomponentwizard.h \ - libraries/wizard/selectsourcepage.h \ - libraries/wizard/selectcomponentspage.h \ - libraries/wizard/summarypage.h \ - libraries/wizard/metadatacomponentselector.h \ - libraries/wizard/componentselector.h \ - libraries/wizard/filecomponentselector.h \ - libraries/wizard/relationslabelscontroller.h \ - libraries/wizard/vcshandler.h \ - libraries/wizard/modulestreeview.h \ - \ - libraries/metadata/element.h \ - libraries/metadata/reference.h \ - libraries/metadata/submodule.h \ - libraries/metadata/module.h \ - libraries/metadata/library.h \ - libraries/metadata/general.h \ - libraries/metadata/librarynode.h \ - \ - messages/messageutils.h \ - messages/messagemanager.h \ - \ - icd/icdbuilder.h \ - \ - asn1acn_global.h \ - asn1acnconstants.h \ - asn1acn.h \ - asneditor.h \ - asndocument.h \ - acneditor.h \ - acndocument.h \ - editor.h \ - asn1sccdocumentprocessor.h \ - parseddatastorage.h \ - astxmlparser.h \ - projectwatcher.h \ - document.h \ - asn1acnjsextension.h \ - asn1sccserviceprovider.h \ - asn1sccparseddocumentbuilder.h \ - projectcontenthandler.h \ - indenter.h \ - tr.h \ - linkcreator.h \ - referencefinder.h \ - tools.h \ - parsingserviceprovider.h \ - parseddocumentbuilder.h \ - documentprocessor.h \ - sourcereader.h \ - filesourcereader.h \ - errormessageparser.h \ - typeslocator.h \ - modelvalidityguard.h \ - usagesfinder.h \ - toolsmenuimportitemcontroller.h \ - projectmenuimportitemcontroller.h \ - kitaspect.h \ - kitaspectwidget.h \ - selectionpositionresolver.h \ - asn1acnerrorparser.h \ - asn1acnstepscache.h \ - asn1acnbuildstep.h \ - asn1acnbuildsteprunner.h - -FORMS += \ - fuzzer/fuzzerparams.ui \ - \ - options-pages/service.ui \ - options-pages/libraries.ui \ - options-pages/fuzzer.ui \ - \ - libraries/wizard/import_component.ui \ - libraries/wizard/select_component.ui \ - libraries/wizard/summary.ui - -RESOURCES += \ - asn1acn.qrc - -DISTFILES += \ - LICENSE \ - README.md \ - schemas/asn1-lib-general-schema.json \ - schemas/asn1-lib-module-schema.json - -# test files - -equals(TEST, 1) { - -SOURCES += \ - libraries/tests/modulemetadataparser_tests.cpp \ - libraries/tests/generalmetadataparser_tests.cpp \ - libraries/tests/metadatamodel_tests.cpp \ - libraries/tests/filemodel_tests.cpp \ - libraries/tests/metadatacheckstatehandler_tests.cpp \ - \ - 3rdparty/tests/modeltest.cpp \ - \ - tree-views/tests/outlinemodel_tests.cpp \ - tree-views/tests/combomodel_tests.cpp \ - tree-views/tests/typestreemodel_tests.cpp \ - tree-views/tests/displayrolevisitor_tests.cpp \ - tree-views/tests/outlineindexupdater_tests.cpp \ - \ - tests/astxmlparser_tests.cpp \ - tests/errormessageparser_tests.cpp \ - tests/parseddocumentbuilder_tests.cpp \ - tests/documentprocessor_tests.cpp \ - tests/projectcontenthandler_tests.cpp \ - tests/parseddatastorage_tests.cpp \ - tests/autocompleter_tests.cpp \ - tests/modelvalidityguard_tests.cpp \ - tests/linkcreator_tests.cpp \ - tests/indenter_tests.cpp \ - tests/selectionpositionresolver_test.cpp \ - \ - tests/networkreply.cpp \ - tests/parsingserviceproviderstub.cpp \ - tests/parseddocumentbuilderstub.cpp \ - tests/documentprocessorstub.cpp \ - tests/sourcereadermock.cpp - -HEADERS += \ - libraries/tests/modulemetadataparser_tests.h \ - libraries/tests/generalmetadataparser_tests.h \ - libraries/tests/metadatamodel_tests.h \ - libraries/tests/filemodel_tests.h \ - libraries/tests/metadatacheckstatehandler_tests.h \ - \ - tree-views/tests/outlinemodel_tests.h \ - tree-views/tests/combomodel_tests.h \ - tree-views/tests/typestreemodel_tests.h \ - tree-views/tests/displayrolevisitor_tests.h \ - tree-views/tests/outlineindexupdater_tests.h \ - \ - 3rdparty/tests/modeltest.h \ - \ - tests/astxmlparser_tests.h \ - tests/errormessageparser_tests.h \ - tests/parseddocumentbuilder_tests.h \ - tests/documentprocessor_tests.h \ - tests/projectcontenthandler_tests.h \ - tests/parseddatastorage_tests.h \ - tests/autocompleter_tests.h \ - tests/modelvalidityguard_tests.h \ - tests/linkcreator_tests.h \ - tests/indenter_tests.h \ - tests/selectionpositionresolver_test.h \ - \ - tests/networkreply.h \ - tests/parsingserviceproviderstub.h \ - tests/parseddocumentbuilderstub.h \ - tests/documentprocessorstub.h \ - tests/sourcereadermock.h -} - -### Static files ### - -STATIC_FILES += \ - snippets/asn1.xml \ - snippets/acn.xml \ - generic-highlighter/syntax/asn1.xml \ - generic-highlighter/syntax/acn.xml \ - templates/wizards/files/acn/wizard.json \ - templates/wizards/files/acn/template.acn \ - templates/wizards/files/asn1/wizard.json \ - templates/wizards/files/asn1/template.asn \ - templates/wizards/files/asn1acn/wizard.json \ - templates/wizards/files/asn1acn/template.asn \ - templates/wizards/files/asn1acn/template.acn \ - templates/wizards/projects/asn1acn/wizard.json \ - templates/wizards/projects/asn1acn/template.asn \ - templates/wizards/projects/asn1acn/template.acn \ - templates/wizards/projects/asn1acn/file.pro \ - templates/wizards/projects/asn1acn/generateFromAsn1.pri \ - templates/wizards/projects/asn1acn/handleAsn1AcnBuild.pri \ - templates/wizards/projects/asn1acn/updateSourcesList.pri \ - templates/wizards/projects/asn1acn/CMakeLists.txt \ - templates/wizards/projects/asn1acn/asn1sccSettings.cmake \ - templates/wizards/projects/asn1acn/configureAsn1SccTarget.cmake \ - templates/wizards/projects/asn1acn/createFilesList.cmake - -STATIC_BASE = $$PWD -STATIC_OUTPUT_BASE = $$IDE_DATA_PATH -STATIC_INSTALL_BASE = $$INSTALL_DATA_PATH - -include($$IDE_SOURCE_TREE/qtcreatordata.pri) diff --git a/travis/dist.sh b/travis/dist.sh deleted file mode 100755 index e6f98393..00000000 --- a/travis/dist.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -source "${DIR}/setup-env.sh" - -echo "Preparing distro" - -echo "Copy lib" -if [[ $BUILD_OS_NAME == 'linux' ]]; then - mkdir -p ${DIST_DIR}/lib/qtcreator/plugins - cp ${QTC_BUILD_DIR}/lib/qtcreator/plugins/lib${PLUGIN_NAME}.so ${DIST_DIR}/lib/qtcreator/plugins - RESOURCE_DIST_DIR=${DIST_DIR}/share/qtcreator - LIBEXEC_DIST_DIR=${DIST_DIR}/libexec/qtcreator - OS_TAR_SUFFIX="linux-x64" -elif [[ $BUILD_OS_NAME == 'osx' ]]; then - mkdir -p ${DIST_DIR}/Contents/PlugIns - cp "${QTC_BUILD_DIR}/Qt Creator.app/Contents/PlugIns/lib${PLUGIN_NAME}.dylib" ${DIST_DIR}/Contents/PlugIns - RESOURCE_DIST_DIR=${DIST_DIR}/Contents/Resources - LIBEXEC_DIST_DIR=${RESOURCE_DIST_DIR} - OS_TAR_SUFFIX="osx" -fi - -echo "Downloading asn1scc to distribute with plugin" -wget -O ${DOWNLOAD_DIR}/asn1scc.7z "https://n7space-my.sharepoint.com/:u:/p/kgrochowski/EZSwzkHV-C1Mn1nppkUqKIcBjFpzsn67G_N_1RMW2Yr7dQ?download=1" -mkdir -p ${LIBEXEC_DIST_DIR} -7zr x -o${LIBEXEC_DIST_DIR} ${DOWNLOAD_DIR}/asn1scc.7z - -if [[ $BUILD_OS_NAME == 'linux' ]]; then - echo "Downloading asn1scc.Fuzzer to distribute with plugin" - wget -O ${DOWNLOAD_DIR}/fuzzer.7z "https://github.com/n7space/asn1scc.Fuzzer/releases/download/${FUZZER_VERSION}/asn1scc-Fuzzer-${FUZZER_VERSION}-linux-x64.tar.gz" - mkdir -p ${LIBEXEC_DIST_DIR} - pushd ${LIBEXEC_DIST_DIR} - tar -xvf ${DOWNLOAD_DIR}/fuzzer.7z - popd -fi - -echo "Downloading PUS-C lib to distribute with plugin" -wget -O ${DOWNLOAD_DIR}/pusc-lib.7z "https://github.com/n7space/asn1-pusc-lib/releases/download/${PUSC_VERSION}/Asn1Acn-PusC-Library-${PUSC_VERSION}.7z" -PUSC_LIB_DIR=${RESOURCE_DIST_DIR}/asn1acn/libs/PUS-C -mkdir -p ${PUSC_LIB_DIR} -7zr x -o${PUSC_LIB_DIR} ${DOWNLOAD_DIR}/pusc-lib.7z - -echo "Copy static files" -mkdir -p ${RESOURCE_DIST_DIR} -cp -r ${PROJECT_DIR}/generic-highlighter ${RESOURCE_DIST_DIR} -cp -r ${PROJECT_DIR}/templates ${RESOURCE_DIST_DIR} -cp -r ${PROJECT_DIR}/snippets ${RESOURCE_DIST_DIR} - -cp ${PROJECT_DIR}/LICENSE ${DIST_DIR}/${PLUGIN_NAME}-LICENSE -cp ${PROJECT_DIR}/README.md ${DIST_DIR}/${PLUGIN_NAME}-README.md - -echo "Creating package" -pushd ${DIST_DIR} -tar czf ${PROJECT_DIR}/${PLUGIN_NAME}-${TRAVIS_TAG}-${OS_TAR_SUFFIX}.tar.gz * -popd diff --git a/travis/fix_mac.sh b/travis/fix_mac.sh deleted file mode 100755 index 6c6451f6..00000000 --- a/travis/fix_mac.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -PLUGINPATH="${1}" - -otool -l "${PLUGINPATH}" | grep -e "name .*/Qt.*" | cut -d' ' -f 11 | sed "p;s|.*\(Qt.*\.framework\)|@rpath\/Frameworks\/\1|;s|$| \"${PLUGINPATH}\"|" | paste -d' ' - - | xargs -L 1 install_name_tool -change diff --git a/travis/install.sh b/travis/install.sh deleted file mode 100755 index 1394e8aa..00000000 --- a/travis/install.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -source "${DIR}/setup-env.sh" - -if [[ "$BUILD_OS_NAME" == "osx" ]]; then - brew update - brew install p7zip qt5 - brew link --force qt5 - - QT_BIN_LINK="http://download.qt.io/official_releases/qtcreator/${ENV_QTC_VERSION_SHORT}/${ENV_QTC_VERSION}/installer_source/mac_x64/qtcreator.7z" - -elif [[ $CI == "true" && "$BUILD_OS_NAME" == "linux" ]]; then - if [[ $ENV_WITH_TESTS == "1" ]]; then - QT_BIN_LINK="https://n7space-my.sharepoint.com/:u:/p/kgrochowski/EejPG4wmUcpPu8M0dedOglkBiaiEG1qUlpMlSqdG-oXzHw?download=1" - else - QT_BIN_LINK="http://download.qt.io/official_releases/qtcreator/${ENV_QTC_VERSION_SHORT}/${ENV_QTC_VERSION}/installer_source/linux_gcc_64_rhel72/qtcreator.7z" - fi -fi - -echo "Getting QtCreator's source..." -cd "${DOWNLOAD_DIR}" -wget "http://download.qt-project.org/official_releases/qtcreator/${ENV_QTC_VERSION_SHORT}/${ENV_QTC_VERSION}/qt-creator-opensource-src-${ENV_QTC_VERSION}.tar.gz" -tar xzf qt-creator-opensource-src-${ENV_QTC_VERSION}.tar.gz || exit 1 - -echo "Getting QtCreator's binaries..." -cd "${DOWNLOAD_DIR}" -wget "${QT_BIN_LINK}" -O qtcreator.7z -7zr x -o${QTC_BUILD_DIR} qtcreator.7z || exit 1 - -if [[ "$BUILD_OS_NAME" == "osx" ]]; then - cd ${QTC_BUILD_DIR} && ln -s ./ bin -fi diff --git a/travis/script.sh b/travis/script.sh deleted file mode 100755 index 33d9d974..00000000 --- a/travis/script.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -source "${DIR}/setup-env.sh" - -if [[ $CI == "true" && $BUILD_OS_NAME == 'linux' ]]; then - . /opt/qt512/bin/qt512-env.sh - QMAKE_PARAMS="-spec linux-g++" -fi - -if [[ $ENV_WITH_TESTS == "1" ]]; then - BUILD_TESTS="BUILD_TESTS=1" -fi - -echo "Building..." -cd "${BUILD_DIR}" -$CXX --version -echo "Executing qmake..." -set -x -qmake -v -qmake "${PROJECT_DIR}"/asn1acn.pro -r ${QMAKE_PARAMS} \ - CONFIG+=release \ - ${BUILD_TESTS} \ - QTC_SOURCE="${DOWNLOAD_DIR}/qt-creator-opensource-src-${ENV_QTC_VERSION}" \ - QTC_BUILD="${QTC_BUILD_DIR}" || exit 1 -set +x -echo "Executing make..." -make || exit 1 - -if [[ $ENV_WITH_TESTS == "1" && $BUILD_OS_NAME == 'linux' ]]; then - echo "Executing tests..." - ${QTC_BUILD_DIR}/bin/qtcreator -test "ASN.1/ACN" || exit 1 -fi diff --git a/travis/setup-env.sh b/travis/setup-env.sh deleted file mode 100755 index 5f9c459e..00000000 --- a/travis/setup-env.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -PROJECT_DIR="$( cd "${DIR}"/.. && pwd )" -BUILD_OS_NAME=${TRAVIS_OS_NAME:-linux} -BUILD_DIR_REL="${PROJECT_DIR}/../asn1scc.IDE-build" -BUILD_DIR="$( mkdir -p ${BUILD_DIR_REL} && cd ${BUILD_DIR_REL} && pwd )" -DOWNLOAD_DIR_REL="${PROJECT_DIR}/../downloads" -DOWNLOAD_DIR="$( mkdir -p ${DOWNLOAD_DIR_REL} && cd ${DOWNLOAD_DIR_REL} && pwd )" -QTC_BUILD_DIR_REL="${PROJECT_DIR}/../qtcbuild/" -QTC_BUILD_DIR="$( mkdir -p ${QTC_BUILD_DIR_REL} && cd ${QTC_BUILD_DIR_REL} && pwd )" -DIST_DIR_REL="${PROJECT_DIR}/../asn1scc.IDE-dist" -DIST_DIR="$( mkdir -p ${DIST_DIR_REL} && cd ${DIST_DIR_REL} && pwd )" -PLUGIN_NAME="Asn1Acn" - -echo "OS: ${BUILD_OS_NAME}" -echo "Project directory: ${PROJECT_DIR}" -echo "Build directory: ${BUILD_DIR}" -echo "Download directory: ${DOWNLOAD_DIR}" -echo "QtCreator build directory: ${QTC_BUILD_DIR}" From d90c678debbec2eaf03492f0339ff262ab38f1c0 Mon Sep 17 00:00:00 2001 From: Igor Jarek Date: Tue, 15 Mar 2022 00:06:01 +0100 Subject: [PATCH 2/3] update CI status in README.md --- .github/workflows/build_cmake.yml | 43 +++++++++++++++++++++++-------- Asn1Acn.json.in | 2 +- README.md | 3 +-- 3 files changed, 34 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index be67fb46..dedc9bfb 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -1,4 +1,4 @@ -name: Build plugin +name: Build asn1scc.IDE on: [push] @@ -21,20 +21,33 @@ jobs: matrix: config: - { - name: "Windows Latest MSVC", artifact: "Windows-x64", + name: "Windows 2019 MSVC", + artifact: "Windows-x64", os: windows-2019, cc: "cl", cxx: "cl", environment_script: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat", + tests: "OFF" } - { - name: "Ubuntu Latest GCC", artifact: "Linux-x64", + name: "Ubuntu Latest GCC", + artifact: "Linux-x64", os: ubuntu-latest, - cc: "gcc", cxx: "g++" + cc: "gcc", cxx: "g++", + tests: "OFF" } - { - name: "macOS Latest Clang", artifact: "macOS-x64", + name: "macOS Latest Clang", + artifact: "macOS-x64", os: macos-latest, - cc: "clang", cxx: "clang++" + cc: "clang", cxx: "clang++", + tests: "OFF" + } + - { + name: "Ubuntu Latest GCC - Tests", + artifact: "Linux-x64-Tests", + os: ubuntu-latest, + cc: "gcc", cxx: "g++", + tests: "ON" } steps: @@ -259,7 +272,7 @@ jobs: --qt-path "${{ steps.qt.outputs.qt_dir }}" --qtc-path "${{ steps.qt_creator.outputs.qtc_dir }}" --output-path "$ENV{GITHUB_WORKSPACE}" - --add-config=-DWITH_TESTS=ON + --add-config=-DWITH_TESTS=${{ matrix.config.tests }} --build-type=Release RESULT_VARIABLE result ) @@ -272,9 +285,12 @@ jobs: endif() - name: Run tests - if: ${{ runner.os == 'Linux' }} + if: ${{ matrix.config.tests == 'ON' }} shell: cmake -P {0} run: | + #Tests run only for Linux + #If statements are for future purpose + set(ENV{QT_QPA_PLATFORM} "offscreen") if ("${{ runner.os }}" STREQUAL "Linux") @@ -302,6 +318,7 @@ jobs: endif() - name: Build package + if: ${{ matrix.config.tests == 'OFF' }} shell: cmake -P {0} run: | set(package_content "package") @@ -370,6 +387,7 @@ jobs: ${package_filelist}) - uses: actions/upload-artifact@v2 + if: ${{ matrix.config.tests == 'OFF' }} id: upload_artifact with: path: ./${{ env.PLUGIN_NAME }}-${{ env.QT_CREATOR_VERSION }}-${{ matrix.config.artifact }}.7z @@ -411,15 +429,18 @@ jobs: matrix: config: - { - name: "Windows Latest x64", artifact: "Windows-x64.7z", + name: "Windows 2019 x64", + artifact: "Windows-x64.7z", os: ubuntu-latest } - { - name: "Linux Latest x64", artifact: "Linux-x64.7z", + name: "Linux Latest x64", + artifact: "Linux-x64.7z", os: ubuntu-latest } - { - name: "macOS Latest x64", artifact: "macOS-x64.7z", + name: "macOS Latest x64", + artifact: "macOS-x64.7z", os: macos-latest } diff --git a/Asn1Acn.json.in b/Asn1Acn.json.in index 9d65f556..a365a9e7 100644 --- a/Asn1Acn.json.in +++ b/Asn1Acn.json.in @@ -9,7 +9,7 @@ \"Url\" : \"https://n7space.com\", \"Category\" : \"Other Languages\", $$dependencyList, - + \"Mimetypes\" : \" diff --git a/README.md b/README.md index 05372ac3..73c58ab5 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # asn1scc.IDE Qt Creator plugin for asn1scc - ASN.1/ACN compiler for embedded systems -[![Build Status](https://travis-ci.org/n7space/asn1scc.IDE.svg?branch=master)](https://travis-ci.org/n7space/asn1scc.IDE) -[![Build status](https://ci.appveyor.com/api/projects/status/4vtpq8py5dc53s7b/branch/master?svg=true)](https://ci.appveyor.com/project/hcorg/asn1scc-ide/branch/master) +[![Build Status](https://github.com/n7space/asn1scc.IDE/actions/workflows/build_cmake.yml/badge.svg?branch=master)](https://github.com/n7space/asn1scc.IDE/actions/workflows/build_cmake.yml) ### [Project Home Page](https://n7space.github.io/asn1scc.IDE/) From 943c3d88e26d3c051fb8fae7589b984d6203b10c Mon Sep 17 00:00:00 2001 From: Konrad Grochowski Date: Tue, 22 Mar 2022 11:39:41 +0100 Subject: [PATCH 3/3] README.md - update status badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 73c58ab5..0a191fde 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # asn1scc.IDE Qt Creator plugin for asn1scc - ASN.1/ACN compiler for embedded systems -[![Build Status](https://github.com/n7space/asn1scc.IDE/actions/workflows/build_cmake.yml/badge.svg?branch=master)](https://github.com/n7space/asn1scc.IDE/actions/workflows/build_cmake.yml) +[![Build asn1scc.IDE](https://github.com/n7space/asn1scc.IDE/actions/workflows/build_cmake.yml/badge.svg?branch=master)](https://github.com/n7space/asn1scc.IDE/actions/workflows/build_cmake.yml) ### [Project Home Page](https://n7space.github.io/asn1scc.IDE/)