Commit Graph

1255 Commits

Author SHA1 Message Date
kin%netscape.com
798fd79ed0 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
2000-09-12 22:14:06 +00:00
heikki%netscape.com
5a54ae35f1 Forgot to check that we fire the select event with Select All. Also fix event.target. Part of bug 46085. r=mjudge. 2000-09-12 20:54:41 +00:00
attinasi%netscape.com
e6ed1d17ba Part of fix for bug 45210: style contexts had the wrong parent because the frames were reparented but their style contexts were not. r=rods@netscape.com 2000-09-12 19:41:27 +00:00
mjudge%netscape.com
ae0b365558 36130 beta3 bug. 1 line change to scroll selection
into view when value is set on text field/area.
2000-09-12 06:35:54 +00:00
rods%netscape.com
3bb5999f5b fixed twips rounding error in calculation
b=52135 r=buster
2000-09-11 21:22:43 +00:00
rods%netscape.com
01814104cb removing bloat - removed unneeded boolean and an nsIHTMLContent pointer
b=51886 r=kmcclusk
2000-09-09 22:15:57 +00:00
rods%netscape.com
ecfca9724d wasn't setting status to NS_FRAME_COMPLETE
b=49010 r=buster
2000-09-09 22:13:12 +00:00
kin%netscape.com
d77cac4764 Added call temporary call to SetInitialValue() in CreateAnonymousContent() to fix
the problem where we can't retrieve the password value from the password
dialog. Breaks logging into IMAP.
r=blizzard@mozilla.org a=leaf@mozilla.org
2000-09-08 14:55:49 +00:00
pollmann%netscape.com
27c144a3b2 Bug 51124: Tabbing into text control now again scrolls it into view if offscreen, also adding additional bulletproofing per code review; r=jst@netscape.com 2000-09-08 05:53:28 +00:00
mscott%netscape.com
81b816da2e Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski
2000-09-08 00:24:13 +00:00
heikki%netscape.com
50ed716f64 Got delayed with changed files, here is the second patch... Fixed bug 22710, load and error events were not firing for images. I also changed the select event firing to use nsEvent instead of nsGUIEvent. r=joki. 2000-09-07 21:03:26 +00:00
kin%netscape.com
d48eb6681d 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
2000-09-07 19:11:23 +00:00
akkana%netscape.com
3c2341c61c 50821: don't force a bogus 3.2 doctype, and eliminate OutputNoDoctype flag. r=cmanske 2000-09-07 18:40:14 +00:00
sfraser%netscape.com
5543105886 Fix bugs 45881 and 46850 -- general caret cruft. Ensure that caret is clipped to the scrolling view, and fix things so that the caret is properly hidden on scrolling. r=beard 2000-09-07 05:26:25 +00:00
sfraser%netscape.com
f23b291227 Fix bug 49620 -- make click-drag select work in comboboxes again. r=rods 2000-09-07 04:39:02 +00:00
pollmann%netscape.com
2e21d4e7a4 Bug 3326: IsIndex implementation (not part of build) 2000-09-06 07:37:49 +00:00
dbaron%fas.harvard.edu
cfceba7dca Change uses of CSS properties not part of the CSS2 spec to use -moz- prefix. b=3935
Fix some CSS errors found with CSS parser error reporting, with Ben's approval.
2000-09-06 02:17:26 +00:00
buster%netscape.com
9de00560cd bug 40596 (input type=text form controls with width:auto are not rendering correctly in table cells)
r=rods
2000-09-05 21:22:55 +00:00
rods%netscape.com
4aa51e763f Changed resizing code to use ave char width for calculating the width of a text field in strict/standard mode
I had to put in an ifdef _WIN32 because no other platform implements the call in nsIFontMetrics
I will have to address this ifdef in the next release (Bug 50998), which means I will probably implement
GetAveCharWidth for all platforms that don't have a native call
Bug 44656  r=kmcclusk
2000-09-05 13:43:13 +00:00
vidur%netscape.com
e153192875 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
pollmann%netscape.com
80059f709d Bug 50143: All radio buttons should be unchecked before checking new one when restoring frame state r=jst@netscape.com 2000-08-31 00:59:31 +00:00
anthonyd%netscape.com
a05076f17c fix for bug# 50847 (regression)
r=kin
2000-08-30 23:38:26 +00:00
rods%netscape.com
7f7d250050 backed out changes, for build 2000-08-30 22:45:59 +00:00
rods%netscape.com
6615b47a81 44656,33312 - We will now size very closely to IE when in Standard mode, the sizing algorithm
is (aveCharWidth * (sizeAttr+1))+padding+border
50280 - we need to set the mPrefSize width/height to -1 so the size of the text control gets recalculated
b=50280,44656,33312 r=kmclusk
2000-08-30 22:11:05 +00:00
anthonyd%netscape.com
84ee8357a8 fix for bug# 49957 (this is really mjudge checking in)
r: anthonyd
2000-08-30 04:13:50 +00:00
hyatt%netscape.com
b0d759c1c2 Putting fix for 42492 back in. r=ben 2000-08-30 00:05:59 +00:00
rods%netscape.com
695ae9cf33 Backing out Hyatt's changes to fix breakage. 2000-08-29 13:39:18 +00:00
rods%netscape.com
104a4c2a53 KeyPress events now let <ctrl<,<slt>,<meta> continue on through, which stopped commonads keys from working
Fixed a couple of off by one errors
Fixed multiple selection with shift key
Fixed focus stealing problem (ifdef'ed out code that was put in to specifically fix this problem)
Fixed div by zero
b=50024,50442,48903
2000-08-29 13:24:38 +00:00
hyatt%netscape.com
d629582814 Fix for 42492. r=ben 2000-08-29 08:36:50 +00:00
heikki%netscape.com
8e2f31db68 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. 2000-08-29 01:47:05 +00:00
warren%netscape.com
3ec392431b Bug 15623. Fixed registration of nsKeygenHandler. 2000-08-25 18:48:50 +00:00
rods%netscape.com
deae775c71 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
2000-08-25 13:29:24 +00:00
rods%netscape.com
412b9b55f7 Only let left btn clicks through for popping up the dialog
b=49904 r=kmcclusk
2000-08-25 13:25:50 +00:00
rods%netscape.com
18d89a1b76 Added a lot of asserts to help debug any potential problems, check for nullcontent
moved up to GetPrimaryFrameFor doesn't get called with a null content
b=49993 r=kmcclusk
2000-08-25 13:12:59 +00:00
anthonyd%netscape.com
112b262913 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
2000-08-24 03:54:30 +00:00
sfraser%netscape.com
7fab06d51e Fix UMR bug 49567 by initting a member variable. Also use NS_LITERAL_STRING in one place. r=jfrancis. 2000-08-24 01:27:48 +00:00
jdunn%netscape.com
7eb04ed28d fixing hpux bustage
r=vidur@netscape.com
2000-08-23 23:57:00 +00:00
jst%netscape.com
9abec73fbe 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 2000-08-23 17:27:06 +00:00
rods%netscape.com
ff8b581e7e GfxBtn now implements method CreateFrameFor so it can create the text node
with the proper style context parentage.
b=49740 =kmcclusk,attinasi
2000-08-23 10:38:42 +00:00
rods%netscape.com
d34d67bd9d patch from web converting it over to use the FilePicker
it also now uses the default directory
b=40976,47552 r=rods,kmcclusk
2000-08-18 18:16:12 +00:00
pollmann%netscape.com
c4303fad44 Bug 48736: Stop leaking form data every form submit (and fix 2 warnings), r=jst@netscape.com 2000-08-18 05:46:47 +00:00
rods%netscape.com
fea2898d59 removing "return NS_OK" because it keeps it from doing the call to
nsFrame which calls HandleRelease. Without HandleRelease the EventStateManager
mMouseGrabber never gets cleared and it keeps thinking events need to go to the view.
b=48792 r=pollmann
2000-08-17 22:39:13 +00:00
rods%netscape.com
ae00b95484 listbox - selecting with keyboard no longer allows you to stop on a disabled option, it skips them
as does page up and page down
combobox - selecting a disabled option didn't clear the "mouse down" flag and it still thought it was selecting
combobox - selecting a disabled option clears mSelectedIndex, this side effect could be seen by selected
a disabled item then clicking on a link and then hit "back",
b=48903 r=kmcclusk
2000-08-17 21:38:15 +00:00
rods%netscape.com
a54f17cc75 was not unregistering the listers correctly. Not they unreg with the
listener object.
b=48915 r=kmcclusk
2000-08-14 22:05:28 +00:00
rods%netscape.com
ad07c40567 added weak reference and ref counted event listener to listbox intead of
having the the non-recounted frame add itself. It is now the same as GfxList
b=21629, r=kmcclusk
2000-08-14 14:42:12 +00:00
dbaron%fas.harvard.edu
edbb56773e 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+) 2000-08-09 12:51:05 +00:00
sfraser%netscape.com
725b321659 More bustage fixing with style struct return types. 2000-08-09 00:52:02 +00:00
sfraser%netscape.com
9aa82a567b 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:38:00 +00:00
rods%netscape.com
284077eb18 minor fix for max-element-size. The minsize needs to be calc and cached during the regular reflow
there is too much state to be remember to calc the min size for when ever it is asked for it.
(see also fix nsBoxFramae.cpp)
b=40596 r=evaughan
2000-08-08 14:27:36 +00:00
dbaron%fas.harvard.edu
8be051707c Correct the combobox GetFrameForPoint by checking for visibility and foreground layer in all cases. b=36676 r=rods a=waterson 2000-08-06 19:24:48 +00:00