1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2025-04-29 11:54:45 +02:00

69 Commits

Author SHA1 Message Date
6fe5a1eaa7 [WIP] add delete_group functions and unsafe trexio_open mode 2022-01-24 10:10:16 +01:00
550c5c3954 implement trexio_inquire function in front and back ends 2022-01-19 14:06:10 +01:00
64081e46ad cppcheck fixes 2022-01-07 11:50:55 +01:00
4ef5386ae6 [cppcheck] fix some warnings 2021-12-27 16:29:26 +01:00
0a8aa638f6 fix double deallocation in text back end 2021-12-23 18:49:00 +01:00
c2376bf168 Fixed bug in text back-end when reading empt attributes 2021-12-23 18:21:17 +01:00
q-posev
31ccd27a0a fix warnings on MacOS 2021-12-17 17:07:53 +01:00
2639b76a6e optimize storage of indices depending on the size_max variable [TEXT] 2021-12-17 15:32:03 +01:00
9f5ee463e1 only shift indices that have been read to the buffer (EOF case) 2021-12-10 14:02:05 +01:00
e5bde10056 alternative way to check for EOF with fgets while reading 2021-12-03 19:23:01 +01:00
ed3bde973e [WIP] more general templated variables for sparse data
+ renamed templated variables with std_dtype_in|out suffix into _format_scanf|printf for clarity
2021-12-03 15:42:40 +01:00
c520175cbe use size_max values provided by the read_size functions 2021-12-03 11:48:51 +01:00
d2c95cd306 add functions to read the number of stored sparse elements 2021-12-02 17:28:37 +01:00
acdf982a94 fixed string length for file name + comments 2021-12-01 16:28:47 +01:00
7afce779a8 better error handling in TEXT back end 2021-12-01 16:11:40 +01:00
83c926fd6b replace offset_data arg with pointer arithmetics 2021-12-01 09:56:31 +01:00
d3ba8f3652 [WIP] working generator for sparse functions
+ remove trailing whitespaces
2021-11-30 16:30:36 +01:00
c1e1176400 [WIP] text back end 2021-11-24 17:44:54 +01:00
1812deb9dd Check return value of mkdtemp 2021-10-14 10:53:15 +02:00
5cf12131f1 Fix text back end for read-only directories (make distcheck in qmckl) 2021-10-13 17:43:15 +02:00
d017306706 Better error handling with open in text back end 2021-10-13 16:13:24 +02:00
389d265f7f fix cppcheck warnings regarding redundant size_dset_str checks 2021-09-21 16:08:04 +02:00
d1a9af4185 remove blank spaces in front of pointers 2021-09-21 15:54:11 +02:00
788f7e666d read single numerical attributes based on _isSet bool flag 2021-09-21 15:41:12 +02:00
11a17c65d3 add attr_ prefix to the template file name for numerical attributes 2021-09-21 10:41:37 +02:00
4b9827048f adapt the templates in back ends 2021-09-20 15:51:36 +02:00
12dd1fd8dc apply some suggestions from cppcheck 2021-09-12 13:25:03 +02:00
9f4176a8b6 resolve major compiler warnings produced by distutils 2021-07-27 11:06:06 +02:00
ae32a02652 pass max_str_len parameter also to read group_str 2021-06-14 14:36:19 +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
13b8d24108 [WIP] prepare new subloop triggers for the generator to properly read/free groups [text] 2021-06-10 16:35:38 +02:00
5abac3fec2 [WIP] working write dset of strings, but with memory leak [text] 2021-06-09 18:10:59 +02:00
42f81b2cc6 prepare templates and files for datasets with strings [all] 2021-05-27 15:14:01 +02:00
0cc24bd21e error handling for trexio_text_deinit function 2021-05-19 15:03:15 +02:00
q-posev
047153b7c1 remove NULL pointer check for file_name in text 2021-05-18 11:43:05 +02:00
181fe988f3 Fixed append problem 2021-05-06 19:40:27 +02:00
q-posev
6e54e89d24 inttypes macros for rdm 2021-05-06 18:17:41 +02:00
20d551a70b include inttypes to fix portability issues in text back end 2021-05-06 18:08:28 +02:00
5e3c085fb7 discard patch for rdm 2021-05-06 09:38:28 +02:00
d3b35ae453 discard portability patch 2021-05-06 09:35:48 +02:00
q-posev
48d300674a portability patch for mac 2021-05-06 09:19:05 +02:00
daf3fdeb8b Fixed warning about strlen in strncpy 2021-05-04 10:03:32 +02:00
Evgeny Posenitskiy
8defdaa0c0
org-mode to html conversion for the documentation website (#41)
* working static html doc website generated from org-mode files

* fix build_doc script

* add gitignore

* add gitignore

* clean html garbage

* documented hdf5

* documented text back end
2021-04-09 16:45:44 +02:00
7e55933fea make consistent hierarchy in org-mode files 2021-04-08 11:40:50 +02:00
b656917323 consistent naming init/deinit instead init/finalize in back ends 2021-04-08 11:31:51 +02:00
42df2253eb better error handling 2021-03-30 16:03:34 +02:00
7d24442984 FIX: truncated precision of floats [text] 2021-03-30 15:44:26 +02:00
0d0bed0585 forgot text templator 2021-03-30 11:51:05 +02:00
Evgeny Posenitskiy
18c6fb845f
Smart deallocation of dsets upon failure in read_group [text] (#35)
* fix FC variable
* smart deallocation of dsets + some cleaning in templator [text]
2021-03-29 13:27:54 +02:00