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

6238 Коммитов

Автор SHA1 Сообщение Дата
brendan%mozilla.org 1efd42a892 Implement XML NCRs, reject unknown entities (E4X code, not enabled yet). 2004-12-16 18:28:23 +00:00
brendan%mozilla.org 91272a112c Fix for bug 244619 from aviary/1.7 branches, r=shaver. 2004-12-16 00:25:03 +00:00
brendan%mozilla.org 2688921660 Robustifying followup to last checkin (244470). 2004-12-15 23:32:39 +00:00
bryner%brianryner.com d9626f6746 Add support for using gcc's visibility pragma to treat all function and method declarations as "hidden" unless declared otherwise. Create wrappers for system headers that cause them to be treated as default-visibility declarations. This gives a substantial code size and performance win on compilers that support it, and should show up on the gruff tinderbox. Bug 273336, r=darin sr=dbaron. 2004-12-15 05:52:44 +00:00
bsmedberg%covad.net 60567bb185 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2004-12-15 04:07:01 +00:00
brendan%mozilla.org fc978ab89c Silence a DEBUG_brendan blurb. 2004-12-15 02:59:00 +00:00
brendan%mozilla.org c1616cded1 Fix JSMSG_BAD_OCTAL's type, and reword JSXML_BAD_XMLLIST_PUT to simplify. 2004-12-15 02:57:21 +00:00
brendan%mozilla.org c29ebb1a17 Avoid indexing into fp->vars with wrong atomIndex (244470, r=self). 2004-12-14 21:28:22 +00:00
igor%mir2.org 31dea64eae Added info on seal() 2004-12-14 14:52:40 +00:00
brendan%mozilla.org ed1bb5483a Protect near-newborns from GC when defining function objects, and fix stack local root management under JSOP_INITCATCHVAR for similar reasons -- to avoid last-ditch GC nesting and collecting a near-newborn (271716, r=shaver). 2004-12-12 04:46:01 +00:00
brendan%mozilla.org e10cd22961 Unroot on failure exit paths from js_ReportUncaughtException (274096, r=shaver). 2004-12-11 22:00:34 +00:00
bmlk%gmx.de f0f7103d21 backout of shavers checkin as it breaks windows build and dbradley thinks that Quit took a parameter that was to be the return value of XPCShell? 2004-12-11 06:42:39 +00:00
shaver%mozilla.org bd3f0080d6 Bug 274136: add setExitCode global function for controlling xpcshell's exit
status.  Somewhere out there, the god of automated tests cracked a smile.
r=dmose
2004-12-11 03:32:10 +00:00
timeless%mozdev.org ca6d8b72e2 Bug 241171 Add error reporting and handling to PerlConnect
r=shaver
2004-12-11 00:50:53 +00:00
brendan%mozilla.org 02bc4b6f82 Fix SetFunctionSlot to use mutating change-property-attrs call (273963, r=jband). 2004-12-10 04:07:49 +00:00
nboyd%atg.com 05a7072e79 Add HttpUnit and HtmlUnit 2004-12-10 01:52:18 +00:00
nboyd%atg.com f670af373e remove stale link 2004-12-10 01:35:05 +00:00
brendan%mozilla.org 54e9fe4050 Null, not false (fix copy-paste error). 2004-12-10 01:31:16 +00:00
bsmedberg%covad.net 79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
brendan%mozilla.org 1c34b873aa Report uncaught Error with proper message, filename, lineno (243869, r=shaver). 2004-12-09 02:19:53 +00:00
brendan%mozilla.org e5f2626c46 Expand tabs. 2004-12-09 01:32:19 +00:00
nboyd%atg.com 37492ff65e Conform to style guide 2004-12-08 03:45:55 +00:00
shaver%mozilla.org 649bcf9048 Bug 272294: use backstage pass in xpcshell, for higher-fidelity reproduction
of the environment that privileged JS runs in when in the browser, etc.
r=dbradley.
2004-12-07 18:13:02 +00:00
igor%mir2.org 90e539e23a Patch from Daniel Gredler <danigredler@charter.net> to address bug 271401 :
JS prototypes for superclasses with ScriptableObject.defineClass
2004-12-07 00:10:31 +00:00
brendan%mozilla.org 5c38e1a00c Implement Deutsch-Schorr-Waite, plus related GC metering improvements, to avoid stack overflow crashes when marking very deep object lists (203278, r=igor@fastmail.fm and Igor wrote the tail-recursion elimination code). 2004-12-06 23:17:19 +00:00
brendan%mozilla.org ec32e80f2d Fix bug where spans of whitespace and entity refs was scanned as whitespace (bug 246441 comment 48, r=self). 2004-12-06 22:11:57 +00:00
brendan%mozilla.org 7d5a5668f0 Fiddle with comments and cosmetics. 2004-12-06 18:42:30 +00:00
gerv%gerv.net 670fb87360 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-12-01 22:27:03 +00:00
igor%mir2.org 14f3e3ead3 Link to changes.html 2004-12-01 00:07:07 +00:00
igor%mir2.org 70ece8dc32 Added release date information 2004-11-30 23:23:17 +00:00
brendan%mozilla.org 7c7cea2e5d Root the temporary vector used by array_sort via fp->vars (272336, r=shaver). 2004-11-30 17:52:29 +00:00
brendan%mozilla.org 12f7d715d0 e4x test fixes to match spec, r=igor@fastmail.fm. 2004-11-29 20:49:34 +00:00
brendan%mozilla.org fae875f0a7 Scanner fixes for better diagnostics; XML/XMLList parent() fixes to match spec and fixed tests (246411, r=self). 2004-11-29 20:48:56 +00:00
nboyd%atg.com 024770db18 Version is 1.6R1 2004-11-29 14:30:28 +00:00
igor%mir2.org a0c9f8d9ae *** empty log message *** 2004-11-29 13:07:27 +00:00
timeless%mozdev.org 8115bca784 Fixing line ending 2004-11-28 19:52:48 +00:00
brendan%mozilla.org ac737db06e Don't forget to call the new-script and destroy-script hooks in js_FilterXMLList, so the debugger knows about the script cloned there. 2004-11-25 06:57:17 +00:00
brendan%mozilla.org 80859c486d Fix memcmp length gaffe, plus polish a few comments (246411). 2004-11-25 04:37:18 +00:00
brendan%mozilla.org 72310ad8a4 - Add declared flag to JSXMLNamespace, to implement the intent and test-wanted
effect of ECMA-357, specifically x.namespaceDeclarations() should not include
  the default namespace inherited from the <parent> tag wrapped around a string
  argument "<x>...</x>" by ToXML, whereas x.inScopeNamespaces() should.

  This case implies errata against 10.3.1, 10.4.1, and 13.4.4.24 (at least).

