nisheeth%netscape.com
7ad60e4687
r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell.
...
git-svn-id: svn://10.0.0.236/trunk@52989 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 03:23:26 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
mjudge%netscape.com
b476111e67
fix review by sfrasier, approved choffman. simple fix to get first letter style frames/paragraphs to show their selection. simply notifies children that the selection bit should be "on"
...
git-svn-id: svn://10.0.0.236/trunk@52870 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 22:09:16 +00:00
kin%netscape.com
81ed65e99b
Temporary Fix for dogfood blocker bugs #18002 and #18006 . With kipp's
...
permission, I backed out his fix for bug #1413 from
layout/html/base/src/nsContainerFrame.cpp revision 1.68.
Will re-check in kipp's fix after M11 is branched.
r=buster@netscape.com a=chofmann
git-svn-id: svn://10.0.0.236/trunk@52857 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 17:42:21 +00:00
mcafee%netscape.com
5478f9dda3
Switching to use NS_WITH_SERVICE macro as specified in (5403); removing spurious clipboard service instance in nsEditorEventListeners.cpp. r=akkana, a=chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@52832 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 01:29:49 +00:00
kipp%netscape.com
b20b0d0a0e
r=vidur; bug=17372; found a case where a trailing shy character on a line would trigger an infinite loop iff the shy character was the only piece of text after a text frame had been continued
...
git-svn-id: svn://10.0.0.236/trunk@52791 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-04 19:34:36 +00:00
kipp%netscape.com
8fae81516b
r=joki; fixed the ancient and venerable bug 1413 by noting that the code was using an optimization that wasn't always valid and that one that optimization wasn't valid, the slower path must be used...I commented the fix fairly solidly
...
git-svn-id: svn://10.0.0.236/trunk@52732 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 22:09:00 +00:00
joki%netscape.com
c79e9c67d2
Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur
...
git-svn-id: svn://10.0.0.236/trunk@52691 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 07:11:45 +00:00
kipp%netscape.com
eed8ac6824
r=troy; remove another 4 bytes from each block frame for a total of 10% today :-)
...
git-svn-id: svn://10.0.0.236/trunk@52629 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 00:42:12 +00:00
mjudge%netscape.com
9252d81168
small fix from pierre on use of the style system. pierre reviewed.
...
git-svn-id: svn://10.0.0.236/trunk@52625 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 00:11:49 +00:00
kipp%netscape.com
e4bab0a0e6
r=troy; Shrink block frames by 4 bytes per instance by making the overflow-lines instance variable a frame property
...
git-svn-id: svn://10.0.0.236/trunk@52613 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:42:52 +00:00
cls%seawood.org
3e1a9ca95a
Removed unused NECKO ifdefs.
...
a=leaf
git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
kipp%netscape.com
b3604151b4
Fixed bug 17698 - prepended srcdir to each of the resources being installed
...
git-svn-id: svn://10.0.0.236/trunk@52550 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 15:53:17 +00:00
kipp%netscape.com
941b74b495
r=troy; fixed bugs 2636 and 17636 - line layout issues for some more edge cases (nobr's with floaters in them) and handling of nbsp
...
git-svn-id: svn://10.0.0.236/trunk@52548 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 15:44:57 +00:00
troy%netscape.com
8c862baf0d
Changed QueryInterface() to check for nsIFrameDebug
...
git-svn-id: svn://10.0.0.236/trunk@52516 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 05:49:11 +00:00
troy%netscape.com
cf64589783
Fixed problem with GetFrameName() being defines in non-debug build
...
git-svn-id: svn://10.0.0.236/trunk@52436 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 23:12:32 +00:00
kipp%netscape.com
7ae532db2a
r=troy; fixed bug 14982 - the problem was that empty continuations of an inline non-replaced element (e.g. 'span') were impact line-height calculations when they should effectively disappear
...
git-svn-id: svn://10.0.0.236/trunk@52430 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:38:17 +00:00
troy%netscape.com
3513334988
Moved a bunch of stuff out to a nsIFrameDebug interface
...
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00
kipp%netscape.com
c6c74d8fe2
r=ftang (someday); fixed bug 17130 - the problem was that nbsp's were being mapped into spaces by the text-transformer which is normally good, but for the purposes of line-breaking look-ahead was bad. I added code to revert the post-transformed spaces into nbsp's before using the line-breaker
...
git-svn-id: svn://10.0.0.236/trunk@52390 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 15:36:02 +00:00
kipp%netscape.com
283a28a5d4
r=ftang (someday); fixed 17559 regression - there were a few cases where characters > 127 were leaking out without setting the mHasMultibyte flag that were triggering painting bugs on macs...
...
git-svn-id: svn://10.0.0.236/trunk@52389 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 15:32:37 +00:00
kipp%netscape.com
2cabf1bf40
Disabled debug noise I accidently checked in (whoops!)
...
git-svn-id: svn://10.0.0.236/trunk@52387 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 15:31:04 +00:00
kipp%netscape.com
63ae90acca
r=troy; reworked the way that blocks inside of inline elements are handled. It's all in the frame construction code now (bugs 15999, 16737)
...
git-svn-id: svn://10.0.0.236/trunk@52385 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 15:24:57 +00:00
troy%netscape.com
3300906c1f
b=15742. Changed Reflow() to invalidate the child's bounds if we're forced
...
to do a second reflow because we didn't correctly predict whether the vertical
scrollbar was needed. Because the second reflow changes the display width we
need to repaint
git-svn-id: svn://10.0.0.236/trunk@52360 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-31 04:04:32 +00:00
buster%netscape.com
2669825bf4
added pseudo-style for single line text controls. bug 14727
...
git-svn-id: svn://10.0.0.236/trunk@52327 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 16:29:32 +00:00
troy%netscape.com
88c4d96e2c
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
git-svn-id: svn://10.0.0.236/trunk@52309 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 02:52:11 +00:00
nisheeth%netscape.com
2d10931ddb
Fix for bug 17540. Uncommented the call to nsFrameManager::CantRenderReplacedElement().
...
git-svn-id: svn://10.0.0.236/trunk@52303 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 01:31:49 +00:00
mjudge%netscape.com
2dee462ae3
i cannot find the bug# it is for selecting inside forms. we need to turn off selection in certain frames based on the style. this sets up it to work once we figure out the style rule to set.
...
git-svn-id: svn://10.0.0.236/trunk@52288 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 23:07:07 +00:00
evaughan%netscape.com
0fa061c765
Made tabs us visibility instead of shrinking their children to 0,0.
...
Made it possible to change the look for the selected tab.
git-svn-id: svn://10.0.0.236/trunk@52270 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 22:13:57 +00:00
kipp%netscape.com
96da767847
r=troy; fixed a crash bug in the debug logic found while fixing 12958
...
git-svn-id: svn://10.0.0.236/trunk@52215 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 14:36:00 +00:00
kipp%netscape.com
5f8b23824a
r=troy; api changes for 12958, 12760 and preperations for 17377
...
git-svn-id: svn://10.0.0.236/trunk@52214 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 14:35:36 +00:00
kipp%netscape.com
f35516791b
r=troy; cleaned up resize reflow optimization logic and prepared it for fixing bug #17737 (not yet fixed!)
...
git-svn-id: svn://10.0.0.236/trunk@52213 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 14:34:53 +00:00
kipp%netscape.com
5a0f716ef3
r=troy; fixed letter frame logic to use the line layout to flow frames so that white-space trimming, for example, would work right
...
git-svn-id: svn://10.0.0.236/trunk@52212 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 14:34:01 +00:00
kipp%netscape.com
b3ecfed51c
r=troy; updated api slightly to support fixes to bug 12760, 12958 and some resize-reflow optimization bugs
...
git-svn-id: svn://10.0.0.236/trunk@52211 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 14:33:26 +00:00
kipp%netscape.com
a2f8cba30c
r=troy; use new line-layout api to help with some resize-reflow optimization bugs
...
git-svn-id: svn://10.0.0.236/trunk@52210 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 14:32:11 +00:00
kin%netscape.com
5fae6982e3
Fix for bug #16176 : [DOGFOOD] need to annotate line frames with whitespace trim
...
layout/base/src/nsCaret.cpp
- Modified DrawCaretWithContext so that we only
adjust the caret position if we are within the
frame's bounds.
layout/html/base/src/nsTextFrame.cpp
- Modified GetPointFromOffset() to add the width
of a space if the offset is after a trailing space
and it was trimmed off the frame.
r=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@52206 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 13:43:11 +00:00
kipp%netscape.com
0f8e430077
r=troy; fixed code to properly remove reflowc ommands when cancelling
...
git-svn-id: svn://10.0.0.236/trunk@52164 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 01:53:56 +00:00
troy%netscape.com
5149a61f62
Added more diagnostic code
...
git-svn-id: svn://10.0.0.236/trunk@52083 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 14:38:14 +00:00
kipp%netscape.com
1786d79429
bug=17320; Fixed a purify warning
...
git-svn-id: svn://10.0.0.236/trunk@52082 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 14:33:34 +00:00
nisheeth%netscape.com
f341433a7c
r=dp. Fix for bug 17411. Commenting out the call to nsFrameManager::CantRenderReplacedElement for now. This should let us open up the tree while dp and pnunn figure out the right fix.
...
git-svn-id: svn://10.0.0.236/trunk@52029 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 01:20:34 +00:00
troy%netscape.com
fd1d6fc2a3
Changed view to be stored as a frame property instead of a member data
...
of nsFrame
git-svn-id: svn://10.0.0.236/trunk@51940 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 03:56:14 +00:00
troy%netscape.com
c04dab44f6
Change to some assertions in debug mode
...
git-svn-id: svn://10.0.0.236/trunk@51925 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 00:53:15 +00:00
troy%netscape.com
bd46e7911f
Changed SetView/GetView to take an additional argument which is the
...
pres context
git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
kipp%netscape.com
3cbf0c252a
Added missing resources
...
git-svn-id: svn://10.0.0.236/trunk@51778 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 23:06:05 +00:00
kipp%netscape.com
60ea075c3f
Reduce the number of cases that trigger noisy debug noise
...
git-svn-id: svn://10.0.0.236/trunk@51776 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 23:05:31 +00:00
kipp%netscape.com
dfe78df5d9
Turned off some more debug noise
...
git-svn-id: svn://10.0.0.236/trunk@51775 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 23:05:15 +00:00
kipp%netscape.com
4bb755ead2
r=ftang,brade, bug=16886,9101 - the text transformer was letting some nbsp's through in a few special cases; the text transformer also squelches shy characters now (9101)
...
git-svn-id: svn://10.0.0.236/trunk@51774 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 23:04:51 +00:00
kipp%netscape.com
ae6b64e566
r=troy, bug=10497; we now support min/max width/height for image elements
...
git-svn-id: svn://10.0.0.236/trunk@51773 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 23:03:50 +00:00
ftang%netscape.com
80f773ac31
fix not enough gap between IME selection problem. r=erik
...
git-svn-id: svn://10.0.0.236/trunk@51752 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 22:18:41 +00:00
troy%netscape.com
d79892b99d
Changed nsTextFrame to be derived from nsFrame instead of nsSplittableFrame.
...
nsTextFrame now has only a next-in-flow pointer and no prev-in-flow pointer.
Subclass nsContinuingTextFrame is used for continuing text frames; it has a
prev-in-flow pointer. This saves 4 bytes
git-svn-id: svn://10.0.0.236/trunk@51664 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-23 23:19:14 +00:00
troy%netscape.com
feca3d387f
Changed Clear() to check for a shared node arena
...
git-svn-id: svn://10.0.0.236/trunk@51626 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-23 03:04:21 +00:00