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

970 Коммитов

Автор SHA1 Сообщение Дата
cbiesinger%web.de a898e666b8 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu eab4195d4c Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst
2006-02-02 20:02:34 +00:00
mrbkap%gmail.com 0a86b61aab bug 323908: Pass line and column information to ReportError. Patch by Robert Sayre <sayrer@gmail.com>. r=mrbkap sr=jst 2006-01-21 02:02:02 +00:00
cvshook%sicking.cc 7d9189938d Bug 323910: Merge atom lists in gklayout
r/sr=jst
2006-01-19 00:58:12 +00:00
cvshook%sicking.cc 031a1befce Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz
2005-12-28 21:52:39 +00:00
dbaron%dbaron.org 3ceffc0fc4 Make wrapper preservation (the mechanism that makes the GC use reachability information between certain C++ objects rather than rooting at language boundaries) use an interface (nsIDOMGCParticipant) to get reachability information. Preserve the wrappers for event handlers as long as what they are attached to is reachable (from C++ or JS) to avoid entraining event handler closures in cycles. b=241518 r=mrbkap sr=jst 2005-12-03 07:42:40 +00:00
jst%mozilla.jstenback.com 175fe145fe Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2005-12-01 19:35:27 +00:00
mrbkap%gmail.com f75471c412 bug 317370: Remove the vestigial aRemoveEventListeners parameter to SetNewDocument. r+sr=jst 2005-11-30 23:41:49 +00:00
dougt%meer.net 7c7da46448 Build change to make WinCE pick up when windows bindings file, not the linux one. r=dougt 2005-11-30 18:34:56 +00:00
jst%mozilla.jstenback.com 7a5af690c6 Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
timeless%mozdev.org 0f538e6985 Bug 317877 XBL: crash if <field> has no name attribute [@ nsCharTraits::length]
patch by ajschult@verizon.net r=bz sr=bz
2005-11-27 23:51:42 +00:00
bzbarsky%mit.edu 1984e60045 If a binding stops being the most-derived binding for a content node before
we've fired its constructor, remove it from the constructors-to-be-fired list.
Bug 317265, r+sr=bryner
2005-11-22 15:48:10 +00:00
joshmoz%gmail.com 3cf29ccdb9 Remove some nsSupportsArray usage from mozilla/content. b=317035 r=dbaron sr=bz 2005-11-22 00:24:48 +00:00
bsmedberg%covad.net dff1dea638 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
bsmedberg%covad.net faf7d08562 Bug 315401 - XPTI_GetInterfaceInfoManager is a bad signature and should be removed, r=darin sr=jst 2005-11-10 16:19:44 +00:00
timeless%mozdev.org 7e2bfac8ab Bug 313035 'nsAutoGCRoot' : type name first seen using 'struct' now seen using 'class'
r=bz sr=bz
2005-11-05 00:46:18 +00:00
cvshook%sicking.cc 9c1b72f7f8 Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
mrbkap%gmail.com 39815e3e45 bug 313236: Make sure to operate on the right object. r=brendan sr=jst 2005-10-21 22:45:09 +00:00
mrbkap%gmail.com 86118f28bd bug 312871: Make global objects behave more like each other. r=bzbarsky sr=brendan 2005-10-19 18:45:14 +00:00
peterv%propagandism.org ef98abb585 Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz. 2005-10-14 09:07:29 +00:00
bzbarsky%mit.edu cf82394840 Don't try to duplicate the jsval typedef. Bug 312003, r+sr=brendan 2005-10-12 20:16:35 +00:00
neil%parkwaycc.co.uk 98688bf72f Bug 240627 Add warnings for some reserved key shortcuts r=bryner sr=bz 2005-10-08 10:20:02 +00:00
bzbarsky%mit.edu 1b31b43868 Attempt to fix splitwindow focus stuff -- bug 305032. Issue found by mrbkap,
patch by me, r=mrbkap, sr=jst
2005-09-28 02:44:16 +00:00
peterv%propagandism.org bc66f35d62 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
bzbarsky%mit.edu c186187031 Make sure to root the function object we compile in
nsXBLPrototypeHandler::ExecuteHandler.  r=jst, sr=brendan
2005-09-24 02:33:33 +00:00
bzbarsky%mit.edu 6a3e58bf87 Remove silly warning in GetDocShell impls, and use the principal (which we
should always have) instead of the docshell for chrome vs content
determination.  Bug 51962, r+sr=jst
2005-09-22 02:10:07 +00:00
bzbarsky%mit.edu 229152d8f9 Keep the results of EvaluateStringWithValue properly alive while we're using
them, and make sure we don't GC the xbl property getter when we create the
setter.  Bug 299205, r=jst, sr=brendan
2005-09-16 15:44:59 +00:00
bzbarsky%mit.edu 025c02e44e Improve the CSSLoader API: make it clear which methods return results
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded.  Bug 293825, r+sr=peterv
2005-09-12 18:41:15 +00:00
peterv%propagandism.org aed6e871ed Fix for bug 106796 (Improve GetNameSpaceID() performance). r/sr=jst. 2005-09-11 11:24:16 +00:00
peterv%propagandism.org f849415a9e Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz. 2005-09-11 10:08:43 +00:00
neil%parkwaycc.co.uk 530f235598 Bug 306686 Make / start FAYT even when it's Shift+7 also make menus and xbl agree on the legal modifier token delimiters p=dainis_jonitis@swh-t.lv r=bz sr=me 2005-09-02 15:54:27 +00:00
bryner%brianryner.com 7c04e09956 Fix for crashes in document.addBinding():
- Don't allow the old binding to go away as we insert the new binding into the chain.
- When swapping the nsXBLInsertionPoint array for a content node, remove any entries from the old list that are also in the new list, so that we don't delete them.

