Ansariel 2021-09-20 11:18:53 +02:00
commit cd4f90e2c0
18 changed files with 61 additions and 38 deletions

View File

@ -850,9 +850,9 @@
<key>archive</key>
<map>
<key>hash</key>
<string>2b29e6435ea9487bc2019a28b8287d6a</string>
<string>7b8fd7a8ea9850f1cad187059d2da4af</string>
<key>url</key>
<string>http://3p.firestormviewer.org/dullahan-1.8.0.202011061705_81.3.10_gb223419_chromium-81.0.4044.138-linux64-203111605.tar.bz2</string>
<string>http://3p.firestormviewer.org/dullahan-1.12.2.202109131147_91.1.23_g04c8d56_chromium-91.0.4472.164-linux64-212560947.tar.bz2</string>
</map>
<key>name</key>
<string>linux64</string>
@ -1842,9 +1842,9 @@
<key>archive</key>
<map>
<key>hash</key>
<string>3b8b0f54c851f136e2a92e1c6ba724a5</string>
<string>e99b86fc3ed48a778580dd1449f8f33b</string>
<key>url</key>
<string>file:///opt/firestorm/kdu-8.1-darwin64-211970151.tar.bz2</string>
<string>file:///opt/firestorm/kdu-8.2-darwin-212431232.tar.bz2</string>
</map>
<key>name</key>
<string>darwin64</string>

View File

