Commit Graph

64 Commits

Author SHA1 Message Date
Mike Gelfand 737fdab775 Do not use void to denote argumentless functions in C++ code 2014-12-14 11:57:23 +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 faf1b2fbdf #5848: Use theme-provided icons in Qt client (patch by equeim + small additions) 2014-12-12 21:47:22 +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
Mike Gelfand b4a662ba37 Create QDBusConnection after QApplication has been initialized
Doing otherwise causes Qt warning "QDBusConnection: session D-Bus
connection created before QCoreApplication. Application may misbehave."
Also, don't try to do anything D-Bus-related if connection fails.
2014-12-01 21:05:44 +00:00
Jordan Lee 870041d92d (trunk) #4160: mike.dld patch: 4160-08-args.patch 2014-09-21 18:06:28 +00:00
Jordan Lee cd7e5291db silence warnings found by clang++ 2014-05-09 02:32:28 +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 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 1c79173459 support qt5 in transmission-qt 2013-07-27 21:58:14 +00:00
Jordan Lee dbb742f667 (qt) merge together the two 'add url/magnet link' dialogs. 2013-02-09 23:11:17 +00:00
Jordan Lee 6123bb5359 (qt) copyediting: modify more files to the new indentation/whitespace formatting 2013-01-26 01:19:54 +00:00
Jordan Lee b95040f0a2 (qt) #4917 'request for 256x256 icon for transmission-qt': patch by krab 2013-01-22 19:00:40 +00:00
Jordan Lee 2262c7c565 (qt) #5239 'client should have the option to play a sound when the download completes' -- use QApplication::beep() on OS X and Mac. Patch by rb07 2013-01-21 21:48:52 +00:00
Jordan Lee b42a7ebdc3 (qt) Qt client should have the option to play a sound when the download completes, as the Mac and GTK+ clients do -- implemented. 2013-01-20 23:57:09 +00:00
Jordan Lee c4276d832e Tweak the text of the First Time User legal dialog. 2013-01-16 20:55:08 +00:00
Jordan Lee 59d1d58d0f oops, I didn't mean to commit these debugging cerr's 2012-12-30 22:53:33 +00:00
Jordan Lee 84c5be5a77 (trunk, qt) #5060 'start minimized to tray option' -- added. 2012-12-30 22:51:55 +00:00
Jordan Lee 3c9640bb8f make tr_info.webseedCount and tr_info.trackerCount unsigned. 2012-12-30 22:06:45 +00:00
Jordan Lee e96ed247fe refactor libtransmission's tr_benc class as tr_variant. 2012-12-14 04:34:42 +00:00
Jordan Lee 0f8edabdf7 (trunk qt) #4820 -- add rb07's patch for better opening of magnet links 2012-07-13 00:29:40 +00:00
Jordan Lee 54bf01fe0d revert r12008 due to i18n problems reported by lin-unix in <https://trac.transmissionbt.com/ticket/4050#comment:5> 2012-07-09 23:22:36 +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 320bda5ca4 (trunk qt) remove an unnecessary debug message 2011-07-30 13:19:28 +00:00
Jordan Lee 0b2247cc7b (trunk qt) add popup notification for when torrents finish downloading. 2011-07-26 02:56:30 +00:00
Jordan Lee 6754258823 (trunk qt) #4050 "transmission-qt translations don't load under Linux" -- fixed via patch from taem 2011-02-23 02:16:16 +00:00
Jordan Lee 2e3ccd8532 (trunk qt) #3938 "the defualt config directory isn't created by the Qt client" -- minor revision to r11755 to handle the case of custom config directories passed in via the command line.
transmission-daemon and transmission-gtk will create these custom config directories if they don't exist. transmission-qt should, too.
2011-01-23 18:40:29 +00:00
Jordan Lee d38634a3f7 (trunk qt) #3938 "The default config directory isn't created by the Qt client" -- fixed.
Summary says it all. Patch by luksan with minor formatting changes (and, no doubt, a new bug) by me.
2011-01-23 16:55:15 +00:00
Charles Kerr b03984d039 (trunk qt) #3766 "Qt client i18n improvements" -- committed patch from rb07 2010-11-25 03:00:25 +00:00
Charles Kerr c01c18b46b (trunk) make --version/-V behave the same in the other apps too 2010-08-09 00:18:26 +00:00
Charles Kerr 711fb98126 (trunk qt) fix bug passing magnet links & urls via DBUS. reported by rb07 in the forums. 2010-08-06 14:50:57 +00:00
Charles Kerr fb03acbbc2 (trunk) consistency tweaks between the GTK+ and Qt client:
1. synchronize some of the keyboard shortcuts
2. synchronize some text in the preferences dialog
3. add a "Desktop" tab in the Qt client's preferences dialog
4. add a "Donate" button to the Qt client's help menu
2010-08-02 03:07:42 +00:00
Charles Kerr 1477c8909f (trunk qt) synchronize the copyright notices 2010-08-01 20:36:13 +00:00
Charles Kerr 3fa4865863 (trunk) #3450 "regression: Qt client dbus support broken" -- fixed 2010-08-01 18:55:04 +00:00
Charles Kerr c4cac7ae8c (trunk qt) #3469 "Qt client should have desktop notification for added torrents" -- done. 2010-08-01 15:47:42 +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 ab7fafcf42 (trunk qt) silence a spurious cerr linefeed 2010-07-30 22:22:52 +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 2528bfe2a3 (trunk qt) ensure that units are i18nized in the Qt client. Update the Qt translation files. 2010-07-07 00:30:42 +00:00
Charles Kerr 610061f79a (trunk T) #3045 "units" -- modify the formatter functions based on feedback from BMW 2010-07-06 20:25:54 +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
Charles Kerr 5baab746c6 (trunk) #3332 "cannot run multiple qtr instances" -- fixed 2010-06-25 03:53:53 +00:00
Charles Kerr 1d63aa4cda (trunk) add tr_formatter_size() and tr_formatter_speed() so that all the client apps don't have to reinvent the wheel 2010-06-22 04:34:16 +00:00
Daniel Lee 7e535bc227 (qt) #3269: When changing session source we should request a full refresh right away
r10770 is actually for #3282: After removing a torrent list jumps to the very top
2010-06-16 03:11:10 +00:00
Charles Kerr 928e2105f3 (trunk qt) #3265 "-v --version command line doesn't quit transmission" -- call ::exit(0) instead of exit(0). d'oh! 2010-06-05 10:59:24 +00:00
Daniel Lee 076eca895f (qt) typo caused some command line options to not work 2010-06-05 00:02:20 +00:00