Andreas Gal
483b7fd5a1
Removed a bogus assert. Inner loops can exit on a goto in case we hit a break (453051).
2008-09-03 01:21:21 -07:00
Natch
c44117d58c
Bug 449402: Don't fetch thumbnails in Add-ons manager if loading images is disabled. r=mossop
2008-09-03 08:42:16 +01:00
Dão Gottwald
f1cbf61eff
Bug 448928 - remove gIsLoadingBlank and gMustLoadSidebar from browser.js. r=gavin
2008-09-03 09:40:33 +02:00
Brendan Eich
4fa7c5195d
Put the trace-recording/executing flag in the trace monitor to handle many contexts per thread (451666, r=gal).
2008-09-03 00:38:24 -07:00
Andreas Gal
c466258c18
Limit tree growth to 16 traces per tree to avoid code explosion due to tail duplication (452869, r=danderson).
2008-09-02 23:52:11 -07:00
Andreas Gal
78b5b7fc05
Merge.
2008-09-02 23:11:51 -07:00
Andreas Gal
59b5581857
Add V8 benchmark suite.
2008-09-02 23:11:15 -07:00
Brendan Eich
3cd36a3b5f
Fix JS_THREADSAFE build, pick extern nit.
2008-09-02 23:00:23 -07:00
Vladimir Vukicevic
dfd7f72c0a
Fix up some ifdefs and debug printfs
2008-09-02 22:42:25 -07:00
Vladimir Vukicevic
a4ec50d569
Add VFP for floating point ops to nanojit ARM backend.
2008-09-02 22:29:23 -07:00
Vladimir Vukicevic
628b27d198
Indentation sanity fixes; no code changes.
2008-09-02 22:29:23 -07:00
Vladimir Vukicevic
2a520bab9f
Split NativeThumb.cpp into NativeThumb.cpp and NativeARM.cpp; no code changes.
2008-09-02 22:29:23 -07:00
Vladimir Vukicevic
420e72ed85
b=449526, TM: fix up ARM code generation / softfloat
2008-09-02 22:29:23 -07:00
Brendan Eich
e3916b316d
Teach js_IsLoopExit about JSOP_AND, JSOP_OR, etc. and separate extended jump cases so they can get the extended offsets.
2008-09-02 22:29:06 -07:00
Blake Kaplan
3d517dff43
Remove outdated comment. r=gal
2008-09-02 22:18:57 -07:00
Andreas Gal
0b6b7ba840
Merge.
2008-09-02 21:57:50 -07:00
Andreas Gal
f91071f139
Allocate the oracle dynamically instead of making it a global object to avoid atexit C compatibility issues (453388, r=danderson).
2008-09-02 21:56:22 -07:00
Josh Aas
5897c8df14
remove xpcom plugin api samples, sdk documentation updates, mac build updates. b=360955 rs=jst
2008-09-03 00:39:55 -04:00
Blake Kaplan
69a5d4ed08
Merge
2008-09-02 21:28:36 -07:00
Blake Kaplan
0f9167ca0b
Revert accidental hunk from the merge changeset cf844bddfe57 that's causing unittest orange. r=shaver
2008-09-02 21:26:49 -07:00
Taras Glek
b9b82a2bc3
bug 443286: avoid hidden return in CHECK_AND_SET_JUMP_OFFSET. r=igor
2008-09-02 20:50:19 -07:00
Brendan Eich
48926ba363
Fix bool FASTCALL vs. Nanojit calling convention bug, also some non-bool whoppers caught in the process (453361, r=mrbkap).
2008-09-02 15:37:22 -07:00
Brendan Eich
743793bc50
Fix warning pulled over from m-c (mrbkap will track down).
2008-09-02 15:30:42 -07:00
David Anderson
be89898254
Merge with mozilla-central.
2008-09-02 14:17:19 -07:00
Blake Kaplan
8f80eec070
Don't flush anything if we're not even enabled. r=gal
2008-09-02 14:02:13 -07:00
Taras Glek
c8962c44c2
bug 441362: Avoid an invisible return. r=igor
2008-09-02 13:32:27 -07:00
Josh Aas
78035bd0a8
bustage fix, don't build the sdk simple plugin
2008-09-02 15:55:03 -04:00
David Anderson
0af468fa80
Fixed accidental debugging change I pushed with changeset de2d26b3c902.
2008-09-02 12:36:23 -07:00
Josh Aas
f67ebb90ae
put all sample plugins into the npapi sdk. b=360955 rs=jst
...
--HG--
rename : modules/plugin/samples/4x-scriptable/acmeIScriptObject.idl => modules/plugin/sdk/samples/4x-scriptable/acmeIScriptObject.idl
rename : modules/plugin/samples/4x-scriptable/doc.html => modules/plugin/sdk/samples/4x-scriptable/doc.html
rename : modules/plugin/samples/4x-scriptable/makefile.win => modules/plugin/sdk/samples/4x-scriptable/makefile.win
rename : modules/plugin/samples/4x-scriptable/np4xscr.def => modules/plugin/sdk/samples/4x-scriptable/np4xscr.def
rename : modules/plugin/samples/4x-scriptable/np4xscr.rc => modules/plugin/sdk/samples/4x-scriptable/np4xscr.rc
rename : modules/plugin/samples/4x-scriptable/np_entry.cpp => modules/plugin/sdk/samples/4x-scriptable/np_entry.cpp
rename : modules/plugin/samples/4x-scriptable/npmac.cpp => modules/plugin/sdk/samples/4x-scriptable/npmac.cpp
rename : modules/plugin/samples/4x-scriptable/npn_gate.cpp => modules/plugin/sdk/samples/4x-scriptable/npn_gate.cpp
rename : modules/plugin/samples/4x-scriptable/npp_gate.cpp => modules/plugin/sdk/samples/4x-scriptable/npp_gate.cpp
rename : modules/plugin/samples/4x-scriptable/nsI4xScriptablePlugin.idl => modules/plugin/sdk/samples/4x-scriptable/nsI4xScriptablePlugin.idl
rename : modules/plugin/samples/4x-scriptable/nsScriptablePeer.cpp => modules/plugin/sdk/samples/4x-scriptable/nsScriptablePeer.cpp
rename : modules/plugin/samples/4x-scriptable/nsScriptablePeer.h => modules/plugin/sdk/samples/4x-scriptable/nsScriptablePeer.h
rename : modules/plugin/samples/4x-scriptable/nsScriptablePeer1.cpp => modules/plugin/sdk/samples/4x-scriptable/nsScriptablePeer1.cpp
rename : modules/plugin/samples/4x-scriptable/nsScriptablePeer1.h => modules/plugin/sdk/samples/4x-scriptable/nsScriptablePeer1.h
rename : modules/plugin/samples/4x-scriptable/plugin.cpp => modules/plugin/sdk/samples/4x-scriptable/plugin.cpp
rename : modules/plugin/samples/4x-scriptable/plugin.h => modules/plugin/sdk/samples/4x-scriptable/plugin.h
rename : modules/plugin/samples/4x-scriptable/readme.txt => modules/plugin/sdk/samples/4x-scriptable/readme.txt
rename : modules/plugin/samples/4x-scriptable/resource.h => modules/plugin/sdk/samples/4x-scriptable/resource.h
rename : modules/plugin/samples/4x-scriptable/script-test.html => modules/plugin/sdk/samples/4x-scriptable/script-test.html
rename : modules/plugin/samples/4x-scriptable/test.html => modules/plugin/sdk/samples/4x-scriptable/test.html
rename : modules/plugin/samples/SanePlugin/Makefile.in => modules/plugin/sdk/samples/SanePlugin/Makefile.in
rename : modules/plugin/samples/SanePlugin/README => modules/plugin/sdk/samples/SanePlugin/README
rename : modules/plugin/samples/SanePlugin/nsSanePlugin.cpp => modules/plugin/sdk/samples/SanePlugin/nsSanePlugin.cpp
rename : modules/plugin/samples/SanePlugin/nsSanePlugin.h => modules/plugin/sdk/samples/SanePlugin/nsSanePlugin.h
rename : modules/plugin/samples/SanePlugin/nsSanePluginControl.idl => modules/plugin/sdk/samples/SanePlugin/nsSanePluginControl.idl
rename : modules/plugin/samples/SanePlugin/nsSanePluginFactory.cpp => modules/plugin/sdk/samples/SanePlugin/nsSanePluginFactory.cpp
rename : modules/plugin/samples/SanePlugin/nsSanePluginFactory.h => modules/plugin/sdk/samples/SanePlugin/nsSanePluginFactory.h
rename : modules/plugin/samples/SanePlugin/nsSanePlugin_CID.h => modules/plugin/sdk/samples/SanePlugin/nsSanePlugin_CID.h
rename : modules/plugin/samples/SanePlugin/test/camera.html => modules/plugin/sdk/samples/SanePlugin/test/camera.html
rename : modules/plugin/samples/SanePlugin/test/scanner.html => modules/plugin/sdk/samples/SanePlugin/test/scanner.html
rename : modules/plugin/samples/npruntime/Makefile.in => modules/plugin/sdk/samples/npruntime/Makefile.in
rename : modules/plugin/samples/npruntime/np_entry.cpp => modules/plugin/sdk/samples/npruntime/np_entry.cpp
rename : modules/plugin/samples/npruntime/npn_gate.cpp => modules/plugin/sdk/samples/npruntime/npn_gate.cpp
rename : modules/plugin/samples/npruntime/npp_gate.cpp => modules/plugin/sdk/samples/npruntime/npp_gate.cpp
rename : modules/plugin/samples/npruntime/nprt.def => modules/plugin/sdk/samples/npruntime/nprt.def
rename : modules/plugin/samples/npruntime/nprt.rc => modules/plugin/sdk/samples/npruntime/nprt.rc
rename : modules/plugin/samples/npruntime/plugin.cpp => modules/plugin/sdk/samples/npruntime/plugin.cpp
rename : modules/plugin/samples/npruntime/plugin.h => modules/plugin/sdk/samples/npruntime/plugin.h
rename : modules/plugin/samples/npruntime/resource.h => modules/plugin/sdk/samples/npruntime/resource.h
rename : modules/plugin/samples/npruntime/test.html => modules/plugin/sdk/samples/npruntime/test.html
rename : modules/plugin/samples/npthread/windows/action.cpp => modules/plugin/sdk/samples/npthread/windows/action.cpp
rename : modules/plugin/samples/npthread/windows/action.h => modules/plugin/sdk/samples/npthread/windows/action.h
rename : modules/plugin/samples/npthread/windows/dbg.cpp => modules/plugin/sdk/samples/npthread/windows/dbg.cpp
rename : modules/plugin/samples/npthread/windows/dbg.h => modules/plugin/sdk/samples/npthread/windows/dbg.h
rename : modules/plugin/samples/npthread/windows/np_entry.cpp => modules/plugin/sdk/samples/npthread/windows/np_entry.cpp
rename : modules/plugin/samples/npthread/windows/npn_gate.cpp => modules/plugin/sdk/samples/npthread/windows/npn_gate.cpp
rename : modules/plugin/samples/npthread/windows/npp_gate.cpp => modules/plugin/sdk/samples/npthread/windows/npp_gate.cpp
rename : modules/plugin/samples/npthread/windows/npthread.def => modules/plugin/sdk/samples/npthread/windows/npthread.def
rename : modules/plugin/samples/npthread/windows/npthread.dsp => modules/plugin/sdk/samples/npthread/windows/npthread.dsp
rename : modules/plugin/samples/npthread/windows/npthread.dsw => modules/plugin/sdk/samples/npthread/windows/npthread.dsw
rename : modules/plugin/samples/npthread/windows/npthread.rc => modules/plugin/sdk/samples/npthread/windows/npthread.rc
rename : modules/plugin/samples/npthread/windows/plugin.cpp => modules/plugin/sdk/samples/npthread/windows/plugin.cpp
rename : modules/plugin/samples/npthread/windows/plugin.h => modules/plugin/sdk/samples/npthread/windows/plugin.h
rename : modules/plugin/samples/npthread/windows/plugload.cpp => modules/plugin/sdk/samples/npthread/windows/plugload.cpp
rename : modules/plugin/samples/npthread/windows/plugload.h => modules/plugin/sdk/samples/npthread/windows/plugload.h
rename : modules/plugin/samples/npthread/windows/readme.txt => modules/plugin/sdk/samples/npthread/windows/readme.txt
rename : modules/plugin/samples/npthread/windows/resource.h => modules/plugin/sdk/samples/npthread/windows/resource.h
rename : modules/plugin/samples/npthread/windows/thread.cpp => modules/plugin/sdk/samples/npthread/windows/thread.cpp
rename : modules/plugin/samples/npthread/windows/thread.h => modules/plugin/sdk/samples/npthread/windows/thread.h
rename : modules/plugin/samples/testevents/Makefile => modules/plugin/sdk/samples/testevents/Makefile
rename : modules/plugin/samples/testevents/Makefile.in => modules/plugin/sdk/samples/testevents/Makefile.in
rename : modules/plugin/samples/testevents/README.txt => modules/plugin/sdk/samples/testevents/README.txt
rename : modules/plugin/samples/testevents/SimpleEventsTest.html => modules/plugin/sdk/samples/testevents/SimpleEventsTest.html
rename : modules/plugin/samples/testevents/npevents.cpp => modules/plugin/sdk/samples/testevents/npevents.cpp
rename : modules/plugin/samples/testevents/nsIEventsPluginInstance.idl => modules/plugin/sdk/samples/testevents/nsIEventsPluginInstance.idl
rename : modules/plugin/samples/unixprinting/Makefile.in => modules/plugin/sdk/samples/unixprinting/Makefile.in
rename : modules/plugin/samples/unixprinting/npprint.pkg => modules/plugin/sdk/samples/unixprinting/npprint.pkg
rename : modules/plugin/samples/unixprinting/npshell.c => modules/plugin/sdk/samples/unixprinting/npshell.c
rename : modules/plugin/samples/unixprinting/npunix.c => modules/plugin/sdk/samples/unixprinting/npunix.c
rename : modules/plugin/samples/unixprinting/printplugin.c => modules/plugin/sdk/samples/unixprinting/printplugin.c
rename : modules/plugin/samples/unixprinting/printplugin.h => modules/plugin/sdk/samples/unixprinting/printplugin.h
rename : modules/plugin/samples/unixprinting/unixprintplugin_test1.html => modules/plugin/sdk/samples/unixprinting/unixprintplugin_test1.html
rename : modules/plugin/samples/unixprinting/unixprintplugin_test2.html => modules/plugin/sdk/samples/unixprinting/unixprintplugin_test2.html
2008-09-02 14:51:32 -04:00
Ginn Chen
76f8dc0daf
On x86 compilers without fastcall, simulate it when invoking traces and un-simulate it when invoking builtins (bug 452390, r=dvander).
2008-09-02 11:43:55 -07:00
Josh Aas
6b852c4507
merge simple plugin into sdk, remove old sdk simple plugin. b=360955 rs=jst
2008-09-02 14:39:03 -04:00
Josh Aas
b356ec6f5a
move npapi sdk up a directory, b=360955 rs=jst
...
--HG--
rename : modules/plugin/tools/sdk/Makefile.in => modules/plugin/sdk/Makefile.in
rename : modules/plugin/tools/sdk/readme.txt => modules/plugin/sdk/readme.txt
rename : modules/plugin/tools/sdk/samples/Makefile.in => modules/plugin/sdk/samples/Makefile.in
rename : modules/plugin/tools/sdk/samples/basic/mac/Basic Plugin.mcp => modules/plugin/sdk/samples/basic/mac/Basic Plugin.mcp
rename : modules/plugin/tools/sdk/samples/basic/mac/Basic Plugin.xml => modules/plugin/sdk/samples/basic/mac/Basic Plugin.xml
rename : modules/plugin/tools/sdk/samples/basic/mac/Basic.rsrc => modules/plugin/sdk/samples/basic/mac/Basic.rsrc
rename : modules/plugin/tools/sdk/samples/basic/mac/plugin.cpp => modules/plugin/sdk/samples/basic/mac/plugin.cpp
rename : modules/plugin/tools/sdk/samples/basic/mac/plugin.h => modules/plugin/sdk/samples/basic/mac/plugin.h
rename : modules/plugin/tools/sdk/samples/basic/mac/pluginCarbonPrefix.h => modules/plugin/sdk/samples/basic/mac/pluginCarbonPrefix.h
rename : modules/plugin/tools/sdk/samples/basic/mac/pluginPrefix.h => modules/plugin/sdk/samples/basic/mac/pluginPrefix.h
rename : modules/plugin/tools/sdk/samples/basic/test.html => modules/plugin/sdk/samples/basic/test.html
rename : modules/plugin/tools/sdk/samples/basic/unix/Makefile.in => modules/plugin/sdk/samples/basic/unix/Makefile.in
rename : modules/plugin/tools/sdk/samples/basic/unix/plugin.cpp => modules/plugin/sdk/samples/basic/unix/plugin.cpp
rename : modules/plugin/tools/sdk/samples/basic/unix/plugin.h => modules/plugin/sdk/samples/basic/unix/plugin.h
rename : modules/plugin/tools/sdk/samples/basic/windows/Makefile.in => modules/plugin/sdk/samples/basic/windows/Makefile.in
rename : modules/plugin/tools/sdk/samples/basic/windows/basic.def => modules/plugin/sdk/samples/basic/windows/basic.def
rename : modules/plugin/tools/sdk/samples/basic/windows/basic.rc => modules/plugin/sdk/samples/basic/windows/basic.rc
rename : modules/plugin/tools/sdk/samples/basic/windows/npbasic.dsp => modules/plugin/sdk/samples/basic/windows/npbasic.dsp
rename : modules/plugin/tools/sdk/samples/basic/windows/npbasic.dsw => modules/plugin/sdk/samples/basic/windows/npbasic.dsw
rename : modules/plugin/tools/sdk/samples/basic/windows/plugin.cpp => modules/plugin/sdk/samples/basic/windows/plugin.cpp
rename : modules/plugin/tools/sdk/samples/basic/windows/plugin.h => modules/plugin/sdk/samples/basic/windows/plugin.h
rename : modules/plugin/tools/sdk/samples/basic/windows/resource.h => modules/plugin/sdk/samples/basic/windows/resource.h
rename : modules/plugin/tools/sdk/samples/common/Makefile.in => modules/plugin/sdk/samples/common/Makefile.in
rename : modules/plugin/tools/sdk/samples/common/np_entry.cpp => modules/plugin/sdk/samples/common/np_entry.cpp
rename : modules/plugin/tools/sdk/samples/common/npn_gate.cpp => modules/plugin/sdk/samples/common/npn_gate.cpp
rename : modules/plugin/tools/sdk/samples/common/npp_gate.cpp => modules/plugin/sdk/samples/common/npp_gate.cpp
rename : modules/plugin/tools/sdk/samples/include/npplat.h => modules/plugin/sdk/samples/include/npplat.h
rename : modules/plugin/tools/sdk/samples/include/pluginbase.h => modules/plugin/sdk/samples/include/pluginbase.h
rename : modules/plugin/tools/sdk/samples/scriptable/mac/Scriptable Plugin.mcp => modules/plugin/sdk/samples/scriptable/mac/Scriptable Plugin.mcp
rename : modules/plugin/tools/sdk/samples/scriptable/mac/Scriptable Plugin.xml => modules/plugin/sdk/samples/scriptable/mac/Scriptable Plugin.xml
rename : modules/plugin/tools/sdk/samples/scriptable/mac/Scriptable PluginIDL.mcp => modules/plugin/sdk/samples/scriptable/mac/Scriptable PluginIDL.mcp
rename : modules/plugin/tools/sdk/samples/scriptable/mac/Scriptable PluginIDL.xml => modules/plugin/sdk/samples/scriptable/mac/Scriptable PluginIDL.xml
rename : modules/plugin/tools/sdk/samples/scriptable/mac/Scriptable.rsrc => modules/plugin/sdk/samples/scriptable/mac/Scriptable.rsrc
rename : modules/plugin/tools/sdk/samples/scriptable/mac/nsIScriptablePluginSample.idl => modules/plugin/sdk/samples/scriptable/mac/nsIScriptablePluginSample.idl
rename : modules/plugin/tools/sdk/samples/scriptable/mac/nsScriptablePeer.cpp => modules/plugin/sdk/samples/scriptable/mac/nsScriptablePeer.cpp
rename : modules/plugin/tools/sdk/samples/scriptable/mac/nsScriptablePeer.h => modules/plugin/sdk/samples/scriptable/mac/nsScriptablePeer.h
rename : modules/plugin/tools/sdk/samples/scriptable/mac/plugin.cpp => modules/plugin/sdk/samples/scriptable/mac/plugin.cpp
rename : modules/plugin/tools/sdk/samples/scriptable/mac/plugin.h => modules/plugin/sdk/samples/scriptable/mac/plugin.h
rename : modules/plugin/tools/sdk/samples/scriptable/mac/pluginCarbonPrefix.h => modules/plugin/sdk/samples/scriptable/mac/pluginCarbonPrefix.h
rename : modules/plugin/tools/sdk/samples/scriptable/mac/pluginPrefix.h => modules/plugin/sdk/samples/scriptable/mac/pluginPrefix.h
rename : modules/plugin/tools/sdk/samples/scriptable/test.html => modules/plugin/sdk/samples/scriptable/test.html
rename : modules/plugin/tools/sdk/samples/scriptable/unix/Makefile.in => modules/plugin/sdk/samples/scriptable/unix/Makefile.in
rename : modules/plugin/tools/sdk/samples/scriptable/unix/nsIScriptablePluginSample.idl => modules/plugin/sdk/samples/scriptable/unix/nsIScriptablePluginSample.idl
rename : modules/plugin/tools/sdk/samples/scriptable/unix/nsScriptablePeer.cpp => modules/plugin/sdk/samples/scriptable/unix/nsScriptablePeer.cpp
rename : modules/plugin/tools/sdk/samples/scriptable/unix/nsScriptablePeer.h => modules/plugin/sdk/samples/scriptable/unix/nsScriptablePeer.h
rename : modules/plugin/tools/sdk/samples/scriptable/unix/plugin.cpp => modules/plugin/sdk/samples/scriptable/unix/plugin.cpp
rename : modules/plugin/tools/sdk/samples/scriptable/unix/plugin.h => modules/plugin/sdk/samples/scriptable/unix/plugin.h
rename : modules/plugin/tools/sdk/samples/scriptable/windows/Makefile.in => modules/plugin/sdk/samples/scriptable/windows/Makefile.in
rename : modules/plugin/tools/sdk/samples/scriptable/windows/npscriptable.def => modules/plugin/sdk/samples/scriptable/windows/npscriptable.def
rename : modules/plugin/tools/sdk/samples/scriptable/windows/npscriptable.dsp => modules/plugin/sdk/samples/scriptable/windows/npscriptable.dsp
rename : modules/plugin/tools/sdk/samples/scriptable/windows/npscriptable.dsw => modules/plugin/sdk/samples/scriptable/windows/npscriptable.dsw
rename : modules/plugin/tools/sdk/samples/scriptable/windows/npscriptable.rc => modules/plugin/sdk/samples/scriptable/windows/npscriptable.rc
rename : modules/plugin/tools/sdk/samples/scriptable/windows/nsIScriptablePluginSample.idl => modules/plugin/sdk/samples/scriptable/windows/nsIScriptablePluginSample.idl
rename : modules/plugin/tools/sdk/samples/scriptable/windows/nsScriptablePeer.cpp => modules/plugin/sdk/samples/scriptable/windows/nsScriptablePeer.cpp
rename : modules/plugin/tools/sdk/samples/scriptable/windows/nsScriptablePeer.h => modules/plugin/sdk/samples/scriptable/windows/nsScriptablePeer.h
rename : modules/plugin/tools/sdk/samples/scriptable/windows/plugin.cpp => modules/plugin/sdk/samples/scriptable/windows/plugin.cpp
rename : modules/plugin/tools/sdk/samples/scriptable/windows/plugin.h => modules/plugin/sdk/samples/scriptable/windows/plugin.h
rename : modules/plugin/tools/sdk/samples/scriptable/windows/readme.txt => modules/plugin/sdk/samples/scriptable/windows/readme.txt
rename : modules/plugin/tools/sdk/samples/scriptable/windows/resource.h => modules/plugin/sdk/samples/scriptable/windows/resource.h
rename : modules/plugin/tools/sdk/samples/simple/Makefile.in => modules/plugin/sdk/samples/simple/Makefile.in
rename : modules/plugin/tools/sdk/samples/simple/npsimple.def => modules/plugin/sdk/samples/simple/npsimple.def
rename : modules/plugin/tools/sdk/samples/simple/npsimple.dsp => modules/plugin/sdk/samples/simple/npsimple.dsp
rename : modules/plugin/tools/sdk/samples/simple/npsimple.dsw => modules/plugin/sdk/samples/simple/npsimple.dsw
rename : modules/plugin/tools/sdk/samples/simple/npsimple.rc => modules/plugin/sdk/samples/simple/npsimple.rc
rename : modules/plugin/tools/sdk/samples/simple/nsISimplePlugin.idl => modules/plugin/sdk/samples/simple/nsISimplePlugin.idl
rename : modules/plugin/tools/sdk/samples/simple/nsScriptablePeer.cpp => modules/plugin/sdk/samples/simple/nsScriptablePeer.cpp
rename : modules/plugin/tools/sdk/samples/simple/nsScriptablePeer.h => modules/plugin/sdk/samples/simple/nsScriptablePeer.h
rename : modules/plugin/tools/sdk/samples/simple/plugin.cpp => modules/plugin/sdk/samples/simple/plugin.cpp
rename : modules/plugin/tools/sdk/samples/simple/plugin.h => modules/plugin/sdk/samples/simple/plugin.h
rename : modules/plugin/tools/sdk/samples/simple/readme.txt => modules/plugin/sdk/samples/simple/readme.txt
rename : modules/plugin/tools/sdk/samples/simple/resource.h => modules/plugin/sdk/samples/simple/resource.h
rename : modules/plugin/tools/sdk/samples/simple/test.html => modules/plugin/sdk/samples/simple/test.html
rename : modules/plugin/tools/sdk/samples/winless/test.html => modules/plugin/sdk/samples/winless/test.html
rename : modules/plugin/tools/sdk/samples/winless/windows/Makefile.in => modules/plugin/sdk/samples/winless/windows/Makefile.in
rename : modules/plugin/tools/sdk/samples/winless/windows/npwinless.def => modules/plugin/sdk/samples/winless/windows/npwinless.def
rename : modules/plugin/tools/sdk/samples/winless/windows/npwinless.dsp => modules/plugin/sdk/samples/winless/windows/npwinless.dsp
rename : modules/plugin/tools/sdk/samples/winless/windows/npwinless.dsw => modules/plugin/sdk/samples/winless/windows/npwinless.dsw
rename : modules/plugin/tools/sdk/samples/winless/windows/npwinless.rc => modules/plugin/sdk/samples/winless/windows/npwinless.rc
rename : modules/plugin/tools/sdk/samples/winless/windows/plugin.cpp => modules/plugin/sdk/samples/winless/windows/plugin.cpp
rename : modules/plugin/tools/sdk/samples/winless/windows/plugin.h => modules/plugin/sdk/samples/winless/windows/plugin.h
rename : modules/plugin/tools/sdk/samples/winless/windows/resource.h => modules/plugin/sdk/samples/winless/windows/resource.h
2008-09-02 14:05:34 -04:00
Vladimir Vukicevic
ff1ee85956
b=433004, support nsICanvasRenderingContext2D.createImageData; r+sr=roc
2008-09-02 10:52:22 -07:00
Benjamin Smedberg
8bc1d968b3
Followup to bug 451079 to move/add testcase files.
...
--HG--
rename : xpcom/tests/static-checker/e3.cpp => xpcom/tests/static-checker/onull2.cpp
2008-09-02 13:36:19 -04:00
David Anderson
ceb2e8139c
Build fixes for MSVC 7.1 and mingw (bug 451881, patch from neil@parkwaycc.co.uk).
2008-09-02 10:28:14 -07:00
David Anderson
b6b115b496
Fix for building on FreeBSD (bug 452315, patch from Jeremy Lea).
2008-09-02 10:21:41 -07:00
David Anderson
1be49b5c2e
Use mmap() instead of valloc() in nanojit, abort on mprotect() failure (bug 451946, patch+r from Asko Tontti).
2008-09-02 10:15:26 -07:00
Andreas Gal
1d525db0e4
New attempt at fixing 453235. If building without JIT (like PPC/MacOSX), don't include the deep abort calls in jsinterp.cpp
2008-09-01 18:40:45 -07:00
Andreas Gal
1632042ed8
Merge.
2008-09-01 18:37:27 -07:00
Andreas Gal
4a36a6b709
Backed out changeset 25f856429db3. Wrong fix. Looks like jstracer.h is not included. We in fact can call methods of TraceRecorder directly. Sigh. I wish we had a try server.
2008-09-01 18:37:04 -07:00
Andreas Gal
d85543063d
Merge.
2008-09-01 18:33:05 -07:00
Andreas Gal
fe70cfea9b
Introduce js_DeepAbort to be used from jsinterp.cpp, instead of trying to call TraceRecorder->deepAbort directly (453235).
2008-09-01 18:32:41 -07:00
Brendan Eich
b3042b928d
Holey single-element dense array has null dslots, requires nulld defense (453173).
2008-09-01 13:59:30 -07:00
Brendan Eich
cda5a77a1b
Fast followup fix for unintended change to 'f' prefix handling in TraceRecorder::record_JSOP_NEW (452878).
2008-09-01 01:44:26 -07:00
Brendan Eich
5a8cb06838
Kind of an Array initialiser tour-de-force for bug 452878:
...
1. Split FastNewArray from FastNewObject built-in for greater speed/specialization and further splitting into Array_1str, etc.
2. Add Array_1str, Array_2obj, and Array_3num builtins for benchmarked new Array(...) constructions.
3. Export ARRAY_SET_DENSE_LENGTH and ARRAY_GROWBY via jsarray.h to jstracer.cpp.
4. Tweaked SetArrayElement to make common/best case code be the predicted/prefetched path.
5. js_MakeArraySlow now preserves the pre-slow length in JSSLOT_ARRAY_COUTN as a jsval-tagged int if possible -- this will help the tracer avoid aborting on dense arrays that turned slow but not sparse by addition of a named property.
6. Export js_fun_apply and js_Object from their respective .cpp files, in these cases just to jstracer.cpp via local prototypes (no .h files involved).
7. More INS_CONSTPTR and INS_CONST macrology for better names in trace debug spew.
8. Fix TraceRecorder::test_property_cache to avoid aborting on JSOP_SETNAME that creates a new global, by setting it to undefined so it can be lazily imported. This helps 3d-raytrace.js, which has an unintended global loop control variable in a function.
9. JSTraceableNative loses its premature-deadwood tclasp member (my bad).
10. TraceRecorder::record_JSOP_NEW() handles 'new Object' now along with the 'new Array' variations. I also cut down the copy-paste code from JSOP_CALL's record method to mostly what is needed now.
11. Add KNOWN_NATIVE_DECL macro for concise prototype of library-private js_* native functions, and alphabetized the lists (too long for any other order to be winning).
12. Big honking special case for foo.apply(obj, [str]), which we can generalize as needed. Helps string-tagcloud.js. What's cool is how tracing allows us to rewrite this to foo(str) with this set to obj, eliminating the Function.prototype.apply. This requires some rewriting in JSOP_ENDINIT's record method.
2008-09-01 01:24:58 -07:00
Robert Sayre
7cca7713be
Add tests containing switch statements
2008-08-30 19:35:38 -04:00
Robert Sayre
52a7fb0b98
Add test for more bitwise ops
2008-08-30 19:20:54 -04:00
Jesse Ruderman
1b5148d940
Bug 452905 - Make js_RecordTree printfs only appear with TRACEMONKEY=verbose. r=gal
2008-08-30 02:21:00 -07:00
Brendan Eich
c7604aac4c
- Support JSOP_CONDSWITCH's JSOP_CASE and extended-jump-offset JSOP_CASEX variants properly.
...
- Fix sleep-deprived constant conditions due to failure to test flags & CMP_TRY_BRANCH_AFTER_COND!
- Use new TraceRecorder::fuseIf that Andreas added in a few more places where the previous try-branch-after-cond logic was open-coded.
2008-08-30 00:01:59 -07:00
Blake Kaplan
2782b3de85
Fix gmail crash by not tracing switches. r=brendan
2008-08-29 19:01:00 -07:00