MINIFICPP-351: Remove Civetweb third party directory
MINIFICPP-351: Remove rocksdb tools, gtest, and shared lib
MINIFICPP-351: Remove gtest references
Project: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/commit/ede68a10
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/ede68a10
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/ede68a10
Branch: refs/heads/master
Commit: ede68a10716cdeae766f2504a87c0c02b1a0ec3d
Parents: 149e96b
Author: Marc Parisi <phrocker@apache.org>
Authored: Wed Dec 20 12:40:46 2017 -0500
Committer: Marc Parisi <phrocker@apache.org>
Committed: Tue Jan 2 13:26:55 2018 -0500
----------------------------------------------------------------------
CMakeLists.txt | 1 +
.../civetweb-1.10/src/third_party/LuaXML.lua | 116 -
.../civetweb-1.10/src/third_party/LuaXML_lib.c | 476 -
.../src/third_party/civetweb_lua.h | 73 -
.../src/third_party/duktape-1.5.2/AUTHORS.rst | 72 -
.../src/third_party/duktape-1.5.2/LICENSE.txt | 25 -
.../third_party/duktape-1.5.2/Makefile.cmdline | 34 -
.../third_party/duktape-1.5.2/Makefile.codepage | 4 -
.../third_party/duktape-1.5.2/Makefile.coffee | 4 -
.../third_party/duktape-1.5.2/Makefile.dukdebug | 26 -
.../src/third_party/duktape-1.5.2/Makefile.eval | 7 -
.../duktape-1.5.2/Makefile.eventloop | 22 -
.../third_party/duktape-1.5.2/Makefile.hello | 35 -
.../third_party/duktape-1.5.2/Makefile.jxpretty | 8 -
.../third_party/duktape-1.5.2/Makefile.sandbox | 7 -
.../duktape-1.5.2/Makefile.sharedlibrary | 71 -
.../src/third_party/duktape-1.5.2/README.rst | 110 -
.../third_party/duktape-1.5.2/config/README.rst | 39 -
.../config/duk_config.h-modular-dll | 3415 -
.../config/duk_config.h-modular-static | 3415 -
.../duktape-1.5.2/config/genconfig.py | 1537 -
.../config/genconfig_metadata.tar.gz | Bin 71815 -> 0 bytes
.../duktape-1.5.2/debugger/README.rst | 384 -
.../duktape-1.5.2/debugger/duk_classnames.yaml | 32 -
.../duktape-1.5.2/debugger/duk_debug.js | 2473 -
.../duktape-1.5.2/debugger/duk_debug_meta.json | 1497 -
.../duktape-1.5.2/debugger/duk_debug_proxy.js | 1029 -
.../debugger/duk_debugcommands.yaml | 52 -
.../duktape-1.5.2/debugger/duk_debugerrors.yaml | 6 -
.../duktape-1.5.2/debugger/duk_opcodes.yaml | 658 -
.../duktape-1.5.2/debugger/merge_debug_meta.py | 32 -
.../duktape-1.5.2/debugger/package.json | 27 -
.../duktape-1.5.2/debugger/static/index.html | 96 -
.../duktape-1.5.2/debugger/static/style.css | 516 -
.../duktape-1.5.2/debugger/static/webui.js | 785 -
.../duktape-1.5.2/duk_build_meta.json | 1349 -
.../duktape-1.5.2/examples/README.rst | 10 -
.../examples/alloc-hybrid/README.rst | 10 -
.../examples/alloc-hybrid/duk_alloc_hybrid.c | 293 -
.../examples/alloc-hybrid/duk_alloc_hybrid.h | 11 -
.../examples/alloc-logging/README.rst | 7 -
.../examples/alloc-logging/duk_alloc_logging.c | 138 -
.../examples/alloc-logging/duk_alloc_logging.h | 10 -
.../examples/alloc-logging/log2gnuplot.py | 41 -
.../examples/alloc-torture/README.rst | 10 -
.../examples/alloc-torture/duk_alloc_torture.c | 182 -
.../examples/alloc-torture/duk_alloc_torture.h | 10 -
.../duktape-1.5.2/examples/cmdline/README.rst | 6 -
.../examples/cmdline/duk_cmdline.c | 1463 -
.../examples/cmdline/duk_cmdline_ajduk.c | 1008 -
.../examples/codepage-conv/README.rst | 8 -
.../examples/codepage-conv/duk_codepage_conv.c | 54 -
.../examples/codepage-conv/duk_codepage_conv.h | 8 -
.../duktape-1.5.2/examples/codepage-conv/test.c | 286 -
.../duktape-1.5.2/examples/coffee/README.rst | 10 -
.../examples/coffee/globals.coffee | 7 -
.../duktape-1.5.2/examples/coffee/hello.coffee | 2 -
.../duktape-1.5.2/examples/coffee/mandel.coffee | 28 -
.../examples/cpp-exceptions/README.rst | 29 -
.../examples/cpp-exceptions/cpp_exceptions.cpp | 274 -
.../examples/debug-trans-dvalue/README.rst | 8 -
.../debug-trans-dvalue/duk_trans_dvalue.c | 1239 -
.../debug-trans-dvalue/duk_trans_dvalue.h | 113 -
.../examples/debug-trans-dvalue/test.c | 236 -
.../examples/debug-trans-socket/README.rst | 17 -
.../debug-trans-socket/duk_trans_socket.h | 15 -
.../debug-trans-socket/duk_trans_socket_unix.c | 340 -
.../duk_trans_socket_windows.c | 414 -
.../examples/dummy-date-provider/README.rst | 5 -
.../dummy-date-provider/dummy_date_provider.c | 27 -
.../duktape-1.5.2/examples/eval/README.rst | 5 -
.../duktape-1.5.2/examples/eval/eval.c | 48 -
.../duktape-1.5.2/examples/eventloop/README.rst | 76 -
.../examples/eventloop/basic-test.js | 17 -
.../examples/eventloop/c_eventloop.c | 618 -
.../examples/eventloop/c_eventloop.js | 179 -
.../examples/eventloop/client-socket-test.js | 24 -
.../examples/eventloop/curses-timers.js | 79 -
.../examples/eventloop/ecma_eventloop.js | 466 -
.../duktape-1.5.2/examples/eventloop/fileio.c | 69 -
.../duktape-1.5.2/examples/eventloop/main.c | 256 -
.../duktape-1.5.2/examples/eventloop/ncurses.c | 105 -
.../duktape-1.5.2/examples/eventloop/poll.c | 111 -
.../examples/eventloop/server-socket-test.js | 34 -
.../duktape-1.5.2/examples/eventloop/socket.c | 286 -
.../duktape-1.5.2/examples/guide/README.rst | 5 -
.../duktape-1.5.2/examples/guide/fib.js | 16 -
.../duktape-1.5.2/examples/guide/prime.js | 32 -
.../duktape-1.5.2/examples/guide/primecheck.c | 52 -
.../duktape-1.5.2/examples/guide/process.js | 12 -
.../duktape-1.5.2/examples/guide/processlines.c | 59 -
.../duktape-1.5.2/examples/guide/uppercase.c | 42 -
.../duktape-1.5.2/examples/hello/README.rst | 5 -
.../duktape-1.5.2/examples/hello/hello.c | 38 -
.../duktape-1.5.2/examples/jxpretty/README.rst | 5 -
.../duktape-1.5.2/examples/jxpretty/jxpretty.c | 63 -
.../duktape-1.5.2/examples/sandbox/README.rst | 5 -
.../duktape-1.5.2/examples/sandbox/sandbox.c | 252 -
.../third_party/duktape-1.5.2/extras/README.rst | 13 -
.../src/third_party/duktape-1.5.2/license.spdx | 3933 -
.../duktape-1.5.2/licenses/commonjs.txt | 2 -
.../third_party/duktape-1.5.2/licenses/lua.txt | 1 -
.../duktape-1.5.2/licenses/murmurhash2.txt | 21 -
.../src/third_party/duktape-1.5.2/mandel.js | 53 -
.../duktape-1.5.2/polyfills/console-minimal.js | 20 -
.../duktape-error-setter-nonwritable.js | 20 -
.../polyfills/duktape-error-setter-writable.js | 19 -
.../polyfills/duktape-isfastint.js | 38 -
.../duktape-1.5.2/polyfills/object-assign.js | 45 -
.../polyfills/object-prototype-definegetter.js | 11 -
.../polyfills/object-prototype-definesetter.js | 11 -
.../duktape-1.5.2/polyfills/performance-now.js | 25 -
.../duktape-1.5.2/src-noline/duk_config.h | 3804 -
.../duktape-1.5.2/src-noline/duktape.c | 86570 -------
.../duktape-1.5.2/src-noline/duktape.h | 1567 -
.../duktape-1.5.2/src-noline/metadata.json | 629 -
.../src-separate/duk_alloc_default.c | 34 -
.../duktape-1.5.2/src-separate/duk_api_buffer.c | 73 -
.../src-separate/duk_api_bytecode.c | 727 -
.../duktape-1.5.2/src-separate/duk_api_call.c | 555 -
.../duktape-1.5.2/src-separate/duk_api_codec.c | 638 -
.../src-separate/duk_api_compile.c | 194 -
.../duktape-1.5.2/src-separate/duk_api_debug.c | 263 -
.../duktape-1.5.2/src-separate/duk_api_heap.c | 134 -
.../src-separate/duk_api_internal.h | 194 -
.../src-separate/duk_api_logging.c | 52 -
.../duktape-1.5.2/src-separate/duk_api_memory.c | 103 -
.../duktape-1.5.2/src-separate/duk_api_object.c | 610 -
.../duktape-1.5.2/src-separate/duk_api_stack.c | 4658 -
.../duktape-1.5.2/src-separate/duk_api_string.c | 331 -
.../duktape-1.5.2/src-separate/duk_api_var.c | 86 -
.../duktape-1.5.2/src-separate/duk_bi_array.c | 1445 -
.../duktape-1.5.2/src-separate/duk_bi_boolean.c | 68 -
.../duktape-1.5.2/src-separate/duk_bi_buffer.c | 2882 -
.../duktape-1.5.2/src-separate/duk_bi_date.c | 1728 -
.../src-separate/duk_bi_date_unix.c | 309 -
.../src-separate/duk_bi_date_windows.c | 98 -
.../duktape-1.5.2/src-separate/duk_bi_duktape.c | 321 -
.../duktape-1.5.2/src-separate/duk_bi_error.c | 383 -
.../src-separate/duk_bi_function.c | 346 -
.../duktape-1.5.2/src-separate/duk_bi_global.c | 1288 -
.../duktape-1.5.2/src-separate/duk_bi_json.c | 3143 -
.../duktape-1.5.2/src-separate/duk_bi_logger.c | 300 -
.../duktape-1.5.2/src-separate/duk_bi_math.c | 348 -
.../duktape-1.5.2/src-separate/duk_bi_number.c | 240 -
.../duktape-1.5.2/src-separate/duk_bi_object.c | 577 -
.../duktape-1.5.2/src-separate/duk_bi_pointer.c | 74 -
.../duktape-1.5.2/src-separate/duk_bi_protos.h | 69 -
.../duktape-1.5.2/src-separate/duk_bi_proxy.c | 66 -
.../duktape-1.5.2/src-separate/duk_bi_regexp.c | 209 -
.../duktape-1.5.2/src-separate/duk_bi_string.c | 1314 -
.../duktape-1.5.2/src-separate/duk_bi_thread.c | 305 -
.../duktape-1.5.2/src-separate/duk_bi_thrower.c | 10 -
.../duktape-1.5.2/src-separate/duk_builtins.c | 776 -
.../duktape-1.5.2/src-separate/duk_builtins.h | 854 -
.../duktape-1.5.2/src-separate/duk_config.h | 3804 -
.../duktape-1.5.2/src-separate/duk_debug.h | 185 -
.../src-separate/duk_debug_fixedbuffer.c | 69 -
.../duktape-1.5.2/src-separate/duk_debug_heap.c | 247 -
.../src-separate/duk_debug_macros.c | 144 -
.../src-separate/duk_debug_vsnprintf.c | 1049 -
.../duktape-1.5.2/src-separate/duk_debugger.c | 2773 -
.../duktape-1.5.2/src-separate/duk_debugger.h | 144 -
.../duktape-1.5.2/src-separate/duk_error.h | 439 -
.../src-separate/duk_error_augment.c | 567 -
.../src-separate/duk_error_longjmp.c | 45 -
.../src-separate/duk_error_macros.c | 163 -
.../duktape-1.5.2/src-separate/duk_error_misc.c | 132 -
.../src-separate/duk_error_throw.c | 181 -
.../duktape-1.5.2/src-separate/duk_exception.h | 18 -
.../duktape-1.5.2/src-separate/duk_forwdecl.h | 122 -
.../duktape-1.5.2/src-separate/duk_hbuffer.h | 328 -
.../src-separate/duk_hbuffer_alloc.c | 132 -
.../src-separate/duk_hbuffer_ops.c | 82 -
.../src-separate/duk_hbufferobject.h | 133 -
.../src-separate/duk_hbufferobject_misc.c | 20 -
.../src-separate/duk_hcompiledfunction.h | 239 -
.../duktape-1.5.2/src-separate/duk_heap.h | 596 -
.../duktape-1.5.2/src-separate/duk_heap_alloc.c | 1042 -
.../src-separate/duk_heap_hashstring.c | 120 -
.../src-separate/duk_heap_markandsweep.c | 1421 -
.../src-separate/duk_heap_memory.c | 384 -
.../duktape-1.5.2/src-separate/duk_heap_misc.c | 79 -
.../src-separate/duk_heap_refcount.c | 614 -
.../src-separate/duk_heap_stringcache.c | 298 -
.../src-separate/duk_heap_stringtable.c | 1181 -
.../duktape-1.5.2/src-separate/duk_heaphdr.h | 750 -
.../src-separate/duk_hnativefunction.h | 32 -
.../duktape-1.5.2/src-separate/duk_hobject.h | 926 -
.../src-separate/duk_hobject_alloc.c | 192 -
.../src-separate/duk_hobject_class.c | 132 -
.../src-separate/duk_hobject_enum.c | 626 -
.../src-separate/duk_hobject_finalizer.c | 110 -
.../src-separate/duk_hobject_misc.c | 52 -
.../src-separate/duk_hobject_pc2line.c | 250 -
.../src-separate/duk_hobject_props.c | 5999 -
.../duktape-1.5.2/src-separate/duk_hstring.h | 219 -
.../src-separate/duk_hstring_misc.c | 45 -
.../duktape-1.5.2/src-separate/duk_hthread.h | 380 -
.../src-separate/duk_hthread_alloc.c | 95 -
.../src-separate/duk_hthread_builtins.c | 836 -
.../src-separate/duk_hthread_misc.c | 108 -
.../src-separate/duk_hthread_stacks.c | 476 -
.../src-separate/duk_initjs_min.js | 1 -
.../duktape-1.5.2/src-separate/duk_internal.h | 79 -
.../duktape-1.5.2/src-separate/duk_jmpbuf.h | 24 -
.../duktape-1.5.2/src-separate/duk_js.h | 99 -
.../src-separate/duk_js_bytecode.h | 205 -
.../duktape-1.5.2/src-separate/duk_js_call.c | 2727 -
.../src-separate/duk_js_compiler.c | 7865 -
.../src-separate/duk_js_compiler.h | 227 -
.../src-separate/duk_js_executor.c | 4507 -
.../duktape-1.5.2/src-separate/duk_js_ops.c | 1370 -
.../duktape-1.5.2/src-separate/duk_js_var.c | 1821 -
.../duktape-1.5.2/src-separate/duk_json.h | 68 -
.../duktape-1.5.2/src-separate/duk_lexer.c | 2067 -
.../duktape-1.5.2/src-separate/duk_lexer.h | 432 -
.../duktape-1.5.2/src-separate/duk_numconv.c | 2266 -
.../duktape-1.5.2/src-separate/duk_numconv.h | 90 -
.../duktape-1.5.2/src-separate/duk_regexp.h | 82 -
.../src-separate/duk_regexp_compiler.c | 1072 -
.../src-separate/duk_regexp_executor.c | 1008 -
.../src-separate/duk_replacements.c | 82 -
.../src-separate/duk_replacements.h | 28 -
.../duktape-1.5.2/src-separate/duk_selftest.c | 373 -
.../duktape-1.5.2/src-separate/duk_selftest.h | 12 -
.../duktape-1.5.2/src-separate/duk_strings.c | 115 -
.../duktape-1.5.2/src-separate/duk_strings.h | 252 -
.../duktape-1.5.2/src-separate/duk_tval.c | 138 -
.../duktape-1.5.2/src-separate/duk_tval.h | 518 -
.../duktape-1.5.2/src-separate/duk_unicode.h | 267 -
.../src-separate/duk_unicode_support.c | 1173 -
.../src-separate/duk_unicode_tables.c | 6119 -
.../duktape-1.5.2/src-separate/duk_util.h | 530 -
.../src-separate/duk_util_bitdecoder.c | 70 -
.../src-separate/duk_util_bitencoder.c | 43 -
.../src-separate/duk_util_bufwriter.c | 360 -
.../src-separate/duk_util_hashbytes.c | 57 -
.../src-separate/duk_util_hashprime.c | 77 -
.../duktape-1.5.2/src-separate/duk_util_misc.c | 222 -
.../src-separate/duk_util_tinyrandom.c | 63 -
.../duktape-1.5.2/src-separate/duktape.h | 1567 -
.../third_party/duktape-1.5.2/src/duk_config.h | 3804 -
.../src/third_party/duktape-1.5.2/src/duktape.c | 86695 -------
.../src/third_party/duktape-1.5.2/src/duktape.h | 1567 -
.../third_party/duktape-1.5.2/src/metadata.json | 629 -
.../src/third_party/duktape-1.8.0/AUTHORS.rst | 72 -
.../src/third_party/duktape-1.8.0/LICENSE.txt | 25 -
.../third_party/duktape-1.8.0/Makefile.cmdline | 34 -
.../third_party/duktape-1.8.0/Makefile.codepage | 4 -
.../third_party/duktape-1.8.0/Makefile.coffee | 4 -
.../third_party/duktape-1.8.0/Makefile.dukdebug | 26 -
.../src/third_party/duktape-1.8.0/Makefile.eval | 7 -
.../duktape-1.8.0/Makefile.eventloop | 22 -
.../third_party/duktape-1.8.0/Makefile.hello | 35 -
.../third_party/duktape-1.8.0/Makefile.jxpretty | 8 -
.../third_party/duktape-1.8.0/Makefile.sandbox | 7 -
.../duktape-1.8.0/Makefile.sharedlibrary | 71 -
.../src/third_party/duktape-1.8.0/README.rst | 110 -
.../third_party/duktape-1.8.0/config/README.rst | 39 -
.../config/duk_config.h-modular-dll | 3415 -
.../config/duk_config.h-modular-static | 3415 -
.../duktape-1.8.0/config/genconfig.py | 1537 -
.../config/genconfig_metadata.tar.gz | Bin 71810 -> 0 bytes
.../duktape-1.8.0/debugger/README.rst | 384 -
.../duktape-1.8.0/debugger/duk_classnames.yaml | 32 -
.../duktape-1.8.0/debugger/duk_debug.js | 2473 -
.../duktape-1.8.0/debugger/duk_debug_meta.json | 1497 -
.../duktape-1.8.0/debugger/duk_debug_proxy.js | 1029 -
.../debugger/duk_debugcommands.yaml | 52 -
.../duktape-1.8.0/debugger/duk_debugerrors.yaml | 6 -
.../duktape-1.8.0/debugger/duk_opcodes.yaml | 658 -
.../duktape-1.8.0/debugger/merge_debug_meta.py | 32 -
.../duktape-1.8.0/debugger/package.json | 27 -
.../duktape-1.8.0/debugger/static/index.html | 96 -
.../duktape-1.8.0/debugger/static/style.css | 516 -
.../duktape-1.8.0/debugger/static/webui.js | 785 -
.../duktape-1.8.0/duk_build_meta.json | 1349 -
.../duktape-1.8.0/examples/README.rst | 10 -
.../examples/alloc-hybrid/README.rst | 10 -
.../examples/alloc-hybrid/duk_alloc_hybrid.c | 293 -
.../examples/alloc-hybrid/duk_alloc_hybrid.h | 11 -
.../examples/alloc-logging/README.rst | 7 -
.../examples/alloc-logging/duk_alloc_logging.c | 138 -
.../examples/alloc-logging/duk_alloc_logging.h | 10 -
.../examples/alloc-logging/log2gnuplot.py | 41 -
.../examples/alloc-torture/README.rst | 10 -
.../examples/alloc-torture/duk_alloc_torture.c | 182 -
.../examples/alloc-torture/duk_alloc_torture.h | 10 -
.../duktape-1.8.0/examples/cmdline/README.rst | 6 -
.../examples/cmdline/duk_cmdline.c | 1463 -
.../examples/cmdline/duk_cmdline_ajduk.c | 1008 -
.../examples/codepage-conv/README.rst | 8 -
.../examples/codepage-conv/duk_codepage_conv.c | 54 -
.../examples/codepage-conv/duk_codepage_conv.h | 8 -
.../duktape-1.8.0/examples/codepage-conv/test.c | 286 -
.../duktape-1.8.0/examples/coffee/README.rst | 10 -
.../examples/coffee/globals.coffee | 7 -
.../duktape-1.8.0/examples/coffee/hello.coffee | 2 -
.../duktape-1.8.0/examples/coffee/mandel.coffee | 28 -
.../examples/cpp-exceptions/README.rst | 29 -
.../examples/cpp-exceptions/cpp_exceptions.cpp | 274 -
.../examples/debug-trans-dvalue/README.rst | 8 -
.../debug-trans-dvalue/duk_trans_dvalue.c | 1239 -
.../debug-trans-dvalue/duk_trans_dvalue.h | 113 -
.../examples/debug-trans-dvalue/test.c | 236 -
.../examples/debug-trans-socket/README.rst | 17 -
.../debug-trans-socket/duk_trans_socket.h | 15 -
.../debug-trans-socket/duk_trans_socket_unix.c | 340 -
.../duk_trans_socket_windows.c | 414 -
.../examples/dummy-date-provider/README.rst | 5 -
.../dummy-date-provider/dummy_date_provider.c | 27 -
.../duktape-1.8.0/examples/eval/README.rst | 5 -
.../duktape-1.8.0/examples/eval/eval.c | 48 -
.../duktape-1.8.0/examples/eventloop/README.rst | 76 -
.../examples/eventloop/basic-test.js | 17 -
.../examples/eventloop/c_eventloop.c | 618 -
.../examples/eventloop/c_eventloop.js | 179 -
.../examples/eventloop/client-socket-test.js | 24 -
.../examples/eventloop/curses-timers.js | 79 -
.../examples/eventloop/ecma_eventloop.js | 466 -
.../duktape-1.8.0/examples/eventloop/fileio.c | 69 -
.../duktape-1.8.0/examples/eventloop/main.c | 256 -
.../duktape-1.8.0/examples/eventloop/ncurses.c | 105 -
.../duktape-1.8.0/examples/eventloop/poll.c | 111 -
.../examples/eventloop/server-socket-test.js | 34 -
.../duktape-1.8.0/examples/eventloop/socket.c | 286 -
.../duktape-1.8.0/examples/guide/README.rst | 5 -
.../duktape-1.8.0/examples/guide/fib.js | 16 -
.../duktape-1.8.0/examples/guide/prime.js | 32 -
.../duktape-1.8.0/examples/guide/primecheck.c | 52 -
.../duktape-1.8.0/examples/guide/process.js | 12 -
.../duktape-1.8.0/examples/guide/processlines.c | 59 -
.../duktape-1.8.0/examples/guide/uppercase.c | 42 -
.../duktape-1.8.0/examples/hello/README.rst | 5 -
.../duktape-1.8.0/examples/hello/hello.c | 38 -
.../duktape-1.8.0/examples/jxpretty/README.rst | 5 -
.../duktape-1.8.0/examples/jxpretty/jxpretty.c | 63 -
.../duktape-1.8.0/examples/sandbox/README.rst | 5 -
.../duktape-1.8.0/examples/sandbox/sandbox.c | 252 -
.../third_party/duktape-1.8.0/extras/README.rst | 13 -
.../src/third_party/duktape-1.8.0/license.spdx | 3933 -
.../duktape-1.8.0/licenses/commonjs.txt | 2 -
.../third_party/duktape-1.8.0/licenses/lua.txt | 1 -
.../duktape-1.8.0/licenses/murmurhash2.txt | 21 -
.../src/third_party/duktape-1.8.0/mandel.js | 53 -
.../duktape-1.8.0/polyfills/console-minimal.js | 20 -
.../duktape-error-setter-nonwritable.js | 20 -
.../polyfills/duktape-error-setter-writable.js | 19 -
.../polyfills/duktape-isfastint.js | 38 -
.../duktape-1.8.0/polyfills/object-assign.js | 45 -
.../polyfills/object-prototype-definegetter.js | 11 -
.../polyfills/object-prototype-definesetter.js | 11 -
.../duktape-1.8.0/polyfills/performance-now.js | 25 -
.../duktape-1.8.0/src-noline/duk_config.h | 3804 -
.../duktape-1.8.0/src-noline/duktape.c | 86857 -------
.../duktape-1.8.0/src-noline/duktape.h | 1581 -
.../duktape-1.8.0/src-noline/metadata.json | 629 -
.../src-separate/duk_alloc_default.c | 34 -
.../duktape-1.8.0/src-separate/duk_api_buffer.c | 73 -
.../src-separate/duk_api_bytecode.c | 727 -
.../duktape-1.8.0/src-separate/duk_api_call.c | 566 -
.../duktape-1.8.0/src-separate/duk_api_codec.c | 638 -
.../src-separate/duk_api_compile.c | 194 -
.../duktape-1.8.0/src-separate/duk_api_debug.c | 263 -
.../duktape-1.8.0/src-separate/duk_api_heap.c | 194 -
.../src-separate/duk_api_internal.h | 194 -
.../src-separate/duk_api_logging.c | 52 -
.../duktape-1.8.0/src-separate/duk_api_memory.c | 103 -
.../duktape-1.8.0/src-separate/duk_api_object.c | 610 -
.../duktape-1.8.0/src-separate/duk_api_stack.c | 4788 -
.../duktape-1.8.0/src-separate/duk_api_string.c | 331 -
.../duktape-1.8.0/src-separate/duk_api_var.c | 86 -
.../duktape-1.8.0/src-separate/duk_bi_array.c | 1445 -
.../duktape-1.8.0/src-separate/duk_bi_boolean.c | 68 -
.../duktape-1.8.0/src-separate/duk_bi_buffer.c | 2884 -
.../duktape-1.8.0/src-separate/duk_bi_date.c | 1728 -
.../src-separate/duk_bi_date_unix.c | 309 -
.../src-separate/duk_bi_date_windows.c | 98 -
.../duktape-1.8.0/src-separate/duk_bi_duktape.c | 321 -
.../duktape-1.8.0/src-separate/duk_bi_error.c | 383 -
.../src-separate/duk_bi_function.c | 346 -
.../duktape-1.8.0/src-separate/duk_bi_global.c | 1287 -
.../duktape-1.8.0/src-separate/duk_bi_json.c | 3143 -
.../duktape-1.8.0/src-separate/duk_bi_logger.c | 300 -
.../duktape-1.8.0/src-separate/duk_bi_math.c | 348 -
.../duktape-1.8.0/src-separate/duk_bi_number.c | 240 -
.../duktape-1.8.0/src-separate/duk_bi_object.c | 577 -
.../duktape-1.8.0/src-separate/duk_bi_pointer.c | 74 -
.../duktape-1.8.0/src-separate/duk_bi_protos.h | 69 -
.../duktape-1.8.0/src-separate/duk_bi_proxy.c | 66 -
.../duktape-1.8.0/src-separate/duk_bi_regexp.c | 209 -
.../duktape-1.8.0/src-separate/duk_bi_string.c | 1314 -
.../duktape-1.8.0/src-separate/duk_bi_thread.c | 305 -
.../duktape-1.8.0/src-separate/duk_bi_thrower.c | 10 -
.../duktape-1.8.0/src-separate/duk_builtins.c | 776 -
.../duktape-1.8.0/src-separate/duk_builtins.h | 854 -
.../duktape-1.8.0/src-separate/duk_config.h | 3804 -
.../duktape-1.8.0/src-separate/duk_debug.h | 185 -
.../src-separate/duk_debug_fixedbuffer.c | 69 -
.../duktape-1.8.0/src-separate/duk_debug_heap.c | 247 -
.../src-separate/duk_debug_macros.c | 144 -
.../src-separate/duk_debug_vsnprintf.c | 1049 -
.../duktape-1.8.0/src-separate/duk_debugger.c | 2785 -
.../duktape-1.8.0/src-separate/duk_debugger.h | 144 -
.../duktape-1.8.0/src-separate/duk_error.h | 439 -
.../src-separate/duk_error_augment.c | 567 -
.../src-separate/duk_error_longjmp.c | 45 -
.../src-separate/duk_error_macros.c | 163 -
.../duktape-1.8.0/src-separate/duk_error_misc.c | 132 -
.../src-separate/duk_error_throw.c | 181 -
.../duktape-1.8.0/src-separate/duk_exception.h | 18 -
.../duktape-1.8.0/src-separate/duk_forwdecl.h | 122 -
.../duktape-1.8.0/src-separate/duk_hbuffer.h | 328 -
.../src-separate/duk_hbuffer_alloc.c | 132 -
.../src-separate/duk_hbuffer_ops.c | 82 -
.../src-separate/duk_hbufferobject.h | 133 -
.../src-separate/duk_hbufferobject_misc.c | 20 -
.../src-separate/duk_hcompiledfunction.h | 239 -
.../duktape-1.8.0/src-separate/duk_heap.h | 596 -
.../duktape-1.8.0/src-separate/duk_heap_alloc.c | 1045 -
.../src-separate/duk_heap_hashstring.c | 120 -
.../src-separate/duk_heap_markandsweep.c | 1440 -
.../src-separate/duk_heap_memory.c | 384 -
.../duktape-1.8.0/src-separate/duk_heap_misc.c | 79 -
.../src-separate/duk_heap_refcount.c | 624 -
.../src-separate/duk_heap_stringcache.c | 298 -
.../src-separate/duk_heap_stringtable.c | 1181 -
.../duktape-1.8.0/src-separate/duk_heaphdr.h | 755 -
.../src-separate/duk_hnativefunction.h | 32 -
.../duktape-1.8.0/src-separate/duk_hobject.h | 926 -
.../src-separate/duk_hobject_alloc.c | 192 -
.../src-separate/duk_hobject_class.c | 132 -
.../src-separate/duk_hobject_enum.c | 626 -
.../src-separate/duk_hobject_finalizer.c | 110 -
.../src-separate/duk_hobject_misc.c | 52 -
.../src-separate/duk_hobject_pc2line.c | 250 -
.../src-separate/duk_hobject_props.c | 5995 -
.../duktape-1.8.0/src-separate/duk_hstring.h | 219 -
.../src-separate/duk_hstring_misc.c | 45 -
.../duktape-1.8.0/src-separate/duk_hthread.h | 380 -
.../src-separate/duk_hthread_alloc.c | 95 -
.../src-separate/duk_hthread_builtins.c | 835 -
.../src-separate/duk_hthread_misc.c | 108 -
.../src-separate/duk_hthread_stacks.c | 476 -
.../src-separate/duk_initjs_min.js | 1 -
.../duktape-1.8.0/src-separate/duk_internal.h | 79 -
.../duktape-1.8.0/src-separate/duk_jmpbuf.h | 24 -
.../duktape-1.8.0/src-separate/duk_js.h | 99 -
.../src-separate/duk_js_bytecode.h | 205 -
.../duktape-1.8.0/src-separate/duk_js_call.c | 2732 -
.../src-separate/duk_js_compiler.c | 7865 -
.../src-separate/duk_js_compiler.h | 227 -
.../src-separate/duk_js_executor.c | 4515 -
.../duktape-1.8.0/src-separate/duk_js_ops.c | 1387 -
.../duktape-1.8.0/src-separate/duk_js_var.c | 1830 -
.../duktape-1.8.0/src-separate/duk_json.h | 68 -
.../duktape-1.8.0/src-separate/duk_lexer.c | 2069 -
.../duktape-1.8.0/src-separate/duk_lexer.h | 432 -
.../duktape-1.8.0/src-separate/duk_numconv.c | 2266 -
.../duktape-1.8.0/src-separate/duk_numconv.h | 90 -
.../duktape-1.8.0/src-separate/duk_regexp.h | 82 -
.../src-separate/duk_regexp_compiler.c | 1072 -
.../src-separate/duk_regexp_executor.c | 1008 -
.../src-separate/duk_replacements.c | 82 -
.../src-separate/duk_replacements.h | 28 -
.../duktape-1.8.0/src-separate/duk_selftest.c | 373 -
.../duktape-1.8.0/src-separate/duk_selftest.h | 12 -
.../duktape-1.8.0/src-separate/duk_strings.c | 115 -
.../duktape-1.8.0/src-separate/duk_strings.h | 252 -
.../duktape-1.8.0/src-separate/duk_tval.c | 138 -
.../duktape-1.8.0/src-separate/duk_tval.h | 518 -
.../duktape-1.8.0/src-separate/duk_unicode.h | 267 -
.../src-separate/duk_unicode_support.c | 1173 -
.../src-separate/duk_unicode_tables.c | 6119 -
.../duktape-1.8.0/src-separate/duk_util.h | 530 -
.../src-separate/duk_util_bitdecoder.c | 70 -
.../src-separate/duk_util_bitencoder.c | 43 -
.../src-separate/duk_util_bufwriter.c | 360 -
.../src-separate/duk_util_hashbytes.c | 57 -
.../src-separate/duk_util_hashprime.c | 77 -
.../duktape-1.8.0/src-separate/duk_util_misc.c | 222 -
.../src-separate/duk_util_tinyrandom.c | 63 -
.../duktape-1.8.0/src-separate/duktape.h | 1581 -
.../third_party/duktape-1.8.0/src/duk_config.h | 3804 -
.../src/third_party/duktape-1.8.0/src/duktape.c | 86982 -------
.../src/third_party/duktape-1.8.0/src/duktape.h | 1581 -
.../third_party/duktape-1.8.0/src/metadata.json | 629 -
thirdparty/civetweb-1.10/src/third_party/lfs.c | 900 -
thirdparty/civetweb-1.10/src/third_party/lfs.h | 32 -
.../civetweb-1.10/src/third_party/lsqlite3.c | 2404 -
.../src/third_party/lua-5.1.5/COPYRIGHT | 34 -
.../src/third_party/lua-5.1.5/HISTORY | 183 -
.../src/third_party/lua-5.1.5/INSTALL | 99 -
.../src/third_party/lua-5.1.5/README | 37 -
.../src/third_party/lua-5.1.5/doc/contents.html | 497 -
.../src/third_party/lua-5.1.5/doc/cover.png | Bin 3305 -> 0 bytes
.../src/third_party/lua-5.1.5/doc/logo.gif | Bin 4232 -> 0 bytes
.../src/third_party/lua-5.1.5/doc/lua.1 | 163 -
.../src/third_party/lua-5.1.5/doc/lua.css | 83 -
.../src/third_party/lua-5.1.5/doc/lua.html | 172 -
.../src/third_party/lua-5.1.5/doc/luac.1 | 136 -
.../src/third_party/lua-5.1.5/doc/luac.html | 145 -
.../src/third_party/lua-5.1.5/doc/manual.css | 24 -
.../src/third_party/lua-5.1.5/doc/manual.html | 8804 -
.../src/third_party/lua-5.1.5/doc/readme.html | 40 -
.../src/third_party/lua-5.1.5/etc/README | 37 -
.../src/third_party/lua-5.1.5/etc/all.c | 38 -
.../src/third_party/lua-5.1.5/etc/lua.hpp | 9 -
.../src/third_party/lua-5.1.5/etc/lua.ico | Bin 1078 -> 0 bytes
.../src/third_party/lua-5.1.5/etc/lua.pc | 31 -
.../src/third_party/lua-5.1.5/etc/luavs.bat | 28 -
.../src/third_party/lua-5.1.5/etc/min.c | 39 -
.../src/third_party/lua-5.1.5/etc/noparser.c | 50 -
.../src/third_party/lua-5.1.5/etc/strict.lua | 41 -
.../src/third_party/lua-5.1.5/src/lapi.c | 1087 -
.../src/third_party/lua-5.1.5/src/lapi.h | 16 -
.../src/third_party/lua-5.1.5/src/lauxlib.c | 652 -
.../src/third_party/lua-5.1.5/src/lauxlib.h | 174 -
.../src/third_party/lua-5.1.5/src/lbaselib.c | 653 -
.../src/third_party/lua-5.1.5/src/lcode.c | 831 -
.../src/third_party/lua-5.1.5/src/lcode.h | 76 -
.../src/third_party/lua-5.1.5/src/ldblib.c | 398 -
.../src/third_party/lua-5.1.5/src/ldebug.c | 638 -
.../src/third_party/lua-5.1.5/src/ldebug.h | 33 -
.../src/third_party/lua-5.1.5/src/ldo.c | 519 -
.../src/third_party/lua-5.1.5/src/ldo.h | 57 -
.../src/third_party/lua-5.1.5/src/ldump.c | 164 -
.../src/third_party/lua-5.1.5/src/lfunc.c | 174 -
.../src/third_party/lua-5.1.5/src/lfunc.h | 34 -
.../src/third_party/lua-5.1.5/src/lgc.c | 710 -
.../src/third_party/lua-5.1.5/src/lgc.h | 110 -
.../src/third_party/lua-5.1.5/src/linit.c | 38 -
.../src/third_party/lua-5.1.5/src/liolib.c | 556 -
.../src/third_party/lua-5.1.5/src/llex.c | 463 -
.../src/third_party/lua-5.1.5/src/llex.h | 81 -
.../src/third_party/lua-5.1.5/src/llimits.h | 128 -
.../src/third_party/lua-5.1.5/src/lmathlib.c | 263 -
.../src/third_party/lua-5.1.5/src/lmem.c | 86 -
.../src/third_party/lua-5.1.5/src/lmem.h | 49 -
.../src/third_party/lua-5.1.5/src/loadlib.c | 666 -
.../src/third_party/lua-5.1.5/src/lobject.c | 214 -
.../src/third_party/lua-5.1.5/src/lobject.h | 381 -
.../src/third_party/lua-5.1.5/src/lopcodes.c | 102 -
.../src/third_party/lua-5.1.5/src/lopcodes.h | 268 -
.../src/third_party/lua-5.1.5/src/loslib.c | 243 -
.../src/third_party/lua-5.1.5/src/lparser.c | 1339 -
.../src/third_party/lua-5.1.5/src/lparser.h | 82 -
.../src/third_party/lua-5.1.5/src/lstate.c | 214 -
.../src/third_party/lua-5.1.5/src/lstate.h | 169 -
.../src/third_party/lua-5.1.5/src/lstring.c | 111 -
.../src/third_party/lua-5.1.5/src/lstring.h | 31 -
.../src/third_party/lua-5.1.5/src/lstrlib.c | 871 -
.../src/third_party/lua-5.1.5/src/ltable.c | 588 -
.../src/third_party/lua-5.1.5/src/ltable.h | 40 -
.../src/third_party/lua-5.1.5/src/ltablib.c | 287 -
.../src/third_party/lua-5.1.5/src/ltm.c | 75 -
.../src/third_party/lua-5.1.5/src/ltm.h | 54 -
.../src/third_party/lua-5.1.5/src/lua.c | 392 -
.../src/third_party/lua-5.1.5/src/lua.h | 388 -
.../src/third_party/lua-5.1.5/src/luac.c | 200 -
.../src/third_party/lua-5.1.5/src/luaconf.h | 763 -
.../src/third_party/lua-5.1.5/src/lualib.h | 53 -
.../src/third_party/lua-5.1.5/src/lundump.c | 227 -
.../src/third_party/lua-5.1.5/src/lundump.h | 36 -
.../src/third_party/lua-5.1.5/src/lvm.c | 767 -
.../src/third_party/lua-5.1.5/src/lvm.h | 36 -
.../src/third_party/lua-5.1.5/src/lzio.c | 82 -
.../src/third_party/lua-5.1.5/src/lzio.h | 67 -
.../src/third_party/lua-5.1.5/src/print.c | 227 -
.../src/third_party/lua-5.1.5/test/README | 26 -
.../src/third_party/lua-5.1.5/test/bisect.lua | 27 -
.../src/third_party/lua-5.1.5/test/cf.lua | 16 -
.../src/third_party/lua-5.1.5/test/echo.lua | 5 -
.../src/third_party/lua-5.1.5/test/env.lua | 7 -
.../third_party/lua-5.1.5/test/factorial.lua | 32 -
.../src/third_party/lua-5.1.5/test/fib.lua | 40 -
.../src/third_party/lua-5.1.5/test/fibfor.lua | 13 -
.../src/third_party/lua-5.1.5/test/globals.lua | 13 -
.../src/third_party/lua-5.1.5/test/hello.lua | 3 -
.../src/third_party/lua-5.1.5/test/life.lua | 111 -
.../src/third_party/lua-5.1.5/test/luac.lua | 7 -
.../src/third_party/lua-5.1.5/test/printf.lua | 7 -
.../src/third_party/lua-5.1.5/test/readonly.lua | 12 -
.../src/third_party/lua-5.1.5/test/sieve.lua | 29 -
.../src/third_party/lua-5.1.5/test/sort.lua | 66 -
.../src/third_party/lua-5.1.5/test/table.lua | 12 -
.../third_party/lua-5.1.5/test/trace-calls.lua | 32 -
.../lua-5.1.5/test/trace-globals.lua | 38 -
.../src/third_party/lua-5.1.5/test/xd.lua | 14 -
.../src/third_party/lua-5.2.4/README | 6 -
.../src/third_party/lua-5.2.4/doc/contents.html | 608 -
.../src/third_party/lua-5.2.4/doc/logo.gif | Bin 4232 -> 0 bytes
.../src/third_party/lua-5.2.4/doc/lua.1 | 116 -
.../src/third_party/lua-5.2.4/doc/lua.css | 106 -
.../src/third_party/lua-5.2.4/doc/luac.1 | 118 -
.../src/third_party/lua-5.2.4/doc/manual.css | 27 -
.../src/third_party/lua-5.2.4/doc/manual.html | 10508 -
.../lua-5.2.4/doc/osi-certified-72x60.png | Bin 3774 -> 0 bytes
.../src/third_party/lua-5.2.4/doc/readme.html | 417 -
.../src/third_party/lua-5.2.4/src/lapi.c | 1284 -
.../src/third_party/lua-5.2.4/src/lapi.h | 24 -
.../src/third_party/lua-5.2.4/src/lauxlib.c | 959 -
.../src/third_party/lua-5.2.4/src/lauxlib.h | 212 -
.../src/third_party/lua-5.2.4/src/lbaselib.c | 458 -
.../src/third_party/lua-5.2.4/src/lbitlib.c | 212 -
.../src/third_party/lua-5.2.4/src/lcode.c | 881 -
.../src/third_party/lua-5.2.4/src/lcode.h | 83 -
.../src/third_party/lua-5.2.4/src/lcorolib.c | 155 -
.../src/third_party/lua-5.2.4/src/lctype.c | 52 -
.../src/third_party/lua-5.2.4/src/lctype.h | 95 -
.../src/third_party/lua-5.2.4/src/ldblib.c | 408 -
.../src/third_party/lua-5.2.4/src/ldebug.c | 610 -
.../src/third_party/lua-5.2.4/src/ldebug.h | 34 -
.../src/third_party/lua-5.2.4/src/ldo.c | 681 -
.../src/third_party/lua-5.2.4/src/ldo.h | 46 -
.../src/third_party/lua-5.2.4/src/ldump.c | 173 -
.../src/third_party/lua-5.2.4/src/lfunc.c | 161 -
.../src/third_party/lua-5.2.4/src/lfunc.h | 33 -
.../src/third_party/lua-5.2.4/src/lgc.c | 1220 -
.../src/third_party/lua-5.2.4/src/lgc.h | 157 -
.../src/third_party/lua-5.2.4/src/linit.c | 67 -
.../src/third_party/lua-5.2.4/src/liolib.c | 666 -
.../src/third_party/lua-5.2.4/src/llex.c | 530 -
.../src/third_party/lua-5.2.4/src/llex.h | 78 -
.../src/third_party/lua-5.2.4/src/llimits.h | 309 -
.../src/third_party/lua-5.2.4/src/lmathlib.c | 279 -
.../src/third_party/lua-5.2.4/src/lmem.c | 99 -
.../src/third_party/lua-5.2.4/src/lmem.h | 57 -
.../src/third_party/lua-5.2.4/src/loadlib.c | 725 -
.../src/third_party/lua-5.2.4/src/lobject.c | 287 -
.../src/third_party/lua-5.2.4/src/lobject.h | 607 -
.../src/third_party/lua-5.2.4/src/lopcodes.c | 107 -
.../src/third_party/lua-5.2.4/src/lopcodes.h | 288 -
.../src/third_party/lua-5.2.4/src/loslib.c | 323 -
.../src/third_party/lua-5.2.4/src/lparser.c | 1638 -
.../src/third_party/lua-5.2.4/src/lparser.h | 119 -
.../src/third_party/lua-5.2.4/src/lstate.c | 323 -
.../src/third_party/lua-5.2.4/src/lstate.h | 228 -
.../src/third_party/lua-5.2.4/src/lstring.c | 185 -
.../src/third_party/lua-5.2.4/src/lstring.h | 46 -
.../src/third_party/lua-5.2.4/src/lstrlib.c | 1019 -
.../src/third_party/lua-5.2.4/src/ltable.c | 588 -
.../src/third_party/lua-5.2.4/src/ltable.h | 45 -
.../src/third_party/lua-5.2.4/src/ltablib.c | 285 -
.../src/third_party/lua-5.2.4/src/ltm.c | 77 -
.../src/third_party/lua-5.2.4/src/ltm.h | 57 -
.../src/third_party/lua-5.2.4/src/lua.c | 497 -
.../src/third_party/lua-5.2.4/src/lua.h | 444 -
.../src/third_party/lua-5.2.4/src/lua.hpp | 9 -
.../src/third_party/lua-5.2.4/src/luac.c | 432 -
.../src/third_party/lua-5.2.4/src/luaconf.h | 551 -
.../src/third_party/lua-5.2.4/src/lualib.h | 55 -
.../src/third_party/lua-5.2.4/src/lundump.c | 258 -
.../src/third_party/lua-5.2.4/src/lundump.h | 28 -
.../src/third_party/lua-5.2.4/src/lvm.c | 867 -
.../src/third_party/lua-5.2.4/src/lvm.h | 44 -
.../src/third_party/lua-5.2.4/src/lzio.c | 76 -
.../src/third_party/lua-5.2.4/src/lzio.h | 65 -
.../src/third_party/lua-5.3.3/README | 6 -
.../src/third_party/lua-5.3.3/doc/contents.html | 618 -
.../src/third_party/lua-5.3.3/doc/index.css | 21 -
.../src/third_party/lua-5.3.3/doc/logo.gif | Bin 4232 -> 0 bytes
.../src/third_party/lua-5.3.3/doc/lua.1 | 111 -
.../src/third_party/lua-5.3.3/doc/lua.css | 164 -
.../src/third_party/lua-5.3.3/doc/luac.1 | 118 -
.../src/third_party/lua-5.3.3/doc/manual.css | 21 -
.../src/third_party/lua-5.3.3/doc/manual.html | 10910 -
.../lua-5.3.3/doc/osi-certified-72x60.png | Bin 3774 -> 0 bytes
.../src/third_party/lua-5.3.3/doc/readme.html | 365 -
.../src/third_party/lua-5.3.3/src/lapi.c | 1298 -
.../src/third_party/lua-5.3.3/src/lapi.h | 24 -
.../src/third_party/lua-5.3.3/src/lauxlib.c | 1035 -
.../src/third_party/lua-5.3.3/src/lauxlib.h | 256 -
.../src/third_party/lua-5.3.3/src/lbaselib.c | 498 -
.../src/third_party/lua-5.3.3/src/lbitlib.c | 233 -
.../src/third_party/lua-5.3.3/src/lcode.c | 1199 -
.../src/third_party/lua-5.3.3/src/lcode.h | 88 -
.../src/third_party/lua-5.3.3/src/lcorolib.c | 168 -
.../src/third_party/lua-5.3.3/src/lctype.c | 55 -
.../src/third_party/lua-5.3.3/src/lctype.h | 95 -
.../src/third_party/lua-5.3.3/src/ldblib.c | 456 -
.../src/third_party/lua-5.3.3/src/ldebug.c | 679 -
.../src/third_party/lua-5.3.3/src/ldebug.h | 39 -
.../src/third_party/lua-5.3.3/src/ldo.c | 800 -
.../src/third_party/lua-5.3.3/src/ldo.h | 58 -
.../src/third_party/lua-5.3.3/src/ldump.c | 215 -
.../src/third_party/lua-5.3.3/src/lfunc.c | 151 -
.../src/third_party/lua-5.3.3/src/lfunc.h | 61 -
.../src/third_party/lua-5.3.3/src/lgc.c | 1176 -
.../src/third_party/lua-5.3.3/src/lgc.h | 147 -
.../src/third_party/lua-5.3.3/src/linit.c | 68 -
.../src/third_party/lua-5.3.3/src/liolib.c | 768 -
.../src/third_party/lua-5.3.3/src/llex.c | 565 -
.../src/third_party/lua-5.3.3/src/llex.h | 85 -
.../src/third_party/lua-5.3.3/src/llimits.h | 323 -
.../src/third_party/lua-5.3.3/src/lmathlib.c | 407 -
.../src/third_party/lua-5.3.3/src/lmem.c | 100 -
.../src/third_party/lua-5.3.3/src/lmem.h | 69 -
.../src/third_party/lua-5.3.3/src/loadlib.c | 787 -
.../src/third_party/lua-5.3.3/src/lobject.c | 521 -
.../src/third_party/lua-5.3.3/src/lobject.h | 549 -
.../src/third_party/lua-5.3.3/src/lopcodes.c | 124 -
.../src/third_party/lua-5.3.3/src/lopcodes.h | 295 -
.../src/third_party/lua-5.3.3/src/loslib.c | 403 -
.../src/third_party/lua-5.3.3/src/lparser.c | 1652 -
.../src/third_party/lua-5.3.3/src/lparser.h | 133 -
.../src/third_party/lua-5.3.3/src/lprefix.h | 45 -
.../src/third_party/lua-5.3.3/src/lstate.c | 347 -
.../src/third_party/lua-5.3.3/src/lstate.h | 234 -
.../src/third_party/lua-5.3.3/src/lstring.c | 248 -
.../src/third_party/lua-5.3.3/src/lstring.h | 49 -
.../src/third_party/lua-5.3.3/src/lstrlib.c | 1582 -
.../src/third_party/lua-5.3.3/src/ltable.c | 669 -
.../src/third_party/lua-5.3.3/src/ltable.h | 58 -
.../src/third_party/lua-5.3.3/src/ltablib.c | 450 -
.../src/third_party/lua-5.3.3/src/ltm.c | 165 -
.../src/third_party/lua-5.3.3/src/ltm.h | 76 -
.../src/third_party/lua-5.3.3/src/lua.c | 609 -
.../src/third_party/lua-5.3.3/src/lua.h | 486 -
.../src/third_party/lua-5.3.3/src/lua.hpp | 9 -
.../src/third_party/lua-5.3.3/src/luac.c | 449 -
.../src/third_party/lua-5.3.3/src/luaconf.h | 767 -
.../src/third_party/lua-5.3.3/src/lualib.h | 58 -
.../src/third_party/lua-5.3.3/src/lundump.c | 279 -
.../src/third_party/lua-5.3.3/src/lundump.h | 32 -
.../src/third_party/lua-5.3.3/src/lutf8lib.c | 256 -
.../src/third_party/lua-5.3.3/src/lvm.c | 1322 -
.../src/third_party/lua-5.3.3/src/lvm.h | 113 -
.../src/third_party/lua-5.3.3/src/lzio.c | 68 -
.../src/third_party/lua-5.3.3/src/lzio.h | 66 -
.../civetweb-1.10/src/third_party/sqlite3.c | 204433 ----------------
.../civetweb-1.10/src/third_party/sqlite3.h | 10694 -
thirdparty/rocksdb/CMakeLists.txt | 98 +-
thirdparty/rocksdb/util/testharness.cc | 8 -
thirdparty/rocksdb/util/testharness.h | 13 -
thirdparty/rocksdb/utilities/cassandra/format.h | 11 -
737 files changed, 39 insertions(+), 933603 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/ede68a10/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index eabc1ba..c7c4d12 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -113,6 +113,7 @@ set(JSONCPP_LIB "${JSONCPP_LIB_DIR}/lib/${prefix}jsoncpp${suffix}")
set(CIVETWEB_ENABLE_SSL_DYNAMIC_LOADING OFF CACHE BOOL "Disable dynamic SSL library loading")
set(CIVETWEB_ENABLE_CXX ON CACHE BOOL "Enable civet C++ library")
+SET(WITH_TOOLS OFF CACHE BOOL "Do not build RocksDB tools")
SET(WITH_TESTS OFF CACHE BOOL "Build RocksDB library (not repo) tests")
set(CIVET_THIRDPARTY_ROOT "${CMAKE_SOURCE_DIR}/thirdparty/civetweb-1.10/" CACHE STRING "Path to CivetWeb root")
set(ROCKSDB_THIRDPARTY_ROOT "${CMAKE_SOURCE_DIR}/thirdparty/rocksdb/" CACHE STRING "Path to RocksDB root")
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/ede68a10/thirdparty/civetweb-1.10/src/third_party/LuaXML.lua
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/src/third_party/LuaXML.lua b/thirdparty/civetweb-1.10/src/third_party/LuaXML.lua
deleted file mode 100644
index 357be7e..0000000
--- a/thirdparty/civetweb-1.10/src/third_party/LuaXML.lua
+++ /dev/null
@@ -1,116 +0,0 @@
-local base = _G
-
--- symbolic name for tag index, this allows accessing the tag by var[xml.TAG]
-xml.TAG = 0
-
--- sets or returns tag of a LuaXML object
-function xml.tag(var,tag)
- if base.type(var)~="table" then return end
- if base.type(tag)=="nil" then
- return var[xml.TAG]
- end
- var[xml.TAG] = tag
-end
-
--- creates a new LuaXML object either by setting the metatable of an existing Lua table or by setting its tag
-function xml.new(arg)
- if base.type(arg)=="table" then
- base.setmetatable(arg,{__index=xml, __tostring=xml.str})
- return arg
- end
- local var={}
- base.setmetatable(var,{__index=xml, __tostring=xml.str})
- if base.type(arg)=="string" then var[xml.TAG]=arg end
- return var
-end
-
--- appends a new subordinate LuaXML object to an existing one, optionally sets tag
-function xml.append(var,tag)
- if base.type(var)~="table" then return end
- local newVar = xml.new(tag)
- var[#var+1] = newVar
- return newVar
-end
-
--- converts any Lua var into an XML string
-function xml.str(var,indent,tagValue)
- if base.type(var)=="nil" then return end
- local indent = indent or 0
- local indentStr=""
- for i = 1,indent do indentStr=indentStr.." " end
- local tableStr=""
-
- if base.type(var)=="table" then
- local tag = var[0] or tagValue or base.type(var)
- local s = indentStr.."<"..tag
- for k,v in base.pairs(var) do -- attributes
- if base.type(k)=="string" then
- if base.type(v)=="table" and k~="_M" then -- otherwise recursiveness imminent
- tableStr = tableStr..xml.str(v,indent+1,k)
- else
- s = s.." "..k.."=\""..xml.encode(base.tostring(v)).."\""
- end
- end
- end
- if #var==0 and #tableStr==0 then
- s = s.." />\n"
- elseif #var==1 and base.type(var[1])~="table" and #tableStr==0 then -- single element
- s = s..">"..xml.encode(base.tostring(var[1])).."</"..tag..">\n"
- else
- s = s..">\n"
- for k,v in base.ipairs(var) do -- elements
- if base.type(v)=="string" then
- s = s..indentStr.." "..xml.encode(v).." \n"
- else
- s = s..xml.str(v,indent+1)
- end
- end
- s=s..tableStr..indentStr.."</"..tag..">\n"
- end
- return s
- else
- local tag = base.type(var)
- return indentStr.."<"..tag.."> "..xml.encode(base.tostring(var)).." </"..tag..">\n"
- end
-end
-
-
--- saves a Lua var as xml file
-function xml.save(var,filename)
- if not var then return end
- if not filename or #filename==0 then return end
- local file = base.io.open(filename,"w")
- file:write("<?xml version=\"1.0\"?>\n<!-- file \"",filename, "\", generated by LuaXML -->\n\n")
- file:write(xml.str(var))
- base.io.close(file)
-end
-
-
--- recursively parses a Lua table for a substatement fitting to the provided tag and attribute
-function xml.find(var, tag, attributeKey,attributeValue)
- -- check input:
- if base.type(var)~="table" then return end
- if base.type(tag)=="string" and #tag==0 then tag=nil end
- if base.type(attributeKey)~="string" or #attributeKey==0 then attributeKey=nil end
- if base.type(attributeValue)=="string" and #attributeValue==0 then attributeValue=nil end
- -- compare this table:
- if tag~=nil then
- if var[0]==tag and ( attributeValue == nil or var[attributeKey]==attributeValue ) then
- base.setmetatable(var,{__index=xml, __tostring=xml.str})
- return var
- end
- else
- if attributeValue == nil or var[attributeKey]==attributeValue then
- base.setmetatable(var,{__index=xml, __tostring=xml.str})
- return var
- end
- end
- -- recursively parse subtags:
- for k,v in base.ipairs(var) do
- if base.type(v)=="table" then
- local ret = xml.find(v, tag, attributeKey,attributeValue)
- if ret ~= nil then return ret end
- end
- end
-end
-
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/ede68a10/thirdparty/civetweb-1.10/src/third_party/LuaXML_lib.c
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/src/third_party/LuaXML_lib.c b/thirdparty/civetweb-1.10/src/third_party/LuaXML_lib.c
deleted file mode 100644
index 9ac7f9f..0000000
--- a/thirdparty/civetweb-1.10/src/third_party/LuaXML_lib.c
+++ /dev/null
@@ -1,476 +0,0 @@
-/**
-LuaXML License
-
-LuaXml is licensed under the terms of the MIT license reproduced below,
-the same as Lua itself. This means that LuaXml is free software and can be
-used for both academic and commercial purposes at absolutely no cost.
-
-Copyright (C) 2007-2013 Gerald Franz, eludi.net
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
-
-#if defined __WIN32__ || defined WIN32
-# include <windows.h>
-# define _EXPORT __declspec(dllexport)
-#else
-# define _EXPORT
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include "civetweb_lua.h"
-
-#ifdef __cplusplus
-} // extern "C"
-#endif
-
-#include <stdio.h>
-#include <string.h>
-#include <ctype.h>
-#include <stdlib.h>
-
-static const char ESC=27;
-static const char OPN=28;
-static const char CLS=29;
-
-//--- auxliary functions -------------------------------------------
-
-static const char* char2code(unsigned char ch, char buf[8]) {
- unsigned char i=0;
- buf[i++]='&';
- buf[i++]='#';
- if(ch>99) buf[i++]=ch/100+48;
- if(ch>9) buf[i++]=(ch%100)/10+48;
- buf[i++]=ch%10+48;
- buf[i++]=';';
- buf[i]=0;
- return buf;
-}
-
-static size_t find(const char* s, const char* pattern, size_t start) {
- const char* found =strstr(s+start, pattern);
- return found ? found-s : strlen(s);
-}
-
-//--- internal tokenizer -------------------------------------------
-
-typedef struct Tokenizer_s {
- /// stores string to be tokenized
- const char* s;
- /// stores size of string to be tokenized
- size_t s_size;
- /// stores current read position
- size_t i;
- /// stores current read context
- int tagMode;
- /// stores next token, if already determined
- const char* m_next;
- /// size of next token
- size_t m_next_size;
- /// pointer to current token
- char* m_token;
- /// size of current token
- size_t m_token_size;
- /// capacity of current token
- size_t m_token_capacity;
-} Tokenizer;
-
-Tokenizer* Tokenizer_new(const char* str, size_t str_size) {
- Tokenizer *tok = (Tokenizer*)malloc(sizeof(Tokenizer));
- memset(tok, 0, sizeof(Tokenizer));
- tok->s_size = str_size;
- tok->s = str;
- return tok;
-}
-
-void Tokenizer_delete(Tokenizer* tok) {
- free(tok->m_token);
- free(tok);
-}
-
-//void Tokenizer_print(Tokenizer* tok) { printf(" @%u %s\n", tok->i, !tok->m_token ? "(null)" : (tok->m_token[0]==ESC)?"(esc)" : (tok->m_token[0]==OPN)?"(open)": (tok->m_token[0]==CLS)?"(close)" : tok->m_token); fflush(stdout); }
-
-static const char* Tokenizer_set(Tokenizer* tok, const char* s, size_t size) {
- if(!size||!s) return 0;
- free(tok->m_token);
- tok->m_token = (char*)malloc(size+1);
- strncpy(tok->m_token,s, size);
- tok->m_token[size] = 0;
- tok->m_token_size = tok->m_token_capacity = size;
- //Tokenizer_print(tok);
- return tok->m_token;
-}
-
-static void Tokenizer_append(Tokenizer* tok, char ch) {
- if(tok->m_token_size+1>=tok->m_token_capacity) {
- tok->m_token_capacity = (tok->m_token_capacity==0) ? 16 : tok->m_token_capacity*2;
- tok->m_token = (char*)realloc(tok->m_token, tok->m_token_capacity);
- }
- tok->m_token[tok->m_token_size]=ch;
- tok->m_token[++tok->m_token_size]=0;
-}
-
-const char* Tokenizer_next(Tokenizer* tok) {
- const char* ESC_str = "\033";
- const char* OPEN_str = "\034";
- const char* CLOSE_str = "\035";
- int quotMode=0;
- int tokenComplete = 0;
-
- if(tok->m_token) {
- free(tok->m_token);
- tok->m_token = 0;
- tok->m_token_size=tok->m_token_capacity = 0;
- }
-
- while(tok->m_next_size || (tok->i < tok->s_size)) {
-
- if(tok->m_next_size) {
- Tokenizer_set(tok, tok->m_next, tok->m_next_size);
- tok->m_next=0;
- tok->m_next_size=0;
- return tok->m_token;
- }
-
- switch(tok->s[tok->i]) {
- case '"':
- case '\'':
- if(tok->tagMode) {
- if(!quotMode) quotMode=tok->s[tok->i];
- else if(quotMode==tok->s[tok->i]) quotMode=0;
- }
- Tokenizer_append(tok, tok->s[tok->i]);
- break;
- case '<':
- if(!quotMode&&(tok->i+4<tok->s_size)&&(strncmp(tok->s+tok->i,"<!--",4)==0)) // strip comments
- tok->i=find(tok->s, "-->", tok->i+4)+2;
- else if(!quotMode&&(tok->i+9<tok->s_size)&&(strncmp(tok->s+tok->i,"<![CDATA[",9)==0)) { // interpet CDATA
- size_t b=tok->i+9;
- tok->i=find(tok->s, "]]>",b)+3;
- if(!tok->m_token_size) return Tokenizer_set(tok, tok->s+b, tok->i-b-3);
- tokenComplete = 1;
- tok->m_next = tok->s+b;
- tok->m_next_size = tok->i-b-3;
- --tok->i;
- }
- else if(!quotMode&&(tok->i+1<tok->s_size)&&((tok->s[tok->i+1]=='?')||(tok->s[tok->i+1]=='!'))) // strip meta information
- tok->i=find(tok->s, ">", tok->i+2);
- else if(!quotMode&&!tok->tagMode) {
- if((tok->i+1<tok->s_size)&&(tok->s[tok->i+1]=='/')) {
- tok->m_next=ESC_str;
- tok->m_next_size = 1;
- tok->i=find(tok->s, ">", tok->i+2);
- }
- else {
- tok->m_next = OPEN_str;
- tok->m_next_size = 1;
- tok->tagMode=1;
- }
- tokenComplete = 1;
- }
- else Tokenizer_append(tok, tok->s[tok->i]);
- break;
- case '/':
- if(tok->tagMode&&!quotMode) {
- tokenComplete = 1;
- if((tok->i+1 < tok->s_size) && (tok->s[tok->i+1]=='>')) {
- tok->tagMode=0;
- tok->m_next=ESC_str;
- tok->m_next_size = 1;
- ++tok->i;
- }
- else Tokenizer_append(tok, tok->s[tok->i]);
- }
- else Tokenizer_append(tok, tok->s[tok->i]);
- break;
- case '>':
- if(!quotMode&&tok->tagMode) {
- tok->tagMode=0;
- tokenComplete = 1;
- tok->m_next = CLOSE_str;
- tok->m_next_size = 1;
- }
- else Tokenizer_append(tok, tok->s[tok->i]);
- break;
- case ' ':
- case '\r':
- case '\n':
- case '\t':
- if(tok->tagMode&&!quotMode) {
- if(tok->m_token_size) tokenComplete=1;
- }
- else if(tok->m_token_size) Tokenizer_append(tok, tok->s[tok->i]);
- break;
- default: Tokenizer_append(tok, tok->s[tok->i]);
- }
- ++tok->i;
- if((tok->i>=tok->s_size)||(tokenComplete&&tok->m_token_size)) {
- tokenComplete=0;
- while(tok->m_token_size&&isspace(tok->m_token[tok->m_token_size-1])) // trim whitespace
- tok->m_token[--tok->m_token_size]=0;
- if(tok->m_token_size) break;
- }
- }
- //Tokenizer_print(tok);
- return tok->m_token;
-}
-
-//--- local variables ----------------------------------------------
-
-/// stores number of special character codes
-static size_t sv_code_size=0;
-/// stores currently allocated capacity for special character codes
-static size_t sv_code_capacity=16;
-/// stores code table for special characters
-static char** sv_code=0;
-
-//--- public methods -----------------------------------------------
-
-static void Xml_pushDecode(lua_State* L, const char* s, size_t s_size) {
-
- luaL_Buffer b;
- const char* found = strstr(s, "&#");
- size_t start=0, pos, i;
-
- if(!s_size)
- s_size=strlen(s);
-
- luaL_buffinit(L, &b);
- found = strstr(s, "&#");
- pos = found ? found-s : s_size;
-
- while(found) {
- char ch = 0;
- size_t i=0;
- for(found += 2; i<3; ++i, ++found)
- if(isdigit(*found))
- ch = ch * 10 + (*found - 48);
- else break;
- if(*found == ';') {
- if(pos>start)
- luaL_addlstring(&b, s+start, pos-start);
- luaL_addchar(&b, ch);
- start = pos + 3 + i;
- }
- found = strstr(found+1, "&#");
- pos = found ? found-s : s_size;
- }
- if(pos>start)
- luaL_addlstring(&b,s+start, pos-start);
- luaL_pushresult(&b);
-
- for(i=sv_code_size-1; i<sv_code_size; i-=2) {
- luaL_gsub(L, lua_tostring(L,-1), sv_code[i], sv_code[i-1]);
- lua_remove(L,-2);
- }
-}
-
-int Xml_eval(lua_State *L) {
- char* str = 0;
- size_t str_size=0;
- Tokenizer* tok;
- const char* token=0;
- int firstStatement = 1;
-
- if(lua_isuserdata(L,1))
- str = (char*)lua_touserdata(L,1);
- else {
- const char * sTmp = luaL_checklstring(L,1,&str_size);
- str = (char*)malloc(str_size+1);
- memcpy(str, sTmp, str_size);
- str[str_size]=0;
- }
- tok = Tokenizer_new(str, str_size ? str_size : strlen(str));
- lua_settop(L,0);
-
- while((token=Tokenizer_next(tok))!=0) if(token[0]==OPN) { // new tag found
- if(lua_gettop(L)) {
- size_t newIndex=lua_rawlen(L,-1)+1;
- lua_pushnumber(L, (lua_Number)newIndex);
- lua_newtable(L);
- lua_settable(L, -3);
- lua_pushnumber(L, (lua_Number)newIndex);
- lua_gettable(L,-2);
- }
- else {
- if (firstStatement) {
- lua_newtable(L);
- firstStatement = 0;
- }
- else return lua_gettop(L);
- }
- // set metatable:
- lua_newtable(L);
- lua_pushliteral(L, "__index");
- lua_getglobal(L, "xml");
- lua_settable(L, -3);
-
- lua_pushliteral(L, "__tostring"); // set __tostring metamethod
- lua_getglobal(L, "xml");
- lua_pushliteral(L,"str");
- lua_gettable(L, -2);
- lua_remove(L, -2);
- lua_settable(L, -3);
- lua_setmetatable(L, -2);
-
- // parse tag and content:
- lua_pushnumber(L,0); // use index 0 for storing the tag
- lua_pushstring(L, Tokenizer_next(tok));
- lua_settable(L, -3);
-
- while(((token = Tokenizer_next(tok))!=0)&&(token[0]!=CLS)&&(token[0]!=ESC)) { // parse tag header
- size_t sepPos=find(token, "=", 0);
- if(token[sepPos]) { // regular attribute
- const char* aVal =token+sepPos+2;
- size_t lenVal;
-
- lua_pushlstring(L, token, sepPos);
- lenVal = strlen(aVal)-1;
- if(!lenVal) Xml_pushDecode(L, "", 0);
- else Xml_pushDecode(L, aVal, lenVal);
- lua_settable(L, -3);
- }
- }
- if(!token||(token[0]==ESC)) {
- if(lua_gettop(L)>1) lua_settop(L,-2); // this tag has no content, only attributes
- else break;
- }
- }
- else if(token[0]==ESC) { // previous tag is over
- if(lua_gettop(L)>1) lua_settop(L,-2); // pop current table
- else break;
- }
- else { // read elements
- lua_pushnumber(L,(lua_Number)lua_rawlen(L,-1)+1);
- Xml_pushDecode(L, token, 0);
- lua_settable(L, -3);
- }
- Tokenizer_delete(tok);
- free(str);
- return lua_gettop(L);
-}
-
-int Xml_load (lua_State *L) {
- const char * filename = luaL_checkstring(L,1);
- FILE * file=fopen(filename,"r");
- char* buffer;
- size_t sz;
-
- if(!file)
- return luaL_error(L,"LuaXml ERROR: \"%s\" file error or file not found!",filename);
-
- fseek (file , 0 , SEEK_END);
- sz = ftell (file);
- rewind (file);
- buffer = (char*)malloc(sz+1);
- sz = fread (buffer,1,sz,file);
- fclose(file);
- buffer[sz]=0;
- lua_pushlightuserdata(L,buffer);
- lua_replace(L,1);
- return Xml_eval(L);
-};
-
-int Xml_registerCode(lua_State *L) {
- const char * decoded = luaL_checkstring(L,1);
- const char * encoded = luaL_checkstring(L,2);
-
- size_t i;
- for(i=0; i<sv_code_size; i+=2)
- if(strcmp(sv_code[i],decoded)==0)
- return luaL_error(L,"LuaXml ERROR: code already exists.");
- if(sv_code_size+2>sv_code_capacity) {
- sv_code_capacity*=2;
- sv_code = (char**)realloc(sv_code, sv_code_capacity*sizeof(char*));
- }
- sv_code[sv_code_size]=(char*)malloc(strlen(decoded)+1);
- strcpy(sv_code[sv_code_size++], decoded);
- sv_code[sv_code_size]=(char*)malloc(strlen(encoded)+1);
- strcpy(sv_code[sv_code_size++],encoded);
- return 0;
-}
-
-int Xml_encode(lua_State *L) {
-
- char buf[8];
- size_t start, pos;
- luaL_Buffer b;
- const char* s;
- size_t i;
-
- if(lua_gettop(L)!=1)
- return 0;
- luaL_checkstring(L,-1);
-
- for(i=0; i<sv_code_size; i+=2) {
- luaL_gsub(L, lua_tostring(L,-1), sv_code[i], sv_code[i+1]);
- lua_remove(L,-2);
- }
- s=lua_tostring(L,1);
- luaL_buffinit(L, &b);
- for(start=pos=0; s[pos]!=0; ++pos) if(s[pos]<0) {
- if(pos>start) luaL_addlstring(&b,s+start, pos-start);
- luaL_addstring(&b,char2code((unsigned char)(s[pos]),buf));
- start=pos+1;
- }
- if(pos>start)
- luaL_addlstring(&b,s+start, pos-start);
- luaL_pushresult(&b);
- lua_remove(L,-2);
- return 1;
-}
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-int _EXPORT luaopen_LuaXML_lib (lua_State* L) {
- static const struct luaL_Reg funcs[] = {
- {"load", Xml_load},
- {"eval", Xml_eval},
- {"encode", Xml_encode},
- {"registerCode", Xml_registerCode},
- {NULL, NULL}
- };
-
- luaL_newlibtable(L, funcs);
- luaL_setfuncs(L, funcs, 0);
- lua_setglobal(L, "xml");
-
- // register default codes:
- if(!sv_code) {
- sv_code=(char**)malloc(sv_code_capacity*sizeof(char*));
- sv_code[sv_code_size++]="&";
- sv_code[sv_code_size++]="&";
- sv_code[sv_code_size++]="<";
- sv_code[sv_code_size++]="<";
- sv_code[sv_code_size++]=">";
- sv_code[sv_code_size++]=">";
- sv_code[sv_code_size++]="\"";
- sv_code[sv_code_size++]=""";
- sv_code[sv_code_size++]="'";
- sv_code[sv_code_size++]="'";
- }
- return 1;
-}
-#ifdef __cplusplus
-} // extern "C"
-#endif
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/ede68a10/thirdparty/civetweb-1.10/src/third_party/civetweb_lua.h
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/src/third_party/civetweb_lua.h b/thirdparty/civetweb-1.10/src/third_party/civetweb_lua.h
deleted file mode 100644
index 5ffefbe..0000000
--- a/thirdparty/civetweb-1.10/src/third_party/civetweb_lua.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/* Copyright (c) 2015-2017 the Civetweb developers
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-/* This header is intended to support Lua 5.1, Lua 5.2 and Lua 5.3 in the same
- * C source code.
- */
-
-#ifndef CIVETWEB_LUA_H
-#define CIVETWEB_LUA_H
-
-#define LUA_LIB
-#include "lua.h"
-#include "lauxlib.h"
-#include "lualib.h"
-
-#ifndef LUA_VERSION_NUM
-#error "Unknown Lua version"
-
-#elif LUA_VERSION_NUM == 501
-/* Lua 5.1 detected */
-#define LUA_OK 0
-#define LUA_ERRGCMM 999 /* not supported */
-#define mg_lua_load(a, b, c, d, e) lua_load(a, b, c, d)
-#define lua_rawlen lua_objlen
-#define lua_newstate(a, b) \
- luaL_newstate() /* Must use luaL_newstate() for 64 bit target */
-#define lua_pushinteger lua_pushnumber
-#define luaL_newlib(L, t) \
- { \
- luaL_Reg const *r = t; \
- while (r->name) { \
- lua_register(L, r->name, r->func); \
- r++; \
- } \
- }
-#define luaL_setfuncs(L, r, u) lua_register(L, r->name, r->func)
-
-#elif LUA_VERSION_NUM == 502
-/* Lua 5.2 detected */
-#define mg_lua_load lua_load
-
-#elif LUA_VERSION_NUM == 503
-/* Lua 5.3 detected */
-#define mg_lua_load lua_load
-
-#endif
-
-#ifdef LUA_VERSION_MAKEFILE
-#if LUA_VERSION_MAKEFILE != LUA_VERSION_NUM
-#error \
- "Mismatch between Lua version specified in Makefile and Lua version in lua.h"
-#endif
-#endif
-
-#endif /* #ifndef CIVETWEB_LUA_H */
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/ede68a10/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/AUTHORS.rst
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/AUTHORS.rst b/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/AUTHORS.rst
deleted file mode 100644
index 2799f70..0000000
--- a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/AUTHORS.rst
+++ /dev/null
@@ -1,72 +0,0 @@
-===============
-Duktape authors
-===============
-
-Copyright
-=========
-
-Duktape copyrights are held by its authors. Each author has a copyright
-to their contribution, and agrees to irrevocably license the contribution
-under the Duktape ``LICENSE.txt``.
-
-Authors
-=======
-
-Please include an e-mail address, a link to your GitHub profile, or something
-similar to allow your contribution to be identified accurately.
-
-The following people have contributed code, website contents, or Wiki contents,
-and agreed to irrevocably license their contributions under the Duktape
-``LICENSE.txt`` (in order of appearance):
-
-* Sami Vaarala <sami.vaarala@iki.fi>
-* Niki Dobrev
-* Andreas Öman <andreas@lonelycoder.com>
-* László Langó <llango.u-szeged@partner.samsung.com>
-* Legimet <legimet.calc@gmail.com>
-* Karl Skomski <karl@skomski.com>
-* Bruce Pascoe <fatcerberus1@gmail.com>
-* René Hollander <rene@rene8888.at>
-* Julien Hamaide (https://github.com/crazyjul)
-* Sebastian Götte (https://github.com/jaseg)
-
-Other contributions
-===================
-
-The following people have contributed something other than code (e.g. reported
-bugs, provided ideas, etc; roughly in order of appearance):
-
-* Greg Burns
-* Anthony Rabine
-* Carlos Costa
-* Aurélien Bouilland
-* Preet Desai (Pris Matic)
-* judofyr (http://www.reddit.com/user/judofyr)
-* Jason Woofenden
-* Michał Przybyś
-* Anthony Howe
-* Conrad Pankoff
-* Jim Schimpf
-* Rajaran Gaunker (https://github.com/zimbabao)
-* Andreas Öman
-* Doug Sanden
-* Josh Engebretson (https://github.com/JoshEngebretson)
-* Remo Eichenberger (https://github.com/remoe)
-* Mamod Mehyar (https://github.com/mamod)
-* David Demelier (https://github.com/markand)
-* Tim Caswell (https://github.com/creationix)
-* Mitchell Blank Jr (https://github.com/mitchblank)
-* https://github.com/yushli
-* Seo Sanghyeon (https://github.com/sanxiyn)
-* Han ChoongWoo (https://github.com/tunz)
-* Joshua Peek (https://github.com/josh)
-* Bruce E. Pascoe (https://github.com/fatcerberus)
-* https://github.com/Kelledin
-* https://github.com/sstruchtrup
-* Michael Drake (https://github.com/tlsa)
-* https://github.com/chris-y
-* Laurent Zubiaur (https://github.com/lzubiaur)
-* Ole André Vadla Ravnås (https://github.com/oleavr)
-
-If you are accidentally missing from this list, send me an e-mail
-(``sami.vaarala@iki.fi``) and I'll fix the omission.
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/ede68a10/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/LICENSE.txt
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/LICENSE.txt b/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/LICENSE.txt
deleted file mode 100644
index 1b1c382..0000000
--- a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/LICENSE.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-===============
-Duktape license
-===============
-
-(http://opensource.org/licenses/MIT)
-
-Copyright (c) 2013-2016 by Duktape authors (see AUTHORS.rst)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/ede68a10/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.cmdline
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.cmdline b/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.cmdline
deleted file mode 100644
index 68a25d4..0000000
--- a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.cmdline
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# Example Makefile for building a program with embedded Duktape.
-# The example program here is the Duktape command line tool.
-#
-
-DUKTAPE_SOURCES = src/duktape.c
-
-DUKTAPE_CMDLINE_SOURCES = \
- examples/cmdline/duk_cmdline.c
-
-CC = gcc
-CCOPTS = -Os -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer
-CCOPTS += -I./src # duktape.h and duk_config.h must be in include path
-CCLIBS = -lm
-
-# If you want linenoise, you can enable these. At the moment linenoise
-# will cause some harmless compilation warnings.
-#CCOPTS += -DDUK_CMDLINE_FANCY
-#DUKTAPE_CMDLINE_SOURCES += linenoise/linenoise.c
-#CCOPTS += -I./linenoise
-#duk: linenoise
-
-# Optional feature defines, see: http://duktape.org/guide.html#compiling
-CCOPTS += -DDUK_OPT_SELF_TESTS
-#CCOPTS += -DDUK_OPT_DEBUG
-#CCOPTS += -DDUK_OPT_DPRINT
-# ...
-
-duk: $(DUKTAPE_SOURCES) $(DUKTAPE_CMDLINE_SOURCES)
- $(CC) -o $@ $(DEFINES) $(CCOPTS) $(DUKTAPE_SOURCES) $(DUKTAPE_CMDLINE_SOURCES) $(CCLIBS)
-
-linenoise/linenoise.c: linenoise
-linenoise:
- git clone https://github.com/antirez/linenoise.git
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/ede68a10/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.codepage
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.codepage b/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.codepage
deleted file mode 100644
index cdce9ab..0000000
--- a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.codepage
+++ /dev/null
@@ -1,4 +0,0 @@
-codepage:
- gcc -o $@ -std=c99 -O2 -Wall -Wextra -Isrc/ \
- src/duktape.c examples/codepage-conv/duk_codepage_conv.c \
- examples/codepage-conv/test.c -lm
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/ede68a10/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.coffee
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.coffee b/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.coffee
deleted file mode 100644
index b99eea2..0000000
--- a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.coffee
+++ /dev/null
@@ -1,4 +0,0 @@
-dummy:
- coffee -c examples/coffee/globals.coffee
- coffee -c examples/coffee/hello.coffee
- coffee -c examples/coffee/mandel.coffee
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/ede68a10/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.dukdebug
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.dukdebug b/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.dukdebug
deleted file mode 100644
index dbbe6c8..0000000
--- a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.dukdebug
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Duktape command line tool with debugger support.
-#
-
-DUKTAPE_SOURCES = src/duktape.c
-
-# Windows (MinGW): use examples/debug-trans-socket/duk_trans_socket_windows.c
-# and link with -lws2_32.
-DUKTAPE_CMDLINE_SOURCES = \
- examples/cmdline/duk_cmdline.c \
- examples/debug-trans-socket/duk_trans_socket_unix.c
-
-CC = gcc
-CCOPTS = -Os -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer
-CCOPTS += -I./src -I./examples/debug-trans-socket
-CCOPTS += -DDUK_CMDLINE_DEBUGGER_SUPPORT # enable --debugger in ./duk
-CCOPTS += -DDUK_OPT_DEBUGGER_SUPPORT # enable debugger support in Duktape
-CCOPTS += -DDUK_OPT_INTERRUPT_COUNTER # prerequisite for debugging
-CCOPTS += -DDUK_OPT_DEBUGGER_FWD_PRINTALERT # optional debugger features
-CCOPTS += -DDUK_OPT_DEBUGGER_FWD_LOGGING
-CCOPTS += -DDUK_OPT_DEBUGGER_DUMPHEAP
-CCOPTS += -DDUK_OPT_DEBUGGER_INSPECT
-CCLIBS = -lm
-
-duk: $(DUKTAPE_SOURCES) $(DUKTAPE_CMDLINE_SOURCES)
- $(CC) -o $@ $(DEFINES) $(CCOPTS) $(DUKTAPE_SOURCES) $(DUKTAPE_CMDLINE_SOURCES) $(CCLIBS)
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/ede68a10/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.eval
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.eval b/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.eval
deleted file mode 100644
index 73c5225..0000000
--- a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.eval
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-# Example Makefile for building the eval example
-#
-
-eval:
- gcc -o $@ -std=c99 -O2 -Wall -Wextra -Isrc/ \
- src/duktape.c examples/eval/eval.c -lm
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/ede68a10/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.eventloop
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.eventloop b/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.eventloop
deleted file mode 100644
index 14806ac..0000000
--- a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.eventloop
+++ /dev/null
@@ -1,22 +0,0 @@
-#
-# Example Makefile for building the eventloop example
-#
-
-evloop:
- @echo "NOTE: The eventloop is example is intended to be used on Linux"
- @echo " or other common UNIX variants. It is not fully portable."
- @echo ""
-
- gcc -o $@ -std=c99 -Wall -Wextra -O2 -Isrc \
- examples/eventloop/main.c \
- examples/eventloop/c_eventloop.c \
- examples/eventloop/poll.c \
- examples/eventloop/socket.c \
- examples/eventloop/fileio.c \
- examples/eventloop/ncurses.c \
- src/duktape.c \
- -lm -lncurses
-
- @echo ""
- @echo "NOTE: You must 'cd examples/eventloop' before you execute the"
- @echo " eventloop binary: it relies on finding .js files in CWD"
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/ede68a10/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.hello
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.hello b/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.hello
deleted file mode 100644
index 82e9ab6..0000000
--- a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.hello
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# Example Makefile for building a program with embedded Duktape.
-#
-# There are two source sets in the distribution: (1) combined sources where
-# you only need duktape.c, duktape.h, and duk_config.h, and (2) separate
-# sources where you have a bunch of source and header files. Whichever
-# you use, simply include the relevant sources into your C project. This
-# Makefile uses the combined source file.
-#
-
-DUKTAPE_SOURCES = src/duktape.c
-
-# Compiler options are quite flexible. GCC versions have a significant impact
-# on the size of -Os code, e.g. gcc-4.6 is much worse than gcc-4.5.
-
-CC = gcc
-CCOPTS = -Os -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer
-CCOPTS += -I./src # for combined sources
-CCLIBS = -lm
-DEFINES =
-
-# If you want a 32-bit build on a 64-bit host
-#CCOPTS += -m32
-
-# Optional feature defines, see: http://duktape.org/guide.html#compiling
-DEFINES += -DDUK_OPT_SELF_TESTS
-#DEFINES += -DDUK_OPT_DEBUG
-#DEFINES += -DDUK_OPT_DPRINT
-#DEFINES += -DDUK_OPT_NO_TRACEBACKS
-# ...
-
-# For debugging, use -O0 -g -ggdb, and don't add -fomit-frame-pointer
-
-hello: $(DUKTAPE_SOURCES) examples/hello/hello.c
- $(CC) -o $@ $(DEFINES) $(CCOPTS) $(DUKTAPE_SOURCES) examples/hello/hello.c $(CCLIBS)
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/ede68a10/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.jxpretty
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.jxpretty b/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.jxpretty
deleted file mode 100644
index 199247e..0000000
--- a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.jxpretty
+++ /dev/null
@@ -1,8 +0,0 @@
-#
-# Example Makefile for building the jxpretty example
-#
-
-jxpretty:
- gcc -o $@ -std=c99 -Wall -Wextra -O2 -Isrc \
- src/duktape.c examples/jxpretty/jxpretty.c \
- -lm
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/ede68a10/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.sandbox
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.sandbox b/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.sandbox
deleted file mode 100644
index acd922a..0000000
--- a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.sandbox
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-# Example Makefile for building the sandbox example
-#
-
-sandbox:
- gcc -o $@ -std=c99 -O2 -Wall -Wextra -Isrc/ \
- src/duktape.c examples/sandbox/sandbox.c -lm
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/ede68a10/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.sharedlibrary
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.sharedlibrary b/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.sharedlibrary
deleted file mode 100644
index 32138ce..0000000
--- a/thirdparty/civetweb-1.10/src/third_party/duktape-1.5.2/Makefile.sharedlibrary
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Example of how to build and install locally as a shared library
-#
-# Usage:
-#
-# $ make -f Makefile.sharedlibrary
-# $ sudo make -f Makefile.sharedlibrary install
-# $ make -f Makefile.sharedlibrary duk # --> example 'duk' linked to shared libduktape
-#
-# $ ls -l duk
-# -rwxrwxr-x 1 duktape duktape 19407 Nov 30 15:48 duk
-#
-# $ ldd ./duk
-# linux-vdso.so.1 => (0x00007ffd5ed3c000)
-# libduktape.so.104 => /usr/local/lib/libduktape.so.104 (0x00007fb2f9753000)
-# libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb2f944d000)
-# libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb2f9088000)
-# /lib64/ld-linux-x86-64.so.2 (0x00007fb2f9991000)
-#
-# Based on: http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
-
-# Soname version must be bumped whenever a binary compatibility change occurs
-# (and should not be bumped when the library is compatible). A simple Duktape
-# convention is to set soname version to (100*MAJOR + MINOR), e.g. 104 for
-# Duktape 1.4.x, so that it gets automatically bumped for major and minor
-# releases (potentially binary incompatible), but not for patch releases.
-DUK_VERSION=10502
-SONAME_VERSION=105
-REAL_VERSION=$(SONAME_VERSION).$(DUK_VERSION)
-
-# Change to actual path for actual distribution packaging.
-INSTALL_PREFIX=/usr/local
-
-# The 'noline' variant may be more appropriate for some distributions; it
-# doesn't have #line directives in the combined source.
-DUKTAPE_SRCDIR=./src
-#DUKTAPE_SRCDIR=./src-noline
-
-.PHONY: all
-all: libduktape.so.$(REAL_VERSION) libduktaped.so.$(REAL_VERSION)
-
-# If the default duk_config.h is not suitable for the distribution, modify it
-# before compiling the shared library and copy the same, edited duk_config.h
-# to $INSTALL_PREFIX/include on installation.
-
-libduktape.so.$(REAL_VERSION):
- gcc -shared -fPIC -Wall -Wextra -Os -Wl,-soname,libduktape.so.$(SONAME_VERSION) \
- -o $@ $(DUKTAPE_SRCDIR)/duktape.c
-
-libduktaped.so.$(REAL_VERSION):
- gcc -shared -fPIC -g -Wall -Wextra -Os -Wl,-soname,libduktaped.so.$(SONAME_VERSION) \
- -o $@ $(DUKTAPE_SRCDIR)/duktape.c
-
-# Symlinks depend on platform conventions.
-.PHONY: install
-install: libduktape.so.$(REAL_VERSION) libduktaped.so.$(REAL_VERSION)
- cp $+ $(INSTALL_PREFIX)/lib/
- rm -f $(INSTALL_PREFIX)/lib/libduktape.so $(INSTALL_PREFIX)/lib/libduktape.so.$(SONAME_VERSION)
- ln -s libduktape.so.$(REAL_VERSION) $(INSTALL_PREFIX)/lib/libduktape.so
- ln -s libduktape.so.$(REAL_VERSION) $(INSTALL_PREFIX)/lib/libduktape.so.$(SONAME_VERSION)
- rm -f $(INSTALL_PREFIX)/lib/libduktaped.so $(INSTALL_PREFIX)/lib/libduktaped.so.$(SONAME_VERSION)
- ln -s libduktaped.so.$(REAL_VERSION) $(INSTALL_PREFIX)/lib/libduktaped.so
- ln -s libduktaped.so.$(REAL_VERSION) $(INSTALL_PREFIX)/lib/libduktaped.so.$(SONAME_VERSION)
- cp $(DUKTAPE_SRCDIR)/duktape.h $(DUKTAPE_SRCDIR)/duk_config.h $(INSTALL_PREFIX)/include/
-
-# Note: assumes /usr/local/include/ and /usr/local/lib/ are in include/link
-# path which may not be the case for all distributions.
-#CCOPTS=-I/usr/local/include -L/usr/local/lib
-CCOPTS=
-duk:
- gcc $(CCOPTS) -Wall -Wextra -Os -o $@ ./examples/cmdline/duk_cmdline.c -lduktape -lm
|