]> git.sesse.net Git - vlc/log
vlc
18 years agoAdd some playlist api functions
Clément Stenac [Sun, 12 Feb 2006 17:31:39 +0000 (17:31 +0000)]
Add some playlist api functions
Fix a bug in exceptions handling

18 years agoChange some test stuff
Clément Stenac [Sun, 12 Feb 2006 17:14:07 +0000 (17:14 +0000)]
Change some test stuff

18 years agoconfigure.ac: FFMPEG's libpostproc is now separated from libavcodec
Christophe Mutricy [Sun, 12 Feb 2006 17:04:45 +0000 (17:04 +0000)]
configure.ac: FFMPEG's libpostproc is now separated from libavcodec

18 years ago BeOS fix
Eric Petit [Sun, 12 Feb 2006 16:36:41 +0000 (16:36 +0000)]
 BeOS fix

18 years agoFixed ffmpeg contrib
Eric Petit [Sun, 12 Feb 2006 16:02:08 +0000 (16:02 +0000)]
Fixed ffmpeg contrib

18 years agoMove python mediacontrol bindings
Clément Stenac [Sun, 12 Feb 2006 15:48:57 +0000 (15:48 +0000)]
Move python mediacontrol bindings

18 years agoFix distcheck
Christophe Mutricy [Sun, 12 Feb 2006 15:30:40 +0000 (15:30 +0000)]
Fix distcheck

18 years agoFix refcount problems
Clément Stenac [Sun, 12 Feb 2006 15:28:56 +0000 (15:28 +0000)]
Fix refcount problems

18 years agoRemove debug
Clément Stenac [Sun, 12 Feb 2006 14:22:08 +0000 (14:22 +0000)]
Remove debug

18 years ago- Attempt to implement (To|From)Locale on MSVC
Rémi Denis-Courmont [Sun, 12 Feb 2006 11:39:00 +0000 (11:39 +0000)]
- Attempt to implement (To|From)Locale on MSVC
- Make (To|From)Locale a no-op on OSes always using UTF-8

18 years agoPlaytree: handle delete nicely
Clément Stenac [Sun, 12 Feb 2006 11:18:43 +0000 (11:18 +0000)]
Playtree: handle delete nicely

18 years agoRemove always true condition
Rémi Denis-Courmont [Sat, 11 Feb 2006 22:05:14 +0000 (22:05 +0000)]
Remove always true condition

18 years agoFix previous commit
Rémi Denis-Courmont [Sat, 11 Feb 2006 22:04:54 +0000 (22:04 +0000)]
Fix previous commit

18 years agoUnicode wrappers for opendir/readdir
Rémi Denis-Courmont [Sat, 11 Feb 2006 21:46:06 +0000 (21:46 +0000)]
Unicode wrappers for opendir/readdir

18 years ago* Do a proper UTF-16 -> UTF-8 conversion on ASF metadata, instead of ignoring one...
Derk-Jan Hartman [Sat, 11 Feb 2006 21:20:24 +0000 (21:20 +0000)]
* Do a proper UTF-16 -> UTF-8 conversion on ASF metadata, instead of ignoring one of it's bytes per char.
  Patch by demo-n <http://demo-n.e-neta.jp>. (Can i have your name for the THANKS file please?)

18 years ago* xtag parser improvements by Daniel Stranger.
Derk-Jan Hartman [Sat, 11 Feb 2006 20:41:57 +0000 (20:41 +0000)]
* xtag parser improvements by Daniel Stranger.

it now ignores
 - commments <!-- ... -->
 - processing instructions <? ... ?>
 - doctype declarations <!DOCTYPE ... >
and can handle
 - CDATA element content <![CDATA[ ... ]]>

