Commit Graph

  • 5830c3f3a9 misc/debug.h: add B_ASSERT_USE ambrop7 2013-01-19 20:00:18 +00:00
  • c6f5c0c8df ncd: modules: add buffer ambrop7 2013-01-19 19:58:52 +00:00
  • 0d84bf1114 ncd/modules/value.c: cosmetic change ambrop7 2013-01-19 15:59:20 +00:00
  • 43460205e6 ncd/modules/value.c: cosmetic change ambrop7 2013-01-19 15:56:16 +00:00
  • 6e1f53d0ba ncd/modules/value.c: cosmetic change ambrop7 2013-01-19 15:50:55 +00:00
  • 348092dd18 ncd/modules/value.c: cosmetic rename ambrop7 2013-01-19 15:33:09 +00:00
  • e6b9bc5e15 ncd/modules/value.c: cosmetic rename ambrop7 2013-01-19 15:29:26 +00:00
  • 3aadd158f3 ncd/modules/value.c: pass through ExternalString's and ComposedString's ambrop7 2013-01-19 15:22:18 +00:00
  • 7f7675b93c ncd/modules/arithmetic.c: support non-ContinuousString strings ambrop7 2013-01-19 14:47:28 +00:00
  • 4de8312008 ncd/NCDVal: remove NCDVal_StringGetPtr() and NCDValComposedStringResource_GetPtr(), in favor of the cstring interfaces ambrop7 2013-01-19 14:45:23 +00:00
  • ef2d69eab8 ncd/NCDVal: add NCDValComposedStringResource_Cstring() ambrop7 2013-01-19 14:30:26 +00:00
  • fdaf6bf1c5 ncd/modules/process_manager.c: support non-ContinuousString strings ambrop7 2013-01-19 14:08:16 +00:00
  • ac23653034 ncd/modules/to_string.c: support non-ContinuousString strings ambrop7 2013-01-19 14:07:05 +00:00
  • f4713318cf ncd/modules/runonce.c: support non-ContinuousString strings ambrop7 2013-01-19 14:05:40 +00:00
  • a696e31351 ncd/modules/call2.c: support non-ContinuousString strings ambrop7 2013-01-19 13:53:33 +00:00
  • b2d65ecec0 ncd/modules/sys_start_process.c: support non-ContinuousString strings ambrop7 2013-01-19 13:47:47 +00:00
  • fdfc9bd44c ncd/NCDValGenerator.c: simplify implementation using the cstring character iteration macro ambrop7 2013-01-19 13:19:56 +00:00
  • 8cea86a1c1 misc/cstring.h: simplify implementation of b_cstring_memchr() using the character iteration macro ambrop7 2013-01-19 13:10:20 +00:00
  • 8adba30d48 misc/cstring.h: fix documentation for b_cstring_memchr() ambrop7 2013-01-19 12:52:35 +00:00
  • 061ec0a76b misc/cstring.h: add character iteration macro B_CSTRING_LOOP_CHARS_RANGE ambrop7 2013-01-19 12:32:28 +00:00
  • 2b1eea2905 ncd/modules/socket.c: support non-ContinuousString strings ambrop7 2013-01-19 02:50:46 +00:00
  • da139c0a3e ncd/modules/run.c: support non-ContinuousString strings ambrop7 2013-01-19 02:24:59 +00:00
  • cf239b6f61 ncd/modules/print.c: support non-ContinuousString strings ambrop7 2013-01-19 02:19:45 +00:00
  • e7d244cc16 ncd/modules/file_open.c: support non-ContinuousString strings ambrop7 2013-01-19 01:54:22 +00:00
  • df2c1f4b2c misc/parse_number.h: add parse_signmag_integer_cstr() ambrop7 2013-01-19 01:51:19 +00:00
  • d04ebbe211 misc/cstring.h: add b_cstring_at() ambrop7 2013-01-19 01:36:33 +00:00
  • 9e780ac2f7 ncd/modules/file.c: support non-ContinuousString strings ambrop7 2013-01-19 01:31:40 +00:00
  • 449ac8c1e6 misc/write_file.h: add write_file_cstring() ambrop7 2013-01-19 01:28:19 +00:00
  • 4c27928869 ncd/modules/daemon.c: support non-ContinuousString strings ambrop7 2013-01-19 01:20:14 +00:00
  • cc87a2fa78 ncd/modules/concat.c: support non-ContinuousString strings ambrop7 2013-01-19 01:17:21 +00:00
  • 52ca7aca2e ncd/extra/build_cmdline.c: support non-ContinuousString strings ambrop7 2013-01-19 01:12:16 +00:00
  • 2eada7501b misc/cmdline.h: add CmdLine_AppendCstring() ambrop7 2013-01-19 01:09:46 +00:00
  • 8876db0467 ncd/extra/address_utils.h: add NCDVal_HasOnlyContinuousStrings() assertions ambrop7 2013-01-19 00:59:35 +00:00
  • 87ff1d2860 ncd/NCDVal: rename NCDValStringResource --> NCDValComposedStringResource ambrop7 2013-01-19 00:56:22 +00:00
  • c64a6936ed ncd/NCDVal: fix warning ambrop7 2013-01-19 00:49:09 +00:00
  • 7e43dbcc91 ncd/NCDVal: don't use NCDVal_StringGetPtr() internally, use the cstring interface instead ambrop7 2013-01-19 00:47:52 +00:00
  • f8faed215b ncd/NCDValGenerator.c, examples/ncdval_test.c: don't use NCDVal_StringGetPtr(), use cstring interface instead ambrop7 2013-01-19 00:41:08 +00:00
  • 7b591e33fd misc/cstring.h: add b_cstring_make_empty(), cosmetic changes ambrop7 2013-01-19 00:28:25 +00:00
  • f167514428 misc/cstring.h: add b_cstring_equals_buffer() and b_cstring_memchr() ambrop7 2013-01-19 00:19:13 +00:00
  • e97de8f31f ncd/value_utils.h: simplify some code using cstrings ambrop7 2013-01-18 23:38:43 +00:00
  • 0eba7bebf3 ncd/NCDVal: add NCDVal_StringCstring() ambrop7 2013-01-18 23:36:23 +00:00
  • f2163fbf41 misc/parse_number.h: add parse_unsigned_integer_cstr() for parsing a cstring ambrop7 2013-01-18 23:25:25 +00:00
  • d6659b4df2 misc/string.h: add documentation ambrop7 2013-01-18 23:22:45 +00:00
  • 266db4a338 add misc/cstring.h ambrop7 2013-01-18 14:15:36 +00:00
  • e1e7fffc81 ncd/NCDVal: fix const cast warning ambrop7 2013-01-18 04:00:58 +00:00
  • 398887a489 ncd/NCDVal: add NCDVal_HasOnlyContinuousStrings() ambrop7 2013-01-18 04:00:34 +00:00
  • fec5568333 ncd/NCDVal: add NCDVal_StringContinuize() and friends ambrop7 2013-01-18 03:45:09 +00:00
  • d811678ece ncd/NCDValGenerator: support ComposedString's ambrop7 2013-01-18 03:32:28 +00:00
  • e9e4b3312f ncd/NCDModule: handle composed strings in NCDModuleProcess_InitValue() ambrop7 2013-01-18 03:24:59 +00:00
  • ff71f4c99a ncd/extra/value_utils.h: handle ComposedString's ambrop7 2013-01-18 03:23:46 +00:00
  • fccfbf9668 ncd: NCDInterpreter, NCDModule: convert non-ContinuousString strings in statement arguments to ContinuousString, and implement a module flag to suppress this conversion ambrop7 2013-01-18 00:45:03 +00:00
  • 6324ba9911 ncd/NCDVal: fix bug: detect and register ComposedString links when replacing placeholders ambrop7 2013-01-17 19:56:03 +00:00
  • 7b5e4f5f94 add structure/LinkedList4 ambrop7 2013-01-17 14:50:13 +00:00
  • fbf246f3eb structure/SAvl: expose range queries ambrop7 2013-01-17 12:28:49 +00:00
  • 53e2c29355 structure/CAvl: implement range queries via CAvl_GetFirstGreater etc. ambrop7 2013-01-17 12:16:15 +00:00
  • 34ff49a04d ncd: NCDVal: implement NCDValStringResource_GetPtr ambrop7 2013-01-17 11:58:49 +00:00
  • 165d952131 ncd: NCDVal: rename struct NCDVal_string_resource --> typedef NCDValStringResource ambrop7 2013-01-17 11:46:06 +00:00
  • f25151505c misc/ipaddr6.h: fix zero-length memset ambrop7 2013-01-16 03:32:30 +00:00
  • 488075d8bc ncd/modules/regex_match: fix uninitialized variable warning ambrop7 2013-01-16 03:32:07 +00:00
  • de4da40b26 examples/ncdval_test.c: add some tests for ComposedString and other stuff ambrop7 2013-01-01 02:20:37 +00:00
  • 3dee0ce320 ncd: NCDVal: add some restrictions on NCDVal_StringGetPtr() to allow for sane implementations of ComposedString ambrop7 2013-01-01 02:11:24 +00:00
  • 8285335a5a ncd: NCDVal: implement NCDValMem_ConvertNonContinuousStrings() ambrop7 2013-01-01 01:52:33 +00:00
  • 3a15751cac ncd: NCDVal: add missing dummy union member for alignment ambrop7 2012-12-31 14:10:24 +00:00
  • f8e2d11d26 ncd: NCDVal: initial implementation of ComposedString ambrop7 2012-12-31 14:01:46 +00:00
  • d8d1abf532 convert some packed structs to use the macros from misc/packed.h ambrop7 2012-12-31 01:03:52 +00:00
  • 737b4ad6ab ncd/modules/sys_request_server.c: fix aliasing issues ambrop7 2012-12-31 00:56:05 +00:00
  • c2b90b1b1e ncd/extra/NCDRequestClient.c: fix aliasing issues ambrop7 2012-12-31 00:55:48 +00:00
  • 5487b6e9c6 ncd/modules/sys_request_server.c: remove redundant structs ambrop7 2012-12-31 00:48:56 +00:00
  • 0f5c89955d ncd/NCDRequestClient: remove redundant structs ambrop7 2012-12-31 00:36:35 +00:00
  • 378755bf45 remove misc/dump_frame.h ambrop7 2012-12-30 23:44:49 +00:00
  • 07e187dcff dhcpclient/BDHCPClientCore: fix aliasing issues ambrop7 2012-12-30 23:09:00 +00:00
  • 19a9da5d07 dhcpclient/DHCPIpUdpEncoder: remove redundant struct ambrop7 2012-12-30 20:44:30 +00:00
  • bd52d61c3c dhcpclient/DHCPIpUdpDecoder: remove redundant struct ambrop7 2012-12-30 20:19:33 +00:00
  • 3291a4713e bproto_generator: fix aliasing issues ambrop7 2012-12-30 12:48:01 +00:00
  • 2185655723 fix many potential aliasing issues ambrop7 2012-12-30 03:20:36 +00:00
  • 27bafc71f7 CMakeLists.txt: pass Clang-specific warning flag to Clang only ambrop7 2012-12-30 01:16:18 +00:00
  • 30ced3b8b6 CMakeLists.txt: add -Wstrict-aliasing ambrop7 2012-12-30 00:37:26 +00:00
  • 0f07c8a237 misc/ipv4_proto.h: fix aliasing problems with casting to ipv4_short. This manifested itself as incorrectly computed IP checksums of sent packets in BDHCPClient, when compiled with gcc at -O3. Also fix misc/udp_proto.h. ambrop7 2012-12-29 19:17:53 +00:00
  • 1a7b19595c add misc/read_write_int.h ambrop7 2012-12-29 19:14:17 +00:00
  • a19af8ec87 ncd/tests/run_tests: fix shebang /bin/sh to /bin/bash ambrop7 2012-12-26 02:09:38 +00:00
  • fc983ddd4f version 1.999.126 ambrop7 2012-12-22 17:51:11 +00:00
  • b4a5383d63 update ChangeLog ambrop7 2012-12-22 17:50:31 +00:00
  • 9ffa769921 examples/bencryption_bench.c: silence a bad warning from clang ambrop7 2012-12-22 17:44:18 +00:00
  • d737afce53 CMakeLists.txt: silence warnings about always-true comparisons (generated by Clang 3.2) ambrop7 2012-12-22 17:42:17 +00:00
  • 53bbc75cae ncd: modules: sleep: explain what sleep() with one argument means ambrop7 2012-12-22 17:36:16 +00:00
  • c4ade225a2 ncd: modules: sleep: interpret empty string time as no sleeping, add sleep(ms_start) with one argument ambrop7 2012-12-22 17:34:18 +00:00
  • b2bc0d84b4 system: BReactor_glib: implement missing BSmallTimer ambrop7 2012-12-22 16:24:37 +00:00
  • 9ce5df50b0 system: BReactor_glib: implement missing BREACTOR_HUP ambrop7 2012-12-22 15:37:56 +00:00
  • 4290021aa3 ncd: modules: add log ambrop7 2012-12-12 19:29:45 +00:00
  • bd170f2437 base: BLog: add BLog_AppendBytes() ambrop7 2012-12-12 18:43:16 +00:00
  • c31cc05975 version 1.999.126rc2 ambrop7 2012-12-09 22:27:21 +00:00
  • 2d2be38d9f ncd: NCDBuildProgram: fix unused variable warning ambrop7 2012-12-09 22:19:46 +00:00
  • 1fc023a1e4 ncd: modules: fix modules that used global (static) variables to allocate these interpreter-wide using the new support within NCDModule. With this done, it should become possible to have multiple instances of NCDInterpreter at the same time. ambrop7 2012-12-09 22:12:47 +00:00
  • 8ec7e1e67d ncd: NCDModule: allow separating static module information from generated at runtime by the interpreter. Fix other stuff to work with the new design. This allows modules to keep interpreter-wide state, and, when modules are fixed, will allow running more than one NCDInterpreter in the same program. ambrop7 2012-12-09 18:21:37 +00:00
  • 6a6a100d21 ncd: NCDAst: move some structs from .h to .c ambrop7 2012-12-09 14:57:09 +00:00
  • 18a15ba1e1 ncd: NCDModuleIndex: remove base_type verification if NDEBUG is defined, to improve start-up time ambrop7 2012-12-07 00:43:12 +00:00
  • d63928ceae ncd: NCDInterpreter: remove unused variable (forgotten in previous commit) ambrop7 2012-12-07 00:42:17 +00:00
  • 10a594c625 ncd: move initialization of modules from NCDInterpreter into NCDModuleIndex ambrop7 2012-12-07 00:36:43 +00:00
  • 81dc7380d5 ncd: NCDInterpreter: reorder initialization so that it will be easier to move the calling of module globalinit functions into NCDModuleIndex ambrop7 2012-12-06 20:29:43 +00:00
  • 153681af18 ncd: move NCDMethodIndex from NCDInterpreter into NCDModuleIndex ambrop7 2012-12-06 19:16:22 +00:00