928 Commits

Author SHA1 Message Date
akkana%netscape.com
5cb91b3258 23336: Fix double middle-mouse paste problem. This is a temporary fix,
making the smallest possible change so as not to rock the beta1 boat.
I'll look at more sweeping fixes later.  r=saari,a=leaf


git-svn-id: svn://10.0.0.236/trunk@61261 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 00:57:46 +00:00
rods%netscape.com
f3c30277d4 ifdef'ing out a badly formed optimization for incremental reflow.
r=buster b=24798


git-svn-id: svn://10.0.0.236/trunk@61068 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 05:20:21 +00:00
rods%netscape.com
188627a19c removing unused varible to remove warning
r=self


git-svn-id: svn://10.0.0.236/trunk@61067 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 05:17:59 +00:00
sfraser%netscape.com
32d1e793b2 Fix command updating for GFX text widgets. for bug 18395. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@61009 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:41:59 +00:00
rods%netscape.com
9616895e6a radio button now remembers state, and in standard mode it will always select
the first item. It will also perform rradiobutton behavior when the frame are hidden (no existent)
b=27063 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@60954 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 23:02:55 +00:00
rods%netscape.com
052a391633 added method
b 21945 r=pollmann


git-svn-id: svn://10.0.0.236/trunk@60893 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 15:57:13 +00:00
rods%netscape.com
5609eaece7 They now cache their state properly in the PresState
b 27063 r=kmmclusk


git-svn-id: svn://10.0.0.236/trunk@60882 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 15:05:56 +00:00
rods%netscape.com
503225ca70 They now cache their state properly in the PresState
b 21945 r=pollmann


git-svn-id: svn://10.0.0.236/trunk@60880 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 15:04:38 +00:00
buster%netscape.com
4ace9944ca backed out a mistake (wrong disk in the removable drive at home), put in the real file
sorry if anybody caught this


git-svn-id: svn://10.0.0.236/trunk@60824 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 06:51:45 +00:00
buster%netscape.com
04a27e332a no bug number
little fix r=travis checking to make sure docshell size doesn't go negative


git-svn-id: svn://10.0.0.236/trunk@60814 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 06:37:16 +00:00
buster%netscape.com
5a06148a81 enabled "physical" and "virtual" as synonyms for <textarea> "wrap" attribute value
bug = ???, it's been reassigned to someone else, this was part of a larger problem
that has mostly been fixed already
r=rods

checked in some debug-only metrics code that's been sitting in my tree for a few weeks
r=rods

bug 24950
the frame was creating additional initial reflows for itself indirectly and unnecessarily in some cases
r=hyatt (though he hasn't had time for a thorough review of this yet, so I'm going out on a limb a bit
by checking it in prematurely.  But I'm very confident, I've done tons of testing, and I'll still insist
on a thorough code review of this change.)


git-svn-id: svn://10.0.0.236/trunk@60682 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 02:07:50 +00:00
buster%netscape.com
c926a28d67 enabled "physical" and "virtual" as synonyms for <textarea> "wrap" attribute value
bug = ???, it's been reassigned to someone else, this was part of a larger problem
that has mostly been fixed already
r=rods


git-svn-id: svn://10.0.0.236/trunk@60681 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 02:03:36 +00:00
rods%netscape.com
68b0b47186 Let's try a non-COMPtr fix, I wish COMPtr would work the same on all platforms....
git-svn-id: svn://10.0.0.236/trunk@60602 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 17:49:11 +00:00
rods%netscape.com
75d5380d64 same old thing Linux hates comparing a nsCOMPtr to a non-OMCPtr
git-svn-id: svn://10.0.0.236/trunk@60600 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 17:01:35 +00:00
rods%netscape.com
089f6bed81 now remembers state when selected for single select combos and listboxes,
it does not remember mulitple selections (more work needed in content class)
converted over to rnsCOMptr as much as I could
b=21945, r=pollmann


