Commit Graph

1223 Commits

Author SHA1 Message Date
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
pollmann%netscape.com
a49ef987bb Bug 3326: ISINDEX frame; r=kmcclusk 2000-08-03 23:45:50 +00:00
pollmann%netscape.com
54daa78bb8 Bug 40533: browser crashes when submit nothing with event on file upload; r=kmcclusk 2000-08-03 23:39:33 +00:00
pollmann%netscape.com
5ede1ee556 Bug 42662: Values of disabled form elements should not be submitted; r=kmcclusk 2000-08-03 23:32:02 +00:00
pollmann%netscape.com
ff2bfd69c2 Bug 42616: form actions with anchor specified (#) do not work; r=kmcclusk 2000-08-03 23:03:58 +00:00
pollmann%netscape.com
eabf42211d Bug 45540: Badly nested form + focus input -> input not a submitter; r=kmcclusk 2000-08-03 22:32:54 +00:00
pollmann%netscape.com
c0143af2df Bug 26945: Image input onclick fires but doesn't allow cancel via return false; r=harishd 2000-08-03 22:17:14 +00:00
pollmann%netscape.com
40819e4ba8 Bug 40412: image inputs should send x and y not .x and .y if no name; r=harishd 2000-08-03 22:05:44 +00:00
rods%netscape.com
2ca4014e41 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
2000-08-03 14:13:58 +00:00
rods%netscape.com
7a2abfdc4e 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
2000-08-03 14:13:40 +00:00
rods%netscape.com
4d4f67aa29 backing out changes until I get them all in 2000-08-02 22:59:45 +00:00
rods%netscape.com
bf1a712ea4 if the size attr is ever evaled less than 1 then it is set to 1
b=46224, r=kmcclusk
2000-08-02 22:47:55 +00:00
rods%netscape.com
425d7a8ef8 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
2000-08-02 22:24:14 +00:00
rods%netscape.com
541017cd29 The frames need to be appended and the default method just asserts
b=41528 r=kmcclusk
2000-08-02 22:16:12 +00:00
rods%netscape.com
23c1105112 moved the RegUnRegAccessKey to the Destroy method
b=47302 r=kmcclusk
2000-08-02 22:12:11 +00:00
rods%netscape.com
24c1a2552e *** empty log message *** 2000-08-02 22:07:46 +00:00
rods%netscape.com
ba38e3d7d4 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
2000-08-02 22:06:33 +00:00
cmanske%netscape.com
ca24e6aca4 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 2000-08-02 01:47:55 +00:00
ftang%netscape.com
a62381980b 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
2000-07-31 00:37:06 +00:00
anthonyd%netscape.com
940be572c5 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
2000-07-28 22:12:45 +00:00
kin%netscape.com
0d68adaf46 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
2000-07-28 13:53:26 +00:00
warren%netscape.com
9d3410b0ca Cleaning up slashes, adding a few missed files. 2000-07-28 06:49:43 +00:00
sfraser%netscape.com
913b8a4431 Fix typo, bug 46260. r=pinkerton. 2000-07-28 00:56:37 +00:00
mjudge%netscape.com
7317580268 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. 2000-07-26 11:31:12 +00:00
ducarroz%netscape.com
71dd2a444f 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 2000-07-25 00:32:35 +00:00
dprice%netscape.com
eafe83d871 corrected locale info 2000-07-22 09:09:39 +00:00
dprice%netscape.com
dd37e37d03 adding a chrome manifest for layout
NOT IN THE BUILD
2000-07-22 08:23:42 +00:00
rods%netscape.com
4ba7e28964 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
2000-07-20 21:17:03 +00:00
jfrancis%netscape.com
3f885328d3 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 2000-07-16 06:43:34 +00:00
sfraser%netscape.com
bc5e13e277 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. 2000-07-14 21:58:50 +00:00
kin%netscape.com
baa1e3d567 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
2000-07-14 20:26:09 +00:00
mjudge%netscape.com
08d3777e05 storing the factory as a weak reference. speeding up ender-lite. r= anthonyd, r= jfrancis 2000-07-13 23:20:15 +00:00
mjudge%netscape.com
95d2399475 removing unnecessary ifdef 2000-07-13 23:19:21 +00:00