Commit Graph

7772 Commits

Author SHA1 Message Date
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
waterson%netscape.com
df0ae754ac Fix compiler warnings caused by backslash character in '//' comment. Tip o' the hat to timeless.
git-svn-id: svn://10.0.0.236/trunk@89167 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:19:38 +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
rods%netscape.com
80fcf7044d change PRBool to PRPackedBool
Scroll to first item on DidReflow of Initial Reflow
Bug 54496 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89067 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:21:51 +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
disttsc%bart.nl
af75904cf7 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|nsLiteral[C]String|
|nsPromiseFlat[C]String|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where
possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88957 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 12:33:57 +00:00
disttsc%bart.nl
abd8de21e5 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:05:05 +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
8501b8009c Explicitly setting the padding to zero
Bug 69130 r=kmcclusk sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@88904 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:58:12 +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
rods%netscape.com
218fd5f9d0 Skipp disabled items when pressing first letter
Bug 57580 r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@88890 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:29:21 +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
hyatt%netscape.com
6f8aa53d7e Fix for 70877, enabling outliner. r=dr, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@88701 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 22:16:42 +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
hyatt%netscape.com
11b2e924f2 Outliner files are not part of build.
The other files are a fix for bug #70809.  r=attinasi, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@88614 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:27:50 +00:00
dbaron%fas.harvard.edu
14ad030646 Work in progress on CSS error reporting: fix the known false positives and duplicate messages and improve the error messages. It's still a hack that I wouldn't really want to enable by default, but it should be useful for debugging chrome CSS. r=glazman@netscape.com sr=attinasi@netscape.com b=65469
git-svn-id: svn://10.0.0.236/trunk@88605 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 01:57:30 +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
karnaze%netscape.com
0eac198bf2 Added new regression test, fixed an old one. Not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@88568 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 22:26:07 +00:00
blakeross%telocity.com
54c5fe9bac Table crash in webmail page (70072). r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@88567 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 22:09:14 +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
f3d5b4d94d Moving a couple of methods to nsCSSProps to be used by nsGetComputedStyle().
r=heikki, sr=jst


git-svn-id: svn://10.0.0.236/trunk@88432 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:43:12 +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
dbaron%fas.harvard.edu
53583a3df9 Fix smoketest blocker bug 70683 by making some changes blake missed with his fix for bug 60703. r=mao sr=alecf a=kysmith
git-svn-id: svn://10.0.0.236/trunk@88406 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 18:39:22 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +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
dcone%netscape.com
e7d3e49ac4 Checking for a printer before some optimizations.. which are not good for printing. sr=attinasi r=karnaze
git-svn-id: svn://10.0.0.236/trunk@88081 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 14:52:07 +00:00
bernd.mielke%snafu.de
1767b5e275 enable the overflow:hidden from CSS2 for table cells (fixed layout)
bug 44505. r=karnaze sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@87910 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 14:30:12 +00:00
rbs%maths.uq.edu.au
c07653792a When requested, avoid to create frames for ignorable whitespace - bug 68411 r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87806 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 12:45:19 +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
rbs%maths.uq.edu.au
1a3029c4da Avoid ignorable whitespace in tables by setting the frame state-bit to this effect - bug 68411 r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87804 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 12:35:34 +00:00
rods%netscape.com
ba2e2347f8 Now only doing 1 reflow for each reflow request in the ListControlFrame
for initial and full resize reflows
Bug 69869 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@87751 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:45:45 +00:00
rods%netscape.com
77b173f072 factoring of code for Submit/Reset in control frames
Bug 65747 r=pollmann sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@87745 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:01:08 +00:00
attinasi%netscape.com
0df6d938bb new testcase. NPOB
git-svn-id: svn://10.0.0.236/trunk@87677 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 16:06:46 +00:00
attinasi%netscape.com
3697f43a52 New regression testcase. BPOB
git-svn-id: svn://10.0.0.236/trunk@87676 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 16:06:18 +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
hyatt%netscape.com
06042ec866 Fix for 69142. r=attinasi, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87652 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:24:50 +00:00
pollmann%netscape.com
b264a9f1ba Bug 69365: Fix mail reply-all by reverting pres-state optimizations r=ducarroz@netscape.com, sr=jst@netscape.com,vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87628 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 03:16:34 +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
hyatt%netscape.com
8938f0616b Fix a frame creation slowdown caused by XBL. 2-3% speedup. r=danm, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87542 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 03:18:45 +00:00
dbaron%fas.harvard.edu
549444f5f5 Fixing IRIX bustage by adding libgkconbase_s to libs since libgkbase_s was split.
git-svn-id: svn://10.0.0.236/trunk@87424 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 01:59:11 +00:00
pinkerton%netscape.com
96252aef68 don't re-create 1000 element array's of nsPoints every time the routine is called. r=dcone/sr=sfraser. bug 69101.
git-svn-id: svn://10.0.0.236/trunk@87413 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 01:14:03 +00:00
jst%netscape.com
9f1594bf72 Removing files that were moved to mozilla/content/... part of the carpool.
git-svn-id: svn://10.0.0.236/trunk@87412 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 01:12:42 +00:00
waterson%netscape.com
8c9e87458a Bug 39054, redux. Hack around problem (?) with XBL child nodes: we'll just query for the list of real kids up front. Also, need to break 'AddSubtreeToDocument()' into pre- and post-order steps. r=hyatt, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@87409 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 01:05:34 +00:00
sfraser%netscape.com
e52e94697c More jst bustage fixing; we need nsIHTMLStyleSheet.h here.
git-svn-id: svn://10.0.0.236/trunk@87402 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 00:28:57 +00:00