Commit Graph

197 Commits

Author SHA1 Message Date
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
mjudge%netscape.com
4704ff3a85 adding in nsISelectioncontroller idl for line up/down. fixing editor controller usage for input and textareas. changin nsGfxTextControlFrame.cpp to add editor controllers at the time we need them, not when the control is created due to the delay of the nsEditor creation. nsPresShell implements the new nsISelectionController interfaces. changed makefiles to reflect missing nsEditorController also.
git-svn-id: svn://10.0.0.236/trunk@56028 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:54:52 +00:00
mscott%netscape.com
713ec6e9e3 Bug #21364....our gfx text control frame's were leaking the underlying html documents. Leak was fixed using a nsCOMPtr.
r=travis,buster
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@55950 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 23:36:17 +00:00
hyatt%netscape.com
2c134c2abf Massive rewrite of the focus/blur architecture. Things should behave better
now. r=saari


git-svn-id: svn://10.0.0.236/trunk@55715 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:54:29 +00:00
rods%netscape.com
1fa69507a8 was adding in the wrong border and padding for fixed width
r=self b 18448


git-svn-id: svn://10.0.0.236/trunk@55383 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:47:04 +00:00
sspitzer%netscape.com
d3ad1a51a2 fix warnings, also use #ifdef NOISY instead of if (gNoisy).
why generate code you aren't going to execute?


git-svn-id: svn://10.0.0.236/trunk@55339 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 05:15:24 +00:00
hyatt%netscape.com
7e24c61109 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy


git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
buster%netscape.com
2c1a1037c6 warning cleanup
git-svn-id: svn://10.0.0.236/trunk@54911 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 15:15:44 +00:00
tbogard%aol.net
d90a54c043 nsGfxTextControlFrame now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed some regular XPCOM pointers to be nsCOMPtrs.
git-svn-id: svn://10.0.0.236/trunk@54497 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 03:23:43 +00:00
jfrancis%netscape.com
42b5777e9f Fix for bug #18859: [DOGFOOD] URL bar messed up
Replaced all calls to SelectAllText() with calls to
nsIEditor::SelectAll().
r=jfrancis@netscape.com

(kin is the author of these changes - being checked in by reviewer)


git-svn-id: svn://10.0.0.236/trunk@54483 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-26 03:11:12 +00:00