History log of /external/libxml2/hash.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1811add768cabe36f763c960a40698418c5cbe47 14-Jul-2014 Gaurav Gupta <g.gupta@samsung.com> Fix various Missing Null checks

For https://bugzilla.gnome.org/show_bug.cgi?id=732823
/external/libxml2/hash.c
b123711189344eb0f8a07acd9d8feff572973db9 12-Apr-2013 Daniel Franke <dafranke@akamai.com> Improve the hashing functions
/external/libxml2/hash.c
f8e3db0445a1bc8cfe3f77326b07ec161482caa2 11-Sep-2012 Daniel Veillard <veillard@redhat.com> Big space and tab cleanup

Remove all space before tabs and space and tabs at end of lines.
/external/libxml2/hash.c
379ebc1d774865fa92f2a8d80cc4da65cbe19998 18-May-2012 Daniel Veillard <veillard@redhat.com> Cleanup on randomization

tsan reported that rand() is not thread safe, so create
a thread safe wrapper, use rand_r() if available.
Consolidate the function, initialization and cleanup in
dict.c and make sure it is initialized in xmlInitParser()
/external/libxml2/hash.c
8973d58b7498fa5100a876815476b81fd1a2412a 04-Feb-2012 Daniel Veillard <veillard@redhat.com> Add hash randomization to hash and dict structures

Following http://www.ocert.org/advisories/ocert-2011-003.html
it seems that having hash randomization might be a good idea
when using XML with untrusted data
* configure.in: lookup for rand, srand and time
* dict.c: add randomization to dictionaries hash tables
* hash.c: add randomization to normal hash tables
/external/libxml2/hash.c
594e5dfb48ee6fbac1b64155839063648022fc57 07-Sep-2009 Daniel Veillard <veillard@redhat.com> Chasing dead assignments reported by clang-scan

* SAX2.c dict.c error.c hash.c nanohttp.c parser.c python/libxml.c
relaxng.c runtest.c tree.c valid.c xinclude.c xmlregexp.c xmlsave.c
xmlschemas.c xpath.c xpointer.c: mostly removing unneded affectations,
but this led to a few real bugs and some part not yet understood
(relaxng/interleave)
/external/libxml2/hash.c
ac4118d5ca3ffc0f59294ff85296fca0b2d340c0 11-Jan-2008 Daniel Veillard <veillard@src.gnome.org> handle a erroneous parsing of attributes in case said attribute has been

* parser.c: handle a erroneous parsing of attributes in
case said attribute has been redeclared in the DTD with a
different type
* hash.c: fix the hash scanner to not crash if a first element
from the hash list is been removed in the callback
Daniel

svn path=/trunk/; revision=3669
/external/libxml2/hash.c
5d4644ef6e38479a648615eca758c5e962a141d5 01-Apr-2005 Daniel Veillard <veillard@src.gnome.org> revamped the elfgcchack.h format to cope with gcc4 change of aliasing

* doc/apibuild.py doc/elfgcchack.xsl: revamped the elfgcchack.h
format to cope with gcc4 change of aliasing allowed scopes, had
to add extra informations to doc/libxml2-api.xml to separate
the header from the c module source.
* *.c: updated all c library files to add a #define bottom_xxx
and reimport elfgcchack.h thereafter, and a bit of cleanups.
* doc//* testapi.c: regenerated when rebuilding the API
Daniel
/external/libxml2/hash.c
316a5c398919cc1503c59130f7aed14a1111cab7 23-Jan-2005 Daniel Veillard <veillard@src.gnome.org> added xmlHashCreateDict where the hash reuses the dictionnary for internal

* hash.c include/libxml/hash.h: added xmlHashCreateDict where
the hash reuses the dictionnary for internal strings
* entities.c valid.c parser.c: reuse that new API, leads to a decent
speedup when parsing for example DocBook documents.
Daniel
/external/libxml2/hash.c
e991fe958f5269a459262bcff802a3d26167edb8 29-Oct-2003 Daniel Veillard <veillard@src.gnome.org> change suggested by Anthony Carrico when unregistering a namespace prefix

