Граф коммитов

2108 Коммитов

Автор SHA1 Сообщение Дата
rogerl%netscape.com d5b0b5bc32 typedef'd instructions 2000-04-05 23:41:58 +00:00
beard%netscape.com 76e3fd2f85 Added default case to avoid warning 2000-04-05 21:26:01 +00:00
beard%netscape.com 528d7eb22f added "globals", labels parameter for branches, combined some Instruction_N<> typedefs. 2000-04-05 20:33:41 +00:00
beard%netscape.com 9a69888729 added labels parameter. 2000-04-05 20:29:09 +00:00
beard%netscape.com 391d9767eb added Instruction::opcode(), and Instruction_N::oN(), and ICodeGenerator::getLabels(). 2000-04-05 20:28:17 +00:00
beard%netscape.com 59cf8293ac moved declaration of lgBasicAlignment & basicAlignment inside the include guard. 2000-04-05 20:26:49 +00:00
rogerl%netscape.com c0c155dec7 added missing semi in win32 case 2000-04-05 18:20:02 +00:00
beard%netscape.com 96f9207cc7 added interpreter.cpp/.h 2000-04-05 18:06:04 +00:00
brendan%mozilla.org eb7b547e77 Fix 22048 and 33391 (see bugs for details; r=jband@netscape.com). 2000-04-05 06:39:11 +00:00
beard%netscape.com 8a75ea3668 linux fixes 2000-04-05 06:10:53 +00:00
beard%netscape.com ab11ac751b first crack at an icode interpreter 2000-04-05 06:05:57 +00:00
beard%netscape.com 932ecf336b turned off '\n' -> '\r' mapping 2000-04-05 04:25:51 +00:00
beard%netscape.com 2ff22a0e79 backed out "fix" (thanks waldemar) 2000-04-05 04:24:19 +00:00
beard%netscape.com 91135e142e removed newline mapping code (instead using compiler mapping of '\n' to '\r' in literals, which should do the right thing). 2000-04-05 03:57:57 +00:00
beard%netscape.com a5e6536104 added JS2MPW target (non-debug), converted MPW targets to do newline mapping (rather than using explicit override functions). 2000-04-05 03:56:34 +00:00
beard%netscape.com f6728f15b4 removed DEBUG 2000-04-05 03:54:46 +00:00
beard%netscape.com 7562d30003 debug prefix for MPW tool. 2000-04-05 03:54:30 +00:00
dveditz%netscape.com ec8da1a0e9 Use threadsafe ISupports for service 2000-04-05 03:31:57 +00:00
brendan%mozilla.org 6b71fed163 Clean up ugly whitespace, some of which survived my r=brendan comments. 2000-04-05 02:17:38 +00:00
beard%netscape.com 8a1dbf5904 now using gc_container<T>. 2000-04-05 02:05:12 +00:00
beard%netscape.com 66bbb0bc4b convenience container types that use the GC_allocator. 2000-04-05 02:03:03 +00:00
beard%netscape.com 86d14fee9a added a comment. 2000-04-05 01:55:14 +00:00
beard%netscape.com 5b21e4b8ec making icode generation test not mutually exclusive with the REPL. 2000-04-05 00:52:47 +00:00
beard%netscape.com 18a631e12e changed to use locally built gc.o library. 2000-04-05 00:50:59 +00:00
beard%netscape.com fbfcf75306 gc configuration file. 2000-04-05 00:50:32 +00:00
beard%netscape.com a6dabb8495 local project to build the gc itself. 2000-04-05 00:50:01 +00:00
beard%netscape.com 540d3fe5d1 Fixing linux build: needed <algorithm> and stub implementations of parseMember, parseNonAssignmentExpression, paraseAssignmentExpression and parseExpression. 2000-04-04 23:58:30 +00:00
waldemar%netscape.com 9989984744 Updated for lexer changes 2000-04-04 21:43:28 +00:00
waldemar%netscape.com 342f045b6d Added insertChars, removed SourcePosition, and reorganized Exception class 2000-04-04 21:42:39 +00:00
waldemar%netscape.com 23152b92cb Added postfix expression parsing. Simplified Reader. 2000-04-04 21:39:59 +00:00
waldemar%netscape.com 8c3ea7467e Updated sprintf call 2000-04-04 21:38:53 +00:00
waldemar%netscape.com a84c5b0547 Updated lexer API 2000-04-04 21:38:25 +00:00
waldemar%netscape.com cf09318769 Reordered files 2000-04-04 21:37:20 +00:00
waldemar%netscape.com b3f0341877 Fixed syntax errors 2000-04-04 21:36:57 +00:00
brendan%mozilla.org e8ead8549a Eliminate unused var warning and clean up other stuff not in the patch I reviewed and approved! 2000-04-04 08:17:05 +00:00
cls%seawood.org 57978e5c23 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2000-04-04 04:46:38 +00:00
rogerl%netscape.com 131d10c8ea cleaning up the codestate classes; continue labels 2000-04-04 01:48:35 +00:00
cls%seawood.org 61f85b0c73 Use LDFLAGS when creating shared libraries. It may contain the paths to essential libraries. 2000-04-03 01:04:59 +00:00
cls%seawood.org 0d63199902 Adding a script to print out which of a given list of files do not end with a newline. Source files that do not end with a newline break at least the HP-UX compiler. Adding newlines to all of the source files found at this point. 2000-04-02 07:17:25 +00:00
brendan%mozilla.org 120957d855 Don't forget to drop property in getter/setter case (34069, r=jband,a=leaf). 2000-04-01 04:23:04 +00:00
rogerl%netscape.com 3714722cf4 For statements. 2000-04-01 02:53:16 +00:00
rogerl%netscape.com 4c52a939a5 Added do & switch statements, more hacking at the code state thing. 2000-04-01 01:30:32 +00:00
scc%netscape.com 080a801eb7 making string conversions explicit 2000-04-01 00:39:02 +00:00
mccabe%netscape.com fddee86d15 Error reporting mechanisms for nsDocShell (xul js and content js) and mosJSComponentLoader (JS components) now pipe error objects to the JavaScript console. 2000-03-31 11:19:51 +00:00
jband%netscape.com 614784ba32 fix a side effect of the fix to bug 32485. It turns out it is better to leak some native objects while shutting down then to fire off Release calls on those wrapped native objects and watch the browser crash 2000-03-31 10:31:00 +00:00
beard%netscape.com 33874b728f fixing a broken header. 2000-03-31 05:47:42 +00:00
jband%netscape.com 80550f984e use JS_LookupProperty to find the Components object in the JS scope because the OBJ_GET_PROPERTY call we had been using can fail for security reasons. travis needs this to fix bug 33489. r=brendan@mozilla.org 2000-03-31 02:47:46 +00:00
brendan%mozilla.org 541058b723 Allow anonymous function compilation via JS_Compile*Function (33840, r=shaver,jband). 2000-03-31 02:47:15 +00:00
rogerl%netscape.com 788fbc5ec8 Changes to CodeState thing, still not happy with this - RTTI would be
better?
2000-03-31 01:54:28 +00:00
beard%netscape.com 6763f39040 making icodegenerator work on Linux 2000-03-31 00:42:25 +00:00
beard%netscape.com b329cb0167 added icodegenerator.cpp 2000-03-31 00:09:24 +00:00
jband%netscape.com dd8457f599 fix a search-and-replace mistake that was hiding in an #ifdef 2000-03-30 22:37:29 +00:00
jband%netscape.com ddf804fae7 Expose method for getting a 'safe' JSContext appropriate for use on the current thread. This will help travis fix bug 33489. r=brendan@mozilla.org. 2000-03-30 07:06:10 +00:00
jband%netscape.com ab6e3ae8c5 fix for bug 32485. Mark wrappednatives when xpconnect shuts down to avoid bad things happening when JS collects the JSObject part of the wrapper. r=mccabe 2000-03-30 00:09:15 +00:00
rogerl%netscape.com 0fc7bc4bdb Bug #32677, fix for optimizer reducing expression incorrectly for Math.pow
edge cases.
2000-03-29 23:46:08 +00:00
rogerl%netscape.com b3e1adad38 Bug #32677, r=rginda bugs in Win32 optimized version for edge cases in
Math.exp and Math.pow
Bug #32937, r=rginda, implement missing toLocaleString
2000-03-29 23:45:07 +00:00
rogerl%netscape.com dd0e354b10 Test driver for icg in main, just a temporary thing 2000-03-29 19:24:07 +00:00
rogerl%netscape.com 4e4f0fd854 First hack at some icode generation. 2000-03-29 19:19:23 +00:00
jband%netscape.com 732ce11747 adding new files - not part of build 2000-03-28 05:14:51 +00:00
jband%netscape.com b5fa1f25db Landing changes that have been banging around in my tree... - Add #ifdef'd out support for profiling. - Add support for calling the JS gc root dumper. - Add unified #define for dumping shutdown info". Remove redundant define in makefile.win. - Prepare for semantic change to nsIInterfaceInfo::GetParent if there is no parent (return null rather than an error code). 2000-03-28 03:54:34 +00:00
jband%netscape.com 0ec5a0540c allow for later use of xpconnect\tools 2000-03-28 03:46:21 +00:00
jband%netscape.com db0060c73f general cleanup 2000-03-28 03:45:12 +00:00
norris%netscape.com 92abe5891c Fix bug 33239. 2000-03-24 23:06:02 +00:00
brendan%mozilla.org 67c7207921 Augh! Fix one name-hiding warning, add another... Fixed. 2000-03-24 03:01:47 +00:00
brendan%mozilla.org 8bc339a857 Eliminate name-hiding and consequent compiler warning (r=shaver@mozilla.org). 2000-03-24 00:20:02 +00:00
brendan%mozilla.org 3885090954 Rename stacksize formal param to stackChunkSize (27767, really a doc bug). 2000-03-23 23:50:29 +00:00
brendan%mozilla.org d9dad582f8 Rename stacksize to stackChunkSize, similar cleanups, default new object class extension (27767). 2000-03-23 23:47:23 +00:00
brendan%mozilla.org f3a07673fc Optimize lightweight function calls, and bound their recursion (27767, r=rogerl@netscape.com). 2000-03-23 23:29:36 +00:00
rogerl%netscape.com 8165cab2a9 r=brendan@mozilla.org
Bug #32674, JS_SetVersion hides error; also, jsscan.c keyword bug
2000-03-23 23:00:35 +00:00
slamm%netscape.com da5accf667 Quiet a warning: '/*' within a comment. 2000-03-22 04:56:37 +00:00
rginda%netscape.com 39c6c41477 Fixed lame speeling erras 2000-03-22 01:25:37 +00:00
waldemar%netscape.com c9f5bf1179 Made ifdef _WIN32 uniform 2000-03-22 00:52:06 +00:00
rogerl%netscape.com 3581c8e965 r=rginda
bug #31316, screwed up match array contents for | operator.
2000-03-21 21:11:19 +00:00
ftang%netscape.com c9d3a2036a add assertion code to catch data lostage. r=jband 2000-03-21 21:02:18 +00:00
beard%netscape.com d456930974 fix stand-alone LiveConnect shell on XP_MAC. 2000-03-18 09:45:13 +00:00
beard%netscape.com 5d7976051c fix simple callbacks (not part of standard LiveConnect) 2000-03-18 09:44:07 +00:00
beard%netscape.com 307efa378c added classpath processing. 2000-03-18 09:42:15 +00:00
beard%netscape.com 4a376d4e5b removed redundant implementation of strdup. 2000-03-18 00:55:47 +00:00
beard%netscape.com da7ef54727 fixed to work with Universal Headers 3.3 JManager interfaces. 2000-03-18 00:55:15 +00:00
beard%netscape.com 5b7fb442d2 fixed to work with Universal Headers 3.3 to get MRJ interfaces/libraries, added jsj_simpleapi.c. (not part of mozilla build) 2000-03-18 00:53:55 +00:00
mccabe%netscape.com 7fadd2f19a Patches for building perlconnect, courtesy Pavel Hlavnicka <pavel@gingerall.cz>. 2000-03-17 06:40:22 +00:00
gagan%netscape.com 5ec5e31673 Fix a mem leak. r=jband 2000-03-16 23:31:53 +00:00
norris%netscape.com ff977ce6cd fix NullPointerException 2000-03-16 22:43:03 +00:00
rginda%netscape.com 9d07dbc637 changing format of generated results file name to place the date before the engine name 2000-03-15 21:49:13 +00:00
norris%netscape.com f9ed21e9a7 clean up regressions in test suite from last fix 2000-03-15 19:40:53 +00:00
norris%netscape.com 27bba05faa Fix regressions caused by support for function expression statements. 2000-03-15 17:18:12 +00:00
mkaply%us.ibm.com 404c967b8e # 25555
r= rogerl@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-03-15 14:50:26 +00:00
mkaply%us.ibm.com e859503601 # 25555
r= rogerl@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-03-15 14:31:55 +00:00
norris%netscape.com 3c721d3a11 31251 NervousText.js applet doesn't work 2000-03-14 01:20:45 +00:00
beard%netscape.com fbc3531947 added mozilla/js/rhino/org/mozilla/javascript/tools/jsc/Main.java 2000-03-14 00:24:23 +00:00
norris%netscape.com abdd921231 generalize on number of threads, add synchronization point so test case behaves as advertised 2000-03-13 21:45:02 +00:00
norris%netscape.com 5726b14bcc Implement distinction between function statements, function expressions, and function expression-statements. 2000-03-13 18:27:42 +00:00
norris%netscape.com 879940613f Fix 31639 Oldstyle Java property method names no longer work with defineClass 2000-03-13 17:12:36 +00:00
jband%netscape.com e0098df4ca Fix protection against gc reentry on same thread but on different JSContexts. Also fix potential deadlock in gc when destroying a JSContext while some other thread is blocked in gc waiting for the EndRequest of the first thread. The reentrance fix is needed to fix bug 28570. r=brendan@mozilla.org 2000-03-12 05:09:46 +00:00
norris%netscape.com b06e55722c Files:
caps/idl/nsICertificatePrincipal.idl
	caps/idl/nsIPrincipal.idl
	caps/src/nsBasePrincipal.cpp
