Merge branch 'LUCY-301-C32-transition'

At present, InStream, OutStream, and NumberUtils provide an unsigned
compressed format called C32/C64 -- and when we need signed
representations, we just cast.

To get rid of all these casts (and fix some sites missing casts),
support signed and unsigned variants.

This closes #42.


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/e6b61338
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/e6b61338
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/e6b61338

Branch: refs/heads/master
Commit: e6b61338ce163a89a4e34e2e230c5e6ea1bb437b
Parents: 8b4ad21 6c167aa
Author: Marvin Humphrey <mar...@rectangular.com>
Authored: Thu Apr 21 14:12:05 2016 -0700
Committer: Marvin Humphrey <mar...@rectangular.com>
Committed: Thu Apr 21 14:12:05 2016 -0700

----------------------------------------------------------------------
 c/src/Lucy/Document/Doc.c                 |   4 +-
 c/src/Lucy/Index/DocReader.c              |  16 +--
 core/Lucy/Index/DocVector.c               |  18 +--
 core/Lucy/Index/DocWriter.c               |  18 ++-
 core/Lucy/Index/HighlightReader.c         |   2 +-
 core/Lucy/Index/HighlightWriter.c         |  28 ++---
 core/Lucy/Index/LexIndex.c                |   8 +-
 core/Lucy/Index/LexiconWriter.c           |   2 +-
 core/Lucy/Index/Posting/MatchPosting.c    |  38 +++----
 core/Lucy/Index/Posting/RawPosting.c      |   6 +-
 core/Lucy/Index/Posting/RichPosting.c     |  18 +--
 core/Lucy/Index/Posting/ScorePosting.c    |  22 ++--
 core/Lucy/Index/SkipStepper.c             |   8 +-
 core/Lucy/Index/TermVector.c              |  16 +--
 core/Lucy/Plan/TextType.c                 |  11 +-
 core/Lucy/Search/MatchDoc.c               |   4 +-
 core/Lucy/Search/SortRule.c               |   8 +-
 core/Lucy/Search/SortSpec.c               |   5 +-
 core/Lucy/Search/TopDocs.c                |   4 +-
 core/Lucy/Store/InStream.c                |  30 ++++-
 core/Lucy/Store/InStream.cfh              |  25 +++--
 core/Lucy/Store/OutStream.c               |  38 +++++--
 core/Lucy/Store/OutStream.cfh             |  18 ++-
 core/Lucy/Test/Store/TestIOPrimitives.c   | 110 ++++++++++++++++---
 core/Lucy/Test/Util/TestNumberUtils.c     | 146 +++++++++++++++++++++----
 core/Lucy/Util/Freezer.c                  |  40 ++++---
 core/Lucy/Util/NumberUtils.cfh            | 120 ++++++++++++++------
 core/LucyX/Search/ProximityQuery.c        |   8 +-
 go/build.go                               |  12 +-
 go/lucy/lucy.go                           |  16 +--
 go/lucy/store.go                          |  50 +++++++--
 go/lucy/store_test.go                     |  28 +++--
 perl/buildlib/Lucy/Build/Binding/Store.pm |   7 +-
 perl/lib/LucyX/Search/Filter.pm           |   4 +-
 perl/t/023-stepper.t                      |   4 +-
 perl/t/102-strings_io.t                   |   2 +-
 perl/t/binding/101-simple_io.t            |  20 ++--
 perl/xs/Lucy/Document/Doc.c               |   8 +-
 perl/xs/Lucy/Index/DocReader.c            |  14 +--
 39 files changed, 652 insertions(+), 284 deletions(-)
----------------------------------------------------------------------


Reply via email to