76 Commits

Author SHA1 Message Date
leonarski_f d39e9d7a99 Don't hide symbols in the shared library
Build Packages / Build (push) Successful in 31s
1.0.0
2026-04-08 16:03:30 +02:00
leonarski_f a3235390a4 README: Update
Build Packages / Build (push) Successful in 33s
2026-04-08 15:15:22 +02:00
leonarski_f 215e9471ad CI: Dedicated upload python script
Build Packages / Build (push) Successful in 31s
2026-04-08 14:58:53 +02:00
leonarski_f 7fb6117be7 CI: Try again upload
Build Packages / Build (push) Failing after 32s
2026-04-08 14:51:20 +02:00
leonarski_f a87f4a56e4 CI: Try again upload
Build Packages / Build (push) Failing after 29s
2026-04-08 14:48:56 +02:00
leonarski_f 942e3ae532 CI: Try again upload
Build Packages / Build (push) Failing after 39s
2026-04-08 14:46:36 +02:00
leonarski_f 11c9b581f2 Fix TOKEN
Build Packages / Build (push) Failing after 31s
2026-04-08 14:35:28 +02:00
leonarski_f a7b81b7db0 Trying with tag and uploading release
Build Packages / Build (push) Failing after 29s
2026-04-08 13:32:09 +02:00
leonarski_f 959636cbc3 Add version 1.0.0 2026-04-08 13:05:52 +02:00
leonarski_f 60135d9471 Include Node.js in the docker (needed for gitea) 2026-04-08 13:04:54 +02:00
leonarski_f dd8bb91931 Add gitea process
Build Packages / Build (push) Successful in 29s
2026-04-08 12:49:39 +02:00
leonarski_f 15e8781a74 Use CMake to build the plugin and HDF5 (internally) 2026-04-08 12:39:50 +02:00
leonarski_f cfe032b731 Remove need for hdf5_hl.h (so no need for unsupported configuration of HDF5) 2026-04-08 12:38:52 +02:00
leonarski_f 6421de97bb Improve Makefile 2026-04-08 10:32:20 +02:00
leonarski_f 69470cd374 Update bitshuffle/lz4 code + embed bshuf_h5filter code into the library 2026-04-08 10:16:46 +02:00
CV-GPhL 2bcd3074cc Null terminate buffer in file.c
Ensure the buffer is null terminated after allocation - otherwise correct results from strcmp below is undefined.
2026-02-04 11:20:21 +01:00
Clemens Vonrhein cfe0e78319 loop over all filters registered when printing 2024-12-18 16:46:14 +00:00
Clemens Vonrhein d7801cdb54 modified reading of NX_class attribute - to accommodate both
DATATYPE  H5T_STRING {
      STRSIZE 14;
      STRPAD H5T_STR_NULLTERM;
      CSET H5T_CSET_ASCII;
      CTYPE H5T_C_S1;
   }

and

   DATATYPE  H5T_STRING {
      STRSIZE H5T_VARIABLE;
      STRPAD H5T_STR_NULLTERM;
      CSET H5T_CSET_UTF8;
      CTYPE H5T_C_S1;
   }
2024-12-17 09:59:55 +00:00
Clemens Vonrhein 4cf18ceff4 Mechanism to read bitshuffle-compressed pixel-mask data - by
loading/using the normal bitshuffle source from

  https://github.com/kiyo-masui/bitshuffle

(see Makefile).
2024-12-16 15:05:38 +00:00
Clemens Vonrhein 44ba3cd278 Provide a mechanism to distinguish between an image number (as
understood on the XDS side) and the image ordinal (as stored in the
HDF data).

