]> granicus.if.org Git - transmission/commit
Adjust uncrustify config, reformat all but Mac client
authorMike Gelfand <mikedld@mikedld.com>
Wed, 19 Apr 2017 12:04:45 +0000 (15:04 +0300)
committerMike Gelfand <mikedld@mikedld.com>
Thu, 20 Apr 2017 07:01:22 +0000 (10:01 +0300)
commitd7930984efb77bcc0aea817efeadfcef1cbc640b
tree05bae5924378a7d69b2f8c8ab16a91a7c5c08ac3
parentfdfbe225dac3ba72edbf8fef19ae4bef223c4cf4
Adjust uncrustify config, reformat all but Mac client

There're places where manual intervention is still required as uncrustify
is not ideal (unfortunately), but at least one may rely on it to do the
right thing most of the time (e.g. when sending in a patch).

The style itself is quite different from what we had before but making it
uniform across all the codebase is the key. I also hope that it'll make the
code more readable (YMMV) and less sensitive to further changes.
297 files changed:
cli/cli.c
daemon/daemon-posix.c
daemon/daemon-win32.c
daemon/daemon.c
daemon/daemon.h
daemon/remote.c
gtk/actions.c
gtk/actions.h
gtk/conf.c
gtk/conf.h
gtk/details.c
gtk/details.h
gtk/dialogs.c
gtk/dialogs.h
gtk/favicon.c
gtk/favicon.h
gtk/file-list.c
gtk/file-list.h
gtk/filter.c
gtk/filter.h
gtk/hig.c
gtk/hig.h
gtk/icons.c
gtk/icons.h
gtk/main.c
gtk/makemeta-ui.c
gtk/makemeta-ui.h
gtk/msgwin.c
gtk/msgwin.h
gtk/notify.c
gtk/notify.h
gtk/open-dialog.c
gtk/open-dialog.h
gtk/relocate.c
gtk/relocate.h
gtk/stats.c
gtk/stats.h
gtk/torrent-cell-renderer.c
gtk/torrent-cell-renderer.h
gtk/tr-core.c
gtk/tr-core.h
gtk/tr-icon.c
gtk/tr-icon.h
gtk/tr-prefs.c
gtk/tr-prefs.h
gtk/tr-window.c
gtk/tr-window.h
gtk/util.c
gtk/util.h
libtransmission/announcer-common.h
libtransmission/announcer-http.c
libtransmission/announcer-udp.c
libtransmission/announcer.c
libtransmission/announcer.h
libtransmission/bandwidth.c
libtransmission/bandwidth.h
libtransmission/bitfield-test.c
libtransmission/bitfield.c
libtransmission/bitfield.h
libtransmission/blocklist-test.c
libtransmission/blocklist.c
libtransmission/blocklist.h
libtransmission/cache.c
libtransmission/cache.h
libtransmission/clients-test.c
libtransmission/clients.c
libtransmission/clients.h
libtransmission/completion.c
libtransmission/completion.h
libtransmission/crypto-test.c
libtransmission/crypto-utils-cyassl.c
libtransmission/crypto-utils-fallback.c
libtransmission/crypto-utils-openssl.c
libtransmission/crypto-utils-polarssl.c
libtransmission/crypto-utils.c
libtransmission/crypto-utils.h
libtransmission/crypto.c
libtransmission/crypto.h
libtransmission/error-test.c
libtransmission/error-types.h
libtransmission/error.c
libtransmission/error.h
libtransmission/fdlimit.c
libtransmission/fdlimit.h
libtransmission/file-posix.c
libtransmission/file-test.c
libtransmission/file-win32.c
libtransmission/file.c
libtransmission/file.h
libtransmission/handshake.c
libtransmission/handshake.h
libtransmission/history-test.c
libtransmission/history.c
libtransmission/history.h
libtransmission/inout.c
libtransmission/inout.h
libtransmission/json-test.c
libtransmission/libtransmission-test.c
libtransmission/libtransmission-test.h
libtransmission/list.c
libtransmission/list.h
libtransmission/log.c
libtransmission/log.h
libtransmission/magnet-test.c
libtransmission/magnet.c
libtransmission/magnet.h
libtransmission/makemeta-test.c
libtransmission/makemeta.c
libtransmission/makemeta.h
libtransmission/metainfo-test.c
libtransmission/metainfo.c
libtransmission/metainfo.h
libtransmission/move-test.c
libtransmission/natpmp.c
libtransmission/natpmp_local.h
libtransmission/net.c
libtransmission/net.h
libtransmission/peer-common.h
libtransmission/peer-io.c
libtransmission/peer-io.h
libtransmission/peer-mgr.c
libtransmission/peer-mgr.h
libtransmission/peer-msgs-test.c
libtransmission/peer-msgs.c
libtransmission/peer-msgs.h
libtransmission/platform-quota.c
libtransmission/platform-quota.h
libtransmission/platform.c
libtransmission/platform.h
libtransmission/port-forwarding.c
libtransmission/port-forwarding.h
libtransmission/ptrarray.c
libtransmission/ptrarray.h
libtransmission/quark-test.c
libtransmission/quark.c
libtransmission/quark.h
libtransmission/rename-test.c
libtransmission/resume.c
libtransmission/resume.h
libtransmission/rpc-server.c
libtransmission/rpc-server.h
libtransmission/rpc-test.c
libtransmission/rpcimpl.c
libtransmission/rpcimpl.h
libtransmission/session-id.c
libtransmission/session-id.h
libtransmission/session-test.c
libtransmission/session.c
libtransmission/session.h
libtransmission/stats.c
libtransmission/stats.h
libtransmission/torrent-ctor.c
libtransmission/torrent-magnet.c
libtransmission/torrent-magnet.h
libtransmission/torrent.c
libtransmission/torrent.h
libtransmission/tr-dht.c
libtransmission/tr-dht.h
libtransmission/tr-getopt-test.c
libtransmission/tr-getopt.c
libtransmission/tr-getopt.h
libtransmission/tr-lpd.c
libtransmission/tr-lpd.h
libtransmission/tr-udp.c
libtransmission/tr-udp.h
libtransmission/tr-utp.c
libtransmission/tr-utp.h
libtransmission/transmission.h
libtransmission/trevent.c
libtransmission/trevent.h
libtransmission/upnp.c
libtransmission/upnp.h
libtransmission/utils-test.c
libtransmission/utils.c
libtransmission/utils.h
libtransmission/variant-benc.c
libtransmission/variant-common.h
libtransmission/variant-json.c
libtransmission/variant-test.c
libtransmission/variant.c
libtransmission/variant.h
libtransmission/verify.c
libtransmission/verify.h
libtransmission/watchdir-common.h
libtransmission/watchdir-generic.c
libtransmission/watchdir-inotify.c
libtransmission/watchdir-kqueue.c
libtransmission/watchdir-test.c
libtransmission/watchdir-win32.c
libtransmission/watchdir.c
libtransmission/watchdir.h
libtransmission/web.c
libtransmission/web.h
libtransmission/webseed.c
libtransmission/webseed.h
qt/AboutDialog.cc
qt/AboutDialog.h
qt/AddData.cc
qt/AddData.h
qt/Application.cc
qt/Application.h
qt/BaseDialog.h
qt/ColumnResizer.cc
qt/ColumnResizer.h
qt/ComInteropHelper.cc
qt/ComInteropHelper.h
qt/CustomVariantType.h
qt/DBusInteropHelper.cc
qt/DBusInteropHelper.h
qt/DetailsDialog.cc
qt/DetailsDialog.h
qt/FaviconCache.cc
qt/FaviconCache.h
qt/FileTreeDelegate.cc
qt/FileTreeDelegate.h
qt/FileTreeItem.cc
qt/FileTreeItem.h
qt/FileTreeModel.cc
qt/FileTreeModel.h
qt/FileTreeView.cc
qt/FileTreeView.h
qt/FilterBar.cc
qt/FilterBar.h
qt/FilterBarComboBox.cc
qt/FilterBarComboBox.h
qt/FilterBarComboBoxDelegate.cc
qt/FilterBarComboBoxDelegate.h
qt/Filters.cc
qt/Filters.h
qt/Formatter.cc
qt/Formatter.h
qt/FreeSpaceLabel.cc
qt/FreeSpaceLabel.h
qt/IconToolButton.cc
qt/IconToolButton.h
qt/InteropHelper.cc
qt/InteropHelper.h
qt/InteropObject.cc
qt/InteropObject.h
qt/LicenseDialog.cc
qt/LicenseDialog.h
qt/MainWindow.cc
qt/MainWindow.h
qt/MakeDialog.cc
qt/MakeDialog.h
qt/OptionsDialog.cc
qt/OptionsDialog.h
qt/PathButton.cc
qt/PathButton.h
qt/Prefs.cc
qt/Prefs.h
qt/PrefsDialog.cc
qt/PrefsDialog.h
qt/RelocateDialog.cc
qt/RelocateDialog.h
qt/RpcClient.cc
qt/RpcClient.h
qt/RpcQueue.cc
qt/RpcQueue.h
qt/Session.cc
qt/Session.h
qt/SessionDialog.cc
qt/SessionDialog.h
qt/Speed.h
qt/SqueezeLabel.cc
qt/SqueezeLabel.h
qt/StatsDialog.cc
qt/StatsDialog.h
qt/StyleHelper.cc
qt/StyleHelper.h
qt/Torrent.cc
qt/Torrent.h
qt/TorrentDelegate.cc
qt/TorrentDelegate.h
qt/TorrentDelegateMin.cc
qt/TorrentDelegateMin.h
qt/TorrentFilter.cc
qt/TorrentFilter.h
qt/TorrentModel.cc
qt/TorrentModel.h
qt/TorrentView.cc
qt/TorrentView.h
qt/TrackerDelegate.cc
qt/TrackerDelegate.h
qt/TrackerModel.cc
qt/TrackerModel.h
qt/TrackerModelFilter.cc
qt/TrackerModelFilter.h
qt/Utils.cc
qt/Utils.h
qt/WatchDir.cc
qt/WatchDir.h
uncrustify.cfg
utils/create.c
utils/edit.c
utils/show.c
utils/units.h