Rosen Penev
3ab38583b8
remove __UNUSED
...
No need since we have C++17.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-01 08:07:37 +02:00
rakshasa
9fe4d188e9
Cleaned up WindowHttpQueue.
2025-05-08 08:32:45 +02:00
Jari Sundell
4c63cee7a2
Cleaned up Poll code and included missing rtorrent.lua in installer.
2025-05-03 21:07:16 +09:00
rakshasa
a5a1e2fde5
Updated common.m4.
2025-03-30 15:38:07 +02:00
Rakshasa
1811248691
Add checks for liblua-*.so.0 for alpine compatibility.
2025-02-03 16:21:30 +00:00
Jari Sundell
1f01b7e94d
Fix various macos issues.
2025-01-28 00:18:41 +09:00
Jari Sundell
2e0a417367
Add optional Lua scripting capabilties - kannibalox@gmail.com
2025-01-19 04:02:06 +09:00
kannibalox
87c6422052
Allow using vendored tinyxml2 for XMLRPC
...
By default, builds will still not have XMLRPC enabled at all and the
configure flag `--with-xmlrpc-tinyxml2` must be specified. If both
xmlrpc-c and tinyxml2 are specified, xmlrpc-c takes precedence.
Basic benchmarks indicate tinyxml2 is 2x faster for small
requests/responses, and that only increases as response sizes get
larger.
2024-11-25 18:44:28 +09:00
Adam Sampson
38b39bdafc
Add ax_require_defined.m4 to scripts.
...
This is required now by ax_with_curses.m4, but wasn't added when the
script was updated.
2024-10-07 23:52:20 +09:00
Adam Sampson
48718bdac8
Remove unnecessary +x mode from some m4 files.
2024-10-07 23:52:20 +09:00
Jari Sundell
a6bc99bb82
Updated and cleaned up automake. ( #1102 )
2021-08-07 17:49:23 +09:00
rakshasa
952777d75e
Added commands to update choke queue.
2021-05-01 19:45:50 +09:00
rakshasa
19dbaa7442
Added missing ax_execinfo.m4 file.
2021-04-04 14:59:36 +09:00
rakshasa
3f72e27603
Replaced custom execinfo autoconf test.
2021-02-27 22:13:01 +09:00
Jari Sundell
7659cd0ec0
Backport changes from feature-bind.
2019-08-23 23:25:24 +09:00
rakshasa
07dcd04357
Revert to only using ax_with_curses.m4, and upgrade it to version 16 which seems to be the last unborked version.
2019-07-13 14:36:05 +02:00
rakshasa
ac64fc3f63
Added _GNU_SOURCE to fallocate test. (neheb)
2019-07-08 19:37:17 +02:00
Fabrice Fontaine
703cac9a42
Fix cross compilation, based on OpenWRT patch.
...
[Vincent: tweak the patch for version 0.13.6]
[Bernd: tweak the patch for version 0.13.7]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com >
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de >
[Retrieved from:
https://git.buildroot.net/buildroot/tree/package/libtorrent/0001-Fix-cross-compilation-based-on-OpenWRT-patch.patch ]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com >
2019-04-20 21:37:26 +02:00
Stephen Shkardoon
f84670dd63
Use AC_COMPILE instead of AC_RUN to check for execinfo.h
...
This way enables cross compiling, since we don't need to run anything during the configure script.
2018-06-25 20:14:43 +12:00
rakshasa
c9a5736d5d
Merge branch 'fix_cxxflags_check' of https://github.com/chros73/rtorrent into chros73-fix_cxxflags_check
2018-06-05 16:50:47 +09:00
chros
1a4f6dab1a
Modfiy gcc v6.x fix for empty CXXFLAGS (See #20 )
2017-08-02 12:51:03 +01:00
chros
943b576e1f
Fix compilation issue with gcc v6.x and empty CXXFLAGS (See #20 )
2017-07-30 20:37:21 +01:00
rakshasa
10ce6864b8
Added non-pkgconfig check for curl as macosx doesn't include the 'pc' file.
2016-11-05 06:58:44 +09:00
rakshasa
81c652292a
Added updated autoconf scripts.
2014-07-02 23:11:14 +09:00
rakshasa
3b39f37f49
C++11 compatibility fixes.
2014-05-13 23:36:37 +09:00
rakshasa
a536fc09a0
Updated autoconf scripts.
2014-04-01 11:49:19 +02:00
rakshasa
385b342deb
Fixed typo in IPv6 option.
2013-11-22 23:03:00 +09:00
rakshasa
678049bc09
Fixed brackets in autoconf scripts.
2012-05-14 20:18:29 +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
90830dc765
Use right function argument for inotify test.
2012-04-12 18:44:42 +09:00
rakshasa
dc817e24e4
Added inotify autoconf script.
2012-03-29 22:05:43 +09:00
rakshasa
6b71d75c33
Test against both libtinfo and libtinfow.
2012-02-27 19:54:53 +09:00
rakshasa
4ff2483f07
Fixed libtinfow detection.
2012-02-27 17:40:08 +09:00
rakshasa
d8f41a28fa
Added check to see if libinfow is required by ncursesw.
2012-02-27 01:22:47 +09:00
rakshasa
482a9ba09f
Used AX_PTHREAD and AX_WITH_CURSES macros.
2012-02-24 16:22:17 +09:00
Extravagant
f1852cd222
Updated with AC_LANG_SOURCE directives
...
Please see this informative thread on bug-autoconf:
http://www.mail-archive.com/bug-autoconf@gnu.org/msg03052.html
2012-02-12 22:23:40 +00:00
Jari Sundell
41d49b7c18
Merge branch 'master' into c++11
...
Conflicts:
src/command_network.cc
2011-12-07 16:08:05 +09:00
Jari Sundell
b2c1fe2afb
Fixed stray comma in script causing invalid LT_SMP_CACHE_BYTES value to be set.
2011-11-30 19:34:29 +09:00
Jari Sundell
a40b2132fb
Added autoconf scripts for pthread.
2011-11-28 18:27:24 +09:00
Jari Sundell
58727fe7fd
Fixed compiler issues with gcc-4.6 c++0x.
2011-11-18 17:28:50 +09:00
rakshasa
0784d6540f
* Switched to using '__builtin_popcount' for counting bits in bitfield.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1292 e378c898-3ddf-0310-93e7-cc216c733640
2011-10-02 15:57:22 +00:00
rakshasa
5debd6f1be
* Added better logging facilities.
...
* Changed tracker retry timers.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1192 e378c898-3ddf-0310-93e7-cc216c733640
2011-03-10 05:46:08 +00:00
rakshasa
bc96dbfa2d
* Modified the fallocate configure check so it will fail if 'fallocate' can't be found.
...
* Changed more commands to the new format.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1153 e378c898-3ddf-0310-93e7-cc216c733640
2010-03-24 20:23:48 +00:00
rakshasa
ded689d3ff
* Fixed the linux fallocate detection script.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1143 e378c898-3ddf-0310-93e7-cc216c733640
2010-03-12 10:29:11 +00:00
rakshasa
31abf85846
* Added support for Linux's fallocate and Darwin's fcntl(...,F_PREALLOCATE,...) to preallocate files by default. The 'system.file_allocate' setting will now only be used to indicate you want posix_fallocate called, which may block while it zeros out the file manually.
...
* Added 'event.download.hash_failed' and 'event.download.hash_final_failed'.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1130 e378c898-3ddf-0310-93e7-cc216c733640
2010-02-14 01:20:20 +00:00
rakshasa
5a1d0be323
* Use the safe default cacheline settings for all platforms for now.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1116 e378c898-3ddf-0310-93e7-cc216c733640
2009-12-19 21:36:44 +00:00
rakshasa
5470e50ffb
* Added autoconf support for cacheline_aligned and SMP_CACHE_BYTES.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1115 e378c898-3ddf-0310-93e7-cc216c733640
2009-12-18 21:56:14 +00:00
rakshasa
667c4c3562
* Created ThreadBase holding poll manager, etc, and added a this_thread global object.
...
* Cleaned up main initialization, SCGI and polling code.
* Fixed a bug that would cause reading of a piece to hang if the incoming data contains only data up to the file boundary, but not the next file's data. The bug did not trigger if the file boundary and piece boundaries were the same.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1101 e378c898-3ddf-0310-93e7-cc216c733640
2009-11-12 09:28:35 +00:00
rakshasa
c627d6dc0c
All patches in this commit were from Josef Drexler.
...
* Fixes a segfault when configure finds execinfo.h.
* Fix compile errors and warnings with g++ 4.3.x.
* Fixes an interoperability issue in the get_peers handling, now it
behaves according to the clarified BEP-0005. Also fixes a minor issue
of not being able to generate error packets.
* Fix a crash in scgi_local or scgi_port when calling freeaddrinfo
with a NULL pointer.
* Only check the filename cache for loading tied torrents (e.g. from
watch dirs) but not manually loaded ones via <enter>/<bs>, to allow
loading those again (ticket #1227 ).
* Fix display of multi-byte characters with attributes (i.e. utf-8
filenames in the file list), and make the list aware of characters
occupying two screen positions.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1064 e378c898-3ddf-0310-93e7-cc216c733640
2008-08-26 20:42:57 +00:00
rakshasa
9e8b4add9d
* Fixed a race condition in the handshake read/write code. Patch by
...
Josef Drexler.
* Fixed the --with-xmlrpc-c autoconf check so that you can pass an
alternative path to an xmlrpc-c-config script.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1027 e378c898-3ddf-0310-93e7-cc216c733640
2008-01-12 18:39:19 +00:00