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
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
rods%netscape.com
46e78ab3ba
40000 - right-click events don't go through listboxes (onmoused
...
44454 - Can't drag-scroll/-select in single-select HTML listbox
42301 - select generates onchange when it shouldn't
33421 - <optgroup> in <select> breaks scrolling drop down lists
14771 - GFX list/combo box doesn't respond to keyboard input
b=40000, 44454, 42301, 33421, 14771 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75494 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 14:13:58 +00:00
rods%netscape.com
b077844144
47302 - moved the RegUnRegAccessKey to the Destroy Method
...
44788 - Comboboxes do not obey style height
42661 - javascript "selected = true" doesn't inform onChange of
b=47302, 44788, 42661 r=kmclusk
git-svn-id: svn://10.0.0.236/trunk@75493 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 14:13:40 +00:00
rods%netscape.com
c936b8f011
backing out changes until I get them all in
...
git-svn-id: svn://10.0.0.236/trunk@75436 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:59:45 +00:00
rods%netscape.com
a7f8784c75
if the size attr is ever evaled less than 1 then it is set to 1
...
b=46224, r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75433 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:47:55 +00:00
rods%netscape.com
0598d4e64a
47302 - moved the RegUnRegAccessKey to the Destroy Method
...
44788 - Comboboxes do not obey style height
42661 - javascript "selected = true" doesn't inform onChange of
b=47302, 44788, 42661 r=kmclusk
git-svn-id: svn://10.0.0.236/trunk@75432 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:24:14 +00:00
rods%netscape.com
256f1f523e
The frames need to be appended and the default method just asserts
...
b=41528 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75431 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:16:12 +00:00
rods%netscape.com
389ee6e6a0
moved the RegUnRegAccessKey to the Destroy method
...
b=47302 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75430 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:12:11 +00:00
rods%netscape.com
e0ca215d75
*** empty log message ***
...
git-svn-id: svn://10.0.0.236/trunk@75426 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:07:46 +00:00
rods%netscape.com
5e504902cc
The script notification happens before the radiobox gets a chance to change its value
...
so they must return the opposite value for themselves. They don't want to actually set their
values because the script could cancel. So the idea here is to let them know before the script
call that they should return their "future" value (the opposite of their current value)
plus I made a minor change that allows the radio button to use the PaintBackground code to draw the "dot"
but it creates a tmp color struct so the color is correct.
b=42972,37517 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75423 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:06:33 +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
ftang%netscape.com
b84273a322
fix 5313. r-hnotta a=ftang listen to the ACCEPT-CHARSET attribute
...
before listen to the docuement charset to decide which charset
for form submition
git-svn-id: svn://10.0.0.236/trunk@75217 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 00:37:06 +00:00
anthonyd%netscape.com
1355a05c4e
bug fixes:
...
39529 - caret width not correct for single/muti line textfields, which relied on:
46445 - nsLookAndFeel needs to be a service.
r: mjudge@netscape.com , kin@netscape.com
a:beppe
git-svn-id: svn://10.0.0.236/trunk@75084 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:12:45 +00:00
kin%netscape.com
b200b0dc2d
Fix for bug #46657 : an Undo past default text value in a TextWidget
...
Modified CreateAnonymousContent() to disable editor undo before
setting the default value, and then reenable it afterwards.
r=brade@netscape.com
git-svn-id: svn://10.0.0.236/trunk@75066 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 13:53:26 +00:00
warren%netscape.com
e1a3e3e230
Cleaning up slashes, adding a few missed files.
...
git-svn-id: svn://10.0.0.236/trunk@75024 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 06:49:43 +00:00
sfraser%netscape.com
2706e7255d
Fix typo, bug 46260. r=pinkerton.
...
git-svn-id: svn://10.0.0.236/trunk@74987 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:56:37 +00:00
mjudge%netscape.com
04f7c7cd04
46209 one of the last beta 2 blockers. adding ability to frames to tell if part of them is visible. idl change to allow nsISelectionController to give CheckVisibility. PresShell actually has the code for nsGfxTextControlFrame to call.
...
git-svn-id: svn://10.0.0.236/trunk@74807 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 11:31:12 +00:00
ducarroz%netscape.com
62d3778d9e
Fix for bug 46152. Checkin fix for kin. Partially backup Rods' last change because the reflow function won't be called when the text control is nested into a box (textfield). R=ducarroz
...
git-svn-id: svn://10.0.0.236/trunk@74720 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 00:32:35 +00:00
dprice%netscape.com
3975c04c79
corrected locale info
...
git-svn-id: svn://10.0.0.236/trunk@74649 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 09:09:39 +00:00
dprice%netscape.com
582d8a8002
adding a chrome manifest for layout
...
NOT IN THE BUILD
git-svn-id: svn://10.0.0.236/trunk@74646 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 08:23:42 +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
jfrancis%netscape.com
6d22c9ff81
making the text frame use nsIEditorObserver (instead of nsIDocumentObserver). this is for bug 42329: autocompletion firing in the middle of uncommitted ime entry. r=fm
...
git-svn-id: svn://10.0.0.236/trunk@74300 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-16 06:43:34 +00:00
sfraser%netscape.com
90b67a19b8
Fix for nsbeta2+ bug 31134 -- paste in edit menu not enabled correctly. Add a new command set for clipboard-related menu items, and fire it on Copy. Also ensure that Undo/Redo commands are updated correctly, and avoid bogus command updating in plain text compose (since that caused JS errors). r=kin,jfrancis.
...
git-svn-id: svn://10.0.0.236/trunk@74262 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 21:58:50 +00:00
kin%netscape.com
19eb078c58
Fix for bug #45002 : Password displayed in clear text.
...
layout/html/forms/src/nsGfxTextControlFrame2.cpp
- Modified CreateAnonymousContent() to disable forced
refreshes and reflows in the editor, and call
SetTextControlFrameState() to set the intial value
of the text widget.
- Fixed leak in SetTextControlFrameState().
editor/public/nsIHTMLEditor.h
- Added DisableForcedUpdates and DisableForcedRefreshes flags.
editor/base/nsEditor.cpp
- Modified EndUpdateViewBatch() so that it uses the new
DisableForcedUpdates and DisableForcedRefreshes flags.
- We now also close the reflow batch before we close the
update batch.
r=brade@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74257 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 20:26:09 +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
mjudge%netscape.com
1e328a1b18
removing unnecessary ifdef
...
git-svn-id: svn://10.0.0.236/trunk@74202 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:19:21 +00:00
kin%netscape.com
d848b855b4
Fix for bug #43208 : readonly text fields are not readonly
...
Modified CreateAnonymousContent() and AttributeChanged()
to set the editor's readonly and disabled flags.
r=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74165 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 13:51:37 +00:00
dougt%netscape.com
db2c70c95b
bug 40750.
...
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org .
a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74127 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:31:31 +00:00