6453 Commits

Author SHA1 Message Date
rods%netscape.com
0da5ca1c57 Reads the "brand name" property and then caches it so it can use it on documents with no title.
Bug 133193 r=dcone sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@117565 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 03:02:42 +00:00
hewitt%netscape.com
f707c93789 133426 - can't get coordinates from popup events, r=jgaunt, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@117564 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 02:59:39 +00:00
dbaron%fas.harvard.edu
0b4effd4ea Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@117556 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 02:38:13 +00:00
sicking%bigfoot.com
4256d59c55 Bug 41983: Make (x)html-elements support namespaced attributes.
r=heikki sr=jst a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@117531 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 00:13:57 +00:00
harishd%netscape.com
b06c32fe16 Make sure to not reevaluate a SCRIPT when demoting FORM. Patch proposed by |vidur|. b=96861, r=harishd, sr=jst, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@117524 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 23:13:12 +00:00
rayw%netscape.com
bf26c33309 Fix for bug 30534 r=hixie, sr=jst, a=asa for checkin to trunk.
Cause hasFeature to return true on 2.0 core and CSS2.


git-svn-id: svn://10.0.0.236/trunk@117507 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 21:09:50 +00:00
attinasi%netscape.com
dbe40cd4b1 Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa
git-svn-id: svn://10.0.0.236/trunk@117496 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 20:14:05 +00:00
seawood%netscape.com
cb377cc172 All symbols must be resolved at link-time on mach-o builds.
Fixing tinderbox bustage caused by checkin for bug 117589


git-svn-id: svn://10.0.0.236/trunk@117492 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 17:42:10 +00:00
rods%netscape.com
3e0f1a77a9 Generically enables the browser to cache the curent presentation (frames,
views, et.al.) for Print Preview and then enables them to be restored.
It uses a pref and/or checks all the documents to see if any have an "embed" or
a "plugin". Temporarily it checks for framesets and turns on caching also.
I also factored some code in the Init routine so it could be callled for either
creating the new presention or initializing an existing one.
Also, added some safety check code in PrintPage.
Then for the object frame, for PP it doesn't do a paint - this is a temporary fix.
Bug 122048 r=peterl sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@117481 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 11:43:40 +00:00
peterv%netscape.com
50fecb115d Back-out of fix for bug 123899 (document.body.innerHTML is broken). This caused bug 132673 and a bunch of duplicates. Tp might go up slightly but that's just because we stop dropping some content.
git-svn-id: svn://10.0.0.236/trunk@117479 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 11:15:15 +00:00
mscott%netscape.com
7d3010414d Backing out the change to nsDocumentviewer in Bug #70030 to see if it effects page load performance
git-svn-id: svn://10.0.0.236/trunk@117463 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 05:01:49 +00:00
akkana%netscape.com
204c4a6db5 70030: Stop animation with webNavigation.stop. Fix courtesy of Jim Song, jim.song@sun.com; r=akkana, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@117443 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 01:05:03 +00:00
sfraser%netscape.com
4020c4e2ff Fix for bug 117589: avoid popping up spurious context menus on Mac when event processing takes too long. r=pinkerton, sr=hyatt, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117442 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 00:59:03 +00:00
mjudge%netscape.com
64ab4404a1 123033 a=asa r=blythe sr = kin. fix for selecting from inside a text field to outside
git-svn-id: svn://10.0.0.236/trunk@117429 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 23:44:46 +00:00
bryner%netscape.com
26dd396957 Fixing crash in navigating context menu, caused by my checkin for bug 130778. r=pavlov, sr=scc, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117397 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 05:30:50 +00:00
rods%netscape.com
15f33efd46 This patch is actually part of Bug 115136, but I think its best to get this part
of it in now before the API freeze.
It adds several new attrs to the nsIWebBrowserPrint API and implments them in
DocumentViewer.
It also adds a new platform specific interface for PrintSettings that will be
used when the "pluggable" dialog work gets checked in. Although these have been
tested via BUg 115136, these little nto no risk now because no one is using
them yet.
Bug 132827 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@117396 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 03:19:32 +00:00
bryner%netscape.com
8b0b1784d6 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.
git-svn-id: svn://10.0.0.236/trunk@117391 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 22:38:21 +00:00
dbaron%fas.harvard.edu
71d51343f1 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117359 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 01:08:17 +00:00
dbaron%fas.harvard.edu
c43a97f1d5 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117353 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 23:54:46 +00:00
dbaron%fas.harvard.edu
83983b4622 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117351 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 23:13:20 +00:00
dbaron%fas.harvard.edu
e208ee6015 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117350 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 23:04:39 +00:00
dbaron%fas.harvard.edu
b447eec349 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117348 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:56:05 +00:00
dbaron%fas.harvard.edu
8f2c550aff Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117347 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:46:13 +00:00
dbaron%fas.harvard.edu
32a61a0295 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117346 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:31:50 +00:00
dbaron%fas.harvard.edu
4d91361814 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117345 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:26:36 +00:00
rods%netscape.com
f03ac4f0df Add event listeners to "prevent" ContextMenu, Key, Mouse and MouseMotion events from being processed.
Bug 128449 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@117330 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 18:07:51 +00:00
rods%netscape.com
31e57bdbd6 The original patch worked fine for regular documents but didn't work for mail
because of the ordering of nsIWebProgressListeners. Even tho the doc WAS
finished loading the notification goes to mail first abd then it print and then
check to see if it is busy and it comes back that it is.
So instead I have to use two booleans to monitor if the document was asked to
be destroyed while it was preparing to print. This typically happens when the
user click on a click and it takes a while and then they decide to print. So
while the Print Dialog is up the document gets unloaded  and when it returned
back everything is gone.
So when the flow of control returns back from the Print Dialog it checks to see
if it "should" have been destroyed, and if so, it then aborts printing, cleans
and displays a message if the pressed "OK". If they pressed cancel then it
doesn't print the message.
Bug 131174 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@117317 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 16:48:58 +00:00
cbiesinger%web.de
cf03b9b3e2 bug 104906 r=pavlov sr=tor a=asa
imgRequest::SniffMimeType and nsUnknownDecoder::SniffForImageMimeType should be one function


