mjudge%netscape.com
e5120794d3
part of checkin to add new getter and setter to nsIDOMSelection. a=jar r=jfrancis
2000-02-25 04:30:31 +00:00
mjudge%netscape.com
0daab9915d
r=jfrancis, a=jar Part of checkin including layout/base/src/nsRangeList.cpp to fix caret issues
2000-02-25 04:29:28 +00:00
tbogard%aol.net
8e88710486
Fixed build warnings.
2000-02-25 01:15:37 +00:00
tbogard%aol.net
bfd5abb9cf
Reload now goes through the new nsIWebNavigation interface instead of the old nsIWebShell interface. Work on 13374 and landing of new session history/ uriloading. r=mscott a=jevering
2000-02-24 03:57:32 +00:00
tbogard%aol.net
a194973e77
Changed call to RemoveFocus to first try and set the focus to the parent docshell and then to the tree owner. Work for 13374. r=saari
2000-02-24 02:03:08 +00:00
pollmann%netscape.com
6a17bfe9ab
Bug 12513: Forgot a file, blast! r=vidur, a=rickg
2000-02-24 00:57:34 +00:00
pollmann%netscape.com
8e2121fb4d
Bug 12513: Fix typo (win build bustage).
2000-02-24 00:24:10 +00:00
pollmann%netscape.com
a6bde9d2d6
added files: mozilla/dom/src/html/nsJSNSHTMLOptionCollection.cpp
2000-02-24 00:08:08 +00:00
pollmann%netscape.com
3b493e429f
Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg
2000-02-24 00:08:00 +00:00
pollmann%netscape.com
8ab60777e3
Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg
2000-02-23 22:46:11 +00:00
pollmann%netscape.com
0652b029b2
Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg
2000-02-23 22:38:00 +00:00
norris%netscape.com
3d5f67908e
Fix 28612 META Refresh allowed in Mail/News
...
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
2000-02-23 22:34:40 +00:00
vidur%netscape.com
b604d41c72
Fix for bug 27775. Introduced idl keyword 'replaceable' and marked some of the newer window properties with it. Fixes pages like www.oracle.com that have define window-scoped variables with the same name. r=rginda, a=chofmann
2000-02-22 22:08:36 +00:00
vidur%netscape.com
f34d811fc9
Fix for bug 28283. Crash setting window.innerHeight - fixed typo in setter. r=travis, a=chofmann
2000-02-22 22:03:55 +00:00
norris%netscape.com
48812821ae
Fix 26235.
...
r=mztoltz, a=jar
2000-02-19 00:47:21 +00:00
alecf%netscape.com
2083a29874
fix solaris bustage
2000-02-16 09:37:33 +00:00
rginda%netscape.com
6878336234
DOM fixes for bug 20721, r=vidur
2000-02-16 07:13:59 +00:00
joki%netscape.com
4596efac68
Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann
2000-02-16 06:59:07 +00:00
vidur%netscape.com
c6fd9d66f6
Fix for bug 9844. Added offsetTop/Left/Width/Height/Parent to nsIDOMHTMLElement. It should go on a new interface - to avoid the cost of new interface (a new vtable pointer per content instance), it's temporarily on the standard interface.r=pollmann
2000-02-16 02:25:27 +00:00
wtc%netscape.com
a4917ee631
Bugzilla bug #27457 : prepare the Windows build system for NSPR library
...
name change. Define a new makefile variable LIBPLC.
Modified files:
mozilla/config/config.mak
mozilla/dom/src/build/makefile.win
mozilla/extensions/wallet/cookieviewer/makefile.win
mozilla/extensions/wallet/editor/makefile.win
mozilla/extensions/wallet/signonviewer/makefile.win
mozilla/extensions/wallet/walletpreview/makefile.win
mozilla/mailnews/import/eudora/src/makefile.win
mozilla/mailnews/import/oexpress/makefile.win
mozilla/mailnews/import/outlook/src/makefile.win
mozilla/mailnews/import/src/makefile.win
mozilla/mailnews/import/text/src/makefile.win
mozilla/netwerk/protocol/jar/src/makefile.win
mozilla/profile/Acctidl/makefile.win
mozilla/profile/src/makefile.win
mozilla/xpcom/sample/makefile.win
2000-02-15 14:35:15 +00:00
tbogard%aol.net
e5db99a5b8
Adding the new interfaces for browserElement and iframeElement. r=hyatt
2000-02-15 04:43:29 +00:00
vidur%netscape.com
d645f2102a
Fix for bug 25269. We can now reenter GlobalWindowImpl::RunTimeout. This may happen if a modal dialog (and hence a subevent loop) is invoked from a timeout - as it does with the Mail Account Wizard window. r=norris
2000-02-15 01:32:19 +00:00
sfraser%netscape.com
932edb3548
Fix a bug where UpdateCommands() would recurse. r=hyatt
2000-02-15 01:08:04 +00:00
tbogard%aol.net
a54343ed69
Changed to get the document from the nsIWebNavigation interface instead of the nsIDocShell interface. r=hyatt
2000-02-14 06:23:02 +00:00
hyatt%netscape.com
aa3b2f2d70
Fix for bug #20764 .
2000-02-12 10:08:52 +00:00
hyatt%netscape.com
0294445c77
Fix for PDT+ bug #20764 .
2000-02-12 10:08:23 +00:00
tbogard%aol.net
a2ce12b0a5
When setting focus, it should be valid that if there is not a tree owner, then we don't assert, just don't call the tree owner to set itself visible. r=saari.
2000-02-12 02:47:02 +00:00
tbogard%aol.net
721c8092d1
When getting a TreeOwner that is null, make sure we don't crash trying to call QueryInterface on it when grabbing the nsIBaseWindow interface. r=saari
2000-02-12 02:39:51 +00:00
saari%netscape.com
309d83f875
continuation of focus landing, PDT+ bugs in my list, look if you care, r=hyatt
2000-02-11 23:42:11 +00:00
vidur%netscape.com
1fda813fc5
Fix for bug 26694. Flush pending notifications before get frame information. r=nisheeth.
2000-02-11 23:08:57 +00:00
nisheeth%netscape.com
eb861f3cbd
r=vidur. Partial fix for PDT+ bug 26673. Sync up the content and frame models before returning information from certain getter methods of global window.
2000-02-11 07:14:41 +00:00
norris%netscape.com
8fe3d34730
Fix 18439 windows.status allows reading links
...
r=mstoltz
2000-02-11 04:18:39 +00:00
mjudge%netscape.com
81fa6f0397
added new java property. added it to nsDOMPropEnums.h to allow genprops.pl to give correct method name
2000-02-11 01:04:56 +00:00
mjudge%netscape.com
ef4d168b22
fixes left out last night for range removal bug
2000-02-11 01:00:56 +00:00
hyatt%netscape.com
32608cd06a
Fix for bug #25675 . More focus memory framework being checked in for the
...
command dispatcher as well.
2000-02-11 00:59:32 +00:00
hyatt%netscape.com
ee936f8a80
Fix for 20471. Basic focus memory framework being checked in as well.
2000-02-11 00:57:54 +00:00
mjudge%netscape.com
a6c152c8ec
adding remove range for table selection and for completeness. 26460 r=cmanske
2000-02-10 09:17:02 +00:00
mjudge%netscape.com
fbee83f4cf
clearing strange M flag on file. must ahve checked in a space instead of tab or something
2000-02-10 08:24:23 +00:00
mjudge%netscape.com
67098850ca
adding one more prop for selection
2000-02-10 08:21:42 +00:00
tbogard%aol.net
fce1b215bc
Fixed a bug where we weren't actually paying attention to the starting position of the window specified through the features provided in the open call. r=hyatt
2000-02-10 05:03:05 +00:00
norris%netscape.com
80d944693e
Fix 25062 Reload vulnerability
...
25206 Reload vulnerability #2
Implement grant dialogs and persistence for capabilities.
most r=mstoltz, some code from morse w/ r=norris
2000-02-10 04:56:56 +00:00
mjudge%netscape.com
a27771d4f5
big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
2000-02-10 04:35:51 +00:00
mcafee%netscape.com
c38b9a9c82
Fixing solaris bustage. Tainting problem, need to include .h file instead of using class declaration. r=scc
2000-02-09 05:26:02 +00:00
tbogard%aol.net
aa51a36202
Second part of sizing fix for alerts. WinHasOptions should not evaluate when options is null. This fixes a crash bringing up new windows with no options. SizeToContent now uses the implementation found in the contentViewer. r=mscott
2000-02-08 22:45:45 +00:00
tbogard%aol.net
e8244afcd9
Removing forward declare of nsIBrowserWindow as that interface is on it's way out.
2000-02-08 15:13:47 +00:00
tbogard%aol.net
f5d81c3e9c
GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur
2000-02-08 13:40:10 +00:00
valeski%netscape.com
5de41c72d3
10465, r=vidur. navigator js now uses the new HTTP service of user agent components.
2000-02-08 06:22:21 +00:00
joki%netscape.com
b7846d75d9
Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt
2000-02-08 02:05:57 +00:00
scc%netscape.com
5e041e830f
Pro5 update
2000-02-07 23:06:04 +00:00
brendan%mozilla.org
7909f77378
Performance fix to cut down on gratuitous JS GCs (13350, r=shaver).
2000-02-04 09:50:25 +00:00
pp%ludusdesign.com
398abcaaf7
Added generated file directories to .cvsignores, r=mozbot.
2000-02-03 22:17:22 +00:00
Jerry.Kirk%Nexwarecorp.com
32188844b8
Taking out hack I added some months ago to get this directory
...
to compile correctly under Neutrino gcc 2.8.1
2000-02-03 01:37:24 +00:00
vidur%netscape.com
d0c2a493f3
Fix for bug 19185. document.clear(), which exists for JS compatibility anyway, now takes a JS context and uses it to find the URL of the calling context. r=pollmann
2000-02-03 00:25:53 +00:00
vidur%netscape.com
ce156d376e
Fix for bug 26236. Unescaping can change the length of the string. We now use the length of the unescaped string. Removed unnecessary null check. r=ftang
2000-02-03 00:11:16 +00:00
brade%netscape.com
7a8342d9d2
fix paths for move to CW5 (bug #25779 )
2000-02-02 15:27:53 +00:00
norris%netscape.com
131271ae68
Fix bug #25864 watch() vulnerability
...
r=vidur,rogerl
2000-02-02 00:22:58 +00:00
jband%netscape.com
321d0f8624
add improved support for dumping the JS stack from the native debugger or using the 'debugger' statement in JavaScript. Doc coming to the mozilla site soon. r=mccabe
2000-02-01 08:48:17 +00:00
tbogard%aol.net
31542d0dc4
Changed SetProperty() on title to set the title directly on the docshell rather than trying to go to the browserWindow interface. docshell will do the right thing.
2000-01-30 09:18:31 +00:00
michael.lowe%bigfoot.com
f4d5535c19
Putting back a previous change that got clobbered later by someone else
2000-01-28 13:25:27 +00:00
hyatt%netscape.com
519b52041d
Getting rid of createPopup on the DOM window.
2000-01-28 03:02:04 +00:00
warren%netscape.com
914117bf35
Using generic module.
2000-01-28 02:42:07 +00:00
vidur%netscape.com
36c3d7005e
Fixed typo in JS protocol registration so that we now deal with mocha: URLs as well. r=pollmann
2000-01-27 04:04:40 +00:00
hyatt%netscape.com
a4e0c0233d
Left out two files.
2000-01-27 00:12:00 +00:00
kmcclusk%netscape.com
dc23d344e1
Added support for widgetless viewmanager. Changed code pattern that assumed the root view
...
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com
2000-01-26 23:04:40 +00:00
saari%netscape.com
7deccbadbc
part of previous checkin
2000-01-26 22:48:16 +00:00
saari%netscape.com
7ce4f57ec3
fix for 14346, 21854, 24380 and other caret bugs. r= hyatt, brade for the mac menu stuff.
2000-01-26 22:41:43 +00:00
norris%netscape.com
e7f484f030
Fix 23227 Document object vulnerability
...
r=mstoltz
2000-01-26 15:33:57 +00:00
dcone%netscape.com
b0fee5d1bd
support for regression testing. r=rods
2000-01-26 15:14:41 +00:00
jband%netscape.com
bf596d809e
Lots of xpconnect bug fixes...
...
- fix bug 12954 "should throw when setting non-settable props".
- fix bug 13418 "xpconnect needs to be threadsafe".
I think I filled in the cracks. Tests would be nice :)
- fix bug 22802 "[MLK] XPConnect Leaks".
- fix bug 24119 "[MLK] Reminder about cleaning up maps".
- fix bug 24453 "xpconnect needs default security manager".
I also changed the code in DOM and caps to just install a default secman and
not install a secman for each JSContext.
- fix bug 24687 "xpconect should avoid resolve performance suckage".
Added (modified) patch from shaver to create my JSObjects with the
global object as the temporary proto to avoid losing lookup.
- hack for bug 24688 "runtime errors in wrapped JS are not made obvious"
Added a debug only printf. We still need a JSErrorConsole service for this.
- fix bug 16130 "createInstanace and getService can create wrappers around wrappers"
Fixing this one really entailed changing the semantics of nsIXPConnect::wrapNative
and nsIXPConnect::wrapJS to use common code in xpcconvert that deals with existing
wrappers and DOM objects (with their own schemes for wrapping and unwrapping).
So, I changed the callers because the params changed slightly and some callers
were doing more work than necessary given the new semantics.
- Continued in the crusade to replace manaual refcounting with nsCOMPtrs whenever
touching old code.
- Added myself as first contributor to xpconnect files (vanity prevails!)
- Added new copyright header on some files that were missing it.
- Added some API comments.
- Converted nsXPCWrappedJS to implement nsIXPConnectWrappedJS via MI rather than
the old loser scheme of the nsIXPConnectWrappedJSMethods tearoff object.
- added DumpJSStack as globals to xpconnect and DOM dlls to be callable from
debuggers. I have ideas on how to improve and expand this support soon.
r=mccabe
2000-01-26 08:38:10 +00:00
hyatt%netscape.com
0f660e6f84
Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody.
2000-01-25 06:35:27 +00:00
norris%netscape.com
e753eaa792
Files:
...
caps/include/nsScriptSecurityManager.h
caps/src/nsScriptSecurityManager.cpp
modules/libpref/src/init/all.js
Fix
24565 nsScriptSecurityManager::GetSecurityLevel() is a performance
24567 re-write DOM glue security checks to avoid NS_WITH_SERVICE()
r=waterson
Files:
dom/src/base/nsGlobalWindow.cpp
layout/base/src/nsDocument.cpp
layout/base/src/nsGenericElement.cpp
Fix assertion failure for 1-character property names.
Files:
dom/src/jsurl/nsJSProtocolHandler.cpp
webshell/src/nsDocLoader.cpp
Fix 18653 "javascript:" URLs cross windows problems (probably regressi
r=nisheeth
Files:
layout/events/src/nsEventListenerManager.cpp
Fix
23834 document.onkeypress allows sniffing keystrokes
24152 document.onclick shows links from other window
r=joki
2000-01-23 04:23:14 +00:00
waterson%netscape.com
903106b34d
Bugs 18127, 20677, 23905. Partial fix. Give the nsXULPrototypeDocument it's own JSContext to use for compiling scripts and event handlers. Modify script and event handler code to compile shared scripts using this context, if appropriate. r=brendan
2000-01-22 22:00:35 +00:00
michael.lowe%bigfoot.com
3326c2959e
Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
2000-01-21 21:56:09 +00:00
vidur%netscape.com
cde2e07dc6
Fix for bug 24215. Misspelled constant.
2000-01-19 01:40:48 +00:00
vidur%netscape.com
c18e98ecea
Cleanup - dealing with people modifying the idl generator and not checking in the generated file or vice-versa. r=pollmann.
2000-01-18 23:41:27 +00:00
vidur%netscape.com
9679502c54
Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann
2000-01-18 23:35:47 +00:00
sfraser%netscape.com
2bbdd20f6c
More of fix for 14026; call through to the controller for edit menu items, now that it does the right thing. r=saari
2000-01-18 21:07:54 +00:00
sfraser%netscape.com
50b774fdf2
Fix idlc code generation with nsCOMPtr. r=vidur.
2000-01-18 01:01:27 +00:00
morse%netscape.com
ebf393028e
fix crash on e-mail startup, jar's suggested fix
2000-01-17 08:50:16 +00:00
danm%netscape.com
7870064955
let webshell window know when a window has a size specified in JS. bug 15555. r:hyatt
2000-01-15 02:32:31 +00:00
vidur%netscape.com
e0f519fdef
Fix for bug 22594. Implemented window.escape() and unescape(). R=ftang
2000-01-15 02:26:10 +00:00
vidur%netscape.com
e6ad550a8a
Fix for bug 23020. Relative URLs used in image.src and location.href should be resolved taking into account the base document URL of the calling context. R=pollmann
2000-01-15 02:02:27 +00:00
tao%netscape.com
36794ca76e
bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur.
2000-01-15 02:01:05 +00:00
pollmann%netscape.com
51809530fe
Bug 14419 (4 of 4): Make option text read/write (glue implementation) r=harishd
2000-01-15 01:50:18 +00:00
pollmann%netscape.com
97e95d0b11
Bug 14419 (3 of 4): Make option text read/write (glue header) r=harishd
2000-01-15 01:49:39 +00:00
pollmann%netscape.com
33e0bf4fce
Bug 14419 (2 of 4): Make option text read/write (idl) r=harishd
2000-01-15 01:45:02 +00:00
alecf%netscape.com
8d94f68ba7
expose the form controls in a XUL document in the "controls" DOM attribute
...
this will make prefs and wizards much faster
r=hyatt
2000-01-13 02:59:08 +00:00
danm%netscape.com
ca7d021c5a
explicitly skip URL load if no URL param was specified in window.open. fixes bug 20757. similar to rev 1.200 (backed out in 1.201), though something went wrong with that one. not sure what. this one tests well. patch submitted by bissiri@eecs.umich.edu. r:me
2000-01-11 22:52:04 +00:00
pp%ludusdesign.com
13efd9e8c6
Converting usage of ::GetIID() to NS_GET_IID().
...
Bug #20232 , r=scc@netscape.com
2000-01-11 20:49:15 +00:00
hyatt%netscape.com
3d186ddce8
adding behavior property to CSS. r=brendan
2000-01-11 03:40:41 +00:00
norris%netscape.com
18d9ee89da
Fix
...
858 [Feature] JavaScript auto-disable per-domain RFE
13023 Users must be able to disable Java and JavaScript (for JS in mail)
21923 Executing functions in "chrome:" protocol - #2 .
r=mstoltz
(Checked in with red on Mac; Wan-Teh says his changes are localized so
it shouldn't interfere with his fixing bustage.)
2000-01-08 16:51:54 +00:00
brendan%mozilla.org
bd00bf675b
(bug 22795, r=vidur@netscape.com)
...
- Add "aShared" flag to nsIScriptContext::CompileEventHandler, telling it to clear the compiled event handler's scope chain if true, in order to
(a) avoid entraining garbage
(i.e., a shared compile-time-only parent object); and
(b) cause later BindCompiledEventHandler calls to ensure that the event handler has the particular scope chain needed for the binding
(to the target object that's receiving the event).
- Use :: consistently (and all over the place) before calls to JS_ functions in nsJSEnvironment.cpp.
- Eliminate tabs and barbarians-at-the-gate-of-Rome style, in favor of when-in-Rome style (hail Waterson Maximus!)
2000-01-08 00:24:24 +00:00
vidur%netscape.com
bc3cf76724
Fix for bug 23074. Implemented image.complete. r=pollmann
2000-01-06 23:41:14 +00:00
norris%netscape.com
336a9a916a
Fix assertion failure at startup caused by failure to run genPropNames.pl.
...
r=mstoltz@netscape.com
2000-01-06 22:04:18 +00:00
alecf%netscape.com
4a01d2ad5a
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
2000-01-06 07:54:43 +00:00
vidur%netscape.com
6a8920958f
Fix for bug 23066. Added getter/setter for image.lowsrc for compatibility - the DOM defines image.lowSrc (note the case difference). r=pollmann
2000-01-06 01:15:55 +00:00
norris%netscape.com
8343c4ead7
Fix 22909 previousSibling vulnerability
...
r=mstoltz
2000-01-06 00:59:18 +00:00
norris%netscape.com
32de97c459
Work on 18860 impossible to call applet's public methods from JavaScript
2000-01-06 00:58:16 +00:00
norris%netscape.com
dab3d2f9d6
Fix error when getting property names only one character long.
...
r=vidur
2000-01-06 00:55:23 +00:00
vidur%netscape.com
ec309fcf14
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
2000-01-06 00:39:18 +00:00