Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 25, 2012
  1. @vmx
Commits on Jul 20, 2012
  1. @vmx

    MB-100: Make GeoCouch safe for future rebar versions

    vmx authored
    In newer rebar versions, you need to name the "src" directory
    explicitly in `src_dirs`, else those files won't get compiled.
    
    Change-Id: Iff510a22e6ade20220ceac3b59e4bf0ef2c7a87f
    Reviewed-on: http://review.couchbase.org/18641
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Commits on Jul 12, 2012
  1. @vmx

    Remove unused record

    vmx authored
    Remove the record #node{} that wasn't used anymore.
    
    Change-Id: I432747ba22457c2c28dd078deafabbc1ca6713ea
    Reviewed-on: http://review.couchbase.org/10951
    Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Volker Mische <volker.mische@gmail.com>
  2. @vmx

    Make geojson_get_bbox/1 work

    vmx authored
    The geojson_get_bbox/1 function didn't actually work. Fix it.
    
    Change-Id: I07124f763f4b473c3eb81e496cfb3d89179d12d0
    Reviewed-on: http://review.couchbase.org/10092
    Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Volker Mische <volker.mische@gmail.com>
  3. @vmx

    Fix spatial design docs test

    vmx authored
    The test was too fragile. It tested for a certain file size,
    which can easily change whenever the underlying data storage
    or structure changes.
    
    Change-Id: I79b052f50032a7b5f0c06c59e21e9a2a3374b64d
    Reviewed-on: http://review.couchbase.org/14731
    Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
    Tested-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
Commits on Jun 15, 2012
  1. @vmx

    List functions also work without a bounding box

    vmx authored
    If you don't specify a bounding box all the data of an
    spatial index is reeturned.
    
    Change-Id: I208ab04e2613d9e3258dd5ba457ed1e23dd9cfed
  2. @vmx

    Prepare for polygon search

    vmx authored
    Internal functions can be re-used for the polygon search if
    the geometry types are converted to atoms, which is the way
    they are stored in the Erlang term representation.
    
    Change-Id: I0b946648976938bc875ac1970731afe9c48c7c66
    Reviewed-on: http://review.couchbase.org/10093
    Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
    Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
  3. @vmx

    Use rebar for building GeoCouch

    vmx authored
    Instead of using Emake, use rebar to build GeoCouch.
    This will make it easier for future dependencies.
    The output directory for the beam files changed from "build"
    to "ebin".
    
    Change-Id: Idbe9e2ef4197e5886f7ed6627d3689c9f530714f
    Reviewed-on: http://review.couchbase.org/9825
    Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
    Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
  4. @vmx

    Do actually run the insert_outliers/5 tests

    vmx authored
    The tests for insert_outliers/5 weren't run, caused by
    a typo.
    
    Change-Id: Ib11cbf49c70faad93aae8e21a6be31f63a561659
    Reviewed-on: http://review.couchbase.org/13514
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  5. @vmx

    Make GeoCouch Etap tests work with Erlang R15

    vmx authored
    Erlang R15 changed the output of random:seed/1. Hence some
    tests were failing. This commit makes the Etap tests compatible
    with R15.
    
    Change-Id: I0c3819b4ca8e58354d38e18ab766ccb10ca2ecf9
    Reviewed-on: http://review.couchbase.org/13513
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  6. @vmx

    Improve GeoCouch tests

    vmx authored
    Close file descriptors correctly.
    
    This is based on http://review.couchbase.org/12617
    
    Change-Id: I9e05a87611f823b0b25598c7c971ddc2202fb621
