Remove all modelines from the project

Many of these are pointless (e.g. there is no need to explicitly turn on
spellchecking and language dictionaries for the manpages by default).

The only useful modelines are the ones enforcing the project coding
standards for indentation style (and "maybe" filetype/syntax, but
everything except the asciidoc manpages and makepkg.conf is already
autodetected), and indent style can be applied more easily with
.editorconfig

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Eli Schwartz 2018-05-03 00:10:20 -04:00 committed by Allan McRae
parent 9aec7c3c72
commit 860e4c4943
128 changed files with 0 additions and 276 deletions

View file

@ -194,7 +194,3 @@ For example, to run valgrind:
./src/pacman/pacman
valgrind --leak-check=full -- src/pacman/.libs/lt-pacman -Syu
/////
vim:set syntax=asciidoc noet spell spelllang=en_us:
/////

View file

@ -69,5 +69,3 @@ update-copyright:
done
.PHONY: update-po update-copyright
# vim:set noet:

2
NEWS
View file

@ -1258,5 +1258,3 @@ VERSION DESCRIPTION
backed up, then it will be copied to "file.save"
- Changed db_find_conflicts() to ignore directories
1.0 - Initial Release
vim: set et spell spelllang=en_us:

View file

@ -594,5 +594,3 @@ ${PACKAGE_NAME}:
extra warning flags : ${warningflags}
use git version : ${wantgitver}
"
# vim:set noet:

View file

@ -176,5 +176,3 @@ install-data-hook:
uninstall-hook:
$(RM) $(DESTDIR)$(mandir)/man8/repo-remove.8
# vim:set noet:

View file

@ -1,6 +1,3 @@
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////
PKGBUILD(5)
===========

View file

@ -1,6 +1,3 @@
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////
alpm-hooks(5)
=============

View file

@ -1,6 +1,3 @@
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////
See the pacman website at https://www.archlinux.org/pacman/[] for current
information on pacman and its related tools.

View file

@ -259,7 +259,3 @@ pacman is Copyright (C) 2006-2018 Pacman Development Team
<pacman-dev@archlinux.org> and Copyright (C) 2002-2006 Judd Vinet
<jvinet@zeroflux.org> and is licensed through the GNU General Public License,
version 2 or later.
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////

View file

@ -1,6 +1,3 @@
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////
libalpm(3)
==========

View file

@ -1,6 +1,3 @@
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////
makepkg-template(1)
===================

View file

@ -1,6 +1,3 @@
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////
makepkg(8)
==========

View file

@ -1,6 +1,3 @@
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////
makepkg.conf(5)
===============

View file

@ -1,6 +1,3 @@
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////
pacman-key(8)
=============

View file

@ -1,6 +1,3 @@
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////
pacman(8)
=========

View file

@ -1,6 +1,3 @@
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////
pacman.conf(5)
==============

View file

@ -1,6 +1,3 @@
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////
pkgdelta(8)
=========

View file

@ -1,6 +1,3 @@
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////
repo-add(8)
==========

View file

@ -99,7 +99,3 @@ aren't their own. When resubmitting patches, update the subject line to reflect
the version number ('[PATCHv2]'), and send it as a reply to the original thread.
--
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////

View file

@ -151,7 +151,3 @@ the pacman codebase. However, this is not to say translations are unwelcome. If
someone has experience with i18n man pages and how to best include them with our
source, please contact the pacman-dev mailing list at
mailto:pacman-dev@archlinux.org[].
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////

View file

@ -1,6 +1,3 @@
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////
vercmp(8)
=========

View file

@ -25,5 +25,3 @@ SED_PROCESS = \
%.conf: %.conf.in Makefile
$(SED_PROCESS)
# vim:set noet:

View file

@ -142,5 +142,3 @@ COMPRESSZ=(compress -c -f)
#
PKGEXT='@PKGEXT@'
SRCEXT='@SRCEXT@'
# vim: set ft=sh ts=2 sw=2 et:

View file

