Commit graph

  • f1c794b29e usock: set socket flags right after creating it Rafał Miłecki 2015-01-15 12:42:52 +0100
  • ad9b5a387d usock: add helper waiting for socket to be ready Rafał Miłecki 2015-01-15 12:59:18 +0100
  • fecaf2f5f6 examples: add example code for json_script. Yousong Zhou 2014-12-17 05:15:37 +0800
  • 13b5c1d4ca json_script: fix logic invert of handle_expr_not(). Yousong Zhou 2014-12-17 05:15:36 +0800
  • 0d22684faa json_script: remove unneed argument check before calling __json_script_file_free(). Yousong Zhou 2014-11-12 21:59:23 +0800
  • 30e6cca939 json_script: fix eval_string(). Yousong Zhou 2014-11-12 21:59:22 +0800
  • 8c6dadbe03 jshn: add error handling and fix memory leak in jshn_format(). Yousong Zhou 2014-11-12 21:59:20 +0800
  • 7f1ce63a84 blobmsg: remove unneeded assignment in blobmsg_alloc_string_buffer(). Yousong Zhou 2014-11-12 21:59:19 +0800
  • 8cc3903383 examples: fix build. Yousong Zhou 2014-11-12 21:59:16 +0800
  • c5d80836cd lua: do not hardcode /opt/local/include for Apple. Yousong Zhou 2014-11-12 21:59:15 +0800
  • cbf80de7f4 libubox: drop legacy json-c support Yousong Zhou 2014-11-12 21:59:14 +0800
  • f09ae76445 Revert "jshn: only keep UP_* variables around while they are needed" Felix Fietkau 2014-11-23 23:53:37 +0100
  • 0bfb44f590 jshn: shorten JSON_VAR to J_V Felix Fietkau 2014-11-23 20:21:14 +0100
  • d59fa8d588 jshn: shorten variable names to speed up processing Felix Fietkau 2014-11-23 20:02:33 +0100
  • f386a0d7d8 jshn: remove TYPE_JSON_VAR Felix Fietkau 2014-11-23 19:45:07 +0100
  • 4a09bb0284 jshn: do not export JSON_SEQ Felix Fietkau 2014-11-23 19:44:10 +0100
  • 37b5203e18 jshn: only keep UP_* variables around while they are needed Felix Fietkau 2014-11-23 19:43:56 +0100
  • d5d384b0ba jshn: improve performance by using let instead of $(( )) Felix Fietkau 2014-11-23 19:25:39 +0100
  • d133da5562 blobmsg_json: avoid redefinition of json_object Felix Fietkau 2014-10-24 13:40:10 +0200
  • 464e05e33b uloop: Do not override signal handlers not installed by us Michel Stam 2014-10-13 16:14:28 +0200
  • 213122a083 uloop: Remove uloop_cancelled variable, it is not used anywhere Michel Stam 2014-10-13 16:14:27 +0200
  • bae6bd19f3 md5: add a new implementation under permissive license Felix Fietkau 2014-10-01 16:38:17 +0200
  • 6f2c688d68 blobmsg_json: include json.h inside blobmsg_json.c instead of the public header file Felix Fietkau 2014-09-23 12:03:32 +0200
  • c8fc0897cd avoid using the deprecated is_error() function from json-c Felix Fietkau 2014-09-23 12:02:31 +0200
  • fa73496098 usock: add usock_port() for convenient use of numeric ports Jo-Philipp Wich 2014-09-22 18:15:58 +0200
  • dffbc09baf jshn: pretty print indented output with jshn -i -w John Crispin 2014-08-04 19:26:18 +0200
  • 042f1a2546 blobmsg: accept NULL attr in blobmsg_get_string() Felix Fietkau 2014-08-03 15:00:54 +0200
  • 6e8e6aca1d lua/uloop: 'end' is the keyword of Lua, use 'cancel' replace it. xfguo@credosemi.com 2014-07-27 17:21:35 +0800
  • 22bbcfddd7 blob: improve out-of-memory handling ewolfok 2014-07-08 21:43:58 +0800
  • f3977836af blobmsg: add a helper function to reset the name of a blobmsg attribute Felix Fietkau 2014-07-21 01:24:01 +0200
  • bd388d2b6c jshn: do not collapse whitespace in json_load() Jo-Philipp Wich 2014-07-15 15:57:47 +0200
  • 7ba1f8acd8 blobmsg: add blobmsg_check_array, which returns the size of the array Felix Fietkau 2014-07-15 10:51:09 +0200
  • fd5b522ce6 blobmsg-example: use blobmsg_get_string() Felix Fietkau 2014-07-03 13:50:49 +0200
  • b538c2b20e examples: fix build error Luka Perkov 2014-07-03 13:46:24 +0200
  • 8cee1e552a blobmsg_example: fix output Felix Fietkau 2014-07-03 12:56:40 +0200
  • db8e7060e0 examples: use PRIu64 instead %lld when printing uint64_t values Luka Perkov 2014-07-03 12:28:24 +0200
  • 480b6c7da1 examples: add missing include Luka Perkov 2014-07-03 12:28:23 +0200
  • fd3a33b7ed examples: fix linking with json-c Luka Perkov 2014-07-03 12:28:22 +0200
  • b10cd1c0f6 examples: remove set but unused variable Luka Perkov 2014-07-03 12:28:21 +0200
  • 531570aa51 usock: fix indentation Luka Perkov 2014-07-03 12:28:20 +0200
  • 39a8fae441 Fix bug of GC in fd and timeout objects for lua binding. Xiongfei Guo 2014-06-20 10:31:21 +0000
  • 3c92274bee Fix bug of unref resources in Lua binding; fd method delete -> cancel. Xiongfei Guo 2014-06-20 10:31:20 +0000
  • 02ca593347 Support delete a fd event. Xiongfei Guo 2014-06-20 10:31:19 +0000
  • 79b56268b4 Added fd_add method for uloop lua binding. Xiongfei Guo 2014-06-20 10:31:18 +0000
  • 9565bf86ae Fix stack overflow bug of uloop lua binding. Xiongfei Guo 2014-06-20 10:31:17 +0000
  • e130b08d98 build a static version of libubox John Crispin 2014-06-11 01:39:12 +0100
  • 949f0d00bf vlist: add static initializer macros Felix Fietkau 2014-06-05 15:28:45 +0200
  • 411d10c845 blobmsg_json: use cross-platform macro for fprintf on 64-bit values Felix Fietkau 2014-05-31 14:48:03 +0200
  • 1344d20ec0 json_script: fix a segfault in the file free handler Felix Fietkau 2014-05-26 15:53:29 +0200
  • 4436338588 blob/blobmsg: Perform explicit casts from void* to avoid compilation errors when using libubox from C++. Jacob Siverskog 2014-05-09 14:31:37 +0200
  • f32a53f92b uloop: fix multiple calls to uloop_run() Luka Perkov 2014-05-05 02:41:34 +0200
  • 9203927e58 utils: add a bitfield size macro Felix Fietkau 2014-04-30 13:27:03 +0200
  • 31b3893a72 kvlist: constify arguments Felix Fietkau 2014-04-28 17:56:08 +0200
  • d416bf6655 json_script: add json_script_run_file() Felix Fietkau 2014-04-28 17:54:25 +0200
  • 178fe974af json_script: implement json_script_eval_string Felix Fietkau 2014-04-28 16:57:28 +0200
  • d07b174de8 blobmsg: make length variables unsigned Felix Fietkau 2014-04-27 16:32:09 +0200
  • aa01be8ed0 blob: make length variables unsigned Felix Fietkau 2014-04-27 16:29:31 +0200
  • 51766c25e9 sh/jshn.sh - json_cleanup() dont pollute env with local vars Bastian Bittorf 2014-04-20 22:55:48 +0200
  • 73a88451dd uloop: clear uloop_fd::error on add Felix Fietkau 2014-04-26 16:55:17 +0200
  • 131b3352d9 blobmsg_json: let blobmsg_format_json_with_cb with list == true also format arrays Felix Fietkau 2014-04-26 10:58:54 +0200
  • ef918710c0 blob: fix handling of custom validator callback Felix Fietkau 2014-04-21 12:02:30 +0200
  • c4b9eb1442 kvlist: avoid unused-but-set warnings in code not using the name in kvlist_for_each() Felix Fietkau 2014-04-15 16:58:55 +0200
  • b3a6939f38 md5: remove unnecessary variable change Felix Fietkau 2014-04-12 20:25:32 +0200
  • 31b2d244fd blobmsg_json: fix a memleak on error Felix Fietkau 2014-04-12 20:23:23 +0200
  • c725f9f7a5 ustream: remove unnecessary initialization Felix Fietkau 2014-04-12 20:21:13 +0200
  • 93a4cb92c1 blobmsg: remove unnecessary initialization Felix Fietkau 2014-04-12 20:20:36 +0200
  • d4b56b0940 kvlist: add a simply key/value store implementation Felix Fietkau 2014-04-12 01:42:44 +0200
  • f59f33f2c7 avl: add AVL_TREE macro to define an initialized struct avl_tree Felix Fietkau 2014-03-27 17:39:53 +0100
  • 93b415c08d list_compat.h: remove Felix Fietkau 2014-03-20 23:06:42 +0100
  • 97ec6311f2 list_compat.h: remove list_remove() Felix Fietkau 2014-03-20 23:00:53 +0100
  • f5e105b603 list_compat.h: remove list_add_before() Felix Fietkau 2014-03-20 23:00:24 +0100
  • 7673f2ab47 list_compat.h: remove list_add_after() Felix Fietkau 2014-03-20 22:59:26 +0100
  • fdcf117ff3 list_compat.h: remove list_add_head() Felix Fietkau 2014-03-20 22:58:21 +0100
  • d1e59653fa list_compat.h: remove list_init_head() Felix Fietkau 2014-03-20 22:56:31 +0100
  • bbdfee8182 list_compat.h: remove list_entity compat define Felix Fietkau 2014-03-20 22:55:45 +0100
  • 3edc29942c avl.c: remove compat macros and switch to the argument order from list.h Felix Fietkau 2014-03-20 22:54:59 +0100
  • 4f44401ae8 utils: add __constructor and __hidden defines Felix Fietkau 2014-03-18 14:02:40 +0100
  • c78b684104 blobmsg_json: unconditionally use blobmsg data/len accessor functions Felix Fietkau 2014-03-12 20:13:05 +0100
  • 58aec3c59a blobmsg: allow data/length iterator/accessor functions to work on non-blobmsg elements Felix Fietkau 2014-03-12 20:08:27 +0100
  • 926121113b uloop: Add flag to allow callback to be called on error conditions. Karl Vogel 2014-02-11 09:37:08 +0100
  • 43d2d349cb jshn: drop json_select warnings when called from json_get_values() Felix Fietkau 2014-02-02 15:22:23 +0100
  • bbd846ec2d libubox: runqueue: Cancel task timeout when completeing task Helmut Schaa 2014-01-15 15:09:19 +0000
  • e58fa88e1f jshn: add ability to pass default values to json_get_var and json_get_vars Jo-Philipp Wich 2013-12-10 17:30:15 +0000
  • 318d682d29 jshn: in json_get_values(), handle json_select errors Felix Fietkau 2013-12-02 10:56:54 +0100
  • 9636c0e79c jshn: optimize the shell code some more Felix Fietkau 2013-11-28 17:51:26 +0100
  • f6827c7c93 blobmsg_json: do not emit any whitespace when formatting without indentation Jo-Philipp Wich 2013-11-27 18:40:15 +0000
  • f100acef37 fix memset call in md5.c John Crispin 2013-11-19 22:50:53 +0100
  • e8b26ce48d add md5.c to libubox John Crispin 2013-11-19 20:31:45 +0100
  • bc8167eb99 runqueue: add a function that allows adding jobs to the front of the runqueue John Crispin 2013-11-18 11:15:19 +0100
  • a34c8f6918 jshn: refactor _jshn_append to require fewer evals Felix Fietkau 2013-10-30 11:50:39 +0100
  • dcbc14a701 jshn: improve performance by getting rid of unnecessary variables in parser related code Felix Fietkau 2013-10-30 11:36:46 +0100
  • 2d4ce122c4 jshn: do not export SEQ_* Felix Fietkau 2013-10-30 10:55:01 +0100
  • 1a32939cb5 jshn: get rid of the table stack, use the UP_* variable instead to speed up processing Felix Fietkau 2013-10-30 10:34:40 +0100
  • 554ed49c15 jshn: reduce the number of appends to the cleanup list to speed up processing of large json files Felix Fietkau 2013-10-30 10:19:52 +0100
  • b7e61837e7 jshn: allow json_get_keys/values to refer to the currently selected array/table if no argument is given Felix Fietkau 2013-10-29 15:11:42 +0100
  • b5aa522f5d jshn: add json_get_values (useful for arrays) Felix Fietkau 2013-10-29 14:59:47 +0100
  • a2453456f2 utils.h: fix name collisions in __u_bswap16 with using "val" both inside the macro and as argument Felix Fietkau 2013-10-24 11:33:22 +0200
  • 13a9b7c709 Restore signal handler after uloop_run() Kristian Evensen 2013-10-22 10:24:15 +0200
  • 914ef8f6b0 blobmsg: add blobmsg_len() for consistency (similar to blob_len) Felix Fietkau 2013-10-20 13:19:51 +0200
  • 4bc1a3a46b jshn: add json_get_keys() Felix Fietkau 2013-10-20 00:00:42 +0200