scc%mozilla.org
7b06841b03
landing string branch; see bug #73786
...
git-svn-id: svn://10.0.0.236/trunk@91049 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 19:40:52 +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
Peter.VanderBeken%pandora.be
328e0907f9
Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@89252 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 21:02:12 +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
heikki%netscape.com
a4f8173ec8
Bug 44564. Problems with internal subset, especially with view source XML. Also fixed CDATA section problems. Some cleanups. r=harishd, sr=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@86136 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 01:13:55 +00:00
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
akkana%netscape.com
67dc59a9f1
46644: Fix FMM. Contribution from Daniel Bratell, bratell@lysator.liu.se, r=waterson and me
...
git-svn-id: svn://10.0.0.236/trunk@79489 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:14:12 +00:00
rickg%netscape.com
c433e250f9
fixed nsbeta3+ crash (bug# unavailable 'cause bugzilla is down) and removed FMM. r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@79094 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 07:28:44 +00:00
cmanske%netscape.com
31e6a72fc3
Improvements to formated HTML stream output for HTML source editing. b=50034, r=akkana
...
git-svn-id: svn://10.0.0.236/trunk@78745 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 19:03:27 +00:00
akkana%netscape.com
383539d22b
50821: don't force a bogus 3.2 doctype, and eliminate OutputNoDoctype flag. r=cmanske
...
git-svn-id: svn://10.0.0.236/trunk@78401 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:40:14 +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
mcafee%netscape.com
530b27f340
Rearranging some includes to fix solaris bustage (50876). code=harishd,waterson, r=mcafee, a=leaf
...
git-svn-id: svn://10.0.0.236/trunk@77776 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 17:23:22 +00:00
cmanske%netscape.com
962ec769bd
Cleaning up 'pretty printing' formating for HTML Source mode. b=41869, r=akkana
...
git-svn-id: svn://10.0.0.236/trunk@77673 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:25:12 +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
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
nhotta%netscape.com
89830f7ad6
Changed to generate HTML 3.2 CER instead of HTML 4 for both file and mail, bug 48041, r=akkana.
...
git-svn-id: svn://10.0.0.236/trunk@76458 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:47:35 +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
akkana%netscape.com
327c9217ba
38154: include user-defined tags in html output. r=cmanske
...
git-svn-id: svn://10.0.0.236/trunk@72415 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:23:48 +00:00
mjudge%netscape.com
c8121440c2
r=akkana, bug=34896. ender-lite causing an output problem since we do not output the body tag anymore on selection. we still need to output leafs
...
git-svn-id: svn://10.0.0.236/trunk@71880 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 05:17:00 +00:00
harishd%netscape.com
29189d4b10
Fix for:
...
37247 (nsbeta2+) - XIF DTD / HTMLContentSinkStream shouldn't add end tags
for IMG,PARAM,SOUND,INPUT..etc., ( leaf tags ).
r=akkana.
41427 (nsbeta2+) - Avoid transient style handling in a head context.
40408 (nsbeta2+) - Check for nsresult in nsFragmentContentSink::AddLeaf().
The HTMLTag array was,erroneously,going out-of-bounds for XMP tag.
40741 (nsbeta2+) - Text, only document, was getting sucked up into <!DOCTYPE>
40143 (nsbeta2+) - Use scanner's mIncremental memeber wisely when data is
supplied through document.write();
40552 (nsbeta2+) - Contain default <!DOCTYPE> to html documents only.
r=rickg
30617 (nsbeta2+) - Misplaced AREA tag should be informed with base target info.
r=vidur.
git-svn-id: svn://10.0.0.236/trunk@71802 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 21:30:48 +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
akkana%netscape.com
f00af5f8c4
39508: Use an int rather than a boolean to keep track of preformatting level,
...
so that we don't get confused about when to output <br> vs newline.
41017: Add <u> as an inline tag (a=beppe). r=jfrancis.
git-svn-id: svn://10.0.0.236/trunk@71106 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 23:11:49 +00:00
jst%netscape.com
513ea03c7a
Fix a problem where the HTML sink stream was cutting off the last character in element names when constructing the resulting HTML, also did a few nsString --> nsAutoString changes to speed things up a bit. r=akkana@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@69275 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:33:19 +00:00
harishd%netscape.com
0275e427e2
34458 - Added static APIs to determine DTD for a given
...
DOCTYPE,MIMETYPE,COMMAND.
r=rickg,pollmann
33397 - Fixed the NOSCRIPT interference on residual style handling.
r=rickg.
35456 - Emulating Nav. for documents with unclosed STYLE and SCRIPT.
37052 - Handling XMP content.
r=pollmann
git-svn-id: svn://10.0.0.236/trunk@68152 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:09:09 +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
df673274b7
36188: fix double-spaced quotations in mail, plus lots of code cleanup
...
git-svn-id: svn://10.0.0.236/trunk@66580 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:47:04 +00:00
akkana%netscape.com
7bfd820f78
33753: don't output the doctype when outputting only selection
...
git-svn-id: svn://10.0.0.236/trunk@66331 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:31:00 +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
harishd%netscape.com
2cd5173be8
Fix for
...
28965 32523 -- Setting Document key to nsISupports
34308
19575 - Fixed had by replacing PRUnichar array with nsDeque.
r=ftang
22786 - Accounting for attributes on <HTML> tag [ this got backed out before ]
r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@65221 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:58:40 +00:00
scc%netscape.com
74386ec8c1
making string conversions explicit; fixing bustage
...
git-svn-id: svn://10.0.0.236/trunk@65027 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 09:10:08 +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
jim_nance%yahoo.com
b1ccfbf2cb
Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
...
days for module owners to comment on. r=troy@netscape.com
git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
warren%netscape.com
9fa657f1cd
Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
...
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
akkana%netscape.com
5a1992b769
Fix an entity bug for Naoki: Japanese entities weren't being correctly
...
pasted. This also fixes the symptoms, but not the underlying cause,
of the html mail nbsp bug. r=nhotta
git-svn-id: svn://10.0.0.236/trunk@64270 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:10:44 +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
f74b43d420
23980: convert relative href= and src= to absolute. r=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@63677 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:33:59 +00:00
akkana%netscape.com
e439e2ff1a
Do entity conversion even for output-to-string case. r=nhotta
...
git-svn-id: svn://10.0.0.236/trunk@63193 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:08:38 +00:00
nhotta%netscape.com
f87a1e9e73
Changed flag for entity conversion, bug 27376, r=akkana.
...
git-svn-id: svn://10.0.0.236/trunk@63099 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 00:28:01 +00:00
akkana%netscape.com
279d38edc9
27144: make sure the editor bogus node starts with _moz, and strip it out in html output. r=smfr
...
git-svn-id: svn://10.0.0.236/trunk@60566 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 01:58:40 +00:00
rickg%netscape.com
d72b633f03
removed warnings and fixed bug 27483; r=rods and akkana (for portions)
...
git-svn-id: svn://10.0.0.236/trunk@60562 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 01:47:56 +00:00
akkana%netscape.com
e384276b0f
22662: Completely redesign the editor output formatting system.
...
Now, instead of inserting text nodes containing whitespace and newlines
into the content tree, the editor adds a fake attribute "_moz_dirty"
to every node it creates, and relies upon the output system to format
any node with that attribute (and, of course, not output the attribute).
r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@58985 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 01:17:23 +00:00
akkana%netscape.com
e09170817c
Remove a debug printf
...
git-svn-id: svn://10.0.0.236/trunk@58654 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 00:34:49 +00:00
nisheeth%netscape.com
26ad5f5255
Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me.
...
git-svn-id: svn://10.0.0.236/trunk@58465 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 06:43:15 +00:00
akkana%netscape.com
cadac857ea
22662: Rewrap text nodes which contain long lines, to prevent editor output from being too long to be accepted by servers. r=buster
...
git-svn-id: svn://10.0.0.236/trunk@57730 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:40:52 +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
cad9903a6b
Remove a debug printf. Trivial one-line change
...
git-svn-id: svn://10.0.0.236/trunk@55447 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 21:49:04 +00:00
rhp%netscape.com
9fface217d
Landing new txt to HTML scanning functionality - Bug #: 19251 - r: rhp (contributed by Ben Bucksch)
...
git-svn-id: svn://10.0.0.236/trunk@55395 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 04:53:29 +00:00