@ -75,5 +75,3 @@ libalpm_la_LIBADD = \
$(LIBCURL_LIBS) \
$(LIBSSL_LIBS) \
$(NETTLE_LIBS)
# vim:set noet:

View file

@ -694,5 +694,3 @@ int _alpm_upgrade_packages(alpm_handle_t *handle)
return ret;
}
/* vim: set noet: */

View file

@ -27,5 +27,3 @@
int _alpm_upgrade_packages(alpm_handle_t *handle);
#endif /* ALPM_ADD_H */
/* vim: set noet: */

View file

@ -166,5 +166,3 @@ int SYMEXPORT alpm_capabilities(void)
#endif
| 0;
}
/* vim: set noet: */

View file

@ -1646,5 +1646,3 @@ void alpm_conflict_free(alpm_conflict_t *conflict);
}
#endif
#endif /* ALPM_H */
/* vim: set noet: */

View file

@ -842,5 +842,3 @@ void SYMEXPORT *alpm_list_to_array(const alpm_list_t *list, size_t n,
}
/** @} */
/* vim: set noet: */

View file

@ -92,5 +92,3 @@ void *alpm_list_to_array(const alpm_list_t *list, size_t n, size_t size);
}
#endif
#endif /* ALPM_LIST_H */
/* vim: set noet: */

View file

@ -98,5 +98,3 @@ error:
free(newbackup);
return NULL;
}
/* vim: set noet: */

View file

@ -29,5 +29,3 @@ void _alpm_backup_free(alpm_backup_t *backup);
alpm_backup_t *_alpm_backup_dup(const alpm_backup_t *backup);
#endif /* ALPM_BACKUP_H */
/* vim: set noet: */

View file

@ -1166,5 +1166,3 @@ alpm_db_t *_alpm_db_register_local(alpm_handle_t *handle)
handle->db_local = db;
return db;
}
/* vim: set noet: */

View file

@ -788,5 +788,3 @@ int SYMEXPORT alpm_pkg_load(alpm_handle_t *handle, const char *filename, int ful
return 0;
}
/* vim: set noet: */

View file

@ -805,5 +805,3 @@ alpm_db_t *_alpm_db_register_sync(alpm_handle_t *handle, const char *treename,
handle->dbs_sync = alpm_list_add(handle->dbs_sync, db);
return db;
}
/* vim: set noet: */

View file

@ -700,5 +700,3 @@ alpm_list_t *_alpm_db_find_fileconflicts(alpm_handle_t *handle,
return conflicts;
}
/* vim: set noet: */

View file

@ -31,5 +31,3 @@ alpm_list_t *_alpm_db_find_fileconflicts(alpm_handle_t *handle,
alpm_list_t *upgrade, alpm_list_t *remove);
#endif /* ALPM_CONFLICT_H */
/* vim: set noet: */

View file

@ -726,5 +726,3 @@ alpm_group_t *_alpm_db_get_groupfromcache(alpm_db_t *db, const char *target)
return NULL;
}
/* vim: set noet: */

View file

@ -112,5 +112,3 @@ alpm_list_t *_alpm_db_get_groupcache(alpm_db_t *db);
alpm_group_t *_alpm_db_get_groupfromcache(alpm_db_t *db, const char *target);
#endif /* ALPM_DB_H */
/* vim: set noet: */

View file

@ -359,5 +359,3 @@ error:
_alpm_delta_free(newdelta);
return NULL;
}
/* vim: set noet: */

View file

@ -31,5 +31,3 @@ off_t _alpm_shortest_delta_path(alpm_handle_t *handle, alpm_list_t *deltas,
const char *to, alpm_list_t **path);
#endif /* ALPM_DELTA_H */
/* vim: set noet: */

View file

@ -954,4 +954,3 @@ char SYMEXPORT *alpm_dep_compute_string(const alpm_depend_t *dep)
return str;
}
/* vim: set noet: */

View file

