2866 Commits

Author SHA1 Message Date
buster%netscape.com
31a79a4925 bug 56432 ()
the problem was a factorial algorithm for finding primary frames.
fixed by added a hinting mechanism that takes advantage of existing
primary frame cache, greatly reducing the cost for the common case.
r=rods
sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84973 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 22:10:04 +00:00
bnesse%netscape.com
f8da87fe4b Fix for Mac plugin positioning problems. Bug 59620. r = peterlubczynski, sr = buster.
git-svn-id: svn://10.0.0.236/trunk@84826 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 23:56:35 +00:00
saari%netscape.com
51faef0250 Fix for 58957, plugins on MacOS don't get key events. r=bnesse, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@84795 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 08:22:27 +00:00
peterlubczynski%netscape.com
eb131a985d Null pointer check if no default plugin. part of patch for bug 54437 a=av sr=buster
git-svn-id: svn://10.0.0.236/trunk@84754 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 23:51:07 +00:00
dbaron%fas.harvard.edu
73d33434d9 Change ScrollFrameIntoView so that scrolling to an inline frame scrolls to the top of the line containing the inline frame rather than the frame itself. This makes scrolling to empty inline anchors or anchors around images work better. b=38280 r=buster@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84693 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 02:43:00 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
mkaply%us.ibm.com
7e139ad912 #50998
r=rods, a/sr=buster
OS/2 has support for GetAveCharWidth so enable it


git-svn-id: svn://10.0.0.236/trunk@84278 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:26:25 +00:00
dbaron%fas.harvard.edu
0bda33f65e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84234 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:25:23 +00:00
dbaron%fas.harvard.edu
b4de65c19e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
anthonyd%netscape.com
0c9762c747 fix for bug#59577 - hang during keyboard navigation
r=kin
sr=buster


