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

1620 Коммитов

Автор SHA1 Сообщение Дата
bernd.mielke%snafu.de ed37c11710 avoid EndDocument and AbortDocument + nasty dialogs during printing regression tests
bug 125053 r=karnaze,rods sr=attinasi
2002-02-13 20:01:42 +00:00
rods%netscape.com f7189b3cfd 1) On windows and OS/2 it implements IDL attr of "defaultPrinterName" (like Bug 118152)
2) Stubs this out on al other platforms
3) On Windows implmenets new method "InitPrintSettingsFromPrinter" which sets certain key values from the native devmode into the print settings
4) Stubs this out on all other platforms
5) It also cleans up the nsDeviceContextSpecWin interface a little bit:
   It now has a single GetDevMode method that must be paired with a UnlockDevMode  method.
6) It moved GetDataFromPrinter into the public interface
7) Created a simple helper function for getting the default printer name.
Bug 123554 r=dcone sr=attinasi
2002-02-13 13:58:41 +00:00
rods%netscape.com 7d1713b7f6 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 6f4c72ac1b 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 e3b541a10c Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 45ad330784 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 628605e7e7 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 ca06ac1b6f remove nsIDiskDocument usage (instead use nsIWebBrowserPersist); bug 102033, r=glazman, sr=kin 2002-02-08 15:50:49 +00:00
peterv%netscape.com 8bd16139b9 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 ca78ffade9 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 35c70c6841 ifdef-fu for mach-o. rs=hyatt 2002-02-06 15:42:06 +00:00
rods%netscape.com 33fd9865a8 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 60d1308df5 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 b32c4770ff 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 c024ba3ae0 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 580e33204e 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 5b86867a3a 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 91759efb47 Fix Macho and Cocoa horkage because of a missing ifdef. 2002-02-04 10:56:42 +00:00
alecf%netscape.com a10a38843d more dependency updates 2002-02-02 21:29:01 +00:00
bzbarsky%mit.edu 8e762d2d20 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 4a4dd9b44f 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 271a5e259a 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 b417379c8c 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 178b3badee 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 7f778656b6 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 c68ef8c76d 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 36942213c5 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 bdb6a55430 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 7a80404791 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 af5b749fcc Remove debug hyatt code. r=danm, sr=brendan 2002-01-24 23:17:14 +00:00
peterv%netscape.com 6df18a080b 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 173486ad55 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 f2a9512382 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 04e0b281aa #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 8e63b25b22 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 9aaa73d6c3 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 30512f5d7f turns on scaling and fixes it
Bug 120075 r=dcone sr=attinasi
2002-01-16 03:11:28 +00:00
rods%netscape.com f933be4ae0 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 02fb85a461 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 68e2a5beb1 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 9c97139dd3 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 c12271de2f 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 6ac6f805be 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 9824132eea 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 2cb87e2763 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 c14b2510f1 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 23c8ff98a0 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 e2911bbf1e remove/comment out unused statics kTextEncoderCID and kUBidiUtilCID (bug 117927; rs=glazou) 2002-01-09 15:37:11 +00:00
peterv%netscape.com fb72d889c4 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 fd33e7c446 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst 2002-01-09 01:37:50 +00:00