Compare commits

..

162 commits

Author SHA1 Message Date
339c9ee2c2
feat(zlog)!: JSON logging support
Some checks failed
Build Zenyx ⚡ / 🔧 Setup Environment (push) Failing after 56s
Build Zenyx ⚡ / 🏗️ Build aarch64-unknown-linux-gnu (push) Has been skipped
Build Zenyx ⚡ / 🏗️ Build x86_64-unknown-linux-gnu (push) Has been skipped
Build Zenyx ⚡ / 🏗️ Build x86_64-pc-windows-msvc (push) Has been skipped
Build Zenyx ⚡ / 🔧 Setup Environment (pull_request) Failing after 53s
Build Zenyx ⚡ / 🏗️ Build aarch64-unknown-linux-gnu (pull_request) Has been skipped
Build Zenyx ⚡ / 🏗️ Build x86_64-unknown-linux-gnu (pull_request) Has been skipped
Build Zenyx ⚡ / 🏗️ Build x86_64-pc-windows-msvc (pull_request) Has been skipped
2025-04-19 13:48:26 -04:00
6815a113cc
Revert "feat(ci): use cargo zibuild & xbuild"
This reverts commit 87d810aff3.
2025-04-19 00:00:46 -04:00
630d13ebb2
Revert "fix(ci): ensure node is installed"
This reverts commit cb91bde7f8.
2025-04-18 23:59:21 -04:00
cb91bde7f8
fix(ci): ensure node is installed
Some checks failed
Build Zenyx ⚡ / Build aarch64-unknown-linux-gnu (push) Failing after 5s
Build Zenyx ⚡ / Build universal2-apple-darwin (push) Failing after 5s
Build Zenyx ⚡ / Build x86_64-unknown-linux-gnu (push) Failing after 4s
Build Zenyx ⚡ / Build x86_64-pc-windows-msvc (push) Failing after 4s
2025-04-18 23:56:51 -04:00
87d810aff3
feat(ci): use cargo zibuild & xbuild
Some checks failed
Build Zenyx ⚡ / Build aarch64-unknown-linux-gnu (push) Failing after 7s
Build Zenyx ⚡ / Build universal2-apple-darwin (push) Failing after 5s
Build Zenyx ⚡ / Build x86_64-unknown-linux-gnu (push) Failing after 5s
Build Zenyx ⚡ / Build x86_64-pc-windows-msvc (push) Failing after 4s
2025-04-18 23:22:32 -04:00
da1d7603d2
feat(ci): seperate build and setup jobs
Some checks failed
Build Zenyx ⚡ / 🔧 Setup Environment (push) Failing after 55s
Build Zenyx ⚡ / 🏗️ Build aarch64-unknown-linux-gnu (push) Has been skipped
Build Zenyx ⚡ / 🏗️ Build x86_64-unknown-linux-gnu (push) Has been skipped
Build Zenyx ⚡ / 🏗️ Build x86_64-pc-windows-msvc (push) Has been skipped
2025-04-18 23:06:10 -04:00
5f815e3bd2
fix(cicd): remove unneeded docker setup
Some checks failed
Build Zenyx ⚡ / Build aarch64-unknown-linux-gnu (push) Failing after 2m12s
Build Zenyx ⚡ / Build powerpc64le-unknown-linux-gnu (push) Failing after 1m26s
Build Zenyx ⚡ / Build riscv64gc-unknown-linux-gnu (push) Failing after 1m31s
Build Zenyx ⚡ / Build s390x-unknown-linux-gnu (push) Failing after 1m34s
Build Zenyx ⚡ / Build x86_64-unknown-linux-gnu (push) Failing after 1m21s
Build Zenyx ⚡ / Build x86_64-pc-windows-gnu (push) Failing after 1m27s
Build Zenyx ⚡ / Build x86_64-pc-windows-msvc (push) Failing after 2m1s
2025-04-18 22:01:35 -04:00
4c1ed2965a
chore(nix): cleanup and update flake 2025-04-19 00:04:17 +02:00
b0926092b5
feat: add obj model loading
Co-authored-by: Chance <caznix01@gmail.com>
2025-04-18 23:45:11 +02:00
f1f0e5e72b
fix: LICENSE copyright attribution
Some checks failed
Build Zenyx ⚡ / Build aarch64-unknown-linux-gnu (push) Has been cancelled
Build Zenyx ⚡ / Build powerpc64le-unknown-linux-gnu (push) Has been cancelled
Build Zenyx ⚡ / Build riscv64gc-unknown-linux-gnu (push) Has been cancelled
Build Zenyx ⚡ / Build s390x-unknown-linux-gnu (push) Has been cancelled
Build Zenyx ⚡ / Build x86_64-unknown-linux-gnu (push) Has been cancelled
Build Zenyx ⚡ / Build x86_64-pc-windows-gnu (push) Has been cancelled
Build Zenyx ⚡ / Build x86_64-pc-windows-msvc (push) Has been cancelled
2025-04-18 16:52:03 -04:00
5424e63bad
fix(ci): renamed .gitlab to .forgejo, corrected workflow name
Some checks failed
Build Zenyx ⚡ / Build aarch64-unknown-linux-gnu (push) Has been cancelled
Build Zenyx ⚡ / Build powerpc64le-unknown-linux-gnu (push) Has been cancelled
Build Zenyx ⚡ / Build riscv64gc-unknown-linux-gnu (push) Has been cancelled
Build Zenyx ⚡ / Build s390x-unknown-linux-gnu (push) Has been cancelled
Build Zenyx ⚡ / Build x86_64-unknown-linux-gnu (push) Has been cancelled
Build Zenyx ⚡ / Build x86_64-pc-windows-gnu (push) Has been cancelled
Build Zenyx ⚡ / Build x86_64-pc-windows-msvc (push) Has been cancelled
2025-04-18 16:44:52 -04:00
2c12251b97
wip(rendering): obj model loading 2025-04-18 15:53:56 -04:00
cebbe121cc
fix(rendering): enable alpha blending 2025-04-18 14:22:52 -04:00
9069e2d319
fix(android): properly destroy windows on suspend 2025-04-18 14:06:38 -04:00
766ed81987
feat(android): basic android support via winit native activity 2025-04-17 23:07:15 -04:00
aa655a84d3
feat(rendering): rendering textures with camera
Co-authored-by: BitSyndicate <contact@bitsyndicate.de>
2025-04-17 20:51:18 -04:00
506c9a1146
feat: set max loglevel in logger configuration 2025-04-16 12:59:42 -04:00
5a27470896
feat: add the ability to open and close new windows 2025-04-16 12:59:42 -04:00
53ad206e5c
fix(ci): add missing vulkan libraries 2025-04-15 23:52:20 -04:00
7c4d0fa37c
fix: add .vscode to .gitignore 2025-04-15 23:51:24 -04:00
aefb3fd97b
feat: basic triangle rendering 2025-04-16 01:24:10 +00:00
fff9c1562c feat: event based non-blocking logger 2025-04-15 20:08:58 +00:00
28395167f0
feat: fix apt not finding gcc in ci/cd 2025-04-13 20:32:43 -04:00
df6c30e91f
feat: add cross compilation without cargo-cross 2025-04-13 20:18:41 -04:00
c770784712
feat: make ci/cd pipeline multi-target 2025-04-13 19:34:30 -04:00
e2755a5f38
feat: simplify ci/cd pipeline 2025-04-13 19:19:13 -04:00
9f528111bb
feat: add a WIP ci/cd pipeline 2025-04-13 19:13:24 -04:00
ca0eb764ad Update .gitlab-ci.yml file 2025-04-13 23:06:48 +00:00
a85d614f3d
chore: modify readme to use up to date information 2025-04-13 19:01:56 -04:00
7c95a0b38b
feat: modify flakenix to include cargo utils 2025-04-13 16:08:18 -04:00
dce7c5520a chore: broaden the support of ci/cd 2025-04-12 22:24:07 -04:00
e5e62b3cb2 wip: push logs to a dedicated buffer 2025-04-12 21:03:31 -04:00
5171799e52 refactor: A new beginning 2025-04-11 20:17:24 -04:00
d0d85a4ba0 move Cross.toml to engine folder 2025-04-11 16:33:46 -04:00
d1e2d2d986 seperate nested cross commands 2025-04-11 16:30:28 -04:00
ae12a9a942 fix: temporarily switch to codeberg-small 2025-04-11 16:27:33 -04:00
488472dd6f fix: configure cross with Cross.toml 2025-04-11 16:10:11 -04:00
cb9700ae29 fix: specify docker in docker 2025-04-11 15:51:27 -04:00
51556cef41 fix: cross cant find cargo 2025-04-11 15:08:18 -04:00
1a0eadbc14 Merge branch 'main' of codeberg.org:Caznix/Zenyx 2025-04-11 14:50:52 -04:00
9528a253c6 fix:manually set up docker-in-docker 2025-04-11 14:50:34 -04:00
Speedy_Lex
7ac6364c99 Fix getting cache info on aarch64 2025-04-11 17:55:59 +00:00
01c5b4961b properly specify artifact uses 2025-04-11 13:44:08 -04:00
f3103cee30 feat:rework ci/cd to use cargo-cross 2025-04-11 13:42:20 -04:00
56f842b3f0 build: remove unused .cargo folder 2025-04-11 13:29:00 -04:00
Speedy_Lex
58d742fcee Try fix CI artifacts 2025-04-11 19:18:21 +02:00
Speedy_Lex
102d13bf00 Fix windows hanging on main window close 2025-04-11 18:55:43 +02:00
7c7add3125 fix: typo in arrch in workflow 2025-04-10 22:58:54 -04:00
f702cd91e0 fix: sudo not intalled on runners 2025-04-10 22:57:19 -04:00
1bf9865062 fix: specify github source for actions-rs 2025-04-10 22:54:55 -04:00
4e3325e422
fix: pkg-config cannot cross compile to different architectures 2025-04-10 17:04:22 -04:00
75c755847e
fix: dont use codeberg's broken ci/cd runners 2025-04-10 16:55:40 -04:00
1dd9a987f2
fix: workflow fails due to long file names 2025-04-10 16:29:33 -04:00
8b4a87328b
fix: ci/cd workflow doesnt properly compile wayland 2025-04-10 16:26:11 -04:00
f3346d54f1
change github workflow to be forgejo compatible 2025-04-10 16:11:17 -04:00
b9a758b581
build: remove unused rust-toolchain.toml 2025-04-10 15:01:31 -04:00
0acbbcf9f6
feat: basic GUI terminal when pressing F12 2025-04-10 14:26:52 -04:00
bb9bca8ca5
chore: run clippy and cargo fmt on pending changes 2025-04-07 23:06:48 -04:00
6efaf7a291
fix: build script generates dead code warnings if versioning data is not used 2025-04-07 22:21:50 -04:00
7c3fa95566
build: remove regex dependency in favor of rust iterators 2025-04-07 22:11:38 -04:00
29f1cf68bf
fix: running default Nix package doesnt provide runtime libraries 2025-04-07 14:04:48 -04:00
7739275353 feat: add more useful debug information to system metadata 2025-04-03 18:21:19 -04:00
4a46c0e438 update panic handler with system information 2025-04-03 16:05:52 -04:00
9088d0aa49 add window icon 2025-04-03 01:37:53 -04:00
7d4f7cbc1d fix creating two event loops at once 2025-04-03 01:03:47 -04:00
5a3a5d3e3d Merge branch 'main' of codeberg.org:Caznix/Zenyx 2025-04-03 01:02:53 -04:00
43fd5966b7 improve error handling and add metadata 2025-04-03 01:00:24 -04:00
1aabc260f6
improve error handling 2025-04-01 18:05:17 -04:00
b02581e62d
cross compile for windows and macOS 2025-04-01 18:05:07 -04:00
13893e96a9
show dialog on panic 2025-03-30 02:54:07 -04:00
Caznix
3b2281b15a Merge pull request 'Improve rendering and reduce rendering related crashes' (#5) from error_handling into main
Reviewed-on: https://codeberg.org/Caznix/Zenyx/pulls/5
2025-03-30 00:22:56 +00:00
7cd954a48a
formatting 2025-03-29 20:20:53 -04:00
91af33858a
remove unneeded clone 2025-03-29 01:32:07 -04:00
8097441fee
load arbitrary model data 2025-03-29 01:31:16 -04:00
358dd3a6bc
refactor renderer into smaller functions 2025-03-26 17:32:13 -04:00
10536132d1
include runtime dependencies in default package 2025-03-25 16:00:12 -04:00
ed34343dfc
close all windows if the main window is destroyed 2025-03-25 15:33:08 -04:00
0333e1f676
fix selecting wrong window for key events 2025-03-25 15:13:57 -04:00
Caznix
709247869d Merge pull request 'multi window support' (#2) from rendering into main
Reviewed-on: https://codeberg.org/Caznix/Zenyx/pulls/2
2025-03-25 05:42:15 +00:00
Caznix
0bf47bc0bb Merge branch 'main' into rendering 2025-03-25 05:41:53 +00:00
6b0fa904d5
fix multi window support 2025-03-25 01:40:46 -04:00
6c22854407
rename build.nix to default.nix 2025-03-25 00:54:34 -04:00
3ec3da4136
exit event loop properly 2025-03-25 00:32:49 -04:00
6bf36a148d
convert the vec of windows to a hashmap 2025-03-24 23:26:33 -04:00
09d69bf78d
wip: attempt to close winit window (?) 2025-03-24 23:21:05 -04:00
36431b4654
wip:handle spawning multiple windows 2025-03-24 19:42:32 -04:00
Caznix
36860b4fa5 Merge pull request 'input_test' (#1) from input_test into main
Reviewed-on: https://codeberg.org/Caznix/Zenyx/pulls/1
2025-03-24 22:13:44 +00:00
26cc5f3e79
press esc to change bg color 2025-03-24 18:08:00 -04:00
883df3ee94
format rust and nix files 2025-03-22 21:58:27 -04:00
f98799fc77
Merge branch 'rendering' 2025-03-22 21:40:27 -04:00
d0ca2274fa
deprecate and remove zlua 2025-03-22 19:19:02 -04:00
b270f3066f
proper 3d projection 2025-03-22 18:19:32 -04:00
9fec65ebc0
Merge pull request #23 from Zenyx-Engine/core_update
core update
2025-02-04 05:12:00 -05:00
159c1ff592
Merge branch 'main' into core_update 2025-02-04 05:11:52 -05:00
894203be53 cube 2025-02-04 05:10:53 -05:00
d5adbbd0f6 remove welcome message to save terminal space 2025-01-23 17:56:46 -05:00
73c209949b
Merge pull request #22 from Zenyx-Engine/dependabot/cargo/colored-3.0.0
Update colored requirement from 2.2.0 to 3.0.0
2025-01-19 15:36:44 -05:00
dependabot[bot]
231f8eb27d
Update colored requirement from 2.2.0 to 3.0.0
Updates the requirements on [colored](https://github.com/mackwic/colored) to permit the latest version.
- [Release notes](https://github.com/mackwic/colored/releases)
- [Changelog](https://github.com/colored-rs/colored/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mackwic/colored/compare/v2.2.0...v3.0.0)

---
updated-dependencies:
- dependency-name: colored
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 20:38:00 +00:00
df42ef71f4 update workflow to use nightly 2025-01-11 15:30:35 -05:00
4c969b7e93 finally fix workflow i hope 2025-01-11 15:28:01 -05:00
47c67fb480 remove categories 2025-01-11 15:12:18 -05:00
9a2cdd0cda
Merge pull request #21 from GhostedGaming/main
Added Lua standard library
2025-01-02 14:34:30 -05:00
GhostedGaming
db0113b5ab Removed Problems 2025-01-01 22:32:11 -05:00
GhostedGaming
c49999a315 Text editor (WIP) 2024-12-24 21:51:56 -05:00
GhostedGaming
ac2ceb4c78 Added better syntax 2024-12-24 13:40:14 -05:00
GhostedGaming
ec09b69e4c Imported the whole library and now we have alot more functtions (sorry caz) 2024-12-24 13:09:20 -05:00
GhostedGaming
c4cc4152b6 Working if statement
partially
2024-12-24 03:35:41 -05:00
4ed271c982
Merge pull request #19 from GhostedGaming/main
Added a file for zlua and made a new function
2024-12-23 23:16:42 -05:00
GhostedGaming
c61c8b8051 Added a file for zlua and made a new function 2024-12-23 23:14:11 -05:00
93995ac62a
ZLUA REPL!!!!! (#18) 2024-12-21 16:28:32 -05:00
dba07c4adf
polish repl (#17)
* add less daunting panic message on release builds
2024-12-21 14:35:55 -05:00
a1d8b65397
change cargo.toml name (#14)
* 🔥🔥🔥🔥🔥

* make workflow use nightly

* remove code quality checks temporarily

* fix check version i think

* build for windowsARM

* forgot to specify target

* change cargo.toml to zenyx to fix workflow
2024-12-19 21:29:33 -05:00
b071481093
specify windows arm target (#13)
* 🔥🔥🔥🔥🔥

* make workflow use nightly

* remove code quality checks temporarily

* fix check version i think

* build for windowsARM

* forgot to specify target
2024-12-19 21:21:39 -05:00
915a738b0c
windows ARM workflow (#12) 2024-12-19 21:07:08 -05:00
470b934fb8
burn everything to the ground (#11)
🔥🔥🔥🔥🔥
2024-12-19 20:54:46 -05:00
3aba3aea1c
Improve repl autocorrect and error handling
* Combine comparison algorithims for autocorrect

* clear zephyr functions

* remove redundant comments because co-pilot is stupid and i probably will never try to use it again

* implement basic tab completion

* fix unused items

* Make workflow check code quality

* split code quality into its own file

* make action fail on bad formatting

* change workflow to nightly

* f it, code quality is considered breaking

* fix forgetting to set toolchain back to nightly when rewriting workflow (😔)

* Add condition for too little arguments

* run cargo fmt

* remove unneeded feature directive
2024-12-09 20:28:28 -05:00
b4f31785d4
Merge pull request #8 from Zenyx-Engine/improve-repl
Improve repl
2024-12-06 19:44:36 -05:00
e4a45eee82 apply clippy changes 2024-12-06 16:57:52 -05:00
8d1f838a68 fix formatting 2024-12-06 16:55:49 -05:00
4d2383d54c fix tokio runtime stack overflow due to recursion 2024-12-06 16:20:16 -05:00
48bdd140e2 exec .zenshell files + shell extensions
Co-authored-by: Tristan Poland (Trident_For_U) <tristanpoland@users.noreply.github.com>
2024-12-06 15:54:31 -05:00
b289e3d26b check command similarity 2024-12-06 11:19:12 -05:00
8dc0765f78 change the look of autocompletion 2024-12-06 10:56:18 -05:00
e1aad59ab5 make repl support strings via both double and single quotes 2024-12-05 17:05:20 -05:00
4926e03fdc fix unwrap errors 2024-12-05 11:16:40 -05:00
ecad886ed9 add rust formatting rules 2024-12-05 11:00:08 -05:00
8dd059871a print logging state upon change 2024-12-05 10:46:36 -05:00
ac94f494d8
Merge pull request #7 from eatmynerds/rustyline-keyevents
Rustyline KeyEvents
2024-12-05 10:29:55 -05:00
eatmynerds
4e688729e6 Control logging using key events 2024-12-05 01:33:44 -06:00
3749bc3e19 Merge branch 'main' of https://github.com/Caznix/Zenyx 2024-12-03 18:19:52 -05:00
6f1595e6aa Add release checking to rust workflow 2024-12-03 18:19:40 -05:00
e76f7ccf34
Create dependabot.yml 2024-12-03 18:15:01 -05:00
ef79572d4f update main readme and add readme for Zephyr 2024-12-03 14:22:27 -05:00
341c141ade add zephyr ECS subcrate 2024-12-03 01:12:33 -05:00
e1d3537b6f Add press kit section 2024-12-03 01:12:03 -05:00
7bb01d9b91 Remove seperate editor and xtask 2024-12-02 18:57:00 -05:00
41ebe4bbd5 replace reedline with rustyline 2024-12-02 15:43:39 -05:00
507af5f23e improve formatting 2024-12-02 15:10:17 -05:00
40a0022584 bump logo size 2024-12-02 14:26:37 -05:00
fd9cc13108 WIP readme with branding 2024-12-02 14:19:00 -05:00
ce29304de5 Merge branch 'main' of https://github.com/Caznix/Zenyx 2024-12-02 12:51:37 -05:00
Jason Spalti
ceeec877c7
Refactor logging system to switch between stdout and file logging
* Refactor logging to switch between stdout and file logging

* Use "clear" instead of "tput reset" for unix

* Remove redundant comments
2024-12-02 12:51:39 -05:00
7e19c4e08c remove --verbose from tests 2024-12-02 12:49:08 -05:00
f76dc9cf24
Merge pull request #1 from eatmynerds/repl
Add descriptions to commands and improve REPL display formatting
2024-12-02 01:05:14 -05:00
Jason Spalti
7846128567 Add descriptions to commands and improve REPL display formatting 2024-12-01 23:52:12 -06:00
11dd39349d draw with wgpu 2024-12-01 22:58:52 -05:00
78a980c9c3 WINIT WINDOW!!!! 2024-12-01 20:50:11 -05:00
9176ac48a0 no windows on arm 😔 2024-12-01 19:58:26 -05:00
2d7b5b9687 test of github actions will actually use aarch64 this time 2024-12-01 19:53:17 -05:00
754c2c21d3 rename output file to bin instead of binary 2024-12-01 19:46:45 -05:00
7443bb6917 un seperate them cuz they compile twice? 2024-12-01 19:45:15 -05:00
05c43422e9 seperate jobs 2024-12-01 19:35:48 -05:00
a97cbd3cb0 run aarch64 in qemu??? im running out of ideas 2024-12-01 19:01:09 -05:00
519d85b1f5 disable fail-fast 2024-12-01 18:54:26 -05:00
b5c07eb283 idfk at this point 2024-12-01 18:53:22 -05:00
e41731ee0b cross tools 2024-12-01 18:50:47 -05:00
583681cd71 only include binaries 2024-12-01 18:47:33 -05:00
882e8b2f2f nvm 2024-12-01 18:43:33 -05:00
24a2713862 maybe arm? 2024-12-01 18:41:00 -05:00
94bdc67be2 fix cross compilation? 2024-12-01 18:32:55 -05:00
4d652ae030 fix foreign architectures 2024-12-01 18:27:09 -05:00
39ad7daa1a Merge branch 'main' of https://github.com/Caznix/Zenyx 2024-12-01 18:23:23 -05:00

Diff content is not available