Commit Graph

54 Commits

Author SHA1 Message Date
Mike Gelfand 07912d230b Use PascalCase for Qt client filenames
Split FileTree.{h,cc} and FilterBar.{h,cc} files so that each class
is in its own file.

This breaks translations (some classes got renamed => context changed),
to be fixed by next commit (along with Tx sync).
2015-06-10 21:27:11 +00:00
Mike Gelfand 9e66e5c443 Pass constant Prefs, TorrentFilter, TorrentModel objects where no modification is needed 2015-01-29 22:44:43 +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 fed15dc29d Fix a couple of ordinary and pedantic warnings
Add previously missing -Wall to warning flags in CMake. Remove -Wformat
and -Wvariadic-macros (enabled by default; latter is not meaningful in
C99 mode we use), -Wdeclaration-after-statement (again, not needed as
we use C99). Move -Wmissing-declarations to C-only flags (GCC man says
so).

Add copyrights year to crypto-utils-fallback.c.
2014-12-11 05:11:02 +00:00
Jordan Lee 02cff80c2d Copyedit the license's revised text: (1) remove unnecessary repitition use of the word 'license' from the top of the header and source files (2) add the standard 'we hope it's useful, but no warranty' clause to COPYING (3) make explicit that linking OpenSSL is allowed (see https://people.gnome.org/~markmc/openssl-and-the-gpl.html for background) (4) sync the Qt and GTK+ clients' license popups with COPYING's revised text 2014-01-21 03:10:30 +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 e0e98cbed5 fix CL warnings in the Qt code. mikedld 2013-09-08 18:39:37 +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 e0cb88af45 no need for a semicolon after the closing brace in a C++ 'extern' block 2013-08-24 19:26:21 +00:00
Jordan Lee ea6228d81b (qt) #5252: disable file editing in the options dialog. remove keyboard shortcuts that conflicted with renaming files in file-tree.c. fix refresh issue in the file-tree when renaming files. 2013-01-28 07:01:58 +00:00
Jordan Lee 04e1463b00 (qt) remove unused Torrent field 'torrentFile' 2013-01-28 02:12:07 +00:00
Jordan Lee dd955b121e (trunk) #1220 'change top folder names' -- add file-renaming to the Qt client 2013-01-20 01:31:58 +00:00
Jordan Lee 996670c4f2 rearrange the class' fields by size, saving a few bytes off each Peer and TrackerStat struct. 2012-12-30 05:53:12 +00:00
Jordan Lee 500fc6c99b (qt) New method: Torrent.hosts(). The list is derived from the announce URLs in Torrent.trackers(). By remembering this in Torrent, the filterbar won't have to keep recomputing it. 2012-12-29 23:40:59 +00:00
Jordan Lee c1559f3cc4 (trunk, libT) first drop of the tr_quark patch. 2012-12-22 20:35:19 +00:00
Jordan Lee e96ed247fe refactor libtransmission's tr_benc class as tr_variant. 2012-12-14 04:34:42 +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 307754e807 #671 "torrent queuing" -- modify the queue implementation s.t. every torrent has a queuePosition, even if it's not currently in the queue. 2011-08-02 03:59:54 +00:00
Jordan Lee 2e9d419bd4 #671 "torrent queuing" -- add a tr_stat.isStalled flag. 2011-08-01 23:27:11 +00:00
Jordan Lee 61174b007e (trunk) #671 "torrent queuing" -- Preliminary implementation. Covers libtransmission; GTK+ and Qt clients, and rudimentary web client support. 2011-08-01 22:24:24 +00:00
Jordan Lee 0b2247cc7b (trunk qt) add popup notification for when torrents finish downloading. 2011-07-26 02:56:30 +00:00
Charles Kerr d216d435a2 (trunk gtk, qt) #3770 "GTK and Qt clients should sort-by-progress as the Mac client does" -- fixed. 2010-12-01 05:41:58 +00:00
Charles Kerr c86b87a511 (trunk) revert the RPC behavior of rateUpload, rateDownload, rateToClient, and rateToPeer as discussed with Longinus00 2010-09-03 04:30:43 +00:00
Charles Kerr 1477c8909f (trunk qt) synchronize the copyright notices 2010-08-01 20:36:13 +00:00
Daniel Lee ff23406f38 (trunk) #3471:Add 'finished' to filterbar 2010-08-01 17:43:35 +00:00
Charles Kerr 040bc734f8 (trunk) fix a documentation error in the RPC spec. lastAnnounceResult is a string, not an int 2010-08-01 14:51:28 +00:00
Charles Kerr e41281a997 (trunk qt) #3459 "Qt client's filterbar should be updated to match the GTK+ client's" -- fixed 2010-07-30 22:31:31 +00:00
Charles Kerr 914af1c9f8 (trunk Qt) sync the "trackers" tab with the GTK+ client and more. 2010-07-27 19:43:32 +00:00
Charles Kerr 6692699072 (trunk qt) #2560 "idle seeding time limit" -- Qt support 2010-07-24 04:14:43 +00:00
Charles Kerr 6e5af03d78 (trunk) #3045 "speed units" -- change the public API of libtransmission based on feedback from livings 2010-07-04 06:07:21 +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 f22eac4709 (qt) #3286:Use flagStr in the status field of the peer list 2010-06-26 17:48:27 +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 d8b4779188 (trunk qt) #3098 "tracker display broken in qt client" -- fixed in trunk for 2.00 by Longinus00's patch 2010-04-03 14:23:29 +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 803225bf10 (trunk GTK+, Qt) #2645 "add torrent availability to Properties->Information" -- added for 1.90 2010-02-02 05:34:26 +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 bc25b7591e (trunk Qt) #2096 "magnet links" -- fix crashes when displaying magnet links in Qt client 2009-12-03 17:23:53 +00:00
Mitchell Livingston be85dc0fac a couple of more swarm speed removals 2009-11-22 01:12:44 +00:00
Charles Kerr 4a09a1de13 (trunk) remove tr_stats fields: downloaders, leechers, seeders, timesCompleted as per discussion with livings 2009-09-26 06:20:33 +00:00
Charles Kerr a4767894e7 (trunk) #1400, #2308: differentiate warnings and errors; differentiate between local messages and messages from the tracker 2009-08-05 01:25:36 +00:00
Charles Kerr 36eac9e36a (trunk qt, gtk) some string changes: minor Gnome HiGification. omit unnecessary words. use less jargon. 2009-06-23 00:24:37 +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 d82b4a5fc6 (trunk qt) handle multiple torrent selection in the properties dialog 2009-04-18 23:18:28 +00:00