Ben Hutchings [Wed, 11 Jun 2008 23:27:21 +0000 (23:27 +0000)]
Added workaround for XULRunner 1.9's requirement of 16-bit wchar_t. Changing the definition of wchar_t breaks the ABI and results in a linker error on armel.
The Makefile now removes -fshort-wchar from compiler options. All files including Mozilla headers bracket them with #include "wchar_t_short.h" ... #include "wchar_t_default.h". wchar_t_short.h defines wchar_t as a macro expanding to uint16_t and wchar_t_default.h undefines the macro.
Ben Hutchings [Sat, 12 Apr 2008 18:23:27 +0000 (18:23 +0000)]
VideoLink no longer works with the official Debian package of ffmpeg because it does not include the mpeg2video encoder due to patent threats. Therefore, moved it to the contrib section.
Ben Hutchings [Sat, 12 Apr 2008 16:10:53 +0000 (16:10 +0000)]
Added support for XULRunner/GRE 1.9:
- Use XPCOM and GtkMozEmbed glue code
- Do not set rpath in executable
- Use <nsStringAPI.h> not <nsString.h> since the internal string API is not
exported
- Do not define MOZILLA_INTERNAL_API macro
- Do not use nsACString::{Begin,End}Reading since they are not exported (bug?)
- Do not add per-module directories to include search path, since they no
longer exist
- Add NSPR header directory to include search path, since
mozilla-gtkmozembed-embedding.pc doesn't do that (bug)
- Move use of nsPresContext to a separate source file since its header still
requires MOZILLA_INTERNAL_API to be defined (bug?)
Ben Hutchings [Sat, 12 Apr 2008 01:20:57 +0000 (01:20 +0000)]
Separated name of pkgconfig module from name of Mozilla library subdirectory.
Replaced construction of header directory with use of pkg-config --variable=includedir.
Replaced parsing of version number in mozilla-config.h with use of pkg-config --modversion.
Removed unused MOZ_VERSION_PATCHLEVEL macro definition.
Ben Hutchings [Sat, 7 Jul 2007 14:03:23 +0000 (14:03 +0000)]
Added URI of current link (if any) to error messages.
Replaced warning about use of non-file scheme for video link with an error, since this definitely should not be ignored.
Changed messages involving URIs to consistently enclose them in angle brackets.
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.
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).
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.
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.
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.
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.
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.
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.