git-svn-id: svn://10.0.0.236/trunk@84075 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 00:22:25 +00:00
jst%netscape.com
e59263f7ec Redoing the way code is shared between different element classes in mozilla, in stead of having an inner object (mInner) and forwarding function calls to the inner object the elements now inherit from what used to be the inner object. Previously nsIJSScriptObject and nsIContent (and related interfaces) were implemented on all leaf classes (~60 classes) and all the methods in those interfaces were forwarded to the inner object, now all those methods are inherited in stead. This saves us ~3600 methods in the layout library (and 160k of code on linux) and cleans the code up considerably. r=pollmann@netscape.com, harishd@netscape.com sr=vidur@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@84036 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 10:56:31 +00:00
karnaze%netscape.com
fb49fe1119 bug 43204 - zero out padding for row/col group, ro/col, sr=buster
git-svn-id: svn://10.0.0.236/trunk@83966 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:05:15 +00:00
attinasi%netscape.com
a684a2fc7f Fixes regression due to Style Data sharing: forcing shared contexts to be unique now when they have to be reresolved. b=63118 r=karnaze@netscape.com a=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83959 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 22:16:38 +00:00
cmanske%netscape.com
2df58f216c Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@83912 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 22:13:54 +00:00
leaf%mozilla.org
758c5a8f89 backing out regression-causing changes to reopen tree
git-svn-id: svn://10.0.0.236/trunk@83903 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 18:09:53 +00:00
cmanske%netscape.com
c930b83300 Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage)
git-svn-id: svn://10.0.0.236/trunk@83889 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 03:25:30 +00:00
cmanske%netscape.com
c0fa7f0c0e Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage)
git-svn-id: svn://10.0.0.236/trunk@83888 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 03:23:32 +00:00
cmanske%netscape.com
15a86eda61 Changed param from PRUint32 to PRInt16 in nsFrame::GetDataForTableSelection; enums for param moved from .h file to .idl file. Part of table selection work, b=57863, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@83880 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:36:55 +00:00
dbaron%fas.harvard.edu
0e283e8c8c Make destructors that exist only for MOZ_COUNT_DTOR be #ifdef NS_BUILD_REFCNT_LOGGING instead of #ifdef DEBUG so the leak stats on optimized builds are correct. r=waterson@netscape.com sr=brendan@mozilla.org b=62421
git-svn-id: svn://10.0.0.236/trunk@83772 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 18:56:06 +00:00
blakeross%telocity.com
4dfc8a2520 Fixing a typo (refrlow -> reflow). r=attinasi sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83741 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 23:48:55 +00:00
vidur%netscape.com
33d6574ffe Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@83552 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:13 +00:00
dbaron%fas.harvard.edu
0cc4ea2497 Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83442 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:21:51 +00:00
dbaron%fas.harvard.edu
613ce7eae3 Make relatively positioned elements matter to their parents only at the original position by switching the order of computing the combined rect and computing relative positioning. b=4519 r=buster@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83437 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:04:17 +00:00
attinasi%netscape.com
ae39d4befe Changes to put style data into the layout regression data output. r=karnaze, a=waterson
git-svn-id: svn://10.0.0.236/trunk@83377 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 15:31:40 +00:00
rods%netscape.com
6cef61e607 uncommenting out a line for tracking reflow performance
b=61496 r=kmcclusk, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83149 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:46:12 +00:00
karnaze%netscape.com
cc350f691c bug 50695 - skip form parents when computing a percent basis height in quirks mode. sr=buster, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@83081 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 22:31:57 +00:00
hyatt%netscape.com
82140bea60 Fix insertion point reparentin gissue with blocks. r=hixie, a=ben
git-svn-id: svn://10.0.0.236/trunk@82968 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 10:10:41 +00:00
heikki%netscape.com
a02e205742 Bug 59675, fixing uninitialized variables. r=jst, a=waterson.
git-svn-id: svn://10.0.0.236/trunk@82928 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 23:23:28 +00:00
hyatt%netscape.com
42a6ac59c1 Fix for 51264. r=danm, a=ben
git-svn-id: svn://10.0.0.236/trunk@82920 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 22:00:33 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
alecf%netscape.com
ac21f61e90 changing NS_DEBUG to DEBUG_attinasi to quiet down the console output
(no bug - this is just changing some debug-only #ifdefs)


git-svn-id: svn://10.0.0.236/trunk@82562 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 08:27:01 +00:00
alecf%netscape.com
9ddacf9026 remove typo to fix bustage
git-svn-id: svn://10.0.0.236/trunk@82451 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:40:39 +00:00
blakeross%telocity.com
18ad3326cc Fix 48876: make d&d and modifier-/middle-click possible throughout the app and implement selection within link (50673). Also fixes 59520, 48780, 48632, 57588, 59132. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82444 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:06:54 +00:00
heikki%netscape.com
de26e0d8e5 Bug 48886, fix UMR and clean up some ugly code. r=jst, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@82395 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 00:31:06 +00:00
hyatt%netscape.com
61b754fcae Fix for 54203. r=saari, a=brendan
git-svn-id: svn://10.0.0.236/trunk@82310 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 08:21:20 +00:00
bnesse%netscape.com
2eca0df02b Fix for Mac plugins getting double mouse events. bug 58814 r=av sr=waterson rtm++
git-svn-id: svn://10.0.0.236/trunk@82286 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 23:57:24 +00:00
erik%netscape.com
3b3367c95a bug 57462; r=buster; sr=waterson; need to set "HasMultibyte" flag in
nsTextTransformer when we convert 0x5C to Yen Sign and Won Sign because
those chars are greater than 127; this fixes the problem where the Yen Sign
was not being displayed properly on Win95/98/ME because we have the 8-bit
rendering hint set on those platforms (see nsTextFrame's PaintAsciiText,
etc)


git-svn-id: svn://10.0.0.236/trunk@82109 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 22:06:59 +00:00
locka%iol.ie
6b15cffdba Fix for crash when closing main window while print dialog is open (checked in for Frank Tang). b=35896, sr=vidur, r=adamlock
git-svn-id: svn://10.0.0.236/trunk@82071 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 23:47:11 +00:00
attinasi%netscape.com
25cbf00d93 Fixed problems with backgrounds when 'always use my colors' is set to true: backgrounds are now transparent instead of inherited. b=57234 r=dbaron, a=buster
git-svn-id: svn://10.0.0.236/trunk@82050 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 22:27:37 +00:00
hyatt%netscape.com
89f8fcaae3 Fix for 57139. a=ben
git-svn-id: svn://10.0.0.236/trunk@82000 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 09:26:53 +00:00
buster%netscape.com
952ca09fa5 My previous check-in had an important line accidentally commented out. This just re-enables that line. This fixes bug 58257
git-svn-id: svn://10.0.0.236/trunk@81996 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 04:48:53 +00:00
buster%netscape.com
abad145489 bug 54850 crash when plugin has an inline parent
r=av, r=peterl
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81994 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 04:11:59 +00:00
buster%netscape.com
d61dcff924 accidentally checked this in with a debug flag turned on that wrote a bunch of output to stdout. turned off.
git-svn-id: svn://10.0.0.236/trunk@81993 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 04:10:44 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
bc4600d89b Fixing ail bustage
git-svn-id: svn://10.0.0.236/trunk@81961 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 10:41:16 +00:00
warren%netscape.com
4920294cee more fixes for dbaron
git-svn-id: svn://10.0.0.236/trunk@81913 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 01:28:06 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
buster%netscape.com
b3039d3db0 bug 56704 (Crash selecting text)
r=erik
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81868 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 14:16:36 +00:00
buster%netscape.com
c696b64b4d bug 57596 (crash caused by reframing XBL reparented explicit children)
fix by rickg
r=buster
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81867 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 14:14:36 +00:00
nisheeth%netscape.com
73116747c8 Fix for rtm++ bug 54568. a=buster. r=vidur. Fixes crash on sending a mail message from webmail. Also fixes crash on canceling out of the "Plugin not found" dialog that pops up on www.cbsnews.com when you want to see a video clip and the RealVideo plugin is not installed.
git-svn-id: svn://10.0.0.236/trunk@81664 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 06:34:01 +00:00