Bug 296375, r+sr=bzbarsky.
2005-09-01 04:38:29 +00:00
bzbarsky%mit.edu 8f8d6d15e9 Make sure kepress handlers are not affected by Caps Lock state. Bug 295228,
patch by Dainis Jonitis <Dainis_Jonitis@swh-t.lv>, r=neil, sr=bzbarsky
2005-08-30 18:13:48 +00:00
bzbarsky%mit.edu 6bbecf8a88 Limit xbl:implements a tad. Bug 299518, r=jst, sr=shaver 2005-08-26 14:47:35 +00:00
mozilla.mano%sent.com 6136783031 Bug 229473 - emacs-like/readline-like ctrl+letter shortcuts should work on Mac OS X. patch from Jerry Talkington <jtalkington@users.sourceforge.net>, r=neil, sr=smfr. 2005-08-25 20:08:28 +00:00
bzbarsky%mit.edu 692c9e00f2 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
Olli.Pettay%helsinki.fi f942bc0cce Bug 304027, XBL handlers for custom events no longer working. r=bryner, sr=jst 2005-08-21 22:20:36 +00:00
bzbarsky%mit.edu 6919fc19ec Allow passing a cached nsIContentPolicy service pointer to
NS_CheckContent*Policy if the caller has one.  Bug 304845, r=biesi, sr=jst
2005-08-19 15:00:01 +00:00
mrbkap%gmail.com 9106468ec1 bug 303267: Store the entire inner window in the window state holder instead of copying properties and restoring them. This fixes going back and forth with the bfcache on when the page gone to has javascript in it. r=jst sr=bryner 2005-08-15 18:16:42 +00:00
mrbkap%gmail.com 0341851454 Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained. 2005-08-13 03:54:29 +00:00
mrbkap%gmail.com 863629109c bug 303267: Store the entire inner window object on the history entry instead of copying/restoring JS properties. r=bryner sr=jst. This patch also fixes bugs 304284 and 304078. 2005-08-13 00:53:39 +00:00
joshmoz%gmail.com aa143c8780 get rid of XP_MAC macros from mozilla/content. no bug. r+sr=dbaron 2005-08-13 00:20:46 +00:00
jst%mozilla.jstenback.com 0d8b79a0bf Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org 2005-08-12 04:11:00 +00:00
jst%mozilla.jstenback.com 9700a6e483 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
bzbarsky%mit.edu b616c7f790 Preserve XPCNativeWrappers when "expando" properties are set on them. Bug
295937, r=shaver, sr+a=brendan
2005-07-19 21:40:33 +00:00
timeless%mozdev.org d83276ecda Bug 289645 nsXBLPrototypeHandler::ExecuteHandler doesn't null/rv check
patch by b.jacques@planet.nl r=bz sr=bz a=bsmedberg
2005-07-17 18:50:36 +00:00
bzbarsky%mit.edu 8fc2c2193e Make sure to notify XPConnect if an XBL constructor or destructor throws an
exception so they get reported in a timely manner.  Bug 299741, r+sr=jst, a=chofmann
2005-07-06 15:46:12 +00:00
cvshook%sicking.cc 0e9ae70de9 Bug 296764: Move html keybindings to chrome to make sure they work even with js turned off
r=bsmedberg sr=jst a=bsmedberg
2005-06-29 22:41:59 +00:00
bryner%brianryner.com 37e80e76f5 Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2005-06-15 23:52:46 +00:00
peterv%propagandism.org 405bcfcebe Fix for bug 297311 (consistent crash when trying to call xmlDocument.replaceChild(newChild, xmlDocument.documentElement) on XML document rendered in a frame). r/sr=bz, a=asa. 2005-06-14 12:30:17 +00:00
bzbarsky%mit.edu c85bc2738e Make sure to propagate back the result of InstallImplementation and bail
if it fails.  Bug 292944, r+sr=jst, a=asa
2005-06-11 21:30:20 +00:00
bzbarsky%mit.edu bb92b3038c Make sure to call ScriptEvaluated when doing all evaluations, to call it
_after_ we've popped the JSContext from the stack, and to handle multiple
termination functions being posted from a single script evaluation.  Fixes
leaks when closing windows or tabs with still-loading documents.  Bug 295983,
r+sr=jst, a=asa
2005-06-09 15:42:19 +00:00
bzbarsky%mit.edu 5f1306128f Make sure to call ScriptEvaluated after running XBL constructors/destructors.
Bug 295124, r+sr=jst, a=asa.
2005-06-09 15:39:07 +00:00
bzbarsky%mit.edu c65178a702 Be smarter about XBL constructors and such. Bug 292591, r=sicking, sr=dveditz,
a=shaver
2005-06-03 01:54:50 +00:00
bzbarsky%mit.edu e5ce5254c9 Hold a ref to the binding we're tearing down so it doesn't die before we're
done with it.  Bug 292717, r+sr=jst, a=shaver
2005-06-01 19:27:43 +00:00
bzbarsky%mit.edu 77b7e763aa Pass the document URI for the <key>'s or <command>'s document as the script
filename when compiling the <key>'s handler.  Bug 295160, r+sr=jst, a=asa
2005-05-24 17:30:07 +00:00
timeless%mozdev.org 763151dc4b Bug 294831 JS OOM crash [@ nsXBLPrototypeBinding::InitClass]
r=bz sr=bz a=asa
2005-05-20 01:05:55 +00:00
bzbarsky%mit.edu 5441b44331 Use the document as the context, not the node, since trying to JS-wrap the node
will reenter XBL loading.  Bug 293778, r+sr=jst, a=shaver
2005-05-14 02:55:41 +00:00
bzbarsky%mit.edu 5284d540b7 Do content policy checks on XBL binding loads. Bug 292589, r+sr=jst, a=dbaron 2005-05-10 21:07:00 +00:00
bryner%brianryner.com 592dbdc176 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan. 2005-05-04 20:22:32 +00:00
bzbarsky%mit.edu aefdfc7bac 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 cffe86dac3 Improve error-reporting for XBL content sink. Bug 290870, r+sr=bryner, a=asa 2005-04-21 21:31:05 +00:00
bzbarsky%mit.edu b6817cdd3b 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 9b44d06e51 Remove code that just duplicates what SetAnonymousContentFor(content, nsnull)
will do anyway.  Bug 289391, r=sicking, sr=peterv, a=brendan
2005-04-18 23:01:30 +00:00
bzbarsky%mit.edu f911f30fc9 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 9b1db9f768 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
neil%parkwaycc.co.uk 4d641e9a4f Bustage fix for b=225563 (patch hunk inadvertently excluded) 2005-03-30 13:32:47 +00:00
neil%parkwaycc.co.uk e05e3518a0 Bustage fix for b=225563 (patch hunk inadvertently excluded) 2005-03-30 12:53:52 +00:00
neil%parkwaycc.co.uk 10fa559a51 Implement group="system" for XBL handlers so that we don't try to handle events if <a> <textarea> or <xul:button> have already processed them r=jst sr=bryner 2005-03-30 12:26:02 +00:00
dbaron%dbaron.org 51de01053b Change how we preserve XPConnect wrappers on which JS properties have been set or that are otherwise needed by XBL: instead of rooting those wrappers until the document stops being displayed, mark them from GC hooks only if the nodes are reachable (via DOM node traversal, optimizing based on symmetry of reachability between DOM nodes) from the document or from nodes already marked. b=283129 r=jst sr=brendan 2005-03-29 23:26:56 +00:00
bzbarsky%mit.edu d6c97ca83f Relanding, since this did not affect the orange. Still bug 282537. 2005-03-08 18:10:38 +00:00
bzbarsky%mit.edu 93a2f26ff0 Backing out bug 282537 patch to see whether it fixes the orange. 2005-03-08 17:05:34 +00:00
bzbarsky%mit.edu 19c45032f8 Don't add entries for <xbl:children> tags to our attr change table, since those
are removed from the anonymous content.  Bug 282537, r+sr=bryner
2005-03-08 02:31:27 +00:00
bzbarsky%mit.edu ded2978743 Fix GetImmediateChild to only get kids in the XBL namespace, and consolidate
some code.  Bug 284342, r+sr=jst
2005-03-02 03:20:00 +00:00
bzbarsky%mit.edu 8c0a57078a Stash our bindings in an array before destroying them, in case someone decides
to try to add a binding to the hashtable from a binding destructor.  Bug
283698, r+sr=bryner
2005-02-27 17:24:53 +00:00
bryner%brianryner.com 001952215b Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky. 2005-02-25 22:07:01 +00:00
bzbarsky%mit.edu b4b2a93b75 XBL should not treat <children> in other namespaces as magical; only
<xbl:children> is.  Bug 282735, r+sr=jst
2005-02-24 04:23:55 +00:00
bsmedberg%covad.net aab6284169 Bug 278534, try #2 - Make tooklit chrome registry use plaintext manifests instead of an RDF cache (get rid of contents.rdf!) r=darin/dveditz/ben 2005-02-22 21:49:45 +00:00
bsmedberg%covad.net 6308fe5e8d Backout bug 278534 due to tinderbox orange. 2005-02-20 01:47:13 +00:00
bsmedberg%covad.net b7e4e297cb From bug 278534 - binding manager headers don't declare all the types they use, and mis-use the chrome registry. r=build-bustage, I will get ex-post-facto review on this. 2005-02-19 16:38:47 +00:00
bryner%brianryner.com e6dfc671b2 Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky. 2005-02-19 10:31:27 +00:00
mrbkap%gmail.com cd93d8a8df bug 281336: Don't rely on the aIsCompiled flag to tell us if we've compiled our getter and setter, since if one of them was successfully compiled and the other wasn't, then the parameter is incorrect. r+sr=bzbarsky 2005-02-07 19:38:10 +00:00
bzbarsky%mit.edu 6d379fef2d Add some debug members to XBL to catch cases where things are treated as
compiled when they're not and vice versa.  Bug 280089, r+sr=bryner
2005-02-06 20:34:15 +00:00
bryner%brianryner.com f5257db823 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
bzbarsky%mit.edu 51225fa8d9 Make sure to not try to run constructors/destructors when scripts are not
enabled.  Bug 275232, r+sr=bryner
2005-01-27 19:21:14 +00:00
bzbarsky%mit.edu ccb6da4701 Fix crash if getter or setter is encountered outside a property. Bug 279697,
r+sr=jst
2005-01-25 19:34:56 +00:00
bzbarsky%mit.edu 319fca7fd7 Don't add XBL properties if they have no name. Bug 277950, r+sr=bryner 2005-01-20 16:44:00 +00:00
bzbarsky%mit.edu 5ef3fd1886 Make XBL constructors/destructors check whether JS is enabled before running
once again. Bug 276205, r+sr=jst
2005-01-05 01:02:13 +00:00
neil%parkwaycc.co.uk 36fef2db76 Bug 51444 Make xbl:inherits work with namespaced attributes p=smaug@welho.com r+sr=bz 2005-01-01 18:02:03 +00:00
ginn.chen%sun.com 8fd4c5260e Bug 143996 in caret browsing, home/end must go to start/end of line
r=brade sr=neil.parkwaycc.co.uk
2004-12-31 03:12:17 +00:00
peterv%propagandism.org 0c59b6df7f Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst. 2004-12-15 15:37:23 +00:00
bsmedberg%covad.net 81a0de68d5 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 184cc47ec5 deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst 2004-12-13 04:14:28 +00:00
dbaron%dbaron.org 1bb228eed5 Bug 272151: reorganize files within layout, r+sr=roc 2004-12-08 19:41:48 +00:00
bsmedberg%covad.net 51c415d3ed Centralize layout/ and content/ locale files. See bug 271324. 2004-12-04 20:10:51 +00:00
bzbarsky%mit.edu 79ed89dca5 Convert various GetDocument() callers in XBL to using GetOwnerDoc() or
GetCurrentDoc() depending on which they want.  This lays the groundwork for
attaching bindings to nodes that are not in documents.  Bug 265086, r=bryner,
sr=jst
2004-12-02 02:24:28 +00:00
bzbarsky%mit.edu def6c7132d Fix XBL error-handling to not close tags that shouldn't be closed yet (and thus
crash when a PR_Assert in the XML content sink is hit).  Bug 265184, r=bryner,
sr=jst
2004-12-02 02:15:37 +00:00
dbaron%dbaron.org 55053e0158 Back out 252703 due to Txul / Ts regression. 2004-12-02 01:26:20 +00:00
dbaron%dbaron.org a84646c6dd 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
cls%seawood.org 889130dcb5 `mkdir -p` is not portable. Use `nsinstall -D` instead.
Fixing otaku bustage.
Bug #261426
2004-11-27 06:02:57 +00:00
bzbarsky%mit.edu 35e3f1fd67 Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
r+sr=jst
2004-11-23 17:45:37 +00:00
timeless%mozdev.org c24b220b19 Bug 267311 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect") in a XBL constructor make mozilla crash. [@ JS_FrameIterator]
r=jst sr=bz
2004-11-05 15:39:58 +00:00
bzbarsky%mit.edu fec2acdc1f Fix binding teardown to clear out insertion parent entries for nodes that no
longer have insertion parents.  Bug 261818, r=bryner, sr=jst
2004-10-24 17:30:47 +00:00
jst%mozilla.jstenback.com b816f1743d More followup changes to my fix for bug 69070. Use docURL since it's available in stead of calling GetDocumentUIR() one more time, as suggested by cbiesinger@gmx.at. 2004-10-14 01:44:50 +00:00
jst%mozilla.jstenback.com 030b0c5586 Followup to my fix for bug 69070. Use the documents character set when creating image URI (per bz's suggestion), and fixing build bustage. 2004-10-13 23:45:22 +00:00
jst%mozilla.jstenback.com 8f85c81aee Fixing bug 69070. Don't allow loading of images from file: URIs from web content. r+sr=bzbarsky@mit.edu 2004-10-13 23:16:58 +00:00
bzbarsky%mit.edu 3c30b395b0 Fix up uses of GetOwnerDoc/GetCurrentDoc to use the right one, with an eye
towards general sanity on the one hand and sXBL/XBL2 on the other.  Bug 263200,
r+sr=peterv
2004-10-11 16:14:27 +00:00
bryner%brianryner.com 0239f038ce Fix UMRs in nsXBLWindowKeyHandler::WalkHandlers. Bug 260312, r+sr=bzbarsky. 2004-09-30 03:36:15 +00:00
pinkerton%aol.net d3d1a8f888 cmd-up/down go to top and bottom of page (bug 241142) 2004-09-24 17:13:44 +00:00
bzbarsky%mit.edu 15a9a1449a Pass aShared=PR_TRUE when compiling brutally shared methods and properties.
Bug 258832, r+sr=brendan
2004-09-16 18:30:04 +00:00
bzbarsky%mit.edu 20bc916c2f Don't crash on <binding> elements with no "id" attribute. Bug 255715, r+sr=bryner 2004-09-16 18:26:18 +00:00
dbaron%dbaron.org 2958ea9292 Fix XBL destructors. b=258832 r+sr=brendan 2004-09-15 02:19:24 +00:00
dbaron%dbaron.org a7d98f183c 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
bzbarsky%mit.edu dde85fe56f Don't use the global object as the scope object when setting up the class for
the proto functions on the a binding.  Patch arises from discussion in bug
258832, r+sr=brendan
2004-09-14 13:33:54 +00:00
bryner%brianryner.com cc14274b06 Fix ctrl+a emacs keybinding for gtk1 (bug 259011), r+sr=bzbarsky 2004-09-13 22:35:39 +00:00
bzbarsky%mit.edu 12815f2dd7 Change XBL constructor/destructor back to having "this" in the scope chain like
they did when they were event handlers (to avoid breaking bindings where people
forgot to use "this" in the constructor or destructor).  Bug 258833, r=bryner,
sr=jst
2004-09-12 01:41:34 +00:00
bzbarsky%mit.edu 7ea16261aa Make <constructor> and <destructor> methods, not handlers. Bug 230816,
r=bryner, sr=brendan
2004-09-10 15:29:19 +00:00
bryner%brianryner.com 2faa8b2e03 Add dependency on Makefile so that depend builds don't break. 2004-09-10 07:52:59 +00:00
bryner%brianryner.com 306fd4d418 Hook up gtk2 native keybindings for editor. This gets rid of htmlBindings.xml and instead makes the platform-neutral base bindings be included via the preprocessor, allowing the editorBase bindings to not be applied on gtk2. Also, removed obsolete mac CFM package files. Bug 257405, r=bzbarsky, sr=ben. 2004-09-10 07:17:31 +00:00
dbaron%dbaron.org 4c36660044 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
bzbarsky%mit.edu 871de80a84 Combine WalkRules and UseDocumentRules into one function. Bug 244252,
r=bryner, sr=dbaron
2004-09-10 04:57:30 +00:00
bryner%brianryner.com d342e8f7b4 Add support for native keybindings for input and textarea for gtk2. This allows us to respect the GTK keybinding preferences. Bug 257405, r=blizzard, sr=roc. 2004-09-07 21:21:48 +00:00
jst%mozilla.jstenback.com 00e4d5d5e3 Fixing bug 257431. Make the tabbrowser code only listen to events initiated by the user. r=trev@gtchat.de, sr=bzbarsky@mit.edu 2004-09-02 15:25:39 +00:00
jst%mozilla.jstenback.com c4a89495ca Fixing bug 257523. Only handle XBL commands if they're triggerd by events initiated by the user. Patch by trev@gtchat.de, r=jst@mozilla.org, sr=dveditz@cruzio.com, a=chofmann@mozilla.org 2004-09-02 00:33:51 +00:00
brendan%mozilla.org e95ce6422c Use new JS_LookupPropertyWithFlags API passing new JSRESOLVE_CLASSNAME, to avoid triggering doc search for IE global scope pollution quirk, just for the scrollbar XBL binding used in content pages (257602, r=bzbarsky, sr=jst). 2004-09-01 20:53:11 +00:00
jst%mozilla.jstenback.com f1d17b9743 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
brade%comcast.net f9ae731eab bug 252750; add VK_HELP to list of global keys (r=caillon, sr=bryner, patch=steffen.wilberg) 2004-08-13 20:59:54 +00:00
peterv%propagandism.org 0836738940 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 5057108248 Bug 254316 Remove unix's Ctrl+R redo keybinding, this now means that it will reload even when the cursor is in a text field p=stefan_h@hem.utfors.se r=akk sr=me 2004-08-06 14:35:34 +00:00
bryner%brianryner.com cc807b07b1 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
dbaron%dbaron.org fa4808301b 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
tor%cs.brown.edu b82fad4d69 Bug 242234 - always compile xbl bindings with XBL namespace event name.
r=sicking, sr=jst
2004-07-24 22:40:59 +00:00
tor%cs.brown.edu 86240fbc28 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 693923a31f 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
peterv%propagandism.org 9725397135 Trying to fix minimo bustage 2004-06-25 14:35:40 +00:00
peterv%propagandism.org c6758de122 Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
roc+%cs.cmu.edu 52092297fe Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
bzbarsky%mit.edu 27b140b534 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 b8ecbc84da Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
neil%parkwaycc.co.uk 6ceb001157 Bug 164249 Make it possible to ignore certain modifiers on XBL and key nodes (current syntax is modifiers="control any, shift") r=varga sr=bryner 2004-05-21 09:28:13 +00:00
neil%parkwaycc.co.uk 5c4c587c3c Bug 164249 Make it possible to ignore certain modifiers on XBL and key nodes (current syntax is modifiers="control any, shift") r=varga sr=bryner 2004-05-21 09:00:00 +00:00
timeless%mozdev.org ded395653e Bug 242999 Crash while trying to GC [@ DOMGCCallback]
r=jst sr=jst
2004-05-18 04:00:47 +00:00
kyle.yuan%sun.com 273f8ca098 Bug 214843 Space doesn't scroll when link's child has focus
r=aaronleventhal, sr=jst, patch by neo.liu@sun.com
2004-05-08 02:55:41 +00:00
bryner%brianryner.com f9f55ca33e deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
jst%mozilla.jstenback.com ca74706604 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
bzbarsky%mit.edu 8d004584b6 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
bryner%brianryner.com 4f8b5bf9d4 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 692411203a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu 5685596b84 Do less QIing of events in WalkHandlersInternal. Bug 237453, r=sicking,
sr=peterv
2004-04-12 22:49:13 +00:00
sicking%bigfoot.com 6ce4fac4be Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2004-04-12 22:48:33 +00:00
dbaron%dbaron.org ad713a3eaf De-COM-ify nsHTMLStyleSheet. b=239008 r+sr=bryner 2004-04-12 21:56:09 +00:00
bzbarsky%mit.edu c97233a924 Fix bug 237002 -- mis-ordering of content inserted at the beginning of an
insertion point.  r+sr=jst, a=chofmann
2004-03-10 23:53:09 +00:00
bzbarsky%mit.edu d5e0e6bd19 Make the binding manager deal with ContentInserted and ContentReplaced
notifications in a more reasonable (though still not completely correct) way.
Last touches on bug 233191, idea suggested by hyatt, r+sr=jst
2004-03-02 22:28:48 +00:00
darin%meer.net 1d2d419885 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
bryner%brianryner.com 745944525d Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
bzbarsky%mit.edu d91647a802 Fix windows bustage. Bug 232132 2004-02-19 23:00:44 +00:00
bzbarsky%mit.edu 087e3c1545 Make property compilation use dependent strings instead of copying the method
bodies and move some duplicated code into a superclass.  Bug 232132,
r=timeless, sr=bryner
2004-02-19 22:24:41 +00:00
darin%meer.net 8c818ed6c3 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bzbarsky%mit.edu d60de8d9fe Change the refcounting model for XBL stuff as follows:
1)  nsXLBDocumentInfo owns all prototype bindings and deletes them in its
    destructor
