transmission/macosx
Daniel Kamil Kozar 77b11232f2
Add support for creating torrents with a source flag (#443)
* Add support for creating torrents with a source flag

* Add the source flag functionality for Mac OSX

* Source flag should be a part of the info dictionary

* Address review comments

* Rename "sourceFlag" to "source" since "Flag" is usually reserved for booleans.
* Free the "source" pointer in tr_metainfoFree.
* Add information about transmission-create argument to its manpage.

* Replace all occurences of "sourceFlag" with "source" and use "Source tag" in UI

* Settle on just "Source" in UI

* The last usage of "flag" hopefully bites the dust! ;-)

* Add a missing free for the source in tr_metainfoFree

* Add a "source" field to the torrent-get RPC method

* uncrustify

* Test for torrents having different infohashes due to different source flags.

This is the whole point of this feature, so it makes sense to test it.

* case is important

* try to incorporate the macosx xml changes
2021-10-18 18:05:39 -05:00
..
Images Update app icon from icns to pngs in the asset catalog 2021-03-29 22:07:55 -04:00
QuickLookPlugin Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
Sparkle.framework Update Sparkle to 1.24.0 2020-11-15 10:19:32 -05:00
TransmissionHelp Sonarcloud warnings 4 (#1499) 2020-11-02 09:16:12 -06:00
VDKQueue Modern Objective-C syntax (#509) 2021-08-07 10:27:56 +03:00
da.lproj Fix: issue #1940 (#1955) 2021-10-14 13:18:18 -05:00
de.lproj Fix: issue #1940 (#1955) 2021-10-14 13:18:18 -05:00
en.lproj Add support for creating torrents with a source flag (#443) 2021-10-18 18:05:39 -05:00
es.lproj Fix: issue #1940 (#1955) 2021-10-14 13:18:18 -05:00
fr.lproj Fix: issue #1940 (#1955) 2021-10-14 13:18:18 -05:00
it.lproj Fix: issue #1940 (#1955) 2021-10-14 13:18:18 -05:00
nl.lproj Fix: issue #1940 (#1955) 2021-10-14 13:18:18 -05:00
pt_PT.lproj Fix: issue #1940 (#1955) 2021-10-14 13:18:18 -05:00
ru.lproj fix: macOS gui with Russian l10n does not fit lines of text. (Fixes #1963) (#1973) 2021-10-17 13:45:25 -05:00
tr.lproj Fix: issue #1940 (#1955) 2021-10-14 13:18:18 -05:00
AboutWindow.xib Disable tabbing mode for all Mac client windows 2018-09-30 14:41:40 +03:00
AboutWindowController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
AboutWindowController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
AddMagnetWindowController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
AddMagnetWindowController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
AddWindowController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
AddWindowController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
BadgeView.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
BadgeView.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
Badger.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
Badger.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
BlocklistDownloader.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
BlocklistDownloader.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
BlocklistDownloaderViewController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
BlocklistDownloaderViewController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
BlocklistScheduler.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
BlocklistScheduler.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
BlocklistStatusWindow.xib Disable tabbing mode for all Mac client windows 2018-09-30 14:41:40 +03:00
BonjourController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
BonjourController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
ButtonToolbarItem.h
ButtonToolbarItem.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
CMakeLists.txt Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
ColorTextField.h
ColorTextField.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
Controller.h Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
Controller.mm refactor: use maybe unused attribute (#1918) 2021-10-10 11:52:26 -05:00
CreatorWindowController.h Add support for creating torrents with a source flag (#443) 2021-10-18 18:05:39 -05:00
CreatorWindowController.mm Add support for creating torrents with a source flag (#443) 2021-10-18 18:05:39 -05:00
Credits.rtf macOS icon redesigned for Big Sur 2021-03-29 18:05:30 -04:00
Defaults.plist Allow host whitelist control via plist on Mac 2018-01-17 00:46:54 +03:00
DragOverlayView.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
DragOverlayView.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
DragOverlayWindow.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
DragOverlayWindow.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
ExpandedPathToIconTransformer.h
ExpandedPathToIconTransformer.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
ExpandedPathToPathTransformer.h
ExpandedPathToPathTransformer.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
FileListNode.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
FileListNode.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
FileNameCell.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
FileNameCell.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
FileOutlineController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
FileOutlineController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
FileOutlineView.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
FileOutlineView.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
FilePriorityCell.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
FilePriorityCell.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
FileRenameSheetController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
FileRenameSheetController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
FileRenameSheetController.xib Disable tabbing mode for all Mac client windows 2018-09-30 14:41:40 +03:00
FilterBar.xib Dark mode support 2018-12-21 16:39:47 -05:00
FilterBarController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
FilterBarController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
FilterBarView.h Remove unused background gradient variables 2020-12-30 20:18:12 -05:00
FilterBarView.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
FilterButton.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
FilterButton.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
GlobalOptionsPopoverViewController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
GlobalOptionsPopoverViewController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
GroupToolbarItem.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
GroupToolbarItem.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
GroupsController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
GroupsController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
GroupsPrefsController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
GroupsPrefsController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
Info.plist Update app icon from icns to pngs in the asset catalog 2021-03-29 22:07:55 -04:00
Info.plist.in Bump copyright to 2020 2020-04-18 15:18:02 -04:00
InfoActivityViewController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
InfoActivityViewController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
InfoFileView.xib Update Xcode project format to 8.0 2017-02-05 11:52:39 +03:00
InfoFileViewController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
InfoFileViewController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
InfoGeneralViewController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
InfoGeneralViewController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
InfoOptionsViewController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
InfoOptionsViewController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
InfoPeersView.xib Update Xcode project format to 8.0 2017-02-05 11:52:39 +03:00
InfoPeersViewController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
InfoPeersViewController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
InfoTabButtonBack.h Dark mode support 2018-12-21 16:39:47 -05:00
InfoTabButtonBack.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
InfoTabButtonCell.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
InfoTabButtonCell.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
InfoTabMatrix.h Update the info tab on appearance change 2018-12-21 17:37:17 -05:00
InfoTabMatrix.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
InfoTextField.h
InfoTextField.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
InfoTrackersView.xib Update Xcode project format to 8.0 2017-02-05 11:52:39 +03:00
InfoTrackersViewController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
InfoTrackersViewController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
InfoViewController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
InfoWindow.xib Update the info tab on appearance change 2018-12-21 17:37:17 -05:00
InfoWindowController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
InfoWindowController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
MessageWindow.xib Fix: issue #1889, #1894, #1912, #1913 (#1923) 2021-10-13 11:04:10 -05:00
MessageWindowController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
MessageWindowController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
NSApplicationAdditions.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
NSApplicationAdditions.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
NSImageAdditions.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
NSImageAdditions.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
NSMutableArrayAdditions.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
NSMutableArrayAdditions.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
NSStringAdditions.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
NSStringAdditions.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
PeerProgressIndicatorCell.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
PeerProgressIndicatorCell.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
PeerTableView.h
PeerTableView.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
PiecesView.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
PiecesView.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
PortChecker.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
PortChecker.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
PredicateEditorRowTemplateAny.h
PredicateEditorRowTemplateAny.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
PrefsController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
PrefsController.mm refactor: add an enumeration of the script types (#1934) 2021-10-12 22:46:12 -05:00
PrefsWindow.h
PrefsWindow.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
ProgressGradients.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
ProgressGradients.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
ShareToolbarItem.h
ShareToolbarItem.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
ShareTorrentFileHelper.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
ShareTorrentFileHelper.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
StatsWindow.xib Disable tabbing mode for all Mac client windows 2018-09-30 14:41:40 +03:00
StatsWindowController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
StatsWindowController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
StatusBar.xib Update Xcode project format to 8.0 2017-02-05 11:52:39 +03:00
StatusBarController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
StatusBarController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
StatusBarView.h Remove unused background gradient variables 2020-12-30 20:18:12 -05:00
StatusBarView.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
ToolbarSegmentedCell.h
ToolbarSegmentedCell.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
Torrent.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
Torrent.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
TorrentCell.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
TorrentCell.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
TorrentGroup.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
TorrentGroup.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
TorrentTableView.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
TorrentTableView.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
TrackerCell.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
TrackerCell.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
TrackerNode.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
TrackerNode.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
TrackerTableView.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
TrackerTableView.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
Transmission.entitlements Enable hardened runtime 2018-12-21 20:15:46 -05:00
Transmission_Prefix.pch
URLSheetWindow.xib Disable tabbing mode for all Mac client windows 2018-09-30 14:41:40 +03:00
URLSheetWindowController.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
URLSheetWindowController.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
WebSeedTableView.h Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
WebSeedTableView.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
main.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
sparkle_dsa_pub.pem