Permalink
Browse files

Imported Upstream version 1.0+svn20101210

  • Loading branch information...
pmcenery committed Dec 10, 2010
1 parent 9c39719 commit 3eac22a8d1546be285db8ca619c1eb4a49ff535f
Showing with 2,964 additions and 1,681 deletions.
  1. +129 −1 ChangeLog
  2. +44 −27 INSTALL
  3. +1 −26 README
  4. +36 −0 TODO
  5. BIN icon/icon-slimrat-128.png
  6. BIN icon/icon-slimrat-16.png
  7. BIN icon/icon-slimrat-48.png
  8. +86 −0 icon/icon-slimrat.svg
  9. +33 −9 slimrat.conf
  10. +94 −52 src/Clipboard.pm
  11. +0 −10 src/Clipboard/Pb.pm
  12. +0 −10 src/Clipboard/Win32.pm
  13. +0 −37 src/Clipboard/Xclip.pm
  14. +428 −288 src/Common.pm
  15. +22 −26 src/Configuration.pm
  16. +18 −8 src/Log.pm
  17. +49 −84 src/Plugin.pm
  18. +14 −23 src/Proxy.pm
  19. +83 −93 src/Queue.pm
  20. +0 −301 src/Semaphore.pm
  21. +7 −5 src/Toolbox.pm
  22. +0 −25 src/plugins/BUILDS
  23. +78 −20 src/plugins/CZshare.pm
  24. +10 −13 src/plugins/DataHu.pm
  25. +32 −18 src/plugins/DepositFiles.pm
  26. +8 −10 src/plugins/DepositFilesFolder.pm
  27. +6 −7 src/plugins/Direct.pm
  28. +17 −17 src/plugins/EasyShare.pm
  29. +7 −10 src/plugins/FastLoad.pm
  30. +10 −11 src/plugins/FastShare.pm
  31. +73 −31 src/plugins/FileFactory.pm
  32. +8 −11 src/plugins/FileHive.pm
  33. +30 −34 src/plugins/{OdSiebie.pm → FileSonic.pm}
  34. +13 −12 src/plugins/FreakShare.pm
  35. +59 −79 src/plugins/HotFile.pm
  36. +12 −13 src/plugins/Leteckaposta.pm
  37. +150 −34 src/plugins/MediaFire.pm
  38. +32 −77 src/plugins/Megaupload.pm
  39. +169 −0 src/plugins/Oron.pm
  40. +165 −52 src/plugins/Rapidshare.pm
  41. +7 −10 src/plugins/RomHustler.pm
  42. +32 −28 src/plugins/ShareBase.pm
  43. +227 −0 src/plugins/StorageTo.pm
  44. +121 −0 src/plugins/TwoShared.pm
  45. +158 −0 src/plugins/UlozTo.pm
  46. +12 −13 src/plugins/UploadedTo.pm
  47. +41 −33 src/plugins/Uploading.pm
  48. +115 −0 src/plugins/UserShare.pm
  49. +149 −0 src/plugins/X7to.pm
  50. +12 −15 src/plugins/YouTube.pm
  51. +19 −23 src/plugins/ZShare.pm
  52. +0 −10 src/plugins/generate_builds
  53. +101 −69 src/slimrat
  54. +17 −6 src/slimrat-gui
  55. +30 −0 testsuite