@ -39,5 +39,3 @@ int _alpm_depcmp_provides(alpm_depend_t *dep, alpm_list_t *provisions);
int _alpm_depcmp(alpm_pkg_t *pkg, alpm_depend_t *dep);
#endif /* ALPM_DEPS_H */
/* vim: set noet: */

View file

@ -500,5 +500,3 @@ finish:
return 0;
}
/* vim: set noet: */

View file

@ -61,5 +61,3 @@ int _alpm_check_downloadspace(alpm_handle_t *handle, const char *cachedir,
size_t num_files, off_t *file_sizes);
#endif /* ALPM_DISKSPACE_H */
/* vim: set noet: */

View file

@ -734,5 +734,3 @@ void _alpm_dload_payload_reset_for_retry(struct dload_payload *payload)
payload->unlink_on_fail = 0;
payload->cb_initialized = 0;
}
/* vim: set noet: */

View file

@ -54,5 +54,3 @@ int _alpm_download(struct dload_payload *payload, const char *localpath,
char **final_file, const char **final_url);
#endif /* ALPM_DLOAD_H */
/* vim: set noet: */

View file

@ -164,5 +164,3 @@ const char SYMEXPORT *alpm_strerror(alpm_errno_t err)
return _("unexpected error");
}
}
/* vim: set noet: */

View file

@ -145,5 +145,3 @@ void _alpm_filelist_sort(alpm_filelist_t *filelist)
}
}
}
/* vim: set noet: */

View file

@ -30,5 +30,3 @@ alpm_list_t *_alpm_filelist_intersection(alpm_filelist_t *filesA,
void _alpm_filelist_sort(alpm_filelist_t *filelist);
#endif /* ALPM_FILELIST_H */
/* vim: set noet: */

View file

@ -36,5 +36,3 @@ void _alpm_graph_free(void *data)
alpm_list_free(graph->children);
free(graph);
}
/* vim: set noet: */

View file

@ -42,5 +42,3 @@ alpm_graph_t *_alpm_graph_new(void);
void _alpm_graph_free(void *data);
#endif /* ALPM_GRAPH_H */
/* vim: set noet: */

View file

@ -49,5 +49,3 @@ void _alpm_group_free(alpm_group_t *grp)
alpm_list_free(grp->packages);
FREE(grp);
}
/* vim: set noet: */

View file

@ -26,5 +26,3 @@ alpm_group_t *_alpm_group_new(const char *name);
void _alpm_group_free(alpm_group_t *grp);
#endif /* ALPM_GROUP_H */
/* vim: set noet: */

View file

@ -876,5 +876,3 @@ int SYMEXPORT alpm_option_set_disable_dl_timeout(alpm_handle_t *handle,
#endif
return 0;
}
/* vim: set noet: */

View file

@ -126,5 +126,3 @@ alpm_errno_t _alpm_set_directory_option(const char *value,
char **storage, int must_exist);
#endif /* ALPM_HANDLE_H */
/* vim: set noet: */

View file

@ -782,5 +782,3 @@ cleanup:
return ret;
}
/* vim: set noet: */

View file

@ -25,5 +25,3 @@
int _alpm_hook_run(alpm_handle_t *handle, alpm_hook_when_t when);
#endif /* ALPM_HOOK_H */
/* vim: set noet: */

View file

@ -69,5 +69,3 @@ static inline int _alpm_archive_read_support_filter_all(struct archive *archive)
}
#endif /* LIBARCHIVE_COMPAT_H */
/* vim: set noet: */

View file

@ -121,5 +121,3 @@ void _alpm_log(alpm_handle_t *handle, alpm_loglevel_t flag, const char *fmt, ...
handle->logcb(flag, fmt, args);
va_end(args);
}
/* vim: set noet: */

View file

@ -28,5 +28,3 @@ void _alpm_log(alpm_handle_t *handle, alpm_loglevel_t flag,
const char *fmt, ...) __attribute__((format(printf,3,4)));
#endif /* ALPM_LOG_H */
/* vim: set noet: */

View file

