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

2083 Коммитов

Автор SHA1 Сообщение Дата
jst%netscape.com 274e8c74c1 Fixing one more part of bug 52334. Make onload handlers fire on hidden iframes. r=axel@pike.org, sr=vidur@netscape.com 2002-05-29 17:56:50 +00:00
jst%netscape.com 498936053d Whitespace changes only, die tabs, die! 2002-05-28 22:55:39 +00:00
jst%netscape.com b52d7c12c9 Backing out part of the fix for bug 143369 as a fix for bug 146333. Don't make ChromeWindow's prototype immutable. 2002-05-23 05:39:27 +00:00
jst%netscape.com 38063b4020 Queting down compiler warning... 2002-05-22 00:39:21 +00:00
jst%netscape.com 625482c4f1 Fixing security bug 143369. Plug security holes that let webpages fake their origin. r=brendan@mozilla.org, mstoltz@netscape.com, sr=jband@netscape.com 2002-05-22 00:34:01 +00:00
timeless%mac.com 33c6c4e5d5 Bug 145589 we call a getter with null, which crashes winEmbed
r=jkeiser sr=jst

<timeless> *shrug* i'm not actively trying to defend this patch, it's the
right thing to do for the given contract
<jkeiser> timeless: I dunno, doing *x = blah; when you don't need to do
it is definitely more expensive than if (!x)
<timeless> you aren't even allowed to do what you suggest, the
contract explicitly forbids it
[clarification, the caller isn't allowed to rely on this]
if i tried to do what you suggest, shaver would kill me :)
<jkeiser> timeless: so shaver is the guy to ask here?
<timeless> yeah if you're concerned about it
if you care measure. i care about crashing and contract violations
the contract was (out foo). which according to what shaver said
when i asked him and my memory of that, didn't allow 0.
<shaver> it doesn't allow 0
<jst> right
<shaver> we check it all over the place in the code, because we're sheep
<dmose> baaa
2002-05-20 20:06:29 +00:00
jst%netscape.com a3758e6b7f Fixing bug 131841. Don't make calls on weak XPCOM (nsIPresShell in this case) pointers since the objects might go away during the call, this lead to a crash in this particular case. r=sicking@bigfoot.com, sr=vidur@netscape.com, brendan@mozilla.org 2002-05-18 00:02:50 +00:00
jst%netscape.com 277cd8403f Fixing bug 141442. Make window.openDialog() overridable from web content, and move the security check into the actual method implementation. r=mstoltz@netscape.com, sr=jband@netscape.com 2002-05-17 22:24:06 +00:00
av%netscape.com 63666b7227 Fixing 143178 -- refreshing plugins before going to the plugin finder sevice, r=peterl, sr=beard 2002-05-16 20:41:26 +00:00
dougt%netscape.com e96df2ad1b Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
caillon%returnzero.com c915a8cf43 Initial implementation of DOM Level 3 Core methods Node.compareTreePosition() and Node.isSameNode(), Bug 139344, r=jkeiser, sr=jst 2002-05-14 01:28:17 +00:00
jst%netscape.com 2ceb32b8a1 Fixing bug 143088. Freezing nsIDOMWindow, nsIDOMWindowCollection, and nsIDOMBarProp. r=fabian@bluishgecko.net, sr=vidur@netscape.com 2002-05-08 21:55:48 +00:00
rods%netscape.com b850da33e8 Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi
2002-05-07 12:03:37 +00:00
timeless%mac.com 5cbbff26b4 Bug 141813 add javadoc comments to idl so people can get useful info from them
nsIDOMEvent.idl nsIDOMEventListener.idl nsIDOMEventTarget.idl
r=fabian sr=jst
2002-05-03 19:57:42 +00:00
ben%netscape.com c4694d442f [Chrome FastLoad]
Patch from jst to prevent crash on shutdown.
r=ben, sr=brendan
2002-05-03 03:02:07 +00:00
jst%netscape.com c91f2558c2 Backing out a small security related part of the last fix for bug 118933 that wasn't needed. 2002-05-02 21:21:58 +00:00
jst%netscape.com 5909fbe828 Fixing one more part of the DOM performance bug 118933. Cache the properties 'document' and 'window' on the global object in JS to avoid needing to go through XPConnect every time these are accessed. 2x speedup on some DOM testcases where the bulk of the time we spend is in the JS engine and XPConnect. r=peterv@netscape.com, sr=vidur@netscape.com 2002-04-27 00:03:47 +00:00
hyatt%netscape.com 5c9121b9b8 Fix for 139574, wrong user agent specifics on mach-o builds. r=bryner, sr=darin 2002-04-24 00:55:53 +00:00
jaggernaut%netscape.com 43c849a706 Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux. 2002-04-20 01:48:32 +00:00
jst%netscape.com d6949fadc9 Fixing bug 80083. Making sure window.navigator doesn't get GC'd during the lifetime of a document. r=fabian@bluishgecko.net, sr=vidur@netscape.com 2002-04-20 00:04:33 +00:00
joki%netscape.com 561d97d9b1 Fix for bug 124990 , Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface). These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
2002-04-19 02:53:22 +00:00
joki%netscape.com ab75e3f4ce Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface).  These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
2002-04-19 02:52:01 +00:00
danm%netscape.com a395b44008 make blur() available to embedded apps. bug 57841 in its third avatar r=jst,scc a=valeski 2002-04-18 21:50:11 +00:00
jst%netscape.com 21ff37f2ef Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
peterv%netscape.com 02e9bfd150 Fix for bug 132300 (Need a better way to bootstrap an XPathEvaluator). r=pike, sr=jst. 2002-04-16 11:57:17 +00:00
caillon%returnzero.com 939ebf6997 Bug 117707. Disabling most of the prefs in Edit>Prefs>Advanced>Scripts/Windows was causing real JS scripts to break because it used CAPS. Move the checks for these features into C++, with new prefs. Patch by doronr@naboonline.com (initial work) and caillon@returnzero.com. r=fabian sr=jst a=asa. 2002-04-12 10:11:00 +00:00
hyatt%netscape.com 7402d05fb4 Fix for 136985, add api for finding out if a global window is running a timeout or still loading, r=jst, sr=blake 2002-04-12 02:15:43 +00:00
sicking%bigfoot.com a57f4d46e0 Fix for bug 132302: Return the right exception for DOM Range. Fix by peterv.
r=Pike, sr=jst
2002-04-10 13:38:30 +00:00
aaronl%netscape.com 837f42b949 Bug 124234. Active Accessibility: doDefaultAction not working on html buttons. r=jkeiser, sr=jst, a=asa 2002-04-05 23:49:42 +00:00
timeless%mac.com 2f543f9a66 http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com 0a42ceaaf0 Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 22:42:19 +00:00
jst%netscape.com 96d1e84dc6 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2002-04-04 07:31:16 +00:00
jst%netscape.com af0cf0c5e7 Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 02:09:19 +00:00
aaronl%netscape.com 678e7ec0af Bug 128025. Confirm dialog for caret browsing. r=akkana, bryner, sr=hewitt, a=asa 2002-04-02 01:56:12 +00:00
hewitt%netscape.com 07d96867f1 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +00:00
jst%netscape.com 42d3d42f56 Fixing bug 132904. Making window.clearTimeout() and .clearInterval() callable with no argument and with an undefined argument for backwards compatibility. r=sicking@bigfoot.com, sr=jband@netscape.com, a=dbaron@fas.harvard.edu 2002-03-27 00:55:57 +00:00
jst%netscape.com 5023c205ce Fixing bug 131311. Making window.scrollX and .scrollY replaceable for backwards compatibility. r=hidday@geocities.com, sr=jband@netscape.com, a=dbaron@fas.harvard.edu 2002-03-27 00:02:25 +00:00
bryner%netscape.com f2bcde7f5c Second try at fixing bug 130778. Create a new content interface, nsIMenuElement, which is implemeneted on nsHTMLSelectElement, nsHTMLOptGroupElement, and the newly-created nsXULMenuElement. Create a nsXULMenuElement instance for XUL menubar and menupopup tags. Use this interface to set and get the active item from the XUL menuframe code and the :-moz-menuactive pseudoclass matching code. Should eliminate the Txul slowdown resulting from fetching the active item through js from the pseudoclass matching code. r=jkeiser, sr=jst, a=scc. 2002-03-24 22:38:21 +00:00
dbaron%fas.harvard.edu 9c55382a01 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 01:02:53 +00:00
dbaron%fas.harvard.edu 40db78b748 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 00:49:22 +00:00
dbaron%fas.harvard.edu 2ce0e7fae7 Make nsIFocusController.h build without nsAString.h included first to prevent future bustage of the same type. b=131899 2002-03-24 00:27:42 +00:00
dbaron%fas.harvard.edu 92aa754e0a Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 00:16:18 +00:00
jst%netscape.com 090681fd34 Fixing topcrash bug 131725. Make nsLocation deal with null URI's from the nsIWebNavigation implementation. r=adamlock@netscape.com, sr=darin@netscape.com, a=asa@mozilla.org. 2002-03-23 00:48:40 +00:00
andreas.otte%debitel.net 0b19287cac fix bug 104081 [javascript: URL cant submit because of %20 instead of
SPACE] the script in a javascript url was not getting unescaped before
being evaluated by the js engine, r=jst, sr=darin, a=asa
2002-03-22 21:41:06 +00:00
caillon%returnzero.com 6ced451a8d Bug 119807, Computed color values should support getRGBColorValue(). r=bzbarsky, sr=jst, a=asa 2002-03-22 20:18:42 +00:00
bryner%netscape.com 0fb5a715ab Backing out my checkin from earlier (bug 130778), it seems to be the culprit for the Tp increase. 2002-03-21 07:33:51 +00:00
darin%netscape.com 819ce1f98f b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
bryner%netscape.com 93114688c3 Bug 130778 - fixing Txul regression from changing 'menuactive' attribute to :-moz-menuactive pseudoclass. Get the menuactive state from the frame instead of the content node so that we don't have to call through xpconnect and js. r=dbaron, sr=hyatt, a=asa. 2002-03-20 22:48:24 +00:00
locka%iol.ie 944c7aa6fc Append [JavaScript Application] to the title of alert/confirm/prompt dialogs posed by ordinary JS. b=31573 r=danm@netscape.com sr=blaker@netscape.com a=asa@mozilla.org 2002-03-20 11:23:13 +00:00
hidday%geocities.com 2776cf256b Moving the patch for bug 122726 "Unable to enumerate the form elements
by using for/in" to the right place in the file. No code change.
r=hidday@geocities.com sr=jst@netscape.com a=asa@mozilla.org
2002-03-20 08:01:54 +00:00
heikki%netscape.com 01edb62f44 Bug 126473, make sure we initialize variables before using them. r=peterv, sr=jst, a=asa. 2002-03-19 01:46:38 +00:00
peterv%netscape.com aa17b929a9 Fix for bug 103235 (Implement DOM Level 3 XPath WD). r=sicking, sr=jst, a=dbaron. 2002-03-14 12:18:04 +00:00
peterv%netscape.com f16c40594e New files for bug 103235 (Implement DOM Level 3 XPath WD). r=sicking, sr=jst, a=dbaron. 2002-03-14 11:12:51 +00:00
shanjian%netscape.com 1af020bc91 #128825 Browser crash if I view an image
There is no semantic difference in this part of the change. Major one
is in nsUnicodeToUTF8.cpp

