Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
5276a4c
CinnamonToast v1.2.1 (0000004)
thebest12dev Mar 24, 2025
2068da2
CinnamonToast v1.3.0 (0000005)
thebest12dev Mar 26, 2025
6893960
CinnamonToast v1.4.0 (0000006)
thebest12dev Mar 30, 2025
49a9ee8
Add .rc files for each library and executable except tests
thebest12dev Mar 30, 2025
133e0db
Add test workflow
thebest12dev Mar 30, 2025
dd14a61
Change things in tests.yml
thebest12dev Mar 30, 2025
ee9e775
Use MSBuild instead of Ninja
thebest12dev Mar 30, 2025
0243b7b
Change things related to vcpkg
thebest12dev Mar 30, 2025
36d1420
Fix things related to vcpkg again
thebest12dev Mar 30, 2025
2f2329d
Fix pwd issue
thebest12dev Mar 30, 2025
577d9bf
Attempt to fix issues related to relative directory in workflow
thebest12dev Mar 30, 2025
bd5ec6c
Add quotation around the variable declaration
thebest12dev Mar 30, 2025
366c6c4
Attempt to fix tests.yml file
thebest12dev Mar 30, 2025
e8799ff
Use double quotes
thebest12dev Mar 30, 2025
9b17bc1
Add pkgconf as dependency
thebest12dev Mar 30, 2025
2d73b49
Add proper executable for pkgconf
thebest12dev Mar 30, 2025
15a708d
Make vcpkg install pkgconf
thebest12dev Mar 30, 2025
42c31aa
Attempt to fix issue
thebest12dev Mar 30, 2025
1a23fa7
Add some code to help find bug
thebest12dev Mar 30, 2025
d8fdb43
Add some mode code
thebest12dev Mar 30, 2025
016c514
Add pkgconf location
thebest12dev Mar 30, 2025
9c7423d
Remove code
thebest12dev Mar 30, 2025
ee428a3
Change JNI location
thebest12dev Mar 30, 2025
38b615b
Added Java distribution
thebest12dev Mar 30, 2025
419c32d
Change Java distribution
thebest12dev Mar 30, 2025
af94ec2
Change distribution again
thebest12dev Mar 30, 2025
1545c18
Change distribution
thebest12dev Mar 30, 2025
d75786e
Change to Zulu
thebest12dev Mar 30, 2025
0695dd6
Add debugging info
thebest12dev Mar 30, 2025
1a81aea
Add listing directory
thebest12dev Mar 30, 2025
899088e
Fix some things
thebest12dev Mar 30, 2025
d8d54eb
Add GitHub Actions tests.yml
thebest12dev Mar 30, 2025
176aa88
Add more things in tests.yml
thebest12dev Mar 30, 2025
9915609
Fix tests
thebest12dev Mar 30, 2025
cebe5f6
Attempted to fix MSBuild issue by switching to Ninja
thebest12dev Mar 30, 2025
0af5a0a
Fix error
thebest12dev Mar 30, 2025
f16aff5
Use Ninja as generator
thebest12dev Mar 30, 2025
f65b926
Fix a slight issue
thebest12dev Mar 30, 2025
479152a
Finish tests
thebest12dev Mar 30, 2025
23a5047
Attempt to fix
thebest12dev Mar 31, 2025
ea63e70
Fix a thing
thebest12dev Mar 31, 2025
81663e4
Resort to MSBuild
thebest12dev Mar 31, 2025
a86cf74
Snapshot 1.5.0+snapshot-2025c01a
thebest12dev Apr 5, 2025
f03bec2
Apply changes for last commit
thebest12dev Apr 5, 2025
e2caed1
Test nightly releases
thebest12dev Apr 6, 2025
67ed2ba
Fix indentation error
thebest12dev Apr 6, 2025
bdd0345
Try this configuration
thebest12dev Apr 6, 2025
69ca622
Test nightly.yml
thebest12dev Apr 6, 2025
0bf45d2
Try a configuration
thebest12dev Apr 6, 2025
94b970d
Test configuration
thebest12dev Apr 6, 2025
e64f06b
Test build
thebest12dev Apr 6, 2025
841d875
Don't push
thebest12dev Apr 6, 2025
c12336e
CinnamonToast v1.5.0
thebest12dev Apr 8, 2025
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 .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BasedOnStyle: "llvm"
3 changes: 3 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Checks: 'llvm-*'
ExtraArgs:
- '-Iout/x64-Debug/vcpkg_installed/x64-windows/include'
73 changes: 73 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: CinnamonToast Tests