@ -805,5 +805,3 @@ int SYMEXPORT alpm_pkg_should_ignore(alpm_handle_t *handle, alpm_pkg_t *pkg)
return 0;
}
/* vim: set noet: */

View file

@ -161,5 +161,3 @@ int _alpm_pkg_cmp(const void *p1, const void *p2);
int _alpm_pkg_compare_versions(alpm_pkg_t *local_pkg, alpm_pkg_t *pkg);
#endif /* ALPM_PACKAGE_H */
/* vim: set noet: */

View file

@ -349,5 +349,3 @@ alpm_pkg_t *_alpm_pkghash_find(alpm_pkghash_t *hash, const char *name)
return NULL;
}
/* vim: set noet: */

View file

@ -133,5 +133,3 @@ int _alpm_raw_ncmp(const char *first, const char *second, size_t max)
return (raw_toupper(*first) - raw_toupper(*second));
}
/* vim: set noet: */

View file

@ -787,5 +787,3 @@ int _alpm_remove_packages(alpm_handle_t *handle, int run_ldconfig)
return ret;
}
/* vim: set noet: */

View file

@ -32,5 +32,3 @@ int _alpm_remove_single_package(alpm_handle_t *handle,
size_t targ_count, size_t pkg_count);
#endif /* ALPM_REMOVE_H */
/* vim: set noet: */

View file

@ -1174,5 +1174,3 @@ int SYMEXPORT alpm_extract_keyid(alpm_handle_t *handle, const char *identifier,
return 0;
}
/* vim: set noet: */

View file

@ -35,5 +35,3 @@ int _alpm_key_in_keychain(alpm_handle_t *handle, const char *fpr);
int _alpm_key_import(alpm_handle_t *handle, const char *fpr);
#endif /* ALPM_SIGNING_H */
/* vim: set noet: */

View file

@ -1417,5 +1417,3 @@ int _alpm_sync_commit(alpm_handle_t *handle)
return 0;
}
/* vim: set noet: */

View file

@ -30,5 +30,3 @@ int _alpm_sync_check(alpm_handle_t *handle, alpm_list_t **data);
int _alpm_sync_commit(alpm_handle_t *handle);
#endif /* ALPM_SYNC_H */
/* vim: set noet: */

View file

@ -445,4 +445,3 @@ alpm_list_t SYMEXPORT *alpm_trans_get_remove(alpm_handle_t *handle)
return handle->trans->remove;
}
/* vim: set noet: */

View file

@ -53,5 +53,3 @@ int _alpm_runscriptlet(alpm_handle_t *handle, const char *filepath,
const char *script, const char *ver, const char *oldver, int is_archive);
#endif /* ALPM_TRANS_H */
/* vim: set noet: */

View file

@ -1463,5 +1463,3 @@ void _alpm_alloc_fail(size_t size)
{
fprintf(stderr, "alloc failure: could not allocate %zu bytes\n", size);
}
/* vim: set noet: */

View file

@ -159,5 +159,3 @@ char *strsep(char **, const char *);
#define UNUSED __attribute__((unused))
#endif /* ALPM_UTIL_H */
/* vim: set noet: */

View file

@ -272,5 +272,3 @@ int SYMEXPORT alpm_pkg_vercmp(const char *a, const char *b)
free(full2);
return ret;
}
/* vim: set noet: */

View file

@ -289,6 +289,3 @@ uninstall-hook:
for dir in $(LIBMAKEPKGDIRS); do \
$(RM) -r $(DESTDIR)$(libmakepkgdir)/$$dir; \
done
# vim:set noet:

View file

@ -213,5 +213,3 @@ $opts{input} = "/dev/stdin" if $opts{input} eq "-";
$opts{output} = "/dev/stdout" if $opts{output} eq "-";
burp($opts{output}, process_file($opts{input}));
# vim: set noet:

View file

@ -1702,5 +1702,3 @@ fi
msg "$(gettext "Finished making: %s")" "$pkgbase $basever ($(date +%c))"
install_package && exit $E_OK || exit $E_INSTALL_FAILED
# vim: set noet:

