1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00

[cpp] Rename c to cpp for ecmascript files

This commit is contained in:
Witold Filipczyk 2022-07-31 15:33:22 +02:00
parent 2ffdab5bba
commit df7a023756
69 changed files with 15 additions and 13 deletions

View File

@ -16,7 +16,7 @@ AC_CONFIG_AUX_DIR(config)
AC_CONFIG_MACRO_DIR([config/m4])
PACKAGE=elinks
VERSION=0.15.1
VERSION=0.16.GIT
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Package version])

View File

@ -1,4 +1,4 @@
project('elinks', ['c','cpp'], version:'0.15.1', license:'GPLv2')
project('elinks', ['c','cpp'], version:'0.16.GIT', license:'GPLv2')
srcs=[]
srcdir = meson.source_root()
@ -143,7 +143,7 @@ conf_data.set('HAVE_SYS_TIME_H', 1)
compiler = meson.get_compiler('c')
if conf_data.get('CONFIG_ECMASCRIPT')
extracflags = ['-xc++', '-fpermissive', '-Wno-sign-compare', '-std=gnu++17', '-fno-lto']
extracflags = ['-xc++', '-fpermissive', '-Wno-sign-compare', '-std=gnu++17']
else
extracflags = ['-Wc++-compat']
endif

View File

@ -27,7 +27,7 @@
/* Unsafe macros */
#include "document/html/internal.h"
#ifdef CONFIG_XML
#if 0 //def CONFIG_XML
#include <libxml++/libxml++.h>
#endif

View File

@ -1,2 +1,2 @@
#subdir('html')
srcs += files('renderer.c', 'renderer2.c')
srcs += files('renderer.cpp', 'renderer2.cpp')

View File

@ -1,7 +1,7 @@
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
subdir('spidermonkey')
srcs += files('css2xpath.c', 'ecmascript.c', 'localstorage-db.c', 'spidermonkey.c')
srcs += files('css2xpath.cpp', 'ecmascript.cpp', 'localstorage-db.cpp', 'spidermonkey.cpp')
endif
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
@ -13,10 +13,10 @@ else
endif
if CONFIG_ANY_SPIDERMONKEY
srcs += files('spidermonkey-shared.c', 'empty.cpp')
srcs += files('spidermonkey-shared.cpp')
endif
if conf_data.get('CONFIG_QUICKJS')
subdir('quickjs')
srcs += files('css2xpath.c', 'ecmascript.c', 'localstorage-db.c', 'quickjs.c', 'empty.cpp')
srcs += files('css2xpath.cpp', 'ecmascript.cpp', 'localstorage-db.cpp', 'quickjs.cpp')
endif

View File

@ -1 +1,2 @@
srcs += files('attr.c', 'attributes.c', 'collection.c', 'console.c', 'document.c', 'element.c', 'form.c', 'forms.c', 'heartbeat.c', 'history.c', 'implementation.c', 'input.c', 'localstorage.c', 'location.c', 'navigator.c', 'nodelist.c', 'screen.c', 'unibar.c', 'window.c')
srcs += files('attr.cpp', 'attributes.cpp', 'collection.cpp', 'console.cpp', 'document.cpp', 'element.cpp', 'form.cpp', 'forms.cpp', 'heartbeat.cpp', 'history.cpp', 'implementation.cpp',
'input.cpp', 'localstorage.cpp', 'location.cpp', 'navigator.cpp', 'nodelist.cpp', 'screen.cpp', 'unibar.cpp', 'window.cpp')

View File

@ -1,3 +1,4 @@
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
srcs += files('attr.c', 'attributes.c', 'collection.c', 'console.c', 'document.c', 'element.c', 'form.c', 'forms.c', 'heartbeat.c', 'history.c', 'implementation.c', 'input.c', 'location.c', 'localstorage.c', 'navigator.c', 'nodelist.c', 'screen.c', 'unibar.c', 'window.c')
srcs += files('attr.cpp', 'attributes.cpp', 'collection.cpp', 'console.cpp', 'document.cpp', 'element.cpp', 'form.cpp', 'forms.cpp', 'heartbeat.cpp', 'history.cpp', 'implementation.cpp', 'input.cpp',
'location.cpp', 'localstorage.cpp', 'navigator.cpp', 'nodelist.cpp', 'screen.cpp', 'unibar.cpp', 'window.cpp')

View File

@ -1,5 +1,5 @@
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
srcs += files('smjs.c', 'core.c', 'global_object.c', 'hooks.c', 'elinks_object.c', 'cache_object.c',
'view_state_object.c', 'action_object.c', 'bookmarks.c', 'globhist.c', 'keybinding.c', 'load_uri.c',
'session_object.c', 'terminal_object.c')
srcs += files('smjs.cpp', 'core.cpp', 'global_object.cpp', 'hooks.cpp', 'elinks_object.cpp', 'cache_object.cpp',
'view_state_object.cpp', 'action_object.cpp', 'bookmarks.cpp', 'globhist.cpp', 'keybinding.cpp', 'load_uri.cpp',
'session_object.cpp', 'terminal_object.cpp')