- Consolidate common code in an XMLArrayInsert function, renaming the misnamed
  precursor to XMLArrayAddMember.  XMLArrayInsert properly notifies any cursors
  iterating over the array, fixing for/in and for-each/in bugs such as this:

    var l = <><a/><c/><d/></>;
    var i = 0;
    for each (var x in l) {
        print(x.toXMLString());
        if (i == 1) l[0] += <b/>;
        i++;
    }

- Fix the bug induced by this erratum from ECMA-357:

9.2.1.2 step 2(c)(ii) sets _y.[[Parent]] = r_ where _r_ is the result of
        [[ResolveValue]] called on _x.[[TargetObject]] in 2(a)(i).  This can
        result in text parenting text:

        var MYXML = new XML();
        MYXML.appendChild(new XML("<TEAM>Giants</TEAM>"));

        (testcase from Werner Sharp <wsharp@macromedia.com>).

        To match insertChildAfter, insertChildBefore, prependChild, and
        setChildren, we should silently do nothing in this case.

- Fix PN2X_OUTERMOST not to overlay XSF_CACHE_VALID, causing it to appear to be
  set when cx->xmlSettingFlags were "translated" into ParseNodeToXML flags.  To
  avoid further such stupidity, consolidated all similar flags into XSF_* bits
  and eliminated the PN2X_* duals.

- Redo the way the default namespace is inherited by parsed XML from the
  <parent> tag under ToXML and ToXMLList, and implicitly inherited in the
  js_ParseNodeToXMLObject alternative path to ToXML.

- Handle null prefix (meaning undefined in ECMA-357, that is, no prefix was
  passed to the Namespace constructor) and empty prefix (which is normalized
  from null for the empty URI "no namespace" case) better in the parsing and
  ToXMLString code.

- Fixed a bug in PutProperty where it implements 9.2.1.2 2(c)(vii)(1) (whew!).
  Fixed another bug near that which stupidly assumed all XML nodes have names,
  leading to an obvious null pointer crash.

This should be the final round of work for bug 246411.  With the appropriate
testsuite patches, this passes all tests except e4x/Regress/regress-264369.js
(which probably should be invalidated by a correction to the ECMA-357 spec).
2004-11-25 03:07:22 +00:00
brendan%mozilla.org 3fed695bed Avoid recursive death due to JS1.2 toString=>toSource combined with after-the-fact, heretofore unversioned reflection of string chars as enumerable elements (271477, r=jband). 2004-11-25 00:55:01 +00:00
igor%mir2.org a65d6fbe1c Fixing bug 271545: XML() should bahave exactly as XML("") 2004-11-24 23:16:38 +00:00
igor%mir2.org b00883eb33 Test for bug 271545 2004-11-24 15:30:38 +00:00
igor%mir2.org ae04809e92 I added DebuggableScript to javadoc list and fixed javadoc warnings about its documentation comments. 2004-11-24 10:38:40 +00:00
igor%mir2.org 14d93f1038 I added debug API to get names of parameters or variables from DebuggableScript. 2004-11-24 10:03:14 +00:00
darin%meer.net 6d8591d85f fixes bug 263360 "Make CallCreateInstance use NS_GetComponentManager instead of nonfrozen/deprecated nsComponentManager symbols" r=bsmedberg sr=dbaron 2004-11-23 20:53:38 +00:00
timeless%mozdev.org d01dd1aa4c Bug 249782 Make Mozilla compile with Microsoft Visual Studio 2005
patch by sdwalker@myrealbox.com r=bryner
2004-11-23 19:34:02 +00:00
vladimir%pobox.com 38fa42a069 b=239969, xpcshell needs to compile scripts with sysprin, r=shaver 2004-11-23 05:38:59 +00:00
igor%mir2.org 3f2ace010a Removal of serialVersionUID which was not used correctly:
Rhino never claimed to support binary compatibility in the serialized objects and it is better to use the system generated ids always to catch errors about incompatible changes ASAP.
2004-11-22 13:23:03 +00:00
brendan%mozilla.org c7ed3da614 In the Replace-calls-Insert case, where V is an XMLList, avoid creating holes and botching x.[[Length]] (246441 followup, rs=shaver). 2004-11-20 02:34:09 +00:00
igor%mir2.org 417113cf5f Preparations for Rhino 1.6R1 release 2004-11-19 13:27:45 +00:00