5f17ad3ef1ncd: NCDModule: make interpreter-side functions call backend functions directly, and remove a bunch of states made redundant
ambrop7
2012-06-19 10:13:15 +00:00
fb52e48f79ncd: improve error handling semantics. Previously, when a statement died with an error, we would not re-initialize this statement after retry_time has passed. This is not good when a stemement dies because of a broken dependency which is shortly after detected by one of the preceding statements doing down (gracefully). Fix this by keeping a single per-process error flag indicating whether to wait retry_time before initializing the next statement, and adjusting this flag appropriately. In particular, when a statement not scheduled for termination goes down, the error flag is cleared; similarly, if a statement dies with an error, the error flag is only set if the statement was not scheduled for termination.
ambrop7
2012-06-14 14:14:55 +00:00
876b29f225ncd: modules: sys_watch_directory: handle errors on inotify fd, don't assert if close fails
ambrop7
2012-06-14 13:14:13 +00:00
a0ff913867ncd: modules: sys_evdev: fix assertion failure when we get an error from the file descriptor while we're processing an event
ambrop7
2012-06-14 12:59:31 +00:00
b1f6e3f1d6ncd: NCDValueParser: refactor to how NCDConfigParser is implemented, and avoid using the old NCDConfig code
ambrop7
2012-06-12 17:52:43 +00:00
ee998e23d6ncd: NCDVal: document that NCDVal_NewString() and NCDVal_NewStringBin() require the passed buffer is outside the memory object we're building a value in. Fix NCDVal_NewCopy() which failed in that respect. Add a test.
ambrop7
2012-06-10 21:50:12 +00:00
88c3e84891ncd: NCDVal: store types as int not uint8_t
ambrop7
2012-06-10 14:33:30 +00:00
276905d47cncd: NCDVal: Add documentation. Rename NCDVal_Map{First,Next} to NCDVal_MapOrdered{First,Next}, and implement the former as unordered iteration. Fix bug in NCDVal_Compare() for maps.
ambrop7
2012-06-10 12:48:22 +00:00
039ee161dfexamples: port stuff to NCDVal
ambrop7
2012-06-10 10:28:34 +00:00
07ecc91235ncd: NCDValue: use LinkedList1 not LinkedList2 (which is slower)
ambrop7
2012-06-03 12:44:43 +00:00
c62ba20340ncd: small performance improvement when not logging
ambrop7
2012-06-03 12:07:20 +00:00
8465f19096ncd: NCDModuleIndex: use a hash table instead of AVL tree to lookup module names
ambrop7
2012-06-03 11:45:54 +00:00
093cce72a8misc: add hashfun, and use it
ambrop7
2012-06-03 10:43:09 +00:00
89ea627530structure: CHash: retrieve keys via a macro expression instead of expecting them to be directly in entries
ambrop7
2012-06-03 10:06:48 +00:00
36cb33d1fcncd: avoid a malloc on every method call
ambrop7
2012-05-31 00:50:01 +00:00
350eff55dfncd: make statement indices 'int', and reorder some fields to make structs smaller
ambrop7
2012-05-31 00:30:36 +00:00
02c1f7996dncd: use NCDInterpValue's from NCDInterpBlock's instead of building them in process_new(). Introduces a significant performance gain.
ambrop7
2012-05-31 00:20:25 +00:00
eb7c4029b0ncd: NCDInterpProg: fix bad return value
ambrop7
2012-05-30 21:59:37 +00:00
a75e507a34ncd: add NCDInterpBlock and NCDInterpProg, to be used for speeding up certain operations during interpretation
ambrop7
2012-05-30 21:48:24 +00:00