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

1668 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com 224588e46f 1) It moves the BeginDocument to a earlier place in the call change
2) Fixes the negitive page range display problem
3) Improves performance by reducing the delay on pages not in the page range, i.e. before if you printed the 30th page out of 31 you had to wait 15 secs to get to the 30th page to print it.
4) Added AbortDocument, so now when Print jobs are cancelled we call AbortDocument and remove them from the print spooler
5) Fixed a couple of minor issue with Canceling and cancelling mail printings
6) selection was not printing correctly. The problem with selection was that the clip was not being set corrctly.
Bug 115227 & 123181 r=dcone,sspitzer sr=attainasi
2002-02-12 13:33:39 +00:00
bzbarsky%mit.edu f29cf7f122 Fix crash in treewalker when walking out of root element. Bug 124784,
r=sicking, sr=jst
2002-02-12 00:51:40 +00:00
bzbarsky%mit.edu 97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 7fbffdf125 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details.
2002-02-09 16:10:51 +00:00
jst%netscape.com 806d729272 Fixing bug 118194. Make sure we don't leave dangling document pointers in the content tree when the document goes away. r=bzbarsky@mit.edu, sr=vidur@netscape.com 2002-02-09 01:42:44 +00:00
brade%netscape.com 1d7dd2befa remove nsIDiskDocument usage (instead use nsIWebBrowserPersist); bug 102033, r=glazman, sr=kin 2002-02-08 15:50:49 +00:00
peterv%netscape.com ea840e446a Fix importNode, need to set the document before notifying. Bug 124358. r=Pike, sr=jst. 2002-02-08 11:28:15 +00:00
heikki%netscape.com 0d8a8bd2cc Bug 98788, document.load() needs to do better reset on the document before starting to load new content. Also fixed a couple of bogus comments and unneeded document reset in document creation. r=mstoltz, sr=jst. 2002-02-07 00:24:09 +00:00
pinkerton%netscape.com 52262d2123 ifdef-fu for mach-o. rs=hyatt 2002-02-06 15:42:06 +00:00
rods%netscape.com 42c487f008 More streamline approach to discovering if there is at least one printer.
And if the printer name is not set, then it gets the default printer and uses
that. instead.
This fixes remembering the last printer that was used and it also
enables you to to set the printer name and print silently (instead of silent
always having to use the default printer)
Bug 123335 sr=hyatt r=dcone
2002-02-06 13:04:47 +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 dc32d120ab 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 2002-02-05 04:22:17 +00:00
bzbarsky%mit.edu 40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
heikki%netscape.com f5490bd919 Bug 119335, string assertion in XMLContentSerializer, use Substring for non-null terminated string. r=jst, sr=jag. 2002-02-05 01:35:34 +00:00
hyatt%netscape.com 4e2817117c Fix Macho and Cocoa horkage because of a missing ifdef. 2002-02-04 10:56:42 +00:00
alecf%netscape.com 96f52c5988 more dependency updates 2002-02-02 21:29:01 +00:00
bzbarsky%mit.edu af3700e48e 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
2002-02-01 21:36:00 +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
radha%netscape.com 96c4cacf9c Changes related to wyciwyg protocol implementation. r=35340 r/sr by jst, darin,nisheeth 2002-01-31 19:38:16 +00:00
alecf%netscape.com 28b3772942 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
2002-01-30 06:04:29 +00:00
jst%netscape.com 54aad376d7 WIP for an interface for the new frame and iframe loader. Not part of the build yet. 2002-01-29 06:31:26 +00:00
jst%netscape.com 43e5fdd4da WIP for a new frame and iframe loader. Not part of the build yet. 2002-01-29 06:27:27 +00:00
timeless%mac.com 327e376f67 Bug 120221 Make |NS_ERROR_GFX_PRINTER_INVALID_ATTRIBUTE| more specific
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=sfraser
2002-01-29 03:03:56 +00:00
timeless%mac.com dce5b223ad Bug 120911 Crash while printing due lousy error checking
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=jag
2002-01-29 02:59:12 +00:00
rods%netscape.com 00a2a4fa4d Adding new Frame to clip content area of page for Printing and PrintPreview
Bug 112698 r=dcone sr=waterson
2002-01-25 14:30:14 +00:00
jst%netscape.com b7db5ae3bd 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. 2002-01-25 06:37:35 +00:00
hyatt%netscape.com 1966bb3a7e Remove debug hyatt code. r=danm, sr=brendan 2002-01-24 23:17:14 +00:00
peterv%netscape.com abdb2a1494 Fix for bug 96647 (Change the way output is constructed in Transformiix). r=sicking, Pike, sr=jst. 2002-01-24 13:38:51 +00:00
jst%netscape.com 0edee4ca42 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 2002-01-24 09:17:00 +00:00
bzbarsky%mit.edu ca547b257b Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00
mkaply%us.ibm.com b854da258b #120431
a=brendan for drivers
OS/2 only - temp fix to workaround optimizer bug
2002-01-22 15:54:36 +00:00
hyatt%netscape.com f66fb7bcab Fix for 115919, r=dbaron for me, r=hyatt for dbaron, sr=brendan, a=brendan 2002-01-22 05:36:50 +00:00
rods%netscape.com 0bd908943f 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
2002-01-17 15:04:54 +00:00
rods%netscape.com 503c37671e turns on scaling and fixes it
Bug 120075 r=dcone sr=attinasi
2002-01-16 03:11:28 +00:00
rods%netscape.com 6639d9eaad Getting rid of event processor, it is no longer needed and will fix this problem
109566  r=kmcclusk sr=waterson
2002-01-16 03:02:35 +00:00
attinasi%netscape.com c4ce5b9e2e Fixed problems with reframing recursively due to block-in-inline frames and content appended notifications. r=karnaze sr=waterson b=56894 2002-01-14 22:05:26 +00:00
rods%netscape.com ca41a066b5 This enables platforms to set a pref as to whether they allow print from print preview.
Bug 118623 r=roland sr=attinasi
2002-01-12 12:58:46 +00:00
rods%netscape.com 8ce8a77114 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
2002-01-12 12:31:05 +00:00
rods%netscape.com 57e9b4a883 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
2002-01-11 11:59:00 +00:00
brade%netscape.com 54624112ac remove unused static kPrefServiceCID for gain of 16 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:06:15 +00:00
brade%netscape.com f5caf0b29b remove unused statics kEventQueueServiceCID, kEventQueueService and kScrollingViewCID for gain of 48 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:05:55 +00:00
brade%netscape.com ab8c3739d0 remove unused statics kPresShellCID and kCParserCID for gain of 32 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:05:04 +00:00
brade%netscape.com de45da8d1c remove unused statics kCContentIteratorCID and kCSubtreeIteratorCID for gain of 32 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:03:51 +00:00
rbs%maths.uq.edu.au 11695e8870 Grab a low hanging perf fruit by switching to an API that doesn't copy the font, b=118918, r=dbaron, sr=waterson 2002-01-10 00:04:35 +00:00
brade%netscape.com 409b36983a remove/comment out unused statics kTextEncoderCID and kUBidiUtilCID (bug 117927; rs=glazou) 2002-01-09 15:37:11 +00:00
peterv%netscape.com 12746efe64 Check for i < Count() before accessing mObservers[i] (mObservers is nsAutoVoidArray). rs=glazman, sr=jst. 2002-01-09 14:44:10 +00:00
harishd%netscape.com 7c522efd05 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst 2002-01-09 01:37:50 +00:00
jst%netscape.com 78daa6b87f 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 2002-01-08 07:01:53 +00:00
jst%netscape.com 4497685b25 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 2002-01-08 06:32:36 +00:00
rods%netscape.com f3fd34b8a7 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
2002-01-08 01:17:40 +00:00
dbaron%fas.harvard.edu c9c0a97163 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 2002-01-07 23:46:07 +00:00
jst%netscape.com b74c53591a Fixing bug 86191. Don't return nsnull as a nsresult, return NS_OK in stead. r=sicking@bigfoot.com, sr=nobody, trivial change. 2002-01-06 02:39:13 +00:00
hyatt%netscape.com e3f61bf44f Checking in 115757, enabling of Windows XP Theme Support under Classic skin.,r=bryner,sr=hewitt 2002-01-04 00:28:01 +00:00
mkaply%us.ibm.com c6b8ebb38b #117919
r=rods,mkaply sr=blizzard
OS/2 only - implement AvailablePrinters
2002-01-03 22:08:04 +00:00
jst%netscape.com ae54304ade 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 2002-01-03 04:51:02 +00:00
jst%netscape.com 4b5ad8d8ec Removing unused variable to quiet down a compiler warning. 2002-01-03 00:34:07 +00:00
rods%netscape.com 8f92ed8519 Fix AIX bustage 2002-01-01 15:56:36 +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
shanjian%netscape.com bf85c86c6a #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
2001-12-26 03:17:59 +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
rbs%maths.uq.edu.au 2b509887f6 Whitespace to correct the bug number in my earlier checkin comments: should be 105297 (instead of 105219) 2001-12-21 22:42:46 +00:00
rbs%maths.uq.edu.au 75c5e158b8 Make unchecking `Allow documents to use other fonts' to work in a simpler way, b=105219, r=dbaron, sr=attinasi 2001-12-21 22:25:58 +00:00
rods%netscape.com 8c3c03fd7e enabling print progress
Bug 113917 r=dcone sr=attinasi
2001-12-21 01:25:16 +00:00
rjesup%wgate.com 2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
heikki%netscape.com ead03602d1 Fixing bad whitespace. 2001-12-20 06:12:52 +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
mjudge%netscape.com 453a8f9235 moved file here from embedding for the build order issue. fixing bustage. 2001-12-18 02:40:08 +00:00
mjudge%netscape.com d7c892374e wrong name for module name. needed webbrwsr not webBrowser_core 2001-12-18 02:06:04 +00:00
mjudge%netscape.com 50bfd9ef58 7868 api change for selection SetDisplayFlags in nsISelectionDisplay idl. r=saari bug bs=7868 2001-12-18 01:12:02 +00:00
hyatt%netscape.com 0ec3f045d8 Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
jaggernaut%netscape.com e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +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 c6d6a59ecb Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 12:04:47 +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
jst%netscape.com 8edc8ebe85 Make that NS_ENSURE_SUCCESS() so we know if this fails... 2001-12-16 11:38:31 +00:00
jaggernaut%netscape.com 862699e4fe Fix small bug: NS_ENSURE_TRUE(rv, rv) -> if (NS_FAILED(rv)) return rv; 2001-12-16 11:22:34 +00:00
jst%netscape.com 1450f9c0ad Remving unnecessary nsCOMPtr. r=sicking@bigfoot.com, sr=me, no bug # 2001-12-16 07:10:49 +00:00
jst%netscape.com 591abcc892 Fixing bug 114539. Getting rid of mInner in all our 'data' nodes and making those classes inherit nsGenericDOMDataNode in stead. Also remove mContentID from nsTextNode and push mRangeList and mListenerManager into hashtables since they are used so rarely. This results in a size reduction of nsTextNode from 44 bytes to 28 bytes (~36%). r=peterv@netscape.com, sr=hyatt@netscape.com. 2001-12-16 07:04:44 +00:00
jst%netscape.com 362692e337 Fixing bug 114539. Getting rid of mInner in all our 'data' nodes and making those classes inherit nsGenericDOMDataNode in stead. Also remove mContentID from nsTextNode and push mRangeList and mListenerManager into hashtables since they are used so rarely. This results in a size reduction of nsTextNode from 44 bytes to 28 bytes (~36%). r=peterv@netscape.com, sr=hyatt@netscape.com. 2001-12-16 06:59:31 +00:00
sfraser%netscape.com 169c79e50d Fix for bug 115157 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson 2001-12-14 23:10:42 +00:00
sfraser%netscape.com 24653793a6 Fix for bug 115151 -- shrink RuleProcessorData by converting PRBool to PRPackedBool. r=dp, sr=waterson 2001-12-14 23:07:43 +00:00
rods%netscape.com c72800ef27 Initial check in for BUg 113917 (not in the build yet) 2001-12-14 22:40:12 +00:00
peterlubczynski%netscape.com 38bb699d49 Adding TextReset case to GetUniqueStyleData, bug 36997 r=dbaron sr=attinasi a=brendan 2001-12-14 03:47:02 +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
smontagu%netscape.com 63a60fb40f Fix for bug 84130, Mail Message subjects don't get Bidi applied, r=mkaply, sr=jst. 2001-12-12 04:28:25 +00:00
hewitt%netscape.com c580303351 113789 - -moz-border-colors doesn't recognize transparent, r=ben, sr=hyatt 2001-12-11 11:13:16 +00:00
jst%netscape.com 70c3c11153 We don't pass references to 'interfaces' in general, so let's not do it here either. r=bryner@netscape.com. sr=jaggernaut@netscape.com 2001-12-11 09:03:38 +00:00
shanjian%netscape.com fdf39e6da8 #105199 glyph search order is NOT lang dependent
lang is mapped to CSS Display structure and apply to document using
CSS rule tree.
r=dbaron sr=attinasi
2001-12-11 04:12:34 +00:00
hewitt%netscape.com 19bd06047a 113562 - nsIContent needs HasAttr method, r=jag, sr=jst 2001-12-11 02:57:52 +00:00
jdunn%netscape.com 62d848316b fixing hpux bustage. unnamed unions can't access structs which are protected.
making FragmentBits a public struct, but the variable of this type is still
private.  The other solution would be to "name" the union and delcare
FragmentBits a friend of the union (the union has to be named to declare
friendship).
2001-12-10 15:43:18 +00:00
seawood%netscape.com f1623c011a Fix HP-UX/Forte bustage by getting rid of useless & ambigious intermediate FragmentBits struct and declaring mState as a struct inside the union.
r/sr=jag
2001-12-10 12:28:10 +00:00
jst%netscape.com 824ffa4c7f Fixing bug 114274. Don't allocate storage for newline fragments, this cuts down the number of string buffer allocations we do while running the pageload tests by ~22%. r=bbaetz@cs.mcgill.ca, sr=jaggernaut@netscape.com 2001-12-10 09:46:33 +00:00
jst%netscape.com cc5dcc16dd Formatting changes, no code changes. 2001-12-09 08:02:41 +00:00
dbaron%fas.harvard.edu 8c0a6f79f1 Fix crash due to accessing destroyed data previously owned by a rule node but cached on a style context that inherited it by clearing style data from style contexts before reresolution due to an inline style change. b=105619 sr=hyatt r=shaver 2001-12-08 22:46:21 +00:00
attinasi%netscape.com bfbe71bf7e Adding parent to StyleContext listing for help in debugging. b= 113518 r=dbaron sr=kin 2001-12-07 00:38:27 +00:00
bzbarsky%mit.edu 616ced304b Set the |inherited| bool in all cases when we inherit. Bug 113533,
r=dbaron, sr=hyatt
2001-12-05 14:06:34 +00:00
hyatt%netscape.com 91bc6c4a6e Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988 2001-12-05 08:35:05 +00:00