git-svn-id: svn://10.0.0.236/trunk@60597 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 16:21:37 +00:00
pavlov%netscape.com
b3eb5c0605 fix for combo boxes not grabbing the mouse on linux (fixes bugs 7898 and 26273) r=waqar
git-svn-id: svn://10.0.0.236/trunk@60519 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 22:26:36 +00:00
nhotta%netscape.com
d93c3cf8c0 Added a function to return path name in unicode, contributed by m_kato@ga2.so-net.ne.jp, edited by nhotta, bug 22863, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@60365 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:08:56 +00:00
evaughan%netscape.com
a9aadf75b0 1) Fixed freeze because of sync drawing in forms
2) Fixed fieldset blocker

-r rods, granrose


git-svn-id: svn://10.0.0.236/trunk@60336 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 21:36:28 +00:00
mjudge%netscape.com
44c8697114 big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
git-svn-id: svn://10.0.0.236/trunk@60278 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 04:35:51 +00:00
mcafee%netscape.com
9d2e4e683c Adding nsGfxListControlFrame.cpp for Unix, should fix zero bloat stats. a=don
git-svn-id: svn://10.0.0.236/trunk@60267 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 01:12:22 +00:00
rods%netscape.com
18b173e092 changing nsCOMPtr to weak references for PresContext
a=leaf, r=self, bug=bloat&leak went up


git-svn-id: svn://10.0.0.236/trunk@60260 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 23:20:56 +00:00
evaughan%netscape.com
a268db39c4 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod


git-svn-id: svn://10.0.0.236/trunk@60253 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 22:02:40 +00:00
rods%netscape.com
6f5ff9e9f5 forgot to remove unneeded files
git-svn-id: svn://10.0.0.236/trunk@60251 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 20:49:23 +00:00
rods%netscape.com
7487b46e5f ifdef'ing out some new functionality for radio buttons in standard mode
a=leaf r=self


git-svn-id: svn://10.0.0.236/trunk@60250 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 20:19:19 +00:00
rods%netscape.com
cffeb53a49 removing unneeded native frames and unneeded frame classes that these derived from
fixing checkbox and radiobutton state restore
fixing right btn click on dropdown
adding in initial work for accesskey
bug 17027,26296,27063,7559; carpool a=leaf; r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@60248 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 19:34:39 +00:00
dp%netscape.com
63c39397dd Fixing leak of observers when notification of OnSubmit(). This fixes
walletservice from being leaked. r=pollmann


git-svn-id: svn://10.0.0.236/trunk@60070 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 05:31:08 +00:00
jdunn%netscape.com
0a5be1f000 changing false to PR_FALSE... since false isn't defined on all platforms
git-svn-id: svn://10.0.0.236/trunk@60057 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 03:30:53 +00:00
alecf%netscape.com
0338886e9a don't leak an atom (forgot NS_OK)
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@59980 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 08:02:22 +00:00
jfrancis%netscape.com
a8e66f4adc fix for 24051: modifying password field corrupts pw text; checked in on behalf of buster; r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@59974 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 02:48:36 +00:00
valeski%netscape.com
24dc7be063 26219. r=rhp. Form submission file extension to MIME type mapping was broken. The means that we weren't reporting the correct MIME type of files that were being uploaded
git-svn-id: svn://10.0.0.236/trunk@59888 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 18:37:51 +00:00
sdagley%netscape.com
69d7139a1e Fix #22428 where attachments didn't work on Mac as the length of the form data wasn't being computed properly. In nsFormFrame::ProcessAsMultipart now uses an nsILocalFile to get file size rather than PR_GetFileInfo as the path to the file is in native format and PR_GetFileInfo doesn't handle native Mac paths. r=saari
git-svn-id: svn://10.0.0.236/trunk@59746 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 05:55:54 +00:00
sdagley%netscape.com
c109484ffd nsFormFrame::GetFileNameWithinPath didn't work properly for Mac or Unix paths. Found as part of investigation of bug #22428 but not a fix by itself. r=gagan
git-svn-id: svn://10.0.0.236/trunk@59737 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 04:11:51 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
kin%netscape.com
77aab65125 Fix for bug #20387 (scrollbars appearing in single line text control)
mozilla/layout/forms/src/nsGfxTextControlFrame.cpp
    mozilla/layout/forms/src/nsGfxTextControlFrame.h
      - Added GetFirstFrameWithIID() utility method.
      - Modified InitializeTextControl() so that it sets the
        single line text control's viewport overflow value
        to NS_STYLE_OVERFLOW_SCROLLBARS_NONE.

