847 Commits

Author SHA1 Message Date
mjudge%netscape.com
2e73a114c8 adding in lineup/down code
git-svn-id: svn://10.0.0.236/trunk@56030 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:59:38 +00:00
danm%netscape.com
d7384dc7b7 check for null context in CheckTimeout. add another deathgrip in HandleDOMEvent. part of fix for bug 19302. r:hyatt a:chofmann
git-svn-id: svn://10.0.0.236/trunk@56013 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 02:14:53 +00:00
vidur%netscape.com
0c5eb61df3 Backing out because of bogus checkin comment
git-svn-id: svn://10.0.0.236/trunk@56007 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 00:28:32 +00:00
vidur%netscape.com
938d0f26f4 Fix for bug 21368. navigator.plugins methods were returning an error code if the plugin wasn't found instead of returning null. a=jar R=pollmann.
git-svn-id: svn://10.0.0.236/trunk@56006 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 00:25:00 +00:00
vidur%netscape.com
56c1ff5fee Fix for bug 21368. navigator.plugins methods were returning an error code if the plugin wasn'
git-svn-id: svn://10.0.0.236/trunk@56005 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 00:24:24 +00:00
vidur%netscape.com
d890df84fa Fix for bug 10644. In cases where we expect boolean attributes, accept anything that can be converted to a boolean. a=jar r=pollmann.
git-svn-id: svn://10.0.0.236/trunk@56004 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 00:24:02 +00:00
syd%netscape.com
efe16b543a Window.idl was not being built if you did this on Linux (Makefile.in
rot). r=vidur, a=brendan (related to but does not fix PDT+ 18518).


git-svn-id: svn://10.0.0.236/trunk@56000 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 23:48:08 +00:00
vidur%netscape.com
07427518d4 Fix for bug 9787. Implemented a stub version of document.clear. Fix necessary for getting in 20737. a=chofmann r=pollmann.
git-svn-id: svn://10.0.0.236/trunk@55998 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 23:32:26 +00:00
danm%netscape.com
c4c022f347 deathgrip chrome event handler in HandleDOMEvent. partial fix for bug 21397. r:hyatt a:chofmann
git-svn-id: svn://10.0.0.236/trunk@55967 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 02:28:16 +00:00
mjudge%netscape.com
d72f2ab06c forgot newline at end of file. causing warning
git-svn-id: svn://10.0.0.236/trunk@55960 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 01:41:27 +00:00
mjudge%netscape.com
89a77df4bd 2 files mcluskey reviewed, saari also. fix for keybindings pageup/down. ya
git-svn-id: svn://10.0.0.236/trunk@55959 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 01:38:17 +00:00
akkana%netscape.com
9491f9c3a6 Fixing build bustage on Linux
git-svn-id: svn://10.0.0.236/trunk@55955 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 00:55:37 +00:00
davidm%netscape.com
7bb84238de #ifdef out code for controller. Checkin to unblock mjudge and other
r= mjudge


git-svn-id: svn://10.0.0.236/trunk@55943 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 23:13:33 +00:00
jdunn%netscape.com
4fca64717e nsCOMPtr is supposed to wrap interface references and not class references
r= chofmann@netscape.com danm@netscape.com
# 20193


