Граф коммитов

1287 Коммитов

Автор SHA1 Сообщение Дата
sfraser%netscape.com 89e7b47748 Add null check, to save crash when closing a window. 2000-05-01 21:51:11 +00:00
nisheeth%netscape.com fa1d77063b 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
2000-05-01 06:58:53 +00:00
jst%netscape.com 956a193562 Hooking up window.getSelection() to return a selection object. 2000-04-28 14:02:29 +00:00
hyatt%netscape.com 774fb00011 Fix crash on dynamic skin switch. 2000-04-28 06:17:47 +00:00
scc%netscape.com 259a746cfb making string conversions explicit 2000-04-27 20:29:56 +00:00
brendan%mozilla.org f2203f5ca6 Add TraceMalloc* native methods; allow multiple log files per site file. 2000-04-27 04:02:22 +00:00
jst%netscape.com 3d960393a0 Trying to fix build bustage. 2000-04-26 14:43:10 +00:00
jst%netscape.com 468a70d967 Removing files that must be in another directory. 2000-04-26 14:11:07 +00:00
jst%netscape.com ee1f821853 Landing DOM Level 2 CSS and Views interfaces and implementation. 2000-04-26 14:05:36 +00:00
jst%netscape.com 3625709458 Landing DOM Level 2 CSS and Views interfaces and implementation. 2000-04-26 13:58:56 +00:00
brade%netscape.com 3a4f05ea65 add/remove files for jst (+dom/src/base/nsJSAbstractView.cpp, +dom/src/coreDOM/nsJSDocumentStyle.cpp, +dom/src/coreDOM/nsJSDocumentView.cpp, +dom/src/coreDOM/nsJSMediaList.cpp, +dom/src/coreDOM/nsJSStyleSheetList.cpp, +dom/src/css/nsJSCSSRuleList.cpp, -dom/src/coreDOM/nsJSStyleSheetCollection.cpp, -dom/src/css/nsJSCSSStyleRuleCollection.cpp) 2000-04-26 13:57:45 +00:00
jst%netscape.com 922ccbe1ad Adding headers for new DOM Level 2 interfaces to the build, not used yet. 2000-04-26 12:30:42 +00:00
jst%netscape.com 994b21c647 Adding new files to the makefiles, not part of the normal build. 2000-04-26 12:17:05 +00:00
jst%netscape.com 52e7c296f0 Checking in DOM JS glue code for new DOM Level 2 interfaces, not part of the build yet. 2000-04-26 01:00:40 +00:00
jst%netscape.com 0b240f10f7 Checking in DOM JS glue code for new DOM Level 2 interfaces, not part of the build yet. 2000-04-26 00:55:05 +00:00
jst%netscape.com c98751cf14 Adding new DOM Level 2 interfaces, not part of the build yet. 2000-04-26 00:43:24 +00:00
jst%netscape.com f6c98ef45f Adding new DOM Level 2 interfaces, not part of the build yet. 2000-04-26 00:38:08 +00:00
jst%netscape.com 15f654e7ea Adding new DOM Level 2 CSS interfaces CSSRuleList and CSSCharsetRule, not part of the build yet. 2000-04-26 00:32:52 +00:00
jst%netscape.com 262a6ef3fe Adding new DOM Level 2 CSS interfaces MediaList and StyleSheetList, not part of the build yet. 2000-04-26 00:27:59 +00:00
scc%netscape.com 99535de185 making string conversions explicit 2000-04-25 08:10:43 +00:00
tbogard%aol.net 35a28493d6 Instead of getting the interface off the treeowner, do a GetInterface off the docShell to get a prompter. 2000-04-24 05:00:34 +00:00
joki%netscape.com 3851e31b9f fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
cls%seawood.org 33edc21c9c General cleanup of the shared library rules.
Quick fix for bug #36844.
Since people kept forgetting to wrap SHARED_LIBRARY_LIBS inside MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs, we now handle it in rules.mk.  Same goes for making $(SHARED_LIBRARY) dependent upon $(SHARED_LIBRARY_LIBS).
2000-04-23 17:48:04 +00:00
ftang%netscape.com 9bbe9a03ae change the dump code to dump in UTF8 so we can reduce unnecessary assertion when we turn on nsString
data corruption code
2000-04-21 21:46:36 +00:00
jst%netscape.com 62495e6102 Regenerating the DOM JS glue now that idlc knows about the new nsString API's, also updated nsGlobalWindow.cpp to use the new API. 2000-04-21 21:36:26 +00:00
jst%netscape.com ac84f92a46 Teaching idlc about the new nsString API. 2000-04-21 21:29:19 +00:00
danm%netscape.com 0fa27c4638 allowed windows with position specified to also specify size. deuglified some braces. couldn't help myself. bug 36219 2000-04-21 21:28:25 +00:00
pinkerton%netscape.com 2b1e668eb5 Moving Screen API away from individual attributes for performance reasons (stage 1). Fixes bugs on win32 with xul popups where taskbar is not at bottom of screen. 2000-04-21 06:55:13 +00:00
warren%netscape.com 8929701aaa Bug 34217. Making js protocol not clear window when it returns no result. 2000-04-21 05:18:15 +00:00
scc%netscape.com e246b96586 making string conversions explicit 2000-04-21 02:35:42 +00:00
jst%netscape.com 9967398bf2 Updating the DOM interface CSSStyleDeclaration to DOM Level 2. 2000-04-20 13:50:56 +00:00
brade%netscape.com 9369bcd1db add nsJSCSSValue.cpp for jst 2000-04-20 13:48:39 +00:00
jst%netscape.com b059fa0e79 Adding CSSValue interface, not part of the build yet. 2000-04-20 11:07:16 +00:00
pinkerton%netscape.com e85106dba6 Adding top and left to screen object because they're not always at 0,0 and
availTop and availLeft aren't good enough for all cases.
2000-04-20 02:00:55 +00:00
pinkerton%netscape.com f6035639b0 Adding top and left to screen object. 2000-04-20 01:59:24 +00:00
pinkerton%netscape.com 8e5c88d19c Adding top and left because they are not always at 0,0. 2000-04-20 01:58:36 +00:00
pinkerton%netscape.com 2718e4f048 Adding screen.top and screen.left 2000-04-20 01:57:16 +00:00
jst%netscape.com 1fdafb43e4 Updating the DOM interfaces HTMLFormElement and HTMLOptionElement to DOM Level 2. 2000-04-18 23:00:58 +00:00
jst%netscape.com 304122a1dc Updating the HTMLObjectElement interface to DOM Level 2. 2000-04-18 22:57:42 +00:00
jst%netscape.com eb15553b5b Fixing bug #25359, accessing mimetypes by name wasn't implemented, now it is. r=av@netscape.com 2000-04-18 22:08:05 +00:00
jst%netscape.com c899913a24 Adding DOM Level 2 interface definitions for AbstractView and DocumentView, not part of the build. 2000-04-18 17:07:52 +00:00
scc%netscape.com 7e868737a5 making string conversions explicit 2000-04-17 14:30:23 +00:00
scc%netscape.com 767ae4861e making string conversions explicit 2000-04-15 19:03:12 +00:00
mccabe%netscape.com b5188c5d2d Fix logic to fall through to stderr-printing code. 2000-04-15 03:40:48 +00:00
jband%netscape.com 8867cad436 fixing bustage 2000-04-15 02:50:22 +00:00
mccabe%netscape.com 4537a69b81 Modify nsIScriptGlobalObjectOwner::ReportScriptError to take an nsIScriptError interface, rather than separate message, file, line arguments.
Fix implementations and their callers, and restore error printing to stderr even when the error is successfully logged to the console service, to make life easier for people who go to the trouble to invoke Mozilla with -console.
2000-04-15 01:56:47 +00:00
mjudge%netscape.com 5c6387af01 new reason for notification 2000-04-14 23:03:57 +00:00
mjudge%netscape.com f932d997b6 adding reason to notification 2000-04-14 23:03:16 +00:00
mjudge%netscape.com 6a50a5a300 new spi addition for reason for notification 2000-04-14 23:02:51 +00:00
mjudge%netscape.com df3d3cc91d added new parameters to notification 2000-04-14 11:28:55 +00:00
mjudge%netscape.com 80323a423b added new parameters to NotifySelectionlisteners 2000-04-14 11:27:59 +00:00
mjudge%netscape.com 3274a82934 new api more details on notification 2000-04-14 11:27:22 +00:00
warren%netscape.com 54312c70fb Fixed refcounting bug 35794. 2000-04-14 07:18:36 +00:00
norris%netscape.com a3caa18f07 Fix
28390, 28866, 34364
r=brendan@mozilla.org
35701
r=jst@netscape.com
2000-04-14 03:14:53 +00:00
jst%netscape.com 2c4d540f7a Update the DOM interface to DOM Level 2, only stubs so far. 2000-04-13 21:21:02 +00:00
danm%netscape.com 9e945b79cc hook up new 'centerscreen' chrome flag 2000-04-13 20:32:30 +00:00
sfraser%netscape.com 48fa415a04 Adding methods to NSHTMLInputElement to allow control of the selection from JS. 2000-04-13 05:02:35 +00:00
ducarroz%netscape.com 5fe7f03696 Remove the old autocomplete widget which is now replaced by the XBL one (xpfe/components/autocomplete). R=alecf. 2000-04-13 04:50:39 +00:00
hyatt%netscape.com 2ffbbf0cf2 Fixing an XBL event handling bug and a menu shortcut bug. r=brendan, a=leaf 2000-04-06 22:32:36 +00:00
jst%netscape.com 3f6e5927d9 Eliminating the last traces of NS_COMFALSE from the DOM code, fixes M15 bug #11594. 2000-04-05 02:40:08 +00:00
mkaply%us.ibm.com 25c83939ad # 34082
r= jst@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage
2000-04-05 02:37:25 +00:00
jst%netscape.com aebdfd63a7 Updating the DOM Attr interface to match the DOM Level 2 spec. r=waterson@netscape.com 2000-04-03 13:40:04 +00:00
scc%netscape.com 6f4c241bfa making string conversions explicit 2000-04-03 09:03:21 +00:00
jst%netscape.com 09556dd1c8 Updating the interfaces Document and HTMLDocument to comply with DOM Level 2, only stubs for new methods for now. 2000-04-02 17:46:30 +00:00
jst%netscape.com eb690d2418 Updating HTMLFrameElement and HTMLIFrameElement to comply with the Level 2 DOM, this adds a 'contentDocument' attribute to those two interfaces that can be used to access the document contained in the frame. 2000-04-02 14:04:19 +00:00
jst%netscape.com 8e8ba24a17 Reorder member initialzers to fix fompiler wirknings. 2000-04-02 13:54:45 +00:00
jst%netscape.com c968fa9368 Fixing compiler warnings and possible UMR's. 2000-04-02 13:50:36 +00:00
scc%netscape.com 356987ae60 making string conversions explicit 2000-04-02 08:22:56 +00:00
jim_nance%yahoo.com ab2828200c Fixed possible uninitialized return value
r=jst@netscape.com
2000-04-02 00:53:21 +00:00
danm%netscape.com 7d23ccadb6 implement alwaysRaised,alwaysLowered,z-lock window.open feature flags 2000-04-01 22:17:48 +00:00
jst%netscape.com 5fdb266f31 Updating the DOM Node interface to match the DOM Level 2 interface, only stub implemetations so far. 2000-04-01 13:31:23 +00:00
jband%netscape.com 4722fad978 hold an extra ref on mContext while we are calling GC. a=leaf to checkin while tree is closed 2000-04-01 00:33:10 +00:00
tbogard%aol.net 8ee0467cc0 Changed nsPIDOMWindow::GetXPConnectObject to GetObjectProperty and the same change to Set. 2000-03-31 09:26:02 +00:00
tbogard%aol.net 33ac9cc8c7 When height or width are specified in window.open we now properly apply it to the content area and not to the outer window's size. Fixes #32663. 2000-03-31 07:34:32 +00:00
tbogard%aol.net ab5349aaa4 Removed the nsIDOMWindow::GetXPConnectObject, AddXPConnectObject, and RemoveXPConnectObject methods. This feature can be done through properties or through nsPIDOMWindow::GetXPConnectObject. 2000-03-31 06:59:30 +00:00
tbogard%aol.net 57839a9724 Removed GetDocShell from nsPIDOMWindow as it can be retrieved using nsIScriptGlobalObject. Added SetXPConnectObject and GetXPConnectObject which hooks up or retrieves an xpconnect object to a property on the dom window. Removed some old XXXEMBEDDING comments as they were wrong. The old methods on nsIDOMWindow for adding and getting an object now call through to the property code. Those methods will soon be removed. 2000-03-31 03:33:49 +00:00
jst%netscape.com 70f4a36661 Add null ptr checks to avoid crashing, this fixes #30372. r=av@netscape.com 2000-03-31 00:31:44 +00:00
tbogard%aol.net 5bfd3cc997 nsIDocShell::LoadURI now takes a nsIDocShellLoadInfo parameter to do fancier loads which include replacing current history slots and passing in a referrer. In the future more things may be set on the nsIDocShellLoadInfo interface. This allows us to not have to add a new parameter for every new type of load info that might be needed in different loads. 2000-03-30 22:38:32 +00:00
tbogard%aol.net 2790f05dff Don't get the referrer spec when the referrer is null. 2000-03-30 08:07:18 +00:00
pavlov%netscape.com a2e73edc91 fix build bustage 2000-03-30 05:23:20 +00:00
tbogard%aol.net 698dde3fae Changed CheckURL to return a nsIURI for the referrer instead of a nsString. SetURL now calls nsIDocShell to do it's load instead of nsIWebShell. 2000-03-30 04:55:38 +00:00
jim_nance%yahoo.com 005e33f06e Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
alecf%netscape.com a96d4c6225 add local nsIPref.h dependancy to remove global one 2000-03-29 09:48:41 +00:00
tbogard%aol.net e6b357e9ef Make sure to dump the xpConnectObjectHash when we load a new document. Use the new docShell API for loading a URI rather than the old nsIWebShell code. Since this takes a uri, this also allows us to avoid creating and destructing a uri/ a character spec. We can now just pass the URI to be loaded. 2000-03-29 06:16:16 +00:00
warren%netscape.com d60b12b153 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
hyatt%netscape.com 01ea60d7ee Enhancements to nsIScriptcontext. r=brendan@mozilla.org 2000-03-29 01:18:21 +00:00
akkana%netscape.com 3bd08fc59c 9266: Disable JS in the editor (and allow for disabling it anywhere). r=brendan,jband,norris,sfraser 2000-03-28 00:15:56 +00:00
scc%netscape.com 2fb0ab107e small changes to clients of string converting APIs 2000-03-26 09:07:50 +00:00
norris%netscape.com c7afcfb732 Fix
32088 Circumventing Same Origin security policy using javascript: URLs
        32040 about: can't be link
