32 Commits

Author SHA1 Message Date
waterson%netscape.com
1e7a248bab Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@80717 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 03:08:41 +00:00
kin%netscape.com
ab2cde5355 49339 "Saving File" dialog doesn't initially show complete filename
Replaced call to ScrollSelectionIntoView() in SetTextControlFrameState()
with a call to nsIScrollableView::ScrollTo() that resets the scroll position
of the text widget to (0,0) when the value is replaced.
r=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78914 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:14:06 +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
a78dd6b7d3 Fix for bug #46396: select after input confuses session history
Moved code that set initial value of text control via the editor from
CreateAnonymousContent() to a new method called SetInitialValue().
SetInitialValue() is now called during the frame's first reflow.
Added mUseEditor to indicate when it is safe to use the editor
to get and set values.
r=mjudge@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78409 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 19:11:23 +00:00
rods%netscape.com
332051d33f New arg passes whether the default size is being used or whether it is explicitly set.
This enabled the text field to shrink if necessary in some situations (i.e. table cell precentages)
b=40596 r=kmclusk


git-svn-id: svn://10.0.0.236/trunk@77203 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 13:29:24 +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
dbaron%fas.harvard.edu
3b9c9e465a Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+)
git-svn-id: svn://10.0.0.236/trunk@75882 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 12:51:05 +00:00
rods%netscape.com
41db943a7f moved form registration code to Reflow instead of GetPrefSize, it wasn't being called correctly when wi/h was being set via style
b=45846 r=kin


git-svn-id: svn://10.0.0.236/trunk@74551 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 21:17:03 +00:00
mjudge%netscape.com
d6fdcca880 storing the factory as a weak reference. speeding up ender-lite. r= anthonyd, r= jfrancis
git-svn-id: svn://10.0.0.236/trunk@74203 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:20:15 +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
sfraser%netscape.com
3ace47ff12 Fix for 44118 and nsbeta2+ bug 42625, r=kin. Update selection-based commands (e.g. cut/copy) when the selection changes from collapsed to non-collapsed and vice versa, not just when it is uncollapsed.
git-svn-id: svn://10.0.0.236/trunk@73554 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:36:10 +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
rods%netscape.com
6601b1f95f It wasn't call the NavQuirks sizing code when in NavQuirks mode.
Bug 42521,41629 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@73018 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 02:30:38 +00:00
mjudge%netscape.com
6e990f8280 handling of on input. adding selection change notifications to commands. we must tell the document when selection happens in the input fields. regriession from 34986, r=saari a=pdt+
git-svn-id: svn://10.0.0.236/trunk@72177 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 03:01:31 +00:00
mjudge%netscape.com
1b7d75c3db didnt implement selection. bug=34896. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71923 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 21:55:50 +00:00
mjudge%netscape.com
6209ff4eb0 form elements now accept a nsIFormFrame instead of the implementation as the parameter to allow others that inheirit from nsIFormFrame to call "CanSubmit". bug=34896 ender-lite, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71882 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 07:16:20 +00:00
mjudge%netscape.com
8fa1c2f4b0 not in build, bug 34896
git-svn-id: svn://10.0.0.236/trunk@71877 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 05:13:32 +00:00
evaughan%netscape.com
3640c7b6b3 Fixed for ender-lite painting problems. bug #34896
-r mjudge


git-svn-id: svn://10.0.0.236/trunk@71573 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 01:25:03 +00:00
mjudge%netscape.com
5a98fd8081 not in build yet...
git-svn-id: svn://10.0.0.236/trunk@70180 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:45:42 +00:00
mjudge%netscape.com
685fb8086e adding in destroy method
git-svn-id: svn://10.0.0.236/trunk@70034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 12:18:49 +00:00
mjudge%netscape.com
c0312d5689 not in build
git-svn-id: svn://10.0.0.236/trunk@69910 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:03:38 +00:00
mjudge%netscape.com
1e377ab381 adding navquirks support
git-svn-id: svn://10.0.0.236/trunk@69649 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 07:02:08 +00:00
mjudge%netscape.com
62cfa242f1 ender-lite looks like a real thing now
git-svn-id: svn://10.0.0.236/trunk@69628 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:41:57 +00:00
mjudge%netscape.com
74b1e799de ender-lite lives
git-svn-id: svn://10.0.0.236/trunk@69549 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:11:59 +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
7f20b037e4 notin build yet
git-svn-id: svn://10.0.0.236/trunk@68624 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 03:58:25 +00:00
mjudge%netscape.com
3bf0034524 not in build yet. ender-lite
git-svn-id: svn://10.0.0.236/trunk@68381 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 08:58:24 +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
dprice%netscape.com
e89d130a94 not in build- mjudge
git-svn-id: svn://10.0.0.236/trunk@67673 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 20:01:29 +00:00
mjudge%netscape.com
c383967e26 not in build yet
git-svn-id: svn://10.0.0.236/trunk@67666 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 17:09:52 +00:00
mjudge%netscape.com
2eb601e175 not used in the build
git-svn-id: svn://10.0.0.236/trunk@67618 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 20:29:12 +00:00
mjudge%netscape.com
a8455b3f32 files not in build yet
git-svn-id: svn://10.0.0.236/trunk@67389 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 08:13:39 +00:00