1249 Commits

Author SHA1 Message Date
rods%netscape.com
5c976bd892 removing bloat - removed unneeded boolean and an nsIHTMLContent pointer
b=51886 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@78641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:15:57 +00:00
rods%netscape.com
e1b15f00aa wasn't setting status to NS_FRAME_COMPLETE
b=49010 r=buster


git-svn-id: svn://10.0.0.236/trunk@78640 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:13:12 +00:00
kin%netscape.com
9b8fc58349 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


git-svn-id: svn://10.0.0.236/trunk@78516 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 14:55:49 +00:00
pollmann%netscape.com
f972f867ca 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
git-svn-id: svn://10.0.0.236/trunk@78494 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 05:53:28 +00:00
mscott%netscape.com
9b2caee4b9 Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@78452 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:24:13 +00:00
heikki%netscape.com
6f651fdbf2 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.
git-svn-id: svn://10.0.0.236/trunk@78420 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 21:03:26 +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
akkana%netscape.com
383539d22b 50821: don't force a bogus 3.2 doctype, and eliminate OutputNoDoctype flag. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@78401 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:40:14 +00:00
sfraser%netscape.com
fb865adb8e 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
git-svn-id: svn://10.0.0.236/trunk@78343 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 05:26:25 +00:00
sfraser%netscape.com
fc51db9344 Fix bug 49620 -- make click-drag select work in comboboxes again. r=rods
git-svn-id: svn://10.0.0.236/trunk@78335 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 04:39:02 +00:00
pollmann%netscape.com
c265ced149 Bug 3326: IsIndex implementation (not part of build)
git-svn-id: svn://10.0.0.236/trunk@78254 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 07:37:49 +00:00
dbaron%fas.harvard.edu
e52da02292 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.


git-svn-id: svn://10.0.0.236/trunk@78230 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:17:26 +00:00
buster%netscape.com
be5d5e02df bug 40596 (input type=text form controls with width:auto are not rendering correctly in table cells)
r=rods


git-svn-id: svn://10.0.0.236/trunk@78169 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:22:55 +00:00
rods%netscape.com
72efd65ccb 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


git-svn-id: svn://10.0.0.236/trunk@78138 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 13:43:13 +00:00
vidur%netscape.com
b10d4adc57 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
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
pollmann%netscape.com
5c96dc1267 Bug 50143: All radio buttons should be unchecked before checking new one when restoring frame state r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77697 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 00:59:31 +00:00
anthonyd%netscape.com
294024ffbd fix for bug# 50847 (regression)
r=kin


git-svn-id: svn://10.0.0.236/trunk@77676 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:38:26 +00:00
rods%netscape.com
b05e5126c3 backed out changes, for build
git-svn-id: svn://10.0.0.236/trunk@77666 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 22:45:59 +00:00
rods%netscape.com
4150f081f1 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


git-svn-id: svn://10.0.0.236/trunk@77663 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 22:11:05 +00:00
anthonyd%netscape.com
74d7b222e6 fix for bug# 49957 (this is really mjudge checking in)
r: anthonyd


git-svn-id: svn://10.0.0.236/trunk@77581 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 04:13:50 +00:00
hyatt%netscape.com
8e0776ee66 Putting fix for 42492 back in. r=ben
git-svn-id: svn://10.0.0.236/trunk@77515 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:05:59 +00:00
rods%netscape.com
1961c76b08 Backing out Hyatt's changes to fix breakage.
git-svn-id: svn://10.0.0.236/trunk@77476 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 13:39:18 +00:00
rods%netscape.com
5a82f60381 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


git-svn-id: svn://10.0.0.236/trunk@77475 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 13:24:38 +00:00
hyatt%netscape.com
b768397018 Fix for 42492. r=ben
git-svn-id: svn://10.0.0.236/trunk@77469 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 08:36:50 +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
warren%netscape.com
b8f243ef1f Bug 15623. Fixed registration of nsKeygenHandler.
git-svn-id: svn://10.0.0.236/trunk@77214 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:48:50 +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
rods%netscape.com
545c8c6a7e Only let left btn clicks through for popping up the dialog
b=49904 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@77202 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 13:25:50 +00:00
rods%netscape.com
034398419f 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


git-svn-id: svn://10.0.0.236/trunk@77201 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 13:12:59 +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
sfraser%netscape.com
34ede77ed5 Fix UMR bug 49567 by initting a member variable. Also use NS_LITERAL_STRING in one place. r=jfrancis.
git-svn-id: svn://10.0.0.236/trunk@77022 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 01:27:48 +00:00
jdunn%netscape.com
6eeb15a270 fixing hpux bustage
r=vidur@netscape.com


git-svn-id: svn://10.0.0.236/trunk@76987 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 23:57:00 +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
rods%netscape.com
e4d9892690 GfxBtn now implements method CreateFrameFor so it can create the text node
with the proper style context parentage.
b=49740 =kmcclusk,attinasi


git-svn-id: svn://10.0.0.236/trunk@76959 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 10:38:42 +00:00
rods%netscape.com
b702660fb2 patch from web converting it over to use the FilePicker
it also now uses the default directory
b=40976,47552 r=rods,kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76639 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 18:16:12 +00:00
pollmann%netscape.com
6c9abb09ae Bug 48736: Stop leaking form data every form submit (and fix 2 warnings), r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76618 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 05:46:47 +00:00
rods%netscape.com
a62d36cc93 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


git-svn-id: svn://10.0.0.236/trunk@76588 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 22:39:13 +00:00
rods%netscape.com
652bee7703 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


git-svn-id: svn://10.0.0.236/trunk@76583 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:38:15 +00:00
rods%netscape.com
690d980baf was not unregistering the listers correctly. Not they unreg with the
listener object.
b=48915 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76300 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:05:28 +00:00
rods%netscape.com
1562d3aab9 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


git-svn-id: svn://10.0.0.236/trunk@76280 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 14:42:12 +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
sfraser%netscape.com
607439019b More bustage fixing with style struct return types.
git-svn-id: svn://10.0.0.236/trunk@75838 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 00:52:02 +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
rods%netscape.com
b5b27bd2c4 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


git-svn-id: svn://10.0.0.236/trunk@75787 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 14:27:36 +00:00
dbaron%fas.harvard.edu
f5c556e039 Correct the combobox GetFrameForPoint by checking for visibility and foreground layer in all cases. b=36676 r=rods a=waterson
git-svn-id: svn://10.0.0.236/trunk@75690 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 19:24:48 +00:00
pollmann%netscape.com
88223f90eb Bug 3326: ISINDEX frame; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75563 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:45:50 +00:00
pollmann%netscape.com
3e47a7f9ad Bug 40533: browser crashes when submit nothing with event on file upload; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75559 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:39:33 +00:00
pollmann%netscape.com
7db58c7c36 Bug 42662: Values of disabled form elements should not be submitted; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75557 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:32:02 +00:00
pollmann%netscape.com
591cd3bd14 Bug 42616: form actions with anchor specified (#) do not work; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75546 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:03:58 +00:00
pollmann%netscape.com
f8b1d4c014 Bug 45540: Badly nested form + focus input -> input not a submitter; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75534 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:32:54 +00:00