Browse Source

Version 0.2.0

Alexey Edelev 5 years ago
parent
commit
6a8f5622b9
7 changed files with 26 additions and 5 deletions
  1. 1 0
      .github/workflows/branchpush.yml
  2. 2 3
      .github/workflows/tagadd.yml
  3. 1 0
      .travis.yml
  4. 18 0
      CHANGES.txt
  5. 2 1
      CMakeLists.txt
  6. 1 0
      README.md
  7. 1 1
      tests/test_qml/qml/tst_simple.qml

+ 1 - 0
.github/workflows/branchpush.yml

@@ -5,6 +5,7 @@ on:
     branches: 
      - master
      - 0.1.0
+     - 0.2
      - ci_check
 jobs:
   build-ubuntu:

+ 2 - 3
.github/workflows/tagadd.yml

@@ -1,12 +1,11 @@
 name: Release build
 
 on:
-  create:
-    tags:
-      - v*
   push:
     branches:
       - ci_check
+    tags:
+      - 'v*'
 jobs:
   build-deb:
     name: Build release packages

+ 1 - 0
.travis.yml

@@ -4,6 +4,7 @@ branches:
   only:
   - master
   - 0.1.0
+  - 0.2
   - ci_check
 before_install:
   - wget -q https://download.qt.io/official_releases/qt/5.13/5.13.2/qt-opensource-windows-x86-5.13.2.exe

+ 18 - 0
CHANGES.txt

@@ -1,3 +1,21 @@
+2020-02-26 version 0.2.0 (generator/QtProtobuf)
+
+    QtProtobuf
+    * Rename generate_qtprotobuf to qtprotobuf_generate
+    * Migrate to new types registration approach. All protobuf types including generated might be registred by calling 'QtProtobuf::qRegisterProtobufTypes()'
+    * Add basic qmake build procedures support
+    * Update well-known types registration. Migrate to common types registration
+    * Add .deb package generation based on CPack
+    * Add static build support
+    * Migate to options-based parameters for qtprotobuf_generate
+    * Migrate to whole-archive linking for generated code
+    * Supress boringssl warning when compile for windows
+    generator
+    * Align cmake variable names to unified style
+    * Add folder-based generation for multi and single file generators
+    * Add code annotations generation
+    * Fix headers for generated enums when QML enabled
+
 2020-01-21 version 0.1.1 (generator/QtProtobuf/QtGrpc)
 
     QtProtobuf

+ 2 - 1
CMakeLists.txt

@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 3.6)
 
-set(QT_PROTOBUF_VERSION 0.1.1)
+set(QT_PROTOBUF_VERSION 0.2.0)
 set(QT_PROTOBUF_PROJECT QtProtobufProject)
 
 project(${QT_PROTOBUF_PROJECT} VERSION ${QT_PROTOBUF_VERSION} LANGUAGES CXX)
@@ -92,6 +92,7 @@ if(DEFINED DOXYGEN_EXECUTABLE)
     configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doxygen/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
     configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doxygen/customdoxygen.css ${CMAKE_CURRENT_BINARY_DIR}/customdoxygen.css COPYONLY)
     configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doxygen/header.html ${CMAKE_CURRENT_BINARY_DIR}/header.html COPYONLY)
+    file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/doxygen/html)
     configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doxygen/TitilliumWeb.woff2 ${CMAKE_CURRENT_BINARY_DIR}/doxygen/html/TitilliumWeb.woff2 COPYONLY)
 
     add_custom_target(doc

+ 1 - 0
README.md

@@ -10,6 +10,7 @@ gRPC and Protobuf generator and bindings for Qt framework
 | --- | --- | --- |
 | [master](https://github.com/semlanik/qtprotobuf/tree/master) | ![](https://github.com/semlanik/qtprotobuf/workflows/Test%20Verification/badge.svg?branch=master) | ![](https://travis-ci.com/semlanik/qtprotobuf.svg?branch=master) |
 | [0.1.0](https://github.com/semlanik/qtprotobuf/tree/0.1.0) | ![](https://github.com/semlanik/qtprotobuf/workflows/Test%20Verification/badge.svg?branch=0.1.0) | ![](https://travis-ci.com/semlanik/qtprotobuf.svg?branch=0.1.0) |
+| [0.2](https://github.com/semlanik/qtprotobuf/tree/0.2) | ![](https://github.com/semlanik/qtprotobuf/workflows/Test%20Verification/badge.svg?branch=0.2) | ![](https://travis-ci.com/semlanik/qtprotobuf.svg?branch=0.2) |
 
 
 # Table of contents

+ 1 - 1
tests/test_qml/qml/tst_simple.qml

@@ -26,7 +26,7 @@
 import QtQuick 2.12
 import QtTest 1.0
 
-import QtProtobuf 0.1
+import QtProtobuf 0.2
 import qtprotobufnamespace.tests 1.0
 
 TestCase {