Commit Graph

51 Commits

Author SHA1 Message Date
Mike Gelfand d96ef13a89 Define QT_NO_CAST_FROM_ASCII (Qt client)
Use latin1 encoding most of the time where default encoding was used
before. Qt 4 assumes latin1 by default while Qt 5 uses utf-8 which is
not what we want.

Use utf-8 encoding in some places where default encoding was used before.
This includes strings coming from RPC.

Fix an issue with SortMode::names[] (filters.cc) where missing comma
between "sort-by-queue" and "sort-by-ratio" resulted in two array entries
being merged into solid "sort-by-queuesort-by-ratio" string and all the
following items being shifted compared to their enum counterparts.
2015-01-29 21:53:05 +00:00
Mike Gelfand 9866082907 Poke translations a bit (Qt client)
Add a bit more comments. Adjust some phrases for pluralization.
Mark menu shortcuts as not translatable (changing them doesn't do any
good but people start translating "Ctrl" as "Ktrl" etc. which breaks
the shortcuts).
Pull current translations from Transifex.
2015-01-18 02:09:44 +00:00
Mike Gelfand efc04fdd77 Improve overall look of torrents in main window
Refactor and use the same code to calculate element positions in
sizeHint () and paint () to prevent discrepancies.
While we are at it, properly support RTL layout.
2015-01-17 16:59:42 +00:00
Mike Gelfand 3c73d74cbb Fallback to message box warning icon if emblem-important is not provided by the icon theme 2015-01-17 13:49:02 +00:00
Mike Gelfand 9eea4ada83 Improve the look of torrents with errors a bit (Qt client)
Display emblem over mime icon if torrent has error(s) to indicate the
issue.
Use normal text color instead of red when drawing selected item: there
is no easy way to be sure that red color looks nice on selection
background, and most of the time it doesn't. Using red color for non-
selected items is questionable too, but let's leave it at that for now.
2015-01-17 01:23:51 +00:00
Mike Gelfand 17d6666b4c A bit of harmless refactoring
Prefer C++-style over C-style type casting.
Use qApp instead of QApplication/QCoreApplication::instance().
Use explicit QString::fromLatin1()/fromUtf8() where applicable.
2014-12-27 14:07:14 +00:00
Mike Gelfand 629281a1e2 Fix license wording in Qt client .cc files to match the rest of the code. 2014-12-21 23:49:39 +00:00
Mike Gelfand 67dc1c8485 Strip spaces around :: in C++ code (Qt client) 2014-12-12 23:05:10 +00:00
Jordan Lee 4b9626bb83 Licensing changes:
1. add the option the code to be used under GPLv2 or GPLv3; previously only GPLv2 was allowed

2. add the "proxy option" as described in GPLv3 so we can add future licenses without having to bulk-edit everything again :)

