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
c3688d7937
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
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
82fb1998b7
Bug 18392. Use XUL document cache for retrieving master document.
1999-12-04 07:45:57 +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
vidur%netscape.com
1cf2db67a5
For bug 17325. Changed signature of css loader methods. R=nisheeth.
1999-12-04 01:29:18 +00:00
waterson%netscape.com
c8028526ce
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
317758d9f3
include of nsIScriptGlobalObject.h is now in nsXULDocument.h.
1999-12-03 19:29:23 +00:00
tbogard%aol.net
72218fe6d8
Moved the include over. This should fix wensleydale.
1999-12-03 19:26:23 +00:00
tbogard%aol.net
94a95754d7
Hoping this will help wensleydale.
1999-12-03 12:09:10 +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
rjc%netscape.com
23e994f315
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
danm%netscape.com
d25d8e587a
adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com
1999-12-01 22:35:33 +00:00
buster%netscape.com
fd31de07ac
bug 2253. added controller to html text input
...
r = kmcclusk, norris
1999-12-01 15:11:33 +00:00
waterson%netscape.com
b226f5a42a
Bug 16516. Doh! Fix use of NS_RELEASE()-ed pointer that was causing load handlers to not run on brutally shared docs.
1999-11-30 22:47:41 +00:00
ftang%netscape.com
f6e3351358
fix bug 20181. r=ftang a=beard
1999-11-30 22:24:16 +00:00
rjc%netscape.com
e63af9cb8c
Create static trueStr and falseStr once instead of various "true" and "false" usage.
1999-11-30 12:08:54 +00:00
warren%netscape.com
2db26922a6
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
1999-11-30 04:50:42 +00:00
waterson%netscape.com
947d490060
Fix RemoveStyleSheet() per pierre's comments.
1999-11-30 04:33:28 +00:00
hyatt%netscape.com
7ab98f7f26
Adding RemoveStyleSheet to nsIDocument (needed for skins). r=waterson
1999-11-29 22:15:07 +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
hyatt%netscape.com
9d73ef65cc
More skin work. r=pavlov
1999-11-29 06:51:24 +00:00
tbogard%aol.net
85b5334721
nsXULDocument now uses the nsIBaseWindow interface for windowing stuff on webshell instead of nsIWebShell. This paves the way for the new docshell object to move in.
1999-11-29 06:04:15 +00:00
warren%netscape.com
96ec037ac6
Eliminated the libs build pass.
1999-11-28 03:05:01 +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
waterson%netscape.com
dd7c188516
More random flailing to fix gcc-2.7.2.3
1999-11-24 23:39:34 +00:00
waterson%netscape.com
1260e2100c
Random flailing to fix gcc-2.7.2.3 bustage.
1999-11-24 23:19:52 +00:00
waterson%netscape.com
1eb45f5c91
Expose nsIXULDocument and nsIXULPrototypeDocument as public interfaces. Properly implement nsIXULDocument::CreateFromPrototype().
1999-11-24 22:46:09 +00:00
waterson%netscape.com
42f49b9da2
Add methods to individually flush prototypes and style sheets.
1999-11-24 22:44:52 +00:00
waterson%netscape.com
47352eeda1
Bug 20036. Fix style sheet ordering.
1999-11-24 22:43:45 +00:00
akkana%netscape.com
fa4a9640bf
More on 11818 (xulkey): make meta the default mac xulkey,
...
since platformGlobalOverlay.xul isn't loaded. r=brade
Also fix the mac and unix platformGlobalOverlay files
for when platformGlobalOverlay.xul merging gets fixed.
1999-11-24 20:44:56 +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
akkana%netscape.com
3d03085c9e
11818: Rename the special XUL key from "command" to "xulkey" so it won't
...
confuse people into thinking it has something to do with the Mac command key.
This means changing all the XUL keybinding files from command= to xulkey=.
r=brade.
1999-11-23 23:24:57 +00:00
tbogard%aol.net
214c6f7a18
Enabled nsXULElement to implement the nsIChromeEventHandler interface. r=hyatt
1999-11-23 09:36:39 +00:00
rjc%netscape.com
7b8ef00a40
One less loop (figured out what was preventing this).
1999-11-23 05:37:33 +00:00
rjc%netscape.com
08110eb10f
Get rid of a warning.
1999-11-23 04:47:38 +00:00
rjc%netscape.com
2cba0e8647
Get rid of another signed/unsigned warning.
1999-11-23 04:44:52 +00:00
rjc%netscape.com
8c4f250de4
Get rid of a signed/unsigned warning.
1999-11-23 04:43:01 +00:00
rjc%netscape.com
f2baa21b51
Speed up sorting by reducing the # of times we loop over the list of nodes. Now, we loop over once to build up a flat array of nodes [qsort needs a flat array] and remove them from the content model, then we sort, then we loop again to re-add the now-sorted nodes, and finally we loop to check if any of the nodes is a container with children such that we need to recursively sort on it. [Note: I tried to combine the final two loops but the tree widget didn't like that. Oh well... its still a lot better than before.]
1999-11-23 04:39:29 +00:00
rjc%netscape.com
4fceaba909
When sorting, only set found="true" attribute if not a natural order sort.
1999-11-23 02:27:03 +00:00
rjc%netscape.com
895bfe63f8
Set some sorting hints on the root of the tree (allows for faster insertion sort, due to not having to look around for treecol tags; also makes it pretty easy for drag&drop code to determine if a sort is currently being imposed.)
1999-11-23 01:51:46 +00:00
waterson%netscape.com
eb971c4df2
Bug 19421. Brendan's fixes for brutal sharing of script, plus a 'placeholder channel' that ensures we don't fire the EndDocumentLoad() before the prototype walk completes. r=brendan
1999-11-23 01:44:51 +00:00
rjc%netscape.com
12d6f261c0
Better handling of natural order calculation on RDF sequences; add support for sorting in-between separators.
1999-11-23 01:02:55 +00:00
rjc%netscape.com
dc4a206fff
Better handling of natural order calculate on RDF sequences. Makes drag&drop work fairly well in natural order.
1999-11-20 08:46:22 +00:00