on:
push:
branches:
- dev
pull_request:
branches:
- dev
- main

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '11' # You can specify other versions like '8', '17', etc.
distribution: 'zulu'

# Optional: Verify Java installation
- name: Verify JDK installation
run: java -version
- name: Set up MSVC and CMake
uses: microsoft/setup-msbuild@v1
with:
vs-version: 'latest'


# - name: Install Ninja
# run: |
# choco install ninja
- name: Set up vcpkg
run: |
# Install required tools and dependencies
echo "Setting up vcpkg"

# Clone the vcpkg repository
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg

# Bootstrap vcpkg to build it
./bootstrap-vcpkg.bat
cd..

./vcpkg/vcpkg install

- name: Configure with CMake
run: |
mkdir build
cd build
$VCPKG_PATH="$PWD/../vcpkg/scripts/buildsystems/vcpkg.cmake"
echo $VCPKG_PATH

cmake .. -G "Visual Studio 17 2022" -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="$VCPKG_PATH" -DPKG_CONFIG_EXECUTABLE="$PWD/../vcpkg/packages/pkgconf_x64-windows/tools/pkgconf/pkgconf.exe"

# Step 5: Build the project with MSBuild
- name: Build with MSBuild
run: |
cd build
cmake --build . --config Release

# Step 6: Run tests with CTest
- name: Run tests with CTest
run: |
cd build
dir
ctest -N
ctest -C Release --output-on-failure # Run tests and output on failure
16 changes: 10 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# Mono auto generated files
mono_crash.*
RC*20616

# Build results
[Dd]ebug/
Expand Down Expand Up @@ -145,7 +146,7 @@ _TeamCity*
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
coverage*.ctoastInfo

# Visual Studio code coverage results
*.coverage
Expand Down Expand Up @@ -188,7 +189,7 @@ publish/
*.publishproj

# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# checkin your Azure Web App publish settings, but sensitive ctoastInformation contained
# in these scripts will be unencrypted
PublishScripts/

Expand Down Expand Up @@ -218,7 +219,7 @@ rcf/
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
_pkgctoastInfo.txt
*.appx
*.appxbundle
*.appxupload
Expand Down Expand Up @@ -252,8 +253,8 @@ orleans.codegen.cs
Generated_Code/
main.dll
main.xml
CMakeSettings.json
lib
vcpkg.json
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
Expand Down Expand Up @@ -344,7 +345,7 @@ ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog

# NVidia Nsight GPU debugger configuration file
# NVidia Nsight GPU ctoastDebugger configuration file
*.nvuser

# MFractors (Xamarin productivity tool) working folder
Expand All @@ -366,4 +367,7 @@ MigrationBackup/
FodyWeavers.xsd

# 32067
secret/
secret/
/.vscode
build
/.github/workflows/nightly.yml
18 changes: 16 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
# v1.4.0 (2025-03-30)
- Added C and Java bindings
- Use LLVM coding convention
- Used clang-tidy and clang-format
- Fixed bugs

# v1.3.0 (2025-03-26)
- Added notifications
- Added tests
- Fixed bugs

# v1.2.1 (2025-03-24)
- Fixed a bug where the window controls disappear

# v1.2.0 (2025-03-24)
- Added support for Lua scripting
- Fixed some bugs
- Added some error codes
- Added some ctoastError codes
- Added a whole new Lua API for interfacing with the C++ code
- Added a new module (lua) for handling Lua instances

# v1.1.0 (2025-03-19)
- Added shared library APIs (rudimentary)
- Added support for DLL loading (for code injection)
- Revamped .xml format to support shared libraries
- Added some error codes
- Added some ctoastError codes

# v1.0.0 (unknown date)
- Initial release
Loading