jst%netscape.com
a49bb992db
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
...
git-svn-id: svn://10.0.0.236/trunk@113684 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 05:53:56 +00:00
jst%netscape.com
4e17fc730c
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
...
git-svn-id: svn://10.0.0.236/trunk@113683 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 05:47:22 +00:00
jst%netscape.com
e5c226065e
Checking in Fabian's <hidday@geocities.com> fix for bug 76895. Making cloneNode() work on document fragments. r=bzbarsky@mit.edu, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@113676 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 04:22:17 +00:00
bzbarsky%mit.edu
2fd80b82c9
Convert Compare() to Equals() where possible now that we can do
...
case-insensitive Equals(). Bug 115289, r=alecf, sr=jag
git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
heikki%netscape.com
c5b81825af
Bug 119335, string assertion in XMLContentSerializer, use Substring for non-null terminated string. r=jst, sr=jag.
...
git-svn-id: svn://10.0.0.236/trunk@113654 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:35:34 +00:00
hyatt%netscape.com
cdc7d6d6d8
Fix Macho and Cocoa horkage because of a missing ifdef.
...
git-svn-id: svn://10.0.0.236/trunk@113597 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 10:56:42 +00:00
alecf%netscape.com
43bee42ecd
more dependency updates
...
git-svn-id: svn://10.0.0.236/trunk@113536 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 21:29:01 +00:00
bzbarsky%mit.edu
bcc31f85dd
Don't let an empty intl.charset.default pref set the document charset to
...
the empty string. Fall back to ISO-8859-1 in the script loader if there
is no other charset set. Bug 118404, r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@113444 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 21:36:00 +00:00
rods%netscape.com
20b4083174
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
git-svn-id: svn://10.0.0.236/trunk@113419 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 14:52:11 +00:00
radha%netscape.com
38a7a759a1
Changes related to wyciwyg protocol implementation. r=35340 r/sr by jst, darin,nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@113338 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 19:38:16 +00:00
alecf%netscape.com
4331ed65d3
First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
...
r=dougt, sr=jag
git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 06:04:29 +00:00
jst%netscape.com
990a6bb073
WIP for an interface for the new frame and iframe loader. Not part of the build yet.
...
git-svn-id: svn://10.0.0.236/trunk@113103 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 06:31:26 +00:00
jst%netscape.com
fbe086cd70
WIP for a new frame and iframe loader. Not part of the build yet.
...
git-svn-id: svn://10.0.0.236/trunk@113102 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 06:27:27 +00:00
timeless%mac.com
6436523048
Bug 120221 Make |NS_ERROR_GFX_PRINTER_INVALID_ATTRIBUTE| more specific
...
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@113094 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 03:03:56 +00:00
timeless%mac.com
524c7f9717
Bug 120911 Crash while printing due lousy error checking
...
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=jag
git-svn-id: svn://10.0.0.236/trunk@113092 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 02:59:12 +00:00
rods%netscape.com
fb493821d3
Adding new Frame to clip content area of page for Printing and PrintPreview
...
Bug 112698 r=dcone sr=waterson
git-svn-id: svn://10.0.0.236/trunk@112856 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 14:30:14 +00:00
jst%netscape.com
6b1260a9e6
Fixing bug 118933. Speeding up the id and name hash tables in nsHTMLDocument by changing them over from nsHashtable/nsStirngKey to pldhash. Also combining the hashes to optimize performance and memory useage. r=heikki@netscape.com, sr=jband@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@112844 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 06:37:35 +00:00
hyatt%netscape.com
36b246735d
Remove debug hyatt code. r=danm, sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@112765 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 23:17:14 +00:00
peterv%netscape.com
627640cc69
Fix for bug 96647 (Change the way output is constructed in Transformiix). r=sicking, Pike, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@112688 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 13:38:51 +00:00
jst%netscape.com
7af4c8d1f2
Fixing bug 120504. Make QI's on DOM elements only call into the binding manager only if the element itself doesn't implement the interface that the element is being QI'ed to. r=hyatt@netscape.com, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@112677 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 09:17:00 +00:00
bzbarsky%mit.edu
ad1fb22926
Change users of Length() to IsEmpty() where the code really cares about
...
the latter in content/. Bug 100649, r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@112623 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:03:19 +00:00
mkaply%us.ibm.com
b5f15cc499
#120431
...
a=brendan for drivers
OS/2 only - temp fix to workaround optimizer bug
git-svn-id: svn://10.0.0.236/trunk@112520 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-22 15:54:36 +00:00
hyatt%netscape.com
a86f57efd9
Fix for 115919, r=dbaron for me, r=hyatt for dbaron, sr=brendan, a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@112514 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-22 05:36:50 +00:00
rods%netscape.com
960c55cb43
PersShell needs to be created via the document->CreateShell, or the document doesn't know about it
...
and this means there would be no Primary PresShell in the document
Bug 114139 r=dcone sr=attinasi a=dbaron
git-svn-id: svn://10.0.0.236/trunk@112390 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-17 15:04:54 +00:00
rods%netscape.com
84207de06a
turns on scaling and fixes it
...
Bug 120075 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@112278 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:11:28 +00:00
rods%netscape.com
63c4896929
Getting rid of event processor, it is no longer needed and will fix this problem
...
109566 r=kmcclusk sr=waterson
git-svn-id: svn://10.0.0.236/trunk@112270 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:02:35 +00:00
attinasi%netscape.com
779d9368ff
Fixed problems with reframing recursively due to block-in-inline frames and content appended notifications. r=karnaze sr=waterson b=56894
...
git-svn-id: svn://10.0.0.236/trunk@112109 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 22:05:26 +00:00
rods%netscape.com
ce2a82ca0c
This enables platforms to set a pref as to whether they allow print from print preview.
...
Bug 118623 r=roland sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@112025 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 12:58:46 +00:00
rods%netscape.com
525bcc3d53
Better error failure when certain types of error occur during printing
...
No longer tries to print IFrames or other sub-documents with display:none
Sets title and url into PrintService from PrintSettings
Sets "IsCancelled" on PrintSettings/Service when Print Dialog is cancelled (patr of 118017)
Bug 117894 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@112021 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 12:31:05 +00:00
rods%netscape.com
ce096ce41e
reflow was using the wrong DC to rendering context for PP
...
now cropping progress title to 64 chars with elipse o the front
BUg 117745,118729 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@111940 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 11:59:00 +00:00
brade%netscape.com
8c2aaf40c9
remove unused static kPrefServiceCID for gain of 16 bytes (bug 117927; r/sr=jst,darin)
...
git-svn-id: svn://10.0.0.236/trunk@111810 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:06:15 +00:00
brade%netscape.com
9de532d67f
remove unused statics kEventQueueServiceCID, kEventQueueService and kScrollingViewCID for gain of 48 bytes (bug 117927; r/sr=jst,darin)
...
git-svn-id: svn://10.0.0.236/trunk@111809 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:05:55 +00:00
brade%netscape.com
e1d226f0c4
remove unused statics kPresShellCID and kCParserCID for gain of 32 bytes (bug 117927; r/sr=jst,darin)
...
git-svn-id: svn://10.0.0.236/trunk@111808 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:05:04 +00:00
brade%netscape.com
4e37f2f108
remove unused statics kCContentIteratorCID and kCSubtreeIteratorCID for gain of 32 bytes (bug 117927; r/sr=jst,darin)
...
git-svn-id: svn://10.0.0.236/trunk@111807 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:03:51 +00:00
rbs%maths.uq.edu.au
13b4696963
Grab a low hanging perf fruit by switching to an API that doesn't copy the font, b=118918, r=dbaron, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@111752 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 00:04:35 +00:00
brade%netscape.com
813522188b
remove/comment out unused statics kTextEncoderCID and kUBidiUtilCID (bug 117927; rs=glazou)
...
git-svn-id: svn://10.0.0.236/trunk@111691 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:37:11 +00:00
peterv%netscape.com
e5bd1b0b77
Check for i < Count() before accessing mObservers[i] (mObservers is nsAutoVoidArray). rs=glazman, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@111680 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 14:44:10 +00:00
harishd%netscape.com
476668ebbc
105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@111618 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:37:50 +00:00
jst%netscape.com
f9449b0c2f
Fixing bug 116466. Making mozilla fire a 'DOMFrameContentLoaded' event on all parent documents of a [i]frame when the *ML in the [i]frame is done loading (excluding external resources). r=heikki@netscape.com, sr=jband@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@111561 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 07:01:53 +00:00
jst%netscape.com
3d2587b3bb
Fixing bug 64248. Making the loading of external scripts pass the referrer to the server when requesting the script. r=gagan@netscape.com, sr=darin@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@111558 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 06:32:36 +00:00
rods%netscape.com
83e05b8638
Improved printing error detection and notification
...
Now gets Doc Title and URL from PrintSettings and uses it instead of
the actual values.
Bugs 86378 & 118637 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@111524 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 01:17:40 +00:00
dbaron%fas.harvard.edu
b7194a0ea8
Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
jst%netscape.com
2e5e8c3344
Fixing bug 86191. Don't return nsnull as a nsresult, return NS_OK in stead. r=sicking@bigfoot.com, sr=nobody, trivial change.
...
git-svn-id: svn://10.0.0.236/trunk@111439 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 02:39:13 +00:00
hyatt%netscape.com
2e88971c9c
Checking in 115757, enabling of Windows XP Theme Support under Classic skin.,r=bryner,sr=hewitt
...
git-svn-id: svn://10.0.0.236/trunk@111336 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 00:28:01 +00:00
mkaply%us.ibm.com
4eb4e379df
#117919
...
r=rods,mkaply sr=blizzard
OS/2 only - implement AvailablePrinters
git-svn-id: svn://10.0.0.236/trunk@111321 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 22:08:04 +00:00
jst%netscape.com
a3160b1622
Fixing bug 116551. DeCOMtaminating nsINodeInfo, inlining most of the trivial methods and leaving some as virtuals, move some of the members from nsNodeInfo to nsINodeInfo. r=sicking@bigfoot.com, sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@111285 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 04:51:02 +00:00
jst%netscape.com
c0e067e7da
Removing unused variable to quiet down a compiler warning.
...
git-svn-id: svn://10.0.0.236/trunk@111273 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 00:34:07 +00:00
rods%netscape.com
9b1beb6492
Fix AIX bustage
...
git-svn-id: svn://10.0.0.236/trunk@111219 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 15:56:36 +00:00
rods%netscape.com
ee8a5e4640
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
git-svn-id: svn://10.0.0.236/trunk@111213 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 12:58:53 +00:00
shanjian%netscape.com
3356940ad2
#112793 fine tune frame charset mechanism
...
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111062 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-26 03:17:59 +00:00