diff --git a/indra/develop.py b/indra/develop.py
index 48fc7427e..883e81234 100755
--- a/indra/develop.py
+++ b/indra/develop.py
@@ -656,7 +656,7 @@ class WindowsSetup(PlatformSetup):
continue
vstool_cmd = (os.path.join('tools','vstool','VSTool.exe') +
' --solution ' +
- os.path.join(build_dir,'SecondLife.sln') +
+ os.path.join(build_dir,'Ascent.sln') +
' --config ' + self.build_type +
' --startup secondlife-bin')
print 'Running %r in %r' % (vstool_cmd, getcwd())
diff --git a/indra/llimagej2coj/llimagej2coj.cpp b/indra/llimagej2coj/llimagej2coj.cpp
index 97a4e358e..26c6f76ee 100644
--- a/indra/llimagej2coj/llimagej2coj.cpp
+++ b/indra/llimagej2coj/llimagej2coj.cpp
@@ -115,6 +115,8 @@ BOOL LLImageJ2COJ::decodeImpl(LLImageJ2C &base, LLImageRaw &raw_image, F32 decod
//
if (!base.getData()) return FALSE;
if (!base.getDataSize()) return FALSE;
+ if (!raw_image.getData()) return FALSE;
+ if (!raw_image.getDataSize()) return FALSE;
LLTimer decode_timer;
@@ -156,6 +158,7 @@ BOOL LLImageJ2COJ::decodeImpl(LLImageJ2C &base, LLImageRaw &raw_image, F32 decod
/* decode the stream and fill the image structure */
if (!cio) return FALSE;
+ if (cio->bp == NULL) return FALSE;
if (!dinfo) return FALSE;
image = opj_decode(dinfo, cio);
@@ -463,9 +466,10 @@ BOOL LLImageJ2COJ::getMetadata(LLImageJ2C &base)
/* open a byte stream */
cio = opj_cio_open((opj_common_ptr)dinfo, base.getData(), base.getDataSize());
-
+
/* decode the stream and fill the image structure */
if (!cio) return FALSE;
+ if (cio->bp == NULL) return FALSE;
if (!dinfo) return FALSE;
image = opj_decode(dinfo, cio);
diff --git a/indra/newview/skins/default/xui/uk/mime_types.xml b/indra/newview/skins/default/xui/uk/mime_types.xml
index a21f365d0..a7118073f 100644
--- a/indra/newview/skins/default/xui/uk/mime_types.xml
+++ b/indra/newview/skins/default/xui/uk/mime_types.xml
@@ -1,230 +1,230 @@
-
-
-
-
-
- Це місце має веб-контент
-
-
- Показати веб-контент
-
-
-
-
-
- Тут програється фільм
-
-
- Програти фільм
-
-
-
-
-
- Тут немає медіа
-
-
-
-
-
- В цьому місці є зображення
-
-
- Переглянути зображення в цьому місці
-
-
-
-
-
- В цьому місці програється аудіо
-
-
- Прослухати аудіо в цьому місці
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ Це місце має веб-контент
+
+
+ Показати веб-контент
+
+
+
+
+
+ Тут програється фільм
+
+
+ Програти фільм
+
+
+
+
+
+ Тут немає медіа
+
+
+
+
+
+ В цьому місці є зображення
+
+
+ Переглянути зображення в цьому місці
+
+
+
+
+
+ В цьому місці програється аудіо
+
+
+ Прослухати аудіо в цьому місці
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/indra/newview/skins/default/xui/zh/mime_types.xml b/indra/newview/skins/default/xui/zh/mime_types.xml
index 089597dac..fc5fae414 100644
--- a/indra/newview/skins/default/xui/zh/mime_types.xml
+++ b/indra/newview/skins/default/xui/zh/mime_types.xml
@@ -1,262 +1,262 @@
-
-
-
- (未知)
-
-
- 无
-
-
- LLMediaImplLLMozLib
-
-
-
-
- 该区域有网页内容
-
-
- 显示网页内容
-
-
-
-
-
- 这里可以播放影片
-
-
- 播放影片
-
-
-
-
-
- 这里没有媒体
-
-
-
-
-
-
- 这里有图像
-
-
- 显示该位置的图像
-
-
-
-
- audio/*
-
- 这里可以播放音频
-
-
- 播放该位置的音频
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- image
-
-
-
-
-
- movie
-
-
-
-
-
-
-
-
- image
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text
-
-
- LLMediaImplLLMozLib
-
-
-
-
-
-
-
-
-
-
-
- movie
-
-
- LLMediaImplQuickTime
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ (未知)
+
+
+ 无
+
+
+ LLMediaImplLLMozLib
+
+
+
+
+ 该区域有网页内容
+
+
+ 显示网页内容
+
+
+
+
+
+ 这里可以播放影片
+
+
+ 播放影片
+
+
+
+
+
+ 这里没有媒体
+
+
+
+
+
+
+ 这里有图像
+
+
+ 显示该位置的图像
+
+
+
+
+ audio/*
+
+ 这里可以播放音频
+
+
+ 播放该位置的音频
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ image
+
+
+
+
+
+ movie
+
+
+
+
+
+
+
+
+ image
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text
+
+
+ LLMediaImplLLMozLib
+
+
+
+
+
+
+
+
+
+
+
+ movie
+
+
+ LLMediaImplQuickTime
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index 6420a96d2..44fab8a81 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -163,13 +163,13 @@ class WindowsManifest(ViewerManifest):
def final_exe(self):
if self.default_channel() and self.viewer_branding_id()=="secondlife":
if self.default_grid():
- return "SecondLife.exe"
+ return "Ascent.exe"
else:
- return "SecondLifePreview.exe"
+ return "Ascent.exe"
elif(self.viewer_branding_id=="snowglobe"):
- return "Snowglobe.exe"
+ return "Ascent.exe"
else:
- return ''.join(self.channel().split()) + '.exe'
+ return 'Ascent.exe'
def construct(self):