163 Commits

Author SHA1 Message Date
jfrancis%netscape.com
28b299f2e7 third time is the charm...
git-svn-id: svn://10.0.0.236/trunk@77420 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:07:32 +00:00
jfrancis%netscape.com
0b8c1e6017 the end of ubercopy
git-svn-id: svn://10.0.0.236/trunk@77416 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:54:45 +00:00
jfrancis%netscape.com
5ab5287aa7 fix for 46554: copy should grab parent nodes if all children selected; r=sfraser
git-svn-id: svn://10.0.0.236/trunk@77402 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:35:57 +00:00
anthonyd%netscape.com
8c8a7bb268 fix for bug# 43364
selection methods not returning meaningfull information
ie. getAnchorNode
r=mjudge


git-svn-id: svn://10.0.0.236/trunk@77313 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 21:23:25 +00:00
anthonyd%netscape.com
f4c17f81ff fix for bug 48624 (hidden selection issues with plain text widgets)
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe


git-svn-id: svn://10.0.0.236/trunk@77040 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:54:30 +00:00
jst%netscape.com
7e0575bfee DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
scc%mozilla.org
a0a2b1b7fe fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76727 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:23:46 +00:00
anthonyd%netscape.com
7d90e93839 fix for bug#48472
apparently nsIContent::ChildAt can be successful
and not return a child. now checking fo that.
r: smfr
a: beppe


git-svn-id: svn://10.0.0.236/trunk@76116 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 19:55:39 +00:00
anthonyd%netscape.com
76985c2924 fix for bug# 48472 (dogfood bug)
r: mjudge
a: beppe


