libbluray.git
2 years ago0.9.2 0.9.2
hpi1 [Tue, 1 Dec 2015 12:09:39 +0000 (14:09 +0200)]
0.9.2

2 years agoCosmetics
hpi1 [Thu, 26 Nov 2015 10:34:27 +0000 (12:34 +0200)]
Cosmetics

2 years agoBDFontMetrics.getFontList(): return empty list if font resolving fails
hpi1 [Tue, 1 Dec 2015 11:36:41 +0000 (13:36 +0200)]
BDFontMetrics.getFontList(): return empty list if font resolving fails

2 years agoUpdate .gitignore
hpi1 [Wed, 25 Nov 2015 15:05:43 +0000 (17:05 +0200)]
Update .gitignore

2 years agoAdd build* folders to gitignore list
Jean-Baptiste Kempf [Wed, 25 Nov 2015 15:06:36 +0000 (16:06 +0100)]
Add build* folders to gitignore list

2 years agoFix Android build
hpi1 [Tue, 24 Nov 2015 15:37:05 +0000 (17:37 +0200)]
Fix Android build

2 years agoTitleInfo: use BDJUtil instead of DecimalFormat
hpi1 [Tue, 24 Nov 2015 08:24:56 +0000 (10:24 +0200)]
TitleInfo: use BDJUtil instead of DecimalFormat

2 years agoPlayer: simplify creation when created in privileged context
hpi1 [Tue, 24 Nov 2015 08:23:37 +0000 (10:23 +0200)]
Player: simplify creation when created in privileged context

2 years agoMountManager: log error when returning null mount point
hpi1 [Tue, 24 Nov 2015 08:21:54 +0000 (10:21 +0200)]
MountManager: log error when returning null mount point

2 years agoBDJXletContext: log error if home directory has not been mounted
hpi1 [Tue, 24 Nov 2015 08:20:53 +0000 (10:20 +0200)]
BDJXletContext: log error if home directory has not been mounted

2 years agoBDJUtil.makeFiveDigitStr(): check range. Avoid using DecimalFormat.
hpi1 [Tue, 24 Nov 2015 08:19:43 +0000 (10:19 +0200)]
BDJUtil.makeFiveDigitStr(): check range. Avoid using DecimalFormat.

2 years agoBDJUtil.discRootToFilesystem(): check for null
hpi1 [Tue, 24 Nov 2015 08:17:54 +0000 (10:17 +0200)]
BDJUtil.discRootToFilesystem(): check for null

2 years agoWin32: Convert JVM init arguments to current locale.
hpi1 [Sun, 22 Nov 2015 10:11:15 +0000 (12:11 +0200)]
Win32: Convert JVM init arguments to current locale.

Arguments are not in utf8.
Fixes BD-J .jar file loading when there are non-ASCII chars in the path.

2 years agoSilence errors from missing content certificate files
hpi1 [Sat, 21 Nov 2015 20:43:38 +0000 (22:43 +0200)]
Silence errors from missing content certificate files

2 years agoUse static final for constant string
hpi1 [Sat, 21 Nov 2015 20:42:57 +0000 (22:42 +0200)]
Use static final for constant string

2 years agoMake sure flag is cleared even if there is an exception
hpi1 [Sat, 21 Nov 2015 20:42:06 +0000 (22:42 +0200)]
Make sure flag is cleared even if there is an exception

2 years agoAdd -no-undefined linker flag
hpi1 [Sat, 21 Nov 2015 20:33:03 +0000 (22:33 +0200)]
Add -no-undefined linker flag

2 years agoBDWindowGraphics: do not draw if already disposed
hpi1 [Sun, 8 Nov 2015 20:57:43 +0000 (22:57 +0200)]
BDWindowGraphics: do not draw if already disposed

2 years agoBDGraphics: Do not draw if already disposed
hpi1 [Thu, 19 Nov 2015 13:20:44 +0000 (15:20 +0200)]
BDGraphics: Do not draw if already disposed

