search for: spidermonkey

Displaying 20 results from an estimated 23 matches for "spidermonkey".

2007 Jan 12
1
compiling vs interpreting
So I thought I'd write this down, in case anyone has useful input to it or wants to read up on the decisions later. Currnetly swfdec compiles actions from a flash file into JSScript objects and executes them using the standard Spidermonkey API. While this allows all the niceties that are available with SpiderMonkey (most important: a whole debugging framework with stack inspection etc - see player/swfdebug to get an idea about this), I don't like this approach. I'm probably going to rewrite this into an interpreter that dupl...
2013 Aug 22
2
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
...here I'm going to have make modification in advance. It's worked so far with most things I've attempted but LLVM/Clang/compiler-rt is an order of magnitude more complex than anything else I've poked at. The biggest success I've had so far with this method is porting of Mozilla Spidermonkey/js17. > 2) If we're stepping on the path of porting some sanitizers to x32, it > would be great to > setup a buildbot, make our tests pass cleanly, and make this bot public to > catch regressions. > Do you have plans for that? Running sanitizer test suites also leads us > to....
2013 Aug 22
3
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
...tion in advance. It's worked so far with > > most things I've attempted but LLVM/Clang/compiler-rt is an order of > > magnitude more complex than anything else I've poked at. The biggest > > success I've had so far with this method is porting of Mozilla > > Spidermonkey/js17. > > > > So, IIUC, if you're working on making LLVM/Clang/compiler-rt source tree > build on x32 host, I suggest your first step should be: disable building > compiler-rt > on x32 host :) One of the reasons: in makefile-based build compiler-rt > sources > are co...
2013 Aug 22
0
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
...o have make modification in advance. It's worked so far with > most things I've attempted but LLVM/Clang/compiler-rt is an order of > magnitude more complex than anything else I've poked at. The biggest > success I've had so far with this method is porting of Mozilla > Spidermonkey/js17. > So, IIUC, if you're working on making LLVM/Clang/compiler-rt source tree build on x32 host, I suggest your first step should be: disable building compiler-rt on x32 host :) One of the reasons: in makefile-based build compiler-rt sources are compiled with just-built Clang (I honestly...
2013 Aug 22
1
[LLVMdev] X32 ABI support for Clang/compiler-rt (re: clang patch)
...with > > > > most things I've attempted but LLVM/Clang/compiler-rt is an order of > > > > magnitude more complex than anything else I've poked at. The biggest > > > > success I've had so far with this method is porting of Mozilla > > > > Spidermonkey/js17. > > > > > > > > > > So, IIUC, if you're working on making LLVM/Clang/compiler-rt source tree > > > build on x32 host, I suggest your first step should be: disable building > > > compiler-rt > > > on x32 host :) One of the reasons: i...
2013 Aug 22
0
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
...'s worked so far with > > > most things I've attempted but LLVM/Clang/compiler-rt is an order of > > > magnitude more complex than anything else I've poked at. The biggest > > > success I've had so far with this method is porting of Mozilla > > > Spidermonkey/js17. > > > > > > > So, IIUC, if you're working on making LLVM/Clang/compiler-rt source tree > > build on x32 host, I suggest your first step should be: disable building > > compiler-rt > > on x32 host :) One of the reasons: in makefile-based build compile...
2007 Jul 13
0
Swfdec 0.5.0
...95611eac1742f025e2d As noted above, a lot of work was put into the backend, in particular the Actionscript interpreter, which was completely replaced. The new interpreter is a lot more correct and is close to playing script-heavy Flash files like [1]. It's also way smaller than the old Mozilla-Spidermonkey script engine. For more new features see the changelog and news file. Of course new code means new bugs. Nonetheless, Swfdec should be very stable and not crash your browser. In the unlikely event of it doing this, please immediately file a bug at https://bugs.freedesktop.org. For more informatio...
2007 Feb 08
0
5 commits - configure.ac NEWS
...org> Date: Thu Feb 8 18:52:54 2007 +0100 update NEWS diff --git a/NEWS b/NEWS index 89cd329..9a828c5 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,15 @@ + 0.4.2 ("Two completely different numbers") + +The main change for this release is changing script execution from +compiling to SpiderMonkey bytecode to executiong it manually. This made +it far easier and a lot more stable to run scripts. Other changes: +- Implement color transformations on images. +- Support some more ActionScript codes. +- Added swfdec_loader_get_filename() function to exported API. +- Lots of bugfixes. +- Lots of ne...
2019 Mar 24
2
GSoC- Speculative compilation support in ORC v2 , looking for mentors!
...L;DR answer is: there is NO single answer, all depends on the > usages and engineering efforts. > Just give you examples on two of the most adopted methods: > trace-based(kind of similar to region based) and function-based. > Famous users of trace-based JIT are early versions of > SpiderMonkey(i.e. JS engine in Firefox) and Dalvik VM(i.e. the old VM > in Android). This approach can record hot path across functions, and > just like the old saying: global optimizations are always preferred. > However, it requires more engineering efforts and profiling/tracing is > almost ma...
2019 Mar 23
2
GSoC- Speculative compilation support in ORC v2 , looking for mentors!
Hi all, I would like to propose "Speculative compilation support in ORC v2 JIT API" for this year GSoC summer project. Project Description: Speculative compilation support. One of the selling points of the concurrent ORC APIs is that you can start compiling a function before you need it, in the hope that by the time that you do need it it is already compiled. However, if we just
2007 Jun 03
1
some patches for swfdec
Here are some patches I made yesterday. They add three actions: duplicateClip, removeClip and With, one method Math.abs and bug fixes. All base off 'as' branch. Please have a look if you are going to apply them because I'm quite new in swfdec development. BTW, how can I implement createEmptyMovieClip? I have no idea how to create an SwfdecMovie properly. I also need to add the
2007 Mar 20
0
9 commits - configure.ac libswfdec/swfdec_bits.c libswfdec/swfdec_debug.c libswfdec/swfdec_js.c libswfdec/swfdec_script.c libswfdec/swfdec_sound.c
...diff-tree a215263d77d59089a6caf849e11b95db07d9f366 (from c8b42caf93a8452742b0718882322aa91a608e36) Author: Benjamin Otte <otte@gnome.org> Date: Tue Mar 20 15:12:51 2007 +0100 remove SWFDEC_JS env var and related debugging stuff This was used when Swfdec compiled AS bytecode to Spidermonkey bytecode and is useless now. diff --git a/libswfdec/swfdec_js.c b/libswfdec/swfdec_js.c index 3e96503..5ec2303 100644 --- a/libswfdec/swfdec_js.c +++ b/libswfdec/swfdec_js.c @@ -68,16 +68,6 @@ static JSClass global_class = { JS_EnumerateStub,JS_ResolveStub,JS_ConvertStub,JS_FinalizeStub };...
2007 Jun 18
2
as branch progress report
...okkeeping. An important feature about GC'd strings is that they are unique, which means only one instance is allocated for every string. This means you can compare for equality using == instead of strcmp() or g_str_equal(). And that should speed up variable lookup, which was a bottleneck in the Spidermonkey engine. There is also the possibility of pre-allocating static strings inside Swfdec by adding them to the file swfdec_as_strings.c and then using the SWFDEC_AS_STR_foo macros. Back to the GC. Garbage collection is done using mark-and-sweep, which means it collects in two stages: 1) mark all used...
2006 Jun 25
17
JavaScript Compression
Is there a good windows-based JavaScript compressor which will reliably compress script aculo and prototype? Sam _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2013 Aug 22
0
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
Hi Steven, This looks interesting and raises a number of questions :) 1) Does applying this patch actually bring working sanitizers to x32 platform? That is, after you build the clang, does "clang -fsanitize=whatever foo.c" compile/link/run with expected results? I doubt that, as there is some platform-specific code in all the sanitizers, and many of them heavily depend on the address
2019 Mar 25
3
GSoC- Speculative compilation support in ORC v2 , looking for mentors!
...r, all depends on the >>> usages and engineering efforts. >>> Just give you examples on two of the most adopted methods: >>> trace-based(kind of similar to region based) and function-based. >>> Famous users of trace-based JIT are early versions of >>> SpiderMonkey(i.e. JS engine in Firefox) and Dalvik VM(i.e. the old >>> VM in Android). This approach can record hot path across functions, >>> and just like the old saying: global optimizations are always >>> preferred. However, it requires more engineering efforts and >>&gt...
2007 Feb 01
0
Branch 'interpreter' - 9 commits - libswfdec/js libswfdec/swfdec_script.c libswfdec/swfdec_script.h player/swfdec_debug_stack.c test/trace
...finity); diff-tree 1677a15cf65bf31fffa806f5e56c5b61e6ae4ffa (from f7160413607ea6b82e876fb453c1c4303d3479d5) Author: Benjamin Otte <otte@gnome.org> Date: Thu Feb 1 12:29:09 2007 +0100 fix to_number conversions for null in Flash 7 Flash 7 seems to treat null as NaN as opposed to SpiderMonkey, where null is 0. This patch fixes mathematical operations to do this correctly. diff --git a/libswfdec/swfdec_script.c b/libswfdec/swfdec_script.c index 4c0b163..d79a3d1 100644 --- a/libswfdec/swfdec_script.c +++ b/libswfdec/swfdec_script.c @@ -156,6 +156,17 @@ swfdec_action_to_number (JSCont...
2013 Aug 22
2
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
X32 support patch for compiler-rt. Applies against current trunk. --- projects/compiler-rt/make/platform/clang_linux.mk~ 2013-08-21 06:27:38.000000000 +0000 +++ projects/compiler-rt/make/platform/clang_linux.mk 2013-08-21 11:16:55.891621025 +0000 @@ -41,7 +41,18 @@ SupportedArches += x86_64 endif else - SupportedArches := x86_64 + # x86-64 arch has two ABIs 64 bit x86-64 and 32 bit
2007 Jan 26
0
Branch 'interpreter' - 9 commits - libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_debugger.c libswfdec/swfdec_debugger.h libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c
...et); } static gboolean diff-tree ea89d7b542169e7173d93938041a16515b93c896 (from 52828a39c261a28bf65734800692391b4f76b7c8) Author: Benjamin Otte <otte@gnome.org> Date: Fri Jan 26 18:06:33 2007 +0100 makee debugging work again I don't like the debugging implementation in SpiderMonkey at all, since it's too intrusive, but oh well... diff --git a/libswfdec/Makefile.am b/libswfdec/Makefile.am index 7233f02..0216266 100644 --- a/libswfdec/Makefile.am +++ b/libswfdec/Makefile.am @@ -15,7 +15,6 @@ lib_LTLIBRARIES = libswfdec-@SWFDEC_MAJO js_cflags = -I$(srcdir)/js/ -I./js...
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...to the docs add an intro for the new Enumerations section in the docs document SwfdecLoaderDataType allow --disable-ffmpeg and --disable-mad configure options (#10333, Mikel Olasagasti) Merge branch 'master' of ssh://company@git.freedesktop.org/git/swfdec make Spidermonkey 64bit clean make this code use unsigned variables so array indexes get 64bit clean fix swfdec_action_init_object indexing pointer arrays with overflowing uints instead of ulongs fix printf arguments to be 64bit clean performance: don't create ARGB surfaces for video...