r=ftang, sr=jst, a=shaver
2002-03-14 00:40:59 +00:00
jkeiser%netscape.com 4f8479fdf7 pete.zha@sun.com: add form elements into for x in form enum (bug 122726), r=jkeiser, sr=jst, a=asa 2002-03-13 02:56:40 +00:00
dougt%netscape.com cc451cc48d Fixes 127918. Mime Service was being accessed from a non-ui thread. This causes all kinds of problems. Found that content type is not needed while opening most stream io's. Removes content type result from nsIStreamIO::Open(). Added atrribute content type nsIStreamIO. Fixes callers. r=gordon@netscape.com, sr=darin@netscape.com, a=asa@mozilla.org. 2002-03-13 00:34:54 +00:00
bryner%netscape.com f0da73b96a Changing XUL menus to use a :-moz-menuactive pseudoclass rather than a menuactive attribute for styling the active item. This will allow XBL select widgets to not modify the HTML DOM. Bug 128947, r=dbaron, sr=hyatt, a=asa. 2002-03-12 21:49:23 +00:00
aaronl%netscape.com 1bcc2ad716 Fixes bug 66597, bug 103284, bug 114440, bug 120023, bug 128741, bug 19259. Cleans up browse with caret, makes it work with XML content docs, creates keyboard toggle for it (Accel+shift+K), synchronizes focus and document selection so that users can tab navigate relative to their last find or click in text, or vice versa, makes tabbing move relative to named anchor that has been jumped to. r=bryner, sr=alecf, a=asa 2002-03-10 06:21:48 +00:00
rginda%netscape.com 7b3cd45921 Bug 126224, "NY Times web sites creates pop-up windows even if that feature is disabled"
sr=jst, r=mstoltz, a=asa
Add "dom.disable_open_click_delay" pref to control how soon a window.open() call has to happen after a mouse button event in order for it to succeed.  Calls to window.open() that happen after this time has passed are denied.  Units are time in milliseconds.
2002-03-08 21:48:28 +00:00
darin%netscape.com 026dda9f95 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
ducarroz%netscape.com 35d4b4fddc Fix for bug 109081. IsEnable/GetEnable should return true by default and not false. That will avoid the regression 128659 caused by my previous checking for 109081. R=bryner, SR=blizzard, A=blizzard 2002-03-04 22:50:11 +00:00
ducarroz%netscape.com 2aaaac1acf Back out my previous checkin for bug 109081 because it cause bug 128659. R=n/a, SR=n/a, A=n/a 2002-03-04 14:44:31 +00:00
shaver%mozilla.org 54e957eedf Missed a few references to the unioned members (more btek fixage). 2002-03-04 03:47:08 +00:00
shaver%mozilla.org 42e4c4767a Rest of btek bustage fix (union is aggregate type, wants braces around
initializer).
2002-03-04 03:42:57 +00:00
shaver%mozilla.org 051b73ea64 Attempt to fix btek bustage by naming the union. a=tinderbox. 2002-03-04 03:37:18 +00:00
peterv%netscape.com 57fc575a5c Fix for bug 92377 (Build failure: dom/src/base/nsDOMClassInfo.cpp depends on extensions/xmlextras). r=shaver, sr=jst, a=asa. 2002-03-04 02:25:08 +00:00
ducarroz%netscape.com 9db5646893 FIx for bug 109081. Do not try to activate or set the focus on a disabled window. R=rods, SR=alecf, A=asa 2002-03-02 21:07:32 +00:00
morse%netscape.com 2bc8fd2d2b bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz 2002-03-02 01:49:30 +00:00
mstoltz%netscape.com 5db3c92b53 Bug 127938 - chrome scripts should be exempt from the security check put in for
bug 105050, on access to the opener property when the opener is a mail window.
r=pavlov, sr=jst, a=leaf.
2002-02-28 00:22:59 +00:00
brade%netscape.com f13b8df07c add vk_help constant; bug 124393; r=joki; sr=sfraser; a=roc 2002-02-27 18:44:48 +00:00
mstoltz%netscape.com c9cc21b1f1 partially backing out my last change - weird dependency problem 2002-02-26 05:28:26 +00:00
mstoltz%netscape.com 7b15894b8c 32571, present confirmation dialog before allowing scripts to close windows.
105050, pass null window.opener when opener is a mail window.
both r=heikki, sr=jst, a=asa.
Backed out previously because of tinderbox problem, which should be fixed now.
2002-02-26 04:50:21 +00:00
hidday%geocities.com c285f570ee Bug 93649, document.plugins should map to document.embeds for NS4
compatibility. r=bzbarsky@mit.edu sr=jst@netscape.com a=roc+moz
2002-02-21 12:21:15 +00:00
hewitt%netscape.com 2e2dac20fe 68136 - Mozilla should have a Full-screen mode, r=ben, sr=jst/jag 2002-02-20 03:33:52 +00:00
dbradley%netscape.com f4fbed4e14 Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst 2002-02-19 14:48:00 +00:00
cathleen%netscape.com 93709bacaa eliminate nsCRT::strlen for char* strings (part 1), bug 124536 r=dp sr=brendan 2002-02-19 07:36:56 +00:00
mcafee%netscape.com dbe661a6ae Backing out mstoltz. r=dbaron,jrgm 2002-02-19 04:06:53 +00:00
mstoltz%netscape.com 7446e86422 Bug 105050 - return null window.opener to scripts if opener is a mail window.
Bug 32571 - Prompt user before allowing scripts to close windows if opener is null.
both r=heikki, sr=jst.
2002-02-19 01:09:45 +00:00
danm%netscape.com cfe85b06b7 reimplement window scrollbar chrome attribute. oh and revert the damn nonstandard indentation tbogard snuck in in rev 1.5. bug 111524 r=hyatt,jst 2002-02-16 01:15:57 +00:00
danm%netscape.com 166addbb54 reimplement window scrollbar chrome attribute. bug 111524 r=hyatt,jst 2002-02-16 01:15:52 +00:00
mstoltz%netscape.com 13c8dad931 Bug 119646 - Rewrite of the security manager policy database for improved
performance. r=jst, sr=jband.
2002-02-13 04:20:46 +00:00
ccarlen%netscape.com 9285546c83 Bug 115334 - Removing .mcp files which are obsolete after XML conversion. r=jj/sr=sfraser 2002-02-12 15:41:41 +00:00
av%netscape.com e6d5b271bb Fixing bug 119621 -- plugins refreshed only every other time, r=peterl, sr=beard 2002-02-11 23:09:38 +00:00
jst%netscape.com b8fe24cf46 Checking in Fabian Guisset's <hidday@geocities.com> fix for bug 30529. Implement window.minimize(), .maximize() and .restore() for chrome windows, and split chrome specific window methods/attributes into its own nsIDOMChromeWindow interface. r=heikki@netscape.com, sr=jst@netscape.com 2002-02-09 03:36:55 +00:00
jst%netscape.com f13e0fde88 Adding nsIDOMChromeWindow.idl to the build, part of Fabian's fix for bug 30529. r=heikki@netscape.com, sr=jst@netscape.com 2002-02-09 03:22:24 +00:00
jst%netscape.com b1bba17c47 Adding nsIDOMChromeWindow.idl to the build, part of Fabian's fix for bug 30529. r=heikki@netscape.com, sr=jst@netscape.com 2002-02-09 03:16:57 +00:00
jst%netscape.com 25c9435991 Removing a nasty shortcut that I left in when fixing bug 116834. r=rginda@netscape.com, sr=blaker@netscape.com 2002-02-09 02:48:31 +00:00
rginda%netscape.com aece29288c bug 124076, "nsJSProtocolHandler.cpp doesn't set filename", sr=shaver, r=jband
compile javascript: urls with an appropriate filename/line number
2002-02-08 01:06:25 +00:00
axel%pike.org 4f8947bf88 bug 120055, new SomeDOMElement() should throw exception. If your object supports creation from scratch, supply an external constructor to DOMCI. Added static nsDOMClassInfo::ThrowJSException to throw js exception for an nsresult. r=peterv, sr=jst 2002-02-07 10:50:42 +00:00
jst%netscape.com e3dba63921 Fixing bug 123003. Adding support for window.atob() and window.btoa(). r=bzbarsky@mit.edu, sr=vidur@netscape.com 2002-02-06 04:37:26 +00:00
danm%netscape.com dbbdc05407 new method GetExtantDocument. bug 36016 r=hyatt,pinkerton 2002-02-06 03:48:20 +00:00
jst%netscape.com ffa06ba01c Fixing bug 123078. Making document.<n> === document['<n>'] for backwards compatibility reasons. r=peterv@netscape.com, sr=rpotts@netscape.com 2002-02-05 06:44:04 +00:00
jst%netscape.com b16f1dd188 Whitespace cleanup... 2002-02-05 06:04:56 +00:00
jst%netscape.com 60d1308df5 Fixing bug 116834. Making element.innerHTML='...<script>...</script>...' not execute the script, this makes mozilla compatible with IE wrt innerHTML and execution of scripts. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-02-05 05:53:56 +00:00
jst%netscape.com b32c4770ff Fixing bug 115352. Making FlushPendingNotifications() properly flush the parent document as well if there is one. This causes layout data in iframes to not always be up to date since iframe sizes are dependent on the parent being reflown. r=peterv@netscape.com, sr=rpotts@netscape.com 2002-02-05 05:47:22 +00:00
jst%netscape.com 9f8b24a3a8 Fixing compiler warnings and defaulting line numbers to 0 in stead of (PRUint32)-1. sr=rpotts@netscape.com 2002-02-05 05:43:08 +00:00
jst%netscape.com 902577eefd Fixing bug 113856. Don't crash when resolving a name of a class w/o a primary iid. r=heikki@netscape.com, sr=vidur@netscape.com 2002-02-02 01:31:22 +00:00
rods%netscape.com 8e986bb801 fix ref count bloat
Bug 123011 sr=hyatt
2002-02-01 20:12:35 +00:00
rods%netscape.com 4a4dd9b44f 1) Removes the arg of nsIDOMWindow in the nsIWebBrowserPrint calls
2) Adds a couple of new methods and an attr to nsIWebBrowserPrint (navigate, is frameset, & exitPP)
3) Removes all but one method from nsIContentViewerFile.idl/h the remaining call is for print regression testing
4) Removes the "static" implementation of nsIContentViewerFile.h
5) Fixed up nsIContentViewerFile.idl and turned it back on so it is now generating the header file
6) Removed all uses of nsIContentViewerFile.h except for the WebCrawler (uses it for Printing Regression testing)
7) nsDocumentViewer.cpp now implements nsIWebBrowserPrint.idl this makes it easier to add new print functionality in one place
8) You can now ask an instance of the ContentViewer for a nsIWebBrowserPrint to do printing (it retruns the nsIWebBrowserPrint interface implemented by the nsDocumentViewer)
9) Anybody who was using nsIContentViewerFile to print will now use nsIWebBrowserPrint
10) You can now do a "GetInterface()" on a GlobalWindow for a nsIWebBrowserPrint
11) The browser UI now uses the GetInterface on the GlobalWindow to get a nsIWebBrowserPrint object to do printing and this can be used for all printing functionality
Bug 120622 r=dcone sr=waterson
2002-02-01 14:52:11 +00:00
sfraser%netscape.com d285f8f560 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
jst%netscape.com a30ce32d69 Adding new chrome only window interface. Not part of the build yet. 2002-01-28 21:52:30 +00:00
hyatt%netscape.com 66c663cd9d Removing some DEBUG_hyatt code. 2002-01-26 23:42:24 +00:00
rginda%netscape.com b876d6cabd bug 121171, CallEventHandler ignores mScriptsEnabled, r=brendan, sr=jst
do nothing, but return a positive result from nsJSContext::CallEventHandler if scripts are disabled on this context.
2002-01-24 13:25:46 +00:00
jst%netscape.com 5ba0abd81d Fixing bogus assertions caused by my checkins for bug 118933 and removing unnecessary double null check. trivial change, no reviews. 2002-01-17 22:12:28 +00:00
jst%netscape.com 623ec9212c Fixing HPUX bustage, NS_STATIC_CAST() can't be used with incomplete types. 2002-01-17 05:09:55 +00:00
jst%netscape.com 15825cf675 Fixing part of bug 118933. Speeding up the global resolve hook in the DOM JS helpers by eliminating the use of nsHashtable and nsStringKey in favor of pldhash. Adding global HashString(const nsA[C]String&) functions that calculate a hash code from a nsA[C]String, code by dbaron@fas.harward.edu. Also checking in brendan@mozilla.org's fix for a type error in the jsdhash/pldhash API found while working on this. sr=brendan@mozilla.org, r=peterv@netscape.com 2002-01-17 04:08:14 +00:00
law%netscape.com cbba0f9e53 Bug 85860; changing assertion to warning because the other change for this bug brings a new window to the foreground sooner and the assertion is annoying; r=danm, sr=jag 2002-01-16 06:43:45 +00:00
aaronl%netscape.com 462e4d90da Bug 70219. Add nsIDOMWindow::SetTextZoom() and nsIDOMWindow::GetTextZoom(), forwarded from nsIDOMMarkupViewer. r=valeski, sr=jst 2002-01-16 03:03:53 +00:00
danm%netscape.com a7d9879296 call embeddingwindow->SetFocus from Focus(). bug 57841 r=hyatt,saari 2002-01-16 00:11:51 +00:00
rods%netscape.com f781e47c9c added printWithSettings method for printing with PrintSettings
Bug 118352 r=dcone sr=jst
2002-01-15 01:11:16 +00:00
rods%netscape.com 255d6a44e7 Reviewing PrintSettings arguments from print and printpreview calls they should not have been added
Bug 118352 r=dcone sr=jst
2002-01-12 12:37:31 +00:00
hewitt%netscape.com 55a509e710 104401 - eliminate mOuter aggregate from nsXULElement, r=waterson, sr=hyatt 2002-01-12 01:20:29 +00:00
aaronl%netscape.com fc06116b5f Bug 119067. Add nsIDOMXULMenuListElement.idl, implement open property. r=jgaunt, sr=hyatt. Bug 119251 - Active Accessibility status bar shouldn't act like a leaf - need the ability to have children. r=jgaunt, sr=waterson 2002-01-11 03:48:02 +00:00
bzbarsky%mit.edu 4482269f37 Implement computed position and clip, make computed style not round
values, fix font-style to say "normal" instead of "", and some random
cleanup.  Bugs 116032, 116033, 94080, 98052
2002-01-11 00:15:55 +00:00
jband%netscape.com 7b31a5d4a3 part of fix to bug 114115. Let xpti avoid building interface infos that we don't actually need by giving it a clue about which ones we want. r=dbradley sr=jst 2002-01-10 23:52:10 +00:00
jband%netscape.com 7cbde371e4 part of fix to bug 114115. Old code was calling through a pointer without holding a reference. r=dbradley sr=jst 2002-01-10 23:45:06 +00:00
alex.fritze%crocodile-clips.com 3c86dfe6ba Remove files with too long (>31chars) names. (Replacements in tree already) 2002-01-10 12:14:24 +00:00
peterv%netscape.com c54f7751de Readding files with shorter names, mac doesn't like long names. Not part of the build. 2002-01-10 10:55:28 +00:00
bryner%netscape.com 0546a3c853 Bug 118859 - allow hooking up an XBL handler for a custom DOM event. r=hewitt, sr=hyatt. 2002-01-09 02:16:17 +00:00
jst%netscape.com 4d28df3da6 Make 'dom.disable_open_during_load' only disable window.open in content windows, not in chrome windows. r=rpotts@netscape.com, sr=brendan@mozilla.org 2002-01-08 09:19:01 +00:00
alex.fritze%crocodile-clips.com 3cd7dd9df0 [SVG only] Add DOM interfaces needed for SVG text support. 2002-01-07 13:52:14 +00:00
peterv%netscape.com 6b373f1edc Fix for bug 114975 (location.hash fails within multipart/x-mixed-replace). Don't call nsIWebNavigation->Stop from SetHash. r=sicking, sr=jst. 2002-01-07 10:13:08 +00:00
bryner%netscape.com 01e4861b8d Initial checkin of XBL select widget (listbox) code (bug 112713).
Summary of changes:
- Removed old XBL form control cruft.
- Made nsOutlinerContentView accessible from content scripts.
- Created a new interface, nsIDOMNSXBLFormControl which exists to allow a
select element to have an outliner box object.
- Factored out nsChildIterator into its own file.
- Added support to the outliner content view for having option elements
directly inserted in the outliner.
- Cleaned up pixel/twip conversions in outliner.
- Added support for intrinsic width for outliner.

