Skip to content
Snippets Groups Projects
Dima Koltsov's avatar
Дмитрий Кольцов authored
Due to inconsistency of Tarantool type casting while using strict
data types as "double" or "unsigned" it is needed
to use "number" data type in a whole bunch of cases.
However "number" may contain "decimal" that will be serialized into
string by JSON builtin module.

This commit adds "encode_decimal_as_number" parameter to json.cfg{}.
That forces to encode `decimal` as JSON number to force type
consistency in JSON output.
Use with catious - most of JSON parsers assume that number is restricted
to float64.

NO_DOC=we do not host doc
440fc11e
History
How to update libcoro
=====================

cvs up

How to update libev
===================

Remove Tarantool patches (see csv diff -U8).
cvs up
Add patches back.

How to update luajit
====================

Run from project root dir:
git submodule update --reference v2.0.1-fixed -- third_party/luajit

How to update libobjc2
======================

How initial import was done:

svn co http://svn.gna.org/svn/gnustep/libs/libobjc2/trunk/ ./libobjc

find . -name '.svn' | xargs rm -rf
rm Makefile.clang
rm GNUMakefile

How to update it:

- delete GNUmakefile
- delete CMakeLists.txt
- merge our Makefile with the Makefile in
the source tarball
- preserve the zero-warnings patch 43771c84f7f5bf04e426dde30a31303d4699f00d

How to update libeio
====================
Note: we have two important changes to the stock libeio:
- it's possible to change the libeio thread stack size
  with EIO_STACKSIZE constant. In particular, EIO_STACKSIZE
  set to 0 means the default stack size.
  A larger stack size is necessary to make getaddrinfo()
  work.

- replace config.h with tarantool/config.h in eio.c

Otherwise: cvs up

How to update rb.h
======================
Get the header from
git://canonware.com/jemalloc.git
apply rb.patch patch
=======

How to update murmur hash
=========================

wget http://smhasher.googlecode.com/svn/trunk/PMurHash.c -O PMurHash.c
wget http://smhasher.googlecode.com/svn/trunk/PMurHash.h -O PMurHash.h