curl/src
Emanuele Torre f198d33e8d
checksrc: disallow spaces before labels
Out of 415 labels throughout the code base, 86 of those labels were
not at the start of the line. Which means labels always at the start of
the line is the favoured style overall with 329 instances.

Out of the 86 labels not at the start of the line:
* 75 were indented with the same indentation level of the following line
* 8 were indented with exactly one space
* 2 were indented with one fewer indentation level then the following
  line
* 1 was indented with the indentation level of the following line minus
  three space (probably unintentional)

Co-Authored-By: Viktor Szakats

Closes #11134
2023-05-18 20:45:04 +02:00
..
.gitignore copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
CMakeLists.txt src: silence wmain() warning for all build methods 2023-03-11 15:21:43 +00:00
curl.rc copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
Makefile.am copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
Makefile.inc tool: improve --stderr handling 2023-03-12 00:58:40 -05:00
Makefile.mk copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
mkhelp.pl copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
slist_wc.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
slist_wc.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_binmode.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_binmode.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_bname.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_bname.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_cb_dbg.c tool: improve --stderr handling 2023-03-12 00:58:40 -05:00
tool_cb_dbg.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_cb_hdr.c tool_cb_hdr: Fix 'Location:' formatting for early VTE terminals 2023-05-05 02:52:23 -04:00
tool_cb_hdr.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_cb_prg.c tool: improve --stderr handling 2023-03-12 00:58:40 -05:00
tool_cb_prg.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_cb_rea.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_cb_rea.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_cb_see.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_cb_see.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_cb_wrt.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_cb_wrt.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_cfgable.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_cfgable.h tool: improve --stderr handling 2023-03-12 00:58:40 -05:00
tool_dirhie.c checksrc: check for spaces before the colon of switch labels 2023-04-27 23:26:50 +02:00
tool_dirhie.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_doswin.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_doswin.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_easysrc.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_easysrc.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_filetime.c misc: remove support for curl_off_t < 8 bytes 2023-02-24 17:05:33 +01:00
tool_filetime.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_findfile.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_findfile.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_formparse.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
tool_formparse.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_getparam.c checksrc: find bad indentation in conditions without open brace 2023-04-28 23:11:00 +02:00
tool_getparam.h tool_getparam: fix hiding of command line secrets 2023-01-12 14:09:23 +01:00
tool_getpass.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_getpass.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_help.c curl: output warning at --verbose output for debug-enabled version 2023-01-12 17:59:26 +01:00
tool_help.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_helpers.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_helpers.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_hugehelp.c.cvs copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_hugehelp.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_libinfo.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_libinfo.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_listhelp.c curl: add --proxy-http2 2023-04-14 10:39:23 +02:00
tool_main.c tool: improve --stderr handling 2023-03-12 00:58:40 -05:00
tool_main.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_msgs.c tool: improve --stderr handling 2023-03-12 00:58:40 -05:00
tool_msgs.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_operate.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
tool_operate.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_operhlp.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
tool_operhlp.h tool_operate: Fix error codes on bad URL & OOM 2023-02-07 08:20:04 +01:00
tool_paramhlp.c checksrc: fix SPACEBEFOREPAREN for conditions starting with "*" 2023-04-27 17:24:47 +02:00
tool_paramhlp.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_parsecfg.c tool_getparam: fix hiding of command line secrets 2023-01-12 14:09:23 +01:00
tool_parsecfg.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_progress.c tool: improve --stderr handling 2023-03-12 00:58:40 -05:00
tool_progress.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_sdecls.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_setopt.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
tool_setopt.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_setup.h tool: improve --stderr handling 2023-03-12 00:58:40 -05:00
tool_sleep.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_sleep.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_stderr.c tool: improve --stderr handling 2023-03-12 00:58:40 -05:00
tool_stderr.h tool: improve --stderr handling 2023-03-12 00:58:40 -05:00
tool_strdup.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_strdup.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_urlglob.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
tool_urlglob.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_util.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_util.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_version.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_vms.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_vms.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_writeout_json.c checksrc: fix SPACEBEFOREPAREN for conditions starting with "*" 2023-04-27 17:24:47 +02:00
tool_writeout_json.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_writeout.c tool_writeout: add URL component variables 2023-04-04 14:42:44 +02:00
tool_writeout.h tool_writeout: add URL component variables 2023-04-04 14:42:44 +02:00
tool_xattr.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
tool_xattr.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00