Commit Graph

2024 Commits

Author SHA1 Message Date
allan%beaufour.dk
ef9ceda68e Call XTF Begin/DoneAddingChildren in XUL Documents. Bug 302915, r+sr=bryner, a=benjamin, patch by smaug@welho.com 2005-08-02 12:47:41 +00:00
allan%beaufour.dk
88eac285e7 Dispatch DOMContentLoaded on XUL Documents. Bug 302914, r+sr=jst, a=benjamin, patch by smaug@welho.com 2005-08-02 12:42:24 +00:00
jst%mozilla.jstenback.com
8c2bc6fcb8 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers 2005-07-30 20:57:07 +00:00
cbiesinger%web.de
27335d05f5 bug 300024 remove assertion when putting XUL buttons in an XHTML document
patch by Caleb <bugs.caleb@gmail.com> r+sr=bz a=bsmedberg
2005-07-18 16:43:47 +00:00
brendan%mozilla.org
d0a48d5659 Support E4X by default in chrome windows and in XUL scripts (293392, r+sr=peterv/jst). 2005-07-02 19:52:25 +00:00
bsmedberg%covad.net
d8791d2f29 Bug 296102 - If a <xul:script src="chrome://missing-package/content/file.js" /> cannot be loaded, don't leave the window in an unopened zombie state, r+sr=jst a=asa 2005-07-01 12:18:18 +00:00
masayuki%d-toybox.com
1f93ebdcd5 Bug 259454 IME input (e.g., Chinese, Japanese and Korean) cannot be performed in Find Toolbar when opened with "/" or "'" r=bryner, dbaron, sr=dbaron, a=benjamin 2005-06-24 04:25:43 +00:00
jst%mozilla.jstenback.com
f3ed62af01 Fixing bug 296704. Make re-dispatching of events work as expected. r=dveditz@cruzio.com, sr=bryner@brianryner.com, a=dveditz@cruzio.com 2005-06-22 01:53:58 +00:00
jwatt%jwatt.org
dfb5090b0d Follow up patch for bug 62485. script type="text/ecmascript" is not recognized. r+a=brendan 2005-06-22 00:50:32 +00:00
peterv%propagandism.org
ea82f1a8a5 Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa. 2005-06-16 13:10:58 +00:00
cbiesinger%web.de
55fdadbd11 bug 241739 reuse HTML/SVG's <script> loading code for XUL <script>, thus
correctly handling non-ASCII characters
r+sr=bz a=asa
2005-06-12 12:32:05 +00:00
bzbarsky%mit.edu
5f3686c787 Create non-XUL nodes in a XUL document with the right ownerDocument. Bug
294536, r+sr=peterv, a=asa
2005-06-09 01:06:46 +00:00
jst%mozilla.jstenback.com
4e48d2a634 Fixing bug 292464. Use the documents principals to check if a document is a chrome document or not. r=smaug@welho.com, sr=peterv@propagandism.org, a=shaver@mozilla.org 2005-06-02 23:36:08 +00:00
timeless%mozdev.org
594e37d0af Bug 290197 unchecked outputstream [@ nsXULPrototypeScript::Serialize]
r=bz sr=bz a=shaver
2005-06-01 18:33:20 +00:00
allan%beaufour.dk
f9510dc2c1 Fix up nsDOMAttributeMap so it caches the nsDOMAttributes that it creates. Bug 235512, r=sicking, sr=peterv, a=shaver 2005-06-01 13:46:20 +00:00
bzbarsky%mit.edu
89f6d79b74 Push the mChannel member for documents up to nsDocument and expose it on
nsIDocument.  Bug 292971 preliminaries, r+sr=jst, a=chofmann
2005-06-01 01:15:23 +00:00
bzbarsky%mit.edu
e86f704ac7 Don't flag XUL elements created via nsXULElement::Create as being in a document
-- they're not.  Bug 292247, r=sicking, sr=jst, a=chofmann
2005-05-01 17:32:49 +00:00
jst%mozilla.jstenback.com
50de4a3e1d Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2005-04-28 23:48:28 +00:00
bzbarsky%mit.edu
7f50fad51c Remove unneeded layout flushes in XUL/XBL. Bug 290005, r=roc, sr=jst, a=asa 2005-04-28 20:23:26 +00:00
bzbarsky%mit.edu
90feadd1d3 Fix crashes when document.load is called on an already-parsing XML document.
Bug 289292, r=sicking, sr=jst, a=chofmann
2005-04-28 16:57:24 +00:00
ben%bengoodger.com
17b0bf20cf 291206 - verbose template rule format does not support parsetype='Integer' for literal match conditions... r=vlad sr=bryner a=brendan 2005-04-23 01:42:31 +00:00
bzbarsky%mit.edu
8df9c25d22 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan
2005-04-19 01:27:11 +00:00
bzbarsky%mit.edu
e84856a159 Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan
2005-04-18 22:58:35 +00:00
bzbarsky%mit.edu
ec8569a2f5 Fixing the XUL content sink's error reporting. Bug 289469, r+sr=peterv, a=dbaron 2005-04-18 19:44:14 +00:00
bzbarsky%mit.edu
192b6aaa49 Move the BindToTree call for the document element into SetRootContent. Bug
289209, r=sicking, sr=jst, a=asa
2005-04-15 01:30:14 +00:00
ben%bengoodger.com
f503636273 crash at nsXULDocument::OverlayForwardReference::Merge due to broken implementation of removeelement attribute for overlay merging... we always want to notify of node removals, so don't pass the notify flag along to the Remove function, always send PR_TRUE so that state is updated correctly. r=bz, sr=bryner, a=brendan 2005-04-06 23:19:20 +00:00
bzbarsky%mit.edu
48ba5ce32b Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst
2005-04-05 23:54:35 +00:00
Olli.Pettay%helsinki.fi
a4b953aae4 Bug 288998 - Use atoms in nsXULElement::HandleDOMEvent to compare tag names, r+sr=bz 2005-04-04 21:16:15 +00:00
bzbarsky%mit.edu
2c620a7158 Fix overlay code to not trust overlays and violate the nsIContent API in the
process.  Bug 233641, r=sicking, sr=ben
2005-03-31 04:26:00 +00:00
scott%scott-macgregor.org
d607589123 Back out the fix for Bug #285076 as it caused regressions (Bug #286709) 2005-03-18 17:14:29 +00:00
scott%scott-macgregor.org
fd9de2674a Bug #285076 --> XUL Template Builder doesn't work with Dynamic overlays because we aren't sending out notifications to the document when the overlay is loaded dynamically.
r=jst
sr=bryner
2005-03-17 21:26:04 +00:00
jst%mozilla.jstenback.com
a57ec3f6dc Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com 2005-03-04 02:01:54 +00:00
bryner%brianryner.com
a29b6c69fa Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky. 2005-02-25 22:07:01 +00:00
ben%bengoodger.com
7563b3836a 282103 - dynamic overlays: implement "loadOverlay" method on nsIDOMXULDocument which loads and merges an overlay into a XUL document. r=jst sr=bryner 2005-02-25 09:06:34 +00:00
bryner%brianryner.com
708a569767 Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky. 2005-02-19 10:31:27 +00:00
doronr%us.ibm.com
4be07d28cc Checked in from wrong tree, backing out, sorry. 2005-02-18 21:28:20 +00:00
doronr%us.ibm.com
b15c0e8b75 Bug 279057 - Implement hasFeature for XForms. Patch by smaug, r=bryner/sr=jst 2005-02-18 21:20:27 +00:00
neil%parkwaycc.co.uk
e298802c1b Wallpaper for bug 280541 to get content tootips and scrollbars but still trying not to expose too much to content r+sr=bz a=asa 2005-02-12 20:48:06 +00:00
neil%parkwaycc.co.uk
5f18ee85fa Wallpaper for bug 280541 to get content tootips and scrollbars but still trying not to expose too much to content r+sr=bz a=asa 2005-02-12 20:21:02 +00:00
bryner%brianryner.com
064c7eb606 Remove unneeded nsIFrameLoader interface (bug 280992). r+sr=jst. 2005-02-07 23:53:47 +00:00
bryner%brianryner.com
67dba23ae4 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
bryner%brianryner.com
851143fbec Remove unneeded nsIContentList interface (bug 280746). r+sr=jst. 2005-02-02 23:16:02 +00:00
mozilla.mano%sent.com
4ddcb38789 Bug 277516 - Add a hidden pref to follow accessibility.tabfocus for xul elements; default to true on mac, false everywhere else. r=aaronlev sr=bzbarksky 2005-01-29 23:47:35 +00:00
aaronleventhal%moonset.net
df927a6518 Bug 279496. Can't copy and paste in text area. r=mats, sr=bz 2005-01-27 13:10:20 +00:00
cvshook%sicking.cc
c33b1cbd24 Bug 279788: Add nullcheck before calling isSelfOrAncestor.
r/sr=bz
2005-01-25 21:10:36 +00:00
cvshook%sicking.cc
e2081a89e6 Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
r=bz sr=jst
2005-01-25 00:02:58 +00:00
cvshook%sicking.cc
56a6c3fccf Bug 279155: Random cleanup in nsXULElement.cpp
r+sr=jst
2005-01-24 10:45:00 +00:00
varga%nixcorp.com
a7c1766801 Fix for bug 274808. Crash when dragging onto a tree [@ nsXULTreeBuilder::GetTemplateActionCellFor ]
r=varga sr=bryner patch by Neil Deakin <enndeakin@sympatico.ca>
2005-01-19 22:06:23 +00:00
bryner%brianryner.com
956ddd5106 Remove nsIXULContent. Bug 276698, r=sicking, sr=jst. 2005-01-19 20:05:02 +00:00
neil%parkwaycc.co.uk
9179470baf Make XUL elements work properly with Get/SetNativeAnonymous (partial fix for bug 165110) r=sicking sr=bz 2005-01-17 16:03:28 +00:00
peterv%propagandism.org
603ae79c1b Fix for bug 278505 (Trivial content cleanup). r/sr=jst. 2005-01-17 09:38:03 +00:00
timeless%mozdev.org
01db14eca3 Bug 242467 The patch for bug 242212 breaks builder.rebuild for remote XUL
patch by enndeakin@sympatico.ca r=jst sr=jst
2005-01-17 09:24:56 +00:00
jst%mozilla.jstenback.com
7910abfc93 Eliminate cast that is no longer needed. 2005-01-15 00:25:12 +00:00
jst%mozilla.jstenback.com
6b7d6cec73 Landing fix for bug 198533. Patch by smaug@welho.com. Making nsXULElement inherit nsGenericElement. r=bugmail@sicking.cc, sr=jst@mozilla.org 2005-01-14 19:30:55 +00:00
neil%parkwaycc.co.uk
fb85706c0b Set the xul document title before layout in case xbl constructors want it b=278286 r+sr=bz 2005-01-14 18:00:29 +00:00
bzbarsky%mit.edu
8b54631a06 Keep track of whether a title has been set in the document, not in the sink.
This way we can notice all ways of setting it.  Bug 271996, r=sicking, sr=neil
2005-01-12 02:47:53 +00:00
peterv%propagandism.org
d77a12e38a Correct function signature to fix Solaris bustage. 2004-12-21 13:25:31 +00:00
peterv%propagandism.org
26bb2f4e91 Fix fo bug 274964 (Switch to Expat's xml declaration parsing). r/sr=jst. 2004-12-17 09:17:35 +00:00
peterv%propagandism.org
a7ac96fea9 Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst. 2004-12-15 15:37:23 +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
bryner%brianryner.com
6d1dd410b1 Move nsIContent::GetClassAttributeName() onto nsIStyledContent (bug 274402). r+sr=jst. 2004-12-14 03:54:01 +00:00
bryner%brianryner.com
076b2a64a6 deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst 2004-12-13 04:14:28 +00:00
jst%mozilla.jstenback.com
5cf54610bc Dropping 'Impl' from class names to keep things more sane. rs=peterv@propagandism.org 2004-12-10 19:48:22 +00:00
dbaron%dbaron.org
90d6a9c5a1 Fix --disable-xul bustage by building nsXULAtoms even when MOZ_XUL is false. b=272151 2004-12-08 21:34:22 +00:00
dbaron%dbaron.org
9db368a6af Bug 272151: reorganize files within layout, r+sr=roc 2004-12-08 19:41:48 +00:00
dbaron%dbaron.org
a4c1ec9f2a Bug 272151: reorganize files within layout, r+sr=roc: readd files that were previously at their new locations without repository-copies. See content/shared/{src,public} for intermediate revision history. 2004-12-08 01:50:33 +00:00
bsmedberg%covad.net
e946f44738 Centralize layout/ and content/ locale files. See bug 271324. 2004-12-04 20:10:51 +00:00
dbaron%dbaron.org
9643fc6c04 Back out 252703 due to Txul / Ts regression. 2004-12-02 01:26:20 +00:00
dbaron%dbaron.org
21dccaeace Fix theme switching bugs related to insufficient change handling when entry points to themes are stylesheet links (processing instructions or XBL stylesheet elements) or xul:image src attributes by giving the chrome: protocol its own URL implementation that remembers the URL to which the chrome: URL was resolved and uses that resolved URL as part of equality testing. Fix various fastload issues arising from this change. b=252703 r=darin sr=bzbarsky 2004-12-01 22:39:17 +00:00
bryner%brianryner.com
29c70cffe8 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
neil%parkwaycc.co.uk
a45fb5a046 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc 2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
095f0fe791 Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
r+sr=jst
2004-11-23 17:45:37 +00:00
bzbarsky%mit.edu
6b78bd4a5e deCOMify nsIStyledContent::GetID (make it return we a weak pointer to the ID
atom).  Bug 244249, patch by jpl24 <jlurz24@gmail.com>, r=sicking, sr=bzbarsky
2004-11-23 17:21:37 +00:00
jst%mozilla.jstenback.com
6784b07eea Landing workaround for bug 124750. Don't let DOM calls focus elements in hidden tabs. r+sr=bryner@brianryner.com 2004-11-04 01:24:05 +00:00
jst%mozilla.jstenback.com
05e17f4cd7 Fixing bug 265334. Adding API for embedders etc to listen to data fed to the parser from the network. r=darin@meer.net, sr=brendan@mozilla.org 2004-11-02 19:52:32 +00:00
varga%nixcorp.com
974fad2657 Bumping IIDs for bug 221619.
r=timeless sr=darin
2004-10-29 06:29:49 +00:00
bzbarsky%mit.edu
2895167f89 DeCOMTaminate some methods on nsIStyledContent. Bug 244258, patch by jpl24
<jlurz24@gmail.com>, r+sr=bzbarsky
2004-10-24 17:10:32 +00:00
varga%nixcorp.com
b88f4a6f88 Updating my email address. 2004-10-22 18:33:55 +00:00
aaronleventhal%moonset.net
b833cd1a72 Bug 260527. More fixes for xul radio button accesskeys. r=mconnor, sr=neil 2004-09-28 19:18:43 +00:00
bsmedberg%covad.net
cd811f0196 One more forgotten declaration from bug 246014. 2004-09-21 21:05:34 +00:00
neil%parkwaycc.co.uk
fdc47d09d4 Set the XUL document's title once the DOM is ready and not after a chrome window finishes loading, so that we get titles on XUL documents in content and we can also use document.title or window.title to set the title in a load handler b=126903 but also fixes 216651, 259067 and the like r=danm sr=jst 2004-09-17 20:03:18 +00:00
bzbarsky%mit.edu
f440132946 Make the XUL content sink store the right namespace for "xmlns" attributes.
Bug 256165, r=peterv, sr=jst
2004-09-16 18:38:07 +00:00
dbaron%dbaron.org
5f62984111 Add function to nsContentUtils to report a localized error message to the error console, and use it from the three places that were doing pretty much the same thing. b=187007 r+sr=bzbarsky 2004-09-14 17:26:35 +00:00
dbaron%dbaron.org
2afd699c4e Separate sheet URI and base URI for style attributes and for CSS parsing from DOM APIs. b=258707 r+sr=bzbarsky 2004-09-10 23:31:48 +00:00
dbaron%dbaron.org
96c0e36f4e Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky 2004-09-10 06:45:59 +00:00
jst%mozilla.jstenback.com
bc321b52bc Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu 2004-09-01 16:50:12 +00:00
vladimir%pobox.com
3e8d2f24f4 b=235665, aggregation broken in bookmarks [gecko only bits], r=axel,shaver,others,sr=shaver 2004-08-30 22:25:29 +00:00
bryner%brianryner.com
d4ebc7785f Fixing AIX bustage 2004-08-25 06:34:34 +00:00
vladimir%pobox.com
0b8d1522a5 b=255134, make nsICollation scriptable, r=jshin,sr=brendan 2004-08-24 22:50:33 +00:00
bryner%brianryner.com
b88692c5a1 Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
bryner%brianryner.com
0c08074b27 Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction) 2004-08-22 07:10:50 +00:00
bryner%brianryner.com
d86c91ac3a Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-22 04:58:44 +00:00
bryner%brianryner.com
8c24cc7e63 Backing out bug 253888 until I can figure out how to fix the crash 2004-08-21 06:27:54 +00:00
bryner%brianryner.com
11d98b36e5 Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron. 2004-08-21 05:09:50 +00:00
bryner%brianryner.com
180b0b7373 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
bzbarsky%mit.edu
d8d4fd0152 Make sure that <command>s ignore any "command" attribute they may have and that
the target of a "command" attribute is indeed a <command>.  Bug 254944, r=neil,
sr=peterv
2004-08-10 19:02:54 +00:00
peterv%propagandism.org
8d23023aab Backout part of the fix for bug 27382 to try to undo Tp regression. 2004-08-10 16:16:58 +00:00
peterv%propagandism.org
45682cc199 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst. 2004-08-10 10:22:36 +00:00
neil%parkwaycc.co.uk
a86fa72751 Bug 251197 Capturing mouse listeners can discover anonymous scrollbars r+sr=bz 2004-08-10 08:29:19 +00:00
darin%meer.net
065fb7242c fixes bug 250900 "nsIBrowserHistory corrupts URI strings [was: crash when a long malformed URL is entered in the Location Bar [@js_CloneFunctionObject]]" r=biesi sr=neil 2004-08-09 21:17:12 +00:00
bsmedberg%covad.net
d6a5526d46 nsIXULTemplateBuilder.refresh() shouldn't call .rebuild() (because the refreshing is done asynchronously). Bug 254600 r=Pike sr=Neil 2004-08-06 17:01:04 +00:00
peterv%propagandism.org
f0d5139d7d Fix for bug 252589 (Textbox attribute "multiline" seems broken). r+sr=jst. 2004-08-06 11:56:46 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
aaronleventhal%moonset.net
bf49c01782 Bug 253391. Any element with tabindex explicity specified can be focused via .focus(). r=bryner, sr=jst 2004-07-30 13:00:36 +00:00
dbaron%dbaron.org
2faa2566a0 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky 2004-07-28 07:08:41 +00:00
neil%parkwaycc.co.uk
a02e9bf620 Fix for smoketest blocker bug 253180 enabled xul control elements aren't necessarily focusable patch in bug 250006 r=aaronlev sr=jst 2004-07-27 08:10:52 +00:00
aaronleventhal%moonset.net
cc206bb650 Bug 250006. Clean up GetNextTabbableContent(). Remove tabbable property from DOM interfaces. Clean up spurious focus outline effects. r=bryner, sr=jst 2004-07-24 21:12:43 +00:00
tor%cs.brown.edu
e091eb70b5 Bug 242234 - svg event attributes.
Original patch by sicking, r=bryner, sr=jst
2004-07-22 16:38:05 +00:00
jst%mozilla.jstenback.com
23b9aa362d Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org 2004-07-16 17:03:10 +00:00
bzbarsky%mit.edu
d8eaf2ff20 Forgot a file. Bug 221669, r=ben, sr=jst 2004-07-15 06:39:13 +00:00
bzbarsky%mit.edu
d5926230f3 Don't stop loading a XUL document when an overlay is missing and report
warnings about missing overlays to the JS console.  Bug 221669, r=ben, sr=jst
2004-07-15 06:09:36 +00:00
timeless%mozdev.org
3b94e6354d Bug 251368 documentURI for about: urls should list the about: urls
r=bz sr=bz
2004-07-14 23:01:11 +00:00
jst%mozilla.jstenback.com
2bca8fd713 Fixing bug 222954. Be consistent about checking that EnsureFocusContrller() really got a focus controller. Fixes crash when the options dialog is opened while one is already open. r=ben@bengoodger.com, sr=brendan@mozilla.org, a=asa@mozilla.org 2004-07-09 20:57:30 +00:00
vladimir%pobox.com
b9f7623bd9 b=246908: template builder incorrectly identifies container if isempty is in rule. r=ben, sr=shaver 2004-07-07 04:53:24 +00:00
alex%croczilla.com
13b37cbc05 Allow inline text in XUL templates. Fix for SVG-crasher bug#236853. r=sicking, sr=jst. 2004-07-05 07:50:04 +00:00
cbiesinger%web.de
2bb5f1d3a1 replace EqualsWithConversion by EqualsLiteral where possible
bug 248687 r+sr=roc
2004-06-26 14:32:11 +00:00
peterv%propagandism.org
a7908e751a Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
peterv%propagandism.org
f2a15f3301 Fix for bug 248172 (XMLSerializer corrupts namespace prefixes when XHTML namespace is used). r=sicking, sr=jst. 2004-06-24 19:38:03 +00:00
timeless%mozdev.org
bd9b59ea43 Bug 241952 Change XUL nsprlogging to spam all:4/all:5 instead of all:2
r=neil sr=dveditz
2004-06-22 09:37:55 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
cbiesinger%web.de
a4396ff7b4 bug 245673 named literal strings should be const
r+sr=darin
2004-06-11 15:05:29 +00:00
bzbarsky%mit.edu
a7bff6ad5b Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
roc+%cs.cmu.edu
0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
neil%parkwaycc.co.uk
3f23b6f2e9 Bug 187252 Provide ?? mechanism to insert literal ? in templates r=varga sr=ben 2004-05-21 19:41:33 +00:00
timeless%mozdev.org
9ebaf2e5ea Bug 242999 Crash while trying to GC [@ DOMGCCallback]
r=jst sr=jst
2004-05-18 04:00:47 +00:00
cls%seawood.org
790477e161 Make code more standards compliant to build with mingw gcc 3.4.0.
Bug #243273 r=bsmedberg sr=dbaron
2004-05-13 04:08:34 +00:00
jst%mozilla.jstenback.com
99e02e5aa3 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
pkw%us.ibm.com
3cfbd00f0d Bug 242704 - AIX debug build fails after recent AppendInt changes
r=jst@mozilla.jstenback.com, sr=darin@meer.net
2004-05-05 19:29:12 +00:00
bryner%brianryner.com
7d80b4f5cf deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
timeless%mozdev.org
6b08ab126a Bug 242212 Remove useless nsISecurityCheckedComponent code from nsXULTemplateBuilder
r=varga sr=shaver moa=jst
2004-05-01 00:59:51 +00:00
bryner%brianryner.com
7d1dbeb3a8 Implement basic support for DOM level 2 UIEvents, and implement DOMActivate for HTML form control elements. Also minor usage cleanup for nsIDOMUIEvent. Bug 60212, r+sr=jst. 2004-04-30 23:55:16 +00:00
jst%mozilla.jstenback.com
77c4322ab2 Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-04-29 23:34:19 +00:00
cbiesinger%web.de
79fa1b783a bug 241092, make nsIStreamLoaderObserver usable in javascript, by changing its
argument from a string to an octet array
r=bryner sr=darin
2004-04-27 16:06:00 +00:00
bzbarsky%mit.edu
4ede76717e Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz
2004-04-25 16:55:27 +00:00
brendan%mozilla.org
72c9a29bc2 Forgot to serialize/deserialize JSRegExp.cloneIndex, and rev XUL FastLoad file version (240404, r+sr=shaver). 2004-04-22 16:00:48 +00:00
gerv%gerv.net
f534a92d25 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 13:54:27 +00:00
bryner%brianryner.com
642f7ede36 deCOMtaminate nsIScriptObjectPrincipal (bug 240745). This also fixes some code in nsCrypto.cpp that sems to have been mis-braced (I don't think it was working as intended). r+sr=jst. 2004-04-18 00:28:47 +00:00
gerv%gerv.net
9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
varga%nixcorp.com
2cd056deb1 Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner 2004-04-17 05:53:38 +00:00
bzbarsky%mit.edu
26cdb24398 Make nsXULElement::GetChildNodes use the same (live) node list that
nsGenericElement uses.  Bug 240633, r+sr=jst on the C++ changes, r=neil, sr=jst
on the JS changes.
2004-04-15 22:14:39 +00:00
sicking%bigfoot.com
1cf142e193 Bug 240264: Don't try to store three bits of data in a pointermember, only two are safe.
r/sr=jst
2004-04-15 21:24:30 +00:00
cbiesinger%web.de
14177dedcb Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
bzbarsky%mit.edu
7a292c3f22 Make getElementsByAttribute be an nsContentList so that it's got that live
DOMNodeList goodness that all nodelists should have.  Change some JS to not
break, and some other JS to be a little more efficient with the new world of
lazy listness.  Bug 240186, r=neil on the JS changes, r=jst on the content
changes, sr=jst
2004-04-15 01:51:32 +00:00
bzbarsky%mit.edu
81f0149ebe Make nsXULDocument use the post-redirect URI as the document URI for non-chrome
and non-resource channels, the way all other documents do.  Bug 240358, r+sr=jst
2004-04-13 18:02:28 +00:00
bzbarsky%mit.edu
0960880868 Fix some misspelled comments. Bug 106386, patch by Alex Vincent
<ajvincent@juno.com>, r+sr=bzbarsky
2004-04-13 01:27:25 +00:00
sicking%bigfoot.com
386382d6ab Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2004-04-12 22:48:33 +00:00
dbaron%dbaron.org
4d12ed012a De-COM-ify nsHTMLStyleSheet. b=239008 r+sr=bryner 2004-04-12 21:56:09 +00:00
darin%meer.net
6b03adea42 landing marco's patch for bug 238928 "domstubs.idl should not include nsAString.h" r=bsmedberg sr=jst a=dbaron 2004-04-01 19:44:17 +00:00
neil%parkwaycc.co.uk
467b71575d Bug 235217 Crash removing the last row from an rdfliner r=varga sr=darin a=chofmann 2004-03-31 22:13:18 +00:00
bsmedberg%covad.net
3ceaebd710 Re-landing bug 237407 with crash-fix. r/sr=dbaron+brendan a=asa+mkaply 2004-03-23 18:26:43 +00:00
bsmedberg%covad.net
ac244f2a9c Backing out bug 237407 because of tbox orange that I can't easily diagnose. 2004-03-22 15:03:32 +00:00
bsmedberg%covad.net
4cee40678e Bug 237407 - classic theme scrollbars & buttons leak into modern, when starting with the profile manager - r+sr=dbaron a=asa for 1.7 2004-03-22 12:58:01 +00:00
jst%mozilla.jstenback.com
4846cf9bf6 Fixing bug 228774. Make our XUL code not crash when dealing with empty datasources. r=bugmail@sicking.cc, sr=bzbarsky@mit.edu, a=chofmann@mozilla.org 2004-03-19 21:58:55 +00:00
caillon%redhat.com
9aecc7adeb Bug 236946
Remove a few QIs in nsXULElement, and other cleanup.
r+sr=jst
2004-03-10 01:34:55 +00:00
bzbarsky%mit.edu
655abf48ad Give GetClasses a better signature. Bug 233636, r=sicking, sr=dbaron 2004-03-09 23:22:02 +00:00
bsmedberg%covad.net
255960bb10 Bug 233160 - separate style overlays out of nsIXULChomeRegistry r+sr=hyatt with additional lookovers from dbaron+bz 2004-03-09 19:59:09 +00:00
caillon%redhat.com
bfd1f05ff4 Bug 86193
Add a preference allowing users to prevent sites from cancelling the contextmenu event, so right click will always bring up a context menu if the pref is set.
r=jst sr=bryner
2004-03-06 02:58:08 +00:00
sicking%bigfoot.com
fc084e0c73 Bug 236620: kill nsIContent::CanContainChildren
r/sr=jst
2004-03-06 00:22:03 +00:00
bsmedberg%covad.net
ebcffc4232 Bug 235866 - add xulelement.builder.refresh and dynamically respond to changes in the datsources="" attribute. r+sr=bryner 2004-03-05 04:32:55 +00:00
sicking%bigfoot.com
973fa76ca8 Fix build bustage 2004-03-04 18:30:53 +00:00
sicking%bigfoot.com
0c80133eea Bug 236472: Fix 3 warnings.
r/sr=tor
2004-03-04 18:04:29 +00:00
sicking%bigfoot.com
28169f7a8a Bug 232706: Make nsAttrValue able to directly store all needed datatypes without using nsHTMLValue. Move parsing of various types from nsHTMLValue to nsAttrValue. Rename StringToAttribute to ParseAttribute and make it return a PRBool, as well as make a couple of minor fixes in the ParseAttribute code.
r=caillon sr=jst
2004-03-04 02:06:28 +00:00
bryner%brianryner.com
ed98c9a308 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
dbaron%dbaron.org
f016bec80e Improve comments and function names related to attribute mapping and HasAttributeDependentStyle. b=235342 r+sr=jst 2004-02-25 21:04:50 +00:00
sicking%bigfoot.com
79cdf52b70 Bug 235435: Don't crash when serializing a XUL prototype document without a root. Fixes regression from bug 195350
r/sr=jst
2004-02-24 23:36:44 +00:00
darin%meer.net
44ce35aebb landing patch for bug 234864 "string branch landing resulted in large spike in heap allocations (brad:A metric)" r+sr=dbaron
this patch also introduces nsTFixedString and removes CBufDescriptor.
2004-02-20 01:53:23 +00:00
bzbarsky%mit.edu
73d9e5d993 Add null checks to some DOM methods. Bug 234331, r+sr=jst 2004-02-19 21:54:12 +00:00
bzbarsky%mit.edu
9513d305ed Make sure to retarget events when they leave native anonymous content. Also
make sure that native anonymous content is marked so (this way clicking on a
url()-created image in :before won't have an <img> node as a target).  Bug
233286, r+sr=bryner, a=dveditz
2004-02-15 04:45:18 +00:00
bryner%brianryner.com
92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
peterv%propagandism.org
d5850e3177 Fix warnings. 2004-02-10 13:17:48 +00:00
peterv%propagandism.org
713c734ef8 Fix for bug 16603 (DOM doesn't throw INVALID_CHARACTER_ERR for arguments with invalid characters). r=sicking, sr=jst. 2004-02-10 10:58:13 +00:00
sicking%bigfoot.com
4cedcd531b Final patch for bug 195350. Make XUL use new nsAttrAndChildren class. Kill nsXULAttributeValue and nsXULAttributes in favour of nsAttrValue resp. nsDOMAttributeMap. Should fix a few bugs, improve performance and reduce bloat.
r=bz sr=jst
2004-02-10 09:08:06 +00:00
jst%mozilla.jstenback.com
505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
jst%mozilla.jstenback.com
75d15492c5 Fixing regression bug 233191. Make sure we fire the correct document notifications when inserting/appending children to a DOM node through the DOM APIs. r=mscott@mozilla.org, sr=bzbarsky@mit.edu 2004-02-06 02:26:10 +00:00
jst%mozilla.jstenback.com
cb45f84bb7 Fixing bug 197427. Making insertBefore, appendChild, replaceChild, and removeChild() work correctly on XUL elements by sharing the implementation with nsGenericElement. r=jonas@sicking.cc, sr=bzbarsky@mit.edu 2004-02-05 06:48:30 +00:00
tingley%sundell.net
6b5bffc068 bug 232854: RemoveBroadcastListenerFor wasn't removing listeners properly.
r=varga sr=bzbarsky
2004-02-05 01:08:07 +00:00
bryner%brianryner.com
42adb9f1be More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron 2004-02-01 10:09:07 +00:00
jst%mozilla.jstenback.com
90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
neil%parkwaycc.co.uk
5cade97563 Don't retarget events that are bubbling back out of content anonymous to the original target b=196755 r=bryner sr=jst 2004-01-29 21:14:53 +00:00
dbaron%dbaron.org
96079e83a3 Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r=jst sr=peterv 2004-01-28 21:04:33 +00:00
jst%mozilla.jstenback.com
ce1edc1dc9 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2004-01-24 00:46:17 +00:00
neil%parkwaycc.co.uk
84428dc828 Bug 231368 Remove unused nsIPref includes p=arne.anka@stupido.com r/sr=dbaron 2004-01-23 13:31:07 +00:00
bzbarsky%mit.edu
cdb84804de Move the methods for handling inline style and attribute style sheets up to
nsDocument.  Bug 230947, r+sr=jst
2004-01-22 03:35:09 +00:00
dbaron%dbaron.org
83bdcbc379 Fix leak regression by restoring code that gets the script context from the prototype document for compiling event handlers that are going to be stored in the prototype. b=231384 r=brendan sr=bryner 2004-01-21 21:11:29 +00:00
peterv%propagandism.org
fbd88a1d66 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup) - share CreateElement. r=caillon, sr=jst. 2004-01-18 11:59:21 +00:00
peterv%propagandism.org
379d6c8a41 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
sicking%bigfoot.com
7dae6dd93c Bug 195350: First stage of attributes overhaul. New class for storing attributes and children for an element. Use this class for xml elements. Also remove a couple of unneccesary functions from nsIContent.
r=caillon sr=jst
2004-01-15 17:07:27 +00:00
timeless%mozdev.org
088027c49a Bug 190826 nsIRDFNodeList is not used
r=jag sr=bz
2004-01-15 08:39:11 +00:00
brendan%mozilla.org
7f1ddb9c0b Remove trailing whitespace. 2004-01-14 20:18:54 +00:00
bsmedberg%covad.net
3d0c574845 Re-landing bug 229285 - There was a misplaced close-brace in nsXULDocument.cpp that was causing problems non-chrome XUL documents. 2004-01-14 18:03:25 +00:00
bsmedberg%covad.net
0459dfe56b Backing out bug 229285 until I can figure out the orange with the -chrome file:///blah scenario. 2004-01-14 15:26:08 +00:00
bsmedberg%covad.net
386f40c13a Bug 229285 - separate nsIXULOverlayProvider from nsIXULChromeRegistry
r=bryner sr=hyatt
2004-01-14 13:30:55 +00:00
bzbarsky%mit.edu
8093efd14c Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
2004-01-13 23:14:49 +00:00
bryner%brianryner.com
2bddef83ba Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard. 2004-01-12 08:25:18 +00:00
neil%parkwaycc.co.uk
2181ff5286 Bug 229526 Don't trim whitespace in <label> <description> or non-XUL r/sr=hyatt 2004-01-10 23:40:54 +00:00
jst%mozilla.jstenback.com
c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
dbaron%dbaron.org
6d01bebb80 Better refcount logging for subclasses of nsXULPrototypeNode. b=230368 r+sr=bryner 2004-01-09 00:01:05 +00:00
bryner%brianryner.com
e65d2d2fe5 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
caillon%returnzero.com
09603ffccb Move the nsISupports branch up to avoid asking the binding manager for an nsISupports; tinderbox orange fix.
r+sr=bzbarsky
2004-01-06 03:07:57 +00:00
caillon%returnzero.com
319d92fa7d Bug 226375
We were leaking nsIClassInfo objects because a DOM class info getter returned AddRef()ed raw pointers.  Most of our dom/ and content/ QueryInterface() implementations knew this and accounted for it, but not all. The leak fix is thus achieved by fixing the method to not call AddRef() on its return value, and fixing the appropriate QueryInterface() macros/implementations. As a bonus, this macro-izes many  QueryInterface() implementations in content/ which were fully written out.
r=peterv@propagandism.org
sr=alecf@flett.org
 CVS: ----------------------------------------------------------------------
2004-01-06 00:36:01 +00:00