View
130 ChangeLog
@@ -1,15 +1,143 @@
+2010-10-31 Přemek Vyhnal <premysl.vyhnal gmail com>
+
+ * plugins: Hotfile - added premium account support, thanks to pietrek
+
+ * plugins: CzShare - changed config keys for profi account
+
+2010-09-28 Přemek Vyhnal <premysl.vyhnal gmail com>
+
+ * plugins: Rapidshare rewritten (Rapidshare API used)
+
+ * plugins: Depositfiles fixed, thanks to SkazochNik
+
+2010-09-16 Přemek Vyhnal <premysl.vyhnal gmail com>
+
+ * plugins: Updated/fixed
+
+2010-08-23 Přemek Vyhnal <premysl.vyhnal gmail com>
+
+ * plugins: Oron.com added
+
+
+2010-07-23 Přemek Vyhnal <premysl.vyhnal gmail com>
+
+ * plugins: megaupload Free membership - Shorter waiting time
+
+ * something in last months
+
+
+2010-02-27 Tim Besard <tim-dot-besard-at-gmail-dot-com>
+
+ * slimrat: slight manpage fixes, and some default configuration key
+ addition.
+
+
+2010-02-25 Tim Besard <tim-dot-besard-at-gmail-dot-com>
+
+ * slimrat: updated help messages.
+
+ * plugins: whacked out update functionality, we aren't using it right now.
+
+
+2010-02-13 Přemek Vyhnal <premysl.vyhnal gmail com>
+
+ * plugins: added Uloz.to
+
+ * plugins: updated a lot of plugins to make them work again
+
+ * plugins: removed OdSiebie. Site is down
+
+
+2010-02-03 Tim Besard <tim-dot-besard-at-gmail-dot-com>
+
+ * common (download): fixed a flushing issue (fixes issue 134).
+
+ * plugin (Uploading): added action case (fixes issue 132).
+
+ * plugin (CZshare): added missing reload upon known wait action.
+
+
+2010-02-02 Tim Besard <tim-dot-besard-at-gmail-dot-com>
+
+ * plugins: fixed some broken check() functionality.
+
+
+2009-12-02 Tim Besard <tim-dot-besard-at-gmail-dot-com>
+
+ * common (download): skip the download when download_prepare returns 1 (ergo
+ skip upon redownload).
+
+ * plugins (rapidshare): experimental support for premium service.
+
+ * common: various deadlock issues fixed.
+
+
+2009-11-19 Tim Besard <tim-dot-besard-at-gmail-dot-com>
+
+ * plugins: fix for uploading.com (patch by tipingus).
+
+ * semaphore: ditching old framework in favour of perl built-ins.
+
+
+2009-11-07 Tim Besard <tim-dot-besard-at-gmail-dot-com>
+
+ * plugins: finished resume handline.
+
+ * common (download): added an extra retry check when resuming has been
+ attempted (as some servers tend to fail upon Range requests, though
+ they advertise the range capability).
+
+
+2009-11-06 Tim Besard <tim-dot-besard-at-gmail-dot-com>
+
+ * common (download): altered the exception handling framework to a more
+ advanced alternative, based on Try::Tiny.
+
+ * plugins: moved the reference blessings to an earlier place, before any
+ possibly die(), as that could prohibit the destructor from getting
+ called and mess up resource handling.
+
+ * common (download): speed calculation using a moving-average algorithm.
+
+
+2009-11-05 Tim Besard <tim-dot-besard-at-gmail-dot-com>
+
+ * plugins: altered retry framework, known loops (e.g. no slots available)
+ are now processed internally and forever, but controlled by shared
+ functionality (Plugin.pm:get_data)
+
+
+2009-11-04 Tim Besard <tim-dot-besard-at-gmail-dot-com>
+
+ * configuration + others: correct usage of contains/defines, which now allows
+ a flexible perl-alike syntax, emits appropriate warnings and is a lot less
+ error prone.
+
+
+2009-10-13 Tim Besard <tim-dot-besard-at-gmail-dot-com>
+
+ * clipboard: new code, using the Gtk2 clipboard functionality. Kudos
+ to Torsten Schoenfeld!
+
+
2009-10-07 Tim Besard <tim-dot-besard-at-gmail-dot-com>
* common (download): filenames are now escaped optionally.
* plugin (resources): fixed critical issue, where resource handling would get
corrupted when a plugin provided infinite resources.
+ * common (download): decode possibly UTF8 filenames.
+
+ * gui (thread_download): decode UTF8 output from FileChooser widget.
+
2009-10-06 Tim Besard <tim-dot-besard-at-gmail-dot-com>
* hotfile (get_data): fixed captcha provider.
-
+
+ * plugins (storageto): added StorageTo plugin.
+
* plugins (update): enabled downloading new plugins, and increased verbosity
a bit.
View
71 INSTALL
@@ -1,14 +1,14 @@
-Dependancies
+Dependencies
------------
The installation instructions below only document the installation of
-slimrat itself, you might need to install optional dependancies.
+slimrat itself, you might need to install optional dependencies.
-Those dependancies could be configured by the package manager, or
+Those dependencies could be configured by the package manager, or
you might need to install them yourself, especially when manually
installing slimrat.
-You need to install the following dependancies using your package manager of choice:
+You need to install the following dependencies using your package manager of choice:
Main
- Perl (at least 5.8, 5.10 recommended)
@@ -27,23 +27,50 @@ Command-line captcha viewing
GUI
- Gtk2::GladeXML
- Gtk2::SimpleList
- - xclip (optional, handles GUI clipboard extensions)
- - Spiffy (optional, handles GUI clipboard extensions)
+
+Some plugins needs extra perl modules. Install them from your package manager or via CPAN.
+You don't need them installed if you dont want to use that plugins.
+ - URI::Escape
+ - WWW::Mechanize 1.52 (newer version)
+ - JSON::PP
Some examples using package managers:
a) On Debian/Ubuntu
aptitude install libwww-mechanize-perl
- aptitude install libgtk2-gladexml-perl xclip libspiffy-perl # For the GUI
+ aptitude install libgtk2-gladexml-perl # For the GUI
aptitude install aview # For command-line captcha viewing
aptitude install imagemagick tesseract # For automatic captcha solving
-
+
+NOTE: when using Debian Lenny (the current stable), some plugins won't work due
+ to libwww-mechanize-perl not being up to date enough. You can install a
+ newer version using CPAN:
+ su -
+ cpan
+ # If you haven't run cpan before, you'll need to configure a bunch of
+ # settings. You can let CPAN configure them automatically for you.
+ # The next two commands are optional, in order to ensure you are
+ # running the most recent CPAN module.
+ upgrade CPAN
+ reload CPAN
+ # The next command installs the newer library. It'll need a bunch of
+ # dependencies, just install them along. Some dependencies are
+ # optional, which you can skip (some test modules, CPAN will tell
+ # you).
+ install WWW::Mechanize
+ # If you got an error "could not find unzip", use the following two
+ # commands.
+ o conf unzip unzip
+ o conf commit
+ Now Perl should prefer the newer installed libraries, which'll make
+ slimrat capable of using the previously failing plugins.
+
b) On FreeBSD
portinstall -Pp devel/p5-Getopt-Long devel/p5-Term-ANSIColor x11-toolkits/p5-Gtk2 x11-toolkits/p5-Gtk2-GladeXML x11-toolkits/p5-Gtk2-Ex-Simple-List www/p5-LWP-UserAgent-Determined www/p5-WWW-Mechanize
c) Manually (through CPAN)
perl -MCPAN -e 'install Getopt::Long, LWP::UserAgent, Term::ANSIColor, WWW::Mechanize';
- perl -MCPAN -e 'install Gtk2::GladeXML, Gtk2::SimpleList, Spiffy';
+ perl -MCPAN -e 'install Gtk2::GladeXML, Gtk2::SimpleList';
@@ -59,26 +86,16 @@ You can install Slimrat from AUR:
Gentoo
------
-1) Install layman and autounmask
+1) Install autounmask
Run the following commands if you haven't installed them already:
- emerge layman autounmask
-
-
-2) Add the "kde-testing" overlay
-
-Run the following command to add the "kde-testing" overlay, in which
-slimrat resides:
- layman -a kde-testing
-
-NOTE: for more information about overlays, have a look at the Gentoo
- documentation (http://www.gentoo.org/proj/en/overlays/userguide.xml)
+ emerge autounmask
-3) Install slimrat
+2) Install slimrat
a) Stable version:
- autounmask net-misc/slimrat-0.9.55
+ autounmask net-misc/slimrat-1.0
emerge slimrat
b) SVN version:
@@ -90,10 +107,10 @@ b) SVN version:
PLD linux
---------
-Currently no prebuilt RPM package is available, but the projects
+Currently no prebuilt RPM package is available, but the project's
CVS repository contains a SPEC file to generate one.
-1) Initialise the folder structure
+1) Initialize the folder structure
Do this by issuing the command
builder --init-rpm-dir
@@ -150,11 +167,11 @@ Windows
NOTE: slimrat has not been tested for use at non-Unix based operation
system, so many features (including the GUI) might not work. If you
- come across issues, we'd be happy to fix them so please fill apropriate
+ come across issues, we'd be happy to fix them so please fill appropriate
bug reports.
Unpack the tarball at a place you want to, you can use Winrar to open the archive.
-You will need to install the dependancies usign CPAN, or if available using the
+You will need to install the dependencies usign CPAN, or if available using the
package manager of the Perl distribution you are using (ie. "PPM" when using
ActiveState Perl).
View
27 README
@@ -1,32 +1,7 @@
Release notes
-------------
-1) Downloading to Unicode folders
-
-When using the GUI to download files, slimrat _will_ have difficulties doing so
-when your destination folder contains non-ASCII characters. Your filesystem
-might support them, but decoding the UTF8 string returned by the FileChooser
-widget isn't done properly yet. This will be fixed in the first bugfix release.
-
-
-2) Download resuming
-
-Though implemented and tested basically, users have reported resuming to be
-non-functional in combination with most plugins.
-
-
-3) Threading issues
-
-Slimrat now makes extensive use of threads, which seems to be error-prone,
-especially on older Perl releases and when closing slimrat down. If you happen
-to find reproducible cases though, please report them to our bug tracker!
-
-
-4) Proxy failure
-
-Failing proxies are _not_ detected, so when a proxy is down all URLs will
-consequently get marked as DEAD. This will get fixed (or worked around) as soon
-as a proper way to check whether the proxy is still alive is found.
+Not available in -trunk.
View
36 TODO
@@ -0,0 +1,36 @@
+# GENERAL #
+ - add links to running instance
+ slimrat --add --list list.txt http://link/1 http://link/2
+ - GUI: notifications Gtk2::Notify?
+ - INTERFACES:
+ * cli
+ * gui
+ * web
+ * ncurses
+ * jabber
+ - Statusbar: does not seem to be threadsafe.
+ Testcase: check group of links, then check a single one.
+ threads->create call blocks when statusbar enabled (really...)
+ - Download speed indication in GUI (blocker: statusbar)
+ - Rework the filename fetching, as some download provides doesn't display
+ the actual filename in the statuspage, but only upon final request.
+ How to handle resuming then?
+ - UTF-8 compatibility
+ - Make plugin path configurable, support a substitution for $RealBin (~ ->
+ home, x -> $RealBin)
+ or eventual, instead of plugins, folder with all slimrat data (plugin.pm,
+ toolbox.pm, etc)
+
+
+# VERSION SPECIFIC #
+
+* 1.1
+ - Unicode character fix
+ - captcha read: tesserat: convert fails sometimes, gif header corrupt (megaupload)
+ - GUI can't be closed when a thread is active
+ - LottaNZB style progress indication
+ http://www.lottanzb.org/wordless/wp-content/uploads/2009/02/04_main_window.png
+ - Proxy removal upon error?
+ - Improve resuming, JDownloader seems capable to resume all download
+ providers (Megaupload, Rapidshare, ...)
+
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
Oops, something went wrong.

0 comments on commit 3eac22a

Please sign in to comment.