Implement the ability to manipulate multiple capabilties simultaneously.
r=mstoltz@netscape.com

Files:
	caps/src/nsCodebasePrincipal.cpp
Codebase equality should be based upon origin, not full path.
r=mstoltz@netscape.com

Files:
	caps/src/nsScriptSecurityManager.cpp
Change URI checking to deny based upon scheme rather than allow based upon
scheme for greater flexibility.
r=mstoltz@netscape.com

Files:
	dom/public/nsDOMPropEnums.h
	dom/public/nsDOMPropNames.h
	dom/src/base/nsGlobalWindow.cpp
	modules/libpref/src/init/all.js
Fix bug 20469 Seeing JS functions and global variables from arbitrary host
r=vidur@netscape.com

Files:
	dom/src/base/nsJSUtils.cpp
	dom/src/base/nsJSUtils.h
	dom/src/base/nsJSEnvironment.cpp
	dom/tools/JSStubGen.cpp
	layout/base/src/nsDocument.cpp
	layout/html/content/src/nsGenericHTMLElement.cpp
Improve performance by removing NS_WITH_SERVICE call for every DOM access.
Propagate XPCOM failure codes out properly.
r=vidur@netscape.com

Files:
	layout/html/document/src/nsFrameFrame.cpp
Fix 27387 Circumventing Same Origin security policy using setAttribute
r=vidur@netscape.com
2000-03-11 06:32:42 +00:00
pavlov%netscape.com 33ce2d4e90 changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
norris%netscape.com 66de3cd3ca Make Wrapper an API class. 2000-03-10 20:55:36 +00:00
norris%netscape.com 63495fcbbb Add support for testing against the MS VM. 2000-03-10 20:38:57 +00:00
rginda%netscape.com 6de0f96907 Put the redirect back in. (Doh) 2000-03-10 19:12:53 +00:00
rginda%netscape.com d4f8429909 Removing debug output 2000-03-10 19:06:36 +00:00
rginda%netscape.com eecdf9a2b6 Fix lame syntax error 2000-03-10 18:58:45 +00:00
rginda%netscape.com e0a16d193b Modified jsDriver.pl to allow multiple engine arguments, updated readme to tell the world. 2000-03-10 18:54:21 +00:00
rginda%netscape.com c42b4973b7 Initial add of Function Expression/Statement tests 2000-03-10 18:31:04 +00:00
mccabe%netscape.com 98328c4bf4 Replace some ternary expressions
step += (InLeapYear(t) ? 29 : 28);

