ELinks 0.18.0
fragment.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "elinks.h"
#include "bfu/dialog.h"
#include "cache/cache.h"
#include "cookies/cookies.h"
#include "dialogs/menu.h"
#include "dialogs/status.h"
#include "document/html/frames.h"
#include "document/document.h"
#include "document/forms.h"
#include "document/libdom/corestrings.h"
#include "document/libdom/doc.h"
#include "document/libdom/mapa.h"
#include "document/libdom/renderer2.h"
#include "document/view.h"
#include "js/ecmascript.h"
#include "js/ecmascript-c.h"
#include "js/mujs/mapa.h"
#include "js/mujs.h"
#include "js/mujs/attr.h"
#include "js/mujs/attributes.h"
#include "js/mujs/collection.h"
#include "js/mujs/dataset.h"
#include "js/mujs/document.h"
#include "js/mujs/domrect.h"
#include "js/mujs/element.h"
#include "js/mujs/event.h"
#include "js/mujs/fragment.h"
#include "js/mujs/keyboard.h"
#include "js/mujs/node.h"
#include "js/mujs/nodelist.h"
#include "js/mujs/nodelist2.h"
#include "js/mujs/style.h"
#include "js/mujs/tokenlist.h"
#include "js/mujs/window.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/memory.h"
#include "util/string.h"
#include "viewer/text/draw.h"
#include "viewer/text/form.h"
#include "viewer/text/link.h"
#include "viewer/text/vs.h"

Data Structures

struct  fragment_listener
 
struct  mjs_fragment_private
 

Functions

static void fragment_event_handler (dom_event *event, void *pw)
 
static void mjs_fragment_dispatchEvent (js_State *J)
 
static void mjs_fragment_set_property_textContent (js_State *J)
 
void * mjs_getprivate_fragment (js_State *J, int idx)
 
static void mjs_fragment_get_property_children (js_State *J)
 
static void mjs_fragment_get_property_childElementCount (js_State *J)
 
static void mjs_fragment_get_property_childNodes (js_State *J)
 
static void mjs_fragment_get_property_firstChild (js_State *J)
 
static void mjs_fragment_get_property_firstElementChild (js_State *J)
 
static void mjs_fragment_get_property_lastChild (js_State *J)
 
static void mjs_fragment_get_property_lastElementChild (js_State *J)
 
static void mjs_fragment_get_property_nodeName (js_State *J)
 
static void mjs_fragment_get_property_nodeType (js_State *J)
 
static void mjs_fragment_get_property_nodeValue (js_State *J)
 
static void mjs_fragment_set_property_nodeValue (js_State *J)
 
static void mjs_fragment_get_property_nextSibling (js_State *J)
 
static void mjs_fragment_get_property_ownerDocument (js_State *J)
 
static void mjs_fragment_get_property_parentElement (js_State *J)
 
static void mjs_fragment_get_property_parentNode (js_State *J)
 
static void mjs_fragment_get_property_previousSibling (js_State *J)
 
static void mjs_fragment_get_property_textContent (js_State *J)
 
static void mjs_fragment_addEventListener (js_State *J)
 
static void mjs_fragment_removeEventListener (js_State *J)
 
static void mjs_fragment_appendChild (js_State *J)
 
static void mjs_fragment_cloneNode (js_State *J)
 
static void mjs_fragment_contains (js_State *J)
 
static void mjs_fragment_hasChildNodes (js_State *J)
 
static void mjs_fragment_insertBefore (js_State *J)
 
static void mjs_fragment_isEqualNode (js_State *J)
 
static void mjs_fragment_isSameNode (js_State *J)
 
static void mjs_fragment_querySelector (js_State *J)
 
static void mjs_fragment_querySelectorAll (js_State *J)
 
static void mjs_fragment_removeChild (js_State *J)
 
static void mjs_fragment_toString (js_State *J)
 
static void mjs_fragment_finalizer (js_State *J, void *priv)
 
void mjs_push_fragment (js_State *J, void *node)
 
static void mjs_DocumentFragment_fun (js_State *J)
 
static void mjs_DocumentFragment_constructor (js_State *J)
 
int mjs_fragment_init (js_State *J)
 

Function Documentation

◆ fragment_event_handler()

static void fragment_event_handler ( dom_event * event,
void * pw )
static

◆ mjs_DocumentFragment_constructor()

static void mjs_DocumentFragment_constructor ( js_State * J)
static

