Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd779f18

Browse files
2.1.2
fixed transition payload interface
1 parent42dfacf commitd779f18

20 files changed

+392
-147
lines changed

‎.github/workflows/cmake-qemu-arm.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
BUILD_CONFIG:[ Release, Debug ]
2626

2727
steps:
28-
-uses:actions/checkout@v2
28+
-uses:actions/checkout@v3
2929

3030
# install dependencies
3131
-name:Install ARM GCC on ubuntu

‎.github/workflows/cmake.yml‎

Lines changed: 39 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,24 @@ jobs:
4141
INSTALL:true
4242
}
4343
-{
44-
OS:ubuntu-18.04,
44+
OS:ubuntu-22.04,
4545
CC:gcc-9,
4646
CXX:g++-9
4747
}
4848
-{
49-
OS:ubuntu-20.04,
49+
OS:ubuntu-22.04,
5050
CC:gcc-10,
5151
CXX:g++-10
5252
}
5353
-{
54-
OS:ubuntu-20.04,
54+
OS:ubuntu-22.04,
5555
CC:gcc-11,
56-
CXX:g++-11,
57-
INSTALL:true
56+
CXX:g++-11
57+
}
58+
-{
59+
OS:ubuntu-22.04,
60+
CC:gcc-12,
61+
CXX:g++-12
5862
}
5963
-{
6064
OS:ubuntu-18.04,
@@ -75,49 +79,61 @@ jobs:
7579
VERSION:'5.0'
7680
}
7781
-{
78-
OS:ubuntu-latest,
82+
OS:ubuntu-20.04,
7983
CC:clang-6.0,
8084
CXX:clang++-6.0,
8185
VERSION:'6.0'
8286
}
8387
-{
84-
OS:ubuntu-latest,
88+
OS:ubuntu-20.04,
8589
CC:clang-7,
8690
CXX:clang++-7,
8791
VERSION:'7'
8892
}
8993
-{
90-
OS:ubuntu-latest,
94+
OS:ubuntu-20.04,
9195
CC:clang-8,
9296
CXX:clang++-8,
9397
VERSION:'8'
9498
}
9599
-{
96-
OS:ubuntu-latest,
100+
OS:ubuntu-20.04,
97101
CC:clang-9,
98102
CXX:clang++-9,
99103
VERSION:'9'
100104
}
101105
-{
102-
OS:ubuntu-latest,
106+
OS:ubuntu-20.04,
103107
CC:clang-10,
104-
CXX:clang++-10
108+
CXX:clang++-10,
109+
VERSION:'10'
105110
}
106111
-{
107-
OS:ubuntu-latest,
112+
OS:ubuntu-20.04,
108113
CC:clang-11,
109-
CXX:clang++-11
114+
CXX:clang++-11,
115+
VERSION:'11'
110116
}
111117
-{
112-
OS:ubuntu-latest,
118+
OS:ubuntu-22.04,
113119
CC:clang-12,
114120
CXX:clang++-12
115121
}
116122
-{
117-
OS:ubuntu-latest,
123+
OS:ubuntu-22.04,
118124
CC:clang-13,
119-
CXX:clang++-13,
120-
VERSION:'13'
125+
CXX:clang++-13
126+
}
127+
-{
128+
OS:ubuntu-22.04,
129+
CC:clang-14,
130+
CXX:clang++-14
131+
}
132+
-{
133+
OS:ubuntu-22.04,
134+
CC:clang-15,
135+
CXX:clang++-15,
136+
VERSION:'15'
121137
}
122138
-{
123139
OS:macos-10.15,
@@ -129,11 +145,16 @@ jobs:
129145
CC:clang,
130146
CXX:clang++
131147
}
148+
-{
149+
OS:macos-12,
150+
CC:clang,
151+
CXX:clang++
152+
}
132153

133154
BUILD_CONFIG:[ Release, Debug ]
134155

135156
steps:
136-
-uses:actions/checkout@v2
157+
-uses:actions/checkout@v3
137158

138159
# install dependencies
139160
-name:Install GCC on ubuntu

‎.github/workflows/codeql-analysis.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
steps:
4141
-name:Checkout repository
42-
uses:actions/checkout@v2
42+
uses:actions/checkout@v3
4343

