Commit Graph

2924 Commits

Author SHA1 Message Date
rods%netscape.com
4ba21c91b1 Small change to initialize values before getting prefs
Bug 71514 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89559 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 01:03:31 +00:00
karnaze%netscape.com
59ea97fc3a bug 71810 - don't have inline virtual methods. r=karnaze.
git-svn-id: svn://10.0.0.236/trunk@89505 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 15:21:42 +00:00
joki%netscape.com
2e54b7c296 Fix bug 58331, don't access internal frame data after DOM event dispatch. r:peterv sr:jst
git-svn-id: svn://10.0.0.236/trunk@89491 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 11:32:43 +00:00
karnaze%netscape.com
4ea2ce59ac fix mac bustage from earlier checkin. r=syd.
git-svn-id: svn://10.0.0.236/trunk@89477 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 07:44:46 +00:00
karnaze%netscape.com
c76866e3ea table reflow coalescing, table reflow face lift. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89462 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:38:59 +00:00
rods%netscape.com
793e57b78c Display frame reflow counts (turned via config file define)
Bug 71514 r=kmclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89416 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 01:47:22 +00:00
kmcclusk%netscape.com
c3861b69ee Rewrote nsContainerFrame::PositionChildViews to use the view tree instead of doing a recursive walk of the frame tree. Should improve page load performance bug 70211 r=attinasi@netscape.com sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89317 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 04:19:10 +00:00
dbaron%fas.harvard.edu
a0bb9fe8fd Clean up string usage (including some leaks and FMMs) and use some nsCOMPtrs to fix leaks on failure in nsObjectFrame::Reflow. b=64209 r=av@netscape.com,disttsc@bart.nl sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89206 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:17:40 +00:00
erik%netscape.com
dc9f2947a7 bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)


git-svn-id: svn://10.0.0.236/trunk@89069 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:29:00 +00:00
dbaron%fas.harvard.edu
e861956222 Remove obsolete attempt to rename nsHTMLFrame.cpp that was never part of the build. sr=waterson@netscape.com b=64509
git-svn-id: svn://10.0.0.236/trunk@89066 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:14:07 +00:00
attinasi%netscape.com
f15b490680 Commented out assertion while I find out why HR's are triggering it in some cases...
git-svn-id: svn://10.0.0.236/trunk@88966 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 15:48:48 +00:00
heikki%netscape.com
89cd5dabfd Fixing Mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@88905 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 03:12:02 +00:00
rods%netscape.com
8b5d71dc38 Don't paint blocks that shouldn't be painted when printing
Bug 67296 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@88901 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:46:44 +00:00
heikki%netscape.com
71d5a4d22d Bug 69830, cleanup after layout split by moving duplicated files to a library that is statically linked to content and layout, and backing out changes to inline some functions that now also live in the shared lib. r=jst, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@88896 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:41:16 +00:00
waterson%netscape.com
06336b484f Bug 71181. Revert attinasi's changes for bug 70730.
git-svn-id: svn://10.0.0.236/trunk@88831 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 20:15:35 +00:00
attinasi%netscape.com
35ec037877 Fix for printing crash when bulleted items have no bullet and we assume they do. Added assertion to help find the cause of the problem, and checks for null to prevent the crash. b=70730 r=dcone sr=waterson
git-svn-id: svn://10.0.0.236/trunk@88722 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 00:38:45 +00:00
attinasi%netscape.com
488afba86a Fixes box-sizing for absolutely positioned elements. b=67690 r=waterson (and buster R.I.P), sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@88646 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 05:56:19 +00:00
waterson%netscape.com
6bc8f962b4 Bug 64670. Clean up and document SplitToContainingBlock(). Specifically: fix stray comma in file; unmuddle replaced frame and its parent in CantRenderReplacedElement(); sanity check args in SplitToContainingBlock(); manage view reparenting in SplitToContainingBlock(); fix nsObjectFrame to only stifle key events if the plugin was really instantiated. r=kmcclusk, saari sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@88628 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 03:31:29 +00:00
dbaron%fas.harvard.edu
edbbd33e17 Remove attempted workaround for CantRenderReplacedElement crash that didn't fix the crash (which is now fixed the right way).
Clean up the FrameManager a bit, mainly by moving the destruction of the frame tree into the |Destroy| method rather than doing it in the destructor.  This would make it safer to convert nsIFrameManager to IDL and use the frame manager from JS.  It also reduces the risk of leaks caused by having something owned by a frame own the frame manager.  Breaking cycles in a destructor can be risky because the objects entrained by the cycle could include the object whose destructor would break the cycle.
b=65800  r=waterson@netscape.com  sr=attinasi@netscape.com


git-svn-id: svn://10.0.0.236/trunk@88603 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 01:46:03 +00:00
attinasi%netscape.com
6e78b74479 Don't reflow for every notification of an image load if the image frame's size is constrained. b=69552 r=kmcclusk sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@88591 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 00:47:46 +00:00
hyatt%netscape.com
47a980eb45 Fix for 70704, r=brendan, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@88495 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 21:57:56 +00:00
harishd%netscape.com
a7cfbd40f7 Added refresh & setcookie atoms
r=heikki,sr=vidur


