150 Commits

Author SHA1 Message Date
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
pollmann%netscape.com
25950ae574 Bug 74639: Preserve frame state through form demotion, don't store uninitialized frame state, r=nisheeth@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@92992 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 08:33:57 +00:00
sfraser%netscape.com
2df2049806 Fix for bug 75676. Make textfield.textLength work properly. r=mjudge sr=kin
git-svn-id: svn://10.0.0.236/trunk@92137 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 00:25:36 +00:00
sfraser%netscape.com
8dbd85b3b8 Fix for bug 48400; ensure that textfield.select() on an empty text field shows the caret by selecting the correct nodes. r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@92136 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 00:22:42 +00:00
mjudge%netscape.com
bcca57a30b 66318 bug for api change of editor unicode not needed. nsAReadableString is what we need now.
git-svn-id: svn://10.0.0.236/trunk@91612 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-07 00:48:44 +00:00
anthonyd%netscape.com
d46561cd6b bug fix for 74145: Caret appears in previously disabled input field
r=cmanske
sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@91426 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 05:14:29 +00:00
evaughan%netscape.com
94e72ae454 XP part of accessibility landing
-r vidur, rods -sr hyatt


git-svn-id: svn://10.0.0.236/trunk@90971 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 01:01:33 +00:00
disttsc%bart.nl
f69c0e7cd8 bug 73339: Remove NS_ConvertToString (just another name for NS_ConvertASCIItoUCS2) from the tree. r=jst, sr=scc
git-svn-id: svn://10.0.0.236/trunk@90514 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 11:17:17 +00:00
blakeross%telocity.com
36a188b7cb Backing out to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@90031 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 22:37:59 +00:00
mjudge%netscape.com
0d731312ff removal of #ifdefs foor 68396 r=cmanske all depricated code just a clean up
git-svn-id: svn://10.0.0.236/trunk@90025 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 21:30:08 +00:00
erik%netscape.com
44e2c24154 bug 71339; author=simon@softel.co.il; r=rods; sr=erik; changes from IBM
bidi project (Hebrew, Arabic, etc); in ifdef IBMBIDI for now


git-svn-id: svn://10.0.0.236/trunk@89836 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:20:21 +00:00
rods%netscape.com
793e57b78c Display frame reflow counts (turned via config file define)
Bug 71514 r=kmclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89416 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 01:47:22 +00:00
disttsc%bart.nl
af75904cf7 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|nsLiteral[C]String|
|nsPromiseFlat[C]String|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where
possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88957 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 12:33:57 +00:00
disttsc%bart.nl
abd8de21e5 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:05:05 +00:00
rods%netscape.com
77b173f072 factoring of code for Submit/Reset in control frames
Bug 65747 r=pollmann sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@87745 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:01:08 +00:00
pollmann%netscape.com
b264a9f1ba Bug 69365: Fix mail reply-all by reverting pres-state optimizations r=ducarroz@netscape.com, sr=jst@netscape.com,vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87628 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 03:16:34 +00:00
heikki%netscape.com
26d94ba9b0 Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87383 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:50:04 +00:00
blakeross%telocity.com
82b2fb8487 Scroll the page if single-line textfields have focus instead of doing nothing when scrolling with the mousewheel (62431). r=bryner,akkana sr=alecf
git-svn-id: svn://10.0.0.236/trunk@86843 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 21:53:34 +00:00
pierre%netscape.com
8944a57fe0 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
git-svn-id: svn://10.0.0.236/trunk@86533 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:57:26 +00:00
pollmann%netscape.com
07a6277aa1 Bug 62713: Only save form input values in SH if changed plus cleanups (error handling, NS_LITERAL_STRING), r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86279 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 01:59:59 +00:00
kin%netscape.com
e8d448c157 Fix for bug #65857: Trailing whitespaces confuse form field value
Modified SetTextControlFrameState() to use GetTextControlFrameState() when
comparing the current value.
r=akkana@netscape.com sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@85863 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:00:43 +00:00
jfrancis%netscape.com
7cde2dddd5 bug 66290: embedding work: refactor editor to allow smaller plaintext only library. Embedding clients may be interested inthis library if they want to embed a browser but not composer/mail-compose. Reduces library footprint for plaintext-only library by over 50% on all three platforms. r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@85666 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 20:13:07 +00:00
rods%netscape.com
b23e7af50b This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
mcafee%netscape.com
644a6ffc68 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:58:12 +00:00
pierre%netscape.com
148e913722 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
git-svn-id: svn://10.0.0.236/trunk@85210 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:46:54 +00:00
akkana%netscape.com
13ae4ba935 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84590 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:01:29 +00:00
mkaply%us.ibm.com
7e139ad912 #50998
r=rods, a/sr=buster
OS/2 has support for GetAveCharWidth so enable it


git-svn-id: svn://10.0.0.236/trunk@84278 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:26:25 +00:00
cmanske%netscape.com
2df58f216c Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@83912 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 22:13:54 +00:00
leaf%mozilla.org
758c5a8f89 backing out regression-causing changes to reopen tree
git-svn-id: svn://10.0.0.236/trunk@83903 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 18:09:53 +00:00
cmanske%netscape.com
dafb7a83b7 Convert IDL defines from short to long so enums are PRInt32 on all platforms (fixing build bustage)
git-svn-id: svn://10.0.0.236/trunk@83887 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 03:15:16 +00:00
cmanske%netscape.com
b590b1872c Changed param from PRUint32 to PRInt16 for implementor of nsFrameSelection::HandleTableSelection (part of table selection work, bug 57863) r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@83881 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:38:20 +00:00
bryner%uiuc.edu
aae64e984b Mousewheel bugs 29244, 50339, 42313, 33733, and 57598. r=rods,pavlov. sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@83448 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 07:28:19 +00:00
rods%netscape.com
55b184cf6c when in standard mode, the text field/area was sizing one char too big
r=25657, r=kmcclusk, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83297 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 03:20:39 +00:00
akkana%netscape.com
0eff955ec3 Split plaintext methods off into nsIPlaintextEditor API. sr=sfraser, r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@82714 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 00:25:31 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
mjudge%netscape.com
33abd5ded1 bug fix for 48064. rtm++ r=simon a=brendan. pdt=ok. fixes check for valid frame after callonchange. (callonchange may actually destroy the frame underneath us.) also we need to update the focusedvalue when enter/submit is hit. this will save 2 onchange from being fired. one from enter, second from blur.
git-svn-id: svn://10.0.0.236/trunk@81684 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 22:08:44 +00:00
sfraser%netscape.com
8379325c00 Fix for 52808 -- standardized nsEditorShell creation and destruction across components, to fix editor observer notification timing. r=kin,ducarroz,jelwell, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@80787 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 01:45:46 +00:00
waterson%netscape.com
1e7a248bab Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@80717 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 03:08:41 +00:00
mjudge%netscape.com
c28fcc88a1 r=sfrasier a=pdt fixed submitting not sending an on-change event before submit event.
git-svn-id: svn://10.0.0.236/trunk@79790 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:43:16 +00:00
heikki%netscape.com
82a70c8b59 Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods.
git-svn-id: svn://10.0.0.236/trunk@79545 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:47:04 +00:00