Commit Graph

9064 Commits

Author SHA1 Message Date
pollmann%netscape.com
ef46e83ec0 Bug 3326: Implementing IsIndex frame. r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@79052 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:41:13 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
scc%mozilla.org
9660c987a1 if you want a pointer to characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@79000 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 08:21:04 +00:00
sfraser%netscape.com
e0c2dbb811 Part of the fix for 20743, add flag to tell us if a drawing surface is short-lived, so we can allocate in temp mem (on Mac). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@78985 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 07:02:30 +00:00
scc%mozilla.org
b11557a256 if you want a pointer to the characters, your going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78967 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 04:47:36 +00:00
scc%mozilla.org
e5e006543d if you want a pointer to the characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78957 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:48:08 +00:00
anthonyd%netscape.com
0aab5b4c79 bug fix for mjudges bug #45387
r=anthonyd


git-svn-id: svn://10.0.0.236/trunk@78936 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 00:05:29 +00:00
kandrot%netscape.com
54834fb773 Fix for bug #51944. This change removes the stored selector text, and adds a method to the selector to generate the text, if needed.
r=vidur


git-svn-id: svn://10.0.0.236/trunk@78935 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 00:05:04 +00:00
attinasi%netscape.com
6bcf75d1e5 Implemented GetParentContextProvider for the table frames to allow them to specify a frame other than their parent as the provider of their parent style context. b=45210 r=karnaze
git-svn-id: svn://10.0.0.236/trunk@78920 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:48:35 +00:00
attinasi%netscape.com
49df5c9af2 Added default implementation for frames to allow a frame to specify which frame provides its parent style context. Also reworked ReResolveStyleContext and VerifyStyleTree to allow the style context tree to diverge from the frame tree. b=45210 r=karnaze
git-svn-id: svn://10.0.0.236/trunk@78919 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:47:09 +00:00
kin%netscape.com
ab2cde5355 49339 "Saving File" dialog doesn't initially show complete filename
Replaced call to ScrollSelectionIntoView() in SetTextControlFrameState()
with a call to nsIScrollableView::ScrollTo() that resets the scroll position
of the text widget to (0,0) when the value is replaced.
r=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78914 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:14:06 +00:00
harishd%netscape.com
3bc6fee424 Removed the hack,in the sink, to limit nesting depth. This now
happens in the parser.

r=rickg/jst


git-svn-id: svn://10.0.0.236/trunk@78904 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 21:18:50 +00:00
heikki%netscape.com
648ff744fc Forgot to check that we fire the select event with Select All. Also fix event.target. Part of bug 46085. r=mjudge.
git-svn-id: svn://10.0.0.236/trunk@78900 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:54:41 +00:00
evaughan%netscape.com
fb2845a33e Fix for bug #51780
-r pinkerton


git-svn-id: svn://10.0.0.236/trunk@78893 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:19:11 +00:00
attinasi%netscape.com
9750b16492 Part of fix for bug 45210: style contexts had the wrong parent because the frames were reparented but their style contexts were not. r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78886 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 19:41:27 +00:00
karnaze%netscape.com
1dd1148b98 new regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@78877 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 14:34:42 +00:00
karnaze%netscape.com
347661a45d bug 51727 - rebalance table cols when fixed cell gets smaller and was the contributor of the previous col width. r=rods.
git-svn-id: svn://10.0.0.236/trunk@78873 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 14:24:35 +00:00
pierre%netscape.com
4eccb39e1d 50804: nicer look for focus outlines. Fix sent by henris@clinet.fi, r=pierre.
git-svn-id: svn://10.0.0.236/trunk@78861 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 09:54:31 +00:00
nisheeth%netscape.com
4f193605d7 Checkin to use a pref instead of a compile time switch for turning on async reflow during doc load. Related to previous checkin to fix nsbeta3+ bug 39368.
git-svn-id: svn://10.0.0.236/trunk@78860 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 08:59:01 +00:00
mjudge%netscape.com
6f627f4eb5 36130 beta3 bug. 1 line change to scroll selection
into view when value is set on text field/area.


