909 Commits

Author SHA1 Message Date
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
rods%netscape.com
44260ca0fd changed signature of GetFont, chanhe when the webshell gets shown to reduce flicker b=905,24497 r=dcone
git-svn-id: svn://10.0.0.236/trunk@58598 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:25:19 +00:00
rods%netscape.com
9e99c45422 changed to use new signature of GetFont r=dcone b=905
git-svn-id: svn://10.0.0.236/trunk@58597 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:25:07 +00:00
rods%netscape.com
429b131377 changed signature of GetFont,GetFrameFontFM b=905 r=dcone
git-svn-id: svn://10.0.0.236/trunk@58596 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:25:04 +00:00
rods%netscape.com
42ec95d052 changed signature of GetFont,changed to scroll it into view only if it isn't visible b=905,18649 r=dcone,troy
git-svn-id: svn://10.0.0.236/trunk@58595 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:24:48 +00:00
rods%netscape.com
18fbcfe1e0 changed signature of GetFont b=905 r=dcone
git-svn-id: svn://10.0.0.236/trunk@58594 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:18:46 +00:00
sfraser%netscape.com
7767924d1c Work on command updating in the ender widget. r=buster
git-svn-id: svn://10.0.0.236/trunk@58523 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 02:58:25 +00:00
beard%netscape.com
c956c22a62 floating views. bug=21966, r=troy, rods, a=brendan
git-svn-id: svn://10.0.0.236/trunk@58504 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 01:53:34 +00:00
troy%netscape.com
60471abd92 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.


git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
danm%netscape.com
fb34e679c1 release widget addrefed during processing of mouse events. fixes leak which fixes crasher bugs 23652 and 24387. r:saari a:brendan.
git-svn-id: svn://10.0.0.236/trunk@58341 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 01:39:39 +00:00
nisheeth%netscape.com
969869e05b a=chofmann. r=rods, attinasi. The frame's state bits were getting reset by the NS_NewFieldSetFrame() method. This was causing asserts in layout because the frame did not have its dirty bit set. Fixed.
git-svn-id: svn://10.0.0.236/trunk@58301 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-20 17:14:34 +00:00
pierre%netscape.com
7171b0a1ac Backing out one line from the previous checkin in order to fix #24344 ("Crash when displaying a list box").
git-svn-id: svn://10.0.0.236/trunk@58240 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 12:27:40 +00:00
tor%cs.brown.edu
a0b59d0c17 build bustage fix for older C++ compilers; false -> PR_FALSE; r=bryner
git-svn-id: svn://10.0.0.236/trunk@58195 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:35:20 +00:00
rods%netscape.com
06e4b6c8b0 added vars for optimizatoin
r kmcclusk


git-svn-id: svn://10.0.0.236/trunk@58155 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 23:34:07 +00:00
rods%netscape.com
fbc2f561f0 Initial shift click will now work correctly for mulitple with selected items
it now will scroll to the selected items on start up
b 24178,7025 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@58154 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 23:33:22 +00:00
rods%netscape.com
322adbdae3 removed warnings
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@58153 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 23:23:52 +00:00
evaughan%netscape.com
03c87d94d3 Fixed html and input button to center and size correctly. #17474,#17353,#23270, #21249 -r Rod
git-svn-id: svn://10.0.0.236/trunk@58111 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 20:29:22 +00:00
attinasi%netscape.com
694d2e01a7 Added flags to factory method to allow NS_BLOCK_SPACE_MGR to be specified for abs. Positioned fieldsets. Fixes bug 23611. r=rods,pierre
git-svn-id: svn://10.0.0.236/trunk@58104 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:42:45 +00:00
joki%netscape.com
fb23199c5a Fix multiple event targetting bugs (23161, 10514, 13213, 16548, 19496, 12231) and reinstate the onchange event for text fields (bug 22472). r:rods
git-svn-id: svn://10.0.0.236/trunk@58097 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:17:31 +00:00
hyatt%netscape.com
8f6502ffb7 Fixes for bugs 17460 and 21656. r=travis
git-svn-id: svn://10.0.0.236/trunk@57811 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 09:28:54 +00:00