annotate contrib/clang-format-ignorelist @ 37291:b0041036214e

wireproto: define frame to represent progress updates Today, a long-running operation on a server may run without any sign of progress on the client. This can lead to the conclusion that the server has hung or the connection has dropped. In fact, connections can and do time out due to inactivity. And a long-running server operation can result in the connection dropping prematurely because no data is being sent! While we're inventing the new wire protocol, let's provide a mechanism for communicating progress on potentially expensive server-side events. We introduce a new frame type that conveys "progress" updates. This frame type essentially holds the data required to formulate a ``ui.progress()`` call. We only define the frame right now. Implementing it will be a bit of work since there is no analog to progress frames in the existing wire protocol. We'll need to teach the ui object to write to the wire protocol, etc. The use of a CBOR map may seem wasteful, as this will encode key names in every frame. This *is* wasteful. However, maps are extensible. And the intent is to always use compression via streams. Compression will make the overhead negligible since repeated strings will be mostly eliminated over the wire. Differential Revision: https://phab.mercurial-scm.org/D2902
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 26 Mar 2018 10:50:36 -0700
parents 027db60ae756
children b1fb341d8a61
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34834
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
1 # Files that just need to be migrated to the formatter.
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
2 # Do not add new files here!
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
3 mercurial/cext/dirs.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
4 mercurial/cext/manifest.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
5 mercurial/cext/osutil.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
6 mercurial/cext/revlog.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
7 # Vendored code that we should never format:
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
8 contrib/python-zstandard/c-ext/bufferutil.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
9 contrib/python-zstandard/c-ext/compressiondict.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
10 contrib/python-zstandard/c-ext/compressionparams.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
11 contrib/python-zstandard/c-ext/compressionwriter.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
12 contrib/python-zstandard/c-ext/compressobj.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
13 contrib/python-zstandard/c-ext/compressor.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
14 contrib/python-zstandard/c-ext/compressoriterator.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
15 contrib/python-zstandard/c-ext/constants.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
16 contrib/python-zstandard/c-ext/decompressionwriter.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
17 contrib/python-zstandard/c-ext/decompressobj.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
18 contrib/python-zstandard/c-ext/decompressor.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
19 contrib/python-zstandard/c-ext/decompressoriterator.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
20 contrib/python-zstandard/c-ext/frameparams.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
21 contrib/python-zstandard/c-ext/python-zstandard.h
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
22 contrib/python-zstandard/zstd.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
23 contrib/python-zstandard/zstd/common/bitstream.h
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
24 contrib/python-zstandard/zstd/common/entropy_common.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
25 contrib/python-zstandard/zstd/common/error_private.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
26 contrib/python-zstandard/zstd/common/error_private.h
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
27 contrib/python-zstandard/zstd/common/fse.h
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
28 contrib/python-zstandard/zstd/common/fse_decompress.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
29 contrib/python-zstandard/zstd/common/huf.h
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
30 contrib/python-zstandard/zstd/common/mem.h
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
31 contrib/python-zstandard/zstd/common/pool.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
32 contrib/python-zstandard/zstd/common/pool.h
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
33 contrib/python-zstandard/zstd/common/threading.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
34 contrib/python-zstandard/zstd/common/threading.h
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
35 contrib/python-zstandard/zstd/common/xxhash.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
36 contrib/python-zstandard/zstd/common/xxhash.h
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
37 contrib/python-zstandard/zstd/common/zstd_common.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
38 contrib/python-zstandard/zstd/common/zstd_errors.h
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
39 contrib/python-zstandard/zstd/common/zstd_internal.h
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
40 contrib/python-zstandard/zstd/compress/fse_compress.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
41 contrib/python-zstandard/zstd/compress/huf_compress.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
42 contrib/python-zstandard/zstd/compress/zstd_compress.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
43 contrib/python-zstandard/zstd/compress/zstd_opt.h
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
44 contrib/python-zstandard/zstd/compress/zstdmt_compress.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
45 contrib/python-zstandard/zstd/compress/zstdmt_compress.h
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
46 contrib/python-zstandard/zstd/decompress/huf_decompress.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
47 contrib/python-zstandard/zstd/decompress/zstd_decompress.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
48 contrib/python-zstandard/zstd/dictBuilder/cover.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
49 contrib/python-zstandard/zstd/dictBuilder/divsufsort.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
50 contrib/python-zstandard/zstd/dictBuilder/divsufsort.h
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
51 contrib/python-zstandard/zstd/dictBuilder/zdict.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
52 contrib/python-zstandard/zstd/dictBuilder/zdict.h
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
53 contrib/python-zstandard/zstd/zstd.h
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
54 hgext/fsmonitor/pywatchman/bser.c
36671
34e2ff1f9cd8 xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents: 36227
diff changeset
55 mercurial/thirdparty/xdiff/xdiff.h
34e2ff1f9cd8 xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents: 36227
diff changeset
56 mercurial/thirdparty/xdiff/xdiffi.c
34e2ff1f9cd8 xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents: 36227
diff changeset
57 mercurial/thirdparty/xdiff/xdiffi.h
34e2ff1f9cd8 xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents: 36227
diff changeset
58 mercurial/thirdparty/xdiff/xemit.c
34e2ff1f9cd8 xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents: 36227
diff changeset
59 mercurial/thirdparty/xdiff/xemit.h
34e2ff1f9cd8 xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents: 36227
diff changeset
60 mercurial/thirdparty/xdiff/xhistogram.c
34e2ff1f9cd8 xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents: 36227
diff changeset
61 mercurial/thirdparty/xdiff/xinclude.h
34e2ff1f9cd8 xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents: 36227
diff changeset
62 mercurial/thirdparty/xdiff/xmacros.h
34e2ff1f9cd8 xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents: 36227
diff changeset
63 mercurial/thirdparty/xdiff/xmerge.c
34e2ff1f9cd8 xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents: 36227
diff changeset
64 mercurial/thirdparty/xdiff/xpatience.c
34e2ff1f9cd8 xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents: 36227
diff changeset
65 mercurial/thirdparty/xdiff/xprepare.c
34e2ff1f9cd8 xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents: 36227
diff changeset
66 mercurial/thirdparty/xdiff/xprepare.h
34e2ff1f9cd8 xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents: 36227
diff changeset
67 mercurial/thirdparty/xdiff/xtypes.h
34e2ff1f9cd8 xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents: 36227
diff changeset
68 mercurial/thirdparty/xdiff/xutils.c
34e2ff1f9cd8 xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents: 36227
diff changeset
69 mercurial/thirdparty/xdiff/xutils.h
37185
027db60ae756 tests: add zope.interface to clang-format ignore list
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37184
diff changeset
70 mercurial/thirdparty/zope/interface/_zope_interface_coptimizations.c