cbiesinger%web.de
6486659657
Bug 254278 remove some *WithConversion in layout/content
...
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@160355 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 17:33:30 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
bdc7e5f59b
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
jst%mozilla.jstenback.com
b91a41077c
Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
...
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +00:00
brade%comcast.net
5a843d6e15
Image alt text was not being emitted in plaintext serializer because it was inadvertently moved into a method where it would never be called; moving it back.
...
Written by Akkana, r=brade, sr=jst (bug 212177)
git-svn-id: svn://10.0.0.236/trunk@156035 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 17:11:27 +00:00
jst%mozilla.jstenback.com
74089032ff
Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
gerv%gerv.net
98831918fc
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu
38098b967a
Make the plaintext serializer properly handle CDATA nodes. Bug 234427, patch
...
by Sebastian Redl <wasti.redl@gmx.net>, r=akkana, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152985 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 00:10:36 +00:00
peterv%propagandism.org
94b69cb574
Miscellaneous cleanup. r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@151493 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:45:26 +00:00
peter%propagandism.org
cf13bd6210
Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@150684 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 15:41:10 +00:00
jst%mozilla.jstenback.com
2affc5b4f0
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
brade%netscape.com
b54ffdc41d
reduce string usage by using atom version of method; r/sr=dbaron, bug=213101
...
git-svn-id: svn://10.0.0.236/trunk@144966 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-19 08:34:31 +00:00
jaggernaut%netscape.com
36ab3d76a9
Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
caillon%returnzero.com
a215d7347b
Bug 210556 - Plaintext serialization with no formatting whatsoever should be possible.
...
This makes Node.textContent behave as defined in the DOM Level 3 draft.
r=harishd@netscape.com sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@144413 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 00:34:34 +00:00
caillon%returnzero.com
0a6d1ae509
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
alecf%flett.org
1c89787dc0
fix for bug 206379:
...
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
hpradhan%hotpop.com
12f1dc7f84
bug 196829 : Removed unused DoFragment() methods from parser and contentsinks r=harishd sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@140742 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 07:19:09 +00:00
alecf%netscape.com
f24ccb3da0
landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
...
sr=darin, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@140260 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 18:55:59 +00:00
timeless%mozdev.org
0e5f07166f
Bug 106386 rid source of misspellings
...
patch by nb@ipnode.info r=biesi sr=dmose
git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +00:00
alecf%netscape.com
2a83f1b2d9
backout my static atom patch for now until I figure out the performance loss! :(
...
bug 195262
git-svn-id: svn://10.0.0.236/trunk@139962 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 20:13:08 +00:00
alecf%netscape.com
59c2bfe187
fix for bug 195262:
...
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin
this is an experimental landing - if there are performance issues, I will back it out.
git-svn-id: svn://10.0.0.236/trunk@139909 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:26:32 +00:00
pkw%us.ibm.com
c863c9452f
Bug 189859 - Checkin for Bug 173388 broke 64-bit builds on AIX.
...
r=harishd@netscape.com , sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@136809 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 04:29:43 +00:00
harishd%netscape.com
fa53826eab
Ignore noxxx content when copy pasting into a plain text editor. b=97687, r=peterv, sr=heikki
...
git-svn-id: svn://10.0.0.236/trunk@136430 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 20:24:03 +00:00
dbaron%dbaron.org
30879d2c9e
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@135991 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:24:38 +00:00
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