aaronleventhal%moonset.net
cc206bb650
Bug 250006. Clean up GetNextTabbableContent(). Remove tabbable property from DOM interfaces. Clean up spurious focus outline effects. r=bryner, sr=jst
2004-07-24 21:12:43 +00:00
roc+%cs.cmu.edu
312f627f43
Bug 53966. Don't just capture to the nearest view when selecting with mouse; only capture to the nearest scrolling view. r+sr=dbaron
2004-07-20 00:02:43 +00:00
aaronleventhal%moonset.net
910e44a7d5
Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net
692a414811
Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net
be1b821056
Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
2004-07-14 21:58:34 +00:00
roc+%cs.cmu.edu
0f4150a4e5
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
bryner%brianryner.com
97a65f9548
Get rid of nsILanguageAtom and deCOMtaminate nsILanguageAtomService (bug 230603). Also, fix a bunch of atom double-addref leaks in nsFontMetricsXlib. r+sr=dbaron.
2004-06-08 23:53:59 +00:00
roc+%cs.cmu.edu
e671fd534b
Bug 240903. Add image input to the list of elements that can't be dragged. r+sr=roc, patch by Serge Gautherie
2004-06-02 02:25:18 +00:00
smontagu%smontagu.org
82d48e1672
DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc
2004-06-01 06:20:16 +00:00
cbiesinger%web.de
4516d769aa
move nsFrame::XMLQuote to #ifdef DEBUG, like its only caller
...
r+sr=dbaron
2004-05-04 16:27:40 +00:00
jst%mozilla.jstenback.com
77c4322ab2
Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
2004-04-29 23:34:19 +00:00
kyle.yuan%sun.com
da65e3a121
Bug 240665 Can't navigate through some page lines using left or right arrow
...
r=aaronleventhal, sr=henry.jia
Patch by ginn.chen@sun.com
2004-04-26 09:40:21 +00:00
neil%parkwaycc.co.uk
5232fbfb19
Removing unused variable and function b=217089 p=gautheri@noos.fr r/sr=dbaron
2004-04-24 13:30:23 +00:00
tor%cs.brown.edu
868dd94ecb
Bug 240274 - remove unused argument of SetClip{Rect,Region}.
...
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
gerv%gerv.net
708b56cff4
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
bmlk%gmx.de
a3082a360e
table frames that dont wrap their content with scrollframes hide the overflow if NS_STYLE_OVERFLOW_SCROLLBARS_NONE is specified bug 233438 r/sr=dbaron
2004-04-14 06:28:25 +00:00
bryner%brianryner.com
0af1a79c51
More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
2004-04-13 00:28:44 +00:00
dbaron%dbaron.org
fcaa82359f
Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861
2004-04-12 21:53:22 +00:00
bzbarsky%mit.edu
04b19c480d
Change the way regression tests get the framestate to make it possible to mask
...
out irrelevant state bits as needed. Apply this to NS_BLOCK_HAS_LINE_CURSOR.
Bug 237955, r+sr=roc, a=dbaron
2004-04-04 01:48:16 +00:00
bzbarsky%mit.edu
809c099e33
Fix bug 236921. This makes the root node's style context have no parent, makes
...
computed style calculations properly parent the computed context, and fixes a
but with "border-color: inherit" on the root. r=caillon, sr=dbaron, a=asa
2004-03-29 16:00:38 +00:00
dbaron%dbaron.org
41c16857c2
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
2004-03-12 04:40:17 +00:00
bzbarsky%mit.edu
345e15c6ca
Make text-decorations deal with percentage padding. Bug 236175, patch by Hideo
...
Saito <saito@densan.co.jp>, r=bzbarsky, sr=dbaron
2004-03-10 04:43:59 +00:00
roc+%cs.cmu.edu
8397ac8d8f
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
2004-03-10 03:09:05 +00:00
bryner%brianryner.com
ab4ac54b6f
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
2004-03-03 18:24:20 +00:00
bryner%brianryner.com
ed98c9a308
deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
2004-02-27 17:17:37 +00:00
bryner%brianryner.com
225298a99e
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
2004-02-23 21:29:06 +00:00
roc+%cs.cmu.edu
8e85f2ae12
Bug 180931. If we move a frame temporarily during reflow, we'd better invalidate the whole overflow area because invalidates may have been issued at the temporary position.
2004-02-22 03:31:30 +00:00
dbaron%dbaron.org
5b6ae6e571
Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
2004-02-20 21:38:31 +00:00
bryner%brianryner.com
5f7a8b383e
Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
2004-02-20 17:49:01 +00:00
dbaron%dbaron.org
d1078e6485
Replaced elements should not support generated content. b=169334 r+sr=bzbarsky
2004-02-19 18:04:15 +00:00
dbaron%dbaron.org
9e5fb4244d
Get rid of empty damage rect warning; better to check at callee than caller. Add const to fix DEBUG-only warnings about string constants being used as non-const. b=233292 r+sr=roc
2004-02-06 23:11:46 +00:00
roc+%cs.cmu.edu
9348803726
Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron
2004-01-10 05:36:32 +00:00
roc+%cs.cmu.edu
e7f165c614
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
dfe3513814
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
bmlk%gmx.de
167fbf7a95
show reflow targets in reflow logs bug 218961 r/sr=bzbarsky
2003-12-20 12:04:31 +00:00
jst%mozilla.jstenback.com
4183787fa9
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
2003-11-19 01:20:56 +00:00
dbaron%dbaron.org
8856db0238
Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc
2003-11-10 23:36:06 +00:00
peter%propagandism.org
f9f591a28f
Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
2003-11-01 10:57:41 +00:00
uid502
d81619b4fa
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
uid502
d521946094
Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
2003-10-17 02:38:37 +00:00
uid502
7eecd9a0ef
Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron
2003-10-11 12:00:05 +00:00
jst%mozilla.jstenback.com
5037b2a4a2
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
dbaron%dbaron.org
03e89d6c99
My review comments on roc's deCOMtamination patch. b=190735 r+sr=roc
2003-09-20 21:31:18 +00:00
bmlk%gmx.de
d7b849ce30
overflow area implementation for table frames (infrastructure), bug 173277 r=jkeiser sr=dbaron
2003-09-13 16:21:41 +00:00
caillon%returnzero.com
a9e2dece76
Bug 38370.
...
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu
e2e733b5de
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
brade%netscape.com
e6dbb06ce4
patch from mjudge to maintainselection; r/sr=dbaron, bug=56401
2003-07-21 19:51:34 +00:00
dbaron%dbaron.org
6160d90fcc
Clean up GetView and SetView. b=208190 r+sr=roc
2003-07-12 00:50:00 +00:00
smontagu%netscape.com
6c32acf737
Bug 210110: selection at end of line spans multiple lines in embedded test editor. r+sr=bzbarsky
2003-07-11 23:34:42 +00:00
dbaron%dbaron.org
d85698fd40
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
2003-07-11 21:16:12 +00:00
roc+%cs.cmu.edu
48518cc978
ongoing deCOMtamination work. Also fixes a space leak in bidi-related code. r+sr=dbaron
2003-06-28 11:48:14 +00:00
roc+%cs.cmu.edu
3d6b2b44f3
ongoing deCOMtamination work. r+sr=dbaron
2003-06-27 18:13:48 +00:00
roc+%cs.cmu.edu
33e4a9a297
Fix nsIFrame::GetWindow to not add a ref. Should fix a leak I introduced. r+sr=dbaron
2003-06-25 22:55:27 +00:00
bsmedberg%covad.net
1a9cab373f
Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
2003-06-23 20:31:43 +00:00
roc+%cs.cmu.edu
6909e303db
Bustage fix; add a virtual GetAncestorWithViewExternal which can be called outside gklayout
2003-06-21 18:57:14 +00:00
roc+%cs.cmu.edu
a81f254443
Bug 190735. DeCOMtaminating nsIFrame and removing aPresContext parameters, in particular, the methods GetParent, GetContent, GetRect, GetOrigin, GetSize, SetRect, MoveTo, SizeTo, GetNextSibling, GetFrameState, SetFrameState, GetView, GetViewExternal, SetView, GetClosestView, GetParentWithView, AreAncestorViewsVisible, and GetWindow. For now we have compatibility wrappers, but soon we'll go through and change all the clients to use the new functions. r+sr=dbaron
2003-06-21 17:06:05 +00:00
dbaron%dbaron.org
4afcaa0e69
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
bryner%netscape.com
29a5d1102b
Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc.
2003-06-18 22:58:51 +00:00
kaie%netscape.com
503cd2ab9b
b=202046 Empty (inline) elements cause caret movement to fail
...
r=smontagu sr=kin/brendan
2003-06-17 23:41:21 +00:00
dbaron%dbaron.org
74c2fa7ad8
Slight correction to previous patch. b=209359
2003-06-15 01:24:03 +00:00
dbaron%dbaron.org
78e42e3723
Fix wrong parent style context warnings (and incorrect reresolution) with HRs or other leaf frames with :before or :after generated content. Move some code back together that was separated. Also fix case of float whose placeholder is the child of a block within an inline. b=209359 r+sr=bzbarsky
2003-06-15 00:55:00 +00:00
caillon%returnzero.com
2df173e9c8
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
dbaron%dbaron.org
1bc80bcc0c
Remove nsIFrame::ContentStateChanged. b=207822 r+sr=roc
2003-06-01 20:18:53 +00:00
bmlk%gmx.de
838f8ce8ad
infrastructure to recover overflow area during incremental reflow, bug 197581, r=kin sr=dbaron
2003-05-31 10:32:19 +00:00
dbaron%dbaron.org
75ff60c62f
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
aaronl%netscape.com
83deafd111
Bug 193802. Implement xp accessibility cache. r=kyle, sr=alecf
2003-04-15 08:45:55 +00:00
kin%netscape.com
85540751cd
Fix for bug 42046: One click select and drag for images, hrs, and -moz-user-select:all
...
subtrees
mozilla/layout/html/base/src/nsFrame.cpp
- Added utility method ContentContainsPoint()
- Modified HandlePress() to allow selection of images, hrs and
-moz-user-select:all subtrees, and then disable selection
processing of drag events.
mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
- Modified InsertFromDrop() so that it prevents a drop from
happening in a -moz-user-select:all subtree. (Temporary
workaround to avoid bug 195957 and bug 195959)
r=mjudge@netscape.com sr=sfraser@netscape.com
2003-04-07 14:28:51 +00:00
bmlk%gmx.de
b07e6600bf
display overflow information in debug reflow bug 200881 r/sr=bzbarsky
2003-04-06 08:36:19 +00:00
seawood%netscape.com
80e1b303cc
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
aaronl%netscape.com
8457bb1d7e
Bug 199060. Move most accessibility code out of widget. Merge MSAA-specific and XP accessibility object hierarchies into one tree of objects. Paves way for XP accessibility caching, more stability, and it's just better. r=kyle, sr=alecf
2003-04-01 20:02:51 +00:00
dbaron%dbaron.org
48fefb44a8
Prevent display-reflow debugging code from cluttering up the leak stats by freeing objects on module shutdown. b=198676 r=bernd sr=bzbarsky
2003-03-22 15:09:17 +00:00
roc+%cs.cmu.edu
67a197918a
Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky
2003-02-23 02:49:22 +00:00
dbaron%dbaron.org
6dd68f3c64
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bryner%netscape.com
e43f5a49fd
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu
0757c0a5b1
Make sure all caller have to pass in the "ignore 'print backgrounds'
...
preference" boolean. Make block/inline _not_ ignore that pref. Bug 191574,
r+sr=dbaron, a=asa
2003-02-01 23:54:32 +00:00
dbaron%dbaron.org
5302be6eba
Change |DEBUG_dbaron| to |DEBUG_dbaron_off| for stuff that I don't want to see anymore.
2003-01-16 19:21:23 +00:00
bzbarsky%mit.edu
3b069db273
Move GetFirstInFlow/GetLastInFlow up to nsIFrame. Bug 187117, r=roc+moz, sr=dbaron
2003-01-16 02:59:04 +00:00
aaronl%netscape.com
b384a46582
Bug 98546. Fix word break detection to improve select by word where there is punctuation in the word. Also fixes 125172, double clicking in URL bar should select only part of URL. Also fixes bug 133312, word selection with accented letters. r=brade, sr=sfraser
2003-01-09 20:56:53 +00:00
dbaron%dbaron.org
57124d8115
Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
2003-01-09 14:26:32 +00:00
bryner%netscape.com
122b7542a9
Make GetStyleDataExternal |const| to fix build bustage.
2003-01-09 08:07:27 +00:00
bryner%netscape.com
7f0488eb18
Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
2003-01-09 06:49:07 +00:00
dbaron%dbaron.org
14c5b6b776
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 21:19:10 +00:00
dbaron%fas.harvard.edu
28018a8db9
Reduce code size by using PaintSelf member function to paint background, border, and outline. b=184702 r+sr=roc
2002-12-23 22:05:47 +00:00
roc+%cs.cmu.edu
33ca73d3d7
Backing out fix for bug 170330... againr=dbaron
2002-12-22 05:40:51 +00:00
jfrancis%netscape.com
67761ee6a7
fix for 180034: selection should respect the select_all style. code=mjudge, r=jfrancis, sr=kin
2002-12-22 01:45:15 +00:00
roc+%cs.cmu.edu
a5a3f217d1
Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron
2002-12-21 23:25:38 +00:00
caillon%returnzero.com
0dffa137af
Re-landing these because I don't believe this are responsible for the Txul spike.
...
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-11 14:05:41 +00:00
caillon%returnzero.com
22b558c150
Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
2002-12-11 05:11:02 +00:00
dbaron%fas.harvard.edu
6888a38568
Oops. Make this assertion that snuck in (for bug 81268) |#ifdef DEBUG_dbaron| for now, since it fires sometimes.
2002-12-11 03:35:21 +00:00
dbaron%fas.harvard.edu
45e056f997
Fix incorrect check of position property in IsPercentageBase. b=180845 r=roc sr=bzbarsky
2002-12-11 02:29:35 +00:00
caillon%returnzero.com
71f8783cae
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
...
r/sr=roc+moz
2002-12-10 23:41:12 +00:00
roc+%cs.cmu.edu
eecdcab3d7
Backing out fix for bug 170330 due to Tp regression
2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu
d399b683e9
Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin
2002-12-05 22:29:08 +00:00
karnaze%netscape.com
0f0042a430
bug 127286 (part II due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov
2002-12-04 00:58:52 +00:00
sicking%bigfoot.com
8d87d5e285
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
seawood%netscape.com
4cec241542
Fix image dragging corruption on BeOS and remove redundant code.
...
Thanks to Stuart Parmenter <pavlov@netscape.com> for the patch.
Bug #178614 r=cls sr=bzbarsky
2002-11-06 21:14:59 +00:00
seawood%netscape.com
e18a7c254c
mach-o builds define both XP_UNIX *and* XP_MACOSX so we need to add a !XP_MACOSX to the XP_UNIX ifdef to avoid repeating a chunk of code twice and crashing.
...
Bug #173695 r=pavlov sr=alecf a=tor
2002-10-11 22:31:43 +00:00
dcone%netscape.com
669c76e5cd
b=143046 r=rods sr=boris API change so we can create different depth nsImages
2002-10-04 03:32:26 +00:00
dbaron%fas.harvard.edu
12c92754b3
Properly ignore the 'float' property for generated content. Rename NS_STYLE_POSITION_NORMAL to NS_STYLE_POSITION_STATIC. Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky b=93227
2002-09-30 14:46:56 +00:00
bzbarsky%mit.edu
150664b8b7
Fix some inline-block style-resolution issues. Bug 146409, r=kin, r=dbaron
2002-09-12 20:33:11 +00:00
mjudge%netscape.com
424de9b081
small fix 14835 sr=jag r=pav very small chance of a memory leak in nsFrame
2002-09-12 10:35:46 +00:00
mjudge%netscape.com
eb9b1f27a0
14835 r=pavlov saari, fixing bustage of image selection on mac/unix regression
2002-09-12 06:16:51 +00:00
mjudge%netscape.com
b9ec2bad51
missed a ';' on a ifdef mac section. fixing build bustage
2002-09-11 03:41:46 +00:00
mjudge%netscape.com
425dbd86db
14835 r=pavlov sr=sfraser alpha blending on images to denote selection.
2002-09-11 03:03:49 +00:00
mjudge%netscape.com
6a091661e4
23784 r=akk sr=dbaron fix for stopping immediate drag after double clicking of the mouse
2002-08-30 01:32:11 +00:00
mjudge%netscape.com
a07cba5734
4302 r=jfrancis sr=kin. pageup/down bug with navigation.
2002-08-26 20:55:30 +00:00
roc+%cs.cmu.edu
cb32a0f906
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
2002-08-24 14:41:28 +00:00
mjudge%netscape.com
4f5986ffdc
163631 fixing regression caused by last checkin. just undoing to what was there allready. no need to check height on frames. this messed up table row group frames.
2002-08-20 22:42:26 +00:00
mjudge%netscape.com
8c2c53f116
163483 backing out poor change that didnt take into account the translation of coordinates by the container frame. this is just a backout.
2002-08-20 22:08:44 +00:00
mjudge%netscape.com
d8a501e4c9
159207. HR is now selectable and navigatable. r=cmanske sr=kin
2002-08-06 23:56:50 +00:00
jkeiser%netscape.com
78b069a372
Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
...
@netscape.com, sr=bzbarsky@mit.edu , a=asa
2002-07-26 20:57:24 +00:00
seawood%netscape.com
03ace271f0
Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
...
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu
e63a11c0e8
Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
2002-06-25 21:16:17 +00:00
cmanske%netscape.com
73802b9d82
Fixed retaining text attributes when using 'end' key. b=113613, fix=mjudge, r=blythe, sr=kin
2002-06-21 14:22:30 +00:00
karnaze%netscape.com
1faf4c0592
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
shanjian%netscape.com
7f5900aa67
#142562 problem with <td align=right or align=center
...
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
2002-05-24 20:11:14 +00:00
jst%netscape.com
1075a3f80d
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
2002-05-23 00:00:34 +00:00
waterson%netscape.com
e3554c37cc
Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
2002-05-10 18:22:41 +00:00
mjudge%netscape.com
09110a5680
bs7868. bug driving me crazy i keep putting it into trunk but i keep failing. this patch was in 9.9 and 9.8 will go into branch soonest
2002-04-16 23:02:11 +00:00
timeless%mac.com
7e64ad7b3d
disable-bidi bustage, bug 82151
...
r=biesi
2002-04-16 14:49:29 +00:00
mjudge%netscape.com
cbca07291c
82151 r=jfrancis sr = kin
2002-04-16 02:42:09 +00:00
karnaze%netscape.com
253add7dbb
bug 125543 - Prevent row groups from splitting in the reflow preceeding a special height reflow. Cells are only notified that they should observe a percent height element if the element is inside the table's cell. Percent height elements inside the body will have a height based on the page height when printing. sr=kin, r=alexsavulov.
2002-04-10 21:32:41 +00:00
heikki%netscape.com
ba1bf1d780
Bug 86583, make drag and drop work for images, image map links and XLinks. r=pink, sr=jst, a=asa.
2002-04-01 04:27:50 +00:00
dbaron%fas.harvard.edu
8e8fb14ea0
Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa
2002-03-27 02:38:13 +00:00
cmanske%netscape.com
426077e8ff
Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa
2002-03-22 15:25:08 +00:00
karnaze%netscape.com
303ce25eb2
bug 92868 - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places. a=roc, sr=attinasi, r=dbaron.
2002-03-12 15:21:35 +00:00
shaver%mozilla.org
146f2a192d
reversion of patch for 92868, to repair severe regression (129827, a=drivers
2002-03-10 06:16:01 +00:00
karnaze%netscape.com
789e7e3040
bug 92868 (also bugs 51037, 90960, 91443) - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places, sr=roc, r= bernd, a=asa.
2002-03-08 15:34:33 +00:00
kin%netscape.com
bbfc68659e
Fix for bug 127211 (Events don't get to an IFRAME unless it is scrolled to the top of its parent)
...
Modified GetOriginToViewOffset() so that it stops traversing view's parent hierarchy if it runs across a frame with a different ViewManager.
r=kmcclusk@netscape.com sr=roc+moz@cs.cmu.edu a=asa@mozilla.org
2002-02-28 22:34:47 +00:00
kin%netscape.com
2e601306d7
Fix for bug 124485 (Long lists of folders/bookmarks after up/down arrow not reachable)
...
Modified GetOriginToViewOffset() so that it returns an offset of (0,0) when the
contained view returned by GetView() is not a descendant of the frame's parent
view, as is the case with scrolling popup menus.
r=kmcclusk@netscape.com sr=roc+moz@cs.cmu.edu a=roc+moz@cs.cmu.edu
2002-02-21 03:03:31 +00:00
joki%netscape.com
8bc4a2199b
Fix for bug 56240, reset selection and mouse capture states when mousedown/mouseup sequence processes abnormally. r:saari, sr:js
2002-02-20 07:23:35 +00:00
karnaze%netscape.com
679c575202
bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
2002-02-19 15:48:28 +00:00
mjudge%netscape.com
b9ae5a3078
check for null to not crash is good. 115350 thanks to Shataro
2002-02-13 21:40:46 +00:00
timeless%mac.com
92bbd3b2c2
Bug 124744 remove nsIPtr
...
r=bryner sr=alecf
2002-02-12 04:12:50 +00:00
kin%netscape.com
d38cee3cd4
Fix for bug 83650 (textarea control has problems with caret positioning at end)
...
and bug 97207 (textarea pastes sometimes misplaced by failing to reposition).
- Added new utility method GetOriginToViewOffset().
- Modified nsPresShell::HandleEvent(), nsBoxFrame::GetFrameForPoint(),
and nsContainerFrame::GetFrameForPointUsing() to factor in the
offset from GetOriginToViewOffset() to insure that the point
used is always transformed into the correct coordinate system.
Files modified:
mozilla/layout/base/public/nsIFrame.h
mozilla/layout/html/base/src/nsContainerFrame.cpp
mozilla/layout/html/base/src/nsFrame.cpp
mozilla/layout/html/base/src/nsFrame.h
mozilla/layout/html/base/src/nsPresShell.cpp
mozilla/layout/xul/base/src/nsBoxFrame.cpp
r=kmcclusk@netscape.com sr=sfraser@netscape.com
2002-02-07 22:39:15 +00:00
pinkerton%netscape.com
52262d2123
ifdef-fu for mach-o. rs=hyatt
2002-02-06 15:42:06 +00:00
cathleen%netscape.com
8605704b12
eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
2002-01-30 02:55:57 +00:00
bernd.mielke%snafu.de
820ff3a1cf
completing the backout of my checkin for bug 110596
2002-01-09 19:28:12 +00:00
bernd.mielke%snafu.de
9eaa65079e
bug 118794 remove pxiel frame error r=mkaply sr=attinasi
...
bug 110596 adding form frames to debug reflow - part2 r=karnaze sr=attinasi
2002-01-09 15:27:41 +00:00
ftang%netscape.com
5e3c84b859
fix bug 116976 for big endian machine. change the ill GetBidiProperty implementation to make it work under big endian machinese. Should fix the API later. r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2002-01-08 00:51:39 +00:00
dbaron%fas.harvard.edu
c9c0a97163
Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
2002-01-07 23:46:07 +00:00
bernd.mielke%snafu.de
3a3013c1fe
bug 116577 avoid debug reflow access to Element(-1) r=jesup sr=attinasi
2002-01-03 09:00:40 +00:00
rjesup%wgate.com
2e680f1b17
Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
...
assertions for bad voidarray indexes. r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
mjudge%netscape.com
3a7ddd351a
smoketest fix 115791
2001-12-18 21:05:55 +00:00
mjudge%netscape.com
2ecc969e5b
bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not
2001-12-18 01:29:49 +00:00
waterson%netscape.com
2c5c5fcc04
Bug 115113, redux. Fix some whitespace botches.
2001-12-17 22:54:28 +00:00
waterson%netscape.com
854831c91c
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
2001-12-17 22:39:59 +00:00
jaggernaut%netscape.com
97b0530073
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
2001-12-16 11:58:03 +00:00
karnaze%netscape.com
748ebbcd0d
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
2001-12-07 14:51:12 +00:00
bernd.mielke%snafu.de
7aaa87cddb
add hr frame to layout debugging logic, bug 110596 r=karnaze sr=attinasi
2001-12-07 10:02:31 +00:00
karnaze%netscape.com
5b097ca46e
bug 103925 (3rd patch) - display changes in reflow parameters. sr=attinasi.
2001-11-27 01:45:46 +00:00
smontagu%netscape.com
4a54e891e9
Fix crash when scrolling absolute positioned textarea by adding test to return value from |GetLine|. Bug 105004, r=rbs, sr=kin
2001-11-16 03:08:30 +00:00
karnaze%netscape.com
436e1ac49e
bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
f2ee8260a0
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
attinasi%netscape.com
a7932b3a81
Oops - check for empty damageRect in nsFrame::Invalidate should be DEBUG only. b=103266 r=rbs sr=hyatt
2001-11-06 02:44:35 +00:00
attinasi%netscape.com
94f3ab9a20
Elimiate calls to nsFrame::Invalidate when the dirtyRect is empty. Also, removed some invalid code from nsFrame::Invalidate and added DEBUG check to catch later offenders. b=103266 r=rbs sr=hyatt
2001-11-06 01:44:20 +00:00
karnaze%netscape.com
3ca7ced0f8
fix crash in display reflow debugging.
2001-11-01 15:53:57 +00:00
karnaze%netscape.com
bbd9ace80f
bug 107403 - shannond's patch to cast debug code before deleting to satisfy HP-UX. r=karnaze
2001-10-31 14:45:12 +00:00
karnaze%netscape.com
e38dff73f8
bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
2001-10-29 01:43:59 +00:00
dbaron%fas.harvard.edu
157c017816
Bug 86947:
...
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow). Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed. Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs sr=waterson
2001-10-25 01:08:40 +00:00
hyatt%netscape.com
0c8c1348b3
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
2001-10-24 00:01:09 +00:00
dougt%netscape.com
b5ba390898
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527
2001-10-23 01:37:21 +00:00
dbaron%fas.harvard.edu
5a357eea01
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
ed869c764e
Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
2001-10-16 03:53:44 +00:00
bernd.mielke%snafu.de
faafbd0e04
bug 103443 replace the return rv?rv:NS_ERROR_FAILURE; with a more correct version
...
r=dbaron sr=attinasi
2001-10-13 09:27:46 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
karnaze%netscape.com
e908dd0313
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
2001-09-19 12:35:19 +00:00
harishd%netscape.com
c5efdc8321
98261 - reconcile the difference between the ContentSink's notion of depth and Layout's notion of depth. r=heikki, sr=attinasi.
2001-09-14 20:44:41 +00:00
dbaron%fas.harvard.edu
b6e47f6467
Make middle-click pasting put things in the right place by uncommenting code that ensures Y coordinate is more important than X coordinate and by making sure the code does the right thing in case of overlap. b=57913 r=bryner sr=kin a=chofmann
2001-08-26 18:33:57 +00:00
hyatt%netscape.com
62d3de24fd
Fix for 95475. r=jag, sr=ben, a=dbaron
2001-08-25 02:01:08 +00:00
bryner%netscape.com
c1b48b4601
Bug 66617 - if tabbing scrolls page, focus outline doesn't leave first link (second try). r=saari, sr=hyatt.
2001-08-18 07:25:52 +00:00
bryner%netscape.com
422834eff1
Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
2001-08-17 08:14:14 +00:00
jgaunt%netscape.com
9f2f88aa48
fix for bug 94768
...
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
bryner%netscape.com
f108fef5b4
Bug 66617 - When tabbing between links on a page, the focus outline on the
...
previously focused link would not be redrawn if the tab caused the page to
scroll. r=valeski, saari, sr=hyatt.
2001-08-10 23:50:05 +00:00
pavlov%netscape.com
1e20984ef0
fixing bug 78690. removing old imagelib. r=jst sr=waterson
2001-08-09 20:22:39 +00:00
waterson%netscape.com
ecbcce00ce
Bug 92190. Add anonymous children to nsIContent::List() output, add gdb-callable routines for listing frame and content trees. r=hyatt, sr=jst
2001-08-03 07:34:28 +00:00
waterson%netscape.com
4cc8c3da8d
Bug 79486. Make sure that |MoveChildrenTo()| correctly updates the NS_FRAME_HAS_CHILD_WITH_VIEW flag when moving child frames into the new {ib} split frames. r=dbaron, sr=attinasi.
2001-08-01 04:37:17 +00:00
jaggernaut%netscape.com
e91f8a147e
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2001-07-25 07:54:28 +00:00
mjudge%netscape.com
9d539a0e0f
82993, 87662 fixes for caret going into generated content. adjusting the content snapping to the best X value not Y value for up/down clicking. This will not cause a problem with the different size text but it MAY cause a problem with inline positioned elements.
2001-07-19 23:32:07 +00:00
attinasi%netscape.com
2f718a0c5f
Misplaced #endif - fixed for opt builds
2001-07-17 22:02:11 +00:00
attinasi%netscape.com
91593a2f9f
Checkin for alexsavulov@netscape.com: b=80396 r=rbs sr=attinasi new debug method added to dump frames
2001-07-17 21:30:17 +00:00
mjudge%netscape.com
0eb68dfeb6
PDT+ 88164 backing out of bad bug for keyboard navigation.
2001-07-05 19:11:32 +00:00
anthonyd%netscape.com
673904e412
fix for 82151 -- Right arrow key at end of a TEXTAREA goes to the beginning
...
checking in for mjudge
r=cmanske, anthonyd
sr=kin
a=asa
2001-06-26 20:47:46 +00:00
anthonyd%netscape.com
46c896a943
backing out changes
...
a=asa@mozilla.org
2001-06-26 19:35:21 +00:00
anthonyd%netscape.com
27f8fd72a2
fix for 82151 - checking in mjudges patch for right arrow key fix for textarea
...
r=cmanske@netscape.com , anthonyd@netscape.com
sr=kin@netscape.com
a=asa@mozilla.org
2001-06-26 18:01:10 +00:00
mjudge%netscape.com
fffedf28a1
86749 fix for "home key" scenario. we now search for 1st valid frame on a line. not just try the very first and fail. we now behave like "end key" does;. r=anthonyd sr=kin a=asa
2001-06-22 14:52:48 +00:00
ftang%netscape.com
3e782eb254
fix bug 84031. r=simon@softel.co.il sr=kin a=blizzard
...
fix GetBidiProperty
2001-06-21 12:35:48 +00:00
kin%netscape.com
a9a12e6690
Fix for bug #86492 Double click does not bring up object props dialog.
...
- Fixed 'if' statement in nsFrame::GetContentAndOffsetsFromPoint()
so that it checks contentOffset instead of the uninitialized aContentOffset.
r=jfrancis@netscape.com sr=attinasi@netscape.com a=blizzard@mozilla.org
2001-06-21 06:35:37 +00:00
mjudge%netscape.com
49536b7650
used false instead of PR_FALSE.
2001-06-20 06:40:48 +00:00
mjudge%netscape.com
3dadb0fce8
have to check for bidi on frame before executing bidi code. bug=39198 sr= kin, r=sfrasier a= asa
2001-06-20 04:40:17 +00:00
hyatt%netscape.com
b135c5b55a
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
mjudge%netscape.com
af97e71209
80937, null check for out of bounds on arrowing. r=cmanske sr=kin a=asa
2001-05-25 20:27:41 +00:00
roc+%cs.cmu.edu
8865fc53de
Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard
2001-05-25 15:00:51 +00:00
ftang%netscape.com
a7c5759a22
fix 81957. return error code when error happen when we do not get a good frame result to stop a selection crash
...
in a page which have bidi/table/image
proposed by yokoyama r=ftang/mjudge/attinasi sr=kin a=blizzard
2001-05-24 01:10:19 +00:00
evaughan%netscape.com
d9378cb8f0
Fix for bug #80902
...
-r jeff@tcbnetworks.com -sr waterson
Fix for bug #80505
-r aaronl, jgaunt -sr brendan
2001-05-17 23:52:32 +00:00
ftang%netscape.com
5938ccae19
fix bug 80552 r=ftang r/sr=jst
...
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable
2001-05-16 13:40:08 +00:00
evaughan%netscape.com
94198ed5d8
Landing accessibility
...
-r aarol, jgaunt
-sr brendan
2001-05-11 21:11:38 +00:00
mjudge%netscape.com
9cb20c1f7d
reverting method for getting selection controller. this WAS to stop selection from snapping from outer document to inside the text field. unfortunately this caused a regression with copying. r= kin a= leaf
2001-05-11 18:51:43 +00:00
mjudge%netscape.com
62aec426fa
62971 sr= hyatt r=kin/waterson fix for changing how we find the line given an event point
...
this will now do a binary search muuuch faster worst case than before
2001-05-11 08:04:29 +00:00
pierre%netscape.com
5d218e63a6
30971 cursor: auto does not work. r=attinasi
2001-05-02 11:03:03 +00:00
hyatt%netscape.com
8130400b54
Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov
2001-04-25 19:52:49 +00:00
roc+%cs.cmu.edu
a7e55667d2
Add API to view manager to get/set default background color (used when refresh disabled and possibly useful for other things). Have Docshell preserve background color across page loads. Make root frames set background color. Fix for bug 75591. r=waterson,sr=attinasi,a=blizzard
2001-04-24 01:01:16 +00:00
evaughan%netscape.com
679472c15d
Accessibility work. bug #12952
...
-r aaronl -sr brendan
2001-04-17 23:06:38 +00:00
mjudge%netscape.com
cf4580dd4d
53151 68396 sr=kin r= kin. removing some ifdefs of dead ender-lite code and fixing a mail news lockup in text traversal
2001-04-12 23:38:32 +00:00
evaughan%netscape.com
dd702eea33
XP part of accessibility landing
...
-r vidur, rods -sr hyatt
2001-04-01 01:01:33 +00:00
kmcclusk%netscape.com
572c81e29b
Use frame bit to indicate if frame has a decendant with a view and use this to optimize nsContainerFrame::PositionChildViews; bug 70211; sr=attinasi@netscape.com r=karnaze@netscape.com
2001-03-30 05:25:49 +00:00
karnaze%netscape.com
563d0a66cb
bug 71810 - don't have inline virtual methods. r=karnaze.
2001-03-13 15:21:42 +00:00
karnaze%netscape.com
a81a269978
table reflow coalescing, table reflow face lift. sr=attinasi
2001-03-13 06:38:59 +00:00
erik%netscape.com
06d55ad850
bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
...
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)
2001-03-09 03:29:00 +00:00
rods%netscape.com
1c8f290f5d
Don't paint blocks that shouldn't be painted when printing
...
Bug 67296 r=kmcclusk sr=attinasi
2001-03-08 02:46:44 +00:00
pierre%netscape.com
9af01acf22
Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
2001-02-07 09:57:26 +00:00
anthonyd%netscape.com
9ac401dd8b
fix for bug #55921 - Clicking to the right of a link doesn't clear selection
...
sr/r=joki, sfraser
2001-02-03 07:07:15 +00:00
dbaron%fas.harvard.edu
6a1cef6f9a
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
2001-01-27 23:06:33 +00:00
rods%netscape.com
99666eed8c
This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
...
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
mcafee%netscape.com
7ecf530933
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
2001-01-25 02:58:12 +00:00
pierre%netscape.com
62bf433a35
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
2001-01-20 22:46:54 +00:00
rods%netscape.com
edb0c6270c
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu
caa9658024
Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
2000-12-30 19:22:22 +00:00
anthonyd%netscape.com
c9a063d452
fix for bug#59577 - hang during keyboard navigation
...
r=kin
sr=buster
2000-12-27 00:22:25 +00:00
cmanske%netscape.com
f731cf305a
Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser
2000-12-20 22:13:54 +00:00
leaf%mozilla.org
c7984c2caa
backing out regression-causing changes to reopen tree
2000-12-20 18:09:53 +00:00
cmanske%netscape.com
7d50f5c55f
Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage)
2000-12-20 03:25:30 +00:00
cmanske%netscape.com
5804015250
Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage)
2000-12-20 03:23:32 +00:00
cmanske%netscape.com
d5dcb3691d
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
2000-12-20 01:36:55 +00:00
dbaron%fas.harvard.edu
2b2160f1b0
Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
2000-12-09 04:21:51 +00:00
attinasi%netscape.com
d97aa7f2cb
Changes to put style data into the layout regression data output. r=karnaze, a=waterson
2000-12-07 15:31:40 +00:00
alecf%netscape.com
4a03b2456f
remove typo to fix bustage
2000-11-09 00:40:39 +00:00
blakeross%telocity.com
8c6d09b89b
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
2000-11-09 00:06:54 +00:00
warren%netscape.com
cd56c0575b
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
rickg%netscape.com
2d7911145f
WIP for bug 55095; sr=buster, r=attinasi, sfraser
2000-10-11 23:40:42 +00:00
kin%netscape.com
2127db55fe
Fix for bug #53326 (can't select paragraph headers)
...
Modified HandlePress() to check for presence of
href value for anchors before bailing early.
This fix is already checked into the Netscape_20000922_BRANCH.
r=pinkerton@netscape.com sr,a=buster@netscape.com
2000-10-04 13:38:17 +00:00
mjudge%netscape.com
56c4834a21
fixing 34356. hack to get clickng before table working beta3+
2000-09-15 07:02:05 +00:00
mjudge%netscape.com
e2be918716
small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
2000-09-14 11:45:01 +00:00
mjudge%netscape.com
77fce2df49
hoarkage fix. need a.get on pointer compare on unix for comptrs
2000-09-14 09:42:18 +00:00
pinkerton%netscape.com
3a03377767
before starting a selection, make sure we aren't in a link because we don't want to usurp the DnD code. r=mjudge, bug# 52541.
2000-09-14 08:47:46 +00:00
attinasi%netscape.com
1fd5ba1fd2
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
2000-09-12 22:47:09 +00:00
jst%netscape.com
7aa7ed7f6d
Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com
2000-09-01 07:05:08 +00:00
pinkerton%netscape.com
fc367b8a1a
making CaptureMouse a public interface on nsIFrame r=mjudge for bug 48250.
2000-08-14 22:28:41 +00:00
pierre%netscape.com
5b88097f54
48096: Need a -moz-all value for user-select. r=sfraser.
2000-08-12 01:00:14 +00:00
mjudge%netscape.com
65269995e3
29570 37393 42794 mac os fix for selecting out of frame bounds.
2000-08-09 22:33:03 +00:00
sfraser%netscape.com
72205420ff
Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge.
2000-08-08 23:48:42 +00:00
saari%netscape.com
4c09a29ac5
massive landing of joki changes.
...
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:31:05 +00:00
pierre%netscape.com
5e553bbece
42864 ('user-select:none' should make children non-selectable)
2000-08-05 04:41:33 +00:00
cmanske%netscape.com
ca24e6aca4
Fixed crashing bug 42195: Added method to nsIFrameSelection so frame can get limiting content node for parent node searches in text edit fields. r=mjudge
2000-08-02 01:47:55 +00:00
waterson%netscape.com
4896ee6d33
Bug 46693. Check to see if we CanContinueTextRun() while walking over the frames to FindNextText(). This revives the logic that I nuked when fixing 19051, and keeps you from trying to walk over <br> or other frames to erroneously continue a text run. r=akkana.
2000-07-28 22:29:28 +00:00
waterson%netscape.com
9bd4266798
Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu
2000-07-27 05:16:08 +00:00
mjudge%netscape.com
7317580268
46209 one of the last beta 2 blockers. adding ability to frames to tell if part of them is visible. idl change to allow nsISelectionController to give CheckVisibility. PresShell actually has the code for nsGfxTextControlFrame to call.
2000-07-26 11:31:12 +00:00
nisheeth%netscape.com
9b09a0b6c1
Fix for nsbeta2+ bug 43472. r=rpotts. We no longer crash on exit on Full Circle enabled builds.
2000-07-23 06:51:39 +00:00
akkana%netscape.com
481b7a5c02
38232 (nsbeta2+): Make line break character configurable in the
...
output system, and use \n (the DOM linebreak character) when getting
output from text controls. Also fix some warnings. r=kin.
2000-07-10 19:46:59 +00:00
anthonyd%netscape.com
b752b18c25
bug fix for #40742
...
crasher in DrillDownToEndOfLine()
r:mjudge a:beppe precheckin test done
2000-06-22 00:41:42 +00:00
anthonyd%netscape.com
2ba178903c
warning fixes for linux. r: mjudge a: beppe
2000-06-16 22:28:10 +00:00
kin%netscape.com
1739a10bbd
Part2 of fix for bug #39821 : Drag and Drop interferes with selection
...
Made GetSelectionController() a public method on the nsIFrame interface,
so that nsEventStateManager::GenerateDragGesture() has access to it. This
prevents D&D from interfering with selection in Ender-Lite.
layout/base/public/nsIFrame.h
layout/events/src/nsEventStateManager.cpp
layout/html/base/src/nsFrame.h
layout/html/base/src/nsFrame.cpp
r=buster@netscape.com ,brade@netscape.com,cmanske@netscape.com a=beppe@netscape.com
2000-05-31 03:20:02 +00:00
cmanske%netscape.com
c28f13972f
Added row/column selection in tables: Bug 26833. r=kin, a=beppe
2000-05-31 00:07:58 +00:00
evaughan%netscape.com
55816643f1
fix for [beta2] bugs:
...
37835
39085
32920
-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
kin%netscape.com
108b7677fd
Part 1 of fix for bug #39821 : Drag and Drop interferes with selection.
...
layout/base/public/nsIFrameSelection.h
layout/base/src/nsSelection.cpp
layout/events/src/nsEventStateManager.cpp
layout/html/base/src/nsFrame.cpp
layout/html/forms/src/nsGfxTextControlFrame2.cpp
xpfe/browser/resources/content/navigatorDD.js
r=brade@netscape.com ,cmanske@netscape.com a=beppe@netscape.com ,waterson@netscape.com
2000-05-25 20:04:02 +00:00
akkana%netscape.com
d39b10a680
Partial work on 16311, 32807, 16352: code reorganization/cleanup of word/line/paragraph selection.
2000-05-16 22:48:28 +00:00
kin%netscape.com
e56254aabb
- First pass checkin for a Drag and Drop friendlier selection. (Bug #38527 ) Code is ifdef'd out with DRAG_AND_DROP_FRIENDLY_SELECTION.
...
- Replaced tabs with spaces.
2000-05-16 22:16:05 +00:00
mjudge%netscape.com
5237a6fe65
changes for setcapture.
2000-05-16 13:52:28 +00:00
anthonyd%netscape.com
7ab436fd88
avoiding confusion between line iterator between layout and navigation.
...
if you want a line iterator for navigation you must explicitly ask for one.
2000-05-16 08:11:14 +00:00
cmanske%netscape.com
acad8adcca
Select table column and row support (20973). r=mjudge
2000-05-16 03:03:13 +00:00
mjudge%netscape.com
d12e670ad8
updating capture code
2000-05-14 03:41:25 +00:00
anthonyd%netscape.com
8bbcc675f6
more changes to make table navigation in editor
...
work correctly and not crash.
2000-05-14 00:10:25 +00:00
mjudge%netscape.com
fa4088842d
fixing warnings and some redundant code
2000-05-13 20:47:42 +00:00
mjudge%netscape.com
4d87ea0999
fixing up some of the calls for frameselection to setting mousedown state
2000-05-13 08:09:03 +00:00
mjudge%netscape.com
55912eddb8
changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret.
2000-05-11 04:25:43 +00:00
anthonyd%netscape.com
e8ceb8ee1b
r:mjudge
...
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly
2000-05-11 01:04:39 +00:00
mjudge%netscape.com
9fc3ea7f15
adjusting how we get nsIFrameSelection. maybe we can QI from SelectionController
2000-05-08 03:59:53 +00:00
mjudge%netscape.com
450040c157
bad infiniteloop fix
2000-05-05 02:38:03 +00:00
mjudge%netscape.com
24e9fbcab6
stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out.
2000-05-04 08:35:42 +00:00
anthonyd%netscape.com
9a23850613
r: mjudge
...
table bacgrounds now sleected properly with disabled selection
(grey selection)
2000-04-30 18:56:26 +00:00
mjudge%netscape.com
7e5a6b3cd7
change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument
2000-04-28 06:21:31 +00:00
mjudge%netscape.com
2c0953e1be
ender lite checkin.
2000-04-27 07:37:12 +00:00
troy%netscape.com
6b04c3b5fa
Reinstated clipping code which had been backed out because it caused
...
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com
42e26161e8
Backing out troy's changes to fix various UI blocker bugs.
2000-04-24 22:15:55 +00:00
troy%netscape.com
9b393faa48
Changes to bring clipping inline with upcoming CSS2 errata
2000-04-23 00:56:16 +00:00
rods%netscape.com
21de9f3e8a
Add ifdef'ed Performance Reflow Counting code
2000-04-21 14:59:47 +00:00
anthonyd%netscape.com
815b66f915
drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge
2000-04-20 23:11:41 +00:00
mjudge%netscape.com
7caea63ed1
a=gramps. smoketest fix for 35590
2000-04-13 00:15:02 +00:00
mjudge%netscape.com
ac8d5b837a
dangit
2000-04-12 05:48:03 +00:00
mjudge%netscape.com
6536f6d6d7
left out static in prototype. mac compiler...grumble
2000-04-12 05:43:42 +00:00
morse%netscape.com
90e57a8f70
attempt to fix mac bustage
2000-04-12 05:20:49 +00:00
mjudge%netscape.com
c6128bbf01
dangit forgot this one
2000-04-12 03:35:27 +00:00
mjudge%netscape.com
f0c0beb50c
fix for setcapture. passes events to the nsHTMLFrame's areaframe when events are trapped to a given frame's view.
2000-04-12 03:04:11 +00:00
scc%netscape.com
e37740acdb
making string conversions explicit
2000-04-03 11:39:09 +00:00
jim_nance%yahoo.com
dc0e139673
Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
...
days for module owners to comment on. r=troy@netscape.com
2000-03-30 03:21:26 +00:00
mjudge%netscape.com
9c968a3902
small change to stop selection from being notified of clicks on non selecteable sytle content
2000-03-25 01:14:39 +00:00
dbaron%fas.harvard.edu
87e19c9cef
Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
2000-03-22 02:43:08 +00:00
cmanske%netscape.com
01933d5726
Fixed bugs in table selection. Added improvements to facilitate row and column selection. r=mjudge
2000-03-21 06:04:02 +00:00
cmanske%netscape.com
2824049212
Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
2000-03-16 23:45:39 +00:00
jdunn%netscape.com
080142580c
Fix problem with NS_IF_ADDREF on member variables inside of const
...
member functions. This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h
r=troy@netscape.com ,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
2000-02-17 23:19:18 +00:00
pinkerton%netscape.com
15c85ef5ee
removed obsolete (and ifdef'd out) d&d test code. r=saari.
2000-02-15 07:13:21 +00:00
vidur%netscape.com
d4b67b3219
Fix for bug 9140. Area elements now have event fired for them. r=joki
2000-02-11 01:24:59 +00:00
mjudge%netscape.com
b32999a1de
big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
2000-02-10 04:35:51 +00:00
dbaron%fas.harvard.edu
bf2b8a41ed
Event Target Debugging (b=18175), a debugging feature to help with fixing bugs where events are going to the wrong elements. It shows (like Visual Debugging) which frame is receiving events, and one can therefore move the mouse over the page to see what frame gets events. All the code is #ifdef NS_DEBUG. However, it is not yet hooked up to the viewer menu (to be checked in later).
...
r=joki
2000-02-03 02:49:58 +00:00
troy%netscape.com
792c9c1053
r=vidur@netscape.com Performance. Added NS_FRAME_HAS_VIEW frame state flag
...
so we can quickly tell whether the frame has an associated view
2000-02-03 00:51:37 +00:00
pp%ludusdesign.com
58065dda04
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
kmcclusk%netscape.com
eeeb109f4c
Added support for widgetless viewmanager. Changed code pattern that assumed the root view
...
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com
2000-01-26 23:04:40 +00:00
troy%netscape.com
8a78d916a5
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
brade%netscape.com
ef62b4b778
use proper key for discontiguous selection on Mac (r=jfrancis)
2000-01-13 16:07:03 +00:00
mjudge%netscape.com
118e690267
small changes for 22752 ctrl left and right. r=cmanske
2000-01-12 21:39:36 +00:00
putterman%netscape.com
7650e4cd34
This should fix the build bustage.
2000-01-12 17:20:16 +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
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
mjudge%netscape.com
dcbf3266bd
r= kin. fix for another parameter. fixing m13 bug with multiple selection.
2000-01-08 00:31:32 +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
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
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
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
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
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
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
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
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
cb31827195
small fix from pierre on use of the style system. pierre reviewed.
1999-11-03 00:11:49 +00:00
troy%netscape.com
614cbe4d17
Changed QueryInterface() to check for nsIFrameDebug
1999-11-02 05:49:11 +00:00
troy%netscape.com
1585a751fb
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +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
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
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
troy%netscape.com
29963d8875
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
1999-10-23 23:19:14 +00:00
troy%netscape.com
f5ba346bdc
Removed 5 convenience functions from nsIFrame
1999-10-22 14:53:52 +00:00
kipp%netscape.com
8f4ae7163a
Removed some more warnings
1999-10-22 14:51:41 +00:00
mjudge%netscape.com
7d0e807931
massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me
1999-10-22 00:19:18 +00:00
peterl%netscape.com
a6adfea707
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
mjudge%netscape.com
fc71fb36d1
bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling.
1999-10-13 01:15:26 +00:00
troy%netscape.com
e592be8776
b=15509, r=peterl@netscape.com
...
If the frame has visible content that extends outside its content area,
then the view needs to be marked as having transparent content
1999-10-13 01:02:53 +00:00
kipp%netscape.com
5a9e69f0c8
Port to new nsILineIterator api
1999-10-12 23:25:19 +00:00
kipp%netscape.com
a2f1c7cf5a
r=troy; Added in ctor/dtor counting
1999-10-05 14:51:12 +00:00
peterl%netscape.com
724aca8163
removing dead style change code
...
r=troy
1999-10-02 04:24:20 +00:00
kin%netscape.com
ca92ac282c
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
peterl%netscape.com
cd5a8a17d1
manage view visibility better, hide collapsed views and hidden views with widgets
1999-09-29 03:37:02 +00:00
troy%netscape.com
9430750742
Fixes for bug #2552 and bug #10961
1999-09-26 20:40:29 +00:00
mjudge%netscape.com
2c78141fa6
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
c6fd49197c
more tweaks for line boundaries. previous
1999-09-22 07:26:37 +00:00
mjudge%netscape.com
e989c3be45
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
6976c807dc
recursion failing finding the same frame we started with sometimes with generated content from style. simple 2 line check to avoind this. dagley said ok to check in red tree since not hurting anyone.
1999-09-22 06:12:44 +00:00
mjudge%netscape.com
99dadf07b9
approved by Dagley. fixes for CTRL_LEFT and CTRL_RIGHT navigation and wrapping
1999-09-22 05:56:44 +00:00
mjudge%netscape.com
88c407b158
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
joki%netscape.com
4016178c5d
Adding support for event.clickCount, obsoleting old dblclick event.
1999-09-22 02:29:33 +00:00
mjudge%netscape.com
dfcf0208d4
fix for going to correct offset in selection with keyboard navigation
1999-09-22 01:19:04 +00:00
mjudge%netscape.com
1e48363fd7
changes to selection code to stop a never ending loop
1999-09-21 22:58:14 +00:00
peterl%netscape.com
ecb4bd83d0
removed ReResolveStyleContext
...
added style tree verify flag
1999-09-21 07:51:52 +00:00
mjudge%netscape.com
3c9065ac80
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