- 29 Mar, 2018 1 commit
-
-
Jeremy Linton authored
An implicit authorization parameter is provided to polkit_backend_js_authority_check_authorization_sync() for actions without corresponding explicit rules. Assure that is honored rather than simply being denied. Signed-off-by:
Jeremy Linton <jeremy.linton@arm.com>
-
- 28 Mar, 2018 32 commits
-
-
Ray Strode authored
seems to work with mozjs52
-
Ray Strode authored
-
Ray Strode authored
it's not around anymore.
-
Ray Strode authored
-
Ray Strode authored
JS_EvaluateScript is no longer in the API set, so use JS::Evaluate instead.
-
Ray Strode authored
JS_ExecuteScript no longer takes a global argument.
-
Ray Strode authored
The global object is implicit now and the result is an out arg. This commit adapts to the new api.
-
Ray Strode authored
-
Ray Strode authored
This commit drops usage of JS_AddObjectRoot and switches the global object over to being wrapped in a JS::Heap pointer. It stops using JS_DefineObject which no longer seems to be available, and adds a new JS::FireOnNewGlobalHook which seems to be required.
-
Ray Strode authored
seems like it got renamed.
-
Ray Strode authored
The way args are passed in changed.
-
Ray Strode authored
-
Ray Strode authored
-
Ray Strode authored
-
Ray Strode authored
-
Ray Strode authored
-
Ray Strode authored
-
Ray Strode authored
This commit does a global search and replace for OBJECT_TO_JSVAL to JS::ObjectValue()
-
Ray Strode authored
This commit does a global search and replace for JSVAL_VOID to JS::UndefinedValue()
-
Ray Strode authored
This commit does a global search and replace for JSVAL_NULL to JS::NullValue()
-
Ray Strode authored
The API got renamed in mozjs31.
-
Ray Strode authored
It's been gone since mozjs31
-
Ray Strode authored
This just avoids the potential for security problems down the line.
-
Ray Strode authored
-
Ray Strode authored
This commit changes the code to use JS::SetWarningReporter instead of JS_SetErrorReporter. The latter, as far as I can tell, is just a slightly renamed version of the former with the args moved around a little bit.
-
Ray Strode authored
JS_SetOptions seems to be replaced with JS::ContextOptionsRef now. Also, disabling the JIT seems to be three options now instead of just one.
-
Ray Strode authored
This is now required
-
Ray Strode authored
This is now required
-
Ray Strode authored
it's now part of a behaviors method in CompartmentOptions
-
Ray Strode authored
Seems like JSContext is the only thing that matters now.
-
Ray Strode authored
since it doesn't crash if i do that
-
Ray Strode authored
mozjs no longer has public stub functions that implementers of JSClass objects are supposed to use. Instead NULL means to use the default stub implementations. Furthermore, the structure has been broken out into a JSClassOps sub structure now. This commit adapts the code to the new layout.
-
- 22 Mar, 2018 1 commit
-
-
Ray Strode authored
This is going to briefly break the build.
-
- 09 Oct, 2017 1 commit
-
-
Miloslav Trmač authored
Reported by Perter Klotz <peter.klotz99@gmail.com>. https://bugs.freedesktop.org/show_bug.cgi?id=103144
-
- 04 Sep, 2017 1 commit
-
-
Miloslav Trmač authored
By Cheng-Chia Tseng <pswo10680@gmail.com>. https://bugs.freedesktop.org/show_bug.cgi?id=102492
-
- 24 Apr, 2017 1 commit
-
-
- 04 Apr, 2017 1 commit
-
-
Rui Tiago Matos authored
Signed-off-by:
Rui Matos <tiagomatos@gmail.com> https://bugs.freedesktop.org/show_bug.cgi?id=99741
-
- 13 Feb, 2017 1 commit
-
-
- 12 Dec, 2016 1 commit
-
-
Colin Walters authored
I'm trying to keep a relatively standard set around, and the code there is cleaner than what we had before. Also, injecting as WARN_CFLAGS rather than changing CFLAGS during autoconf avoids any surprises from new warnings breaking autoconf checks.
-