base64Binary needs to be streamable
Bug #898080 reported by
Markus Pilman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Undecided
|
Matthias Brantner |
Bug Description
At the moment there are streamable strings in zorba, but no streamable base64Binary items. This makes zorba unusable for downloading big files.
Related branches
lp:~zorba-coders/zorba/ft-base64Binary
- Till Westmann: Approve
- Matthias Brantner: Approve
-
Diff: 1259 lines (+739/-105)31 files modifiedChangeLog (+1/-0)
include/zorba/item.h (+23/-0)
include/zorba/item_factory.h (+20/-1)
modules/com/zorba-xquery/www/modules/converters/base64.xq (+6/-3)
modules/org/expath/ns/file.xq.src/file.cpp (+8/-13)
modules/org/expath/ns/file.xq.src/file_function.cpp (+20/-4)
src/api/item.cpp (+23/-0)
src/api/itemfactoryimpl.cpp (+20/-1)
src/api/itemfactoryimpl.h (+7/-0)
src/api/options.cpp (+1/-0)
src/api/serialization/serializer.cpp (+86/-40)
src/runtime/base64/base64_impl.cpp (+53/-21)
src/store/api/item.h (+8/-1)
src/store/api/item_factory.h (+25/-0)
src/store/naive/atomic_items.cpp (+204/-6)
src/store/naive/atomic_items.h (+97/-8)
src/store/naive/item.cpp (+19/-1)
src/store/naive/simple_item_factory.cpp (+30/-3)
src/store/naive/simple_item_factory.h (+13/-0)
src/types/casting.cpp (+12/-1)
src/zorbaserialization/zorba_class_serializer.cpp (+25/-2)
src/zorbatypes/binary.cpp (+10/-0)
test/rbkt/ExpQueryResults/zorba/base64/binary_1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/base64/file_read_1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/base64/file_read_2.xml.res (+1/-0)
test/rbkt/Queries/zorba/base64/binary_1.xq (+1/-0)
test/rbkt/Queries/zorba/base64/decoded-text (+1/-0)
test/rbkt/Queries/zorba/base64/encoded (+1/-0)
test/rbkt/Queries/zorba/base64/encoded-text (+1/-0)
test/rbkt/Queries/zorba/base64/file_read_1.xq (+10/-0)
test/rbkt/Queries/zorba/base64/file_read_2.xq (+11/-0)
Changed in zorba: | |
milestone: | none → 2.2 |
assignee: | nobody → Matthias Brantner (matthias-brantner) |
Changed in zorba: | |
status: | New → In Progress |
Changed in zorba: | |
status: | In Progress → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.