* xpath.c: change suggested by Anthony Carrico when unregistering
a namespace prefix to a context
* hash.c: be more careful about calling callbacks with NULL payloads.
Daniel
/external/libxml2/hash.c
092643b52d29e6b721c257c4c88efa8259eebfe9 25-Sep-2003 Daniel Veillard <veillard@src.gnome.org> preparing a beta3 solving the ABI problems make sure the global variables

* configure.in: preparing a beta3 solving the ABI problems
* globals.c parser.c parserInternals.c testHTML.c HTMLparser.c SAX.c
include/libxml/globals.h include/libxml/SAX.h: make sure the
global variables for the default SAX handler are V1 ones to
avoid ABI compat problems.
* xmlreader.c: cleanup of uneeded code
* hash.c: fix a comment
Daniel
/external/libxml2/hash.c
7a02cfe0d7c5bd03dd51a945561b9c6e1df614e9 25-Sep-2003 Daniel Veillard <veillard@src.gnome.org> fixing some comments to avoid warnings from apibuild.py Daniel

* SAX2.c hash.c parser.c include/libxml/xmlexports.h
include/libxml/xmlmemory.h include/libxml/xmlversion.h.in:
fixing some comments to avoid warnings from apibuild.py
Daniel
/external/libxml2/hash.c
8e36e6a0be58bc9a300b2a29f7744620e85ec9fa 10-Sep-2003 Daniel Veillard <veillard@src.gnome.org> 2.6.0beta1 changes Fixing attribute normalization, might not be totally

