447 Commits

Author SHA1 Message Date
waterson%netscape.com
25df26f9d3 Bug 84645. Move XBL insertion point logic into nsCSSFrameConstructor, where it can interact nicely with continuing frames. r=dbaron, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102820 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:19:41 +00:00
waterson%netscape.com
9a5298ffca Bug 72152. Be sure to update the pres context's visible area after doing a resize reflow. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102762 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 22:21:21 +00:00
bzbarsky%mit.edu
198ed50ec9 Bug 98663. Make Presshell not call InsertRule() on strings that contain
multiple rules.  r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@102598 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 21:42:02 +00:00
cls%seawood.org
27a923b30f The AIX compiler cannot handle string literals inside of a triconditional statement so use named literals instead.
Thanks to David Baron <dbaron@fas.harvard.edu> for the patch.
Fixing tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@102518 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 07:33:15 +00:00
bzbarsky%mit.edu
bafa24e23a Re-fix bug 93977 and fix bug 98358 (lack of underlining on links). The
CSS parser parses "foo, bar { decls }" into two separate rules -- one
for foo and one for bar.  So ParseRule() has to return an array of
rules, not just a rule.  r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102406 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 13:14:35 +00:00
waterson%netscape.com
43c613727c Bug 55086. Change nsContainerFrame::PositionFrameView() to position child views. Eliminate the |aView| parameter from that method, because the view can be retrieved from the frame and need not be done by the caller. Eliminate the NS_FRAME_NO_MOVE_CHILD_VIEWS flag, which was read-only; i.e., never set by anyone. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102321 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 20:27:19 +00:00
rpotts%netscape.com
991a9fc8f4 removed default value from FlushPendingEvents(...) boolean argument. This was introduced by the patch for bug #97227
git-svn-id: svn://10.0.0.236/trunk@102080 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 08:13:16 +00:00
dbaron%fas.harvard.edu
9a632e0396 Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all.
git-svn-id: svn://10.0.0.236/trunk@102072 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu
5f0d92745b Backing out unapproved checkin for bug 97227. a=brendan,blizzard
git-svn-id: svn://10.0.0.236/trunk@102064 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 03:45:20 +00:00
rpotts%netscape.com
3d787fbce9 bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously.
git-svn-id: svn://10.0.0.236/trunk@102039 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 21:47:45 +00:00
hyatt%netscape.com
4f51638ef4 Fix for 95475. r=jag, sr=ben, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00
dbaron%fas.harvard.edu
15963ce5ed Fix FMR with a band-aid on top of a band-aid, at least until we figure this one out for real. b=93105 r=jag sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@101750 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 14:00:49 +00:00
blakeross%telocity.com
a3483b3aa9 add null check to prevent 6.1 topcrash (84832). r=saari sr=ben
git-svn-id: svn://10.0.0.236/trunk@101420 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-19 04:48:34 +00:00
bryner%netscape.com
7da361b479 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +00:00
jgaunt%netscape.com
92c01c45b6 fix for bug 94768
r=smfr,leaf
sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@101271 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 03:13:07 +00:00
cls%seawood.org
38be7c5b02 Compare against 0 instead of casting to PRBool as the former is 64-bit safe and the latter is not.
Bug #20860


