rakshasa
aa93404278
Added subdirs option to suppress warnings.
2013-08-26 23:47:31 +09:00
rakshasa
1e4739c862
Merge branch 'master' into xirvik
2013-08-26 23:17:56 +09:00
rakshasa
aa2f784ae6
Converted sigc::signals to STL.
2013-08-26 23:15:33 +09:00
rakshasa
529eda5aab
Converted sigc++ slots to std::tr1::function.
2013-08-24 00:14:25 +09:00
rakshasa
629ebcbd54
Removed deprecated signals for chunks passed/failed.
2013-08-22 03:48:54 +09:00
rakshasa
d8d7861244
Removed old logging signals.
2013-08-22 03:33:48 +09:00
Jari Sundell
bc4209e380
Merge pull request #128 from skydrome/automake-1.12
...
Fix warning on automake-1.12.4
2013-08-21 07:08:34 -07:00
rakshasa
e36a0d43a4
Added missing <unistd.h> include.
2013-08-21 22:59:54 +09:00
rakshasa
c3ad68156e
Adding test output file gitignore.
2013-08-16 22:11:32 +09:00
rakshasa
6697806185
Use pid and ppid to XOR the seed value for random and rand48.
2013-08-16 16:29:59 +09:00
rakshasa
412a2f79b9
Removed obsolete logging facility.
2013-07-31 23:24:02 +09:00
rakshasa
0bf60679e4
Changed file permissions for log_stats.plot.
2013-07-31 06:17:13 +09:00
rakshasa
0329608f69
Merge remote-tracking branch 'origin/master' into xirvik
2013-06-13 23:08:15 +09:00
skydrome
b113a02584
Fix warning on automake-1.12.4
...
warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
2013-05-09 14:00:09 -04:00
Jorge Israel Peña
49d00285c8
added SA_RESTART to automatically restart system calls interrupted by signals (as was already done by signal()) as well as error checking on sigaction()
2013-04-07 21:21:27 -07:00
Jorge Israel Peña
2cd70f4342
replace signal() call with sigaction() for better portability
...
signal() is known to have portability problems. Some systems such as
old Unix systems and System V employ a behavior in which the signal
disposition is reset to SIG_DFL (default) upon invocation of a signal
handler by the delivery of a signal.
See issue #51 in which Solaris users experience signal-based issues.
Solaris is a system which employs the SIG_DFL reset behavior even in
version 11.1.
See http://docs.oracle.com/cd/E26502_01/html/E29034/signal-3c.html
> If signal() is used, disp is the address of a signal handler, and sig is not SIGILL,
> SIGTRAP, or SIGPWR, the system first sets the signal's disposition to SIG_DFL before
> executing the signal handler.
On Solaris the default signal disposition for SIGUSR1 is to exit the application.
See http://docs.oracle.com/cd/E26502_01/html/E29033/signal.h-3head.html
If I'm correct in assuming this is the problem Solaris users are encountering,
the solution to this (and likely any other portability issues that may arise)
is to use sigaction() which has explicitly defined behavior as per the POSIX standards.
As you can see, it's a pretty drop-in solution. In fact, on some systems such as Linux,
glibc defines signal() as a wrapper around sigaction() to use BSD semantics (i.e. not the
behavior detailed above), which is likely why few others have experienced these problems.
See http://man7.org/linux/man-pages/man2/signal.2.html
2013-04-07 19:41:32 -07:00
rakshasa
7689059dbc
Cleaned up thread code.
2013-04-03 21:16:11 +09:00
rakshasa
3b2a47a6d0
Use thread_base::interrupt for all SIGUSR1 interrupt signals and don't set a handler if it's not supported.
2013-03-03 05:00:31 +09:00
rakshasa
e28692492b
Fixed obsolete macro statements.
2013-02-26 17:44:42 +09:00
rakshasa
2c97841e92
Removed unused member variables.
2013-02-26 17:40:41 +09:00
rakshasa
bb27adcfd3
Merge branch 'master' into xirvik
2012-10-31 17:55:44 +09:00
rakshasa
5e6cb5da04
Merge branch 'master' of github.com:rakshasa/rtorrent
2012-10-24 14:35:59 +09:00
rakshasa
cd029a67c5
Bumped version to 0.9.3.
2012-10-23 22:39:07 +09:00
Jari Sundell
addc323ec8
Merge pull request #89 from ShanaTsunTsunLove/master
...
Typo in rtorrent.rc
2012-09-05 12:14:54 -07:00
Mateusz Kowalczyk
2217b14095
Typo in default rtorrent.rc comment
2012-08-28 12:35:10 +01:00
rakshasa
6a84facae0
Merge branch 'master' of github.com:rakshasa/rtorrent
2012-08-14 17:56:24 +09:00
rakshasa
66a116841a
Removed old options.
2012-08-14 17:55:31 +09:00
rakshasa
bacb6c0f72
Removed unused variables.
2012-07-23 23:54:21 +09:00
Jari Sundell
40fc8bbf80
Merge pull request #79 from nullren/master
...
Restore create_link and delete_link.
2012-07-10 23:21:25 -07:00
nullren
13f672ab4d
using lt_log_print
...
replaced push_log_std with lt_log_print using LOG_TORRENT_WARN.
2012-06-27 00:19:09 -07:00
rakshasa
2967f9a224
Cleaned up old documents and scripts.
2012-06-27 15:43:32 +09:00
nullren
eac7536f6a
restored create_link
...
took away empty-body warnings from clang by restoring error messages
using push_log_std.
2012-06-23 20:21:47 -07:00
rakshasa
78f64a3e08
Use internal_error for priority queue exceptions.
2012-05-31 20:16:26 +09:00
rakshasa
cf77a17399
Cleaned up command wrappers.
2012-05-22 17:19:19 +09:00
rakshasa
7a2ec0ff86
Merge branch 'master' into xirvik
2012-05-21 16:12:00 +09:00
rakshasa
48733c84ec
Added 'catch' command to allow safely calling commands that might fail with input_error. Note that double-brackets are required as the method needs to be called by the 'catch' command, not the parser.
...
catch = ((foo.bar,"bad input"))
2012-05-21 16:08:49 +09:00
rakshasa
b020aa0197
Pass command target when using rpc::call_object with dict_key.
2012-05-21 16:08:18 +09:00
rakshasa
e95b66fc51
Merge branch 'master' into xirvik
2012-05-14 20:18:48 +09:00
rakshasa
678049bc09
Fixed brackets in autoconf scripts.
2012-05-14 20:18:29 +09:00
rakshasa
2f102f0fcd
Merge branch 'master' into xirvik
2012-05-14 19:41:36 +09:00
rakshasa
d0f6bb440a
Fixed clang compilation issues.
2012-05-07 02:25:37 +09:00
rakshasa
8f5f383e3c
For POSIX threads config script try none first to avoid adding flags when not needed.
2012-05-07 02:19:12 +09:00
rakshasa
2ca49e3485
Removed unused parse command function.
2012-05-07 01:53:39 +09:00
rakshasa
004862850d
Allow command function lists for dynamically created functions.
2012-05-04 22:56:58 +09:00
rakshasa
d2d09d97f8
Replace old command call functions with the new one taking torrent::Objects.
2012-05-04 22:33:26 +09:00
rakshasa
fb75510c0f
Allow functions and lists of functions to be passed to view.event_{added,removed}.
2012-05-04 21:31:12 +09:00
rakshasa
8d0f9b3300
Removed old hanshake log signal.
2012-05-04 05:17:11 +09:00
rakshasa
76ed90f514
Removed commented out settings for views.
2012-05-04 05:09:21 +09:00
rakshasa
b79dea94b2
Wait for disowned http requests to finish to ensure stopped event gets sent to tracker on client shutdown.
2012-05-04 04:02:59 +09:00
rakshasa
cf1c44ef5b
Removed sigc++ dependency from ConnectionManager.
2012-05-04 04:02:59 +09:00