* configure.in doc/* : 2.6.0beta1 changes
* SAX2.c hash.c parser.c parserInternals.c: Fixing attribute
normalization, might not be totally fixed but this should
make sure SAX event provide the right strings for attributes
except entities for which libxml2 is different by default
This should fix #109564
* result/attrib.xml.sax result/ent3.sax result/p3p.sax: minor changes
in attribute callback values
* result/c14n/with-comments/example-4
result/c14n/without-comments/example-4: this also fixes a subtle
bug in the canonicalization tests.
Daniel
/external/libxml2/hash.c
e57ec790de9de71a3b646a853447a842f4fc3c9b 10-Sep-2003 Daniel Veillard <veillard@src.gnome.org> Time to commit 3 days of work rewriting the parser internal,
fixing bugs and migrating to SAX2 interface by default. There
is some work letf TODO, like namespace validation and attributes
normalization (this break C14N right now)
* Makefile.am: fixed the test rules
* include/libxml/SAX2.h include/libxml/parser.h
include/libxml/parserInternals.h SAX2.c parser.c
parserInternals.c: changing the parser, migrating to SAX2,
adding new interface to switch back to SAX1 or initialize a
SAX block for v1 or v2. Most of the namespace work is done
below SAX, as well as attribute defaulting
* globals.c: changed initialization of the default SAX handlers
* hash.c tree.c include/libxml/hash.h: added QName specific handling
* xmlIO.c: small fix
* xmllint.c testSAX.c: provide a --sax1 switch to test the old
version code path
* result/p3p result/p3p.sax result/noent/p3p test/p3p: the new code
pointed out a typo in a very old test namespace
Daniel
/external/libxml2/hash.c
6155d8aafa3cc60b5fdaaf75b423e489ea8280c4 19-Aug-2003 Daniel Veillard <veillard@src.gnome.org> optimization when freeing hash tables. some tuning of buffer allocations

* dict.c hash.c: optimization when freeing hash tables.
* parser.c xmlIO.c include/libxml/tree.h: some tuning of buffer
allocations
* parser.c parserInternals.c include/libxml/parser.h: keep a
single allocated block for all the attributes callbacks,
avoid useless malloc()/free()
* tree.c: do not realloc() when growing a buffer if the buffer
ain't full, malloc/memcpy/free avoid copying memory.
Daniel
/external/libxml2/hash.c
01c13b5be2d249ef66d86585adee87901bb8efa2 10-Dec-2002 Daniel Veillard <veillard@src.gnome.org> code cleanup, especially the function comments. fixed a small bug when

* DOCBparser.c HTMLparser.c c14n.c debugXML.c encoding.c hash.c
nanoftp.c nanohttp.c parser.c parserInternals.c testC14N.c
testDocbook.c threads.c tree.c valid.c xmlIO.c xmllint.c xmlmemory.c
xmlreader.c xmlregexp.c xmlschemas.c xmlschemastypes.c xpath.c:
code cleanup, especially the function comments.
* tree.c: fixed a small bug when freeing nodes which are XInclude ones.
Daniel
/external/libxml2/hash.c
aeb258a9ca9206070e912d8a3ce201777333748e 13-Sep-2002 Daniel Veillard <veillard@src.gnome.org> cosmetic cleanup started integrating a DTD validation layer based on the

* hash.c: cosmetic cleanup
* valid.c include/libxml/tree.h include/libxml/valid.h: started
integrating a DTD validation layer based on the regexps
Daniel
/external/libxml2/hash.c
fdc9156a753e839386d9f82b7a962f9779de862c 01-Jul-2002 Daniel Veillard <veillard@src.gnome.org> applied patch from Richard Jinks for the namespace axis + fixed a memory

* xpath.c: applied patch from Richard Jinks for the namespace
axis + fixed a memory error.
* parser.c parserInternals.c: applied patches from Peter Jacobi
removing ctxt->token for good.
* xmlschemas.c xmlschemastypes.c: fixed a few memory leaks
popped out by the regression tests.
* Makefile.am: patch for threads makefile from Gary Pennington
Daniel
/external/libxml2/hash.c
153120c4b7789d3f650f5060e86ab99683df252c 18-Jun-2002 Daniel Veillard <veillard@src.gnome.org> applied a patch from Peter Jacobi to solve a problem when compiling with

* hash.c: applied a patch from Peter Jacobi to solve a problem
when compiling with the Watcom C on Win32
* result/schemas/*.err: the change of hashing algo generated
permutations in the output
Daniel
/external/libxml2/hash.c
5f7f991ab7055c1a96aed0127cebfa22a180c181 17-Jun-2002 Daniel Veillard <veillard@src.gnome.org> applied patch from Sander Vesik improving the quality of the hash

* hash.c: applied patch from Sander Vesik improving the quality of
the hash function.
Daniel
/external/libxml2/hash.c
34ce8bece2f22cc99d25221b77315cd008f4866b 18-Mar-2002 Daniel Veillard <veillard@src.gnome.org> preparing 2.4.18 updated and rebuilt the web site implement the new

* configure.in: preparing 2.4.18
* doc/*: updated and rebuilt the web site
* *.c libxml.h: implement the new IN_LIBXML scheme discussed with
the Windows and Cygwin maintainers.
* parser.c: humm, changed the way the SAX parser work when
xmlSubstituteEntitiesDefault(1) is set, it will then
do the entity registration and loading by itself in case the
user provided SAX getEntity() returns NULL.
* testSAX.c: added --noent to test the behaviour.
Daniel
/external/libxml2/hash.c
314cfa083ce59d6e3ffa5d19397b3a9c8ee1f657 14-Jan-2002 Daniel Veillard <veillard@src.gnome.org> patch from Anthony Jones for hash.c allocation size trying to work around

* hash.c: patch from Anthony Jones for hash.c allocation size
* Makefile.am: trying to work around Yet Another Libtool Madness
and build the 2.4.13 release finally ...
daniel
/external/libxml2/hash.c
cbaf399537a1fb69ef97b079e4cb553869aaa4d9 31-Dec-2001 Daniel Veillard <veillard@src.gnome.org> applied 42 documentation patches from Charlie Bozeman. Regenerated the

* *.c include/libxml/*.h doc/html/*: applied 42 documentation
patches from Charlie Bozeman. Regenerated the HTML docs.
Daniel
/external/libxml2/hash.c
3c01b1d81b696fe8624b6d7e26ec0ebffcc7c06b 17-Oct-2001 Daniel Veillard <veillard@src.gnome.org> - include/libxml/globals.h include/libxml/threads.h threads.c
testThreads.c: far more testing, cleaning up bugs
- *.c : make sure globals.h is always included.
Daniel
/external/libxml2/hash.c
e812624729df8ecb507aaafb780bef39124f8d9f 22-Jul-2001 Thomas Broyer <tbroyer@src.gnome.org> added xmlHashScannerFull, xmlHashScanFull and xmlHashScannFull3 to get


* hash.c include/libxml/hash.h: added xmlHashScannerFull,
xmlHashScanFull and xmlHashScannFull3 to get passed the
three keys as arguments to the callback function
/external/libxml2/hash.c
5e2dace1ca6fbb023d1ce848d4e98deefbbfec31 18-Jul-2001 Daniel Veillard <veillard@src.gnome.org> Cleanup, cleanup .. removed libxml softlink for good cleanup to get 100%

Cleanup, cleanup ..
* configure.in Makefile.am: removed libxml softlink for good
* include/libxml/*.h *.c doc/Makefile.am: cleanup to get
100% coverage by gtk-doc
Daniel
/external/libxml2/hash.c
f69bb4b5bf3df1982f63a331b02cd7187456492f 19-May-2001 Daniel Veillard <veillard@src.gnome.org> - HTMLparser.c: Closed bug #54891
- result/HTML/cf_128.html* test/HTML/cf_128.html: added the test
to the suite
forgot to commit this one yesterday
- encoding.h hash.c nanoftp.h parser.h tree.h uri.h xlink.h xpointer.c:
applied a documentation patch from LotR and filled in a few missing
descriptions
Daniel
/external/libxml2/hash.c
70a9da54eb200cd5c5ceafb72aff72c39021c94c 21-Apr-2001 Bjorn Reese <breese@src.gnome.org> trio upgrade and integration
/external/libxml2/hash.c
dab4cb37d8fceb7457c40effc1ae43559221610b 20-Apr-2001 Daniel Veillard <veillard@src.gnome.org> Geez, this one was painful ! I still need to handle entities references
for the validation step but I have a clean way to add this without touching
the algorithm:
- valid.[ch] tree.h: worked *hard* to get non-determinist content
validation without using an ugly NFA -> DFA algo in the source.
Made a specific algorithm easier to maintain, using a single
stack and without recursion.
- Makefile.am test/VCM/*.xml: added more tests to "make Validtests"
- hash.c: made the growing routine static
- tree.h parser.c: added the parent information to an
xmlElementContent node.
Daniel
/external/libxml2/hash.c
a10efa8aa6e8a89ad1f5fa05bd591fed02c88dba 18-Apr-2001 Daniel Veillard <veillard@src.gnome.org> - debugXML.c hash.c tree.h valid.c : some changes related to
the validation suport to improve speed with DocBook
- result/VC/OneID2 result/VC/OneID3 : this slightly changes
the way validation errors get reported
Daniel
/external/libxml2/hash.c
9e7160d45a18bfa26d708e22ba991f7670d0128b 19-Mar-2001 Daniel Veillard <veillard@src.gnome.org> Completely changed the way the XPath evaluation is done, likely to break
stuff like libxslt right now:
- Makefile.am: detect XPath memleaks in regreson tests
- error.c: fixed and error w.r.t. error reporting still using
stderr
- hash.c: added new line at end of file
- tree.h: minor cleanup
- xpath.[ch] xpointer.[ch]: Major changes ! Separated XPath
expression parsing from evaluation, resulted in a number of
changes internally, and in XPointer. Likely to break stuff
using xpathInternals.h but should remain binary compatible,
new interfaces will be added.
Daniel
/external/libxml2/hash.c
3473f88a7abdf4e585e267288fb77e898c580d2b 23-Feb-2001 Owen Taylor <otaylor@src.gnome.org> Revert directory structure changes
/external/libxml2/hash.c
64636e7f6e97729eae365801ab13632492bf0b14 23-Feb-2001 CET 2001 Tomasz K�oczko <kloczek@pld.org.pl> moved to libxml directory - this allow simplify automake/autoconf. Now

Thu Feb 23 02:03:56 CET 2001 Tomasz K�oczko <kloczek@pld.org.pl>

* *.c *.h libxml files: moved to libxml directory - this allow
simplify automake/autoconf. Now isn't neccessary hack on
am/ac level for make and remove libxml symlink (modified for this
also configure.in and main Makefile.am). Now automake abilities
are used in best way (like in many other projects with libraries).
* include/win32config.h: moved to libxml directory (now include
directory isn't neccessary).
* Makefile.am, examples/Makefile.am, libxml/Makefile.am:
added empty DEFS and in INCLUDES rest only -I$(top_builddir) -
this allow minimize parameters count passed to libtool script
(now compilation is also slyghtly more quiet).
* configure.in: simplifies libzdetestion - prepare separated
variables for keep libz name and path to libz header files isn't
realy neccessary (if someone have libz installed in non standard
prefix path to header files ald library can be passed as:
$ CFALGS="-I</libz.h/path>" LDFLAGS="-L</libz/path>" ./configure
* autogen.sh: check now for libxml/entities.h.

After above building libxml pass correctly and also pass
"make install DESTDIR=</install/prefix>" from tar ball generated by
"make dist". Seems ac/am reorganization is finished. This changes
not touches any other things on *.{c,h} files level.
/external/libxml2/hash.c
d194dd289250f4bea6247115b722b2de37e1866b 14-Feb-2001 Daniel Veillard <veillard@src.gnome.org> - hash.[ch]: added Paolo Casarini patch to provide Delete from
hash functionnalities.
- doc/html/* : rebuild the doc
Daniel
/external/libxml2/hash.c
1f83d39fd3f0bb38c7b044dd8aedd9c5d90156ea 08-Feb-2001 Daniel Veillard <veillard@src.gnome.org> - hash.[ch]: added a first version of xmlHashSize()
- valid.c: another bug fix from Gary Pennington
Daniel
/external/libxml2/hash.c
c2def84b484f6706c2ad7d076a2f3e1c56f76b9f 07-Nov-2000 Daniel Veillard <veillard@src.gnome.org> Various patches and bug fixes, and XInclude progresses:
- nanohttp.[ch]: applied Wayne Davison patches to access
the WWW-Authorization header.
- parser.c: Closed Bug#30847: Problems when switching encoding
in short files by applying Simon Berg's patch.
- valid.c: fixed a validation problem
- hash.c parser.h parserInternals.h testHTML.c testSAX.c tree.h
xmlerror.h xmlmemory.h xmlversion.h.in: applied a DLL patch from
Wayne Davison
- xpointer.[ch]: added first version of xmlXPtrBuildNodeList()
need to be extended to non full nodes selections.
- xinclude.c: starts to work decently
Daniel
/external/libxml2/hash.c
9e8bfae59a087a938a810a5527023b1e7b0e15b3 06-Nov-2000 Daniel Veillard <veillard@src.gnome.org> XInclude and other stuff while travelling. Contributed patches:
- tree.[ch] xinclude.[ch] xmllint.c configure.in valid.c
debugXML.c xmlversion.h.in: Started adding XInclude support,
this is a new xmllint option
- tree.c xpath.c: applied TOM patches for XPath
- xpointer.c: fixed a couple of errors.
- uri.c: added an escaping function needed for xinclude
- testXPath.c hash.c HTMLtree.c: minor cleanups raised by
new warning from RH70 gcc's version
Daniel
/external/libxml2/hash.c
126f27992d541f6ff897554828c339822fafee65 24-Oct-2000 Daniel Veillard <veillard@src.gnome.org> Bunch of fixes, finishing moving datastructures to the hash stuff:
- hash.[ch] debugXML.c: expanded/enhanced the API, added
multikey tuples, made hash structure opaque
- valid.[ch]: moved elements, attributes, notations decalarations
as well as ID and refs to hash tables.
- entities.c: hash cleanup
- xmlmemory.c: fixed a dump problem in debug mode
- include/Makefile.am: problem passing in DESTDIR= values patch
from Marc Christensen <marc@calderasystems.com>
- nanohttp.c: removed debugging remains
- HTMLparser.c: the bogus tag should be ignored (Wayne)
- HTMLparser.c parser.c: fixing a number of problems with the
macros in the *parser.c files (Wayne).
- HTMLparser.c: close the previous option when opening a new one
(Marc Sanfacon).
- result/HTML/*: updated the HTML results accordingly
Daniel
/external/libxml2/hash.c
3fe876892e75ac2220988daba60d059d84ce3cfb 23-Oct-2000 Daniel Veillard <veillard@src.gnome.org> Ooops forgot the hash module on last commit, Daniel.
/external/libxml2/hash.c