git-svn-id: svn://10.0.0.236/trunk@88431 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:41:02 +00:00
jst%netscape.com
4e494bafeb Fixing bug 70014. Making td.chOff use the correct atom when looking up the attribute 'charoff'. r=heikki@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88152 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 01:54:40 +00:00
rbs%maths.uq.edu.au
d9c1a81f37 Shift frame-state bits in implementations to the 12 higher bits - bug 68411 r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87805 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 12:42:12 +00:00
rods%netscape.com
737c22dbf1 Added additional reflow count info on a frame by frame basis
Bug 69361 r=attinasi sr=waterson


git-svn-id: svn://10.0.0.236/trunk@87671 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 13:58:17 +00:00
disttsc%bart.nl
edc70961f6 Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
git-svn-id: svn://10.0.0.236/trunk@87655 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:35:51 +00:00
dougt%netscape.com
175245e2de Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
heikki%netscape.com
26d94ba9b0 Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87383 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:50:04 +00:00
jfrancis%netscape.com
c905838848 bug 50497: plaintext copy loses newlines on paste
bug 57292: copy of table cell contents shouldn't copy cell
bug 57170: some inline style not preserved across copy paste
for all above: r=akkana; sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@87098 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 13:22:26 +00:00
pinkerton%netscape.com
4c94bdb338 carbon changes. r=pink/sdagley/beard. a=sfraser.
git-svn-id: svn://10.0.0.236/trunk@86937 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:48:26 +00:00
buster%netscape.com
4ce43e99f9 bug 47549 (Floaters cause entire page to redraw as content is appended (block paint perf))
r=kmcclusk@netscape.com
sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86810 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 07:06:49 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
pierre%netscape.com
8944a57fe0 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
git-svn-id: svn://10.0.0.236/trunk@86533 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:57:26 +00:00
waterson%netscape.com
018d737816 Bug 67796. Don't update aMetrics.mMaximumWidth or .maxElementSize in ComputeFinalSize(): the maxElementSize computation was wrong, and it's not clear that the mMaximumWidth is safe to update here either. Patch from rbs@maths.uq.edu.au, r=waterson, sr=karnaze
git-svn-id: svn://10.0.0.236/trunk@86463 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:05:59 +00:00
rbs%maths.uq.edu.au
c31ecb5605 Fix for shift/jump/overlap in the incremental reflow of tables containing text-inputs and images. Bug 45562 and related dups. sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86313 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 04:42:31 +00:00
pollmann%netscape.com
c7b33ed83b Bug 62713: Only save scroll position in SH if offset from origin, only put entries in state table if state was created, cleanups, r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86291 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:32:04 +00:00
waterson%netscape.com
85078796cd Bug 61337. Fix rounded corners on <hr> with NOSHADE. Patch submitted by Dainis Jonitis (Dainis_Jonitis@swh-t.lv), r=waterson, sr=buster.
git-svn-id: svn://10.0.0.236/trunk@86270 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 01:00:35 +00:00
anthonyd%netscape.com
810a9820ad fix for bug #55921 - Clicking to the right of a link doesn't clear selection
sr/r=joki, sfraser


git-svn-id: svn://10.0.0.236/trunk@86148 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 07:07:15 +00:00
peterlubczynski%netscape.com
15aff1c4d0 Fix relative URLs in 'pluginspage' attribute honor BASE tag bug 46405 a=av, sr=buster
git-svn-id: svn://10.0.0.236/trunk@86134 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 00:43:09 +00:00
attinasi%netscape.com
4b332fa4e7 Floated list items are now handled correctly. b=32200, r=buster sr=waterson
git-svn-id: svn://10.0.0.236/trunk@86110 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 21:17:01 +00:00
rods%netscape.com
5b130d03e0 Added UI for printing selectd frame
Bug 66783 r=kmcclusk,ben,dcone sr=buster


git-svn-id: svn://10.0.0.236/trunk@86059 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:42:53 +00:00
hyatt%netscape.com
b98496bb42 Fix for 55292, r=ben, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86010 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 00:54:47 +00:00
karnaze%netscape.com
b6047b1170 mispelled #ifdef DEBUG
git-svn-id: svn://10.0.0.236/trunk@85924 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 02:26:26 +00:00
dbaron%fas.harvard.edu
b48ee3a7d2 Checking back in change (rev. 3.410) that was mistakenly backed out (in rev. 3.411):
bug 13553 (Table doesn't render properly)
patch submitted by bernd.mielke@snafu.de
r=waterson
sr=buster


git-svn-id: svn://10.0.0.236/trunk@85665 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 17:00:19 +00:00
saari%netscape.com
3dd49e0040 fix for 656687, plugins don't scroll. r=bnesse, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@85657 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 00:37:48 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
rods%netscape.com
b23e7af50b 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


git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
karnaze%netscape.com
7995ae675b forgot the #ifdef DEBUG around mDebugHook.
git-svn-id: svn://10.0.0.236/trunk@85494 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 15:57:46 +00:00
karnaze%netscape.com
d95bd4f152 better table reflow debugging including support for elapsed time. sr=buster.
git-svn-id: svn://10.0.0.236/trunk@85493 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 15:55:51 +00:00