* Added "-O" flag that takes a single option, allowing ','.

* Added the errno message when a file in a torrent could not be opened.

* Added torrent::Object class which will be replacing torrent::Bencode.

* Ported to Cygwin, patch supplied by Jussi Kivilinna
<jussi.kivilinna@mbnet.fi>.

* Update display before entering the main loop, so it won't seem to be
blocking when loading torrents.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@637 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-02-16 14:57:41 +00:00
parent 4dea195340
commit 1e5146121e
7 changed files with 45 additions and 22 deletions
+1
View File
@@ -38,6 +38,7 @@
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/termios.h>
#include "canvas.h"
+1 -2
View File
@@ -76,10 +76,9 @@ public:
void unschedule(Window* w);
void adjust_layout();
private:
void receive_update();
private:
void schedule_update();
bool m_forceRedraw;
+1 -1
View File
@@ -147,7 +147,7 @@ print_ddmmyyyy(char* first, char* last, time_t t) {
char*
print_download_title(char* first, char* last, core::Download* d) {
return print_buffer(first, last, "%s", d->get_download().name().c_str());
return print_buffer(first, last, " %s", d->get_download().name().c_str());
}
char*
+2
View File
@@ -52,6 +52,7 @@ WindowFileList::WindowFileList(core::Download* d, unsigned int* focus) :
m_focus(focus) {
}
/*
std::wstring
hack_wstring(const std::string& src) {
size_t length = ::mbstowcs(NULL, src.c_str(), src.size());
@@ -66,6 +67,7 @@ hack_wstring(const std::string& src) {
return dest;
}
*/
void
WindowFileList::redraw() {