147 Commits

Author SHA1 Message Date
jst%netscape.com
9d299d36ce Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94238 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 16:46:42 +00:00
mjudge%netscape.com
c7c9636fb7 changing table cell selection to use borders. sr=waterson r= kin 26831
git-svn-id: svn://10.0.0.236/trunk@93861 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 23:59:55 +00:00
mjudge%netscape.com
fbe313babb removing optimization unneeded for table selection to fix 60846sr= kin r= manske after making changes they requested
git-svn-id: svn://10.0.0.236/trunk@92599 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 23:31:34 +00:00
erik%netscape.com
4cc5898b01 bug 76311; author=simon@softel.co.il; r=mjudge; sr=erik; This fixes the bug
where we were running bidi selection code even on a non-bidi document. It
also fixes a problem in the bidi code where we were ignoring the return
values of a few calls.


git-svn-id: svn://10.0.0.236/trunk@92579 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 23:03:38 +00:00
erik%netscape.com
d294fedda9 bug 71314; author=simon@softel.co.il; r=mjudge,anthonyd; sr=erik; changes
from IBM bidi project (Arabic, Hebrew, etc); some in ifdef for now


git-svn-id: svn://10.0.0.236/trunk@89949 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:16:22 +00:00
dbaron%fas.harvard.edu
a1ecca2ca4 Remove static constructor for nsStyleColor. r=disttsc@bart.nl sr=brendan@mozilla.org b=67341
git-svn-id: svn://10.0.0.236/trunk@87446 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 13:44:43 +00:00
heikki%netscape.com
80b36e2891 Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
git-svn-id: svn://10.0.0.236/trunk@87357 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 12:55:42 +00:00
cmanske%netscape.com
72a6c84c0f Minor change to remove compile warning
git-svn-id: svn://10.0.0.236/trunk@87198 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 05:12:08 +00:00
cmanske%netscape.com
a3c222fbe7 Fixed table selection bug 68860. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87181 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 03:33:12 +00:00
brade%netscape.com
3440aa2597 cleanup of FetchDesiredX; r=kin; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86232 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 15:43:46 +00:00
cmanske%netscape.com
34f19b7ba3 Fixed selecting multiple rows, columns. Bug 64093, r=mjudge, sr=kin,sfraser
git-svn-id: svn://10.0.0.236/trunk@84329 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:24:39 +00:00
cmanske%netscape.com
2df58f216c Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@83912 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 22:13:54 +00:00
leaf%mozilla.org
758c5a8f89 backing out regression-causing changes to reopen tree
git-svn-id: svn://10.0.0.236/trunk@83903 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 18:09:53 +00:00
cmanske%netscape.com
dafb7a83b7 Convert IDL defines from short to long so enums are PRInt32 on all platforms (fixing build bustage)
git-svn-id: svn://10.0.0.236/trunk@83887 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 03:15:16 +00:00
cmanske%netscape.com
e8cfb821a1 Trying to fix speedracer build bustage
git-svn-id: svn://10.0.0.236/trunk@83886 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 02:56:17 +00:00
cmanske%netscape.com
2fc3e46191 Table selection work (part of b=57863): Moved param for GetTableSelectionDate from .h to .idl, requiring change from PRUint32 to PRInt16 for all users. Table Cell ranges are now added in document order (location in table) when selecting multiple cells. Refactored table selection methods and fixed leaks. r=mjudge, sr=kin
git-svn-id: svn://10.0.0.236/trunk@83879 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:36:41 +00:00
mjudge%netscape.com
8994e1cdc2 added in code to allow GetSelection() to work. r= mstoltz
git-svn-id: svn://10.0.0.236/trunk@82995 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 00:13:00 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
mjudge%netscape.com
5446d27b85 r=kin a=buster. fix has to go to trunk first. bug 49772
git-svn-id: svn://10.0.0.236/trunk@81153 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:37:52 +00:00
jst%netscape.com
17e33bbc26 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst


git-svn-id: svn://10.0.0.236/trunk@80681 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:57:30 +00:00
mjudge%netscape.com
19449f7998 fixing sun/sparc i guess it didnt like the inline if/else statement. separating out.
git-svn-id: svn://10.0.0.236/trunk@79124 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:23:31 +00:00
mjudge%netscape.com
2fc6190bef 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
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
jdunn%netscape.com
4f33ffb804 Fix warning: return value is required from functions
r= brendan@mozilla.org scc@mozilla.org
#= 52254


git-svn-id: svn://10.0.0.236/trunk@79020 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 14:11:51 +00:00
anthonyd%netscape.com
0aab5b4c79 bug fix for mjudges bug #45387
r=anthonyd


git-svn-id: svn://10.0.0.236/trunk@78936 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 00:05:29 +00:00
heikki%netscape.com
648ff744fc Forgot to check that we fire the select event with Select All. Also fix event.target. Part of bug 46085. r=mjudge.
git-svn-id: svn://10.0.0.236/trunk@78900 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:54:41 +00:00
kin%netscape.com
15f46f6cc1 Fix for bug #35899 (Page scrolls on selecting text in position:relative div)
- Rewrote the auto-scrolling code to handle the fact that events are now passed
    directly to frames, even though the mouse is outside the window, and the frame
    is not in the clip view. The old code assumed that the viewport frame always
    caught and handled the event, which was the way it used to be.
  - AutoScroll methods now give the option of scrolling parent scrollable views.

r=jfrancis@netscape.com

Fix for bug #49467 (Spell checking not working in composer or NS 6 IM )

  - We no longer throw an error if we are trying to scroll the selection
    into view, when the selection is in a view that has no parent scrollable
    view ... we just return NS_OK and do nothing.

r=syd@netscape.com


git-svn-id: svn://10.0.0.236/trunk@77632 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 19:42:47 +00:00
jfrancis%netscape.com
e0347ad4d6 disabling fix for 46554 again, in order to fix smoketest blocker 50653 et al
git-svn-id: svn://10.0.0.236/trunk@77487 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 19:55:16 +00:00
jfrancis%netscape.com
6f1a57dbef restoring my original fix for 46554, with some additional tweaks to deal gracefully with generated content. To forgive, divine.
git-svn-id: svn://10.0.0.236/trunk@77461 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 06:37:12 +00:00
jfrancis%netscape.com
27c8a2318e i'm an idiot
git-svn-id: svn://10.0.0.236/trunk@77458 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 05:43:03 +00:00
jfrancis%netscape.com
0382b0103c turns out that selection code is used even when outputing an entire document (beats me why); disabling my changes so that text field output will work again.
git-svn-id: svn://10.0.0.236/trunk@77445 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 03:09:54 +00:00
heikki%netscape.com
19052f5fb1 Fixed bug 46085. We were not firing the select event. This is the second half of the checkin... had some problems with CVS. jst is watching this checkin. r=mjudge.
git-svn-id: svn://10.0.0.236/trunk@77435 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 01:47:05 +00:00
jfrancis%netscape.com
ca9d9a19c5 fixing a warning
git-svn-id: svn://10.0.0.236/trunk@77429 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:31:53 +00:00
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