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

1580 Коммитов

Автор SHA1 Сообщение Дата
ben%netscape.com c85b487427 bug 56719, support deep merging for XUL overlays; 57108, remove the hidden form
from all XUL documents and remove the document.controls collection that
referenced hidden form's elements collection. r=waterson@netscape.com,
a=hyatt@netscape.com
2001-01-10 01:08:23 +00:00
anthonyd%netscape.com dbd36fbbfb bug fix for 62796
sr=kin@netscape.com
a=jfrancis@netscape.com
r=jst@netscape.com
2001-01-09 21:44:35 +00:00
jst%netscape.com 474a9be591 Major cleanup of nsLocation.cpp, this also fixes bug 64041. sr=rpotts@netscape.com, r=dbaron@fas.harward.edu. 2001-01-09 01:16:36 +00:00
bryner%uiuc.edu 69e9b90bc6 Removing dead .toc files. Not part of build. a=sfraser. 2001-01-03 01:32:06 +00:00
jst%netscape.com 96702bc8a2 Fixing bug 57534. document.open() is defined to not return anything in the DOM spec but for backwards compatibility it needs to return the document itself. r=blakeross@telocity.com, sr=brendan@mozilla.org 2001-01-01 20:54:38 +00:00
dbaron%fas.harvard.edu caa9658024 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
av%netscape.com c2d296983d Part of fixing 61388, implemented PluginArrayImpl::Refresh body. r=a=jst, sr=vidur 2000-12-22 00:08:31 +00:00
waterson%netscape.com 660fe70daf Bug 61339. Change idlc to generate NS_DEFINE_STATIC_IID_ACCESSOR() macro instead of 'hand rolled' GetIID(). r=jst, sr=brendan 2000-12-21 00:41:00 +00:00
waterson%netscape.com f6c22a683c Bug 61424. Use NS_NO_VTABLE for all idlc-generated interfaces. r=jst, sr=jband 2000-12-19 21:08:55 +00:00
jst%netscape.com 419733ea2d Fixing bug 37258. Making the window properties scrollbars, statusbar and directories replaceable to be compatible with NS 4.x. r&a=vidur&brendan 2000-12-16 05:20:31 +00:00
jst%netscape.com 6dca5ba52b Fixing bug 58188 (and doing some minor whitespace cleanup). Making window.length replaceable so that scripts can use variables named length. To make this change I hadto fix the IDLC compiler to generate correct code in this case. r=brendan@mozilla.org, sr=vidur@netscape.com 2000-12-16 03:49:08 +00:00
dbaron%fas.harvard.edu aa6034ded5 Adding pref to REQUIRES to fix senna tinderbox bustage from hyatt's checkin. 2000-12-10 14:34:06 +00:00
hyatt%netscape.com 2c88bcf7c9 Patched nsDOMFactory to obey XBL forms pref. Added support for box objects to
documents and tweaked DocumentXBL methods. r=jst@netscape.com, a=ben@netscape.com
2000-12-10 09:25:59 +00:00
mccabe%netscape.com b1cc843691 Fix to 48299. Distinguish between chrome JS and content JS when reporting errors; this will allow the JS console to hide or otherwise highlight errors in UI javascript.
r=jst, sr=jband.
2000-12-07 02:08:21 +00:00
dbaron%fas.harvard.edu 1fa8a555d7 Only clear the status when setting a new document, not when clearing the old document, because clearing the old document depends on when the document viewer's destructor is called (and it could be called from within JS GC). (And fix a build warning too.) r=disttsc@bart.nl sr=brendan@mozilla.org b=61840 2000-12-03 01:21:54 +00:00
dougt%netscape.com afb7ad057b 60718. check for null. r=valeski@netscape.com, a=vidur@netscape.com 2000-11-30 21:10:55 +00:00
jband%netscape.com bdef0461a0 part of fix for bug 58982. Marking local array as static. r=jst sr=vidur 2000-11-30 05:35:10 +00:00
pinkerton%netscape.com a3d4c053ef Refactor some of the window key handler and add drag and drop handlers to the window root. Also move the html bindings (and platform bindings) to res, removing the chome dependency. a=hyatt. 2000-11-29 06:01:33 +00:00
jst%netscape.com 8ae0f7fd90 Fixing up indentation, tabs are evil! Whitespace only changes. r=pollmann 2000-11-29 02:26:11 +00:00
hyatt%netscape.com c594262a0d Move menulist entirely into XBL. a=ben 2000-11-28 08:52:36 +00:00
radha%netscape.com ceb3d77e8d Fixing tree bustage 2000-11-28 00:01:16 +00:00
radha%netscape.com d179b126e3 Fix for bug # 54739 r/sr=rpotts 2000-11-27 23:10:09 +00:00
ben%netscape.com be9e964116 Mutation event files. r=joki, a=brendan 2000-11-27 08:27:09 +00:00
hyatt%netscape.com d9f3df81f0 Patch for 55595. r=joki, a=brendan 2000-11-27 07:55:20 +00:00
cls%seawood.org 66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
nhotta%netscape.com 56ca08608c Null pointer check to prevent a crash by edit from desktop for Japanese path name, bug 59466, r=akkana, sr=brendan. 2000-11-09 04:35:38 +00:00
danm%netscape.com 480994d5dc force windows based on modal windows to themselves be modal. bug 56677 r=brendan,hyatt 2000-11-09 00:18:38 +00:00
ben%netscape.com b3f6da056d CHecking in fix for 59130, crash clicking links, patch from dbaron@fas.harvard.edu, r=ben@netscape.com,
a=hyatt@netscape.com.
2000-11-05 03:53:55 +00:00
hyatt%netscape.com a85750a2e2 added files: mozilla/dom/src/base/nsWindowRoot.cpp, mozilla/dom/src/base/nsFocusController.cpp 2000-11-04 08:25:27 +00:00
hyatt%netscape.com fae32fdbd7 Fix for 54203. r=saari, a=brendan 2000-11-04 08:21:20 +00:00
cls%seawood.org 188f0f9ffb Declare local variables as static to avoid conflicts with variables of the same name in other modules. Fixes Irix AliveTest bustage. r=javi 2000-11-01 06:01:54 +00:00
javi%netscape.com 4059b3797a Fix Mac bustage 2000-10-31 01:42:51 +00:00
javi%netscape.com dc4014bbd8 Build nsIEntropyCollector.idl on UNIX platforms.. 2000-10-31 00:28:21 +00:00
locka%iol.ie e2193efb9c Fix for crash when closing main window while print dialog is open (checked in for Frank Tang). b=35896, sr=vidur, r=adamlock 2000-10-30 23:47:11 +00:00
javi%netscape.com 8c42fb78d0 Fix for Bug #57985 r=hyatt,ddrinan a=hyat
Have HandleDOMEvent gather some information about mouse left button
  down events and pass it on to the entropy collector.