18 years agowx/dialogs/*: Don't put labels in buttons if we have a wxID_FOO. So the buttons are...
Christophe Mutricy [Sat, 11 Feb 2006 20:17:20 +0000 (20:17 +0000)]
wx/dialogs/*: Don't put labels in buttons if we have a wxID_FOO. So the buttons are themable on GTK.

18 years agoFix invalid debug message
Rémi Denis-Courmont [Sat, 11 Feb 2006 18:40:13 +0000 (18:40 +0000)]
Fix invalid debug message

18 years agoAdd support for insert and delete in X11 skins
Clément Stenac [Sat, 11 Feb 2006 18:11:29 +0000 (18:11 +0000)]
Add support for insert and delete in X11 skins

18 years ago * skins2/win32/win32_loop.cpp: Added support for the Insert and Delete keys
Olivier Teulière [Sat, 11 Feb 2006 18:01:42 +0000 (18:01 +0000)]
 * skins2/win32/win32_loop.cpp: Added support for the Insert and Delete keys

18 years ago* Fix a \n bug and a memory bug in the SSA/subsdec.
Derk-Jan Hartman [Sat, 11 Feb 2006 17:55:28 +0000 (17:55 +0000)]
* Fix a \n bug and a memory bug in the SSA/subsdec.

18 years ago* enable multiple selections for streaming as well (closes #522) and put some news
Felix Paul Kühne [Sat, 11 Feb 2006 17:50:46 +0000 (17:50 +0000)]
* enable multiple selections for streaming as well (closes #522) and put some news

18 years ago* support for applying the same settings to multiple files in single run of the wizar...
Felix Paul Kühne [Sat, 11 Feb 2006 17:42:40 +0000 (17:42 +0000)]
* support for applying the same settings to multiple files in single run of the wizard (just select multiple items in the playlist)
    - note: due to this, the types of some objects in the main dictionary changed from NSString to NSArray. Additionally, this code does neither run nor compile on 10.2 anymore.
    - various loops are being performed during the run of the wizard now. Please shout if this is noticeably slower on older Macs
* solved a UTF-8-issue which prevented the usage of certain files which were added to the playlist previously
* optimised the existing code here and there
* make sure that all settings are kept for a session

Thanks to zorglub for the playlist-hint :)

18 years agoSupport opening of non ANSI filenames on Win32
Rémi Denis-Courmont [Sat, 11 Feb 2006 17:30:48 +0000 (17:30 +0000)]
Support opening of non ANSI filenames on Win32

18 years agoAdd some "title"s for image buttons.
Antoine Cellerier [Sat, 11 Feb 2006 17:28:27 +0000 (17:28 +0000)]
Add some "title"s for image buttons.

18 years agoFix typo
Rémi Denis-Courmont [Sat, 11 Feb 2006 17:27:09 +0000 (17:27 +0000)]
Fix typo

18 years agoUse vlc_fopen (access() or stat() would be more appropriate though)
Rémi Denis-Courmont [Sat, 11 Feb 2006 17:00:08 +0000 (17:00 +0000)]
Use vlc_fopen (access() or stat() would be more appropriate though)

18 years agoShould fix vlc-help.txt problem (untested) (Refs:#517)
Clément Stenac [Sat, 11 Feb 2006 16:10:43 +0000 (16:10 +0000)]
Should fix vlc-help.txt problem (untested) (Refs:#517)

18 years agoReposition the slider when expanding/retracting a node (Closes:#477)
Clément Stenac [Sat, 11 Feb 2006 15:49:24 +0000 (15:49 +0000)]
Reposition the slider when expanding/retracting a node (Closes:#477)

18 years agoonly round width and scale height accordingly
Clément Stenac [Sat, 11 Feb 2006 15:21:21 +0000 (15:21 +0000)]
only round width and scale height accordingly

18 years agovlc_fopen() wrapper including required file name conversion (refs #528, refs #543)
Rémi Denis-Courmont [Sat, 11 Feb 2006 15:13:56 +0000 (15:13 +0000)]
vlc_fopen() wrapper including required file name conversion (refs #528, refs #543)

18 years agoDon't compile dead code on Win32
Rémi Denis-Courmont [Sat, 11 Feb 2006 15:12:06 +0000 (15:12 +0000)]
Don't compile dead code on Win32

18 years agoUse more common CP1252 rather than Latin-9 as fallback charset
Rémi Denis-Courmont [Sat, 11 Feb 2006 14:53:44 +0000 (14:53 +0000)]
Use more common CP1252 rather than Latin-9 as fallback charset

18 years agoRound scaled sizes to 16 (Closes:#524)
Clément Stenac [Sat, 11 Feb 2006 14:50:37 +0000 (14:50 +0000)]
Round scaled sizes to 16 (Closes:#524)

18 years agoDon't crash in record filter (Closes:#542)
Clément Stenac [Sat, 11 Feb 2006 14:26:53 +0000 (14:26 +0000)]
Don't crash in record filter (Closes:#542)

18 years agoDon't make image when we are not interested in the item
Clément Stenac [Sat, 11 Feb 2006 14:14:18 +0000 (14:14 +0000)]
Don't make image when we are not interested in the item

18 years agoHandle Page up / Page down (Refs:#477)
Clément Stenac [Sat, 11 Feb 2006 14:08:44 +0000 (14:08 +0000)]
Handle Page up / Page down (Refs:#477)

18 years agoHandle TTL in SDP properly (IPv4 at least) for raw UDP (closes #404)
Rémi Denis-Courmont [Sat, 11 Feb 2006 13:40:43 +0000 (13:40 +0000)]
Handle TTL in SDP properly (IPv4 at least) for raw UDP (closes #404)

18 years ago- Fix typo in previous commit
Rémi Denis-Courmont [Sat, 11 Feb 2006 13:39:03 +0000 (13:39 +0000)]
- Fix typo in previous commit
- Enforce a default TTL value (one) in SDP if there is none - refs #404
  (it should at least be fine for IPv4 usage)

18 years agoSimplify [12964]
Rémi Denis-Courmont [Sat, 11 Feb 2006 11:58:34 +0000 (11:58 +0000)]
Simplify [12964]

18 years ago* added an option to keep the selections in the wizard for a single session. It's...
Felix Paul Kühne [Sat, 11 Feb 2006 11:34:31 +0000 (11:34 +0000)]
* added an option to keep the selections in the wizard for a single session. It's enabled by default. (refs #522)

18 years agoSAP hop limit should always be 255 as per its specification - refs #404
Rémi Denis-Courmont [Sat, 11 Feb 2006 10:49:30 +0000 (10:49 +0000)]
SAP hop limit should always be 255 as per its specification - refs #404

18 years agoGood point Md - use 0 (ie. not set) as default TTL rather than 1 (refs #404)
Rémi Denis-Courmont [Sat, 11 Feb 2006 10:47:42 +0000 (10:47 +0000)]
Good point Md - use 0 (ie. not set) as default TTL rather than 1 (refs #404)

18 years agoImplement IPv6 multicast output interface selection (closes #491)
Rémi Denis-Courmont [Sat, 11 Feb 2006 10:42:48 +0000 (10:42 +0000)]
Implement IPv6 multicast output interface selection (closes #491)

18 years ago* Improved renderering of YUVA/P onto YUV variants. refs #539
Derk-Jan Hartman [Sat, 11 Feb 2006 03:04:42 +0000 (03:04 +0000)]
* Improved renderering of YUVA/P onto YUV variants. refs #539
  I420 still not fixed for this bug.

  A simple average of the UV pixels, wasn't giving satisfying results, so I added a bit more logic, to decide based on the transparency value if UY averaging is desireable for the pixels. Produces nice results now, with a very slight shadow somtimes to the right side of the images/glyphs. Looks quite good.

18 years ago* Fix the duration of the dvdread module. refs #198.
Derk-Jan Hartman [Sat, 11 Feb 2006 01:37:30 +0000 (01:37 +0000)]
* Fix the duration of the dvdread module. refs #198.
  Now duration is accurate, but current time is still block based, so on VBR discs the duration of a second may have some weird variations. Getting accurate time is possible (see what was reverted in [12862]), but this will break the relative SET_TIME (might actually go seeking in the wrong direction for instance). The correct fix here is to expand dvdread with a method that checks the TMAPTI IFO table of a Title, to find what block approximately goes with a certain time. (the TMAPTI table is usually in .5 secs interpolation might possibly be required as well) As a backup an estimate can be made using the ADMAP table.

The behaviour of the dvdread module is now equal to that of the dvdnav module when it comes to time and seeking.

18 years agoDon't invalidate selection on item change (Refs:#477)
Clément Stenac [Sat, 11 Feb 2006 00:07:40 +0000 (00:07 +0000)]
Don't invalidate selection on item change (Refs:#477)

18 years ago* Don't put huge pictures on the stack. It is limited on some platforms. use malloc.
Derk-Jan Hartman [Sat, 11 Feb 2006 00:01:55 +0000 (00:01 +0000)]
* Don't put huge pictures on the stack. It is limited on some platforms. use malloc.
* Use the correct pitch values when reading from and writing to pictures (out pitch can differ from in pitch, and there is also visible pitch and visible lines.

18 years agoFix playtree deletion
Clément Stenac [Fri, 10 Feb 2006 23:39:53 +0000 (23:39 +0000)]
Fix playtree deletion
Should support deletion through the delete key. But the delete key is not recognized par X11 skins2.

18 years agoRevert brocken commit [14215]
Christophe Mutricy [Fri, 10 Feb 2006 22:56:32 +0000 (22:56 +0000)]
Revert brocken commit [14215]

18 years agoUnbreack distcheck. First step
Christophe Mutricy [Fri, 10 Feb 2006 22:24:20 +0000 (22:24 +0000)]
Unbreack distcheck. First step

18 years ago* Fix issues with the deinterlace filter that was using the source picture pitch...
Derk-Jan Hartman [Fri, 10 Feb 2006 22:03:34 +0000 (22:03 +0000)]
* Fix issues with the deinterlace filter that was using the source picture pitch when writing to the output picture.

18 years ago* fprintf -> msg_Dbg
Derk-Jan Hartman [Fri, 10 Feb 2006 21:46:17 +0000 (21:46 +0000)]
* fprintf -> msg_Dbg

18 years agoDisable broken stuff (Refs:#459)
Clément Stenac [Fri, 10 Feb 2006 21:14:12 +0000 (21:14 +0000)]
Disable broken stuff (Refs:#459)

18 years ago* clean up (mostly replacements of nestings of stringByAppendingString by stringWithF...
Felix Paul Kühne [Fri, 10 Feb 2006 19:56:59 +0000 (19:56 +0000)]
* clean up (mostly replacements of nestings of stringByAppendingString by stringWithFormat)
* removed the stupid "wizard help window" and replaced the help sheets with calls of NSBeginInformationalAlertSheet. This might be beautified with NSAlerts in the future, since we don't care for 10.2 anymore.

18 years agoFix breakage of other RTSP clients
Jean-Paul Saman [Fri, 10 Feb 2006 19:53:09 +0000 (19:53 +0000)]
Fix breakage of other RTSP clients

18 years agoUse correct Transport answer
Jean-Paul Saman [Fri, 10 Feb 2006 17:24:25 +0000 (17:24 +0000)]
Use correct Transport answer

18 years agoconfigure.ac: Test glide even when the user specify it
Christophe Mutricy [Fri, 10 Feb 2006 17:24:14 +0000 (17:24 +0000)]
configure.ac: Test glide even when the user specify it

18 years ago- Use OS default TTL when not overriden
Rémi Denis-Courmont [Fri, 10 Feb 2006 16:46:07 +0000 (16:46 +0000)]
- Use OS default TTL when not overriden
- Clean up
(refs #404)

18 years agoDon't enable broadcast on IPv6 sockets since IPv6 does not do broadcast anyhow
Rémi Denis-Courmont [Fri, 10 Feb 2006 16:34:41 +0000 (16:34 +0000)]
Don't enable broadcast on IPv6 sockets since IPv6 does not do broadcast anyhow

18 years agoAdd esd and arts to the AOUT_PLUGINS define. If this break everything i'll
Antoine Cellerier [Fri, 10 Feb 2006 16:30:20 +0000 (16:30 +0000)]
Add esd and arts to the AOUT_PLUGINS define. If this break everything i'll
have to remove it... but i doubt it.

18 years agogcc 4.1 compile fix from marvin24 # gmx.de
Rémi Denis-Courmont [Fri, 10 Feb 2006 16:25:57 +0000 (16:25 +0000)]
gcc 4.1 compile fix from marvin24 # gmx.de

18 years agomodules/misc/rtsp.c: implement support for raw udp transport for muxed streams
Sigmund Augdal Helberg [Fri, 10 Feb 2006 15:05:45 +0000 (15:05 +0000)]
modules/misc/rtsp.c: implement support for raw udp transport for muxed streams
also replaces x-playnow hack with a slightly less ugly hack

vlc vod server can now serve about 5 seconds of video to amino stbs

18 years agoAlso add support for x-playNow in RtspCallback.
Jean-Paul Saman [Fri, 10 Feb 2006 14:51:10 +0000 (14:51 +0000)]
Also add support for x-playNow in RtspCallback.

18 years agosanity check
Jean-Paul Saman [Fri, 10 Feb 2006 14:44:19 +0000 (14:44 +0000)]
sanity check

18 years agoIndentation and coding style fixes
Jean-Paul Saman [Fri, 10 Feb 2006 14:43:05 +0000 (14:43 +0000)]
Indentation and coding style fixes

18 years agoRespond to x-playNow option in RTSP SETUP request. Did some indentation fixes too.
Jean-Paul Saman [Fri, 10 Feb 2006 13:51:11 +0000 (13:51 +0000)]
Respond to x-playNow option in RTSP SETUP request. Did some indentation fixes too.

18 years ago* disable i420_yuy2_mmx on Darwin, since the MMX seems to be incorrect.
Derk-Jan Hartman [Fri, 10 Feb 2006 12:58:55 +0000 (12:58 +0000)]
* disable i420_yuy2_mmx on Darwin, since the MMX seems to be incorrect.

18 years ago* Fix the QT video decoder. refs #345
Derk-Jan Hartman [Fri, 10 Feb 2006 02:53:57 +0000 (02:53 +0000)]
* Fix the QT video decoder. refs #345

18 years agoRemove debug.
Christophe Mutricy [Thu, 9 Feb 2006 12:31:17 +0000 (12:31 +0000)]
Remove debug.

18 years agoCheck for AF_INET6 all the time
Rémi Denis-Courmont [Thu, 9 Feb 2006 12:06:02 +0000 (12:06 +0000)]
Check for AF_INET6 all the time

18 years agoAdd comment about the fact that lines begining with a # are comments in the
Antoine Cellerier [Wed, 8 Feb 2006 16:26:56 +0000 (16:26 +0000)]
Add comment about the fact that lines begining with a # are comments in the
vlcrc file. This might seem obvious, but many people on the forums don't
seem to understand that.

18 years agoaccess_output/udp.c: Attach the writer thread. Fixes missing headers.
Sigmund Augdal Helberg [Wed, 8 Feb 2006 10:39:33 +0000 (10:39 +0000)]
access_output/udp.c: Attach the writer thread. Fixes missing headers.

18 years agoFix message advice (use description.widgets instead of only description)
Jérome Decoodt [Wed, 8 Feb 2006 10:33:46 +0000 (10:33 +0000)]
Fix message advice (use description.widgets instead of only description)

18 years agoTypo.
Christophe Mutricy [Tue, 7 Feb 2006 23:03:45 +0000 (23:03 +0000)]
Typo.

18 years ago* get/set/toggle fullscreen
Clément Stenac [Tue, 7 Feb 2006 21:08:32 +0000 (21:08 +0000)]
* get/set/toggle fullscreen
* Fix a bug in playlist_play

(Refs:#457)

18 years agoaccess_output/udp.c: use block_Fifo for the empty blocks list. Simplifies code a lot
Sigmund Augdal Helberg [Tue, 7 Feb 2006 20:41:17 +0000 (20:41 +0000)]
access_output/udp.c: use block_Fifo for the empty blocks list. Simplifies code a lot

18 years agolooks like this was retrocommited :)
Antoine Cellerier [Tue, 7 Feb 2006 17:08:18 +0000 (17:08 +0000)]
looks like this was retrocommited :)

18 years agoAll CRLF fixes
Rémi Denis-Courmont [Tue, 7 Feb 2006 16:37:40 +0000 (16:37 +0000)]
All CRLF fixes

18 years agoSet EOL style to avoid further CRLF issues
Rémi Denis-Courmont [Tue, 7 Feb 2006 16:24:30 +0000 (16:24 +0000)]
Set EOL style to avoid further CRLF issues

18 years ago* Fix win32 text renderer.
Derk-Jan Hartman [Tue, 7 Feb 2006 16:07:58 +0000 (16:07 +0000)]
* Fix win32 text renderer.

18 years ago* Introduced a new text_style_t
Derk-Jan Hartman [Tue, 7 Feb 2006 15:18:06 +0000 (15:18 +0000)]
* Introduced a new text_style_t
* basic support for SSA formatted subs. (disable with --no-subsdec-formatted option)
* changes to freetype renderer to support the font color, size and alpha options of text_style_t (other options are possible, just not implemented yet. Full text_style_t support requires a more advanced renderer though. )
* changes to modules to support text_style_t instead of the old sub options.
* Some changes to subsdec to only iconv to UTF-8 if source is !UTF-8.

refs #82

not supported are style runs (styles on substrings).

18 years ago* dos2unix of vlc_osd.h
Derk-Jan Hartman [Tue, 7 Feb 2006 15:09:21 +0000 (15:09 +0000)]
* dos2unix of vlc_osd.h

18 years agominor corrections
Rocky Bernstein [Mon, 6 Feb 2006 15:30:30 +0000 (15:30 +0000)]
minor corrections

18 years agoRevise. perhaps a little more detail too.
Rocky Bernstein [Mon, 6 Feb 2006 12:41:12 +0000 (12:41 +0000)]
Revise. perhaps a little more detail too.

18 years agoRemove useless lines (which came from a missunderstanding of how it worked)
Antoine Cellerier [Mon, 6 Feb 2006 12:07:40 +0000 (12:07 +0000)]
Remove useless lines (which came from a missunderstanding of how it worked)

18 years agosout-standard-url is deprecated
Antoine Cellerier [Sun, 5 Feb 2006 22:14:00 +0000 (22:14 +0000)]
sout-standard-url is deprecated

18 years agosout-standard-url is deprecated
Antoine Cellerier [Sun, 5 Feb 2006 22:02:12 +0000 (22:02 +0000)]
sout-standard-url is deprecated

18 years agoDeprecated options handling
Antoine Cellerier [Sun, 5 Feb 2006 22:01:23 +0000 (22:01 +0000)]
Deprecated options handling

18 years agoFixes subtitles detection from within folders with non-ASCII names when the local...
Rémi Denis-Courmont [Sun, 5 Feb 2006 20:52:29 +0000 (20:52 +0000)]
Fixes subtitles detection from within folders with non-ASCII names when the local encoding is not UTF-8 (closes #536)

18 years agoShow sliders for stream with no time info but position info (Closes:#484)
Clément Stenac [Sun, 5 Feb 2006 13:38:05 +0000 (13:38 +0000)]
Show sliders for stream with no time info but position info (Closes:#484)

18 years ago* Added YVYU blending and fixed UYVY blending.
Derk-Jan Hartman [Sun, 5 Feb 2006 12:47:47 +0000 (12:47 +0000)]
* Added YVYU blending and fixed UYVY blending.

18 years ago* Correct MMX version of UYVY chroma conversion. the UV ordered incorrectly. (untested)
Derk-Jan Hartman [Sun, 5 Feb 2006 12:43:38 +0000 (12:43 +0000)]
* Correct MMX version of UYVY chroma conversion. the UV ordered incorrectly. (untested)

18 years agoAdd a "Close" button to the errors window and fix the "Stop showing errors" string
Clément Stenac [Sun, 5 Feb 2006 11:09:13 +0000 (11:09 +0000)]
Add a "Close" button to the errors window and fix the "Stop showing errors" string

18 years agoSome WX VLM dialog improvements
Clément Stenac [Sun, 5 Feb 2006 11:05:21 +0000 (11:05 +0000)]
Some WX VLM dialog improvements

18 years ago* Hopefully added UYVY blending for YUVA and YUVP. (Untested)
Derk-Jan Hartman [Sat, 4 Feb 2006 23:46:28 +0000 (23:46 +0000)]
* Hopefully added UYVY blending for YUVA and YUVP. (Untested)

18 years agoInclude the bitmaps in tarball
Christophe Mutricy [Sat, 4 Feb 2006 23:26:40 +0000 (23:26 +0000)]
Include the bitmaps in tarball

18 years agoBetter fix
Clément Stenac [Sat, 4 Feb 2006 22:57:01 +0000 (22:57 +0000)]
Better fix

18 years ago* Use UYVY fourcc instead of Y422, since i believe it's more common.
Derk-Jan Hartman [Sat, 4 Feb 2006 22:56:34 +0000 (22:56 +0000)]
* Use UYVY fourcc instead of Y422, since i believe it's more common.

18 years agodisplay downloaded size / total size when downloading
Antoine Cellerier [Sat, 4 Feb 2006 22:53:09 +0000 (22:53 +0000)]
display downloaded size / total size when downloading
The download specific functions should maybe be exported (i don't know if
other modules would need to download files to disk)