472 Commits

Author SHA1 Message Date
attinasi%netscape.com
11481ea927 Elimiate calls to nsFrame::Invalidate when the dirtyRect is empty. Also, removed some invalid code from nsFrame::Invalidate and added DEBUG check to catch later offenders. b=103266 r=rbs sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@107407 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 01:44:20 +00:00
rods%netscape.com
1100db8190 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


git-svn-id: svn://10.0.0.236/trunk@107260 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 14:59:39 +00:00
jst%netscape.com
8360b93aa5 Fixing bug 103904. Don't let pref change callbacks run wild on documents that are partially torn down already. r=bzbarsky@mit.edu, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106922 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 04:42:57 +00:00
rbs%maths.uq.edu.au
410c9e51f2 bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106728 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:58:00 +00:00
dbaron%fas.harvard.edu
2847aa0f3d Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106332 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 05:12:25 +00:00
dbaron%fas.harvard.edu
7ddeb79974 Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106331 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 05:06:07 +00:00
dbaron%fas.harvard.edu
9ef49bf676 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974
git-svn-id: svn://10.0.0.236/trunk@106235 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:21:53 +00:00
jaggernaut%netscape.com
de17e83dc1 This nsAString& really deserves to be const. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@106139 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 06:11:02 +00:00
hyatt%netscape.com
ab0e4e56d4 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106100 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:01:09 +00:00
dougt%netscape.com
62a8215278 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
git-svn-id: svn://10.0.0.236/trunk@106009 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:37:21 +00:00
bryner%netscape.com
73a2cc7db6 Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@105981 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:43:52 +00:00
dougt%netscape.com
fa2d0b7e98 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00
kmcclusk%netscape.com
0104aafb7e Ignore case when comparing default named anchor (top) 80784 sr=kin@netscape.com r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105870 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 03:12:33 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
waterson%netscape.com
e1d5f4d759 Bug 104658. Ignore AttributeChanged notifications before the initial reflow has occurred. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@105603 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 05:34:35 +00:00
kmcclusk%netscape.com
2a7864f0bc Scroll browser window to top-left if anchor can not be found (quirks only) bug 80784. r=kin@netscape.com sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105578 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 01:06:19 +00:00
dbaron%fas.harvard.edu
7bb7b59a69 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +00:00
bernd.mielke%snafu.de
bd8b619784 bug 103443 replace the return rv?rv:NS_ERROR_FAILURE; with a more correct version
r=dbaron sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@105372 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 09:27:46 +00:00
alecf%netscape.com
3d31b470bc bug 104126 - remove nsStringArray::IndexOfIgnoreCase and its one consumer. sr=attinasi, r=jag
git-svn-id: svn://10.0.0.236/trunk@105133 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 01:30:52 +00:00
locka%iol.ie
59b39390f6 Checkin makes scrolling to anchors faster by attempting to scroll to the named element from the content sink's timer routine rather than waiting until page loading completes. b=58661 r=heikki@netscape.com sr=jst@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@104653 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 10:39:01 +00:00
mkaply%us.ibm.com
5c53d0b96c #79798
r=ftang, sr=kin@netscape.com
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions


git-svn-id: svn://10.0.0.236/trunk@104268 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 20:35:55 +00:00
vidur%netscape.com
ec7aeceee0 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
git-svn-id: svn://10.0.0.236/trunk@104221 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 17:50:15 +00:00
jaggernaut%netscape.com
51e0dc7a6c 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
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
jst%netscape.com
9ba2e4188b Fixing bug 100270. Crash when evaluating 'window.close();' in the JavaScript console. r=waterson@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103187 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 07:08:15 +00:00
heikki%netscape.com
8ef0ee4d61 Bug 78021, Copy Link Address context menu does not work for image maps (<area> elements), <link> elements or simple XLinks. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@102850 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 23:31:37 +00:00
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