rods%netscape.com
472a8990ee
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
30df59f27b
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
faca5dee86
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
52f1883f5b
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
fc4bb6b57b
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
80e92797ec
fixing hpux bustage
...
r=vidur@netscape.com
2000-08-23 23:57:00 +00:00
jst%netscape.com
b3a4ade60d
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
21c98dbce6
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
a0e23d0ff2
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
1f94db428a
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
cdc1e8c4fe
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
602e714184
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
3a306b3f7a
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
b6e988da63
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
30392ee52a
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
7ff1e18afc
More bustage fixing with style struct return types.
2000-08-09 00:52:02 +00:00
sfraser%netscape.com
a19bcfbde3
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
5d49c00534
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
88f19cd78c
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
5c3da95c10
Bug 3326: ISINDEX frame; r=kmcclusk
2000-08-03 23:45:50 +00:00
pollmann%netscape.com
58151843a5
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
5b203b9391
Bug 42662: Values of disabled form elements should not be submitted; r=kmcclusk
2000-08-03 23:32:02 +00:00
pollmann%netscape.com
6134f95c96
Bug 42616: form actions with anchor specified (#) do not work; r=kmcclusk
2000-08-03 23:03:58 +00:00
pollmann%netscape.com
805382457a
Bug 45540: Badly nested form + focus input -> input not a submitter; r=kmcclusk
2000-08-03 22:32:54 +00:00
pollmann%netscape.com
eadffe52aa
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
83e282cb9c
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
2db1221bdc
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
62fe8fbb52
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
7e4291b72b
backing out changes until I get them all in
2000-08-02 22:59:45 +00:00
rods%netscape.com
8ae2e6d515
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
90faee705b
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
219eda2380
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
f21efa1af7
moved the RegUnRegAccessKey to the Destroy method
...
b=47302 r=kmcclusk
2000-08-02 22:12:11 +00:00
rods%netscape.com
4b645bbc3d
*** empty log message ***
2000-08-02 22:07:46 +00:00
rods%netscape.com
b3ab83a678
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
293fd81594
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
28cdab12bd
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
c8844de491
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
f7bae8dd4c
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
6c728d8e91
Cleaning up slashes, adding a few missed files.
2000-07-28 06:49:43 +00:00
sfraser%netscape.com
58995d0b6f
Fix typo, bug 46260. r=pinkerton.
2000-07-28 00:56:37 +00:00
mjudge%netscape.com
a2d557d597
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
492f0f0ce1
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
71b7353fef
corrected locale info
2000-07-22 09:09:39 +00:00
dprice%netscape.com
4b784b1214
adding a chrome manifest for layout
...
NOT IN THE BUILD
2000-07-22 08:23:42 +00:00
rods%netscape.com
406ab8e512
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
e04fc8670a
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
04c9c4bc50
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
b14023476c
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
7406ca2523
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
87141914e6
removing unnecessary ifdef
2000-07-13 23:19:21 +00:00
kin%netscape.com
84d952f9c3
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
2000-07-13 13:51:37 +00:00
dougt%netscape.com
c422448137
bug 40750.
...
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org .
a=brendan@mozilla.org
2000-07-12 23:31:31 +00:00
akkana%netscape.com
7dfa57ab2f
38232 (nsbeta2+): Make line break character configurable in the
...
output system, and use \n (the DOM linebreak character) when getting
output from text controls. Also fix some warnings. r=kin.
2000-07-10 19:46:59 +00:00
rods%netscape.com
021eb5de93
If the click is not on on item in the dropdown and not in the comboxbox display area then
...
the click count is set to zero so the JS event doesn't get fired. If it IS over the combobox
display area then the JS event does get fired.
b=40382 r=pollmann
2000-07-07 01:35:23 +00:00
rods%netscape.com
7d984aef6a
A "margin" variable isn't being set up in the correct spot.
...
b=41472 r=kmcclusk
2000-07-06 13:22:12 +00:00
cmanske%netscape.com
46738240e4
Fixed setting value on multiline textarea - get value from content node instead of frame. Fixed by kin, b=42646, r=mjudge, a=beppe
2000-07-05 23:38:26 +00:00
kin%netscape.com
6be6bbe159
Backout passing of PR_FALSE to GetText() in CreateAnonymousContent(). That
...
was a debug change in my tree that I accidentally included in my previous
checkin.
2000-07-05 21:23:35 +00:00
kin%netscape.com
10bf34f3db
Fix for bug #43679 : lose sender when scrolling in the addressing pane
...
Modified CreateAnonymousContent() to use mCachedState if it exists.
r=ducarroz@netscape.com
2000-07-05 20:51:08 +00:00
cls%seawood.org
33938e6100
Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner
2000-07-02 18:44:42 +00:00
kin%netscape.com
25f36a9875
Fix for bug #42178 Back causes data corruption
...
Modified CreateAnonymousContent() so that if the text widget has
a default value, it adds it as a text node under the div after it
is created. Add better error checking to avoid possible problems.
Removed calls to SetTextControlState() that were used
to initialize the text widget contents from GetPrefSize() because
it was causing a reflow within a reflow and the editor to be re-entered.
Added missing call to GetText() in Reset().
r=sfraser@netscape.com
2000-06-30 14:51:58 +00:00
cls%seawood.org
e1e6c5760f
Removed obsolete REQUIRES variable from every Makefile.in/makefile.win
2000-06-30 08:08:04 +00:00
jfrancis%netscape.com
246b4d9654
fixing max text length initialization for text fields. 43275
2000-06-30 05:51:34 +00:00
sfraser%netscape.com
07fb6b17c6
Fix for 44118 and nsbeta2+ bug 42625, r=kin. Update selection-based commands (e.g. cut/copy) when the selection changes from collapsed to non-collapsed and vice versa, not just when it is uncollapsed.
2000-06-29 22:36:10 +00:00
mjudge%netscape.com
1513d464f8
oninput and on change now firing. this should be working completely now. bug 42045 uncommenting out lines that I had commented out for someone on accident. also this fixes listeners not firing for textareas and only for text inputs. pdt+dogfood+ ect.
2000-06-29 05:17:58 +00:00
pollmann%netscape.com
dd1d82d182
Bug 41013: Prevent event passing from frames to content during document destruction r=joki
2000-06-29 02:02:43 +00:00
mjudge%netscape.com
ad26ff0747
removing observer. put in on accident. editor will handle oninput changes. if not i can un comment this
2000-06-28 04:16:44 +00:00
mjudge%netscape.com
16dba34403
r=jfrancis,r=hyatt 42045 beta2+ 42675 beta2+ hitting return on text area not putting new line. onchange,oninput.
2000-06-28 04:00:12 +00:00
ducarroz%netscape.com
3a91c0475b
Fix for bug 43575. Back out a line that Rods accidently change while checkin rev 1.40 R=hyatt
2000-06-27 05:26:28 +00:00
rods%netscape.com
0bb3a1f562
Better fix for printf spewage.
2000-06-23 13:19:50 +00:00
vidur%netscape.com
a2ff5b006c
Getting rid of debug spewage left in by one of the last couple of checkins
2000-06-23 05:51:07 +00:00
mjudge%netscape.com
b1d39dcd30
fix for 42188,42347 r=akkana . use selection controller to tell the doc if it should display non-text-selection.
2000-06-23 04:01:19 +00:00
rods%netscape.com
e150ad9e29
It wasn't call the NavQuirks sizing code when in NavQuirks mode.
...
Bug 42521,41629 r=kmcclusk
2000-06-23 02:30:38 +00:00
dbaron%fas.harvard.edu
aea58e73b1
Fix leak of nsInputDimensionSpec. r=waterson
2000-06-22 22:49:02 +00:00
pinkerton%netscape.com
3091226b99
fix leaked timer, bug 28226, r=hyatt.
2000-06-22 08:42:18 +00:00
pollmann%netscape.com
76aa7b59d5
Bug 41585: Don't chop of query string when POSTing forms, only when GETting them r=harishd
2000-06-22 02:49:01 +00:00
pollmann%netscape.com
7ab64c0cc4
Bug 25300: Enable activation of buttons by the keyboard (space or enter) r=nisheeth
2000-06-21 00:40:11 +00:00
hyatt%netscape.com
4cfbe9e471
Turning on the new tree widget. Bug#30511, r=evaughan
2000-06-19 22:57:39 +00:00
sfraser%netscape.com
565e046e27
Fix bug 42145 -- need to clear the editor out of the editor controller when the text frame is going away (like when its content is hidden in a popup window). r=kin
2000-06-16 06:09:33 +00:00
rods%netscape.com
cbea32e9e0
removed the incremental reflow targeted at the display text
...
instead we just reflow the text and the button each time.
b=40644 r=kmcclusk
2000-06-15 13:02:10 +00:00
rods%netscape.com
b3961cd107
ifdef'ing out the where we get the value of the label
...
currently we aren't supporting "label" for options because they get
concatentated with the content
b=4050 r=kmcclusk
2000-06-15 13:00:23 +00:00
rbs%maths.uq.edu.au
29f1b6960b
Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com
2000-06-15 09:54:41 +00:00
pollmann%netscape.com
f6cba04351
Bug 32770: Save scroll position in session history r=nisheeth
2000-06-15 00:35:46 +00:00
mjudge%netscape.com
6364acbca2
handling of on input. adding selection change notifications to commands. we must tell the document when selection happens in the input fields. regriession from 34986, r=saari a=pdt+
2000-06-14 03:01:31 +00:00
rods%netscape.com
67cb90ee88
moved the unreg of the access keys from the destructor to the Destroy method
...
r=dcone, b=41246
2000-06-14 01:16:08 +00:00
mjudge%netscape.com
5d3a76913f
didnt implement selection. bug=34896. r=hyatt
2000-06-09 21:55:50 +00:00
akkana%netscape.com
a16b230ff3
34896: Fix ender lite build on Unix. r=mjudge
2000-06-09 20:50:24 +00:00
mjudge%netscape.com
a7b2a05404
turning on ender-lite. bug = 34896
2000-06-09 09:19:28 +00:00
mjudge%netscape.com
57de694b1c
form elements now accept a nsIFormFrame instead of the implementation as the parameter to allow others that inheirit from nsIFormFrame to call "CanSubmit". bug=34896 ender-lite, r=hyatt
2000-06-09 07:16:20 +00:00
mjudge%netscape.com
8d02b96d90
not in build, bug 34896
2000-06-09 05:13:32 +00:00
mjudge%netscape.com
60e591fabd
bug=34896 fixing reflow reason from nsFileControlFrame to send resize when resizing its input field. fixing mouseclick to not be so hardcoded so that the ender-lite text field still works for the "browse" button. a=beppe r=hyatt
2000-06-07 01:21:20 +00:00
mjudge%netscape.com
1c77290b49
bug=34896 setting up initial text to work after evaughns box changes to ender-lite. a=beppe, r=evaughn,r=hyatt.
2000-06-07 01:21:03 +00:00
evaughan%netscape.com
257f4b95ae
Fixed for ender-lite painting problems. bug #34896
...
-r mjudge
2000-06-06 01:25:03 +00:00
buster%netscape.com
0d2ecc5b7a
bug 36367
...
r=rods
fix was to pass in the correct width during certain types of incremental reflows.
2000-06-05 03:50:46 +00:00
warren%netscape.com
958ed96edd
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
2000-06-03 09:46:12 +00:00
rods%netscape.com
ad5bd8dcb3
no longer subtracting off scrollbar width when mComputedSize is set
...
b=36548, r=kmcclusk
2000-06-02 20:59:57 +00:00
brade%netscape.com
2af2d2cbc0
#ifdef appropriately for ENDER_LITE (especially Macintosh); blocking Macintosh development; bug #41323 ; a=beppe; r=kin; a/r=mjudge
2000-06-02 20:57:10 +00:00
rods%netscape.com
04b81da9da
now checks to see if an explicit width or height is being set and then set the maxElementSize properly
...
it already did this for NavQuirks, this is for Standard mode
Bug 40621 r=dcone
2000-06-02 14:37:27 +00:00
mjudge%netscape.com
2a9c083b71
bug = 34896. changing caret use to not demand a presshell. r=hyatt
2000-06-01 02:39:52 +00:00
pollmann%netscape.com
9580066b57
Bug 22983: Fix extra newlines in bugzilla updates when not logged into bugzilla on Linux. r=nisheeth
2000-06-01 02:04:51 +00:00