pp%ludusdesign.com
b5787cf895
Converting usage of ::GetIID() to NS_GET_IID().
...
Bug #20232 , r=scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
rjc%netscape.com
722d05e615
Use native ptr [via .get()]
...
git-svn-id: svn://10.0.0.236/trunk@57383 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 08:41:15 +00:00
rjc%netscape.com
321eac2192
Defer creation of resource cache until a sort is imposed. Also, added a temporary working for db->OnChange() not enjoying a null oldTarget.
...
git-svn-id: svn://10.0.0.236/trunk@57382 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 08:38:47 +00:00
rjc%netscape.com
a5c192cf93
Move resource cache up from the XUL sort service into the generic builder. Review: me
...
git-svn-id: svn://10.0.0.236/trunk@57369 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 06:28:28 +00:00
waterson%netscape.com
74b0641338
Take out crufty debug printfs.
...
git-svn-id: svn://10.0.0.236/trunk@57344 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 02:49:18 +00:00
hyatt%netscape.com
e7d02281dc
Making nsIXULContent visible.
...
git-svn-id: svn://10.0.0.236/trunk@57253 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 04:03:12 +00:00
hyatt%netscape.com
fa4ee6c782
Teaching the XUL DOM how to keep anonymous content events from being seen
...
by enclosing explicit content.
git-svn-id: svn://10.0.0.236/trunk@57252 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 03:57:49 +00:00
rpotts%netscape.com
50c3fad132
Made contentType a read/write attribute of nsIChannel
...
git-svn-id: svn://10.0.0.236/trunk@57178 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 06:26:04 +00:00
hyatt%netscape.com
c21adf5446
Making tree scrolling faster.
...
git-svn-id: svn://10.0.0.236/trunk@57155 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 02:18:14 +00:00
waterson%netscape.com
37bf1de35b
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
...
git-svn-id: svn://10.0.0.236/trunk@57128 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 00:27:04 +00:00
alecf%netscape.com
89c771041d
one more time! this time don't look inside templates, instead look inside <treechildren> of trees
...
r=scottip
git-svn-id: svn://10.0.0.236/trunk@57049 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 00:38:24 +00:00
alecf%netscape.com
76e6ca9c80
followup fix for #12895 - actually find the content correctly
...
r=scottip
git-svn-id: svn://10.0.0.236/trunk@57038 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 00:00:27 +00:00
waterson%netscape.com
39ba565519
Bug 22805. Wrap NS_GetWeakReference() with getter_AddRefs(). Thanks beard! r=beard
...
git-svn-id: svn://10.0.0.236/trunk@56983 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 20:01:56 +00:00
nhotta%netscape.com
418ad5150b
Fixed memory leak, bug 22281, r=waterson.
...
git-svn-id: svn://10.0.0.236/trunk@56976 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 19:47:20 +00:00
alecf%netscape.com
ddb7aae36f
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
git-svn-id: svn://10.0.0.236/trunk@56948 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 09:19:31 +00:00
alecf%netscape.com
3ac59169d3
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
git-svn-id: svn://10.0.0.236/trunk@56942 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 07:54:43 +00:00
waterson%netscape.com
d58070d687
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
...
git-svn-id: svn://10.0.0.236/trunk@56885 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:29:30 +00:00
sspitzer%netscape.com
f7440a0d0d
fix warnings.
...
git-svn-id: svn://10.0.0.236/trunk@56570 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 19:37:29 +00:00
sspitzer%netscape.com
53d4c796ae
only hyatt needs to see his debugging printfs.
...
git-svn-id: svn://10.0.0.236/trunk@56533 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-24 07:53:41 +00:00
rjc%netscape.com
9a29a914a5
Small sorting change: always sort {null} items last (after non-null items).
...
git-svn-id: svn://10.0.0.236/trunk@56485 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 12:01:44 +00:00
waterson%netscape.com
ecaee9783b
Bug 22305. Fix leak when replacing cache entry for style sheet and prototype document. r=buster, a=sdagley
...
git-svn-id: svn://10.0.0.236/trunk@56325 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:42:42 +00:00
pinkerton%netscape.com
df130bfa90
remove hand-rolled QI and using scc's macros. Also removing static IID's where necessary. r=hyatt,scc a=sdagley.
...
git-svn-id: svn://10.0.0.236/trunk@56289 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 19:28:15 +00:00
jband%netscape.com
191411b358
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
git-svn-id: svn://10.0.0.236/trunk@56202 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 20:29:29 +00:00
hyatt%netscape.com
66f9e68928
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.
git-svn-id: svn://10.0.0.236/trunk@56179 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 04:02:28 +00:00
waterson%netscape.com
08cfbca3b4
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
...
git-svn-id: svn://10.0.0.236/trunk@56114 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 00:06:28 +00:00
hyatt%netscape.com
a992457306
Fix for 21610. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@56078 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 03:19:34 +00:00
waterson%netscape.com
ceddb6ce58
Bug 21610. Add support to distinguish key binding overlay from normal overlay documents.
...
git-svn-id: svn://10.0.0.236/trunk@56060 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 23:18:34 +00:00
waterson%netscape.com
9d54abd105
Bug 20724. Atomize short attribute values to avoid string allocation and copying overhead. r=hyatt, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@55906 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 18:16:22 +00:00
rjc%netscape.com
b1a59b34b6
Fix PDT+ bug # 21245: add sorting support for <treecolgroup> trags. Review: hyatt, putterman. Approval: chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@55904 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 08:17:31 +00:00
hyatt%netscape.com
142b602c9a
Fix for PDT bug #21247 . r=saari, mjudge
...
git-svn-id: svn://10.0.0.236/trunk@55879 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 00:06:29 +00:00
dougt%netscape.com
1131f006d6
fix for 19133. r=waterson, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@55789 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 02:28:43 +00:00
waterson%netscape.com
8b025929f6
What a dumbass! I should've 'cvs diff'-ed before checking that in. Landed some random local mods in my tree. Sorry!
...
git-svn-id: svn://10.0.0.236/trunk@55750 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 08:08:39 +00:00
waterson%netscape.com
0e1753ad3a
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().
...
git-svn-id: svn://10.0.0.236/trunk@55749 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 07:59:12 +00:00
waterson%netscape.com
0f170515eb
Bug 21033. Delete broadcast listeners in Slots dtor. thanks beard!
...
git-svn-id: svn://10.0.0.236/trunk@55744 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 07:18:59 +00:00
waterson%netscape.com
8457a544b0
Bug 20714. Use static names for roots.
...
git-svn-id: svn://10.0.0.236/trunk@55743 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 06:58:00 +00:00
hyatt%netscape.com
2bb806a610
Fixing bustage on wensleydale.
...
git-svn-id: svn://10.0.0.236/trunk@55735 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 06:04:10 +00:00
hyatt%netscape.com
aba17d157e
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
git-svn-id: svn://10.0.0.236/trunk@55718 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:56:56 +00:00
brendan%mozilla.org
f512f2dbb4
Add off-by-default metering, improve comments (r=waterson@netscape.com).
...
git-svn-id: svn://10.0.0.236/trunk@55509 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 02:06:10 +00:00
waterson%netscape.com
657a44f76d
Bug 16709. Set 'content ID' fields on elements as they are constructed from XUL.
...
git-svn-id: svn://10.0.0.236/trunk@55461 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 23:05:31 +00:00
waterson%netscape.com
823976d121
Bug 20897. Change flow-of-control; panic if we can't get from a presshell to a webshell and beyond. r=danm
...
git-svn-id: svn://10.0.0.236/trunk@55460 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 23:03:53 +00:00
waterson%netscape.com
303386ba94
Bug 20785. Root event handlers for JavaScript GC. r=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@55410 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 08:23:47 +00:00
waterson%netscape.com
87a9a9877c
Bug 20470. Add weak reference from 'controllers' object back to command dispatcher. Miscellaneous cleanup. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@55385 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 23:04:22 +00:00
waterson%netscape.com
cfccd460a5
Bug 18392. Use XUL document cache for retrieving master document.
...
git-svn-id: svn://10.0.0.236/trunk@55279 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 07:45:57 +00:00
waterson%netscape.com
40b96f684e
Remove NS_ENSURE macros from my little empire. r=caesar
...
git-svn-id: svn://10.0.0.236/trunk@55278 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 07:41:07 +00:00
waterson%netscape.com
499a48d730
Bug 20714. Sever link to prototype after faulting in as heavyweight.
...
git-svn-id: svn://10.0.0.236/trunk@55259 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:45:30 +00:00
vidur%netscape.com
a68ed6e2a5
For bug 17325. Changed signature of css loader methods. R=nisheeth.
...
git-svn-id: svn://10.0.0.236/trunk@55253 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:29:18 +00:00
waterson%netscape.com
c8a6b35854
Fix latent bug exposed by recent script global changes; need to check owner, not rv.
...
git-svn-id: svn://10.0.0.236/trunk@55212 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 22:04:47 +00:00
tbogard%aol.net
9eb1037eba
include of nsIScriptGlobalObject.h is now in nsXULDocument.h.
...
git-svn-id: svn://10.0.0.236/trunk@55201 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 19:29:23 +00:00
tbogard%aol.net
b03d03932e
Moved the include over. This should fix wensleydale.
...
git-svn-id: svn://10.0.0.236/trunk@55199 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 19:26:23 +00:00
tbogard%aol.net
b92a506230
Hoping this will help wensleydale.
...
git-svn-id: svn://10.0.0.236/trunk@55190 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 12:09:10 +00:00