git-svn-id: svn://10.0.0.236/trunk@117305 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 13:21:33 +00:00
andreas.otte%debitel.net
6151a1f374 fix bug 94096 [Content-Base Header should not be supported] remove
support for header that was only part of a draft for http 1.1,
r=harishd, sr=jst, a=scc


git-svn-id: svn://10.0.0.236/trunk@117220 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 21:24:48 +00:00
caillon%returnzero.com
c56a306976 Bug 119807, Computed color values should support getRGBColorValue(). r=bzbarsky, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@117209 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 20:18:42 +00:00
cmanske%netscape.com
0f10a83af9 Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa
git-svn-id: svn://10.0.0.236/trunk@117184 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 15:26:18 +00:00
cmanske%netscape.com
0b6789dd9e Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa
git-svn-id: svn://10.0.0.236/trunk@117183 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 15:25:08 +00:00
dcone%netscape.com
d24bc6a44f 118890 r=rods sr=attinasi a=asa. Fixed printing in print preview
git-svn-id: svn://10.0.0.236/trunk@117179 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 14:49:29 +00:00
badami%netscape.com
87461cbd6a crash on double-click of word in textfield after form submission
Protect against invalid arguments getting passed into AppendText of PlainTextSerializer.
bug 125037 r=bratell sr=jst a=scc patch=tmutreja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@117164 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 08:50:35 +00:00
dp%netscape.com
682459c176 bug 131249 Using arena for RuleHash r=dbaron@fas.harvard.edu,
sr=sfraser, a=asa


git-svn-id: svn://10.0.0.236/trunk@117158 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 06:28:16 +00:00
rods%netscape.com
4cb6b26267 Backing out changes for Bug 131174
git-svn-id: svn://10.0.0.236/trunk@117134 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 00:42:48 +00:00
jfrancis%netscape.com
7897ddf7d9 fix for 98622: <big>/<small> not copied if partially selected
r=glazman; sr=kin; a=asa


git-svn-id: svn://10.0.0.236/trunk@117108 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:31:26 +00:00
bryner%netscape.com
71a03d2a1d Backing out my checkin from earlier (bug 130778), it seems to be the culprit for the Tp increase.
git-svn-id: svn://10.0.0.236/trunk@117039 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 07:33:51 +00:00
aaronl%netscape.com
a16131a858 Bug 130447 - Clicking on some named anchors goes to top of document. r=saari, sr=hewitt, a=asa. Bug 132154 - can no longer tab thru image maps areas . r=bryner, sr=hewitt, a=asa
git-svn-id: svn://10.0.0.236/trunk@117026 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 02:37:48 +00:00
darin%netscape.com
1d30a10d00 fixes SVG bustage, b=128508
git-svn-id: svn://10.0.0.236/trunk@117021 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 01:43:51 +00:00
darin%netscape.com
4c808c428c fixes SVG bustage
git-svn-id: svn://10.0.0.236/trunk@117018 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 01:10:18 +00:00
bryner%netscape.com
f8019ea98c Fixing windows bustage.
git-svn-id: svn://10.0.0.236/trunk@117008 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 23:28:48 +00:00
rods%netscape.com
ea7e576f56 This disallows printing or print preview to work if the document is busy.
Meaning it might be still loading or unloading.
Bug 131174 r=dcone a=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@117003 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:42 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
bryner%netscape.com
8763a125c1 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.
git-svn-id: svn://10.0.0.236/trunk@117001 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:48:24 +00:00
peterv%netscape.com
2ccc2317a7 Bug 123899 (document.body.innerHTML is broken). Don't notify the document twice about content modification from script. r=Fabian, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116973 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 13:22:27 +00:00
rods%netscape.com
29613d1e34 Besides turning on the pref, I needed to move the initialization code for
getting the values from the default printer from the DocumentViewer down into
the PrintOptions service. We want it done only the very first time when the PrintSettings is created.
Bug 131852 r=dcone sr=attinasi a=scc


git-svn-id: svn://10.0.0.236/trunk@116971 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 12:43:13 +00:00
aaronl%netscape.com
2e4f95d6b4 Bug 131089, bug 131238, and bug 131918. Fixes regressions caused from 'browse with caret' checkins in bug 66597. a) bug 131089 - crash in ResetBrowseWithCaret(), r=bryner, sr=alecf, a=scc. b) bug 131238 - assertions caused by SetCaretContentVisible, r=bryner, sr=alecf, a=scc. c) bug 131918 - infinite loop in MoveFocusToCaret(), r=jgaunt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@116962 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 06:42:26 +00:00
bryner%netscape.com
e5936f4360 Bug 52815 - get rid of third tab stop inside <input type=file>. Patch from pete.zha@sun.com, r=bryner, sr=attinasi, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116951 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 04:50:15 +00:00
badami%netscape.com
da14c60c9d forget datas - If no basehref is specified in head but one is in the body use the one in the body.
bug 121481 r=harishd sr=jst a=asa patch=tmutreja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@116949 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 04:43:23 +00:00