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

380 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com 1fde5f13f3 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 f76c0c6f15 #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 6ab111155d 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 544c375270 Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
rods%netscape.com c21f30c5a0 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 b8f238c153 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 d94ad17df1 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 563ec66cf4 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 38a0f22173 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
pchen%netscape.com ce17633d5e 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 f583991209 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 89d3d93418 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 afeb351c68 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 760f64245a 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 359881f527 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 ab759e5ff4 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 c3d6f78b18 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 fb23fc46ee 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 0c29fa8dd0 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 796a9ea8ac 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 0214ac3fdb Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
dougt%netscape.com 1f40b94136 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 34fc404be7 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 24bf7c0ff4 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 9c6fccd32c 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 afa17af158 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 fa4e5530e9 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 338e3871f8 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 fdc4078bc4 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 35215a119b 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 2b0c9d0438 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
karnaze%netscape.com b27e2932c9 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 abd36c131c #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 9d8f2596ca 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 826b58444b 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 ac33036169 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 912f63aaa0 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 fe326123f3 b=91290 fix for printing regression tests r=karnaze sr=waterson 2001-08-17 22:16:17 +00:00
cls%seawood.org 8405a1984e 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 b72c324af1 fixing bug 78690. removing old imagelib. r=jst sr=waterson 2001-08-09 20:22:39 +00:00
rpotts%netscape.com 2dd72db7a8 bug #91165. Better patch (trunk only) for fixing selectAll within framesets for embedding 2001-08-09 09:24:26 +00:00
dcone%netscape.com 143f4fe464 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 29ad3fe6bc 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 6bb80eba8e 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 c14d9c09a1 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
hyatt%netscape.com 04fb853f1a Fix for 90081, r=dbaron, sr=attinasi 2001-07-25 06:33:06 +00:00
dbaron%fas.harvard.edu 08b178d117 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 89df3a5434 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 914543da03 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 bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
dcone%netscape.com fbbdea35f3 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 aa39bdfb4e 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 688519fb0c 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 931ebd5342 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 2d1789e9a5 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 2fe0a325ca 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 2b539be4dd 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 d5b20e8bb4 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 ca3ebe5c0b 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 ff036aec4f 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 f533dd2922 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 adf1d8320a 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 3b75a7e5fb 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 e051c14ef3 Fix for 76495. r=danm, sr=rpotts 2001-05-01 22:50:16 +00:00
sfraser%netscape.com 0e1ace29ab 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 a0844e5329 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 31a850a277 Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov 2001-04-25 19:52:49 +00:00
dr%netscape.com 012f3bd03f 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 39003ffb2a 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 3ac39b3227 fix unix bustage 2001-04-13 13:44:16 +00:00
rods%netscape.com 035b634338 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 8f4d4ceb18 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 f439ddf0c3 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 1138ac290b 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 3a707eb7e1 Fix for 73137. r=danm, sr=hewitt 2001-04-10 02:10:02 +00:00
pollmann%netscape.com 19b315986e 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 e842605e8a removing "inline" on method to fix SunOS bustage.
r=mkaply
2001-03-27 22:57:14 +00:00
rods%netscape.com 4421ccbfc6 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 7dc7816cb0 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 db5c15cb12 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 ae23767cdd 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 c3faaae3d3 r=rods sr=attinasi Passing in the title to begindocument 2001-02-16 17:36:02 +00:00
dcone%netscape.com 656f0a03ac 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 cbf9cc74f2 Release the Presentation Context.. fixes printing leak r=kmmclusk, sr=attinasi 2001-02-14 05:45:05 +00:00
dcone%netscape.com 28da98460f 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 2dd0c91e9c 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 133daec2f6 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 360737ebca 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 feb38d074c Took out bad #ifdefs.. added newline for warnings 2001-02-01 21:44:18 +00:00
disttsc%bart.nl e417f32937 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 52fd6101b3 Fixed a define problem 2001-02-01 21:30:14 +00:00
dcone%netscape.com b784e79cec Added routines for finding the currently selected frame. sr=buster. r=peterl 2001-02-01 20:49:10 +00:00
kmcclusk%netscape.com 81862e3601 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 20b685bf78 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 9c6f7ccade 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 44ed8413cf Took outsome debug code which snuck in. 2001-01-09 20:41:05 +00:00
dcone%netscape.com e60df0c1c0 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 c81b2c3b26 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 41bf703180 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 95fbe00809 Bug 59675, fixing uninitialized variables. r=jst, a=waterson. 2000-11-27 23:23:28 +00:00
waqar%netscape.com b721c20516 #=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 4189314fdb 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 6e35f97e31 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 60e42dc1b0 Have fix for bug 24406. r=kmmclusk sr=buster 2000-10-19 21:49:12 +00:00
dougt%netscape.com bfbbaa82b6 Restores INCLUDE_XUL #define. b=54248. r/a=hyatt@netscape.com 2000-10-01 05:24:00 +00:00
rods%netscape.com dc348dfffe 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 40c3bb938f fix for bug #52663
-r hyatt -a waterson
2000-09-21 01:20:00 +00:00
Peter.VanderBeken%pandora.be f019ffd8cf 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 a2fa9edcb5 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 6cc70ebd6c 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 49552edbbe Moved the firing of the OnLoad event from WebShell into DocumentViewer... 2000-09-06 09:11:38 +00:00
Peter.VanderBeken%pandora.be 96c2cb7a50 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 4a41eee18d 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 431a05f240 Fix for crash when cancelling mail print operations - Bug #: 49280 - r: bienvenu 2000-08-30 02:04:02 +00:00
hyatt%netscape.com 1a375f2282 43220. r=ben 2000-08-29 08:07:22 +00:00
hyatt%netscape.com 696a768b62 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 0022a95645 Patch to avoid observing the document so early. r=attinasi 2000-07-29 09:52:06 +00:00
ftang%netscape.com d4bb6b1c16 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 6371dad16a 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 f7e1ee029a Fixed crash due to ordering problem: b=38768 r=dcone 2000-06-07 23:04:45 +00:00
mjudge%netscape.com a89f9e3c80 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 d2c39b970f bug 37037, 37490, and a table paganation problem when captions are present. 2000-05-04 23:16:42 +00:00
hyatt%netscape.com 7a88f1566e Fix scrollbar stylesheet relative to ua stylesheet. 2000-05-01 07:58:07 +00:00
hyatt%netscape.com 3d7518c01b Adding support for other backstop style sheets. 2000-04-28 23:32:51 +00:00
mjudge%netscape.com 6e453761da change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument 2000-04-28 06:21:31 +00:00
mjudge%netscape.com 48f046e6b3 ender lite checkin. 2000-04-27 07:37:12 +00:00
jdunn%netscape.com 97a831afcb adding newline for hp 2000-04-21 22:17:14 +00:00
anthonyd%netscape.com 745cf02967 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 4f36050dbc fixing selection speed. only copying to clipboard on mouse up 2000-04-14 23:00:30 +00:00
mjudge%netscape.com dd0979f114 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 be4311c49a making string conversions explicit 2000-04-03 11:20:35 +00:00
erik%netscape.com 3d1abdc603 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 b7dfa4f7db 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 b768001187 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 ba3457173e 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 77ad4f848b 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 8dec60b884 ContentViewer Initialization now take an nsIWidget instead of a native window. 2000-03-11 01:24:59 +00:00
tbogard%aol.net 5c166f4fd5 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 de48cfb517 Bug 14827: Removing dead code. r=harishd a=rickg 2000-02-21 02:21:38 +00:00
sfraser%netscape.com 6ff0e90ae4 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 5e32625591 Assert when trying to sizeToContent on subframes. It's not allowed. r=hyatt 2000-02-11 08:35:20 +00:00
attinasi%netscape.com bab15315db 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 a27771d4f5 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 4d12d19a42 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 36870eea40 SizeToContent now works properly within the new DocShell API world. r=hyatt 2000-02-08 15:49:14 +00:00
vidur%netscape.com f091f8b9ab 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 b0fee5d1bd support for regression testing. r=rods 2000-01-26 15:14:41 +00:00
sfraser%netscape.com 9588dc9c47 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 86d8d3bea8 adding a parameter to nsIBrowserWindow::SizeWindowTo. part of bug 15555. r:hyatt 2000-01-15 02:30:34 +00:00
dcone%netscape.com a70ef8651c Added a container for the printContext. r= rods b = 21470 2000-01-14 14:30:41 +00:00
dcone%netscape.com e480054d7e 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 780e191953 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 648ace3e23 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 1da7d3868d fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
tbogard%aol.net a0640b60c4 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 87afdfc5ad 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 814ee271ad 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 5e269fcf05 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 50379d48b1 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 425a1fb90f Reflect changes to nsIContentViewer::SetContainer and GetContainer API. r=pavlov 1999-11-14 10:12:21 +00:00
beard%netscape.com 54792d43d1 pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov 1999-11-14 02:51:25 +00:00
law%netscape.com 346061bc84 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 ea837f023a 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 42fc94a6ec 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 fc1c8f3ca2 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 6fc5c2e45e 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 6a77a6e288 added debugging for printing 1999-09-21 14:34:28 +00:00
valeski%netscape.com 2eae3c61f7 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 c5684bf4d7 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 f135856aa7 yanked some function redefinitions if NECKO was defined 1999-07-15 15:17:43 +00:00
dcone%netscape.com f80c513c88 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 a56022118e use NS_DEFINE_CID instead of NS_DEFINE_CID where appropriate. fix warning 1999-07-15 07:00:22 +00:00
peterl%netscape.com 1092f444a0 propogate quirk mode into child contexts 1999-07-07 01:20:21 +00:00
nisheeth%netscape.com d258a2fb2b 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 0664263319 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 ab090b8c08 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 926c742d61 added a PrintContent() method to these classes 1999-05-12 13:32:09 +00:00
kipp%netscape.com 14994be14d Added a reminder comment 1999-05-10 22:29:34 +00:00
kipp%netscape.com 9e31b5ad32 Implement support for SetEnableRendering/GetEnableRendering 1999-05-07 19:26:23 +00:00
kipp%netscape.com 8b0757f313 Moved from webshell/src 1999-05-06 19:25:40 +00:00