2 years agoLog error when Xlet home directory is queried outside of Xlet context
hpi1 [Thu, 19 Nov 2015 13:02:19 +0000 (15:02 +0200)]
Log error when Xlet home directory is queried outside of Xlet context

2 years agoMark implementation method private
hpi1 [Thu, 19 Nov 2015 13:01:08 +0000 (15:01 +0200)]
Mark implementation method private

2 years agoMark implementation class package private
hpi1 [Thu, 19 Nov 2015 12:59:10 +0000 (14:59 +0200)]
Mark implementation class package private

2 years agoCheck realloc result.
ace20022 [Thu, 12 Nov 2015 11:36:59 +0000 (12:36 +0100)]
Check realloc result.

2 years agoAdd some checks to win32_get_font_dir().
ace20022 [Thu, 12 Nov 2015 12:07:31 +0000 (13:07 +0100)]
Add some checks to win32_get_font_dir().

2 years agoPrevent possible buffer overrun and check the return value of MultiByteToWideChar()
ace20022 [Thu, 12 Nov 2015 11:32:43 +0000 (12:32 +0100)]
Prevent possible buffer overrun and check the return value of MultiByteToWideChar()

2 years agoAllow the bootstrap script to be called from a subfolder
Jean-Baptiste Kempf [Thu, 12 Nov 2015 12:17:19 +0000 (13:17 +0100)]
Allow the bootstrap script to be called from a subfolder

2 years agoHide warning
hpi1 [Tue, 10 Nov 2015 11:32:38 +0000 (13:32 +0200)]
Hide warning

Both values >= 0

2 years agoChangeLog update
hpi1 [Fri, 6 Nov 2015 07:37:04 +0000 (09:37 +0200)]
ChangeLog update

2 years agoAdd primary audio stream to bd_select_stream()
hpi1 [Tue, 10 Nov 2015 11:15:26 +0000 (13:15 +0200)]
Add primary audio stream to bd_select_stream()

2 years agoUse uint8_t instead of char in _can_read_file method
tourettes [Mon, 9 Nov 2015 18:01:33 +0000 (20:01 +0200)]
Use uint8_t instead of char in _can_read_file method

Fixes compile issue with VC's compiler

2 years agologging: check for *sprintf errors
hpi1 [Thu, 5 Nov 2015 15:30:40 +0000 (17:30 +0200)]
logging: check for *sprintf errors

2 years agoFix runtime error when built against Java 8 Font instead of libbluray Font.
hpi1 [Sun, 8 Nov 2015 20:32:21 +0000 (22:32 +0200)]
Fix runtime error when built against Java 8 Font instead of libbluray Font.

Implicit conversion int -> float causes wrong function signature in FontFactory.

2 years agoImprove class file translation.
hpi1 [Sun, 8 Nov 2015 17:28:53 +0000 (19:28 +0200)]
Improve class file translation.

Translate in class loader:
- works with Java 8+
- allows translating also files that are not invalid
- does not depend on sun implementation-specific interfaces

2 years agoBDJClassLoader: log class loading errors
hpi1 [Sun, 8 Nov 2015 17:37:20 +0000 (19:37 +0200)]
BDJClassLoader: log class loading errors

... to avoid debugging the same problem third time.

2 years agoFix SecurityException in AWTAutoShutdown
hpi1 [Thu, 5 Nov 2015 10:24:41 +0000 (12:24 +0200)]
Fix SecurityException in AWTAutoShutdown

2 years agoFix BD-J check when install path in Windows contains non-ASCII chars
hpi1 [Wed, 4 Nov 2015 12:17:34 +0000 (14:17 +0200)]
Fix BD-J check when install path in Windows contains non-ASCII chars

2 years agoFix jvm.dll loading in Windows
hpi1 [Wed, 4 Nov 2015 12:33:25 +0000 (14:33 +0200)]
Fix jvm.dll loading in Windows

$JAVA_HOME/bin should be in dll load path.

2 years ago0.9.1 0.9.1
hpi1 [Tue, 3 Nov 2015 09:55:51 +0000 (11:55 +0200)]
0.9.1