Also remove deprecated method
r=mstoltz
2000-03-24 22:15:37 +00:00
tbogard%aol.net a5f723338c Provided implementation for GetXPConnectObject, AddXPConnectObject and RemoveXPConnectObject. Changed RemoveXPConnectObject to only take the id since taking the pointer as well was useless. Also fixed an error in nsGlobalWindow.cpp with signed against unsigned of string lengths. 2000-03-24 00:11:48 +00:00
norris%netscape.com 07a6acc61f Fix bug 32904 Asserts at startup in nsScriptSecurityManager.cpp
r=mstoltz
2000-03-23 23:42:46 +00:00
hyatt%netscape.com 974924c12b Adding a couple of props. 2000-03-23 22:20:34 +00:00
hyatt%netscape.com 16fdea9f7b XUL <textfield> lives! 2000-03-23 22:17:37 +00:00
av%netscape.com 9445663a39 Fixing null-pointer access causing variuos crashes, bug #30372, r=jst 2000-03-23 21:42:23 +00:00
tbogard%aol.net 3eafb213dd Adding new methods to domwindow to be able to set and get at XPConnect Objects based on an ID. This allows attaching an object from JS to the window and then retrieving and calling it from C++. This is just the specification for the interfaces. The implementation is not yet fully there. 2000-03-23 04:23:26 +00:00
jst%netscape.com fb0a85bfac Update DOMImplementation, DocumentType and DOM Error codes to match the current DOM Level 2 recommendation, also make HTML documents have a DocumentType if one is given in the file. r=joki@netscape.com 2000-03-22 22:16:14 +00:00
norris%netscape.com d892204fce Fix
28387 nBookmarking javascript: URLs is dangerous
32343 Components object appears to be accessible via javascript: u
31707 Crash when logging into hotoffice.com
r=mstoltz
2000-03-21 23:16:55 +00:00
valeski%netscape.com 5412e2c42d r=jst. 30067. we now expose OSCPU, vendor and product attributes of the user agent string through the JS navigator object. 2000-03-21 22:39:54 +00:00
hyatt%netscape.com 74a69fd9f7 Fix for bug #32587. 2000-03-21 02:05:15 +00:00
jst%netscape.com 9a1181dc2e Checking in patch from jband@netscape.com that makes it possible to build on Win98 again. r=me 2000-03-20 14:12:57 +00:00
norris%netscape.com 437a7174ea Fix a number of security bugs. (I can't see the numbers at home because
they have restricted visibility.)
r=mstoltz
2000-03-18 17:48:12 +00:00
norris%netscape.com 1f3fab41e0 Remove comment that is no longer true. 2000-03-17 22:18:54 +00:00
jst%netscape.com b768001187 Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559
2000-03-17 13:27:00 +00:00
cmanske%netscape.com 3852c08832 Removed tableselection notification from nsIDOMSelectionListener -- no longer needed. r=mjudge 2000-03-16 23:44:49 +00:00
rickg%netscape.com 7c4f6b3293 landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
rickg%netscape.com 4791ab3e8f removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
tbogard%aol.net abbe6911dc Fixed ordering of member variable initialization to fix compiler warnings. Back() and Forward() now use the nsIWebNavigation interface instead of the old nsIWebShell one. 2000-03-11 11:58:13 +00:00
norris%netscape.com b06e55722c Files:
caps/idl/nsICertificatePrincipal.idl
	caps/idl/nsIPrincipal.idl
	caps/src/nsBasePrincipal.cpp
