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
vidur%netscape.com
7c01ae18c1
Fix for bug 23066. Added getter/setter for image.lowsrc for compatibility - the DOM defines image.lowSrc (note the case difference). r=pollmann
...
git-svn-id: svn://10.0.0.236/trunk@56919 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:15:55 +00:00
norris%netscape.com
82970f315d
Fix 22909 previousSibling vulnerability
...
r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@56914 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:59:18 +00:00
norris%netscape.com
cba516db65
Work on 18860 impossible to call applet's public methods from JavaScript
...
git-svn-id: svn://10.0.0.236/trunk@56912 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:58:16 +00:00
norris%netscape.com
ef75512a05
Fix error when getting property names only one character long.
...
r=vidur
git-svn-id: svn://10.0.0.236/trunk@56911 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:55:23 +00:00
vidur%netscape.com
9a882c03f7
Temporary fix for bug 22795. The scope link should only be broken in the brutal sharing case. Brendan to provide a better fix later. r,a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@56892 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:39:18 +00:00
danm%netscape.com
d30ebecd28
backing out 1.199, which breaks sooooo many things. oops.
...
git-svn-id: svn://10.0.0.236/trunk@56783 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 01:27:40 +00:00
danm%netscape.com
c5b6a46e44
explicitly skip URL load if no URL param specified in window.open. fixes bug 20757. patch submitted by bissiri@eecs.umich.edu. r:me
...
git-svn-id: svn://10.0.0.236/trunk@56761 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 22:29:57 +00:00
vidur%netscape.com
c5ff7d0ca4
Fix for bug 16787. Added navigator.cookieEnabled. Removed warnings. a=don r=waqar
...
git-svn-id: svn://10.0.0.236/trunk@56440 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:42:06 +00:00
vidur%netscape.com
cef102fa29
Partial fix for bug 22413. Create generic script instances for layer and ilayer elements. a=don r=waqar
...
git-svn-id: svn://10.0.0.236/trunk@56432 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:32:41 +00:00
vidur%netscape.com
e8816c32e3
Fix for bug 18840. Radio button groups are now reflected as collections in a form's namespace. Added nsIDOMHTMLFormControlList interface and special handling for namedItem method that return a jsval. a=dagley r=pollmann
...
git-svn-id: svn://10.0.0.236/trunk@56330 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:48:47 +00:00
vidur%netscape.com
b53b3e5973
added files: mozilla/dom/src/html/nsJSHTMLFormControlList.cpp
...
git-svn-id: svn://10.0.0.236/trunk@56329 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:48:41 +00:00
vidur%netscape.com
31bb41c1fb
Fix for 20955. Fixed FMMs in window.navigator methods. a=dagley r=pollmann
...
git-svn-id: svn://10.0.0.236/trunk@56326 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:43:48 +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
tbogard%aol.net
7795888634
DOMWindow List now holds on to a docshell interface rather than a webshell. Tweaked some of the finding of named frames to adhere to spec. GlobalWindowImpl now in many places talks to the webshell object as a docshell rather than the old webshell interfaces. Fixed bug #21970 . r=vidur
...
git-svn-id: svn://10.0.0.236/trunk@56151 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 22:25:22 +00:00
syd%netscape.com
a9c6930f9b
Change calls to Flash(void) in nsIWidget, nsWindow to GetAttention().
...
r=sdagley a=chofmann. Add support for GetAttention API to nsIDOMWindow.
r=vidur, a=chofmann. To do, make call to WebShell from nsIDOMWindow,
this will come once travis lands some webshell code.
git-svn-id: svn://10.0.0.236/trunk@56140 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 06:11:45 +00:00
mscott%netscape.com
dc38a4a602
fix antother webshell leak. Add a CleanUp method to the global window. When the global window is told it is closing,
...
call the CleanUp method to force it to release all of it's state.
r=vidur, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56124 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 00:50:17 +00:00
waterson%netscape.com
61fb6b819c
Bug 21668. Ugh. Totally botched my patch application. Let's try that again.
...
git-svn-id: svn://10.0.0.236/trunk@56119 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 00:26:08 +00:00
waterson%netscape.com
35b66e292b
Bug 21668. Use Linss-ptr (or nsCOMPtr) to avoid leaking nativeThis. (Unfortunately, I also picked up some whitespace diffs from previously un-regenerated files. Ignore that!) r=shaver
...
git-svn-id: svn://10.0.0.236/trunk@56117 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 00:15:51 +00:00
waterson%netscape.com
7d789bbc22
Bug 21668. Use nsCOMPtr (or Linss-ptr) to get the nativeThis. r=shaver
...
git-svn-id: svn://10.0.0.236/trunk@56116 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 00:11:03 +00:00
waterson%netscape.com
000d9b020e
Bug 21364. Break parent and proto pointers after compiling shared event handler. shaver mostly did this. r=brendan. Also, fix extra addref of global object, thanks mscott!
...
git-svn-id: svn://10.0.0.236/trunk@56115 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 00:08:28 +00:00
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