Created by David Graf on 2011-09-07 and last modified on 2014-05-09

The primary branch for Zorba, from which all releases are made. Only fully-functional and approved changes may be merged into the trunk.

Get this branch:
bzr branch lp:zorba
Members of Zorba Coders can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Zorba Coders

Recent revisions

11724. By Paul J. Lucas on 2014-05-09

Fixed JSON-to-XML bug.
Approved: William Candillon, Matthias Brantner, Paul J. Lucas

11723. By Paul J. Lucas on 2014-05-08

Added public introspection API for external variable annotations.
Approved: Matthias Brantner, Federico Cavalieri, Paul J. Lucas

11722. By Federico Cavalieri on 2014-05-02

Removed boost dependency
Fixed typedef
Approved: Paul J. Lucas, Matthias Brantner, Federico Cavalieri

11721. By Paul J. Lucas on 2014-05-01

Added make_iterator() that's more reasonable than ItemSequence (which should eventually be deprecated and removed since it's rather pointless).
Approved: Matthias Brantner, Paul J. Lucas

11720. By Paul J. Lucas on 2014-04-30

1. setVariable() now supports casting elements of sequences.

2. Cleaned-up some headers.

3. zorba command now supports converting multiple values for the same variable into a sequence, e.g.:

zorba -e x:=1 -e x:=2 -q 'declare variable $x as xs:integer+ external; $x'


    1 2
Approved: Matthias Brantner, Paul J. Lucas

11719. By Federico Cavalieri on 2014-04-29

Greatly improved function caching.

* Changed function annotations:
  - %an:deterministic: disables caching (previously %an:no-cache)
  - %an:strictlydeterministic: enables caching for deterministic and non-deterministic functions. Cache is only within the same snapshot.
  - %an:cache enables caching for deterministic, non-deterministic and sequential functions. Caches is across snapshots. (unchanged)
  - %an:exclude-from-cache-key(n) specifies that a function argument has to be ignored when computing the cache key
  - %an:compare-with-deep-equal(n) specifies that a function argument has to be compared with deep-equal semantics

* Changed criteria for default annotations of internal and external functions:
  - Functions which have no %an:deterministic, %an:nondeterministic or %an:strictlydeterministic annotations and all their parameter and the return types are atomics are now automatically annotated %an:strictlydeterministic
  - All the other functions are annotated %an:deterministic
* Added snapshot id in global dynamic context
* Added dynamic context xquery module
* Added strict equality hashmap
* Reimplemented %an:cache
* Enabled caching for function that have non atomic arguments
* Whenever the eager evaluation of a function arguments raises an error, the evaluation is retried without cache. The function cache is then disabled if it was automatically detected.
Approved: Matthias Brantner, Federico Cavalieri

11718. By Paul J. Lucas on 2014-04-26

1. Added the ability to do casting when setting the value of an external variable.
2. The zorba command now always requests casting.
Approved: Matthias Brantner, Paul J. Lucas

11717. By Paul J. Lucas on 2014-04-23

Added missing #include <cassert> all over.
Approved: Matthias Brantner, Paul J. Lucas

11716. By Matthias Brantner on 2014-04-18

initial version of sleep module
Approved: Federico Cavalieri, Matthias Brantner

11715. By Federico Cavalieri on 2014-04-16

Updated http client with deterministic send-request functions, improved documentation, transparent retries and patch method support.
Approved: Matthias Brantner, Federico Cavalieri

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.