brade%netscape.com
ef62b4b778
use proper key for discontiguous selection on Mac (r=jfrancis)
2000-01-13 16:07:03 +00:00
nisheeth%netscape.com
e0e3ba5b00
The timers used by the asynchronous reflow code were not compiling on the Mac earlier. Fixed them so that they compile on all platforms.
2000-01-13 04:27:05 +00:00
troy%netscape.com
ce72bfda3b
b=23388. Make sure mIsTopMarginRoot is set correctly in nsBlockReflowState
...
constructor
2000-01-13 02:05:31 +00:00
nisheeth%netscape.com
14ec803b33
r=troy. nsContainerFrame::ReflowDirtyChild() always generates a reflow command targeted at its child. nsInlineFrame::ReflowDirtyChild() always passes up the reflow request to its parent. nsBlockFrame::ReflowDirtyChild() no longer has code for checking whether its parent is an area frame.
2000-01-12 21:52:58 +00:00
mjudge%netscape.com
118e690267
small changes for 22752 ctrl left and right. r=cmanske
2000-01-12 21:39:36 +00:00
nisheeth%netscape.com
8407a2dc48
Removing the "ifndef XP_MAC" around the call to nsFrame::CreateAndPostReflowCommand(). The real problem, identified by Scott Putterman, was that the definition of this function was in a debug only section in nsFrame.cpp. He has moved the function out of the debug only section.
2000-01-12 17:43:18 +00:00
putterman%netscape.com
7650e4cd34
This should fix the build bustage.
2000-01-12 17:20:16 +00:00
nisheeth%netscape.com
9523941284
Ifdef out the call to nsFrame::CreateAndPostReflowCommand() on the Mac build for now.
2000-01-12 10:41:15 +00:00
nisheeth%netscape.com
56525e3574
r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257.
2000-01-12 08:28:24 +00:00
troy%netscape.com
0cba827c69
b=23707. Made sure HR frame correctly computes max-element-size
...
when it has an 'auto' width
2000-01-12 04:52:19 +00:00
sspitzer%netscape.com
d601e1d680
fixes to turn bug #22916 into a blank window bug (instead of a crasher)
...
r=troy
2000-01-11 22:15:20 +00:00
ftang%netscape.com
4235f416d2
fix word breaking problem. r=mjudge. treat all word breaking as the same.
2000-01-11 22:07:13 +00:00
mjudge%netscape.com
3ec359f588
bug 15982 r=cmanske. needed more places to add checks for style turning off normal selection.
2000-01-11 19:44:59 +00:00
troy%netscape.com
9d8d92a8f9
Fixed a problem with code that determined whether this was a beginning line.
...
It wasn't correctly handling the very first line in the block
2000-01-10 05:14:47 +00:00
troy%netscape.com
f08e81815b
More work on getting block frames to incrementally update their
...
maximum width
2000-01-08 03:58:27 +00:00
mjudge%netscape.com
dcbf3266bd
r= kin. fix for another parameter. fixing m13 bug with multiple selection.
2000-01-08 00:31:32 +00:00
rbs%maths.uq.edu.au
fb509ee983
[MATHML] Added code to enable Reflow() to return, if requested, the bounding metrics needed for precise MathML placements. This is a WIP approved by Troy.
2000-01-07 14:33:11 +00:00
vidur%netscape.com
b845753fb6
Fix for bug 23074. Implemented image.complete. r=pollmann
2000-01-06 23:41:14 +00:00
vidur%netscape.com
61b8a1e6d0
Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann
2000-01-06 23:36:45 +00:00
pinkerton%netscape.com
f49713f10f
Removed asserts now that nsScrollbarFrame correctly implements its QI. Fixed memory leaks with scrollbars by nsCOMPtr'izing stuff. r=pavlov.
2000-01-06 05:55:46 +00:00
av%netscape.com
67ea41bb94
Bug 22598. r=vidur
2000-01-05 01:18:38 +00:00
jst%citec.fi
25d2340ed0
Fixing bug 12181 (removing static IID's). r=troy@netscape.com
2000-01-04 20:24:09 +00:00
troy%netscape.com
b4b5e28fd5
Fixed three more compiler warnings
2000-01-04 03:09:32 +00:00
vidur%netscape.com
bd52d69467
Fix for bug 22709. image.width/height goes to frame if it isn't in an attribute - compatibility with Level 0. r=harishd
2000-01-04 03:06:13 +00:00
troy%netscape.com
16208e4681
Fixed compiler warning
2000-01-04 03:04:56 +00:00
troy%netscape.com
540b3229d3
Reduced stack space by using PRPackedBool instead of PRBool
2000-01-04 02:59:35 +00:00
troy%netscape.com
8791b810ba
Added new #define NS_SHRINKWRAPWIDTH that specifies that a frame should
...
shrink wrap its width (paying attention to the maximum computed width). Mostly
complete implementation for block frames
2000-01-03 04:32:13 +00:00
troy%netscape.com
138fa22a88
Work-in-progress for having maximum width (needed by tables) be updated
...
incrementally
1999-12-30 04:15:45 +00:00
bryner%uiuc.edu
717cbdd7e2
Fix a warning. r=mcafee.
1999-12-28 20:26:56 +00:00
sspitzer%netscape.com
c8e084ac35
fix #22493 and #22494 . at least turn the crash into an assertion.
...
r=hangas. also fix a warning.
1999-12-23 23:44:56 +00:00
buster%netscape.com
64906b0b20
fixed bug 19494
...
r=troy
The problem was the space mgr was computing mCount to be > 2* mSize, which this code couldn't handle correctly. So now if the space mgr computes mCount to be more than twice the size of the current count, we immediately bump up the size to that count.� If more are needed later, the next call will give us twice this number anyway.
1999-12-23 20:49:07 +00:00
nisheeth%netscape.com
d64e97f2c2
PRTime is a struct on the Mac. I'm going to need to time to make changes so that everything works on the Mac. Commenting out the offending code for now as it is not used in the default case.
1999-12-23 03:47:02 +00:00
nisheeth%netscape.com
0b66a8a4df
Attempt to fix Mac bustage.
1999-12-23 03:08:57 +00:00
nisheeth%netscape.com
9d77060d0e
a=donm, r=vidur.
...
- Added support for two prefs:
a) a boolean pref "layout.reflow.async" that turns asynchronous reflow on/off. The default is off.
b) an integer pref "layout.reflow.timeslice" that specifies a reflow timeslice, in microseconds. When asynchronous reflow is on, the reflow command processing loop in ProcessReflowCommands() tries to return to the event loop if the time spent processing reflow commands exceeds this timeslice. The default value is 1 second.
1999-12-23 02:02:33 +00:00
sspitzer%netscape.com
bfc18b87ab
initialize some variables, fix a comment, fix a FMM
1999-12-22 00:41:38 +00:00
pinkerton%netscape.com
2275305f2f
remove hand-rolled QI and using scc's macros. Also removing static IID's where necessary. r=hyatt,scc a=sdagley.
1999-12-21 19:28:15 +00:00
tbogard%aol.net
22cbc2c1bb
Fixing some places when talking to the webshell object to start talking through the new docshell interfaces.
1999-12-18 02:09:29 +00:00
mjudge%netscape.com
fbbf78681f
Precursor change to akkana and hyatts fix for platform dependent key-bindings. HOME and END will now implement the scroll to top and scroll to bottom for mac. Scroll and Move for pageup/pagedown and CTRL-HOME and CTRL-END on windows will not work until m13. This is ok for now and will hurry up completion of M12. r=akkana. simple fix like 10 lines really.
1999-12-16 22:48:02 +00:00
mjudge%netscape.com
7831406607
adding in nsISelectioncontroller idl for line up/down. fixing editor controller usage for input and textareas. changin nsGfxTextControlFrame.cpp to add editor controllers at the time we need them, not when the control is created due to the delay of the nsEditor creation. nsPresShell implements the new nsISelectionController interfaces. changed makefiles to reflect missing nsEditorController also.
1999-12-15 03:54:52 +00:00
rods%netscape.com
f6731636bf
mVisible not being used correctly nneded to check against NS_STYLE_VISIBILITY_VISIBLE
...
bug 19300,20250 r=kmcclusk a=chofmann
1999-12-14 20:27:20 +00:00
karnaze%netscape.com
2eb4655c2e
incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann
1999-12-13 22:56:31 +00:00
mjudge%netscape.com
b51f84b3de
massive changes a=jar.hoffman, r=akkana
1999-12-11 00:02:08 +00:00
kin%netscape.com
c802915a2e
Fix for bug #18622 (UMR in nsLineLayout::CanPlaceFrame)
...
nsLineLayout::ReflowFrame() now sets some of the psd flags before
calling aFrame->Reflow().
r=troy@netscape.com ,norris@netscape.com a=chofmann@netscape.com
1999-12-10 18:41:43 +00:00
pinkerton%netscape.com
7d81a6f553
fix for page scrolling to scroll (one page - height of one line), not 80% of the page as before. bug 21348, r=evaughan,sfraser. a=brendan.
1999-12-10 02:14:35 +00:00
troy%netscape.com
bfb7487d47
b=19198, a=chofmann. Fixed RecoverStateFrom() to use the update conbined area when
...
invalidating. This fixes a regression introduced in version 3.308
1999-12-09 21:40:37 +00:00
troy%netscape.com
c0644e2987
Changed to respect 'z-index' of 'auto' and call SetViewAutoZIndex()
1999-12-08 04:49:20 +00:00
pollmann%netscape.com
18a8f9f113
Bug 19062: Fix crash when forms are absolutely positioned by giving them a space manager r=Troy
1999-12-08 02:07:03 +00:00
troy%netscape.com
63a9d6b36f
Removed code from PrepareChildIncrementalReflow() that was marking all lines
...
dirty if max-element-size was requested.
1999-12-08 02:05:51 +00:00
troy%netscape.com
4860bec449
Removed an assert that is no longer applicable
1999-12-07 23:43:07 +00:00
troy%netscape.com
d36f7cea02
b=16456. Removed some debug assertion code that was incorrect and caused
...
us to hit asserts when printing
1999-12-07 23:41:48 +00:00
rginda%netscape.com
34a05a535b
Adding check for null document. Prevents crash described in bug 20677.
...
r=brendan@mozilla.org
1999-12-07 22:04:52 +00:00
sfraser%netscape.com
81b90d3598
#ifdef out a printf. r=none
1999-12-07 07:38:16 +00:00
evaughan%netscape.com
f1a7fc061d
Fix for PDP+ bug #20712
...
-r beard
1999-12-07 05:28:32 +00:00
troy%netscape.com
ab459de478
b=20873. Switched to using underlying NSPR arena for frame memory allocation,
...
and reduced the recycler array.
1999-12-07 04:36:08 +00:00
evaughan%netscape.com
17ad5b1fd1
Fixed build bustage looks like a merge error.
1999-12-07 04:27:20 +00:00
evaughan%netscape.com
29c18fc081
1) created an nsIScrollableFrame interface make it possible for Chris K to fix PDP+ bug #12122
...
-r Troy
1999-12-07 03:36:05 +00:00
troy%netscape.com
85012ab550
Change to how overflow is handled for absolutely positioned elements.
...
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
nisheeth%netscape.com
24d990e18b
Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed.
1999-12-06 07:44:18 +00:00
rods%netscape.com
dcfe8e548a
Added a "flags" varaible for combobox creation
...
r=self, bug 19382
1999-12-05 20:43:19 +00:00
cls%seawood.org
5794c7cb83
Added empty throw() on operator new so that gcc 2.95+ doesn't complain about returning NULL.
1999-12-05 07:29:35 +00:00
hyatt%netscape.com
482f0f8746
Fix Linux bustage.
1999-12-05 02:24:02 +00:00
hyatt%netscape.com
de2eaede42
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
1999-12-04 23:49:50 +00:00
sspitzer%netscape.com
d0dbc95b12
fix warning.
1999-12-04 21:37:38 +00:00
kmcclusk%netscape.com
4df6cffe8e
Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com
1999-12-03 00:06:32 +00:00
akkana%netscape.com
fcd5b16fd6
18046: IDL implementation of nsISelectionController from sford4@netscape.net,
...
and the infrastructure to hook it up.
This also changes the spelling from nsISelectionControler. r=mjudge
1999-12-02 21:45:21 +00:00
pierre%netscape.com
6cf30a82f9
20042 "crash on www.netscape.com". Back out my change from v1.30 to fix a crash on InfoWorld which was caused by invalid html code and can no longer be reproduced with their current presentation.
1999-12-02 09:19:16 +00:00
evaughan%netscape.com
9c827edcdb
1) Added sanity checks to box to case memory bugs
...
2) Fixed the floating point roundoff that was causing boxes to lay themselves out off by 1 pixel
3) Simplified box data structure
-r Hyatt
1999-12-02 01:07:27 +00:00
pierre%netscape.com
97457e62bb
Backing-out previous change which had the effect of getting rid of the widgets for *all* fixed positioned elements. Removing widgets is a goal at term but it's something that we want to leave to the View Manager folk(s) or at least do in sync with them.
1999-12-01 05:10:50 +00:00
troy%netscape.com
a19c2c4c87
Added XXX comment to remind me (and Chris) of a problem that needs to
...
be revisited
1999-12-01 04:50:26 +00:00
troy%netscape.com
0373cda0ac
Removed dead code
1999-12-01 04:18:20 +00:00
troy%netscape.com
01dc596189
Correctly this time
1999-12-01 04:13:19 +00:00
troy%netscape.com
6c92be92a0
Removed some commented out dead code
1999-12-01 04:12:46 +00:00
troy%netscape.com
a6363a7d20
Removed some old dead code
1999-12-01 04:10:47 +00:00
pierre%netscape.com
ce15b0c85d
18163 "Use of fixed positioning in style sheet corrupts display". Don't create empty widgets for fixed positioned elements in order to avoid problems in the View Manager (GetDrawingSurface) where we end up copying uninitialized bitmaps to the screen. The main reason for fixing the bug here instead of within the View Manager is that we'll get rid of widgets altogether over time.
1999-12-01 04:10:02 +00:00
pierre%netscape.com
046ba35285
12520 "GFX select elements need to be able to turn off text". Fixing previous checkins in nsFrame::DisplaySelection(): mUserSelect is not a bit field.
1999-11-30 23:31:16 +00:00
kin%netscape.com
5a272bb01f
Fix for bug #20107 [DOGFOOD] typing in the body causes body to scroll to top
...
and bug #19541 [DOGFOOD] Browser jumps to top of page seconds after
scrolling down
Modified nsScrollPortFrame::Reflow() to pass NS_FRAME_NO_MOVE_VIEW when
reflowing it's kidFrame.
r=evaughan@netscape.com
1999-11-30 23:18:47 +00:00
ftang%netscape.com
6773500b62
fix bug 18398. Make sure the startOffset and textWidth get reset in the while loop
1999-11-30 22:16:12 +00:00
troy%netscape.com
6070918134
b=20286. Changed PlaceFloater() so that it repositions any views after
...
placing the frame
1999-11-30 05:09:08 +00:00
warren%netscape.com
2db26922a6
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
1999-11-30 04:50:42 +00:00
troy%netscape.com
a87ea4d233
Changes parameter to be "const nsRect*" and changed a comment
1999-11-30 04:48:34 +00:00
waterson%netscape.com
dd64fd7ca1
Add focus pseudo-class atoms. r=hyatt
1999-11-30 00:54:45 +00:00
dougt%netscape.com
f66be6c30c
fix for 18078. r=mstoltz,warren
1999-11-30 00:32:43 +00:00
nisheeth%netscape.com
767ba5b269
Fix for bug 20194. r=beard. Thank to Patrick Beard for finding this leak in CaptureFrameStateFor().
1999-11-30 00:17:40 +00:00
warren%netscape.com
96ec037ac6
Eliminated the libs build pass.
1999-11-28 03:05:01 +00:00
vidur%netscape.com
dd88339f19
Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki
1999-11-25 00:05:21 +00:00
tbogard%aol.net
af1ce8d410
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
mjudge%netscape.com
d1b5f823f1
Fixing mac issue with selection dragging not working when above or below single line text. aka URL. mac has a different preference now. this may be done with look and feel object later. hyatt,cmanske(19191)
1999-11-24 01:10:22 +00:00
mjudge%netscape.com
e5cc293e99
missed a |= instead of just a ==. The compared variable is a bitflag not just a number.
1999-11-23 22:49:44 +00:00
kin%netscape.com
ac5342a0c8
Fix for bug #18092 which is a modified version of Kipp's fix for #1413 that
...
also fixes #18002 , and #18006 . nsContainerFrame::GetFrameForPointUsing() now
looks through any outside children even if it finds a normal child containing
aPoint.
r=joki@netscape.com
1999-11-23 22:05:05 +00:00
mjudge%netscape.com
d7fbad6cea
small fixes for BR frames getting correct offset. also one case of textframe not returning proper location (simply a missed change of a regressed call in PeekOffset) nsCaret was also too stringent on the limitation of text frames as the only frames to get the caret position. these were reviewed by a few people and i just dont remember. r=simon,cmanske,akkana and hyatt?
1999-11-23 20:30:21 +00:00
pierre%netscape.com
36d3ba78e4
18285: crash on infoworld. When we append a change to the ChangeList, make sure we return its hint, especially if it's a HINT_REFLOW because the reflow may delete some frames that are referred to elsewhere in the ChangeList. r=troy.
1999-11-23 01:08:20 +00:00
pierre%netscape.com
096c23050e
12520 "GFX select elements need to be able to turn off text". Changed nsFrame::DisplaySelection to use the parent's mUserSelect similarly to what we do with mCursor in nsFrame::GetCursor. r=mjudge.
1999-11-23 01:07:56 +00:00
troy%netscape.com
79ddaa641e
b=19416. Workaround for problem of combo box drop-down being displayed in
...
the wrong place sometimes
1999-11-20 06:03:16 +00:00
troy%netscape.com
0e0d40fa91
b=19374. Restored some code I unintentionaly removed in previous checkin.
...
Now after Reflow() of child frame "kidRect.width" and "kidRect.height" are
updated
1999-11-19 22:04:01 +00:00
troy%netscape.com
597b5f236b
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
kin%netscape.com
9ce2f08c0b
Fix for bug #17989 : Selection AutoScrolling broken when using GFX Scrollbars
...
layout/base/src/nsRangeList.cpp
- Added ConstrainFrameAndPointToAnchorSubtree() and various utility
methods.
- Modified HandleDrag() to call ConstrainFrameAndPointToAnchorSubtree().
layout/html/base/src/nsFrame.cpp
- Modified GetContentAndOffsetFromPoint() to skip over generated
and anonymous content frames.
layout/html/base/src/nsGfxScrollFrame.cpp
layout/html/base/src/nsGfxScrollFrame.h
- Override the default nsFrame::GetContentAndOffsetsFromPoint()
implementation with a version that calls
mInner->GetContentAndOffsetsFromPoint(). This prevents the
scrollbar frames from being included in the search.
view/src/nsScrollPortView.cpp
- Fixed bug where GetContainerSize() was returning the size of the
ScrollPortView instead of the ScrolledView.
r=evaughan@netscape.com
1999-11-18 19:40:52 +00:00
brade%netscape.com
899fde519d
File Removed.
1999-11-15 20:46:30 +00:00
tbogard%aol.net
cfc00042fa
Changed QueryCapability to use the new interface requestor. r=pavlov
1999-11-14 10:22:00 +00:00
beard%netscape.com
65a3476676
pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov
1999-11-14 02:51:25 +00:00
karnaze%netscape.com
fcfef2de8f
disabled delayed handling of reflow commands (pre rev 3.208). r=nisheeth
1999-11-12 04:41:34 +00:00
jdunn%netscape.com
d2fd69dd5d
Fix for AIX build bustage. Unfortunately the compiler requires that if
...
a class includes other classes, then the other classes must be defined
by the time the enclosing class is. In this case nsDST includes
NodeArena, LeafNode & TwoNode and so therefore those classes must be
defined in nsDST.h.
r troy: Note, Troy didn't APPROVE of the fix (since it isn't pretty) but
he has graciously allowed it in order to help AIX development.
He did believe that it wouldn't hurt to put the change in.
1999-11-12 03:52:50 +00:00
vidur%netscape.com
375a018914
Fix for bug 13948. We now correctly store and retrieve an OL element with type=1. R=pollmann.
1999-11-12 02:06:09 +00:00
jdunn%netscape.com
0c7a249849
removing ';' from the end of the macros, since the macro in nsTimer.h
...
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
1999-11-11 21:35:34 +00:00
troy%netscape.com
2e7ee4874b
b=17546. Changed block frame code to save/restore space manager when create
...
a space manager, and changes button code to use the NS_BLOCK_SPACE_MGR flag
when creating the area frame
1999-11-11 06:00:41 +00:00
av%netscape.com
ca533a122e
Fix for bug 16302. Added counting margins when calculating the object size, r=nisheeth
1999-11-11 00:00:07 +00:00
brade%netscape.com
e7a165a4c4
remove empty_doc.html (bug #15442 ) r:Jerry.Kirk@Nexwarecorp.com
1999-11-10 14:48:36 +00:00
nisheeth%netscape.com
ecf204e501
a=sdagley. Move over to new timing macros...
1999-11-10 03:41:09 +00:00
nisheeth%netscape.com
ab25264f7b
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.
1999-11-09 03:23:26 +00:00
dmose%mozilla.org
5312eacf8c
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
mjudge%netscape.com
cdbbab7322
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"
1999-11-05 22:09:16 +00:00
kin%netscape.com
69f6a5d415
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
1999-11-05 17:42:21 +00:00
mcafee%netscape.com
f535f208dc
Switching to use NS_WITH_SERVICE macro as specified in (5403); removing spurious clipboard service instance in nsEditorEventListeners.cpp. r=akkana, a=chofmann.
1999-11-05 01:29:49 +00:00
kipp%netscape.com
ca39ca7b10
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
1999-11-04 19:34:36 +00:00
kipp%netscape.com
2e252d2512
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
1999-11-03 22:09:00 +00:00
joki%netscape.com
1675be15e0
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
1999-11-03 07:11:45 +00:00
kipp%netscape.com
ef6a9e0b86
r=troy; remove another 4 bytes from each block frame for a total of 10% today :-)
1999-11-03 00:42:12 +00:00
mjudge%netscape.com
cb31827195
small fix from pierre on use of the style system. pierre reviewed.
1999-11-03 00:11:49 +00:00
kipp%netscape.com
f6d66c6b92
r=troy; Shrink block frames by 4 bytes per instance by making the overflow-lines instance variable a frame property
1999-11-02 23:42:52 +00:00
cls%seawood.org
bee74e223b
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
kipp%netscape.com
697d4955cf
Fixed bug 17698 - prepended srcdir to each of the resources being installed
1999-11-02 15:53:17 +00:00
kipp%netscape.com
c93281e841
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
1999-11-02 15:44:57 +00:00
troy%netscape.com
614cbe4d17
Changed QueryInterface() to check for nsIFrameDebug
1999-11-02 05:49:11 +00:00
troy%netscape.com
92397272b4
Fixed problem with GetFrameName() being defines in non-debug build
1999-11-01 23:12:32 +00:00
kipp%netscape.com
b8f8a97ca6
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
1999-11-01 22:38:17 +00:00
troy%netscape.com
1585a751fb
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
kipp%netscape.com
80998e8d8c
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
1999-11-01 15:36:02 +00:00
kipp%netscape.com
9e50fa5b4f
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...
1999-11-01 15:32:37 +00:00
kipp%netscape.com
3c7c76999f
Disabled debug noise I accidently checked in (whoops!)
1999-11-01 15:31:04 +00:00
kipp%netscape.com
0a512d8393
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)
1999-11-01 15:24:57 +00:00
troy%netscape.com
b0a2b142a1
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
1999-10-31 04:04:32 +00:00
buster%netscape.com
3dc0567e83
added pseudo-style for single line text controls. bug 14727
1999-10-30 16:29:32 +00:00
troy%netscape.com
a12c3d6c5d
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
nisheeth%netscape.com
bc4b9ff0f5
Fix for bug 17540. Uncommented the call to nsFrameManager::CantRenderReplacedElement().
1999-10-30 01:31:49 +00:00
mjudge%netscape.com
21ff71f017
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.
1999-10-29 23:07:07 +00:00
evaughan%netscape.com
039be939e6
Made tabs us visibility instead of shrinking their children to 0,0.
...
Made it possible to change the look for the selected tab.
1999-10-29 22:13:57 +00:00
kipp%netscape.com
3409a3e7b1
r=troy; fixed a crash bug in the debug logic found while fixing 12958
1999-10-29 14:36:00 +00:00
kipp%netscape.com
24eed8d0c5
r=troy; api changes for 12958, 12760 and preperations for 17377
1999-10-29 14:35:36 +00:00
kipp%netscape.com
1b94ea5410
r=troy; cleaned up resize reflow optimization logic and prepared it for fixing bug #17737 (not yet fixed!)
1999-10-29 14:34:53 +00:00
kipp%netscape.com
afdbdc1c10
r=troy; fixed letter frame logic to use the line layout to flow frames so that white-space trimming, for example, would work right
1999-10-29 14:34:01 +00:00
kipp%netscape.com
f961e4b03a
r=troy; updated api slightly to support fixes to bug 12760, 12958 and some resize-reflow optimization bugs
1999-10-29 14:33:26 +00:00
kipp%netscape.com
911d3089e8
r=troy; use new line-layout api to help with some resize-reflow optimization bugs
1999-10-29 14:32:11 +00:00
kin%netscape.com
74852c1b92
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
1999-10-29 13:43:11 +00:00
kipp%netscape.com
4b3c19334b
r=troy; fixed code to properly remove reflowc ommands when cancelling
1999-10-29 01:53:56 +00:00
troy%netscape.com
5d4fb4f980
Added more diagnostic code
1999-10-28 14:38:14 +00:00
kipp%netscape.com
ea416bdb68
bug=17320; Fixed a purify warning
1999-10-28 14:33:34 +00:00
nisheeth%netscape.com
9c4e5b9c15
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.
1999-10-28 01:20:34 +00:00
troy%netscape.com
2ea886f3be
Changed view to be stored as a frame property instead of a member data
...
of nsFrame
1999-10-27 03:56:14 +00:00
troy%netscape.com
2e4ab18e9c
Change to some assertions in debug mode
1999-10-27 00:53:15 +00:00
troy%netscape.com
87afecabc0
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
kipp%netscape.com
7e8c54090e
Added missing resources
1999-10-25 23:06:05 +00:00