Joao Paulo Magalhaes
b35ccb1502
v0.5.0
v0.5.0
2022-12-17 21:00:42 +00:00
Joao Paulo Magalhaes
4204e2cd29
[doc] minor improvements to quickstart
2022-12-17 11:27:00 +00:00
Joao Paulo Magalhaes
cd652fb097
[doc] minor improvements to the quickstart
2022-12-17 11:18:41 +00:00
jpmag
bbae730c88
Merge pull request #343 from biojppm/fix/python_release
...
[ci] disable creation of python packages for Windows and MacOSX
2022-12-15 12:17:51 +00:00
Joao Paulo Magalhaes
6fe06404a6
[ci] disable creation of python packages for Windows (except 3.6/3.7) and MacOSX
...
Here's an example log of the problem for Windows:
see https://github.com/biojppm/rapidyaml/actions/runs/3686238289/jobs/6238204139
```
+ pip install -v dist/rapidyaml-0.4.1.post139-cp311-cp311-win_amd64.whl
Using pip 22.3.1 from C:\hostedtoolcache\windows\Python\3.11.0\x64\Lib\site-packages\pip (python 3.11)
Processing d:\a\rapidyaml\rapidyaml\dist\rapidyaml-0.4.1.post139-cp311-cp311-win_amd64.whl
Installing collected packages: rapidyaml
Successfully installed rapidyaml-0.4.1.post139
+ pip show -f rapidyaml
Name: rapidyaml
Version: 0.4.1.post139
Summary: Rapid YAML - a library to parse and emit YAML, and do it fast
Home-page: https://github.com/biojppm/rapidyaml
Author: Joao Paulo Magalhaes
Author-email: dev@jpmag.me
License: MIT
Location: C:\hostedtoolcache\windows\Python\3.11.0\x64\Lib\site-packages
Requires:
Required-by:
Files:
rapidyaml-0.4.1.post139.dist-info\INSTALLER
rapidyaml-0.4.1.post139.dist-info\LICENSE.txt
rapidyaml-0.4.1.post139.dist-info\METADATA
rapidyaml-0.4.1.post139.dist-info\RECORD
rapidyaml-0.4.1.post139.dist-info\REQUESTED
rapidyaml-0.4.1.post139.dist-info\WHEEL
rapidyaml-0.4.1.post139.dist-info\direct_url.json
rapidyaml-0.4.1.post139.dist-info\top_level.txt
ryml\__init__.py
ryml\__pycache__\__init__.cpython-311.pyc
ryml\__pycache__\ryml.cpython-311.pyc
ryml\__pycache__\version.cpython-311.pyc
ryml\_ryml.pyd
ryml\ryml.py
ryml\tests\__pycache__\parse_bm.cpython-311.pyc
ryml\tests\__pycache__\test_parse.cpython-311.pyc
ryml\tests\parse_bm.py
ryml\tests\test_parse.py
ryml\version.py
+ python -c 'import ryml'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\hostedtoolcache\windows\Python\3.11.0\x64\Lib\site-packages\ryml\__init__.py", line 1, in <module>
from ryml.ryml import *
File "C:\hostedtoolcache\windows\Python\3.11.0\x64\Lib\site-packages\ryml\ryml.py", line 13, in <module>
from . import _ryml
ImportError: DLL load failed while importing _ryml: The specified module could not be found.
Error: Process completed with exit code 1.
```
2022-12-15 10:56:19 +00:00
Joao Paulo Magalhaes
43fd1bb68a
[doc] refer non-unique keys in the main readme limitations
...
re #342
2022-12-12 16:28:57 +00:00
jpmag
49411eea56
Merge pull request #340 from NaN-git/fix-duplicate-no-rep
2022-12-08 09:09:07 +00:00
jpmag
b80d023ddd
Merge pull request #339 from NaN-git/fix-copy-props
2022-12-08 09:08:00 +00:00
Joao Paulo Magalhaes
7f0619b47d
[chore] update changelog
2022-12-07 16:09:44 +01:00
Philipp Otterbein
4e03ef79fe
github issue #277 : add test case
2022-12-07 16:06:42 +01:00
Philipp Otterbein
19394ec9ae
fix Tree::duplicate_children_no_rep
...
don't call move with prev = NONE
2022-12-07 16:03:04 +01:00
Joao Paulo Magalhaes
e38d4bcefd
[refac] use an enum constant for copying properties
2022-12-07 15:28:56 +01:00
jpmag
d49fd81b68
Merge pull request #341 from lgtm-migrator/codeql
...
Add CodeQL workflow for GitHub code scanning
2022-12-07 13:57:53 +00:00
LGTM Migrator
e0b01924fa
Add CodeQL workflow for GitHub code scanning
2022-12-07 09:23:31 +00:00
Philipp Otterbein
4edfdaac3a
github issue #268 : add test case
2022-12-06 09:23:34 +01:00
Philipp Otterbein
0f93309308
don't override key type_bits when copying val
2022-12-05 02:12:23 +01:00
jpmag
10c2fe19c2
Merge pull request #338 from NaN-git/fix-empty-line
...
fix empty line detection
2022-12-03 15:05:44 +00:00
Joao Paulo Magalhaes
3e0c7341f3
[chore] update changelog
2022-12-03 16:05:15 +01:00
Philipp Otterbein
b25f371494
fix empty line detection
2022-12-02 22:28:23 +01:00
Joao Paulo Magalhaes
94d7bbd50f
[fix] re #336 : remove eager assertion from NodeRef::duplicate()
2022-11-30 15:07:08 +00:00
jpmag
b619f7832e
Merge pull request #335 from dancingbug/dancingbug-patch-1
...
make _clear_val clear val instead of key
2022-11-30 09:59:21 +00:00
Joao Paulo Magalhaes
9aa2457680
[chore] update changelog
2022-11-30 08:06:46 +00:00
dancingbug
0d85a57c0e
make _clear_val clear val instead of key
2022-11-29 20:42:05 -05:00
jpmag
ac674781db
Merge pull request #334 from biojppm/fix/atbacktick320
...
[fix] quote backtick and at only when they lead the scalar
2022-11-28 11:26:10 +00:00
Joao Paulo Magalhaes
3bf2570707
[fix] quote backtick and at only when they lead the scalar
...
re #320
2022-11-28 08:48:07 +00:00
Joao Paulo Magalhaes
0282bdcc3f
[ci] fix github runners, update actions
2022-11-28 08:19:46 +00:00
Joao Paulo Magalhaes
9082379a82
[fix] re #331 eager scan for carriage return caused slow parsing
2022-11-27 19:05:03 +00:00
Joao Paulo Magalhaes
64f037a2e6
[fix] NodeRef CRTP: suppress alignment warning in GCC as well:
...
this is ok because the original data is the final (align-extended)
pointer, and there will be no pointer arithmetic done on the CRTP
pointer, so alignment does not come into play.
see https://stackoverflow.com/questions/25762173/why-does-wcast-align-not-warn-about-cast-from-char-to-int-on-x86
2022-11-24 09:45:54 +00:00
Joao Paulo Magalhaes
a69a3534f9
[fix] Tree::move(): add assertions to ensure new_parent differs from node
2022-11-21 11:00:22 +00:00
Joao Paulo Magalhaes
0a89369107
[fix] deprecate pointless has_siblings()
2022-11-21 11:00:22 +00:00
Joao Paulo Magalhaes
88933bc7ef
[fix] complexity of has_sibling() and has_child() is now linear
...
re #329
2022-11-21 11:00:22 +00:00
Joao Paulo Magalhaes
a3e646f979
[fix] eager assertions prevented moving nodes to the first position
...
re #324
2022-11-18 19:38:19 +00:00
Joao Paulo Magalhaes
317773d955
[bm] bm plots: bokeh changed API on 3.0
2022-11-18 19:34:14 +00:00
Joao Paulo Magalhaes
59ea113ab5
[chore] update cmake
2022-11-18 16:13:35 +00:00
Joao Paulo Magalhaes
1d89de32f6
[fix] honor runtime settings for calling debugbreak, add compile option to disable
...
fixes #326
2022-11-18 15:20:39 +00:00
Joao Paulo Magalhaes
46ddd1513d
[fix] re bioppm/c4core#94 : armv8a feature detection macro
2022-11-18 14:20:35 +00:00
jpmag
74c80318da
Merge pull request #318 from PIG208/quickstart
...
[fix] add map node properly
2022-10-10 21:05:55 +02:00
Zixuan James Li
e92b432e22
[fix] add map node properly and fix expected result
...
This fixes a typo, along with some checks for better measure.
Signed-off-by: Zixuan James Li <p359101898@gmail.com >
2022-10-09 21:05:05 -04:00
jpmag
a758fa7e3e
Merge pull request #264 from Gei0r/Fix#263
...
Fix ambiguity between null strings and zero-length strings
2022-10-06 02:50:02 +02:00
Joao Paulo Magalhaes
6009769e34
[refac] coverage: remove unused code
2022-10-05 23:08:53 +01:00
Joao Paulo Magalhaes
ce4b930ac9
[fix] improve edge case of doc locations
2022-10-05 18:02:36 +01:00
Joao Paulo Magalhaes
f6a69499b9
[ci] disable coveralls submission
2022-10-05 18:02:35 +01:00
Joao Paulo Magalhaes
fcf842b373
[fix] ensure nonnull empty strings have an address and are emitted with quotes
2022-10-01 19:36:19 +01:00
Joao Paulo Magalhaes
c54eddfe5c
[ci] coveralls is failing
2022-09-29 14:53:35 +01:00
Joao Paulo Magalhaes
a9cb28c304
[fix] workaround for gcc optimizer bug in Tree::to_arena(csubstr)
...
see https://github.com/biojppm/rapidyaml/pull/264#issuecomment-1262133637
2022-09-29 12:34:30 +01:00
Joao Paulo Magalhaes
f9958e5524
[test] add test reproducing GCC optimizer error from Tree::to_arena(csubstr)
...
see https://github.com/biojppm/rapidyaml/pull/264#issuecomment-1262133637
2022-09-29 12:31:08 +01:00
Joao Paulo Magalhaes
20359fc5ee
[refac] improve key_is_null(), val_is_null()
2022-09-29 12:22:45 +01:00
Joao Paulo Magalhaes
744e906e2c
[fix] locations: try hard to not yield to the beginning of the buffer
2022-09-28 20:39:22 +01:00
Joao Paulo Magalhaes
cab345573a
[fix] empty scalars: fix behavior with ambiguous (non)null empty scalars
2022-09-28 19:11:38 +01:00
Joao Paulo Magalhaes
0e2fad01e4
[impl] refine required behavior with null/non-null empty scalars
2022-09-28 19:11:38 +01:00