mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[ecmascript] localstorage-db.c moved
This commit is contained in:
parent
e8ae407c0f
commit
164d6b90ac
@ -4,7 +4,7 @@ INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
|||||||
|
|
||||||
SUBDIRS-$(CONFIG_ECMASCRIPT_SMJS) += spidermonkey
|
SUBDIRS-$(CONFIG_ECMASCRIPT_SMJS) += spidermonkey
|
||||||
|
|
||||||
OBJS-$(CONFIG_ECMASCRIPT_SMJS) += css2xpath.o ecmascript.o spidermonkey.o
|
OBJS-$(CONFIG_ECMASCRIPT_SMJS) += css2xpath.o ecmascript.o localstorage-db.o spidermonkey.o
|
||||||
|
|
||||||
ifeq ($(CONFIG_ECMASCRIPT_SMJS), yes)
|
ifeq ($(CONFIG_ECMASCRIPT_SMJS), yes)
|
||||||
CONFIG_ANY_SPIDERMONKEY = yes
|
CONFIG_ANY_SPIDERMONKEY = yes
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* The SpiderMonkey localstorage database helper implementation. */
|
/* The localstorage database helper implementation. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef EL__ECMASCRIPT_SPIDERMONKEY_LOCALSTORAGE_DB_H
|
#ifndef EL__ECMASCRIPT_LOCALSTORAGE_DB_H
|
||||||
#define EL__ECMASCRIPT_SPIDERMONKEY_LOCALSTORAGE_DB_H
|
#define EL__ECMASCRIPT_LOCALSTORAGE_DB_H
|
||||||
|
|
||||||
#include <sqlite3.h>
|
#include <sqlite3.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
@ -1,7 +1,7 @@
|
|||||||
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
||||||
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
||||||
subdir('spidermonkey')
|
subdir('spidermonkey')
|
||||||
srcs += files('css2xpath.c', 'ecmascript.c', 'spidermonkey.c')
|
srcs += files('css2xpath.c', 'ecmascript.c', 'localstorage-db.c', 'spidermonkey.c')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
||||||
|
@ -3,6 +3,6 @@ include $(top_builddir)/Makefile.config
|
|||||||
INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
||||||
|
|
||||||
OBJS = attr.o attributes.o collection.o console.o document.o element.o form.o heartbeat.o history.o implementation.o \
|
OBJS = attr.o attributes.o collection.o console.o document.o element.o form.o heartbeat.o history.o implementation.o \
|
||||||
location.o localstorage.o localstorage-db.o navigator.o nodelist.o screen.o unibar.o window.o
|
location.o localstorage.o navigator.o nodelist.o screen.o unibar.o window.o
|
||||||
|
|
||||||
include $(top_srcdir)/Makefile.lib
|
include $(top_srcdir)/Makefile.lib
|
||||||
|
@ -23,10 +23,10 @@
|
|||||||
#include "document/forms.h"
|
#include "document/forms.h"
|
||||||
#include "document/view.h"
|
#include "document/view.h"
|
||||||
#include "ecmascript/ecmascript.h"
|
#include "ecmascript/ecmascript.h"
|
||||||
|
#include "ecmascript/localstorage-db.h"
|
||||||
#include "ecmascript/spidermonkey/form.h"
|
#include "ecmascript/spidermonkey/form.h"
|
||||||
#include "ecmascript/spidermonkey/location.h"
|
#include "ecmascript/spidermonkey/location.h"
|
||||||
#include "ecmascript/spidermonkey/localstorage.h"
|
#include "ecmascript/spidermonkey/localstorage.h"
|
||||||
#include "ecmascript/spidermonkey/localstorage-db.h"
|
|
||||||
#include "ecmascript/spidermonkey/document.h"
|
#include "ecmascript/spidermonkey/document.h"
|
||||||
#include "ecmascript/spidermonkey/window.h"
|
#include "ecmascript/spidermonkey/window.h"
|
||||||
#include "intl/libintl.h"
|
#include "intl/libintl.h"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#define EL__ECMASCRIPT_SPIDERMONKEY_LOCALSTORAGE_H
|
#define EL__ECMASCRIPT_SPIDERMONKEY_LOCALSTORAGE_H
|
||||||
|
|
||||||
#include "ecmascript/spidermonkey/util.h"
|
#include "ecmascript/spidermonkey/util.h"
|
||||||
#include "ecmascript/spidermonkey/localstorage-db.h"
|
#include "ecmascript/localstorage-db.h"
|
||||||
|
|
||||||
extern const JSClass localstorage_class;
|
extern const JSClass localstorage_class;
|
||||||
extern const spidermonkeyFunctionSpec localstorage_funcs[];
|
extern const spidermonkeyFunctionSpec localstorage_funcs[];
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
||||||
|
|
||||||
srcs += files('attr.c', 'attributes.c', 'collection.c', 'console.c', 'document.c', 'element.c', 'form.c', 'heartbeat.c', 'history.c', 'implementation.c', 'location.c', 'localstorage.c', 'localstorage-db.c', 'navigator.c', 'nodelist.c', 'screen.c', 'unibar.c', 'window.c')
|
srcs += files('attr.c', 'attributes.c', 'collection.c', 'console.c', 'document.c', 'element.c', 'form.c', 'heartbeat.c', 'history.c', 'implementation.c', 'location.c', 'localstorage.c', 'navigator.c', 'nodelist.c', 'screen.c', 'unibar.c', 'window.c')
|
||||||
|
Loading…
Reference in New Issue
Block a user