Home
last modified time | relevance | path

Searched refs:gjs (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/dports/lang/cjs/cjs-4.8.2/installed-tests/scripts/
H A DtestCommandLine.sh4 gjs="$TOP_BUILDDIR/cjs-console"
6 gjs="cjs-console"
119 $gjs --help >/dev/null
121 test -n "$($gjs --help)"
125 $gjs -I . --help >/dev/null
151 $gjs -c "$script" --help
188 $gjs -c 'imports.system.exit(0)' && ! stat gjs-*.syscap > /dev/null 2>&1
198 rm -f gjs-*.syscap
201 rm -f gjs-*.syscap
207 rm -f gjs-*.syscap
[all …]
H A DtestWarnings.sh4 gjs="$TOP_BUILDDIR/cjs-console"
6 gjs="cjs-console"
21 $gjs -c 'imports.signals.addSignalMethods({connect: "foo"})' 2>&1 | \
25 $gjs -c 'imports.gi.GLib.get_home_dir("foobar")' 2>&1 | \
29 $gjs -c '**' 2>&1 | \
/dports/lang/gjs/gjs-1.70.0/installed-tests/scripts/
H A DtestCommandLine.sh9 gjs="gjs-console"
159 $gjs argv.js
187 $gjs --help >/dev/null
189 test -n "$($gjs --help)"
193 $gjs -I . --help >/dev/null
219 $gjs -c "$script" --help
256 $gjs -c 'imports.system.exit(0)' && ! stat gjs-*.syscap > /dev/null 2>&1
266 rm -f gjs-*.syscap
269 rm -f gjs-*.syscap
275 rm -f gjs-*.syscap
[all …]
H A DtestWarnings.sh6 gjs="$TOP_BUILDDIR/gjs-console"
8 gjs="gjs-console"
23 $gjs -c 'imports.signals.addSignalMethods({connect: "foo"})' 2>&1 | \
27 $gjs -c 'imports.gi.GLib.get_home_dir("foobar")' 2>&1 | \
31 $gjs -c '**' 2>&1 | \
/dports/lang/gjs/gjs-1.70.0/tools/
H A Drun_iwyu.sh57 $SRCDIR/gi/utils-inl.h $SRCDIR/gjs/enum-utils.h \
58 $SRCDIR/gjs/jsapi-util-args.h $SRCDIR/gjs/jsapi-util-root.h \
69 for FILE in $SRCDIR/gi/*.cpp $SRCDIR/gjs/atoms.cpp $SRCDIR/gjs/byteArray.cpp \
70 $SRCDIR/gjs/coverage.cpp $SRCDIR/gjs/debugger.cpp \
71 $SRCDIR/gjs/deprecation.cpp $SRCDIR/gjs/error-types.cpp \
72 $SRCDIR/gjs/engine.cpp $SRCDIR/gjs/global.cpp $SRCDIR/gjs/importer.cpp \
73 $SRCDIR/gjs/jsapi-util*.cpp $SRCDIR/gjs/module.cpp $SRCDIR/gjs/native.cpp \
74 $SRCDIR/gjs/objectbox.cpp $SRCDIR/gjs/stack.cpp \
87 if ( should_analyze $SRCDIR/gjs/jsapi-dynamic-class.cpp || \
88 should_analyze $SRCDIR/gjs/jsapi-class.h ); then
[all …]
H A Drun_coverage.sh20 lcov --directory "$BUILDDIR" --capture --output-file _coverage/gjs.lcov.run --no-checksum $LCOV_ARGS
21 lcov --extract _coverage/gjs.lcov.run "$SOURCEDIR/*" "$GIDATADIR/tests/*" $LCOV_ARGS -o _coverage/g…
22 lcov --remove _coverage/gjs.lcov.sources $IGNORE $LCOV_ARGS -o _coverage/gjs.lcov
26 $GENHTML_ARGS _coverage/gjs.lcov "$BUILDDIR"/lcov/coverage.lcov
/dports/lang/gjs/gjs-1.70.0/test/
H A Dmeson.build10 libgjs_tests_common = static_library('gjs-tests-common',
12 'gjs-test-utils.cpp', 'gjs-test-utils.h',
13 'gjs-test-common.cpp', 'gjs-test-common.h',
20 'gjs-tests.cpp',
21 'gjs-test-coverage.cpp',
22 'gjs-test-no-introspection-object.cpp', 'gjs-test-no-introspection-object.h',
35 'gjs-tests-internal.cpp',
36 'gjs-test-call-args.cpp',
37 'gjs-test-rooting.cpp',
38 'gjs-test-jsapi-utils.cpp',
[all …]
H A Dcheck-pch.sh17 mkdir gjs gi
18 echo "#include <stlib.h>" >> gjs/gjs_pch.hh
56 echo "#include <invalid.h>" >> gjs/gjs_pch.hh
61 echo "#include <invalid.h> // check-pch: ignore, yes" >> gjs/gjs_pch.hh
77 echo '#include "local/header.h"' >> gjs/gjs_pch.hh
84 echo "# include <other/include.h>" >> gjs/gjs_pch.hh
101 echo "//#include <invalid.h>" >> gjs/gjs_pch.hh
117 PCH_FILES=(gjs/gjs_pch.hh)
120 CODE_PATHS=(gjs gi)
H A Dgjs-tests.cpp106 GjsAutoUnref<GjsContext> gjs = gjs_context_new(); in gjstest_test_func_gjs_context_eval_dynamic_import() local
110 bool ok = gjs_context_eval(gjs, R"js( in gjstest_test_func_gjs_context_eval_dynamic_import()
123 GjsAutoUnref<GjsContext> gjs = gjs_context_new(); in gjstest_test_func_gjs_context_eval_dynamic_import_relative() local
132 ok = gjs_context_eval(gjs, R"js( in gjstest_test_func_gjs_context_eval_dynamic_import_relative()
151 GjsAutoUnref<GjsContext> gjs = gjs_context_new(); in gjstest_test_func_gjs_context_eval_dynamic_import_bad() local
158 bool ok = gjs_context_eval(gjs, R"js( in gjstest_test_func_gjs_context_eval_dynamic_import_bad()
181 GjsAutoUnref<GjsContext> gjs = gjs_context_new(); in gjstest_test_func_gjs_context_eval_non_zero_terminated() local
219 GjsAutoUnref<GjsContext> gjs = gjs_context_new(); in gjstest_test_func_gjs_context_eval_module_file() local
234 GjsAutoUnref<GjsContext> gjs = gjs_context_new(); in gjstest_test_func_gjs_context_eval_module_file_throw() local
254 GjsAutoUnref<GjsContext> gjs = gjs_context_new(); in gjstest_test_func_gjs_context_eval_module_file_exit() local
[all …]
/dports/lang/cjs/cjs-4.8.2/test/
H A Dmeson.build8 'gjs-tests.cpp',
9 'gjs-test-common.cpp', 'gjs-test-common.h',
10 'gjs-test-utils.cpp', 'gjs-test-utils.h',
11 'gjs-test-call-args.cpp',
12 'gjs-test-coverage.cpp',
13 'gjs-test-rooting.cpp',
14 'gjs-test-no-introspection-object.cpp', 'gjs-test-no-introspection-object.h',
17 gjs_tests = executable('gjs-tests', gjs_tests_sources, mock_js_resources_files,
/dports/lang/cjs/cjs-4.8.2/cjs/
H A Dcontext.cpp346 gjs->free_profiler(); in gjs_context_dispose()
361 gjs->dispose(); in gjs_context_dispose()
594 gjs->m_auto_gc_id = 0; in trigger_gc_if_needed()
596 if (gjs->m_force_gc) { in trigger_gc_if_needed()
598 JS_GC(gjs->m_cx); in trigger_gc_if_needed()
683 gjs->runJobs(gjs->context()); in drain_job_queue_idle_handler()
686 g_assert(gjs->empty() && gjs->m_idle_drain_handler == 0 && in drain_job_queue_idle_handler()
803 : m_gjs(gjs), in SavedQueue()
804 m_queue(gjs->m_cx, std::move(gjs->m_job_queue)), in SavedQueue()
1123 JSAutoRealm ar(gjs->context(), gjs->global()); in gjs_context_define_string_array()
[all …]
/dports/lang/gjs/gjs-1.70.0/gjs/
H A Dcontext.cpp369 gjs->free_profiler(); in gjs_context_dispose()
378 if (gjs->context()) in gjs_context_dispose()
385 gjs->dispose(); in gjs_context_dispose()
737 gjs->m_auto_gc_id = 0; in trigger_gc_if_needed()
739 if (gjs->m_force_gc) { in trigger_gc_if_needed()
916 gjs->runJobs(gjs->context()); in drain_job_queue_idle_handler()
920 g_assert(gjs->empty() && gjs->m_idle_drain_handler == 0 && in drain_job_queue_idle_handler()
1049 : m_gjs(gjs), in SavedQueue()
1050 m_queue(gjs->m_cx, std::move(gjs->m_job_queue)), in SavedQueue()
1517 JSAutoRealm ar(gjs->context(), gjs->global()); in gjs_context_define_string_array()
[all …]
/dports/lang/gjs/gjs-1.70.0/
H A DREADME.md1 …ild Status](https://gitlab.gnome.org/GNOME/gjs/badges/master/pipeline.svg)](https://gitlab.gnome.o…
2 … report](https://gitlab.gnome.org/GNOME/gjs/badges/master/coverage.svg)](https://gnome.pages.gitla…
3 …ors](https://img.shields.io/github/contributors/GNOME/gjs.svg)](https://gitlab.gnome.org/GNOME/gjs
4 …mmit](https://img.shields.io/github/last-commit/GNOME/gjs.svg)](https://gitlab.gnome.org/GNOME/gjs
5 …/img.shields.io/github/search/GNOME/gjs/goto.svg?label=github%20hits)](https://github.com/search?u…
20 In most package managers the package will be called `gjs`.
25 `/usr/bin/gjs`.
30 `gjs filename.js` runs a whole program.
34 Type `gjs --help` for more information.
36 `-d` only available in gjs >= 1.53.90
[all …]
H A Dmeson.build341 tapset = configure_file(input: 'gjs/gjs.stp.in', output: 'gjs.stp',
359 'gjs/gjs.h',
393 'gjs/atoms.cpp', 'gjs/atoms.h',
394 'gjs/byteArray.cpp', 'gjs/byteArray.h',
399 'gjs/engine.cpp', 'gjs/engine.h',
401 'gjs/global.cpp', 'gjs/global.h',
402 'gjs/importer.cpp', 'gjs/importer.h',
403 'gjs/internal.cpp', 'gjs/internal.h',
404 'gjs/mem.cpp', 'gjs/mem-private.h',
405 'gjs/module.cpp', 'gjs/module.h',
[all …]
/dports/lang/cjs/cjs-4.8.2/doc/
H A DHome.md5 To find out when a language feature was implemented in GJS, review [NEWS][gjs-news] in the GitLab r…
9 [gjs-news]: https://gitlab.gnome.org/GNOME/gjs/raw/master/NEWS
14 There is now official [GNOME API Documentation][gjs-docs] for GJS, including everything from GLib a…
18 …e also a growing number of [examples][gjs-examples] and thorough tests of language features in the…
20 [gjs-docs]: https://gjs-docs.gnome.org/
21 [gjs-examples]: https://gitlab.gnome.org/GNOME/gjs/tree/master/examples
22 [gjs-tests]: https://gitlab.gnome.org/GNOME/gjs/blob/master/installed-tests/js
54 * Issue/Bug Tracker: https://gitlab.gnome.org/GNOME/gjs/issues
55 * StackOverflow: https://stackoverflow.com/questions/tagged/gjs
H A DModules.md3 ## [Gio](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/core/overrides/Gio.js)
50 ## [Gtk](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/core/overrides/Gtk.js)
97 ## [Format](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/script/format.js)
135 ## [jsUnit](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/script/jsUnit.js)
139 …t test functions. [Jasmine][jasmine-gjs] for GJS should now be preferred, as demonstrated in the G…
141 [jasmine-gjs]: https://github.com/ptomato/jasmine-gjs
142 [gjs-tests]: https://gitlab.gnome.org/GNOME/gjs/blob/master/installed-tests/js
144 ## [`Lang`](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/script/lang.js)
184 [gjs-timeoutadd]: http://devdocs.baznga.org/glib20~2.50.0/glib.timeout_add
220 ## [System](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/system.cpp)
[all …]
/dports/lang/gjs/gjs-1.70.0/doc/
H A DHome.md7 To find out when a language feature was implemented in GJS, review [NEWS][gjs-news] in the GitLab r…
11 [gjs-news]: https://gitlab.gnome.org/GNOME/gjs/raw/HEAD/NEWS
16 There is official [GNOME API Documentation][gjs-docs] for GJS, including
21 …e also a growing number of [examples][gjs-examples] and thorough tests of language features in the…
23 [gjs-docs]: https://gjs-docs.gnome.org/
24 [gjs-examples]: https://gitlab.gnome.org/GNOME/gjs/tree/HEAD/examples
25 [gjs-tests]: https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/installed-tests/js
60 * Issue/Bug Tracker: https://gitlab.gnome.org/GNOME/gjs/issues
61 * StackOverflow: https://stackoverflow.com/questions/tagged/gjs
H A DProfiling.md5 Typical profiling of JavaScript code is performed by passing the `--gjs` and
9 $ sysprof-cli --gjs --no-perf -- gjs script.js
19 Other flags can also be combined with `--gjs` when appropriate:
22 sysprof-cli --gjs --gtk -- gjs gtk.js
/dports/lang/cjs/cjs-4.8.2/tools/
H A Drun_coverage.sh19 lcov --directory "$BUILDDIR" --capture --output-file _coverage/gjs.lcov.run --no-checksum $LCOV_ARGS
20 lcov --extract _coverage/gjs.lcov.run "$SOURCEDIR/*" "$GIDATADIR/tests/*" $LCOV_ARGS -o _coverage/g…
21 lcov --remove _coverage/gjs.lcov.sources $IGNORE $LCOV_ARGS -o _coverage/gjs.lcov
25 $GENHTML_ARGS _coverage/gjs.lcov "$BUILDDIR"/lcov/coverage.lcov
H A Dgjs-public-iwyu.imp3 {"ref": "gjs-private-iwyu.imp"},
5 {"include": ["\"gjs/macros.h\"", "private", "<gjs/gjs.h>", "public"]}
/dports/lang/gjs/gjs-1.70.0/gi/
H A Dclosure.cpp33 auto* gjs = GjsContextPrivate::from_cx(cx); in Closure() local
34 g_assert(cx == gjs->context()); in Closure()
36 gjs->register_notifier(global_context_notifier_cb, this); in Closure()
94 auto* gjs = GjsContextPrivate::from_cx(m_cx); in unset_context() local
95 gjs->unregister_notifier(global_context_notifier_cb, this); in unset_context()
199 GjsContextPrivate* gjs = GjsContextPrivate::from_cx(m_cx); in invoke() local
200 gjs->schedule_gc_if_needed(); in invoke()
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/jsmods/
H A Dscene_js.c1639 if (!gjs || !gjs->evt) return JS_EXCEPTION; in gpacevt_getProperty()
1699 gjs->evt = evt; in gjs_event_filter_process()
1700 JS_SetOpaque(gjs->evt_obj, gjs); in gjs_event_filter_process()
1701 rval = JS_Call(gjs->c, gjs->evt_fun, gjs->evt_filter_obj, 1, &gjs->evt_obj); in gjs_event_filter_process()
1703 gjs->evt = NULL; in gjs_event_filter_process()
1771 JS_FreeValue(gjs->c, gjs->evt_fun); in gpac_set_event_filter()
1774 gjs->c = ctx; in gpac_set_event_filter()
1775 gjs->evt_filter.udta = gjs; in gpac_set_event_filter()
2041 gf_free(gjs); in gpac_js_finalize()
2050 if (!gjs) { in js_scene_init()
[all …]
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/jsmods/
H A Dscene_js.c1639 if (!gjs || !gjs->evt) return JS_EXCEPTION; in gpacevt_getProperty()
1699 gjs->evt = evt; in gjs_event_filter_process()
1700 JS_SetOpaque(gjs->evt_obj, gjs); in gjs_event_filter_process()
1701 rval = JS_Call(gjs->c, gjs->evt_fun, gjs->evt_filter_obj, 1, &gjs->evt_obj); in gjs_event_filter_process()
1703 gjs->evt = NULL; in gjs_event_filter_process()
1771 JS_FreeValue(gjs->c, gjs->evt_fun); in gpac_set_event_filter()
1774 gjs->c = ctx; in gpac_set_event_filter()
1775 gjs->evt_filter.udta = gjs; in gpac_set_event_filter()
2041 gf_free(gjs); in gpac_js_finalize()
2050 if (!gjs) { in js_scene_init()
[all …]
/dports/lang/gjs/gjs-1.70.0/modules/
H A Dsystem.cpp170 GjsContextPrivate* gjs = GjsContextPrivate::from_cx(context); in gjs_exit() local
171 gjs->exit(ecode); in gjs_exit()
248 auto* gjs = GjsContextPrivate::from_cx(cx); in gjs_dump_memory_info() local
249 if (gjs->profiler() && in gjs_dump_memory_info()
250 !_gjs_profiler_sample_gc_memory_info(gjs->profiler(), gc_counters)) { in gjs_dump_memory_info()
319 GjsContextPrivate* gjs = GjsContextPrivate::from_cx(context); in gjs_js_define_system_stuff() local
320 const char* program_name = gjs->program_name(); in gjs_js_define_system_stuff()
321 const char* program_path = gjs->program_path(); in gjs_js_define_system_stuff()
333 context, get_program_args, 0, 0, gjs->atoms().program_args()))); in gjs_js_define_system_stuff()
341 gjs->atoms().program_invocation_name(), in gjs_js_define_system_stuff()
[all …]
/dports/lang/gjs/gjs-1.70.0/installed-tests/
H A Ddebugger-test.sh6 gjs="$TOP_BUILDDIR/gjs-console"
8 gjs=gjs-console
16 THE_DIFF=$("$gjs" -d "$JS_SCRIPT" < "$DEBUGGER_SCRIPT" | sed \

12345678910>>...15