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

[pull] develop from LiteLDev:develop #1

Open
wants to merge 741 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
741 commits
Select commit Hold shift + click to select a range
9997ea5
fix: fix some error
OEOTYAN Aug 5, 2024
cea75ca
chore: update README.md
ShrBox Aug 6, 2024
d0ae611
fix: add the missing field to CommandRegistry::Overload
wu-vincent Aug 7, 2024
171cfe2
fix: fix getBiomeArea
OEOTYAN Aug 7, 2024
8e6b0e9
feat: remove bdslibrary
OEOTYAN Aug 7, 2024
d7923e6
faet: move build script to new repo
OEOTYAN Aug 7, 2024
d57a346
feat: fill enum sim::LookDuration
ShrBox Aug 8, 2024
46551dd
refactor: output demangle symbol
OEOTYAN Aug 8, 2024
e7d4a07
chore: rewrite log info
OEOTYAN Aug 8, 2024
a2c1950
refactor: refactoring option
OEOTYAN Aug 8, 2024
1030d36
refacctor: remove some function deps
OEOTYAN Aug 9, 2024
c07adee
refactor: remove some function deps
OEOTYAN Aug 9, 2024
54fa4e4
refactor: change some folders
OEOTYAN Aug 10, 2024
4eaa78e
chore: add last member variable of ChunkSource (#1563)
xNotTozic Aug 10, 2024
eb1c77b
chore: remove some function deps
OEOTYAN Aug 10, 2024
5dc0ef3
docs: fix quickstart
ShrBox Aug 11, 2024
f472dd7
refactor: remove some function deps
OEOTYAN Aug 11, 2024
ef4e4f8
refactor: refactoring client side
OEOTYAN Aug 11, 2024
b4b8fdf
fix: fix build
OEOTYAN Aug 11, 2024
72320b2
feat: add StdoutRedirector
OEOTYAN Aug 11, 2024
eac1156
refactor: refactoring StdoutRedirector
OEOTYAN Aug 11, 2024
4a958d6
rerfactror: remove some function deps
OEOTYAN Aug 11, 2024
acb8248
docs: update quickstart.zh.md
ShrBox Aug 12, 2024
cfcf860
feat: Finalize InventoryTransaction member variable implementation (#…
xNotTozic Aug 12, 2024
bf3feb0
feat: make client side useable
OEOTYAN Aug 12, 2024
53f8682
feat: Enhanced Chunk classes with additional member variables (#1567)
xNotTozic Aug 12, 2024
b2de5fe
fix: fix some members
OEOTYAN Aug 12, 2024
575b620
feat: make command work on client
OEOTYAN Aug 12, 2024
c41fb52
feat: add version getter to client
OEOTYAN Aug 12, 2024
39b9056
feat: add ImGui
ddf8196 Aug 12, 2024
c1bbf5e
feat: make client ui usable
OEOTYAN Aug 12, 2024
c6aea33
feat: add mod load & buildin command on client
OEOTYAN Aug 13, 2024
363086a
chore: add & to fn ptr
OEOTYAN Aug 13, 2024
96735ee
fix: fix client plugin enum name
OEOTYAN Aug 13, 2024
8bc34fc
feat: add imgui ansi text coloring
ddf8196 Aug 14, 2024
1cd5c49
refactor: rename namespace
OEOTYAN Aug 14, 2024
8840846
fix: fix define bugs
OEOTYAN Aug 14, 2024
b2b5de3
feat: use system default font as imgui font
ddf8196 Aug 14, 2024
a97e8a5
refactor: remove big static c array
OEOTYAN Aug 14, 2024
2d7d074
chore: remove server text
OEOTYAN Aug 14, 2024
869265e
chore: change data version name
OEOTYAN Aug 14, 2024
4c0ce0b
feat: add imgui config
OEOTYAN Aug 14, 2024
37b000a
fix: fix server link
OEOTYAN Aug 15, 2024
3de7c25
test: jsonUI binding test
Dofes Aug 15, 2024
011b6ec
refacctor: refacctoring test
OEOTYAN Aug 15, 2024
4de7b8c
feat: add imgui docking
OEOTYAN Aug 15, 2024
46fa2fc
chore: change test version str
OEOTYAN Aug 15, 2024
852b376
fix: fix replace error
OEOTYAN Aug 15, 2024
e48a3ee
chore: correct incorrect batch characters
Dofes Aug 16, 2024
556d973
refactor: refactoring StdoutRedirector
OEOTYAN Aug 16, 2024
b415290
refactor: adapt to new preloader
OEOTYAN Aug 16, 2024
60073e3
refactor: remove useless convert
OEOTYAN Aug 16, 2024
2d17e96
chore: remove player output
OEOTYAN Aug 16, 2024
d3c6ff0
chore: remove useless log level
OEOTYAN Aug 16, 2024
36294cd
refactor: add filler
OEOTYAN Aug 16, 2024
1e15bb5
chore: add StringHash ctor
OEOTYAN Aug 17, 2024
59995c9
feat: add some headers for ui
Dofes Aug 17, 2024
f96c84f
test: refactor jsonui test
Dofes Aug 17, 2024
37a47a9
feat: patch cleint version string
Dofes Aug 17, 2024
d317a86
feat: add multi os support
OEOTYAN Aug 17, 2024
8daf349
refactor: remove some os deps
OEOTYAN Aug 17, 2024
deaa740
fix: wrong platform-related file deleter.
Redbeanw44602 Aug 18, 2024
4f4a02b
refactor: move concepts to internal
OEOTYAN Aug 18, 2024
40245b3
chore: complete InteractPacket::Action (#1571)
xNotTozic Aug 18, 2024
4670929
repo: ignored src/ll/test/include_all.cpp.
Lovelylavender4 Aug 18, 2024
bcc9e39
refactor: remove some internal deps
OEOTYAN Aug 18, 2024
914d80a
chore: update build scripts.
Redbeanw44602 Aug 18, 2024
f581f12
chore: add compiler specific defines for clang.
Redbeanw44602 Aug 18, 2024
bbc795e
refactor: convert common macros: `_HAS_CXX23` to `LL_HAS_CXX23`.
Redbeanw44602 Aug 18, 2024
915ef55
chore: remove useless in compiler predefs.
Redbeanw44602 Aug 18, 2024
8f854c1
chore: disable missing includes check.
Redbeanw44602 Aug 18, 2024
81d6416
chore: migrate to standard expressions.
Redbeanw44602 Aug 18, 2024
349de61
chore: to prevent potentially evaluated expression.
Redbeanw44602 Aug 18, 2024
3b933d8
refactor: replace httplib with libcpr.
Redbeanw44602 Aug 19, 2024
3563642
fix: fix build.
Redbeanw44602 Aug 19, 2024
6c2f1dd
fix: fix debug warnings
OEOTYAN Aug 19, 2024
ea5c339
refactor: avoid using non-primitive types in StdInt.h
Redbeanw44602 Aug 19, 2024
7788561
refactor: replace msvc literal extends
OEOTYAN Aug 19, 2024
7b4d9fb
refactor: replace std::stacktrace with boost::stacktrace.
Redbeanw44602 Aug 19, 2024
4b98a38
refactor: refactoring stacktrace
OEOTYAN Aug 19, 2024
8b153d0
refactor: separate platform related impls.
Redbeanw44602 Aug 19, 2024
6a02124
refactor: add platform-related impl of pipe.
Redbeanw44602 Aug 19, 2024
4214349
refactor: add platform-related impl of StdoutRedirector.
Redbeanw44602 Aug 19, 2024
879391b
refactor: unified platform macros.
Redbeanw44602 Aug 19, 2024
5a42407
fix: fix forgot to rename variables.
Redbeanw44602 Aug 19, 2024
5ae005f
refactor: refactoring filehandle/expected
OEOTYAN Aug 19, 2024
f079d09
chore: remove useless header
OEOTYAN Aug 19, 2024
166a95f
feat: add clang/gcc virtualDetector
OEOTYAN Aug 19, 2024
4f42f1b
refactor: add platform-related impl of Closure.
Redbeanw44602 Aug 19, 2024
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
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: 0 additions & 2 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ cppcoreguidelines-narrowing-conversions,
cppcoreguidelines-pro-type-member-init,
cppcoreguidelines-slicing,
google-default-arguments,
google-explicit-constructor,
google-runtime-operator,
hicpp-exception-baseclass,
hicpp-multiway-paths-covered,
Expand Down Expand Up @@ -123,7 +122,6 @@ portability-simd-intrinsics,
readability-avoid-const-params-in-decls,
readability-const-return-type,
readability-container-size-empty,
readability-convert-member-functions-to-static,
readability-delete-null-pointer,
readability-deleted-default,
readability-inconsistent-declaration-parameter-name,
Expand Down
7 changes: 1 addition & 6 deletions .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 All @@ -11,8 +11,3 @@ CompileFlags:
- "-ferror-limit=0"
- '-D__FUNCTION__="dummy"'
- '-D__clangd__'
- "-Yusrc/ll/api/Global.h"
- "-FIsrc/ll/api/Global.h" # clangd bug can't find pch file
Remove:
- "/YuGlobal.h"
- "/FIGlobal.h"
4 changes: 2 additions & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github: LiteLDev
open_collective: liteloaderbds
open_collective: levilamina
custom:
- https://afdian.net/@liteldev
- https://afdian.com/@liteldev
47 changes: 32 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,46 @@ 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:

jobs:
build:
strategy:
fail-fast: false
matrix:
target_type:
- server
- client
mode:
- debug
- release
use_mimalloc:
- true
- false
tests:
- true
- false
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: xmake-io/github-action-setup-xmake@v1
# with:
# xmake-version: branch@master

- uses: actions/cache@v4
with:
Expand All @@ -34,32 +52,31 @@ jobs:
restore-keys: |
xmake-

- uses: microsoft/setup-msbuild@v2

- run: |
xmake repo -u

- run: |
xmake f -a x64 -m ${{ matrix.mode }} -p windows -v -y
xmake f -a x64 -m ${{ matrix.mode }} -p windows -v -y --use_mimalloc=${{ matrix.use_mimalloc }} --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 }}-windows-x64-${{ github.sha }}
name: levilamina-${{ matrix.target_type }}-${{ matrix.mode }}${{ matrix.use_mimalloc == false && '-nonmimalloc' || '' }}${{ matrix.tests == false && '-tests' || '' }}-windows-x64-${{ github.sha }}
path: |
build/packages/l/levilamina/windows/x64/${{ matrix.mode }}/bin/
bin/

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

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

- run: |
Get-ChildItem src/ -Filter *.cpp -Recurse | ForEach-Object { clang-format -i -Werror $_.FullName }
Get-ChildItem src/ -Filter *.h -Recurse | ForEach-Object { clang-format -i -Werror $_.FullName }
# - 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 }
25 changes: 14 additions & 11 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,17 +70,17 @@ 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/

deploy:
# if: github.ref == 'refs/heads/main' && github.event_name == 'push'
if: github.ref == 'refs/heads/develop' && github.event_name == 'push'
needs:
- merge
permissions:
id-token: write
pages: write
runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@v2
- uses: actions/deploy-pages@v4
35 changes: 23 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,23 @@ on:
jobs:
build:
strategy:
fail-fast: false
matrix:
mode:
- debug
- release
use_mimalloc:
- true
- false
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: xmake-io/github-action-setup-xmake@v1
# with:
# xmake-version: branch@master

- uses: actions/cache@v4
with:
Expand All @@ -26,23 +32,25 @@ jobs:
restore-keys: |
xmake-

- uses: microsoft/setup-msbuild@v2

- run: |
xmake repo -u

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

- 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 }}-windows-x64-${{ github.sha }}
name: levilamina-${{ matrix.mode }}${{ matrix.use_mimalloc == false && '-nonmimalloc' || '' }}-windows-x64-${{ github.sha }}
path: |
build/packages/l/levilamina/windows/x64/${{ matrix.mode }}/bin/
bin/

update-release-notes:
permissions:
Expand All @@ -61,7 +69,7 @@ jobs:

- uses: softprops/action-gh-release@v1
with:
body: |
body: |-
${{ steps.extract-release-notes.outputs.release_notes }}

| File | SHA256 |
Expand All @@ -79,29 +87,32 @@ jobs:
mode:
- debug
- release
use_mimalloc:
- true
- false
steps:
- uses: actions/checkout@v4

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

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

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

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

- uses: softprops/action-gh-release@v1
with:
append_body: true
body: |
| levilamina-${{ matrix.mode }}-windows-x64.zip | ${{ steps.calculate-sha256.outputs.sha256 }} |
body: |-
| levilamina-${{ matrix.mode }}${{ matrix.use_mimalloc == false && '-nonmimalloc' || '' }}-windows-x64.zip | ${{ steps.calculate-sha256.outputs.sha256 }} |
files: |
levilamina-${{ matrix.mode }}-windows-x64.zip
levilamina-${{ matrix.mode }}${{ matrix.use_mimalloc == false && '-nonmimalloc' || '' }}-windows-x64.zip
Loading