2 years agoDistribute contrib/asm
hpi1 [Tue, 3 Nov 2015 10:57:00 +0000 (12:57 +0200)]
Distribute contrib/asm

2 years agoChangeLog update
hpi1 [Mon, 2 Nov 2015 11:57:55 +0000 (13:57 +0200)]
ChangeLog update

2 years agoFinetune seeks (avoid skipping PAT/PMT/PCR)
hpi1 [Mon, 2 Nov 2015 09:55:26 +0000 (11:55 +0200)]
Finetune seeks (avoid skipping PAT/PMT/PCR)

Rewind few packets after seek if previous packets are PAT/PMT/PCR.

Seek points are aligned to video packets.
Sometimes playlist is seeked before playback starts, and
application misses initial PAT/PMT/PCR. This may be fatal with
still images.

Fixes seeking to ~ beginning of playlist. In middle of the stream
PAT/PMT/PCR are muxed at ~ constant intervals, and rewind would be
more complex to implement. PAT/PMT are not allowed to change in
middle of HDMV stream.

2 years agoImprove BD-J stack initialization
hpi1 [Sun, 1 Nov 2015 17:48:18 +0000 (19:48 +0200)]
Improve BD-J stack initialization

- separate initializations that need to be done only once
- handle exceptions in non-fatal initializations

2 years agoTry to recover class files with broken debug info
hpi1 [Sun, 1 Nov 2015 17:26:59 +0000 (19:26 +0200)]
Try to recover class files with broken debug info

Fixes Penguins of Madagascar

2 years agoImport class file manipulation functionality from asm 5.0.4
hpi1 [Sun, 1 Nov 2015 16:52:29 +0000 (18:52 +0200)]
Import class file manipulation functionality from asm 5.0.4

2 years agoBDJThreadGroup: security improvements
hpi1 [Fri, 30 Oct 2015 15:14:39 +0000 (17:14 +0200)]
BDJThreadGroup: security improvements

- make Xlet context final
- make class package private

2 years agoBDJListeners: add org.dvb.media.VideoFormatEvent
hpi1 [Fri, 30 Oct 2015 10:52:45 +0000 (12:52 +0200)]
BDJListeners: add org.dvb.media.VideoFormatEvent

2 years agoCosmetics
hpi1 [Thu, 15 Oct 2015 18:32:59 +0000 (21:32 +0300)]
Cosmetics

2 years agonav_title_close(): check for NULL
hpi1 [Thu, 15 Oct 2015 18:29:23 +0000 (21:29 +0300)]
nav_title_close(): check for NULL

2 years agoCosmetics
hpi1 [Wed, 7 Oct 2015 09:58:20 +0000 (12:58 +0300)]
Cosmetics

2 years agometa_parse: check realloc() return value
hpi1 [Wed, 7 Oct 2015 09:57:29 +0000 (12:57 +0300)]
meta_parse: check realloc() return value

2 years agoTitleContextImpl: add logging
hpi1 [Thu, 29 Oct 2015 11:47:27 +0000 (13:47 +0200)]
TitleContextImpl: add logging

2 years agoTitleContext: force restarting of service bound Xlets when title changes
hpi1 [Thu, 29 Oct 2015 11:39:19 +0000 (13:39 +0200)]
TitleContext: force restarting of service bound Xlets when title changes

Fixes multiple discs (Cabin in the Woods, The Grand Budapest Hotel, Birdman, ...)

2 years agoAdd missing line feeds
hpi1 [Tue, 27 Oct 2015 11:45:14 +0000 (13:45 +0200)]
Add missing line feeds

2 years agobd_play_title(): add special handling for Top Menu title
hpi1 [Tue, 27 Oct 2015 11:33:37 +0000 (13:33 +0200)]
bd_play_title(): add special handling for Top Menu title

Menu Call uses different UO mask.

2 years agoReduce log level
hpi1 [Tue, 27 Oct 2015 11:31:11 +0000 (13:31 +0200)]
Reduce log level

2 years agoContentAttribute: check MAKEMKV/ and ANY!/
anonymous [Mon, 26 Oct 2015 09:40:37 +0000 (11:40 +0200)]
ContentAttribute: check MAKEMKV/ and ANY!/

