dundargoc
4f8941c1a5
refactor: replace manual header guards with #pragma once
...
It is less error-prone than manually defining header guards. Pretty much
all compilers support it even if it's not part of the C standard.
2023-11-12 22:01:28 +01:00
dundargoc
5f03a1eaab
build(lint): remove unnecessary clint.py rules
...
Uncrustify is the source of truth where possible.
Remove any redundant checks from clint.py.
2023-10-23 20:06:21 +02:00
dundargoc
66360675cf
build: allow IWYU to fix includes for all .c files
...
Allow Include What You Use to remove unnecessary includes and only
include what is necessary. This helps with reducing compilation times
and makes it easier to visualise which dependencies are actually
required.
Work on https://github.com/neovim/neovim/issues/549 , but doesn't close
it since this only works fully for .c files and not headers.
2022-11-15 10:30:03 +01:00
dundargoc
9fec6dc9a2
refactor(uncrustify): set maximum number of consecutive newlines to 2 ( #18695 )
2022-05-25 12:31:14 -06:00
dundargoc
0fc8597f01
refactor: format header files with uncrustify #15877
...
* refactor: format header files with uncrustify
* fixup(justin): skip formatting of terminfo_defs.h
* fixup: force winsock2 to be included first
* fixup: simplify disable/enable directive to "uncrustify:off/on"
2021-10-09 05:20:16 -07:00
Andreas Schneider
517bf15603
nvim:msgpack: Correctly set up global ch_before_blocking_events
...
gcc10 builds with -fno-common by default. This mean you can't define
a global variable with the same name twice.
See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
2020-02-23 09:49:33 +01:00
Björn Linse
5215e3205a
channels: refactor
2017-11-24 14:50:00 +01:00
Justin M. Keyes
f17a818519
api/nvim_get_mode: Use child-queue instead of "priority".
2017-04-28 19:20:09 +02:00
Björn Linse
2d60a15e25
job control: reuse common job code for rpc jobs
...
This makes stderr and exit callbacks work for rpc jobs
2016-08-20 12:55:35 +02:00
Thiago de Arruda
9d8d2b7fa8
server: Extract most logic into the new socket abstraction
...
- Move event loop code into event/socket
- Reimplement server.c on top of the new SocketWatcher class
- Adapt msgpack_rpc/channel.c
2015-07-17 00:19:55 -03:00
Thiago de Arruda
b280308ac6
msgpack-rpc: Create subdirectory for msgpack-rpc modules
...
Create the msgpack_rpc subdirectory and move all modules that deal with
msgpack-rpc to it. Also merge msgpack_rpc.c into msgpack_rpc/helpers.c
2014-10-21 11:05:49 -03:00