git-svn-id: svn://10.0.0.236/trunk@101059 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 01:33:22 +00:00
pavlov%netscape.com
460155a537 fixing bug 78690. removing old imagelib. r=jst sr=waterson
git-svn-id: svn://10.0.0.236/trunk@100670 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 20:22:39 +00:00
waterson%netscape.com
18330a93f1 Bug 86726. Don't enqueue reflows if we haven't yet done an initial reflow. r=karnaze, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@100506 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 18:57:15 +00:00
pollmann%netscape.com
dd0cb6e219 Bug 81546: Don't add a dummy reflow request if we are in the middle of reflow; this was added by textareas in XHTML documents, and never removed, which prevented them from displaying. r=waterson@netscape.com,sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@100384 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 05:19:26 +00:00
dbaron%fas.harvard.edu
43cb2ba37c Remove bogus assertion I put in that gets triggered by XSLT code. r=waterson sr=hyatt b=93414
git-svn-id: svn://10.0.0.236/trunk@100321 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 21:11:14 +00:00
glazman%netscape.com
ea8347db88 BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@100205 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 14:34:55 +00:00
dbaron%fas.harvard.edu
d754bfcb4a Fix smoketest blocker 93105 by checking whether we've been destroyed before continuing. Thanks to help from waterson and peterlubczynski. r=waterson
git-svn-id: svn://10.0.0.236/trunk@100109 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 18:31:52 +00:00
glazman%netscape.com
88bfc464bc backing out fix for 88681 due to merge conflicts
git-svn-id: svn://10.0.0.236/trunk@100104 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 14:53:15 +00:00
glazman%netscape.com
77425d8395 BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@100101 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 14:38:30 +00:00
dbaron%fas.harvard.edu
2acd95d9aa 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
git-svn-id: svn://10.0.0.236/trunk@100081 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 03:15:50 +00:00
dbaron%fas.harvard.edu
899cd312b2 Backing out changes for 80203 and 89626 to fix blocker 92325 and probably also blocker 92443.
git-svn-id: svn://10.0.0.236/trunk@99950 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-26 20:53:21 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
hyatt%netscape.com
6206b55be6 Fix for 90081, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@99897 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 06:33:06 +00:00
dbaron%fas.harvard.edu
502a5c94aa 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
git-svn-id: svn://10.0.0.236/trunk@99882 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 04:30:59 +00:00
attinasi%netscape.com
3d92ed6a67 Fix for a problem where the dummyLayoutRequest was being removed during incremental layout and thus causing some terrible crashes. See the bug for the gory details. b=90733 sr=waterson r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@99621 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-20 00:44:15 +00:00
bernd.mielke%snafu.de
11b470d945 reflow count manager messages confuse layout regress. tests bug 90696
r=karnaze sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@99468 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 04:29:14 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
waterson%netscape.com
65804204b4 Bug 87744. Make pres shell print debug information when GECKO_VERIFY_REFLOW_FLAGS is set. r=dbaron, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@98042 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-27 04:04:04 +00:00
attinasi%netscape.com
acadd08545 Fixed allocation alignment problem: checking in for jim_nance@yahoo.com
b=85890 r=attinasi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@97912 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 01:19:05 +00:00
mjudge%netscape.com
d66b949240 86749 fix for "home key" scenario. we now search for 1st valid frame on a line. not just try the very first and fail. we now behave like "end key" does;. r=anthonyd sr=kin a=asa
git-svn-id: svn://10.0.0.236/trunk@97779 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 14:52:48 +00:00
mjudge%netscape.com
dea2e92b6e 82993,52868,79511,82101 a=asa sr=kin. bugs that cross files. stopped generated content entrys into frames with caret and mouse navigation. and table cell navigation.
git-svn-id: svn://10.0.0.236/trunk@97548 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 04:48:10 +00:00
dbaron%fas.harvard.edu
88810ef1eb 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
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
hyatt%netscape.com
6ce653cd9d Fix for 83642. r=jag, sr=blake, a=tor
git-svn-id: svn://10.0.0.236/trunk@96393 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 01:08:31 +00:00
hyatt%netscape.com
e43fd22c5a Fixes for 83027, 83892, and 80512. r/sr=blake,alecf,pink, sr=hewitt,blake, a=asa
git-svn-id: svn://10.0.0.236/trunk@96347 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 23:23:35 +00:00
hyatt%netscape.com
fda213e89d Fixes for 80512 and 83707. r=blake, sr=waterson, a=asa
git-svn-id: svn://10.0.0.236/trunk@96284 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 00:22:43 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
waterson%netscape.com
edbc021037 Bug 81905. Process 'timeout' reflows before calling |DoneRemovingReflowCommands()|. r=karnaze, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@96066 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 19:28:37 +00:00
joki%netscape.com
4b4f626afa Fix for 77321, don't fire resize event at initial page load. r:vidur,sr:jst
git-svn-id: svn://10.0.0.236/trunk@95472 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 23:42:54 +00:00
pinkerton%netscape.com
50bcb65c7f add support for context menu key. use focussed element as the target, not the mouse coordinates. r=roc,dean_tessman@hotmail.com/sr=hyatt. bug#74410, 36665.
git-svn-id: svn://10.0.0.236/trunk@95274 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 18:37:50 +00:00
karnaze%netscape.com
6b82fe01dc bug 78291 - disable processing the dummy layout request during special table reflow command cancel, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@94890 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 14:37:13 +00:00
locka%iol.ie
14926f398b Fix window.print crash when called early during page loading. b=66934 r=pollmann@netscape.com sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@94778 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 15:52:06 +00:00
dr%netscape.com
11f8827691 fix for 78010 (implement nsIClipboardHelper). r=pavlov, pinkerton, hewitt, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@94436 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 02:35:00 +00:00
jst%netscape.com
43eee52859 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.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
joki%netscape.com
ca4325c4f2 Fix for 77362, null check of global window before firing resize to it. sr:bienvenu, r:jst
git-svn-id: svn://10.0.0.236/trunk@93885 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 03:04:40 +00:00