Use return value of EnsureUTF8() to specify whether the bytes sequence was
valid (UTF-8) or not (incomplete, incorrect non-ASCII, or overlong sequences)
Jérome Decoodt [Tue, 14 Feb 2006 01:40:59 +0000 (01:40 +0000)]
Add --macosx-black switch to black non video screens (fix #301)
If someone has a better code to maintain a black screen, change
CGSetDisplayTransferByFormula which seems to be a big kludge.
- Unicode fixes for ncurses on non-UTF8 consoles (closes #547)
- Handle backspace properly on an UTF-8 characters string (closes #548 as far as UTF-8 is concerned)
- Use VidMode extension to determine the display dimensions more accurately when enabling full screen mode (fixes #534, should fix Debian #290392)
- Move view port and cursor to a sane position
- Check for VidMode extensions (libXxf86vm)
Olivier Teulière [Sun, 12 Feb 2006 21:05:53 +0000 (21:05 +0000)]
* skins2/commands/cmd_dvd.*: New commands for DVD navigation.
You can use the following actions in the XML file:
- dvd.nextTitle()
- dvd.previousTitle()
- dvd.nextChapter()
- dvd.previousChapter()
- dvd.rootMenu()
- Fix opening of SVG file through a symbolic
(one must use stat() rather than lstat() to obtain the size of a file's content!)
- Use UTF-8 wrappers (refs #528)
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?)
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
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.
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.
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.