hyatt%netscape.com
25002cc5a7
Fix Linux bustage.
2000-01-13 09:20:58 +00:00
hyatt%netscape.com
7868624ce2
Giving XUL elements the capability to own bindings.
2000-01-13 08:48:33 +00:00
waterson%netscape.com
e3393dd236
Remove assertion from nsRDFDOMNodeList::Item(); it was being triggered from JS, and it really isn't a "fatal" program condition.
2000-01-13 02:49:10 +00:00
waterson%netscape.com
c098826ddd
Bugs 20724, 23715. Add a fixed-size allocator for nsXULAttribute objects. Always atomize 'id' attributes so nsXULElement::GetID() can be fast. r=hyatt
2000-01-13 02:22:16 +00:00
sspitzer%netscape.com
1c84b93a3a
fix warning.
2000-01-12 08:57:41 +00:00
waterson%netscape.com
468ebfdd06
Bug 17195. Implement nsIDOMNode::CloneNode(). r=hyatt
2000-01-12 03:23:48 +00:00
pp%ludusdesign.com
698852a4f4
Converting usage of ::GetIID() to NS_GET_IID().
...
Bug #20232 , r=scc@netscape.com
2000-01-11 20:49:15 +00:00
hyatt%netscape.com
fa8f3d858e
Making nsIXULContent visible.
2000-01-10 04:03:12 +00:00
hyatt%netscape.com
1152f9e9ba
Teaching the XUL DOM how to keep anonymous content events from being seen
...
by enclosing explicit content.
2000-01-10 03:57:49 +00:00
hyatt%netscape.com
f8c91fadf4
Making tree scrolling faster.
2000-01-08 02:18:14 +00:00
alecf%netscape.com
e533d87b8a
one more time! this time don't look inside templates, instead look inside <treechildren> of trees
...
r=scottip
2000-01-07 00:38:24 +00:00
alecf%netscape.com
cf3ead0374
followup fix for #12895 - actually find the content correctly
...
r=scottip
2000-01-07 00:00:27 +00:00
alecf%netscape.com
c78c629151
fix my previous checkin after talking to hyatt - we'll be getting the outer frame, so iterate through the children and QI on each one, sending EnsureRowIsVisible to each when it succeeds
...
r=hyatt
2000-01-06 09:19:31 +00:00
alecf%netscape.com
cb1027f2f0
add new method to ensure that tree content is visible: go through all the presentation shells, and call EnsureRowIsVisible for each tree.
...
also expose a method to get the visible row for a tree - I needed it anyway, figured I might as well expose it from JS.
other half of fix for #12895
r=bryner
2000-01-06 07:54:43 +00:00
sspitzer%netscape.com
fbd97e9856
fix warnings.
1999-12-28 19:37:29 +00:00
pinkerton%netscape.com
2275305f2f
remove hand-rolled QI and using scc's macros. Also removing static IID's where necessary. r=hyatt,scc a=sdagley.
1999-12-21 19:28:15 +00:00
jband%netscape.com
ef9c82db1e
Landing big set of DOM and XPConnect changes:
...
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.
XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.
Also, xpconnect tests are reorganized and improved.
fixes bugs: 13419, 17736, 17746, 17952, 22086
r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
waterson%netscape.com
59f08eb360
Bug 21364. Fix document leaks that occur via uncollected script objects: compile scripts against a special global object owned by the prototype document. shaver mostly did this work. r=brendan Bug 21661. Break circular reference between command dispatcher and XUL document. r=saari
1999-12-17 00:06:28 +00:00
waterson%netscape.com
9d9ae83f9d
Bug 20724. Atomize short attribute values to avoid string allocation and copying overhead. r=hyatt, a=chofmann
1999-12-11 18:16:22 +00:00
dougt%netscape.com
b854d078d4
fix for 19133. r=waterson, a=brendan.
1999-12-09 02:28:43 +00:00
waterson%netscape.com
be17379f6b
What a dumbass! I should've 'cvs diff'-ed before checking that in. Landed some random local mods in my tree. Sorry!
1999-12-08 08:08:39 +00:00
waterson%netscape.com
a377d5e847
Bug 21033. Delete broadcast listeners in Slots dtor. thanks beard!
1999-12-08 07:18:59 +00:00
waterson%netscape.com
0e5acf581a
Bug 20714. Use static names for roots.
1999-12-08 06:58:00 +00:00
brendan%mozilla.org
5eacb7f5c1
Add off-by-default metering, improve comments (r=waterson@netscape.com).
1999-12-07 02:06:10 +00:00
waterson%netscape.com
77a02a8fff
Bug 16709. Set 'content ID' fields on elements as they are constructed from XUL.
1999-12-06 23:05:31 +00:00
waterson%netscape.com
2bca9671fc
Bug 20785. Root event handlers for JavaScript GC. r=brendan@mozilla.org
1999-12-06 08:23:47 +00:00
waterson%netscape.com
38e938ebbc
Bug 20470. Add weak reference from 'controllers' object back to command dispatcher. Miscellaneous cleanup. r=hyatt
1999-12-05 23:04:22 +00:00
waterson%netscape.com
e634ed06f2
Remove NS_ENSURE macros from my little empire. r=caesar
1999-12-04 07:41:07 +00:00
waterson%netscape.com
46ed13c843
Bug 20714. Sever link to prototype after faulting in as heavyweight.
1999-12-04 01:45:30 +00:00
tbogard%aol.net
eb96099e6d
1.) WebShell no longer implements nsIScriptContextOwner.
...
2.) WebShell now implements the new nsIScriptGlobalObjectOwner.
3.) WebShell supports GetInterface to nsIScriptGlobalObject.
4.) Documents no longer carry around a reference to nsIScriptContextOwner. Instead they hold on to a nsIScriptGlobalObject. nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject(). Same change to the set methods.
1999-12-03 09:24:22 +00:00
brendan%mozilla.org
8c97186a42
Use .get() for comptr==rawptr comparisons, for weak-minded compilers.
1999-12-03 04:45:36 +00:00
brendan%mozilla.org
d44c35ee1b
- Doc-comments for nsIScriptContext methods I added or modified.
...
- Rename nsIScriptContext::CompileFunction to CompileEventHandler, and add BindCompiledEventHandler, to reflect function name restrictions and help brutal sharing.
- Add adjunct-interface nsIScriptEventHandlerOwner to nsIScriptObjectOwner.h; this interface is queried for by nsEventListenerManger.cpp to test and fill the XUL prototype event handler "cache".
- PR_LOG JS warnings, and look in javascript.options.{strict,werror} for those options.
- Implement nsIScriptEventHandlerOwner in nsXULElement, keeping pointers to pre-compiled event handlers in nsXULPrototypeAttribute.
(bug 13218, r=waterson@netscape.com ,vidur@netscape.com)
1999-12-03 03:40:30 +00:00
waterson%netscape.com
bbccd5d47b
Bug 20309. Use nsCAutoString. Kudos to buhr@stat.wisc.edu
1999-12-02 23:53:25 +00:00
waterson%netscape.com
7e03717d55
Bug 20147. Make sure to correctly scope 'parent' when creating script objects. XUL document's parent is the window; XUL element's parent is the document. r=brendan
1999-11-29 20:53:40 +00:00
vidur%netscape.com
2f89fad454
Changed signature of AddScriptEventListener. Event handlers that are attributes of XUL elements are now compiled only when first invoked. R=joki
1999-11-25 00:06:10 +00:00
tbogard%aol.net
af1ce8d410
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
tbogard%aol.net
214c6f7a18
Enabled nsXULElement to implement the nsIChromeEventHandler interface. r=hyatt
1999-11-23 09:36:39 +00:00
waterson%netscape.com
f4acc98b16
Bug 12734. Make check for duplicate insertions debug-only. Thanks to zee@northrock.bm
1999-11-20 07:13:25 +00:00
bienvenu%netscape.com
2d8cd89204
small performance tweak for null id xul elements r=waterson
1999-11-19 01:31:36 +00:00
brendan%mozilla.org
4849241687
Brutal JS script sharing (15146, r=waterson@netscape.com).
1999-11-18 02:25:33 +00:00
waterson%netscape.com
b20b076a88
Bug 13378. Make sure that we hook up any broadcasters that arrive in overlay subtrees. r=hyatt
1999-11-17 02:45:46 +00:00
dmose%mozilla.org
142ac52eaf
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
waterson%netscape.com
f9b4723956
Bug 17955. Don't unnecessarily add script event listeners to temporary nodes used for overlay hookup. r=hyatt, a=chofmann
1999-11-04 19:43:43 +00:00
beard%netscape.com
932ec344f4
bug #17847 , fix clobbering of mSlots->mAttributes in GetAttributes(). r=waterson, a=chofmann
1999-11-04 02:56:54 +00:00
waterson%netscape.com
a2dfa5b9b1
Bug 17024. Fix mClassList leak; add bloaty stats for nsClassList. r=hyatt a=chofmann
1999-11-04 01:50:47 +00:00
joki%netscape.com
1675be15e0
Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur
1999-11-03 07:11:45 +00:00
alecf%netscape.com
4033a6f681
fix for #12703 - don't hold onto XULElements after they have been removed from the tree - don't bother checking mDocument because it will be null when the content has been removed from the document
...
r=hyatt
1999-11-02 23:30:33 +00:00
waterson%netscape.com
050ad45bf2
remove CTOR and DTOR counters, because the descendant classes will all
...
account for this space. r=warren
1999-11-02 06:21:07 +00:00
warren%netscape.com
e78a953005
Fix for bad refcount tracing. r=buster,nisheeth
1999-11-02 05:37:04 +00:00
pinkerton%netscape.com
b235ede1ff
fix for bug 17381 where leaving the frame before a drag gesture was began caused the event target to be set incorrectly. (r=saari).
1999-11-02 01:34:16 +00:00