=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== cjs-4.6.0/cjs/jsapi-util-root.h-203- cjs-4.6.0/cjs/jsapi-util-root.h:204: /* Use debug_addr() only for debug logging, because it is unbarriered. */ cjs-4.6.0/cjs/jsapi-util-root.h-205- template <typename U = T> cjs-4.6.0/cjs/jsapi-util-root.h:206: [[nodiscard]] const void* debug_addr( cjs-4.6.0/cjs/jsapi-util-root.h-207- std::enable_if_t<std::is_pointer_v<U>>* = nullptr) const { ############################################## cjs-4.6.0/cjs/profiler.cpp-680- * Set the file to which profiling data is written when the @self is stopped. cjs-4.6.0/cjs/profiler.cpp:681: * By default, this is `gjs-$PID.syscap` in the current directory. cjs-4.6.0/cjs/profiler.cpp-682- */ ############################################## cjs-4.6.0/doc/Package/Specification.md-85- cjs-4.6.0/doc/Package/Specification.md:86:This `main()` function should initialize a GApplication whose id is **${entry-point-name}**, and do all the work inside the GApplication `vfunc_*` handlers. cjs-4.6.0/doc/Package/Specification.md-87- ############################################## cjs-4.6.0/doc/Logging.md-91- GLib.log_structured(LOG_DOMAIN, level, { cjs-4.6.0/doc/Logging.md:92: 'MESSAGE': `${message}`, cjs-4.6.0/doc/Logging.md-93- 'SYSLOG_IDENTIFIER': 'org.gnome.Polari', ############################################## cjs-4.6.0/doc/Mapping.md-55- cjs-4.6.0/doc/Mapping.md:56:The `$gtype` property gives the GType object for the given type. This is the proper way to find the GType given an object or a class. For a class, `GObject.type_from_name('GtkLabel')` would work too if you know the GType name, but only if you had previously constructed a Gtk.Label object. cjs-4.6.0/doc/Mapping.md-57- ############################################## cjs-4.6.0/doc/Modules.md-108-// Using native template literals (Output: Pi to 2 decimal points: 3.14) cjs-4.6.0/doc/Modules.md:109:`${foo} to ${bar*2} decimal points: ${baz.toFixed(bar*2)}` cjs-4.6.0/doc/Modules.md-110- ############################################## cjs-4.6.0/doc/Style_Guide.md-59- GLib.idle_add(GLib.PRIORITY_DEFAULT_IDLE, function () { cjs-4.6.0/doc/Style_Guide.md:60: log(`number is: ${i}`); cjs-4.6.0/doc/Style_Guide.md-61- }); ############################################## cjs-4.6.0/examples/calc.js-10-function updateDisplay() { cjs-4.6.0/examples/calc.js:11: label.set_markup(`<span size='30000'>${calcVal}</span>`); cjs-4.6.0/examples/calc.js-12- ############################################## cjs-4.6.0/examples/calc.js-36- calcVal = Math.floor(calcVal * 10000) / 10000; cjs-4.6.0/examples/calc.js:37: label.set_markup(`<span size='30000'>${calcVal}</span>`); cjs-4.6.0/examples/calc.js-38-} ############################################## cjs-4.6.0/examples/calc.js-50-function swapSign() { cjs-4.6.0/examples/calc.js:51: calcVal = calcVal[0] === '-' ? calcVal.substring(1) : `-${calcVal}`; cjs-4.6.0/examples/calc.js-52- updateDisplay(); ############################################## cjs-4.6.0/examples/calc.js-55-function randomNum() { cjs-4.6.0/examples/calc.js:56: calcVal = `${Math.floor(Math.random() * 1000)}`; cjs-4.6.0/examples/calc.js-57- updateDisplay(); ############################################## cjs-4.6.0/examples/dbus-client.js-41-function onNameAppeared(connection, name, _owner) { cjs-4.6.0/examples/dbus-client.js:42: print(`"${name}" appeared on the session bus`); cjs-4.6.0/examples/dbus-client.js-43- ############################################## cjs-4.6.0/examples/dbus-client.js-59- proxySignalId = proxy.connectSignal('TestSignal', (proxy_, name_, args) => { cjs-4.6.0/examples/dbus-client.js:60: print(`TestSignal: ${args[0]}, ${args[1]}`); cjs-4.6.0/examples/dbus-client.js-61- }); ############################################## cjs-4.6.0/examples/dbus-client.js-67- for (let [prop, value] of Object.entries(changed.deepUnpack())) cjs-4.6.0/examples/dbus-client.js:68: print(`Property '${prop}' changed to '${value.deepUnpack()}'`); cjs-4.6.0/examples/dbus-client.js-69- cjs-4.6.0/examples/dbus-client.js-70- for (let prop of invalidated) cjs-4.6.0/examples/dbus-client.js:71: print(`Property '${prop}' invalidated`); cjs-4.6.0/examples/dbus-client.js-72- }); ############################################## cjs-4.6.0/examples/dbus-client.js-75- // Reading and writing properties is straight-forward cjs-4.6.0/examples/dbus-client.js:76: print(`ReadOnlyProperty: ${proxy.ReadOnlyProperty}`); cjs-4.6.0/examples/dbus-client.js-77- cjs-4.6.0/examples/dbus-client.js:78: print(`ReadWriteProperty: ${proxy.ReadWriteProperty}`); cjs-4.6.0/examples/dbus-client.js-79- cjs-4.6.0/examples/dbus-client.js-80- proxy.ReadWriteProperty = !proxy.ReadWriteProperty; cjs-4.6.0/examples/dbus-client.js:81: print(`ReadWriteProperty: ${proxy.ReadWriteProperty}`); cjs-4.6.0/examples/dbus-client.js-82- ############################################## cjs-4.6.0/examples/dbus-client.js-87- cjs-4.6.0/examples/dbus-client.js:88: print(`SimpleMethod: ${value}`); cjs-4.6.0/examples/dbus-client.js-89- } catch (e) { cjs-4.6.0/examples/dbus-client.js:90: logError(`SimpleMethod: ${e.message}`); cjs-4.6.0/examples/dbus-client.js-91- } ############################################## cjs-4.6.0/examples/dbus-client.js-100- cjs-4.6.0/examples/dbus-client.js:101: print(`ComplexMethod: ${value}`); cjs-4.6.0/examples/dbus-client.js-102- ############################################## cjs-4.6.0/examples/dbus-client.js-111-function onNameVanished(connection, name) { cjs-4.6.0/examples/dbus-client.js:112: print(`"${name}" vanished from the session bus`); cjs-4.6.0/examples/dbus-client.js-113- ############################################## cjs-4.6.0/examples/dbus-client.js-159- proxy = sourceObj; cjs-4.6.0/examples/dbus-client.js:160: print(`ReadOnlyProperty: ${proxy.ReadOnlyProperty}`); cjs-4.6.0/examples/dbus-client.js-161- }, ############################################## cjs-4.6.0/examples/dbus-service.js-64- ComplexMethod(input) { cjs-4.6.0/examples/dbus-service.js:65: print(`ComplexMethod() invoked with "${input}"`); cjs-4.6.0/examples/dbus-service.js-66- ############################################## cjs-4.6.0/examples/http-client.js-28- cjs-4.6.0/examples/http-client.js:29: log(`body:\n${byteArray.toString(byteArray.fromGBytes(data))}`); cjs-4.6.0/examples/http-client.js-30- ############################################## cjs-4.6.0/examples/http-client.js-44- cjs-4.6.0/examples/http-client.js:45: log(`status: ${message.status_code} - ${message.reason_phrase}`); cjs-4.6.0/examples/http-client.js-46- message.response_headers.foreach((name, value) => { cjs-4.6.0/examples/http-client.js:47: log(`${name}: ${value}`); cjs-4.6.0/examples/http-client.js-48- }); ############################################## cjs-4.6.0/examples/websocket-client.js-43- const str = byteArray.toString(byteArray.fromGBytes(data)); cjs-4.6.0/examples/websocket-client.js:44: log(`message: ${str}`); cjs-4.6.0/examples/websocket-client.js-45- connection.close(Soup.WebsocketCloseCode.NORMAL, null); ############################################## cjs-4.6.0/gi/closure.cpp-114- "object %p", cjs-4.6.0/gi/closure.cpp:115: c, c->func.debug_addr()); cjs-4.6.0/gi/closure.cpp-116- ############################################## cjs-4.6.0/gi/closure.cpp-141- gjs_debug_closure("Invalidating closure %p which calls function %p", cjs-4.6.0/gi/closure.cpp:142: closure, c->func.debug_addr()); cjs-4.6.0/gi/closure.cpp-143- ############################################## cjs-4.6.0/gi/closure.cpp-168- gjs_debug_closure("Invalidating signal closure %p which calls function %p", cjs-4.6.0/gi/closure.cpp:169: closure, self->func.debug_addr()); cjs-4.6.0/gi/closure.cpp-170- ############################################## cjs-4.6.0/gi/closure.cpp-215- "closure %p function %p", cjs-4.6.0/gi/closure.cpp:216: closure, c->func.debug_addr()); cjs-4.6.0/gi/closure.cpp-217- /* If an exception has been thrown, log it, unless the caller ############################################## cjs-4.6.0/gi/closure.cpp-320- gjs_debug_closure("Create closure %p which calls function %p '%s'", gc, cjs-4.6.0/gi/closure.cpp:321: c->func.debug_addr(), description); cjs-4.6.0/gi/closure.cpp-322- ############################################## cjs-4.6.0/gi/object.cpp-182- cjs-4.6.0/gi/object.cpp:183:const void* ObjectBase::jsobj_addr(void) const { cjs-4.6.0/gi/object.cpp-184- if (is_prototype()) cjs-4.6.0/gi/object.cpp-185- return nullptr; cjs-4.6.0/gi/object.cpp:186: return to_instance()->m_wrapper.debug_addr(); cjs-4.6.0/gi/object.cpp-187-} ############################################## cjs-4.6.0/gi/object.h-130- // This is used in debug methods only. cjs-4.6.0/gi/object.h:131: [[nodiscard]] const void* jsobj_addr() const; cjs-4.6.0/gi/object.h-132- ############################################## cjs-4.6.0/gi/object.h-136- void debug_lifecycle(const char* message) const { cjs-4.6.0/gi/object.h:137: GIWrapperBase::debug_lifecycle(jsobj_addr(), message); cjs-4.6.0/gi/object.h-138- } ############################################## cjs-4.6.0/gi/wrapperutils.h-298- // Accessor for Instance member. Used only in debug methods and toString(). cjs-4.6.0/gi/wrapperutils.h:299: [[nodiscard]] const void* ptr_addr() const { cjs-4.6.0/gi/wrapperutils.h-300- return is_prototype() ? nullptr : to_instance()->ptr(); ############################################## cjs-4.6.0/gi/wrapperutils.h-308- Base::debug_topic, "[%p: %s pointer %p - %s.%s (%s)] %s", this, cjs-4.6.0/gi/wrapperutils.h:309: Base::debug_tag, ptr_addr(), ns(), name(), type_name(), message); cjs-4.6.0/gi/wrapperutils.h-310- } ############################################## cjs-4.6.0/gi/wrapperutils.h-315- "[%p: %s pointer %p - JS wrapper %p - %s.%s (%s)] %s", this, cjs-4.6.0/gi/wrapperutils.h:316: Base::debug_tag, ptr_addr(), obj, ns(), name(), type_name(), cjs-4.6.0/gi/wrapperutils.h-317- message); ############################################## cjs-4.6.0/gi/wrapperutils.h-324- "[%p: %s pointer %p - JS wrapper %p - %s.%s (%s)] %s '%s'", this, cjs-4.6.0/gi/wrapperutils.h:325: Base::debug_tag, ptr_addr(), obj, ns(), name(), type_name(), cjs-4.6.0/gi/wrapperutils.h-326- message, id); ############################################## cjs-4.6.0/gi/wrapperutils.h-569- cx, obj, static_cast<const Base*>(priv)->to_string_kind(), cjs-4.6.0/gi/wrapperutils.h:570: priv->info(), priv->gtype(), priv->ptr_addr(), args.rval()); cjs-4.6.0/gi/wrapperutils.h-571- } ############################################## cjs-4.6.0/gi/wrapperutils.h-918- * Also defines all the requested methods and properties on the prototype cjs-4.6.0/gi/wrapperutils.h:919: * and constructor objects (see define_jsclass()), as well as a `$gtype` cjs-4.6.0/gi/wrapperutils.h-920- * property and a toString() method. ############################################## cjs-4.6.0/installed-tests/js/minijasmine.js-56- jasmineStarted(info) { cjs-4.6.0/installed-tests/js/minijasmine.js:57: print(`1..${info.totalSpecsDefined}`); cjs-4.6.0/installed-tests/js/minijasmine.js-58- } ############################################## cjs-4.6.0/installed-tests/js/minijasmine.js-63- print('not ok - An error was thrown outside a test'); cjs-4.6.0/installed-tests/js/minijasmine.js:64: print(`# ${result.message}`); cjs-4.6.0/installed-tests/js/minijasmine.js-65- }); ############################################## cjs-4.6.0/installed-tests/js/minijasmine.js-92- } cjs-4.6.0/installed-tests/js/minijasmine.js:93: tapReport += ` ${this._specCount} ${result.fullName}`; cjs-4.6.0/installed-tests/js/minijasmine.js-94- if (result.status === 'pending' || result.status === 'disabled') { cjs-4.6.0/installed-tests/js/minijasmine.js-95- let reason = result.pendingReason || result.status; cjs-4.6.0/installed-tests/js/minijasmine.js:96: tapReport += ` # SKIP ${reason}`; cjs-4.6.0/installed-tests/js/minijasmine.js-97- } ############################################## cjs-4.6.0/installed-tests/js/minijasmine.js-105- let stackTrace = _filterStack(failedExpectation.stack).trim(); cjs-4.6.0/installed-tests/js/minijasmine.js:106: print(stackTrace.split('\n').map(str => `# ${str}`).join('\n')); cjs-4.6.0/installed-tests/js/minijasmine.js-107- }); ############################################## cjs-4.6.0/installed-tests/js/testCairo.js-262- ['none', 'full'].forEach(transfer => { cjs-4.6.0/installed-tests/js/testCairo.js:263: it(`can be marshalled as a transfer-${transfer} return value`, function () { cjs-4.6.0/installed-tests/js/testCairo.js:264: const outSurface = Regress[`test_cairo_surface_${transfer}_return`](); cjs-4.6.0/installed-tests/js/testCairo.js-265- expect(outSurface.getFormat()).toEqual(Cairo.Format.ARGB32); ############################################## cjs-4.6.0/installed-tests/js/testGDBus.js-138- multipleInArgs(a, b, c, d, e) { cjs-4.6.0/installed-tests/js/testGDBus.js:139: return `${a} ${b} ${c} ${d} ${e}`; cjs-4.6.0/installed-tests/js/testGDBus.js-140- } ############################################## cjs-4.6.0/installed-tests/js/testGDBus.js-266- waitId = 0; cjs-4.6.0/installed-tests/js/testGDBus.js:267: throw new Error(`Timeout waiting for property ${property} expired`); cjs-4.6.0/installed-tests/js/testGDBus.js-268- }); ############################################## cjs-4.6.0/installed-tests/js/testGDBus.js-287- name => { cjs-4.6.0/installed-tests/js/testGDBus.js:288: log(`Acquired name ${name}`); cjs-4.6.0/installed-tests/js/testGDBus.js-289- loop.quit(); ############################################## cjs-4.6.0/installed-tests/js/testGDBus.js-291- name => { cjs-4.6.0/installed-tests/js/testGDBus.js:292: log(`Lost name ${name}`); cjs-4.6.0/installed-tests/js/testGDBus.js-293- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-16- cjs-4.6.0/installed-tests/js/testGIMarshalling.js:17:function testReturnValue(root, value, {omit, skip, funcName = `${root}_return`} = {}) { cjs-4.6.0/installed-tests/js/testGIMarshalling.js-18- if (omit) ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-26- cjs-4.6.0/installed-tests/js/testGIMarshalling.js:27:function testInParameter(root, value, {omit, skip, funcName = `${root}_in`} = {}) { cjs-4.6.0/installed-tests/js/testGIMarshalling.js-28- if (omit) ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-36- cjs-4.6.0/installed-tests/js/testGIMarshalling.js:37:function testOutParameter(root, value, {omit, skip, funcName = `${root}_out`} = {}) { cjs-4.6.0/installed-tests/js/testGIMarshalling.js-38- if (omit) ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-47-function testInoutParameter(root, inValue, outValue, cjs-4.6.0/installed-tests/js/testGIMarshalling.js:48: {omit, skip, funcName = `${root}_inout`} = {}) { cjs-4.6.0/installed-tests/js/testGIMarshalling.js-49- if (omit) ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-66- describe('with transfer none', function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:67: testSimpleMarshalling(`${root}_none`, value, inoutValue, options.none); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-68- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-78- Object.assign(fullOptions, options.full); cjs-4.6.0/installed-tests/js/testGIMarshalling.js:79: testSimpleMarshalling(`${root}_full`, value, inoutValue, fullOptions); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-80- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-94- Object.assign(containerOptions, options.container); cjs-4.6.0/installed-tests/js/testGIMarshalling.js:95: testSimpleMarshalling(`${root}_container`, value, inoutValue, containerOptions); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-96- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-168- [true, false].forEach(bool => { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:169: describe(`${bool}`, function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js-170- testSimpleMarshalling('boolean', bool, !bool, { cjs-4.6.0/installed-tests/js/testGIMarshalling.js-171- returnv: { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:172: funcName: `boolean_return_${bool}`, cjs-4.6.0/installed-tests/js/testGIMarshalling.js-173- }, cjs-4.6.0/installed-tests/js/testGIMarshalling.js-174- in: { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:175: funcName: `boolean_in_${bool}`, cjs-4.6.0/installed-tests/js/testGIMarshalling.js-176- }, cjs-4.6.0/installed-tests/js/testGIMarshalling.js-177- out: { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:178: funcName: `boolean_out_${bool}`, cjs-4.6.0/installed-tests/js/testGIMarshalling.js-179- }, cjs-4.6.0/installed-tests/js/testGIMarshalling.js-180- inout: { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:181: funcName: `boolean_inout_${bool}_${!bool}`, cjs-4.6.0/installed-tests/js/testGIMarshalling.js-182- }, ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-188-describe('Integer', function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:189: Object.entries(Limits).forEach(([type, {min, max, umax, bit64, utype = `u${type}`}]) => { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:190: describe(`${type}-typed`, function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js-191- it('marshals signed value as a return value', function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:192: expect(warn64(bit64, GIMarshallingTests[`${type}_return_max`])).toEqual(max); cjs-4.6.0/installed-tests/js/testGIMarshalling.js:193: expect(warn64(bit64, GIMarshallingTests[`${type}_return_min`])).toEqual(min); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-194- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-197- skip64(bit64); cjs-4.6.0/installed-tests/js/testGIMarshalling.js:198: expect(() => GIMarshallingTests[`${type}_in_max`](max)).not.toThrow(); cjs-4.6.0/installed-tests/js/testGIMarshalling.js:199: expect(() => GIMarshallingTests[`${type}_in_min`](min)).not.toThrow(); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-200- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-202- it('marshals signed value as an out parameter', function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:203: expect(warn64(bit64, GIMarshallingTests[`${type}_out_max`])).toEqual(max); cjs-4.6.0/installed-tests/js/testGIMarshalling.js:204: expect(warn64(bit64, GIMarshallingTests[`${type}_out_min`])).toEqual(min); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-205- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-208- skip64(bit64); cjs-4.6.0/installed-tests/js/testGIMarshalling.js:209: expect(GIMarshallingTests[`${type}_inout_max_min`](max)).toEqual(min); cjs-4.6.0/installed-tests/js/testGIMarshalling.js:210: expect(GIMarshallingTests[`${type}_inout_min_max`](min)).toEqual(max); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-211- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-213- it('marshals unsigned value as a return value', function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:214: expect(warn64(bit64, GIMarshallingTests[`${utype}_return`])).toEqual(umax); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-215- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-218- skip64(bit64); cjs-4.6.0/installed-tests/js/testGIMarshalling.js:219: expect(() => GIMarshallingTests[`${utype}_in`](umax)).not.toThrow(); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-220- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-222- it('marshals unsigned value as an out parameter', function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:223: expect(warn64(bit64, GIMarshallingTests[`${utype}_out`])).toEqual(umax); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-224- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-227- skip64(bit64); cjs-4.6.0/installed-tests/js/testGIMarshalling.js:228: expect(GIMarshallingTests[`${utype}_inout`](umax)).toEqual(0); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-229- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-248- Object.entries(FloatLimits).forEach(([type, {min, max}]) => { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:249: describe(`${type}-typed`, function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js-250- it('marshals value as a return value', function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:251: expect(GIMarshallingTests[`${type}_return`]()).toBeCloseTo(max, 10); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-252- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-256- it('marshals value as an out parameter', function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:257: expect(GIMarshallingTests[`${type}_out`]()).toBeCloseTo(max, 10); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-258- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-260- it('marshals value as an inout parameter', function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:261: expect(GIMarshallingTests[`${type}_inout`](max)).toBeCloseTo(min, 10); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-262- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-500- ['none', 'container', 'full'].forEach(transfer => { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:501: xit(`marshals as a transfer-${transfer} in and out parameter`, function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js-502- const returnedArray = cjs-4.6.0/installed-tests/js/testGIMarshalling.js:503: GIMarshallingTests[`array_gvariant_${transfer}_in`](variantArray); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-504- expect(returnedArray.map(v => v.deepUnpack())).toEqual([27, 'Hello']); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-631- describe('of ints with transfer none', function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:632: testReturnValue(`${list}_int_none`, [-1, 0, 1, 2]); cjs-4.6.0/installed-tests/js/testGIMarshalling.js:633: testInParameter(`${list}_int_none`, [-1, 0, 1, 2]); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-634- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-643- describe('of strings', function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:644: testContainerMarshalling(`${list}_utf8`, ['0', '1', '2'], cjs-4.6.0/installed-tests/js/testGIMarshalling.js-645- ['-2', '-1', '0', '1']); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-1056- ['return', 'out'].forEach(mode => { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:1057: it(`marshals as a ${mode} parameter with transfer ${transfer}`, function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:1058: expect(GIMarshallingTests.Object[`${transfer}_${mode}`]().int).toEqual(0); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-1059- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-1061- cjs-4.6.0/installed-tests/js/testGIMarshalling.js:1062: it(`marshals as an inout parameter with transfer ${transfer}`, function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js-1063- const o = new GIMarshallingTests.Object({int: 42}); cjs-4.6.0/installed-tests/js/testGIMarshalling.js:1064: expect(GIMarshallingTests.Object[`${transfer}_inout`](o).int).toEqual(0); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-1065- }); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-1287- function testVfuncRefcount(mode, transfer, expectedRefcount, options = {}, ...args) { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:1288: it(`marshals an object ${mode} parameter with transfer ${transfer}`, function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js-1289- if (options.skip) ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-1291- const [refcount, floating] = cjs-4.6.0/installed-tests/js/testGIMarshalling.js:1292: tester[`get_ref_info_for_vfunc_${mode}_object_transfer_${transfer}`](...args); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-1293- expect(floating).toBeFalsy(); ############################################## cjs-4.6.0/installed-tests/js/testGIMarshalling.js-1632- function testPropertyGetSet(type, value1, value2, skip = false) { cjs-4.6.0/installed-tests/js/testGIMarshalling.js:1633: it(`gets and sets a ${type} property`, function () { cjs-4.6.0/installed-tests/js/testGIMarshalling.js-1634- if (skip) cjs-4.6.0/installed-tests/js/testGIMarshalling.js-1635- pending(skip); cjs-4.6.0/installed-tests/js/testGIMarshalling.js:1636: obj[`some_${type}`] = value1; cjs-4.6.0/installed-tests/js/testGIMarshalling.js:1637: expect(obj[`some_${type}`]).toEqual(value1); cjs-4.6.0/installed-tests/js/testGIMarshalling.js:1638: obj[`some_${type}`] = value2; cjs-4.6.0/installed-tests/js/testGIMarshalling.js:1639: expect(obj[`some_${type}`]).toEqual(value2); cjs-4.6.0/installed-tests/js/testGIMarshalling.js-1640- }); ############################################## cjs-4.6.0/installed-tests/js/testGLib.js-126- GLib.test_assert_expected_messages_internal('Gjs', 'testGLib.js', 0, cjs-4.6.0/installed-tests/js/testGLib.js:127: `test GLib.${testName}`); cjs-4.6.0/installed-tests/js/testGLib.js-128- } ############################################## cjs-4.6.0/installed-tests/js/testGObjectClass.js-363- set readwrite(val) { cjs-4.6.0/installed-tests/js/testGObjectClass.js:364: this._subclass_readwrite = `subclass${val}`; cjs-4.6.0/installed-tests/js/testGObjectClass.js-365- } ############################################## cjs-4.6.0/installed-tests/js/testGObjectClass.js-596- GLib.test_expect_message('Gjs', GLib.LogLevelFlags.LEVEL_WARNING, cjs-4.6.0/installed-tests/js/testGObjectClass.js:597: `*RangeError: Provided GType name '${gtypeName}' is not valid; ` + cjs-4.6.0/installed-tests/js/testGObjectClass.js:598: `automatically sanitized to '${expectedSanitized}'*`); cjs-4.6.0/installed-tests/js/testGObjectClass.js-599- ############################################## cjs-4.6.0/installed-tests/js/testGio.js-67- KINDS.forEach(kind => { cjs-4.6.0/installed-tests/js/testGio.js:68: expect(() => settings[`get_${kind}`]('foobar')).toThrowError(/key/); cjs-4.6.0/installed-tests/js/testGio.js-69- }); ############################################## cjs-4.6.0/installed-tests/js/testGio.js-73- KINDS.forEach(kind => { cjs-4.6.0/installed-tests/js/testGio.js:74: expect(() => settings[`set_${kind}`]('foobar', null)).toThrowError(/key/); cjs-4.6.0/installed-tests/js/testGio.js-75- }); ############################################## cjs-4.6.0/installed-tests/js/testLegacyClass.js-242- let oldToString = this.parent(); cjs-4.6.0/installed-tests/js/testLegacyClass.js:243: return `${oldToString}; hello`; cjs-4.6.0/installed-tests/js/testLegacyClass.js-244- }, ############################################## cjs-4.6.0/installed-tests/js/testLegacyClass.js-355- argumentGeneric(arg) { cjs-4.6.0/installed-tests/js/testLegacyClass.js:356: return `AnInterface.argumentGeneric(${arg})`; cjs-4.6.0/installed-tests/js/testLegacyClass.js-357- }, ############################################## cjs-4.6.0/installed-tests/js/testLegacyClass.js-409- argumentGeneric(arg) { cjs-4.6.0/installed-tests/js/testLegacyClass.js:410: return AnInterface.argumentGeneric(this, `${arg} (hello from class)`); cjs-4.6.0/installed-tests/js/testLegacyClass.js-411- }, ############################################## cjs-4.6.0/installed-tests/js/testLegacyGObject.js-366- set readwrite(val) { cjs-4.6.0/installed-tests/js/testLegacyGObject.js:367: this._subclass_readwrite = `subclass${val}`; cjs-4.6.0/installed-tests/js/testLegacyGObject.js-368- }, ############################################## cjs-4.6.0/installed-tests/js/testParamSpec.js-9-function testParamSpec(type, params, defaultValue) { cjs-4.6.0/installed-tests/js/testParamSpec.js:10: describe(`GObject.ParamSpec.${type}`, function () { cjs-4.6.0/installed-tests/js/testParamSpec.js-11- let paramSpec; ############################################## cjs-4.6.0/installed-tests/js/testRegress.js-22- [8, 16, 32, 64].forEach(bits => { cjs-4.6.0/installed-tests/js/testRegress.js:23: it(`includes ${bits}-bit integers`, function () { cjs-4.6.0/installed-tests/js/testRegress.js:24: const method = `test_int${bits}`; cjs-4.6.0/installed-tests/js/testRegress.js-25- expect(Regress[method](42)).toBe(42); ############################################## cjs-4.6.0/installed-tests/js/testRegress.js-28- cjs-4.6.0/installed-tests/js/testRegress.js:29: it(`includes unsigned ${bits}-bit integers`, function () { cjs-4.6.0/installed-tests/js/testRegress.js:30: expect(Regress[`test_uint${bits}`](42)).toBe(42); cjs-4.6.0/installed-tests/js/testRegress.js-31- }); ############################################## cjs-4.6.0/installed-tests/js/testRegress.js-34- ['short', 'int', 'long', 'ssize', 'float', 'double'].forEach(type => { cjs-4.6.0/installed-tests/js/testRegress.js:35: it(`includes ${type}s`, function () { cjs-4.6.0/installed-tests/js/testRegress.js:36: const method = `test_${type}`; cjs-4.6.0/installed-tests/js/testRegress.js-37- expect(Regress[method](42)).toBe(42); ############################################## cjs-4.6.0/installed-tests/js/testRegress.js-42- ['ushort', 'uint', 'ulong', 'size'].forEach(type => { cjs-4.6.0/installed-tests/js/testRegress.js:43: it(`includes ${type}s`, function () { cjs-4.6.0/installed-tests/js/testRegress.js:44: expect(Regress[`test_${type}`](42)).toBe(42); cjs-4.6.0/installed-tests/js/testRegress.js-45- }); ############################################## cjs-4.6.0/installed-tests/js/testRegress.js-49- ['uint8', 'uint16', 'uint32', 'uint64', 'uint', 'size'].forEach(type => { cjs-4.6.0/installed-tests/js/testRegress.js:50: it(`for ${type}`, function () { cjs-4.6.0/installed-tests/js/testRegress.js:51: expect(() => Regress[`test_${type}`](-42)).toThrow(); cjs-4.6.0/installed-tests/js/testRegress.js-52- }); ############################################## cjs-4.6.0/installed-tests/js/testRegress.js-205- ['int', 'gint8', 'gint16', 'gint32', 'gint64'].forEach(inttype => { cjs-4.6.0/installed-tests/js/testRegress.js:206: it(`arrays of ${inttype} in`, function () { cjs-4.6.0/installed-tests/js/testRegress.js:207: expect(Regress[`test_array_${inttype}_in`]([1, 2, 3, 4])).toEqual(10); cjs-4.6.0/installed-tests/js/testRegress.js-208- }); ############################################## cjs-4.6.0/installed-tests/js/testRegress.js-296- ['glist', 'gslist'].forEach(list => { cjs-4.6.0/installed-tests/js/testRegress.js:297: describe(`${list} types`, function () { cjs-4.6.0/installed-tests/js/testRegress.js-298- const STR_LIST = ['1', '2', '3']; ############################################## cjs-4.6.0/installed-tests/js/testRegress.js-300- it('return with transfer-none', function () { cjs-4.6.0/installed-tests/js/testRegress.js:301: expect(Regress[`test_${list}_nothing_return`]()).toEqual(STR_LIST); cjs-4.6.0/installed-tests/js/testRegress.js:302: expect(Regress[`test_${list}_nothing_return2`]()).toEqual(STR_LIST); cjs-4.6.0/installed-tests/js/testRegress.js-303- }); ############################################## cjs-4.6.0/installed-tests/js/testRegress.js-305- it('return with transfer-container', function () { cjs-4.6.0/installed-tests/js/testRegress.js:306: expect(Regress[`test_${list}_container_return`]()).toEqual(STR_LIST); cjs-4.6.0/installed-tests/js/testRegress.js-307- }); ############################################## cjs-4.6.0/installed-tests/js/testRegress.js-309- it('return with transfer-full', function () { cjs-4.6.0/installed-tests/js/testRegress.js:310: expect(Regress[`test_${list}_everything_return`]()).toEqual(STR_LIST); cjs-4.6.0/installed-tests/js/testRegress.js-311- }); ############################################## cjs-4.6.0/installed-tests/js/testRegress.js-313- it('in with transfer-none', function () { cjs-4.6.0/installed-tests/js/testRegress.js:314: Regress[`test_${list}_nothing_in`](STR_LIST); cjs-4.6.0/installed-tests/js/testRegress.js:315: Regress[`test_${list}_nothing_in2`](STR_LIST); cjs-4.6.0/installed-tests/js/testRegress.js-316- }); ############################################## cjs-4.6.0/installed-tests/js/testRegress.js-318- it('nullable in', function () { cjs-4.6.0/installed-tests/js/testRegress.js:319: expect(() => Regress[`test_${list}_null_in`]([])).not.toThrow(); cjs-4.6.0/installed-tests/js/testRegress.js-320- }); ############################################## cjs-4.6.0/installed-tests/js/testRegress.js-322- it('nullable out', function () { cjs-4.6.0/installed-tests/js/testRegress.js:323: expect(Regress[`test_${list}_null_out`]()).toEqual([]); cjs-4.6.0/installed-tests/js/testRegress.js-324- }); ############################################## cjs-4.6.0/installed-tests/js/testRegress.js-326- xit('in with transfer-container', function () { cjs-4.6.0/installed-tests/js/testRegress.js:327: Regress[`test_${list}_container_in`](STR_LIST); cjs-4.6.0/installed-tests/js/testRegress.js-328- }).pend('Function not added to gobject-introspection test suite yet'); ############################################## cjs-4.6.0/installed-tests/js/testRegress.js-1323- ['simple', 'noptr'].forEach(type => { cjs-4.6.0/installed-tests/js/testRegress.js:1324: it(`${type} callback`, function () { cjs-4.6.0/installed-tests/js/testRegress.js-1325- const callback = jasmine.createSpy('callback'); cjs-4.6.0/installed-tests/js/testRegress.js:1326: Regress[`test_${type}_callback`](callback); cjs-4.6.0/installed-tests/js/testRegress.js-1327- expect(callback).toHaveBeenCalled(); ############################################## cjs-4.6.0/installed-tests/js/testRegress.js-1330- it('null simple callback', function () { cjs-4.6.0/installed-tests/js/testRegress.js:1331: expect(() => Regress[`test_${type}_callback`](null)).not.toThrow(); cjs-4.6.0/installed-tests/js/testRegress.js-1332- }); ############################################## cjs-4.6.0/installed-tests/debugger/return.debugger-6-ret 5 cjs-4.6.0/installed-tests/debugger/return.debugger:7:ret `${4 * 10 + 2} is the answer` cjs-4.6.0/installed-tests/debugger/return.debugger-8-c ############################################## cjs-4.6.0/installed-tests/debugger/return.debugger.output-15-Breakpoint 3, func3() at return.debugger.js:10:4 cjs-4.6.0/installed-tests/debugger/return.debugger.output:16:db> ret `${4 * 10 + 2} is the answer` cjs-4.6.0/installed-tests/debugger/return.debugger.output-17-42 is the answer ############################################## cjs-4.6.0/installed-tests/debugger/throw.debugger.js-8-} catch (e) { cjs-4.6.0/installed-tests/debugger/throw.debugger.js:9: print(`Exception: ${e}`); cjs-4.6.0/installed-tests/debugger/throw.debugger.js-10-} ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-38- return 'null'; // typeof null === 'object', so avoid that case cjs-4.6.0/modules/script/_bootstrap/debugger.js:39: return typeof v !== 'object' || v === null ? uneval(v) : `[object ${v.class}]`; cjs-4.6.0/modules/script/_bootstrap/debugger.js-40-} ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-83- const i = nextDebuggeeValueIndex++; cjs-4.6.0/modules/script/_bootstrap/debugger.js:84: debuggeeValues[`$${i}`] = dv; cjs-4.6.0/modules/script/_bootstrap/debugger.js-85- const [brief, full] = debuggeeValueToString(dv, style); cjs-4.6.0/modules/script/_bootstrap/debugger.js:86: print(`$${i} = ${brief}`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-87- if (full !== undefined) ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-109- } else { cjs-4.6.0/modules/script/_bootstrap/debugger.js:110: return `${this.type} code`; cjs-4.6.0/modules/script/_bootstrap/debugger.js-111- } ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-123- if (pos) cjs-4.6.0/modules/script/_bootstrap/debugger.js:124: return `${fr} at ${pos}`; cjs-4.6.0/modules/script/_bootstrap/debugger.js-125- return fr; ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-141- const url = this.url || '<unknown>'; cjs-4.6.0/modules/script/_bootstrap/debugger.js:142: return `${url}:${lineNumber}:${columnNumber}`; cjs-4.6.0/modules/script/_bootstrap/debugger.js-143-}; ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-158- cjs-4.6.0/modules/script/_bootstrap/debugger.js:159: print(`#${n.toString().padEnd(4)} ${f.describeFull()}`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-160-} ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-271-function keysCommand(rest) { cjs-4.6.0/modules/script/_bootstrap/debugger.js:272: return doPrint(`Object.keys(${rest})`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-273-} ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-313- if (cv === null) { cjs-4.6.0/modules/script/_bootstrap/debugger.js:314: print(`Debuggee died while determining what to ${action}. Stopped.`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-315- return; ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-318- return [{[action]: cv['return']}]; cjs-4.6.0/modules/script/_bootstrap/debugger.js:319: print(`Exception determining what to ${action}. Stopped.`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-320- showDebuggeeValue(cv.throw); ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-353- if (!f.older) { cjs-4.6.0/modules/script/_bootstrap/debugger.js:354: print(`There is no frame ${rest}.`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-355- return; ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-440- if (kind.finish) cjs-4.6.0/modules/script/_bootstrap/debugger.js:441: print(`Run till exit from ${startFrame.describeFull()}`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-442- else ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-464- function stepEntered(newFrame) { cjs-4.6.0/modules/script/_bootstrap/debugger.js:465: print(`entered frame: ${newFrame.describeFull()}`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-466- if (!kind.until || newFrame.line === kind.stopLine) { ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-574- topFrame = focusedFrame = frame; cjs-4.6.0/modules/script/_bootstrap/debugger.js:575: print(`Breakpoint ${this.num}, ${frame.describeFull()}`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-576- return repl(); ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-580- toString() { cjs-4.6.0/modules/script/_bootstrap/debugger.js:581: return `Breakpoint ${this.num} at ${this.script.describeOffset(this.offset)}`; cjs-4.6.0/modules/script/_bootstrap/debugger.js-582- } ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-591- if (possibleOffsets.length === 0) { cjs-4.6.0/modules/script/_bootstrap/debugger.js:592: print(`Unable to break at line ${where}`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-593- return; ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-615- if (bp === undefined) { cjs-4.6.0/modules/script/_bootstrap/debugger.js:616: print(`Breakpoint ${breaknum} already deleted.`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-617- return; ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-622- breakpoints[breaknum] = undefined; cjs-4.6.0/modules/script/_bootstrap/debugger.js:623: print(`${bp} deleted`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-624-} ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-671- function printcmd(cmd) { cjs-4.6.0/modules/script/_bootstrap/debugger.js:672: print(` ${cmd.aliases.join(', ')} -- ${cmd.summary}`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-673- } ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-703-function _printCommand(cmd) { cjs-4.6.0/modules/script/_bootstrap/debugger.js:704: print(`${cmd.summary}\n\n${cmd.helpText}`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-705- ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-708- for (var alias of cmd.aliases) cjs-4.6.0/modules/script/_bootstrap/debugger.js:709: print(` ยท ${alias}`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-710- } ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-722- else cjs-4.6.0/modules/script/_bootstrap/debugger.js:723: print(`No help found for ${cmd} command`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-724- } ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-759- if (!commands.hasOwnProperty(first)) { cjs-4.6.0/modules/script/_bootstrap/debugger.js:760: print(`unrecognized command '${first}'`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-761- return undefined; ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-800- throw new Error( cjs-4.6.0/modules/script/_bootstrap/debugger.js:801: `Internal error: result of runcmd wasn't array or undefined: ${result}`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-802- } ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-817- const site = promiseAllocationSite.toString().split('\n')[0]; cjs-4.6.0/modules/script/_bootstrap/debugger.js:818: print(`Promise ${promiseID} started from ${site}`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-819- return undefined; ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-821-dbg.onPromiseSettled = function (promise) { cjs-4.6.0/modules/script/_bootstrap/debugger.js:822: let message = `Promise ${promise.promiseID} ${promise.promiseState} `; cjs-4.6.0/modules/script/_bootstrap/debugger.js:823: message += `after ${promise.promiseTimeToResolution.toFixed(3)} ms`; cjs-4.6.0/modules/script/_bootstrap/debugger.js-824- let brief, full; ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-826- [brief, full] = debuggeeValueToString(promise.promiseValue); cjs-4.6.0/modules/script/_bootstrap/debugger.js:827: message += ` with ${brief}`; cjs-4.6.0/modules/script/_bootstrap/debugger.js-828- } else if (promise.promiseState === 'rejected' && ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-830- [brief, full] = debuggeeValueToString(promise.promiseReason); cjs-4.6.0/modules/script/_bootstrap/debugger.js:831: message += ` with ${brief}`; cjs-4.6.0/modules/script/_bootstrap/debugger.js-832- } ############################################## cjs-4.6.0/modules/script/_bootstrap/debugger.js-840- topFrame = focusedFrame = frame; cjs-4.6.0/modules/script/_bootstrap/debugger.js:841: print(`Debugger statement, ${frame.describeFull()}`); cjs-4.6.0/modules/script/_bootstrap/debugger.js-842- return repl(); ############################################## cjs-4.6.0/modules/script/tweener/tweener.js-209- } catch (e) { cjs-4.6.0/modules/script/tweener/tweener.js:210: logError(e, `Error calling ${fnname}`); cjs-4.6.0/modules/script/tweener/tweener.js-211- } ############################################## cjs-4.6.0/modules/script/tweener/tweener.js-510- if (scopes[i][istr] == undefined) { cjs-4.6.0/modules/script/tweener/tweener.js:511: log(`The property ${istr} doesn't seem to be a ` + cjs-4.6.0/modules/script/tweener/tweener.js:512: `normal object property of ${scopes[i]} or a ` + cjs-4.6.0/modules/script/tweener/tweener.js-513- 'registered special property'); ############################################## cjs-4.6.0/modules/script/_legacy.js-22-_Base.prototype.toString = function () { cjs-4.6.0/modules/script/_legacy.js:23: return `[object ${this.__name__}]`; cjs-4.6.0/modules/script/_legacy.js-24-}; ############################################## cjs-4.6.0/modules/script/_legacy.js-36- if (!previous) cjs-4.6.0/modules/script/_legacy.js:37: throw new TypeError(`The method '${name}' is not on the superclass`); cjs-4.6.0/modules/script/_legacy.js-38- ############################################## cjs-4.6.0/modules/script/_legacy.js-94-Class.prototype.toString = function () { cjs-4.6.0/modules/script/_legacy.js:95: return `[object ${this.__name__} for ${this.prototype.__name__}]`; cjs-4.6.0/modules/script/_legacy.js-96-}; ############################################## cjs-4.6.0/modules/script/_legacy.js-109- if (params.Abstract && new.target.name === name) cjs-4.6.0/modules/script/_legacy.js:110: throw new TypeError(`Cannot instantiate abstract class ${name}`); cjs-4.6.0/modules/script/_legacy.js-111- ############################################## cjs-4.6.0/modules/script/_legacy.js-364-Interface.prototype.toString = function () { cjs-4.6.0/modules/script/_legacy.js:365: return `[interface ${this.__name__} for ${this.prototype.__name__}]`; cjs-4.6.0/modules/script/_legacy.js-366-}; ############################################## cjs-4.6.0/modules/script/_legacy.js-428- } catch (e) { cjs-4.6.0/modules/script/_legacy.js:429: throw new TypeError(`Invalid signal ${signalName}: ${e.message}`); cjs-4.6.0/modules/script/_legacy.js-430- } ############################################## cjs-4.6.0/modules/script/_legacy.js-437- else cjs-4.6.0/modules/script/_legacy.js:438: return `Gjs_${params.Name.replace(/[^a-z0-9_+-]/gi, '_')}`; cjs-4.6.0/modules/script/_legacy.js-439- } ############################################## cjs-4.6.0/modules/script/_legacy.js-521- if (!this._isValidClass(parent)) cjs-4.6.0/modules/script/_legacy.js:522: throw new TypeError(`GObject.Class used with invalid base class (is ${parent})`); cjs-4.6.0/modules/script/_legacy.js-523- ############################################## cjs-4.6.0/modules/script/package.js-63- let binary = Gio.File.new_for_path(System.programInvocationName); cjs-4.6.0/modules/script/package.js:64: let sourceBinary = Gio.File.new_for_path(`./src/${name}`); cjs-4.6.0/modules/script/package.js-65- return binary.equal(sourceBinary); ############################################## cjs-4.6.0/modules/script/package.js-73-function _makeNamePath(n) { cjs-4.6.0/modules/script/package.js:74: return `/${n.replace(/\./g, '/')}`; cjs-4.6.0/modules/script/package.js-75-} ############################################## cjs-4.6.0/modules/script/package.js-160- let resource = Gio.Resource.load(GLib.build_filenamev([bld, 'src', cjs-4.6.0/modules/script/package.js:161: `${name}.src.gresource`])); cjs-4.6.0/modules/script/package.js-162- resource._register(); cjs-4.6.0/modules/script/package.js:163: moduledir = `resource://${_makeNamePath(name)}/js`; cjs-4.6.0/modules/script/package.js-164- } catch (e) { ############################################## cjs-4.6.0/modules/script/package.js-176- let resource = Gio.Resource.load(GLib.build_filenamev([pkgdatadir, cjs-4.6.0/modules/script/package.js:177: `${name}.src.gresource`])); cjs-4.6.0/modules/script/package.js-178- resource._register(); cjs-4.6.0/modules/script/package.js-179- cjs-4.6.0/modules/script/package.js:180: moduledir = `resource://${_makeNamePath(name)}/js`; cjs-4.6.0/modules/script/package.js-181- } catch (e) { ############################################## cjs-4.6.0/modules/script/package.js-191- let resource = Gio.Resource.load(GLib.build_filenamev([pkgdatadir, cjs-4.6.0/modules/script/package.js:192: `${name}.data.gresource`])); cjs-4.6.0/modules/script/package.js-193- resource._register(); ############################################## cjs-4.6.0/modules/script/package.js-247- if (symbol) cjs-4.6.0/modules/script/package.js:248: printerr(`Unsatisfied dependency: No ${symbol} in ${lib}`); cjs-4.6.0/modules/script/package.js-249- else cjs-4.6.0/modules/script/package.js:250: printerr(`Unsatisfied dependency: ${lib}`); cjs-4.6.0/modules/script/package.js-251- System.exit(1); ############################################## cjs-4.6.0/modules/core/overrides/GLib.js-64- if (!isSimple && char !== 'v') cjs-4.6.0/modules/core/overrides/GLib.js:65: throw new TypeError(`Invalid GVariant signature (${char} is not a valid type)`); cjs-4.6.0/modules/core/overrides/GLib.js-66- ############################################## cjs-4.6.0/modules/core/overrides/GLib.js-181- default: cjs-4.6.0/modules/core/overrides/GLib.js:182: throw new TypeError(`Invalid GVariant signature (unexpected character ${char})`); cjs-4.6.0/modules/core/overrides/GLib.js-183- } ############################################## cjs-4.6.0/modules/core/overrides/GLib.js-269-function _notIntrospectableError(funcName, replacement) { cjs-4.6.0/modules/core/overrides/GLib.js:270: return new Error(`${funcName} is not introspectable. Use ${replacement} instead.`); cjs-4.6.0/modules/core/overrides/GLib.js-271-} ############################################## cjs-4.6.0/modules/core/overrides/GLib.js-278- if ('-^]\\'.includes(char)) cjs-4.6.0/modules/core/overrides/GLib.js:279: return `\\${char}`; cjs-4.6.0/modules/core/overrides/GLib.js-280- return char; ############################################## cjs-4.6.0/modules/core/overrides/GLib.js-323- this.Variant.prototype.toString = function () { cjs-4.6.0/modules/core/overrides/GLib.js:324: return `[object variant of type "${this.get_type_string()}"]`; cjs-4.6.0/modules/core/overrides/GLib.js-325- }; ############################################## cjs-4.6.0/modules/core/overrides/GLib.js-412- _warnNotIntrospectable('GLib.ascii_dtostr()', 'JS string conversion'); cjs-4.6.0/modules/core/overrides/GLib.js:413: return `${number}`.slice(0, len); cjs-4.6.0/modules/core/overrides/GLib.js-414- }; ############################################## cjs-4.6.0/modules/core/overrides/GLib.js-447- const escapedDelimiterChars = delimiterChars.map(_escapeCharacterSetChars); cjs-4.6.0/modules/core/overrides/GLib.js:448: const delimiterRegex = new RegExp(`[${escapedDelimiterChars.join('')}]`, 'g'); cjs-4.6.0/modules/core/overrides/GLib.js-449- return string.replace(delimiterRegex, newDelimiter); ############################################## cjs-4.6.0/modules/core/overrides/GLib.js-459- const escapedValidArray = validArray.map(_escapeCharacterSetChars); cjs-4.6.0/modules/core/overrides/GLib.js:460: const invalidRegex = new RegExp(`[^${escapedValidArray.join('')}]`, 'g'); cjs-4.6.0/modules/core/overrides/GLib.js-461- return string.replace(invalidRegex, substitutor); ############################################## cjs-4.6.0/modules/core/overrides/GObject.js-86- throw new TypeError('GObject.registerClass() used with invalid base ' + cjs-4.6.0/modules/core/overrides/GObject.js:87: `class (is ${Object.getPrototypeOf(klass).name})`); cjs-4.6.0/modules/core/overrides/GObject.js-88- } ############################################## cjs-4.6.0/modules/core/overrides/GObject.js-110- } catch (e) { cjs-4.6.0/modules/core/overrides/GObject.js:111: throw new TypeError(`Invalid signal ${signalName}: ${e.message}`); cjs-4.6.0/modules/core/overrides/GObject.js-112- } ############################################## cjs-4.6.0/modules/core/overrides/GObject.js-142- scriptDir = scriptDir.replace(/^\/|\/$/g, ''); cjs-4.6.0/modules/core/overrides/GObject.js:143: basename = `${scriptDir.split('/').reverse()[0]}_${basename}`; cjs-4.6.0/modules/core/overrides/GObject.js-144- } ############################################## cjs-4.6.0/modules/core/overrides/GObject.js-157- if (sanitized !== klass[GTypeName]) { cjs-4.6.0/modules/core/overrides/GObject.js:158: logError(new RangeError(`Provided GType name '${klass[GTypeName]}' ` + cjs-4.6.0/modules/core/overrides/GObject.js:159: `is not valid; automatically sanitized to '${sanitized}'`)); cjs-4.6.0/modules/core/overrides/GObject.js-160- } ############################################## cjs-4.6.0/modules/core/overrides/GObject.js-167- if (callerBasename) cjs-4.6.0/modules/core/overrides/GObject.js:168: gtypeClassName = `${callerBasename}_${gtypeClassName}`; cjs-4.6.0/modules/core/overrides/GObject.js-169- } cjs-4.6.0/modules/core/overrides/GObject.js-170- cjs-4.6.0/modules/core/overrides/GObject.js:171: return sanitizeGType(`Gjs_${gtypeClassName}`); cjs-4.6.0/modules/core/overrides/GObject.js-172-} ############################################## cjs-4.6.0/modules/core/overrides/GObject.js-234- throw new Error('The following interfaces must be implemented before ' + cjs-4.6.0/modules/core/overrides/GObject.js:235: `${iface.name}: ${unfulfilledReqs.join(', ')}`); cjs-4.6.0/modules/core/overrides/GObject.js-236- } ############################################## cjs-4.6.0/modules/core/overrides/GObject.js-244- let gtype = GObject.type_from_name(gtypeName); cjs-4.6.0/modules/core/overrides/GObject.js:245: obj[`TYPE_${upperName}`] = gtype; cjs-4.6.0/modules/core/overrides/GObject.js-246- obj[name] = function (v) { ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-47- if (val >= numFds) { cjs-4.6.0/modules/core/overrides/Gio.js:48: throw new Error(`handle ${val} is out of range of Gio.UnixFDList ` + cjs-4.6.0/modules/core/overrides/Gio.js:49: `containing ${numFds} FDs`); cjs-4.6.0/modules/core/overrides/Gio.js-50- } ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-94- } else if (argArray.length > maxNumberArgs) { cjs-4.6.0/modules/core/overrides/Gio.js:95: throw new Error(`Too many arguments passed for method ${methodName}. ` + cjs-4.6.0/modules/core/overrides/Gio.js:96: `Maximum is ${maxNumberArgs} including one callback, ` + cjs-4.6.0/modules/core/overrides/Gio.js-97- 'Gio.Cancellable, Gio.UnixFDList, and/or flags'); ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-111- } else { cjs-4.6.0/modules/core/overrides/Gio.js:112: throw new Error(`Argument ${argNum} of method ${methodName} is ` + cjs-4.6.0/modules/core/overrides/Gio.js:113: `${typeof arg}. It should be a callback, flags, ` + cjs-4.6.0/modules/core/overrides/Gio.js-114- 'Gio.UnixFDList, or a Gio.Cancellable'); ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-117- cjs-4.6.0/modules/core/overrides/Gio.js:118: const inTypeString = `(${inSignature.join('')})`; cjs-4.6.0/modules/core/overrides/Gio.js-119- const inVariant = new GLib.Variant(inTypeString, argArray); ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-121- if (!fdList) { cjs-4.6.0/modules/core/overrides/Gio.js:122: throw new Error(`Method ${methodName} with input type containing ` + cjs-4.6.0/modules/core/overrides/Gio.js-123- '\'h\' must have a Gio.UnixFDList as an argument'); ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-151- if (exc !== null) cjs-4.6.0/modules/core/overrides/Gio.js:152: log(`Ignored exception from dbus method: ${exc}`); cjs-4.6.0/modules/core/overrides/Gio.js-153-} ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-204- var method = methods[i]; cjs-4.6.0/modules/core/overrides/Gio.js:205: this[`${method.name}Remote`] = _makeProxyMethod(methods[i], false); cjs-4.6.0/modules/core/overrides/Gio.js:206: this[`${method.name}Sync`] = _makeProxyMethod(methods[i], true); cjs-4.6.0/modules/core/overrides/Gio.js-207- } ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-214- let getter = () => { cjs-4.6.0/modules/core/overrides/Gio.js:215: throw new Error(`Property ${name} is not readable`); cjs-4.6.0/modules/core/overrides/Gio.js-216- }; cjs-4.6.0/modules/core/overrides/Gio.js-217- let setter = () => { cjs-4.6.0/modules/core/overrides/Gio.js:218: throw new Error(`Property ${name} is not writable`); cjs-4.6.0/modules/core/overrides/Gio.js-219- }; ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-276- return constructor(value); cjs-4.6.0/modules/core/overrides/Gio.js:277: throw TypeError(`Invalid type ${Object.prototype.toString.call(value)}`); cjs-4.6.0/modules/core/overrides/Gio.js-278-} ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-317- cjs-4.6.0/modules/core/overrides/Gio.js:318: return `${ret})`; cjs-4.6.0/modules/core/overrides/Gio.js-319-} ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-334- // likely to be a normal JS error cjs-4.6.0/modules/core/overrides/Gio.js:335: name = `org.gnome.gjs.JSError.${name}`; cjs-4.6.0/modules/core/overrides/Gio.js-336- } cjs-4.6.0/modules/core/overrides/Gio.js:337: logError(e, `Exception in method call: ${methodName}`); cjs-4.6.0/modules/core/overrides/Gio.js-338- invocation.return_dbus_error(name, e.message); ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-368- } cjs-4.6.0/modules/core/overrides/Gio.js:369: } else if (this[`${methodName}Async`]) { cjs-4.6.0/modules/core/overrides/Gio.js-370- const fdList = invocation.get_message().get_unix_fd_list(); cjs-4.6.0/modules/core/overrides/Gio.js:371: this[`${methodName}Async`](parameters.deepUnpack(), invocation, fdList); cjs-4.6.0/modules/core/overrides/Gio.js-372- } else { cjs-4.6.0/modules/core/overrides/Gio.js:373: log(`Missing handler for DBus method ${methodName}`); cjs-4.6.0/modules/core/overrides/Gio.js-374- invocation.return_gerror(new Gio.DBusError({ cjs-4.6.0/modules/core/overrides/Gio.js-375- code: Gio.DBusError.UNKNOWN_METHOD, cjs-4.6.0/modules/core/overrides/Gio.js:376: message: `Method ${methodName} is not implemented`, cjs-4.6.0/modules/core/overrides/Gio.js-377- })); ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-423-function _promisify(proto, asyncFunc, finishFunc) { cjs-4.6.0/modules/core/overrides/Gio.js:424: if (proto[`_original_${asyncFunc}`] !== undefined) cjs-4.6.0/modules/core/overrides/Gio.js-425- return; cjs-4.6.0/modules/core/overrides/Gio.js:426: proto[`_original_${asyncFunc}`] = proto[asyncFunc]; cjs-4.6.0/modules/core/overrides/Gio.js-427- proto[asyncFunc] = function (...args) { cjs-4.6.0/modules/core/overrides/Gio.js-428- if (!args.every(arg => typeof arg !== 'function')) cjs-4.6.0/modules/core/overrides/Gio.js:429: return this[`_original_${asyncFunc}`](...args); cjs-4.6.0/modules/core/overrides/Gio.js-430- return new Promise((resolve, reject) => { cjs-4.6.0/modules/core/overrides/Gio.js-431- const callStack = new Error().stack.split('\n').filter(line => !line.match(/promisify/)).join('\n'); cjs-4.6.0/modules/core/overrides/Gio.js:432: this[`_original_${asyncFunc}`](...args, function (source, res) { cjs-4.6.0/modules/core/overrides/Gio.js-433- try { ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-441- if (error.stack) cjs-4.6.0/modules/core/overrides/Gio.js:442: error.stack += `### Promise created here: ###\n${callStack}`; cjs-4.6.0/modules/core/overrides/Gio.js-443- else ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-523- if (!this.has_key(key)) cjs-4.6.0/modules/core/overrides/Gio.js:524: throw new Error(`GSettings key ${key} not found in schema ${this.get_id()}`); cjs-4.6.0/modules/core/overrides/Gio.js-525- return this._realGetKey(key); ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-555- if (!settingsSchema) cjs-4.6.0/modules/core/overrides/Gio.js:556: throw new Error(`GSettings schema ${props[schemaIdProp]} not found`); cjs-4.6.0/modules/core/overrides/Gio.js-557- ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-560- throw new Error('Attempting to create schema ' + cjs-4.6.0/modules/core/overrides/Gio.js:561: `'${settingsSchema.get_id()}' without a path`); cjs-4.6.0/modules/core/overrides/Gio.js-562- } ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-565- props['path'] !== settingsSchemaPath) { cjs-4.6.0/modules/core/overrides/Gio.js:566: throw new Error(`GSettings created for path '${props['path']}'` + cjs-4.6.0/modules/core/overrides/Gio.js:567: `, but schema specifies '${settingsSchemaPath}'`); cjs-4.6.0/modules/core/overrides/Gio.js-568- } ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-579- if (!this._keys.includes(key)) cjs-4.6.0/modules/core/overrides/Gio.js:580: throw new Error(`GSettings key ${key} not found in schema ${this.schema_id}`); cjs-4.6.0/modules/core/overrides/Gio.js-581- }, ############################################## cjs-4.6.0/modules/core/overrides/Gio.js-587- if (!this._children.includes(name)) cjs-4.6.0/modules/core/overrides/Gio.js:588: throw new Error(`Child ${name} not found in GSettings schema ${this.schema_id}`); cjs-4.6.0/modules/core/overrides/Gio.js-589- }, ############################################## cjs-4.6.0/modules/core/overrides/Gtk.js-76- for (let child of internalChildren) { cjs-4.6.0/modules/core/overrides/Gtk.js:77: this[`_${child.replace(/-/g, '_')}`] = cjs-4.6.0/modules/core/overrides/Gtk.js-78- this.get_template_child(this.constructor, child); ############################################## cjs-4.6.0/modules/core/overrides/Gtk.js-158- } else if (typeof thisArg[handlerName] === 'undefined') { cjs-4.6.0/modules/core/overrides/Gtk.js:159: throw new Error(`A handler called ${handlerName} was not ` + cjs-4.6.0/modules/core/overrides/Gtk.js:160: `defined on ${thisArg}`); cjs-4.6.0/modules/core/overrides/Gtk.js-161- } ############################################## cjs-4.6.0/modules/core/_common.js-41- if (!propdesc.get && !propdesc.set) { cjs-4.6.0/modules/core/_common.js:42: const privateName = Symbol(`__autogeneratedAccessor__${name}`); cjs-4.6.0/modules/core/_common.js-43- const defaultValue = pspec.get_default_value(); ############################################## cjs-4.6.0/modules/core/_common.js-56- propdesc.get = function () { cjs-4.6.0/modules/core/_common.js:57: throw new Error(`setter defined without getter for property ${name}`); cjs-4.6.0/modules/core/_common.js-58- }; ############################################## cjs-4.6.0/modules/core/_common.js-60- propdesc.set = function () { cjs-4.6.0/modules/core/_common.js:61: throw new Error(`getter defined without setter for property ${name}`); cjs-4.6.0/modules/core/_common.js-62- }; ############################################## cjs-4.6.0/modules/core/_common.js-65- propdesc.get = function () { cjs-4.6.0/modules/core/_common.js:66: throw new Error(`missing getter for read-only property ${name}`); cjs-4.6.0/modules/core/_common.js-67- }; ############################################## cjs-4.6.0/modules/core/_common.js-69- propdesc.set = function () { cjs-4.6.0/modules/core/_common.js:70: throw new Error(`missing setter for write-only property ${name}`); cjs-4.6.0/modules/core/_common.js-71- }; ############################################## cjs-4.6.0/modules/core/_format.js-62- default: cjs-4.6.0/modules/core/_format.js:63: throw new Error(`Unsupported conversion character %${genericGroup}`); cjs-4.6.0/modules/core/_format.js-64- } ############################################## cjs-4.6.0/modules/core/_signals.js-66- if (connection.disconnected) cjs-4.6.0/modules/core/_signals.js:67: throw new Error(`Signal handler id ${id} already disconnected`); cjs-4.6.0/modules/core/_signals.js-68- ############################################## cjs-4.6.0/modules/core/_signals.js-76- } cjs-4.6.0/modules/core/_signals.js:77: throw new Error(`No signal connection ${id} found`); cjs-4.6.0/modules/core/_signals.js-78-} ############################################## cjs-4.6.0/modules/core/_signals.js-141- // signal emission cjs-4.6.0/modules/core/_signals.js:142: logError(e, `Exception in callback for signal: ${name}`); cjs-4.6.0/modules/core/_signals.js-143- } ############################################## cjs-4.6.0/modules/core/_signals.js-149- if (proto[functionName] && proto[functionName] !== func) cjs-4.6.0/modules/core/_signals.js:150: log(`WARNING: addSignalMethods is replacing existing ${proto} ${functionName} method`); cjs-4.6.0/modules/core/_signals.js-151- ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-1136--${XVFB_INVOCATION} -help 2>/dev/null 1>&2 \ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:1137:- && XID=`for id in $(XIDS) ; do test -e /tmp/.X$$id-lock || { echo $$id; exit 0; }; done; exit 1` \ cjs-4.6.0/debian/patches/cjs-mozjs72.patch-1138-- && { ${XVFB} :$$XID -nolisten tcp -auth /dev/null >/dev/null 2>&1 & \ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-3263--# Run this to generate all the initial makefiles, etc. cjs-4.6.0/debian/patches/cjs-mozjs72.patch:3264:-test -n "$srcdir" || srcdir=`dirname "$0"` cjs-4.6.0/debian/patches/cjs-mozjs72.patch-3265--test -z "$srcdir" && srcdir=. ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-11551-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:11552:+ /* Use debug_addr() only for debug logging, because it is unbarriered. */ cjs-4.6.0/debian/patches/cjs-mozjs72.patch-11553-+ template <typename U = T> cjs-4.6.0/debian/patches/cjs-mozjs72.patch:11554:+ [[nodiscard]] const void* debug_addr( cjs-4.6.0/debian/patches/cjs-mozjs72.patch-11555-+ std::enable_if_t<std::is_pointer_v<U>>* = nullptr) const { ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-16977-+ GLib.log_structured(LOG_DOMAIN, level, { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:16978:+ 'MESSAGE': `${message}`, cjs-4.6.0/debian/patches/cjs-mozjs72.patch-16979-+ 'SYSLOG_IDENTIFIER': 'org.gnome.Polari', ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-17060-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:17061:+The `$gtype` property gives the GType object for the given type. This is the proper way to find the GType given an object or a class. For a class, `GObject.type_from_name('GtkLabel')` would work too if you know the GType name, but only if you had previously constructed a Gtk.Label object. cjs-4.6.0/debian/patches/cjs-mozjs72.patch-17062-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-17361-+// Using native template literals (Output: Pi to 2 decimal points: 3.14) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:17362:+`${foo} to ${bar*2} decimal points: ${baz.toFixed(bar*2)}` cjs-4.6.0/debian/patches/cjs-mozjs72.patch-17363-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-17625-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:17626:+This `main()` function should initialize a GApplication whose id is **${entry-point-name}**, and do all the work inside the GApplication `vfunc_*` handlers. cjs-4.6.0/debian/patches/cjs-mozjs72.patch-17627-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-17767-+ GLib.idle_add(GLib.PRIORITY_DEFAULT_IDLE, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:17768:+ log(`number is: ${i}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-17769-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-17917-+function updateDisplay() { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:17918:+ label.set_markup(`<span size='30000'>${calcVal}</span>`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-17919-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-17943-+ calcVal = Math.floor(calcVal * 10000) / 10000; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:17944:+ label.set_markup(`<span size='30000'>${calcVal}</span>`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-17945-+} ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-17957-+function swapSign() { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:17958:+ calcVal = calcVal[0] === '-' ? calcVal.substring(1) : `-${calcVal}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-17959-+ updateDisplay(); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-17962-+function randomNum() { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:17963:+ calcVal = `${Math.floor(Math.random() * 1000)}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-17964-+ updateDisplay(); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18119-+function onNameAppeared(connection, name, _owner) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:18120:+ print(`"${name}" appeared on the session bus`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18121-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18137-+ proxySignalId = proxy.connectSignal('TestSignal', (proxy_, name_, args) => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:18138:+ print(`TestSignal: ${args[0]}, ${args[1]}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18139-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18145-+ for (let [prop, value] of Object.entries(changed.deepUnpack())) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:18146:+ print(`Property '${prop}' changed to '${value.deepUnpack()}'`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18147-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18148-+ for (let prop of invalidated) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:18149:+ print(`Property '${prop}' invalidated`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18150-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18153-+ // Reading and writing properties is straight-forward cjs-4.6.0/debian/patches/cjs-mozjs72.patch:18154:+ print(`ReadOnlyProperty: ${proxy.ReadOnlyProperty}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18155-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:18156:+ print(`ReadWriteProperty: ${proxy.ReadWriteProperty}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18157-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18158-+ proxy.ReadWriteProperty = !proxy.ReadWriteProperty; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:18159:+ print(`ReadWriteProperty: ${proxy.ReadWriteProperty}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18160-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18165-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:18166:+ print(`SimpleMethod: ${value}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18167-+ } catch (e) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:18168:+ logError(`SimpleMethod: ${e.message}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18169-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18178-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:18179:+ print(`ComplexMethod: ${value}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18180-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18189-+function onNameVanished(connection, name) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:18190:+ print(`"${name}" vanished from the session bus`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18191-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18237-+ proxy = sourceObj; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:18238:+ print(`ReadOnlyProperty: ${proxy.ReadOnlyProperty}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18239-+ }, ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18312-+ ComplexMethod(input) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:18313:+ print(`ComplexMethod() invoked with "${input}"`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18314-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18866-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:18867:+ log(`body:\n${byteArray.toString(byteArray.fromGBytes(data))}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18868-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18882-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:18883:+ log(`status: ${message.status_code} - ${message.reason_phrase}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18884-+ message.response_headers.foreach((name, value) => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:18885:+ log(`${name}: ${value}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-18886-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-19015-+ const str = byteArray.toString(byteArray.fromGBytes(data)); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:19016:+ log(`message: ${str}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-19017-+ connection.close(Soup.WebsocketCloseCode.NORMAL, null); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-27282-+ "object %p", cjs-4.6.0/debian/patches/cjs-mozjs72.patch:27283:+ c, c->func.debug_addr()); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-27284- ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-27308-+ gjs_debug_closure("Invalidating closure %p which calls function %p", cjs-4.6.0/debian/patches/cjs-mozjs72.patch:27309:+ closure, c->func.debug_addr()); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-27310- ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-27334-+ gjs_debug_closure("Invalidating signal closure %p which calls function %p", cjs-4.6.0/debian/patches/cjs-mozjs72.patch:27335:+ closure, self->func.debug_addr()); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-27336- ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-27388-+ "closure %p function %p", cjs-4.6.0/debian/patches/cjs-mozjs72.patch:27389:+ closure, c->func.debug_addr()); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-27390- /* If an exception has been thrown, log it, unless the caller ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-27507-+ gjs_debug_closure("Create closure %p which calls function %p '%s'", gc, cjs-4.6.0/debian/patches/cjs-mozjs72.patch:27508:+ c->func.debug_addr(), description); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-27509- ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-34334-- g_type_query(type, query); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:34335:+const void* ObjectBase::jsobj_addr(void) const { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-34336-+ if (is_prototype()) cjs-4.6.0/debian/patches/cjs-mozjs72.patch-34337-+ return nullptr; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:34338:+ return to_instance()->m_wrapper.debug_addr(); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-34339- } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-38881-+ // This is used in debug methods only. cjs-4.6.0/debian/patches/cjs-mozjs72.patch:38882:+ [[nodiscard]] const void* jsobj_addr() const; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-38883-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-38887-+ void debug_lifecycle(const char* message) const { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:38888:+ GIWrapperBase::debug_lifecycle(jsobj_addr(), message); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-38889-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-43088-+ // Accessor for Instance member. Used only in debug methods and toString(). cjs-4.6.0/debian/patches/cjs-mozjs72.patch:43089:+ [[nodiscard]] const void* ptr_addr() const { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-43090-+ return is_prototype() ? nullptr : to_instance()->ptr(); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-43098-+ Base::debug_topic, "[%p: %s pointer %p - %s.%s (%s)] %s", this, cjs-4.6.0/debian/patches/cjs-mozjs72.patch:43099:+ Base::debug_tag, ptr_addr(), ns(), name(), type_name(), message); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-43100-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-43105-+ "[%p: %s pointer %p - JS wrapper %p - %s.%s (%s)] %s", this, cjs-4.6.0/debian/patches/cjs-mozjs72.patch:43106:+ Base::debug_tag, ptr_addr(), obj, ns(), name(), type_name(), cjs-4.6.0/debian/patches/cjs-mozjs72.patch-43107-+ message); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-43114-+ "[%p: %s pointer %p - JS wrapper %p - %s.%s (%s)] %s '%s'", this, cjs-4.6.0/debian/patches/cjs-mozjs72.patch:43115:+ Base::debug_tag, ptr_addr(), obj, ns(), name(), type_name(), cjs-4.6.0/debian/patches/cjs-mozjs72.patch-43116-+ message, id); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-43359-+ cx, obj, static_cast<const Base*>(priv)->to_string_kind(), cjs-4.6.0/debian/patches/cjs-mozjs72.patch:43360:+ priv->info(), priv->gtype(), priv->ptr_addr(), args.rval()); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-43361-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-43708-+ * Also defines all the requested methods and properties on the prototype cjs-4.6.0/debian/patches/cjs-mozjs72.patch:43709:+ * and constructor objects (see define_jsclass()), as well as a `$gtype` cjs-4.6.0/debian/patches/cjs-mozjs72.patch-43710-+ * property and a toString() method. ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-44062-- @any_failed=; \ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:44063:- find "`test -z "$(top_srcdir)" && echo . || echo "$(top_srcdir)"`" -name Makefile.am | while read x; do \ cjs-4.6.0/debian/patches/cjs-mozjs72.patch-44064-- if grep 'include .*/git.mk' $$x >/dev/null; then \ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-44261-- } | \ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:44262:- sed "s@^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \ cjs-4.6.0/debian/patches/cjs-mozjs72.patch-44263-- sed 's@/[.]/@/@g' | \ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-45056-+ret 5 cjs-4.6.0/debian/patches/cjs-mozjs72.patch:45057:+ret `${4 * 10 + 2} is the answer` cjs-4.6.0/debian/patches/cjs-mozjs72.patch-45058-+c ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-45094-+Breakpoint 3, func3() at return.debugger.js:10:4 cjs-4.6.0/debian/patches/cjs-mozjs72.patch:45095:+db> ret `${4 * 10 + 2} is the answer` cjs-4.6.0/debian/patches/cjs-mozjs72.patch-45096-+42 is the answer ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-45252-+} catch (e) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:45253:+ print(`Exception: ${e}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-45254-+} ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-45852-- print('1..' + info.totalSpecsDefined); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:45853:+ print(`1..${info.totalSpecsDefined}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-45854- } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-45860-- print('# ' + result.message); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:45861:+ print(`# ${result.message}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-45862- }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-45898-- tap_report += ' ' + this._specCount + ' ' + result.fullName; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:45899:+ tapReport += ` ${this._specCount} ${result.fullName}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-45900- if (result.status === 'pending' || result.status === 'disabled') { ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-45902-- tap_report += ' # SKIP ' + reason; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:45903:+ tapReport += ` # SKIP ${reason}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-45904- } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-45915-- print(stackTrace.split('\n').map((str) => '# ' + str).join('\n')); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:45916:+ print(stackTrace.split('\n').map(str => `# ${str}`).join('\n')); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-45917- }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-46387-+ ['none', 'full'].forEach(transfer => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:46388:+ it(`can be marshalled as a transfer-${transfer} return value`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:46389:+ const outSurface = Regress[`test_cairo_surface_${transfer}_return`](); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-46390-+ expect(outSurface.getFormat()).toEqual(Cairo.Format.ARGB32); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-47945-- return a + " " + b + " " + c + " " + d + " " + e; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:47946:+ return `${a} ${b} ${c} ${d} ${e}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-47947- } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48058-+ waitId = 0; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48059:+ throw new Error(`Timeout waiting for property ${property} expired`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48060-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48081-- log("Acquired name " + name); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48082:+ log(`Acquired name ${name}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48083- loop.quit(); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48086-- log("Lost name " + name); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48087:+ log(`Lost name ${name}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48088- }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48348-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48349:+function testReturnValue(root, value, {omit, skip, funcName = `${root}_return`} = {}) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48350-+ if (omit) ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48358-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48359:+function testInParameter(root, value, {omit, skip, funcName = `${root}_in`} = {}) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48360-+ if (omit) ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48368-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48369:+function testOutParameter(root, value, {omit, skip, funcName = `${root}_out`} = {}) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48370-+ if (omit) ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48379-+function testInoutParameter(root, inValue, outValue, cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48380:+ {omit, skip, funcName = `${root}_inout`} = {}) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48381-+ if (omit) ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48398-+ describe('with transfer none', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48399:+ testSimpleMarshalling(`${root}_none`, value, inoutValue, options.none); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48400-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48410-+ Object.assign(fullOptions, options.full); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48411:+ testSimpleMarshalling(`${root}_full`, value, inoutValue, fullOptions); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48412-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48426-+ Object.assign(containerOptions, options.container); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48427:+ testSimpleMarshalling(`${root}_container`, value, inoutValue, containerOptions); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48428-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48500-+ [true, false].forEach(bool => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48501:+ describe(`${bool}`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48502-+ testSimpleMarshalling('boolean', bool, !bool, { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48503-+ returnv: { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48504:+ funcName: `boolean_return_${bool}`, cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48505-+ }, cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48506-+ in: { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48507:+ funcName: `boolean_in_${bool}`, cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48508-+ }, cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48509-+ out: { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48510:+ funcName: `boolean_out_${bool}`, cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48511-+ }, cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48512-+ inout: { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48513:+ funcName: `boolean_inout_${bool}_${!bool}`, cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48514-+ }, ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48520-+describe('Integer', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48521:+ Object.entries(Limits).forEach(([type, {min, max, umax, bit64, utype = `u${type}`}]) => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48522:+ describe(`${type}-typed`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48523-+ it('marshals signed value as a return value', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48524:+ expect(warn64(bit64, GIMarshallingTests[`${type}_return_max`])).toEqual(max); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48525:+ expect(warn64(bit64, GIMarshallingTests[`${type}_return_min`])).toEqual(min); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48526-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48529-+ skip64(bit64); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48530:+ expect(() => GIMarshallingTests[`${type}_in_max`](max)).not.toThrow(); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48531:+ expect(() => GIMarshallingTests[`${type}_in_min`](min)).not.toThrow(); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48532-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48534-+ it('marshals signed value as an out parameter', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48535:+ expect(warn64(bit64, GIMarshallingTests[`${type}_out_max`])).toEqual(max); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48536:+ expect(warn64(bit64, GIMarshallingTests[`${type}_out_min`])).toEqual(min); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48537-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48540-+ skip64(bit64); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48541:+ expect(GIMarshallingTests[`${type}_inout_max_min`](max)).toEqual(min); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48542:+ expect(GIMarshallingTests[`${type}_inout_min_max`](min)).toEqual(max); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48543-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48545-+ it('marshals unsigned value as a return value', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48546:+ expect(warn64(bit64, GIMarshallingTests[`${utype}_return`])).toEqual(umax); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48547-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48550-+ skip64(bit64); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48551:+ expect(() => GIMarshallingTests[`${utype}_in`](umax)).not.toThrow(); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48552-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48554-+ it('marshals unsigned value as an out parameter', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48555:+ expect(warn64(bit64, GIMarshallingTests[`${utype}_out`])).toEqual(umax); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48556-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48559-+ skip64(bit64); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48560:+ expect(GIMarshallingTests[`${utype}_inout`](umax)).toEqual(0); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48561-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48580-+ Object.entries(FloatLimits).forEach(([type, {min, max}]) => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48581:+ describe(`${type}-typed`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48582-+ it('marshals value as a return value', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48583:+ expect(GIMarshallingTests[`${type}_return`]()).toBeCloseTo(max, 10); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48584-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48588-+ it('marshals value as an out parameter', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48589:+ expect(GIMarshallingTests[`${type}_out`]()).toBeCloseTo(max, 10); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48590-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48592-+ it('marshals value as an inout parameter', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48593:+ expect(GIMarshallingTests[`${type}_inout`](max)).toBeCloseTo(min, 10); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48594-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48914-+ ['none', 'container', 'full'].forEach(transfer => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48915:+ xit(`marshals as a transfer-${transfer} in and out parameter`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48916-+ const returnedArray = cjs-4.6.0/debian/patches/cjs-mozjs72.patch:48917:+ GIMarshallingTests[`array_gvariant_${transfer}_in`](variantArray); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-48918-+ expect(returnedArray.map(v => v.deepUnpack())).toEqual([27, 'Hello']); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-49077-+ describe('of ints with transfer none', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:49078:+ testReturnValue(`${list}_int_none`, [-1, 0, 1, 2]); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:49079:+ testInParameter(`${list}_int_none`, [-1, 0, 1, 2]); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-49080-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-49089-+ describe('of strings', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:49090:+ testContainerMarshalling(`${list}_utf8`, ['0', '1', '2'], cjs-4.6.0/debian/patches/cjs-mozjs72.patch-49091-+ ['-2', '-1', '0', '1']); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-49560-+ ['return', 'out'].forEach(mode => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:49561:+ it(`marshals as a ${mode} parameter with transfer ${transfer}`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:49562:+ expect(GIMarshallingTests.Object[`${transfer}_${mode}`]().int).toEqual(0); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-49563-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-49565-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:49566:+ it(`marshals as an inout parameter with transfer ${transfer}`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-49567-+ const o = new GIMarshallingTests.Object({int: 42}); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:49568:+ expect(GIMarshallingTests.Object[`${transfer}_inout`](o).int).toEqual(0); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-49569-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-49747-+ function testVfuncRefcount(mode, transfer, expectedRefcount, options = {}, ...args) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:49748:+ it(`marshals an object ${mode} parameter with transfer ${transfer}`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-49749-+ if (options.skip) ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-49751-+ const [refcount, floating] = cjs-4.6.0/debian/patches/cjs-mozjs72.patch:49752:+ tester[`get_ref_info_for_vfunc_${mode}_object_transfer_${transfer}`](...args); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-49753-+ expect(floating).toBeFalsy(); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-50095-+ function testPropertyGetSet(type, value1, value2, skip = false) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:50096:+ it(`gets and sets a ${type} property`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-50097-+ if (skip) cjs-4.6.0/debian/patches/cjs-mozjs72.patch-50098-+ pending(skip); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:50099:+ obj[`some_${type}`] = value1; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:50100:+ expect(obj[`some_${type}`]).toEqual(value1); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:50101:+ obj[`some_${type}`] = value2; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:50102:+ expect(obj[`some_${type}`]).toEqual(value2); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-50103-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-50298-+ GLib.test_assert_expected_messages_internal('Gjs', 'testGLib.js', 0, cjs-4.6.0/debian/patches/cjs-mozjs72.patch:50299:+ `test GLib.${testName}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-50300-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-50744-- this._subclass_readwrite = 'subclass' + val; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:50745:+ this._subclass_readwrite = `subclass${val}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-50746- } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-50970-+ GLib.test_expect_message('Gjs', GLib.LogLevelFlags.LEVEL_WARNING, cjs-4.6.0/debian/patches/cjs-mozjs72.patch:50971:+ `*RangeError: Provided GType name '${gtypeName}' is not valid; ` + cjs-4.6.0/debian/patches/cjs-mozjs72.patch:50972:+ `automatically sanitized to '${expectedSanitized}'*`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-50973-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-51775-+ KINDS.forEach(kind => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:51776:+ expect(() => settings[`get_${kind}`]('foobar')).toThrowError(/key/); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-51777-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-51781-+ KINDS.forEach(kind => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:51782:+ expect(() => settings[`set_${kind}`]('foobar', null)).toThrowError(/key/); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-51783-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-53053-- } cjs-4.6.0/debian/patches/cjs-mozjs72.patch:53054:+ return `${oldToString}; hello`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-53055-+ }, ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-53120-+ argumentGeneric(arg) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:53121:+ return `AnInterface.argumentGeneric(${arg})`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-53122- }, ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-53192-+ argumentGeneric(arg) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:53193:+ return AnInterface.argumentGeneric(this, `${arg} (hello from class)`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-53194-+ }, ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-53669-- this._subclass_readwrite = 'subclass' + val; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:53670:+ this._subclass_readwrite = `subclass${val}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-53671- }, ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54293-- describe('GObject.ParamSpec.' + type, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54294:+ describe(`GObject.ParamSpec.${type}`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54295- let paramSpec; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54361-+ [8, 16, 32, 64].forEach(bits => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54362:+ it(`includes ${bits}-bit integers`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54363:+ const method = `test_int${bits}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54364-+ expect(Regress[method](42)).toBe(42); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54367-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54368:+ it(`includes unsigned ${bits}-bit integers`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54369:+ expect(Regress[`test_uint${bits}`](42)).toBe(42); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54370-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54373-+ ['short', 'int', 'long', 'ssize', 'float', 'double'].forEach(type => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54374:+ it(`includes ${type}s`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54375:+ const method = `test_${type}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54376-+ expect(Regress[method](42)).toBe(42); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54381-+ ['ushort', 'uint', 'ulong', 'size'].forEach(type => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54382:+ it(`includes ${type}s`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54383:+ expect(Regress[`test_${type}`](42)).toBe(42); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54384-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54388-+ ['uint8', 'uint16', 'uint32', 'uint64', 'uint', 'size'].forEach(type => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54389:+ it(`for ${type}`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54390:+ expect(() => Regress[`test_${type}`](-42)).toThrow(); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54391-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54544-+ ['int', 'gint8', 'gint16', 'gint32', 'gint64'].forEach(inttype => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54545:+ it(`arrays of ${inttype} in`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54546:+ expect(Regress[`test_array_${inttype}_in`]([1, 2, 3, 4])).toEqual(10); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54547-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54635-+ ['glist', 'gslist'].forEach(list => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54636:+ describe(`${list} types`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54637-+ const STR_LIST = ['1', '2', '3']; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54639-+ it('return with transfer-none', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54640:+ expect(Regress[`test_${list}_nothing_return`]()).toEqual(STR_LIST); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54641:+ expect(Regress[`test_${list}_nothing_return2`]()).toEqual(STR_LIST); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54642-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54644-+ it('return with transfer-container', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54645:+ expect(Regress[`test_${list}_container_return`]()).toEqual(STR_LIST); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54646-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54648-+ it('return with transfer-full', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54649:+ expect(Regress[`test_${list}_everything_return`]()).toEqual(STR_LIST); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54650-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54652-+ it('in with transfer-none', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54653:+ Regress[`test_${list}_nothing_in`](STR_LIST); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54654:+ Regress[`test_${list}_nothing_in2`](STR_LIST); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54655-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54657-+ it('nullable in', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54658:+ expect(() => Regress[`test_${list}_null_in`]([])).not.toThrow(); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54659-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54661-+ it('nullable out', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54662:+ expect(Regress[`test_${list}_null_out`]()).toEqual([]); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54663-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54665-+ xit('in with transfer-container', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:54666:+ Regress[`test_${list}_container_in`](STR_LIST); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-54667-+ }).pend('Function not added to gobject-introspection test suite yet'); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-55662-+ ['simple', 'noptr'].forEach(type => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:55663:+ it(`${type} callback`, function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-55664-+ const callback = jasmine.createSpy('callback'); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:55665:+ Regress[`test_${type}_callback`](callback); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-55666-+ expect(callback).toHaveBeenCalled(); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-55669-+ it('null simple callback', function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:55670:+ expect(() => Regress[`test_${type}_callback`](null)).not.toThrow(); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-55671-+ }); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-63889-+ if (!propdesc.get && !propdesc.set) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:63890:+ const privateName = Symbol(`__autogeneratedAccessor__${name}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-63891-+ const defaultValue = pspec.get_default_value(); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-63904-+ propdesc.get = function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:63905:+ throw new Error(`setter defined without getter for property ${name}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-63906-+ }; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-63908-+ propdesc.set = function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:63909:+ throw new Error(`getter defined without setter for property ${name}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-63910-+ }; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-63913-+ propdesc.get = function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:63914:+ throw new Error(`missing getter for read-only property ${name}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-63915-+ }; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-63917-+ propdesc.set = function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:63918:+ throw new Error(`missing setter for write-only property ${name}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-63919-+ }; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64020-+ default: cjs-4.6.0/debian/patches/cjs-mozjs72.patch:64021:+ throw new Error(`Unsupported conversion character %${genericGroup}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64022-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64484-+ if (connection.disconnected) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:64485:+ throw new Error(`Signal handler id ${id} already disconnected`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64486-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64494-+ } cjs-4.6.0/debian/patches/cjs-mozjs72.patch:64495:+ throw new Error(`No signal connection ${id} found`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64496-+} ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64559-+ // signal emission cjs-4.6.0/debian/patches/cjs-mozjs72.patch:64560:+ logError(e, `Exception in callback for signal: ${name}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64561-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64567-+ if (proto[functionName] && proto[functionName] !== func) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:64568:+ log(`WARNING: addSignalMethods is replacing existing ${proto} ${functionName} method`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64569-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64655-+ if (!isSimple && char !== 'v') cjs-4.6.0/debian/patches/cjs-mozjs72.patch:64656:+ throw new TypeError(`Invalid GVariant signature (${char} is not a valid type)`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64657-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64772-+ default: cjs-4.6.0/debian/patches/cjs-mozjs72.patch:64773:+ throw new TypeError(`Invalid GVariant signature (unexpected character ${char})`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64774-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64860-+function _notIntrospectableError(funcName, replacement) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:64861:+ return new Error(`${funcName} is not introspectable. Use ${replacement} instead.`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64862-+} ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64869-+ if ('-^]\\'.includes(char)) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:64870:+ return `\\${char}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64871-+ return char; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64914-+ this.Variant.prototype.toString = function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:64915:+ return `[object variant of type "${this.get_type_string()}"]`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-64916-+ }; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65003-+ _warnNotIntrospectable('GLib.ascii_dtostr()', 'JS string conversion'); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65004:+ return `${number}`.slice(0, len); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65005-+ }; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65038-+ const escapedDelimiterChars = delimiterChars.map(_escapeCharacterSetChars); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65039:+ const delimiterRegex = new RegExp(`[${escapedDelimiterChars.join('')}]`, 'g'); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65040-+ return string.replace(delimiterRegex, newDelimiter); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65050-+ const escapedValidArray = validArray.map(_escapeCharacterSetChars); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65051:+ const invalidRegex = new RegExp(`[^${escapedValidArray.join('')}]`, 'g'); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65052-+ return string.replace(invalidRegex, substitutor); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65143-+ throw new TypeError('GObject.registerClass() used with invalid base ' + cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65144:+ `class (is ${Object.getPrototypeOf(klass).name})`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65145-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65167-+ } catch (e) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65168:+ throw new TypeError(`Invalid signal ${signalName}: ${e.message}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65169-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65199-+ scriptDir = scriptDir.replace(/^\/|\/$/g, ''); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65200:+ basename = `${scriptDir.split('/').reverse()[0]}_${basename}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65201-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65214-+ if (sanitized !== klass[GTypeName]) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65215:+ logError(new RangeError(`Provided GType name '${klass[GTypeName]}' ` + cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65216:+ `is not valid; automatically sanitized to '${sanitized}'`)); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65217-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65224-+ if (callerBasename) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65225:+ gtypeClassName = `${callerBasename}_${gtypeClassName}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65226-+ } cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65227-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65228:+ return sanitizeGType(`Gjs_${gtypeClassName}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65229-+} ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65291-+ throw new Error('The following interfaces must be implemented before ' + cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65292:+ `${iface.name}: ${unfulfilledReqs.join(', ')}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65293-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65301-+ let gtype = GObject.type_from_name(gtypeName); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65302:+ obj[`TYPE_${upperName}`] = gtype; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65303-+ obj[name] = function (v) { ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65859-+ if (val >= numFds) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65860:+ throw new Error(`handle ${val} is out of range of Gio.UnixFDList ` + cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65861:+ `containing ${numFds} FDs`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65862-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65906-+ } else if (argArray.length > maxNumberArgs) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65907:+ throw new Error(`Too many arguments passed for method ${methodName}. ` + cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65908:+ `Maximum is ${maxNumberArgs} including one callback, ` + cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65909-+ 'Gio.Cancellable, Gio.UnixFDList, and/or flags'); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65923-+ } else { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65924:+ throw new Error(`Argument ${argNum} of method ${methodName} is ` + cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65925:+ `${typeof arg}. It should be a callback, flags, ` + cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65926-+ 'Gio.UnixFDList, or a Gio.Cancellable'); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65929-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65930:+ const inTypeString = `(${inSignature.join('')})`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65931-+ const inVariant = new GLib.Variant(inTypeString, argArray); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65933-+ if (!fdList) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65934:+ throw new Error(`Method ${methodName} with input type containing ` + cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65935-+ '\'h\' must have a Gio.UnixFDList as an argument'); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65963-+ if (exc !== null) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:65964:+ log(`Ignored exception from dbus method: ${exc}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-65965-+} ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66016-+ var method = methods[i]; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66017:+ this[`${method.name}Remote`] = _makeProxyMethod(methods[i], false); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66018:+ this[`${method.name}Sync`] = _makeProxyMethod(methods[i], true); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66019-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66026-+ let getter = () => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66027:+ throw new Error(`Property ${name} is not readable`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66028-+ }; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66029-+ let setter = () => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66030:+ throw new Error(`Property ${name} is not writable`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66031-+ }; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66088-+ return constructor(value); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66089:+ throw TypeError(`Invalid type ${Object.prototype.toString.call(value)}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66090-+} ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66129-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66130:+ return `${ret})`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66131-+} ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66146-+ // likely to be a normal JS error cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66147:+ name = `org.gnome.gjs.JSError.${name}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66148-+ } cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66149:+ logError(e, `Exception in method call: ${methodName}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66150-+ invocation.return_dbus_error(name, e.message); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66180-+ } cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66181:+ } else if (this[`${methodName}Async`]) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66182-+ const fdList = invocation.get_message().get_unix_fd_list(); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66183:+ this[`${methodName}Async`](parameters.deepUnpack(), invocation, fdList); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66184-+ } else { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66185:+ log(`Missing handler for DBus method ${methodName}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66186-+ invocation.return_gerror(new Gio.DBusError({ cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66187-+ code: Gio.DBusError.UNKNOWN_METHOD, cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66188:+ message: `Method ${methodName} is not implemented`, cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66189-+ })); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66235-+function _promisify(proto, asyncFunc, finishFunc) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66236:+ if (proto[`_original_${asyncFunc}`] !== undefined) cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66237-+ return; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66238:+ proto[`_original_${asyncFunc}`] = proto[asyncFunc]; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66239-+ proto[asyncFunc] = function (...args) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66240-+ if (!args.every(arg => typeof arg !== 'function')) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66241:+ return this[`_original_${asyncFunc}`](...args); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66242-+ return new Promise((resolve, reject) => { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66243-+ const callStack = new Error().stack.split('\n').filter(line => !line.match(/promisify/)).join('\n'); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66244:+ this[`_original_${asyncFunc}`](...args, function (source, res) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66245-+ try { ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66253-+ if (error.stack) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66254:+ error.stack += `### Promise created here: ###\n${callStack}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66255-+ else ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66335-+ if (!this.has_key(key)) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66336:+ throw new Error(`GSettings key ${key} not found in schema ${this.get_id()}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66337-+ return this._realGetKey(key); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66367-+ if (!settingsSchema) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66368:+ throw new Error(`GSettings schema ${props[schemaIdProp]} not found`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66369-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66372-+ throw new Error('Attempting to create schema ' + cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66373:+ `'${settingsSchema.get_id()}' without a path`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66374-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66377-+ props['path'] !== settingsSchemaPath) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66378:+ throw new Error(`GSettings created for path '${props['path']}'` + cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66379:+ `, but schema specifies '${settingsSchemaPath}'`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66380-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66391-+ if (!this._keys.includes(key)) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66392:+ throw new Error(`GSettings key ${key} not found in schema ${this.schema_id}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66393-+ }, ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66399-+ if (!this._children.includes(name)) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66400:+ throw new Error(`Child ${name} not found in GSettings schema ${this.schema_id}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66401-+ }, ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66515-+ for (let child of internalChildren) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66516:+ this[`_${child.replace(/-/g, '_')}`] = cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66517-+ this.get_template_child(this.constructor, child); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66597-+ } else if (typeof thisArg[handlerName] === 'undefined') { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66598:+ throw new Error(`A handler called ${handlerName} was not ` + cjs-4.6.0/debian/patches/cjs-mozjs72.patch:66599:+ `defined on ${thisArg}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-66600-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-67160-- throw new TypeError('GObject.registerClass() used with invalid base ' + cjs-4.6.0/debian/patches/cjs-mozjs72.patch:67161:- `class (is ${Object.getPrototypeOf(klass).name})`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-67162-- ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-67191-- return klass[GTypeName]; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:67192:- return `Gjs_${klass.name}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-67193--} ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-67247-- throw new Error('The following interfaces must be implemented before ' + cjs-4.6.0/debian/patches/cjs-mozjs72.patch:67248:- `${iface.name}: ${unfulfilledReqs.join(', ')}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-67249-- } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-67757-- return constructor(value); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:67758:- throw TypeError(`Invalid type ${Object.prototype.toString.call(value)}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-67759--} ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68337-+ return 'null'; // typeof null === 'object', so avoid that case cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68338:+ return typeof v !== 'object' || v === null ? uneval(v) : `[object ${v.class}]`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68339-+} ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68382-+ const i = nextDebuggeeValueIndex++; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68383:+ debuggeeValues[`$${i}`] = dv; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68384-+ const [brief, full] = debuggeeValueToString(dv, style); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68385:+ print(`$${i} = ${brief}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68386-+ if (full !== undefined) ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68408-+ } else { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68409:+ return `${this.type} code`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68410-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68422-+ if (pos) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68423:+ return `${fr} at ${pos}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68424-+ return fr; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68440-+ const url = this.url || '<unknown>'; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68441:+ return `${url}:${lineNumber}:${columnNumber}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68442-+}; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68457-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68458:+ print(`#${n.toString().padEnd(4)} ${f.describeFull()}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68459-+} ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68570-+function keysCommand(rest) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68571:+ return doPrint(`Object.keys(${rest})`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68572-+} ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68612-+ if (cv === null) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68613:+ print(`Debuggee died while determining what to ${action}. Stopped.`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68614-+ return; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68617-+ return [{[action]: cv['return']}]; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68618:+ print(`Exception determining what to ${action}. Stopped.`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68619-+ showDebuggeeValue(cv.throw); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68652-+ if (!f.older) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68653:+ print(`There is no frame ${rest}.`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68654-+ return; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68739-+ if (kind.finish) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68740:+ print(`Run till exit from ${startFrame.describeFull()}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68741-+ else ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68763-+ function stepEntered(newFrame) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68764:+ print(`entered frame: ${newFrame.describeFull()}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68765-+ if (!kind.until || newFrame.line === kind.stopLine) { ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68873-+ topFrame = focusedFrame = frame; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68874:+ print(`Breakpoint ${this.num}, ${frame.describeFull()}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68875-+ return repl(); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68879-+ toString() { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68880:+ return `Breakpoint ${this.num} at ${this.script.describeOffset(this.offset)}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68881-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68890-+ if (possibleOffsets.length === 0) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68891:+ print(`Unable to break at line ${where}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68892-+ return; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68914-+ if (bp === undefined) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68915:+ print(`Breakpoint ${breaknum} already deleted.`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68916-+ return; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68921-+ breakpoints[breaknum] = undefined; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68922:+ print(`${bp} deleted`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68923-+} ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68970-+ function printcmd(cmd) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:68971:+ print(` ${cmd.aliases.join(', ')} -- ${cmd.summary}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-68972-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69002-+function _printCommand(cmd) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:69003:+ print(`${cmd.summary}\n\n${cmd.helpText}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69004-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69007-+ for (var alias of cmd.aliases) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:69008:+ print(` ยท ${alias}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69009-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69021-+ else cjs-4.6.0/debian/patches/cjs-mozjs72.patch:69022:+ print(`No help found for ${cmd} command`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69023-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69058-+ if (!commands.hasOwnProperty(first)) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:69059:+ print(`unrecognized command '${first}'`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69060-+ return undefined; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69099-+ throw new Error( cjs-4.6.0/debian/patches/cjs-mozjs72.patch:69100:+ `Internal error: result of runcmd wasn't array or undefined: ${result}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69101-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69116-+ const site = promiseAllocationSite.toString().split('\n')[0]; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:69117:+ print(`Promise ${promiseID} started from ${site}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69118-+ return undefined; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69120-+dbg.onPromiseSettled = function (promise) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:69121:+ let message = `Promise ${promise.promiseID} ${promise.promiseState} `; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:69122:+ message += `after ${promise.promiseTimeToResolution.toFixed(3)} ms`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69123-+ let brief, full; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69125-+ [brief, full] = debuggeeValueToString(promise.promiseValue); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:69126:+ message += ` with ${brief}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69127-+ } else if (promise.promiseState === 'rejected' && ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69129-+ [brief, full] = debuggeeValueToString(promise.promiseReason); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:69130:+ message += ` with ${brief}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69131-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69139-+ topFrame = focusedFrame = frame; cjs-4.6.0/debian/patches/cjs-mozjs72.patch:69140:+ print(`Debugger statement, ${frame.describeFull()}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69141-+ return repl(); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69935-+_Base.prototype.toString = function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:69936:+ return `[object ${this.__name__}]`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69937-+}; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69949-+ if (!previous) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:69950:+ throw new TypeError(`The method '${name}' is not on the superclass`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-69951-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-70007-+Class.prototype.toString = function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:70008:+ return `[object ${this.__name__} for ${this.prototype.__name__}]`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-70009-+}; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-70022-+ if (params.Abstract && new.target.name === name) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:70023:+ throw new TypeError(`Cannot instantiate abstract class ${name}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-70024-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-70277-+Interface.prototype.toString = function () { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:70278:+ return `[interface ${this.__name__} for ${this.prototype.__name__}]`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-70279-+}; ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-70341-+ } catch (e) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:70342:+ throw new TypeError(`Invalid signal ${signalName}: ${e.message}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-70343-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-70350-+ else cjs-4.6.0/debian/patches/cjs-mozjs72.patch:70351:+ return `Gjs_${params.Name.replace(/[^a-z0-9_+-]/gi, '_')}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-70352-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-70434-+ if (!this._isValidClass(parent)) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:70435:+ throw new TypeError(`GObject.Class used with invalid base class (is ${parent})`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-70436-+ ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71423-- if (symbol) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:71424:- printerr(`Unsatisfied dependency: No ${symbol} in ${lib}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71425-- else cjs-4.6.0/debian/patches/cjs-mozjs72.patch:71426:- printerr(`Unsatisfied dependency: ${lib}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71427-- System.exit(1); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71583-+ let binary = Gio.File.new_for_path(System.programInvocationName); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:71584:+ let sourceBinary = Gio.File.new_for_path(`./src/${name}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71585-+ return binary.equal(sourceBinary); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71593-+function _makeNamePath(n) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:71594:+ return `/${n.replace(/\./g, '/')}`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71595-+} ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71680-+ let resource = Gio.Resource.load(GLib.build_filenamev([bld, 'src', cjs-4.6.0/debian/patches/cjs-mozjs72.patch:71681:+ `${name}.src.gresource`])); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71682-+ resource._register(); cjs-4.6.0/debian/patches/cjs-mozjs72.patch:71683:+ moduledir = `resource://${_makeNamePath(name)}/js`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71684-+ } catch (e) { ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71696-+ let resource = Gio.Resource.load(GLib.build_filenamev([pkgdatadir, cjs-4.6.0/debian/patches/cjs-mozjs72.patch:71697:+ `${name}.src.gresource`])); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71698-+ resource._register(); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71699-+ cjs-4.6.0/debian/patches/cjs-mozjs72.patch:71700:+ moduledir = `resource://${_makeNamePath(name)}/js`; cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71701-+ } catch (e) { ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71711-+ let resource = Gio.Resource.load(GLib.build_filenamev([pkgdatadir, cjs-4.6.0/debian/patches/cjs-mozjs72.patch:71712:+ `${name}.data.gresource`])); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71713-+ resource._register(); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71767-+ if (symbol) cjs-4.6.0/debian/patches/cjs-mozjs72.patch:71768:+ printerr(`Unsatisfied dependency: No ${symbol} in ${lib}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71769-+ else cjs-4.6.0/debian/patches/cjs-mozjs72.patch:71770:+ printerr(`Unsatisfied dependency: ${lib}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-71771-+ System.exit(1); ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-74564-+ } catch (e) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:74565:+ logError(e, `Error calling ${fnname}`); cjs-4.6.0/debian/patches/cjs-mozjs72.patch-74566-+ } ############################################## cjs-4.6.0/debian/patches/cjs-mozjs72.patch-74865-+ if (scopes[i][istr] == undefined) { cjs-4.6.0/debian/patches/cjs-mozjs72.patch:74866:+ log(`The property ${istr} doesn't seem to be a ` + cjs-4.6.0/debian/patches/cjs-mozjs72.patch:74867:+ `normal object property of ${scopes[i]} or a ` + cjs-4.6.0/debian/patches/cjs-mozjs72.patch-74868-+ 'registered special property'); ############################################## cjs-4.6.0/.pc/cjs-mozjs72.patch/NEWS-656- + Spread operator in destructuring assignment: let [a, ...b] = [1, 2, 3]; cjs-4.6.0/.pc/cjs-mozjs72.patch/NEWS:657: + Template literals: `Hello, ${name}` with optional tags: tag`string` cjs-4.6.0/.pc/cjs-mozjs72.patch/NEWS-658- ############################################## cjs-4.6.0/.pc/cjs-mozjs72.patch/cjs/profiler.cpp-607- * Set the file to which profiling data is written when the @self is stopped. cjs-4.6.0/.pc/cjs-mozjs72.patch/cjs/profiler.cpp:608: * By default, this is `gjs-$PID.syscap` in the current directory. cjs-4.6.0/.pc/cjs-mozjs72.patch/cjs/profiler.cpp-609- */ ############################################## cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/overrides/GObject.js-81- throw new TypeError('GObject.registerClass() used with invalid base ' + cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/overrides/GObject.js:82: `class (is ${Object.getPrototypeOf(klass).name})`); cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/overrides/GObject.js-83- ############################################## cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/overrides/GObject.js-112- return klass[GTypeName]; cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/overrides/GObject.js:113: return `Gjs_${klass.name}`; cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/overrides/GObject.js-114-} ############################################## cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/overrides/GObject.js-168- throw new Error('The following interfaces must be implemented before ' + cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/overrides/GObject.js:169: `${iface.name}: ${unfulfilledReqs.join(', ')}`); cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/overrides/GObject.js-170- } ############################################## cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/overrides/Gio.js-205- return constructor(value); cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/overrides/Gio.js:206: throw TypeError(`Invalid type ${Object.prototype.toString.call(value)}`); cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/overrides/Gio.js-207-} ############################################## cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/package.js-247- if (symbol) cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/package.js:248: printerr(`Unsatisfied dependency: No ${symbol} in ${lib}`); cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/package.js-249- else cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/package.js:250: printerr(`Unsatisfied dependency: ${lib}`); cjs-4.6.0/.pc/cjs-mozjs72.patch/modules/package.js-251- System.exit(1); ############################################## cjs-4.6.0/.pc/cjs-mozjs72.patch/Makefile-test.am-15-${XVFB_INVOCATION} -help 2>/dev/null 1>&2 \ cjs-4.6.0/.pc/cjs-mozjs72.patch/Makefile-test.am:16: && XID=`for id in $(XIDS) ; do test -e /tmp/.X$$id-lock || { echo $$id; exit 0; }; done; exit 1` \ cjs-4.6.0/.pc/cjs-mozjs72.patch/Makefile-test.am-17- && { ${XVFB} :$$XID -nolisten tcp -auth /dev/null >/dev/null 2>&1 & \ ############################################## cjs-4.6.0/.pc/cjs-mozjs72.patch/autogen.sh-2-# Run this to generate all the initial makefiles, etc. cjs-4.6.0/.pc/cjs-mozjs72.patch/autogen.sh:3:test -n "$srcdir" || srcdir=`dirname "$0"` cjs-4.6.0/.pc/cjs-mozjs72.patch/autogen.sh-4-test -z "$srcdir" && srcdir=. ############################################## cjs-4.6.0/.pc/cjs-mozjs72.patch/git.mk-135- @any_failed=; \ cjs-4.6.0/.pc/cjs-mozjs72.patch/git.mk:136: find "`test -z "$(top_srcdir)" && echo . || echo "$(top_srcdir)"`" -name Makefile.am | while read x; do \ cjs-4.6.0/.pc/cjs-mozjs72.patch/git.mk-137- if grep 'include .*/git.mk' $$x >/dev/null; then \ ############################################## cjs-4.6.0/.pc/cjs-mozjs72.patch/git.mk-334- } | \ cjs-4.6.0/.pc/cjs-mozjs72.patch/git.mk:335: sed "s@^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \ cjs-4.6.0/.pc/cjs-mozjs72.patch/git.mk-336- sed 's@/[.]/@/@g' | \ ############################################## cjs-4.6.0/NEWS-1960- + Spread operator in destructuring assignment: let [a, ...b] = [1, 2, 3]; cjs-4.6.0/NEWS:1961: + Template literals: `Hello, ${name}` with optional tags: tag`string` cjs-4.6.0/NEWS-1962-