View file

@ -240,5 +240,3 @@ echo "9" > "$dbroot"/local/ALPM_DB_VERSION
# remove the lock file
rm -f "$lockfile"
# vim: set noet:

View file

@ -636,5 +636,3 @@ fi
(( UPDATEDB )) && updatedb
exit 0
# vim: set noet:

View file

@ -227,5 +227,3 @@ if ! type xdelta3 &>/dev/null; then
fi
create_xdelta "$@"
# vim: set noet:

View file

@ -830,4 +830,3 @@ else
fi
exit 0
# vim: set noet:

View file

@ -1,4 +1,2 @@
EXTRA_DIST = \
util-common.h util-common.c
# vim:set noet:

View file

@ -107,5 +107,3 @@ cleanup:
free(section_name);
return ret;
}
/* vim: set noet: */

View file

@ -26,5 +26,3 @@ typedef int (ini_parser_fn)(const char *file, int line, const char *section,
int parse_ini(const char *file, ini_parser_fn cb, void *data);
#endif /* PM_INI_H */
/* vim: set noet: */

View file

@ -197,5 +197,3 @@ char *strndup(const char *s, size_t n)
return (char *)memcpy(new, s, len);
}
#endif
/* vim: set noet: */

View file

@ -39,5 +39,3 @@ char *strndup(const char *s, size_t n);
#define ARRAYSIZE(a) (sizeof (a) / sizeof (a[0]))
#endif /* PM_UTIL_COMMON_H */
/* vim: set noet: */

View file

@ -65,6 +65,3 @@ pacman_conf_SOURCES = pacman-conf.c \
conf.c
pacman_conf_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la
# vim:set noet:

View file

@ -884,5 +884,3 @@ void cb_log(alpm_loglevel_t level, const char *fmt, va_list args)
pm_vfprintf(stderr, level, fmt, args);
}
}
/* vim: set noet: */

View file

@ -44,5 +44,3 @@ __attribute__((format(printf, 2, 0)))
void cb_log(alpm_loglevel_t level, const char *fmt, va_list args);
#endif /* PM_CALLBACK_H */
/* vim: set noet: */

View file

@ -390,5 +390,3 @@ int check_pkg_full(alpm_pkg_t *pkg)
return (errors != 0 ? 1 : 0);
}
/* vim: set noet: */

View file

@ -26,5 +26,3 @@ int check_pkg_fast(alpm_pkg_t *pkg);
int check_pkg_full(alpm_pkg_t *pkg);
#endif /* PM_CHECK_H */
/* vim: set noet: */

View file

@ -1073,5 +1073,3 @@ int parseconfig(const char *file)
config->repos = NULL;
return ret;
}
/* vim: set noet: */

View file

@ -245,5 +245,3 @@ int parseconfig(const char *file);
int parseconfigfile(const char *file);
int setdefaults(config_t *c);
#endif /* PM_CONF_H */
/* vim: set noet: */

View file

@ -300,5 +300,3 @@ int pacman_database(alpm_list_t *targets)
return ret;
}
/* vim: set noet: */

View file

@ -53,5 +53,3 @@ int pacman_deptest(alpm_list_t *targets)
alpm_list_free(deps);
return 127;
}
/* vim: set noet: */

View file

@ -323,5 +323,3 @@ int pacman_files(alpm_list_t *targets)
return 0;
}
/* vim: set noet: */

View file

@ -568,5 +568,3 @@ int dump_pkg_search(alpm_db_t *db, alpm_list_t *targets, int show_status)
return 0;
}
/* vim: set noet: */

View file

@ -32,5 +32,3 @@ void print_installed(alpm_db_t *db_local, alpm_pkg_t *pkg);
int dump_pkg_search(alpm_db_t *db, alpm_list_t *targets, int show_status);
#endif /* PM_PACKAGE_H */
/* vim: set noet: */

Some files were not shown because too many files have changed in this diff Show more