1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-07-22 18:57:39 +02:00
Commit Graph

312 Commits

Author SHA1 Message Date
b92a15cce7 add top-level read/write functions for string arrays [fortran] 2021-06-15 10:20:01 +02:00
eadc2c63ac fix leaking memory [front] 2021-06-14 16:27:08 +02:00
5553e9110e add top-level read/write functions that accept arrays of strings directly 2021-06-14 15:40:26 +02:00
ae32a02652 pass max_str_len parameter also to read group_str 2021-06-14 14:36:19 +02:00
be66feec16 introduce _assert and _strarray2str helper subroutines for Fortran 2021-06-14 11:55:17 +02:00
4287d76de2 introduce calls to trexio_assert and trexio_strarray2str subroutines 2021-06-14 11:54:10 +02:00
2c4555b7bb C test adapted for string attributes [text] 2021-06-11 18:17:27 +02:00
a39784dc51 adapt the generator to populate string attributes 2021-06-11 18:16:42 +02:00
535d7ed019 enable operation on string attributes [text] 2021-06-11 18:15:30 +02:00
a40804be2e fix leaking memory and avoid allocation of empty blocks 2021-06-11 14:46:24 +02:00
b67d1c2cb2 adapt the generator for arrays of strings [text] 2021-06-11 14:45:42 +02:00
13b8d24108 [WIP] prepare new subloop triggers for the generator to properly read/free groups [text] 2021-06-10 16:35:38 +02:00
2b3e79054a [WIP] working pieces for read_dset_str [text] 2021-06-10 16:34:16 +02:00
5abac3fec2 [WIP] working write dset of strings, but with memory leak [text] 2021-06-09 18:10:59 +02:00
e8732c3611 print HDF5 version in the configure output 2021-06-09 13:57:11 +02:00
57b2b63902 add C preprocessor directive for memory reclaim call 2021-06-09 13:52:54 +02:00
aea68540c2 working tests [front,hdf5] 2021-06-08 16:13:11 +02:00
5c4782eb03 fix Fortran interface 2021-06-08 16:11:38 +02:00
842b0efaa8 use strncat instead of strcat 2021-06-08 14:59:03 +02:00
2e210bc212 bring back the max_str_len argument for read_ functions [hdf5] 2021-06-08 14:50:59 +02:00
57a83d7cf2 cleaning front end 2021-06-08 14:50:17 +02:00
0b4fe128df add h5 file from Fortran test to clean-local rule 2021-06-08 14:40:39 +02:00
4fd3c05d79 add test for truncating strings using max_str_len argument of read_ 2021-06-08 14:39:41 +02:00
36e85039d5 make file names consistent with the C test 2021-06-08 14:39:04 +02:00
3331cc0591 adapt tests to use max_str_len for a single string 2021-06-08 10:46:20 +02:00
f2c5a3a51b add max_str_len argument to read/write a single string 2021-06-08 10:45:43 +02:00
625cbc3d20 update gitignore 2021-06-08 09:25:07 +02:00
0b8ef9064a Merge branch 'master' into add-strings 2021-06-07 14:16:32 +02:00
Evgeny Posenitskiy
a9bc1fd44e
create actions.yml for CI on Ubuntu and MacOS (#38) 2021-06-07 14:05:41 +02:00
ba0f45d4aa adapt tests to assert-like behaviour 2021-06-07 11:17:02 +02:00
231fe479e7 inline with master branch 2021-06-07 11:01:37 +02:00
8fb44d585c fix tests 2021-06-04 18:42:52 +02:00
1ce1872916 fix missing things after merge 2021-06-04 18:42:35 +02:00
ea9ffaea43 Fix fortran tests 2021-06-04 18:14:45 +02:00
d57f2004ba Merge branch 'master' into add-strings 2021-06-04 18:09:26 +02:00
31bf17c66a Merge branch 'master' into evgeny 2021-06-04 17:30:51 +02:00
34478e366a resolve front end 2021-06-04 17:28:56 +02:00
02d2561d73 add tests for string attributes 2021-06-04 15:36:56 +02:00
3082dbbaf3 [WIP] adapt generator for string attributes [front,hdf5] 2021-06-04 15:36:18 +02:00
5b1cf03aaf [WIP] add has/read/write functions for string attributes [front,hdf5] 2021-06-04 15:33:50 +02:00
84cc086228
Merge pull request #48 from TREX-CoE/automake
Automake
2021-06-04 14:14:58 +02:00
2e3df57344 Fixed parallel builds 2021-06-04 14:11:17 +02:00
f1f47f4369 minor cleaning 2021-06-04 09:43:56 +02:00
3ce9c57376 safer strncpy in the front end 2021-06-04 09:18:59 +02:00
4fceb6624d fix error handling in write_group_dset 2021-06-03 17:33:31 +02:00
52e636f610 fix error handling in read_group_dset 2021-06-03 17:32:50 +02:00
c160de1a1b adapt tests to use max_str_len parameter 2021-06-03 16:13:57 +02:00
40e9aa9234 introduce max_str_len parameter 2021-06-03 16:13:11 +02:00
ed1393f5de Merge branch 'automake' of github.com:TREX-CoE/trexio into automake 2021-06-03 13:56:49 +02:00
75af136d4f Moved sparse documentation in src/templates_front/templator_front.org 2021-06-03 13:56:45 +02:00