Commit Graph

319 Commits

Author SHA1 Message Date
jonas@sicking.cc
2dce87330b Backing out due to mochitest failure 2007-11-29 01:34:51 -08:00
jonas@sicking.cc
a6bf2b9522 Bug 348156: Fix leaks by relying on cycle collector rather than calling UnbindFromTree on all nodes. r/sr=jst 2007-11-29 00:41:25 -08:00
neil@parkwaycc.co.uk
5951a27707 Bug 143065 Scope of accesskey should be limited to tab panel r+sr=roc a=beltzner 2007-11-28 12:14:12 -08:00
bugzilla@standard8.plus.com
c7bc0086f2 Bug 397783 Remove lots of redundant nsISupportsArray include/forward definitions from content (part 2) r/sr=jst,a=mtschrep 2007-11-22 10:50:59 -08:00
bzbarsky@mit.edu
cc5ba1b527 Make getElementById in HTML always return the first node in document order. Bug 403868, r+sr=sicking 2007-11-21 18:28:47 -08:00
enndeakin@sympatico.ca
f3dee7a7ae Bug 394600, address bz's additional popup reworking comments, add tests for removing popups, r+sr=bz,a=beltzner 2007-11-17 07:47:38 -08:00
reed@reedloden.com
3a457e2465 Add missing header to fix bustage. 2007-11-13 03:29:16 -08:00
reed@reedloden.com
c3fe474d61 Bug 321172 - "Template Query Processor for mozStorage" [p=laurent@xulfr.org (Laurent Jouanneau) r=smaug r=Enn r=sdwilsh sr=roc a1.9=schrep] 2007-11-13 02:42:03 -08:00
peterv@propagandism.org
879a96b751 Fix for bug 402833 (ASSERTION: ReleaseSubtree not called with xml parsing error in attribute). r/sr=sicking. 2007-11-12 06:47:14 -08:00
jruderman@hmc.edu
e878e49fcc Relanding Mats Palmgren's patch: Call PerformAccesskey() on the controlled element in case it's not a nsIDOMXULElement. b=400774 r=surkov.alexander sr=jst a=dsicore 2007-11-11 14:44:48 -08:00
reed@reedloden.com
b3fbb56cdb Backed out bug 400774 to see if it is the cause of the Window unit test oranges. 2007-11-10 14:04:36 -08:00
mats.palmgren@bredband.net
717a2ab67d Call PerformAccesskey() on the controlled element in case it's not a nsIDOMXULElement. b=400774 r=surkov.alexander sr=jst a=dsicore 2007-11-09 17:03:36 -08:00
jst@mozilla.org
858f753261 Landing patch for bug 401687. Stop reference counting JS objects in the cycle collector. Patch by peterv@propagandism.org, r+sr=dbaron@mozilla.com,igor@mir2.org, a=dsicore@mozilla.com 2007-11-01 15:51:57 -07:00
cbarrett@mozilla.com
709cbde7de Bug 303110 - Add Unified Toolbar machinery to Cocoa widgets. r=joshmoz, r=bz, sr=roc. 2007-10-29 21:03:42 -07:00
peterv@propagandism.org
0614d590fc Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-29 06:45:07 -07:00
peterv@propagandism.org
26b136edfe Backing out once more to fix orange. 2007-10-28 05:49:30 -07:00
peterv@propagandism.org
eae43da5fc Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-28 04:14:40 -07:00
jonas@sicking.cc
903acf3ee6 bug 394390: Don't report bogus warnings to the error console when using cross-site xmlhttprequest. Patch by Surya Ismail <suryaismail@gmail.com>, r/sr=sicking 2007-10-26 18:46:09 -07:00
peterv@propagandism.org
2612f32541 Backing out to fix orange. 2007-10-26 07:30:50 -07:00
peterv@propagandism.org
89c081734f Backing out to fix orange. 2007-10-26 07:15:28 -07:00
peterv@propagandism.org
7496875bfa Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-26 06:25:32 -07:00
bzbarsky@mit.edu
06f6b88b65 Make the "href" property of stylesheets reflect the original URI that was reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore 2007-10-23 14:56:41 -07:00
mats.palmgren@bredband.net
d3e6094bdd Null-check parent in case the <observes> is the root element. b=386386 r=Olli.Pettay sr=neil a=dbaron 2007-10-20 00:07:45 -07:00
bugzilla@standard8.plus.com
78473044fa Bug 397783 Remove lots of redundant nsISupportsArray include/forward definitions from content. r/sr=jst,a=dbaron 2007-10-09 11:41:54 -07:00
Olli.Pettay@helsinki.fi
ad574eb5c0 Bug 398088, r+sr=sicking 2007-10-05 13:37:55 -07:00
sayrer@gmail.com
8a96aa3ec1 Bug 397148. 'Assertion failure: (cx)->requestDepth || (cx)->thread == (cx)->runtime->gcThread' within nsXULTemplateBuilder::InitHTMLTemplateRoot. r=enn, sr=sicking, a=sicking. 2007-10-03 18:40:54 -07:00
jonas@sicking.cc
bbf61f58f0 Backing out bug 348156 since it caused Tp perf regressions 2007-10-02 14:12:30 -07:00
jonas@sicking.cc
f0a388873a Bug 348156: Fix leaks by relying on cycle collector rather than calling UnbindFromTree on all nodes. r/sr=jst 2007-10-02 11:20:02 -07:00
Olli.Pettay@helsinki.fi
85880d8ce4 Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv 2007-10-01 03:02:32 -07:00
Olli.Pettay@helsinki.fi
4828fb7a4d Bug 396652, gecko scrolls on activate event (mouse click) with gtk embeds, r+sr+a=roc, p=iainnicol-mozbugs2007@yahoo.co.uk+me 2007-09-22 08:57:03 -07:00
bzbarsky@mit.edu
ee2d3464be Fire DOMContentLoaded async from EndLoad. Bug 344305, r=sicking, sr=jst, a=sicking 2007-09-21 10:30:37 -07:00
Olli.Pettay@helsinki.fi
2e21d3ae6d Bug 394442, Optimize ID, class and style getters, r=bz+sicking, sr=sicking, a=jst 2007-09-18 01:38:24 -07:00
bzbarsky@mit.edu
12bb6b8b24 Fix nsStandardURL serialization/deserialization to properly restore all state. Bug 396389, r+sr=biesi, a=bsmedberg 2007-09-17 15:23:12 -07:00
bzbarsky@mit.edu
8ff844ab55 Make the nsISerializable implementation of nsPrincipal actually work. This makes it possible to save principal objects to a stream and read them back. Bug 369566, r=dveditz+brendan, sr=jst, a=jst 2007-09-17 15:18:28 -07:00
bent.mozilla@gmail.com
3ce9c7d7ed Bug 394042 - "Dangling pointer in nsXULPDGlobalObject leads to mem corruption/crashes". r+sr=bzbarsky, a=jst. 2007-09-05 13:15:28 -07:00
bent.mozilla@gmail.com
740b273a1e Bug 394042 - backing out for now, tree is orange. 2007-09-05 11:05:26 -07:00
bent.mozilla@gmail.com
f0ee65b121 Bug 394042 - "Dangling pointer in nsXULPDGlobalObject leads to mem corruption/crashes". r+sr=bzbarsky, a=jst. 2007-09-05 10:48:09 -07:00
jag@tty.nl
9198e9c4b8 Bug 394139: Replace a bunch of NS_DEFINE_CIDs with CONTRACTIDs. r=/sr=/a=bsmedberg 2007-09-05 06:04:54 -07:00
jag@tty.nl
89ed2efec0 Bug 271824 follow-up: fix build bustage before it happens (I hope) 2007-09-05 02:20:31 -07:00
jag@tty.nl
d535057a5e Bug 271824: do_GetFastLoadService should use nsGetServiceByCID. r=/sr=/a=bsmedberg 2007-09-05 02:13:57 -07:00
enndeakin@sympatico.ca
527d68a644 Fix missing semicolon 2007-09-04 08:34:08 -07:00
enndeakin@sympatico.ca
7efdf9125f Bug 393566, add cycle collection to XULPopupListener, r+sr=peterv, a=dbaron 2007-09-04 08:26:35 -07:00
jwalden@mit.edu
d610945e9f Bug 199692 - Add support for document.elementFromPoint(x, y). Patch by Ben Karel <web+moz@eschew.org>, r+sr=roc, a=jst 2007-08-29 13:38:44 -07:00
bent.mozilla@gmail.com
6c2d18dcfb Bug 394042 - "Dangling pointer in nsXULPDGlobalObject leads to mem corruption/crash". r+sr+a=jst. 2007-08-28 16:20:57 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
dbaron@dbaron.org
1e507496e8 Fix leak when two documents race to load the same script (but leave for later fixing that we load the same script twice). b=392542 r=enndeakin sr=bzbarsky a=roc 2007-08-21 09:47:48 -07:00
martijn.martijn@gmail.com
bbcebbd0c2 Let only top level documents call this code, bug 391043, r=jst, sr=bzbarsky, a=dbaron 2007-08-20 23:44:43 -07:00
neil@parkwaycc.co.uk
92d0a0560b Don't stomp on observers when we're not expecting it b=391614 r+sr=bz a=dbaron 2007-08-16 16:07:39 -07:00
neil@parkwaycc.co.uk
1eddf617ec Backout of unapproved patch to bug 391614 2007-08-15 06:45:24 -07:00
neil@parkwaycc.co.uk
676ca6ea97 Don't let observers observe the observes (or command) attribute b=391614 r+sr=bz 2007-08-11 04:42:16 -07:00
jst@mozilla.org
73674fd85b Fixing bug 389911. Removing nsIScriptGlobalObject::Get/SetGlobalObjectOwner() as it's not needed any more. r+sr=peterv@propagandism.org 2007-08-09 15:30:30 -07:00
bzbarsky@mit.edu
73073f4f3b Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking 2007-08-07 18:16:09 -07:00
bzbarsky@mit.edu
d85872ea5d Hoist the code for handling class and id up from nsGenericHTMLElement to the newly-created nsStyledElement so that it can be reused by MathML and to some extent by SVG. Bug 379178, patch by Daniel Kraft <domob@daniel-kraft.net>, r=jwatt for the SVG changes, r+sr=sicking for the rest, a=dsicore 2007-08-06 08:27:19 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
enndeakin@sympatico.ca
c6fa8c5df7 Bug 389573, context menus opening in wrong place, affects email address menu, r+sr=bz,a=dbaron 2007-08-03 10:57:44 -07:00
Olli.Pettay@helsinki.fi
81c89897e3 Backing out bug 275196, xml:id, to fix tp regression 2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi
ad51500682 Bug 275196, xml:id, r=sicking, sr=dbaron 2007-07-26 05:22:01 -07:00
Olli.Pettay@helsinki.fi
cbb771c688 Bug 321170, Templates needs to be able to load datasources other than RDF, p=laurent@xulfr.org, r=enndeakin, sr=peterv 2007-07-19 06:49:29 -07:00
enndeakin@sympatico.ca
cf05956adc Bug 387659, popup coordinates are not set within popupshowing event,r=eli,sr=bz 2007-07-17 05:39:54 -07:00
bzbarsky@mit.edu
a4c90a1d9d Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
bzbarsky@mit.edu
a7014a42ea Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 12:44:27 -07:00
bzbarsky@mit.edu
79013e30da Notify before firing mutation events. Bug 387460, r+sr=sicking 2007-07-10 18:14:55 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
Olli.Pettay@helsinki.fi
98f382ceb3 Bug 386914, r+sr=jst 2007-07-06 01:01:44 -07:00
dbaron@dbaron.org
a6df82abe4 Make XUL prototype elements set mNumChildren to 0 when they stop owning their children in ReleaseSubtree. b=386947 r+sr=sicking 2007-07-05 15:40:26 -07:00
Olli.Pettay@helsinki.fi
2feaae333d Bug 386802, Mutation events always fired during setting of innerHTML, r+sr=bz 2007-07-04 13:39:10 -07:00
enndeakin@sympatico.ca
6c8197be5f Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz 2007-07-04 08:49:38 -07:00
mats.palmgren@bredband.net
db689821bf Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst 2007-07-03 19:15:31 -07:00
mats.palmgren@bredband.net
bf430d8c33 Fix crash [@ nsPopupSetFrame::Destroy]. b=384877 r=enndeakin sr=roc 2007-07-03 14:16:48 -07:00
enndeakin@sympatico.ca
3cac4d61c3 Bug 327920, issue with determining uri variable in query template syntax,r+sr=peterv 2007-07-02 14:40:56 -07:00
dbaron@dbaron.org
086900c009 Fix leak of nsJSRuntime due to unbalanced calls of HoldScriptObject (with null argument). b=386294 r+sr=jst 2007-06-29 20:06:04 -07:00
enndeakin@sympatico.ca
271e5c520d Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:39:50 -07:00
enndeakin@sympatico.ca
95deb19d78 Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
6c59f4a6d3 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz 2007-06-29 12:04:45 -07:00
peterv@propagandism.org
76a2c4d37f Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org
0f0097ffc5 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
51dda63979 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
enndeakin@sympatico.ca
e7e0ff1269 Bug 321171, See if this fixes build errors on Windows/Linux 2007-06-15 08:30:28 -07:00
enndeakin@sympatico.ca
78a410c31c Bug 321171 - support XML sources in XUL templates, r=smaug,sr=peterv CVS: ---------------------------------------------------------------------- 2007-06-15 08:03:44 -07:00
enndeakin@sympatico.ca
281a052101 Bug 378173, template removes content incorrectly with multiple queries, r=smaug,sr=peterv 2007-06-15 07:00:18 -07:00
mats.palmgren@bredband.net
2580b17d8a Redirect 'contextmenu' events targetted at 'window' to the root content element. b=380818 r+sr=jst 2007-06-08 04:54:16 -07:00
gavin@gavinsharp.com
218738d375 Bug 381031: make JS1.8 the default for <xul:script>, and add a JSVERSION_LATEST #define to simplify future changes, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=brendan 2007-06-07 15:50:12 -07:00
jonas@sicking.cc
0a47e8baa7 Fix yet more regressions from the don't-flag-clone-xul-nodes-indocument landing. b=380872 r/sr=bz 2007-05-24 17:28:20 -07:00
peterv@propagandism.org
98955fbcad Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 07:10:02 -07:00
enndeakin@sympatico.ca
335aceb277 Bug 381078, hang with recursive template, testcase is part of bug 378893, r=smaug,sr=jonas 2007-05-23 05:33:47 -07:00
sharparrow1@yahoo.com
5749eaf63e Bug 365189 document.width/document.height flush layout too late. r+sr=roc. 2007-05-22 20:52:53 -07:00
Olli.Pettay@helsinki.fi
da84b4a799 Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz 2007-05-22 14:45:03 -07:00
jonas@sicking.cc
941dc3b4c4 Bug 53901: Make sure to also release controllers when unbinding xul elements from the DOM. r/sr=bz 2007-05-21 15:22:51 -07:00
jonas@sicking.cc
9a9515bed6 Bug 53901: Don't set is-in-doc flag on cloned XUL nodes. r/sr=jst 2007-05-15 18:13:47 -07:00
Olli.Pettay@helsinki.fi
7ec10e025c Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
bzbarsky@mit.edu
5b2ec7d443 Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking 2007-05-13 20:52:48 -07:00
Olli.Pettay@helsinki.fi
f29b4e2b1b backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
91a5c67cd1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
jonas@sicking.cc
36cb23b6c1 Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-10 13:21:12 -07:00
jst@mozilla.org
bdfbc4a316 Backing out Jonas' last changes due to tinderbox orange, per Jonas' request. 2007-05-09 17:42:33 -07:00
jonas@sicking.cc
ccae61e56a Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-09 16:33:28 -07:00
jonas@sicking.cc
1c214cc3a2 back out last patch since leaks went through the roof 2007-05-07 18:03:08 -07:00
jonas@sicking.cc
9179b005a4 Don't attempt to cycle collect documents, windows and elements that are currently being viewed. r=bz, sr=jst b=378987 2007-05-07 16:45:25 -07:00
bzbarsky@mit.edu
5a139c8a8d Propagate a stylesheet's principal to the URI and Image CSSValues derived fromthat sheet. Bug 377091, r+sr=dbaron 2007-05-02 18:15:53 -07:00
bzbarsky@mit.edu
32d3d359f4 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
gavin@gavinsharp.com
78b03c6869 Bug 233643: clone XUL element prototype inline style rules before they can be modified by script 2007-04-29 10:58:52 -07:00
asqueella@gmail.com
f6efd70be4 378327 - minor cleanup/simplification of ForwardReferences code in nsXULDocument- move AddForwardReference and ResolveForwardReferences from nsIXULDocument tonsXULDocument, make them non-virtual.- make mForwardReferences an nsTArray<nsAutoPtr<nsForwardReference> > insteadof nsAutoVoidArray.r=smaug, sr=roc 2007-04-27 07:15:25 -07:00
enndeakin@sympatico.ca
446a76e214 Bug 377423, MemoryElements not removed from the pool properly, fixes topcrash, r=peterv,sr=sicking 2007-04-26 06:03:55 -07:00
peterv@propagandism.org
f61971e016 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
bzbarsky@mit.edu
dd9c587591 Followup to bug 84582 to restore the old error-handling behavior here. Fixesone of the reftests. 2007-04-20 16:43:28 -07:00
bzbarsky@mit.edu
c585c92179 Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking 2007-04-20 15:59:18 -07:00
neil@parkwaycc.co.uk
1e5179b1b2 Bug 377577 Allow templates to generate arbitrarily nested treeitems r=Enn sr=roc 2007-04-19 12:27:11 -07:00
sayrer@gmail.com
0ce8af1698 Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky 2007-04-16 08:18:50 -07:00
enndeakin@sympatico.ca
ff764a00c6 Bug 362906, assertion when root node in a template isn't XUL, r=smaug,sr=sicking 2007-04-12 08:55:54 -07:00
enndeakin@sympatico.ca
c3b7befff3 Bug 368721, issues with conditions on simple rules in templates,r=smaug,sr=sicking 2007-04-12 08:47:44 -07:00
peterv@propagandism.org
5be4000455 Fix for bug 372713 (Add cycle collection to RDF datasources). r=bsmedberg, sr=dbaron. 2007-04-10 15:05:41 -07:00
enndeakin@sympatico.ca
532ad7a5c9 Bug 366478 - consolidate lists of onX event attributes, r=smaug,jwatt,sr=sicking 2007-04-02 10:17:36 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
asqueella@gmail.com
bde08ec16b fix bug 369828 - html/svg:style sheets don't work in XUL documents(the fix is to special-case these elements in nsXULDocument::ResumeWalkand manually call UpdateStylesheet on them after the element and its subtreeis fully constructed and inserted into the document)r=bz, sr=peterv 2007-03-24 22:20:29 -07:00
asqueella@gmail.com
b8c797ca40 Bug 373614 - remove nsIXULContentSink interface, use the underlying class directly.r=smaug, sr=roc 2007-03-24 22:02:10 -07:00
Olli.Pettay@helsinki.fi
056e66fd0c Bug 288392, DOMSubtreeModified event, r=peterv, sr=jst 2007-03-24 05:18:02 -07:00
Olli.Pettay@helsinki.fi
a04e1d18ae Bug 374584, r=peterv, sr=jst 2007-03-24 03:53:07 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00