Commit Graph

2742 Commits

Author SHA1 Message Date
nisheeth%netscape.com
24d990e18b Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed. 1999-12-06 07:44:18 +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
hyatt%netscape.com
de2eaede42 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
joki%netscape.com
93019aacdb Fix for bug 20663, mem leak in event listeners. r:beard 1999-12-04 23:40:05 +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
joki%netscape.com
1e9397058e Fix bug 14836, keep disabled control from responding to events. r:pollmann@netscape.com 1999-12-04 02:22:21 +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
vidur%netscape.com
9f1fe721c3 For bug 17325. Added timer-based notifications that can be enabled on a pref. R=nisheeth. 1999-12-04 01:27:46 +00:00
vidur%netscape.com
62f646032b For bug 17325: Added nsICSSLoaderObserver as a way to see when style sheets complete loading. r=pierre. 1999-12-04 01:27:14 +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
drapeau%eng.sun.com
b12618788f Fix for bug 18899 ('Make "--enable-oji" as part of the default Mozilla
Build').  Modified files that conditionally compiled in support for
OJI, replacing with code that looks for OJI as an XPCOM service, and
failing gracefully if the OJI XPCOM service is not found.  The four
files modified by this fix are the only active ones; other modules
that conditionally compile in support for OJI appear to be dead code.

r=drapeau@eng.sun.com.  Fix contributed by Jayashri Visvanathan
(visvan@eng.sun.com).
1999-12-03 00:26:09 +00:00
waterson%netscape.com
bbccd5d47b Bug 20309. Use nsCAutoString. Kudos to buhr@stat.wisc.edu 1999-12-02 23:53:25 +00:00
akkana%netscape.com
fcd5b16fd6 18046: IDL implementation of nsISelectionController from sford4@netscape.net,
and the infrastructure to hook it up.
  This also changes the spelling from nsISelectionControler. r=mjudge
1999-12-02 21:45:21 +00:00
saari%netscape.com
bcb4759449 Adding new event state manager API GetFocusedEventTarget which returns the current frame in focus
regardless of the ESM instance you call it from. Editor guys need this for bug 20225
1999-12-02 20:55:17 +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
sfraser%netscape.com
db82916641 Part of fix for bug 16813 -- line termination problems with forms. r=pollman, rickg. 1999-12-01 23:05: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
norris%netscape.com
d89d87531c Fix
20257 unable to edit existing images in editor due to JS error
	19933 JavaScript "window.location" core dumps in CAPS
Back out previous changes for enforcing security on listeners and go with a
simple restriction of access to the method for adding listeners.
r=mstoltz
1999-12-01 22:23:22 +00:00
buster%netscape.com
d3c10d15ba bug 2253. added controller to html text input
r = kmcclusk
1999-12-01 15:12:49 +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
saari%netscape.com
2fdbb01c37 Fix for bug 18983, multiple carets showing up. R: shaver, a long time ago. I've since verified personally on linux and other platforms. 1999-12-01 09:09:46 +00:00
waterson%netscape.com
0698de9566 Bug 9489. Use nsAutoVoidArray for collecting classes to avoid excessive heap use. 1999-12-01 03:27:25 +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
bryner%uiuc.edu
bfeded07d0 Making a minor optimization for mousewheel scrolling on trees. r=shaver. 1999-11-30 22:00:28 +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
waterson%netscape.com
3a293e4998 Add 'indent' atom. r=hyatt 1999-11-30 00:55:14 +00:00
waterson%netscape.com
dd64fd7ca1 Add focus pseudo-class atoms. r=hyatt 1999-11-30 00:54:45 +00:00
dougt%netscape.com
f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
valeski%netscape.com
6379f3162c r=travis. 20135. we were clipping the rightmost digit of the seconds field in a refresh header attribute (thus losing a factor of 10 in refresh timer timeout). 1999-11-29 23:02:14 +00:00
waterson%netscape.com
79556e2008 Fix incorrect use of dont_QueryInterface() in PreHandleEvent() that was leaking. 1999-11-29 22:47:39 +00:00
hyatt%netscape.com
7ab98f7f26 Adding RemoveStyleSheet to nsIDocument (needed for skins). r=waterson 1999-11-29 22:15:07 +00:00
brendan%mozilla.org
f456ebcd59 Use nsAutoString for local strings (r=vidur@netscape.com). 1999-11-29 21:15:42 +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
brendan%mozilla.org
63f8bf1ffe Fix refcnt underflow bug, defend against null myObj (r=vidur@netscape.com). 1999-11-29 20:44:36 +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
brendan%mozilla.org
62ebb4b490 Whitespace/comment police. 1999-11-28 10:32:13 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard%aol.net
305e287b28 nsHTMLDocument now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. 1999-11-27 03:11:10 +00:00