vidur%netscape.com
3e62b3f9f3
Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@83553 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:14 +00:00
dbaron%fas.harvard.edu
0cc4ea2497
Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@83442 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:21:51 +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
bratell%lysator.liu.se
90861c1db4
Fix for bug 54016 - crash when indentation wider then wrap width. The fix was to check for that condition. r=akkana@netscape.com, a=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@80055 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 05:32:52 +00:00
rayw%netscape.com
d9228441a4
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
mozilla.BenB%bucksch.org
3d0feef7ba
52042: "Escape" classes inserted by our TXT recognizer(s) by prepending "moz-"
...
39771: * -> <b> (not <strong>), / -> <i> (not <em>)
18427, Step 1: Add |class=moz-text-html | to wrapping <div>, so users can add rules specific to HTML msgs to their user stylesheets (e.g. to ignore certain formatting). r=rhp
Updating msg body UA stylesheets
r=a=alecf
git-svn-id: svn://10.0.0.236/trunk@78949 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:11:00 +00:00
akkana%netscape.com
2b24b73667
36809: got the space wrong in the previous checkin. r=BenB
...
git-svn-id: svn://10.0.0.236/trunk@77960 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 23:37:46 +00:00
akkana%netscape.com
4f8a9c4d2f
36809: fix plaintext output of img tags. r=BenB
...
git-svn-id: svn://10.0.0.236/trunk@77958 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 23:36:18 +00:00
harishd%netscape.com
69b6374ae7
7670 - Enabling NOSCRIPT content.
...
47827 - Make sure to check DD's hierarchy.
r=jst
git-svn-id: svn://10.0.0.236/trunk@77890 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:17:17 +00:00
akkana%netscape.com
b7b56f122f
41868 and 45994: Call parser to determine inline vs. block. r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@77414 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:47:11 +00:00
akkana%netscape.com
8f8938b901
46333: fix whitespace between table cells and list items (nsbeta3+)
...
46452: linebreak for tr
49724 and 50150: potential infinite loop in EndLine
Reviewed by Ben Bucksch, Daniel Bratell, and Kin Blas,
and including some fixes contributed by each of them.
git-svn-id: svn://10.0.0.236/trunk@77100 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:37:48 +00:00
jst%netscape.com
7e0575bfee
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
...
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
scc%mozilla.org
b55d322019
fixing code that relied on implicit string construction
...
git-svn-id: svn://10.0.0.236/trunk@76718 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 21:22:45 +00:00
mozilla.BenB%bucksch.org
7796c1500d
44439: Support headers (3 modes), <dd>/<dt>, <q>, <code>, <th>.
...
Improved <img>, </blockquote>.
Improved "unknown" block and (some) inline tags.
Pref for structured phrases.
r=akk, a=waterson
git-svn-id: svn://10.0.0.236/trunk@75106 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 23:18:12 +00:00
akkana%netscape.com
84c9d71b9a
38232 (nsbeta2+): Make line break character configurable in the
...
output system, and use \n (the DOM linebreak character) when getting
output from text controls. Also fix some warnings. r=kin.
git-svn-id: svn://10.0.0.236/trunk@73925 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 19:46:59 +00:00
mozilla.BenB%bucksch.org
d0f1d9df13
32336: Ignore formatting, if it was inserted by our or 4.x' TXT->HTML or HTML->HTML converter. r=akk, scc. a=waterson.
...
git-svn-id: svn://10.0.0.236/trunk@73542 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:04:13 +00:00
nhotta%netscape.com
d83d73ebb3
Changed the line wrap code to take care character width, contrituted by bratell@lysator.liu.se, bug 41453, r=akkana,nhotta.
...
git-svn-id: svn://10.0.0.236/trunk@72433 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:16:14 +00:00
warren%netscape.com
cc5d426fbe
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
...
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
mjudge%netscape.com
6779a8a970
bug = 34896, r= hyatt, adding in preformatting as a viable reason to wrap.
...
git-svn-id: svn://10.0.0.236/trunk@71229 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:27:58 +00:00
akkana%netscape.com
dec9c88f83
35118: Fix from Daniel Bratell <bratell@lysator.liu.se> to fix signature delimiters in format=flowed
...
git-svn-id: svn://10.0.0.236/trunk@69929 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:37:41 +00:00
akkana%netscape.com
ea28ffcd73
38194: screen out moz br, which was producing an extra newline in textareas
...
git-svn-id: svn://10.0.0.236/trunk@68460 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:20:49 +00:00
scc%netscape.com
c946ad6ca5
making string conversions explicit, and converting global static returning function to the canonical form
...
git-svn-id: svn://10.0.0.236/trunk@67403 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:19:17 +00:00
akkana%netscape.com
cd8643349b
Better fix for 37059: initial space should be retained in selection-only case.
...
git-svn-id: svn://10.0.0.236/trunk@67261 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 20:57:03 +00:00
akkana%netscape.com
00fbe97972
The mInWhitespace fix broke the automated tests -- need to find another solution
...
git-svn-id: svn://10.0.0.236/trunk@67171 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 02:21:41 +00:00
mjudge%netscape.com
3cd9a051da
making string conversions explicit. scc
...
git-svn-id: svn://10.0.0.236/trunk@67161 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:13:55 +00:00
akkana%netscape.com
7c36399c11
36861: newlines after <a> tags were being ignored.
...
37059: initial space should be retained in selection-only case.
git-svn-id: svn://10.0.0.236/trunk@67145 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:54:19 +00:00
scc%netscape.com
a92da1cfda
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@66630 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:15:53 +00:00
nhotta%netscape.com
47929299c8
Changed to check the line breaker flag to detect it needs more text, bug 27062.
...
git-svn-id: svn://10.0.0.236/trunk@66342 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:53:21 +00:00
nhotta%netscape.com
79275a9789
Changed to use nsILineBreaker instead of IsAsciiSpace, bug 27062, r=akkana.
...
git-svn-id: svn://10.0.0.236/trunk@66304 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:04:21 +00:00
scc%netscape.com
3466d240d3
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@66097 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 18:48:07 +00:00
scc%netscape.com
4cebb949ef
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@65022 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 08:04:52 +00:00
akkana%netscape.com
a540f3abb5
25660: don't copy JS comments onto plaintext clipboard. r=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@64278 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:33:50 +00:00
rickg%netscape.com
fc42d987f5
removed warnings; r=none
...
git-svn-id: svn://10.0.0.236/trunk@64107 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 05:38:11 +00:00
akkana%netscape.com
b31452915c
29312: move nbsp guard to a more general location so it'll always fire
...
git-svn-id: svn://10.0.0.236/trunk@63368 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 04:35:45 +00:00
akkana%netscape.com
b1afc461a2
31994: don't output text nodes inside select elements. r=slamm
...
git-svn-id: svn://10.0.0.236/trunk@63322 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:15:14 +00:00
akkana%netscape.com
e099f10719
26093: whitespace in copy/paste from plaintext.
...
27848: spaces between table cells in unformatted output. r=slamm.
git-svn-id: svn://10.0.0.236/trunk@63210 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:15:51 +00:00
akkana%netscape.com
890297e8f8
17883, indentation spaces (from Daniel Bratell, bratell@lysator.liu.se),
...
30380, blockquote should be block (also from Daniel),
6079, URLs surrounded by quotes *and* angle brackets (from Ben Bucksch,
mozilla@bucksch.org ),
translate test into perl (so it will eventually be runnable on mac)
and fix up some old tests (me).
git-svn-id: svn://10.0.0.236/trunk@62814 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:01:15 +00:00
rickg%netscape.com
1bd57cb94b
removed calls to deprecated string methods
...
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
akkana%netscape.com
1c378576f7
28870: Fix performance problems in plaintext output. Fix from bratell@lysator.liu.se, r=me and mscott, a=jevering
...
git-svn-id: svn://10.0.0.236/trunk@61893 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 21:18:23 +00:00
akkana%netscape.com
3ad292276a
19428: fix copying from a document with a doctype.
...
Also add test cases to notice this if it ever regresses.
Fix from harishd, r=me, a=rickg.
git-svn-id: svn://10.0.0.236/trunk@61464 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 01:23:29 +00:00
akkana%netscape.com
e622d7e61f
Fix problem in the output tests. r=rickg,a=leaf
...
git-svn-id: svn://10.0.0.236/trunk@60500 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 20:30:25 +00:00
rickg%netscape.com
c38cb85f64
revert changes
...
git-svn-id: svn://10.0.0.236/trunk@60491 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 15:25:00 +00:00
rickg%netscape.com
0ab79b600b
fixed 22340, 23749, 23931, 24419, 25522, 25630, 25845 and 25895; r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@60478 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 12:11:29 +00:00
akkana%netscape.com
a1ddb4f662
24912: Flush the current line when entering a pre tag. r=cmanske
...
git-svn-id: svn://10.0.0.236/trunk@59553 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:50:58 +00:00
akkana%netscape.com
adbd7e7404
Disable a debug printf; someone enabled code elsewhere that's calling it all the time
...
git-svn-id: svn://10.0.0.236/trunk@58707 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 02:34:46 +00:00
akkana%netscape.com
9998186f58
12560: don't output children of SELECT in plaintext output. r=mcafee
...
git-svn-id: svn://10.0.0.236/trunk@58701 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 02:19:53 +00:00
pp%ludusdesign.com
b5787cf895
Converting usage of ::GetIID() to NS_GET_IID().
...
Bug #20232 , r=scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
akkana%netscape.com
38b74051f5
Contribution from Ben Bucksch <mozilla@bucksch.org> to eliminate URL: in url strings. r=akkana
...
git-svn-id: svn://10.0.0.236/trunk@56441 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:42:46 +00:00
akkana%netscape.com
5d88a6253f
21993: hr should have newline before/after it. Trivial code change, a=gramps
...
git-svn-id: svn://10.0.0.236/trunk@56428 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:03:49 +00:00