shadlaws
de3f9edb88
Follow-on to #1935 - Ensure ffmpeg is executable, remove possible doubled "/".
...
- movie::find_ffmpeg - made it use is_executable instead of just file_exists.
- system::find_binary - removed possible doubled "/" in paths.
2013-03-09 15:59:23 +01:00
shadlaws
fd0051dab7
#2006 - Add system::mark_file_for_delete API to delete files at shutdown.
...
- added system::mark_file_for_delete to be called to mark a file
- added system::delete_marked_files to be called at shutdown to delete the list
- amended system::temp_filename to, by default, add the temp name to the list
- updated a few other places in code where this should be used
2013-02-17 23:19:35 +01:00
shadlaws
1d7f5e3ab1
#1935 - Make FFmpeg easier to install.
...
- system::find_binary - add Gallery's bin subdirectory to search
- system::find_binary - auto-fix permissions if found in Gallery's bin directory
2013-02-09 20:48:02 +01:00
Bharat Mediratta
d45a737779
Update copyright to 2013. Fixes #1953 .
2013-01-21 01:22:01 -05:00
Bharat Mediratta
bf2bb3e1ea
Update copyright to 2012. #1822
2012-02-27 09:48:23 -08:00
Chad Parry
46da011bf6
Remove a newline I accidentally introduced.
2011-05-04 17:51:00 -06:00
Chad Parry
d2331bf434
Simplified the temp_filename implementation and removed the mocks.
2011-05-04 17:48:25 -06:00
Chad Parry
0e844766ba
Change the signature of system::tempnam to something more appropriate for Gallery.
2011-04-30 17:45:44 -06:00
Chad Parry
5c9a3b3f39
Create a tempnam substitute that safely creates files with a given extension.
2011-04-30 17:45:44 -06:00
Bharat Mediratta
423daa52d5
Update copyright to 2011.
2011-01-21 23:01:06 -08:00
Bharat Mediratta
23eaec7063
Stop using "which" to find binaries. Create system::find_binary()
...
which traverses the $PATH and returns any executable binary of the
appropriate name that it can find. Fixes #1555 .
2011-01-10 15:49:15 -08:00