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

858 Коммитов

Автор SHA1 Сообщение Дата
hyatt%netscape.com 5e51092a3b Making nsIXULContent visible. 2000-01-10 04:03:12 +00:00
hyatt%netscape.com 63c91e910b 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
rpotts%netscape.com 3e79b2aec1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
hyatt%netscape.com 9f455a7174 Making tree scrolling faster. 2000-01-08 02:18:14 +00:00
waterson%netscape.com d83b83c647 Bug 21477. Add |nsIContent** aFirstGeneratedChild| parameter to several methods that is used as an 'out' parameter to determine the first generated child in a subtree. This allows us to send the correct |ContentAppended()| notification to layout. Fixes the 'unfurling menu' problem. r=rjc 2000-01-08 00:27:04 +00:00
brendan%mozilla.org bd00bf675b (bug 22795, r=vidur@netscape.com)
- Add "aShared" flag to nsIScriptContext::CompileEventHandler, telling it to clear the compiled event handler's scope chain if true, in order to
  (a) avoid entraining garbage
      (i.e., a shared compile-time-only parent object); and
  (b) cause later BindCompiledEventHandler calls to ensure that the event handler has the particular scope chain needed for the binding
      (to the target object that's receiving the event).
- Use :: consistently (and all over the place) before calls to JS_ functions in nsJSEnvironment.cpp.
- Eliminate tabs and barbarians-at-the-gate-of-Rome style, in favor of when-in-Rome style (hail Waterson Maximus!)
2000-01-08 00:24:24 +00:00
alecf%netscape.com e0bcb4a2e6 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 ee1440d6a7 followup fix for #12895 - actually find the content correctly
r=scottip
2000-01-07 00:00:27 +00:00
waterson%netscape.com 06963c43cc Bug 22805. Wrap NS_GetWeakReference() with getter_AddRefs(). Thanks beard! r=beard 2000-01-06 20:01:56 +00:00
nhotta%netscape.com 69424c2181 Fixed memory leak, bug 22281, r=waterson. 2000-01-06 19:47:20 +00:00
alecf%netscape.com 5f40caae8f 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 4a01d2ad5a 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
waterson%netscape.com 19c9efac8e Bug 19033. Wait until the parse is complete to set the 'root' element in the prototype document. This ensures that malformed XUL with too few close-tags won't leave the prototype document with a dangling pointer to a destroyed element. r=hyatt 2000-01-06 00:29:30 +00:00
sspitzer%netscape.com 1ff7f19198 fix warnings. 1999-12-28 19:37:29 +00:00
sspitzer%netscape.com 985576866d only hyatt needs to see his debugging printfs. 1999-12-24 07:53:41 +00:00
rjc%netscape.com 6e35597564 Small sorting change: always sort {null} items last (after non-null items). 1999-12-23 12:01:44 +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
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
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
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