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

4664 Коммитов

Автор SHA1 Сообщение Дата
igor%mir2.org fa14609cd7 I moved decompilation code from NativeFunction to Parser so changes in compressed source structure will affect only one file. 2002-11-26 08:00:44 +00:00
pschwartau%netscape.com f6f9804cca Trivial whitespace fix. 2002-11-26 02:55:54 +00:00
pschwartau%netscape.com 0eec1823ec Improvement by joerg.schaible@gmx.de: test not only that |err.toString()| contains |err.message|, but also that |err.message| contains the right value; i.e the value provided to the Error constructor. See bug 181909. 2002-11-26 02:53:39 +00:00
pschwartau%netscape.com 63b65c2b9c Improvement by joerg.schaible@gmx.de: test not only that |err.toString()| contains |err.message|, but also that |err.message| contains the right value; i.e the value provided to the Error constructor. 2002-11-26 02:03:32 +00:00
pschwartau%netscape.com 60ba3d1f3f Fixing three typos. 2002-11-26 01:17:37 +00:00
pschwartau%netscape.com 2b89e3b6d0 Trivial whitespace fix. 2002-11-26 01:16:23 +00:00
brendan%mozilla.org 9f86c8f220 Comment nit-picks (comment changes only). 2002-11-26 00:33:08 +00:00
brendan%mozilla.org 5380b54b0e Relax comments restricting Operate calls from enumerator to allow lookups (no bug, comment change only). 2002-11-26 00:32:07 +00:00
igor%mir2.org 3626a138ec Add args and argCount to InterpreterData to emphasize that InterpretedScript/InterpretedFunction are just runtime wrappers around InterpreterData 2002-11-25 21:33:56 +00:00
igor%mir2.org 1e02010066 Wrap restoring of the original optimization level into finally block 2002-11-25 16:46:16 +00:00
igor%mir2.org 8f8ec48385 Fixing 181654: Error.prototype.toString is a generic function now
printing this.name + ": " + this.message for any this.
2002-11-25 16:44:30 +00:00
sicking%bigfoot.com 8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
pschwartau%netscape.com 59b425d3e5 Initial add. Regression test for bug 181654 by joerg.schaible@gmx.de. 2002-11-24 00:14:18 +00:00
dbradley%netscape.com 86ca2cd40a Bug 173146 - This is the third patch in the series for IDispatch support. The bulk of the changes are comments and formatting, and some better error handling. r=adamlock, sr=jst and the code review group. NOTE: The bulk of this code is still not part of the build and the reviews reflect the XPConnect portions only. 2002-11-22 23:04:53 +00:00
pschwartau%netscape.com 979c5345e5 Replace 'onload' with meaningless string. Alertboxes were popping up otherwise when the jsDriver.pl results file was opened! 2002-11-19 23:23:33 +00:00
pschwartau%netscape.com 89658bef87 Correcting minor formatting mistake at Retest List header. 2002-11-19 22:00:38 +00:00
pschwartau%netscape.com 6d450f7126 One-line fix for bug 62187, "JS shell producing too much console output on Mac" (r=waldemar, r=rginda). Without this fix, running the test driver is impossible on Mac 9. [NOT PART OF BROWSER BUILD]. 2002-11-19 20:53:17 +00:00
pschwartau%netscape.com 7ae2d05ef4 Bringing Windows makefile for JS shell in sync with recent changes made to the browser build and to the js.mak(VC++) build of the JS shell; see bug 160592. [DOES NOT AFFECT BROWSER BUILD]. 2002-11-19 20:29:38 +00:00
timeless%mozdev.org b6b14bf40e Bug 180783 nsDependentCString filename(PR_GetEnv("MOZILLA_JS_PROFILER_OUTPUT")) => ASSERTION: nsDependentCString must wrap a non-NULL buffer: 'aPtr'
r=dbradley sr=bz
2002-11-19 05:06:27 +00:00
timeless%mozdev.org 384066e98e Bug 58221 don't use strlen to check if a string is of length 0
patch by aaronl@vitelus.com r=timeless sr=bz
2002-11-17 05:16:49 +00:00
dbradley%netscape.com 1621e27d5b Bug 180098 - "--enable-activex-scripting" option seems to break composition window. Error was in enumeration when IDispatch logic was turned on. r=adamlock, sr=jst 2002-11-15 13:57:16 +00:00
igor%mir2.org 9be5d10e5c Replace getScriptable() by getFunctionName() in omj/debug/DebuggableScript.java as the debugger used DebuggableScript.getScriptable() only to query function names.
It allows to implement the DebuggableScript interface only  by omj/InterpreterData instead of 2 identical implementations by InterpretedFunction and InterpretedScript.
2002-11-14 21:12:36 +00:00
seawood%netscape.com cb349b9ce3 Drop unneeded java build rules & variables since blackwood now builds using ant.
Bug #161617 r=edburns sr=beard
2002-11-14 19:36:28 +00:00
pschwartau%netscape.com c02c7a1373 Adding comments. 2002-11-14 02:12:15 +00:00
brendan%mozilla.org 9258804a58 Remove l10n_debug cruft, expand tabs, eliminate else-after-break, don't invade the standard C namespace with leading _ in identifiers, etc. (173827, r=scole@planetweb.com). 2002-11-13 22:59:15 +00:00
igor%mir2.org cd8a03eb8a Fixing in Interpreter.dumpICode reading of index from a wrong offset 2002-11-13 10:22:46 +00:00
igor%mir2.org b09ef875a4 Fixing misspellings comments 2002-11-13 10:13:40 +00:00
brendan%mozilla.org 5335692809 Make enumeration const unless PL_DHASH_REMOVE is returned by the etor callback; improve several comments (174859, r=waterson, sr=beard). 2002-11-13 04:35:37 +00:00
pschwartau%netscape.com 15e1115a55 Removing redundant variable declarations. 2002-11-13 00:19:57 +00:00
pschwartau%netscape.com 1187aaf4bd Adding more sections to cover str.search(), str.replace(). 2002-11-12 23:14:17 +00:00
brendan%mozilla.org a901dbac42 Fix s.match('re', 'g') and similar cases to use the right local root (179524, r=rogerl). 2002-11-12 19:25:01 +00:00
pschwartau%netscape.com df3d9676c2 Comment fix. 2002-11-12 19:02:18 +00:00
pschwartau%netscape.com 302d45cc44 str.match() CAN take a 2nd parameter, if the 1st one is a string instead of a RegExp object. Added cases to cover that. 2002-11-12 18:33:39 +00:00
dbradley%netscape.com 7af59e4deb NOT PART OF BUILD. Corrected scriptability tests. 2002-11-12 10:38:17 +00:00
igor%mir2.org efd9f298ab Call NativeArray.getLength() instead of deprecated NativeArray.jsGet_length() 2002-11-12 09:41:09 +00:00
igor%mir2.org 6e859f553a Cosmetics: use consistent naming and layout for internal methods providing JS library implementation. 2002-11-12 09:37:43 +00:00
igor%mir2.org 8cd90d6557 1. Deprecation jsGet_length in favour of getLength
2. Cosmetics: use consistent naming and layout for internal methods providing JS library implementation.
2002-11-12 09:36:40 +00:00
igor%mir2.org 594696279f 1. In js_concat determine the the size of the resulting string to avoid reallocations in StringBuffer .
2. Cosmetics: use consistent naming and layout for internal methods providing JS library implementation.
2002-11-12 09:33:48 +00:00
igor%mir2.org 82ea401577 Cosmetics: use consistent naming and layout for internal methods providing JS library implementation 2002-11-12 09:29:57 +00:00
igor%mir2.org 99c0da59df Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=179068
Allow to use char sequences exceeding 64K when storing source for decompilation