Implement the ability to manipulate multiple capabilties simultaneously.
r=mstoltz@netscape.com

Files:
	caps/src/nsCodebasePrincipal.cpp
Codebase equality should be based upon origin, not full path.
r=mstoltz@netscape.com

Files:
	caps/src/nsScriptSecurityManager.cpp
Change URI checking to deny based upon scheme rather than allow based upon
scheme for greater flexibility.
r=mstoltz@netscape.com

Files:
	dom/public/nsDOMPropEnums.h
	dom/public/nsDOMPropNames.h
	dom/src/base/nsGlobalWindow.cpp
	modules/libpref/src/init/all.js
Fix bug 20469 Seeing JS functions and global variables from arbitrary host
r=vidur@netscape.com

Files:
	dom/src/base/nsJSUtils.cpp
	dom/src/base/nsJSUtils.h
	dom/src/base/nsJSEnvironment.cpp
	dom/tools/JSStubGen.cpp
	layout/base/src/nsDocument.cpp
	layout/html/content/src/nsGenericHTMLElement.cpp
Improve performance by removing NS_WITH_SERVICE call for every DOM access.
Propagate XPCOM failure codes out properly.
r=vidur@netscape.com

Files:
	layout/html/document/src/nsFrameFrame.cpp
Fix 27387 Circumventing Same Origin security policy using setAttribute
r=vidur@netscape.com
2000-03-11 06:32:42 +00:00
norris%netscape.com 772f1f0cad Remove mURL from nsWebShell, and GetURL from nsIWebShell.
r=travis
2000-03-11 02:57:39 +00:00
tbogard%aol.net a28e9ea44d Use the nsIWebNavigation interface for loading an URL where possible instead of the old webShell one. When calling FindChildWithName add the new parameter to state that a child of a different type if ok to return. 2000-03-11 00:59:08 +00:00
tbogard%aol.net cedfb05eb4 FindChildWithName now takes a new parameter for if children of different types should be returned. We pass FALSE here to say children of a different type is fine. 2000-03-11 00:57:01 +00:00
mscott%netscape.com d9ce914645 Bug #30553 --> properly get the correct window sizes for new windows created with a window target. This code
was actually written by travis and was reviewed by danm. I'm just checking it in for him.
a=jevering
2000-03-09 08:19:22 +00:00
valeski%netscape.com 3318ea6a6e r=vidur. a=jevering. We now advertise Netscape like we always did in the AppName field 2000-03-07 15:35:48 +00:00
warren%netscape.com 7e37f4f478 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
hyatt%netscape.com daf0f13722 XUL RadioGroup element, not used in XUL. r=ben, a=jar 2000-03-02 10:00:09 +00:00
mcafee%netscape.com 3f259e30e4 Fixing unix bustage, should use PR_TRUE. 2000-02-26 02:56:29 +00:00
vidur%netscape.com a4b5e12ac3 Fix for bug 27935. Found a FMR in nsGlobalWindow::Runtimeout that caused a timing-dependent crash. r=pinkerton,pollmann 2000-02-26 02:28:27 +00:00
pinkerton%netscape.com deaf976982 saari at pink's machine again, another generated file 2000-02-26 02:03:04 +00:00
pinkerton%netscape.com a290c101d0 saari checking in on pink's machine, fixing build, adding generated DOM idl file 2000-02-26 01:48:04 +00:00
saari%netscape.com 2928a1ce5c Fix PDT+ 28467, windows jumping z-order to front on load. r=hyatt a=jar 2000-02-26 00:58:12 +00:00
hyatt%netscape.com c5a3f61f35 XUL Property APIs, b=26109, r=ben 2000-02-25 08:37:49 +00:00
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
danm%netscape.com f117044432 backing out 1.199, which breaks sooooo many things. oops. 2000-01-05 01:27:40 +00:00
danm%netscape.com f0e86880bf explicitly skip URL load if no URL param specified in window.open. fixes bug 20757. patch submitted by bissiri@eecs.umich.edu. r:me 2000-01-04 22:29:57 +00:00
vidur%netscape.com 949d52cd68 Fix for bug 16787. Added navigator.cookieEnabled. Removed warnings. a=don r=waqar 1999-12-22 22:42:06 +00:00
vidur%netscape.com edbe1b7dad Partial fix for bug 22413. Create generic script instances for layer and ilayer elements. a=don r=waqar 1999-12-22 22:32:41 +00:00
vidur%netscape.com 996381c8eb 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 1999-12-22 01:48:47 +00:00
vidur%netscape.com 1f28ba5582 added files: mozilla/dom/src/html/nsJSHTMLFormControlList.cpp 1999-12-22 01:48:41 +00:00
vidur%netscape.com 00c07c9b98 Fix for 20955. Fixed FMMs in window.navigator methods. a=dagley r=pollmann 1999-12-22 01:43:48 +00:00
jband%netscape.com 7d0cb0f4bb 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
1999-12-18 20:29:29 +00:00
tbogard%aol.net 5377e2aabe 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 1999-12-17 22:25:22 +00:00
syd%netscape.com 76d39e5500 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.
1999-12-17 06:11:45 +00:00
mscott%netscape.com c10aa4f6c1 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
1999-12-17 00:50:17 +00:00
waterson%netscape.com be62782e91 Bug 21668. Ugh. Totally botched my patch application. Let's try that again. 1999-12-17 00:26:08 +00:00
waterson%netscape.com 1697d59bff 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 1999-12-17 00:15:51 +00:00
waterson%netscape.com 03a15dfd82 Bug 21668. Use nsCOMPtr (or Linss-ptr) to get the nativeThis. r=shaver 1999-12-17 00:11:03 +00:00
waterson%netscape.com 9fd346a651 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! 1999-12-17 00:08:28 +00:00
mjudge%netscape.com 5e4c07ae7d adding in lineup/down code 1999-12-15 03:59:38 +00:00
danm%netscape.com 7504c685f2 check for null context in CheckTimeout. add another deathgrip in HandleDOMEvent. part of fix for bug 19302. r:hyatt a:chofmann 1999-12-15 02:14:53 +00:00
vidur%netscape.com 3d22ed7e09 Backing out because of bogus checkin comment 1999-12-15 00:28:32 +00:00
vidur%netscape.com 7bec6370c1 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. 1999-12-15 00:25:00 +00:00
vidur%netscape.com 12e50bccc1 Fix for bug 21368. navigator.plugins methods were returning an error code if the plugin wasn' 1999-12-15 00:24:24 +00:00
vidur%netscape.com cc028b878d Fix for bug 10644. In cases where we expect boolean attributes, accept anything that can be converted to a boolean. a=jar r=pollmann. 1999-12-15 00:24:02 +00:00
syd%netscape.com 02e36a6d94 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).
1999-12-14 23:48:08 +00:00
vidur%netscape.com 1b616e7c2d Fix for bug 9787. Implemented a stub version of document.clear. Fix necessary for getting in 20737. a=chofmann r=pollmann. 1999-12-14 23:32:26 +00:00
danm%netscape.com 51e7acaff7 deathgrip chrome event handler in HandleDOMEvent. partial fix for bug 21397. r:hyatt a:chofmann 1999-12-14 02:28:16 +00:00
mjudge%netscape.com 3a180384c3 forgot newline at end of file. causing warning 1999-12-14 01:41:27 +00:00
mjudge%netscape.com 0a95ad1e14 2 files mcluskey reviewed, saari also. fix for keybindings pageup/down. ya 1999-12-14 01:38:17 +00:00
akkana%netscape.com c4db584578 Fixing build bustage on Linux 1999-12-14 00:55:37 +00:00
davidm%netscape.com c70ce7fd5a #ifdef out code for controller. Checkin to unblock mjudge and other r= mjudge 1999-12-13 23:13:33 +00:00
jdunn%netscape.com 2cf2fda629 nsCOMPtr is supposed to wrap interface references and not class references
r= chofmann@netscape.com danm@netscape.com
# 20193
1999-12-09 21:44:16 +00:00