with the form

    if (InLeapYear(t))
        step += 29;
    else
        step += 28;

to work around an apparent JRE bug in which the code always returns 28.
2000-03-10 02:05:41 +00:00
beard%netscape.com 032380c1b3 now includes all of the optimizer classes 2000-03-10 01:05:28 +00:00
norris%netscape.com 86a0519973 javadoc comment. 2000-03-10 01:03:59 +00:00
beard%netscape.com c23475c1ca imports js.mcp.xml into js-all.mcp 2000-03-10 01:03:58 +00:00
norris%netscape.com 199f666ef8 Fix command line 2000-03-09 23:33:06 +00:00
norris%netscape.com 122be924b1 Add html page for the NervousText applet. 2000-03-09 23:06:54 +00:00
norris%netscape.com 530119248e Fixes for NervousText example. 2000-03-09 21:50:14 +00:00
norris%netscape.com 5d42d30699 Try to fix Solaris/Linux failures. 2000-03-09 21:46:42 +00:00
rogerl%netscape.com 2723ceea9b Put NonGreedy back in. 2000-03-09 02:39:58 +00:00
beard%netscape.com de9a3d5b81 Added gctest target, added -lm to get floor() 2000-03-09 02:11:52 +00:00
beard%netscape.com 936efe5b4c oops, commented out gc_types<T>::string. 2000-03-09 01:44:35 +00:00
beard%netscape.com 41c89d932b g++ doesn't provide numeric_limits<T> 2000-03-09 01:35:53 +00:00
beard%netscape.com 5d04d65d6c Cleaning up for GCC 2000-03-09 01:34:57 +00:00
rogerl%netscape.com 3cb2d2174b Fixed handling of {1,} quantifiers 2000-03-08 01:24:55 +00:00
rogerl%netscape.com 4bbd0fa59e Reduced stack usage for greedy matching. 2000-03-08 01:08:32 +00:00
norris%netscape.com b61b67d0be Remove test cases with classes from the rmi package that isn't supported by ths MS VM. 2000-03-07 21:16:13 +00:00
norris%netscape.com 8c7e3cf788 Fix typo. 2000-03-07 17:22:43 +00:00
jeff.dyer%compilercompany.com 14bfa9dc1b Fix for #16438 (r=stanley.ho@eng.sun.com). Adds functionality for unwrapping
wrapped JSObjects.
2000-03-07 02:38:44 +00:00
beard%netscape.com ab088f1054 more tests, using safer auto_ptr. 2000-03-07 01:21:53 +00:00
norris%netscape.com 6244f388c8 Add rhinoi as an engine type. 2000-03-06 21:28:57 +00:00
rginda%netscape.com 71bd3a5aea Added bugnumber to uc-003.js and regress-24712.js
new testcase regress-28686.js added
2000-03-03 22:14:09 +00:00
norris%netscape.com cd66c924c2 Clean up debugging interfaces. 2000-03-03 21:46:44 +00:00
rginda%netscape.com 60ac950eeb Initial add of regress-24712.js 2000-03-03 21:33:08 +00:00
norris%netscape.com 1f65a6474f Clean up examples to use current jsFunction_ and jsGet_ method forms. 2000-03-03 19:15:51 +00:00
rogerl%netscape.com a4f173e8ff Added lineTerminator test back into \s & \S atoms 2000-03-03 19:07:16 +00:00
norris%netscape.com 1562a17939 Fix js1_2/function/Function_object.js 2000-03-03 17:18:49 +00:00
norris%netscape.com 485ab52149 skip getter/setters 2000-03-02 23:26:56 +00:00
rogerl%netscape.com aeb7b3d55b r=rginda
Make shared lib thingy configurable.
2000-03-02 23:21:04 +00:00
rogerl%netscape.com 5fd2a5458a r=brendan,rginda
Added ECMA3 compliant getter/setter syntax.
Fixed bugs
	- #28686, mishandling of \$ in replace()
	- #27902, eval not detected as heavyweight indicator for non ECMA
			context version.
