bzbarsky%mit.edu
9db5bfa7c8
Make sure to initialize all members and that sort of thing. Bug 369011, r+sr=sicking
2007-02-02 02:12:48 +00:00
jonas%sicking.cc
a9f34ee020
Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking
2007-01-30 21:21:06 +00:00
cvshook%sicking.cc
a39ff30284
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
52aff8ddeb
ConstructDocElementFrame can return null if the XBL hasn't loaded yet. Handle
...
that XBL loading later by changing how XBL triggers the frame construction and
making it possible to recreate the doc element hierarchy even if there is no
doc element frame. Bug 366207, r=sicking, sr=roc
2007-01-13 03:32:31 +00:00
Olli.Pettay%helsinki.fi
19bd510245
Bug 363702, Merge nsXBLWindowHandler to nsXBLWindowKeyHandler, r+sr=jst
2007-01-09 07:33:18 +00:00
graydon%mozilla.com
6e0ce81dab
Bug 366166: fix for critical crasher caused by XPCOM cycle collector.
...
r/sr=sicking
2007-01-09 01:44:16 +00:00
graydon%mozilla.com
4525ab79d9
Bug 333078: XPCOM cycle collector
...
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
gavin%gavinsharp.com
c4510f381e
Bug 365381: treat <method><body/></method> XBL as 'function () {}' instead of ignoring it, r+sr=bzbarsky
2007-01-04 18:56:00 +00:00
Olli.Pettay%helsinki.fi
d62c7822f7
Bug 364398, r+sr=sicking
2007-01-03 05:37:03 +00:00
timeless%mozdev.org
4e651390ef
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
2006-12-26 17:47:52 +00:00
Olli.Pettay%helsinki.fi
66febe5c53
Bug 363817, nsVoidArray mAttachedStack to nsTArray<nsRefPtr<nsXBLBinding> >, r+sr=jst
2006-12-14 21:32:10 +00:00
bzbarsky%mit.edu
50917c013e
Go into an error state if we get a handler with a command in non-chrome XBL.
...
Bug 362716, r+sr=sicking
2006-12-07 02:34:57 +00:00
vladimir%pobox.com
82a10357c9
backing out bug 333078, xpcom cycle collector due to perf issues
2006-11-22 23:18:16 +00:00
vladimir%pobox.com
3748c8bf4f
b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many
2006-11-22 19:23:02 +00:00
cvshook%sicking.cc
636e4e6e5f
Don't return nsDerivedSafe when .get() is explicitly used on nsCOMPtr and nsRefPtr. r/sr=dbaron
2006-11-21 21:28:14 +00:00
Olli.Pettay%helsinki.fi
98aa97e3b7
Bug 359494, Make nsXBLWindowHandler to use nsISupportsWeakReference, not nsIBoxObject, r+sr=bz
2006-11-15 06:11:42 +00:00
mats.palmgren%bredband.net
ec8d1d8cb7
XBL needs simple defense against infinite recursion. b=55070 r+sr=bzbarsky
2006-11-09 01:58:12 +00:00
Olli.Pettay%helsinki.fi
7be259f51c
Bug 359242, remove nsXBLWindowDragHandler, r=sicking, sr=neil
2006-11-08 11:03:13 +00:00
Olli.Pettay%helsinki.fi
1d9f4e0046
Bug 292833, crash if i press any function key after i removed a parent of an xbl binding, where the binding has a keyset. r+sr=bz
2006-11-04 09:15:32 +00:00
cvshook%sicking.cc
f5194fd473
Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst
2006-11-03 21:51:01 +00:00
mats.palmgren%bredband.net
eb0a8a1381
Detect and refuse to load some forms of recursive XBL bindings. b=350754 r+sr=bzbarsky
2006-10-08 10:18:41 +00:00
Olli.Pettay%helsinki.fi
3be921f2d7
Bug 350030, Change insertion point lists from nsVoidArray to something which is not manually refcounted, r=jst, sr=bz
2006-09-18 21:35:21 +00:00
cvshook%sicking.cc
9241f85443
Bug 352583: Add functions to nsContentUtils for getting and setting the text content of a node. Use those functions rather than the multiple instances of such code we have now. r/sr=jst
2006-09-15 19:54:45 +00:00
peterv%propagandism.org
25c4d90938
Fix for bug 347523 (nsXBLBinding should use importNode instead of cloneNode). r/sr=bz.
2006-09-12 12:49:04 +00:00
bzbarsky%mit.edu
7fc60a8e53
Just make all document mutation observers get notified through the binding
...
manager, to resolve issues with them depending on insertion points. Bug 348573
follow, r+sr=sicking
2006-08-31 03:17:45 +00:00
bzbarsky%mit.edu
3514212c00
Allow nsIExpatSink implementations to control whether the expat driver logs
...
parse errors to the console. Bug 342164, patch by Alex Vincent
<ajvincent@gmail.com>, r+sr=bzbarsky
2006-08-25 16:34:57 +00:00
Olli.Pettay%helsinki.fi
9c434eeeee
Bug 205735, Browser freeze/crash on this page after few clicks, xbl implementation issue - M17x FF10 [@ nsXBLPrototypeHandler::GetEventName] [@ nsXBLInsertionPoint::GetDefaultContent], r=jst, sr=sicking
2006-08-24 07:43:44 +00:00
brendan%mozilla.org
27e3eb7623
Use JSCLASS_GLOBAL_FLAGS for other global classes, and fix JS standard class init API to init the Block class (348786, r=mrbkap).
2006-08-15 23:56:08 +00:00
bzbarsky%mit.edu
1a3d59e096
Make it possible for document observers who need to worry about XBL to observe
...
the binding manager and make presshell do that. Bug 348573, r+sr=sicking
2006-08-15 22:41:58 +00:00
uriber%gmail.com
5da1c164f2
Added bindings for shift-PgUp/Dn, removed bindings for [shift-]option-up/down. bug=299565 r=sfraser sr=bzbarsky
2006-08-15 15:26:47 +00:00
peterv%propagandism.org
d3eca9f89d
Backing out to fix orange.
2006-08-10 13:45:40 +00:00
peterv%propagandism.org
3742cca7e7
Fix for bug 347523 (nsXBLBinding should use importNode instead of cloneNode). r/sr=sicking.
2006-08-10 13:05:00 +00:00
cvshook%sicking.cc
3a9a287253
Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
2006-07-19 04:36:36 +00:00
uriber%gmail.com
d5ca8e945a
Add bindings for option-delete to delete next word. bug=285529 r=aaronlev sr=bzbarsky
2006-07-18 07:39:03 +00:00
cvshook%sicking.cc
2c39937d84
Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz
2006-07-02 07:23:10 +00:00
Olli.Pettay%helsinki.fi
a2dcf7bbd1
Bug 342347, <xul:key disabled="true" command="foo"/> doesn't honor disabled attribute, r=me, r=bryner
2006-06-24 22:49:09 +00:00
peterv%propagandism.org
090f2dd5c1
Fix for bug 337704 (Clean up files moved from xmlextras). r/sr=bz.
2006-06-15 20:30:44 +00:00
mhammond%skippinet.com.au
0f241835df
Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
2006-06-13 03:07:47 +00:00
mrbkap%gmail.com
98997f8669
Checking in Ben Turner <bent.mozilla@gmail.com> and timeless's patch to make Gecko use the JS engine's request model to help multithreaded embedders avoid GC races and crashes. bug 176182, r=mrbkap assumed-rs=brendan
2006-06-12 22:39:55 +00:00
bzbarsky%mit.edu
86f924a271
Add XXX comment for the time being, since I can't tell what this code _should_ do.
2006-06-02 04:24:53 +00:00
dbaron%dbaron.org
508bbd5015
Report exceptions immediately since constructors and destructors are not called from JS and don't propagate the error status. b=339022 r=bzbarsky sr=brendan
2006-06-01 21:51:07 +00:00
bryner%brianryner.com
6fb8bf0b4f
Make command= event retargeting dispatch a new event rather than reusing the old one. Add a new interface for command events that supports a sourceEvent property for accessing the original event. Bug 336696, r=neil sr=jst.
2006-05-22 20:37:32 +00:00
bryner%brianryner.com
a5e5a4579c
backing out 336696, I checked in the wrong version of the patch
2006-05-22 18:03:16 +00:00
bryner%brianryner.com
87831f25b1
Make command= event retargeting dispatch a new event rather than reusing the old one. Add a new interface for command events that supports a sourceEvent property for accessing the original event. Bug 336696, r=neil sr=jst.
2006-05-22 16:18:45 +00:00
cvshook%sicking.cc
114883abc4
Bug 337543: Use nsINode more. r/sr+peterv
2006-05-19 10:01:22 +00:00
bryner%brianryner.com
6ae01bf56d
fixing indentation per bzbarsky's suggestion (bug 331290)
2006-05-17 02:42:18 +00:00
neil%parkwaycc.co.uk
f78fa5c6bd
Only create key handlers for <key> elements b=336740 r=bryner sr=bz
2006-05-12 22:58:10 +00:00
bryner%brianryner.com
a0c06b2893
Fix for broken keyboard shortcuts: skip over key elements where there's no oncmmand= on the key or on its command element (bug 336740). r=neil, sr=bzbarsky.
2006-05-07 03:07:02 +00:00
cvshook%sicking.cc
d3ec0aa5c5
Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
2006-05-05 06:52:21 +00:00
bryner%brianryner.com
9c0686cc5d
Invoke <key> element commands using command events rather than compiling and executing the script directly, for consistency with click-invoked commands (bug 331290). r+sr=bzbarsky.
2006-05-05 05:25:19 +00:00
bzbarsky%mit.edu
0c3706888c
Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
2006-04-27 18:21:11 +00:00
leon.sha%sun.com
0960e6fd1d
Bug 333896
...
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com .
roc: review+
roc: superreview+
2006-04-24 05:40:11 +00:00
bzbarsky%mit.edu
fbcb90fe19
Don't reenter frame construction from anonymous content creation. Bug 334430,
...
r+sr=sicking
2006-04-19 15:07:19 +00:00
gavin%gavinsharp.com
8dfa2981c5
Bug 289536: Alt+Shift+Backspace in text boxes should be "Redo", patch by Mark Pilgrim <pilgrim@gmail.com>, r=mconnor, sr=bzbarsky
2006-04-18 15:36:01 +00:00
gavin%gavinsharp.com
f3cf77406e
Bug 334289, r+sr=bzbarsky
2006-04-17 22:04:47 +00:00
bzbarsky%mit.edu
d8be2472d1
Add assertion that documents a relationship between two of the args. Bug
...
333392, r+sr=sicking
2006-04-15 01:52:32 +00:00
peterv%propagandism.org
2cd741e602
Fix for bug 332239 (Saved xml content gives xml parsing error in this case). r/zr=bz.
2006-04-06 20:55:25 +00:00
dbaron%dbaron.org
04b8c33eda
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
2006-04-05 00:00:44 +00:00
bzbarsky%mit.edu
915ccf1012
Remove unused variable. Bug 329410 followup.
2006-04-04 18:10:12 +00:00
bzbarsky%mit.edu
2d7aa3dbfa
Don't force sync load for non-chrome and non-resource XBL. Bug 329410,
...
r=sicking, sr=bryner
2006-04-04 02:41:04 +00:00
bzbarsky%mit.edu
28abc2f746
More happy rooting. Bug 328007, r=sicking, sr=brendan
2006-04-04 02:39:12 +00:00
bzbarsky%mit.edu
25ab5fffef
Create a powerless non-principal and start using it. Bug 326506, r=mrbkap,
...
sr=dveditz
2006-04-02 20:58:26 +00:00
bryner%brianryner.com
7a96206e10
Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
2006-03-22 18:36:36 +00:00
bzbarsky%mit.edu
b8488d8978
Fix arrow keys in editors. Bug 330133, r=timeless, sr=neil
2006-03-14 16:58:22 +00:00
timeless%mozdev.org
a38de4047a
Bug 309316 WARNING: GetCharCode used for wrong key event; should use onkeypress., file ../../../../../mozilla/content/events/src/nsDOMKeyboardEvent.cpp, line 108
...
r=bz sr=bz
2006-03-10 01:54:41 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b
Bug 234455, Centralize event dispatch r=jst, sr=bz
2006-03-07 17:08:51 +00:00
dbaron%dbaron.org
0d621d13d0
Fix rooting in nsXBLProtoImplProperty::InstallMember and remove some no-longer-needed null checks of cx. b=327712 r+sr=bzbarsky
2006-02-21 06:37:16 +00:00
bzbarsky%mit.edu
1863bd5aa0
Fix crash on empty getters or setters. Bug 326910, r=sicking, sr=bryner
2006-02-13 19:36:01 +00:00
bzbarsky%mit.edu
b60e347297
This never got CVS removed... Very late followup to bug 308577.
2006-02-12 20:38:56 +00:00
cbiesinger%web.de
c2d981f764
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
263cf7dc11
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
fb3f80349e
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
15c2397445
Bug 323910: Merge atom lists in gklayout
...
r/sr=jst
2006-01-19 00:58:12 +00:00
cvshook%sicking.cc
79b8f5fc24
Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
...
r/sr=bz
2005-12-28 21:52:39 +00:00
dbaron%dbaron.org
f2a37733b9
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
7223904a81
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
1789e54d33
bug 317370: Remove the vestigial aRemoveEventListeners parameter to SetNewDocument. r+sr=jst
2005-11-30 23:41:49 +00:00
dougt%meer.net
b8cbc10b41
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
8f1863159b
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
078fde645f
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
79ab1864b5
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
4c7cb54832
Remove some nsSupportsArray usage from mozilla/content. b=317035 r=dbaron sr=bz
2005-11-22 00:24:48 +00:00
bsmedberg%covad.net
78f6d0683d
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
caee95c028
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
54a7d2552e
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
64a0fbd45f
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
19f519f8da
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
98feb7ca92
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
513c1fd56d
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
d86be43444
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
27a5e72b92
Bug 240627 Add warnings for some reserved key shortcuts r=bryner sr=bz
2005-10-08 10:20:02 +00:00
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
bzbarsky%mit.edu
73caaf6764
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
87ea7e50e3
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
3a6787add4
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
a29b6c69fa
Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky.
2005-02-25 22:07:01 +00:00
bzbarsky%mit.edu
6beac99d39
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
473534a724
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
e82e4540da
Backout bug 278534 due to tinderbox orange.
2005-02-20 01:47:13 +00:00
bsmedberg%covad.net
29add52220
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
708a569767
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
f1c5943731
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
4be2dab6bb
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
67dba23ae4
Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
2005-02-03 23:01:54 +00:00
bzbarsky%mit.edu
87576aebdd
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
8f1a497bd7
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
895ac0806e
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
17c1cc47cf
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
08b341aca4
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
aee82d2edc
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
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
076b2a64a6
deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst
2004-12-13 04:14:28 +00:00
dbaron%dbaron.org
9db368a6af
Bug 272151: reorganize files within layout, r+sr=roc
2004-12-08 19:41:48 +00:00
bsmedberg%covad.net
e946f44738
Centralize layout/ and content/ locale files. See bug 271324.
2004-12-04 20:10:51 +00:00
bzbarsky%mit.edu
fe1acf7e49
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
61af48a328
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
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
cls%seawood.org
6bcc30f8e0
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
095f0fe791
Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
...
r+sr=jst
2004-11-23 17:45:37 +00:00
timeless%mozdev.org
4271c71444
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
baf6af1dbf
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
d98ae85add
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
547059223d
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
bc60433e87
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
976f8eab47
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
234716880e
Fix UMRs in nsXBLWindowKeyHandler::WalkHandlers. Bug 260312, r+sr=bzbarsky.
2004-09-30 03:36:15 +00:00
pinkerton%aol.net
f3e4f198d2
cmd-up/down go to top and bottom of page (bug 241142)
2004-09-24 17:13:44 +00:00
bzbarsky%mit.edu
fd1da399ba
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
03a2855c32
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
f6e45ec1cd
Fix XBL destructors. b=258832 r+sr=brendan
2004-09-15 02:19:24 +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
bzbarsky%mit.edu
93e0d48454
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
805f8ff30f
Fix ctrl+a emacs keybinding for gtk1 (bug 259011), r+sr=bzbarsky
2004-09-13 22:35:39 +00:00
bzbarsky%mit.edu
da46873f59
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
058fe7ba51
Make <constructor> and <destructor> methods, not handlers. Bug 230816,
...
r=bryner, sr=brendan
2004-09-10 15:29:19 +00:00
bryner%brianryner.com
b0afaa4f3d
Add dependency on Makefile so that depend builds don't break.
2004-09-10 07:52:59 +00:00
bryner%brianryner.com
8261446984
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
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
bzbarsky%mit.edu
df42e726bc
Combine WalkRules and UseDocumentRules into one function. Bug 244252,
...
r=bryner, sr=dbaron
2004-09-10 04:57:30 +00:00
bryner%brianryner.com
6cfd959442
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
dea7a573d7
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
a8cd90ba37
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
c434259e14
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
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
brade%comcast.net
4e13425e65
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
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
9f9e5d77ea
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
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +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