rods%netscape.com
6cc2d64532
Original check work with passing back NS_OK, it appears something in the front-end
...
may have changed. Passing back NS_ERROR_FAILURE now works. (maybe should have been that
in the first place)
Bug 136185 r=dcone sr=attinasi
2002-04-15 13:30:32 +00:00
rods%netscape.com
7003507aa7
For PP cache the zoom and zoomtext scale factors and reset then back into the DC when leaving PP.
...
Bug 136785 r=dcone sr=attinasi
2002-04-15 13:22:05 +00:00
rods%netscape.com
56c0612f03
The real fix is to enable the printing of XUL docs, which is what is crashing.
...
The best we can do right now is not print XUL Docs. This patch checks to see if
it is a XUL document and if it is it idsplay a dialog and and doesn't Print or
Print Preview.
Bug 136185 r=dcone sr=attinasi
2002-04-11 00:45:11 +00:00
rods%netscape.com
1756fd22db
Add a new attr to PrintObject for identifying POs that are to be hidden, not
...
reflowed. So if a frameset frame's root frame is zero height then we mark it
hidden and not to be printed.
Bug 134769 r=dcone sr=attinasi
2002-04-11 00:33:24 +00:00
rods%netscape.com
c477cf19b3
Although the front-end should be disabled and not allow the user to make any
...
changes to PP while the document is printing. This samll fix is back-end
insurance to keep a crash from happening.
Bug 130691 r=kin sr=attinas a=rjesup adt=jaime
2002-04-09 14:17:56 +00:00
rods%netscape.com
1d4852267d
Clamps ShrinkTOFit to 50%
...
Bug 135013 r=dcone sr=attinasi a=asa adt=jaime
2002-04-06 13:09:15 +00:00
rods%netscape.com
d2b6d22083
Stop it from calling EndPage method when printing selection
...
Bug 135526 r=dcone, sr=kin a=rjesup@wgate.com adt=jaime
2002-04-06 13:02:17 +00:00
timeless%mac.com
a84a7e233f
http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
...
Backing out the fix for bug 52334
approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com
bf7702387e
Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
2002-04-04 22:42:19 +00:00
rods%netscape.com
6d6859123b
it is just a matter of turning off a boolean in the right spot. The previous spot was some arbitrary in that method. Now we turn it
...
off a little earlier
Bug 134283 r=dcone sr=attinasi a=asa adt=jaime
2002-04-04 13:04:21 +00:00
jst%netscape.com
020632bdc1
Backing out latest checkins due to them not working on linux and other unix systems with broken compilers.
2002-04-04 07:31:16 +00:00
jst%netscape.com
aa9f71957d
Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
2002-04-04 02:09:19 +00:00
blakeross%telocity.com
5e34851046
108099, 75338 - overhaul of main menu and context menus. r=ben sr=hewitt a=asa/brendan
2002-04-03 04:16:28 +00:00
rods%netscape.com
565d88ab19
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
2002-03-27 03:02:42 +00:00
rods%netscape.com
ca589fdb8d
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
2002-03-26 11:43:40 +00:00
mscott%netscape.com
86a6d0814b
Backing out the change to nsDocumentviewer in Bug #70030 to see if it effects page load performance
2002-03-26 05:01:49 +00:00
akkana%netscape.com
09db554fe7
70030: Stop animation with webNavigation.stop. Fix courtesy of Jim Song, jim.song@sun.com; r=akkana, sr=jst, a=asa
2002-03-26 01:05:03 +00:00
rods%netscape.com
b3a87921ff
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
2002-03-25 03:19:32 +00:00
rods%netscape.com
e3c71475b1
Add event listeners to "prevent" ContextMenu, Key, Mouse and MouseMotion events from being processed.
...
Bug 128449 r=dcone sr=attinasi a=asa
2002-03-23 18:07:51 +00:00
rods%netscape.com
dbb633ac74
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
2002-03-23 16:48:58 +00:00
dcone%netscape.com
c0b90242cd
118890 r=rods sr=attinasi a=asa. Fixed printing in print preview
2002-03-22 14:49:29 +00:00
rods%netscape.com
a165972d6f
Backing out changes for Bug 131174
2002-03-22 00:42:48 +00:00
rods%netscape.com
b4898103a0
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
2002-03-20 22:50:42 +00:00
rods%netscape.com
aa1233cc10
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
2002-03-20 12:43:13 +00:00
rods%netscape.com
10caff52d1
Removing uwanted debug staments to fix bustage.
2002-03-16 14:08:39 +00:00
rods%netscape.com
c42fa2528c
1) Removes most all the unneeded data from nsPrintOptions service. All data should be in the PrintSettings.
...
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings object. The items not saved are those used during the printing process and it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings. If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS. Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific set of prefs. Then if a printer name is available in the PS then it tries
to initialize itself from the printer specific prefs. This enables to define "back stop" prefs for picking up first. Then the printer specific prefs can override those settings. For example, we may define in prefs that the default paper size 8.5x11, then if if the "save PS prefs" is turned on, for a given printer it might save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read or written.
Bug 128142 r=dcone sr=attinasi a=shaver
2002-03-16 13:08:45 +00:00
rods%netscape.com
9e6a587a72
Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway
2002-03-15 14:49:09 +00:00
rods%netscape.com
20d6c55150
1) Removes most all the unneeded data from nsPrintOptions service. All data
...
should be in the PrintSettings.
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings
object. The items not saved are those used during the printing process and
it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings.
If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS.
Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific
set of prefs. Then if a printer name is available in the PS then it tries
to initialize itself from the printer specific prefs. This enables to define
"back stop" prefs for picking up first. Then the printer specific prefs
can override those settings.
For example, we may define in prefs that the default paper size 8.5x11,
then if if the "save PS prefs" is turned on, for a given printer it might
save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read
or written.
2002-03-15 13:55:54 +00:00
rods%netscape.com
b04e03e883
The document viewer was only clamping on values above 100%, the Front-end UI
...
was doing the clamping on 50-100%, I have changed the back-end to do no
clamping and the front will now allow values between 10 and 500%, these seem
reasonable.
Bug 127508 r=sgehani sr=alecf a=asa
2002-03-10 15:23:54 +00:00
rods%netscape.com
4192ff3428
1) Added a new method to nsIWebBrowserPrint iface that enables you to get the current PS being used to print or PP
...
2) Change the PP toolbar code to use the current PS instead of the global
Bug 127969 r=dcone sr=attinasi a=asa
2002-03-07 12:57:33 +00:00
rods%netscape.com
56c2710b00
When object tags are sub-documents they should be treated as IFrames for printing
...
Bug 128142
sr=attinasi r=dcone a=asa
2002-03-07 12:44:57 +00:00
darin%netscape.com
f1a6738b6c
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
2002-03-06 07:48:55 +00:00
rods%netscape.com
7719fefba4
1) This adds in a new layout atom for the SequenceFrame
...
2) Now checks all the SeqFrame's children (PageFrames) instead of just the first one
Bug 71609 r=dcone sr=attinasi a=asa
2002-03-04 12:55:20 +00:00
rods%netscape.com
f53bdb3606
Don't call these methods when the PO is not printable.
...
Bug 127639 r=dcone sr=attinas a=asa
2002-02-26 13:29:48 +00:00
cbiesinger%web.de
559f8fc646
Bug 126303 patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=attinasi a=roc+moz
...
Remove the DOM dependendecies from gfx/src/xprint/
2002-02-23 15:32:03 +00:00
rods%netscape.com
d7865275df
We were sending Progress notification from the destructor of the PrintData.
...
I have done the following:
1) Removed unneeded nsresult arg from OnEndPrinting
2) Removed unneeded calls to OnEndPrinting before the deletion of PrintData objs
3) The destructor of PrintData now only calls OnEndPrinting if onStartPrinting was called first, meaning printing notification was actually started.
Bug 126427 r=dcone sr=attinasi a=roc
2002-02-21 13:23:11 +00:00
sgehani%netscape.com
4ff1572cca
Landing print preview toolbar and UI.
...
b=111235; r=law; sr=hewitt
2002-02-20 06:19:39 +00:00
rods%netscape.com
57797bf5fc
It will no longer layout document with a zero width or height
...
Bug 114139 r=dcone sr=attinasi
2002-02-20 03:21:25 +00:00
rods%netscape.com
785aacab83
1) Makes sure that when a PrintSettings is created it is initialized from the
...
default printer.
2) Mail now uses the nsIWebBrowserPrint interface to create the PrintSettings
object it caches and uses
3) Editor now creates and caches a PrintSettings object.
Bug 123554 r=dcone sr=attinasi
2002-02-20 03:18:33 +00:00
roc+%cs.cmu.edu
59d3d1ebd0
Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi
2002-02-19 21:33:26 +00:00
smontagu%netscape.com
37ebf6848d
Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi
2002-02-19 20:41:32 +00:00
rods%netscape.com
ae0b7240a9
1) In DocumentViewer: I did rearrange some of the data members for PrintData
...
and PrintObject and their initialization order
2) In DocumentViewer: Implemented the shrink to fit feature by calc'ing the
ratios in the first reflow and then reflowing a second time to shrink them
3) In nsPageFrame: This is somewhat unrelated to this bug, but I found where
continuing frame content was being parented to the PageFrame instead of the
PageContentFrame.
4) Although at this time I am not using DumpFrames for debugging I may want to
switch back to it while debugging at anytime.
Bug 100967 r=dcone sr=attinasi
2002-02-19 11:49:27 +00:00
dcone%netscape.com
f7e8a4bf6d
b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off.
2002-02-15 14:48:12 +00:00
rods%netscape.com
16d789ac62
1) Enables the PageSeq frame to specify the "gap" of gray space around
...
it in Print Preview
2) It now positions the page in the window with the gray "gap" showing.
3) factors out code for calc'ing the number of pages
4) Adds the methods to get the number of page while in PP
Bug 125151 r=sgehanisr=attinasi
2002-02-14 23:18:09 +00:00
bernd.mielke%snafu.de
62b1dc6afe
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
106d57603e
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
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
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
hyatt%netscape.com
4e2817117c
Fix Macho and Cocoa horkage because of a missing ifdef.
2002-02-04 10:56:42 +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
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
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
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
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
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
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
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
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
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
roc+%cs.cmu.edu
c88233916b
Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
2001-12-01 14:31:45 +00:00
rods%netscape.com
e1e03a6fa5
Hookup the setting of scaling for Print Preview and Printing
...
Bug 110529 r=dcone sr=attinasi
2001-11-29 09:59:16 +00:00
jst%netscape.com
8768a3547d
Fixing the second part of bug 11213. Don't call nsIScriptGlobalObject::SetNewDocument() after leaving print-preview since that well clear the JS scope and cancel all timers that might have queued up while in print-preview mode. Patch by rods@netscape.com, r=peterv@netscape.com, sr=jst@netscape.com
2001-11-27 09:30:15 +00:00
dp%netscape.com
1375d424e1
Marking window visible time on startup. Only for MOZ_TIMELINE. r/sr=hyatt
2001-11-26 23:13:36 +00:00
roc+%cs.cmu.edu
c26c9711f3
My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
04ab1d58c5
View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
2001-11-22 05:26:32 +00:00
pchen%netscape.com
a6bfb73bc2
bug 20943, r=rods, sr=ben, remove ifdef XP_WIN || XP_UNIX in PrintPreview() since I'm turning it on for mac
2001-11-18 07:59:55 +00:00
rods%netscape.com
b9ecdfca41
Added image animation mode constants to imgIContainer.IDL,
...
Changed the animation mode enum to PRUint16 (removed the enum) in nsIPresContext so we could use the constants
from imgIContainer. (changes from dcone's review comments)
Bug 2586 r=dcone sr=attinasi
2001-11-14 14:03:09 +00:00
rods%netscape.com
5200ce36d3
Rename some bools, there is now one for when PP is being created and one for when it is in PP mode.
...
It now can turn on/off animated gifs and calling PP toggles it on and then call it again toggles it off
Bug 2586 r=dcone sr=attinasi
2001-11-14 11:24:03 +00:00
pierre%netscape.com
3da4d257d9
Checked in for fantasai@escape.com. Bug 43220 "author !important rules override user !important rules in user.css". Add User sheets. Rename Backstop sheets into UserAgent. Fix cascading order. r=pierre/sr=hyatt.
2001-11-06 10:04:05 +00:00
rods%netscape.com
37a4501149
Initial check in for print preview work it is complied in for Windows and linix only
...
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-03 14:59:39 +00:00
yokoyama%netscape.com
9998b9d2aa
Bug 105113
...
Read DefaultCharSet from nsPref
when DocumentViewerImpl::mDefaultCharacterSet is
not assigned
/r=bstell and /sr=alecf
2001-11-03 00:06:51 +00:00
darin%netscape.com
2c3928d7b8
fixes bug 70519 "Select All (+ Copy) does not clobber the X primary selection"
...
patch=jwbaker@acm.org r=akkana sr=kin
2001-10-31 06:14:11 +00:00
bryner%netscape.com
e6b4535db9
When creating the root view's widget, don't show it. This prevents full-page Invalidates during page load caused by showing and then hiding the widget. Bug 97895, r=blizzard, sr=hyatt.
2001-10-31 05:06:31 +00:00
jst%netscape.com
b494463795
Fixing part of bug 107453. Combine rarely used leaf element classes into one class to cut down on the amount of code we have for implementing all those dom interfaces. This makes using the combined elements (base, embed, isindex, param, spacer, colgroup, and wbr) a bit more expensive but since they're hardly ever used it's ok for them to take up a bit more heap space when used. r=dbaron@netscape.com, sr=waterson@netscape.com
2001-10-30 10:14:06 +00:00
rods%netscape.com
ff7243160f
Make sure default printing for FrameSets is "AsIs" when printing silently
...
Bug 106015 r=kmcclusk sr=attinasi
2001-10-29 15:28:45 +00:00
bernd.mielke%snafu.de
27a1ee010b
bug 103443 remove the last two occurences of rv?rv:NS_ERROR_FAILURE
...
r=kin sr=attinasi
2001-10-24 04:50:37 +00:00
hyatt%netscape.com
0c8c1348b3
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
2001-10-24 00:01:09 +00:00
dougt%netscape.com
942988df26
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527
2001-10-19 20:59:33 +00:00
dbaron%fas.harvard.edu
ed869c764e
Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
2001-10-16 03:53:44 +00:00
sfraser%netscape.com
9a79a8ff90
Fix bug 50578 -- don't show bogus error dialog when cancelling a print job. r=rods, sr=kin
2001-10-11 19:10:26 +00:00
bernd.mielke%snafu.de
da6f0e24d3
Don't start printing when regression test are executed bug 99633 r=rods sr=attinasi
2001-10-06 14:07:28 +00:00
rods%netscape.com
3a714be743
Check for failure after printing the next page. If it fails then pass back PR_TRUE
...
to indicate we are done printing this document.
Bug 101597 r=kmcclusk sr=attinasi a=pdt
2001-10-03 23:28:38 +00:00
mstoltz%netscape.com
9dcfafdfd4
Bug 18553, better fix which should cause fewer problems. Clear event listeners
...
before every document load, including the first, except when setNewDocument
is called from document.open. r=heikki, sr=jst
2001-10-02 00:54:44 +00:00
vidur%netscape.com
4966d85f91
Fixes for printing bugs 84017 and 89151. The fix for bug 84017 removes the need for a resize reflow to get form frame values to print. The restoration of these values into the new frame model is done as part of the initial reflow. The fix for bug 89151 gets rid of the extra frame model built and forces printed images to come out of the decoded image cache. r=darinf, heikki, sr=rpotts
2001-09-29 17:50:15 +00:00
jaggernaut%netscape.com
ca6197295f
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
2001-09-29 08:28:41 +00:00
rods%netscape.com
4d11ab38a1
Removed setting page height to 5 pages when printing a document "AsIs"
...
Also, added special case code for sizing of "AsIs" documents when they
are positioned 0,0
Bug 100797 r=kmcclusk sr=attinasi
2001-09-25 13:00:04 +00:00
gerv%gerv.net
1968b7dad2
License changes, take 2. Bug 98089. mozilla/content/.
2001-09-25 01:32:19 +00:00
karnaze%netscape.com
66046cb3f7
bug 82401 - remove cell from correct parent when cell spans into split row; work around bug 101264 by doing initial reflow with unconstrained height. sr=kin, r=attinasi.
2001-09-24 14:48:38 +00:00
mkaply%us.ibm.com
a80c7ca184
#97907
...
r=kaie, r=dcone, sr=jst
Checkin for Roland.Mainz@informatik.med.uni-giessen.de - add error codes to printing
2001-09-21 13:52:39 +00:00
rods%netscape.com
d5c3ae49ab
Should set PrintObject to print "AsIs" if it doesn't have children
...
Bug 83683 r=kmcclusk r=attinasi
2001-09-20 12:13:48 +00:00
heikki%netscape.com
358817a443
Bug 78021, Copy Link Address context menu does not work for image maps (<area> elements), <link> elements or simple XLinks. r=harishd, sr=vidur.
2001-09-12 23:31:37 +00:00
valeski%netscape.com
93959d48cc
r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway.
2001-09-05 21:28:38 +00:00
dcone%netscape.com
2b2c916207
b=58002 r=dcone sr=attinasi r=rods a=asa. Fix radio buttons to print the correct setting.
2001-08-23 02:25:14 +00:00
dcone%netscape.com
411063fb97
b=91290 fix for printing regression tests r=karnaze sr=waterson
2001-08-17 22:16:17 +00:00
cls%seawood.org
a3c1dd1b09
Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
...
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
pavlov%netscape.com
1e20984ef0
fixing bug 78690. removing old imagelib. r=jst sr=waterson
2001-08-09 20:22:39 +00:00
rpotts%netscape.com
934fa34926
bug #91165 . Better patch (trunk only) for fixing selectAll within framesets for embedding
2001-08-09 09:24:26 +00:00
dcone%netscape.com
a198b41207
b=90060 Checking in DBarons fix for the print crash when a document changes under it. r=dcone sr=hyatt.
2001-08-06 02:27:43 +00:00
dbaron%fas.harvard.edu
5c0b6349e6
Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into new Destroy method so it happens at the end of paint suppression. Also clean up nsDocumentViewer.cpp a bit. b=80203,89626 r=hyatt sr=waterson
2001-08-01 03:15:50 +00:00
dbaron%fas.harvard.edu
0ab924e19b
Backing out changes for 80203 and 89626 to fix blocker 92325 and probably also blocker 92443.
2001-07-26 20:53:21 +00:00
jaggernaut%netscape.com
e91f8a147e
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2001-07-25 07:54:28 +00:00
hyatt%netscape.com
84f1ff48ed
Fix for 90081, r=dbaron, sr=attinasi
2001-07-25 06:33:06 +00:00
dbaron%fas.harvard.edu
5948e0ab2d
Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into EndObservingDocument so it happens at the end of paint suppression. b=80203,89626 r=hyatt sr=waterson
2001-07-25 04:30:59 +00:00
dcone%netscape.com
4178200414
b=91678 r/sr=waterson & attinasi. Changed stylereflow to a resizereflow. Fixed missing lines in printing
2001-07-23 23:55:38 +00:00
rpotts%netscape.com
c111544a91
bug #84749 . (r=nisheeth, sr=jst). Document unload() events fired *after* the current URI had been changed - this allowed JS to track where the user was going next...
2001-07-17 20:17:38 +00:00
dbaron%fas.harvard.edu
aa4fec2b67
Header include dependency cleanup. b=64023 r=jag rs=brendan
2001-07-16 02:40:48 +00:00
dcone%netscape.com
2ddd07adc9
b=86558 r=dcone sr=attinasi Set the title for the page to null so the last pages value wont be used for the string.
2001-07-09 22:43:17 +00:00
dcone%netscape.com
8f32e6b3ba
bug 84017. Added a StyleReflow to set in the history.. because endobserving document no longer generates this needed reflow for the history/content update for text fields. r=kmcclusk@netscape.com, sr=attinasi
2001-06-29 05:42:47 +00:00
dbaron%fas.harvard.edu
9d35ed31a4
Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
2001-06-20 03:27:48 +00:00
dcone%netscape.com
68afa69f15
Fixed printing so it could not have more than one job at a time. bug=84537 r=rods sr=attinasi a=blizzard
2001-06-15 14:03:12 +00:00
dcone%netscape.com
3ce0ae7a9c
Make the page only 5x instead of 100x to get around linux region bug.
...
This is for printing and helps fix. b=82624 r=rods sr=attinasi a=asa
2001-06-13 20:16:10 +00:00
rods%netscape.com
d8a1f418ba
Need to cache a pointer to the currently focused DOMWin because the Print Dialog
...
"steals" the focus away and then getting it returns null.
Bug 83358 r=kmcclusk sr=attinasi a=asa
2001-05-31 01:06:33 +00:00
roc+%cs.cmu.edu
8865fc53de
Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard
2001-05-25 15:00:51 +00:00
nisheeth%netscape.com
73edd4ea66
Fix for bug 57636. r=rpotts, sr=jst, a=asa. Onload handlers now fire on document.written content.
2001-05-25 08:49:03 +00:00
ftang%netscape.com
ee300ce9bf
temp fix bug 80352 untill simon@softel.co.il come out the real fix
...
We cannot pass in PR_TRUE to force reflow here. Otherwise, we will incrase stylechange reflow right after
we visit a link from a page which have frameset or iframe
r/sr=vidur sr=jst
2001-05-15 12:13:57 +00:00
ducarroz%netscape.com
bcd02a6294
Fix for bug 78445. Need to addref ourself to avoid potential self destruction while processing the onload event. R=sspitzer, SR=hyatt
2001-05-12 17:40:12 +00:00
danm%netscape.com
e039daddd4
adjust for possible rounding in intrinsic window sizing calculation. bugs 68352,77639, probably others. r=brendan,hyatt
2001-05-11 00:47:38 +00:00
jst%netscape.com
f7460d0269
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 16:46:42 +00:00
pierre%netscape.com
b0fcb3608c
62304 [CASCADE] Can't style form controls. r=attinasi, a=hyatt, sr=the man formerly known as buster.
2001-05-02 10:45:07 +00:00
hyatt%netscape.com
dddabd000c
Fix for 76495. r=danm, sr=rpotts
2001-05-01 22:50:16 +00:00
sfraser%netscape.com
44cbfd57f8
Fix for 76758, 63241 and 68307. Make Find search through all frames, bring the Find dialog up from JS, and make a docShell enumerator. r=adamlock, sr=kin
2001-04-27 21:11:03 +00:00
heikki%netscape.com
4095a51dde
Bugs 65848 and 75031, support for application/xml and application/xhtml+xml mime types. This also fixes almost all of content to use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2. r=harishd, valeski (mime types), sr=vidur.
2001-04-26 19:33:12 +00:00
hyatt%netscape.com
8130400b54
Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov
2001-04-25 19:52:49 +00:00
dr%netscape.com
425957fc57
fix for 76733 (DocumentViewer::GetInLink, ::GetInImage should be quieter -- needed for immediate silencing of unnecessary mailnews assertions). r=pink, sr=scc, a=asa
2001-04-19 21:47:17 +00:00
dr%netscape.com
2e8fbd1253
64313 (Implement cmd_copyLink, cmd_copyImageLocation, cmd_copyImageContents). Implement the commands, hook them up in the navigator and mailnews frontends, provide hooks for embedding. r=hyatt, sr=waterson
2001-04-18 06:06:31 +00:00
ftang%netscape.com
35534b4971
fix unix bustage
2001-04-13 13:44:16 +00:00
rods%netscape.com
e8e83262c6
Fixing clipping problem with IFrames and the page timer not being stopped
...
and started correctly.
Bug 75740 r=dcone
2001-04-13 12:32:18 +00:00
erik%netscape.com
4b8e61185d
bug 75066; author=simon@softel.co.il; r=jst; sr=erik; diffs from IBM bidi
...
project (e.g. Arabic, Hebrew)
2001-04-12 23:35:24 +00:00
rods%netscape.com
be33a15835
Implements Print FrameAsIs and other frame printing options
...
Bug 7201 r=dcone sr=attinasi
2001-04-12 13:04:29 +00:00
dcone%netscape.com
3072888e9a
Fixed some timer issues that crashed the Mac. r=mmclusk sr=attinasi b=74083
2001-04-11 14:06:39 +00:00
hyatt%netscape.com
7b2a26b37c
Fix for 73137. r=danm, sr=hewitt
2001-04-10 02:10:02 +00:00
pollmann%netscape.com
c109661ded
Bug 65609: (DOM) Allow form elements inside a subtree to find their parent when the subtree is appended/inserted. r=nisheeth@netscape.com, sr=jst@netscape.com
2001-04-02 00:45:52 +00:00
rods%netscape.com
16d3e26db5
removing "inline" on method to fix SunOS bustage.
...
r=mkaply
2001-03-27 22:57:14 +00:00
rods%netscape.com
4abe5f8794
This now enables print listeners, print progress and the cancelling of printing
...
Bug 70946 & Bug 70949 r=dcone,chak sr=attinasi
2001-03-27 11:56:03 +00:00
disttsc%bart.nl
f4edb65ad4
bug 73339: Remove NS_ConvertToString (just another name for NS_ConvertASCIItoUCS2) from the tree. r=jst, sr=scc
2001-03-27 11:17:17 +00:00
dbaron%fas.harvard.edu
0195b11a4d
Move the destruction from the destructor into its |Destroy| method so that the document viewer is not prevented from being deleted by the cycles it would have broken in its destructor. (This has become necessary since the document viewer is being used from JS/XBL.) Use a null |mDocument| to record the destroyed state. r=disttsc@bart.nl sr=waterson@netscape.com b=61821
2001-03-10 03:19:36 +00:00
heikki%netscape.com
915749084a
Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
2001-02-19 12:55:42 +00:00
dcone%netscape.com
999dab80e2
r=rods sr=attinasi Passing in the title to begindocument
2001-02-16 17:36:02 +00:00
dcone%netscape.com
dafca2054b
Changed the API to BeginDocument.. changed the call in here. sr=attinasi r=rods
2001-02-15 03:52:13 +00:00
dcone%netscape.com
30f56e20d6
Release the Presentation Context.. fixes printing leak r=kmmclusk, sr=attinasi
2001-02-14 05:45:05 +00:00
dcone%netscape.com
b1a810b0aa
had to comment out the release.. the Mac is breaking.. have to figure out why
2001-02-13 15:55:34 +00:00
dcone%netscape.com
090b014432
Added the release for the printing presentation context, fixes big leak. r=kmcclusk sr=attinasi
2001-02-13 15:05:49 +00:00
rods%netscape.com
baed08e917
Printing of selected frameset frames and Iframes
...
Bug 66783 r=dcone sr=buster,attinasi
2001-02-06 23:03:17 +00:00
rods%netscape.com
b71790af51
Added UI for printing selectd frame
...
Bug 66783 r=kmcclusk,ben,dcone sr=buster
2001-02-02 08:42:53 +00:00
dcone%netscape.com
12c55eaaf1
Took out bad #ifdefs.. added newline for warnings
2001-02-01 21:44:18 +00:00
disttsc%bart.nl
d1282d3594
Fix "No newline at end of file" which causes bustage on some platforms. r=bryner
2001-02-01 21:37:05 +00:00
dcone%netscape.com
d630ea8cb3
Fixed a define problem
2001-02-01 21:30:14 +00:00
dcone%netscape.com
d61654b75e
Added routines for finding the currently selected frame. sr=buster. r=peterl
2001-02-01 20:49:10 +00:00
kmcclusk%netscape.com
03143956d6
Removed unused code in view module. bug 62675 sr=roc+moz r=rods@netscape.com
2001-02-01 06:00:02 +00:00
dbaron%fas.harvard.edu
1e046d05c0
Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023
2001-01-27 16:58:15 +00:00
rods%netscape.com
99666eed8c
This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
...
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
dcone%netscape.com
3b139c38ef
Took outsome debug code which snuck in.
2001-01-09 20:41:05 +00:00
dcone%netscape.com
0f7ab3cd10
Added nsIPrintContext interface.
...
Added this so you can now tell if your laying out to a printer.
r=attinasi sr=buster
2001-01-08 20:26:05 +00:00
rods%netscape.com
edb0c6270c
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
attinasi%netscape.com
d97aa7f2cb
Changes to put style data into the layout regression data output. r=karnaze, a=waterson
2000-12-07 15:31:40 +00:00
heikki%netscape.com
eee8382134
Bug 59675, fixing uninitialized variables. r=jst, a=waterson.
2000-11-27 23:23:28 +00:00
waqar%netscape.com
9aad2ac07c
#=34706
...
r=dcone@netscape.com
a=buster@netscape.com
d=Fixes a crash on linux when printing to a file in a directory where I dont
have permission to or printing to a directory or to a non existing printer.
2000-10-30 15:22:46 +00:00
warren%netscape.com
cd56c0575b
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
dcone%netscape.com
dd11969fb9
Have fix for bug 24406. r=kmmclusk sr=buster
2000-10-19 21:49:12 +00:00
dougt%netscape.com
4de121dc63
Restores INCLUDE_XUL #define. b=54248. r/a=hyatt@netscape.com
2000-10-01 05:24:00 +00:00
rods%netscape.com
797dbb5b02
now prints only leaf docshells when there is a frameset and print leaf docshells
...
AND the rest of the document for anything else.
b=47478 a=buster
2000-09-22 14:42:13 +00:00
evaughan%netscape.com
d0813c7d8d
fix for bug #52663
...
-r hyatt -a waterson
2000-09-21 01:20:00 +00:00
Peter.VanderBeken%pandora.be
42e80d8d81
Enabling XSLT hooks in layout in default build. Bug #42228 . r=axel@pike.org, a=waterson@mozilla.org.
2000-09-16 20:53:08 +00:00
mjudge%netscape.com
e2be918716
small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
2000-09-14 11:45:01 +00:00
rayw%netscape.com
0257791053
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2000-09-13 23:57:52 +00:00
rpotts%netscape.com
dd1059184e
Moved the firing of the OnLoad event from WebShell into DocumentViewer...
2000-09-06 09:11:38 +00:00
Peter.VanderBeken%pandora.be
8934df7249
Fix XSLT hooks (Preparation for bug #42228 ). Implement SetDOMDocument. r=jst@netscape.com, a=waterson@netscape.com.
2000-09-02 15:32:28 +00:00
vidur%netscape.com
e153192875
Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
2000-09-01 01:54:35 +00:00
rhp%netscape.com
0070d84c49
Fix for crash when cancelling mail print operations - Bug #: 49280 - r: bienvenu
2000-08-30 02:04:02 +00:00
hyatt%netscape.com
ef6474d1ff
43220. r=ben
2000-08-29 08:07:22 +00:00
hyatt%netscape.com
aacb440f4b
I'm told backing this out resolves smoketest issues, so here it comes. r=attinasi
2000-08-03 21:40:39 +00:00
hyatt%netscape.com
5998ea2de2
Patch to avoid observing the document so early. r=attinasi
2000-07-29 09:52:06 +00:00
ftang%netscape.com
afd789602b
more fix for 39790 which we forget. change intl.charset.default to navigator.properties
...
r=nhotta/cata
2000-07-20 21:09:11 +00:00
rpotts%netscape.com
cf3e824449
DocShell cleanup. Removed the implementation of the unused nsIDocSHell::SetDocument() method and moved the implementation responsibility to the nsIContentViewer
2000-06-22 05:38:07 +00:00
attinasi%netscape.com
d7acae8f5e
Fixed crash due to ordering problem: b=38768 r=dcone
2000-06-07 23:04:45 +00:00
mjudge%netscape.com
55912eddb8
changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret.
2000-05-11 04:25:43 +00:00
karnaze%netscape.com
a02cdba83c
bug 37037, 37490, and a table paganation problem when captions are present.
2000-05-04 23:16:42 +00:00
hyatt%netscape.com
370c46289a
Fix scrollbar stylesheet relative to ua stylesheet.
2000-05-01 07:58:07 +00:00
hyatt%netscape.com
86ac1e20c6
Adding support for other backstop style sheets.
2000-04-28 23:32:51 +00:00
mjudge%netscape.com
7e5a6b3cd7
change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument
2000-04-28 06:21:31 +00:00
mjudge%netscape.com
2c0953e1be
ender lite checkin.
2000-04-27 07:37:12 +00:00
jdunn%netscape.com
fe9da9312c
adding newline for hp
2000-04-21 22:17:14 +00:00
anthonyd%netscape.com
d49663a53e
r=mjudge. adding in focus listener to docviwer. this will now disable/reenable selection on those displays that desired selection at all.
2000-04-21 21:40:28 +00:00
mjudge%netscape.com
533234a976
fixing selection speed. only copying to clipboard on mouse up
2000-04-14 23:00:30 +00:00
mjudge%netscape.com
181b0aaa7e
touch alot. changing api for notify selection listeners to add document and seleciton pointers to the api.
2000-04-14 11:21:19 +00:00
scc%netscape.com
c5c503948f
making string conversions explicit
2000-04-03 11:20:35 +00:00
erik%netscape.com
72dbd2f6e8
bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only; also
...
factored some code to reduce duplication; r=pierre,troy
2000-04-02 21:52:17 +00:00
kmcclusk%netscape.com
cc8f1f34bd
Offset the viewmanager in nsDocumentViewer by passing the offset to nsIViewManager::Init instead of offsetting the root view b=32161 r=attanasi@netscape.com
2000-03-23 23:50:42 +00:00
jst%netscape.com
872a669579
Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
...
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.
dom/public/nsDOMPropEnums.h,v - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v - bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v - bug 12559
2000-03-17 13:27:00 +00:00
cmanske%netscape.com
2824049212
Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
2000-03-16 23:45:39 +00:00
rhp%netscape.com
4e23d61267
Changes to fix many bugs including quoting style size - vcard I18N fixes - compose fixes - etc - Bug #: 12505 25610 29806 30048 30744 31207 31589
2000-03-15 01:47:36 +00:00
tbogard%aol.net
00f72467b3
ContentViewer Initialization now take an nsIWidget instead of a native window.
2000-03-11 01:24:59 +00:00
tbogard%aol.net
4eec4fb506
nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg
2000-03-02 07:13:02 +00:00
pollmann%netscape.com
17abb23f3a
Bug 14827: Removing dead code. r=harishd a=rickg
2000-02-21 02:21:38 +00:00
sfraser%netscape.com
5491ddfa58
Fix the document viewer command updating, give it a selection listener etc, so that commands get updated at the right time. for bug 18395. r=pinkerton
2000-02-16 01:39:30 +00:00
tbogard%aol.net
b91c1c9cea
Assert when trying to sizeToContent on subframes. It's not allowed. r=hyatt
2000-02-11 08:35:20 +00:00
attinasi%netscape.com
2f46ba2ee2
PresShell is now observing the document always instead of just when a new PresContext is NOT created. r=troy b=25406
2000-02-11 01:21:50 +00:00
mjudge%netscape.com
b32999a1de
big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
2000-02-10 04:35:51 +00:00
kmcclusk%netscape.com
cd6f5d237b
Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
...
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
tbogard%aol.net
7f0033c302
SizeToContent now works properly within the new DocShell API world. r=hyatt
2000-02-08 15:49:14 +00:00
vidur%netscape.com
f77571182e
Fix for bug 24306. The DocumentViewer now cleans up dangling webshell references in the PresContext. nsGenericElement::TriggerLink deals with a nonexistent handler (it might have been deleted already as part of event processing). r=buster, joki
2000-02-02 23:40:22 +00:00
dcone%netscape.com
e31204f271
support for regression testing. r=rods
2000-01-26 15:14:41 +00:00
sfraser%netscape.com
0fd5439c99
More of the fix for 14026 -- hook up Select All in the browser windows's controller, and general tidyup. r=saari
2000-01-18 21:06:10 +00:00
danm%netscape.com
e86a4b53fb
adding a parameter to nsIBrowserWindow::SizeWindowTo. part of bug 15555. r:hyatt
2000-01-15 02:30:34 +00:00
dcone%netscape.com
a9bdf781f5
Added a container for the printContext. r= rods b = 21470
2000-01-14 14:30:41 +00:00
dcone%netscape.com
dcdec2846c
Set the container for the printContext. Fixes an Assert, but not the entire bug. r=Rods b=21470
2000-01-11 22:32:23 +00:00
tbogard%aol.net
22cbc2c1bb
Fixing some places when talking to the webshell object to start talking through the new docshell interfaces.
1999-12-18 02:09:29 +00:00
tbogard%aol.net
eb96099e6d
1.) WebShell no longer implements nsIScriptContextOwner.
...
2.) WebShell now implements the new nsIScriptGlobalObjectOwner.
3.) WebShell supports GetInterface to nsIScriptGlobalObject.
4.) Documents no longer carry around a reference to nsIScriptContextOwner. Instead they hold on to a nsIScriptGlobalObject. nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject(). Same change to the set methods.
1999-12-03 09:24:22 +00:00
dougt%netscape.com
f66be6c30c
fix for 18078. r=mstoltz,warren
1999-11-30 00:32:43 +00:00
tbogard%aol.net
af1ce8d410
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
dcone%netscape.com
fb46865127
Initialize the mEnableRendering in other constructor... so print preview will show document. r=rods
1999-11-23 21:45:36 +00:00
buster%netscape.com
86541b4c40
fixed bug 19381. previously, I had added 2 interfaces onto this class, but I
...
forgot to add those classes in the QueryInterface method. god, i wish we
had a macro for that!
r=kmcclusk. thanks, kevin
1999-11-19 21:33:21 +00:00
buster%netscape.com
93551f1751
moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
...
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
tbogard%aol.net
8c8bbce9a7
Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp
1999-11-15 22:17:54 +00:00
tbogard%aol.net
d855c6540f
Reflect changes to nsIContentViewer::SetContainer and GetContainer API. r=pavlov
1999-11-14 10:12:21 +00:00
beard%netscape.com
65a3476676
pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov
1999-11-14 02:51:25 +00:00
law%netscape.com
41d554cbdd
Fix bustage by backing out some CallQueryInterface calls (for Travis); r=travis@netscape.com
1999-11-13 08:20:53 +00:00
tbogard%aol.net
131348416b
Changed storage of of the container to hold simply nsISupports as the mContainer instead of nsIContentViewerContainer. Changed calls to QueryCapability to use the nsIInterfaceRequestor::GetInterface(). r=scc
1999-11-13 07:36:28 +00:00
dmose%mozilla.org
5312eacf8c
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
jst%citec.fi
96830556e2
Make printing use only enabled stylesheets. No bug, r=kipp@netscape.com and dcone@netscape.com.
1999-10-21 22:20:37 +00:00
rpotts%netscape.com
547771542f
Changed the printing to use the ImageGroup notifications rather than the document loader because a document is *not* being loaded... This fixes printing after the changes to the document loader notifications.
1999-09-22 07:34:31 +00:00
dcone%netscape.com
604b036704
added debugging for printing
1999-09-21 14:34:28 +00:00
valeski%netscape.com
92d1b7afd1
api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.
...
I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp).
1999-08-05 01:37:52 +00:00
warren%netscape.com
84bd74a4fd
Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
1999-07-16 11:14:36 +00:00
valeski%netscape.com
6ee521a3aa
yanked some function redefinitions if NECKO was defined
1999-07-15 15:17:43 +00:00
dcone%netscape.com
56e7a48d52
Fixed printing to make sure all URL's are loaded before print.
...
Fixed the background tile render'er to save and restore clip.
1999-07-15 14:23:40 +00:00
sspitzer%netscape.com
e4c9dbea9b
use NS_DEFINE_CID instead of NS_DEFINE_CID where appropriate. fix warning
1999-07-15 07:00:22 +00:00
peterl%netscape.com
b845295513
propogate quirk mode into child contexts
1999-07-07 01:20:21 +00:00
nisheeth%netscape.com
3530c1e1a6
Fix for bug 6892. We should not set focus each time a document viewer creates a new window but leave it to the embedding application to decide when to set focus.
1999-06-04 01:48:38 +00:00
dcone%netscape.com
364c17da3c
added a webshell parameter to the PrintContent call, unhooked the PresShell from the
...
document before deletion. Fixed a leak.
1999-05-14 14:40:59 +00:00
neeti%netscape.com
41dc3a3222
Fixed SetEnableRendering() in nsDocumentViewer.cpp
...
Initialized mEnableRendering in constructors of nsDocumentViewer.cpp and nsPlugin.cpp to a default value of PR_TRU
Do EnableRefresh only if mEnableRendering is set to true in nsHTMLContentSink.cpp,nsXMLContentSink.cpp,
nsXMLContentSink.h
1999-05-13 20:27:47 +00:00
dcone%netscape.com
c71e1f8097
added a PrintContent() method to these classes
1999-05-12 13:32:09 +00:00
kipp%netscape.com
aab132bf6b
Added a reminder comment
1999-05-10 22:29:34 +00:00
kipp%netscape.com
5d9028b7b4
Implement support for SetEnableRendering/GetEnableRendering
1999-05-07 19:26:23 +00:00
kipp%netscape.com
83ba1b59f2
Moved from webshell/src
1999-05-06 19:25:40 +00:00