|
ELinks 0.19.1
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "elinks.h"#include "bfu/dialog.h"#include "cache/cache.h"#include "config/options.h"#include "cookies/cookies.h"#include "dialogs/menu.h"#include "dialogs/status.h"#include "document/html/frames.h"#include "document/libdom/mapa.h"#include "document/libdom/renderer.h"#include "document/libdom/renderer2.h"#include "document/document.h"#include "document/forms.h"#include "document/renderer.h"#include "document/view.h"#include "js/ecmascript.h"#include "js/mujs.h"#include "js/mujs/console.h"#include "js/mujs/customevent.h"#include "js/mujs/document.h"#include "js/mujs/domparser.h"#include "js/mujs/element.h"#include "js/mujs/event.h"#include "js/mujs/fragment.h"#include "js/mujs/history.h"#include "js/mujs/image.h"#include "js/mujs/keyboard.h"#include "js/mujs/localstorage.h"#include "js/mujs/location.h"#include "js/mujs/mapa.h"#include "js/mujs/message.h"#include "js/mujs/navigator.h"#include "js/mujs/node.h"#include "js/mujs/screen.h"#include "js/mujs/unibar.h"#include "js/mujs/url.h"#include "js/mujs/window.h"#include "js/mujs/xhr.h"#include "intl/libintl.h"#include "main/select.h"#include "osdep/newwin.h"#include "osdep/sysname.h"#include "protocol/http/http.h"#include "protocol/uri.h"#include "session/history.h"#include "session/location.h"#include "session/session.h"#include "session/task.h"#include "terminal/tab.h"#include "terminal/terminal.h"#include "util/conv.h"#include "util/memcount.h"#include "util/string.h"#include "viewer/text/draw.h"#include "viewer/text/form.h"#include "viewer/text/link.h"#include "viewer/text/view.h"#include "viewer/text/vs.h"Functions | |
| static const char * | get_name_mujs (struct module *xxx) |
| static void | mujs_init (struct module *module) |
| static void | mujs_done (struct module *xxx) |
| void * | mujs_get_interpreter (struct ecmascript_interpreter *interpreter) |
| void | mujs_put_interpreter (struct ecmascript_interpreter *interpreter) |
| void | mujs_eval (struct ecmascript_interpreter *interpreter, struct string *code, struct string *ret) |
| void | mujs_call_function (struct ecmascript_interpreter *interpreter, const char *fun, struct string *ret) |
| void | mujs_call_function_timestamp (struct ecmascript_interpreter *interpreter, const char *fun, struct string *ret) |
| char * | mujs_eval_stringback (struct ecmascript_interpreter *interpreter, struct string *code) |
| int | mujs_eval_boolback (struct ecmascript_interpreter *interpreter, struct string *code) |
| void | addmethod (js_State *J, const char *name, js_CFunction fun, int n) |
| void | addproperty (js_State *J, const char *name, js_CFunction getfun, js_CFunction setfun) |
Variables | |
| struct module | mujs_module |
| void addmethod | ( | js_State * | J, |
| const char * | name, | ||
| js_CFunction | fun, | ||
| int | n ) |
| void addproperty | ( | js_State * | J, |
| const char * | name, | ||
| js_CFunction | getfun, | ||
| js_CFunction | setfun ) |
|
static |
| void mujs_call_function | ( | struct ecmascript_interpreter * | interpreter, |
| const char * | fun, | ||
| struct string * | ret ) |
| void mujs_call_function_timestamp | ( | struct ecmascript_interpreter * | interpreter, |
| const char * | fun, | ||
| struct string * | ret ) |
|
static |
| void mujs_eval | ( | struct ecmascript_interpreter * | interpreter, |
| struct string * | code, | ||
| struct string * | ret ) |
| int mujs_eval_boolback | ( | struct ecmascript_interpreter * | interpreter, |
| struct string * | code ) |
| char * mujs_eval_stringback | ( | struct ecmascript_interpreter * | interpreter, |
| struct string * | code ) |
| void * mujs_get_interpreter | ( | struct ecmascript_interpreter * | interpreter | ) |
|
static |
| void mujs_put_interpreter | ( | struct ecmascript_interpreter * | interpreter | ) |