4444
# Initializes the CodeQL tools for scanning.
4545
-name:Initialize CodeQL

‎.github/workflows/flawfinder-analysis.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
security-events:write
2525
steps:
2626
-name:Checkout code
27-
uses:actions/checkout@v2
27+
uses:actions/checkout@v3
2828

2929
-name:flawfinder_scan
3030
uses:david-a-wheeler/flawfinder@8e4a779ad59dbfaee5da586aa9210853b701959c

‎.github/workflows/msbuild.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
BUILD_PLATFORM:[ x86, x64 ]
2020

2121
steps:
22-
-uses:actions/checkout@v2
22+
-uses:actions/checkout@v3
2323

2424
-name:Add MSBuild to PATH
25-
uses:microsoft/setup-msbuild@master
25+
uses:microsoft/setup-msbuild@main
2626

2727
-name:Build
2828
working-directory:${{env.GITHUB_WORKSPACE}}

‎.github/workflows/msvc-analysis.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
steps:
2929
-name:Checkout repository
30-
uses:actions/checkout@v2
30+
uses:actions/checkout@v3
3131

3232
-name:Configure CMake
3333
run:cmake -B ${{ env.build }}

‎CMakeLists.txt‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
cmake_minimum_required(VERSION 3.5)
22

3-
LIST(APPENDCMAKE_MODULE_PATH
4-
"${CMAKE_CURRENT_SOURCE_DIR}/CMake/modules")
5-
6-
73
project(ffsm2_test)
84

95
file(GLOBSOURCE_FILES"test/*.cpp""test/shared/*.cpp")

‎CODE_OF_CONDUCT.md‎

Lines changed: 103 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,45 +2,127 @@
22

33
##Our Pledge
44

5-
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
614

715
##Our Standards
816

9-
Examples of behavior that contributes to creating a positive environment include:
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
1019

11-
* Using welcoming and inclusive language
12-
* Being respectful of differing viewpoints and experiences
13-
* Gracefully accepting constructive criticism
14-
* Focusing on what is best for the community
15-
* Showing empathy towards other community members
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
* Focusing on what is best not just for us as individuals, but for the
26+
overall community
1627

17-
Examples of unacceptable behaviorby participantsinclude:
28+
Examples of unacceptable behavior include:
1829

19-
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20-
* Trolling, insulting/derogatory comments, and personal or political attacks
30+
* The use of sexualized language or imagery, and sexual attention or
31+
advances of any kind
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
2133
* Public or private harassment
22-
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23-
* Other conduct which could reasonably be considered inappropriate in a professional setting
34+
* Publishing others' private information, such as a physical or email
35+
address, without their explicit permission
36+
* Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
2438

25-
##Our Responsibilities
39+
##Enforcement Responsibilities
2640

27-
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
2845

29-
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
3050

3151
##Scope
3252

33-
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
3458

3559
##Enforcement
3660

37-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team atandrew.gresyk@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at
63+
andrew-gresyk@users.noreply.github.com.
64+
All complaints will be reviewed and investigated promptly and fairly.
65+
66+
All community leaders are obligated to respect the privacy and security of the
67+
reporter of any incident.
68+
69+
##Enforcement Guidelines
70+
71+
Community leaders will follow these Community Impact Guidelines in determining
72+
the consequences for any action they deem in violation of this Code of Conduct:
73+
74+
###1. Correction
75+
76+
**Community Impact**: Use of inappropriate language or other behavior deemed
77+
unprofessional or unwelcome in the community.
78+
79+
**Consequence**: A private, written warning from community leaders, providing
80+
clarity around the nature of the violation and an explanation of why the
81+
behavior was inappropriate. A public apology may be requested.
82+
83+
###2. Warning
84+
85+
**Community Impact**: A violation through a single incident or series
86+
of actions.
3887