git-svn-id: svn://10.0.0.236/trunk@78854 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 06:35:54 +00:00
nisheeth%netscape.com
178e009668 r=rpotts. Fix for nsbeta3+ bug 39368.
git-svn-id: svn://10.0.0.236/trunk@78809 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:35:11 +00:00
peterlubczynski%netscape.com
bc790c5ecf fix for bug 50432. PRPackedBools compressed to one flag. mAutoBuffer size reduced to 128. r=buster
git-svn-id: svn://10.0.0.236/trunk@78804 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:00:58 +00:00
peterlubczynski%netscape.com
c57b75e783 Fix for bug 46368. Fixed cellMet.mMaximumWidth for incremental reflow. r=karnaze
git-svn-id: svn://10.0.0.236/trunk@78792 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:58:59 +00:00
dougt%netscape.com
bc3a80f52f Fixing error codes. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@78791 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:56:15 +00:00
akkana%netscape.com
ef8556bca9 36082: don't load contents of script tag if script evaluation is off. r=brendan
git-svn-id: svn://10.0.0.236/trunk@78786 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:27:53 +00:00
buster%netscape.com
af23e01ba7 checking in fix for unix compiler, stupid nsCOMPtr x-platform incompatibility.
git-svn-id: svn://10.0.0.236/trunk@78772 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:43:46 +00:00
buster%netscape.com
0578533a2b forgot to check this in as part of my last checkin.
bug 18754
r=karnaze


git-svn-id: svn://10.0.0.236/trunk@78769 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:25:43 +00:00
rods%netscape.com
2c4b4f2915 fixed twips rounding error in calculation
b=52135 r=buster


git-svn-id: svn://10.0.0.236/trunk@78767 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:22:43 +00:00
rods%netscape.com
85b8d50cda stripping CR/LF in href attrs on mouse over or mouse click
b=52119 r=harishd


git-svn-id: svn://10.0.0.236/trunk@78766 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:21:40 +00:00
buster%netscape.com
685185593d bug 14280
nsTextTransformer.cpp.
  I moved where we translate the nbsp to a (ascii 32 space character) until after the i18n routines are called, so they can properly account
  for the space as non-breaking and therefore part of the first word in the block.

bug  39901 and 38396
  nsHTMLImageLoader.*, nsImageFrame.cpp
  I backed out the bad fix for 38396, and put in a new fix where I store a little state in the image loader flags for cases where the image
  gets an unconstrained reflow and has %-based width.  This does not handle %-based min-width or max-width, that would be a separate
  bug that I'll file shortly.  But this fixes the vast majority of real cases out there.

bug  18754
  nsHRFrame.cpp, quirks.css, nsCSSFrameConstructor.cpp, last part of nsLineLayout.cpp
  in quirks mode, I changed HR from a block element to a replaced inline element that acts like a block, using generated content to get
  newlines before and after the HR.  This isn't ideal, but it gets us backwards compatibility, and ian and dbaron have blessed the approach.

bug  50257
  nsLineLayout.cpp
  Did a couple of things in here:
       * The actual fix is controlled by FIX_BUG_50257 #define symbol.  This basically says that an break (BR) will always fit on a line.
         A more general solution would probably be to round up to the nearest pixel, and if the thing is less than a pixel make it fit on a
         line.  This is a wimpier, safer solution.
       * I noticed that the way we got the compatibility mode was way out of date, very wasteful.  So I fixed that.
       * I noticed that there were a bunch of redundant SetFlag calls.  Since the flag variable is initialized to 0, setting a flag to 0 on a newly
         created object is a waste.

  nsBlockFrame.cpp  --  just added a comment to some odd looking code, to make sure no one comes along later and breaks it


git-svn-id: svn://10.0.0.236/trunk@78763 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:15:02 +00:00
buster%netscape.com
0c9f5240c0 added test case 28811
git-svn-id: svn://10.0.0.236/trunk@78756 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:49:30 +00:00
buster%netscape.com
f407725c66 bug 28811
r=karnaze
The problem was we were over-eager in optimizing away a resize reflow for lines
that contain %-aware children.  We were only looking at the first-level children
of a line, not all the children.  Now, we compute a bit for each inline container
based on it's children, true if any of them are %-aware wrt any width measurement.
We propogate this bit upwards to a bit on the line itself, and check this bit during reflow.