@ -71,7 +71,7 @@ LLDiskCache::LLDiskCache(const std::string cache_dir,
void LLDiskCache::purge()
{
//if (mEnableCacheDebugInfo)
if (mEnableCacheDebugInfo)
{
LL_INFOS() << "Total dir size before purge is " << dirFileSize(mCacheDir) << LL_ENDL;
}
@ -93,7 +93,7 @@ void LLDiskCache::purge()
//for (auto& entry : boost::make_iterator_range(boost::filesystem::directory_iterator(cache_path, ec), {}))
for (auto& entry : boost::make_iterator_range(boost::filesystem::recursive_directory_iterator(cache_path, ec), {}))
{
if (boost::filesystem::is_regular_file(entry, ec) && !ec.failed())
if (!ec.failed() && (boost::filesystem::is_regular_file(entry, ec) && !ec.failed()))
{
if (entry.path().string().find(mCacheFilenamePrefix) != std::string::npos)
{
@ -181,7 +181,7 @@ void LLDiskCache::purge()
}
}
//if (mEnableCacheDebugInfo)
if (mEnableCacheDebugInfo)
{
auto end_time = std::chrono::high_resolution_clock::now();
auto execute_time = std::chrono::duration_cast<std::chrono::milliseconds>(end_time - start_time).count();
@ -485,7 +485,7 @@ uintmax_t LLDiskCache::dirFileSize(const std::string dir)
//for (auto& entry : boost::make_iterator_range(boost::filesystem::directory_iterator(dir_path, ec), {}))
for (auto& entry : boost::make_iterator_range(boost::filesystem::recursive_directory_iterator(dir_path, ec), {}))
{
if (boost::filesystem::is_regular_file(entry, ec) && !ec.failed())
if (!ec.failed() && (boost::filesystem::is_regular_file(entry, ec) && !ec.failed()))
{
if (entry.path().string().find(mCacheFilenamePrefix) != std::string::npos)
{

View File

@ -141,6 +141,10 @@ MediaPluginBase(host_send_func, host_user_data)
mPickedFiles.clear();
mCurVolume = 0.0;
#ifdef LL_LINUX
mDisableGPU = true;
#endif
mCEFLib = new dullahan();
setVolume();
@ -533,9 +537,7 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
mCEFLib->setOnCursorChangedCallback(std::bind(&MediaPluginCEF::onCursorChangedCallback, this, std::placeholders::_1));
mCEFLib->setOnRequestExitCallback(std::bind(&MediaPluginCEF::onRequestExitCallback, this));
mCEFLib->setOnJSDialogCallback(std::bind(&MediaPluginCEF::onJSDialogCallback, this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3));
#ifndef LL_LINUX
mCEFLib->setOnJSBeforeUnloadCallback(std::bind(&MediaPluginCEF::onJSBeforeUnloadCallback, this));
#endif
dullahan::dullahan_settings settings;
#if LL_WINDOWS

View File

@ -953,7 +953,7 @@
<string>agent</string>
</array>
<key>loginpage</key>
<string>http://phoenixviewer.com/app/loginV3/</string>
<string>https://phoenixviewer.com/app/loginV3/</string>
<key>loginuri</key>
<array>
<string>https://login.aditi.lindenlab.com/cgi-bin/login.cgi</string>
@ -986,7 +986,7 @@
<string>agent</string>
</array>
<key>loginpage</key>
<string>http://phoenixviewer.com/app/loginV3/</string>
<string>https://phoenixviewer.com/app/loginV3/</string>
<key>loginuri</key>
<array>
<string>https://login.agni.lindenlab.com/cgi-bin/login.cgi</string>

View File

@ -24235,7 +24235,7 @@ Change of this parameter will affect the layout of buttons in notification toast
<key>Type</key>
<string>String</string>
<key>Value</key>
<string>http://phoenixviewer.com/app/loginV3/secondlifegrid.xml</string>
<string>https://phoenixviewer.com/app/loginV3/secondlifegrid.xml</string>
</map>
<key>FSIgnoreAdHocSessions</key>
<map>

View File

@ -149,7 +149,7 @@ void gridDownloadComplete( LLSD const &aData, LLGridManager* mOwner, GridEntry*
}
}
const char* DEFAULT_LOGIN_PAGE = "http://phoenixviewer.com/app/loginV3/";
const char* DEFAULT_LOGIN_PAGE = "https://phoenixviewer.com/app/loginV3/";
const char* SYSTEM_GRID_SLURL_BASE = "secondlife://%s/secondlife/";
const char* MAIN_GRID_SLURL_BASE = "http://maps.secondlife.com/secondlife/";

View File

@ -124,7 +124,7 @@ void FSRadarEntry::processProperties(void* data, EAvatarProcessorType type)
else if (type == APT_NOTES)
{
LLAvatarNotes* avatar_notes = static_cast<LLAvatarNotes*>(data);
if (avatar_notes && avatar_notes->agent_id == gAgentID && avatar_notes->target_id == mID)
if (avatar_notes && avatar_notes->agent_id == gAgentID && avatar_notes->target_id == mID && !gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES))
{
mNotes = avatar_notes->notes;
LLStringUtil::trim(mNotes);

View File

@ -581,8 +581,12 @@ void LLDrawPoolAvatar::renderShadow(S32 pass)
}
LLVOAvatar::AvatarOverallAppearance oa = avatarp->getOverallAppearance();
BOOL impostor = !LLPipeline::sImpostorRender && avatarp->isImpostor();
if (oa == LLVOAvatar::AOA_INVISIBLE ||
(impostor && oa == LLVOAvatar::AOA_JELLYDOLL))
// <FS:Beq> plain old impostors are passing through the shadow pipeline
// if (oa == LLVOAvatar::AOA_INVISIBLE ||
// (impostor && oa == LLVOAvatar::AOA_JELLYDOLL))
// Note: Impostors should not cast shadows, also all JDs are impostor nowadays so we do not need the extra check at all.
if (impostor || (oa == LLVOAvatar::AOA_INVISIBLE) )
// </FS:Beq>
{
// No shadows for jellydolled or invisible avs.
return;

View File

@ -5739,6 +5739,25 @@ BOOL FSPanelPreferenceBackup::postBuild()
getChild<LLLineEditor>("settings_backup_path")->setValue(dir_name);
// </FS:Zi>
// <FS:Beq>
#if !defined OPENSIM
// Note: Windlight setting restore is enabled in OPENSIM bulds irrespective of grid (or pre-login)
// windlights settings folders are not grid specific and thus neither is the restore.
// if windlight folders existsed they will be backed up on all builds but for SL only builds they will not be restored.
LLScrollListCtrl* globalFoldersScrollList = getChild<LLScrollListCtrl>("restore_global_folders_list");
std::vector<LLScrollListItem*> globalFoldersList = globalFoldersScrollList->getAllData();
for (const auto item : globalFoldersList)
{
// if it is windlight related remove it.
if (item->getValue().asString().rfind("windlight",0) == 0)
{
LL_INFOS() << "removing windlight folder (no longer used in SL) : " << item->getValue().asString() << " index: " << globalFoldersScrollList->getItemIndex(item) << LL_ENDL;
globalFoldersScrollList->deleteSingleItem(globalFoldersScrollList->getItemIndex(item));
}
}
#endif
// </FS:Beq>
return LLPanelPreference::postBuild();
}

View File

@ -970,7 +970,9 @@ void LLSpatialGroup::destroyGL(bool keep_occlusion)
// <FS:Ansariel> Reset VB during TP
if (is_tree_group && drawable->getVObj())
{
((LLVOTree*)drawable->getVObj().get())->destroyVB();
auto votree = dynamic_cast<LLVOTree*>(drawable->getVObj().get());
if (votree)
votree->destroyVB();
}
// </FS:Ansariel>
}

View File

@ -62,7 +62,7 @@ const std::string GRID_LOGIN_IDENTIFIER_TYPES = "login_identifier_types";
const std::string GRID_SLURL_BASE = "slurl_base";
const std::string GRID_APP_SLURL_BASE = "app_slurl_base";
const std::string DEFAULT_LOGIN_PAGE = "http://phoenixviewer.com/app/loginV3/";
const std::string DEFAULT_LOGIN_PAGE = "https://phoenixviewer.com/app/loginV3/";
const std::string MAIN_GRID_LOGIN_URI = "https://login.agni.lindenlab.com/cgi-bin/login.cgi";

View File

@ -12,7 +12,7 @@
width="1024">
<panel.string
name="real_url" translate="false">
http://phoenixviewer.com/app/loginV3/
https://phoenixviewer.com/app/loginV3/
</panel.string>
<string name="reg_in_client_url" translate="false">
http://secondlife.eniac15.lindenlab.com/reg-in-client/

View File

@ -306,22 +306,22 @@ Settings groups to be restored (backup will always save all):
<!-- We must have this entry before the other windlight entries to have the
windlight/ base folder created. Since we can't hide rows make it so the
user can't deselect it at least -->
<row enabled="false" name="restore_folders_row_windlight">
<row enabled="false" name="restore_folders_row_windlight" value="windlight">
<column type="checkbox" name="restore_global_folders_check" value="true" enabled="false" />
<column name="restore_global_folders_label">Windlight (Mandatory)</column>
<column name="value">windlight</column>
</row>
<row name="restore_folders_row_daycycles">
<row name="restore_folders_row_daycycles" value="windlight_daycycles">
<column type="checkbox" name="restore_global_folders_check" value="true" />
<column name="restore_global_folders_label">Windlight Day Cycles</column>
<column name="value">windlight/days</column>
</row>
<row name="restore_folders_row_skies">
<row name="restore_folders_row_skies" value="windlight_skies">
<column type="checkbox" name="restore_global_folders_check" value="true" />
<column name="restore_global_folders_label">Windlight Skies</column>
<column name="value">windlight/skies</column>
</row>
<row name="restore_folders_row_waters">
<row name="restore_folders_row_waters" value="windlight_water">
<column type="checkbox" name="restore_global_folders_check" value="true" />
<column name="restore_global_folders_label">Windlight Waters</column>
<column name="value">windlight/water</column>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel name="Outfit Gallery">
<string name="outfit_photo_string">
Zdjęcie stroju: "[OUTFIT_NAME]"
Zdjecie stroju: "[OUTFIT_NAME]"
</string>
<string name="no_outfits_msg">
Nie ma jeszcze żadnych strojów. Spróbuj [secondlife:///app/search/all/ Wyszukiwarki]

View File

@ -15,7 +15,7 @@
name="real_url"
translate="false"
>
http://phoenixviewer.com/app/loginV3/
https://phoenixviewer.com/app/loginV3/
</panel.string>
<string
name="reg_in_client_url"

View File

@ -12,7 +12,7 @@
width="1024">
<panel.string
name="real_url" translate="false">
http://phoenixviewer.com/app/loginV3/
https://phoenixviewer.com/app/loginV3/
</panel.string>
<string name="reg_in_client_url" translate="false">
http://secondlife.eniac15.lindenlab.com/reg-in-client/

View File

@ -12,7 +12,7 @@
width="1024">
<panel.string
name="real_url" translate="false">
http://phoenixviewer.com/app/loginV3/
https://phoenixviewer.com/app/loginV3/
</panel.string>
<string name="reg_in_client_url" translate="false">
http://secondlife.eniac15.lindenlab.com/reg-in-client/

View File

@ -1886,18 +1886,14 @@ class LinuxManifest(ViewerManifest):
self.path( "v8_context_snapshot.bin" )
with self.prefix(src=os.path.join(pkgdir, 'resources'), dst="bin"):
self.path( "cef.pak" )
self.path( "cef_extensions.pak" )
self.path( "cef_100_percent.pak" )
self.path( "cef_200_percent.pak" )
self.path( "devtools_resources.pak" )
self.path( "chrome_100_percent.pak" )
self.path( "chrome_200_percent.pak" )
self.path( "resources.pak" )
self.path( "icudtl.dat" )
with self.prefix(src=os.path.join(pkgdir, 'resources'), dst="lib"):
self.path( "cef.pak" )
self.path( "cef_extensions.pak" )
self.path( "cef_100_percent.pak" )
self.path( "cef_200_percent.pak" )
self.path( "devtools_resources.pak" )
self.path( "chrome_100_percent.pak" )
self.path( "chrome_200_percent.pak" )
self.path( "resources.pak" )
self.path( "icudtl.dat" )
with self.prefix(src=os.path.join(pkgdir, 'resources', 'locales'), dst=os.path.join('bin', 'locales')):