harishd%netscape.com
3431058030
Update expat buffer postion when the parser is about to get blocked. b=185325, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@135413 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 19:18:40 +00:00
hwaara%chello.se
79c60ad859
#62157 , "Document content is rendered even though version value is not '1.0'." Make us care about what version is specified and bail out on anything but "1.0".
...
r=bzbarsky, sr=heikki, a=asa
git-svn-id: svn://10.0.0.236/trunk@125527 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 01:18:52 +00:00
harishd%netscape.com
47d396b630
Crasher - Expat parser's XML_ParseBuffer wasn't aware of the BLOCKING mechansim and hence failed to update the buffer position ( bufferPtr ). The fix would update bufferPtr such that when the expat parser gets upblocked we'd resume from the point we stopped. b=123475, r=rbs@maths.uq.edu.au, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@114862 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:01:18 +00:00
heikki%netscape.com
d3fe0d3a87
Bug 35984, make an undefined entity always a fatal error; report errors while parsing external entities (regression) and a minor optimization in loading external entities. r=harishd, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@112898 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 23:19:23 +00:00
harishd%netscape.com
f1f8189502
Fixing regressions: In order to update the expat buffer position correctly do not block after processing a start element. b=119399, r=heikki, sr=jst. Update the expat buffer position if we're blocked after processing the end element. b=119727, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@112123 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 23:42:53 +00:00
harishd%netscape.com
9cf56b14c2
Replace C++ style comment with C style comment
...
git-svn-id: svn://10.0.0.236/trunk@111651 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 06:48:12 +00:00
harishd%netscape.com
efceeab44e
Replaced C++ style comment with C comment
...
git-svn-id: svn://10.0.0.236/trunk@111642 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 03:32:56 +00:00
harishd%netscape.com
476668ebbc
105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@111618 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:37:50 +00:00
seawood%netscape.com
0bd62df729
Landing the rest of the win32 gmake changes:
...
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup
Bug #58981 r=mcafee
git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
gerv%gerv.net
84cda8fe40
License changes Round 2. Expat. Updating licensing to be consistent with latest version of expat (MIT/X); relicensing NS-contributed code under expat's license (except the build system, which is tri-licensed.) Removing outdated licensing information and adding new COPYING file. This has been checked with James Clark. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104172 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 00:10:42 +00:00
gerv%gerv.net
ae1d5501a1
Oops.
...
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
gerv%gerv.net
4448a74f22
More license whackage. We are relicensing the expat makefiles to be compatible with the LGPL and GPL but making it clear that expat itself is under James Clakrk's MIT/X license. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@103228 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 21:50:17 +00:00
cls%seawood.org
88aedd461b
Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
...
Changes allow us to have a finer control over which parts of the tree are built with PIC. Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
nisheeth%netscape.com
3c4e66755e
Made it so that expat defines abort() to nothing when it is compiled within Mozilla. r=peterv. sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@89236 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 07:27:16 +00:00
heikki%netscape.com
d4291ccd23
Bug 34168, report error instead of crashing if we encounter a parameter entity containing double percent sign. Fix from James Clark. r=nisheeth, a=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@84388 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 23:03:32 +00:00
heikki%netscape.com
42e783bf26
Bug 63560, XML content sink was not adding script element contents to the content model. Includes also minor optimizations and fixes 2 compiler warnings. r=harishd, a=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@84335 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:30:11 +00:00
vidur%netscape.com
8b926bfcb5
Set expat endian flags so we don't do an extra copy. r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@83544 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 20:23:50 +00:00
nisheeth%netscape.com
ea6d296eed
a=vidur. Fix for bug 34168. We now handle the case of a redundant percentage sign in the entity value of an entity definition in the internal subset without crashing.
...
git-svn-id: svn://10.0.0.236/trunk@81047 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 21:07:45 +00:00
dbaron%fas.harvard.edu
1cb4de803c
Some compilers don't like C++ comments in C files. Changing to C comments.
...
git-svn-id: svn://10.0.0.236/trunk@77546 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:35:07 +00:00
nisheeth%netscape.com
9ea409dbbf
Upgrading to the latest version of expat...
...
git-svn-id: svn://10.0.0.236/trunk@77520 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:17:14 +00:00
slamm%netscape.com
d43ab7f0e7
Fix "comparison between signed and unsigned" build warning.
...
git-svn-id: svn://10.0.0.236/trunk@67244 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:25:47 +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
cd137af4d4
Fix for bug 15633. Fixing build warning with the patch submitted by James Clark (jjc@jclark.com). r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@51964 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 07:39:57 +00:00
ramiro%fateware.com
a5d3f6cc70
Removing the badly rotten MOZ_STRIP_NOT_EXPORTED hack. We now have a better
...
way to accomplish the same thing using linker version scripts.
r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@51521 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 07:11:43 +00:00
nisheeth%netscape.com
f2e1746b5e
Fixing build warning.
...
git-svn-id: svn://10.0.0.236/trunk@48403 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 21:35:50 +00:00
briano%netscape.com
e0bf25c550
Cleaned it up and eliminated the pointless #!gmake.
...
git-svn-id: svn://10.0.0.236/trunk@45591 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:30:07 +00:00
briano%netscape.com
7bc5d23d7a
Fix for Unix native compiler builds. A newline is required at the EOF.
...
git-svn-id: svn://10.0.0.236/trunk@44702 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 22:53:50 +00:00
nisheeth%netscape.com
fa0779c5e0
Protecting mozilla specific defines with MOZILLA_CLIENT...
...
git-svn-id: svn://10.0.0.236/trunk@44582 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 00:18:25 +00:00
jdunn%netscape.com
ffeb5dd19d
Fix build error on AIX, which won't allow 'redefining' of functions (i.e memcopy)
...
I talked this over with Nisheeth and the only reason this was put in was to
fix compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@43692 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 21:24:06 +00:00
ramiro%netscape.com
4517f5371f
Link expat and xmltok into the htmlparser statically. Not into the app.
...
git-svn-id: svn://10.0.0.236/trunk@43405 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-17 12:46:23 +00:00
nisheeth%netscape.com
4b2a5caee9
Fixed some warnings in xmlparse.c. Thanks a lot to kherron@sgum.mci.com for noticing these warnings, filing a bug, and attaching an attempted fix to the bug report.
...
git-svn-id: svn://10.0.0.236/trunk@42852 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 23:52:45 +00:00
nisheeth%netscape.com
94f172124b
Checking in a patch that lets us build on a redhat 6.0 box with glibc-2.1.2-3 installed. Thanks a lot to Brian Ryner (bryner@students.uiuc.edu) for the patch.
...
git-svn-id: svn://10.0.0.236/trunk@42837 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 22:51:53 +00:00
nisheeth%netscape.com
2b662e73d1
Updating expat to latest release from James Clark.
...
git-svn-id: svn://10.0.0.236/trunk@42647 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 06:24:08 +00:00
rhp%netscape.com
671ac1c69e
Newline at end
...
git-svn-id: svn://10.0.0.236/trunk@39796 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 00:34:16 +00:00
nisheeth%netscape.com
9c36c9671a
Enable external parameter entity parsing in expat.
...
git-svn-id: svn://10.0.0.236/trunk@39763 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 21:54:04 +00:00
nisheeth%netscape.com
32d7c67c36
Remove XML_DTD #define. Reviewed by Tao.
...
git-svn-id: svn://10.0.0.236/trunk@38773 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 03:21:33 +00:00
nisheeth%netscape.com
9fbf1735ea
Remove #define XML_DTD. This is defined in the makefiles.
...
git-svn-id: svn://10.0.0.236/trunk@38771 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 03:20:09 +00:00
briano%netscape.com
112a613420
Fix for AIX and HP-UX and probably other Unix variants.
...
git-svn-id: svn://10.0.0.236/trunk@38769 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 03:06:59 +00:00
nisheeth%netscape.com
9a03e6c09f
Turning on the XML_DTD define...
...
git-svn-id: svn://10.0.0.236/trunk@38613 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 04:38:33 +00:00
tao%netscape.com
9e02e844a8
Turn on XML_DTD manually.
...
git-svn-id: svn://10.0.0.236/trunk@38574 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 03:13:58 +00:00
ramiro%netscape.com
294068fd65
Part I of Alexander Larsson's (alex@signum.se) patch to reduce symbol bloat.
...
All these changes are safely ifdefed out for the time being.
There are also a few implementation
DEFINES cleanups.
git-svn-id: svn://10.0.0.236/trunk@38100 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 14:59:36 +00:00
tao%netscape.com
2a43926ce8
Fix bustage
...
git-svn-id: svn://10.0.0.236/trunk@37956 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 03:34:24 +00:00
tao%netscape.com
fa7df41183
Merge James Clark's DTD patch. "ifdefed by XML_DTD".
...
git-svn-id: svn://10.0.0.236/trunk@37938 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 02:32:56 +00:00
jdunn%netscape.com
3a94d4f0be
Use C comment delims and not C++
...
git-svn-id: svn://10.0.0.236/trunk@35596 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:08:26 +00:00
cata%netscape.com
42c5df2c1b
External DTD support. (but wrapped in #ifdef EXTERNAL_ENTITY_SUPPORT)
...
git-svn-id: svn://10.0.0.236/trunk@35469 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:20:01 +00:00
nisheeth%netscape.com
6922c01ae7
We are not using the XML_UNICODE_WCHAR_T define on any platform. So, no need to define it.
...
git-svn-id: svn://10.0.0.236/trunk@29045 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 08:34:43 +00:00
nisheeth%netscape.com
f87d9ae7f2
Fix for bug 5447. Check for #define XML_UNICODE_WCHAR_T before using the data type wchar_t.
...
git-svn-id: svn://10.0.0.236/trunk@29044 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 08:33:34 +00:00
bruce%cybersight.com
a5ecc8a2ad
This file is compiled by a C compiler. C++ comments are off-limits!! Permission to checkin granted by shaver.
...
git-svn-id: svn://10.0.0.236/trunk@28795 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 04:33:28 +00:00
shaver%netscape.com
4e30afe03e
XML_UNICODE_WCHAR_T is not suitable for use where sizeof(wchar_t) != 2. That includes Linux at least, so let's just not do this on Unix at all for now. a=donm
...
git-svn-id: svn://10.0.0.236/trunk@28726 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 20:51:47 +00:00
nisheeth%netscape.com
7fa9663faf
Turning on unicode chars in expat.
...
git-svn-id: svn://10.0.0.236/trunk@28665 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 05:27:16 +00:00