2)  Everyone else just has weak refs to prototype bindings
3)  nsXBLBinding holds a weak ref to the proto binding and a strong ref to
    the document info
4)  The document info is what's stored in the chrome cache.

to prevent crashes.  Bug 226692, r=timeless, sr=bryner, a=brendan
2004-02-15 19:24:42 +00:00
jst%mozilla.jstenback.com 6ca4c1a78e Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2004-02-11 06:09:51 +00:00
sicking%bigfoot.com 19ba87419f 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 8b6dc1c3ca 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 1804c4910c 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
dbaron%dbaron.org 78533f969d 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
bzbarsky%mit.edu ecd8c8058c If compilation of a prototype member fails, destroy all prototype members
before bailing.  Bug 232095, r+sr=bryner
2004-01-27 21:18:00 +00:00
jst%mozilla.jstenback.com d62aed44c4 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
bzbarsky%mit.edu 4ed327c237 Backing out the last change since it has no effect on Ts and increases
codesize. Bug 224765.
2004-01-21 15:36:28 +00:00
bzbarsky%mit.edu 309b4ebad5 Oops, forgot this change. Bug 224765 2004-01-21 05:06:42 +00:00
bzbarsky%mit.edu 167e4eed82 Attempt to fix Ts regression from bug 224765. r+sr=darin 2004-01-21 05:03:10 +00:00
bzbarsky%mit.edu d0124fc38d When a method has an empty body, don't drop the rest of the binding because of that.
Bug 231324, r+sr=bryner
2004-01-18 23:38:31 +00:00
peterv%propagandism.org b73f7d8861 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
bryner%brianryner.com de4ae44711 When checking whether whitespace should be stripped, look at the element's namespace instead of using IsContentOfType(). This makes things work correctly when MOZ_XUL is not defined and XUL elements are just XMLElements. Bug 230877, r+sr=jst. 2004-01-14 21:33:01 +00:00
bzbarsky%mit.edu 75c2b9acde 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
bzbarsky%mit.edu bfec061dfd Minor cleanup in XBL. Bug 230591, r+sr=bryner 2004-01-12 23:43:59 +00:00
bryner%brianryner.com a135ce4d60 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 7f7adc5185 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 4ab234b8be 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 60d1eb6ada Better refcount logging for subclasses of nsXULPrototypeNode. b=230368 r+sr=bryner 2004-01-09 00:01:05 +00:00
bryner%brianryner.com 9c81944cb6 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
bzbarsky%mit.edu 877f2f8567 Forgot to address a review comment... Bug 223799. 2004-01-07 16:29:05 +00:00
bzbarsky%mit.edu 65bd665f41 Better enforcement of XBL's containment rules and better error-reporting. Bug
223799, r=timeless, sr=bryner
2004-01-06 18:30:45 +00:00
bzbarsky%mit.edu 3adb94642b Clear mResources backpointer when the resources are destroyed. Bug 226744,
r=bryner, sr=jst
2004-01-05 23:46:00 +00:00
bzbarsky%mit.edu 0bd88053bc Make sure to create unique proto chains as needed instead of reusing incorrect
protos.  Bug 127418, r=hyatt, sr=brendan
2004-01-05 23:19:58 +00:00
bsmedberg%covad.net a262c9b4f7 bug 219233 - Unfork nsIChromeRegistry.idl (not the impl, just the interface) and move it into content/base/public until we can get a more fine-grained separation of that interface in to GRE/non-GRE pieces. r/sr=hyatt+jst
I couldn't do a CVS move of nsIChromeRegistry.idl, sorry... it was added on a branch earlier. The old CVS log/blame can be found at mozilla/rdf/chrome/public/nsIChromeRegistry.idl
2003-12-22 05:23:10 +00:00
bzbarsky%mit.edu 32c2d4a53e Second part of logic-fixup for bug 225837. Patch by jst, r+sr=bzbarsky,
a=dbaron
2003-12-10 15:16:11 +00:00
jst%mozilla.jstenback.com bae1a69be1 Fixing logic goofup in my nsIContent::GetTag() deCOMtamination patch. r+sr=bzbarsky@mit.edu, a=dbaron@dbaron.org 2003-12-02 22:18:40 +00:00
jst%mozilla.jstenback.com 6380d7fd12 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
bzbarsky%mit.edu f60775e3a4 Fix build bustage. I wonder why my gcc didn't catch this... 2003-11-17 21:41:13 +00:00
bzbarsky%mit.edu c0076cd8c6 Convert URL stuff in XBL to use nsIURI instead of strings. Bug 224765, r+sr=bryner 2003-11-17 21:03:32 +00:00
caillon%returnzero.com 50c8451a33 Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
Bug 223192; r+sr=bzbarsky
2003-10-30 03:01:25 +00:00
bzbarsky%mit.edu 38f1930059 Make nsExpatDriver and nsIExpatSink be on the same wavelength as far as passing
attributes to HandleStartElement.  Update callees as needed.  Bug 223470,
r=sicking, sr=peterv
2003-10-30 02:17:50 +00:00
bryner%brianryner.com a0e219b348 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
dbaron%dbaron.org 19a12727ec Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +00:00
jst%mozilla.jstenback.com 8aa7b563d2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
peter%propagandism.org 015729c5a7 Add blank line at end of file. 2003-09-17 19:19:53 +00:00
brendan%mozilla.org a32b967496 Fix venkman-induced GC-hazard crash bug: keep the nsIXPConnectJSObjectHolder for scriptObject alive across the entire extent of the scriptObject variable (171949, r=peterv, sr=bryner). 2003-09-15 21:57:31 +00:00
bsmedberg%covad.net 3c7f6e517d Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
peter%propagandism.org f3f44727d4 Fix memory leak from fix for bug 206321 (Share event listeners between XBL event handlers). r=jkeiser, sr=bryner. 2003-09-13 16:47:00 +00:00
peter%propagandism.org 6313232700 Fix for bug 206321 (Share event listeners between XBL event handlers). r=jkeiser, sr=bryner. 2003-09-11 13:49:58 +00:00
peter%propagandism.org 08257b0dfb Fix for bug 206321 (Share event listeners between XBL event handlers).r=jkeiser, sr=bryner. 2003-09-11 12:25:06 +00:00
peter%propagandism.org 1aba343f8b Fix for bug 206321 (Share event listeners between XBL event handlers). r=jkeiser, sr=bryner. 2003-09-11 12:19:14 +00:00
timeless%mozdev.org 36fea03082 Bug 211493 nsXBLProtoImplMethod::CompileMember doesn't check rv from aContext->CompileFunction. Crash [@ JS_CloneFunctionObject]
r=bryner sr=bz
2003-09-11 04:10:20 +00:00
timeless%mozdev.org c5f26ef26d Bug 216721 Make mAttachedQueue a Stack
r=bryner sr=bz
2003-09-11 02:17:11 +00:00
bryner%brianryner.com 7f4af2e0f9 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 21:50:21 +00:00
brendan%mozilla.org f6be8fe74f Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2003-08-05 20:09:21 +00:00
bzbarsky%mit.edu 272e86c75d DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:17:26 +00:00
timeless%mozdev.org 615bbd3f6a Bug 207617 This URL crashes Mozilla every time [@ js_CompareStrings]
r=bryner sr=bz
2003-07-28 10:59:54 +00:00
jaggernaut%netscape.com f1efc20ae6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
caillon%returnzero.com 01645eaf4b Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
timeless%mozdev.org 26a54f482e Bug 211284 SetOrRemoveObject doesn't check the return value of PL_DHashTableInit
r=alecf sr=dbaron
2003-07-14 21:26:24 +00:00
bzbarsky%mit.edu a33f58cdd0 Backing out part of patch for bug 211128, since it regressed all sorts of
XBL-ish stuff.  r=stuff-is-broken sr=jag for the backout.
2003-07-14 05:35:09 +00:00
bzbarsky%mit.edu 9fa353f6aa Fix crash in malformed XBL. Bug 210298, patch by enndeakin@sympatico.ca (Neil
Deakin), r=bryner, sr=bzbarsky
2003-07-13 07:19:28 +00:00
bzbarsky%mit.edu 9fad3e7dfe Make XBL anonymous content get its base URI from the XBL document (the binding
URI) instead of from the document of the bound element.  This way relative URIs
in a binding are always relative to the binding.  Bug 211128, r=caillon, sr=jst
2003-07-11 23:06:26 +00:00
bzbarsky%mit.edu 38297174ab Add correct line number reporting to errors from XBL fields and handlers. Make
it possible to pass a url and line number to CompileEventHandler in general.
Bug 127567, r=bryner, sr=brendan
2003-07-11 22:54:36 +00:00
dbaron%dbaron.org 92b921aca3 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
bzbarsky%mit.edu 6a547d6a42 Random array and already_AddRefed magic in XML content sink. Bug 211196,
r=caillon, sr=jst
2003-07-03 05:34:26 +00:00
bzbarsky%mit.edu f802347f6c Make XBL methods and properties report useful line numbers and urls so that the
JS errors/warnings in the JS console point to the right place.  Bug 127567,
r=bryner, sr=alecf
2003-06-24 01:20:40 +00:00
jst%netscape.com a28b3800b2 Fixing typo in comment. 2003-06-21 18:03:15 +00:00
dwitte%stanford.edu 9eb859c9cf removing some unused default ctors now that nsDerivedSafe can handle it.
no bug, r+sr=bz
2003-06-21 07:01:42 +00:00
jst%netscape.com 7c5e39454f Fixing orangeness. 2003-06-21 03:08:56 +00:00
jst%netscape.com a749a7af60 Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org. 2003-06-21 00:26:28 +00:00
bryner%netscape.com 463d4e8b44 Always add nsXBLDocumentInfos to the bound document's binding manager, even if we also put it in the XUL cache. This prevents crashes when the XUL cache is flushed (bug 201103). r=jkeiser, sr=bzbarsky. 2003-06-20 23:33:43 +00:00
aaronl%netscape.com 5df2312334 Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl 2003-06-16 11:17:18 +00:00
caillon%returnzero.com ba75de772b Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
aaronl%netscape.com 5158d785de Bug 204777. Prevent backspace to send us back in history in general embedded case. r=brade, sr=sfraser 2003-05-25 19:39:21 +00:00
hpradhan%hotpop.com baa6f8458a bug 148636 : reduce memory usage in xbl when rendering with lots of form elements r=jkeiser sr=bryner a=asa 2003-05-21 03:14:47 +00:00
jgaunt%netscape.com b9c5e27579 bug 201166 allow XBL elements to QI to base interfaces
r=bryner sr=jst a=asa
2003-05-13 23:27:33 +00:00
mstoltz%netscape.com 088ef80707 Bug 200691 - Add CheckLoadURI call to XBL loader to prevent remote XUL pages loading XBL bindings from file URLs. r=bryner, sr=heikki, a=asa 2003-05-01 02:41:45 +00:00
bryner%netscape.com e156255fec Fix a memory leak my last XBL checkin introduced. Removed unused nsIXBLBindingAttachedHandler and related code. Stopped using XPCOM interfaces for classes internal to nsXBLPrototypeBinding.cpp. r=jkeiser, sr=jst. 2003-04-19 06:32:08 +00:00
ere%atp.fi 7b3637442b Bug 90337: load chrome xbl bindings synchronously.
r=hyatt
sr=bzbarsky
2003-04-18 08:44:25 +00:00
bryner%netscape.com aea212200b More XBL deCOMtamination (bug 194834). This checkin removes nsIXBLInsertionPoint and nsIAnonymousContentList. r=jkeiser, sr=jst. 2003-04-15 20:35:07 +00:00
bryner%netscape.com 4d3b825ffa Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
heikki%netscape.com ab50b51081 Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst. 2003-04-03 18:57:33 +00:00
alecf%netscape.com 0f990bca7b fix for bug 199503 - consolidate layout atoms into the main layout atom lists
sr=bryner, r=jag
2003-04-02 23:02:40 +00:00
alecf%netscape.com a09a98f6d9 fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron 2003-04-02 04:51:07 +00:00
jst%netscape.com 14882c9d0c Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-26 07:41:30 +00:00
bryner%netscape.com 2e125db44a Move editor's key event listener, xbl commands, and typeahead find into the system event group. This allows event listeners in content to reliably cancel key events. Bug 54035, r=jkeiser and aaronl, sr=hyatt and kin. 2003-03-24 04:00:58 +00:00
bryner%netscape.com b633cf5785 fix some more crashes related to bug 196337. r=blake, sr=hewitt. 2003-03-17 03:57:51 +00:00
dougt%netscape.com be629223b6 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
bryner%netscape.com f53211b6ca fixing ports bustage 2003-03-12 05:03:35 +00:00
bryner%netscape.com 73b61da950 Make prototype bindings be refcounted again. This ensures that the
prototype binding will still be alive even if the XBLDocumentInfo has
been deleted, as can happen when the XUL cache is flushed (since it
holds the only reference to the docinfo in that case). Fixes crashers
196446, 196333, 196477, 196736. r=jkeiser, sr=jag.
2003-03-12 00:42:52 +00:00
bryner%netscape.com e6d7eaeba8 fixing bustage 2003-03-07 01:05:54 +00:00
bryner%netscape.com fe6c3dc749 Remove nsIXBLPrototypeBinding (part of bug 194834). r=jkeiser, sr=alecf. 2003-03-06 23:59:18 +00:00
peterv%netscape.com b3d575fd9b Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
alecf%netscape.com 62b9658d9e fix bug 190729 - remove some dead code from xbl
sr=jag, r=bryner
2003-03-04 01:04:27 +00:00
bryner%netscape.com 7efb28f3a5 Remove nsIXBLPrototypeHandler (part of bug 194834). r=jkeiser, sr=sfraser. 2003-02-28 01:04:45 +00:00
neil%parkwaycc.co.uk 753237c7e4 Bug 102133 Implement phase="target" in XBL r=hyatt sr=jag 2003-02-24 15:41:41 +00:00
dbaron%dbaron.org c32b76ad84 Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky 2003-02-22 16:10:53 +00:00
dbaron%dbaron.org d6bc81b26f Reduce code size of atom lists by storing a table of strings and pointers to fill in. b=181383 r=alecf sr=sfraser 2003-02-22 15:58:07 +00:00
bryner%netscape.com cc390fbe51 Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00