SXSI/XMLTree.git
11 years agoRemove spurious printfs. master
Kim Nguyễn [Sat, 20 Oct 2012 05:27:32 +0000 (07:27 +0200)]
Remove spurious printfs.

11 years agoFix handling of subtree_elements. Make the function constant time better-doc smaneth-devel
Kim Nguyễn [Fri, 19 Oct 2012 13:09:11 +0000 (15:09 +0200)]
Fix handling of subtree_elements. Make the function constant time
by making use of the internal representation (no need to remove
all the attribute tags one by one but only remove twice the number
of attribute-data tags).

11 years agoUse reinterpret_cast to convert the unsigned char* returned
Kim Nguyễn [Wed, 17 Oct 2012 16:45:58 +0000 (18:45 +0200)]
Use reinterpret_cast to convert the unsigned char* returned
by the text collection into a const char*.

11 years agoRevert "Change the get_text() method to return a const char*"
Kim Nguyễn [Wed, 17 Oct 2012 16:43:53 +0000 (18:43 +0200)]
Revert "Change the get_text() method to return a const char*"

This reverts commit af91f717c43bc895905b7976528fe505c6a49615.

This commit stupidely uses static_cast instead of reinterpret_cast,
which breaks the compilation.

11 years agoRemove a double declaration of the same local variable.
Kim Nguyễn [Wed, 17 Oct 2012 11:12:14 +0000 (13:12 +0200)]
Remove a double declaration of the same local variable.

11 years agoChange the get_text() method to return a const char*
Kim Nguyễn [Wed, 17 Oct 2012 11:09:41 +0000 (13:09 +0200)]
Change the get_text() method to return a const char*

11 years agoDocumentation step 6: Properly document text functions.
Kim Nguyễn [Wed, 17 Oct 2012 11:12:39 +0000 (13:12 +0200)]
Documentation step 6: Properly document text functions.

11 years agoDocumentation step 5: Properly document navigation and jumping functions.
Kim Nguyễn [Tue, 16 Oct 2012 13:53:00 +0000 (15:53 +0200)]
Documentation step 5: Properly document navigation and jumping functions.

11 years agoDocumentation step 4: Properly document tag functions.
Kim Nguyễn [Tue, 16 Oct 2012 13:09:42 +0000 (15:09 +0200)]
Documentation step 4: Properly document tag functions.

11 years agoDocumentation step 3: Properly document node numbering functions.
Kim Nguyễn [Tue, 16 Oct 2012 13:03:47 +0000 (15:03 +0200)]
Documentation step 3: Properly document node numbering functions.

11 years agoDocumentation step 2: Properly document node test functions.
Kim Nguyễn [Tue, 16 Oct 2012 11:59:04 +0000 (13:59 +0200)]
Documentation step 2: Properly document node test functions.

11 years agoDocumentation step 1: Properly document counting functions.
Kim Nguyễn [Mon, 15 Oct 2012 16:40:22 +0000 (18:40 +0200)]
Documentation step 1: Properly document counting functions.

11 years agoRecord which tag ids map to attribute nodes. Use that in subtree_element
Kim Nguyễn [Mon, 15 Oct 2012 16:26:08 +0000 (18:26 +0200)]
Record which tag ids map to attribute nodes. Use that in subtree_element
instead of expecting the caller to pass the tag of attribute nodes.

11 years agoChange #include directive to reflect the renaming of the libbp directory
Kim Nguyễn [Sat, 13 Oct 2012 12:58:28 +0000 (14:58 +0200)]
Change #include directive to reflect the renaming of the libbp directory
(bp -> libbp)

11 years agoFormatting.
Kim Nguyễn [Fri, 12 Oct 2012 20:50:26 +0000 (22:50 +0200)]
Formatting.

11 years agoMake the code compile also in g++ 4.7 where read/write are not
Kim Nguyễn [Fri, 12 Oct 2012 20:49:46 +0000 (22:49 +0200)]
Make the code compile also in g++ 4.7 where read/write are not
pulled in the global namespace by #include <cstdio>

11 years agoFixes the printing of empty attributes (<a id=""> </a>).
Kim Nguyễn [Fri, 12 Oct 2012 18:52:47 +0000 (20:52 +0200)]
Fixes the printing of empty attributes (<a id=""> </a>).