2 years agoCheck for null
hpi1 [Fri, 9 Oct 2015 09:26:03 +0000 (12:26 +0300)]
Check for null

2 years agoMark inner class private
hpi1 [Thu, 8 Oct 2015 11:47:13 +0000 (14:47 +0300)]
Mark inner class private

2 years agoIxcRegistry: both contexts are required
hpi1 [Thu, 8 Oct 2015 11:46:37 +0000 (14:46 +0300)]
IxcRegistry: both contexts are required

2 years agoSilence warning on unchecked file_unlink() result in error path
hpi1 [Wed, 7 Oct 2015 10:05:45 +0000 (13:05 +0300)]
Silence warning on unchecked file_unlink() result in error path

2 years agoCosmetics (add comments)
hpi1 [Wed, 7 Oct 2015 10:03:02 +0000 (13:03 +0300)]
Cosmetics (add comments)

2 years agoAdd stack trace to diagnostics
hpi1 [Thu, 17 Sep 2015 15:29:31 +0000 (18:29 +0300)]
Add stack trace to diagnostics

2 years agoBDJSecurityManager: deny all file writes in checkPermission()
hpi1 [Mon, 5 Oct 2015 10:14:47 +0000 (13:14 +0300)]
BDJSecurityManager: deny all file writes in checkPermission()

Xlet write access is handled in checkWrite().

2 years ago0.9.0 0.9.0
hpi1 [Fri, 2 Oct 2015 09:18:21 +0000 (12:18 +0300)]
0.9.0

2 years agoCosmetics
hpi1 [Fri, 2 Oct 2015 09:10:55 +0000 (12:10 +0300)]
Cosmetics

2 years agoCheck for null
hpi1 [Fri, 2 Oct 2015 09:09:38 +0000 (12:09 +0300)]
Check for null

2 years agoUpdate ChangeLog
hpi1 [Fri, 2 Oct 2015 09:02:53 +0000 (12:02 +0300)]
Update ChangeLog

2 years agoFix Xlet-initiated font caching: delegate caching to privileged context
hpi1 [Thu, 17 Sep 2015 15:35:58 +0000 (18:35 +0300)]
Fix Xlet-initiated font caching: delegate caching to privileged context

This seems to be used mostly in BD+ error messages

2 years agoFix remote procedure call errors with some buggy discs
hpi1 [Thu, 17 Sep 2015 15:34:12 +0000 (18:34 +0300)]
Fix remote procedure call errors with some buggy discs

2 years agoSIElementFilter: validate locator
hpi1 [Thu, 17 Sep 2015 15:24:30 +0000 (18:24 +0300)]
SIElementFilter: validate locator

2 years agoSIManager.getService(): validate locator
hpi1 [Thu, 17 Sep 2015 15:19:54 +0000 (18:19 +0300)]
SIManager.getService(): validate locator

2 years agoCosmetics (remove trailing space)
hpi1 [Thu, 17 Sep 2015 15:25:53 +0000 (18:25 +0300)]
Cosmetics (remove trailing space)

2 years agoFix return value when setting BLURAY_PLAYER_SETTING_DECODE_PG
hpi1 [Tue, 22 Sep 2015 08:36:32 +0000 (11:36 +0300)]
Fix return value when setting BLURAY_PLAYER_SETTING_DECODE_PG

2 years agoAdd null check
hpi1 [Thu, 17 Sep 2015 15:26:46 +0000 (18:26 +0300)]
Add null check

2 years agoAvoid returning null for content certificate ID
hpi1 [Mon, 14 Sep 2015 10:52:36 +0000 (13:52 +0300)]
Avoid returning null for content certificate ID

2 years agoAPI: add functions to read files from VFS.
hpi1 [Wed, 12 Aug 2015 07:53:53 +0000 (10:53 +0300)]
API: add functions to read files from VFS.

2 years agoMissing extern "C" in refcnt.h
tourettes [Sun, 2 Aug 2015 12:13:21 +0000 (15:13 +0300)]
Missing extern "C" in refcnt.h

