2454 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
8f8a18bd02 Expose the content-disposition header on documents (via nsIWindowUtils), and
use it for save as.  Bug 263697, r=biesi, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@165478 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-18 20:50:16 +00:00
darin%meer.net
e3117874fa fixes bug 261083 "Channels do not uniformly query their notification callbacks" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165373 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 20:16:52 +00:00
bzbarsky%mit.edu
a40b8e783a Make setting an event handler to null remove it. Bug 267005, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@165010 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-05 15:28:17 +00:00
pete%mozdevgroup.com
76184231c4 Javascript function window.print() always uses Letter as page size
b=156992
r=bsmedberg
sr=neil
--pete


git-svn-id: svn://10.0.0.236/trunk@164949 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 22:40:02 +00:00
jst%mozilla.jstenback.com
ff0997f080 Fixing bug 262887. Make dialogs opened through the DOM make the opening tab the current tab. r=ben@mozilla.org, dveditz@cruzio.com, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@164861 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 17:06:21 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
varga%nixcorp.com
8e1a8a6fc2 Bumping IIDs for bug 221619.
r=timeless sr=darin


git-svn-id: svn://10.0.0.236/trunk@164589 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 06:29:49 +00:00
jst%mozilla.jstenback.com
f23a0fe84c Fixing bug 266346. Make sure popup state is reset while modal dialogs DOM are open. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@164541 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-28 03:39:37 +00:00
darin%meer.net
ae76601dc1 fixes bug 257875 "invalid javascript keeps logo animating" r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@164537 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-28 02:06:27 +00:00
jst%mozilla.jstenback.com
ad92bef671 Fixing bug 257538. Fix problem where setting a property on a scriptable plugin would cache the property so that the plugin's getter wouldn't be called again for that property. r+sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@164535 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-28 01:54:21 +00:00
jst%mozilla.jstenback.com
7bfc89b66d Fixing part of bug 265790 (the part that's a regression from bug 265921). Make it possible to flag DOM events as trusted when created using DOM APIs from native code, and marking the DOMWindowClose event (and a few other fired from nsGlobalWindow) as trusted to make closing a tab from script close the tab only, and not the whole window. r+sr=bzbarsky@mit.edu, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@164533 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-28 00:36:30 +00:00
jst%mozilla.jstenback.com
b20b8ae8dc Followup fix for bug 265921. Don't always throw exceptions from window.dispatchEvent(). r=bryner@brianruyner.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@164532 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-28 00:26:27 +00:00
aaronleventhal%moonset.net
53a4f4090a Bug 251498. Implement outline-offset. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164430 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 12:57:15 +00:00
cbiesinger%web.de
985b357d42 265333 don't explicitly pass all arguments to NS_NewInputStreamChannel, so that the
more efficient variant with fewer arguments can be used r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@164389 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 22:08:09 +00:00
neil%parkwaycc.co.uk
9af3f096c3 Deprecate window.title b=264102 r=jst sr=peterv
git-svn-id: svn://10.0.0.236/trunk@164307 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 22:57:06 +00:00
dbaron%dbaron.org
307067aa6d Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@164265 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 04:32:21 +00:00
jst%mozilla.jstenback.com
2ecd1a953d Disable site reloading from onresize. Bug 258917. r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@164070 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-20 02:19:57 +00:00
peterv%propagandism.org
14e0ec4016 Fix for bug 239873 (DOMStringList interface not matching DOM Level 3). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@164028 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-19 17:20:14 +00:00
brendan%mozilla.org
e71fe9a476 GC-lock the global scope polluter across InitContext and any other stuff that might do a last ditch GC (264577, r+sr=jst).
git-svn-id: svn://10.0.0.236/trunk@163986 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-18 22:45:48 +00:00
tor%cs.brown.edu
c10cf6e314 Bug 244917 - implement SVG gradients. Patch by scootermorris@comcast.net.
r=sicking,afri,tor,jwatt.  Shared mozilla code sr=tor,dbaron.


git-svn-id: svn://10.0.0.236/trunk@163782 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 23:02:53 +00:00
bzbarsky%mit.edu
fa206da134 Switch more callers who were begging for it over to GetOwnerDoc(). Bug 255337,
r+sr=peterv.


git-svn-id: svn://10.0.0.236/trunk@163530 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 16:29:42 +00:00
jst%mozilla.jstenback.com
921ae0c472 Fixing bug 262365. Make sure our document.all helper object doesn't shadow user-defined document.all properties on the document's prototype. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@163331 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 01:40:19 +00:00
mats.palmgren%bredband.net
d83ca07985 Make window.setCursor() use CSS 'cursor' property values. b=260272 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163089 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-01 17:15:15 +00:00
bzbarsky%mit.edu
76625d8613 Remove parsing of play-during property, since we don't support it anyway and
it's gone from CSS2.1 and CSS3.  Bug 258079, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@163043 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:32:28 +00:00
jst%mozilla.jstenback.com
ffa4a7a091 Fixing bug 261613. Reset popup state while opening new windows to prevent popups from being enabled while modal dialogs are open. r=bzbarsky@mit.edu, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@162987 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 01:08:01 +00:00
jst%mozilla.jstenback.com
8daad17357 Fixing bug 260385. Prevent popups from opening from beforeunload events. r=danm.moz@gmail.com, sr=bzbarsky@mit.edu, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@162730 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-23 23:39:16 +00:00
neil%parkwaycc.co.uk
7903ea1651 Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162561 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 22:25:07 +00:00
aaronleventhal%moonset.net
559965b6d7 Bug 68841. Underline xul:radio and xul:checkbox accesskeys. r=mconnor, sr=neil
git-svn-id: svn://10.0.0.236/trunk@162545 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 11:29:07 +00:00
mats.palmgren%bredband.net
3b5f384b21 Remove -moz-count-* and (unused) eCursor_arrow_* cursors. b=259639 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162532 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 19:49:29 +00:00
cbiesinger%web.de
4ea2b57c69 Bug 248044 move jar protocol handler into libjar. these are the changes to the
existing files
r=bsmedberg sr=darin


git-svn-id: svn://10.0.0.236/trunk@162318 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 18:40:26 +00:00
jst%mozilla.jstenback.com
bf72233388 Fixing bug 259117. Prevent popups when closing a window even if the close came from a user action that would normally enable popups. r=bzbarsky@mit.edu, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@162284 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 06:03:34 +00:00
jst%mozilla.jstenback.com
61f7044342 Fixing incorrect time unit assumption in my fix for bug 252326. Thanks to ostgote@gmx.net for spotting the problem.
git-svn-id: svn://10.0.0.236/trunk@161853 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-07 17:55:57 +00:00
bryner%brianryner.com
2f01bde792 Provide an inline implementation of private operator new and delete, for compilers that think they need the definition. Fixes AIX and probably IRIX bustage.
git-svn-id: svn://10.0.0.236/trunk@161798 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 21:29:45 +00:00
jst%mozilla.jstenback.com
b48c485e4b Fixing typos in comments, and a adding a change that got lost in the merge of the patch for bug 252326 when it was merged from the aviary branch.
git-svn-id: svn://10.0.0.236/trunk@161778 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 08:24:29 +00:00
dbaron%dbaron.org
710440e179 Rev IID of nsIDOMNSCSS2Properties. (Pointed out by darin.) b=72747
git-svn-id: svn://10.0.0.236/trunk@161775 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 04:11:09 +00:00
dbaron%dbaron.org
d078282226 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161772 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 00:04:04 +00:00
jst%mozilla.jstenback.com
809b317cb3 Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com
git-svn-id: svn://10.0.0.236/trunk@161765 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:28:46 +00:00
dbaron%dbaron.org
f8361bf5d6 Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161727 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 21:58:39 +00:00
jst%mozilla.jstenback.com
d204ca55c8 Fixing bug 257431. Make the tabbrowser code only listen to events initiated by the user. r=trev@gtchat.de, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@161660 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 15:25:39 +00:00
jst%mozilla.jstenback.com
7da7fbca62 Fixing the DOM part of bug 257602. Don't bother looking for elements in the document by ID/NAME when resolving class names, or declaring variables. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161608 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 20:56:23 +00:00
jst%mozilla.jstenback.com
00a46e0838 Fixing bug 257649. Fixing shutdown leak (again) caused by the global scope polluter. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161598 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 19:41:44 +00:00
jst%mozilla.jstenback.com
57e55d8a58 Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@161580 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 16:50:12 +00:00
jst%mozilla.jstenback.com
a4279bc566 Fixing bug 257616. s/outerWidth/outerHeight/ when setting sOuterHeight_id. Duh. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161566 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 04:26:43 +00:00
jst%mozilla.jstenback.com
b0812d2dfa Eliminate JS warnings due to a bad prototype chain caused by the global scope pollution class. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161515 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-31 00:04:04 +00:00
jst%mozilla.jstenback.com
7c3d6831bb Fixing bug 257191. Adding NPN_InvokeDefault() and renaming NPN_Call() to NPN_Invoke() in the npruntime plugin scriptability API. Also fix a problem with property getters on plugin objects. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161466 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-30 04:31:16 +00:00
bryner%brianryner.com
43628f9edf More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.


git-svn-id: svn://10.0.0.236/trunk@161442 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-29 03:08:44 +00:00
jst%mozilla.jstenback.com
35213eaa59 Fixing leak introduced by the fix for bug 256932. Make sure we release the document pointer held by the global scope polluter holds as private data early enough to let the document do its cleanup before it's too late during shutdown. r=brendan@mozilla.org, sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@161401 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 21:06:19 +00:00
dbaron%dbaron.org
dcf4bae71a Back out the rest of bug 72747 due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
565357f6d2 Backout the CSS parts of bug 72747 to see if that fixes the Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161357 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
ed6372cf2f Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00