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

2092 Коммитов

Автор SHA1 Сообщение Дата
jst%netscape.com 63db3b3f56 Fixing the DOM part of bug 59686. DOM properties not accessable on liveconnect wrapped Java applet due to the DOM applet element's prototype not being correctly set up. r=bzbarsky@mit.edu, sr=brendan@mozilla.org 2002-06-20 20:32:46 +00:00
saari%netscape.com b8de96a1d8 win32 only fix for 82534. focus goes wonky after minimizing a window. r=bryner, sr=jag 2002-06-20 04:55:13 +00:00
caillon%returnzero.com 981cfb96b6 Bug 152256, honor the pref to prevent sites from hiding the statusbar in the window.statusbar.visible=false case also. r=bzbarsky sr=jst 2002-06-19 04:09:57 +00:00
jst%netscape.com 53ecd021aa Fixing bug 123273. Don't let JS timeouts run with 0 delay, always force at least a 10ms delay. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-06-19 00:42:23 +00:00
bzbarsky%mit.edu 4d1675d5e5 Comments should match reality. No bug, r=jst, sr=jag 2002-06-18 02:55:09 +00:00
cbiesinger%web.de 15a321ca78 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
jaggernaut%netscape.com fdd4b9f952 Bug 103452: When window.close() is called, close the tab for that content window, not the whole (XUL) window. r=hewitt, sr=jag, sr=jst 2002-06-05 00:31:45 +00:00
jst%netscape.com 0af1e2085d 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 42a874dd52 Whitespace changes only, die tabs, die! 2002-05-28 22:55:39 +00:00
jst%netscape.com 2d01d61479 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 449ccb64c4 Queting down compiler warning... 2002-05-22 00:39:21 +00:00
jst%netscape.com ea40a67bee 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 fa6594c5f9 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 c68cadcb79 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 f27fd6f6a7 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 c405585a95 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 c683a217ab 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 ddd3d5d711 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 30a0cb65e5 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 15a673155f 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 a8922ae98c 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 d9dfd4c2e4 [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 486e5906db 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 78da710221 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 c0bcb8ed9f 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 7e4e14d8c5 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 538a1ac86a 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 f4e5a803f5 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 bdfd051dfb 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 a0d24cb40d 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 cd9afd67e1 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 2ef0f9a849 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 f14a42b26d 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 6aebadf6da 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 71e038854c 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 04b6d367fd 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 a84a7e233f 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 bf7702387e 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 020632bdc1 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 aa9f71957d 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 a8f99cc832 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 d38a0937d9 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 bcb8baa454 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 b599af5b77 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 54e3bd6266 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 6cfb9b8bee 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 f2700ba1bf 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 f8dee50514 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 6cdcd7ef3a 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 3282d8ea58 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 a940723b1d 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 94df471169 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 2a55a8bbfb 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 9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
bryner%netscape.com 65ba075a1d 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 5f0cdb2992 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 3f0c4c28bb 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 2366cebf81 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 dd0cd87639 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 523401f88e 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 5faf1177d5 #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 ce6fb4d076 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 299b47cf06 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 a34c68fa0b 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 5b96e558ae 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 6c76727581 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 f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
ducarroz%netscape.com f62c1a7727 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 003f27c274 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 a6ebffd589 Missed a few references to the unioned members (more btek fixage). 2002-03-04 03:47:08 +00:00
shaver%mozilla.org 0b54b220ed Rest of btek bustage fix (union is aggregate type, wants braces around
initializer).
2002-03-04 03:42:57 +00:00
shaver%mozilla.org cf23d10480 Attempt to fix btek bustage by naming the union. a=tinderbox. 2002-03-04 03:37:18 +00:00
peterv%netscape.com 9bfe5c5491 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 7bf3bef1da 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 d8c109186b bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz 2002-03-02 01:49:30 +00:00
mstoltz%netscape.com 18c8067fae 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 aa05113740 add vk_help constant; bug 124393; r=joki; sr=sfraser; a=roc 2002-02-27 18:44:48 +00:00
mstoltz%netscape.com 75f6bd3583 partially backing out my last change - weird dependency problem 2002-02-26 05:28:26 +00:00
mstoltz%netscape.com 82659b14ca 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 2356de3a72 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 5c354e81e6 68136 - Mozilla should have a Full-screen mode, r=ben, sr=jst/jag 2002-02-20 03:33:52 +00:00
dbradley%netscape.com 5372835bdb 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 124339899e 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 1a3a52cce7 Backing out mstoltz. r=dbaron,jrgm 2002-02-19 04:06:53 +00:00
mstoltz%netscape.com cc94447571 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 222decdb2c 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 26591a8a01 reimplement window scrollbar chrome attribute. bug 111524 r=hyatt,jst 2002-02-16 01:15:52 +00:00
mstoltz%netscape.com 4756b7169c 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 0d871a1552 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 504df9fb10 Fixing bug 119621 -- plugins refreshed only every other time, r=peterl, sr=beard 2002-02-11 23:09:38 +00:00
jst%netscape.com f8e111bab0 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 8559e94aba 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 53c52304d5 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 610f2ffdc4 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 c70faaf8dd 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 327f4817a1 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 5e1b453e92 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 56835e0fd7 new method GetExtantDocument. bug 36016 r=hyatt,pinkerton 2002-02-06 03:48:20 +00:00
jst%netscape.com 59e0a124a6 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 bb331beade Whitespace cleanup... 2002-02-05 06:04:56 +00:00
jst%netscape.com cb926125b8 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 c628cca2e5 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 4efc3ec90e 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 09364bd390 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 d7c4d9025d fix ref count bloat
Bug 123011 sr=hyatt
2002-02-01 20:12:35 +00:00
rods%netscape.com ab52751787 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 d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
jst%netscape.com 081d929fe0 Adding new chrome only window interface. Not part of the build yet. 2002-01-28 21:52:30 +00:00
hyatt%netscape.com 525478968d Removing some DEBUG_hyatt code. 2002-01-26 23:42:24 +00:00
rginda%netscape.com 6d4ce707b0 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 369de98a00 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 21cbc28632 Fixing HPUX bustage, NS_STATIC_CAST() can't be used with incomplete types. 2002-01-17 05:09:55 +00:00
jst%netscape.com 50295b2702 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 abe3013386 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 a94021536b 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 ac457890e3 call embeddingwindow->SetFocus from Focus(). bug 57841 r=hyatt,saari 2002-01-16 00:11:51 +00:00
rods%netscape.com 1d52798654 added printWithSettings method for printing with PrintSettings
Bug 118352 r=dcone sr=jst
2002-01-15 01:11:16 +00:00
rods%netscape.com 686c4c65aa 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 7f0e98bdd5 104401 - eliminate mOuter aggregate from nsXULElement, r=waterson, sr=hyatt 2002-01-12 01:20:29 +00:00
aaronl%netscape.com 682aa6f2ff 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 6d62f6f3cf 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 e1591a47ba 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 c96b2c0c8d 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 d88005c917 Remove files with too long (>31chars) names. (Replacements in tree already) 2002-01-10 12:14:24 +00:00
peterv%netscape.com 6ab1e585ea 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 cbd2fb8afd 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 c2f820583d 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 5e60b1fc6f [SVG only] Add DOM interfaces needed for SVG text support. 2002-01-07 13:52:14 +00:00
peterv%netscape.com 2dff1900ec 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 6cf1d33b09 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 4eb739d169 blur method now defers to the tree owner. bug 57841 r=bryner,rpotts 2002-01-05 02:20:55 +00:00
rods%netscape.com 7929b953f5 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 128ac41103 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 61a97fd94a 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 dd374bcbb2 OS/2 bustage 2001-12-20 16:56:42 +00:00
jst%netscape.com c3ef8e1fce 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 db89a9ce21 Bug 74800, implemented FIXptr. r=harishd, sr=vidur. 2001-12-20 05:15:52 +00:00
seawood%netscape.com 45bfbf0658 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 56084f45a6 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 ee12112b29 Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com 4f507b8511 Remove timer from REQUIRES. r=pavlov 2001-12-16 17:02:31 +00:00
jaggernaut%netscape.com 97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
seawood%netscape.com 51fa852613 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 5c8cc975a2 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 720055d0f8 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 3b9fcc8963 Breaking out nsIDOM3Node into its own file. Not part of the build yet. 2001-12-12 05:06:07 +00:00
varada%netscape.com 55c3a599a0 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 10008e126f 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 993cd4c06f 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 baca6ece31 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 6d8ea78b52 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 d9e3afb71d 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 75dabdbc63 added files: mozilla/dom/public/idl/events/nsIDOMNSEvent.idl 2001-12-06 03:44:22 +00:00
jst%netscape.com eec66a56f8 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 2d048291f9 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 8310ba80d7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
jst%netscape.com 25f910bd7e 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 ff8d7d7359 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 75a30742b5 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 1f0cc6e6b9 bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes... 2001-11-30 22:35:33 +00:00
locka%iol.ie 87fce2a382 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 8b85b174cd Fix for #110795 - Freeze core DOM interfaces
r/sr=jst
2001-11-27 19:18:00 +00:00
jst%netscape.com af8974a9fd 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 e89c147731 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 fcb3db43a8 Comment change... 2001-11-22 06:12:20 +00:00
jst%netscape.com 2407828023 Adding comments per brendan@mozilla.org's request in bug 111361. 2001-11-22 04:58:09 +00:00
jst%netscape.com 06be573267 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 d8ae5713fd Ahem... 2001-11-22 02:56:22 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
mstoltz%netscape.com 0760bc3475 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 6f28df0916 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 fd8b097cda 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 89e828f82c /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 4d0b018635 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 3c061c454a 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 11d79ce6ef 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 761acd330a 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 1a0346af42 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 fa454e41c4 Disabling security check optimization since it exposes security problems. rs=jband@netscape.com 2001-11-16 03:14:05 +00:00
jst%netscape.com cc8dda0f89 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 452c8e0f41 lazily instantiate mDocument. bug 88229 r=jst,rpotts 2001-11-16 02:14:53 +00:00
alecf%netscape.com d49a4ba867 win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
nhotta%netscape.com 4637350292 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 76b5876544 108757 - dispatch DOM events for mouse wheel scrolling, r=?, sr=? 2001-11-14 10:06:21 +00:00
bryner%netscape.com ffe8346ca7 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 0c93d110f3 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 1ab806d0b3 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 83696fdcd1 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 9d055019fb 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 8cd8d91750 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 2f36e65165 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 fdbc63ccb4 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 a3900ba23b 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 37a4501149 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 edbc3f3029 Fix silly way to write an assertion. sr=jst 2001-11-03 05:11:36 +00:00
seawood%netscape.com be10c3b1a8 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 cacd57b2ae 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 049fc18598 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 5cb0f9371f Bug 83426 - Remove DOM exception hack. r=jst, r=dbradley, sr=jband 2001-11-01 15:52:53 +00:00
seawood%netscape.com 8a2a775382 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