Commit Graph

57 Commits

Author SHA1 Message Date
Mike Gelfand 440f482d01 Replace tabs with spaces; remove trailing spaces 2015-01-02 11:15:31 +00:00
Mike Gelfand c64ca900c2 Rework torrent options dialog in Qt client to load from .ui 2014-12-29 04:03:56 +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 6c02008280 Do not use printf-style formatting in C++ code 2014-12-14 15:34:31 +00:00
Mike Gelfand 365b28bc81 Strip needless const& specifiers on SIGNAL and SLOT arguments (Qt client) 2014-12-13 09:04:10 +00:00
Mike Gelfand 2adbb42763 Fix various cppcheck comments for Qt client code 2014-12-12 23:52:17 +00:00
Mike Gelfand 67dc1c8485 Strip spaces around :: in C++ code (Qt client) 2014-12-12 23:05:10 +00:00
Mike Gelfand d6c32595a6 #5827: Improve torrent files tree updating performance
Do not unnecessarily emit dataChanged signals for items which didn't change.
Cache file item indices to speedup lookup.
As a bonus, this also fixes wrong file progress display in rare cases.
2014-11-30 18:12:28 +00:00
Jordan Lee d0695b7006 (trunk, qt) #5723: 'Simplify file tree icons drawing' -- patch by mike.dld 2014-07-03 23:12:50 +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 e45c4d19d9 (trunk, qt) #5312 'download checkbox toggle with spacebar is broken' -- fixed, patch by mikedld 2013-09-08 19:07:31 +00:00
Jordan Lee 2855e83e45 (trunk, qt) #4813: allow launching files in Qt interface 2013-09-08 19:03:25 +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 59abf35807 (trunk, qt) #5465: restore Qt 4.6 support, patch by mike.did 2013-08-17 16:22:56 +00:00
Jordan Lee 1c79173459 support qt5 in transmission-qt 2013-07-27 21:58:14 +00:00
Jordan Lee de6e408a66 (qt) fix file-tree icon regression caused by r14000 for #5285; found & patched by rb07 2013-04-24 22:56:28 +00:00
Jordan Lee 4c3a869a88 (qt) #5285 'Qt client's file tree should have a size column like the GTK+ client's': done. 2013-02-09 20:51:17 +00:00
Jordan Lee d03de26e13 (qt) #5284 'file tree should show the wanted size of the subtree, not the entire size': done. 2013-02-09 19:16:16 +00:00
Jordan Lee f8cae213db (qt) remove console messages that were committed in r13930 2013-02-02 03:51:10 +00:00
Jordan Lee bb0bdc6f7e (qt) #5252 'file-renaming issues in Qt client': fix renaming flicker error reported by rb07 2013-02-01 22:40:08 +00:00
Jordan Lee e12890e78e (qt) #5252 'file-renaming issues in Qt client': hide invisible columns in file-tree 2013-02-01 22:08:09 +00:00
Jordan Lee 90619423ff silence unnecessary warning 2013-01-30 00:23:32 +00:00
Jordan Lee a17d4d5e3f (qt) more futzing with file-tree 2013-01-28 18:20:20 +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 f75027d5e9 make all the log functions/structs/enums use a single 'tr_log' namespace, such as tr_logGetQueue, tr_logAddInfo, tr_logIsLevelActive 2013-01-25 23:34:20 +00:00
Jordan Lee 5af4abfc82 (qt) copyediting: modify more files to the new indentation/whitespace formatting 2013-01-25 18:54:06 +00:00
Jordan Lee 4356ade034 modify more files to the new indentation/whitespace formatting 2013-01-25 18:37:11 +00:00
Jordan Lee 9fc5de5b57 (qt) #1220: 'change file and folder names': fix Qt renaming issue reported by taem in https://trac.transmissionbt.com/ticket/1220#comment:97 2013-01-23 20:44:13 +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 a34c0981fa (trunk qt) #4980 "Resize headers in Files Tab in Torrent Properties Window" -- patch from samkpo 2012-07-22 17:01:52 +00:00
Jordan Lee 502ccf7d54 (trunk qt) #4961 -- fix dtor regression introduced in previous commit + add extra assertions to help find any remaining unfound errors 2012-07-13 00:27:04 +00:00
Jordan Lee 463be887fc (trunk, qt) #4961 -- make the file list more responsive when a torrent has an extreme number of files.
Before this patch, the test torrent I had with ~10k files took 8 seconds to load. After this patch, it takes less than 1 second.
2012-07-12 23:37:04 +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
Charles Kerr 27a1b2dc33 (trunk) one of the periodic, banal "remove-trailing-spaces from lines of source code" cleanup commits 2010-12-12 16:43:19 +00:00
Charles Kerr 889e2c0ca0 (trunk qt) #3738 "make file download flag and priority setting settable via the keyboard" -- done. 2010-11-13 22:07:19 +00:00
Charles Kerr 4b70747592 (trunk qt) #3627 "off-by-one in FileTreeView causes potential invalid memory read / crash" -- fixed. 2010-10-13 00:43:54 +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 56f9f899a2 (trunk qt) fix a couple of small memory leaks detected by valgrind 2010-07-28 20:17:16 +00:00
Charles Kerr c5838c01ff (trunk qt) minor little pixel futzing 2010-07-28 19:55:56 +00:00
Charles Kerr cee744fcdd (trunk qt) "Qt client's Files list should be sortable" -- fixed 2010-07-28 18:53:25 +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 e6b8c2e6d4 (qt) Fix regression in file icons caused by printing filesizes in the file tree 2010-05-24 05:29:36 +00:00
Charles Kerr 91e3187d3b (trunk Qt) #2050 "Properties dialog changes seem to undo themselves" -- use patch from Longinus00 2010-05-05 09:41:14 +00:00
Charles Kerr a5ca4d45f1 (trunk qt) #3116 "show file sizes in the file tree" -- implemented for 2.00 by a patch from Longinus00 2010-04-03 13:56:23 +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