]> git.decadent.org.uk Git - videolink.git/log
videolink.git
16 years agoUpdated for removal of Mozilla 1.7 support.
Ben Hutchings [Sun, 3 Dec 2006 01:06:48 +0000 (01:06 +0000)]
Updated for removal of Mozilla 1.7 support.

16 years agoSplit videolink_window into an ABC and two concrete classes for the two modes of...
Ben Hutchings [Sat, 2 Dec 2006 20:18:18 +0000 (20:18 +0000)]
Split videolink_window into an ABC and two concrete classes for the two modes of operation.
Removed code for disabling scroll-bars since it's redundant with a style-sheet rule.

16 years agoRemoved support for Mozilla 1.7.
Ben Hutchings [Sat, 2 Dec 2006 19:50:00 +0000 (19:50 +0000)]
Removed support for Mozilla 1.7.

16 years agoAdded entries for 1.1 and 1.1-1. 1.1 1.1-1
Ben Hutchings [Thu, 30 Nov 2006 02:54:03 +0000 (02:54 +0000)]
Added entries for 1.1 and 1.1-1.

16 years agoRewrote navigation code generator to support menus spread across multiple domains.
Ben Hutchings [Thu, 30 Nov 2006 02:51:14 +0000 (02:51 +0000)]
Rewrote navigation code generator to support menus spread across multiple domains.
This raises the maximum number of menus to 999 (would be 1023 but we only use 3 digits in temporary file serial numbers).

16 years agoCorrected formula in menu_duration_seconds. It looks like any sufficiently large...
Ben Hutchings [Thu, 30 Nov 2006 02:38:56 +0000 (02:38 +0000)]
Corrected formula in menu_duration_seconds.  It looks like any sufficiently large return value will actually work, but let's try the right one!

16 years agoMoved dvdauthor quirk out of dvd.hpp.
Ben Hutchings [Wed, 1 Nov 2006 01:32:40 +0000 (01:32 +0000)]
Moved dvdauthor quirk out of dvd.hpp.

16 years agoPlaced DVD limit values consistently in dvd.hpp.
Ben Hutchings [Wed, 1 Nov 2006 01:19:26 +0000 (01:19 +0000)]
Placed DVD limit values consistently in dvd.hpp.
Made limit checking consistent and placed it all in generate_dvd.cpp.

16 years agoUpdated Standards-Version to 3.7.2. No changes are required to comply with the new... 1.0-1
Ben Hutchings [Sun, 15 Oct 2006 01:07:55 +0000 (01:07 +0000)]
Updated Standards-Version to 3.7.2. No changes are required to comply with the new version.

16 years agoReleased version 1.0. Hurrah! 1.0
Ben Hutchings [Sun, 15 Oct 2006 00:58:32 +0000 (00:58 +0000)]
Released version 1.0. Hurrah!

16 years agoAdded more standard headers that are strictly required.
Ben Hutchings [Sun, 15 Oct 2006 00:57:16 +0000 (00:57 +0000)]
Added more standard headers that are strictly required.
Added explicit input frame rate to ffmpeg command line since the assumed default is 25 fps and *not* the output frame rate.
Changed menu duration to 12 frames regardless of frame rate since this *should* be legal at 29.97 fps and it seems to avoid some problematic rounding errors.

16 years agoIncreased number of frames in menu, defined a cell covering each menu, and moved...
Ben Hutchings [Sat, 14 Oct 2006 02:23:02 +0000 (02:23 +0000)]
Increased number of frames in menu, defined a cell covering each menu, and moved still time from menu PGCs to cells. This should result in more reliable freeze-framing.

16 years agoAdded auto-cleaning temporary directories.
Ben Hutchings [Sat, 14 Oct 2006 02:03:55 +0000 (02:03 +0000)]
Added auto-cleaning temporary directories.
Made use of them to give temporary files regular names; this is useful for debugging and for the next change.

16 years agoMoved generation of menu VOBs from videolink_window to dvd_generator.
Ben Hutchings [Sat, 14 Oct 2006 01:03:15 +0000 (01:03 +0000)]
Moved generation of menu VOBs from videolink_window to dvd_generator.
Fixed operation of "top menu" or "title menu" button.
Added explicit aspect ratio to menu streams encoded with ffmpeg, since some players will default to 16:9 otherwise.
Fixed off-by-one error in link coordinates passed to spumux.
Changed default padding for the body element to 10% of frame dimensions, a common rule for the title-safe area.
Added explicit assignment of actions to direction buttons since dvdauthor's policy doesn't seem to work that well.
Documented limit of 119 menus discovered by Mark Burton.
Fixed an occasional problem of links appearing in their hover state initially due to the pointer being in the middle of the virtual framebuffer.

