461 Commits

Author SHA1 Message Date
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
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