Граф коммитов

378 Коммитов

Автор SHA1 Сообщение Дата
troy%netscape.com 49838148df Fix for blocker #15839. r=kipp@netscape.com,kin@netscape.com
Typing into a text area wasn't working properly. Problem was that when the text
changed we were reflowing the text frames with a resize reflow command and
we thought we could optimize the reflow. So I changed ContentChanged() to
mark each text frame dirty so we would know not to do the optimization
1999-10-08 22:04:31 +00:00
mjudge%netscape.com d5261a4cad fixing optimizations for table selection as well as making sure all flags are turned on/off for text frames when one frame is selected.. 1999-09-29 20:36:00 +00:00
kin%netscape.com ff2c034123 First pass implementation of selection auto scrolling.
layout/base/public/nsIFrame.h
        - Added GetContentAndOffsetsFromPoint() method. This
          method will eventually replace GetPosition().

    layout/base/public/nsIFrameSelection.h
        - Added HandleDrag() and Start/StopAutoScrollTimer() methods.

    layout/base/src/nsRangeList.cpp
        - Added implementation for HandleDrag() and
          Start/StopAutoScrollTimer() methods.

    layout/html/base/src/nsBRFrame.cpp
        - Added implementation for GetContentAndOffsetsFromPoint().

    layout/html/base/src/nsFrame.cpp
    layout/html/base/src/nsFrame.h
        - Added implementation for GetContentAndOffsetsFromPoint().
        - Added GetClosestViewForFrame() utility method.
        - Modified HandleEvent() to call HandleRelease() which now
          stops the auto scrolling timers.
        - Modified HandleDrag() to call nsIFrameSelection's HandleDrag()
          and Start/StopAutoScrollTimer() methods.

    layout/html/base/src/nsTextFrame.cpp
        - Added implementation for GetContentAndOffsetsFromPoint().
