Mike Gelfand
1e3d20422a
Reduce for loop variables scope
2017-05-14 01:38:31 +03:00
Mike Gelfand
a762c770f2
Make conditional expressions explicitly boolean
2017-04-30 19:26:01 +03:00
Mike Gelfand
4f9d9ad92b
Code style change leftovers
...
For some reason, GTK client wasn't fully processed. All the rest of changes
are mostly in comments.
2017-04-21 10:40:57 +03:00
Mike Gelfand
dadffa2c0f
Align type qualifiers to the right (code style)
...
This way all the qualifiers (`const`, `volatile`, `mutable`) are grouped
together, e.g. `T const* const x` vs. `const T* const x`. Also helps reading
types right-to-left, e.g. "constant pointer to constant T" vs. "constant
pointer to T which is constant".
2017-04-20 19:53:20 +03:00
Mike Gelfand
d7930984ef
Adjust uncrustify config, reformat all but Mac client
...
There're places where manual intervention is still required as uncrustify
is not ideal (unfortunately), but at least one may rely on it to do the
right thing most of the time (e.g. when sending in a patch).
The style itself is quite different from what we had before but making it
uniform across all the codebase is the key. I also hope that it'll make the
code more readable (YMMV) and less sensitive to further changes.
2017-04-20 10:01:22 +03:00
Mike Gelfand
2248d3670f
Get rid of $Id$ SVN keywords in source files
2016-09-02 23:10:15 +03: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
d1571bda02
(gtk) use replace strcmp() with g_strcmp0() everywhere
2013-02-14 15:17:42 +00:00
Jordan Lee
c1559f3cc4
(trunk, libT) first drop of the tr_quark patch.
2012-12-22 20:35:19 +00:00
Jordan Lee
317185750c
copyediting: more whitespace reformatting
2012-12-05 21:26:40 +00:00
Jordan Lee
3d38723ad9
Follow more common whitespace style conventions in the C code (libtransmission, daemon, utils, cli, gtk).
2012-12-05 17:29:46 +00:00
Jordan Lee
32f3186f84
(trunk gtk) fix #4849 'Transmission-gtk Ignores Notification Sound Setting' with a patch from Jan Varho
2012-04-07 00:30:37 +00:00
Jordan Lee
d524deecb0
(trunk libT) #4372 "make notification and system sounds configurable" -- instead of using notify-send, use GDBus on the org.freedesktop.Notifications API. Patch by fmuellner.
2011-12-10 19:00:50 +00:00
Jordan Lee
38a1df9344
(trunk gtk) remove some unnecessary #includes
2011-08-13 14:19:40 +00:00
Jordan Lee
bb57ac3c50
(trunk gtk) #4372 "make notification and system sounds configurable" -- fixed.
2011-07-23 17:23:12 +00:00
Jordan Lee
375694eda9
(trunk) copyediting: remove some unneeded #includes, and annotate some needed ones
2011-03-24 21:49:42 +00:00
Jordan Lee
c7006ed8b3
(trunk gtk) remove the TrTorrent GObject subclass.
2011-03-03 01:59:25 +00:00
Jordan Lee
72f9ab91fa
(trunk) make tr_torrentName() a public function.
...
This has been a private function in libtransmission for awhile now but it makes more sense as a public function.
2011-02-15 15:18:51 +00:00
Jordan Lee
879a2afcbd
Update the copyright year in the source code comments.
...
The Berne Convention says that the copyright year is moot, so instead of adding another year to each file as in previous years, I've removed the year altogether from the source code comments in libtransmission, gtk, qt, utils, daemon, and cli.
Juliusz's copyright notice in tr-dht and Johannes' copyright notice in tr-lpd have been left alone; it didn't seem appropriate to modify them.
2011-01-19 13:48:47 +00:00
Charles Kerr
e5bb3205a1
(trunk) Join the 21st century and use only 1 space at the end sentences. This commit is nearly as important as the semi-annual ones that remove trailing spaces from the ends of lines of code... :)
2010-12-27 19:18:17 +00:00
Charles Kerr
057487d18e
(trunk gtk) more gtr_ naming cleanup
2010-12-22 06:25:30 +00:00
Charles Kerr
5eafe91824
(trunk gtk) general cleanup to make function's naming scheme and API more consistent. This is only a fraction of what the GTK+ client's codebase needs, unfortunately.
2010-12-21 19:20:58 +00:00
Charles Kerr
fb106b541c
(trunk gtk) #3719 "handle API changes to libnotify" -- fixed with patch from _v_l
2010-12-10 14:48:56 +00:00
Charles Kerr
865c0853d5
(trunk gtk) #3710 "Handle API changes to libnotify 0.7" -- fixed. The cpp hack is borrowed from qbittorrent and torium... :)
2010-11-06 14:37:34 +00:00
Charles Kerr
67b9c83df5
(trunk gtk) #2780 "for themability, T needs unique icon names for window, system tray, and popup icons" -- added to trunk for 1.81
2010-01-21 20:51:48 +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
c7db82d48c
(trunk gtk) #2597 : add an optional "download complete" sound to the gtk client
2009-11-22 18:55:24 +00:00
Charles Kerr
ebfd93fe7b
(trunk gtk) #1963 : Use tooltip to notify user of added torrent
2009-06-11 16:17:48 +00:00
Charles Kerr
c2dd366154
(trunk gtk) #2198 : crashed with SIGSEGV in notify.c's notifyCallback()
2009-06-11 14:59:50 +00:00
Charles Kerr
130cb762d9
(trunk gtk) #1865 : Notifications should check notification server for capabilities before using actions
2009-02-25 17:48:45 +00:00
Charles Kerr
08403324bd
(trunk libT) Remove tr_torrentNext() from the public libT API (wereHamster)
2009-01-13 16:39:19 +00:00
Charles Kerr
014015d1ef
(trunk gtk) #1689 : notify bild errors
2009-01-12 21:15:14 +00:00
Charles Kerr
20bc67554e
(trunk gtk) #1666 : Option to disable notification bubbles
2009-01-12 18:48:20 +00:00
Charles Kerr
fe816d8135
(trunk) update the GPL code's copyright dates
2009-01-10 23:09:07 +00:00
Charles Kerr
9594112d27
updated email address
2008-12-16 00:20:44 +00:00
Charles Kerr
cc89872dd4
run libT, cli, daemon, gtk through the source-code formatter "uncrustify" as promised/threatened
2008-09-23 19:11:04 +00:00
Charles Kerr
b97717ffbf
fix #include warning
2008-08-22 01:05:38 +00:00
Charles Kerr
2c79888a93
RPC/IPC redesign
2008-05-18 16:44:30 +00:00
Charles Kerr
89c1fedcff
(gtk) #859 : No way of opening target folder of torrent
2008-04-11 02:21:33 +00:00
Charles Kerr
8ea260af89
(gtk) notify: in glib >= 2.16, use g_app_info_launch_default_for_uri() to open the completed torrent.
2008-03-09 19:02:16 +00:00
Charles Kerr
0578a024ad
(gtk) tweak the notification `open' actions (wereHamster)
2008-03-07 19:10:08 +00:00
Charles Kerr
126020e82a
mark the libnotify strings for translation
2008-03-03 04:44:27 +00:00
Charles Kerr
3f2bda886e
(gtk) #749 : libnotify tweaks
2008-03-02 16:14:46 +00:00
Charles Kerr
5552aab68b
(gtk) rename io.h' as
tr-io.h' to fix mingw conflicts. fix minor compiler warning when building w/o libnotify support.
2008-02-25 21:47:21 +00:00
Charles Kerr
faee51f779
tweak which folder to open in the notify window
2008-02-25 04:13:54 +00:00
Charles Kerr
a311e12f9b
(gtk) added optional libnotify support to gtk client. (wereHamster, charles)
2008-02-24 15:42:31 +00:00