190 Commits

Author SHA1 Message Date
akkana%netscape.com
e752937005 131277: change signature of outputToString to return the string. r=jfrancis sr=sfraser a=asa
git-svn-id: svn://10.0.0.236/trunk@117419 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 22:39:19 +00:00
dbaron%fas.harvard.edu
4d91361814 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117345 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:26:36 +00:00
joki%netscape.com
d4bd380211 Fix 36573, send text field change event through nsPresShell central dispatch method in order to correctly set target property. r:saari, sr:jst
git-svn-id: svn://10.0.0.236/trunk@115017 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:20:33 +00:00
jfrancis%netscape.com
ad449c34e0 fix for bug 106855: Down arrow key at last empty line of textarea moves caret to end of line above. checked in on behalf of skamio@netscape.net. r=jfrancis; sr=kin
git-svn-id: svn://10.0.0.236/trunk@114235 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 02:16:11 +00:00
bzbarsky%mit.edu
10615a6f15 Fix bug 109463. IE will fire onclick() on submit buttons when
submitting form via enter in text field.  We should do the same.
r=rods,jkeiser,rjesup@wgate.com.  sr=jst


git-svn-id: svn://10.0.0.236/trunk@112297 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 04:27:55 +00:00
bzbarsky%mit.edu
380edd4af3 Change more instances of NS_ConvertASCIItoUCS2 to NS_LITERAL_STRING.
Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@111953 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:39:51 +00:00
mjudge%netscape.com
2cc46377d6 118023 r=saari fix for transaction manager being missing from embedded components. no reason edit fields shouldnt work. just undo will not.
git-svn-id: svn://10.0.0.236/trunk@111344 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 03:53:21 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
mjudge%netscape.com
a1915e14af smoketest fix 115791
git-svn-id: svn://10.0.0.236/trunk@110727 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 20:52:54 +00:00
mjudge%netscape.com
20a1185b2b bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not
git-svn-id: svn://10.0.0.236/trunk@110680 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 01:29:49 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
dbaron%fas.harvard.edu
aedf49b319 Backing out changes I didn't mean to check in.
git-svn-id: svn://10.0.0.236/trunk@110231 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 05:41:43 +00:00
dbaron%fas.harvard.edu
cf515cc659 Prevent input elements from adding frames back into the primary frame map during their destruction (and leaving the map with dangling pointers) by passing the frame to functions that will be called during frame destruction to avoid calls to GetPrimaryFrameFor that will repopulate the primary frame map. b=114220 r=jkeiser sr=jst
git-svn-id: svn://10.0.0.236/trunk@110230 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 05:39:36 +00:00
jst%netscape.com
e5e4e2e102 Checking in John Keiser's fix for bug 110613, problems with file inputs. r=peterv@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108473 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 10:35:52 +00:00
jkeiser%iname.com
d443ae56e1 Fix textboxes not showing up in Print and Print Preview (bug 109914). r=sicking@bigfoot.com;sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108249 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:38:10 +00:00
karnaze%netscape.com
65fe290a5b bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
git-svn-id: svn://10.0.0.236/trunk@108053 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:40:03 +00:00
jst%netscape.com
59f4f0adf1 Fixing blocker bug 108198. Make setAttribute('value') change .value until .value is set by JS or user. Patch by John Keiser <jkeiser@iname.com>, r/sr=hyatt@netscape.com, jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107321 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 06:50:21 +00:00
jst%netscape.com
6807abf7cc Checking in real fix for bug 108175. Don't loose values in text inputs. Patch by jkeiser@iname.com, r=rpotts@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107232 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 06:52:55 +00:00
dbaron%fas.harvard.edu
732f1cd8e9 Ensure that text inputs, checkboxes and radios paint over inline element backgrounds that are behind them. Fix a few build warnings. b=107244 r=rods sr=waterson
git-svn-id: svn://10.0.0.236/trunk@107230 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 06:23:19 +00:00
jst%netscape.com
c8d98665ac Checking in workaround for bug 108175, temporarily disable framestate storage on frame destruction. r=jkeiser@iname.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107124 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 23:36:58 +00:00
jst%netscape.com
81bf1f1956 Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107083 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 07:40:01 +00:00
karnaze%netscape.com
4ff0e5cecb bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 01:43:59 +00:00
kin%netscape.com
4719248c5d Fix for bug 101599: onChange fires when hitting return in text widgets
Modified nsTextInputListener::KeyPress() so that the return key fires
and onChange event if the contents of the text control has changed,
and it is a single line text control.


    mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
    mozilla/layout/html/forms/src/nsGfxTextControlFrame2.h

