Commit Graph

734 Commits

Author SHA1 Message Date
dbaron@fas.harvard.edu
8fe41c0a27 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
9ca0ce3a91 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
39c73234a1 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
a9aa77073f Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
dcone@netscape.com
990b4db886 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
73a25c24d4 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
20d7bc6052 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
de342fa929 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
eb6239f5a6 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
2c8da20353 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
7fb0da5c30 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
145ad3882b 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
fd719a45b2 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
f894aa8781 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
e4aa1278d2 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
650643b391 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
d0c3d33704 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
9b4dd3f9f2 Fix for 76495. r=danm, sr=rpotts 2001-05-01 22:50:16 +00:00
sfraser@netscape.com
e2d0e2c801 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
ad8f5a3777 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
e797066f13 Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov 2001-04-25 19:52:49 +00:00
dr@netscape.com
15a0f50d80 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
69de72ff5e 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
e35433f15c fix unix bustage 2001-04-13 13:44:16 +00:00
rods@netscape.com
341847da06 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
f1d9ad28b6 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
41b006b7e1 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
954607c74b 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
3cd373df35 Fix for 73137. r=danm, sr=hewitt 2001-04-10 02:10:02 +00:00
pollmann@netscape.com
08fd740467 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
7640fcec8f removing "inline" on method to fix SunOS bustage.
r=mkaply
2001-03-27 22:57:14 +00:00
rods@netscape.com
14f2325381 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
a72f505720 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
b5d5a89a66 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
25edbb9354 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
e12584d545 r=rods sr=attinasi Passing in the title to begindocument 2001-02-16 17:36:02 +00:00
dcone@netscape.com
5a8fefb17f 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
b9928ed0b8 Release the Presentation Context.. fixes printing leak r=kmmclusk, sr=attinasi 2001-02-14 05:45:05 +00:00
dcone@netscape.com
a62374cba1 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
b986a6f93d 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
e57f7d4be9 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
1eae1e82e7 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
9babf5ad97 Took out bad #ifdefs.. added newline for warnings 2001-02-01 21:44:18 +00:00
disttsc@bart.nl
17a954570e 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
20d797192b Fixed a define problem 2001-02-01 21:30:14 +00:00
dcone@netscape.com
900b1073c9 Added routines for finding the currently selected frame. sr=buster. r=peterl 2001-02-01 20:49:10 +00:00
kmcclusk@netscape.com
0b8376422c 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
dbe136f19b 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
a1ed5b3a4f 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
dbb5a742ba Took outsome debug code which snuck in. 2001-01-09 20:41:05 +00:00