sapling/hgext/extlib
Kostia Balytskyi 0ef59877cd hg: some portability fixes to py-cdatapack.h
Summary:
1. Variable Length Arrays are not supported by MSVC, but since this is a C++ code, we can just use heap allocation
2. Replacing `inet` with portability version

Depends on D7196403

Reviewed By: quark-zju

Differential Revision: D7196605

fbshipit-source-id: a0d88b6e06f255ef648c0b35a99b42ba3bee538a
2018-04-13 21:51:24 -07:00
..
cfastmanifest hg: build cstore and cfastmanifest with buck 2018-04-13 21:51:00 -07:00
cstore hg: some portability fixes to py-cdatapack.h 2018-04-13 21:51:24 -07:00
ctreemanifest treemanifest: fix call to memcpy() with null pointer 2018-04-13 21:51:14 -07:00
indexes vendorcrates: update to latest vendored crates 2018-04-13 21:51:19 -07:00
phabricator Update markers during hg pullbackup 2018-04-13 21:51:23 -07:00
treedirstate vendorcrates: update to latest vendored crates 2018-04-13 21:51:19 -07:00
__init__.py fb-hgext: integrate rust libraries and extensions with setup.py 2018-01-08 15:26:24 -08:00
.clang-format ctreemanifest: fix a use-after-free 2018-04-13 21:51:03 -07:00
cfastmanifest.c hg: build cstore and cfastmanifest with buck 2018-04-13 21:51:00 -07:00
linelog.pyx hg: basic support for building hg using buck 2018-04-13 21:50:58 -07:00
litemmap.pyx basepack: workaround Python's mmap fd limit 2018-04-13 21:51:00 -07:00
README.md READMEs: tweaks based on feedback 2018-01-12 12:35:52 -08:00
traceprofimpl.cpp traceprof: move to hgext and make it more portable 2018-01-08 17:45:51 -08:00

extlib

Code that extensions depend on, but aren't themselves extensions, should go here. Both native (C/C++/Cython/Rust) and Python code is allowed. Code that depends on Python is also allowed.

In theory, this code should slowly disappear as extension code gets folded into mainline Mercurial. (The native bits should go into lib/ or mercurial/cext), the Python code into mercurial/ itself.)

See also lib/README.md, mercurial/cext/README.md.