◆ mjs_DocumentFragment_fun()

static void mjs_DocumentFragment_fun ( js_State * J)
static

◆ mjs_fragment_addEventListener()

static void mjs_fragment_addEventListener ( js_State * J)
static

◆ mjs_fragment_appendChild()

static void mjs_fragment_appendChild ( js_State * J)
static

◆ mjs_fragment_cloneNode()

static void mjs_fragment_cloneNode ( js_State * J)
static

◆ mjs_fragment_contains()

static void mjs_fragment_contains ( js_State * J)
static

◆ mjs_fragment_dispatchEvent()

static void mjs_fragment_dispatchEvent ( js_State * J)
static

◆ mjs_fragment_finalizer()

static void mjs_fragment_finalizer ( js_State * J,
void * priv )
static

◆ mjs_fragment_get_property_childElementCount()

static void mjs_fragment_get_property_childElementCount ( js_State * J)
static

◆ mjs_fragment_get_property_childNodes()

static void mjs_fragment_get_property_childNodes ( js_State * J)
static

◆ mjs_fragment_get_property_children()

static void mjs_fragment_get_property_children ( js_State * J)
static

◆ mjs_fragment_get_property_firstChild()

static void mjs_fragment_get_property_firstChild ( js_State * J)
static

◆ mjs_fragment_get_property_firstElementChild()

static void mjs_fragment_get_property_firstElementChild ( js_State * J)
static

◆ mjs_fragment_get_property_lastChild()

static void mjs_fragment_get_property_lastChild ( js_State * J)
static

◆ mjs_fragment_get_property_lastElementChild()

static void mjs_fragment_get_property_lastElementChild ( js_State * J)
static

◆ mjs_fragment_get_property_nextSibling()

static void mjs_fragment_get_property_nextSibling ( js_State * J)
static

◆ mjs_fragment_get_property_nodeName()

static void mjs_fragment_get_property_nodeName ( js_State * J)
static

◆ mjs_fragment_get_property_nodeType()

static void mjs_fragment_get_property_nodeType ( js_State * J)
static

◆ mjs_fragment_get_property_nodeValue()

static void mjs_fragment_get_property_nodeValue ( js_State * J)
static

◆ mjs_fragment_get_property_ownerDocument()

static void mjs_fragment_get_property_ownerDocument ( js_State * J)
static

◆ mjs_fragment_get_property_parentElement()

static void mjs_fragment_get_property_parentElement ( js_State * J)
static

◆ mjs_fragment_get_property_parentNode()

static void mjs_fragment_get_property_parentNode ( js_State * J)
static

◆ mjs_fragment_get_property_previousSibling()

static void mjs_fragment_get_property_previousSibling ( js_State * J)
static

◆ mjs_fragment_get_property_textContent()

static void mjs_fragment_get_property_textContent ( js_State * J)
static

◆ mjs_fragment_hasChildNodes()

static void mjs_fragment_hasChildNodes ( js_State * J)
static

◆ mjs_fragment_init()

int mjs_fragment_init ( js_State * J)

◆ mjs_fragment_insertBefore()

static void mjs_fragment_insertBefore ( js_State * J)
static

◆ mjs_fragment_isEqualNode()

static void mjs_fragment_isEqualNode ( js_State * J)
static

◆ mjs_fragment_isSameNode()

static void mjs_fragment_isSameNode ( js_State * J)
static

◆ mjs_fragment_querySelector()

static void mjs_fragment_querySelector ( js_State * J)
static

◆ mjs_fragment_querySelectorAll()

static void mjs_fragment_querySelectorAll ( js_State * J)
static

◆ mjs_fragment_removeChild()

static void mjs_fragment_removeChild ( js_State * J)
static

◆ mjs_fragment_removeEventListener()

static void mjs_fragment_removeEventListener ( js_State * J)
static

◆ mjs_fragment_set_property_nodeValue()

static void mjs_fragment_set_property_nodeValue ( js_State * J)
static

◆ mjs_fragment_set_property_textContent()

static void mjs_fragment_set_property_textContent ( js_State * J)
static

◆ mjs_fragment_toString()

static void mjs_fragment_toString ( js_State * J)
static

◆ mjs_getprivate_fragment()

void * mjs_getprivate_fragment ( js_State * J,
int idx )

◆ mjs_push_fragment()

void mjs_push_fragment ( js_State * J,
void * node )