transmission/gtk
Mike Gelfand 411b66cf88 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:11:06 -05:00
..
icons refactor(gtk): use symbolic icons in status bar (#3655) 2022-08-18 11:15:27 -05:00
screenshots
ui fix: in prefs, reduce tracker list height to fit on small displays 2023-04-09 22:08:35 -05:00
.clang-format Move GTK compatibility definitions into a separate header (#4493) 2022-12-29 02:42:20 +00:00
.clang-tidy Fix issues reported by `hicpp` clang-tidy checks (GTK client) (#4711) 2023-02-03 16:12:48 +00:00
Actions.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Actions.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Application.cc fix: restore accidentally-deleted copyright notice (#5372) 2023-04-12 13:03:00 -05:00
Application.h fix: split current and initially requested minimized state (#5175) 2023-03-07 21:07:23 -06:00
CMakeLists.txt fixup: address 5258 code review (#5295) 2023-03-27 11:04:10 -05:00
DetailsDialog.cc fix: awkward grammar in details dialog running-time display (#4898) 2023-02-15 06:19:57 -06:00
DetailsDialog.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Dialogs.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Dialogs.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FaviconCache.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FaviconCache.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FileList.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FileList.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FilterBar.cc Fix torrents count label update (#4694) 2023-01-30 23:25:23 +00:00
FilterBar.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FilterBase.h Fix clang-tidy issues stemming from header files (GTK client) (#4623) 2023-01-21 12:06:20 +00:00
FilterBase.hh Refactor sorting and filtering compatibility code (GTK client) (#4558) 2023-01-08 15:31:03 +00:00
FilterListModel.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
FilterListModel.hh chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Flags.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
GtkCompat.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
HigWorkarea.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
IconCache.cc Move GTK compatibility definitions into a separate header (#4493) 2022-12-29 02:42:20 +00:00
IconCache.h Include individual headers (GTK client) (#4477) 2022-12-27 01:43:20 +00:00
ListModelAdapter.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
ListModelAdapter.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
MainWindow.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
MainWindow.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
MakeDialog.cc fix: handle DELETE_EVENT in create-torrent GTK dialog code (#5180) 2023-03-09 15:01:22 -06:00
MakeDialog.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
MessageLogWindow.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
MessageLogWindow.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Notify.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Notify.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
OptionsDialog.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
OptionsDialog.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
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
Percents.cc Store percents as integer, with 2 digits of precision (#4933) 2023-02-18 01:14:01 +00:00
Percents.h Store percents as integer, with 2 digits of precision (#4933) 2023-02-18 01:14:01 +00: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 chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
PrefsDialog.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06: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
Session.cc fix: minor warnings (#5409) 2023-04-20 14:16:09 -05:00
Session.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
SortListModel.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
SortListModel.hh chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
SorterBase.h Fix clang-tidy issues stemming from header files (GTK client) (#4623) 2023-01-21 12:06:20 +00:00
SorterBase.hh Refactor sorting and filtering compatibility code (GTK client) (#4558) 2023-01-08 15:31:03 +00:00
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
SystemTrayIcon.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
SystemTrayIcon.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Torrent.cc Store percents as integer, with 2 digits of precision (#4933) 2023-02-18 01:14:01 +00:00
Torrent.h Store percents as integer, with 2 digits of precision (#4933) 2023-02-18 01:14:01 +00:00
TorrentCellRenderer.cc Store percents as integer, with 2 digits of precision (#4933) 2023-02-18 01:14:01 +00:00
TorrentCellRenderer.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
TorrentFilter.cc Refactor sorting and filtering compatibility code (GTK client) (#4558) 2023-01-08 15:31:03 +00:00
TorrentFilter.h Refactor sorting and filtering compatibility code (GTK client) (#4558) 2023-01-08 15:31:03 +00:00
TorrentSorter.cc Store percents as integer, with 2 digits of precision (#4933) 2023-02-18 01:14:01 +00:00
TorrentSorter.h Refactor sorting and filtering compatibility code (GTK client) (#4558) 2023-01-08 15:31:03 +00:00
Utils.cc Only show/hide top-level windows on systray action (#4939) 2023-02-18 16:09:35 +00:00
Utils.h Store percents as integer, with 2 digits of precision (#4933) 2023-02-18 01:14:01 +00:00
main.cc fix: use user-preferred locale (#5444) 2023-04-27 09:11:06 -05:00
my-valgrind.sh
transmission-gtk.1 chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
transmission-gtk.desktop.in
transmission-gtk.metainfo.xml.in Body text changes (#3431) 2022-07-10 23:16:35 -05:00
transmission-ui.css Add support for GTK 4 (#3916) 2022-10-09 01:50:03 +03:00
transmission-ui.xml Switch to Gtk::Builder for all UI in GTK client (#3781) 2022-09-08 01:25:04 +03:00
transmission.gresource.xml Add support for GTK 4 (#3916) 2022-10-09 01:50:03 +03:00
transmission.rc