git-svn-id: svn://10.0.0.236/trunk@76072 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 01:36:28 +00:00
mjudge%netscape.com
dac8dfc28f use "=" not "==" my bad
git-svn-id: svn://10.0.0.236/trunk@75921 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:43:39 +00:00
mjudge%netscape.com
533f7943c6 43533 table cell selection color fix. check for table cells/table being added to range and toggle flag to allow cells to draw correctly
git-svn-id: svn://10.0.0.236/trunk@75917 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:34:17 +00:00
sfraser%netscape.com
7726da891c 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.
git-svn-id: svn://10.0.0.236/trunk@75830 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:38:00 +00:00
mjudge%netscape.com
80c961899e *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@75379 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 02:39:10 +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
danm%netscape.com
18ecc11fd7 shut down a selection's autoscroll timer in the selection's destructor. bug 43470. r=saari@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74997 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 03:48:26 +00:00
mjudge%netscape.com
6b543c3d28 r=hyatt bug36617, sfrasier bug. simple change for select all to work.
git-svn-id: svn://10.0.0.236/trunk@73509 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 05:25:01 +00:00
mjudge%netscape.com
771787b6c1 r=jfrancis,r=hyatt 42045 beta2+ 42675 beta2+ hitting return on text area not putting new line. onchange,oninput.
git-svn-id: svn://10.0.0.236/trunk@73374 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 04:00:12 +00:00
mjudge%netscape.com
c661007c9e too many copies for ender-lite. happening whenever people were setting selection progromatically. r=hyatt 34896
git-svn-id: svn://10.0.0.236/trunk@71878 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 05:14:19 +00:00
cmanske%netscape.com
1e18ade6f9 Finished table cell selection optimization bug 41045. r=mjudge, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71633 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:14:42 +00:00
cmanske%netscape.com
494609a7d0 Fix for table selection performance problems. b=41045, r=mjudge, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71409 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:05:06 +00:00
mjudge%netscape.com
eaec62deed bug = 34896, r= hyatt. changing caret apis. this will demand that when a caret changes focus a call to setDOMSelection must be called to tell the caret what selection to listen to.
git-svn-id: svn://10.0.0.236/trunk@71230 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:37:40 +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
akkana%netscape.com
e8f9d34322 38713: Allow TakeFocus motion inside selection batching. r=mjudge, jfrancis; a=beppe
git-svn-id: svn://10.0.0.236/trunk@71111 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:02:12 +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
mjudge%netscape.com
2f998b8cc1 removing debug messages
git-svn-id: svn://10.0.0.236/trunk@70254 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:07:31 +00:00
pavlov%netscape.com
a0feb91521 changes all usages of NS_NewTimer to CreateInstance
git-svn-id: svn://10.0.0.236/trunk@70249 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:49:35 +00:00
mjudge%netscape.com
44d73d55a6 fixing relative div position bug with autoscroll
git-svn-id: svn://10.0.0.236/trunk@70128 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:41:38 +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
82191df631 fixing legal issues
git-svn-id: svn://10.0.0.236/trunk@69794 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:19: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
4f704d5fd3 fixing redundant calls to notify selection listeners
git-svn-id: svn://10.0.0.236/trunk@69556 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 09:10:16 +00:00
mjudge%netscape.com
a7aed95683 (ender-lite) forcing use of nsixifconverter rather than nsxifconverter. making tostring method take output type parameters.
git-svn-id: svn://10.0.0.236/trunk@69541 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:07:34 +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
mjudge%netscape.com
78a87d2108 forgot to initialize this
git-svn-id: svn://10.0.0.236/trunk@68628 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 04:00:48 +00:00
dprice%netscape.com
9e6c72d5c4 fix for 38253 r=mjudge
git-svn-id: svn://10.0.0.236/trunk@68350 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:37:27 +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
mjudge%netscape.com
8d3cfc61b9 new api for limiter in selection
git-svn-id: svn://10.0.0.236/trunk@67846 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:44:17 +00:00
kin%netscape.com
b748362cc1 Fix for crasher bugs 37701 and 37728. r=mjudge@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67732 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 18:21:30 +00:00
dbaron%fas.harvard.edu
cce89251da Fixed miscellaneous leaks exposed to tinderbox leak stats by brade%netscape.com's JS checkin (rev 1.150 of navigator.js, 2000-04-28).
git-svn-id: svn://10.0.0.236/trunk@67689 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 00:26:37 +00:00
jst%netscape.com
24cb527be6 Make nsSelection::ToString(); do the right thing, now it uses the document encoder to create the string representation of the selection. r=mjudge&akkana (before I did a string API change).
git-svn-id: svn://10.0.0.236/trunk@67527 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 13:58:08 +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
akkana%netscape.com
fe3c0b3f4a Backing out previous change -- wasn't ready. a=mjudge
git-svn-id: svn://10.0.0.236/trunk@67168 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:58:28 +00:00
akkana%netscape.com
b2aefd93c7 Change Save File APIs in layout and editor to eliminate the specific
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.


git-svn-id: svn://10.0.0.236/trunk@67155 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:00:50 +00:00
scc%netscape.com
4e8e28e89b making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66189 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 10:28:55 +00:00
scc%netscape.com
7741d6c076 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66139 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:19:26 +00:00
mjudge%netscape.com
922709ebdd fixing selection speed. only copying to clipboard on mouse up
git-svn-id: svn://10.0.0.236/trunk@66024 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:00:30 +00:00
mjudge%netscape.com
55078146c7 touch alot. changing api for notify selection listeners to add document and seleciton pointers to the api.
git-svn-id: svn://10.0.0.236/trunk@65977 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:21:19 +00:00
mjudge%netscape.com
b5c40f47f1 table cell selection now shows up background. also small fix for nsBlockFrame to do the right thing for mouse capture.
git-svn-id: svn://10.0.0.236/trunk@65860 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:21:32 +00:00
mjudge%netscape.com
ae3c9d9ad5 fixing 2 bugs. bug for notifications going out when we dont need them for selection changing. and for fixing some keyboard navigations around non-text frames
git-svn-id: svn://10.0.0.236/trunk@65694 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 10:34:19 +00:00