Commit Graph

2125 Commits

Author SHA1 Message Date
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
warren%netscape.com
6af4802e75 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
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
rjc%netscape.com
22d2df29f9 Commit out annoyance assert. 1999-12-02 10:01:58 +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
rjc%netscape.com
8e78a1fe07 Add chrome .cpp and IDL files to Mac projects for hyatt. 1999-12-01 09:42:31 +00:00
hyatt%netscape.com
a23936ccd7 Actually setting the fields in the chrome entry enumeration now. r=me 1999-12-01 08:55:35 +00:00
hyatt%netscape.com
3a1040a295 More skins work. r=travis 1999-12-01 08:44:43 +00:00
hyatt%netscape.com
ef7b38a59e Calming Wensleydale down. r=me 1999-12-01 08:24:12 +00:00
hyatt%netscape.com
4a29b3f60e Adjusting some names of variables. r=travis 1999-12-01 08:17:42 +00:00
hyatt%netscape.com
8d895265cb Support for enumeration of skins, packages, and locales nearing completion. r=mini-me 1999-12-01 07:59:35 +00:00
waterson%netscape.com
cde0d27007 Fix code-path leak by using nsCOMPtr. 1999-12-01 07:04:00 +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
hyatt%netscape.com
b5e18743bf Adding comments. 1999-11-30 11:37:17 +00:00
hyatt%netscape.com
43fcb3ac12 Adding some NS_ERRORs. r=gimpy 1999-11-30 11:35:16 +00:00
hyatt%netscape.com
b1f58dcf71 Working on code to enumerate installed skins, packages, and locales. r=gimpy 1999-11-30 11:33:44 +00:00
hyatt%netscape.com
2c2128d749 Adding idl for the chrome entry (used for enumeration of installed skins, packages and locales). r=gimpy 1999-11-30 09:37:58 +00:00
hyatt%netscape.com
074f2362e4 More skin goodness. r=gimpy 1999-11-30 09:29:43 +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
dougt%netscape.com
f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +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
96066ce400 Ooops. Fix 'component:' URI to have one slash, not two. 1999-11-29 21:28:46 +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
waterson%netscape.com
0d8bcb5cc5 Add experimental support for RDF delegates. 1999-11-24 20:51:39 +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