git-svn-id: svn://10.0.0.236/trunk@55812 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 21:44:16 +00:00
hyatt%netscape.com
cba391ac74 Modifications to support the command dispatcher. r=saari
git-svn-id: svn://10.0.0.236/trunk@55720 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:58:05 +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
vidur%netscape.com
0389d17f64 Fix for bug 17857. Relative URLs for script-based setting of the SRC attribute now does resolution relative to the calling context. R=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@55706 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:52:01 +00:00
brendan%mozilla.org
d2ded9c6d9 - Rename "FunctionObject" or shorthands to "EventHandler" to make nsIScriptContext more scripting-language-neutral.
- Allow nsIScriptContext::BindEventHandler to take a null void* handler argument, to remove the binding by nullifying it (for hyatt's XML-driven-key-mapping work). 
- Try to GetCompiledEventHandler (and if we don't, and compile it, Put too) for the load event and other non-deferred (XUL window-level) event listeners. 
- Improve doc comments and whitespace.


git-svn-id: svn://10.0.0.236/trunk@55612 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:14:17 +00:00
danm%netscape.com
d82be4211b add deathgrip to JSContext to prevent its untimely destruction. fixes bug 20193. r:brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@55515 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 02:39:17 +00:00
ftang%netscape.com
199df01b45 add query composition event which get current curosor position. add timer base IME x y location query for gtk. r=erik. fix bug 17916 20550
git-svn-id: svn://10.0.0.236/trunk@55502 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 01:29:00 +00:00
waterson%netscape.com
94fa330a81 Bug 20785. Clone function object to define as event handler property. Checked in for brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@55411 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 08:27:03 +00:00
waterson%netscape.com
820584eef4 Bug 20786. Use function object, rather than function, as the thing which is executed, ensuring that the correct bindings are used when the function is shared across several contexts. This checkin is really brendan@mozilla.org; I'm just landing the code.
git-svn-id: svn://10.0.0.236/trunk@55349 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 07:29:25 +00:00
warren%netscape.com
c7d8a4a439 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408
git-svn-id: svn://10.0.0.236/trunk@55285 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 10:01:32 +00:00
vidur%netscape.com
450067e8ae Changed IID to remove conflict in IIDs.h
git-svn-id: svn://10.0.0.236/trunk@55254 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:29:54 +00:00
tbogard%aol.net
10cc7b70fe Fixing the mail bustage. Was accidently using the internal object instead of the one passed in.
git-svn-id: svn://10.0.0.236/trunk@55210 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 21:41:35 +00:00
tbogard%aol.net
d0dea7b899 Fixed the merge.
git-svn-id: svn://10.0.0.236/trunk@55208 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 21:13:50 +00:00
tbogard%aol.net
4d37e2b9e3 Flipped the if. Was not continuing on success.
git-svn-id: svn://10.0.0.236/trunk@55207 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 21:11:30 +00:00
waterson%netscape.com
c876431511 Use more mundane macros to fix backwards logic.
git-svn-id: svn://10.0.0.236/trunk@55206 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 21:08:56 +00:00
tbogard%aol.net
559fbb1110 Fixed a bug where the first time to try and get the location object was failing.
git-svn-id: svn://10.0.0.236/trunk@55203 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 19:41:22 +00:00
tbogard%aol.net
2a3aa9fcb8 Fixes to get rid of relying on webShell implementing nsIScriptContextOwner. It now implements nsIScriptGlobalObjectOwner or can do a GetInterface to nsIScriptGlobalObject.
git-svn-id: svn://10.0.0.236/trunk@55198 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 19:02:31 +00:00
tbogard%aol.net
067920c238 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.


git-svn-id: svn://10.0.0.236/trunk@55175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:24:22 +00:00
brendan%mozilla.org
2c11b83b75 Mac doesn't have ctype.h, or something.
git-svn-id: svn://10.0.0.236/trunk@55164 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 06:11:54 +00:00
brendan%mozilla.org
4ccbd4b644 - 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)


git-svn-id: svn://10.0.0.236/trunk@55157 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 03:40:30 +00:00
drapeau%eng.sun.com
1cd55fd548 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).


git-svn-id: svn://10.0.0.236/trunk@55129 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:26:09 +00:00
norris%netscape.com
809eeca85a Fix bug 18636 java script security problem when accessing my.netscape.com/
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@55118 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:56:25 +00:00
tbogard%aol.net
1e0bcf01b1 Adding nsIScriptGlobalObjectOwner.idl to the manifest.
git-svn-id: svn://10.0.0.236/trunk@55030 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:18:32 +00:00
tbogard%aol.net
30980f7406 added files: mozilla/dom/public/nsIScriptGlobalObjectOwner.idl
git-svn-id: svn://10.0.0.236/trunk@55029 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:17:29 +00:00
tbogard%aol.net
eff33c6a8e Connecting nsIScriptGlobalObjectOwner.idl to be compiled. Not yet used anywhere.
git-svn-id: svn://10.0.0.236/trunk@55028 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:16:08 +00:00
tbogard%aol.net
aedfffde10 Adding new interface for people who can supply an nsIScriptGlobalObject. Not yet connected to the build.
git-svn-id: svn://10.0.0.236/trunk@55027 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:14:49 +00:00
danm%netscape.com
9bfb5a41b9 adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54950 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:35:33 +00:00
norris%netscape.com
1ffa0ae294 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


git-svn-id: svn://10.0.0.236/trunk@54940 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:23:22 +00:00
shaver%netscape.com
ff0abe5e37 fix windows filename case damage, r=brade,sdagley
git-svn-id: svn://10.0.0.236/trunk@54916 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 16:11:07 +00:00
rods%netscape.com
38dab45950 removing all lower case version of this file
git-svn-id: svn://10.0.0.236/trunk@54915 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 16:10:00 +00:00
rods%netscape.com
6d9b82c696 bug 2253
git-svn-id: svn://10.0.0.236/trunk@54913 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 15:54:59 +00:00
buster%netscape.com
a5b61285a7 bug 2253. added controller to html text input
r = kmcclusk, norris


git-svn-id: svn://10.0.0.236/trunk@54909 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 15:11:33 +00:00
hyatt%netscape.com
38a6405873 More skin goodness. r=gimpy
git-svn-id: svn://10.0.0.236/trunk@54738 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 09:29:43 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
tbogard%aol.net
32bc1cd58a Removing now that the interface definition can be found in the IDL file.
git-svn-id: svn://10.0.0.236/trunk@54713 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:09:16 +00:00
tbogard%aol.net
28e0d36873 Would help if I removed nsIScriptContextOwner.h instead of nsIScriptObjectOwner.h
git-svn-id: svn://10.0.0.236/trunk@54646 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:28:40 +00:00
dougt%netscape.com
69329e38fe Fix for 18078. R=mstoltz,warren
git-svn-id: svn://10.0.0.236/trunk@54638 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:14:55 +00:00