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

How to update libyaml
=====================

third_party/libyaml is a submodule with a fork of
https://github.com/yaml/libyaml, the fork repository is set in
.gitmodules. A branch of the fork is named after the Tarantool branch
that uses it, e.g. libyaml 2.11.8-picodata is used by Tarantool
2.11.8-picodata.

The current base is upstream master
90a56d4500aa1a1798514c5cb55c3ad4cb095f94 ("Add getter and feature macro
for nest depth control (#335)"). It is a development snapshot, not a
release: it has the fixes of 0.2.6-rc.1, but still reports version
0.2.5. The previous base was 788563cb51bb71649ecf1f0a00f60b259e5372be of
https://github.com/tarantool/libyaml (upstream 0.2.1 with Tarantool
patches).

Tarantool patches on top of the base:

- Extend range of printable unicode characters (uses ICU).
- Allow to emit invalid utf-8 scalar strings.
- Fix decoding single-byte char codes >= 0x80.
- cmake: lower the minimum required version to 3.5.
- Keep the space before an empty plain scalar.
- Preserve UTF-8 encodings of surrogates and values above U+10FFFF as
  individual escaped bytes.
- Test all scanner nesting boundaries and UTF-8 scalar boundaries.

The bundled libyaml rejects documents nested deeper than 1000 levels.
The limit counts flow brackets and block indentation levels together,
not nested collections: 1000 flow sequences with implicit mappings can
contain 2000 collections. With ENABLE_BUNDLED_LIBYAML=OFF the system
libyaml is used and the limit depends on it, e.g. 0.2.5 has no limit.

YAML encoding independently honors encode_max_depth (128 by default) and
encode_deep_as_nil, with either bundled or system libyaml. Exceeding the
encoding limit raises an error, or emits null when encode_deep_as_nil is
enabled. References to already emitted anchors do not add depth. This
changes the handling of deep Lua objects, including decoded documents
printed in the console: they now produce a catchable error by default.

To update:

- Rebase the Tarantool patches onto the new upstream commit, don't merge
  upstream into the branch.
- Before replacing the tip of the branch, tag the old tip as
  <branch>/<YYYY-MM-DD>, e.g. 2.11.8-picodata/2026-10-20. The tag keeps
  the commits used by older Tarantool commits reachable.
- Push only the branch and the tag, not upstream branches or tags.
- Update the submodule in Tarantool in a separate commit.
