b1a6d4dccencd: Change the @-syntax to now add __ around the name. Also rename change the basic_functions function names accordingly.
Ambroz Bizjak
2014-11-27 23:14:02 +01:00
3393383a22ncd: Fix possible crash in @decode_value.
Ambroz Bizjak
2014-11-26 01:29:57 +01:00
24e6edd26fRefactoring using MemRef.
Ambroz Bizjak
2014-11-26 00:02:21 +01:00
0f28a138b9ncd: Fix bugs with bad expectations of null-terminated strings.
Ambroz Bizjak
2014-11-25 23:05:43 +01:00
b27f9c105bRefactoring using MemRef.
Ambroz Bizjak
2014-11-25 22:30:11 +01:00
c1f4c57e8aReplace cstring with MemRef. MemRef is just a stupid (ptr, len) pair. We no longer need the abstract cstring.
Ambroz Bizjak
2014-11-25 21:18:48 +01:00
98ed187623ncd: Remove ComposedString type along with the buffer module. It was a fancy feature, but with questionable utility and with a general maintenance burden.
Ambroz Bizjak
2014-11-18 22:49:14 +01:00
5d77b8559fncd: Move some NCDVal header code to another file. This will avoid a circular header dependency in the future.
Ambroz Bizjak
2014-11-18 20:49:30 +01:00
1ae3a4011encd: modules: call: Fix bug in call_with_caller_target deinit. We shouldn't free the CallNames stuff when we get the die request, but later when we actually die. We may still try to resolve getobj requests in the mean time.
Ambroz Bizjak
2014-11-16 19:06:27 +01:00
87791bc320ncd: modules: socket: close: Fix completion order vs closing. When we close, the effects of the close should have execution precedence over the completion of the close statement. This makes sure that we don't go executing extra NCD statements that shouldn't be.
Ambroz Bizjak
2014-11-15 21:11:37 +01:00
e2979251dfncd: Refactor the function call infrastructure.
Ambroz Bizjak
2014-11-11 00:33:40 +01:00
99536cc18ancd: Add --signal-exit-code option. This specifies the exit code of the process when terminated by SIGINT/SIGTERM (after cleanup). When runnign from systemd, it is useful to use 0 (instead of the default 1), so that it doesn't think we crashed.
Ambroz Bizjak
2014-11-09 14:14:24 +01:00
0240db041cncd: Fix missing type checks. Refactor to make these bugs less likely.
Ambroz Bizjak
2014-11-09 13:20:25 +01:00
8f7fe765adbuild.nix: Add option to build with assertions.
Ambroz Bizjak
2014-11-01 15:42:29 +01:00
4a2f98c9c7ncd: NCDConfigParser: Change function call syntax. The new syntax is changed from "func arg" to "func(arg1, ...)". The restricted syntax will allow easier implementation of lazy evaluation, for function calls only.
Ambroz Bizjak
2014-11-01 15:42:07 +01:00
0b3a241355NCDEvaluator: Use Vector.
Ambroz Bizjak
2014-10-30 23:57:30 +01:00
15723bd4acAdd a simple Vector data structure.
Ambroz Bizjak
2014-10-30 23:57:14 +01:00
4138b04639ncd: Refactoring to support upcoming function calls.
Ambroz Bizjak
2014-10-30 01:17:45 +01:00
490fd0c2d6ncd: NCDInterpProcess: Move struct to c file.
Ambroz Bizjak
2014-10-29 08:33:42 +01:00
922a793239ncd: NCDInterpProcess: Be more informative when encountering unsupported expression types.
Ambroz Bizjak
2014-10-28 20:20:03 +01:00
6bec211ac7Add convenience Nix expression for building. Relying on the existing badvpn expression in nixpkgs.
Ambroz Bizjak
2014-10-27 23:29:26 +01:00
670282f014ncd: NCDVal: Move lots of implementation details out of the header.
Ambroz Bizjak
2014-04-05 14:27:38 +02:00
1ed046a784ncd: NCDVal: Use maxalign to ensure alignment of fastbuf. This will allow moving lots of implementation details out of the header.
Ambroz Bizjak
2014-04-05 14:24:44 +02:00
cc991c6821Fix build with BUILD_SHARED_LIBS on.
Ambroz Bizjak
2014-10-15 23:35:18 +02:00
c8b3bfef84lwip/CMakeLists.txt: Add missing link to the internal 'system' library.
Ambroz Bizjak
2014-10-15 23:10:44 +02:00
b1a808c0bfNCDVal: Fix assertion. If assertions were enabled this bug would lead to a crash when using a variable key in a literal map expression, like this:
Ambroz Bizjak
2014-08-08 23:44:57 +02:00
628ac69685ncd/modules/file_open.c: Fix typo in assertion.
ambrop7
2014-02-17 22:04:35 +00:00
ae14d254acserver: Fix bug forgetting to call BSSLConnection_ReleaseBuffers(). Unless threads are enabled, this is an assert failure if NDEBUG is not defined an a non-issue otherwise.
ambrop7
2014-02-13 19:09:00 +00:00
37058a71dfmisc/find_program.h: Look in PATH first.
ambrop7
2014-02-12 18:40:01 +00:00
83bd6c1da3ncd/modules/net_backend_wpa_supplicant.c: Don't hardcode /usr/bin/stdbuf, use badvpn_find_program().
ambrop7
2014-02-12 17:50:28 +00:00
4ef3943dbbNCDIfConfig: Don't hardcode /sbin/modprobe, let the shell find it.
ambrop7
2014-02-12 17:47:01 +00:00