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

Release 1.0.0-rc.1 #1605

Closed
wants to merge 344 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
344 commits
Select commit Hold shift + click to select a range
d4714e7
refactor: use LL_EBO instead of raw __declspec.
Redbeanw44602 Aug 19, 2024
9c3ca89
refactor: add platform-related impl of Memory. (partial)
Redbeanw44602 Aug 19, 2024
75bd3ca
fix: add missing includes.
Redbeanw44602 Aug 19, 2024
37abf22
fix: add missing macro.
Redbeanw44602 Aug 19, 2024
8e9cacc
refactor: refactoring virtual memory alloc
OEOTYAN Aug 20, 2024
2499530
chore: fix typo
OEOTYAN Aug 20, 2024
7327ce9
chore: add another mc postfix
OEOTYAN Aug 20, 2024
61b05ed
fix: fix linux self maps reader
OEOTYAN Aug 22, 2024
580ac1b
fix: add hints for double enable/disable
OEOTYAN Aug 23, 2024
a024b8c
refactor: refactoring event system
OEOTYAN Aug 24, 2024
8204fa1
refactor: replace containers
OEOTYAN Aug 24, 2024
d49467e
fix: fix wrong error type
OEOTYAN Aug 24, 2024
b65d781
refactor: refactoring stacktrace & i18n
OEOTYAN Aug 24, 2024
e24b6a9
refactor: refactoring literals
OEOTYAN Aug 25, 2024
cbfc430
feat: add new signature resolver
OEOTYAN Aug 25, 2024
80dee58
feat: add signature error output
OEOTYAN Aug 25, 2024
63542e9
refactor: split signature resolver
OEOTYAN Aug 25, 2024
11d6826
fix: fix c++23 tag
OEOTYAN Aug 25, 2024
6080ef4
fix: fix service compile
OEOTYAN Aug 25, 2024
1d24c89
feat: add new i18n
OEOTYAN Aug 26, 2024
0397ec6
feat: add IndirectValue
OEOTYAN Aug 26, 2024
7122a50
refactor: refactoring logger
OEOTYAN Aug 26, 2024
7f766dc
feat: add tight pair
OEOTYAN Aug 27, 2024
898f2da
feat: make IndirectValue compressed
OEOTYAN Aug 27, 2024
60c70c5
feat: make indirect can contains incomplete type
OEOTYAN Aug 27, 2024
863b5c4
chore: reset copy constructor
OEOTYAN Aug 27, 2024
eee4463
feat: add new logger system
OEOTYAN Aug 28, 2024
4d5b280
chore: add pl config to formatter
OEOTYAN Aug 28, 2024
e80d1c1
chore: change default param in formatter
OEOTYAN Aug 28, 2024
4f0897d
chore: use int id to improve performance
OEOTYAN Aug 29, 2024
a2d80a0
refactor: remove some hooks
OEOTYAN Aug 29, 2024
5de2b61
feat: remove some platform deps
OEOTYAN Aug 29, 2024
b3bfca2
chore: remove function jump in queue
OEOTYAN Aug 29, 2024
308c6c5
feat: make logger async
OEOTYAN Aug 30, 2024
d92b368
feat: add default tick pool
OEOTYAN Aug 30, 2024
31a263e
chore: use independent pool for logger
OEOTYAN Aug 30, 2024
6d8fb35
refactor: refactoring TaskPool
OEOTYAN Aug 31, 2024
f65e656
refactor: rename task executer, keep abi
OEOTYAN Sep 2, 2024
562145b
feat: add TypeTraits, AnyFunction
OEOTYAN Sep 2, 2024
60cd9fd
chore: add default fns of AnyFunction
OEOTYAN Sep 2, 2024
0ac8c17
format: formatting file
OEOTYAN Sep 2, 2024
773efc8
feat: add small object optimize for AnyFunction
OEOTYAN Sep 2, 2024
b517e64
refactor: rename some functions, use std::invoke
OEOTYAN Sep 2, 2024
644204b
chore: remove useless macro
OEOTYAN Sep 3, 2024
d9617cf
chore: update build.yml
OEOTYAN Sep 3, 2024
f5c1b33
chore: refactoring some declares
OEOTYAN Sep 6, 2024
34ee953
feat: add ConcurrentPriorityQueue and try_pop_if
OEOTYAN Sep 7, 2024
0299794
feat: add addTaskAfter to Executer
OEOTYAN Sep 7, 2024
571d7d0
feat: add schedule remover to executer
OEOTYAN Sep 8, 2024
d5159c2
refactor: refactoring Scheduler
OEOTYAN Sep 9, 2024
9f7b12a
feat: add sleep waiter
OEOTYAN Sep 9, 2024
bfb1e6a
fix: fix #1574
OEOTYAN Sep 9, 2024
b51585e
feat: add coroutine support
OEOTYAN Sep 9, 2024
f58302e
chore: rethrow exception
OEOTYAN Sep 9, 2024
2c7001f
chore: catch synclaunch exception
OEOTYAN Sep 9, 2024
8026e13
feat: replace scheduler with coroutine
OEOTYAN Sep 10, 2024
2efcab9
fix: fix concurrent_priority_queue::try_pop_if
OEOTYAN Sep 10, 2024
f7a03c6
refactor: make threadpool lockfree
OEOTYAN Sep 10, 2024
a1e12db
refactor: remove extra shared_mutex
OEOTYAN Sep 11, 2024
9d0702d
chore: remove useless inc
OEOTYAN Sep 11, 2024
1b8e732
chore: remove functional deps
OEOTYAN Sep 11, 2024
e0be4d7
refactor: rename Executor
OEOTYAN Sep 12, 2024
9f08138
refactor: replace ConcurrentQueue
OEOTYAN Sep 12, 2024
38dedcf
chore: add noexcept to optional_ref
OEOTYAN Sep 12, 2024
bb0b0bd
feat: add keepThis keep lambda lifetime
OEOTYAN Sep 12, 2024
b47e09a
refactor: make Executor header only
OEOTYAN Sep 12, 2024
251d0ae
chore: rename executors
OEOTYAN Sep 12, 2024
67f4c6f
chore: fix function copy
OEOTYAN Sep 12, 2024
3cc2a46
fix: fix dll reload
OEOTYAN Sep 12, 2024
90892c0
chore: make sure hash constexpr
OEOTYAN Sep 13, 2024
f884773
refactor: prepare for remove direct symbol resolve
OEOTYAN Sep 13, 2024
495317a
chore: add some small descriptions
OEOTYAN Sep 14, 2024
791963c
chore: keep value in keepThis
OEOTYAN Sep 15, 2024
a472bc1
refactor: refactoring some code for linux compile
OEOTYAN Sep 15, 2024
624b1bd
fill: fill BookEditAction and EmotePacket::Flags (#1575)
zimuya4153 Sep 16, 2024
069e305
chore: catch on coro launch
OEOTYAN Sep 21, 2024
16d45f7
chore: add getNonOwnerRef to EnableNonOwnerReferences
OEOTYAN Sep 27, 2024
29e881d
chore: fix some comments
OEOTYAN Sep 29, 2024
01d0d22
feat: restore OreFeature, BlockDescriptor, ReplaceRule member variables.
Lovelylavender4 Oct 1, 2024
ef78906
fix: fix libhat compile
OEOTYAN Oct 2, 2024
0b5728c
docs: fix lip related url
ShrBox Oct 2, 2024
6bdf66e
revert: revert some ServerPlayer functions
OEOTYAN Oct 2, 2024
79aa38f
chore: change locale code name
OEOTYAN Oct 2, 2024
d3b9138
chore: add trl
OEOTYAN Oct 2, 2024
70e9d2b
fix: fix some bugs
OEOTYAN Oct 4, 2024
ec2db19
feat: fill some chained command structures
OEOTYAN Oct 4, 2024
7713156
feat: fill some structures
OEOTYAN Oct 5, 2024
e18ce60
chore: store enum name for abi stable
OEOTYAN Oct 5, 2024
d81fc04
feat: make command param checker into compile time
OEOTYAN Oct 5, 2024
387069b
feat: add param traits to custom command param
OEOTYAN Oct 5, 2024
0a89e9f
refactor: change param to string_view
OEOTYAN Oct 6, 2024
0414add
refactor: make param option and praser into traits
OEOTYAN Oct 6, 2024
c7c855a
fix: reset enum parser to keep reload dll working
OEOTYAN Oct 6, 2024
450553b
refactor: use a better directory derivation algorithm
OEOTYAN Oct 9, 2024
45c0cf7
fix: fix GameRulesIndex (#1579)
KobeBryant114514 Oct 9, 2024
06e4535
Merge remote-tracking branch 'origin/header' into develop
OEOTYAN Oct 9, 2024
bb53f02
fix: fix wrong dir
OEOTYAN Oct 9, 2024
95da210
Merge remote-tracking branch 'origin/header' into develop
OEOTYAN Oct 9, 2024
17d47f1
refactor: use new namespace sort method
OEOTYAN Oct 9, 2024
bdbc6a4
Merge remote-tracking branch 'origin/header' into develop
OEOTYAN Oct 9, 2024
75ad3b5
refactor: updated to the new file cataloging system
OEOTYAN Oct 9, 2024
7d583c0
fix: fix client build
OEOTYAN Oct 9, 2024
09445f9
chore: change SharedCounter dir
OEOTYAN Oct 10, 2024
a26ce38
feat: finish #1172
OEOTYAN Oct 11, 2024
204312a
chore: add noexcept to fixedstring
OEOTYAN Oct 11, 2024
da55b0e
chore: use raii release comptr
OEOTYAN Oct 12, 2024
994788f
fix: fix custom form empty dropdown crash
Dofes Oct 12, 2024
de5c473
fix: remove optional_ref wrong static cast
OEOTYAN Oct 12, 2024
a8cea91
fix: fix dataitem constexpr
OEOTYAN Oct 12, 2024
39126e9
feat: add thunk to all types
OEOTYAN Oct 14, 2024
9b9fd90
Merge remote-tracking branch 'origin/header' into develop
OEOTYAN Oct 14, 2024
6aa40c4
refactor: generate typed ctor thunks
OEOTYAN Oct 15, 2024
ec74960
Merge remote-tracking branch 'origin/header' into develop
OEOTYAN Oct 15, 2024
7637dde
feat: resolve #1519, add new thunks to link and get address
OEOTYAN Oct 15, 2024
03187db
fix: fix vftable name format
OEOTYAN Oct 16, 2024
1ce2f9b
Merge remote-tracking branch 'origin/header' into develop
OEOTYAN Oct 16, 2024
0ff4929
chore: update preloader version
OEOTYAN Oct 16, 2024
b72d6c3
chore: fix some enum types
OEOTYAN Oct 18, 2024
d59645b
chore: change template parameters of Require
OEOTYAN Oct 18, 2024
915f576
fix: fix AllExperiments enum missed ;
Dofes Oct 19, 2024
ff93ced
refactor: make mod manager auto release
OEOTYAN Oct 19, 2024
8c5de90
chore: fix client build
OEOTYAN Oct 19, 2024
0cea1f1
feat: use dual mapping replace virtual protect
OEOTYAN Oct 19, 2024
a58e2d8
chore: add check to hook pauser
OEOTYAN Oct 19, 2024
7f318d8
feat: add generator
OEOTYAN Oct 20, 2024
bdc0fcd
refactor: replace foreach with generator
OEOTYAN Oct 21, 2024
dc8c320
chore: fix some missing includes
OEOTYAN Oct 21, 2024
29d0bfc
refactor: add LoggerRegistry, resolve #1582
OEOTYAN Oct 21, 2024
676182c
chore: rename function
OEOTYAN Oct 21, 2024
bf58f2a
chore: make PrivateTag explicit
OEOTYAN Oct 21, 2024
13c0e71
chore: update tooth
OEOTYAN Oct 24, 2024
12065d0
chore: remove crypto utils
OEOTYAN Oct 26, 2024
dd0b88a
chore: remove Util deps
OEOTYAN Oct 26, 2024
92c702a
chore: add UntypedStorage
OEOTYAN Oct 26, 2024
b1d2801
chore: add android x86_64
OEOTYAN Oct 28, 2024
7c15098
chore: add some check in base64
OEOTYAN Oct 28, 2024
920365f
chore: remove carray ref predefine
OEOTYAN Oct 29, 2024
10d3993
Merge remote-tracking branch 'origin/header' into develop
OEOTYAN Oct 29, 2024
c572a67
format: formatting codes
OEOTYAN Oct 29, 2024
0842401
docs: optimize structure
futrime Oct 30, 2024
9344d62
docs: add cpp style guide
futrime Oct 30, 2024
c3add43
refactor: move array out of function
OEOTYAN Oct 31, 2024
80d25c5
chore: changed the group number of QQ group 2.
Lovelylavender4 Oct 31, 2024
03c025a
refactor: remove useless base
OEOTYAN Nov 8, 2024
d74122b
refactor: organized docs (#1596)
OEOTYAN Nov 8, 2024
d5c6ed2
chore: delete dependabot
OEOTYAN Nov 8, 2024
f557e2f
style: change format settings
OEOTYAN Nov 8, 2024
4be93a0
agreement: initially drafted the EULA and user guidelines.
Lovelylavender4 Nov 8, 2024
8d7b381
chore: update readme.md.
Lovelylavender4 Nov 8, 2024
c38f756
ci: include the EULA and usage guidelines with each release.
Lovelylavender4 Nov 8, 2024
d844740
refactor: refactoring Closure
OEOTYAN Nov 9, 2024
4b74748
feat: finish todos
OEOTYAN Nov 9, 2024
5d29681
refactor: add initializer_list for CompoundTagVariant
OEOTYAN Nov 12, 2024
6fbe517
refactor: refactor splitByPattern
OEOTYAN Nov 16, 2024
a62081e
refactor: relax virtual clone requires
OEOTYAN Nov 27, 2024
56734ea
chore: fix test
OEOTYAN Nov 28, 2024
189423d
fix: replace invoke tag with elide for latest msstl
OEOTYAN Nov 30, 2024
39496d6
agreement: setting EULA as a draft.
Lovelylavender4 Dec 11, 2024
4d1d19a
ci: the EULA and usage guidelines are no longer included with each re…
Lovelylavender4 Dec 11, 2024
2c19f57
agreement: update eula.
Lovelylavender4 Dec 11, 2024
671b478
chore: update readme.
Lovelylavender4 Dec 11, 2024
e02e50d
refactor: remove useless codes
OEOTYAN Dec 14, 2024
ff95d92
docs: fix a mistake about bdsdown
ShrBox Dec 14, 2024
f1b5b15
feat: add TypedStorage
OEOTYAN Dec 16, 2024
ceef695
chore: remove GitHub Sponsor in FUNDING.yml
futrime Dec 18, 2024
1de1152
chore: update FUNDING.yml
futrime Dec 18, 2024
601c0c7
feat: update header to 1.21.50
OEOTYAN Dec 28, 2024
a582017
Merge branch 'header' into develop
OEOTYAN Dec 28, 2024
5238bab
feat: adapt to 1.21.50
OEOTYAN Dec 29, 2024
3914ead
fix: fix enum values
OEOTYAN Dec 29, 2024
ca0e2e9
chore: refactor format script
OEOTYAN Dec 29, 2024
fa85fe3
Merge branch 'header' into develop
OEOTYAN Dec 29, 2024
6acced2
fix: fix some warnings
OEOTYAN Dec 29, 2024
4376346
chore: switch config to 1.21.50
OEOTYAN Dec 29, 2024
dc02ef8
docs: add chinese translation of C++ Style Guide (#1604)
zimuya4153 Dec 29, 2024
fa3faed
docs: fix readme
futrime Dec 29, 2024
4266eca
docs: fix Chinese readme
futrime Dec 29, 2024
58d96a8
docs: fix language switch in readme
futrime Dec 29, 2024
0c5a2e6
fix: fix PlayerJumpEvent
dreamguxiang Dec 29, 2024
82975b1
fix: fix PlayerJumpEvent crash
dreamguxiang Dec 29, 2024
5290d87
fix: fix some events crash
dreamguxiang Dec 29, 2024
b091818
fix: fix FireSpreadEvent
dreamguxiang Dec 29, 2024
490f105
docs: add runtime data as dependency
ShrBox Dec 29, 2024
2d07e16
fix: fix use_mimalloc crash
Dofes Dec 29, 2024
3c16898
fix: fix template Optional
Dofes Dec 29, 2024
3602ad4
ci: fix tests build's file name
ShrBox Dec 30, 2024
ad08af0
fix: fix jump event not working in client auth
dreamguxiang Dec 30, 2024
f2a0816
refactor: change offset to member variable
dreamguxiang Dec 30, 2024
53b7780
refactor: replace offset with type cast
dreamguxiang Dec 30, 2024
b271e4e
refactor: stable id abi, remove deprecated apis
OEOTYAN Dec 30, 2024
25956b1
refactor: remove some useless functions
OEOTYAN Dec 30, 2024
ece8f2f
chore: update entt version
OEOTYAN Dec 30, 2024
30bd4cf
refactor: refactoring LL_REGISTER_MOD
OEOTYAN Dec 30, 2024
2b5e366
refactor: fix header circular reference
OEOTYAN Dec 30, 2024
3351194
fix: fix SaveContext struct
Dofes Dec 30, 2024
eee18df
fix: fix SaveContextFactory
Dofes Dec 30, 2024
b259676
fix: fix WeakStorageEntity
Dofes Dec 30, 2024
4526c81
fix: add asServer for Level
Dofes Dec 30, 2024
5bedf08
fix: add include ChunkLocalHeight to ChunkBlockPos
Dofes Dec 30, 2024
b7653f4
fix: add default parameters for BinaryStream funcs
Dofes Dec 30, 2024
6bda6e4
feat: add some useful PlayerCommandOrigin constructors
Dofes Dec 30, 2024
38a4275
fix: fix EffectDuration struct
Dofes Dec 30, 2024
3767f3f
fix: fix Result include
Dofes Dec 30, 2024
69900d2
fix: fix InventorySource
Dofes Dec 30, 2024
520097f
fix: add writeType for BinaryStream
Dofes Dec 30, 2024
7d8a138
fix: fix CommandOrigin default ctor
Dofes Dec 30, 2024
6667d3e
fix: fix getModByHandle when loading mods
OEOTYAN Dec 31, 2024
bbb689f
chore: add comments
OEOTYAN Dec 31, 2024
b53839e
fix: fix default destructors
OEOTYAN Dec 31, 2024
a21bce0
Merge branch 'header' into develop
OEOTYAN Dec 31, 2024
23725d7
refactor: remove constructor of ScorePacketInfo
ShrBox Dec 31, 2024
3fd1026
refactor: refactoring vectors
OEOTYAN Dec 31, 2024
804de3e
fix: fix boxes' get
OEOTYAN Dec 31, 2024
8d6643e
fix: creating crash folder when server crashed and built-in CrashLogg…
ShrBox Jan 1, 2025
66196ff
fix: fix #1606
OEOTYAN Jan 1, 2025
27c9b93
refactor: remove some useless constructors
OEOTYAN Jan 1, 2025
8d38802
Merge branch 'header' into develop
OEOTYAN Jan 1, 2025
ae6a683
fix: fix some warnings
OEOTYAN Jan 1, 2025
9e9f235
feat: add brstd::function_ref
OEOTYAN Jan 1, 2025
0f459d7
chore: update NewType
OEOTYAN Jan 2, 2025
90e1e75
fix: fix const storage
OEOTYAN Jan 2, 2025
335c39a
fix: fix typo
OEOTYAN Jan 2, 2025
c56cf04
chore: update magic_enum version
OEOTYAN Jan 2, 2025
d9bddbc
fix: fix typedstorage operator=
OEOTYAN Jan 2, 2025
8c3a12b
feat: add event iterator api for EventBus
OEOTYAN Jan 2, 2025
e3d760e
refactor: add helper function for hook
OEOTYAN Jan 2, 2025
dc67615
chore: fix AddressOrGUID ctor
Dofes Jan 2, 2025
c052a0e
chore: fix MovingBlockActor struct
Dofes Jan 2, 2025
c93ab9a
fix: fix ModalForm bug
dreamguxiang Jan 3, 2025
43f8d35
fix: fix typo
OEOTYAN Jan 3, 2025
7a81bbf
chore: update some config
OEOTYAN Jan 3, 2025
fb983ec
chore: update some config
OEOTYAN Jan 3, 2025
c897aea
chore: replace some members
OEOTYAN Jan 3, 2025
a6f010b
fix: fix tpdim
OEOTYAN Jan 3, 2025
1a76095
feat: add more operators to UniqueTagPtr, resolve #1607
OEOTYAN Jan 3, 2025
f406733
feat: modify original motd
dreamguxiang Jan 3, 2025
78526ff
refactor: optimize some code
OEOTYAN Jan 3, 2025
1ed01cd
format: formatting files
OEOTYAN Jan 3, 2025
a09ef31
fix: fix ambiguous
OEOTYAN Jan 3, 2025
fdfc731
chore: remove some wrapper
OEOTYAN Jan 3, 2025
a7340d7
chore: update some config
OEOTYAN Jan 3, 2025
9ebc881
Merge branch 'header' into develop
OEOTYAN Jan 3, 2025
608d6f9
chore: add base for ActorBlockBase
OEOTYAN Jan 3, 2025
f948a8d
feat: add new obj serializer
OEOTYAN Jan 3, 2025
36f0ad6
fix: fix PlayerAttackEvent
ShrBox Jan 4, 2025
31361cf
docs: improved docs.
Lovelylavender4 Jan 4, 2025
84e6c0a
docs: further improved docs.
Lovelylavender4 Jan 4, 2025
6eb8b1c
docs: further improved docs.
Lovelylavender4 Jan 4, 2025
a71bffe
chore: update changelog.
Lovelylavender4 Jan 4, 2025
ad01854
chore: fixed changelog.
Lovelylavender4 Jan 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 6 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignAfterOpenBracket: BlockIndent
AlignArrayOfStructures: Left
AlignArrayOfStructures: Right
AlignConsecutiveDeclarations:
Enabled: true
AcrossEmptyLines: false
Expand Down Expand Up @@ -44,3 +44,8 @@ PointerAlignment: Left
TabWidth: 4
UseTab: Never
SortIncludes: CaseSensitive
# RemoveEmptyLinesInUnwrappedLines: true
RemoveSemicolon: true
# SeparateDefinitionBlocks: Always
SortUsingDeclarations: LexicographicNumeric
Standard: Latest
2 changes: 1 addition & 1 deletion .clangd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Diagnostics:
UnusedIncludes: Strict
MissingIncludes: Strict
MissingIncludes: None
Suppress:
- "-Wmicrosoft-enum-forward-reference"
- "-Wc++11-narrowing"
Expand Down
5 changes: 2 additions & 3 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
github: LiteLDev
open_collective: liteloaderbds
open_collective: LeviMC
custom:
- https://afdian.net/@liteldev
- https://afdian.com/@liteldev
30 changes: 12 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,17 @@ on:
paths:
- .github/workflows/build.yml
- src/**
- src-server/**
- src-client/**
- src-test/**
- xmake.lua
pull_request:
paths:
- .github/workflows/build.yml
- src/**
- src-server/**
- src-client/**
- src-test/**
- xmake.lua
workflow_dispatch:

Expand All @@ -16,10 +22,13 @@ jobs:
strategy:
fail-fast: false
matrix:
target_type:
- server
- client
mode:
- debug
- release
use_mimalloc:
tests:
- true
- false
runs-on: windows-latest
Expand All @@ -46,28 +55,13 @@ jobs:
xmake repo -u

- run: |
xmake f -a x64 -m ${{ matrix.mode }} -p windows -v -y --use_mimalloc=${{ matrix.use_mimalloc }}
xmake f -a x64 -m ${{ matrix.mode }} -p windows -v -y --target_type=${{ matrix.target_type }} --tests=${{ matrix.tests }}

- run: |
xmake -v -w -y

- run: |
xmake package -v -y

- uses: actions/upload-artifact@v4
with:
name: levilamina-${{ matrix.mode }}${{ matrix.use_mimalloc == false && '-nonmimalloc' || '' }}-windows-x64-${{ github.sha }}
name: levilamina-${{ matrix.target_type }}-${{ matrix.mode }}${{ matrix.tests == true && '-tests' || '' }}-windows-x64-${{ github.sha }}
path: |
bin/

# check-style:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v4

# - run: |
# choco install llvm -y --version=17.0.6

# - run: |
# Get-ChildItem src/ -Filter *.cpp -Recurse | ForEach-Object { clang-format --dry-run -Werror $_.FullName }
# Get-ChildItem src/ -Filter *.h -Recurse | ForEach-Object { clang-format --dry-run -Werror $_.FullName }
23 changes: 13 additions & 10 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true

- run: |
git clone --depth 1 --branch v2.3.4 https://github.com/jothepro/doxygen-awesome-css.git docs/api/doxygen-awesome-css

- run : |
mkdir -p site/api

- uses: mattnotmitt/[email protected]
- uses: mattnotmitt/doxygen-action@v1
with:
doxyfile-path: ./docs/api/Doxyfile

- run: |
tar -cvf artifact.tar -C site/ .

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: doxygen-pages
path: |
Expand All @@ -37,15 +40,15 @@ jobs:
- uses: actions/checkout@v4

- run: |
pip install -r requirements.txt
pip install -r docs/main/requirements.txt

- run: |
mkdocs build
mkdocs build -f docs/main/mkdocs.yml -d ../../site

- run: |
tar -cvf artifact.tar -C site/ .

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: mkdocs-pages
path: |
Expand All @@ -57,7 +60,7 @@ jobs:
- build-mkdocs
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: artifacts/

Expand All @@ -67,7 +70,7 @@ jobs:
tar -xvf artifacts/doxygen-pages/artifact.tar -C site/
tar -xvf artifacts/mkdocs-pages/artifact.tar -C site/

- uses: actions/upload-pages-artifact@v2
- uses: actions/upload-pages-artifact@v3
with:
path: site/

Expand All @@ -80,4 +83,4 @@ jobs:
pages: write
runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@v2
- uses: actions/deploy-pages@v4
24 changes: 9 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ jobs:
mode:
- debug
- release
use_mimalloc:
- true
- false
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -38,17 +35,17 @@ jobs:
xmake repo -u

- run: |
xmake f -a x64 -m ${{ matrix.mode }} -p windows -v -y --use_mimalloc=${{ matrix.use_mimalloc }}
xmake f -a x64 -m ${{ matrix.mode }} -p windows -v -y

- run: |
xmake -v -w -y

- run: |
xmake package -v -y
# - run: |
# xmake package -v -y

- uses: actions/upload-artifact@v4
with:
name: levilamina-${{ matrix.mode }}${{ matrix.use_mimalloc == false && '-nonmimalloc' || '' }}-windows-x64-${{ github.sha }}
name: levilamina-${{ matrix.mode }}-windows-x64-${{ github.sha }}
path: |
bin/

Expand Down Expand Up @@ -87,32 +84,29 @@ jobs:
mode:
- debug
- release
use_mimalloc:
- true
- false
steps:
- uses: actions/checkout@v4

- uses: actions/download-artifact@v4
with:
name: levilamina-${{ matrix.mode }}${{ matrix.use_mimalloc == false && '-nonmimalloc' || '' }}-windows-x64-${{ github.sha }}
name: levilamina-${{ matrix.mode }}-windows-x64-${{ github.sha }}
path: artifact

- run: |
cp CHANGELOG.md COPYING COPYING.LESSER README.md artifact/

- run: |
zip -r ../levilamina-${{ matrix.mode }}${{ matrix.use_mimalloc == false && '-nonmimalloc' || '' }}-windows-x64.zip *
zip -r ../levilamina-${{ matrix.mode }}-windows-x64.zip *
working-directory: artifact

- id: calculate-sha256
run: |
echo sha256=$(sha256sum levilamina-${{ matrix.mode }}${{ matrix.use_mimalloc == false && '-nonmimalloc' || '' }}-windows-x64.zip | awk '{print $1}') >> $GITHUB_OUTPUT
echo sha256=$(sha256sum levilamina-${{ matrix.mode }}-windows-x64.zip | awk '{print $1}') >> $GITHUB_OUTPUT

- uses: softprops/action-gh-release@v1
with:
append_body: true
body: |-
| levilamina-${{ matrix.mode }}${{ matrix.use_mimalloc == false && '-nonmimalloc' || '' }}-windows-x64.zip | ${{ steps.calculate-sha256.outputs.sha256 }} |
| levilamina-${{ matrix.mode }}-windows-x64.zip | ${{ steps.calculate-sha256.outputs.sha256 }} |
files: |
levilamina-${{ matrix.mode }}${{ matrix.use_mimalloc == false && '-nonmimalloc' || '' }}-windows-x64.zip
levilamina-${{ matrix.mode }}-windows-x64.zip
65 changes: 30 additions & 35 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
*.app



## https://github.com/github/gitignore/blob/main/CMake.gitignore
CMakeLists.txt.user
CMakeCache.txt
Expand All @@ -44,7 +45,7 @@ cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps



## https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
Expand All @@ -67,20 +68,10 @@ _deps
mono_crash.*

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/
/[Dd]ebug/
/[Dd]ebugPublic/
/[Rr]elease/
/[Rr]eleases/

# Visual Studio 2015/2017 cache/options directory
.vs/
Expand Down Expand Up @@ -214,20 +205,20 @@ AutoTest.Net/
.sass-cache/

# Installshield output folder
[Ee]xpress/
/[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
/DocProject/buildhelp/
/DocProject/Help/*.HxT
/DocProject/Help/*.HxC
/DocProject/Help/*.hhc
/DocProject/Help/*.hhk
/DocProject/Help/*.hhp
/DocProject/Help/Html2
/DocProject/Help/html

# Click-Once directory
publish/
/publish/

# Publish Web Output
*.[Pp]ublish.xml
Expand Down Expand Up @@ -448,6 +439,7 @@ FodyWeavers.xsd
*.sln.iml



## https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
.vscode/*
!.vscode/settings.json
Expand All @@ -463,6 +455,7 @@ FodyWeavers.xsd
*.vsix



## https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
Expand Down Expand Up @@ -543,22 +536,24 @@ fabric.properties
.idea/caches/build_file_checksums.ser


## XMake

## Miscellaneous
# XMake
/.xmake/
/build/
/CMakeLists.txt
/vsxmake2022


## Project specific
# IDE
/.idea/
/.vscode/

# MkDocs
## Documentation
/docs/api/doxygen-awesome-css/
/site/

# Test
src/ll/test/include_all.cpp
# IDE
.idea/
.vscode/

# Testing
/bin/
/src/ll/test/include_all.cpp
/src-test/**/include_all.cpp
/builder/
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

Loading