2162 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
dcone%netscape.com
5556760ab2 Added nsIPrintContext interface.
Added this so you can now tell if your laying out to a printer.
r=attinasi sr=buster


git-svn-id: svn://10.0.0.236/trunk@84586 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 20:26:05 +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
cmanske%netscape.com
34f19b7ba3 Fixed selecting multiple rows, columns. Bug 64093, r=mjudge, sr=kin,sfraser
git-svn-id: svn://10.0.0.236/trunk@84329 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:24:39 +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
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
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
dafb7a83b7 Convert IDL defines from short to long so enums are PRInt32 on all platforms (fixing build bustage)
git-svn-id: svn://10.0.0.236/trunk@83887 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 03:15:16 +00:00
cmanske%netscape.com
e8cfb821a1 Trying to fix speedracer build bustage
git-svn-id: svn://10.0.0.236/trunk@83886 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 02:56:17 +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
cmanske%netscape.com
2fc3e46191 Table selection work (part of b=57863): Moved param for GetTableSelectionDate from .h to .idl, requiring change from PRUint32 to PRInt16 for all users. Table Cell ranges are now added in document order (location in table) when selecting multiple cells. Refactored table selection methods and fixed leaks. r=mjudge, sr=kin
git-svn-id: svn://10.0.0.236/trunk@83879 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:36:41 +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
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
bryner%uiuc.edu
aae64e984b Mousewheel bugs 29244, 50339, 42313, 33733, and 57598. r=rods,pavlov. sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@83448 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 07:28:19 +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
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
mjudge%netscape.com
8994e1cdc2 added in code to allow GetSelection() to work. r= mstoltz
git-svn-id: svn://10.0.0.236/trunk@82995 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 00:13:00 +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
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
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
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
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
buster%netscape.com
767024fce0 bug 57039 crash in [@ nsBlockBandData::GetBandData()]
r=karnaze
a=rickg, a=waterson
some simple bullet-proofing for possible null pointer dereferencing


git-svn-id: svn://10.0.0.236/trunk@81433 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 05:21:26 +00:00
beard%netscape.com
a50a3f22b2 Implement GetTagText(). r=jst, sr=waterson, bug #56390.
git-svn-id: svn://10.0.0.236/trunk@81424 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 01:37:53 +00:00
peterlubczynski%netscape.com
858d70e1c9 fix for context menus for plugins on the Mac, bug 55822 a=buster r=karnaze
git-svn-id: svn://10.0.0.236/trunk@81317 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:13:30 +00:00
peterlubczynski%netscape.com
afae9b0488 fix for plugin positioning and clipping, isolated to Mac. b=54962; r=dcone,kmcclusk; a=buster
git-svn-id: svn://10.0.0.236/trunk@81313 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 21:45:39 +00:00
mstoltz%netscape.com
9351f77d32 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc
git-svn-id: svn://10.0.0.236/trunk@81158 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:59:47 +00:00
mjudge%netscape.com
5446d27b85 r=kin a=buster. fix has to go to trunk first. bug 49772
git-svn-id: svn://10.0.0.236/trunk@81153 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:37:52 +00:00
waterson%netscape.com
6a911b0abb Bug 56115. Be sure to determine if CanContinueTextRun() while walking *down* as well as across. r=buster, a=sfraser
git-svn-id: svn://10.0.0.236/trunk@81083 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 00:44:53 +00:00
buster%netscape.com
09d59fd2f9 backed out my/waterson's potential fix for bug 43914
this fixes bug 56102
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81037 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 20:30:43 +00:00
rickg%netscape.com
4299d43cc1 WIP for bug 55095; sr=buster, r=attinasi, sfraser
git-svn-id: svn://10.0.0.236/trunk@80976 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:40:42 +00:00