Commits on Jun 13, 2012
  1. @vmx

    Return all the data when no bbox is given

    vmx authored
    Previously you always needed to supply a bounding
    box, else you would get an error. With this commit
    all the data of the index will be returned when no
    bounding box is specified.
    
    Change-Id: Ib21713767e75001d7b9134acc3854d719ba79fc3
    Reviewed-on: http://review.couchbase.org/11653
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  2. @vmx

    Only list spatial indexes

    vmx authored
    list_index_files/1 previously returned all index files,
    also the ones from Views. But what we really want is
    only the files from the spatial indexes.
    
    Change-Id: I646dd7aebb5d0255115a352ab03331d915e15e6e
    Reviewed-on: http://review.couchbase.org/11462
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Apr 20, 2012
  1. @vmx

    Add skip and limit to GeoCouch

    vmx authored
    GeoCouch now supports the "skip" and "limit" parameter
    for spatial indexes as well as for spatial _list
    functions.
    
    Change-Id: I596b634170f13a453541f47abe7fe7f2cf60492c
    Reviewed-on: http://review.couchbase.org/11166
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Jan 6, 2012
  1. @vmx

    GeoCouch now works with Apache CouchDB 1.2.x

    vmx authored
    Change-Id: Ib973964c865518621abd2366be2f047c74a4e970
    Reviewed-on: http://review.couchbase.org/12111
    Tested-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
  2. @vmx
  3. @vmx

    Remove all couch_file:flush() calls.

    vmx authored
    couch_file:flush() is Couchbase specific. Apache CouchDB
    flushes automatically after every write.
  4. @daleharvey @vmx

    Take arguments out of ERL, so make can override

    daleharvey authored vmx committed
    Change-Id: Ifaded0a317978cf2cd417d11070a51e51bbd4312
    Reviewed-on: http://review.couchbase.org/9135
    Tested-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
  5. @vmx

    Make _spatial/_list tests more robust

    vmx authored vmx committed
    GeoCouch doesn't guarantee any ordering of the results,
    hence the tests shouldn't depend on any ordering.
    
    Change-Id: Ibbfffbcd41e00f707fcaafb272a8a7409626b297
    Reviewed-on: http://review.couchbase.org/10949
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  6. @alk @vmx

    remove superfluous vtree:lookup/5 case

    alk authored vmx committed
    Both is_list and not is_list case when last argument (plane bounds) is
    nil do same thing, thus we can have only one case.
    
    Change-Id: I531102f5cf177c794c2c5a76184da5c4cf123981
    Reviewed-on: http://review.couchbase.org/11414
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
  7. @alk @vmx

    don't needlessly repeate bboxes_not_disjoint computation

    alk authored vmx committed
    This computation is purely functional and does not depend on current
    loop item (child entry position), thus can be moved out of loop.
    
    Change-Id: I430b15757097ea2b53ef335e15ab30b3454e9d5e
    Reviewed-on: http://review.couchbase.org/11413
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
  8. @vmx

    start_doc_map/3 is exported by couch_query_servers.

    vmx authored vmx committed
    start_doc_map/3 is exported, so we don't need to have
    it in geocouch_duplicates any longer.
    
    Change-Id: Ia9f4e005258f4ac045cd6ef451146ca5d6f723df
    Reviewed-on: http://review.couchbase.org/10845
    Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  9. @vmx

    Reword error message.

    vmx authored vmx committed
    Change not_found error from missing_named_view to
    missing_named_index.
    
    Change-Id: I402b769e31337e1f05de1f4b16a013846cd2d223
    Reviewed-on: http://review.couchbase.org/10842
    Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  10. @vmx

    Move GeoCouch config file.

    vmx authored vmx committed
    The config file of GeoCouch belongs to default.d, not
    local.d.
    
    Change-Id: I6e760c575bef971df8eeb8ea36bdbc9a395632dd
    Reviewed-on: http://review.couchbase.org/9139
    Reviewed-by: Jan Lehnardt <jan@couchbase.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  11. @vmx

    Make tests more robust.

    vmx authored vmx committed
    Don't depend on the on-disk format for the tests,
    better test if the data has the correct structure.
    
    Change-Id: I114f6ef423be8196367aec547a7452a0f493e674
    Reviewed-on: http://review.couchbase.org/10950
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  12. @vmx

    Make timing calculations simpler.

    vmx authored vmx committed
    No longer use a custom function for timing.
    
    Change-Id: Iec46b723de9a0a59f5f4d5ddd7a2c7a0786dd71a
    Reviewed-on: http://review.couchbase.org/10091
    Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Volker Mische <volker.mische@gmail.com>
  13. @vmx

    Compacting an empy index creates errors.

    vmx authored vmx committed
    When you compacted an index that didn't contain any data,
    GeoCouch spit out a huge stack trace. This commit fixes
    the problem.
    
    Change-Id: I201683ea135bf00841734595024e8c7e436292f0
    Reviewed-on: http://review.couchbase.org/9781
    Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
    Tested-by: Dale Harvey <daleharvey@arandomurl.com>
    Reviewed-by: Dale Harvey <daleharvey@arandomurl.com>
  14. @vmx

    Make GeoCouch work again.

    vmx authored vmx committed
    The couch_tasks module was changed an rendered GeoCouch
    unusable. This commit fixes the problem.
    
    Change-Id: I7c0a90e1595ffecf0afd68e4f917fd4fdacae40b
    Reviewed-on: http://review.couchbase.org/9780
    Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
    Tested-by: Dale Harvey <daleharvey@arandomurl.com>
    Reviewed-by: Dale Harvey <daleharvey@arandomurl.com>
  15. @vmx

    Update README to reflect current output.

    vmx authored vmx committed
    In previous versions the response didn't contain the original
    geometry, now it does.
    
    Change-Id: I386d666aa708c74b3d0794affda1bd0cc25d3569
    Reviewed-on: http://review.couchbase.org/9779
    Tested-by: Dale Harvey <daleharvey@arandomurl.com>
    Reviewed-by: Dale Harvey <daleharvey@arandomurl.com>
  16. @pgiraud @vmx

    Wrong path to the couch_tests.js file

    pgiraud authored vmx committed
    Change-Id: I8dcbafe704bcb34f2e1890b1df8c4a60ff877742
    Reviewed-on: http://review.couchbase.org/8759
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Volker Mische <volker.mische@gmail.com>
  17. @pgiraud @vmx

    There seem to be a typo in the README file.

    pgiraud authored vmx committed
    Change-Id: Ib13b09650760429bce6b169443d2000d9db29a85
    Reviewed-on: http://review.couchbase.org/8758
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Volker Mische <volker.mische@gmail.com>
  18. @steveyen @vmx

    More forgiveness during make clean.

    steveyen authored vmx committed
    This is helpful to external scripts & makefiles which build geocouch.
    
    Change-Id: Ia7e9ff6247c97609b7cd6f0781e245dda5497ea8
    Reviewed-on: http://review.couchbase.org/8318
    Tested-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  19. @vmx

    Simplify "make dist".

    vmx authored vmx committed
    "make dist" is now like the one from mccouch. It uses Git to
    make the tarball.
    
    Change-Id: I21cc271745baa13a0e41a365c46e51229a7a803e
    Reviewed-on: http://review.couchbase.org/8221
    Tested-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  20. @daleharvey @vmx

    Take arguments out of ERL, so make can override

    daleharvey authored vmx committed
    Change-Id: Ifaded0a317978cf2cd417d11070a51e51bbd4312
    Reviewed-on: http://review.couchbase.org/9135
    Tested-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
  21. @vmx

    Add Etap dir to "make check" target.

    vmx authored vmx committed
    In order to make tests work, Etap needs to be found.
    
    Change-Id: I63d0b0ae77fb335ebff17706dac0c0ea4066ce71
    Reviewed-on: http://review.couchbase.org/8328
    Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Volker Mische <volker.mische@gmail.com>
Something went wrong with that request. Please try again.