39-
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
88+
**Consequence**: A warning with consequences for continued behavior. No
89+
interaction with the people involved, including unsolicited interaction with
90+
those enforcing the Code of Conduct, for a specified period of time. This
91+
includes avoiding interactions in community spaces as well as external channels
92+
like social media. Violating these terms may lead to a temporary or
93+
permanent ban.
94+
95+
###3. Temporary Ban
96+
97+
**Community Impact**: A serious violation of community standards, including
98+
sustained inappropriate behavior.
99+
100+
**Consequence**: A temporary ban from any sort of interaction or public
101+
communication with the community for a specified period of time. No public or
102+
private interaction with the people involved, including unsolicited interaction
103+
with those enforcing the Code of Conduct, is allowed during this period.
104+
Violating these terms may lead to a permanent ban.
105+
106+
###4. Permanent Ban
107+
108+
**Community Impact**: Demonstrating a pattern of violation of community
109+
standards, including sustained inappropriate behavior, harassment of an
110+
individual, or aggression toward or disparagement of classes of individuals.
111+
112+
**Consequence**: A permanent ban from any sort of public interaction within
113+
the community.
40114

41115
##Attribution
42116

43-
This Code of Conduct is adapted from the[Contributor Covenant][homepage], version 1.4, available at[http://contributor-covenant.org/version/1/4][version]
117+
This Code of Conduct is adapted from the[Contributor Covenant][homepage],
118+
version 2.0, available at
119+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120+
121+
Community Impact Guidelines were inspired by[Mozilla's code of conduct
122+
enforcement ladder](https://github.com/mozilla/diversity).
123+
124+
[homepage]:https://www.contributor-covenant.org
44125

45-
[homepage]:http://contributor-covenant.org
46-
[version]:http://contributor-covenant.org/version/1/4/
126+
For answers to common questions about this code of conduct, see the FAQ at
127+
https://www.contributor-covenant.org/faq. Translations are available at
128+
https://www.contributor-covenant.org/translations.

‎LICENSE‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c)2021 Andrew Gresyk
3+
Copyright (c)2023 Andrew Gresyk
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

‎README.md‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ Header-only flat FSM framework in C++11, with fully statically-defined structure
2222
##Compiler Support
2323

2424
- Visual Studio: 2015,**2017, 2019, 2022**
25-
- GCC:**5, 6, 7, 8, 9, 10, 11**
25+
- GCC:**5, 6, 7, 8, 9, 10, 11, 12**
2626
- ARM GCC:**9**
27-
- Clang:3.7, 3.8,**3.9, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13**
28-
- AppleClang:**12, 13**
27+
- Clang:**3.9, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15**
28+
- AppleClang:**12, 13, 13**
2929

30-
(Currently CI-tested toolchainsarein**bold**)
30+
(Currently CI-tested toolchains in**bold**)
3131

3232
---
3333

@@ -41,6 +41,7 @@ Header-only flat FSM framework in C++11, with fully statically-defined structure
4141
##See Also
4242

4343
-**[HFSM2](https://hfsm.dev)**: High-Performance**Hierarchical** Finite State Machine
44+
-**[HFSM Mono](https://font.hfsm.dev/)**: Monospaced bitmap Unicode fonts for HFSM2 and FFSM2 libraries
4445

4546
---
4647

@@ -59,11 +60,13 @@ Header-only flat FSM framework in C++11, with fully statically-defined structure
5960
- Fully static, no dynamic allocations
6061
- Uses inline-friendly compile-time polymorphism, no virtual methods are used
6162
- Type-safe transitions:`FSM.changeTo<TargetState>()` with optional payloads
63+
- Flexible configuration using`FFSM2_ENABLE_*` macros
6264
- Scaleable, supports robust state re-use via state injections
6365
- Gamedev-friendly, supports explicit`State::update()`
6466
- Also supports traditional event-based workflow with`State::react()`
6567
- Inspect anything: previous and current transitions, state activation status, and more!
6668
- Game AI-friendly with dynamic planning support
69+
-**[Debug-assisted](https://gresyk.dev/features/2018/01/15/hfsm-magic.html)**, includes automatic structure and activity visualization API
6770
- Built-in logging support
6871

6972
---
@@ -77,7 +80,7 @@ Header-only flat FSM framework in C++11, with fully statically-defined structure
7780
##Get In Touch
7881

7982
- Twitter:**[@andrew_gresyk](https://www.twitter.com/andrew_gresyk)**
80-
- Discord:**[HFSM.dev](https://discord.gg/v4t3tzh)**
83+
- Discord:**[HFSM.dev](https://discord.gg/ZfWjhFj)**
8184
- Gitter:**[andrew-gresyk/FFSM2](https://gitter.im/andrew-gresyk/FFSM2)**
8285

8386
---

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp