liang.he@intel.com
be4dc9fcf9
fix: correct indentation in RESULT_STRUCT_TEMPLATE for clarity
2025-11-10 12:45:34 +00:00
liang.he@intel.com
39e8343152
refactor: remove unused resolve_typedef function and simplify type resolution
2025-11-10 12:45:34 +00:00
liang.he@intel.com
15bc48b70b
fix: update copyright notice and improve header file generation comments
2025-11-10 12:45:34 +00:00
liang.he@intel.com
b7126c18fc
refactor: rename and break process_headers into small ones
2025-11-10 12:45:34 +00:00
liang.he@intel.com
42ec04cd9f
Add docstring to introduce script usage, arguments, and output
2025-11-10 12:45:34 +00:00
liang.he@intel.com
1a1112f3d9
Add command-line options to accept paths of headers as a list of multiple file paths
2025-11-10 12:45:34 +00:00
liang.he@intel.com
22a969e67c
fix: correct error code assignment for boolean return type in generate_checked_function
2025-11-10 12:45:34 +00:00
liang.he@intel.com
170b23d27b
fix: add duplicate typedef check and improve pointer handling in generate_checked_function
2025-11-10 12:45:34 +00:00
liang.he@intel.com
4cd5e2e689
fix: update generate_checked_function to resolve typedefs and enhance Result handling for new return types
2025-11-10 12:45:34 +00:00
liang.he@intel.com
edefd13a8d
fix: enhance return type handling in generate_checked_function to support pointer types
2025-11-10 12:45:34 +00:00
liang.he@intel.com
2de30f7b6f
Revert "WIP. fix bugs about returning a pointer"
...
This reverts commit 4f9f6422cd9c32b71890d5ef668a8e3c15e15aa8.
2025-11-10 12:45:34 +00:00
liang.he@intel.com
629d01b9bd
WIP. fix bugs about returning a pointer
2025-11-10 12:45:34 +00:00
liang.he@intel.com
4e0b85eccf
fix: update generate_checked_function to include static inline in function declaration
2025-11-10 12:45:34 +00:00
liang.he@intel.com
90bfd394da
feat: enhance generate_checked_function to support variadic arguments and update Result handling
2025-11-10 12:45:34 +00:00
liang.he@intel.com
16d35155a5
refactor: streamline Result handling by consolidating return type assignments and excluding void type
2025-11-10 12:45:34 +00:00
liang.he@intel.com
e1a10571a6
feat: include original wasm_export.h and necessary headers in generated header file
2025-11-10 12:45:34 +00:00
liang.he@intel.com
a94ca0b5d3
refactor: Make Result struct definition locally and remove dynamic type addition
2025-11-10 12:45:34 +00:00
liang.he@intel.com
2860ead566
refactor: based on current file location to adjust header file paths
2025-11-10 12:45:34 +00:00
liang.he@intel.com
356b575148
feat: add generate_checked_functions script to dynamically create checked function wrappers
2025-11-10 12:45:34 +00:00
TianlongLiang
23799a2cb6
Collective fix ( #4413 )
...
* Fix vector growth check and typos in core (#9 )
* Fix resource cleanup in memory and running modes tests (#10 )
* Add end of file empty line in wasm_running_modes_test.cc
2025-06-26 10:20:40 +08:00
YAMAMOTO Takashi
382aa9e6c3
run_clang_format_diff: mention homebrew for clang-format installation ( #4237 )
2025-05-06 06:55:42 +08:00
liang.he
fc1527eacd
Raise CI runner to ubuntu 22.04 ( #4191 )
...
update workflows and scripts for Ubuntu 22.04 compatibility. It includes
- install Intel SGX SDK 2.25
- use a reusable action to install sgx required
- keep improve error handling in AOT compilation process in runtest.py
add a workaround to fix receiving a shutdown signal problem. Refers to https://github.com/actions/runner-images/issues/6680 and https://github.com/actions/runner-images/discussions/7188
2025-04-17 15:07:46 +08:00
liang.he
06ea960e76
fix(runtest.py): A workaround to bypass errors that occur when deleting temporary files ( #4093 )
...
- Replace sys.exit with exceptions for better error handling in test assertions
- Update exception handling in compile_wast_to_wasm to catch all exceptions
- Improve error messages and logging
- Use `--ignore-whitespace` option for git apply in spec_test function
- Use raw string notation for regex patterns. *The "SyntaxWarning: invalid escape sequence" in Python The warning has been upgraded to SyntaxWarning since Python 3.12, and it is expected to become a SyntaxError in future versions.*
- Add early return for non-loadable AOT compilation to prevent unnecessary assertions
- Redirect stderr to stdout in test_case for unified output
- Update `create_tmpfiles()` to improve clarity and handling of temporary files
2025-03-20 14:25:13 +08:00
TianlongLiang
7d56289fab
Exclude fuzz test python and npm packages in scoreboard scan ( #3871 )
...
* exclude fuzz test for scoreboard scan
* ci ignore osv-scanner.toml file name inconsistency
2024-10-23 14:48:15 +08:00
liang.he
df82ae8774
ci/coding_guidelines_check.py: Allow some well-known file names to contain '-' ( #3428 )
...
And shorten pathlib.Path to Path.
2024-05-14 12:35:18 +08:00
Benbuck Nason
b349d844f8
Fix workspaces path in build_wamr.sh ( #3414 )
...
This should match the path inside of .devcontainer/Dockerfile.
2024-05-13 11:47:28 +08:00
Benbuck Nason
ca61184ced
Fix some spelling issues ( #3385 )
...
Fix some of the spelling issues found by CSpell.
2024-05-06 07:56:48 +08:00
Wenyong Huang
63cd567b3f
Separate app-manager and app-framework from WAMR ( #3129 )
...
As planned, the app-manager and app-framework are to be migrated to
https://github.com/bytecodealliance/wamr-app-framework .
ps.
https://github.com/bytecodealliance/wasm-micro-runtime/issues/2329
https://github.com/bytecodealliance/wasm-micro-runtime/wiki/TSC-meeting-notes
2024-02-20 18:12:36 +08:00
Xu Jun
377c3d7a38
Auto increase port number in lldb validation script ( #2492 )
2023-08-22 14:24:42 +08:00
Maks Litskevich
0e12cdec48
Add sample pre-commit hook ( #2470 )
...
Using pre-commit hooks helps us to decrease CI load and improve developers' experience.
2023-08-18 10:40:05 +08:00
Xu Jun
25a1985413
Add scripts to validate lldb source debugger ( #2150 )
2023-07-05 15:58:57 +08:00
TianlongLiang
ee210d019f
Dockerfile lint errors fix ( #1493 )
...
Fix the Dockerfile linter errors and most warnings
2022-09-22 13:06:11 +08:00
Wenyong Huang
e7079eeb17
Update document of embed wamr and code format check ( #1054 )
...
Update document embed wamr, add how to embed wamr in cmake and makefile
Update document coding guideline check, add how to install clang-format-12
2022-03-23 11:01:57 +08:00
liang.he
6917137ba5
Fix a typo in ci/Dockerfile ( #953 )
2022-01-13 14:49:29 +08:00
liang.he
36b8f8fca2
Use clang+llvm released binaries instead of "apt install" in Dockerfile ( #952 )
2022-01-13 12:15:59 +08:00
liang.he
ff997c287a
Update document of multi-module ( #930 )
2022-01-05 14:32:48 +08:00
liang.he
f2d87ec02e
code guideline: Fix bug of mischeck file name with '_' ( #901 )
...
Fix bug that code guideline reports error when there is '_' in new file's name.
And add unit test cases, which can be run with `pyhton3 -m unitest <filename>`.
2021-12-16 16:50:15 +08:00
Wenyong Huang
5fbf03fa6e
Exclude IoT-APP-Store-Demo from code guideline check ( #879 )
2021-12-08 18:41:09 +08:00
Wenyong Huang
5face80e0c
Fix spec test workflow issue and CI Dockerfile issue ( #810 )
...
Fix llvm binaries cache missed issue in spec test workflow,
fix CI Dockerfile issue and refine code format for libc_builtin_wrapper.c.
2021-10-30 09:24:03 +08:00
liang.he
225f5d0a64
Enable to trigger code guideline checks when PR is created ( #790 )
...
Enable to trigger code guideline checks for C/C++ source codes when PR is created
2021-10-19 17:42:54 +08:00
liang.he
b46b663c16
Enhance spec test workflow to support x86_32 target ( #787 )
...
Enable test spec cases on x86_32 target when PR is created.
And Format shell script with [shellfmt](https://marketplace.visualstudio.com/items?itemName=foxundermoon.shell-format ).
2021-10-15 17:05:07 +08:00
Wenyong Huang
7191ecf880
Customize clang-format coding styles based on Mozilla template ( #770 )
...
Customize clang-format coding styles for C source files based on Mozilla template.
To check whether the C source codes are well formatted:
``` bash
$ cd ${wamr-root}
$ clang-format --Werror --dry-run --style=file path/to/file
```
To format the C source codes in place
``` bash
$ cd ${wamr_root}
$ clang-format -i --style=file path/to/file
```
Signed-off-by: Wenyong Huang <wenyong.huang@intel.com>
2021-10-06 09:54:36 +08:00
Wenyong Huang
7be0d385a6
Implement SIMD latest opcodes and update LLVM to 13.0 ( #758 )
...
Implement the latest SIMD opcodes and update LLVM 13.0,
update the llvm build scripts, update the sample workloads‘ build scripts,
and build customized wasi-sdk to build some workloads.
Also refine the CI rules.
Signed-off-by: Wenyong Huang <wenyong.huang@intel.com>
2021-09-17 19:12:57 +08:00
Wenyong Huang
64b5459066
Implement Windows thread/mutex/cond APIs to support multi-thread ( #627 )
...
Implement Windows thread/mutex/cond related APIs to support Windows multi-thread feature
Change Windows HW boundary check implementation for multi-thread: change SEH to VEH
Fix wasm-c-api issue of getting AOTFunctionInstance by index, fix wasm-c-api compile warnings
Enable to build invokeNative_general.c with cmake variable
Fix several issues in lib-pthread
Disable two LLVM passes in multi-thread mode to reserve volatile semantic
Update docker script and document to build iwasm with Docker image
Signed-off-by: Wenyong Huang <wenyong.huang@intel.com>
2021-05-11 16:48:49 +08:00