2000-03-02 23:21:03 +00:00
beard%netscape.com 0ea2240645 can't use operator new to allocate containers that use GC_allocator, because the Mac heap zone isn't scanned. 2000-03-02 21:06:36 +00:00
beard%netscape.com 1c54ce1dd3 added gc_traits_finalizable to use GC finalization facilities to call destructors. 2000-03-02 20:58:26 +00:00
cls%seawood.org 0b8cf7d0df Reverted part of slamm's checkin so that non-official builds (including tinderboxes) stop on errors. Changed makefiles to use gmake's -C option instead of 'cd'. 2000-03-02 12:41:47 +00:00
waldemar%netscape.com b0856ea797 *** empty log message *** 2000-03-02 03:46:10 +00:00
waldemar%netscape.com e739825b8b Workarounds for VC6 bugs 2000-03-02 03:43:40 +00:00
waldemar%netscape.com 1a95e220c2 Added Visual C++ workspace 2000-03-02 02:06:40 +00:00
waldemar%netscape.com 90841bc4f5 *** empty log message *** 2000-03-02 02:02:58 +00:00
waldemar%netscape.com 82e0a78bbf Visual C++ version 2000-03-02 01:54:49 +00:00
rogerl%netscape.com 95c0fa78cd Switch to using new DToA stuff for numberToString(). 2000-03-02 00:30:01 +00:00
rogerl%netscape.com 3c768b3595 Need to pass expressions containing unicode identifiers as split strings
since the string processing will convert the unicode sequences into regular
characters before the identifier is recognized. The fact that Monkey was
cool with this is a separate bug.
2000-03-01 23:28:14 +00:00
rogerl%netscape.com 27bf8b62c9 Fix endian bug for BigInteger constructor. 2000-03-01 23:25:23 +00:00
waldemar%netscape.com af3eb40851 File Removed. 2000-03-01 23:21:46 +00:00
waldemar%netscape.com 304cd1ed29 First Checked In. 2000-03-01 23:20:12 +00:00
rogerl%netscape.com ef2e5e54d8 Hmm, better do that negate. 2000-03-01 22:20:48 +00:00
rogerl%netscape.com 748b87a17e Oops, remove debugging hack. 2000-03-01 22:20:09 +00:00
rogerl%netscape.com a008ae5e92 Fixing Unicode ECMA 3 compliance issues 2000-03-01 22:15:35 +00:00
rogerl%netscape.com e151b3c183 Fixing Unicode ECMA 3 compliance issues.
Fixed bug in $ handling for ECMA 3 (don't support \$)
2000-03-01 22:14:34 +00:00
norris%netscape.com 5f47eeafb0 Fix bug 6063. 2000-03-01 21:35:38 +00:00
norris%netscape.com b83c29fdca Switch back to using getDeclaredMethods--I was able to get it working with a
security manager.
2000-03-01 18:26:43 +00:00
waldemar%netscape.com 3343bc84e0 Added parser output classes 2000-03-01 07:00:31 +00:00
waldemar%netscape.com 3c5779cbdb Added linked list and arena destructor utilities 2000-03-01 07:00:05 +00:00
beard%netscape.com 08212e4ea0 importable XML project file for CWPro5 (with CWPro4 Java Tools) 2000-03-01 01:12:20 +00:00
beard%netscape.com fa18215c91 CWPro5 format project (using CWPro4 Java tools). 2000-03-01 01:00:38 +00:00
beard%netscape.com f110483063 added LazilyLoadedCtor.java 2000-03-01 00:57:29 +00:00
norris%netscape.com 6263da13e6 1. Implement a new method of Context that allows embedders to disable or clear cached items
2. Change from using Class.getDeclaredMethods to Class.getMethods since the former may cause
   security problems. Implement a cache to ameleorate the possible performance degredation.
3. Add a new class to lazily load constructors to improve performance
2000-02-29 21:35:45 +00:00
norris%netscape.com 892c58dabf Remove reference to parent scope for Java methods. This was resulting in dangling
references that were never released to a large pool of objects.
2000-02-29 17:27:56 +00:00
beard%netscape.com 5affa1af78 gc_traits used to control whether a type is allocated using GC_malloc vs. GC_malloc_atomic. 2000-02-29 16:03:24 +00:00
beard%netscape.com 3a408c8323 gc_allocator test 2000-02-29 16:01:57 +00:00
beard%netscape.com 186f182de8 allocator for garbage collection 2000-02-29 01:48:02 +00:00
norris%netscape.com 27fe170e77 Guard against possible NullPointerException if the Context has not been properly entered. 2000-02-28 18:40:34 +00:00
norris%netscape.com b3abf5ad73 Some users with JDK 1.1 but JDK 1.2 security were getting NullPointerExceptions here. 2000-02-28 18:38:37 +00:00
norris%netscape.com 878bf1fad6 Fix warning. 2000-02-28 18:32:19 +00:00
norris%netscape.com b7b070831b Generalize error test to catch any catches appearing after a catch-all. 2000-02-28 18:28:45 +00:00
jband%netscape.com bec540695e Fix bug 28982. Call to JS_ClearScope in property setter (e.g. window.location = "foo")
was causing defered calls to js_FreeSlot to do wild pointer writes into slots that
were no longer owned by the object. Also this improves the fix to 14462 (see note
in 28982 from brendan). r=brendan@mozilla.org a=jar@netscape.com
2000-02-26 23:47:33 +00:00
bryner%uiuc.edu bbfe27364b Adding a new flag to the Win32 build system. Set DISABLE_TESTS=1 to skip
building in the tests directories.  Should not affect the build at all if
you do not have this environment variable.  r=leaf.
2000-02-25 04:12:40 +00:00
norris%netscape.com c66aafca3a Enable catchguard with new 'if' syntax.
Implement check.
2000-02-24 19:35:22 +00:00
rogerl%netscape.com b7638d4d26 Ported toFixed, toExponential & toPrecision to NativeNumber from C sources. 2000-02-23 18:46:36 +00:00
norris%netscape.com a85fa9f811 Move JavaObjectToLong to be a conformance rather than a negative test. 2000-02-23 18:29:35 +00:00
shaver%mozilla.org 5deb3eee46 fix #25581 (leaking JSScript, r=beard, a=waterson) 2000-02-23 06:09:04 +00:00
waldemar%netscape.com b0e0b87f08 Work on adding parser 2000-02-23 01:54:30 +00:00
waldemar%netscape.com 8ebb1df155 Added .h files to project 2000-02-23 01:53:08 +00:00
waldemar%netscape.com a0acd5a160 Fixed non-DEBUG warning 2000-02-23 01:51:44 +00:00
waldemar%netscape.com 4239da4d1e Added arenas 2000-02-23 01:40:48 +00:00
bruce%cybersight.com ad45d64472 Fixes a memory leak. r=shaver,a=waterson 2000-02-22 22:22:02 +00:00
beard%netscape.com 13332c133b building into dist/liveconnect. *NOT PART OF MOZILLA BUILD* 2000-02-21 22:51:29 +00:00
waldemar%netscape.com d58243bab1 Backed out extraneous change 2000-02-21 19:52:47 +00:00
waldemar%netscape.com 6839cfa61f Added x86 gcc support 2000-02-21 19:49:21 +00:00
waldemar%netscape.com a701bf114d Added debug flags 2000-02-21 19:48:45 +00:00
waldemar%netscape.com f93144b04b Unix makefile 2000-02-19 10:03:07 +00:00
waldemar%netscape.com c1153ce581 Updated for GCC 2000-02-19 10:01:53 +00:00
waldemar%netscape.com fd5730911e Fixed signed/unsigned warning 2000-02-19 09:32:45 +00:00
waldemar%netscape.com 4f6ade43db Fixed GCC incompatibilities 2000-02-19 09:26:59 +00:00
jband%netscape.com 3041f6ac4e NOT PART OF SEAMONKEY BUILD - removed misplaced semi-colon added by toshok on 6 Sep 1999 which had converted a conditional block into a non-conditional block and made the debugger completely non functional 2000-02-19 02:34:05 +00:00
jband%netscape.com 0ffe9d5214 fix bug 28381. Make xpcshell bypass the caps security manager. dougt has looked at and used this but is not around for a 'r='. a=jar 2000-02-19 00:14:44 +00:00
norris%netscape.com 97b2229648 Fix wrapping of InvocationTargetException. Thanks to Kurt Westerfeld for pointing this out. 2000-02-18 17:38:11 +00:00
norris%netscape.com 0a702e28d6 Add equals() and equalsIgnoreCase() to the String object, at the suggestion of Tom Beauvais <tbeauvais@bowstreet.com> 2000-02-18 17:37:27 +00:00
rogerl%netscape.com d72f2d137f Added decode/encode URI handling. 2000-02-18 00:22:02 +00:00
norris%netscape.com 7c93fc996d Fix cases of LiveConnected classes that have a field and methods with the same name.
Also clean up Bean properties, making implementation more efficient.
2000-02-17 22:32:37 +00:00
norris%netscape.com dd21b7e32d Remove untrue comment. 2000-02-17 22:31:43 +00:00
norris%netscape.com aefac0c5f0 Update implementation version. 2000-02-17 22:31:16 +00:00
norris%netscape.com ef296d762f Add tests for fields and methods with the same name, and for bean properties. 2000-02-17 19:28:33 +00:00
norris%netscape.com 53f217c2b8 Add to "dont-test" list. 2000-02-16 18:35:10 +00:00
norris%netscape.com b73bd41b86 Add support for dynamic scopes and fix remaining test failures in the tip. 2000-02-16 17:40:53 +00:00
cls%seawood.org 89d57d0dd8 Temporary fix for bug #24892 2000-02-16 07:58:45 +00:00
dveditz%netscape.com dc71859afb registry speed ups (part of 12817) 2000-02-16 07:45:20 +00:00
rginda%netscape.com 06d4a1efb7 Fix for 26725, r=jband 2000-02-16 06:26:21 +00:00
rginda%netscape.com 40e551de92 Fix for JS bug 26463. r=rogerl 2000-02-16 01:02:25 +00:00
rogerl%netscape.com 297c0ad32a Bug #9141, prevent recurse death for greedy matching on MAC.
r=rginda
2000-02-16 00:49:34 +00:00
norris%netscape.com 2029e26895 Avoid static never-released reference to streams; causes problems for Patrick Beard's use of the shell. 2000-02-15 17:08:31 +00:00
jband%netscape.com 047f41715b Reimplement the Components.[ID,Exception,Constructor] properties in C++. These
things were completely unusable due to security restriction in anything besides
xpcshell. This fixes bug 26879 and helps a lot for bug 8700 because is reduces
the work done for JSContext creation.

Also, ease the burden of xptcall porters by doing IS_COMPONENT for all unix platforms.

r=mccabe
2000-02-15 06:43:51 +00:00
norris%netscape.com 711b1a24cc Fix contributors list. 2000-02-15 00:09:58 +00:00
rogerl%netscape.com 318f0369a0 Nuts, checked in wrong file AND named wrong bug in previous checkin, msu
be friday or something.
Correct bug# is 26060.
2000-02-11 23:00:21 +00:00
rogerl%netscape.com db94be8b0b r=brendan@mozilla.org
bug #26857
Fix for evaluating multi-part script prologs in advance.
2000-02-11 22:21:15 +00:00
rogerl%netscape.com ed4a19ac7b r=brendan@mozilla.org
Prepare for new setter/getter syntax.
2000-02-11 22:19:33 +00:00
rogerl%netscape.com d632ed5956 r=mccabe
bug #22866
Support unicode line/paragraph separators.
2000-02-11 22:17:56 +00:00
rogerl%netscape.com c090d759bc r=norris
Deal with precendence warning whinings
2000-02-11 22:16:55 +00:00
beard%netscape.com 8068795290 added DTOA.java 2000-02-09 23:15:27 +00:00
rogerl%netscape.com 04e79bc44a Changed implementation of toString(<base>) to use Waldemar's code from
SpiderMonkey.
2000-02-09 19:52:31 +00:00
mccabe%netscape.com d38a48ba5a Added comment recommending rooting of new script objects, to address problems experienced by netscape.public.mozilla.jseng developers.
Also verbiage refactory.

r=brendan
2000-02-08 01:38:20 +00:00
rogerl%netscape.com accca6ac13 r=brendan@mozilla.org
Bug #14462, lot's of discussin there about these changes, but here's
Brendan's description :
In order, changes in the patch are:

- Rename JSSLOT_ITR_STATE to be JSSLOT_ITER_STATE (avoid cybercrud abbreviation
as cbrcrd, no more six-char id limits!).

- Property cache tests must occur with the object's scope-lock held, to close a
race with delete (js_DestroyProperty, always called with the property's scope
locked).  Once the cache has been hit, and before the lock is released, the
property's refcount must be bumped.  This requires re-acquisition of the lock
and js_DropScopeProperty afterward.

- Reworked js_FindProperty to use a do-while loop, as cx->fp->scopeChain must be
non-null.  This avoids a gratuitous lastobj init done to "Suppress gcc warning"
in the old revision.

- Akin to the property cache hit cases in jsinterp.c and jsobj.c's
js_FindProperty, code to hold and drop the scope-property by its refcount that
was #ifdef JS_THREADSAFE must be unconditional, now that user-defined getters
and setters may delete the property id they're getting or setting.

- Fixed overlong continuation line in jsobj.h.

/be
2000-02-08 01:24:53 +00:00
scc%netscape.com 5e041e830f Pro5 update 2000-02-07 23:06:04 +00:00
brendan%mozilla.org 6c650cca5d Comment/cosmetic changes only (r=shaver@mozilla.org). 2000-02-07 07:28:25 +00:00
norris%netscape.com 968aa458f4 Fix 18860 impossible to call applet's public methods from JavaScript
(fix from jeff.dyer@compilercompany.com, r=norris)
2000-02-06 23:34:50 +00:00
risto%netscape.com b011c9aaf1 Changing all cvs-mirror.mozilla.org references to point to politically
correct addresses, for example tinderbox.mozilla.org, lxr.mozilla.org or
bonsai.mozilla.org. cvs-mirror shouldn't use in URLs anymore because it's
now on different server.

r=bryner
2000-02-05 07:23:36 +00:00
brendan%mozilla.org cd95a8bb37 Argh, fix stupid typo that sometimes breaks for/in loops (26595, r=jband@netscape.com). 2000-02-05 02:04:16 +00:00
brendan%mozilla.org 8d4074ad39 Fix crash reported in bug 26595 (r=jband@netscape.com) via better compilation-frame conditioning. 2000-02-05 01:54:13 +00:00
waldemar%netscape.com 9a3054bba5 Fixed bug 2000-02-05 00:39:58 +00:00
waldemar%netscape.com 8cc88bfb5a Fixed & bugs 2000-02-04 23:54:29 +00:00
waldemar%netscape.com b7990b4910 Fixed syntax error 2000-02-04 23:54:08 +00:00
pinkerton%netscape.com df598e0b9f oops, messed up the optimized target. now fixed. 2000-02-04 05:22:37 +00:00
pinkerton%netscape.com ca825bef77 fix the access paths for pro5 migration. r=macdev. 2000-02-04 03:27:36 +00:00
brendan%mozilla.org f70f30872e - Eliminate ancient, bogus proxying of function object for its call objects (23346, r=jband@netscape.com).
- Tabs expanded as much as I could stand, without taking too much cvsblame.
2000-02-04 02:01:49 +00:00
rogerl%netscape.com d6177ed1aa r=Norris
License updating, bug#15529, continuing.
2000-02-04 00:08:13 +00:00
waldemar%netscape.com 58d5f8fec3 VC6 project and workspace 2000-02-03 08:27:00 +00:00
waldemar%netscape.com 5acd2ebc45 Updated for VC6 2000-02-03 08:25:01 +00:00
jband%netscape.com 610d83d7b1 fix XPCContext leak bug 25911 r=beard. fix DOM wrapping case where static called object does not have a static DOM scope, but is run in a DOM context; e.g. calling a JS component from within a window that calls some native service that returns a DOM window - the serive is not a DOm object and has no static DOm scope, but the call is made on a DOM context so a dynamic lookup works. r=mscott 2000-02-03 03:25:53 +00:00
rginda%netscape.com 71150b6069 Uncompressed version (so it can be in your classpath on all platforms.) 2000-02-03 00:48:50 +00:00
rogerl%netscape.com 8320a45b74 r=norris
Bug#24712, regexp greedy recursing wasn't handling zero kid back-tracked
state nor re-setting parenCount correctly.
Added license junk for bug#15529 (continuing).
Fix type-mismatch warning in jsstr.c
Switched off DEBUG only use of fd_pow under Windows.
2000-02-03 00:44:03 +00:00
rginda%netscape.com 03db56724d Renamed JavaObjectToLong-005.js to JavaObjectToLong-005-n.js 2000-02-02 20:21:34 +00:00
waldemar%netscape.com 0a7d68a759 Turned off optimizations and inlining in debug build 2000-02-02 08:51:16 +00:00
waldemar%netscape.com 0c26dbf247 Changed to match parser.h 2000-02-02 08:50:54 +00:00
waldemar%netscape.com c1d408f4ee Added ArrayAutoPtr and reworked cstring -> String conversions 2000-02-02 08:50:26 +00:00
waldemar%netscape.com 8ed7282c18 Added parsing of numerals and token printing 2000-02-02 08:48:40 +00:00
waldemar%netscape.com 1216266a7a Cleaned up and added String routines 2000-02-02 08:47:54 +00:00
waldemar%netscape.com 666c772717 Added lexer call 2000-02-02 08:47:03 +00:00
waldemar%netscape.com 969ef01100 Fixed bug 2000-02-02 08:46:36 +00:00
mccabe%netscape.com 79ebcf1cfb Changes to allow Spider Monkey to be compiled under C++.
Courtesy Bill Gibbons <bill@gibbons.org>

His comments:

Here are the changes to JSRef to make it compile either as C or C++. Mostly the changes are to add missing casts (since C++ doesn't have implict conversion from void* to other pointer types nor implicit casts from ints to enumerations) plus a few random things like the use of "private" as a variable name.

There are a few other minor bug fixes; in particular:

  * A long statement with and'ed conditions is reformatted to make it easier to remove other builtin objects (e.g. Date).

  * A #if was added to jsscript.c for the JS_HAS_SCRIPT_OBJECT off case.

  * In jsmath a #ifdef was changed to #if.

My notes also mention...

  * jsobj.c should include jsopcode.h

  * jsfun.c - doesn't link if JS_HAS_ARGS_OBJECT is off

  * jsarray.c - a reference to js_ValueToSource should be conditional on JS_HAS_TOSOURCE

r=mccabe
2000-02-02 01:10:31 +00:00
rginda%netscape.com 1d924eef6a Fix bitrot in RhinoEnv.java and DataTypes_017.java.
fresh build of jstests.jar
2000-02-02 00:57:03 +00:00
norris%netscape.com 131271ae68 Fix bug #25864 watch() vulnerability
r=vidur,rogerl
2000-02-02 00:22:58 +00:00
rginda%netscape.com a1985df10f initial add 2000-02-02 00:22:23 +00:00
rginda%netscape.com 14d480a8f6 fresh build 2000-02-02 00:18:57 +00:00
rginda%netscape.com 2f5c2fe68d initial add of compiled testdriver 2000-02-01 22:48:52 +00:00
jband%netscape.com ba8be566fd trivial block scope loop counter variable rename to squelch shadow warning.r=jband 2000-02-01 10:53:34 +00:00
mccabe%netscape.com 94158a3912 Warning fixes. (Found one semantic problem in nsCLiveconnect.cpp)
r=mozbot
2000-02-01 09:12:58 +00:00
jband%netscape.com 321d0f8624 add improved support for dumping the JS stack from the native debugger or using the 'debugger' statement in JavaScript. Doc coming to the mozilla site soon. r=mccabe 2000-02-01 08:48:17 +00:00
jband%netscape.com 669ded1e87 added files: mozilla/js/src/xpconnect/src/xpcdebug.cpp 2000-02-01 08:48:00 +00:00
norris%netscape.com e19ea68179 Fix use of unsupported typedef.
r=Jerry.Kirk@Nexwarecorp.com
2000-01-31 23:10:12 +00:00
norris%netscape.com 80ced8d288 Remove unused private method. 2000-01-31 18:49:07 +00:00