Joao Paulo Magalhaes
aca054d79b
refactor error API: add format_exc()
2025-12-28 19:17:25 +00:00
Joao Paulo Magalhaes
a02ebda1f2
refactor error API: show failed check conditions
2025-12-28 19:17:25 +00:00
Joao Paulo Magalhaes
be1b8543ea
refactor error API: update docs
2025-12-28 19:17:25 +00:00
Joao Paulo Magalhaes
60520dd2ba
refactor error API: update CI files
2025-12-28 19:17:25 +00:00
Joao Paulo Magalhaes
209c487e1d
refactor error API: update swig file
2025-12-28 19:17:25 +00:00
Joao Paulo Magalhaes
fb226d85b6
refactor error API: update samples
2025-12-28 19:17:25 +00:00
Joao Paulo Magalhaes
e08f69fcf6
refactor error API: update tests
2025-12-28 19:17:22 +00:00
Joao Paulo Magalhaes
471d18c4e0
refactor error API: update tools
2025-12-28 18:58:08 +00:00
Joao Paulo Magalhaes
d084cfddbc
refactor error API: library
2025-12-28 18:58:05 +00:00
jpmag
f59489dfee
Merge pull request #560 from biojppm/feat/python_arena
...
python: expose tree arena
2025-12-28 18:36:30 +00:00
Joao Paulo Magalhaes
5e7596d97f
Improve python API:
...
- expose `to_arena()`
- improve type handling in Tree methods accepting scalars
2025-12-28 13:13:57 +00:00
Joao Paulo Magalhaes
5bdb9eaebf
Merge branch 'origin/fix/564_relocate_arena' to master
2025-12-26 15:20:55 +00:00
Joao Paulo Magalhaes
0fa2eb10e4
fix: Tree::relocate() triggers assertions with zero-length strings
...
... when they string are placed at the beginning or end of the arena
2025-12-20 15:46:34 +00:00
jpmag
0852909b77
Merge pull request #561 from biojppm/fix/559_utf8_bom_indentation
...
Fix parse error from BOM indentation
2025-12-20 15:39:58 +00:00
Joao Paulo Magalhaes
836180f90e
Byte order mark: account for indentation
2025-12-19 18:47:23 +00:00
Joao Paulo Magalhaes
7bbce2aa40
ci: macos-13 was deprecated
2025-12-17 20:04:17 +00:00
jpmag
1313e3e70c
Merge pull request #563 from biojppm/fix/562_noderef_cend
...
NodeRef: fix bug in cend()
2025-12-17 15:51:21 +00:00
Joao Paulo Magalhaes
a572d084a4
NodeRef: fix bug in cend()
2025-12-17 12:15:23 +00:00
Joao Paulo Magalhaes
ed7f655be3
NodeRef: Add tests showing bug in cend()
2025-12-17 12:11:22 +00:00
Joao Paulo Magalhaes
564a51477b
update c4core
2025-12-17 11:48:29 +00:00
jpmag
c4d1fca70a
Merge pull request #557 from biojppm/fix/556_python_tree
...
Improve behaviour of tree creation and Tree::root_id().
2025-12-03 08:52:49 +00:00
jpmag
d2a6dd7f4f
Merge pull request #558 from kenichiice/fix-doxgen-links
2025-12-03 08:37:05 +00:00
OGAWA KenIchi
367f9945d9
Fix incorrect doxygen links
2025-12-03 15:59:23 +09:00
Joao Paulo Magalhaes
0febd0fa65
Improve behaviour of tree creation and Tree::root_id().
...
`Tree` is now non-empty by default, and `Tree::root_id()` will no longer modify the tree when it is empty. To create an empty tree now it is necessary to use the capacity constructor with a capacity of zero:
```c++
// default-constructed tree is now non-empty
Tree tree;
assert(!tree.empty()); // MODIFIED! was empty on previous version
id_type root = tree.root_id(); // OK. default-constructed tree is now non-empty
// to create an empty tree:
Tree tree(0); // pass capacity of zero
assert(tree.empty()); // as expected
// but watchout, this is no longer possible:
//id_type root = tree.root_id(); // ERROR: cannot get root of empty tree.
```
This changeset also enables the python library to call `root_id()` on a default-constructed tree
re #556
2025-12-02 21:03:48 +00:00
jpmag
f110282769
Merge pull request #553 from Sendan4/fix-freebsd-clang-cl-build
2025-10-24 23:37:09 +01:00
Sendan
3f48309ef1
allow building for MSVC clang-cl and some BSD systems
2025-10-24 14:47:43 -04:00
jpmag
196b8dca0a
Merge pull request #551 from biojppm/ci/parallel_tests
...
CI: Speed up actions by using CTEST_PARALLEL_LEVEL
2025-10-20 15:42:26 +01:00
Joao Paulo Magalhaes
de6692bd85
CI: Disable coveralls submission to avoid spurious decreases
...
[ci skip]
2025-10-20 15:42:04 +01:00
Joao Paulo Magalhaes
187c274bb2
CI: Speed up actions by using CTEST_PARALLEL_LEVEL
2025-10-20 11:30:47 +01:00
jpmag
48acea9490
Merge pull request #548 from biojppm/ievt_less_entries
...
extra: use less int event flags via split+combine scope flags
2025-10-07 12:53:53 +01:00
Joao Paulo Magalhaes
9960afe300
ci: fix hangup in workflow for aarch64/Release/c++20
2025-10-07 10:46:35 +01:00
Joao Paulo Magalhaes
59325fde75
extra: use less int event flags via split+combine scope flags
2025-10-06 17:24:41 +01:00
Joao Paulo Magalhaes
7e5762bd30
Split slower workflows to speed up execution:
...
- gcc extended
- rarearch (renamed to embedded)
2025-10-03 02:04:59 +01:00
jpmag
739e931210
Merge pull request #547 from biojppm/fix/firstdocseq
...
fix Tree::set_root_as_stream() when the original root is an empty seq
2025-10-02 22:25:20 +01:00
Joao Paulo Magalhaes
177bf53011
fix Tree::set_root_as_stream() when the original root is an empty seq
2025-10-02 19:52:55 +01:00
Joao Paulo Magalhaes
dd87caa7da
python source package should be .tar.gz
...
fixes #545
2025-10-02 00:05:23 +01:00
Joao Paulo Magalhaes
7786d02ebb
improve engine tests
2025-10-01 19:12:24 +01:00
Joao Paulo Magalhaes
653eac9741
v0.10.0
v0.10.0
2025-09-30 20:25:00 +01:00
Joao Paulo Magalhaes
4abe5e3429
try hard to reduce arena usage
2025-09-30 16:58:21 +01:00
Joao Paulo Magalhaes
6be1380ea5
fix literal scalars when alloc_arena() fails
2025-09-30 12:58:33 +01:00
Joao Paulo Magalhaes
5e1353b5d8
c4core v0.2.7
2025-09-29 23:48:00 +01:00
jpmag
f7970d5401
Merge pull request #536 from biojppm/int_handler
...
Add compliant event handler as extra, for use in other languages
2025-09-29 23:46:54 +01:00
Joao Paulo Magalhaes
9a5289005c
Update CI
2025-09-29 00:01:36 +01:00
Joao Paulo Magalhaes
9049b133f8
Update benchmarks
2025-09-29 00:01:36 +01:00
Joao Paulo Magalhaes
0fcfa3ef21
Update samples
2025-09-29 00:01:36 +01:00
Joao Paulo Magalhaes
83c163c162
Update tools
2025-09-29 00:01:36 +01:00
Joao Paulo Magalhaes
4909b742b5
Update tests
2025-09-29 00:01:32 +01:00
Joao Paulo Magalhaes
6c6c722cf8
src_extra: add event handler to create compact int events array
2025-09-29 00:01:26 +01:00
Joao Paulo Magalhaes
c2a1f18051
Doxygen improvements
2025-09-28 19:09:36 +01:00
Joao Paulo Magalhaes
26f5fccef0
lib: minor adjustments in warning suppressions
2025-09-28 19:06:04 +01:00