652 Commits

Author SHA1 Message Date
rods%netscape.com
f559e7aea6 changed add ref to from NS_ADDREF to NS_IF_ADDREF
Bug 63329, r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@84566 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 14:06:34 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
rods%netscape.com
92dcc2bd43 When focus is removed and the the CBX is dropped down it rolls it up
r=kmcclusk, sr=buster Bug 64079


git-svn-id: svn://10.0.0.236/trunk@84369 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 12:22:29 +00:00
dbaron%fas.harvard.edu
b4de65c19e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
rods%netscape.com
2d35ca6701 When clicking away from the dropdown, it wasn't resetting itself correctly.
If only the mouse was being used for selection, then it needs to reset itself to the state before dropping down
if arrow keys had been used then it needs to keep that selection
The combobox chaches the current selection, so when arrow keys are used it has the correct selection
when the mouse is used it holds the old selection. So therefore, we can compare against it
to determine what to do.
Bug 63247
r=waqar sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@83918 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 23:25:40 +00:00
rods%netscape.com
857e0d4343 53259 - min-width and max-width not supported on form control
53457 - multiple items can be selected in select size=1 or in single select listbox
50376 - Cannot select with DOM option on dynamically created SELECT element
62442 - Incorrect extended selection behavior in listboxes

First big change is getting rid of local variables for border and padding and use the ones in the reflow state
Changed "IsInDropDownMode() == PR_TRUE && mComboboxFrame" to "IsInDropDownMode() == PR_TRUE"
Fix for regression from changing of how key events work (no bug assigned), this fix enabled the user to hit 'f' or 'F' and get to the first item that start with 'f' or 'F'
r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@83901 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:15:28 +00:00
rods%netscape.com
43a2ffa48a 53259 - min-width and max-width not supported on form control
59035 - type of a BUTTON should default to submit when type isn't specified
r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@83900 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:12:06 +00:00
rods%netscape.com
f5e6a46f6c 53259 - min-width and max-width not supported on form control
r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@83899 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:09:55 +00:00
rods%netscape.com
a649f72fbb 53259 - min-width and max-width not supported on form control
58220 - Select boxes rendering weird when using CSS to small value
r=kmclusk, sr=buster


git-svn-id: svn://10.0.0.236/trunk@83898 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:09:00 +00:00
rods%netscape.com
7e2f11196a Removed unneded setting of index to kNothingSelected when an disabled option is selected
r=blake, sr=buster Bug 57580


git-svn-id: svn://10.0.0.236/trunk@83798 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 21:36:01 +00:00
rods%netscape.com
7327a3401e removing unneeded includes
r=kmcclusk sr=buster b=62408


git-svn-id: svn://10.0.0.236/trunk@83533 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 12:17:11 +00:00
rods%netscape.com
3a1a98af2f removed where the input element was telling the rado/checkbox to return the opposite value
now it changes it value before the DOM call (script) and then if the event is cancelled
it sets the value back (which doesn't happen very often)
r=pollmann,jst sr=buster  b=57137,57239,58460


git-svn-id: svn://10.0.0.236/trunk@83473 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 16:05:29 +00:00
bryner%uiuc.edu
aae64e984b Mousewheel bugs 29244, 50339, 42313, 33733, and 57598. r=rods,pavlov. sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@83448 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 07:28:19 +00:00
rods%netscape.com
44f7461592 removing unneeded/unused code/methods
r=kmcclusk, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83144 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:39:28 +00:00
kmcclusk%netscape.com
622694d09f Removing these unneeded files from from cvs, they have been in the build in years
r=kmcclusk,buster


git-svn-id: svn://10.0.0.236/trunk@82697 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:41:14 +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
waqar%netscape.com
0dc40a6753 #=53502
r=rods@netscape.com
a=buster@netscape.com
d=Fixes the problem with listbox and modifier keys.


git-svn-id: svn://10.0.0.236/trunk@81018 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 14:20:02 +00:00
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
rods%netscape.com
17abdbdfb2 Focus rect is now drawn and erased directly via C++ code. Focus comes from "SetFocus" being set
on the content node which calls the frame. The frame is notified of Blur via thecontent node
watching for NS_CONTENT_BLUR events.
The rule we are removing from html.css is responsible for drawing in the focus,
but it causes the combobox, the dropdown and all the options to have their style reresolved.
Bug 32920, r=attinasi, b=buster


git-svn-id: svn://10.0.0.236/trunk@80349 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 13:39:07 +00:00
heikki%netscape.com
82a70c8b59 Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods.
git-svn-id: svn://10.0.0.236/trunk@79545 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:47:04 +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
attinasi%netscape.com
9750b16492 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
git-svn-id: svn://10.0.0.236/trunk@78886 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 19:41:27 +00:00
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
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
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
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
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
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
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
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
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
f0c8471679 Bug 26945: Image input onclick fires but doesn't allow cancel via return false; r=harishd
git-svn-id: svn://10.0.0.236/trunk@75524 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:17:14 +00:00
pollmann%netscape.com
7f1111f79f Bug 40412: image inputs should send x and y not .x and .y if no name; r=harishd
git-svn-id: svn://10.0.0.236/trunk@75513 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:05:44 +00:00