alecf%netscape.com
f7ee18f044
one more part of fix for bug 107575, including the much coveted whitespace
...
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver
git-svn-id: svn://10.0.0.236/trunk@113390 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 01:53:09 +00:00
cathleen%netscape.com
ea31156ed0
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
...
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +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
bbaetz%cs.mcgill.ca
478af40f6f
Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
...
alex.fritze@crocodile-clips.com , james.turner@crocodile-clips.com , and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes
r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.
NOT ON BY DEFAULT
git-svn-id: svn://10.0.0.236/trunk@110384 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 07:59:31 +00:00
alecf%netscape.com
728ab648ca
fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter
...
git-svn-id: svn://10.0.0.236/trunk@109591 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:10:43 +00:00
dbaron%fas.harvard.edu
52bea38360
Add assertions that users of nsDependentC?String meet the requirements of nsAFlatC?String. Add nsDependentSingleFragmentC?Substring for users that don't. Additional cleanup after bug 100214. b=104651 r=jag sr=scc
...
git-svn-id: svn://10.0.0.236/trunk@107556 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 04:12:20 +00:00
heikki%netscape.com
1a58cc7538
Bug 98214, minor performance improvements and cleanup. r=harishd, sr=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@105300 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 22:01:19 +00:00
gerv%gerv.net
cf694b8116
License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1).
...
git-svn-id: svn://10.0.0.236/trunk@103776 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:40:45 +00:00
heikki%netscape.com
57ec326731
Bug 15089, make XML parser error messages localizable. r=harishd,ftang, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@101364 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 23:27:20 +00:00
timeless%mac.com
0b4ad7127e
Bug 83301 improve error reporting for Mismatched Tag XML, eg data:text/xml,<foo></bar>
...
r=heikki sr=shaver
thanks to tingley@sundell.net and bz
git-svn-id: svn://10.0.0.236/trunk@101088 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 06:48:59 +00:00
jaggernaut%netscape.com
51b17b5bf0
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
heikki%netscape.com
465af56961
Bug 84002, remove unused code (expat DTD etc.). r=rbs@maths.uq.edu.au, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@98088 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-27 23:10:09 +00:00
rbs%maths.uq.edu.au
cb5f0dd43c
Fix crasher bug 82332 - Avoid relying on the scanner because it can be set to null while the tokenizer isn't yet done. Use a pointer cached in the parser to retrieve the filename needed for error reporting. r=harishd sr=jst a=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@96233 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-02 09:10:00 +00:00
jst%netscape.com
535c86019d
scc checking in from jst's account. bug #75220 : sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
...
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
rbs%maths.uq.edu.au
829a60bdeb
Report the name of the faulty file when there is an XML parsing error. Useful for popup windows or XUL files. b=47416 r=heikki sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@95093 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 02:49:24 +00:00
timeless%mac.com
75929d9555
fix Bugzilla Bug 75853 CR and LF are naked ifdefs
...
r=dveditz, sr=scc
git-svn-id: svn://10.0.0.236/trunk@92666 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 05:59:43 +00:00
scc%mozilla.org
fb94b0d593
fix speedracer bustage
...
git-svn-id: svn://10.0.0.236/trunk@91076 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 01:18:09 +00:00
mkaply%us.ibm.com
45beae1008
#72239
...
r=heikki, sr=brendan
The XML parser is designed to receive extern "C" functions, so that is what we should be passing
git-svn-id: svn://10.0.0.236/trunk@90891 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 14:28:06 +00:00
valeski%netscape.com
65ad2bc732
sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api
...
git-svn-id: svn://10.0.0.236/trunk@89422 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:02:05 +00:00
heikki%netscape.com
e90510463a
Bug 66786, fix UMR in GetLine(). Fix by Daniel Bratell (bratell@lysator.liu.se). r=heikki, sr=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@88755 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 02:03:57 +00:00
nisheeth%netscape.com
bcdcfa2b17
r=harishd. sr=vidur. Fix for bug 44094. Fixes off by one error in column number in XML error message.
...
git-svn-id: svn://10.0.0.236/trunk@87783 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 06:44:37 +00:00
gagan%netscape.com
f3f5b36700
Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@85797 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 01:33:03 +00:00
heikki%netscape.com
f18ce5bc62
Bug 64448, comments in internal subset moved to before internal subset. I also fixed some static global variables and NS_GET_IID stuff. r=harishd, sr=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@85027 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 18:59:12 +00:00
jst%netscape.com
dfa08e19a2
Checking in fix for annoying asserts on startup caused by a doctype token problem in the parser that was introduced yesterday, casting char * to PRUnichar * just aint a good idea (although that was only part of the problem). Fix done mostly by heikki@netscape.com, r=heikki, harishd, sr=me.
...
git-svn-id: svn://10.0.0.236/trunk@83618 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 02:30:12 +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
harishd%netscape.com
34a0c50b1e
46702 ( nsbeta3+ ) Partial - Made token cache to be arena based.
...
r=vidur
git-svn-id: svn://10.0.0.236/trunk@77624 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 18:22:03 +00:00
nisheeth%netscape.com
77a2d6896f
- Fix for nsbeta3+ bug 10292: ID attribute information is passed up from the parser to the content sink and into the node info objects associated with content objects. nsIXMLContent now inherits from nsIStyledContent which allows
...
authors to use ID selectors to target elements in an XML document.
- Checking in a P3P related patch to the pres shell, html document, and xml document from Tom Lendacky (toml@us.ibm.com )
git-svn-id: svn://10.0.0.236/trunk@77529 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:35:43 +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
vidur%netscape.com
dc0d9afb5a
Fix for bug 15118. XML content sink now processes the DOCTYPE. r=jst,nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@72471 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 01:49:19 +00:00
rbs%maths.uq.edu.au
de23cc3486
Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@72300 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 09:54:41 +00:00
nisheeth%netscape.com
8a6a52bef1
1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
...
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
git-svn-id: svn://10.0.0.236/trunk@67709 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 06:58:53 +00:00
rickg%netscape.com
57616b9065
removed warnings; retry landing Strict DTD. r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@66430 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 08:08:28 +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
nisheeth%netscape.com
057f60e982
Fix for bug 13565. Removed code that dumps XML error messages to console because error messages now show up inside the browser window.
...
git-svn-id: svn://10.0.0.236/trunk@65762 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 04:13:41 +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
nisheeth%netscape.com
9c91417984
r=pollmann. Fix for bug 29395. XML error messages now show up in the content area for XML, RDF, and XUL files. Earlier, they would only show up for XML files.
...
- Generate tokens in the expat tokenizer to display an XML error message.
- Process those tokens in the XML DTD
- Add a SetStringValue() method to CToken that accepts an nsString parameter.
- Removed code in the XML content sink's NotifyError() method to create error message content.
git-svn-id: svn://10.0.0.236/trunk@64553 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:41:48 +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
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
ftang%netscape.com
3d66be1497
fix bug 20570. r=harishd a=jar. Compare against PRUnichar instead of the first byte.
...
git-svn-id: svn://10.0.0.236/trunk@62186 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:38:12 +00:00
nisheeth%netscape.com
1608c3e134
Fix for bug 21647. r=harishd. The expat tokenizer was keeping static state and clobbering it because multiple instances of it were running at the same time. It no longer uses static state but sets the state as user data on the expat parser and gets it back as a parameter in the callbacks from the parser. Placing chrome.rdf files in the locale directory of chrome no longer results in huge windows with no content.
...
git-svn-id: svn://10.0.0.236/trunk@59039 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 08:02:53 +00:00
harishd%netscape.com
f0e1788e4b
Fix for bugs:
...
22485, 20799 ( SCRIPT content processing)
r=vidur,pollmann
Fix for bugs
22260 ( enabling userdifined tags ) - partial fix.
23765 ( handling misplaced newlines/whitespace).
r=rickg
git-svn-id: svn://10.0.0.236/trunk@57953 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 20:35:57 +00:00
rickg%netscape.com
0abfa57047
This fixes PDT+Bug:20228. The essential problem was the lack of refcounting on tokenizers. Also fixed unchecked
...
dereferences in expattokenizer. r=kmcclusk; a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@55839 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 04:01:26 +00:00
warren%netscape.com
51881fbcea
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
...
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +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
nisheeth%netscape.com
e3cf2c3428
r=harishd, a=chofmann. Fix for bugs 11992, 10563. New lines get reported in the XML document prolog. Now, JS errors in XML report correct line numbers.
...
git-svn-id: svn://10.0.0.236/trunk@52750 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 23:50:16 +00:00
cls%seawood.org
3e1a9ca95a
Removed unused NECKO ifdefs.
...
a=leaf
git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
nisheeth%netscape.com
add2edbda0
r=pollmann. Check local DTD directory for dtd files and, if found, load them from there.
...
git-svn-id: svn://10.0.0.236/trunk@52456 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 01:16:37 +00:00
nisheeth%netscape.com
151090fbb2
r=nisheeth. Fix for bug 9781 submitted by Johnny Stenbeck (jst@citec.fi). Thanks Johnny.
...
git-svn-id: svn://10.0.0.236/trunk@52033 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 01:50:37 +00:00
nisheeth%netscape.com
aea3ade8fe
Follow-up to fix for bug 10456. I made the earlier changes to the non-Necko part of the code! Making the same changes to the ifdef NECKO part.
...
git-svn-id: svn://10.0.0.236/trunk@51815 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 02:42:23 +00:00