156 Commits

Author SHA1 Message Date
sfraser%netscape.com
e8c541445e Fix for 26924 -- don't needlessly load the editor dll on shutdown. r=buster.
git-svn-id: svn://10.0.0.236/trunk@64416 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:02:34 +00:00
pollmann%netscape.com
261a55a1c8 Bug 27951: Re-enable set text "" and Reset for inputs/textareas. This fix coutesy of jfrancis r=self, waqar
git-svn-id: svn://10.0.0.236/trunk@63487 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:15:06 +00:00
pierre%netscape.com
c84deb6d8c Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.

In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.


git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
cmanske%netscape.com
5ab9b7f9df Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63201 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:45:39 +00:00
akkana%netscape.com
402752ab10 Bug 20207, extra lines in textarea (r=buster)
git-svn-id: svn://10.0.0.236/trunk@62818 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:01:56 +00:00
buster%netscape.com
8b339b4ead bug 31108. fixed by manually positioning the view whenever reflow changes the frame
r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@62750 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 02:38:06 +00:00
tbogard%aol.net
2e756bbf37 Converted to hold on to a docShell instead of a webShell. HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface. Removed the ifdef for NEW_WEBSHELL_INTERFACES as we are definitely not going back now.
git-svn-id: svn://10.0.0.236/trunk@62606 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:28:46 +00:00
buster%netscape.com
c50284c06b fixed bug 29837 and part of bug 29790 (the part about the url bar ceasing to respond)
r=rods, brade
a=jar


git-svn-id: svn://10.0.0.236/trunk@62258 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 04:08:05 +00:00
rods%netscape.com
a798692a8d Turned off the optimization that wasn't really working well anyway,
will turn it back on in M15 after reworking it
b 28593 a=jar r=self


git-svn-id: svn://10.0.0.236/trunk@62095 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 00:42:29 +00:00
akkana%netscape.com
169b1de1a0 27827: disable the ender event listener for right clicks as had
previously been done for middle clicks.  This is a band-aid;
 we need to dig in and rewrite this code to pass events correctly.
 r=buster, a=jar


git-svn-id: svn://10.0.0.236/trunk@62063 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 19:31:03 +00:00
tbogard%aol.net
495826cccc nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg
git-svn-id: svn://10.0.0.236/trunk@62038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 07:13:02 +00:00
sfraser%netscape.com
6d9b822079 Fix for 29521 -- i18n issues saving text area state, and 29827 problems with linebreaks going back to a forms page. r=ftang,akkana, a=jar
git-svn-id: svn://10.0.0.236/trunk@62012 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 01:16:29 +00:00
pierre%netscape.com
1d2c2e416f Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg
git-svn-id: svn://10.0.0.236/trunk@61601 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 12:51:28 +00:00
tbogard%aol.net
93ee16a656 Commented out the call to webShell::Remove focus as it is no longer needed and the function is going away. Work for 13374. r=rods, saari
git-svn-id: svn://10.0.0.236/trunk@61555 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 01:47:40 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
brade%netscape.com
1a24ae2b19 initialize modifier keys for locally declared events; r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@57678 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 15:56:30 +00:00
rods%netscape.com
fbaa9a1c3d Added unconstrainted reflow optimizations
and the the proper check against the style mVisible attr (bug 21701)
r=kmcclusk bug=12653


git-svn-id: svn://10.0.0.236/trunk@57221 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-09 01:39:15 +00:00
buster%netscape.com
f5c5c3e624 fixed bugs 18447 and 18216
simple change to pick up proper pseudo style for display content
r=rods


git-svn-id: svn://10.0.0.236/trunk@56982 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 20:01:55 +00:00
rods%netscape.com
a54126699a backed out all changes from today (1/5/2000)
git-svn-id: svn://10.0.0.236/trunk@56850 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 16:42:47 +00:00
rods%netscape.com
d18738f108 Added unconstrainted reflow optimizations
and the the proper check against the style mVisible attr (bug 21701)
r=kmcclusk bug=12653


git-svn-id: svn://10.0.0.236/trunk@56843 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 15:20:34 +00:00
ftang%netscape.com
a03e6a3d9e fix bug 22312. Add code in GetText() to force IME to commit the uncommit text.
git-svn-id: svn://10.0.0.236/trunk@56751 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 21:10:00 +00:00
rpotts%netscape.com
5870fbf96d Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad.
git-svn-id: svn://10.0.0.236/trunk@56597 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 07:32:59 +00:00
buster%netscape.com
c0a0456171 fixed bug 22228.
r=dcone.
problem was we were failing to null out the editor member of the controller on frame destruction.


git-svn-id: svn://10.0.0.236/trunk@56505 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 20:54:53 +00:00
brade%netscape.com
5ff6c95460 initialize MetaKey setting (previously overlooked)
git-svn-id: svn://10.0.0.236/trunk@56490 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 15:33:58 +00:00
hyatt%netscape.com
e91083d770 Patch that gets tabbing back into text fields. r=waterson
git-svn-id: svn://10.0.0.236/trunk@56291 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 19:35:13 +00:00
hyatt%netscape.com
66f9e68928 Fixes for 3 PDT+ bugs (THAT'S RIGHT). Bugs 21895, 21832, and 21610. r=mjudge,
a=i'm leaving now for vacation, and i can't find anyone around, but i'm assuming that you
actually want them before January 3rd, so I'm checking them in.


git-svn-id: svn://10.0.0.236/trunk@56179 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 04:02:28 +00:00
buster%netscape.com
c6b9cd5cd6 fixed bugs 21612 ([dogfood] first click doesn't get through to text field)
and 18500 (Can't drag-select in text widget unless focussed first)
This fix does NOT address other focus-related problems having to do with text controls.
r=rickg
a=chofmann
platform testing support=kin,dcone,akkana (THANKS!)


git-svn-id: svn://10.0.0.236/trunk@56143 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 07:10:10 +00:00
alecf%netscape.com
aaa9106176 fix for #21417
r=troy, a=chofmann
the editor's internal mDisplayFrame was not being removed from the frame manager's map of content->frames, so after enough scrolling in the addressing pane, reflow would try to reference a deleted frame. Fix is to remove the frame from the frame manager every time it's destroyed.


git-svn-id: svn://10.0.0.236/trunk@56134 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 03:28:50 +00:00
saari%netscape.com
167adea29b Missed part of my previous checkin to stop double pastes... exporting the event stop dispatch state back out of ngGfxTextControlFrame
git-svn-id: svn://10.0.0.236/trunk@56072 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 00:43:07 +00:00