Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VSS Symbol Processing processor #11

Merged
merged 61 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from 56 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
a03e158
chore: Add missing types to proguard
Chrylo Aug 30, 2023
01e5403
chore: Add VSS processing module
Chrylo Aug 30, 2023
794b142
chore: Add symbol processing dependency
Chrylo Sep 4, 2023
18926ee
feature: Add VSS Symbol Processing processor
Chrylo Sep 4, 2023
a0173a6
chore: Move to org.eclipse package
Chrylo Sep 4, 2023
51b5a3e
chore: Use concrete types as data class parameter
Chrylo Sep 6, 2023
38bca3c
chore: Add comment to VssSpecification
Chrylo Sep 7, 2023
4402dda
chore: Add maven publish plugin
Chrylo Sep 7, 2023
90fb9e0
chore: Add nested classes
Chrylo Sep 8, 2023
9fe41c8
chore: Replace separator with ";"
Chrylo Sep 8, 2023
e19a1c8
chore: Increase target SDK to 34
Chrylo Sep 12, 2023
12b3bb5
chore: Add vss-core module
Chrylo Sep 19, 2023
0870531
chore: Add subscribe API for generated properties
Chrylo Sep 19, 2023
1a6bce1
chore: Add children and parent information to generated models
Chrylo Sep 19, 2023
45e225c
chore: Correct copying child specifications
Chrylo Sep 19, 2023
e9c07e0
chore: Add specifications view
Chrylo Sep 19, 2023
ee86e5a
chore: Improve suspend API methods for Java + Kotlin
Chrylo Sep 22, 2023
fea4452
chore: Improve output view to use a list instead of String
Chrylo Sep 22, 2023
e51a13f
chore: Add convenience extensions for heritage algorithms
Chrylo Sep 22, 2023
597e719
chore: Improve animation of data broker mode
Chrylo Sep 22, 2023
2d6ee49
chore: Extract YamlParser
Chrylo Sep 22, 2023
646d6d4
chore: Extract SpecModel from Processor
Chrylo Sep 25, 2023
2ad2d7c
chore: Change generated classes to CamelCase
Chrylo Sep 26, 2023
5fc42ab
chore: Move processing annotation to core module
Chrylo Sep 27, 2023
7777efb
chore: Add proguard rules for protobuf
Chrylo Sep 27, 2023
4721c9a
chore: Add missing copyright information
Chrylo Sep 27, 2023
32e0c92
chore: Extract generic compose views to compose extensions
Chrylo Sep 28, 2023
8348bc4
chore: Correct versioning
Chrylo Sep 29, 2023
d05391f
revert: DataBrokerEngine API
Chrylo Sep 29, 2023
4cd156d
chore: Add JvmOverloads annotation to generated classes
Chrylo Sep 29, 2023
72236cc
chore: Update AGP to 8.1.2
Chrylo Oct 2, 2023
9af5c27
test: Add VssSpecification copy extension tests
Chrylo Oct 2, 2023
73fd78b
test: Add VssSpecification DataBroker tests
Chrylo Oct 2, 2023
8fd0067
test: Add yaml parser tests
Chrylo Oct 4, 2023
e39329d
test: Add vssCore tests
Chrylo Oct 4, 2023
496716a
chore: Add set which remembers property subscription
Chrylo Oct 4, 2023
d94e1b6
chore: Update dependencies
Chrylo Oct 4, 2023
7b18851
chore: Fix parsing between Datapoint and VssProperty
Chrylo Oct 4, 2023
b9ea562
test: Fix copy with incompatible DataPoint test
Chrylo Oct 4, 2023
8f0eeb3
chore: Clearer variable names
Chrylo Oct 5, 2023
d5e11b8
test: Add yaml parser test for invalid .yaml
Chrylo Oct 5, 2023
89c8f2c
chore: Fix parsing if no value was set yet
Chrylo Oct 5, 2023
c2a25bb
chore: Disable incremental compilation for ksp
Chrylo Oct 6, 2023
5e8c866
test: Add SpecificationSpecModel tests
Chrylo Oct 6, 2023
5a4f97e
chore: Extract children logic from processor
Chrylo Oct 6, 2023
ccac27e
chore: Reduce redundant connection state code
Chrylo Oct 6, 2023
8d9a134
test: Add int32 and uint32 tests for the spec model
Chrylo Oct 6, 2023
ee3043a
chore: Optimize consumer-proguard rules
Chrylo Oct 9, 2023
61b34cc
docs: Improve documentation
Chrylo Oct 9, 2023
50d3d2e
Merge remote-tracking branch 'Eclipse/main' into feature-4
Chrylo Oct 9, 2023
32b95a5
Merge remote-tracking branch 'Eclipse/main' into feature-4
Chrylo Oct 10, 2023
2163071
chore: Adapt publish plugin for pure java modules
Chrylo Oct 10, 2023
19776bf
chore: Fix copy for string arrays
Chrylo Oct 10, 2023
1e1e790
chore: Fix proguard for multi parameter
Chrylo Oct 10, 2023
f2a860a
test: Fix tag import
Chrylo Oct 10, 2023
e4f9b6d
chore: Add milli seconds to timestamp
Chrylo Oct 10, 2023
d8c529c
chore: Fix missing copryight
Chrylo Oct 10, 2023
c9765aa
Merge remote-tracking branch 'Eclipse/main' into feature-4
Chrylo Oct 16, 2023
2f411f8
chore: Fix conflicts
Chrylo Oct 16, 2023
a043d0f
test: Fix test conflicts
Chrylo Oct 16, 2023
972f585
test: Add run config for all unit tests
Chrylo Oct 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Chrylo marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ local.properties

Chrylo marked this conversation as resolved.
Show resolved Hide resolved
# Log/OS Files
*.log
.DS_Store

# Android Studio generated files and folders
captures/
Expand Down
23 changes: 23 additions & 0 deletions .run/kuksa-sdk_UnitTests.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="kuksa-sdk:UnitTests" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value=":kuksa-sdk:testDebugUnitTest" />
</list>
</option>
<option name="vmOptions" value="-Dkotest.tags=&quot;Unit&quot;" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>
23 changes: 23 additions & 0 deletions .run/kuksa-vss-core_UnitTests.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="kuksa-vss-core:UnitTests" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value=":vss-core:test" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>
23 changes: 23 additions & 0 deletions .run/kuksa-vss-processor_UnitTests.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="kuksa-vss-processor:UnitTests" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$/vss-processor" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value=":vss-processor:test" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>
20 changes: 13 additions & 7 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
plugins {
id("com.android.application")
id("com.google.devtools.ksp")
kotlin("plugin.serialization")
kotlin("android")
}

android {
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
Expand All @@ -6,6 +13,7 @@ android {
kotlinOptions {
jvmTarget = libs.versions.jvmTarget.get()
}

buildFeatures {
compose = true
}
Expand Down Expand Up @@ -42,7 +50,10 @@ android {
isDebuggable = true

isMinifyEnabled = true
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro",
)
}
}
}
Expand All @@ -67,14 +78,9 @@ android {
}
}

plugins {
id("com.android.application")
kotlin("plugin.serialization") version "1.9.0"
kotlin("android")
}

dependencies {
implementation(project(":kuksa-sdk"))
ksp(project(":vss-processor"))

implementation(libs.androidx.appcompat)
implementation(libs.androidx.lifecycle.runtime.ktx)
Expand Down
Loading
Loading