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

2157 Коммитов

Автор SHA1 Сообщение Дата
briano%netscape.com 3d9b31d36f Another NetBSD/arm-specific fix. 1999-12-22 20:02:18 +00:00
waterson%netscape.com bab94bfa5e Bug 22305. Fix leak when replacing cache entry for style sheet and prototype document. r=buster, a=sdagley 1999-12-22 01:42:42 +00:00
pinkerton%netscape.com c1fd7f7797 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
akkana%netscape.com 336dcaa84c Remove my name from a debug printf 1999-12-21 00:39:43 +00:00
jband%netscape.com 7d0cb0f4bb 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
hyatt%netscape.com 64b7811b77 Fixes for 3 PDT+ bugs (THAT'S RIGHT). Bugs 21895, 21832, and 21610. r=mjudge,
a=i'm leaving now for vacation, and i can't find anyone around, but i'm assuming that you
actually want them before January 3rd, so I'm checking them in.
1999-12-18 04:02:28 +00:00
rjc%netscape.com fda9dc2a0c Fix bug # 21927: empty IE Favorites folders are still folders. Approval: chofmann 1999-12-18 03:45:40 +00:00
waterson%netscape.com 3a0585e79d Bug 11102. Update test case: bug closed without fix! Does not affect build. 1999-12-18 01:37:52 +00:00
hyatt%netscape.com 15df3485b1 Making key bindings cancelable. r=saari,a=jar 1999-12-17 02:43:37 +00:00
waterson%netscape.com ae1780c3d6 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
hyatt%netscape.com 5771333529 Fix for 21610. r=waterson 1999-12-16 03:19:34 +00:00
waterson%netscape.com 8deb69c749 Bug 21610. Add support to distinguish key binding overlay from normal overlay documents. 1999-12-15 23:18:34 +00:00
mjudge%netscape.com 375afb43f5 adding in check for editor keylistener. dont always assume its a browser when it could be an editor. part of large check in for key bindings 1999-12-15 03:48:09 +00:00
waterson%netscape.com 85e19c7a40 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
rjc%netscape.com 4c89b0ec62 Fix PDT+ bug # 21245: add sorting support for <treecolgroup> trags. Review: hyatt, putterman. Approval: chofmann. 1999-12-11 08:17:31 +00:00
akkana%netscape.com 1916168c22 Add a get() to fix build bustage 1999-12-11 00:37:11 +00:00
hyatt%netscape.com 0b624a4547 Fix for PDT bug #21247. r=saari, mjudge 1999-12-11 00:06:29 +00:00
waterson%netscape.com 70f20f9245 Bug 20691. Fire OnStopRequest() on a callback so as to avoid re-entrancy problems. r=mscott, a=chofmann 1999-12-10 21:02:47 +00:00
waterson%netscape.com fd26b307df Bug 20691. Add timer_s.lib so that we can use NS_NewTimer(). r=mscott, a=chofmann 1999-12-10 20:59:46 +00:00
waterson%netscape.com 576424cbfe Bug 20691. Add NetworkModular[Debug].shlb so we can get NS_NewTimer(). r=mscott, a=chofmann 1999-12-10 20:58:08 +00:00
danm%netscape.com 88bac4ad87 release the PresShell in HandleEventUsingKeyset earlier, so it won't outlive its ViewManager if the window is deleted. another fix for bug 20193. r:hyatt a:chofmann 1999-12-10 19:31:54 +00:00
dougt%netscape.com 2d0f118db2 fix for 19133. r=waterson, a=brendan. 1999-12-09 02:28:43 +00:00
hyatt%netscape.com af5c8627b2 Fixing Mac crasher. r=saari 1999-12-08 10:16:56 +00:00
waterson%netscape.com 4b5bfd9fa4 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 48c2b1b2ab Bug 17680. Only need to add template builders on nodes that are more than -two- levels in from an overlay root. The first ply will be set up in nsXULDocument::OverlayForwardReference::Merge(). 1999-12-08 07:59:12 +00:00
waterson%netscape.com 19b1ae7b34 Bug 21033. Delete broadcast listeners in Slots dtor. thanks beard! 1999-12-08 07:18:59 +00:00
waterson%netscape.com d72ecdba3f Bug 20714. Use static names for roots. 1999-12-08 06:58:00 +00:00
hyatt%netscape.com 2db54c7221 Fixing bustage on wensleydale. 1999-12-08 06:04:10 +00:00
hyatt%netscape.com 540fd03206 Massive rewrite of the key binding system and the command dispatcher. Key
bindings are now fully hierarchical.  In addition, DOM windows, input fields
and textareas can pull their key bindings from a separate XUL file.  This
allows configurable key bindings.

Massive rewrite of the command dispatcher system.  The command dispatcher now
deals with DOM windows in addition to DOM elements.  It now tracks both
successfully and works in conjunction with the new focus/blur architecture.

r=saari
1999-12-08 04:56:56 +00:00
brendan%mozilla.org 8802596fe8 Add off-by-default metering, improve comments (r=waterson@netscape.com). 1999-12-07 02:06:10 +00:00
waterson%netscape.com c8156765d3 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 233d818184 Bug 20897. Change flow-of-control; panic if we can't get from a presshell to a webshell and beyond. r=danm 1999-12-06 23:03:53 +00:00
waterson%netscape.com 8b000a8cee Bug 20785. Root event handlers for JavaScript GC. r=brendan@mozilla.org 1999-12-06 08:23:47 +00:00
waterson%netscape.com 57e9111db3 Bug 20470. Add weak reference from 'controllers' object back to command dispatcher. Miscellaneous cleanup. r=hyatt 1999-12-05 23:04:22 +00:00
warren%netscape.com bf4ef9672f Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
waterson%netscape.com d48263e259 Bug 18392. Use XUL document cache for retrieving master document. 1999-12-04 07:45:57 +00:00
waterson%netscape.com 60d9f30e73 Remove NS_ENSURE macros from my little empire. r=caesar 1999-12-04 07:41:07 +00:00
waterson%netscape.com b3c9bc10d4 Bug 20714. Sever link to prototype after faulting in as heavyweight. 1999-12-04 01:45:30 +00:00
vidur%netscape.com a90864f224 For bug 17325. Changed signature of css loader methods. R=nisheeth. 1999-12-04 01:29:18 +00:00
waterson%netscape.com e62a15c302 Fix latent bug exposed by recent script global changes; need to check owner, not rv. 1999-12-03 22:04:47 +00:00
tbogard%aol.net 31ba179780 include of nsIScriptGlobalObject.h is now in nsXULDocument.h. 1999-12-03 19:29:23 +00:00
tbogard%aol.net 254520ef9a Moved the include over. This should fix wensleydale. 1999-12-03 19:26:23 +00:00
tbogard%aol.net 88d9adc371 Hoping this will help wensleydale. 1999-12-03 12:09:10 +00:00
tbogard%aol.net 648ace3e23 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 2bacae4ffe Use .get() for comptr==rawptr comparisons, for weak-minded compilers. 1999-12-03 04:45:36 +00:00
brendan%mozilla.org f3855ca6b0 - 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 3b8299d2ed Bug 20309. Use nsCAutoString. Kudos to buhr@stat.wisc.edu 1999-12-02 23:53:25 +00:00
rjc%netscape.com 8992d94df3 Optimization: 99% of trees which use the containment and/or ignore attributes put those attributes on the root node,
so check there first before trying to recurse from the current node all the way up to the root node.
1999-12-02 10:07:44 +00:00
rjc%netscape.com 005d8cd4a8 Commit out annoyance assert. 1999-12-02 10:01:58 +00:00
danm%netscape.com a9db94dfe7 adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com 1999-12-01 22:35:33 +00:00