751 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
d9d40b5770 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
3609c87767 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
a968a0250c 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
594e733c16 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
19d2add95a 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
818aafcc15 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
28e03d4aa6 Fix for bug 106796 (Improve GetNameSpaceID() performance). r/sr=jst. 2005-09-11 11:24:16 +00:00
peterv%propagandism.org
1fd27aa751 Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz. 2005-09-11 10:08:43 +00:00
neil%parkwaycc.co.uk
fda95dd5cf 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
1194334ac1 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
0f56e73dd0 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
846d21be79 Limit xbl:implements a tad. Bug 299518, r=jst, sr=shaver 2005-08-26 14:47:35 +00:00
mozilla.mano%sent.com
0665bf2471 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
0d6a610963 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
e1db238bf1 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
f4c380c572 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
2b7c7bca7a 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
c5688dfef2 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
59fbced3fe 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
7fcdb1e95d 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
e23ea875f3 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
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
bzbarsky%mit.edu
b0732b1395 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
4d9765f287 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
75933a51dc 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
23fe2ae1ed 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
e4a343f08f 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
43b350cd75 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
913225e3d6 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
3114a994a1 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
379cc266ed 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
4aeaa75697 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
2f4d64c7dc 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
f8265fe907 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
1aaa75f71c Bug 294831 JS OOM crash [@ nsXBLPrototypeBinding::InitClass]
r=bz sr=bz a=asa
2005-05-20 01:05:55 +00:00
bzbarsky%mit.edu
75e72cc8d7 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
e667640756 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
aed69207f0 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
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
52511b857d 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
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
e8d54554c1 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
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
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
neil%parkwaycc.co.uk
2287095cc3 Bustage fix for b=225563 (patch hunk inadvertently excluded) 2005-03-30 13:32:47 +00:00
neil%parkwaycc.co.uk
51556964c5 Bustage fix for b=225563 (patch hunk inadvertently excluded) 2005-03-30 12:53:52 +00:00
neil%parkwaycc.co.uk
d29aa28ed8 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
2ba6c6183f 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
1e9a045fd8 Relanding, since this did not affect the orange. Still bug 282537. 2005-03-08 18:10:38 +00:00
bzbarsky%mit.edu
515698f917 Backing out bug 282537 patch to see whether it fixes the orange. 2005-03-08 17:05:34 +00:00