r=buster@netscape.com


git-svn-id: svn://10.0.0.236/trunk@59519 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 14:12:01 +00:00
rods%netscape.com
09cfbea54e removed all native widget frame implementations
b=(bugzilla is down, it's the one where I am suppose to remove all the extra cruft) r=dcone


git-svn-id: svn://10.0.0.236/trunk@59425 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 22:58:25 +00:00
buster%netscape.com
bd93fcecb2 fixed bug 25762
r=beard


git-svn-id: svn://10.0.0.236/trunk@59363 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 05:26:27 +00:00
rods%netscape.com
c8eb9abdc2 added the caching of the restore state until the list frame gets reset
removed the positioning of the dropdown at the bottom of reflow
r kmcclusk b=21945,25059


git-svn-id: svn://10.0.0.236/trunk@59317 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:59:55 +00:00
rods%netscape.com
2190ae8e89 add extra debug; added some inremenal reflow code;
doing much better job check return vars;GetText now check for NS_OK;
r dcone, b 24292


git-svn-id: svn://10.0.0.236/trunk@59309 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:36:50 +00:00
mscott%netscape.com
ef72a6f5f0 Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
tweaks to make doc loader observer scriptable
tweaks to make doc loader observer scriptable
r=travis


git-svn-id: svn://10.0.0.236/trunk@59167 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 06:08:05 +00:00
leaf%mozilla.org
35f118f861 backing out rods to fix options lists
git-svn-id: svn://10.0.0.236/trunk@59088 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 19:03:34 +00:00
rods%netscape.com
f8ad740dac using correct usesage pattern for getting and seeting the FrameState
Added in my new reflow code with an ifdef so I can work on it and fix other bugs
fixed the checking of return codes for getHTMLAttr
removed ShouldScrollFrameIntoView, the presshell can now do this.
also commented out the call to Position the Dropdown
r=dcone b=24292


git-svn-id: svn://10.0.0.236/trunk@59073 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:24:49 +00:00
rods%netscape.com
668b8285ec added check so it doesn't do a reset on the incremental reflow
r=dcone bug=none


git-svn-id: svn://10.0.0.236/trunk@59071 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:04:19 +00:00
rods%netscape.com
a8f719513a reworked reflow to better support incremental reflow
bugs 6747,18602 r=dcone


git-svn-id: svn://10.0.0.236/trunk@58940 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 15:57:30 +00:00
pinkerton%netscape.com
969eb7ec38 fix for bug 25092 (UMR's in drag/drop part of ESM). Again, we weren't copying the full event before redispatching. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@58808 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 21:52:47 +00:00
norris%netscape.com
0dd1063455 Fix 23227 Document object vulnerability
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@58789 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:33:57 +00:00
pinkerton%netscape.com
492dfa88ca fix for bug 25026 where context menus wouldn't show up on input fields because the refpoint part of the nsEvent was never copied from the clientX/Y of the nsIDOMEvent passed to us. r=akkana.
git-svn-id: svn://10.0.0.236/trunk@58700 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 02:08:02 +00:00
pollmann%netscape.com
1dac48338c Bug 18649: non FormControlFrame derived form elements also only scroll when not at all visible r=rods
git-svn-id: svn://10.0.0.236/trunk@58636 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 22:19:39 +00:00
nisheeth%netscape.com
d23c598d3c r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter.
git-svn-id: svn://10.0.0.236/trunk@58611 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 16:00:44 +00:00
rods%netscape.com
30f6bf7b3d added assertion for the creation of native widgets r=dcone b=17027
git-svn-id: svn://10.0.0.236/trunk@58600 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:26:09 +00:00
rods%netscape.com
e061d60a88 changed signature of GetFont b=905 r=dcone
git-svn-id: svn://10.0.0.236/trunk@58599 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:25:46 +00:00