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
akkana%netscape.com
52cc206f36
18409: Don't add newlines when converting copied text, or in any
...
other case of html-to-text conversion except when the formatted
flag is set. Set mPreFormatted for style white-space: pre
as well as for moz-pre-wrap. r=pinkerton, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55814 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 22:08:12 +00:00
akkana%netscape.com
2f3bf08c73
Change asserts to nonfatal warnings
...
git-svn-id: svn://10.0.0.236/trunk@54353 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 00:56:03 +00:00
akkana%netscape.com
0a7d0ef76e
Contribution from mozilla@bucksch.org to improve anchor and img tags
...
in formatted mode (r=akkana).
Also some minor improvements to handling of blank lines in pre tags,
to get rid of extra blank lines in plaintext mail (r=mcafee).
git-svn-id: svn://10.0.0.236/trunk@53891 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 19:39:47 +00:00
rickg%netscape.com
a01e50e17f
2nd half of parser wip; lots of bugs; r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@53451 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 06:23:11 +00:00
harishd%netscape.com
1e6fe5a7f5
This checkin contains combined work of rickg and harishd
...
Harishd's Changes:
Fix for bugs
2749 - Tweaked strict comment handling, i.e., <!------> is now treated as an illegal comment in strict mode
16934 - Rectifed reporting of JS line error when a newline is found within a tag.
15204 - Made TEXTAREA content to reflect the source document.
11979, 16826 - Stoping the parser properly on receiving the stop-error message.
17594 - Added code to parse <!DOCTYPE> content correctly.
17496 - Building up the stack for orphaned OPTIONs
r=rickg
Rickg's Changes:
rickg will be posting comments on his changes by 11/12/99.
r=harishd
git-svn-id: svn://10.0.0.236/trunk@53402 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 03:53:11 +00:00
akkana%netscape.com
5ede0750c6
Backing out previous change -- it didn't do as much as I'd hoped
...
git-svn-id: svn://10.0.0.236/trunk@53273 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 22:45:32 +00:00
akkana%netscape.com
f5c24f5975
18576: improve wrapping of plaintext replies
...
git-svn-id: svn://10.0.0.236/trunk@53263 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 22:24:34 +00:00
akkana%netscape.com
6f4b49e030
17564, 17871, 17883, 18249, 13753,
...
18012, 16800, maybe 17565 and 13278:
Integrate contributions from Ben Bucksch (mozilla@bucksch.org )
and Daniel Brattell (bratell@lysator.liu.se ) to improve formatted
plaintext output, including adding text style indicators, improving
table output and wrapping, and fixing several wrapping/whitespace bugs.
Also update the auto tests to reflect some of the bugs recently fixed.
r=myself,mozilla@bucksch.org,bratell@lysator.liu.se
git-svn-id: svn://10.0.0.236/trunk@53104 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 23:50:45 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
akkana%netscape.com
ec594ff4cd
Contribution by Daniel Bratell <bratell@lysator.liu.se> to implement
...
format=flowed for mail plaintext output. Restructures the plaintext
output wrapping code, wholly or partially fixes numerous bugs in plaintext
output (13278, 13442, 17823, 17824, 13753, 12551), makes the automated
tests work on Windows and adds some new automated tests. r=akkana.
git-svn-id: svn://10.0.0.236/trunk@52653 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 02:44:44 +00:00
akkana%netscape.com
49f4e5d7aa
16726: don't print the doctype information in plaintext output. r=cmanske
...
git-svn-id: svn://10.0.0.236/trunk@51305 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 22:27:14 +00:00
akkana%netscape.com
bc8b6d116e
13750,13753,14075,15293,13873,12551:
...
- Rewrite wrapping logic for plaintext output sink,
and run all output through the wrapping/formatting Write method
(which now has logic to determine when we should be wrapping).
- Handle blockquote type=cite mail quotes.
- Write several new regression tests for plaintext output bugs,
and include those tests and their expected output into the
automated output test.
r=sfraser,harishd
git-svn-id: svn://10.0.0.236/trunk@50072 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 01:10:32 +00:00
vidur%netscape.com
30b1f0a71b
Converted parser into a module. NS_NewFoo routines are temporarily inlined to call component manager. Introduced nsIParserService for temporary replacement of nsHTMLTags and nsHTMLEntities static methods. RickG to do complete review.
...
git-svn-id: svn://10.0.0.236/trunk@49499 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:01:48 +00:00