16 Commits

Author SHA1 Message Date
Blottiere Paul
7b431437f2 Allman brackets 2022-02-08 09:14:32 +01:00
Blottiere Paul
1cef6c78a5 Custom llvm style 2022-02-08 09:10:45 +01:00
Blottiere Paul
428ca78fb3 clang-format 2 2022-02-07 17:11:31 +01:00
Mathieu Brédif
3b8f165b35 PCSCHEMA *pc_schema_from_xml(const char *)
consistent return of pc_schema_from_xml : NULL on failure
2017-03-17 12:14:02 +01:00
Mathieu Brédif
ef5fc167d8 indentation normalization 2017-02-12 23:52:15 +01:00
Éric Lemoine
e90e0ac166 Remove unused functions and vars (#128)
* Remove unused function in pc_patch_ght.c

* Remove unused vars in pc_patch_lazperf.c

* Remove unused vars in cu_pc_patch_ght.c

* Remove unused vars in cu_pc_point.c

* Remove unused vars in cu_pc_bytes.c
2017-01-27 17:22:37 +01:00
Éric Lemoine
8cd3f4c15a Fix unit tests with cunit 2.1-3 (#124)
In CUnit 2.1-2 and before the CU_SuiteInfo structure looks like this:

    typedef struct CU_SuiteInfo {
        const char       *pName;
        CU_InitializeFunc pInitFunc;
        CU_CleanupFunc    pCleanupFunc;
        CU_TestInfo      *pTests;
    } CU_SuiteInfo;

In CUnit 2.1-3 it looks like this:

    typedef struct CU_SuiteInfo {
        const char       *pName;
        CU_InitializeFunc pInitFunc;
        CU_CleanupFunc    pCleanupFunc;
        CU_SetUpFunc      pSetUpFunc;
        CU_TearDownFunc   pTearDownFunc;
        CU_TestInfo      *pTests;
    } CU_SuiteInfo;

This commit changes the test code so it works with both CUnit 2.1-2 and CUnit
2.1-3.
2017-01-24 16:29:33 +01:00
Sandro Santilli
e6a8e062a9 Merge pull request #101 from mbredif/patch-2
Enable valgrind checks in Travis, fix reported errors and leaks.
2016-03-05 15:55:06 +01:00
Mathieu Brédif
19a57ee89b Testing compression type of dimensional bytes 2016-03-03 17:35:20 +01:00
Mathieu Brédif
0826a986a0 fix memory leak in test_uncompressed_filter 2016-03-02 23:48:13 +01:00
Sandro Santilli
11012357fd Support sigbits encoding for 64bit integers
Fixes #61
2015-04-02 16:26:30 +02:00
Andrew Bell
5d6dac27cb Cast char *'s to proper type. 2014-11-24 18:27:27 -06:00
Paul Ramsey
75fdd0fb90 Fix test to declare length of pcbytes correctly 2013-07-03 11:48:02 -07:00
Paul Ramsey
0909faa673 Do efficient filtering in RLE encoded dimensions 2013-06-28 17:34:41 -07:00
Paul Ramsey
158b5791e6 Fix RLE encoding size change 2013-06-04 14:57:11 -07:00
Paul Ramsey
668d2413b2 Tests in place for patchlevel filtering
much optimization left to do
2013-06-04 14:53:42 -07:00