harishd%netscape.com
ba933c6526
Avoid the call to OpenHead and CloseHead with incorrect parserNode. b=182021, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@135841 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 23:17:22 +00:00
bratell%lysator.liu.se
b80daf2587
Bug 173388 - Last checkin was r=harishd and sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@135488 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 06:28:28 +00:00
bratell%lysator.liu.se
d0cc23996e
Bug 173388 - Use TABs to seperate table cell when converting HTML -> Text (copying from a web page).
...
git-svn-id: svn://10.0.0.236/trunk@135486 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 06:22:55 +00:00
bratell%lysator.liu.se
780fef7a28
Bug 180996, fallout from the parser node landing in bug 177994 - nsParserNodes are not something one can hang on to. Instead read the interesting parts of them when they come in and then drop them. r=harishd, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@135297 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 06:16:56 +00:00
peterv%netscape.com
3a3c75b9f7
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +00:00
caillon%returnzero.com
8eb8abf86c
182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
...
r=sicking sr=peterv
git-svn-id: svn://10.0.0.236/trunk@135071 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:44:03 +00:00
bratell%lysator.liu.se
d8c86a7ceb
Bug 165893 - use cached nsParserService pointer instead of looking up the service everywhere. r=jst, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@134326 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 12:20:05 +00:00
jst%netscape.com
0fcfc0bc39
Fixing bug 181351. Making NS_NewTextNode() return an nsITextContent pointer in stead of reaturning an nsIContent pointer to avoid having to QI the new text node to set it's value. r=caillon@returnzero.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@134285 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 23:53:06 +00:00
harishd%netscape.com
037680aa61
Temp. patch to fix DOM TO TEXT CONVERSION. r=jst
...
git-svn-id: svn://10.0.0.236/trunk@134125 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 21:47:13 +00:00
harishd%netscape.com
1eb8cce6ae
Do not hold parser nodes, that do not contain residual style information, longer than necessary. By recycling the nodes earlier the number of malloc calls and the peak memory usage can be reduced. b=177994, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@134114 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 18:29:35 +00:00
t_mutreja%yahoo.com
7e0c34de7c
Bug#169292(text indentation of <li> elements not corrent for final element)
...
Patch:t_mutreja@yahoo.com, r= akkana, sr=heikki
git-svn-id: svn://10.0.0.236/trunk@130974 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-02 07:12:49 +00:00
t_mutreja%yahoo.com
2d7f39b84d
Bug:131916(HTML list, <dl>, loses formatting when cut and pasted to text or File / SavePage As... text)
...
Patch:t_mutreja@yahoo.com, r=akkana, sr=heikki
git-svn-id: svn://10.0.0.236/trunk@129779 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 05:41:11 +00:00
t_mutreja%yahoo.com
4d9ee9baea
Bug: 156203(copy/paste doesn't always copy numbers/letters in <OL>)
...
Patch: t_mutreja@yahoo.com , r=akkana, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@129653 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-15 13:14:14 +00:00
t_mutreja%yahoo.com
e645ca86e0
BugId:158714("missing paragraph break on pasted text with <blockquote>")
...
Patch: t_mutreja@yahoo.com , r=akkana, sr=keikki
git-svn-id: svn://10.0.0.236/trunk@129156 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-10 11:15:43 +00:00
heikki%netscape.com
fbe40219c9
Bug 63558, we now store XML declaration in the document and can serialize it. There is fix for 158617 as well, newlines behave properly around doctype. r=bzbarsky, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@127185 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 18:41:16 +00:00
nhotta%netscape.com
e98305c34a
Changed nsPlainTextSerializer to try NCR if CER conversion fails,
...
bug 40350, r=akkana, sr=kin, a=asa.
git-svn-id: svn://10.0.0.236/trunk@125508 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 20:50:14 +00:00
taka%netscape.com
8ea5186a8e
Remove unexpected space inserted between Chinese and Japanese characters as a result of unfolding lines. These scripts don't use space as a word boundary. b=135323 r=shanjian sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@124421 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 20:43:16 +00:00
peterv%netscape.com
c7e9e858d1
Fix for bug 94475 (if first whitespace in line in textarea is a tab it is changed to a new line). Patch by t_mutreja@yahoo.com, r=bratell@lysator.liu.se, sr=heikki.
...
git-svn-id: svn://10.0.0.236/trunk@123685 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 11:45:09 +00:00
jaggernaut%netscape.com
6d9de96321
Bug 141455: hang when selecting text and right-clicking on page. r=akkana, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@120458 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 20:52:29 +00:00
alecf%netscape.com
61312b4eeb
fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
...
r=jag, sr=darin
git-svn-id: svn://10.0.0.236/trunk@120220 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 20:29:54 +00:00
badami%netscape.com
4576e12d1b
bug 122877 r=bratell sr=jst a=asa patch=t_mutreja@yahoo.com
...
case insensitive matching for attributes (HREF != href)
git-svn-id: svn://10.0.0.236/trunk@120177 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 06:25:55 +00:00
akkana%netscape.com
a8c06c892e
134439: Make plaintext compose wrap to window width instead of output
...
width, and don't wrap quotes in <pre> or <span>, to work around various
editor bugs. Detect quoted blocks at output time, and continue our
existing behavior of not wrapping quoted text. r=jfrancis,bratell, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@119175 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 23:11:33 +00:00
heikki%netscape.com
d18deb1faa
Bug 126669, we need to pass in aHasChildren parameter to the start tag serializing function because the node that is passed in may be a shallow copy, thereby making it impossible to determine if it originally had children, in the method itself. This fixes case where saving XHTML produces non-wellformed output. r=akkana,tmutreja, sr=jst, a=asa,ADT.
...
git-svn-id: svn://10.0.0.236/trunk@117951 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 21:12:51 +00:00
ducarroz%netscape.com
e9e40bd7d8
Fix for bug 68087 (second try). We need to ensure we get a new line after a div tag. Patch submitted by skamio@netscape.net. R=tmutreja, SR=jst, A=asa
...
git-svn-id: svn://10.0.0.236/trunk@117873 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 21:21:14 +00:00
dbaron%fas.harvard.edu
c43a97f1d5
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@117353 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 23:54:46 +00:00
badami%netscape.com
87461cbd6a
crash on double-click of word in textfield after form submission
...
Protect against invalid arguments getting passed into AppendText of PlainTextSerializer.
bug 125037 r=bratell sr=jst a=scc patch=tmutreja@netscape.com
git-svn-id: svn://10.0.0.236/trunk@117164 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 08:50:35 +00:00
alecf%netscape.com
f4ad21ae3a
a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc
...
git-svn-id: svn://10.0.0.236/trunk@116842 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 06:46:56 +00:00
badami%netscape.com
750d1eda15
plain text copy is bad
...
bug 125732 r=akkana sr=jst a=asa patch=tmutreja@netscape.com
git-svn-id: svn://10.0.0.236/trunk@116471 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 06:26:33 +00:00
badami%netscape.com
9bb0081936
Support start number for lists in plain text output
...
bug 62188 r=bratell sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@116380 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 08:21:51 +00:00
ducarroz%netscape.com
792f53e71f
Fix for bug 68087. Don't generate a blank line after a <div>. R= akkana, SR=jst, A=asa
...
git-svn-id: svn://10.0.0.236/trunk@115988 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:33:33 +00:00
badami%netscape.com
013dbec8be
Pasted text from beginning of line always appends a newline
...
bug=75283 r=bratell@lysator.liu.se sr=jst a=asa patch=tmutreja@netscape.com
git-svn-id: svn://10.0.0.236/trunk@115712 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 10:47:19 +00:00
timeless%mac.com
30eddece55
Bug 66035 Image urls are copied with text selection
...
patch by rossi@telnet.at r=hixie sr=jst a=shaver
git-svn-id: svn://10.0.0.236/trunk@115231 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 16:39:35 +00:00
badami%netscape.com
8331526176
[serializer]nested lists don't convert to plain text properly.
...
bug 95224 patch=tmutreja@netscape.com r=akkana sr=jst
git-svn-id: svn://10.0.0.236/trunk@114917 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 10:23:24 +00:00
cltbld%netscape.com
9442b10401
backing out changes per McAfee's request - kysmith
...
git-svn-id: svn://10.0.0.236/trunk@114809 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 19:25:48 +00:00
badami%netscape.com
fa461c8fe9
Pasted text from beginning of line always appends a newline
...
bug 75283 patch=tmutreja@netscape.com r=akkana sr=jst
git-svn-id: svn://10.0.0.236/trunk@114792 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 12:29:02 +00:00
badami%netscape.com
66897d1108
Emoticons can't be copied as originally drawn
...
bug 57098 patch=tmutreja@netscape.com r=ben.bucksch@beonex.com sr=jst
git-svn-id: svn://10.0.0.236/trunk@114787 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:25:43 +00:00
bzbarsky%mit.edu
ad1fb22926
Change users of Length() to IsEmpty() where the code really cares about
...
the latter in content/. Bug 100649, r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@112623 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:03:19 +00:00
brade%netscape.com
8c2aaf40c9
remove unused static kPrefServiceCID for gain of 16 bytes (bug 117927; r/sr=jst,darin)
...
git-svn-id: svn://10.0.0.236/trunk@111810 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:06:15 +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
sfraser%netscape.com
ff5c1dcc81
Fix for bug 115157 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@110494 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:10:42 +00:00
peterv%netscape.com
022734969c
Fix for 106586 (Inappropriate source into the plaintext copy.) r=heikki, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@109354 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 09:19:33 +00:00
peterv%netscape.com
6d17c71703
Fix for bug 102809 (ABR in nsPlainTextSerializer::AppendText; indexing -1 on array). r=sicking, sr=waterson.
...
git-svn-id: svn://10.0.0.236/trunk@104512 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 02:47:08 +00:00
peterv%netscape.com
b20e06b90f
Fix for bug 97687 ([serializer]cs/gecko: copying using keyboard shortcuts>paste>source pasted {Country=US}) r=heikki, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@104412 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 10:02:07 +00:00
jaggernaut%netscape.com
51e0dc7a6c
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
alecf%netscape.com
3af4e8c8ed
beginning of bug 100214 - eliminate encoding-insensitive nsCRT::str*cmp uses by properly converting to unicode. r=jag, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@103858 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 20:26:14 +00:00
gerv%gerv.net
ed9b258739
License changes, take 2. Bug 98089. mozilla/content/.
...
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +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
jaggernaut%netscape.com
2b3b3b2586
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
vidur%netscape.com
69ad109792
Fix for bug 83425. A regression was introduced when we moved from the XIF code to the existing serialized scheme. We now correctly identify tags explicitly put in by the TXT to HTML converter. r=akkana, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@99360 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 00:16:50 +00:00
akkana%netscape.com
1672a1df8a
69638: Use <span> instead of <blockquote> for plaintext quotes, to fix caret motion problems. r=mcafee, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@99198 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-13 18:45:53 +00:00