3 years agoMissing extern "C" in overlay.h
Richard Hulme [Fri, 12 Jun 2015 20:02:17 +0000 (23:02 +0300)]
Missing extern "C" in overlay.h

3 years agoCheck for null
hpi1 [Thu, 11 Jun 2015 08:54:56 +0000 (11:54 +0300)]
Check for null

3 years agoCheck calloc result
hpi1 [Thu, 4 Jun 2015 11:29:44 +0000 (14:29 +0300)]
Check calloc result

3 years agoCheck str_printf result
hpi1 [Thu, 4 Jun 2015 11:31:23 +0000 (14:31 +0300)]
Check str_printf result

3 years agoCheck for null
hpi1 [Thu, 4 Jun 2015 11:40:57 +0000 (14:40 +0300)]
Check for null

Do not crash with incomplete data (ex. if parsing fails in middle of file).

3 years agoRemove unneeded if
hpi1 [Thu, 4 Jun 2015 11:35:59 +0000 (14:35 +0300)]
Remove unneeded if

3 years agoReturn copy of array
hpi1 [Thu, 4 Jun 2015 12:02:54 +0000 (15:02 +0300)]
Return copy of array

3 years agoComment out unused strings
hpi1 [Thu, 4 Jun 2015 11:45:31 +0000 (14:45 +0300)]
Comment out unused strings

3 years agoAdd comments
hpi1 [Thu, 4 Jun 2015 11:46:44 +0000 (14:46 +0300)]
Add comments

3 years agoFix uninitialized pointers when parsing fails (malloc -> calloc)
hpi1 [Thu, 4 Jun 2015 10:31:02 +0000 (13:31 +0300)]
Fix uninitialized pointers when parsing fails (malloc -> calloc)

3 years agoFix null check
hpi1 [Tue, 2 Jun 2015 12:10:04 +0000 (15:10 +0300)]
Fix null check

3 years agoServiceContextFactory.getServiceContexts() should not throw security exceptions
hpi1 [Tue, 2 Jun 2015 11:09:32 +0000 (14:09 +0300)]
ServiceContextFactory.getServiceContexts() should not throw security exceptions

3 years agoFix race
hpi1 [Tue, 2 Jun 2015 11:08:44 +0000 (14:08 +0300)]
Fix race

3 years agoFix possible null pointer dereference
hpi1 [Tue, 2 Jun 2015 11:06:30 +0000 (14:06 +0300)]
Fix possible null pointer dereference

3 years agoLog unhandled Xlet properties
hpi1 [Tue, 2 Jun 2015 11:03:44 +0000 (14:03 +0300)]
Log unhandled Xlet properties

3 years agoFix possible null pointer dereference
hpi1 [Tue, 2 Jun 2015 11:01:08 +0000 (14:01 +0300)]
Fix possible null pointer dereference

Also log error if context does not match

3 years agoReset currently playing locator when playback changes
hpi1 [Tue, 2 Jun 2015 09:21:16 +0000 (12:21 +0300)]
Reset currently playing locator when playback changes

3 years agoFix null pointer dereference
hpi1 [Tue, 2 Jun 2015 09:18:23 +0000 (12:18 +0300)]
Fix null pointer dereference

3 years agoFix synchronized {} scope
hpi1 [Tue, 2 Jun 2015 09:16:56 +0000 (12:16 +0300)]
Fix synchronized {} scope

3 years agoUpdate libudfread
hpi1 [Fri, 22 May 2015 09:26:20 +0000 (12:26 +0300)]
Update libudfread

3 years agoCosmetics
hpi1 [Fri, 22 May 2015 09:18:51 +0000 (12:18 +0300)]
Cosmetics

3 years agoMark inner clases static
hpi1 [Fri, 22 May 2015 09:12:57 +0000 (12:12 +0300)]
Mark inner clases static

3 years agoFix race condition in multiple getInstance() functions
hpi1 [Fri, 22 May 2015 08:53:09 +0000 (11:53 +0300)]
Fix race condition in multiple getInstance() functions