The 2D data arrays are not necessarily at image_nr_low=1 ;-)
2024-12-16 14:57:32 +00:00
CV-GPhL ca8806c912 Merge pull request #2 from CV-GPhL/CV-GPhL-patch-1
Update plugin.c to write compilation time if available/set
2024-03-14 16:43:22 +01:00
CV-GPhL 163d5bdfb1 Update plugin.c to write compilation time if available/set 2024-03-14 16:42:52 +01:00
CV-GPhL ca2c0ee0e7 Merge pull request #1 from DiamondLightSource/master
Catching up 20240223
2024-02-23 12:55:55 +01:00
Graeme Winter 808f5fbd42 Do not depend on the strings being NULL terminated (#29)
Fixes #28

Instead make them NULL terminated by reading one longer into buffer
2023-08-09 09:42:16 +01:00
Graeme Winter 5d0b7bd104 New flag needed 2022-03-11 14:47:22 +00:00
Clemens Vonrhein 77d2b84957 Better handling of (usually) unsigned data arrays when calling routine
to convert to (signed) int and apply pixel mask. The environment
variable DURIN_RESET_UNMASKED_PIXEL can now be used to set non-masked
saturated pixels in order to process them correctly with e.g. XDS.
2021-04-08 14:46:48 +01:00
Clemens Vonrhein 0f27832f78 Resolved merge conflicts 2021-04-06 12:33:21 +01:00
Graeme Winter 300a980551 Use blocks for imports to prevent reorder; finish clang-format 2020-10-27 09:55:39 +00:00
Graeme Winter 4a6a75af70 clang-format err.* 2020-10-27 09:55:39 +00:00
Graeme Winter b36870935a clang-format file.* 2020-10-27 09:55:39 +00:00
Graeme Winter d73d6d70cb clang-format test.c 2020-10-27 09:55:39 +00:00
Graeme Winter 513bb10bf4 clang-format plugin 2020-10-27 09:55:39 +00:00
Graeme Winter 6ffef7d7c2 Typo; some comment formats 2020-10-27 09:55:39 +00:00
Graeme Winter e3cad6a7c3 Switch to c99 from c89 default - fixes #20
auggested by @jcbollinger
2020-10-26 15:58:25 +00:00
Clemens Vonrhein 9e7d609f42 allow for image offset via DURIN_IMAGE_NUMBER_OFFSET environment
variable
2020-06-12 15:57:14 +01:00
Graeme Winter 9b3236b084 First cut: use H5_USE_110_API (#19)
For #18 - compile against 1.10 API (may need to do more work to make sure this
does what we actually want)
2020-06-08 10:55:24 +01:00
Graeme Winter f25a73c667 Set to NULL after free; though fixes nothing 2020-04-02 14:21:52 +01:00
Tom Schoonjans 6165d14c31 Force linking against HDF5 shared library (#16) 2020-01-22 06:40:22 +00:00
Tom Schoonjans 19b16ad2a1 Fix sprintf usage (#15) 2020-01-21 10:52:49 +00:00
Graeme Winter 4e2b0c7506 Point at release 2019-05-08 09:28:59 +01:00
Charles Mita 34a38e15fd Update README.md 2019v1 2019-01-29 19:58:27 +00:00
Charles Mita 8eaacaed77 Set plugin target as the default target in Makefile
This makes "make" build only the most useful software by default.

Building the test_plugin target requires fortran and openmp, which are
otherwise not required for the durin plugin itself, and is not of
interest to most building the software.
2019-01-29 14:11:20 +00:00
Charles Mita 2f6348e8d2 Replace placeholders in LICENSE with the equivalent terms 2019-01-29 13:31:58 +00:00
Charles Mita ffebc60cdb Stop errors when no pixel mask is provided 2019-01-29 13:31:58 +00:00
graeme-winter c129d095e0 CFLAGS to -fPIC 2019-01-18 15:00:28 +00:00
graeme-winter 1e202a7429 more detail on how to use 2018-10-11 10:55:58 +01:00
Charles Mita 1929c1149b Merge branch 'chunk_read' 2018-10-09 14:21:09 +01:00
Charles Mita 78d49aa161 Add -std=c89 to compile flags
Helps with some of the fixed-width typedefs in the bitshuffle library.
2018-10-09 14:12:30 +01:00
graeme-winter 59f4983524 Fix nasty hacks 2018-10-04 04:12:39 +01:00
graeme-winter 38b43be701 Nasty hack to work around non-masked data 2018-10-04 12:07:39 +09:00