The current 64K limit for string literals comes from omj/Parser.java where it constructs the internal script presentation for future decompilation. The patch extends this form to allow string sequences with more then 64K characters and modifes decompilation code in omj/NativeFunction.java accordingly.
2002-11-12 09:24:54 +00:00
igor%mir2.org f8386f2604 Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=179366
Assume --> after a possible whitespace after line start means comments to end-of-line. The change follows the SpiderMonkey solution.
2002-11-12 09:20:09 +00:00
dbradley%netscape.com 64676a5373 Bug 173146 - Add support to XPConnect for IDispatch interface. Second round of changes. r=adamlock, sr=jst. Most changes are not part of build. 2002-11-12 08:22:35 +00:00
pschwartau%netscape.com 26a248a84f Initial add. Regression test for bug 179524. 2002-11-12 01:52:25 +00:00
pschwartau%netscape.com 3668bb8dc8 Initial add. Regression test by igor@icesoft.no for bug 31255, bug 179366. 2002-11-10 20:56:42 +00:00
pschwartau%netscape.com c7e3fdd24c Initial add. Regression test for bug 179068. 2002-11-10 20:31:36 +00:00
seawood%netscape.com 23b69e08db JS is a C only library and should be linked as such. 2002-11-09 08:18:25 +00:00
pschwartau%netscape.com ab79e573d9 A more accurate inRhino() function. The previous one failed to distinguish Rhino from LiveConnect. 2002-11-08 22:42:25 +00:00
pschwartau%netscape.com 185d03fd80 New engine command for JS2: was dikdik, now epimetheus. 2002-11-08 21:56:41 +00:00
igor%mir2.org 7ef61113d0 Cosmetics: refactor decompile without changing its functionality so a possible future patch to allow literal strings greater then 64K would be less intrusive. 2002-11-08 12:08:52 +00:00
pschwartau%netscape.com 64c94e6ca0 Tweaking sort function. 2002-11-07 23:02:06 +00:00