Commit graph

  • 368511ace7 support user provided string duplication function main Rongsong Shen 2025-10-31 16:46:41 +08:00
  • 7484693df1 fix decode issue of structure with zero length list Rongsong Shen 2025-09-22 17:34:58 +08:00
  • 94af71fa0b fix pkg data Rongsong Shen 2025-09-05 15:58:36 +08:00
  • a8a0da6ced fix pkgconfig data Rongsong Shen 2025-09-05 15:49:06 +08:00
  • 891355581d fix missed file for cmake install Rongsong Shen 2025-09-05 15:35:23 +08:00
  • c1fe4d4a53 enhance list decode & provide pkgconfig data Rongsong Shen 2025-09-05 14:54:01 +08:00
  • a86c5ab151 use capn_null than zero filled object for null object Rongsong Shen 2025-05-09 13:48:56 +08:00
  • 6c0fbc4bbd test with nest union Rongsong Shen 2025-05-08 09:42:09 +08:00
  • dd65178724 fix issue of unused variable Rongsong Shen 2025-05-08 09:13:06 +08:00
  • dd1fbd4043 auto generate memory free code for decode data Rongsong Shen 2025-05-07 18:04:13 +08:00
  • 40006c00d2 improve list encode/decode Rongsong Shen 2025-04-28 10:32:18 +08:00
  • 3a7ae150b8 handle NULL text Rongsong Shen 2025-04-27 17:52:42 +08:00
  • 07e2126e25 enhance to generate encode routine to be more robust to encode NULL Rongsong Shen 2025-04-27 17:23:50 +08:00
  • 3425f75440 improve ptr Rongsong Shen 2025-04-25 10:21:04 +08:00
  • e1013e038b fix incorrect swap of source/dest var in decode list Rongsong Shen 2025-04-24 16:04:30 +08:00
  • c582108917 fix SEGV issue & merge xmake Rongsong Shen 2025-04-21 17:52:24 +08:00
  • 22a2e87003 fix cmake Rongsong Shen 2025-04-21 14:14:07 +08:00
  • 45a69c993f fix cmake Rongsong Shen 2025-04-21 14:11:49 +08:00
  • 5d64af4841 merge code Rongsong Shen 2025-04-21 13:13:34 +08:00
  • 1089ab8441 Hygiene only when project is top-level Jonah Beckford 2023-10-02 21:55:20 -07:00
  • bb56ba5d47 Add target variants -Shared, etc. Jonah Beckford 2023-09-27 14:41:10 -07:00
  • 07a18d2d7b bugfix: Set CXX compiler if no BUILD_TESTING Jonah Beckford 2023-09-27 14:37:43 -07:00
  • edc0d97de0 bugfix: Remove attribute from struct types Jonah Beckford 2023-09-26 20:13:27 -07:00
  • 014d4ea4df Implement attrs: extendedattribute and extraheader Jonah Beckford 2023-09-25 18:18:37 -07:00
  • d64f4d1c62 GoogleTest 1.14.0 when C++14 compiler available (2/2) Jonah Beckford 2023-09-25 18:31:58 -07:00
  • a76885dfac GoogleTest 1.14.0 when C++14 compiler available Jonah Beckford 2023-09-25 15:59:17 -07:00
  • 9bc6befee7 Cache variable BUILD_SHARED_LIBS Jonah Beckford 2023-09-25 15:31:29 -07:00
  • b6e04c7d38 Add C_CAPNPROTO_ENABLE_INSTALL Jonah Beckford 2023-09-23 22:16:07 -07:00
  • 1ed0aed18c Fix repository links in README Anton Kochkov 2023-09-04 08:39:11 +00:00
  • 0d89427d71
    Fix broken link Jonah Beckford 2023-09-06 22:31:36 +00:00
  • e4b5a71a46 Add POSITION_INDEPENDENT_CODE to CapnC::Runtime Jonah Beckford 2023-08-24 22:45:17 -07:00
  • f703bd962c Use dksdk.android.ndk.download location Jonah Beckford 2023-08-10 16:32:35 -07:00
  • a5138e4aaf Do ./dk dkml.wrapper.upgrade Jonah Beckford 2023-08-10 16:27:55 -07:00
  • 2aeccdbe6a Cache .ci for Conda CI machines Jonah Beckford 2023-08-08 09:06:00 -07:00
  • a3e6f6c331 Instructions for CMake usage Jonah Beckford 2023-08-08 07:00:46 -07:00
  • d8b55078ba Add C++ standard to CMake for MSVC Jonah Beckford 2023-08-07 20:55:27 -07:00
  • f07596dbb5 Add CMake and tests Jonah Beckford 2023-08-07 19:39:57 -07:00
  • 7056638935 Avoid undefined left shift of negatives Jonah Beckford 2023-08-07 17:01:41 -07:00
  • 311b9cb0e0 Fix clang-tidy bugprone-macro-parentheses Jonah Beckford 2023-08-03 18:19:55 -07:00
  • c662042a60 Read schemas in binary on Windows Jonah Beckford 2023-06-22 12:11:03 -07:00
  • 25784e3ccf Use SSIZE_T from BaseTsd.h to compile MSVC 32-bit Jonah Beckford 2023-06-07 21:24:33 -07:00
  • 01657913b2 Put alignment on segment fields. Work with MSVC Jonah Beckford 2023-05-09 18:22:57 -07:00
  • 632f0d73a1 Update autogenerated files David Lamparter 2023-04-23 14:34:07 +02:00
  • 79d6035e3f Revert "Merge pull request #54 from cbrune/curt/const" David Lamparter 2023-04-23 14:32:27 +02:00
  • eb1839e001 Fix bool defaults for non-first bit David Lamparter 2023-04-23 14:30:11 +02:00
  • b2b7ade9c0 Fix random warnings David Lamparter 2023-04-23 14:21:58 +02:00
  • c79b3afbbd
    Merge pull request #24 from jlferrer/fix_compiler_big_files David Lamparter 2023-04-23 14:12:52 +02:00
  • 32520c5eb3
    Merge pull request #60 from XVilka/github-ci David Lamparter 2023-04-23 14:12:34 +02:00
  • 32def19b9d
    Merge pull request #57 from XVilka/meson-build David Lamparter 2023-04-23 14:12:13 +02:00
  • 4109705a8d
    Merge pull request #54 from cbrune/curt/const David Lamparter 2023-04-23 14:11:49 +02:00
  • 5c4e497a72
    Merge pull request #53 from cbrune/curt/reduce-imports David Lamparter 2023-04-23 14:11:30 +02:00
  • 0653675ef4
    Merge pull request #52 from cbrune/curt/namespace David Lamparter 2023-04-23 14:11:13 +02:00
  • 2116160973
    Merge pull request #49 from detly/capn_size_size David Lamparter 2023-04-23 14:10:48 +02:00
  • 560f2c7cb9
    Merge pull request #45 from snar/p-field David Lamparter 2023-04-23 14:10:24 +02:00
  • 4a39ec4251
    Merge pull request #46 from snar/freebsd-endian David Lamparter 2023-04-23 14:10:08 +02:00
  • b87f0ee3f6 README: make project state clear David Lamparter 2023-04-23 14:09:24 +02:00
  • 6377038820 Add GitHub CI Anton Kochkov 2023-04-23 17:32:46 +08:00
  • 53f6def21b Add Meson building instructions in README Anton Kochkov 2023-04-23 17:08:26 +08:00
  • 6b8e3caed3 Ignore subprojects in git Anton Kochkov 2023-04-23 17:19:46 +08:00
  • 6eb98cbd5e Initial Meson build support Anton Kochkov 2023-04-23 14:53:07 +08:00
  • 3385b1e73a add #define definitions for integer constants Curt Brune 2022-10-16 11:29:28 -07:00
  • 40d689516a add 'const' keyword to generated constants Curt Brune 2022-10-13 14:14:27 -07:00
  • c70796b9fb add a capnp annotation for creating name spaces Curt Brune 2022-04-26 14:48:12 -07:00
  • 1772643adb only generate '#include' for imports that are used Curt Brune 2022-04-26 14:51:23 -07:00
  • 05482f36a8 Use int64_t for the return value of capn_size(). This makes it consistent with a recent change to capn_write_mem(). Jason Heeris 2021-05-10 22:39:28 +08:00
  • 0650ccbf17
    Merge pull request #47 from QQNN-blue/change_capn_write_mem_return_val_type Jason Heeris 2021-05-10 22:19:28 +08:00
  • 939aa30c0a
    Merge pull request #37 from detly/write_size Jason Heeris 2021-05-10 21:58:57 +08:00
  • a2179f48c8 Make the comment for capn_size() clearer that it only applies to unpacked serialisation. Jason Heeris 2021-05-10 21:55:01 +08:00
  • bbc208cf04 Simplified size calculation. Jason Heeris 2020-12-28 21:10:38 +08:00
  • d29faccc64 Implemented capn_size() for dynamically calculating the required buffer size for capn_write_mem(). Jason Heeris 2020-12-28 21:10:30 +08:00
  • 024dca615a
    Merge pull request #42 from detly/annotations Jason Heeris 2021-05-10 17:43:14 +08:00
  • b619a87c61
    Merge pull request #44 from detly/nested_unions Jason Heeris 2021-05-10 17:37:05 +08:00
  • 515c06c689
    Merge pull request #41 from detly/enum_cast Jason Heeris 2021-05-10 17:35:12 +08:00
  • 3c0b223b8c Change capn_write_mem return value from int to int64_t QQNN-blue 2021-02-17 11:39:03 -08:00
  • 86bee96031 Fix FreeBSD builds Alexandre Snarskii 2021-02-01 14:11:45 +03:00
  • 72efa0bb27 Allow field name to be 'p'. Alexandre Snarskii 2021-02-01 13:43:04 +03:00
  • 6661fc9d2d Fix code generation for nested unions. Jason Heeris 2021-01-14 10:41:17 +08:00
  • 9153fc39c4 Add an annotation to typedef structs and enums. Jason Heeris 2021-01-01 21:26:02 +08:00
  • fe3a57de13 Added extra line break after structure size block. Jason Heeris 2021-01-01 21:15:15 +08:00
  • b995a09c03 Add an annotation to skip including header files generated from specific schema files. Jason Heeris 2021-01-01 15:20:06 +08:00
  • e13c143c99 Fix bug where enums were treated interchangeably with uint16_t. Jason Heeris 2020-12-28 21:46:37 +08:00
  • 9053ebe6ee compiler/str.h: include stdarg.h for va_list Joel Carlson 2018-10-09 15:40:46 -06:00
  • bd9911a3e5
    Add security warning to README.md Alex Helfet 2019-04-22 20:43:17 +01:00
  • d9240320c1 compiler: Allocate all possible space for constants jose luis ferrer 2018-02-01 15:13:18 +01:00
  • cb30563de7 c-capnproto 0.3 release David Lamparter 2017-05-19 19:30:58 +02:00
  • 5cbd52ef74 Merge branch 'jamvideosolutions/master' David Lamparter 2017-05-19 19:27:34 +02:00
  • 704a34fa65 Use proper format specifiers for size_t. Alexis Ballier 2016-08-02 15:35:28 +02:00
  • aab56f1169 Merge branch 'issue20' David Lamparter 2017-05-19 19:15:28 +02:00
  • 89dd18a2d5 Add note in header about setting capn_data David Lamparter 2017-05-19 09:52:43 +02:00
  • aa1f31d401 Silence empty struct warning David Lamparter 2017-05-19 09:44:09 +02:00
  • b0810da2c3 Silence warning on unused struct parameter David Lamparter 2017-05-19 09:40:37 +02:00
  • 99e9412c02 Silence GCC unnamed union warning David Lamparter 2017-05-19 09:24:59 +02:00
  • 0ffd3fdae9 Add stddef.h for POSIX ssize_t David Lamparter 2017-05-19 09:18:09 +02:00
  • 2330c177d3 Merge pull request #19 from jlferrer/fix_empty_lists David Lamparter 2017-05-19 09:14:21 +02:00
  • e0d1c36e43 Resolve pointers in capn_getv* David Lamparter 2017-05-19 09:05:47 +02:00
  • c802ad3a1a Support creation of struct lists with size 0 Josep Lluis Ferrer 2017-05-17 18:23:33 +02:00
  • 7c819065e0 Merge branch 'pull/16' David Lamparter 2017-04-05 22:44:10 +02:00
  • 4380d283f4 Add URL for original addressbook example; example to assert list length with capn_len(). Alex Helfet 2017-04-02 23:59:05 +01:00
  • a80f24583e Add some missing capn_free() calls to the example test. Alex Helfet 2017-03-30 14:33:15 +01:00
  • 953031233b Add example that uses accessor functions. Alex Helfet 2017-03-27 04:20:38 +01:00