Commit Graph

574 Commits

Author SHA1 Message Date
cmanske@netscape.com
4a6b38c309 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
ce1389acc6 backing out regression-causing changes to reopen tree 2000-12-20 18:09:53 +00:00
cmanske@netscape.com
1b6e551585 Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage) 2000-12-20 03:25:30 +00:00
cmanske@netscape.com
f3be9797dc Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage) 2000-12-20 03:23:32 +00:00
cmanske@netscape.com
8079c2fc59 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
a1e72314be 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
ee2a5d190e 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
5a6795e46d remove typo to fix bustage 2000-11-09 00:40:39 +00:00
blakeross@telocity.com
cedc3d94ee 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
0462ea4ce8 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
7730ce0cd3 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
67237b8b7b WIP for bug 55095; sr=buster, r=attinasi, sfraser 2000-10-11 23:40:42 +00:00
kin@netscape.com
03c2d30fb3 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
f29558cf44 fixing 34356. hack to get clickng before table working beta3+ 2000-09-15 07:02:05 +00:00
mjudge@netscape.com
ab294f3f8f 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
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