r=jag, sr=hyatt.  Note that the new select widget is NOT turned on by
default.
2002-01-05 07:17:10 +00:00
danm%netscape.com 0ad2e74bf5 blur method now defers to the tree owner. bug 57841 r=bryner,rpotts 2002-01-05 02:20:55 +00:00
rods%netscape.com 1fde5f13f3 Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi
2002-01-01 12:58:53 +00:00
seawood%netscape.com e5fc3853f2 nsRect's win32 signature requires libraries need to link against libgkgfx for debug builds.
Added support for processing .rc to win32 gmake build.
Bug #58981
2002-01-01 00:03:57 +00:00
timeless%mac.com 711739d601 Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
mkaply%us.ibm.com 96d8479a77 OS/2 bustage 2001-12-20 16:56:42 +00:00
jst%netscape.com e1b7f01e77 Fixing bug 111752. DOM0 quirk, document.open() when called with 3 or more arguments should call window.open() to make calls to 'open(url, name, features);' when called from within the document scope open a new window. r=hidday@geocities.com, sr=brendan@mozilla.org. 2001-12-20 10:16:25 +00:00
heikki%netscape.com 1ad96d6103 Bug 74800, implemented FIXptr. r=harishd, sr=vidur. 2001-12-20 05:15:52 +00:00
seawood%netscape.com 874c54280c Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
bryner%netscape.com bbbec2d253 Adding a new interface to allow select elements to have an outliner box object. Not part of the build. 2001-12-17 11:21:12 +00:00
jaggernaut%netscape.com 2df17e0579 Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com 1886ca82f6 Remove timer from REQUIRES. r=pavlov 2001-12-16 17:02:31 +00:00
jaggernaut%netscape.com 6ab111155d Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
seawood%netscape.com 3738d752bc Make OS/2 use the win32 build changes and finish LIB_PREFIX substitution.
Thanks to Javier Pedemonte (pedemont@us.ibm.com) for the patch.
Bug #58981 r=cls
2001-12-14 23:49:04 +00:00
bbaetz%cs.mcgill.ca 43806ea8b2 Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT
2001-12-12 07:59:31 +00:00
jst%netscape.com 9ffa07fd07 Fixing bug 112217. Moving nsIDOM3Node into its own file since nsIDOMNode.idl is technically frozen, but the interface nsIDOM3Node is not. r=peterv@netscape.com, rs=jband@netscape.com 2001-12-12 05:58:44 +00:00
jst%netscape.com ab2f7a6786 Breaking out nsIDOM3Node into its own file. Not part of the build yet. 2001-12-12 05:06:07 +00:00
varada%netscape.com d62331c126 fix for 112707;crashing on cancel create filter -caused by null point check in RunTimeout;r=ducarroz;sr=jst 2001-12-12 01:01:38 +00:00
mstoltz%netscape.com 15ea4ed59c Bug 52920 - allow cross-origin access to the frames array and the top, parent,
length, and opener properties. patch by jst. r=mstoltz, sr=brendan.
2001-12-11 21:07:36 +00:00
ccarlen%netscape.com b4f1e83674 Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser 2001-12-11 04:54:47 +00:00
ccarlen%netscape.com d360173601 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 20:42:22 +00:00
ccarlen%netscape.com 2d15ad27bc Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 20:25:12 +00:00
jst%netscape.com 117e1271b9 Fixing bug 110798. Freezing the interfaces nsIDOMEvent, nsIDOMEventListener, nsIDOMEventTarget and nsIDOMDocumentEvent. r=harishd@netscape.com, sr=jband@netscape.com 2001-12-06 06:57:03 +00:00
jst%netscape.com e0e782d624 added files: mozilla/dom/public/idl/events/nsIDOMNSEvent.idl 2001-12-06 03:44:22 +00:00
jst%netscape.com 3581a14b2d Adding new event interface to the build, part of bug 110798. r=harishd@netscape.com, sr=jband@netscape.com. Not used just yet. 2001-12-06 03:44:02 +00:00
jst%netscape.com c7570b9af5 Adding new interface for non-standard event methods/attributes. Not part of the build yet. 2001-12-06 03:40:54 +00:00
leaf%mozilla.org 99e99b9ff7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
jst%netscape.com 1a1b3ed3f0 Fixing bug 113008. Marking nsIDOMNodeFilter as a 'function' so that JS functions can be passed as nsIDOMNodeFilters. r=dbaron@fas.harvard.edu, sr=jband@netscape.com 2001-12-01 09:24:36 +00:00
jst%netscape.com fe6feb824a Adding 'raises(...)' to a few methods to make our interfaces match the W3C DOM Events ones closer. No review, these changes are meaningless in mozilla for now. 2001-12-01 06:45:32 +00:00
jst%netscape.com 39203e91b5 Whitespace changes to make these interfaces match the styling in the other DOM interfaces. 2001-12-01 06:36:12 +00:00
rpotts%netscape.com a33a19e3d1 bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes... 2001-11-30 22:35:33 +00:00
locka%iol.ie d4539e7863 Make LiveConnect optional once more. b=112215 r=leaf@mozilla.orf sr=shaver@mozilla.org 2001-11-27 20:32:26 +00:00
chak%netscape.com 044e106931 Fix for #110795 - Freeze core DOM interfaces
r/sr=jst
2001-11-27 19:18:00 +00:00
jst%netscape.com 00591cffc1 Fixing bug 42321. Delaying GC's two seconds when leaving a page (which is done when opening a window too), and don't start GC'ing until 10 seconds after the first request. r=bzbarsky@mit.edu, sr=brendan@mozilla.org 2001-11-27 09:46:38 +00:00
jst%netscape.com d355dd941a Fixing part of bug 111213. Make nsIScriptContext::SetScriptsEnabled() 'restart' scripts if they were turned off earlier in this context (print preview relies on this). r=jkeiser@iname.com, sr=jband@netscape.com 2001-11-27 09:18:28 +00:00
jst%netscape.com b6f3487faf Comment change... 2001-11-22 06:12:20 +00:00
jst%netscape.com 77a0957643 Adding comments per brendan@mozilla.org's request in bug 111361. 2001-11-22 04:58:09 +00:00
jst%netscape.com 76efac98b4 Fixing bug 111361. nsGlobalNameStruct::mDOMClassInfoID is only valid on nsGlobalNameStruct's whose mType == eTypeClassConstructor. r=bbaetz@cs.mcgill.ca, sr=jband@netscape.com 2001-11-22 03:11:58 +00:00
jst%netscape.com 78526eafad Ahem... 2001-11-22 02:56:22 +00:00
seawood%netscape.com d8927fcc61 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
mstoltz%netscape.com a25a8212b3 bug 105705, take 2: Replace global property security-check optimization
rewritten more conservatively, merge doCheckReadAccess and doCheckWriteAccess,
and pass real property names into the security manager instead of "scriptglobals."
r=brendan, sr=jst.
2001-11-20 23:15:32 +00:00
aaronl%netscape.com 3667bef2b8 Bug 109851, bug 108629, bug 109921, bug 109977, bug 109153, bug 109187, bug 109213, bug 109221. Check in latest XUL accessibility support - menus, <colorpicker>, <progressmeter>, <groupbox>, mixed states for checkboxes, buttons that can be 'checked' ie pressed down, fixes extra MSAA events being generated, couldn't see HTML content 2001-11-20 02:05:26 +00:00
jgaunt%netscape.com 7a702bad66 mcp files for bug 108629 and bug 109221 latest round of accessibility support r=jgaunt sr=sfraser 2001-11-20 02:03:03 +00:00
seawood%netscape.com 2e3dd4db41 /usr/builds/tinderbox/SeaMonkey/BSD_OS_4.2_Depend/mozilla/dom/src/base/nsDOMClassInfo.h:102: ANSI C++ forbids declaration `IsReadonlyReplaceable' with no type 2001-11-18 12:05:57 +00:00
jst%netscape.com 18f5fc256f Fixing bug 110397. Making the read-write properties innerHeight, innerWidth, outerHeight, outerWidth, screenX, screenY, status, and name 'replaceable' by making assignment to these properties replace the real properties if the propery name is not fully qualified when doing the assignment. This is an attempt at fixing backwards compatibility problems where these properties are used a global variables (which worked in NS4x). r=peterv@netscape.com, rs=vidur@netscape.com, sr=brendan@mozilla.org 2001-11-18 06:45:10 +00:00
bzbarsky%mit.edu 3c8e735779 Set referrer correctly when a document is loaded by setting
location.href. Bug 109319, r=fabian, sr=jst
2001-11-17 17:26:18 +00:00
danm%netscape.com 8f7d1a120c reenable lazy instantiation of mDocument from rev 1.459 now that the leak has been plugged. r=jst,rpotts 2001-11-17 05:22:05 +00:00
bzbarsky%mit.edu be96ac278e Make various location.href and anchor href properties writable (NS4
compat).  Patch from Christian Biesinger (cbiesinger@web.de),
r=bzbarsky, sr=jst
2001-11-17 02:23:22 +00:00
danm%netscape.com 2c09d73c86 temporarily disabling lazy instantiation of mDocument and stuffing some 6K of bloattest leaks back into the box 2001-11-16 06:38:01 +00:00
jst%netscape.com ffd5bcd29b Disabling security check optimization since it exposes security problems. rs=jband@netscape.com 2001-11-16 03:14:05 +00:00
jst%netscape.com d640e279aa Putting back security check optimization that was taken out a few weeks ago, will disable this check until the real fix comes along. rs=jband@netscape.com 2001-11-16 03:12:12 +00:00
danm%netscape.com 2fe85043bf lazily instantiate mDocument. bug 88229 r=jst,rpotts 2001-11-16 02:14:53 +00:00
alecf%netscape.com 52cd89e71b win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
nhotta%netscape.com e8d65cfa2a Changed location.href to force escape 8 bit if the href contains 8 bit, bug 40469, r=ftang, sr=jst. 2001-11-14 23:45:23 +00:00
hewitt%netscape.com d965b16246 108757 - dispatch DOM events for mouse wheel scrolling, r=?, sr=? 2001-11-14 10:06:21 +00:00
bryner%netscape.com 7450bd55e1 Fixing smoketest blocker 109870 - crashes when favicon doesn't exist. r=dbaron ,sr=hyatt. 2001-11-13 23:35:12 +00:00
dbaron%fas.harvard.edu 5556328edb Tweak XP_MACOSX ifdefs to fix keyboard shortcuts (partly), context menus, and hidden window behavior and build the mac classic skin in the Mach-O build. b=109165 r=pinkerton sr=beard 2001-11-10 23:30:13 +00:00
jst%netscape.com 78b5eaf583 Checking in Fabian's <hidday@geocities.com> patch for bug 105640. Add support for IE's document.compatMode property. r=sicking@bigfoot.com, sr=jst@netscape.com 2001-11-10 07:36:19 +00:00
jst%netscape.com 67fb6169dc Fixing compiler warning, unused variable (debug only). This was pointed out by hidday@geocities.com 2001-11-08 21:50:47 +00:00
jst%netscape.com 49f1c4e12b Fixing bug 92071. Making sure DOM objects that don't have a class interface (such as <span> elements, there is no nsIDOMHTMLSpanElement) get their prototype chain properly set up. r=hidday@geocities.com, peterv@netscape.com, sr=jband@netscape.com 2001-11-07 07:52:41 +00:00
dbaron%fas.harvard.edu 261f76a8ba Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
mstoltz%netscape.com a6e65c4117 Bug 105705, temporary fix. Remove security check optmization
from global property access. sr=jst, r=harishd. We will find
a better fix that preserves the optimization, this fix is temporary.
2001-11-06 05:04:36 +00:00
jgaunt%netscape.com 78134a2f5d bug 108219 fixing filenames so mac's don't choke and adding them to the mcp file r=hewitt rs=sfraser 2001-11-06 01:13:32 +00:00
jgaunt%netscape.com 1e4067d8fb bug 108219 fixing filenames so Mac's can handle them
r=hewitt
rs=sfraser
2001-11-06 01:11:41 +00:00
rods%netscape.com 760f64245a Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-03 14:59:39 +00:00
dbaron%fas.harvard.edu 0e1774a1d4 Fix silly way to write an assertion. sr=jst 2001-11-03 05:11:36 +00:00
seawood%netscape.com c79715ed1b Backing out fix for remote mach-o builds as it left mach-o builds fragile.
Add TK_CFLAGS back to default CFLAGS/CXXFLAGS.
Bug #107696
2001-11-03 03:29:05 +00:00
jst%netscape.com 62d3955034 Fixing bug 52120. Make mozilla pass the expected arguments to window.onerror. r=jkeiser@iname.com, sr=jband@netscape.com 2001-11-02 04:49:07 +00:00
jband%netscape.com f200a920b0 part of fix to bug 108045. gracefully handle the case where we can't get info about an interface. r=jst sr=brendan 2001-11-02 04:41:37 +00:00
dbradley%netscape.com e80e70e9e7 Bug 83426 - Remove DOM exception hack. r=jst, r=dbradley, sr=jband 2001-11-01 15:52:53 +00:00
seawood%netscape.com 6daf60f372 Since '-framework Carbon' causes binaries to require console access to run, do not link using that flag by default. Otherwise, remote builds & non-console tinderboxes will break. Mac OSX Mach-O only.
Bug #107696 r=mozbot
2001-11-01 00:54:48 +00:00
jst%netscape.com 8d0d7f1cea Fixing topembed bug 106105. Clear our document.body cache when resetting a document, and make sure the right things are flushed when position and size related properties are accessed. r=heikki@netscape.com, sr=vidur@netscape.com 2001-10-31 23:52:52 +00:00
alecf%netscape.com e7e8955c4c bug 100113, r=jag, sr=blizzard - remove some dumb dependencies on dom and gfx 2001-10-31 23:43:27 +00:00
jst%netscape.com 73e169bbcd Fixing bug 90765. Hold a strong reference to the global object's wrapper to avoid users of that wrapper to cause rooting and unrooting of the global object every time the global object wrapper is addreffed. r=dbaron@fas.harvard.edu, sr=jband@netscape.com 2001-10-31 08:39:09 +00:00
jst%netscape.com 61ea5cf938 Fixing bug 100944, making a.search and area.search settable for backwards compatibility. Patch by Fabian Guisset <hidday@geocities.com>, r=bzbarsky@mit.edu, sr=jst@netscape.com 2001-10-26 08:54:45 +00:00
jst%netscape.com 84c24158b4 Fixing bug 106769. Document.prototype was not on the prototype chain for XMLDocument objects. sr=jband@netscape.com, r=bzbarsky@mit.edu 2001-10-26 02:23:56 +00:00
jaggernaut%netscape.com 5c848e075b Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-25 10:37:41 +00:00
jst%netscape.com 54a4727cd7 Fixing bug 106181. When a window object is asked for the numeric property n, we return the n:th frame in the window, but if there is no n:th frame we should let the JS engine do its thing w/o forsing it to return null. r=jag@netscape.com, sr=rpotts@netscape.com 2001-10-25 05:09:03 +00:00