2000-10-30 23:33:34 +00:00
jj%netscape.com 5e80cb39d4 bugzilla 58153: optimized target now generates a symbol file (trunk) 2000-10-30 21:56:05 +00:00
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
jband%netscape.com 0080e6d178 fix bug 57962 by syncing xpconnect's JSContext list both before JSContext creation and after JSContext destruction. r=mccabe@netscape.com sr=brendan@mozilla.org 2000-10-26 03:40:23 +00:00
jst%netscape.com c1ccea8268 Fixing rtm++ bug 56529. Necko was unescaping the content of URL's if a segment of the URL is requested (but not if the whole URL is requested), the DOM code used this unescaped string as is and that caused backwards compatibility problems. a=gagan&brendan, r=andreas.otte@primus-online.de 2000-10-24 04:56:10 +00:00
pollmann%netscape.com 8911ee3487 Bug 13871: Frameset spoofing - cleanup unneeded DOM interface. r=jst, sr=vidur 2000-10-24 04:35:25 +00:00
mstoltz%netscape.com ea75b7e1ad Bug 56851, regression in XPInstall dialog. r=jst, sr=vidur 2000-10-19 22:21:57 +00:00
pollmann%netscape.com 3da7c0c668 Bug 13871: Prevent frameset spoofing r=mstoltz, sr=mscott, a=rpotts 2000-10-19 10:25:49 +00:00
danm%netscape.com fc6451ac0a drop timeouts without a JS context by using the runtime. bug 50705 r=brendan,jst 2000-10-15 23:23:12 +00:00
brendan%mozilla.org b8a0b3b798 Rename window.options to be window._options, quick and dirty restoration of backward compatibility (37886, r=jst, a=vidur). 2000-10-14 02:26:36 +00:00
danm%netscape.com a6f5bcaa30 reverted line in SetVisibleByFlag; an odd casualty of the brace and indentation uglification that comprised most of rev 1.6. bug 54235 r=jst,waterson 2000-10-06 00:46:25 +00:00
danm%netscape.com 7a4bef2d54 don't set status in SetNewDocument if window is partially destroyed. bug 49615 r=jst,waterson 2000-10-06 00:22:56 +00:00
heikki%netscape.com 4e5e02fcb1 Bug 51211. Image load event caused havoc in chrome, stop the event from getting into chrome. r=vidur, a=hyatt. 2000-10-05 21:40:13 +00:00
locka%iol.ie f67c4388ca Fixes window.title property so that the frame window's titlebar is changed when the property changes. b=50682, r=mscott, a=mscott 2000-10-03 13:35:30 +00:00
sfraser%netscape.com 4c4c45722f Fix for bug 54079: don't crash when loading XUL into the composer content area. Simple null check a=akkana, sr=brendan. Landed on trunk and branch 2000-09-27 23:08:09 +00:00
jst%netscape.com f4edbb9849 Redoing how 'replaceable' properties on DOM objects are resolved to be compatible with 4.x, with this change named frames in framesets override 'replaceable' properties so that window.toolbar (or any replaceable property) in a frameset document with a frame named 'toolbar' actually resolves to the frame, and not the native toolbar. r/a=brendan, r=rpotts&scc 2000-09-22 10:18:07 +00:00
hyatt%netscape.com 8a0e458fe7 48758. r=ben,saari, a=waterson 2000-09-22 05:31:36 +00:00
hyatt%netscape.com ac2865c3c4 48758. r=ben,saari, a=waterson 2000-09-22 05:02:20 +00:00
dveditz%netscape.com 3c17a84a91 bug 47080 change value of navigator.platform for backward compatibility, r=sgehani,a=scc 2000-09-22 04:52:22 +00:00
jst%netscape.com 2f0eed6fbb Fixing nsbeta3+ 38215. Making with(window.location) { href=someurl; } work by dynamically defining the 'href' property in LocationImpl::Resolve() (since src is defined as [noscript] in the IDL). r/a=vidur, r/a=brendan 2000-09-21 03:43:10 +00:00
mstoltz%netscape.com b3f1af8772 Fixing 52497, security problem in document.implementation, r=jst a=brendan 2000-09-20 23:38:28 +00:00
locka%iol.ie b78abdf560 Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00
jst%netscape.com 1a5288822d Fixing nsbeta3+ bug 52572. Renaming CSSValue::valueType to CSSValue::cssValueType to be up-to-date with the latest changes to the DOM Level 2 spec. r/a=vidur, r=pollmann 2000-09-19 05:37:23 +00:00
jst%netscape.com e6821c4310 Fixing nsbeta3+ bug 50393. Make frameset windows request the principal form their parent if there's no document object in the frameset nor a cached principal, this can happen with <frame src='javascript:...'> frames. r/a=vidur, r=mstoltz. 2000-09-19 05:21:00 +00:00
saari%netscape.com d7726a66ea fixing focus bugs for 53017. r=hyatt 2000-09-19 03:14:31 +00:00
sean%beatnik.com 874af57ab5 fix for bug 50990 r=jst a=brendan prevent timeout list insertion pointer from being null 2000-09-15 19:22:03 +00:00
jband%netscape.com 317a99cdd1 fix bug 52579. Avoid infinite recursion dialog when JS is run by xpconnect on DOM context. a,r=brendan@mozilla.org 2000-09-15 06:17:08 +00:00
joki%netscape.com cb0f8750e0 Fix bug 47022 by fixing typo in mousemove listener registration. r: jst 2000-09-15 06:07:51 +00:00
dbaron%fas.harvard.edu 19bd466446 Change the names of behavior and opacity DOM properties to MozBinding and MozOpacity, and make them work again with new CSS property names. r=jst, except for case change (Moz not moz) agreed on mozilla-style b=3935 2000-09-14 14:18:24 +00:00
mjudge%netscape.com 4bc19a6726 removing old domselection moving it to layout\base\public as xpidl 2000-09-14 11:51:06 +00:00
mjudge%netscape.com e2be918716 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
mjudge%netscape.com 441c4e3142 removing selection.idl from here and moving it to layout\base\public as xpidl. r=sfraser r=anthonyd bug=48575 2000-09-14 11:40:44 +00:00
jst%netscape.com 6fc361e1b1 Checkin in part of the fix for nsbeta3+ bug 42321. Avoid running JS_GC() many times per window open/close, once should be enough. Patch mostly done by alex@cendio.se, r=jst@netscape.com & vidur@netscape.com 2000-09-14 06:18:09 +00:00
jst%netscape.com 347b9460b5 Fixing nsbeta3+ bug 52572. Updating the DOM intefaces in mozilla to match the current DOM Level 2 PR. r=kandrot@netscape.com 2000-09-14 05:19:00 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
jdunn%netscape.com 7312330f97 Specify that the base class is indeed 'public' since some compilers (AIX)
assumes 'private'.  I ok'd each of these with the appropriate module
owners (see bug)

