From 23889ef6b85f73125f8d2eafae61a034af16458b Mon Sep 17 00:00:00 2001 From: Dan Pasanen Date: Fri, 26 Sep 2014 22:33:03 -0500 Subject: [PATCH] clean up all trailing whitespace in all text files This is the result of this command run from the root: find . -type f -exec sed --in-place 's/[[:space:]]\+$//' {} \+ --- README.md | 52 +- core/AndroidManifest.xml | 6 +- .../androidannotations-3.0-SNAPSHOT.jar | Bin 591631 -> 591594 bytes core/custom_rules.xml | 6 +- .../androidannotations-api-3.0-SNAPSHOT.jar | Bin 43730 -> 43728 bytes core/libs/ormlite-android-4.24.jar | Bin 32707 -> 32701 bytes core/libs/ormlite-core-4.24.jar | Bin 216486 -> 216475 bytes core/libs/universal-image-loader-1.8.4.jar | Bin 122698 -> 122690 bytes .../ab_background_textured_transdroid2.xml | 4 +- .../activatable_background_transdroid.xml | 4 +- .../activatable_background_transdroid2.xml | 4 +- .../res/drawable/btn_cab_done_transdroid2.xml | 4 +- .../drawable/details_list_background_dark.xml | 6 +- .../details_list_background_light.xml | 6 +- core/res/drawable/loading_progress_dark.xml | 6 +- core/res/drawable/loading_progress_light.xml | 6 +- .../pressed_background_transdroid.xml | 4 +- .../pressed_background_transdroid2.xml | 4 +- .../selectable_background_transdroid.xml | 4 +- .../selectable_background_transdroid2.xml | 6 +- .../spinner_background_ab_transdroid.xml | 4 +- .../spinner_background_ab_transdroid2.xml | 4 +- .../drawable/tab_indicator_ab_transdroid.xml | 4 +- .../drawable/tab_indicator_ab_transdroid2.xml | 4 +- core/res/layout-w600dp/activity_search.xml | 10 +- core/res/layout-w600dp/activity_torrents.xml | 2 +- core/res/layout-w900dp/activity_rssfeeds.xml | 10 +- core/res/layout-w900dp/activity_torrents.xml | 4 +- core/res/layout/actionbar_donebutton.xml | 6 +- core/res/layout/actionbar_navigation.xml | 6 +- core/res/layout/actionbar_searchsite.xml | 6 +- core/res/layout/actionbar_serverstatus.xml | 6 +- core/res/layout/activity_rssfeeds.xml | 6 +- core/res/layout/activity_rssitems.xml | 6 +- core/res/layout/activity_search.xml | 6 +- core/res/layout/activity_widgetconfig.xml | 10 +- core/res/layout/dialog_about.xml | 8 +- core/res/layout/dialog_changelog.xml | 6 +- core/res/layout/dialog_setlabel.xml | 16 +- core/res/layout/dialog_storagelocation.xml | 6 +- core/res/layout/dialog_trackers.xml | 6 +- core/res/layout/dialog_transferrates.xml | 6 +- core/res/layout/fragment_details.xml | 8 +- core/res/layout/fragment_details_header.xml | 6 +- core/res/layout/fragment_filters.xml | 6 +- core/res/layout/fragment_rssfeeds.xml | 6 +- core/res/layout/fragment_rssitems.xml | 6 +- core/res/layout/fragment_searchresults.xml | 8 +- core/res/layout/fragment_torrents.xml | 6 +- core/res/layout/list_item_filter.xml | 6 +- core/res/layout/list_item_rssfeed.xml | 6 +- core/res/layout/list_item_rssitem.xml | 6 +- core/res/layout/list_item_searchresult.xml | 12 +- core/res/layout/list_item_searchsite.xml | 6 +- core/res/layout/list_item_separator.xml | 6 +- core/res/layout/list_item_simple.xml | 6 +- core/res/layout/list_item_torrent.xml | 6 +- core/res/layout/list_item_torrentfile.xml | 6 +- core/res/layout/list_item_widget_dark.xml | 6 +- core/res/layout/list_item_widget_light.xml | 6 +- core/res/layout/widget_torrents_dark.xml | 12 +- core/res/layout/widget_torrents_light.xml | 8 +- core/res/menu/activity_deleteableprefs.xml | 6 +- core/res/menu/activity_details.xml | 6 +- core/res/menu/activity_search.xml | 6 +- core/res/menu/activity_torrents.xml | 6 +- core/res/menu/dialog_about.xml | 6 +- core/res/menu/fragment_details.xml | 6 +- core/res/menu/fragment_details_cab.xml | 6 +- core/res/menu/fragment_rssfeeds.xml | 8 +- core/res/menu/fragment_rssitems_cab.xml | 6 +- core/res/menu/fragment_searchresults_cab.xml | 8 +- core/res/menu/fragment_torrents_cab.xml | 6 +- core/res/values-h400dp/dimens.xml | 8 +- core/res/values-h600dp/dimens.xml | 8 +- core/res/values-land/dimens.xml | 8 +- core/res/values-sw500dp/bools.xml | 6 +- core/res/values-sw600dp/dimens.xml | 12 +- core/res/values-v16/styles.xml | 20 +- core/res/values/attrs.xml | 8 +- core/res/values/bools.xml | 6 +- core/res/values/changelog.xml | 6 +- core/res/values/colors.xml | 12 +- core/res/values/colors_transdroid_dark.xml | 4 +- core/res/values/colors_transdroid_light.xml | 4 +- core/res/values/dimens.xml | 12 +- core/res/values/strings.xml | 44 +- core/res/values/styles.xml | 20 +- core/res/values/styles_transdroid_dark.xml | 14 +- core/res/values/styles_transdroid_light.xml | 18 +- core/res/xml/listwidget_info.xml | 6 +- core/res/xml/pref_help.xml | 12 +- core/res/xml/pref_main.xml | 20 +- core/res/xml/pref_notifications.xml | 20 +- core/res/xml/pref_rssfeed.xml | 14 +- core/res/xml/pref_seedbox_seedstuff.xml | 6 +- core/res/xml/pref_seedbox_xirvikdedi.xml | 6 +- core/res/xml/pref_seedbox_xirviksemi.xml | 6 +- core/res/xml/pref_seedbox_xirvikshared.xml | 6 +- core/res/xml/pref_server.xml | 8 +- core/res/xml/pref_system.xml | 22 +- core/res/xml/pref_websearch.xml | 14 +- core/res/xml/searchable.xml | 6 +- .../GoogleWebSearchBarcodeResolver.java | 38 +- .../core/app/search/SearchHelper.java | 8 +- .../core/app/search/SearchResult.java | 8 +- .../core/app/search/SearchSite.java | 12 +- .../app/settings/ApplicationSettings.java | 66 +- .../app/settings/NotificationSettings.java | 14 +- .../core/app/settings/RssfeedSetting.java | 8 +- .../core/app/settings/ServerSetting.java | 8 +- .../app/settings/SettingsPersistence.java | 10 +- .../core/app/settings/SystemSettings.java | 8 +- .../core/app/settings/WebsearchSetting.java | 16 +- .../transdroid/core/gui/DetailsActivity.java | 8 +- .../transdroid/core/gui/DetailsFragment.java | 8 +- .../core/gui/FilterEntryDialog.java | 10 +- .../transdroid/core/gui/ServerStatusView.java | 10 +- .../core/gui/TorrentTasksExecutor.java | 8 +- .../transdroid/core/gui/TorrentsActivity.java | 8 +- .../transdroid/core/gui/TorrentsFragment.java | 8 +- .../core/gui/lists/DetailsAdapter.java | 8 +- .../core/gui/lists/LocalTorrent.java | 8 +- .../core/gui/lists/MergeAdapter.java | 8 +- .../lists/NoProgressHeaderTransformer.java | 2 +- .../core/gui/lists/SimpleListItem.java | 8 +- .../core/gui/lists/SimpleListItemAdapter.java | 10 +- .../lists/SimpleListItemSpinnerAdapter.java | 12 +- .../core/gui/lists/SimpleListItemView.java | 12 +- .../core/gui/lists/SortByListItem.java | 12 +- .../core/gui/lists/TorrentDetailsView.java | 10 +- .../gui/lists/TorrentFilePriorityLayout.java | 8 +- .../core/gui/lists/TorrentFileView.java | 12 +- .../core/gui/lists/TorrentProgressBar.java | 10 +- .../core/gui/lists/TorrentStatusLayout.java | 8 +- .../core/gui/lists/TorrentView.java | 8 +- .../core/gui/lists/TorrentsAdapter.java | 16 +- .../core/gui/lists/ViewHolderAdapter.java | 8 +- .../core/gui/log/DatabaseHelper.java | 8 +- .../core/gui/log/ErrorLogEntry.java | 8 +- .../core/gui/log/ErrorLogSender.java | 8 +- core/src/org/transdroid/core/gui/log/Log.java | 18 +- .../core/gui/navigation/DialogHelper.java | 26 +- .../gui/navigation/FilterListAdapter.java | 8 +- .../navigation/FilterListDropDownAdapter.java | 14 +- .../gui/navigation/FilterListItemAdapter.java | 8 +- .../gui/navigation/FilterListItemView.java | 12 +- .../gui/navigation/FilterSeparatorView.java | 14 +- .../transdroid/core/gui/navigation/Label.java | 12 +- .../core/gui/navigation/NavigationFilter.java | 8 +- .../core/gui/navigation/NavigationHelper.java | 10 +- .../navigation/NavigationSelectionView.java | 12 +- .../gui/navigation/RefreshableActivity.java | 8 +- .../gui/navigation/SelectionManagerMode.java | 8 +- .../SelectionModificationSpinner.java | 10 +- .../core/gui/navigation/SetLabelDialog.java | 8 +- .../navigation/SetStorageLocationDialog.java | 8 +- .../gui/navigation/SetTrackersDialog.java | 8 +- .../navigation/SetTransferRatesDialog.java | 8 +- .../core/gui/navigation/StatusType.java | 16 +- .../core/gui/rss/RssfeedLoader.java | 8 +- .../transdroid/core/gui/rss/RssfeedView.java | 14 +- .../core/gui/rss/RssfeedsActivity.java | 8 +- .../core/gui/rss/RssfeedsAdapter.java | 16 +- .../core/gui/rss/RssfeedsFragment.java | 12 +- .../core/gui/rss/RssitemStatusLayout.java | 8 +- .../transdroid/core/gui/rss/RssitemView.java | 8 +- .../core/gui/rss/RssitemsActivity.java | 8 +- .../core/gui/rss/RssitemsAdapter.java | 14 +- .../core/gui/rss/RssitemsFragment.java | 14 +- .../core/gui/search/BarcodeHelper.java | 8 +- .../core/gui/search/FilePickerHelper.java | 8 +- .../core/gui/search/SearchActivity.java | 10 +- .../gui/search/SearchHistoryProvider.java | 10 +- .../core/gui/search/SearchResultView.java | 8 +- .../core/gui/search/SearchResultsAdapter.java | 8 +- .../gui/search/SearchResultsFragment.java | 10 +- .../core/gui/search/SearchSetting.java | 10 +- .../search/SearchSettingSelectionView.java | 8 +- .../search/SearchSettingsDropDownAdapter.java | 8 +- .../core/gui/search/SearchSiteView.java | 8 +- .../core/gui/search/SearchSitesAdapter.java | 16 +- .../core/gui/search/SendIntentHelper.java | 8 +- .../core/gui/search/UrlEntryDialog.java | 8 +- .../core/gui/settings/AboutDialog.java | 8 +- .../core/gui/settings/ChangelogDialog.java | 8 +- .../gui/settings/HelpSettingsActivity.java | 8 +- .../settings/KeyBoundPreferencesActivity.java | 8 +- .../gui/settings/MainSettingsActivity.java | 10 +- .../NotificationSettingsActivity.java | 14 +- .../core/gui/settings/OverflowPreference.java | 2 +- .../core/gui/settings/RssfeedPreference.java | 16 +- .../gui/settings/RssfeedSettingsActivity.java | 8 +- .../core/gui/settings/ServerPreference.java | 16 +- .../gui/settings/ServerSettingsActivity.java | 8 +- .../gui/settings/SystemSettingsActivity.java | 16 +- .../gui/settings/WebsearchPreference.java | 16 +- .../settings/WebsearchSettingsActivity.java | 14 +- .../transdroid/core/rssparser/HttpHelper.java | 56 +- .../core/seedbox/SeedboxPreference.java | 8 +- .../core/seedbox/SeedboxProvider.java | 14 +- .../core/seedbox/SeedboxSettings.java | 12 +- .../core/seedbox/SeedboxSettingsImpl.java | 8 +- .../core/seedbox/SeedstuffSettings.java | 34 +- .../seedbox/SeedstuffSettingsActivity.java | 8 +- .../core/seedbox/XirvikDediSettings.java | 34 +- .../seedbox/XirvikDediSettingsActivity.java | 8 +- .../core/seedbox/XirvikSemiSettings.java | 34 +- .../seedbox/XirvikSemiSettingsActivity.java | 8 +- .../core/seedbox/XirvikSharedSettings.java | 34 +- .../seedbox/XirvikSharedSettingsActivity.java | 8 +- .../core/service/AlarmReceiver.java | 8 +- .../core/service/AppUpdateService.java | 10 +- .../transdroid/core/service/BootReceiver.java | 8 +- .../core/service/ConnectivityHelper.java | 8 +- .../core/service/ControlService.java | 6 +- .../core/service/RssCheckerService.java | 8 +- .../core/service/ServerCheckerService.java | 16 +- .../core/widget/ListWidgetConfig.java | 10 +- .../core/widget/ListWidgetConfigActivity.java | 12 +- .../core/widget/ListWidgetPreviewAdapter.java | 16 +- .../core/widget/ListWidgetProvider.java | 10 +- .../core/widget/ListWidgetViewsService.java | 12 +- .../AndroidManifest.xml | 2 +- ...progress_indeterminate_horizontal_holo.xml | 16 +- .../res/values-ar/pull_refresh_strings.xml | 42 +- .../res/values-cs/pull_refresh_strings.xml | 42 +- .../res/values-de/pull_refresh_strings.xml | 42 +- .../res/values-es/pull_refresh_strings.xml | 44 +- .../res/values-fr/pull_refresh_strings.xml | 42 +- .../res/values-he/pull_refresh_strings.xml | 44 +- .../res/values-it/pull_refresh_strings.xml | 42 +- .../res/values-iw/pull_refresh_strings.xml | 42 +- .../res/values-ja/pull_refresh_strings.xml | 44 +- .../res/values-ko/pull_refresh_strings.xml | 44 +- .../res/values-nl/pull_refresh_strings.xml | 42 +- .../res/values-pl/pull_refresh_strings.xml | 42 +- .../values-pt-rBR/pull_refresh_strings.xml | 44 +- .../res/values-pt/pull_refresh_strings.xml | 42 +- .../res/values-ro/pull_refresh_strings.xml | 42 +- .../res/values-ru/pull_refresh_strings.xml | 42 +- .../res/values-zh/pull_refresh_strings.xml | 44 +- .../ColorPickerPreference/AndroidManifest.xml | 2 +- .../res/layout-land/dialog_color_picker.xml | 26 +- .../res/layout/dialog_color_picker.xml | 24 +- .../res/values/strings.xml | 6 +- .../res/xml/settings.xml | 22 +- .../colorpicker/AlphaPatternDrawable.java | 2 +- .../colorpicker/ColorPickerDialog.java | 32 +- .../colorpicker/ColorPickerPreference.java | 8 +- .../colorpicker/ColorPickerView.java | 18 +- external/Crouton/README.markdown | 8 +- external/Crouton/library/AndroidManifest.xml | 2 +- .../android/widget/crouton/Style.java | 2 +- external/Crouton/pom.xml | 2 +- full/AndroidManifest.xml | 8 +- full/res/values/bools.xml | 6 +- full/res/values/strings.xml | 6 +- .../http/multipart/BitCometFilePart.java | 476 +++++++-------- .../http/multipart/ByteArrayPartSource.java | 8 +- .../internalcopy/http/multipart/FilePart.java | 62 +- .../http/multipart/FilePartSource.java | 24 +- .../http/multipart/MultipartEntity.java | 52 +- .../internalcopy/http/multipart/Part.java | 118 ++-- .../internalcopy/http/multipart/PartBase.java | 26 +- .../http/multipart/PartSource.java | 22 +- .../http/multipart/StringPart.java | 16 +- .../http/multipart/Utf8StringPart.java | 86 +-- .../de/timroes/axmlrpc/ResponseParser.java | 2 +- lib/src/de/timroes/axmlrpc/XMLRPCClient.java | 18 +- .../de/timroes/axmlrpc/XMLRPCException.java | 2 +- .../axmlrpc/XMLRPCRuntimeException.java | 2 +- .../axmlrpc/XMLRPCTimeoutException.java | 4 +- lib/src/de/timroes/axmlrpc/XMLUtil.java | 4 +- .../axmlrpc/serializer/DoubleSerializer.java | 2 +- .../axmlrpc/serializer/Serializer.java | 2 +- .../axmlrpc/serializer/SerializerHandler.java | 6 +- .../axmlrpc/serializer/StructSerializer.java | 6 +- lib/src/org/base64/android/Base64.java | 576 +++++++++--------- .../transdroid/daemon/AlphanumComparator.java | 4 +- .../daemon/BitComet/BitCometAdapter.java | 230 +++---- .../daemon/Bitflu/BitfluAdapter.java | 20 +- .../daemon/BuffaloNas/BuffaloNasAdapter.java | 22 +- .../DLinkRouterBT/DLinkRouterBTAdapter.java | 54 +- lib/src/org/transdroid/daemon/Daemon.java | 46 +- .../transdroid/daemon/DaemonException.java | 20 +- .../org/transdroid/daemon/DaemonMethod.java | 20 +- .../org/transdroid/daemon/DaemonSettings.java | 20 +- .../daemon/Deluge/DelugeAdapter.java | 120 ++-- .../org/transdroid/daemon/DummyAdapter.java | 62 +- lib/src/org/transdroid/daemon/Finishable.java | 2 +- .../org/transdroid/daemon/IDaemonAdapter.java | 14 +- .../transdroid/daemon/IDaemonCallback.java | 12 +- .../daemon/Ktorrent/FileListParser.java | 32 +- .../daemon/Ktorrent/KtorrentAdapter.java | 88 +-- .../daemon/Ktorrent/StatsParser.java | 60 +- lib/src/org/transdroid/daemon/Label.java | 158 ++--- lib/src/org/transdroid/daemon/OS.java | 4 +- lib/src/org/transdroid/daemon/Priority.java | 18 +- .../Qbittorrent/QbittorrentAdapter.java | 8 +- .../daemon/Rtorrent/RtorrentAdapter.java | 64 +- .../daemon/Synology/SynologyAdapter.java | 8 +- lib/src/org/transdroid/daemon/TaskQueue.java | 54 +- .../transdroid/daemon/Tfb4rt/StatsParser.java | 62 +- .../daemon/Tfb4rt/Tfb4rtAdapter.java | 8 +- lib/src/org/transdroid/daemon/Torrent.java | 8 +- .../org/transdroid/daemon/TorrentDetails.java | 14 +- .../org/transdroid/daemon/TorrentFile.java | 18 +- .../daemon/TorrentFilesComparator.java | 16 +- .../transdroid/daemon/TorrentFilesSortBy.java | 12 +- .../org/transdroid/daemon/TorrentStatus.java | 16 +- .../transdroid/daemon/TorrentsComparator.java | 16 +- .../org/transdroid/daemon/TorrentsSortBy.java | 14 +- .../Transmission/TransmissionAdapter.java | 132 ++-- .../daemon/Utorrent/UtorrentAdapter.java | 122 ++-- .../transdroid/daemon/Vuze/VuzeAdapter.java | 134 ++-- .../daemon/Vuze/VuzeXmlOverHttpClient.java | 108 ++-- .../transdroid/daemon/task/AddByFileTask.java | 8 +- .../daemon/task/AddByMagnetUrlTask.java | 8 +- .../transdroid/daemon/task/AddByUrlTask.java | 8 +- .../transdroid/daemon/task/DaemonTask.java | 32 +- .../daemon/task/DaemonTaskFailureResult.java | 20 +- .../daemon/task/DaemonTaskResult.java | 22 +- .../daemon/task/DaemonTaskSuccessResult.java | 14 +- .../daemon/task/ForceRecheckTask.java | 8 +- .../daemon/task/GetFileListTask.java | 8 +- .../task/GetFileListTaskSuccessResult.java | 18 +- .../transdroid/daemon/task/GetStatsTask.java | 8 +- .../task/GetStatsTaskSuccessResult.java | 16 +- .../daemon/task/GetTorrentDetailsTask.java | 8 +- .../GetTorrentDetailsTaskSuccessResult.java | 18 +- .../transdroid/daemon/task/PauseAllTask.java | 8 +- .../org/transdroid/daemon/task/PauseTask.java | 8 +- .../transdroid/daemon/task/RemoveTask.java | 10 +- .../transdroid/daemon/task/ResumeAllTask.java | 8 +- .../transdroid/daemon/task/ResumeTask.java | 8 +- .../transdroid/daemon/task/RetrieveTask.java | 8 +- .../task/RetrieveTaskSuccessResult.java | 20 +- .../daemon/task/SetAlternativeModeTask.java | 8 +- .../daemon/task/SetDownloadLocationTask.java | 8 +- .../daemon/task/SetFilePriorityTask.java | 8 +- .../transdroid/daemon/task/SetLabelTask.java | 8 +- .../daemon/task/SetTrackersTask.java | 8 +- .../daemon/task/SetTransferRatesTask.java | 8 +- .../transdroid/daemon/task/StartAllTask.java | 8 +- .../org/transdroid/daemon/task/StartTask.java | 8 +- .../transdroid/daemon/task/StopAllTask.java | 8 +- .../org/transdroid/daemon/task/StopTask.java | 8 +- lib/src/org/transdroid/daemon/util/DLog.java | 18 +- .../daemon/util/FakeSocketFactory.java | 2 +- .../daemon/util/FakeTrustManager.java | 8 +- .../daemon/util/FileSizeConverter.java | 8 +- .../transdroid/daemon/util/HttpHelper.java | 10 +- .../org/transdroid/daemon/util/ITLogger.java | 16 +- .../daemon/util/TimespanConverter.java | 18 +- lite/AndroidManifest.xml | 8 +- lite/res/values/bools.xml | 6 +- lite/res/values/strings.xml | 6 +- 358 files changed, 3481 insertions(+), 3481 deletions(-) diff --git a/README.md b/README.md index cfd00345..0eae0b61 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ Transdroid ========== -[www.transdroid.org](http://www.transdroid.org) -[Google+](https://plus.google.com/u/0/b/106240944422491053650/106240944422491053650) - [Twitter](https://twitter.com/transdroid) - [Old Google Code site](https://code.google.com/p/transdroid/) - [transdroid@2312.nl](transdroid@2312.nl) +[www.transdroid.org](http://www.transdroid.org) +[Google+](https://plus.google.com/u/0/b/106240944422491053650/106240944422491053650) - [Twitter](https://twitter.com/transdroid) - [Old Google Code site](https://code.google.com/p/transdroid/) - [transdroid@2312.nl](transdroid@2312.nl) "Manage your torrents from your Android device" ![Screen shot of the main torretns listing screen](http://2312.nl/img/portfolio-transdroid/240x400-transdroid-main.png) @@ -36,53 +36,53 @@ Designed and developed by [Eric Kok](eric@2312.nl) of [2312 development](http:// License ======= - + Copyright 2010-2014 Eric Kok et al. - + Transdroid is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - + Transdroid is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with Transdroid. If not, see . - + Some code/libraries/resources are used in the project: -* [AndroidAnnotations](http://androidannotations.org/) - Pierre-Yves Ricau (eBusinessInformations) et al. +* [AndroidAnnotations](http://androidannotations.org/) + Pierre-Yves Ricau (eBusinessInformations) et al. Apache License, Version 2.0 -* [ActionBar-PullToRefresh](https://github.com/chrisbanes/ActionBar-PullToRefresh) - Chris Banes +* [ActionBar-PullToRefresh](https://github.com/chrisbanes/ActionBar-PullToRefresh) + Chris Banes Apache License, Version 2.0 -* [Crouton](https://github.com/keyboardsurfer/Crouton) - Code: Benjamin Weiss (Neofonie Mobile Gmbh) et al. - Idea: Cyril Mottier +* [Crouton](https://github.com/keyboardsurfer/Crouton) + Code: Benjamin Weiss (Neofonie Mobile Gmbh) et al. + Idea: Cyril Mottier Apache License, Version 2.0 -* [Base16Encoder](http://openjpa.apache.org/) - Marc Prud'hommeaux +* [Base16Encoder](http://openjpa.apache.org/) + Marc Prud'hommeaux Apache OpenJPA -* MultipartEntity - Apache Software Foundation +* MultipartEntity + Apache Software Foundation Apache License, Version 2.0 -* RssParser ([learning-android](http://github.com/digitalspaghetti/learning-android)) - Tane Piper +* RssParser ([learning-android](http://github.com/digitalspaghetti/learning-android)) + Tane Piper Public Domain * [Base64](http://iharder.net/base64) - Robert Harder + Robert Harder Public Domain * [aXMLRPC](https://github.com/timroes/aXMLRPC) - Tim Roes + Tim Roes MIT License -* [android-ColorPickerPreference](https://github.com/attenzione/android-ColorPickerPreference) - Daniel Nilsson and Sergey Margaritov +* [android-ColorPickerPreference](https://github.com/attenzione/android-ColorPickerPreference) + Daniel Nilsson and Sergey Margaritov Apache License, Version 2.0 -* [Funnel icon](http://thenounproject.com/noun/funnel/#icon-No5608) - Naomi Atkinson from The Noun Project +* [Funnel icon](http://thenounproject.com/noun/funnel/#icon-No5608) + Naomi Atkinson from The Noun Project Creative Commons Attribution 3.0 diff --git a/core/AndroidManifest.xml b/core/AndroidManifest.xml index 15c7bfd5..b7cc1796 100644 --- a/core/AndroidManifest.xml +++ b/core/AndroidManifest.xml @@ -1,17 +1,17 @@ diff --git a/core/compile-libs/androidannotations-3.0-SNAPSHOT.jar b/core/compile-libs/androidannotations-3.0-SNAPSHOT.jar index 310da002b3cd5d01b4842ea5df22207234d33df9..62a14bee47371fb288fe855f2da42e4a03d6e528 100644 GIT binary patch delta 226 zcmV<803H92jwI@hB(VKlv;JIhJhO0_bp^BLo&zAW>b{l&vw^{dAhQSJnGds}@nLAU z16l!dcDHxX0l+1e0u>s!;;jPILAST>0=Vw=jVOHjB4s3UIaC c6}OIz2mc|rj;;rVO}7;M2Oto)H4F&a`X?P^(EtDd delta 297 zcmaFWtJ2@6vf*zGBk$(FF@-ja3Y+t0ma;N(Z+<+FSpi5r+c%8~C|7f^Re_ObGvlL~ z{6OBUkBJ$KJllUqG8UIHa&OPOz<5BFiJN!3-Z#dVk&K+%#RHfsjDZsU%}n|NjJ(_T zO=c360@9b)GF@>5YFz%FX{|S-!uAkr=DF%X{>LQdY)7E_m?g}s#Ta>~v+rhJ1LSVr z&3wQCsI2%8bAmR|*vslHu8}}-iAEN)ZXoT)!+Lxo&{)xVtlf-2`33V?UrYhg9VTpM zJV0ajIk4Rg1j^5z#J0B=C?27}o*X8?!^M?WINj0e)2c(}%M;|dx1TIyUn~k#p3}qr bUlFK0dmVeLFVOf8zu6T8fV2P)$E{xgejH~- diff --git a/core/custom_rules.xml b/core/custom_rules.xml index 183179db..8ba756c2 100644 --- a/core/custom_rules.xml +++ b/core/custom_rules.xml @@ -5,11 +5,11 @@ - + - + @@ -88,5 +88,5 @@ - + diff --git a/core/libs/androidannotations-api-3.0-SNAPSHOT.jar b/core/libs/androidannotations-api-3.0-SNAPSHOT.jar index bf0bfae584bfc41368267671fa0063c0c4bb87a2..cea87f35da75309cc3d21581edc770875ab8afc0 100644 GIT binary patch delta 19 bcmca~mFdD&rVSfPHg7EH=HG1FGF1%#YSjtG delta 23 fcmca`mFdz|rVSfP7&$j@DCy>B9I?F^OJln#?AbNTlfGBmJSdA delta 45 zcmdn{pYia2#tr=S92(xuQi3hX)MS=>mf>0^7x2y#L8zHyICILWMw+Vm& cp&+-bpaJk8r<}n7gSVYT0;p5BMwkL%wLe-OC;$Ke delta 92 zcmbO|n|Il4-VN(b896tvH$B3^sIa-%u9F?e`{UZg1?1HQXl`ZX-oBibQCg9acl#kV vMu$is&D6lSP=S$i`{D(R9~2lBmQOy&*vzP~eX_6^CZj0&5RRh?xRxi>F!%n4-V*(@}<$^uCBoc`F)$h*BZnvvark#l=X VH)As+kY?{?)aL@yX44sYJOE0m6}JEY diff --git a/core/res/drawable/ab_background_textured_transdroid2.xml b/core/res/drawable/ab_background_textured_transdroid2.xml index d08217b4..fb917a8b 100644 --- a/core/res/drawable/ab_background_textured_transdroid2.xml +++ b/core/res/drawable/ab_background_textured_transdroid2.xml @@ -6,9 +6,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/core/res/drawable/activatable_background_transdroid.xml b/core/res/drawable/activatable_background_transdroid.xml index 20757ad7..61b37265 100644 --- a/core/res/drawable/activatable_background_transdroid.xml +++ b/core/res/drawable/activatable_background_transdroid.xml @@ -7,9 +7,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/core/res/drawable/activatable_background_transdroid2.xml b/core/res/drawable/activatable_background_transdroid2.xml index c6c078b0..39b432bf 100644 --- a/core/res/drawable/activatable_background_transdroid2.xml +++ b/core/res/drawable/activatable_background_transdroid2.xml @@ -7,9 +7,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/core/res/drawable/btn_cab_done_transdroid2.xml b/core/res/drawable/btn_cab_done_transdroid2.xml index ba1783fc..820c810d 100644 --- a/core/res/drawable/btn_cab_done_transdroid2.xml +++ b/core/res/drawable/btn_cab_done_transdroid2.xml @@ -7,9 +7,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/core/res/drawable/details_list_background_dark.xml b/core/res/drawable/details_list_background_dark.xml index a7f8dcb3..85a4a2d6 100644 --- a/core/res/drawable/details_list_background_dark.xml +++ b/core/res/drawable/details_list_background_dark.xml @@ -1,17 +1,17 @@ diff --git a/core/res/drawable/details_list_background_light.xml b/core/res/drawable/details_list_background_light.xml index b394d8ea..1b0643cc 100644 --- a/core/res/drawable/details_list_background_light.xml +++ b/core/res/drawable/details_list_background_light.xml @@ -1,17 +1,17 @@ diff --git a/core/res/drawable/loading_progress_dark.xml b/core/res/drawable/loading_progress_dark.xml index 31293bc1..1114a03f 100644 --- a/core/res/drawable/loading_progress_dark.xml +++ b/core/res/drawable/loading_progress_dark.xml @@ -1,17 +1,17 @@ diff --git a/core/res/drawable/loading_progress_light.xml b/core/res/drawable/loading_progress_light.xml index e1357eef..2d2670d8 100644 --- a/core/res/drawable/loading_progress_light.xml +++ b/core/res/drawable/loading_progress_light.xml @@ -1,17 +1,17 @@ diff --git a/core/res/drawable/pressed_background_transdroid.xml b/core/res/drawable/pressed_background_transdroid.xml index d59067c2..03d7a483 100644 --- a/core/res/drawable/pressed_background_transdroid.xml +++ b/core/res/drawable/pressed_background_transdroid.xml @@ -6,9 +6,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/core/res/drawable/pressed_background_transdroid2.xml b/core/res/drawable/pressed_background_transdroid2.xml index 4998b8fd..4c0c6011 100644 --- a/core/res/drawable/pressed_background_transdroid2.xml +++ b/core/res/drawable/pressed_background_transdroid2.xml @@ -7,9 +7,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/core/res/drawable/selectable_background_transdroid.xml b/core/res/drawable/selectable_background_transdroid.xml index 77db9571..d31f50aa 100644 --- a/core/res/drawable/selectable_background_transdroid.xml +++ b/core/res/drawable/selectable_background_transdroid.xml @@ -6,9 +6,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/core/res/drawable/selectable_background_transdroid2.xml b/core/res/drawable/selectable_background_transdroid2.xml index 4fbef81c..52280a25 100644 --- a/core/res/drawable/selectable_background_transdroid2.xml +++ b/core/res/drawable/selectable_background_transdroid2.xml @@ -1,17 +1,17 @@ diff --git a/core/res/drawable/spinner_background_ab_transdroid.xml b/core/res/drawable/spinner_background_ab_transdroid.xml index 32edfe7b..4d00d689 100644 --- a/core/res/drawable/spinner_background_ab_transdroid.xml +++ b/core/res/drawable/spinner_background_ab_transdroid.xml @@ -6,9 +6,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/core/res/drawable/spinner_background_ab_transdroid2.xml b/core/res/drawable/spinner_background_ab_transdroid2.xml index d1adeb93..ef15fa50 100644 --- a/core/res/drawable/spinner_background_ab_transdroid2.xml +++ b/core/res/drawable/spinner_background_ab_transdroid2.xml @@ -7,9 +7,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/core/res/drawable/tab_indicator_ab_transdroid.xml b/core/res/drawable/tab_indicator_ab_transdroid.xml index 5345f3e5..8ac50353 100644 --- a/core/res/drawable/tab_indicator_ab_transdroid.xml +++ b/core/res/drawable/tab_indicator_ab_transdroid.xml @@ -6,9 +6,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/core/res/drawable/tab_indicator_ab_transdroid2.xml b/core/res/drawable/tab_indicator_ab_transdroid2.xml index c940e202..024c3157 100644 --- a/core/res/drawable/tab_indicator_ab_transdroid2.xml +++ b/core/res/drawable/tab_indicator_ab_transdroid2.xml @@ -7,9 +7,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/core/res/layout-w600dp/activity_search.xml b/core/res/layout-w600dp/activity_search.xml index df073660..d4237eda 100644 --- a/core/res/layout-w600dp/activity_search.xml +++ b/core/res/layout-w600dp/activity_search.xml @@ -1,17 +1,17 @@ @@ -30,7 +30,7 @@ android:layout_weight="1" android:choiceMode="singleChoice" android:listSelector="?attr/selectable_background_transdroid" /> - + - + diff --git a/core/res/layout-w600dp/activity_torrents.xml b/core/res/layout-w600dp/activity_torrents.xml index 8ff1071a..1f93e571 100644 --- a/core/res/layout-w600dp/activity_torrents.xml +++ b/core/res/layout-w600dp/activity_torrents.xml @@ -15,7 +15,7 @@ android:layout_weight="1" android:choiceMode="singleChoice" android:listSelector="?attr/selectable_background_transdroid" /> - + @@ -30,7 +30,7 @@ android:layout_weight="2" class="org.transdroid.core.gui.rss.RssfeedsFragment_" tools:layout="@layout/fragment_rssfeeds" /> - + - + diff --git a/core/res/layout-w900dp/activity_torrents.xml b/core/res/layout-w900dp/activity_torrents.xml index 1571f6a6..32e77f6d 100644 --- a/core/res/layout-w900dp/activity_torrents.xml +++ b/core/res/layout-w900dp/activity_torrents.xml @@ -15,7 +15,7 @@ android:layout_weight="1" android:choiceMode="singleChoice" android:listSelector="?attr/selectable_background_transdroid" /> - + - + \ No newline at end of file diff --git a/core/res/layout/actionbar_donebutton.xml b/core/res/layout/actionbar_donebutton.xml index 5f0769e7..3bfd06cd 100644 --- a/core/res/layout/actionbar_donebutton.xml +++ b/core/res/layout/actionbar_donebutton.xml @@ -2,17 +2,17 @@ diff --git a/core/res/layout/actionbar_navigation.xml b/core/res/layout/actionbar_navigation.xml index 208bbe27..bfe2c4c9 100644 --- a/core/res/layout/actionbar_navigation.xml +++ b/core/res/layout/actionbar_navigation.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/actionbar_searchsite.xml b/core/res/layout/actionbar_searchsite.xml index 4ac8d683..d7ea44a2 100644 --- a/core/res/layout/actionbar_searchsite.xml +++ b/core/res/layout/actionbar_searchsite.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/actionbar_serverstatus.xml b/core/res/layout/actionbar_serverstatus.xml index 0e1f52a9..8a759676 100644 --- a/core/res/layout/actionbar_serverstatus.xml +++ b/core/res/layout/actionbar_serverstatus.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/activity_rssfeeds.xml b/core/res/layout/activity_rssfeeds.xml index 6517460e..e7541830 100644 --- a/core/res/layout/activity_rssfeeds.xml +++ b/core/res/layout/activity_rssfeeds.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/activity_rssitems.xml b/core/res/layout/activity_rssitems.xml index b233ad1f..f7f6d4b6 100644 --- a/core/res/layout/activity_rssitems.xml +++ b/core/res/layout/activity_rssitems.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/activity_search.xml b/core/res/layout/activity_search.xml index 585d5856..afa9fc3f 100644 --- a/core/res/layout/activity_search.xml +++ b/core/res/layout/activity_search.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/activity_widgetconfig.xml b/core/res/layout/activity_widgetconfig.xml index 9d7b4a1a..2e602fa8 100644 --- a/core/res/layout/activity_widgetconfig.xml +++ b/core/res/layout/activity_widgetconfig.xml @@ -1,17 +1,17 @@ @@ -71,7 +71,7 @@ android:layout_height="wrap_content" android:text="@string/widget_sortby" android:textIsSelectable="false" /> - + - + @@ -73,7 +73,7 @@ android:layout_marginBottom="@dimen/margin_half" android:gravity="center" android:text="@string/system_librarieslabel" /> - + diff --git a/core/res/layout/dialog_setlabel.xml b/core/res/layout/dialog_setlabel.xml index 0ccfc84d..582575fc 100644 --- a/core/res/layout/dialog_setlabel.xml +++ b/core/res/layout/dialog_setlabel.xml @@ -1,17 +1,17 @@ @@ -27,33 +27,33 @@ android:layout_height="wrap_content" android:text="@string/status_label_pick" android:textAllCaps="true" /> - + - + - + - + - + diff --git a/core/res/layout/dialog_trackers.xml b/core/res/layout/dialog_trackers.xml index 45e6137d..a7ecd5a7 100644 --- a/core/res/layout/dialog_trackers.xml +++ b/core/res/layout/dialog_trackers.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/dialog_transferrates.xml b/core/res/layout/dialog_transferrates.xml index 96765652..b31b36de 100644 --- a/core/res/layout/dialog_transferrates.xml +++ b/core/res/layout/dialog_transferrates.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/fragment_details.xml b/core/res/layout/fragment_details.xml index 02356267..f7528e39 100644 --- a/core/res/layout/fragment_details.xml +++ b/core/res/layout/fragment_details.xml @@ -1,17 +1,17 @@ @@ -65,5 +65,5 @@ android:padding="@dimen/margin_default" android:textIsSelectable="false" android:visibility="gone" /> - + diff --git a/core/res/layout/fragment_details_header.xml b/core/res/layout/fragment_details_header.xml index 484995ec..5a29a688 100644 --- a/core/res/layout/fragment_details_header.xml +++ b/core/res/layout/fragment_details_header.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/fragment_filters.xml b/core/res/layout/fragment_filters.xml index 50d8606f..a19678ee 100644 --- a/core/res/layout/fragment_filters.xml +++ b/core/res/layout/fragment_filters.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/fragment_rssfeeds.xml b/core/res/layout/fragment_rssfeeds.xml index 845020ea..67fbebc5 100644 --- a/core/res/layout/fragment_rssfeeds.xml +++ b/core/res/layout/fragment_rssfeeds.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/fragment_rssitems.xml b/core/res/layout/fragment_rssitems.xml index 4dd073fc..ed631f01 100644 --- a/core/res/layout/fragment_rssitems.xml +++ b/core/res/layout/fragment_rssitems.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/fragment_searchresults.xml b/core/res/layout/fragment_searchresults.xml index 8eb8868e..14708ad9 100644 --- a/core/res/layout/fragment_searchresults.xml +++ b/core/res/layout/fragment_searchresults.xml @@ -1,17 +1,17 @@ @@ -35,7 +35,7 @@ android:indeterminate="true" android:indeterminateDrawable="?attr/loading_progress" android:indeterminateOnly="true" /> - + diff --git a/core/res/layout/list_item_filter.xml b/core/res/layout/list_item_filter.xml index 3053399e..a9b81290 100644 --- a/core/res/layout/list_item_filter.xml +++ b/core/res/layout/list_item_filter.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/list_item_rssfeed.xml b/core/res/layout/list_item_rssfeed.xml index 03cb8d54..b53e66fb 100644 --- a/core/res/layout/list_item_rssfeed.xml +++ b/core/res/layout/list_item_rssfeed.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/list_item_rssitem.xml b/core/res/layout/list_item_rssitem.xml index 630d6a7d..564895bc 100644 --- a/core/res/layout/list_item_rssitem.xml +++ b/core/res/layout/list_item_rssitem.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/list_item_searchresult.xml b/core/res/layout/list_item_searchresult.xml index 85f572d4..fb213eca 100644 --- a/core/res/layout/list_item_searchresult.xml +++ b/core/res/layout/list_item_searchresult.xml @@ -1,17 +1,17 @@ @@ -42,7 +42,7 @@ android:layout_marginTop="4dip" android:textIsSelectable="false" android:textSize="@dimen/text_small" /> - + - + - + diff --git a/core/res/layout/list_item_searchsite.xml b/core/res/layout/list_item_searchsite.xml index 18bbd480..6edb56e4 100644 --- a/core/res/layout/list_item_searchsite.xml +++ b/core/res/layout/list_item_searchsite.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/list_item_separator.xml b/core/res/layout/list_item_separator.xml index 322c093d..e46f2074 100644 --- a/core/res/layout/list_item_separator.xml +++ b/core/res/layout/list_item_separator.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/list_item_simple.xml b/core/res/layout/list_item_simple.xml index 125a8f99..78d655ab 100644 --- a/core/res/layout/list_item_simple.xml +++ b/core/res/layout/list_item_simple.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/list_item_torrent.xml b/core/res/layout/list_item_torrent.xml index d1e3a095..2d9351f9 100644 --- a/core/res/layout/list_item_torrent.xml +++ b/core/res/layout/list_item_torrent.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/list_item_torrentfile.xml b/core/res/layout/list_item_torrentfile.xml index 8decf552..c63b3b8b 100644 --- a/core/res/layout/list_item_torrentfile.xml +++ b/core/res/layout/list_item_torrentfile.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/list_item_widget_dark.xml b/core/res/layout/list_item_widget_dark.xml index 0b1aa4a0..a117893e 100644 --- a/core/res/layout/list_item_widget_dark.xml +++ b/core/res/layout/list_item_widget_dark.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/list_item_widget_light.xml b/core/res/layout/list_item_widget_light.xml index b014be57..73f5325f 100644 --- a/core/res/layout/list_item_widget_light.xml +++ b/core/res/layout/list_item_widget_light.xml @@ -1,17 +1,17 @@ diff --git a/core/res/layout/widget_torrents_dark.xml b/core/res/layout/widget_torrents_dark.xml index 412b6d86..74c55c89 100644 --- a/core/res/layout/widget_torrents_dark.xml +++ b/core/res/layout/widget_torrents_dark.xml @@ -1,17 +1,17 @@ @@ -53,7 +53,7 @@ android:padding="@dimen/widget_header_padding" android:scaleType="fitXY" android:src="@drawable/ic_action_pause_dark" /> - + - + - + @@ -217,5 +217,5 @@ android:padding="@dimen/margin_default" android:textIsSelectable="false" android:visibility="gone" /> - + \ No newline at end of file diff --git a/core/res/menu/activity_deleteableprefs.xml b/core/res/menu/activity_deleteableprefs.xml index a45ae1d6..9a1d1ff9 100644 --- a/core/res/menu/activity_deleteableprefs.xml +++ b/core/res/menu/activity_deleteableprefs.xml @@ -1,16 +1,16 @@ diff --git a/core/res/menu/activity_details.xml b/core/res/menu/activity_details.xml index 7d5314cb..29ca9937 100644 --- a/core/res/menu/activity_details.xml +++ b/core/res/menu/activity_details.xml @@ -1,16 +1,16 @@ diff --git a/core/res/menu/activity_search.xml b/core/res/menu/activity_search.xml index 0f3e5c90..541ee391 100644 --- a/core/res/menu/activity_search.xml +++ b/core/res/menu/activity_search.xml @@ -1,16 +1,16 @@ diff --git a/core/res/menu/activity_torrents.xml b/core/res/menu/activity_torrents.xml index a596e1ec..bddc044f 100644 --- a/core/res/menu/activity_torrents.xml +++ b/core/res/menu/activity_torrents.xml @@ -1,16 +1,16 @@ diff --git a/core/res/menu/dialog_about.xml b/core/res/menu/dialog_about.xml index 4ee783d6..d12c0eaa 100644 --- a/core/res/menu/dialog_about.xml +++ b/core/res/menu/dialog_about.xml @@ -1,16 +1,16 @@ diff --git a/core/res/menu/fragment_details.xml b/core/res/menu/fragment_details.xml index e5c1e1f4..b3fd3972 100644 --- a/core/res/menu/fragment_details.xml +++ b/core/res/menu/fragment_details.xml @@ -1,16 +1,16 @@ diff --git a/core/res/menu/fragment_details_cab.xml b/core/res/menu/fragment_details_cab.xml index f0bfa6d8..e162c027 100644 --- a/core/res/menu/fragment_details_cab.xml +++ b/core/res/menu/fragment_details_cab.xml @@ -1,16 +1,16 @@ diff --git a/core/res/menu/fragment_rssfeeds.xml b/core/res/menu/fragment_rssfeeds.xml index 1ba3deb3..801903b9 100644 --- a/core/res/menu/fragment_rssfeeds.xml +++ b/core/res/menu/fragment_rssfeeds.xml @@ -1,16 +1,16 @@ @@ -21,7 +21,7 @@ android:icon="?attr/ic_action_refresh" android:showAsAction="always" android:title="@string/action_refresh"/> - + diff --git a/core/res/menu/fragment_rssitems_cab.xml b/core/res/menu/fragment_rssitems_cab.xml index 6e0f14df..8eeb0b2c 100644 --- a/core/res/menu/fragment_rssitems_cab.xml +++ b/core/res/menu/fragment_rssitems_cab.xml @@ -1,16 +1,16 @@ diff --git a/core/res/menu/fragment_searchresults_cab.xml b/core/res/menu/fragment_searchresults_cab.xml index 5bdbe14c..fe4fea49 100644 --- a/core/res/menu/fragment_searchresults_cab.xml +++ b/core/res/menu/fragment_searchresults_cab.xml @@ -1,16 +1,16 @@ @@ -27,5 +27,5 @@ android:icon="?attr/ic_action_website" android:showAsAction="always" android:title="@string/action_showdetails" /> - + diff --git a/core/res/menu/fragment_torrents_cab.xml b/core/res/menu/fragment_torrents_cab.xml index 91fd0a8a..414f9b33 100644 --- a/core/res/menu/fragment_torrents_cab.xml +++ b/core/res/menu/fragment_torrents_cab.xml @@ -1,16 +1,16 @@ diff --git a/core/res/values-h400dp/dimens.xml b/core/res/values-h400dp/dimens.xml index 6be472c5..1f5e915a 100644 --- a/core/res/values-h400dp/dimens.xml +++ b/core/res/values-h400dp/dimens.xml @@ -1,16 +1,16 @@ @@ -18,5 +18,5 @@ 35sp 3dp - + diff --git a/core/res/values-h600dp/dimens.xml b/core/res/values-h600dp/dimens.xml index 3cade5c1..7fbefd45 100644 --- a/core/res/values-h600dp/dimens.xml +++ b/core/res/values-h600dp/dimens.xml @@ -1,16 +1,16 @@ @@ -18,5 +18,5 @@ 55sp 5dp - + diff --git a/core/res/values-land/dimens.xml b/core/res/values-land/dimens.xml index 7911c3f0..ab5d1d2a 100644 --- a/core/res/values-land/dimens.xml +++ b/core/res/values-land/dimens.xml @@ -1,16 +1,16 @@ @@ -25,5 +25,5 @@ 12dp 12dp 56dp - + diff --git a/core/res/values-sw500dp/bools.xml b/core/res/values-sw500dp/bools.xml index 22e6baef..07bb0df6 100644 --- a/core/res/values-sw500dp/bools.xml +++ b/core/res/values-sw500dp/bools.xml @@ -1,17 +1,17 @@ diff --git a/core/res/values-sw600dp/dimens.xml b/core/res/values-sw600dp/dimens.xml index fdf0ec32..2b36048d 100644 --- a/core/res/values-sw600dp/dimens.xml +++ b/core/res/values-sw600dp/dimens.xml @@ -1,16 +1,16 @@ @@ -23,7 +23,7 @@ 27sp 40sp 14sp - + 18sp 15sp @@ -34,11 +34,11 @@ 17dp 14dp 67dp - + 0 30dp -1dp 300dp - + diff --git a/core/res/values-v16/styles.xml b/core/res/values-v16/styles.xml index ac7e73c9..c0371588 100644 --- a/core/res/values-v16/styles.xml +++ b/core/res/values-v16/styles.xml @@ -1,31 +1,31 @@ - - - - + - + - + - + \ No newline at end of file diff --git a/core/res/values/attrs.xml b/core/res/values/attrs.xml index 71ca0075..5b4bea9d 100644 --- a/core/res/values/attrs.xml +++ b/core/res/values/attrs.xml @@ -1,17 +1,17 @@ @@ -20,7 +20,7 @@ - + diff --git a/core/res/values/bools.xml b/core/res/values/bools.xml index e1e1755a..3a9c9991 100644 --- a/core/res/values/bools.xml +++ b/core/res/values/bools.xml @@ -1,17 +1,17 @@ diff --git a/core/res/values/changelog.xml b/core/res/values/changelog.xml index e69bee5c..47a1d09c 100644 --- a/core/res/values/changelog.xml +++ b/core/res/values/changelog.xml @@ -1,17 +1,17 @@ diff --git a/core/res/values/colors.xml b/core/res/values/colors.xml index d9096474..34c90ad7 100644 --- a/core/res/values/colors.xml +++ b/core/res/values/colors.xml @@ -1,28 +1,28 @@ - + #8acc12 #7dbb21 #c81113 #aada62 - + #42a8fa #a759d4 @@ -33,5 +33,5 @@ #8acc12 #4b6617 #9e9e9e - + diff --git a/core/res/values/colors_transdroid_dark.xml b/core/res/values/colors_transdroid_dark.xml index 30ee0f48..9b8d7d2d 100644 --- a/core/res/values/colors_transdroid_dark.xml +++ b/core/res/values/colors_transdroid_dark.xml @@ -7,9 +7,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/core/res/values/colors_transdroid_light.xml b/core/res/values/colors_transdroid_light.xml index 84564063..321d266c 100644 --- a/core/res/values/colors_transdroid_light.xml +++ b/core/res/values/colors_transdroid_light.xml @@ -7,9 +7,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/core/res/values/dimens.xml b/core/res/values/dimens.xml index 2526d1d3..621a2955 100644 --- a/core/res/values/dimens.xml +++ b/core/res/values/dimens.xml @@ -1,16 +1,16 @@ @@ -29,7 +29,7 @@ 24sp 35sp 14sp - + 17sp 14sp @@ -42,7 +42,7 @@ 56dp 20sp 2dp - + 1 20dp @@ -53,5 +53,5 @@ 54dp 6dp 12dp - + diff --git a/core/res/values/strings.xml b/core/res/values/strings.xml index eaa7d429..3e323313 100644 --- a/core/res/values/strings.xml +++ b/core/res/values/strings.xml @@ -1,22 +1,22 @@ - + Add Add all From file @@ -68,7 +68,7 @@ Remove settings Visit transdroid.org Close - + %1$s allows you to monitor and manage the torrent client you run at home or on your seedbox. Setting things up can be a bit tricky, but we offer step-by-step guides and promise it\'ll be worth it! Connected, but no torrents are active within the current filter Select a torrent to view its details @@ -92,7 +92,7 @@ Select finished Invert selection Add torrent to… - + STATUS: %1$s Waiting to check… Verifying local data… @@ -144,7 +144,7 @@ %1$s added, %2$s finished torrents %1$s and others - + All labels Unlabeled New label @@ -153,7 +153,7 @@ NEW LABEL Remove label E.g. movies or linux - + %1$s added (refreshing) %1$s removed %1$s removed and data deleted @@ -172,7 +172,7 @@ Torrent moved to \'%1$s\' File priorities updated Maximum transfer speeds set - + Torrent search \'%1$s\' on %2$s Search for torrents @@ -188,7 +188,7 @@ %1$d result selected %1$d results selected - + RSS feeds You have not defined any RSS feeds yet to monitor. Torrent-specific RSS feeds keep you up to date with new releases and you are notified of new items. Select an RSS feed to view the new items @@ -204,7 +204,7 @@ %1$s new RSS feed torrents New torrents for %1$s - + Loading… Open Transdroid SERVER VIEW @@ -214,7 +214,7 @@ Server status instead of title Use dark theme (no preview) DONE - + Servers Add new server Add seedbox @@ -228,7 +228,7 @@ Add RSS feed Other settings Are you sure you want to remove these settings? - + Name Optional personal name Direct search URL @@ -238,7 +238,7 @@ Feed URL Requires authentication Opens links in the webbrowser for user login - + Server type IP or host name Port number @@ -275,7 +275,7 @@ Permit only connections to this specific certificate Accept all SSL certificates Allow all connections from any thumbprint - + Background notifications Enable RSS notifications Enable torrent notifications @@ -288,7 +288,7 @@ If supported by your device Support AWD notifications Show torrent counter in ADW Launcher - + System Automatic refreshing Interval-based refresh of the main screen @@ -320,7 +320,7 @@ Export settings %1$s will export server (including passwords), web search, RSS and system settings to the following plain text JSON file: %2$s Settings successfully exported - + Transdroid help Send error log Get support or report a bug @@ -328,7 +328,7 @@ Available at transdroid.org/download Recent changes About %1$s - + Add %1$s seedbox Torrent client Client to connect to @@ -348,7 +348,7 @@ daemon_utorrent daemon_deluge - + BitComet Bitflu 1.2+ @@ -409,7 +409,7 @@ 43200 86400 - + Error during communication; check your connection Internal error building request Error parsing server response (please check your settings) @@ -435,11 +435,11 @@ Please enter a valid label or pick from the list Please wait until the torrent details have been loaded No app found that can download %1$s - + New Transdroid version available New Transdroid search module available You can now update to %1$s - + \u00A9 Eric Kok, 2312 development Published under GNU General Public License v3 Some code/libraries are used in the project: diff --git a/core/res/values/styles.xml b/core/res/values/styles.xml index 56ba4c3e..7e65fbdb 100644 --- a/core/res/values/styles.xml +++ b/core/res/values/styles.xml @@ -1,16 +1,16 @@ @@ -96,14 +96,14 @@ @android:color/transparent - - - - + - + @@ -127,11 +127,11 @@ 2dip 2dip - + - + \ No newline at end of file diff --git a/core/res/values/styles_transdroid_dark.xml b/core/res/values/styles_transdroid_dark.xml index c8c04bb4..d4a3d677 100644 --- a/core/res/values/styles_transdroid_dark.xml +++ b/core/res/values/styles_transdroid_dark.xml @@ -6,9 +6,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -36,10 +36,10 @@ @drawable/ab_solid_transdroid - - + @@ -47,11 +47,11 @@ - + - + \ No newline at end of file diff --git a/core/res/values/styles_transdroid_light.xml b/core/res/values/styles_transdroid_light.xml index d45b464d..f4c218bc 100644 --- a/core/res/values/styles_transdroid_light.xml +++ b/core/res/values/styles_transdroid_light.xml @@ -7,9 +7,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -40,11 +40,11 @@ - - - + @@ -52,15 +52,15 @@ - + - + - + \ No newline at end of file diff --git a/core/res/xml/listwidget_info.xml b/core/res/xml/listwidget_info.xml index 27014dd5..1fbb9641 100644 --- a/core/res/xml/listwidget_info.xml +++ b/core/res/xml/listwidget_info.xml @@ -1,17 +1,17 @@ diff --git a/core/res/xml/pref_help.xml b/core/res/xml/pref_help.xml index 98e90289..e35ebeb7 100644 --- a/core/res/xml/pref_help.xml +++ b/core/res/xml/pref_help.xml @@ -1,22 +1,22 @@ - + - + - + diff --git a/core/res/xml/pref_main.xml b/core/res/xml/pref_main.xml index 584b1cab..4b51fcce 100644 --- a/core/res/xml/pref_main.xml +++ b/core/res/xml/pref_main.xml @@ -1,22 +1,22 @@ - + - + - + - + - + diff --git a/core/res/xml/pref_notifications.xml b/core/res/xml/pref_notifications.xml index 42be74a3..9433f602 100644 --- a/core/res/xml/pref_notifications.xml +++ b/core/res/xml/pref_notifications.xml @@ -1,34 +1,34 @@ - + - + - + - + - + - + - + diff --git a/core/res/xml/pref_rssfeed.xml b/core/res/xml/pref_rssfeed.xml index c1d1f5c3..41ebbe2d 100644 --- a/core/res/xml/pref_rssfeed.xml +++ b/core/res/xml/pref_rssfeed.xml @@ -1,37 +1,37 @@ - + - + - + - + diff --git a/core/res/xml/pref_seedbox_seedstuff.xml b/core/res/xml/pref_seedbox_seedstuff.xml index 84c0e150..8e4cf8ca 100644 --- a/core/res/xml/pref_seedbox_seedstuff.xml +++ b/core/res/xml/pref_seedbox_seedstuff.xml @@ -1,17 +1,17 @@ diff --git a/core/res/xml/pref_seedbox_xirvikdedi.xml b/core/res/xml/pref_seedbox_xirvikdedi.xml index eb70295d..a66bbb8a 100644 --- a/core/res/xml/pref_seedbox_xirvikdedi.xml +++ b/core/res/xml/pref_seedbox_xirvikdedi.xml @@ -1,17 +1,17 @@ diff --git a/core/res/xml/pref_seedbox_xirviksemi.xml b/core/res/xml/pref_seedbox_xirviksemi.xml index ec59651b..3f552ca4 100644 --- a/core/res/xml/pref_seedbox_xirviksemi.xml +++ b/core/res/xml/pref_seedbox_xirviksemi.xml @@ -1,17 +1,17 @@ diff --git a/core/res/xml/pref_seedbox_xirvikshared.xml b/core/res/xml/pref_seedbox_xirvikshared.xml index e935de89..9e6e0618 100644 --- a/core/res/xml/pref_seedbox_xirvikshared.xml +++ b/core/res/xml/pref_seedbox_xirvikshared.xml @@ -1,17 +1,17 @@ diff --git a/core/res/xml/pref_server.xml b/core/res/xml/pref_server.xml index c05416cf..a18c05c3 100644 --- a/core/res/xml/pref_server.xml +++ b/core/res/xml/pref_server.xml @@ -1,17 +1,17 @@ @@ -130,5 +130,5 @@ android:title="@string/pref_ftppass" android:inputType="textPassword" /> - + diff --git a/core/res/xml/pref_system.xml b/core/res/xml/pref_system.xml index 3afe05de..d74f6fbb 100644 --- a/core/res/xml/pref_system.xml +++ b/core/res/xml/pref_system.xml @@ -1,28 +1,28 @@ - + - + - + - + - + - + - + - + diff --git a/core/res/xml/pref_websearch.xml b/core/res/xml/pref_websearch.xml index 1d4341e2..a5c40841 100644 --- a/core/res/xml/pref_websearch.xml +++ b/core/res/xml/pref_websearch.xml @@ -1,38 +1,38 @@ - + - + - + - + diff --git a/core/res/xml/searchable.xml b/core/res/xml/searchable.xml index 52cc1559..229e955f 100644 --- a/core/res/xml/searchable.xml +++ b/core/res/xml/searchable.xml @@ -1,17 +1,17 @@ diff --git a/core/src/org/transdroid/core/app/search/GoogleWebSearchBarcodeResolver.java b/core/src/org/transdroid/core/app/search/GoogleWebSearchBarcodeResolver.java index 93ad08c0..87d1651c 100644 --- a/core/src/org/transdroid/core/app/search/GoogleWebSearchBarcodeResolver.java +++ b/core/src/org/transdroid/core/app/search/GoogleWebSearchBarcodeResolver.java @@ -1,19 +1,19 @@ /* * This file is part of Transdroid - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . - * + * */ package org.transdroid.core.app.search; @@ -34,9 +34,9 @@ import org.transdroid.daemon.util.HttpHelper; public class GoogleWebSearchBarcodeResolver { public static final String apiUrl = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=%s"; - + public static String resolveBarcode(String barcode) { - + try { // We use the Google AJAX Search API to get a JSON-formatted list of web search results String callUrl = apiUrl.replace("%s", barcode); @@ -46,7 +46,7 @@ public class GoogleWebSearchBarcodeResolver { InputStream instream = response.getEntity().getContent(); String result = HttpHelper.convertStreamToString(instream); JSONArray results = new JSONObject(result).getJSONObject("responseData").getJSONArray("results"); - + // We will combine and filter multiple results, if there are any if (results.length() < 1) { return null; @@ -55,47 +55,47 @@ public class GoogleWebSearchBarcodeResolver { } catch (Exception e) { return null; } - + } private static String stripGarbage(JSONArray results, String barcode) throws JSONException { - + String good = " abcdefghijklmnopqrstuvwxyz"; final int MAX_TITLE_CONSIDER = 4; final int MAX_MISSING = 1; final int MIN_TITLE_CONSIDER = 2; - + // First gather the titles for the first MAX_TITLE_CONSIDER results List titles = new ArrayList(); for (int i = 0; i < results.length() && i < MAX_TITLE_CONSIDER; i++) { - + String title = results.getJSONObject(i).getString("titleNoFormatting"); // Make string lowercase first title = title.toLowerCase(Locale.US); - + // Remove the barcode number if it's there title = title.replace(barcode, ""); - + // Remove unwanted words and HTML special chars for (String rem : new String[] { "dvd", "blu-ray", "bluray", "&", """, "'", "<", ">" }) { title = title.replace(rem, ""); } - + // Remove all non-alphanumeric (and space) characters String result = ""; for ( int j = 0; j < title.length(); j++ ) { if ( good.indexOf(title.charAt(j)) >= 0 ) result += title.charAt(j); } - + // Remove double spaces while (result.contains(" ")) { result = result.replace(" ", " "); } - + titles.add(result); - + } // Only retain the words that are missing in at most one of the search result titles @@ -127,14 +127,14 @@ public class GoogleWebSearchBarcodeResolver { remainingWords.add(word); } } - + // Now the query is the concatenation of the words remaining; with spaces in between String query = ""; for (String word : remainingWords) { query += " " + word; } return query.length() > 0? query.substring(1): null; - + } } diff --git a/core/src/org/transdroid/core/app/search/SearchHelper.java b/core/src/org/transdroid/core/app/search/SearchHelper.java index d8c2c53f..618e972a 100644 --- a/core/src/org/transdroid/core/app/search/SearchHelper.java +++ b/core/src/org/transdroid/core/app/search/SearchHelper.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/app/search/SearchResult.java b/core/src/org/transdroid/core/app/search/SearchResult.java index 69073a11..0cdfae46 100644 --- a/core/src/org/transdroid/core/app/search/SearchResult.java +++ b/core/src/org/transdroid/core/app/search/SearchResult.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/app/search/SearchSite.java b/core/src/org/transdroid/core/app/search/SearchSite.java index 95cd810a..99aaa9cd 100644 --- a/core/src/org/transdroid/core/app/search/SearchSite.java +++ b/core/src/org/transdroid/core/app/search/SearchSite.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -30,7 +30,7 @@ public class SearchSite implements SimpleListItem, SearchSetting { private final String name; private final String rssFeedUrl; private final boolean isPrivate; - + public SearchSite(int id, String key, String name, String rssFeedUrl, boolean isPrivate) { this.id = id; this.key = key; @@ -64,5 +64,5 @@ public class SearchSite implements SimpleListItem, SearchSetting { public boolean isPrivate() { return isPrivate; } - + } diff --git a/core/src/org/transdroid/core/app/settings/ApplicationSettings.java b/core/src/org/transdroid/core/app/settings/ApplicationSettings.java index d174040a..40e249f8 100644 --- a/core/src/org/transdroid/core/app/settings/ApplicationSettings.java +++ b/core/src/org/transdroid/core/app/settings/ApplicationSettings.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -162,29 +162,29 @@ public class ApplicationSettings { localPort = port; } - return new ServerSetting(order, - prefs.getString("server_name_" + order, null), - type, - prefs.getString("server_address_" + order, null), + return new ServerSetting(order, + prefs.getString("server_name_" + order, null), + type, + prefs.getString("server_address_" + order, null), prefs.getString("server_localaddress_" + order, null), Integer.parseInt(localPort), - prefs.getString("server_localnetwork_" + order, null), - Integer.parseInt(port), - ssl, - prefs.getBoolean("server_ssltrustall_" + order, false), + prefs.getString("server_localnetwork_" + order, null), + Integer.parseInt(port), + ssl, + prefs.getBoolean("server_ssltrustall_" + order, false), prefs.getString("server_ssltrustkey_" + order, null), prefs.getString("server_folder_" + order, null), - !prefs.getBoolean("server_disableauth_" + order, false), + !prefs.getBoolean("server_disableauth_" + order, false), prefs.getString("server_user_" + order, null), - prefs.getString("server_pass_" + order, null), + prefs.getString("server_pass_" + order, null), prefs.getString("server_extrapass_" + order, null), - OS.fromCode(prefs.getString("server_os_" + order, "type_linux")), - prefs.getString("server_downloaddir_" + order, null), - prefs.getString("server_ftpurl_" + order, null), - prefs.getString("server_ftppass_" + order, null), - Integer.parseInt(prefs.getString("server_timeout_" + order, "8")), - prefs.getBoolean("server_alarmfinished_" + order, true), - prefs.getBoolean("server_alarmnew_" + order, false), + OS.fromCode(prefs.getString("server_os_" + order, "type_linux")), + prefs.getString("server_downloaddir_" + order, null), + prefs.getString("server_ftpurl_" + order, null), + prefs.getString("server_ftppass_" + order, null), + Integer.parseInt(prefs.getString("server_timeout_" + order, "8")), + prefs.getBoolean("server_alarmfinished_" + order, true), + prefs.getBoolean("server_alarmnew_" + order, false), false); // @formatter:on } @@ -403,9 +403,9 @@ public class ApplicationSettings { */ public WebsearchSetting getWebsearchSetting(int order) { // @formatter:off - return new WebsearchSetting(order, - prefs.getString("websearch_name_" + order, null), - prefs.getString("websearch_baseurl_" + order, null), + return new WebsearchSetting(order, + prefs.getString("websearch_name_" + order, null), + prefs.getString("websearch_baseurl_" + order, null), prefs.getString("websearch_cookies_" + order, null)); // @formatter:on } @@ -467,10 +467,10 @@ public class ApplicationSettings { public RssfeedSetting getRssfeedSetting(int order) { // @formatter:off long lastViewed = prefs.getLong("rssfeed_lastviewed_" + order, -1); - return new RssfeedSetting(order, - prefs.getString("rssfeed_name_" + order, null), - prefs.getString("rssfeed_url_" + order, null), - prefs.getBoolean("rssfeed_reqauth_" + order, false), + return new RssfeedSetting(order, + prefs.getString("rssfeed_name_" + order, null), + prefs.getString("rssfeed_url_" + order, null), + prefs.getBoolean("rssfeed_reqauth_" + order, false), lastViewed == -1L ? null : new Date(lastViewed), prefs.getString("rssfeed_lastvieweditemurl_" + order, null)); // @formatter:on @@ -670,11 +670,11 @@ public class ApplicationSettings { return null; // @formatter:off return new ListWidgetConfig( - prefs.getInt("widget_server_" + appWidgetId, -1), - StatusType.valueOf(prefs.getString("widget_status_" + appWidgetId, StatusType.ShowAll.name())), - TorrentsSortBy.valueOf(prefs.getString("widget_sortby_" + appWidgetId, TorrentsSortBy.Alphanumeric.name())), - prefs.getBoolean("widget_reverse_" + appWidgetId, false), - prefs.getBoolean("widget_showstatus_" + appWidgetId, false), + prefs.getInt("widget_server_" + appWidgetId, -1), + StatusType.valueOf(prefs.getString("widget_status_" + appWidgetId, StatusType.ShowAll.name())), + TorrentsSortBy.valueOf(prefs.getString("widget_sortby_" + appWidgetId, TorrentsSortBy.Alphanumeric.name())), + prefs.getBoolean("widget_reverse_" + appWidgetId, false), + prefs.getBoolean("widget_showstatus_" + appWidgetId, false), prefs.getBoolean("widget_darktheme_" + appWidgetId, false)); // @formatter:on } diff --git a/core/src/org/transdroid/core/app/settings/NotificationSettings.java b/core/src/org/transdroid/core/app/settings/NotificationSettings.java index 2f2cfbbe..5be2ff91 100644 --- a/core/src/org/transdroid/core/app/settings/NotificationSettings.java +++ b/core/src/org/transdroid/core/app/settings/NotificationSettings.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -37,7 +37,7 @@ public class NotificationSettings { @RootContext protected Context context; private SharedPreferences prefs; - + protected NotificationSettings(Context context) { prefs = PreferenceManager.getDefaultSharedPreferences(context); } @@ -75,7 +75,7 @@ public class NotificationSettings { } /** - * Returns the sound (ring tone) to play on a new notification, or null if it should not play any + * Returns the sound (ring tone) to play on a new notification, or null if it should not play any * @return Either the user-specified sound, null if the user specified 'Silent' or the system default notification sound */ public Uri getSound() { @@ -103,7 +103,7 @@ public class NotificationSettings { public long[] getDefaultVibratePattern() { return new long[]{100, 100, 200, 300, 400, 700}; // Unique pattern? } - + private int getRawLedColour() { return prefs.getInt("notifications_ledcolour", -1); } diff --git a/core/src/org/transdroid/core/app/settings/RssfeedSetting.java b/core/src/org/transdroid/core/app/settings/RssfeedSetting.java index 4e61ebc7..39f98ab3 100644 --- a/core/src/org/transdroid/core/app/settings/RssfeedSetting.java +++ b/core/src/org/transdroid/core/app/settings/RssfeedSetting.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/app/settings/ServerSetting.java b/core/src/org/transdroid/core/app/settings/ServerSetting.java index fee29b07..ece367d5 100644 --- a/core/src/org/transdroid/core/app/settings/ServerSetting.java +++ b/core/src/org/transdroid/core/app/settings/ServerSetting.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/app/settings/SettingsPersistence.java b/core/src/org/transdroid/core/app/settings/SettingsPersistence.java index a57b1f72..8c52289d 100644 --- a/core/src/org/transdroid/core/app/settings/SettingsPersistence.java +++ b/core/src/org/transdroid/core/app/settings/SettingsPersistence.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -36,7 +36,7 @@ import android.os.Environment; /** * Singleton class that can persist user settings (servers, RSS feeds, etc.) to and from a plain text JSON file. - * + * * @author Eric Kok */ @EBean(scope = Scope.Singleton) diff --git a/core/src/org/transdroid/core/app/settings/SystemSettings.java b/core/src/org/transdroid/core/app/settings/SystemSettings.java index 0a4b1af7..4cc710a0 100644 --- a/core/src/org/transdroid/core/app/settings/SystemSettings.java +++ b/core/src/org/transdroid/core/app/settings/SystemSettings.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/app/settings/WebsearchSetting.java b/core/src/org/transdroid/core/app/settings/WebsearchSetting.java index 8115d822..bc7a38b3 100644 --- a/core/src/org/transdroid/core/app/settings/WebsearchSetting.java +++ b/core/src/org/transdroid/core/app/settings/WebsearchSetting.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -30,7 +30,7 @@ public class WebsearchSetting implements SimpleListItem, SearchSetting { private static final String DEFAULT_NAME = "Default"; public static final String KEY_PREFIX = "websearch_"; - + private final int order; private final String name; private final String baseUrl; @@ -57,7 +57,7 @@ public class WebsearchSetting implements SimpleListItem, SearchSetting { } return DEFAULT_NAME; } - + public String getBaseUrl() { return baseUrl; } @@ -65,7 +65,7 @@ public class WebsearchSetting implements SimpleListItem, SearchSetting { public String getCookies() { return cookies; } - + public String getKey() { return KEY_PREFIX + getOrder(); } @@ -77,5 +77,5 @@ public class WebsearchSetting implements SimpleListItem, SearchSetting { public String getHumanReadableIdentifier() { return Uri.parse(baseUrl).getHost(); } - + } diff --git a/core/src/org/transdroid/core/gui/DetailsActivity.java b/core/src/org/transdroid/core/gui/DetailsActivity.java index 65021523..700be410 100644 --- a/core/src/org/transdroid/core/gui/DetailsActivity.java +++ b/core/src/org/transdroid/core/gui/DetailsActivity.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/DetailsFragment.java b/core/src/org/transdroid/core/gui/DetailsFragment.java index e7af1e2a..99b64d5f 100644 --- a/core/src/org/transdroid/core/gui/DetailsFragment.java +++ b/core/src/org/transdroid/core/gui/DetailsFragment.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/FilterEntryDialog.java b/core/src/org/transdroid/core/gui/FilterEntryDialog.java index bab7419b..a41357c5 100644 --- a/core/src/org/transdroid/core/gui/FilterEntryDialog.java +++ b/core/src/org/transdroid/core/gui/FilterEntryDialog.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -29,7 +29,7 @@ import android.widget.EditText; public class FilterEntryDialog { /** - * Opens a dialog that allows entry of a filter string, which (on confirmation) will be used to filter the list of + * Opens a dialog that allows entry of a filter string, which (on confirmation) will be used to filter the list of * torrents. * @param activity The activity that opens (and owns) this dialog */ diff --git a/core/src/org/transdroid/core/gui/ServerStatusView.java b/core/src/org/transdroid/core/gui/ServerStatusView.java index 63817073..da20caad 100644 --- a/core/src/org/transdroid/core/gui/ServerStatusView.java +++ b/core/src/org/transdroid/core/gui/ServerStatusView.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -54,7 +54,7 @@ public class ServerStatusView extends RelativeLayout implements OnRatesPickedLis /** * Updates the statistics as shown in the action bar through this server status view. * @param torrents The most recently received list of torrents - * @param dormantAsInactive + * @param dormantAsInactive */ public void update(List torrents, boolean dormantAsInactive) { diff --git a/core/src/org/transdroid/core/gui/TorrentTasksExecutor.java b/core/src/org/transdroid/core/gui/TorrentTasksExecutor.java index 4d5f3b9f..dfce09fd 100644 --- a/core/src/org/transdroid/core/gui/TorrentTasksExecutor.java +++ b/core/src/org/transdroid/core/gui/TorrentTasksExecutor.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/TorrentsActivity.java b/core/src/org/transdroid/core/gui/TorrentsActivity.java index 3d6bd178..61e6d0a3 100644 --- a/core/src/org/transdroid/core/gui/TorrentsActivity.java +++ b/core/src/org/transdroid/core/gui/TorrentsActivity.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/TorrentsFragment.java b/core/src/org/transdroid/core/gui/TorrentsFragment.java index 11fdf3a9..2ebce4b4 100644 --- a/core/src/org/transdroid/core/gui/TorrentsFragment.java +++ b/core/src/org/transdroid/core/gui/TorrentsFragment.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/lists/DetailsAdapter.java b/core/src/org/transdroid/core/gui/lists/DetailsAdapter.java index f1145813..6749d04c 100644 --- a/core/src/org/transdroid/core/gui/lists/DetailsAdapter.java +++ b/core/src/org/transdroid/core/gui/lists/DetailsAdapter.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/lists/LocalTorrent.java b/core/src/org/transdroid/core/gui/lists/LocalTorrent.java index 6c958121..a334156f 100644 --- a/core/src/org/transdroid/core/gui/lists/LocalTorrent.java +++ b/core/src/org/transdroid/core/gui/lists/LocalTorrent.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/lists/MergeAdapter.java b/core/src/org/transdroid/core/gui/lists/MergeAdapter.java index 20bfc998..0588dc7c 100644 --- a/core/src/org/transdroid/core/gui/lists/MergeAdapter.java +++ b/core/src/org/transdroid/core/gui/lists/MergeAdapter.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/lists/NoProgressHeaderTransformer.java b/core/src/org/transdroid/core/gui/lists/NoProgressHeaderTransformer.java index 1758aab9..d49a2122 100644 --- a/core/src/org/transdroid/core/gui/lists/NoProgressHeaderTransformer.java +++ b/core/src/org/transdroid/core/gui/lists/NoProgressHeaderTransformer.java @@ -13,5 +13,5 @@ public class NoProgressHeaderTransformer extends DefaultHeaderTransformer { super.onViewCreated(activity, headerView); setProgressBarColor(activity.getResources().getColor(R.color.green)); } - + } diff --git a/core/src/org/transdroid/core/gui/lists/SimpleListItem.java b/core/src/org/transdroid/core/gui/lists/SimpleListItem.java index f5a57118..6f81f310 100644 --- a/core/src/org/transdroid/core/gui/lists/SimpleListItem.java +++ b/core/src/org/transdroid/core/gui/lists/SimpleListItem.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/lists/SimpleListItemAdapter.java b/core/src/org/transdroid/core/gui/lists/SimpleListItemAdapter.java index 7345fec9..d6d71696 100644 --- a/core/src/org/transdroid/core/gui/lists/SimpleListItemAdapter.java +++ b/core/src/org/transdroid/core/gui/lists/SimpleListItemAdapter.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -45,7 +45,7 @@ public class SimpleListItemAdapter extends BaseAdapter { } public void setAutoLinkMask(int autoLinkMask) { - this.autoLinkMask = autoLinkMask; + this.autoLinkMask = autoLinkMask; } @Override diff --git a/core/src/org/transdroid/core/gui/lists/SimpleListItemSpinnerAdapter.java b/core/src/org/transdroid/core/gui/lists/SimpleListItemSpinnerAdapter.java index 0d33e654..696d8f7c 100644 --- a/core/src/org/transdroid/core/gui/lists/SimpleListItemSpinnerAdapter.java +++ b/core/src/org/transdroid/core/gui/lists/SimpleListItemSpinnerAdapter.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -42,7 +42,7 @@ public class SimpleListItemSpinnerAdapter extends Arra super(context, android.R.layout.simple_spinner_item, objects); setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); } - + @Override public View getView(int position, View convertView, ViewGroup parent) { // This relies on the ArrayAdapter implementation and the used standard xml layouts that simply return a @@ -62,5 +62,5 @@ public class SimpleListItemSpinnerAdapter extends Arra text.setText(getItem(position).getName()); return text; } - + } diff --git a/core/src/org/transdroid/core/gui/lists/SimpleListItemView.java b/core/src/org/transdroid/core/gui/lists/SimpleListItemView.java index 9f632dff..b02cfda6 100644 --- a/core/src/org/transdroid/core/gui/lists/SimpleListItemView.java +++ b/core/src/org/transdroid/core/gui/lists/SimpleListItemView.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -32,7 +32,7 @@ public class SimpleListItemView extends FrameLayout { @ViewById protected TextView itemText; - + public SimpleListItemView(Context context) { super(context); } @@ -42,5 +42,5 @@ public class SimpleListItemView extends FrameLayout { if (autoLinkMask > 0) itemText.setAutoLinkMask(autoLinkMask); } - + } diff --git a/core/src/org/transdroid/core/gui/lists/SortByListItem.java b/core/src/org/transdroid/core/gui/lists/SortByListItem.java index 90e6110d..a9e221e3 100644 --- a/core/src/org/transdroid/core/gui/lists/SortByListItem.java +++ b/core/src/org/transdroid/core/gui/lists/SortByListItem.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -53,7 +53,7 @@ public class SortByListItem implements SimpleListItem { break; } } - + /** * Returns the contained represented sort order. * @return The sort by order as its enumeration value @@ -61,7 +61,7 @@ public class SortByListItem implements SimpleListItem { public TorrentsSortBy getSortBy() { return sortBy; } - + @Override public String getName() { return name; diff --git a/core/src/org/transdroid/core/gui/lists/TorrentDetailsView.java b/core/src/org/transdroid/core/gui/lists/TorrentDetailsView.java index a8e0a55c..214b110c 100644 --- a/core/src/org/transdroid/core/gui/lists/TorrentDetailsView.java +++ b/core/src/org/transdroid/core/gui/lists/TorrentDetailsView.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -81,7 +81,7 @@ public class TorrentDetailsView extends RelativeLayout { } else { dateaddedText.setVisibility(View.INVISIBLE); } - + statusLayout.setStatus(torrent.getStatusCode()); statusText.setText(getResources().getString(R.string.status_status, local.getProgressStatusEta(getResources()))); ratioText.setText(getResources().getString(R.string.status_ratio, local.getRatioString())); diff --git a/core/src/org/transdroid/core/gui/lists/TorrentFilePriorityLayout.java b/core/src/org/transdroid/core/gui/lists/TorrentFilePriorityLayout.java index c53ba957..cc6fcdc9 100644 --- a/core/src/org/transdroid/core/gui/lists/TorrentFilePriorityLayout.java +++ b/core/src/org/transdroid/core/gui/lists/TorrentFilePriorityLayout.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/lists/TorrentFileView.java b/core/src/org/transdroid/core/gui/lists/TorrentFileView.java index 17a91e42..227abde9 100644 --- a/core/src/org/transdroid/core/gui/lists/TorrentFileView.java +++ b/core/src/org/transdroid/core/gui/lists/TorrentFileView.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -32,7 +32,7 @@ public class TorrentFileView extends TorrentFilePriorityLayout { @ViewById protected TextView nameText, progressText, sizesText; - + public TorrentFileView(Context context) { super(context, null); } @@ -43,5 +43,5 @@ public class TorrentFileView extends TorrentFilePriorityLayout { progressText.setText(torrentFile.getProgressText()); setPriority(torrentFile.getPriority()); } - + } diff --git a/core/src/org/transdroid/core/gui/lists/TorrentProgressBar.java b/core/src/org/transdroid/core/gui/lists/TorrentProgressBar.java index 4347f679..c83d5ae6 100644 --- a/core/src/org/transdroid/core/gui/lists/TorrentProgressBar.java +++ b/core/src/org/transdroid/core/gui/lists/TorrentProgressBar.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -28,7 +28,7 @@ import android.view.View; /** * Draws a progress bar indicating the download progress as well as the torrent status. - * + * * @author Eric Kok */ public class TorrentProgressBar extends View { diff --git a/core/src/org/transdroid/core/gui/lists/TorrentStatusLayout.java b/core/src/org/transdroid/core/gui/lists/TorrentStatusLayout.java index ea2cfedd..12ba3b1b 100644 --- a/core/src/org/transdroid/core/gui/lists/TorrentStatusLayout.java +++ b/core/src/org/transdroid/core/gui/lists/TorrentStatusLayout.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/lists/TorrentView.java b/core/src/org/transdroid/core/gui/lists/TorrentView.java index a29d4c33..ae1343dd 100644 --- a/core/src/org/transdroid/core/gui/lists/TorrentView.java +++ b/core/src/org/transdroid/core/gui/lists/TorrentView.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/lists/TorrentsAdapter.java b/core/src/org/transdroid/core/gui/lists/TorrentsAdapter.java index c9b045d6..e3af00f0 100644 --- a/core/src/org/transdroid/core/gui/lists/TorrentsAdapter.java +++ b/core/src/org/transdroid/core/gui/lists/TorrentsAdapter.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -33,9 +33,9 @@ import android.widget.BaseAdapter; */ @EBean public class TorrentsAdapter extends BaseAdapter { - + private ArrayList torrents = null; - + @RootContext protected Context context; @@ -47,12 +47,12 @@ public class TorrentsAdapter extends BaseAdapter { this.torrents = newTorrents; notifyDataSetChanged(); } - + @Override public boolean hasStableIds() { return true; } - + @Override public int getCount() { if (torrents == null) diff --git a/core/src/org/transdroid/core/gui/lists/ViewHolderAdapter.java b/core/src/org/transdroid/core/gui/lists/ViewHolderAdapter.java index 4687b827..8de7c83f 100644 --- a/core/src/org/transdroid/core/gui/lists/ViewHolderAdapter.java +++ b/core/src/org/transdroid/core/gui/lists/ViewHolderAdapter.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/log/DatabaseHelper.java b/core/src/org/transdroid/core/gui/log/DatabaseHelper.java index 583b6cb4..b40be58c 100644 --- a/core/src/org/transdroid/core/gui/log/DatabaseHelper.java +++ b/core/src/org/transdroid/core/gui/log/DatabaseHelper.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/log/ErrorLogEntry.java b/core/src/org/transdroid/core/gui/log/ErrorLogEntry.java index a44d087b..d8d1cbac 100644 --- a/core/src/org/transdroid/core/gui/log/ErrorLogEntry.java +++ b/core/src/org/transdroid/core/gui/log/ErrorLogEntry.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/log/ErrorLogSender.java b/core/src/org/transdroid/core/gui/log/ErrorLogSender.java index 21274a85..59f31ccb 100644 --- a/core/src/org/transdroid/core/gui/log/ErrorLogSender.java +++ b/core/src/org/transdroid/core/gui/log/ErrorLogSender.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/log/Log.java b/core/src/org/transdroid/core/gui/log/Log.java index b71ce69d..41d624ac 100644 --- a/core/src/org/transdroid/core/gui/log/Log.java +++ b/core/src/org/transdroid/core/gui/log/Log.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -40,7 +40,7 @@ public class Log implements ITLogger { public static final String LOG_NAME = "Transdroid"; private static final long MAX_LOG_AGE = 15 * 60 * 1000; // 15 minutes - + // Access to resources and database in local singleton instance private Context context; @OrmLiteDao(helper = DatabaseHelper.class, model = ErrorLogEntry.class) @@ -51,7 +51,7 @@ public class Log implements ITLogger { protected Log(Context context) { this.context = context; } - + protected void log(String logName, int priority, String message) { if (navigationHelper.inDebugMode()) android.util.Log.println(priority, LOG_NAME, message); @@ -66,15 +66,15 @@ public class Log implements ITLogger { android.util.Log.e(LOG_NAME, "Cannot write log message to database: " + e.toString()); } } - + public static void e(Context caller, String message) { Log_.getInstance_(caller).log(caller.getClass().toString(), android.util.Log.ERROR, message); } - + public static void i(Context caller, String message) { Log_.getInstance_(caller).log(caller.getClass().toString(), android.util.Log.INFO, message); } - + public static void d(Context caller, String message) { Log_.getInstance_(caller).log(caller.getClass().toString(), android.util.Log.DEBUG, message); } diff --git a/core/src/org/transdroid/core/gui/navigation/DialogHelper.java b/core/src/org/transdroid/core/gui/navigation/DialogHelper.java index 9710e63d..7fd43829 100644 --- a/core/src/org/transdroid/core/gui/navigation/DialogHelper.java +++ b/core/src/org/transdroid/core/gui/navigation/DialogHelper.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -67,7 +67,7 @@ public class DialogHelper extends Activity { } return dialog.onMenuItemSelected(this, item.getItemId()); } - + /** * Call this from {@link Activity#onCreateDialog(int)}, supplying an instance of the {@link DialogSpecification} * that should be shown to the user. @@ -77,17 +77,17 @@ public class DialogHelper extends Activity { * will instead be opened as a full screen activity */ public static Dialog showDialog(Context context, DialogSpecification dialog) { - + // If the device is large (i.e. a tablet) then return a dialog to show if (!NavigationHelper_.getInstance_(context).isSmallScreen()) return new PopupDialog(context, dialog); - + // This is a small device; create a full screen dialog (which is just an activity) DialogHelper_.intent(context).dialog(dialog).start(); return null; - + } - + /** * A specific dialog that shows some layout (resource) as contents. It has no buttons or other chrome. */ @@ -98,10 +98,10 @@ public class DialogHelper extends Activity { setContentView(dialog.getDialogLayoutId()); } } - + /** - * Specification for some dialog that can be show to the user, consisting of a custom layout and possibly an action - * bar menu. Warning: the action bar, and thus the menu options, is only shown when the dialog is presented as full + * Specification for some dialog that can be show to the user, consisting of a custom layout and possibly an action + * bar menu. Warning: the action bar, and thus the menu options, is only shown when the dialog is presented as full * screen activity. Use only for unimportant actions. */ public interface DialogSpecification extends Serializable { @@ -109,5 +109,5 @@ public class DialogHelper extends Activity { int getDialogMenuId(); boolean onMenuItemSelected(Activity ownerActivity, int selectedItemId); } - + } diff --git a/core/src/org/transdroid/core/gui/navigation/FilterListAdapter.java b/core/src/org/transdroid/core/gui/navigation/FilterListAdapter.java index cb0b10b9..32ce8b10 100644 --- a/core/src/org/transdroid/core/gui/navigation/FilterListAdapter.java +++ b/core/src/org/transdroid/core/gui/navigation/FilterListAdapter.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/navigation/FilterListDropDownAdapter.java b/core/src/org/transdroid/core/gui/navigation/FilterListDropDownAdapter.java index 3a1b1c0e..c2f46051 100644 --- a/core/src/org/transdroid/core/gui/navigation/FilterListDropDownAdapter.java +++ b/core/src/org/transdroid/core/gui/navigation/FilterListDropDownAdapter.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -23,7 +23,7 @@ import android.view.View; import android.view.ViewGroup; /** - * List adapter that holds filter items, that is, servers, view types and labels and is displayed as content to a + * List adapter that holds filter items, that is, servers, view types and labels and is displayed as content to a * Spinner instead of a ListView. * @author Eric Kok */ @@ -43,7 +43,7 @@ public class FilterListDropDownAdapter extends FilterListAdapter { navigationSelectionView.bind(currentServer, currentFilter); return navigationSelectionView; } - + @Override public View getDropDownView(int position, View convertView, ViewGroup parent) { // This returns the item to show in the drop down list @@ -66,5 +66,5 @@ public class FilterListDropDownAdapter extends FilterListAdapter { serverSeparator.setViewVisibility(View.GONE); notifyDataSetInvalidated(); } - + } diff --git a/core/src/org/transdroid/core/gui/navigation/FilterListItemAdapter.java b/core/src/org/transdroid/core/gui/navigation/FilterListItemAdapter.java index c2fa40de..730e8030 100644 --- a/core/src/org/transdroid/core/gui/navigation/FilterListItemAdapter.java +++ b/core/src/org/transdroid/core/gui/navigation/FilterListItemAdapter.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ diff --git a/core/src/org/transdroid/core/gui/navigation/FilterListItemView.java b/core/src/org/transdroid/core/gui/navigation/FilterListItemView.java index dbca6b3d..01afac8d 100644 --- a/core/src/org/transdroid/core/gui/navigation/FilterListItemView.java +++ b/core/src/org/transdroid/core/gui/navigation/FilterListItemView.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -33,7 +33,7 @@ public class FilterListItemView extends FrameLayout { @ViewById protected TextView itemText; - + public FilterListItemView(Context context) { super(context); } @@ -41,5 +41,5 @@ public class FilterListItemView extends FrameLayout { public void bind(SimpleListItem filterItem) { itemText.setText(filterItem.getName()); } - + } diff --git a/core/src/org/transdroid/core/gui/navigation/FilterSeparatorView.java b/core/src/org/transdroid/core/gui/navigation/FilterSeparatorView.java index c98dfddf..d3782fe9 100644 --- a/core/src/org/transdroid/core/gui/navigation/FilterSeparatorView.java +++ b/core/src/org/transdroid/core/gui/navigation/FilterSeparatorView.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -32,10 +32,10 @@ import android.widget.TextView; public class FilterSeparatorView extends FrameLayout { protected String text; - + @ViewById protected TextView separatorText; - + public FilterSeparatorView(Context context) { super(context); } @@ -51,5 +51,5 @@ public class FilterSeparatorView extends FrameLayout { AbsListView.LayoutParams.WRAP_CONTENT)); return this; } - + } diff --git a/core/src/org/transdroid/core/gui/navigation/Label.java b/core/src/org/transdroid/core/gui/navigation/Label.java index aee80d3b..a4438d5a 100644 --- a/core/src/org/transdroid/core/gui/navigation/Label.java +++ b/core/src/org/transdroid/core/gui/navigation/Label.java @@ -1,16 +1,16 @@ -/* +/* * Copyright 2010-2013 Eric Kok et al. - * + * * Transdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Transdroid is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Transdroid. If not, see . */ @@ -44,7 +44,7 @@ public class Label implements SimpleListItem, NavigationFilter, Comparable