16 years agoReleased version 0.10 and version 0.10-1. 0.10 0.10-1
Ben Hutchings [Sat, 14 Oct 2006 00:54:14 +0000 (00:54 +0000)]
Released version 0.10 and version 0.10-1.

16 years agoMade source dependency generation more efficient.
Ben Hutchings [Sat, 14 Oct 2006 00:53:48 +0000 (00:53 +0000)]
Made source dependency generation more efficient.

16 years agoStopped setting assumed screen resolution in Mozilla/XULRunner 1.8 since the browser...
Ben Hutchings [Sat, 14 Oct 2006 00:53:28 +0000 (00:53 +0000)]
Stopped setting assumed screen resolution in Mozilla/XULRunner 1.8 since the browser uses it wrongly.
Documented this problem.

16 years agoCorrected link colour style rules to apply only to links.
Ben Hutchings [Sat, 14 Oct 2006 00:52:59 +0000 (00:52 +0000)]
Corrected link colour style rules to apply only to links.

16 years agoChanged style-sheet application in Mozila/XULRunner 1.8 to override built-in preferen...
Ben Hutchings [Sat, 14 Oct 2006 00:52:28 +0000 (00:52 +0000)]
Changed style-sheet application in Mozila/XULRunner 1.8 to override built-in preferences, fixing link colours.

16 years agoRemoved obsolete list of docs.
Ben Hutchings [Sat, 14 Oct 2006 00:49:01 +0000 (00:49 +0000)]
Removed obsolete list of docs.

