Commit graph

469 commits

Author SHA1 Message Date
Christophe Dumez
4f25e6c769 - Another attempt to fix compilation on FreeBSD
- Fixed IP Filter preferences (closes #147532)
2007-10-01 09:47:00 +00:00
Christophe Dumez
f9998957cd - attempt to fix compilation on FreeBSD 2007-09-29 08:00:14 +00:00
Christophe Dumez
c0ffb8fa5c - BUGFIX: Fixed overflow in ratio 2007-09-21 07:45:28 +00:00
Christophe Dumez
da244d7ef2 - Added more debug when we get a file_error 2007-09-18 22:41:23 +00:00
Christophe Dumez
9062266a84 - Fixed a ratio assert in libtorrent because we sent it -1 for unlimited instead of 0 2007-09-16 14:16:42 +00:00
Christophe Dumez
3cb34ed7ee - Fixed an overflow that could cause ETA to become negative sometimes (hitted an assert) 2007-09-16 12:30:41 +00:00
Christophe Dumez
c478ba59ac - new torrent content selection (as a tree). Merge from the new-torrent-selection branch 2007-09-16 09:19:22 +00:00
Christophe Dumez
fe7c0db425 - remove ratio should be applied to finished torrent only (and disabled as a default!) - FIXED 2007-09-13 19:50:14 +00:00
Christophe Dumez
47c1908519 - Added some more debug 2007-09-09 09:20:01 +00:00
Christophe Dumez
e1ead940be - Added some more debug 2007-09-09 09:15:29 +00:00
Christophe Dumez
862d24ac48 - FEATURE: Added an option to automatically delete torrents when they reach a given ratio (>= 1.0) 2007-09-09 09:09:24 +00:00
Christophe Dumez
078c80c81d - FEATURE: Added an option to set the max number of connections per torrent
- FEATURE: Added an option to set the max number of uploads per torrent
2007-09-09 07:44:22 +00:00
Christophe Dumez
cd70843ee9 - Totally redesigned program preferences
- Added some options, the following are already implemented:
  * Start/Stop LSD/NAT-PMP/UPnP
	* Force preallocation of all files
	* Force new torrents status to pause
- Other new features are going to be implemented soon
2007-09-08 17:07:29 +00:00
Christophe Dumez
9f36d521a4 - BUGFIX: Fixed deprecation warning with latest libtorrent svn
- FEATURE: Redesigned torrent creation dialog
- FEATURE: Allow to set piece size when creating a torrent
- improved new options dialog a little
2007-09-04 04:18:51 +00:00
Christophe Dumez
b582ec9480 - BUGFIX: Do not store and calculate ETA values for paused torrents 2007-08-29 16:23:37 +00:00
Christophe Dumez
b5ccf05541 - BUGFIX: Do not store and calculate ETA values for finished torrents 2007-08-29 16:15:11 +00:00
Christophe Dumez
b3c5e6cfa2 - Store less ETA values for each torrent in order to save memory 2007-08-29 16:11:24 +00:00
Christophe Dumez
229927bbe9 - BUGFIX: Fixed file preview and improved previewable files detection 2007-08-29 16:07:37 +00:00
Christophe Dumez
495d6f2bab - Save less trackers errors to save memory 2007-08-29 15:13:20 +00:00
Christophe Dumez
73c247fe10 BUGFIX: Fixed pause state toggle for paused and checking torrents 2007-08-29 15:04:30 +00:00
Christophe Dumez
bd84cb197f - little optimization for torrentstopauseafterchecking 2007-08-29 15:00:31 +00:00
Christophe Dumez
57309c7d82 - Do not save paused torrents in a list anymore to save some memory 2007-08-29 14:54:03 +00:00
Christophe Dumez
27e76962d1 - Found a way not to use FullAllocationMode list in order to save memory in cpu 2007-08-29 14:30:30 +00:00
Christophe Dumez
057029787a - Added some asserts to check for overflows
- Removed a useless functions (was used for debug)
- Fixed 2 warnings in createTorrent.ui
- Improved CXX_FLAGS in src.pro
2007-08-29 06:33:27 +00:00
Christophe Dumez
cdfaed4fb4 BUGFIX: ETA was wrong for torrents with filtered files 2007-08-28 18:49:45 +00:00
Christophe Dumez
21908e0a03 - Optimized function that transform a number of seconds to a duration(days, hours, minutes, secs)
- Improved ETA calculation to avoid overflows (Added asserts to make sure it doesn't happen)
2007-08-28 18:44:54 +00:00
Christophe Dumez
01df4d3c81 - Use int instead of short where possible 2007-08-28 16:55:14 +00:00
Christophe Dumez
6ecb45d661 - Code optimization using initialization lists
- Removed Traditional Chinese translation because we lost our translator and translation is outdated
2007-08-28 16:17:32 +00:00
Christophe Dumez
8f7de730cc - Added some more torrent_handle checking to be sure we don't use invalid ones 2007-08-27 09:24:22 +00:00
Christophe Dumez
fd2ee35e92 - Do not save torrent related info in class destruction, this is too dangerous 2007-08-26 19:58:41 +00:00
Christophe Dumez
1bfc181cb2 - Better handing of .finished files (bittorrent class level instead of GUI level) 2007-08-26 19:17:50 +00:00
Christophe Dumez
28294efadf - Check if the hash read from the filename and from the torrent are the same and don't add it if it is different. Safer 2007-08-26 18:50:51 +00:00
Christophe Dumez
829c358f10 - fixed some bugs introduced recently
- improved debug output
2007-08-26 18:41:45 +00:00
Christophe Dumez
35a9fab3b4 - Check if priorities file exists before trying to read it to avoid a warning message 2007-08-26 17:48:38 +00:00
Christophe Dumez
32c330092a - Merged splitGUI branch, GUI and download tab are now splitted. Code is a lot cleaner and easier to understand. I also fixed some bugs I found on the way :) 2007-08-26 16:25:22 +00:00
Christophe Dumez
e82cb2188e - Made torrent deletion from hard-drive safer 2007-08-23 14:04:53 +00:00
Christophe Dumez
cfacac7dbf - Add torrents in pause before applying settings to avoid race conditions
- Started to work on a new function to delete torrents permanently that is safer. Not used yet because it is buggy : it works only for simple cases and I'm not sure I can do better right now with the info libtorrent is providing.
2007-08-22 18:26:00 +00:00
Christophe Dumez
d8dd509a7b - Updated Russian translation 2007-08-21 07:17:13 +00:00
Christophe Dumez
c9925eddb6 - Big code cleanup
- Added a Qwrapper for torrent_handle to make code more readable
2007-08-20 06:29:18 +00:00
Christophe Dumez
5231f5a22b - Rewrote a lot of code concerning finishedTorrents code. It was optimized and should be safer too 2007-08-19 14:20:54 +00:00
Christophe Dumez
04352cce3c - Fixed bad assert
- Little checking before saving url seeds list
- Little optimization to make fastresume data saving faster
2007-08-19 08:45:24 +00:00
Christophe Dumez
b2867e97bf - Updated spanish translation 2007-08-18 05:55:09 +00:00
Christophe Dumez
b4fbaaa47c BUGFIX: Improved incremental download 2007-08-17 02:22:04 +00:00
Christophe Dumez
13f21ef6cd - Make use of new torrent_checked_alert that was just included in libtorrent. This allowed to improve torrent that just finished checking handling and progress column sorting. Also allowed to optimize cpu/memory usage a little. 2007-08-17 02:03:13 +00:00
Christophe Dumez
36e87952fa - BUGFIX: Wait for torrent_paused_alert before reloading a torrent for full allocation mode 2007-08-15 19:41:12 +00:00
Christophe Dumez
12fd87ab85 - Removed some debug (didn't mean to commit that) 2007-08-11 14:54:24 +00:00
Christophe Dumez
31abae33a1 - Improved the way menu icons are installed to avoid problems on some systems (Thanks JanCR for reporting this)
- Fixed version in desktop file
2007-08-11 14:47:52 +00:00
Christophe Dumez
aa4c53ec43 - Fixed assert so that it doesn't crash when we toggle paused state of a torrent several times and quickly 2007-08-09 05:10:39 +00:00
Christophe Dumez
44d61e0b9d - Fixed overflow that caused ratio to become negative
- Added some more asserts so that it doesn't happen again
- Fixed waiting for paused_alert on exit in the case where a torrent was paused then resumed before we received torrent_paused_alert
2007-08-09 05:03:06 +00:00
Christophe Dumez
320c125d17 - Added some more debug 2007-08-08 07:35:57 +00:00