1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-22 06:00:41 +00:00
transmission/qt
Mike Gelfand e8fcb025a0
fix: use user-preferred locale (#5444)
* Use user-preferred locale

Previous fix adding `L` format specifier was correct but only fixed half
of the problem, as C++ locale is set up to be "C" by default. GTK client
used to call `setlocale(LC_ALL, "")` to set up user-preferred locale
which only affected C functions and `std::locale` (used by libfmt) was
unaware of those changes.

Apply the fix to all the binaries since they're all doing some sort of
output to the user and calling libtransmission helpers, as well as using
libfmt directly.

* Improve libtransmission's json-test

Set the locale C++ way to avoid any sort of inconsistencies, and also
restore it to the old one once finished testing.

* Improve transmission-show test runner script

Quote outputs to avoid CMake error about `message()` being called with
no arguments. Capture stderr to the same output file. Fallback to `git
diff` if `diff` wasn't found. A few other minor changes.
2023-04-27 09:10:33 -05:00
..
icons refactor: use svg icons in GTK client (#3395) 2022-07-03 17:14:13 -05:00
translations Sync translations (#5391) 2023-04-14 03:00:44 +01:00
.clang-tidy chore: re-enable qt clang tidy warnings (#3791) 2022-09-08 18:26:18 -05:00
AboutDialog.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
AboutDialog.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
AboutDialog.ui
AddData.cc refactor: snake_case in libtransmission class methods (#5428) 2023-04-22 20:25:55 -05:00
AddData.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Application.cc fix: use user-preferred locale (#5444) 2023-04-27 09:10:33 -05:00
Application.h feat: add generic favicon_cache class for reuse between Qt, GTK app (#5294) 2023-04-22 21:11:16 -05:00
application.qrc update the qt client's icons to svg (#3377) 2022-07-02 20:42:43 -05:00
BaseDialog.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
CMakeLists.txt feat: add generic favicon_cache class for reuse between Qt, GTK app (#5294) 2023-04-22 21:11:16 -05:00
ColumnResizer.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
ColumnResizer.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
ComInteropHelper.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
ComInteropHelper.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
CustomVariantType.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
DBusInteropHelper.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
DBusInteropHelper.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
DetailsDialog.cc fix: minor warnings (#5409) 2023-04-17 23:11:09 -05:00
DetailsDialog.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
DetailsDialog.ui fix: make torrent speed limit order consistent in prefs, details dialogs (#4677) 2023-01-26 22:11:35 -06:00
FaviconCache.cc feat: add generic favicon_cache class for reuse between Qt, GTK app (#5294) 2023-04-22 21:11:16 -05:00
FileTreeDelegate.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FileTreeDelegate.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FileTreeItem.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FileTreeItem.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FileTreeModel.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FileTreeModel.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FileTreeView.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FileTreeView.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FilterBar.cc feat: add generic favicon_cache class for reuse between Qt, GTK app (#5294) 2023-04-22 21:11:16 -05:00
FilterBar.h feat: add generic favicon_cache class for reuse between Qt, GTK app (#5294) 2023-04-22 21:11:16 -05:00
FilterBarComboBox.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FilterBarComboBox.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FilterBarComboBoxDelegate.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FilterBarComboBoxDelegate.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Filters.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Filters.h fix: minor warnings (#5409) 2023-04-17 23:11:09 -05:00
Formatter.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Formatter.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FreeSpaceLabel.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FreeSpaceLabel.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
IconCache.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
IconCache.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
IconToolButton.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
IconToolButton.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
InteropHelper.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
InteropHelper.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
InteropObject.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
InteropObject.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
LicenseDialog.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
LicenseDialog.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
LicenseDialog.ui Update Copyright Year to 2022. (#3352) 2022-06-28 09:07:12 -05:00
MainWindow.cc fix: 4981 open folder should open selected folder (#5115) 2023-03-01 15:57:23 -06:00
MainWindow.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
MainWindow.ui Sync translations (#3939) 2022-10-11 18:39:41 +03:00
MakeDialog.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
MakeDialog.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
MakeDialog.ui Qt: Allow piece size selection on torrent creation (#3768) 2022-09-06 10:17:47 -05:00
MakeProgressDialog.ui
my-valgrind.sh
OptionsDialog.cc refactor: snake_case in libtransmission class methods (#5428) 2023-04-22 20:25:55 -05:00
OptionsDialog.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
OptionsDialog.ui
PathButton.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
PathButton.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Prefs.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Prefs.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
PrefsDialog.cc fix: minor warnings (#5409) 2023-04-17 23:11:09 -05:00
PrefsDialog.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
PrefsDialog.ui Sync translations (#3939) 2022-10-11 18:39:41 +03:00
qtr.ico MacOS Transmission icons for QT (#3128) 2022-05-24 21:18:08 -05:00
qtr.rc
README.txt OS X → macOS (#2986) 2022-04-26 09:11:44 -05:00
RelocateDialog.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
RelocateDialog.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
RelocateDialog.ui
RpcClient.cc chore: prefer fmt/core.h over fmt/format.h (#5404) 2023-04-16 15:34:19 -05:00
RpcClient.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
RpcQueue.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
RpcQueue.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Session.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Session.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
SessionDialog.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
SessionDialog.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
SessionDialog.ui
Speed.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
SqueezeLabel.cc chore: re-enable qt clang tidy warnings (#3791) 2022-09-08 18:26:18 -05:00
SqueezeLabel.h
StatsDialog.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
StatsDialog.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
StatsDialog.ui
StyleHelper.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
StyleHelper.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Torrent.cc feat: add generic favicon_cache class for reuse between Qt, GTK app (#5294) 2023-04-22 21:11:16 -05:00
Torrent.h feat: add generic favicon_cache class for reuse between Qt, GTK app (#5294) 2023-04-22 21:11:16 -05:00
TorrentDelegate.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
TorrentDelegate.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
TorrentDelegateMin.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
TorrentDelegateMin.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
TorrentFilter.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
TorrentFilter.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
TorrentModel.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
TorrentModel.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
TorrentView.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
TorrentView.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
TrackerDelegate.cc feat: add generic favicon_cache class for reuse between Qt, GTK app (#5294) 2023-04-22 21:11:16 -05:00
TrackerDelegate.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
TrackerModel.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
TrackerModel.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
TrackerModelFilter.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
TrackerModelFilter.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
TrackersDialog.ui refactor: Qt, GTK, web client UI consistency 2022-02-21 08:34:59 -06:00
transmission-qt.1 update documentation links (#2985) 2022-04-25 18:18:35 -05:00
transmission-qt.desktop
transmission-qt.idl
transmission-qt.tlb.rc
transmission_en.qm
Typedefs.h refactor: use tr_torrent_id_t (#3314) 2022-06-17 10:43:04 -05:00
Utils.cc feat: add more complex formatting to a spinbox (#5124) 2023-04-14 13:38:56 -05:00
Utils.h feat: add more complex formatting to a spinbox (#5124) 2023-04-14 13:38:56 -05:00
VariantHelpers.cc feat: add generic favicon_cache class for reuse between Qt, GTK app (#5294) 2023-04-22 21:11:16 -05:00
VariantHelpers.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
WatchDir.cc refactor: snake_case in libtransmission class methods (#5428) 2023-04-22 20:25:55 -05:00
WatchDir.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00

VOLUNTEERS WANTED

   - Qt developers and translators are needed
   - If you find a bug, please report it at https://github.com/transmission/transmission

ABOUT TRANSMISSION-QT

   Transmission-qt is a GUI for Transmission loosely based on the GTK+ client.

   This is the only Transmission client that can act as its own self-contained
   session (as the GTK+ and Mac clients do), and can also connect to a remote
   session (as the web client and transmission-remote terminal client do).

   Use Case 1: If you like to run BitTorrent for awhile from your desktop,
   then the Mac, GTK+, and Qt clients are a good match.

   Use Case 2: If you like to leave BitTorrent running nonstop on your
   computer or router, and want to control it from your desktop or
   from a remote site, then transmission-remote and the web and Qt clients
   are a good match.

   To use the Qt client as a remote, in the menu go to Edit > Change Session

   The Qt client is also the most likely to wind up running on Windows,
   though that's not a high priority at the moment...

BUILDING ON WINDOWS

   rb07 has a writeup of this on the Transmission wiki:
   https://trac.transmissionbt.com/wiki/BuildingTransmissionQtWindows

BUILDING ON MACOS

   nnc has a writeup of this on the Transmission wiki:
   https://trac.transmissionbt.com/wiki/BuildingTransmissionQtMac

BUILDING ON UNIX

   1. Prerequisites: Qt >= 4.8 and its development packages
   2. Build Transmission as normal
   3. In the qt/ directory, type "qmake qtr.pro" (or "qmake-qt4 qtr.pro", or "qmake-qt5 qtr.pro")
   4. In the qt/ directory, type "make"
   5. In the qt/ directory, as root, type "INSTALL_ROOT=/usr make install"
      (Feel free to replace /usr with /usr/local or /opt or whatever)