Commit Graph

959 Commits

Author SHA1 Message Date
mjudge@netscape.com
caf9e682e6 hoarkage fix. need a.get on pointer compare on unix for comptrs 2000-09-14 09:42:18 +00:00
pinkerton@netscape.com
b20e9152aa 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
2302999434 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
1bab647721 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
f8e7fb52ea making CaptureMouse a public interface on nsIFrame r=mjudge for bug 48250. 2000-08-14 22:28:41 +00:00
pierre@netscape.com
e7a22943da 48096: Need a -moz-all value for user-select. r=sfraser. 2000-08-12 01:00:14 +00:00
mjudge@netscape.com
17839d7758 29570 37393 42794 mac os fix for selecting out of frame bounds. 2000-08-09 22:33:03 +00:00
sfraser@netscape.com
dce7e70e42 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
4d45b187d7 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
7772cb49f0 42864 ('user-select:none' should make children non-selectable) 2000-08-05 04:41:33 +00:00
cmanske@netscape.com
27e036d592 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
3a349643d6 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
0909469319 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
406097b1c5 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
3379ce4844 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
bca6739f4a 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
7fd226647f 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
8a44359dde warning fixes for linux. r: mjudge a: beppe 2000-06-16 22:28:10 +00:00
kin@netscape.com
b6365c6ff0 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
e374166c08 Added row/column selection in tables: Bug 26833. r=kin, a=beppe 2000-05-31 00:07:58 +00:00
evaughan@netscape.com
39a5baf723 fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
kin@netscape.com
45231c91c7 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
e58dc13225 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
4aa2bc88d9 - 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
7bd05d74bb changes for setcapture. 2000-05-16 13:52:28 +00:00
anthonyd@netscape.com
9c9e0c5a15 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
1809dea113 Select table column and row support (20973). r=mjudge 2000-05-16 03:03:13 +00:00
mjudge@netscape.com
4603aa8b77 updating capture code 2000-05-14 03:41:25 +00:00
anthonyd@netscape.com
e42ac985ca more changes to make table navigation in editor
work correctly and not crash.
2000-05-14 00:10:25 +00:00
mjudge@netscape.com
18b79d8767 fixing warnings and some redundant code 2000-05-13 20:47:42 +00:00
mjudge@netscape.com
1d4a83be9c fixing up some of the calls for frameselection to setting mousedown state 2000-05-13 08:09:03 +00:00
mjudge@netscape.com
9548dce1c6 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
71ccee07a0 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
43f3dd2c34 adjusting how we get nsIFrameSelection. maybe we can QI from SelectionController 2000-05-08 03:59:53 +00:00
mjudge@netscape.com
df6ffaef47 bad infiniteloop fix 2000-05-05 02:38:03 +00:00
mjudge@netscape.com
340d89a44e 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
f27d13ba3c r: mjudge
table bacgrounds now sleected properly with disabled selection
(grey selection)
2000-04-30 18:56:26 +00:00
mjudge@netscape.com
7632ddddc7 change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument 2000-04-28 06:21:31 +00:00
mjudge@netscape.com
2e85db0702 ender lite checkin. 2000-04-27 07:37:12 +00:00
troy@netscape.com
3cb3cfefb2 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
18cce22621 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:15:55 +00:00
troy@netscape.com
dc75dfc818 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
rods@netscape.com
526976891e Add ifdef'ed Performance Reflow Counting code 2000-04-21 14:59:47 +00:00
anthonyd@netscape.com
2abd11ee91 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
7b33c246e5 a=gramps. smoketest fix for 35590 2000-04-13 00:15:02 +00:00
mjudge@netscape.com
9404384a88 dangit 2000-04-12 05:48:03 +00:00
mjudge@netscape.com
ed5f81bdfa left out static in prototype. mac compiler...grumble 2000-04-12 05:43:42 +00:00
morse@netscape.com
f694b100a7 attempt to fix mac bustage 2000-04-12 05:20:49 +00:00
mjudge@netscape.com
32644e5eea dangit forgot this one 2000-04-12 03:35:27 +00:00
mjudge@netscape.com
abfa134534 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