16 years agoRemoved strict version dependency on libxul0d based on an assurances from Mike Hommey... 0.9-2
Ben Hutchings [Sat, 14 Oct 2006 00:47:31 +0000 (00:47 +0000)]
Removed strict version dependency on libxul0d based on an assurances from Mike Hommey (bug #385566).

16 years agoAdded mention of preferences bug fix. 0.9 0.9-1
Ben Hutchings [Wed, 16 Aug 2006 01:05:04 +0000 (01:05 +0000)]
Added mention of preferences bug fix.

16 years agoUpdated documentation.
Ben Hutchings [Wed, 16 Aug 2006 00:51:27 +0000 (00:51 +0000)]
Updated documentation.

16 years agoCorrected shared library dependencies when building with XULRunner (I hope).
Ben Hutchings [Wed, 16 Aug 2006 00:47:06 +0000 (00:47 +0000)]
Corrected shared library dependencies when building with XULRunner (I hope).

16 years agoChanged set_browser_preferences to use the "user" branch rather than the "default...
Ben Hutchings [Wed, 16 Aug 2006 00:18:14 +0000 (00:18 +0000)]
Changed set_browser_preferences to use the "user" branch rather than the "default" branch, where changes are mostly ignored.
Overrode preference style rules on Mozilla 1.8 by increasing priority of our agent stylesheet and setting browser.underline_anchors=false.

16 years agoReinstated lost dh_clean.
Ben Hutchings [Tue, 15 Aug 2006 00:35:23 +0000 (00:35 +0000)]
Reinstated lost dh_clean.

16 years agoUpdated for Mozilla 1.8 and XULRunner.
Ben Hutchings [Tue, 15 Aug 2006 00:35:02 +0000 (00:35 +0000)]
Updated for Mozilla 1.8 and XULRunner.

16 years agoMade proper use of DESTDIR for installation.
Ben Hutchings [Tue, 15 Aug 2006 00:04:19 +0000 (00:04 +0000)]
Made proper use of DESTDIR for installation.
Moved stylesheet under /usr/share.
Made documentation installation independent of Debian package.
Removed bogus distclean target.
Enabled and fixed more warnings.

16 years agoNoted latest changes. 0.8 0.8-1
Ben Hutchings [Thu, 10 Aug 2006 21:17:19 +0000 (21:17 +0000)]
Noted latest changes.

16 years agoChanged package description to match manual page.
Ben Hutchings [Thu, 10 Aug 2006 21:02:28 +0000 (21:02 +0000)]
Changed package description to match manual page.

16 years agoAdded Debian-specific copyright file.
Ben Hutchings [Thu, 10 Aug 2006 20:55:13 +0000 (20:55 +0000)]
Added Debian-specific copyright file.

16 years agoMade various small improvements.
Ben Hutchings [Thu, 10 Aug 2006 20:54:22 +0000 (20:54 +0000)]
Made various small improvements.

16 years agoRemoved dependency on netpbm in case ffmpeg is used.
Ben Hutchings [Thu, 10 Aug 2006 01:53:10 +0000 (01:53 +0000)]
Removed dependency on netpbm in case ffmpeg is used.
Made xfonts-base to a recommendation since fonts can be loaded from a remote server and lintian complained.

16 years agoFix file and directory permissions.
Ben Hutchings [Thu, 10 Aug 2006 01:51:31 +0000 (01:51 +0000)]
Fix file and directory permissions.

16 years agoChanged Mozilla dependency to allow for binary-only rebuilds.
Ben Hutchings [Thu, 10 Aug 2006 01:43:17 +0000 (01:43 +0000)]
Changed Mozilla dependency to allow for binary-only rebuilds.

16 years agoAdded manual page.
Ben Hutchings [Thu, 10 Aug 2006 01:37:12 +0000 (01:37 +0000)]
Added manual page.

16 years agoAdded entry for 0.8.
Ben Hutchings [Wed, 9 Aug 2006 01:53:07 +0000 (01:53 +0000)]
Added entry for 0.8.
Added Debian-specific changelog starting with 0.8-1.

16 years agoMoved to allow for separate "upstream" and Debian packages.
Ben Hutchings [Wed, 9 Aug 2006 01:49:16 +0000 (01:49 +0000)]
Moved to allow for separate "upstream" and Debian packages.

16 years agoRenamed package due to name clash.
Ben Hutchings [Wed, 9 Aug 2006 01:42:07 +0000 (01:42 +0000)]
Renamed package due to name clash.

16 years agoChanged video standard nomenclature to be completely pedantic.
Ben Hutchings [Mon, 7 Aug 2006 23:34:25 +0000 (23:34 +0000)]
Changed video standard nomenclature to be completely pedantic.

16 years agoFixed initial reference count for null_prompt_service instances so that fatal error...
Ben Hutchings [Mon, 7 Aug 2006 23:11:53 +0000 (23:11 +0000)]
Fixed initial reference count for null_prompt_service instances so that fatal error reports are not followed by a crash.
Corrected abuse of glib/gtk event loop revealed by fatal error report for initial URL.

16 years agoImplemented jumping to chapters by setting a register in each button linking to a...
Ben Hutchings [Sun, 6 Aug 2006 12:19:38 +0000 (12:19 +0000)]
Implemented jumping to chapters by setting a register in each button linking to a title and adding a jump table to each title's pre routine.
Changed index variable naming to use _index suffix if 0-based and _num suffix if 1-based.

16 years agoBrought documentation up to date.
Ben Hutchings [Sun, 6 Aug 2006 11:51:18 +0000 (11:51 +0000)]
Brought documentation up to date.
Changed my email address.

16 years agoUse ffmpeg by default since it seems to work if we use pause correctly. 0.7
Ben Hutchings [Fri, 30 Jun 2006 23:57:29 +0000 (23:57 +0000)]
Use ffmpeg by default since it seems to work if we use pause correctly.

16 years agoDon't delete directory timestamp files.
Ben Hutchings [Thu, 29 Jun 2006 01:15:09 +0000 (01:15 +0000)]
Don't delete directory timestamp files.

16 years agoChanged to ensure menus are displayed indefinitely.
Ben Hutchings [Sun, 11 Jun 2006 19:16:18 +0000 (19:16 +0000)]
Changed to ensure menus are displayed indefinitely.

16 years agoCorrected naming of video standards.
Ben Hutchings [Wed, 7 Jun 2006 20:57:43 +0000 (20:57 +0000)]
Corrected naming of video standards.

16 years agoFixed typo.
Ben Hutchings [Fri, 19 May 2006 18:57:56 +0000 (18:57 +0000)]
Fixed typo.

16 years agoRemoved version requirement on mjpegtools.
Ben Hutchings [Fri, 19 May 2006 17:50:32 +0000 (17:50 +0000)]
Removed version requirement on mjpegtools.

16 years agoBrought up to date.
Ben Hutchings [Thu, 18 May 2006 22:11:44 +0000 (22:11 +0000)]
Brought up to date.

16 years agoChanged Homepage pseudo-header to match convention.
Ben Hutchings [Thu, 18 May 2006 22:11:34 +0000 (22:11 +0000)]
Changed Homepage pseudo-header to match convention.

16 years agoAdded another attempt at removing scroll bars.
Ben Hutchings [Thu, 18 May 2006 22:10:03 +0000 (22:10 +0000)]
Added another attempt at removing scroll bars.

16 years agoRemoved broken chapter linking code.
Ben Hutchings [Thu, 18 May 2006 22:09:41 +0000 (22:09 +0000)]
Removed broken chapter linking code.

16 years agoAdded support for mjpegtools 1.8 (now the default) and experimental support for ffmpe...
Ben Hutchings [Thu, 18 May 2006 22:09:14 +0000 (22:09 +0000)]
Added support for mjpegtools 1.8 (now the default) and experimental support for ffmpeg as MPEG encoders.

16 years agoAdded debugging option to keep temporary files.
Ben Hutchings [Sat, 29 Apr 2006 16:54:15 +0000 (16:54 +0000)]
Added debugging option to keep temporary files.

16 years agoMoved object and dependency files into a temporary subdirectory.
Ben Hutchings [Sun, 9 Apr 2006 21:34:09 +0000 (21:34 +0000)]
Moved object and dependency files into a temporary subdirectory.

16 years agoAdded hack to treat alert prompts as fatal errors.
Ben Hutchings [Sun, 9 Apr 2006 21:14:58 +0000 (21:14 +0000)]
Added hack to treat alert prompts as fatal errors.

16 years agoAdded hack to treat alert prompts as fatal errors.
Ben Hutchings [Wed, 5 Apr 2006 23:29:37 +0000 (23:29 +0000)]
Added hack to treat alert prompts as fatal errors.
Added flag for successful finish to webdvd_window and used it to decide the exit code.

16 years agoAdded -ansi to C{,XX}FLAGS to disable non-standard names.
Ben Hutchings [Wed, 5 Apr 2006 23:29:21 +0000 (23:29 +0000)]
Added -ansi to C{,XX}FLAGS to disable non-standard names.

16 years agoDisabled prompts in batch processing mode.
Ben Hutchings [Sat, 11 Mar 2006 01:28:27 +0000 (01:28 +0000)]
Disabled prompts in batch processing mode.

16 years agoRemoved mistaken requirement for video aspect specification (dvdauthor detects this...
Ben Hutchings [Mon, 6 Mar 2006 19:53:16 +0000 (19:53 +0000)]
Removed mistaken requirement for video aspect specification (dvdauthor detects this) and downgraded requirement for language specification.

16 years agoAdded various notes and updated copyright date.
Ben Hutchings [Mon, 6 Mar 2006 19:51:09 +0000 (19:51 +0000)]
Added various notes and updated copyright date.

16 years agoMoved xml_escape into a separate file.
Ben Hutchings [Sun, 26 Feb 2006 19:45:47 +0000 (19:45 +0000)]
Moved xml_escape into a separate file.
Changed voblist implementation to expect a real XML document and to resolve VOB filenames relative to the voblist.

16 years agoSeparated out dvd_contents and generate_dvd.
Ben Hutchings [Sat, 25 Feb 2006 10:00:45 +0000 (10:00 +0000)]
Separated out dvd_contents and generate_dvd.

16 years agoSeparated out dvd_contents and generate_dvd.
Ben Hutchings [Mon, 20 Feb 2006 01:30:20 +0000 (01:30 +0000)]
Separated out dvd_contents and generate_dvd.

16 years agoUpdated comments based on information from "Unofficial DVD Specifications".
Ben Hutchings [Mon, 20 Feb 2006 01:12:21 +0000 (01:12 +0000)]
Updated comments based on information from "Unofficial DVD Specifications".

16 years agoUpdated TODO, adding explicit priorities. 0.6
Ben Hutchings [Sat, 18 Feb 2006 19:00:41 +0000 (19:00 +0000)]
Updated TODO, adding explicit priorities.

16 years agoUndo previous brain-damage (r176).
Ben Hutchings [Fri, 30 Dec 2005 04:17:05 +0000 (04:17 +0000)]
Undo previous brain-damage (r176).

16 years agoRemoved hacky svn-build rule and enabled use of a generic script to call svn-buildpac...
Ben Hutchings [Wed, 28 Dec 2005 19:39:27 +0000 (19:39 +0000)]
Removed hacky svn-build rule and enabled use of a generic script to call svn-buildpackage and pbuilder.

16 years agoBrought documentation up-to-date.
Ben Hutchings [Sun, 25 Dec 2005 00:14:29 +0000 (00:14 +0000)]
Brought documentation up-to-date.

16 years agoCorrected off-by-one error in use of target button numbers.
Ben Hutchings [Sat, 24 Dec 2005 23:52:12 +0000 (23:52 +0000)]
Corrected off-by-one error in use of target button numbers.

16 years agoCorrected handling of fragments. Added support for linking to chapters using fragments.
Ben Hutchings [Sat, 24 Dec 2005 23:47:20 +0000 (23:47 +0000)]
Corrected handling of fragments. Added support for linking to chapters using fragments.

16 years agoChanged webdvd_window::generate_dvd() into a free function.
Ben Hutchings [Wed, 21 Dec 2005 02:41:49 +0000 (02:41 +0000)]
Changed webdvd_window::generate_dvd() into a free function.

16 years agoReplaced multiple is-browser-busy tests with a member function.
Ben Hutchings [Wed, 21 Dec 2005 02:34:54 +0000 (02:34 +0000)]
Replaced multiple is-browser-busy tests with a member function.

16 years agoAdded code to set the display resolution assumed by Mozilla.
Ben Hutchings [Wed, 21 Dec 2005 02:23:35 +0000 (02:23 +0000)]
Added code to set the display resolution assumed by Mozilla.

16 years agoAdded XML-escaping of VOB filenames.
Ben Hutchings [Wed, 21 Dec 2005 01:45:55 +0000 (01:45 +0000)]
Added XML-escaping of VOB filenames.

16 years agoChanged menu linking code to avoid breaking the 128 instruction limit and to highligh...
Ben Hutchings [Wed, 21 Dec 2005 01:45:00 +0000 (01:45 +0000)]
Changed menu linking code to avoid breaking the 128 instruction limit and to highlight back-links systematically.

16 years agoRefactored conversion state in webdvd_window.
Ben Hutchings [Tue, 20 Dec 2005 02:43:04 +0000 (02:43 +0000)]
Refactored conversion state in webdvd_window.

16 years agoRenamed various types to fit lower_case_with_underscores convention.
Ben Hutchings [Tue, 20 Dec 2005 00:29:40 +0000 (00:29 +0000)]
Renamed various types to fit lower_case_with_underscores convention.
Renamed FrameBuffer to the more specific x_frame_buffer and removed "x_" from its accessor function names.
Renamed files to match function/class names.

16 years agoBrought documentation up-to-date. 0.5
Ben Hutchings [Thu, 15 Dec 2005 01:11:02 +0000 (01:11 +0000)]
Brought documentation up-to-date.

16 years agoAdded definition of Mozilla version components for use in webdvd.cpp.
Ben Hutchings [Thu, 15 Dec 2005 00:50:55 +0000 (00:50 +0000)]
Added definition of Mozilla version components for use in webdvd.cpp.

16 years agoReplaced BrowserWidget::init with a class that ensures proper initialisation and...
Ben Hutchings [Thu, 15 Dec 2005 00:50:23 +0000 (00:50 +0000)]
Replaced BrowserWidget::init with a class that ensures proper initialisation and cleanup (I think).
Changed main() to use this and to set necessary browser preferences once it's instantiated.

16 years agoAdded debugging of state changes so I can work out what goes wrong with it.
Ben Hutchings [Thu, 15 Dec 2005 00:48:06 +0000 (00:48 +0000)]
Added debugging of state changes so I can work out what goes wrong with it.

16 years agoAdded support for "VOB lists" (files containing <vob> elements to be inserted into...
Ben Hutchings [Thu, 15 Dec 2005 00:46:47 +0000 (00:46 +0000)]
Added support for "VOB lists" (files containing <vob> elements to be inserted into the dvdauthor XML file directly).
Added early test of VOB/list file existence, since dvdauthor doesn't test any files until it has processed the previous ones and this may take a long time.

16 years agoDisabled scroll bars (though this doesn't seem to work in every case).
Ben Hutchings [Thu, 15 Dec 2005 00:43:33 +0000 (00:43 +0000)]
Disabled scroll bars (though this doesn't seem to work in every case).
Moved tweaking of page settings so it's done at the right time whether in preview or processing mode.

16 years agoIncreased horizontal padding.
Ben Hutchings [Fri, 9 Dec 2005 00:54:48 +0000 (00:54 +0000)]
Increased horizontal padding.

16 years agoChanged display number selection to avoid clashes with sshd X forwarding.
Ben Hutchings [Fri, 9 Dec 2005 00:46:20 +0000 (00:46 +0000)]
Changed display number selection to avoid clashes with sshd X forwarding.

16 years agoChanged auto_kill_proc_closer to wait for the process to exit after killing it.
Ben Hutchings [Fri, 9 Dec 2005 00:45:24 +0000 (00:45 +0000)]
Changed auto_kill_proc_closer to wait for the process to exit after killing it.

16 years agoBrought documentation up-to-date. 0.4
Ben Hutchings [Mon, 5 Dec 2005 00:34:26 +0000 (00:34 +0000)]
Brought documentation up-to-date.

16 years agoCleaned up filename and URI handling, adding support for use of page filenames on...
Ben Hutchings [Mon, 5 Dec 2005 00:24:59 +0000 (00:24 +0000)]
Cleaned up filename and URI handling, adding support for use of page filenames on the command line.

16 years agoChanged WebDvdWindow to resist resizing in preview mode.
Ben Hutchings [Sun, 4 Dec 2005 23:42:29 +0000 (23:42 +0000)]
Changed WebDvdWindow to resist resizing in preview mode.

16 years agoAdded comments.
Ben Hutchings [Sun, 4 Dec 2005 21:43:47 +0000 (21:43 +0000)]
Added comments.
Split up on_net_state_change.
Renamed link_state to page_state and moved some initialisation from process_links into its constructor.

16 years agoImplemented preview mode. Updated documentation accordingly.
Ben Hutchings [Sun, 4 Dec 2005 01:51:51 +0000 (01:51 +0000)]
Implemented preview mode. Updated documentation accordingly.

16 years agoAdded entry for 0.3. 0.3
Ben Hutchings [Tue, 29 Nov 2005 01:50:35 +0000 (01:50 +0000)]
Added entry for 0.3.

16 years agoChanged use of loading state variables so that pages will never be processed while...
Ben Hutchings [Sun, 27 Nov 2005 23:58:58 +0000 (23:58 +0000)]
Changed use of loading state variables so that pages will never be processed while there are still pending requests (this could happen previously, contrary to an assertion).

16 years agoNoted new dependency on Boost (for shared_ptr).
Ben Hutchings [Sun, 27 Nov 2005 21:47:55 +0000 (21:47 +0000)]
Noted new dependency on Boost (for shared_ptr).

16 years agoAdded --help option and arranged to print usage information when this is used and...
Ben Hutchings [Sun, 27 Nov 2005 21:47:30 +0000 (21:47 +0000)]
Added --help option and arranged to print usage information when this is used and in (almost) all cases of bad usage.

16 years agoChanged WebDvdWindow to generate temporary files in the proper way, spawn external...
Ben Hutchings [Sun, 27 Nov 2005 21:16:05 +0000 (21:16 +0000)]
Changed WebDvdWindow to generate temporary files in the proper way, spawn external programs and clean up temporary files when it's done.

16 years agoCleaned up option processing.
Ben Hutchings [Sun, 27 Nov 2005 21:09:44 +0000 (21:09 +0000)]
Cleaned up option processing.
Changed to accept only a single URI, which is then passed to the WebDvdWindow constructor, since all pages reachable from the first URI will be included.
Removed use of "about:" as a default URI.

16 years agoReplaced auto_temp_file with temp_file, which handles creation as well as deletion.
Ben Hutchings [Sun, 27 Nov 2005 20:52:08 +0000 (20:52 +0000)]
Replaced auto_temp_file with temp_file, which handles creation as well as deletion.