800 Commits

Author SHA1 Message Date
pierre%netscape.com
db5d911ba9 42864 ('user-select:none' should make children non-selectable)
git-svn-id: svn://10.0.0.236/trunk@75641 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 04:41:33 +00:00
cmanske%netscape.com
2023ba127b 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
git-svn-id: svn://10.0.0.236/trunk@75377 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 01:47:55 +00:00
waterson%netscape.com
c607d4bc40 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.
git-svn-id: svn://10.0.0.236/trunk@75085 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:29:28 +00:00
waterson%netscape.com
86cf521ec9 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
git-svn-id: svn://10.0.0.236/trunk@74887 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 05:16:08 +00:00
mjudge%netscape.com
04f7c7cd04 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.
git-svn-id: svn://10.0.0.236/trunk@74807 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 11:31:12 +00:00
nisheeth%netscape.com
218ec59f14 Fix for nsbeta2+ bug 43472. r=rpotts. We no longer crash on exit on Full Circle enabled builds.
git-svn-id: svn://10.0.0.236/trunk@74659 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-23 06:51:39 +00:00
akkana%netscape.com
84c9d71b9a 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.


git-svn-id: svn://10.0.0.236/trunk@73925 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 19:46:59 +00:00
anthonyd%netscape.com
4abc5bba4f bug fix for #40742
crasher in DrillDownToEndOfLine()
r:mjudge a:beppe precheckin test done


git-svn-id: svn://10.0.0.236/trunk@72853 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:41:42 +00:00
anthonyd%netscape.com
8febe65f8c warning fixes for linux. r: mjudge a: beppe
git-svn-id: svn://10.0.0.236/trunk@72446 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:28:10 +00:00
kin%netscape.com
f0ffccdd37 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


git-svn-id: svn://10.0.0.236/trunk@71139 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 03:20:02 +00:00
cmanske%netscape.com
b457171a1d Added row/column selection in tables: Bug 26833. r=kin, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71115 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:07:58 +00:00
evaughan%netscape.com
e32f5aa5dd fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt


git-svn-id: svn://10.0.0.236/trunk@70910 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 06:42:29 +00:00
kin%netscape.com
d7bccacbfb 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


git-svn-id: svn://10.0.0.236/trunk@70855 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 20:04:02 +00:00
akkana%netscape.com
a24273164d Partial work on 16311, 32807, 16352: code reorganization/cleanup of word/line/paragraph selection.
git-svn-id: svn://10.0.0.236/trunk@70135 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:48:28 +00:00
kin%netscape.com
2ed3618a8f - 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.


git-svn-id: svn://10.0.0.236/trunk@70121 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:16:05 +00:00
mjudge%netscape.com
923a9c6cea changes for setcapture.
git-svn-id: svn://10.0.0.236/trunk@70048 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:52:28 +00:00
anthonyd%netscape.com
8e4f929fe8 avoiding confusion between line iterator between layout and navigation.
if you want a line iterator for navigation you must explicitly ask for one.


git-svn-id: svn://10.0.0.236/trunk@70013 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 08:11:14 +00:00
cmanske%netscape.com
7bf34e9d29 Select table column and row support (20973). r=mjudge
git-svn-id: svn://10.0.0.236/trunk@69950 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:03:13 +00:00
mjudge%netscape.com
5dc3b3236c updating capture code
git-svn-id: svn://10.0.0.236/trunk@69627 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:41:25 +00:00
anthonyd%netscape.com
ca5bf03af3 more changes to make table navigation in editor
work correctly and not crash.


git-svn-id: svn://10.0.0.236/trunk@69601 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:10:25 +00:00
mjudge%netscape.com
9f85d6b917 fixing warnings and some redundant code
git-svn-id: svn://10.0.0.236/trunk@69576 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 20:47:42 +00:00
mjudge%netscape.com
e01b786221 fixing up some of the calls for frameselection to setting mousedown state
git-svn-id: svn://10.0.0.236/trunk@69544 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:09:03 +00:00
mjudge%netscape.com
2f9bd42697 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.
git-svn-id: svn://10.0.0.236/trunk@69180 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:25:43 +00:00
anthonyd%netscape.com
20e7680b7c r:mjudge
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly


git-svn-id: svn://10.0.0.236/trunk@69124 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:04:39 +00:00
mjudge%netscape.com
ef3e852f95 adjusting how we get nsIFrameSelection. maybe we can QI from SelectionController
git-svn-id: svn://10.0.0.236/trunk@68626 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 03:59:53 +00:00
mjudge%netscape.com
6b506c728a bad infiniteloop fix
git-svn-id: svn://10.0.0.236/trunk@68315 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 02:38:03 +00:00
mjudge%netscape.com
e5b2003819 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.
git-svn-id: svn://10.0.0.236/trunk@68219 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 08:35:42 +00:00
anthonyd%netscape.com
8922af96b4 r: mjudge
table bacgrounds now sleected properly with disabled selection
(grey selection)


git-svn-id: svn://10.0.0.236/trunk@67671 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 18:56:26 +00:00
mjudge%netscape.com
1cc1a29d13 change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument
git-svn-id: svn://10.0.0.236/trunk@67486 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:21:31 +00:00
mjudge%netscape.com
24b8f29c46 ender lite checkin.
git-svn-id: svn://10.0.0.236/trunk@67387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:37:12 +00:00
troy%netscape.com
2831676fb5 Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem


git-svn-id: svn://10.0.0.236/trunk@67078 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:43:11 +00:00
putterman%netscape.com
97e6e61f3c Backing out troy's changes to fix various UI blocker bugs.
git-svn-id: svn://10.0.0.236/trunk@66999 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:15:55 +00:00
troy%netscape.com
e90db6dfb9 Changes to bring clipping inline with upcoming CSS2 errata
git-svn-id: svn://10.0.0.236/trunk@66887 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 00:56:16 +00:00
rods%netscape.com
fbf8aca833 Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66719 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:59:47 +00:00
anthonyd%netscape.com
10a34f6e1b drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@66600 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:11:41 +00:00
mjudge%netscape.com
bccee5ad91 a=gramps. smoketest fix for 35590
git-svn-id: svn://10.0.0.236/trunk@65739 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 00:15:02 +00:00
mjudge%netscape.com
20beb15b82 dangit
git-svn-id: svn://10.0.0.236/trunk@65668 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:48:03 +00:00
mjudge%netscape.com
7623edc2ec left out static in prototype. mac compiler...grumble
git-svn-id: svn://10.0.0.236/trunk@65667 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:43:42 +00:00
morse%netscape.com
1749c5246b attempt to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@65664 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:20:49 +00:00
mjudge%netscape.com
9d8e7b1e33 dangit forgot this one
git-svn-id: svn://10.0.0.236/trunk@65653 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 03:35:27 +00:00
mjudge%netscape.com
c25a8377d7 fix for setcapture. passes events to the nsHTMLFrame's areaframe when events are trapped to a given frame's view.
git-svn-id: svn://10.0.0.236/trunk@65649 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 03:04:11 +00:00
scc%netscape.com
2255fe399e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65030 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:39:09 +00:00
jim_nance%yahoo.com
b1ccfbf2cb 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


git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
mjudge%netscape.com
b24e7a54c2 small change to stop selection from being notified of clicks on non selecteable sytle content
git-svn-id: svn://10.0.0.236/trunk@64087 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 01:14:39 +00:00
dbaron%fas.harvard.edu
0936aaafab 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.
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
cmanske%netscape.com
9c9491d705 Fixed bugs in table selection. Added improvements to facilitate row and column selection. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63550 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 06:04:02 +00:00
cmanske%netscape.com
5ab9b7f9df Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63201 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:45:39 +00:00
jdunn%netscape.com
659b2712ed 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


git-svn-id: svn://10.0.0.236/trunk@61237 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:19:18 +00:00
pinkerton%netscape.com
566aef7a31 removed obsolete (and ifdef'd out) d&d test code. r=saari.
git-svn-id: svn://10.0.0.236/trunk@60835 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 07:13:21 +00:00
vidur%netscape.com
f1a9c3f401 Fix for bug 9140. Area elements now have event fired for them. r=joki
git-svn-id: svn://10.0.0.236/trunk@60399 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:24:59 +00:00