11 years agoRemove old commented-out version of the printing code.
Kim Nguyễn [Fri, 12 Oct 2012 14:39:37 +0000 (16:39 +0200)]
Remove old commented-out version of the printing code.

11 years agoRemove a type
Kim Nguyễn [Fri, 12 Oct 2012 14:38:14 +0000 (16:38 +0200)]
Remove a type
Fix ONCE AND FOR ALL compilation issues for g++ prior to ver. 4.5
(remove for( : ) iterations and some instances of auto).

11 years agoFixes text_id_range to include the node itself, if it corresponds
Kim Nguyễn [Sat, 6 Oct 2012 18:19:01 +0000 (20:19 +0200)]
Fixes text_id_range to include the node itself, if it corresponds
to the first text-element.

11 years agoFixes bug where the tag ID used for the root is xml_tree::CLOSE_TAG.
Kim Nguyễn [Sat, 6 Oct 2012 18:14:42 +0000 (20:14 +0200)]
Fixes bug where the tag ID used for the root is xml_tree::CLOSE_TAG.

11 years agoMerge branch remove-virtual
Kim Nguyễn [Tue, 29 May 2012 06:12:22 +0000 (08:12 +0200)]
Merge branch remove-virtual

Updating a6ceb9a..f423189
Fast-forward
Squash commit -- not updating HEAD
 xml-tree-builder.cpp |    2 +
 xml-tree-inc.hpp     |   54 ++++++-
 xml-tree.cpp         |  406 +++++++++++++++++++++++++-------------------------
 xml-tree.hpp         |    7 +-
 4 files changed, 258 insertions(+), 211 deletions(-)

commit f423189f0f02a6649090256d1faa0748c29cb2e7
Author: Kim Nguyễn <kn@lri.fr>
Date:   Tue May 29 08:09:47 2012 +0200

    More inlining

commit d87421ea4d344a29eabbd6ecd25c38b828782a45
Author: Kim Nguyễn <kn@lri.fr>
Date:   Tue May 29 08:08:33 2012 +0200

    Replace abstract static_sequence by an array of static_sequence_sdarray
    (avoids calling virtual methods).

commit 6ccf015bb473e810c3f7f91f1f85f21044ed2c0b
Author: Kim Nguyễn <kn@lri.fr>
Date:   Tue May 29 08:07:51 2012 +0200

    Revert to old printing function

11 years agoFix a libcds bug:
Kim Nguyễn [Wed, 9 May 2012 12:25:45 +0000 (14:25 +0200)]
Fix a libcds bug:
    Sadakane's code uses big endian ordered words (for set/get bit)
    Francisco's code uses little endian ordered words.
    Add a set_le method to bit-vector

11 years agoRevert "Optimize subtree_elements by calling find_close only once."
Kim Nguyễn [Tue, 24 Apr 2012 14:14:17 +0000 (16:14 +0200)]
Revert "Optimize subtree_elements by calling find_close only once."

This reverts commit e9b536b9310b8a3df206a62df73651656a2ec3cb.
Return wrong results for the root node.

11 years agoOptimize subtree_elements by calling find_close only once.
Kim Nguyễn [Tue, 24 Apr 2012 13:47:38 +0000 (15:47 +0200)]
Optimize subtree_elements by calling find_close only once.

11 years agoAdd is_open function to test whether an index correspond to an
Kim Nguyễn [Tue, 24 Apr 2012 13:47:12 +0000 (15:47 +0200)]
Add is_open function to test whether an index correspond to an
open parenthesis.

12 years agoChange select_* functions from unordered_set<tag_t> to sorted tag_t[] big-refactor
Kim Nguyễn [Wed, 18 Apr 2012 12:27:09 +0000 (14:27 +0200)]
Change select_* functions from unordered_set<tag_t> to sorted tag_t[]