3. remove the awkward "exception for MIT code in Mac client" clause; it was unnecessary and confusing.
2014-01-19 01:09:44 +00:00
Jordan Lee 4904b923fb (trunk) restore copyright year as suggested in email by rms 2014-01-18 20:56:57 +00:00
Jordan Lee da317c441d copyediting: indentation cleanups 2013-09-14 22:45:04 +00:00
Jordan Lee 3cf26eb273 revert quint64/quint32/qint64/qint32 use to inttypes to match libtransmission's API 2013-08-29 00:37:37 +00:00
Jordan Lee f3d35b0da3 instead of inttypes, use Qt integral types -- eg, s/uint64_t/quint64/ 2013-08-24 19:42:51 +00:00
Jordan Lee 303353e55a (qt) #5278 'Something strange with the color of progress bars' -- patch by rb07 2013-02-14 23:32:37 +00:00
Jordan Lee 47f2192b2d (qt) in the statusbar, use the same upload/download symbols as in the torrent list 2013-02-05 23:05:26 +00:00
Jordan Lee 20fe66bccf more experimentation with the shortTransferString 2013-01-30 00:22:52 +00:00
Jordan Lee 1d3bf93618 synchronize the Qt and GTK+ client's statusbars, including the new freespace indicator. Make the up/down speed ordering consistent between statusbar and torrent list. 2013-01-27 23:05:47 +00:00
Jordan Lee 7219f26dae (trunk, T) #5072 "In the torrent list, show how many web seeds we're downloading from" -- made the Qt, GTK+, and web client text consistent 2012-10-07 17:51:56 +00:00
Jordan Lee 018fe4c4a9 (trunk qt) #4389 "share ratio progressbar indication counter-intuitive" -- apply rb07's 'color-progress-bar.patch' to to add color to the progress bar, similar to the Mac and Web client. It also restores seed bar to normal filling, not reverse or emptying. 2012-03-04 13:15:43 +00:00
Jordan Lee 84afa05662 (trunk) Roll back the right-to-left progressbar behavior added in #4281 -- it confused too many people. 2011-09-01 22:49:35 +00:00
Jordan Lee 5b53b62773 (trunk qt) #4428 "Conversion to QString in "New torrent" dialog assumes the input string is ASCII" -- fix many ascii-to-QString assumptions in the code. 2011-08-20 05:19:27 +00:00
Jordan Lee 7554955eb8 queuing: fix false "Error" message reported by rb07 2011-08-08 16:38:22 +00:00
Jordan Lee 2e9d419bd4 #671 "torrent queuing" -- add a tr_stat.isStalled flag. 2011-08-01 23:27:11 +00:00
Jordan Lee c1d5b4a7e6 (trunk, GTK+/Qt) #4281 "Visualize seed progress like the web client does" -- done, with a modified patch & suggestion from mag 2011-05-28 00:09:15 +00:00
Daniel Lee fb76d9dc59 (qt) missing colon in progresString 2010-09-08 01:09:52 +00:00
Charles Kerr cba88707f9 (trunk qt) minor cleanup in the delegate code 2010-08-02 18:31:27 +00:00
Charles Kerr 1477c8909f (trunk qt) synchronize the copyright notices 2010-08-01 20:36:13 +00:00
Charles Kerr f63d475d13 (trunk qt) minor code simplification 2010-07-30 22:24:48 +00:00
Charles Kerr 12feea7c42 (trunk qt) use the unicode up/down arrows as in the GTK+ client 2010-07-24 23:51:02 +00:00
Charles Kerr bb92d05860 (trunk) rename the Qt client's "Units" class as "Formatter" 2010-07-03 01:10:36 +00:00
Charles Kerr cdcc4705aa (trunk) #3045 "make libtransmission's API byte-oriented instead of KiB-oriented." -- implemented. This is a largish commit and will break the mac build for a little while. 2010-07-03 00:25:22 +00:00
Daniel Lee bbe9e9843a #3298:Prettier formating of percentages 2010-06-22 22:30:58 +00:00
Daniel Lee d3c4c1ec16 (qt) fix oversight in r10771 2010-06-16 06:34:45 +00:00
Daniel Lee 0bc8314809 (qt) #3277: Crash after getting magnet torrent metadata 2010-06-16 03:02:17 +00:00
Daniel Lee 6963f3dc93 (qt) fix partial seeds showing 100% downloaded 2010-05-31 15:30:44 +00:00
Charles Kerr 1efe08d34d (trunk) #1869 "New status for torrents that reached the seed ratio" -- implemented for GTK+, Qt, and transmission-remote by Longinus00's patch 2010-04-06 02:34:45 +00:00
Charles Kerr 4ddb13df77 (trunk qt) #3112 "Partial Seed display shows incorrect filesize" -- fixed in trunk for 2.00 with a patch from Longinus00 2010-04-03 14:04:45 +00:00
Charles Kerr b075381f64 (trunk, qt) #3094 "reopened Enhancement" -- fix r10433 typo 2010-04-01 21:55:26 +00:00
Charles Kerr 0706901e78 (trunk gtk,qt) #3094 "Show ratio goal for partial seeds" -- implemented in trunk for 2.00, based off Longinus00's patch 2010-04-01 06:08:20 +00:00
Charles Kerr b5a50de610 (trunk qt) #3095 "Don't show remaining time for paused torrents" -- fixed in trunk for 2.00 by a patch from Longinus00 2010-03-31 19:42:30 +00:00
Charles Kerr 182cbb8b90 (trunk) one of the less-interesting commits in a while: remove trailing spaces from lines 2010-01-05 23:47:50 +00:00
Charles Kerr 5c26afdb52 happy new year! 2010-01-04 21:00:47 +00:00
Charles Kerr 78ead8c3dd (trunk) update the copyright notices 2009-12-05 02:19:24 +00:00
Charles Kerr 299f3d1906 (trunk, qt) #2096: show magnet links the same way the gtk+ client does 2009-12-04 05:05:19 +00:00
Charles Kerr 4e18bc9734 (trunk qt) minor cleanup 2009-10-06 00:27:26 +00:00
Charles Kerr 79fb45c110 (trunk qt) add svn properties on the qt source files 2009-05-31 19:33:48 +00:00
Charles Kerr 222295758a (trunk qt) more progressbar improvements from kjg 2009-05-04 18:22:18 +00:00
Charles Kerr 75a115e2f8 (trunk qt) progressbar patch from kjg 2009-05-04 16:38:07 +00:00
Charles Kerr 363da76680 (trunk qt) progressbar state/small improvements from kjg 2009-05-04 04:04:43 +00:00
Charles Kerr f6672e8911 (trunk qt,gtk) include torrents-being-verified in the "active torrents" filter. 2009-04-09 22:42:55 +00:00