|
ELinks 0.19.1
|
#include <stdlib.h>#include <stdio.h>#include <unistd.h>#include "elinks.h"#include "js/libdom/dom.h"#include "config/home.h"#include "config/options.h"#include "dialogs/status.h"#include "document/document.h"#include "document/libdom/doc.h"#include "document/libdom/mapa.h"#include "document/libdom/renderer.h"#include "document/libdom/renderer2.h"#include "document/renderer.h"#include "document/view.h"#include "js/ecmascript.h"#include "js/ecmascript-c.h"#include "js/libdom/parse.h"#include "js/spidermonkey.h"#include "js/timer.h"#include "intl/libintl.h"#include "main/module.h"#include "main/main.h"#include "main/select.h"#include "main/timer.h"#include "osdep/osdep.h"#include "protocol/protocol.h"#include "protocol/uri.h"#include "session/session.h"#include "session/task.h"#include "terminal/terminal.h"#include "terminal/window.h"#include "util/conv.h"#include "util/memcount.h"#include "util/string.h"#include "viewer/text/draw.h"#include "viewer/text/view.h"#include "viewer/text/form.h"#include "viewer/text/vs.h"
Functions | |
| static void | ecmascript_request (void *val) |
| static int | is_prefix (char *prefix, char *url, int dl) |
| static void | read_url_list (void) |
| int | is_ecmascript_enabled_for_interpreter (struct ecmascript_interpreter *interpreter) |
| int | is_ecmascript_enabled_for_uri (struct uri *uri) |
| struct ecmascript_interpreter * | ecmascript_get_interpreter (struct view_state *vs) |
| static void | delayed_reload (void *data) |
| static void | run_jobs (void *data) |
| void | check_for_rerender (struct ecmascript_interpreter *interpreter, const char *text) |
| void | ecmascript_eval (struct ecmascript_interpreter *interpreter, struct string *code, struct string *ret, int element_offset) |
| static void | ecmascript_call_function (struct ecmascript_interpreter *interpreter, JS::HandleValue fun, struct string *ret) |
| static void | ecmascript_call_function_timestamp (struct ecmascript_interpreter *interpreter, JS::HandleValue fun, struct string *ret) |
| char * | ecmascript_eval_stringback (struct ecmascript_interpreter *interpreter, struct string *code) |
| void | ecmascript_timeout_dialog (struct terminal *term, int max_exec_time) |
| void | ecmascript_set_action (char **action, char *string) |
| static void | ecmascript_timeout_handler (void *val) |
| struct ecmascript_timeout * | ecmascript_set_timeout (void *c, char *code, int timeout, int timeout_next) |
| int | ecmascript_found (struct ecmascript_interpreter *interpreter) |
| static void | init_ecmascript_module (struct module *module) |
| static void | done_ecmascript_module (struct module *module) |
| static void | delayed_goto (void *data) |
| void | location_goto_const (struct document_view *doc_view, const char *url, int reload) |
| void | location_goto (struct document_view *doc_view, char *url, int reload) |
Variables | |
| static union option_info | ecmascript_options [] |
| int | interpreter_count |
| static struct string_list_item list | allowed_urls = { D_LIST_HEAD_EL(allowed_urls) } |
| static struct string_list_item list | disallowed_urls = { D_LIST_HEAD_EL(disallowed_urls) } |
| static struct ecmascript_interpreter list | ecmascript_interpreters = { D_LIST_HEAD_EL(ecmascript_interpreters) } |
| char * | console_error_filename |
| char * | console_log_filename |
| char * | console_warn_filename |
| char * | local_storage_filename |
| int | local_storage_ready |
| int | ecmascript_enabled |
| static struct module * | ecmascript_modules [] |
| struct module | ecmascript_module |
| void check_for_rerender | ( | struct ecmascript_interpreter * | interpreter, |
| const char * | text ) |
|
static |
|
static |
|
static |
|
static |
|
static |
| void ecmascript_eval | ( | struct ecmascript_interpreter * | interpreter, |
| struct string * | code, | ||
| struct string * | ret, | ||
| int | element_offset ) |
| char * ecmascript_eval_stringback | ( | struct ecmascript_interpreter * | interpreter, |
| struct string * | code ) |
| int ecmascript_found | ( | struct ecmascript_interpreter * | interpreter | ) |
| struct ecmascript_interpreter * ecmascript_get_interpreter | ( | struct view_state * | vs | ) |
|
static |
| void ecmascript_set_action | ( | char ** | action, |
| char * | string ) |
| struct ecmascript_timeout * ecmascript_set_timeout | ( | void * | c, |
| char * | code, | ||
| int | timeout, | ||
| int | timeout_next ) |
| void ecmascript_timeout_dialog | ( | struct terminal * | term, |
| int | max_exec_time ) |
|
static |
|
static |
| int is_ecmascript_enabled_for_interpreter | ( | struct ecmascript_interpreter * | interpreter | ) |
| int is_ecmascript_enabled_for_uri | ( | struct uri * | uri | ) |
|
static |
| void location_goto | ( | struct document_view * | doc_view, |
| char * | url, | ||
| int | reload ) |
| void location_goto_const | ( | struct document_view * | doc_view, |
| const char * | url, | ||
| int | reload ) |
|
static |
|
static |
|
static |
| char* console_error_filename |
| char* console_log_filename |
| char* console_warn_filename |
|
static |
| int ecmascript_enabled |
|
static |
| struct module ecmascript_module |
|
static |
| int interpreter_count |
| char* local_storage_filename |
| int local_storage_ready |