r= scc@mozilla.org & brendan@mozilla.org + everyone listed in bug
#= 52254
2000-09-13 13:50:30 +00:00
locka%iol.ie 8c8e34e146 Added scrollByLines, scrollByPages methods to DOM window object. b=46858,r=valeski 2000-09-13 13:06:07 +00:00
scc%mozilla.org 33ce8dfdb9 if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 03:24:57 +00:00
scc%mozilla.org f75af5e15f if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 02:48:08 +00:00
heikki%netscape.com 5a54ae35f1 Forgot to check that we fire the select event with Select All. Also fix event.target. Part of bug 46085. r=mjudge. 2000-09-12 20:54:41 +00:00
rpotts%netscape.com adeb8b8d11 bug #37434. Added a call to nsIDocShellLoadInfo::SetStopActiveDocument(...) before calling LoadURI in both SetHRefWithBase() and SetURI(). This causes the active document to be stopped immediately (which prevents further processing of the active document) 2000-09-10 06:02:11 +00:00
jst%netscape.com 7919a7f85b Fixing nsbeta3+ bug 45389. Adding support for window.location.assign('xxx');. r=nisheeth@netscape.com 2000-09-08 07:29:54 +00:00
hyatt%netscape.com 7ace0d291a Binding detached. r=pavlov 2000-09-08 06:59:14 +00:00
jst%netscape.com 6791180ede Fixing regression wrt setting window.location='xxx'. r=rpotts&vidur 2000-09-08 04:21:29 +00:00
dbaron%fas.harvard.edu 3ae3b5bf23 Make idlc run correctly in an objdir build. This taints the srcdir, but that's the way idlc is supposed to work.
Make idlc-generated files not be made executable.
r=jst,cls
Not part of the build (used only by people making DOM idl changes)
2000-09-08 01:59:22 +00:00
sfraser%netscape.com ff94dabd36 Part of fix for bug 13718 -- API for natural dimensions of image. Extend the netscape nsIDOMImage interface. r=jst 2000-09-08 01:32:39 +00:00
heikki%netscape.com ccd277ef33 Fixed bug 22710, load and error events were not firing for images. I also changed the select event firing to use nsEvent instead of nsGUIEvent. r=joki. 2000-09-07 20:37:01 +00:00
dveditz%netscape.com 2ff9437de0 Turning on JS strict option in debug builds, a/r=brendan, bug 50645 2000-09-07 10:51:59 +00:00
hyatt%netscape.com 927938cc43 Adding originalTarget to Event object. r=joki 2000-09-07 01:07:29 +00:00
brendan%mozilla.org c05f21b61d Small fix to rectify nsGlobalResolve's return value to boolean in the isConstructor case (50080). 2000-09-05 20:47:12 +00:00
hyatt%netscape.com 0138e7184e loadBindingDoc 2000-09-05 07:28:32 +00:00
hyatt%netscape.com f787e9f8fc Update loadBindingdoc 2000-09-05 07:27:56 +00:00
hyatt%netscape.com c806c1ac47 Update loadBindingDoc, r=ben 2000-09-05 07:27:24 +00:00
hyatt%netscape.com d5c25c42fd Update loadBindingDoc. r=ben 2000-09-05 07:27:06 +00:00
bryner%uiuc.edu 25f69ad484 Fixing bug 50058 - too many onSelect firings. r=hyatt. 2000-09-02 18:59:39 +00:00
brendan%mozilla.org 82ba1b3e36 One-line comment addition, to match surrounding paragraphs that have comments. 2000-09-02 04:19:45 +00:00
brendan%mozilla.org 2a34ca5bb0 Restore default JS options in InitContext, and track pref changes to javascript.options.* (50291, r=jband). 2000-09-02 01:58:51 +00:00
bryner%uiuc.edu 03e0588595 Checking in the idlc-generated version of this file to go along with vidur's nsIDOMWindow API change. r=vidur. 2000-09-02 01:12:37 +00:00
vidur%netscape.com c7a24147fa Part of fix for bug 46861. Modified idlc generated header file, but forgot to change the idl itself. Doh! r=pollmann 2000-09-01 22:01:33 +00:00
radha%netscape.com 4e7d753a67 partial fix for 49498. r=nisheeth. 2000-09-01 21:29:48 +00:00
locka%iol.ie 1f402e7d0a Attach nsGlobalWindow's title property to the primary content document's title property. b=41984, r=jst 2000-09-01 13:31:21 +00:00
mkaply%us.ibm.com b501a83f8c OS/2 Tinderbox break
PR_CALLBACK needed here
2000-09-01 13:03:40 +00:00
brendan%mozilla.org 398c0653e0 Add window.options object with strict, werror, and future JS boolean option properties (50291, r=shaver). 2000-09-01 03:10:33 +00:00
vidur%netscape.com 0e09fe7f98 Adding new file to fix bustage... 2000-09-01 02:18:29 +00:00
vidur%netscape.com e153192875 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
jband%netscape.com 68f3129d97 fix bug 50080. Early returns skipping call to nsGenericResolve. r=jst@netscape.com a=brendan@mozilla.org 2000-08-31 09:44:27 +00:00
mstoltz%netscape.com ecbc31c3d3 Fixing exploits involving changing the location of a window and getting the wrong principal. Bug 48723, r=vidur 2000-08-31 05:53:32 +00:00
danm%netscape.com f70405499d check for null context before clearing JS watchpoints. bug 49615. patch from afranke@ags.uni-sb.de. r=brendan, me a=brendan 2000-08-31 03:10:52 +00:00
jst%netscape.com ca738093f5 Fixing nsbeta3+ bug 48213 and most of bug 48161. Finally removing the temporary DOM Level 2 debugging code, cleaning out some unused code and making getAttribute and setAttribute on HTML elemensts case insensitive. r=vidur@netscape.com, waterson@netscape.com 2000-08-31 00:36:31 +00:00
vidur%netscape.com 17a5487872 Fix for bug 50682. Regression introduced that prevented window.title from being changed. r=jst 2000-08-30 18:38:30 +00:00
locka%iol.ie 11358c799f Call to GetCurrentURI modified to new style. b=46847, r=valeski, a=valeski 2000-08-30 11:37:06 +00:00
rginda%netscape.com bec6b5c5bb adding nsIDOMWindowEventOwner to GlobalWindow.
r=vidur
2000-08-29 23:45:47 +00:00
jst%netscape.com 4ed8ce0219 Fixing nsbeta3+ bug 31997. Make the global window reset the status and default status for the window when the document changes. r=nisheeth@netscape.com 2000-08-29 02:04:44 +00:00
brendan%mozilla.org 5387c4e16b Add possibly-too-verbose NS_TraceMallocDumpAllocations and its JS window-level function, for leak and bloat analysis. 2000-08-29 01:52:13 +00:00
vidur%netscape.com a6fa8885ba Fix for bug 43902. The DOM glue now streamlines the Get/SetProperty methods for the window class. Window.location and title and document.title are now part of the idlc interfaces, rather than special-cased. r=jst@netscape.com 2000-08-29 00:14:23 +00:00
heikki%netscape.com e04a509262 Fixed bug 46085. We were not firing the select event. r=mjudge. 2000-08-28 23:00:19 +00:00
danm%netscape.com 09c27489d5 hand mScriptObject off to the JSContext when tearing down the window so it can be unrooted for GC purposes a little later, after the JS glue has had a chance to retrieve it. bug 43466 r=brendan,jst,vidur 2000-08-26 23:35:50 +00:00
danm%netscape.com 5cef1c16fb added the ability to save a script object for unrooting from the GC in this object's destructor. bug 43466 r=brendan,jst,vidur 2000-08-26 23:32:56 +00:00
danm%netscape.com b657b94709 new method SetRootedScriptObject. bug 43466 r=brendan 2000-08-26 23:32:52 +00:00
jst%netscape.com 51366e0d56 Fixing at least part of nsbeta3+ bug 44185. Making the properties 'top', 'menubar', 'toolbar', 'locationbar' and 'personalbar' replaceable properties, this makes it possible to use those properties for other purposes in JS (4.x allows this too). r=pollmann@netscape.com 2000-08-26 06:27:49 +00:00
locka%iol.ie ecebe2ac21 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
saari%netscape.com aca0514725 Fix for 49918 2000-08-25 02:51:26 +00:00
anthonyd%netscape.com 112b262913 fix for bug 48624 (hidden selection issues with plain text widgets)
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe
2000-08-24 03:54:30 +00:00
jst%netscape.com 9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
jst%netscape.com 6a28cc5048 Fixing bad typecasts (bug 49645)... r=pollmann@netscape.com 2000-08-22 05:03:56 +00:00
jst%netscape.com bd22259260 Fixing nsbeta3+ bug 44024. Expose the stylesheets in stye and link elements (DOM Level 2) as 'sheet' properties on the elements. r=harishd@netscape.com 2000-08-22 04:14:53 +00:00
brendan%mozilla.org d46946322b Teach the DOM to use lazy JS class initialization (46703, r=jst@netscape.com). 2000-08-22 03:51:17 +00:00
jst%netscape.com 8dd7380d5b Fixing nsbeta3+ bug 42670, stop the JS (DOM) error reporter from recursing to death if there's a JS error in an onerror handler. r=brendan@mozilla.org 2000-08-21 08:44:55 +00:00
scc%mozilla.org 8d0b438421 fixing code that relied on implicit string construction 2000-08-19 21:38:38 +00:00
scc%mozilla.org 3f0620d231 fixing code that relied on implicit string construction 2000-08-19 20:01:04 +00:00
hyatt%netscape.com 24b71cc743 First-stage fix for dogfood bug 49012. r=ben 2000-08-17 08:11:11 +00:00
jst%netscape.com 30c383feb6 Fixing nsbeta3+ bug 43327. Make window.history act like an array to be compatible with 4.x, and add proper security checks for DOM array access. r=mstoltz@netscape.com 2000-08-17 05:56:44 +00:00
akkana%netscape.com 6c14f21233 23587: Make accelerator and menu access keys settable through a pref. r=saari 2000-08-17 00:09:16 +00:00
danm%netscape.com 631ed81066 adding handling for _top targets, which strangely seemed to just be missing. bug 32342 r=hyatt. 2000-08-16 02:16:11 +00:00
waterson%netscape.com b44c5cce5c Bug 44480. Remove more obsolete files that I missed the first time around. 2000-08-16 02:00:59 +00:00
waterson%netscape.com c0abe2dff8 Bug 44480. Demote 'width' and 'height' to NSHTMLDocument. r=jst 2000-08-16 01:56:00 +00:00
waterson%netscape.com 2880a1e5b7 Bug 44480. Remove obsolete files. 2000-08-16 01:05:22 +00:00
waterson%netscape.com f7e7ca5d51 Bug 44480. Demote 'width' and 'height' attributes from NSDocument to NSHTMLDocument and XULDocument; make nsHTMLDocument's implementation use the <body> element's frame (instead of the <html> element's frame) to determine metrics. r=jst 2000-08-16 01:04:52 +00:00
danm%netscape.com e0450ccba0 treat width/height=* features to mean size of parent window. compatibility with Nav 4. bug 30394. 2000-08-15 20:01:20 +00:00
jst%netscape.com 53a23bf142 Backing out changes that should've been checked onto a branch. Sorry about that. 2000-08-11 22:10:35 +00:00
jst%netscape.com 8b61ed0444 DOM API string changes... 2000-08-11 21:41:59 +00:00
mstoltz%netscape.com 7b5767dd74 bug 47670. r=jtaylor 2000-08-11 04:31:08 +00:00
mscott%netscape.com 60f543289f Backing out mstoltz's earlier checkin to bring mailnews back to life.
a=mcafee
2000-08-10 03:57:43 +00:00
dougt%netscape.com f1a427503d Renaming GetPrompt() to GetPrompter in nsIDOMWindow. This avoids a namespace
r=vidur@netscape.com (47889)
2000-08-09 21:12:21 +00:00
mstoltz%netscape.com 730eb8abbb Fixed 37702 and 47670. r=vidur 2000-08-09 20:08:54 +00:00
brendan%mozilla.org 8de75d3e89 Clear JS watchpoints on the window object before loading a new document (38959, r=mstoltz). 2000-08-09 03:30:46 +00:00
brendan%mozilla.org 71f06b90ee Add TraceMallocLogTimestamp window method, for bloat storyboarding (#ifdef NS_TRACE_MALLOC, not part of build). 2000-08-09 02:43:09 +00:00
saari%netscape.com 77a47fdee1 Beginnings of massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:19:03 +00:00
saari%netscape.com 51ea7f2136 Beginnings of massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner

--------------------------------
2000-08-08 21:17:28 +00:00
dougt%netscape.com 2e7c2fd23d Adding GetPrompt() method to nsIDOMWindow.
r=vidur@netscape.com (47889)
2000-08-07 20:55:36 +00:00
nisheeth%netscape.com 13ef87a1f9 r=jst. Fix for nsbeta2+ bug 18321. The back button was not getting enabled when the user clicked on a javascript url that caused a new page load in another frame. The problem was that the location object was setting the load type to "normal" for loads caused by calls to location.replace() and to "normalReplace" for loads caused by setting location.href. The correct behavior is to do the opposite. 2000-08-07 07:35:25 +00:00
shanjian%netscape.com de23b7e7a9 #14022 IME98 Reconversion does not work in HTML Editor
r = jfrancis
a = ftang
fix proposed by m_kato@ga2.so-net.ne.jp

New events are added to support reconversion. As a result, many files
are affected. They are:
editor:
  nsEditor.h nsEditor.cpp nsEditorEventListeners.cpp nsEditorEventListeners.h
  nsHTMLEditor.h nsHTMLEditor.cpp nsIEditorIMESupport.h
dom and layout:
  nsIPrivateCompositionEvent.h nsDOMEvent.h nsDOMEvnet.cpp nsEventListenerManager.cpp
  nsIDOMCompositionListener.h
widget:
  nsGUIEvent.h nsWindow.h nsWindow.cpp
2000-08-04 21:43:29 +00:00
jst%netscape.com c8bd99c6ab Checking in for Vidur (merging from SeaMonkey_M17_BRANCH). Fixing nsbeta2+ bug 9392, removing code that was hiding the correct native code for document.plugins. r=jst@netscape.com, a=nisheeth@netscape.com 2000-08-04 06:55:53 +00:00
radha%netscape.com df34e668fb Hook up JS history.go() to session History bug # 18321. r=nisheeth. Checking in branch
fix to the tip
2000-08-02 21:48:32 +00:00
dbaron%fas.harvard.edu 9ead01a3b0 Check in some debugging code that's very useful for finding leaked GC roots. This is #if 0, so it shouldn't affect anything. r=a=waterson 2000-07-28 12:18:29 +00:00
hyatt%netscape.com 71fd6fd03e Fix to grovel non-aggressively. r=waterson,a=waterson 2000-07-26 23:57:48 +00:00
hyatt%netscape.com 3a140ded51 Fixes to template builder for non-aggressive groveling. r=waterson,a=waterson 2000-07-26 23:56:02 +00:00
warren%netscape.com 6171b59ab8 Fixed GetSearch to deal with urls that don't implement nsIURL. r=waterson 2000-07-15 00:14:02 +00:00
jst%netscape.com c19643dfdd Fixing IDLC to play nicely in the new string world, not part of the default build. 2000-07-14 22:37:55 +00:00
jst%netscape.com 187ac81849 Fixing (partially at least) nsbeta2+ bug 38951, the problem was that properties on closed window objects were not accessible due to the document being destroyed to soon. We still destroy the document too soon but now we at least hold on to the document principal in the window object so that we don't bail on every security check done for every access to properties the closed window. r=vidur@netscape.com 2000-07-13 21:48:25 +00:00
brendan%mozilla.org c4a7de165c Avoid costly GetScheme on nsSimpleURI, and avoid yet another "javascript:" string literal and the consequent PL_strcasecmp call, in favor of a fast NUL first-char test. 2000-07-13 02:30:16 +00:00
mcafee%netscape.com 63958d5e40 Fixing comment within comment warnings, duh. r=pavlov 2000-07-12 02:35:59 +00:00
brendan%mozilla.org 0431574c9f Cleanups: don't decimate Unicode property ids to ISO-Latin-1 in CheckAccess; do use NS_SUCCEEDED instead of NS_OK==; don't use bogus tabs for indentation (r=jst@netscape.com). 2000-07-12 01:20:49 +00:00
ericb%neoplanet.com ed3ff3ad8b resizers and titlebars r:hyatt a:hyatt 2000-07-11 23:34:44 +00:00
brendan%mozilla.org 799479a315 Constipation (r=lumpy,a=jack). 2000-07-08 00:23:12 +00:00
cls%seawood.org bca014f1bb Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner 2000-07-02 18:44:42 +00:00
cls%seawood.org 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
radha%netscape.com c5dd8a6d2c More code for feature 36547. CODE NOT PART OF THE BUILD. Will provide reviewer when
feature is enabled.
2000-06-29 21:48:18 +00:00
saari%netscape.com f24b7b375a simple null check to stop crasher. r=joki 2000-06-28 20:56:29 +00:00
bryner%uiuc.edu 01bd071f07 Attempting to fix mac bustage. 2000-06-28 02:32:45 +00:00
evaughan%netscape.com 6438d4d375 Forgot file add for last checkin. 2000-06-28 00:01:19 +00:00
evaughan%netscape.com 4db3654be5 Clean up for autoscrolling menu landing. ScrollBox events need their own type and should not be
on top of menu events.

-r hyatt
2000-06-28 00:00:18 +00:00
tao%netscape.com c094568ffd 39790: [L12y] Move all localizable prefs into chrome://.r=alecf. 2000-06-27 22:13:23 +00:00
ftang%netscape.com b8d44ad36a fix 35076. r=vidur. escape the URL if it contains non ASCII character. Escape from the position
which the first non ASCII char appear.
2000-06-27 21:27:30 +00:00
mkaply%us.ibm.com 6fde6d62b3 #42637
r=jst, a=brendan
OS/2 bring up - PR_CALLBACK for VisualAge
2000-06-26 19:59:18 +00:00
jst%netscape.com f36557d87a Fixing nsbeta2+ bug 13350, add a JS branch callback to the DOM code that runs the JS GC and also lets users abort extremely long running scripts (i.e. infinite JS loops). r=vidur&brendan 2000-06-24 16:18:41 +00:00
dougt%netscape.com 8b638a4c67 I IDL-ifying the nsProxyObjectManager.
I have updated all users that I found
grepping the source tree.

r=valeski@netscape.com
a=waterson@netscape.com
b=43131

Also checking in changes to the window's embed test which is NOT
hooked up to the build system.
2000-06-24 00:03:10 +00:00
joki%netscape.com db9bd6ac20 Temporary fix for bug 43390, allow modal dialogs/windows to be raised from script. r:vidur 2000-06-23 20:32:45 +00:00
evaughan%netscape.com 969d067559 Autoscrolling menus feature landing #32730
-r hyatt, saari
2000-06-23 05:15:04 +00:00
saari%netscape.com 537596e625 adding GetRootCommandDispatcher to nsPIDOMWindow for utility.
Needed for beta2+ bug 38673. r=hyatt
2000-06-23 00:42:21 +00:00
mscott%netscape.com 9b6efa882b Bug #10802 --> expose load types to load info class so callers can set the load type
this is needed to implement things like open attachment so we can make the doc shell
think a user click happened when it talks to the uriloader.

I removed two boolean fields which were representing two load types. Simplified the api by allowing you
to pass in any of our load types.
r=valeski
2000-06-22 07:22:23 +00:00
bryner%uiuc.edu 227e7ce3a5 Fixing bug 15555. r=danm. 2000-06-22 01:39:40 +00:00
danm%netscape.com 7491482e25 changing name of window.content to _content. bug 33650. r=hyatt@netscape.com 2000-06-22 00:42:34 +00:00
hyatt%netscape.com 8072ceb8f8 Fix for 42806. r=waterson 2000-06-21 02:02:24 +00:00
vidur%netscape.com 3be227878d Fix for bug 9392. document.plugins now aliases to window.navigator.plugins. r=nisheeth 2000-06-21 00:53:26 +00:00
vidur%netscape.com 2017802f4c Fix for bug 42860. nsIScriptNameSpaceManager::RegisterGlobalName() now takes an additional IID parameter. If the IID is that of the nsIScriptObjectOwner interface, we assume it's an old-style idlc interface. Otherwise we try to wrap it using XPConnect. r=rginda 2000-06-21 00:42:59 +00:00
joki%netscape.com 786f234766 Part of fix for 38117, prevent scripts from running event handlers on windows from other domains. r:mstoltz 2000-06-21 00:21:50 +00:00
joki%netscape.com 1229b0bb92 Fix for bug 25117, check security when sizing/positioning/configuring windows. r:danm 2000-06-21 00:20:39 +00:00
dbaron%fas.harvard.edu ff88c15b4a Really fix the leak in JS error reporting. (Checked in from the wrong machine last time.) r=vidur 2000-06-20 03:51:07 +00:00
dbaron%fas.harvard.edu 4497380b04 Delete nsJSEnvironment (and the things it owns) during XPCOM shutdown instead of after (they won't be shown as leaks anymore). Also, fix a leak in JS error reporting. r=vidur 2000-06-20 03:45:21 +00:00
warren%netscape.com 1927d0a1ce Bug 41390. js prompt() contains remember this value checkbox. r=morse 2000-06-17 01:57:36 +00:00
vidur%netscape.com 9ee00ac156 Work for bug 33475 - completion of Document related DOM Level 2 support. Load no longer takes extra unused argument. r=jst,nisheeth 2000-06-17 01:46:59 +00:00
waterson%netscape.com a4ba634d32 Fix mac bustage: JSObject is an opaque type here. 2000-06-16 22:17:46 +00:00
waterson%netscape.com b176726371 Bug 41855. Hold on to the nsIScriptContext instead of the raw JSContext. This ensures that the JSContext won't be yanked out from beneath us. r=shaver 2000-06-16 21:43:04 +00:00
cls%seawood.org a1a494ff33 Adding MOZ_JS_LIBS to EXTRA_DSO_LDOPTS for BeOS. Bug #42562 2000-06-15 02:49:52 +00:00
hyatt%netscape.com 1336bf7022 Bug #30511. r=ben 2000-06-14 06:14:24 +00:00
brendan%mozilla.org 04ea758f0f Restore "javascript:\n"-in-location-brings-up-console compatibility (r=mccabe@netscape.com). 2000-06-14 04:57:49 +00:00
hyatt%netscape.com 0248ddd28c 30511. r=ben 2000-06-14 04:50:20 +00:00
mstoltz%netscape.com 368bb298e8 Fix for bug 31818. Dogfood. r=brendan 2000-06-13 23:56:30 +00:00
scc%mozilla.org 507357239c fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms 2000-06-12 23:52:31 +00:00
mjudge%netscape.com 964fef8f5a constants added r=hyatt. bug34896 2000-06-09 04:15:26 +00:00
mjudge%netscape.com 44280fcc41 commiting generated file from SelectionListener.idl. r=hyatt bug = 34896 2000-06-09 04:14:53 +00:00
mjudge%netscape.com cc69465978 34896, change to move constants to this file. r=hyatt 2000-06-09 04:12:50 +00:00
danm%netscape.com ed8c16f7d3 unused (bug 12021 required this). removing. r=jst@netscape.com 2000-06-09 00:31:11 +00:00
danm%netscape.com cadb12d58a window.prompt() returns jsval instead of string, allowing it to return null when required. wants to be changed back to a string once the DOM APIs support this same thing. bug 12021. r=jst@netscape.com 2000-06-09 00:14:44 +00:00
danm%netscape.com e1efb249c7 removing nsJSAbstractView.cpp. bug 12021. r=jst@netscape.com 2000-06-09 00:04:29 +00:00
akkana%netscape.com 5530c009d8 Needed for bug 40457: Add API for range methods to tell
whether a node or point intersects the range. r=vidur, a=beppe.
2000-06-07 22:56:55 +00:00
danm%netscape.com 8054b84678 request redraw when resizing window. bug 35450. r=joki 2000-06-07 02:05:08 +00:00
jst%netscape.com 1f9e415b7e Fixing nsbeta2+ bug 40514, the problem was that the 'parser' used to parse the options argument passed to window.open() didn't allow for whitespace between the options, 4.x didn't do this either but IE does. r=vidur 2000-06-07 01:36:28 +00:00
jst%netscape.com 0f3586fdaf Fixing nsbeta2+ bug 30249, the problem was that the type of various attributes (in the DOM spec) on image elements was string and not number (long), this broke backwards compatibility with 4.x and also compatibility with IE. r=vidur 2000-06-07 01:23:55 +00:00
hyatt%netscape.com d69e9db8ca Updating tree selection. bug#30511. r=danm 2000-06-07 00:01:04 +00:00
alecf%netscape.com 37819879b7 last checkin was:
fix for #41608 - be sure to remove the script context from the GC root!
r=shaver, jst a=putterman
2000-06-06 08:08:41 +00:00
alecf%netscape.com d3b8782109 /tmp/cvsRB7BUM 2000-06-06 08:07:23 +00:00
pavlov%netscape.com 6d72d15bf9 Fix for eventqueue objects leaking bug #20166. This also removes the hacked fix for bug #36361 and uses a real fix. Major overhaul of nsEventQueue and nsEventQueueService. r=waterson,brendan. tested on windows, linux and mac 2000-06-05 21:53:25 +00:00
mkaply%us.ibm.com ad3cf0ff6a # 37239
r = jst, a = waterson
OS/2 bringup - PR_CALLBACK for VisualAge
2000-06-05 19:15:32 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
rginda%netscape.com dd405f568a s/nsCOMPtr<nsIScrollableView>/nsIScrollableView */ because views are not refcounted.
r=jst,a=brendan
2000-06-03 01:01:48 +00:00
mkaply%us.ibm.com c143422b9c # 37239
r = jst, a = brendan
OS/2 bringup - PR_CALLBACK
2000-06-02 23:04:50 +00:00
hyatt%netscape.com d0a6787edf Tree/grid XBL foundation work. 2000-06-02 08:11:55 +00:00
hyatt%netscape.com a7baf1212b More XBL work for tree/grid rewrite. 2000-06-02 08:11:27 +00:00
mjudge%netscape.com ee9cc1db54 fixing small optimization oversight. based on pixleys code that was beta2+. optimization is not valid in this case. r=churchill 2000-06-01 01:03:48 +00:00
jst%netscape.com 83ae04f0b1 Checking in patch from Vidur that fixes part of nsbeta2+ bugs 34667, 36745 and 38537, this fixes a crash associated with javascript: URLs and the fact that javascript: URLs are sometimes invoked multiple times. r=me. 2000-05-31 13:57:02 +00:00
jst%netscape.com 88fefdd059 Fixing nsbeta2+ crasher bug 39693, the JS gluecode generated by IDLC did properly check if the parguments passed in from JS were of correct type and properly set the return value if they weren't, but then ignored the error and continued passing along an invalid argument to the native implmentation. r=waterson 2000-05-30 22:55:15 +00:00
hyatt%netscape.com cfbf3533d1 Removing XUL DOM elements. 2000-05-30 08:20:06 +00:00
hyatt%netscape.com b962248eca Removing obsolete files from the build. 2000-05-30 08:11:35 +00:00
hyatt%netscape.com c8bc84a0a3 Removing obsolete headers from the build. 2000-05-30 08:07:54 +00:00
hyatt%netscape.com 62b074a8ce Removing obsolete C++ code. 2000-05-30 08:06:59 +00:00
hyatt%netscape.com 430af5709b Adding anonymous content getter. r=waterson, a=waterson 2000-05-26 22:45:26 +00:00
jst%netscape.com 46e894cbec Fix typo. 2000-05-25 14:48:50 +00:00
jst%netscape.com ffb0b2b591 Exporting nsIDOMHTMLEmbedElement.h on the mac too. 2000-05-25 14:37:02 +00:00
jst%netscape.com 5f228ca6a3 added files: mozilla/dom/src/html/nsJSHTMLEmbedElement.cpp 2000-05-25 14:36:29 +00:00
jst%netscape.com 027ee212d1 Checking in fix for nsbeta2+ bug 38821, the fix was written by rusty.lynch@intel.com. The problem was that nsIDOMHTMLEmbedElement wasn't implemented by nsHTMLEmbedElement and the script object created for the element was a normal HTMLElement script object and not a HTMLEmbedElement script object on non-unix platforms. r=me 2000-05-25 13:26:32 +00:00
pavlov%netscape.com 528cf844b7 work to try and fix crasher bug 39752 by being sure to call Cancel() on the timers since the windows timer code holds a ref to itself.... more to come on that. r=jag@irc 2000-05-20 03:57:59 +00:00
brendan%mozilla.org 4f96493573 Better TraceMalloc* methods (r=waterson). 2000-05-17 06:58:48 +00:00
joki%netscape.com c22fd60f54 More support for onresize and onscroll, bug 960 2000-05-17 06:53:58 +00:00
jst%netscape.com 1f7e95ea68 getComputedStyle() is now alive! 2000-05-17 06:38:43 +00:00
sfraser%netscape.com 9d0f0840c6 Remove linkage with NetworkModular.shlb 2000-05-17 06:36:59 +00:00
jst%netscape.com 75e033f12f Export more functions. 2000-05-17 06:28:23 +00:00
joki%netscape.com 08d1d06617 fix for resize event support, bug 960, and additional support for DOM 2 events. 2000-05-17 05:27:22 +00:00
brendan%mozilla.org 483af1a01b Improve --trace-malloc to handle multiple logfiles. 2000-05-17 04:44:14 +00:00
pavlov%netscape.com 803190ad4b changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
joki%netscape.com 9a82121abd Part of fix for 4163, enable 4.x dragdrop event 2000-05-17 00:31:36 +00:00
javi%netscape.com cc49213457 Get a reference for the getter on the crypto and pkcs11 objects before returning them. 2000-05-16 23:52:42 +00:00
joki%netscape.com a5837f5784 Second part of fix for 7404, allow left right keyboard scrolling, patch from Matt Bissiri and John Morrison 2000-05-16 14:28:09 +00:00
joki%netscape.com 1b76541751 temp fix for bustage 2000-05-16 12:14:19 +00:00
joki%netscape.com a743e2b38b Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
warren%netscape.com 618d468469 Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse 2000-05-16 05:35:23 +00:00
jst%netscape.com 798ded8a8e Checking in DOM Level 2 version of the DOM interface Element. 2000-05-15 20:31:55 +00:00
brendan%mozilla.org 56cee012d6 Don't let the JS GC run on threads other than the main thread, where the dom and layout run. 2000-05-15 04:21:04 +00:00
anthonyd%netscape.com c8f6bd642a made GlobalWindowImpl support weak ref to get around
holding on to raw pointers to windows causing problems
in destruction of windows
2000-05-14 05:26:06 +00:00
jst%netscape.com dcf7e3f45a Don't generate code that uses internal JS functions, use the public functions in stead. 2000-05-14 02:46:08 +00:00
jst%netscape.com c027dde21f Use the public JS functions and not internal ones, this didn't work on the Mac, but was fine on windows and linux. 2000-05-14 02:43:03 +00:00
jst%netscape.com ae5cf1735f Removing files that are not needed in the build yet. 2000-05-14 02:06:27 +00:00
jst%netscape.com 4effc44964 added files: mozilla/dom/src/css/nsJSCSSPrimitiveValue.cpp 2000-05-14 02:05:23 +00:00
jst%netscape.com 64d45dd9ba Making Processing instructions implement the LinkStyle interface. 2000-05-14 00:09:11 +00:00