1999-09-29 20:04:05 +00:00
mjudge%netscape.com 0bb65d1fc8 fixes for M11 a=shaver r=cmanske. this will add 1 enumerator value to en enum in nsIFrame so dont be scared. this is for tweaking selection should not affect anyone outside of selection/editor 1999-09-25 23:33:02 +00:00
mjudge%netscape.com 8e608e33df tweaked word left and word right again. got double click working on edge cases! yeah 1999-09-22 07:09:41 +00:00
mjudge%netscape.com f4d520bbf9 approved by Dagley. fixes for CTRL_LEFT and CTRL_RIGHT navigation and wrapping 1999-09-22 05:56:44 +00:00
mjudge%netscape.com 375e6fb76f fixes for line/frame traversal. now we use more common code inside nsFrame rather than nsTextFrame specific code all the time. 1999-09-22 04:12:23 +00:00
kipp%netscape.com a4d231b7a0 Whoops, left some noise on 1999-09-22 00:41:13 +00:00
kipp%netscape.com 20d20949a5 Fixed various bugs including part of 14486 and 14427; cleaned up the usage of stack based buffers to avoid future issues 1999-09-22 00:40:56 +00:00
mjudge%netscape.com f9f66c8c83 changes to selection code to stop a never ending loop 1999-09-21 22:58:14 +00:00
kipp%netscape.com 2d9d8238ec Bring TrimTrailingWhiteSpace back to life after troy's changes 1999-09-21 00:12:50 +00:00
mjudge%netscape.com 790ac1c492 checking in fixes for selection around nodes where get primary frame will not lead to the discovery of all frames 1999-09-20 21:47:37 +00:00
troy%netscape.com 42ed16c7fa Optimized Reflow() some more. In the case where we're not measuring text but
we need to peek ahead and so we need to know the length of the last word, if
there's only one word in the text run then we can avoid measuring
1999-09-19 04:42:54 +00:00
troy%netscape.com 239280dca3 Backed out some changes that aren't needed and were fixed with a change
to the frame construction code
1999-09-19 00:59:38 +00:00
troy%netscape.com 637d445656 Optimized reflow to skip measuring of the text for a resize reflow (when
possible)
1999-09-18 16:22:34 +00:00
alecf%netscape.com 908598f90d fix a bunch of null-derefing problems when accessing http://webmail.netscape.com/ and add some assertions when these things happen 1999-09-18 01:00:43 +00:00
alecf%netscape.com 4d82041e65 fix dereferencing error on slashdot.org 1999-09-18 00:48:51 +00:00
kipp%netscape.com 3b3b365267 Fixed a glitch in word-breaking look ahead that was using the wrong content to compute the next fragments width (whoops!) 1999-09-17 23:14:47 +00:00
troy%netscape.com b5fa42f1ba Minor changes to reduce the amount of unnecessary ref counting and speed
things up a little
1999-09-16 23:31:59 +00:00
mjudge%netscape.com 3a9ca8d5ed changes for bug fixes for dogfood. finding frames left and right should find the correct frame and not give up so easily. nsTextFrame needed to change getpositionslowly. 1999-09-15 01:57:50 +00:00
mjudge%netscape.com 3c1962540f content iter not initing properly for reuse. text frame not selecting slowly properly, bad bounds checking :(. rangelist now traversing each node in a spaniter with a normal iter to make SURE we get all the children! 1999-09-14 23:16:22 +00:00
mjudge%netscape.com 6062bf5382 fixes for selection. up/down arrow behavior and also extending selection. all should be in peek offset ect. Also adding in a slight change to the hack (which should go away soon) that will stop the editor from scrolling when up/down left/right ect are clicked. when key events go in this code will be removed 1999-09-13 22:19:31 +00:00
mjudge%netscape.com 24a5d270fd fixes for crasher in tree 1999-09-11 00:18:02 +00:00
mjudge%netscape.com 8a55b0d40e changes for peekoffset removal of extra parameters. also fixing some ownership issues with nsIenumerator and the rangelist iterator. fixing also some hit tests for line frames. 1999-09-10 18:29:37 +00:00
mjudge%netscape.com 7b6345b29b adding in begin line and end line enums for selection movement. this allows peeking to the start and end of and like given a content offset for any frame. 1999-09-07 23:40:17 +00:00
ftang%netscape.com 00528a4ff3 fix bug 13063 12881 1999-09-03 22:46:16 +00:00
mjudge%netscape.com c9b2693769 new selection code for dead areas. this is much better, trust me. the block frame now will look at its best line and look for a spot to select. if it finds another block frame now, it will continue the process in a while loop. each time looking for best x and y area. this reuses the code located in GetNextPrevLine. 1999-09-01 21:40:16 +00:00
kipp%netscape.com dff5b76938 Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
kipp%netscape.com fd426dec6a Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
mjudge%netscape.com 1ca330a9f0 changes to allow selection in "dead" space between frames. still need work on "outside" and not in the window at all, but this is a very good chunk of the issue and it will solve many many bugs on my place. good for dogfood as well :) 1999-08-24 21:51:47 +00:00
ftang%netscape.com 26e88426e4 implement word jump for non Ascii 1999-08-19 06:06:57 +00:00
ftang%netscape.com 8ef9ee4a19 tune performance by elimate unnecessary reference to nsIWordBreaker in nsTexTransformer. Add NS_PRECONDITION code into nsTextTransformer to make code better 1999-08-10 07:23:56 +00:00
sfraser%netscape.com f24a0065cc Optimization so that moving a collapsed selection does not cause the frame to redraw. 1999-08-09 19:15:04 +00:00
ftang%netscape.com 30924f919c fix bug 4240,5532,5529,7899 pass in current word buffer to ComputeWordWidth functions so we have the whole text that we can pass to line breaker. 1999-07-27 14:47:24 +00:00
brade%netscape.com 870a1d47c6 Implement InvertRect on Mac. r sfraser 1999-07-20 23:38:55 +00:00
ramiro%netscape.com 89f257f698 Adding support for XOR selection. Updated nsIRenderingContext interface
to support InvertRect() for the XOR-ing of rectangles.  Makes selection
work as expected on windows and unix as opposed to the rectangle hack.
Stubs added for all other platforms.
1999-07-20 07:26:09 +00:00
troy%netscape.com 06f806dfd8 Added 'm' prefix to a couple more data members of nsHTMLReflowState struct 1999-07-20 03:51:46 +00:00
mjudge%netscape.com 7ddf8fee55 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape. 1999-07-18 02:27:19 +00:00
sfraser%netscape.com d3acdc68c8 Don't cast a char* to a PRUnichar* array when calling PaintTextDecorations. 1999-07-15 23:11:35 +00:00
mjudge%netscape.com a2f598637e checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection 1999-07-15 18:19:03 +00:00
kipp%netscape.com 780f14d551 Removed compiler warnings 1999-07-14 17:30:22 +00:00
troy%netscape.com 5598bdcb3b Changed Reflow() to invalidate bounds for an incremental reflow 1999-07-14 15:20:01 +00:00
kipp%netscape.com 779fae0c49 Fixed bug 6574 - the problem was that the current color was being reset when the text decoration, in this case an underline, was being drawn so that the next chunk of text rendered in the smallcaps font was drawn in the wrong color 1999-07-08 19:52:57 +00:00
mjudge%netscape.com 9eccad5750 up/down selection BRFrames dont allow selecting upon them for now. horizontal bars are now drawn selected. ect. 1999-06-19 20:36:44 +00:00
sfraser%netscape.com fef071e32e Fix for bug 8317 -- leaked caret causes crash. r mjudge, a leaf. 1999-06-16 23:55:48 +00:00
mjudge%netscape.com d63fe70c95 minor changes to tweak fix from before. GetPositionSlowly was returning wrong thing causing small caps and other wierd spacing letters to be selected incorrectly. 1999-06-10 21:55:14 +00:00
mjudge%netscape.com 1e4bbda958 fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
MJ
1999-06-10 21:08:17 +00:00
kmcclusk%netscape.com c0d7d3b338 Replaced reference with pointer for accessing plainFont in nsTextFrame::Reflow. 1999-06-08 18:12:20 +00:00
joki%netscape.com 6f1a265019 Adding new method to nsIDOMNSUIEvent to give event pos as range offset. 1999-06-08 02:19:26 +00:00
kmcclusk%netscape.com 50fad27afd Modified TextStyle constructor to reuse the TextFrame's mFont rather than creating
a new font. The creation of the new font show up during profiling as a big hit.
1999-06-07 21:18:51 +00:00
mjudge%netscape.com 69a5dfd797 fixes for selection and memory leaks 1999-06-04 23:00:24 +00:00
peterl%netscape.com ea2a67cdbd fixed warnings 1999-06-03 02:09:03 +00:00
mjudge%netscape.com 51faf8cbdb new table selection code drag inside and outside of tables with ease. added some overriding methods to nsTableCellFrame and nsTableFrame to make selection "draw" correctly for those containers. 1999-06-01 23:04:13 +00:00
mjudge%netscape.com 1dd2a01b0e reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply 1999-05-20 00:52:00 +00:00
mjudge%netscape.com c7d225d70b oops fogot default boolean for non start or end node selection 1999-05-18 22:29:27 +00:00
mjudge%netscape.com ef418f446e wrong initial boolean value for redraw 1999-05-17 22:31:10 +00:00
mjudge%netscape.com add5fec838 accidentally left out a parameter to GetPositionSlowly for small caps ect. 1999-05-17 19:50:29 +00:00
mjudge%netscape.com 341678533a adding in selection of non text frames in editor only 1999-05-17 00:21:18 +00:00
mjudge%netscape.com a13ab1bbcf adding back in keyboard navigation. removing const from peekoffset to stop the const creep. changing peekoffset to do the right thing for content based peeking... 1999-05-13 00:44:23 +00:00
kipp%netscape.com fea30bc4eb Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
kipp%netscape.com 91be450e4f Fixed bug 5255 and removed some compiler warnings 1999-05-03 20:55:12 +00:00
mjudge%netscape.com a9b5f267ff fixing bugs for unnecessary drawing in text fram as well as other assorted selection bugs. 1999-04-28 02:43:02 +00:00
mjudge%netscape.com c5131fd731 fixing skippage of some frames during selection 1999-04-27 22:35:41 +00:00
kipp%netscape.com 53b941b6d5 Removed compiler warnings; dump more info out in List method 1999-04-27 22:13:42 +00:00
mjudge%netscape.com 75dd0e4936 selection changes for new model of content only. frames no longer contain variables referring to selection state outside of 1 bit. keyboard selection will now be disabled until i can get it working in the new selection world order. 1999-04-26 04:02:04 +00:00
kipp%netscape.com a9ee9ef7d7 Fixed word lookahead logic to not look at continuations to avoid duplicate information 1999-04-21 19:59:16 +00:00
kipp%netscape.com 34cd01fff8 Work around windoze compiler lossage 1999-04-20 01:53:28 +00:00
kipp%netscape.com 2b4bc298be Eliminate a bunch of warnings 1999-04-20 00:23:33 +00:00
akkana%netscape.com 77869e8bcd Get rid of selection cursor for Unix now that caret is working 1999-04-15 20:42:53 +00:00
sfraser%netscape.com bbe5a4f210 Removal of nsSelectionRange, nsSelectionPoint, and fixing up resulting include problems. 1999-04-13 01:15:16 +00:00
mjudge%netscape.com 112fbea9e1 indexes returned from prepareunicodestring are mContentOffset based. 3641 3772 Hoffman approved 1999-04-07 22:56:09 +00:00
ftang%netscape.com 2ccd9da21c add one boolean to indicate word break or line break 1999-04-06 22:41:44 +00:00
sfraser%netscape.com 1921990062 Remove caret->Refresh calls. The presshell now refreshes the caret after painting. 1999-04-02 00:01:05 +00:00
sfraser%netscape.com 7b62ec6dcf Fix a problem with tab expansion when filling the offset indices array. 1999-03-31 20:12:42 +00:00
kipp%netscape.com d8d50a289b Support MOZ_PRE_WRAP 1999-03-31 04:12:46 +00:00
akkana%netscape.com 32c69a1f6c Turn on triangle cursor temporarily for Unix, until bug 4202 gets fixed 1999-03-29 22:02:16 +00:00
troy%netscape.com eee182393a Changed ComputeWordFragmentWidth() to handle the case where the content
object's document pointer is NULL
1999-03-29 04:15:07 +00:00
mjudge%netscape.com fa21f8ac67 fixing errors with pre spaced text. prepareunicode string was not filling the index array correctly for thatn 1999-03-27 00:18:32 +00:00
kipp%netscape.com ab5b716944 Work around some first-letter bugs 1999-03-26 00:41:36 +00:00
kipp%netscape.com 64001dcb96 Ask line if we are breakable instead of using our own logic 1999-03-21 01:13:17 +00:00
kipp%netscape.com d36b586168 Removed some debris 1999-03-19 23:07:38 +00:00
kipp%netscape.com 059a2370b1 Fixed bug #3918 with measuring small-caps text; ported to use new line-layout API's 1999-03-18 21:02:40 +00:00
kin%netscape.com 9b8fdd5e24 Fix for bug #3758: Drag selecting entire content, then deleting, causes crash.
Added check for mContentLength <= 0 to TextFrame::GetPointFromOffset().
Reviewed by jfrancis@netscape.com and sfraser@netscape.com.
Approved by chofmann@netscape.com.
1999-03-16 22:55:49 +00:00
kipp%netscape.com 380f97a482 Only set ends-in-newline flag for pre text (bug #3262) 1999-03-16 19:36:49 +00:00
mjudge%netscape.com dabafbc386 needed to get caret to draw at end of line and on an empty text element 1999-03-13 21:33:34 +00:00
mjudge%netscape.com 476cb0e421 fixed GetWidth to "do the right thing" and take smallcaps and spaced words/chars into account. 1999-03-12 21:38:16 +00:00
mjudge%netscape.com 098064a40c fixed memory leaks in nsRangelist.cpp. uninitialized memory in nsTextframe, simplified APIs in nsIFrame and the underlying implementations. see layout.checkins 1999-03-12 00:17:14 +00:00
akkana%netscape.com 02574d59fa Fix purify UMR error -- thanks to braddr & bruce @ puremagic.com 1999-03-10 22:30:23 +00:00
kipp%netscape.com 72e8fa0701 Output rects in twips; eliminated some typo bugs with selection directions 1999-03-05 04:28:40 +00:00
mjudge%netscape.com b2dcf8b115 updates and fixes for CTRL left arrow and right arrow. also fixes for releasing the presshell correctly. the selection code was leaking it. updates for PREV and NEXT in nsFrameTraversal 1999-03-03 01:51:21 +00:00
ftang%netscape.com 1fd137cb32 fix SmallCap to make it work for the whole range of unicode 1999-03-02 18:25:22 +00:00
troy%netscape.com f19915b56d Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy%netscape.com dfdacc8159 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
ftang%netscape.com 7cfb73c4eb change nsTextTransformer to break line by calling nsILineBreak and make nsTextFrame pass the nsILineBreaker to nsTextTransformer 1999-02-24 18:21:23 +00:00
troy%netscape.com a29e93d9d0 Added nsLayoutAtoms::textFrame 1999-02-24 05:33:40 +00:00
kipp%netscape.com e16f16d2e5 Fixed bug #2885 - the linebreaker couldn't handle a special case... 1999-02-24 05:24:06 +00:00
troy%netscape.com 8dfabdf1a8 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
kipp%netscape.com 901a66e436 For now text acts like a replaced element 1999-02-23 19:35:21 +00:00
mjudge%netscape.com f3a99f20af Added, jump to prev word, modified INIT of nsTextTransformer to better prepare for a start offset at the end of the mFrags list. added implementation of extra parameter to nsIFrame::PeekOffset to keep state for the next word problem of eating ws. nsTextFrame should be all set on implementation of jumping words. 1999-02-22 04:59:52 +00:00
mjudge%netscape.com 0d2000e2a7 gettig word jumping to work, adding GetPrevWord to texttransformer 1999-02-22 03:20:59 +00:00
mjudge%netscape.com c61751911a nsPresShell now listens to changes in the domselection. (also modified nsIEnumerator to use NS_IMETHOD instead of virtual nsresult). Added batching for selection changes. you can move the selection, do things then turn off batching for an update if necessary. also prevented circular referencing by adding listener removal to PresShell::endDocumentListening(sp) 1999-02-19 23:47:36 +00:00
mjudge%netscape.com 53c6e919fe fixing some things for selection to allow keyboard navigation. not hooked up to caret yet. also removed some not used calls in nsFrame for the "old" selection model. 1999-02-16 02:42:08 +00:00
kipp%netscape.com 50b4c17f6d Be more careful about returning break-before status 1999-02-13 19:18:45 +00:00
sfraser%netscape.com 1d7f1dd556 Ensure the caret is refreshed after the text frame containing it is redrawn 1999-02-13 04:46:47 +00:00
troy%netscape.com 7b2012fca2 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp%netscape.com 5a554d526e COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
sfraser%netscape.com 6f2ac14f5c #ifdef tbe blue selection triangles in until the caret code is turned on 1999-02-12 00:05:19 +00:00
sfraser%netscape.com 9400d14672 Add two new methods needed for caret support (and other things): GetPointFromOffset, to get frame-relative coordinates of a given content offset, and GetChildFrameContainingOffset, to find the child frame that really contains the given content offset 1999-02-12 00:02:31 +00:00
akkana%netscape.com bf0baf8027 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +00:00
mjudge%netscape.com bca382f43e Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661 1999-02-10 18:55:25 +00:00
troy%netscape.com 5c3d1395f3 Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com c9c1fa187e Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
mjudge%netscape.com 73460c21e4 scoping incorrect for for loops on vc5.0 didnt catch this. nasty habbit of mine. 1999-02-02 01:18:41 +00:00
mjudge%netscape.com a4343fe08c keyboard navigation of selection. adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API. nsRangeList implements the handlekeyevent now. 1999-02-02 00:23:40 +00:00
michaelp%netscape.com 3bfa7f5cd6 modified for new DrawString()/GetWidth() APIs. 1999-01-28 05:03:58 +00:00
mjudge%netscape.com 66943afa64 turning off printf debug statements in debug to speed up resizing 1999-01-26 00:40:39 +00:00
mjudge%netscape.com 037632a8ff changing paintunicodestring and paintasciistring to map from content coordinates to painttext coordinatres. in get position, i am now mapping from paint coordinates to content coordinates. also, the frames themselves now set the focus and anchor for a nsIFocusTracker passed in object. 1999-01-25 23:29:53 +00:00
mjudge%netscape.com 5be154b15b adding same code to paintAscii as i did to paintUnicode 1999-01-25 01:53:40 +00:00
mjudge%netscape.com 11fe403c90 ok I am changing nsPresShell to "do the right thing". The virtual methods to support nsIFocusTracker needed to use the MACROS the same as the rest of the methods. I also moved the growing inline methods to their own method declarations. pres shell also needs to send itself as a focus tracker to "reset selection" to allow a callback to reset the frames that will be the focus and anchor frames for the future. getting frames from content is easy, getting the exact frame with an offset as well is difficult. nsTextFrame does some funny things with whitespaces that was throwing off the selection code. one minute the beginning of a word is offset 1 then it grows to 2 if the whitespace on the previous line wraps. I also put limits on the selection drawing. the drawing was happening after reflow, but before reset selection. this made the selection drawing extend beyond the legal limits of the "textlength". P.S. since the paint unicode and paint ascii are so similar, is it better to make a helper func to do the common things? or maybe make another method just to save namespace? 1999-01-25 01:48:01 +00:00
akkana%netscape.com 320643ab41 2028: Get selection highlighting working on Linux 1999-01-23 00:00:46 +00:00
mjudge%netscape.com 33caf160ac selection rocks ass 1999-01-22 22:04:54 +00:00
mjudge%netscape.com a34ad659b1 chagnes for selection to work 1999-01-22 18:58:14 +00:00
mjudge%netscape.com 1eb0e87525 fiximg text selection for frames in frames 1999-01-19 23:36:06 +00:00
mjudge%netscape.com 6fe445a624 selection should work now more or less 1999-01-19 06:42:39 +00:00
mjudge%netscape.com 8ed649fbb9 Files for selection across frames. 1999-01-18 22:57:12 +00:00
kipp%netscape.com 06d2d8efb3 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
troy%netscape.com 5d8b4656eb Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
troy%netscape.com 59d1bc8ea5 Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
kipp%netscape.com 8fc647b798 Use macros from nsTextFragment 1999-01-05 23:02:27 +00:00
troy%netscape.com e1f9e8b29f Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
kipp%netscape.com 27f0cfe8cc Revised frame Paint API 1998-12-18 15:54:23 +00:00
mjudge%netscape.com 209f6c6d41 adding in selection 1998-12-14 18:34:14 +00:00
kipp%netscape.com 91edbe6b3f I disabled selection rendering until it works again 1998-12-12 03:05:24 +00:00
kipp%netscape.com 36dd2bce12 Only zero out the height/ascent/descent if the empty text is not a pre-formatted piece of empty text, otherwise blank lines in PRE sections disappear 1998-12-10 00:30:52 +00:00
mjudge%netscape.com c549a78e51 chagnes to selection 1998-12-08 18:26:06 +00:00
mjudge%netscape.com bb7e789293 new use of enumerator class changed IsDone to return NS_COMFALSE if not done 1998-12-03 21:44:54 +00:00
troy%netscape.com d97a31f115 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
wtc%netscape.com ccf7f3277f This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
C++ compiler is strict about getting 'const' right.  Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.
1998-12-02 16:45:20 +00:00
michaelp%netscape.com 2dd9022944 fixed memory leak. 1998-11-28 04:24:46 +00:00
kipp%netscape.com 63107e9026 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
joki%netscape.com 7716dc91e8 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
peterl%netscape.com c053568936 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
vidur%netscape.com 4ca363e17b Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables. 1998-11-17 02:14:38 +00:00
kipp%netscape.com 6a5fdb0d24 Basic support for :first-letter pseudo-elements 1998-11-14 21:01:26 +00:00
kipp%netscape.com 8552f6c72f Some support for first-letter style 1998-11-12 16:31:38 +00:00
peterl%netscape.com 805b209384 turned bilnking off when the attribute goes away 1998-11-06 00:50:27 +00:00
kipp%netscape.com fbf61162cc Eliminated hacky version of :first-line support; lay some groundwork for :first-letter support 1998-11-05 19:27:42 +00:00
peterl%netscape.com 776a2683ef sync to style resolution api changes 1998-11-03 20:33:43 +00:00
kipp%netscape.com 2034afb7a2 Removed a private assert 1998-10-31 22:50:38 +00:00
kipp%netscape.com d78d1dba7c Use revised line-layout whitespace compression methods; fixed trim to not trim out compressed whitespace; fixed code to break multi-span words when the first placable frame contains a breakable point 1998-10-31 22:48:21 +00:00
michaelp%netscape.com 10921d7b0b changes to support nsIRenderingContext that conforms to COM conventions. 1998-10-30 02:08:25 +00:00
kipp%netscape.com 95dd1e6fef Use normal font always when rendering text-decorations, not the small-caps font 1998-10-28 02:03:40 +00:00
kipp%netscape.com 178db0aa2c Fixed underlining bug; support justification 1998-10-27 16:52:34 +00:00
peterl%netscape.com 9c1854621c renamed cursor defines 1998-10-26 23:14:17 +00:00
kipp%netscape.com ca36efa0fe Support letter and word spacing 1998-10-26 17:27:53 +00:00
kipp%netscape.com 7e8a83f147 Removed premature optimization of pre vs. non-pre 1998-10-21 20:03:54 +00:00
kipp%netscape.com 2f55474ea9 Implement capitalization trasnform and small-caps font-variant 1998-10-20 16:46:14 +00:00
kipp%netscape.com 8400b0286b Spanked hard to use the nsTextTransformer 1998-10-20 00:21:18 +00:00
kipp%netscape.com b1cf673810 Return break-before when none of the text gets used 1998-10-12 18:44:58 +00:00
kipp%netscape.com 0d2199ae64 Implement look-ahead logic for word breaking 1998-10-10 04:35:21 +00:00
kipp%netscape.com 28f8cdcf94 Removed skid marks; implement FindTextRuns again 1998-10-09 23:46:02 +00:00
troy%netscape.com cc44601bb8 Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
troy%netscape.com 5eae9d2705 Removed nsIInlineReflow and folded it into nsIHTMLReflow 1998-10-03 04:28:05 +00:00
kipp%netscape.com da1bc8412a Fixed to not render trailing whitespace 1998-10-03 00:48:19 +00:00
troy%netscape.com f095846367 Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
michaelp%netscape.com 7b7efc8d89 modified for new fontmetrics/renderingcontext. 1998-10-02 01:12:39 +00:00
troy%netscape.com 8b034f4950 Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
peterl%netscape.com 0bbb333f65 moved attribute change code to style sheete
cleaned up content change api
1998-09-29 23:48:07 +00:00
kipp%netscape.com 4892cd2cf7 Fixed nbsp bug on some win95 systems - it turns out the nbsp wasn't being mapped to space in a few of the compression cases (doh!) 1998-09-29 16:24:32 +00:00
kipp%netscape.com 6ccd415fc4 use line-layout's pres-context as a ref not a pointer 1998-09-23 02:32:17 +00:00
troy%netscape.com b01fe7302c Added CreateContinuingFrame() 1998-09-18 02:47:03 +00:00
peterl%netscape.com f66523e7c7 added decoration rendering code to deal with CSSisms 1998-09-17 00:18:25 +00:00
kipp%netscape.com 46acb2313a Removed css/layout directory 1998-09-15 00:19:49 +00:00
kipp%netscape.com b9e8a43908 Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros 1998-09-12 19:33:48 +00:00
rods%netscape.com b02a251eb8 GetPosition now uses a binary search for locating the cursor poistion. Also, selection now
uses the half width of a character for moving selection to the next character.
1998-09-10 19:18:01 +00:00
kipp%netscape.com 58921403db Removed some cruft 1998-09-09 16:18:40 +00:00
rods%netscape.com 56048c21b0 XPCOM'ed the Selection and Search methods 1998-09-09 16:11:59 +00:00
kipp%netscape.com 1bacf0f89d new 1998-09-08 22:34:40 +00:00