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

1432 Коммитов

Автор SHA1 Сообщение Дата
jst%netscape.com 79e81f4bd0 Whitespace cleanup, fixing up 3 space indentation. No code changes. 2001-01-18 07:44:29 +00:00
mccabe%netscape.com 0d2bfc52b7 Add missing semicolon. Thanks Brian for the ring. 2001-01-17 02:05:14 +00:00
mccabe%netscape.com 9100327406 (Trivial, trivial) fix to 65179.
Add an fflush after printing JS errors from xul or content to the console, to facilitate debugging.  #ifdef DEBUG, because I don't know all of the performance consequences.

Thanks to neil@parkwaycc.co.uk for the suggestion.
2001-01-17 01:18:48 +00:00
jst%netscape.com e75d5a5e74 Fixing bug 58285. The various scroll methods on the window object need to flush pending layout notifications so that the presentation is up-to-date when the scolling is done. r=heikki@netscape.com, r=pollmann@netscape.com, sr=vidur@netscape.com 2001-01-13 01:51:45 +00:00
ben%netscape.com 4c4aa35276 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 107c2088f3 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 9cc92ea741 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 6862b07fb9 Removing dead .toc files. Not part of build. a=sfraser. 2001-01-03 01:32:06 +00:00
jst%netscape.com c362958cf3 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 9430a92e06 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 40fac76957 Part of fixing 61388, implemented PluginArrayImpl::Refresh body. r=a=jst, sr=vidur 2000-12-22 00:08:31 +00:00
waterson%netscape.com 49e31fe89d 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 db77a47909 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 e9a674e851 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 fef4f5a8cf 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 ce7f2349f7 Adding pref to REQUIRES to fix senna tinderbox bustage from hyatt's checkin. 2000-12-10 14:34:06 +00:00
hyatt%netscape.com cbf106d2ea 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 d514aa2e71 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 f21943b86d 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 dd5fb1e469 60718. check for null. r=valeski@netscape.com, a=vidur@netscape.com 2000-11-30 21:10:55 +00:00
jband%netscape.com c117919df8 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 28aab72bc2 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 9a4e4713fc Fixing up indentation, tabs are evil! Whitespace only changes. r=pollmann 2000-11-29 02:26:11 +00:00
hyatt%netscape.com e4f2c01c73 Move menulist entirely into XBL. a=ben 2000-11-28 08:52:36 +00:00
radha%netscape.com 511aef5ef9 Fixing tree bustage 2000-11-28 00:01:16 +00:00
radha%netscape.com 26b6038136 Fix for bug # 54739 r/sr=rpotts 2000-11-27 23:10:09 +00:00
ben%netscape.com d1dfc1a140 Mutation event files. r=joki, a=brendan 2000-11-27 08:27:09 +00:00
hyatt%netscape.com 56d558b610 Patch for 55595. r=joki, a=brendan 2000-11-27 07:55:20 +00:00
cls%seawood.org 8bd122b3d5 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 39f19e239d 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 1dcf3dadae 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 d0b89dae82 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 cfeb696929 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 e0c292d77e Fix for 54203. r=saari, a=brendan 2000-11-04 08:21:20 +00:00
cls%seawood.org 6a8cd353d0 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 d614795c29 Fix Mac bustage 2000-10-31 01:42:51 +00:00
javi%netscape.com 17ab493e70 Build nsIEntropyCollector.idl on UNIX platforms.. 2000-10-31 00:28:21 +00:00
locka%iol.ie 5f774fe6de 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 ed4f115c1a 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 34fca89b45 bugzilla 58153: optimized target now generates a symbol file (trunk) 2000-10-30 21:56:05 +00:00
warren%netscape.com 4189314fdb 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 6e35f97e31 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 6a0d6a4d32 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 f5767882c1 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 54e2b01df6 Bug 13871: Frameset spoofing - cleanup unneeded DOM interface. r=jst, sr=vidur 2000-10-24 04:35:25 +00:00
mstoltz%netscape.com 5dfbedf2ee Bug 56851, regression in XPInstall dialog. r=jst, sr=vidur 2000-10-19 22:21:57 +00:00
pollmann%netscape.com 87208694ab Bug 13871: Prevent frameset spoofing r=mstoltz, sr=mscott, a=rpotts 2000-10-19 10:25:49 +00:00
danm%netscape.com 0f197b79fa 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 12a5d22ea2 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 36a7dbfed7 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 7295cea115 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 5bc58bee86 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 4c0628eb23 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 ebcf38978f 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 50cb267dc7 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 09cb6cfb57 48758. r=ben,saari, a=waterson 2000-09-22 05:31:36 +00:00
hyatt%netscape.com 957c151659 48758. r=ben,saari, a=waterson 2000-09-22 05:02:20 +00:00
dveditz%netscape.com c37711459a 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 d0da497c64 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 940c5078d1 Fixing 52497, security problem in document.implementation, r=jst a=brendan 2000-09-20 23:38:28 +00:00
locka%iol.ie 69fd02310b 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 9a938e886f 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 9268317f8e 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 8a1bbbb5dc fixing focus bugs for 53017. r=hyatt 2000-09-19 03:14:31 +00:00
sean%beatnik.com fa0c720425 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 feed45599c 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 a8ee9b4e11 Fix bug 47022 by fixing typo in mousemove listener registration. r: jst 2000-09-15 06:07:51 +00:00
dbaron%fas.harvard.edu bf8a8ed6e7 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 50ce6d6e76 removing old domselection moving it to layout\base\public as xpidl 2000-09-14 11:51:06 +00:00
mjudge%netscape.com a2fa9edcb5 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 af37f4c11d 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 145632c84d 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 0031679c0b 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 6cc70ebd6c 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 1622c11a3a 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 4db0015fc1 Added scrollByLines, scrollByPages methods to DOM window object. b=46858,r=valeski 2000-09-13 13:06:07 +00:00
scc%mozilla.org 1af2811cca 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 d2b859ab77 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 3f6567dd27 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 3bcaf0be9a 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 f97c949fe6 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 97140a0ffb Binding detached. r=pavlov 2000-09-08 06:59:14 +00:00
jst%netscape.com 122821ede3 Fixing regression wrt setting window.location='xxx'. r=rpotts&vidur 2000-09-08 04:21:29 +00:00
dbaron%fas.harvard.edu bf55edb8b4 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 af6a256dca 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 4a6d04b092 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 05d632dff6 Turning on JS strict option in debug builds, a/r=brendan, bug 50645 2000-09-07 10:51:59 +00:00
hyatt%netscape.com f542d90ef4 Adding originalTarget to Event object. r=joki 2000-09-07 01:07:29 +00:00
brendan%mozilla.org 7d1c25e1d7 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 2fcc6183e5 loadBindingDoc 2000-09-05 07:28:32 +00:00
hyatt%netscape.com f87d7d54cf Update loadBindingdoc 2000-09-05 07:27:56 +00:00
hyatt%netscape.com ed413a3533 Update loadBindingDoc, r=ben 2000-09-05 07:27:24 +00:00
hyatt%netscape.com c183edf46f Update loadBindingDoc. r=ben 2000-09-05 07:27:06 +00:00
bryner%uiuc.edu a378511c85 Fixing bug 50058 - too many onSelect firings. r=hyatt. 2000-09-02 18:59:39 +00:00
brendan%mozilla.org 79a3bc7e9c One-line comment addition, to match surrounding paragraphs that have comments. 2000-09-02 04:19:45 +00:00
brendan%mozilla.org aa7e72f7fc 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 6e2274d98e 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 57319c5faf 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 d74ced9377 partial fix for 49498. r=nisheeth. 2000-09-01 21:29:48 +00:00
locka%iol.ie 683c6bca51 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