12 years agoFix bug in xml_tree::print (which would pop the printing stack one time
Kim Nguyễn [Thu, 12 Apr 2012 14:31:05 +0000 (16:31 +0200)]
Fix bug in xml_tree::print (which would pop the printing stack one time
too many).

12 years agoRemove suprious debugging macros.
Kim Nguyễn [Thu, 12 Apr 2012 14:30:54 +0000 (16:30 +0200)]
Remove suprious debugging macros.

12 years agoRemove spurious debugging message.
Kim Nguyễn [Thu, 12 Apr 2012 13:38:46 +0000 (15:38 +0200)]
Remove spurious debugging message.

12 years agoVarious fixes, mainly tagged_sibling/select_sibling.
Kim Nguyễn [Fri, 6 Apr 2012 12:03:00 +0000 (14:03 +0200)]
Various fixes, mainly tagged_sibling/select_sibling.

12 years agoChange get_bit/set_bit to access the vector in big endian (to match
Kim Nguyễn [Fri, 6 Apr 2012 12:01:26 +0000 (14:01 +0200)]
Change get_bit/set_bit to access the vector in big endian (to match
libbp).

12 years agoHuge refactoring to remove diego' C/C++ chimera code. big_refactor
Kim Nguyễn [Wed, 4 Apr 2012 16:59:58 +0000 (18:59 +0200)]
Huge refactoring to remove diego' C/C++ chimera code.

12 years agoSplit debugging and profiling mode.
Kim Nguyễn [Thu, 29 Mar 2012 12:04:34 +0000 (14:04 +0200)]
Split debugging and profiling mode.

12 years agoOptimize isFirstChild
Kim Nguyễn [Thu, 29 Mar 2012 11:59:27 +0000 (13:59 +0200)]
Optimize isFirstChild

12 years agoFix memory leak in printing code.
Kim Nguyễn [Thu, 29 Mar 2012 11:58:26 +0000 (13:58 +0200)]
Fix memory leak in printing code.

12 years agoDon't create the text collection during parsing but afterwards.
Kim Nguyễn [Thu, 1 Mar 2012 13:19:46 +0000 (14:19 +0100)]
Don't create the text collection during parsing but afterwards.

12 years agoAllow gcc link-time optimizations.
Kim Nguyễn [Thu, 1 Mar 2012 13:19:21 +0000 (14:19 +0100)]
Allow gcc link-time optimizations.

12 years agoMerge branch 'local-library-split' into local-trunk trunk
kim [Tue, 14 Feb 2012 10:21:51 +0000 (10:21 +0000)]
Merge branch 'local-library-split' into local-trunk

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1222 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoAdd macro IS_NIL
Kim Nguyễn [Tue, 14 Feb 2012 10:00:45 +0000 (11:00 +0100)]
Add macro IS_NIL

    Testing whether a node is NIL with < 0 rather than == -1 allows
    the compiler to know that a node is >= in subsequent code, thus
    opening the door to more aggressive optimizations.

12 years agoUpdate code according to libbp renaming.
kim [Mon, 13 Feb 2012 21:49:45 +0000 (21:49 +0000)]
Update code according to libbp renaming.
 * remove hard-coded 'fast' functions (these are now inline static in libbp)
 * remove dead code

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/branches/XMLTree/library-split@1215 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoMove Sadakane's bp and Francisco's libcds in their own repository.
kim [Mon, 13 Feb 2012 15:14:37 +0000 (15:14 +0000)]
Move Sadakane's bp and Francisco's libcds in their own repository.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/branches/XMLTree/library-split@1207 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoCreate branch library-split
kim [Mon, 13 Feb 2012 13:33:29 +0000 (13:33 +0000)]
Create branch library-split

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/branches/XMLTree/library-split@1202 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoAdd nextNodeBefore primitive.
kim [Tue, 7 Feb 2012 17:24:05 +0000 (17:24 +0000)]
Add nextNodeBefore primitive.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1198 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoAdd debugging option to make
kim [Wed, 9 Nov 2011 15:41:41 +0000 (15:41 +0000)]
Add debugging option to make
Clean-up XMLTreeBuilder

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1171 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoDelete cruft.
kim [Wed, 2 Nov 2011 20:54:27 +0000 (20:54 +0000)]
Delete cruft.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1164 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoExpose Tag->SelectNext in the interface
kim [Wed, 2 Nov 2011 00:38:22 +0000 (00:38 +0000)]
Expose Tag->SelectNext in the interface

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1160 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoDetect if the architecture support a native popcount asm instruction
kim [Fri, 9 Sep 2011 15:18:44 +0000 (15:18 +0000)]
Detect if the architecture support a native popcount asm instruction
and use it.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1110 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoIgnore dependency file
kim [Thu, 8 Sep 2011 19:35:32 +0000 (19:35 +0000)]
Ignore dependency file

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1105 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoignore libcds
kim [Thu, 8 Sep 2011 19:35:30 +0000 (19:35 +0000)]
ignore libcds

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1104 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoAdds utils.h
kim [Thu, 8 Sep 2011 19:34:28 +0000 (19:34 +0000)]
Adds utils.h

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1103 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years ago- Implement popcount in ASM if available
kim [Thu, 8 Sep 2011 02:44:06 +0000 (02:44 +0000)]
- Implement popcount in ASM if available
- Pass around extra file name to load/save for tc extra-index files.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1102 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoModify makefile to create libXMLTree.a
kim [Fri, 29 Jul 2011 10:51:51 +0000 (10:51 +0000)]
Modify makefile to create libXMLTree.a

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1086 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoFix bug in serialization code.
kim [Thu, 7 Jul 2011 06:21:12 +0000 (06:21 +0000)]
Fix bug in serialization code.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1068 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoAdds external flush function,
kim [Tue, 19 Apr 2011 08:16:22 +0000 (08:16 +0000)]
Adds external flush function,
sanitize builder.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1053 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoRewrite printing function to make it faster. Now also handles
kim [Tue, 19 Apr 2011 08:16:19 +0000 (08:16 +0000)]
Rewrite printing function to make it faster. Now also handles
printing &lt;, &gt;, &apos, &quot; and &amp; instead of <, >, ', ", &

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1052 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoinline TaggedChild/TaggedFollowingSibling
kim [Mon, 21 Feb 2011 04:58:32 +0000 (04:58 +0000)]
inline TaggedChild/TaggedFollowingSibling

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1015 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoRemoved old makefile
kim [Fri, 18 Feb 2011 13:04:58 +0000 (13:04 +0000)]
Removed old makefile

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1012 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoClean-up makefile
kim [Fri, 18 Feb 2011 13:04:52 +0000 (13:04 +0000)]
Clean-up makefile

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1011 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years ago.
kim [Fri, 18 Feb 2011 12:59:19 +0000 (12:59 +0000)]
.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1010 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoAdd auxiliary function to export tag symbol
kim [Fri, 18 Feb 2011 12:59:13 +0000 (12:59 +0000)]
Add auxiliary function to export tag symbol

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1009 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoCleanup makefile
kim [Fri, 18 Feb 2011 12:59:04 +0000 (12:59 +0000)]
Cleanup makefile

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1008 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoAdd -DNDEBUG to makefile.
kim [Fri, 11 Feb 2011 10:27:39 +0000 (10:27 +0000)]
Add -DNDEBUG to makefile.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@999 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoAdd NumTags method.
kim [Fri, 11 Feb 2011 10:26:45 +0000 (10:26 +0000)]
Add NumTags method.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@998 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoAdd some inlining by hand
kim [Mon, 7 Feb 2011 13:24:36 +0000 (13:24 +0000)]
Add some inlining by hand

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@952 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoAdded more objects
nvalimak [Mon, 1 Nov 2010 14:03:20 +0000 (14:03 +0000)]
Added more objects

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@930 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoAdded filename to Save() and Load()
nvalimak [Wed, 27 Oct 2010 13:34:42 +0000 (13:34 +0000)]
Added filename to Save() and Load()

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@924 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoAdded SWCSA
nvalimak [Wed, 27 Oct 2010 13:33:46 +0000 (13:33 +0000)]
Added SWCSA

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@923 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoFixed parameters
nvalimak [Tue, 21 Sep 2010 09:24:27 +0000 (09:24 +0000)]
Fixed parameters

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@907 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoFixed a bug in subtreetags
kim [Tue, 24 Aug 2010 23:26:04 +0000 (23:26 +0000)]
Fixed a bug in subtreetags

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@901 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoBackport changes from the grammar branch
kim [Fri, 30 Apr 2010 08:43:46 +0000 (08:43 +0000)]
Backport changes from the grammar branch

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@827 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoFix the printing some more
kim [Wed, 28 Apr 2010 06:40:29 +0000 (06:40 +0000)]
Fix the printing some more

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@799 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoMore fixing in the printing code
kim [Wed, 28 Apr 2010 01:49:51 +0000 (01:49 +0000)]
More fixing in the printing code

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@796 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoAdded TextCollection to .gitignore
kim [Wed, 28 Apr 2010 01:48:37 +0000 (01:48 +0000)]
Added TextCollection to .gitignore

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@795 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoAdded .gitignore
kim [Wed, 28 Apr 2010 01:48:24 +0000 (01:48 +0000)]
Added .gitignore

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@794 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

13 years agoFix printing
kim [Tue, 27 Apr 2010 08:05:27 +0000 (08:05 +0000)]
Fix printing

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@789 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoAdded option to not print text nodes while Printing.
kim [Thu, 15 Apr 2010 07:25:41 +0000 (07:25 +0000)]
Added option to not print text nodes while Printing.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@783 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years ago.
kim [Mon, 12 Apr 2010 01:34:32 +0000 (01:34 +0000)]
.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@779 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years ago.
kim [Mon, 12 Apr 2010 01:12:00 +0000 (01:12 +0000)]
.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@778 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoFix compilation issues:
kim [Sun, 11 Apr 2010 15:30:36 +0000 (15:30 +0000)]
Fix compilation issues:
    bpcore.c: remove duplicat definition of blog
    makefile: update to the latest version of textCollection

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@775 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoBetter naming, some inlining.
kim [Thu, 20 Aug 2009 01:28:00 +0000 (01:28 +0000)]
Better naming, some inlining.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@556 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoAdded XMLTree::Closing XMLTree::IsOpen
kim [Sun, 31 May 2009 19:40:47 +0000 (19:40 +0000)]
Added XMLTree::Closing XMLTree::IsOpen

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@425 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoApprox pattern matching functions
nvalimak [Fri, 29 May 2009 14:40:05 +0000 (14:40 +0000)]
Approx pattern matching functions

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@422 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoReworked FirstElement/NextElement
kim [Tue, 26 May 2009 15:50:44 +0000 (15:50 +0000)]
Reworked FirstElement/NextElement

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@412 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoNew WVTree constructor
nvalimak [Tue, 19 May 2009 12:26:53 +0000 (12:26 +0000)]
New WVTree constructor

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@400 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoCode clean up.
nvalimak [Tue, 19 May 2009 10:49:16 +0000 (10:49 +0000)]
Code clean up.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@399 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoCode clean up.
nvalimak [Tue, 19 May 2009 10:49:03 +0000 (10:49 +0000)]
Code clean up.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@398 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoDeleted test
fclaude [Sun, 17 May 2009 07:58:45 +0000 (07:58 +0000)]
Deleted test

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@395 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoSmall fix for time in loading.
fclaude [Sun, 17 May 2009 07:38:14 +0000 (07:38 +0000)]
Small fix for time in loading.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@393 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoAdded debugging messages
kim [Sun, 17 May 2009 07:22:13 +0000 (07:22 +0000)]
Added debugging messages

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@391 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoSmall updates, code clean up
nvalimak [Thu, 14 May 2009 11:55:10 +0000 (11:55 +0000)]
Small updates, code clean up

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@388 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoRemoved the naive text interface
kim [Mon, 11 May 2009 05:37:25 +0000 (05:37 +0000)]
Removed the naive text interface

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@383 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoAdded GetText(i,j)
nvalimak [Fri, 8 May 2009 12:04:29 +0000 (12:04 +0000)]
Added GetText(i,j)

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@378 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoMerge the last bit of Diego's code with the modifications:
kim [Thu, 30 Apr 2009 09:32:20 +0000 (09:32 +0000)]
Merge the last bit of Diego's code with the modifications:
- Remove all deprecated function
- Add description of the XML encoding
- Use vector<T> when possible instead of T*
- lot more stuff...

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@364 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoInitial merge of Diego's cleaned up XMLTree class.
kim [Tue, 28 Apr 2009 01:02:46 +0000 (01:02 +0000)]
Initial merge of Diego's cleaned up XMLTree class.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@363 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agoTaggedFollBelow was complete crap (by me). Rewrote it more efficiently.
kim [Mon, 27 Apr 2009 09:18:24 +0000 (09:18 +0000)]
TaggedFollBelow was complete crap (by me). Rewrote it more efficiently.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@361 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agofinal
fclaude [Sun, 26 Apr 2009 06:16:45 +0000 (06:16 +0000)]
final

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@352 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years ago...
fclaude [Sun, 26 Apr 2009 06:01:43 +0000 (06:01 +0000)]
...

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@351 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agofixes
fclaude [Sun, 26 Apr 2009 05:57:59 +0000 (05:57 +0000)]
fixes

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@350 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

14 years agofixed
fclaude [Sun, 26 Apr 2009 05:51:23 +0000 (05:51 +0000)]
fixed

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@349 3cdefd35-fc62-479d-8e8d-bae585ffb9ca