git-svn-id: svn://10.0.0.236/trunk@78755 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:46:44 +00:00
dougt%netscape.com
f6edad2f99 Fixes 51759. If we ship without a plugin manager as we can do for embedding, we crash loading most pages with plugins. This change basically returns an error from Reflow if we cant get the plugin manager component. r=valeski
git-svn-id: svn://10.0.0.236/trunk@78754 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:27:25 +00:00
karnaze%netscape.com
0841e82221 bug 19961 (partial) - in standard mode, give last remaining space to auto cols if there are any.
git-svn-id: svn://10.0.0.236/trunk@78712 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 04:14:02 +00:00
pierre%netscape.com
63613c733a Fix blocker bug #52039 (crash when resolving pseudo-style for anonymous content).
git-svn-id: svn://10.0.0.236/trunk@78710 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 03:58:22 +00:00
karnaze%netscape.com
e0488b52ca new regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@78708 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 03:14:09 +00:00
karnaze%netscape.com
8754c60a8b bug 42643 - invalidate the cell rect when a style change occurs. r=muster.
git-svn-id: svn://10.0.0.236/trunk@78706 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 02:47:02 +00:00
karnaze%netscape.com
a913e39076 new regression test
git-svn-id: svn://10.0.0.236/trunk@78692 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 00:02:50 +00:00
karnaze%netscape.com
ab21b84455 bug 39209 - don't use auto margins for max element size and maximum widths (when requested
during an incremntal reflow).


git-svn-id: svn://10.0.0.236/trunk@78691 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 00:02:04 +00:00
karnaze%netscape.com
ce824dfca4 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@78669 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 16:09:52 +00:00
vidur%netscape.com
ebb357da81 Added missing HTML tags. r=jst
git-svn-id: svn://10.0.0.236/trunk@78662 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 07:04:30 +00:00
rods%netscape.com
61a9addb52 adding rules for show text in a disabled state in the button element
b=41252 r=attinasi


git-svn-id: svn://10.0.0.236/trunk@78643 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:21:15 +00:00
rods%netscape.com
8a82d7b1a3 reverting back to using macro for impl of set/get of disabled attr
b=41252 r=attinasi


git-svn-id: svn://10.0.0.236/trunk@78642 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:18:53 +00:00
rods%netscape.com
5c976bd892 removing bloat - removed unneeded boolean and an nsIHTMLContent pointer
b=51886 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@78641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:15:57 +00:00
rods%netscape.com
e1b15f00aa wasn't setting status to NS_FRAME_COMPLETE
b=49010 r=buster


git-svn-id: svn://10.0.0.236/trunk@78640 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:13:12 +00:00
jst%netscape.com
f54ba5cc66 Removing static IID's (NS_DEFINE_IID()) and replace the static IID's with NS_GET_IID(), this cleans things up and simplifies my fix for nsbeta3+ bug 7515. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78591 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 05:46:14 +00:00
karnaze%netscape.com
3a14935f89 bug 14929 - Reallocate colspan adjusted col widths when there is a percent col being spanned.
git-svn-id: svn://10.0.0.236/trunk@78566 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:46:44 +00:00
pollmann%netscape.com
127fc5823f Bug 51856: Allow selection of just part of a text input or textarea to increase the karma around people who make typos. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78562 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:22:01 +00:00
sfraser%netscape.com
ca316ac9e0 Final part of fix for 13718 -- implement call through nsHTMLImageLoader to get natural dimensions. r=pnunn.
git-svn-id: svn://10.0.0.236/trunk@78547 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:36:29 +00:00
pnunn%netscape.com
fcd6e7c635 bug:13718: natural img dimens. pnunn, r:sfraser
git-svn-id: svn://10.0.0.236/trunk@78533 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:52:05 +00:00