r=glazman@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@105414 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 14:11:37 +00:00
bernd.mielke%snafu.de
bd8b619784 bug 103443 replace the return rv?rv:NS_ERROR_FAILURE; with a more correct version
r=dbaron sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@105372 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 09:27:46 +00:00
kin%netscape.com
64ed342437 Fix for bug 88024: Down arrow key creates fake line break at the end of a TEXTAREA
Modified CompleteMove() to prevent selection from being placed
after the last BR in the content tree.

r=brade@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@104928 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 19:29:00 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
rods%netscape.com
9e77804596 Make so hitting return in text field submits form when there is a single text field and no submit
or there is a submit and the submit btn is to be included in the post data
Bug 99920 r=attinasi sr=kin a=pdt


git-svn-id: svn://10.0.0.236/trunk@104035 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 00:39:44 +00:00
alexsavulov%netscape.com
e2e66ee9b9 fix for bug 99948 - added rounding to pixel in CalculateSizeStandard
r= rods sr= attinasi


git-svn-id: svn://10.0.0.236/trunk@103993 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:45:14 +00:00
karnaze%netscape.com
1540a4c12e bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
hyatt%netscape.com
4f51638ef4 Fix for 95475. r=jag, sr=ben, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00
rods%netscape.com
48fbd4f113 Disabling Quirks sizing for form controls, it can be put back in via a pref
and uncommenting a line in quirk.css
Bug 91602 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@101502 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 14:01:55 +00:00
bryner%netscape.com
7da361b479 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +00:00
jgaunt%netscape.com
92c01c45b6 fix for bug 94768
r=smfr,leaf
sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@101271 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 03:13:07 +00:00
pollmann%netscape.com
f0799bfd9b Bug 22526: Only submit on enter press for inputs, not textareas (Sorry, forgot to check this yesterday!) r=dbaron,sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@101229 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 20:43:48 +00:00
pollmann%netscape.com
4d6bd6ec55 Bug 44330: Allow Enter press to submit form from any control. This brings our behaviour in line with other browsers' behaviour. r/sr=blake@netscape.com,jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@101198 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 07:38:47 +00:00
pollmann%netscape.com
d365920596 Bug 65947: Don't save password input values in session history. This resolves a potential security hole where, even after logging out of a web service, a malicious user can click back to the login page and log in without knowing the password. r=gagan@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99527 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 21:50:16 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
blakeross%telocity.com
6b13738fe6 Relying on cached text length too heavily upon retrieval (87348, needed for 37587). r=smfr sr=kin
git-svn-id: svn://10.0.0.236/trunk@98510 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-03 01:09:58 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
mjudge%netscape.com
dea2e92b6e 82993,52868,79511,82101 a=asa sr=kin. bugs that cross files. stopped generated content entrys into frames with caret and mouse navigation. and table cell navigation.
git-svn-id: svn://10.0.0.236/trunk@97548 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 04:48:10 +00:00
dbaron%fas.harvard.edu
88810ef1eb Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
pollmann%netscape.com
161f586d22 Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org)
git-svn-id: svn://10.0.0.236/trunk@96057 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 11:26:21 +00:00
evaughan%netscape.com
a4d0ce6ac8 Fix for bug #80902
-r jeff@tcbnetworks.com -sr waterson

Fix for bug #80505

-r aaronl, jgaunt -sr brendan


git-svn-id: svn://10.0.0.236/trunk@95337 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 23:52:32 +00:00
joki%netscape.com
45a55be926 Fix for 80746, fix smoketest blocker by backing out 61336 fix. r:harishd
git-svn-id: svn://10.0.0.236/trunk@94892 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 18:54:06 +00:00
rods%netscape.com
e3d372d68c change the default to be 20 when a "null" size is specified
Bug 73575 r=kmcclusk, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@94887 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 13:50:35 +00:00
joki%netscape.com
3a374455ca Fix 61336, call onchange event for changes made by scripts. sr:jst, r:pollmann
git-svn-id: svn://10.0.0.236/trunk@94841 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 01:57:33 +00:00
evaughan%netscape.com
eab27303ef Landing accessibility
-r aarol, jgaunt

-sr brendan


git-svn-id: svn://10.0.0.236/trunk@94685 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:11:38 +00:00
brade%netscape.com
c6515271c8 fill in the scrolling methods; add GetScrollableView; bug #65124
git-svn-id: svn://10.0.0.236/trunk@94638 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 13:24:43 +00:00
jst%netscape.com
43eee52859 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00