Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
f2a6e0f8
Commit
f2a6e0f8
authored
9 years ago
by
callum_linden
Browse files
Options
Downloads
Patches
Plain Diff
Fix javascript_enabled && plugins_enabled (wrong media class) and pull in new LLCEFLib
parent
32691c44
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
autobuild.xml
+5
-5
5 additions, 5 deletions
autobuild.xml
indra/llplugin/llpluginclassmedia.cpp
+2
-2
2 additions, 2 deletions
indra/llplugin/llpluginclassmedia.cpp
indra/media_plugins/cef/media_plugin_cef.cpp
+2
-5
2 additions, 5 deletions
indra/media_plugins/cef/media_plugin_cef.cpp
with
9 additions
and
12 deletions
autobuild.xml
+
5
−
5
View file @
f2a6e0f8
...
...
@@ -1536,11 +1536,11 @@
<key>
archive
</key>
<map>
<key>
hash
</key>
<string>
e632f94b6f94a9563ccdfca6da38fb27
</string>
<string>
d2a2221741c31c28ec28e974b035099c
</string>
<key>
hash_algorithm
</key>
<string>
md5
</string>
<key>
url
</key>
<string>
http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/3p-llceflib_3p-llceflib/rev/3080
49
/arch/Darwin/installer/llceflib-1.4.0.3080
49
-darwin-3080
49
.tar.bz2
</string>
<string>
http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/3p-llceflib_3p-llceflib/rev/3080
76
/arch/Darwin/installer/llceflib-1.4.0.3080
76
-darwin-3080
76
.tar.bz2
</string>
</map>
<key>
name
</key>
<string>
darwin
</string>
...
...
@@ -1550,18 +1550,18 @@
<key>
archive
</key>
<map>
<key>
hash
</key>
<string>
41454f05cea1149d5124d28fc3db6ae0
</string>
<string>
8e4a649ecc7ba1f39b5d54fed935ac14
</string>
<key>
hash_algorithm
</key>
<string>
md5
</string>
<key>
url
</key>
<string>
http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/3p-llceflib_3p-llceflib/rev/3080
49
/arch/CYGWIN/installer/llceflib-1.4.0.3080
49
-windows-3080
49
.tar.bz2
</string>
<string>
http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/3p-llceflib_3p-llceflib/rev/3080
76
/arch/CYGWIN/installer/llceflib-1.4.0.3080
76
-windows-3080
76
.tar.bz2
</string>
</map>
<key>
name
</key>
<string>
windows
</string>
</map>
</map>
<key>
version
</key>
<string>
1.4.0.3080
49
</string>
<string>
1.4.0.3080
76
</string>
</map>
<key>
llphysicsextensions_source
</key>
<map>
...
...
This diff is collapsed.
Click to expand it.
indra/llplugin/llpluginclassmedia.cpp
+
2
−
2
View file @
f2a6e0f8
...
...
@@ -845,14 +845,14 @@ void LLPluginClassMedia::setLanguageCode(const std::string &language_code)
void
LLPluginClassMedia
::
setPluginsEnabled
(
const
bool
enabled
)
{
LLPluginMessage
message
(
LLPLUGIN_MESSAGE_CLASS_MEDIA
,
"plugins_enabled"
);
LLPluginMessage
message
(
LLPLUGIN_MESSAGE_CLASS_MEDIA
_BROWSER
,
"plugins_enabled"
);
message
.
setValueBoolean
(
"enable"
,
enabled
);
sendMessage
(
message
);
}
void
LLPluginClassMedia
::
setJavascriptEnabled
(
const
bool
enabled
)
{
LLPluginMessage
message
(
LLPLUGIN_MESSAGE_CLASS_MEDIA
,
"javascript_enabled"
);
LLPluginMessage
message
(
LLPLUGIN_MESSAGE_CLASS_MEDIA
_BROWSER
,
"javascript_enabled"
);
message
.
setValueBoolean
(
"enable"
,
enabled
);
sendMessage
(
message
);
}
...
...
This diff is collapsed.
Click to expand it.
indra/media_plugins/cef/media_plugin_cef.cpp
+
2
−
5
View file @
f2a6e0f8
...
...
@@ -338,7 +338,7 @@ void MediaPluginCEF::authResponse(LLPluginMessage &message)
//
void
MediaPluginCEF
::
receiveMessage
(
const
char
*
message_string
)
{
// std::cerr << "MediaPlugin
WebKit
::receiveMessage: received message: \"" << message_string << "\"" << std::endl;
// std::cerr << "MediaPlugin
CEF
::receiveMessage: received message: \"" << message_string << "\"" << std::endl;
LLPluginMessage
message_in
;
if
(
message_in
.
parse
(
message_string
)
>=
0
)
...
...
@@ -356,7 +356,7 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
versions
[
LLPLUGIN_MESSAGE_CLASS_MEDIA_BROWSER
]
=
LLPLUGIN_MESSAGE_CLASS_MEDIA_BROWSER_VERSION
;
message
.
setValueLLSD
(
"versions"
,
versions
);
std
::
string
plugin_version
=
"CEF plugin 1.
0.0
"
;
std
::
string
plugin_version
=
"CEF plugin 1.
1.3
"
;
message
.
setValue
(
"plugin_version"
,
plugin_version
);
sendMessage
(
message
);
}
...
...
@@ -400,7 +400,6 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
}
else
{
//std::cerr << "MediaPluginWebKit::receiveMessage: unknown shared memory region!" << std::endl;
}
LLPluginMessage
message
(
"base"
,
"shm_remove_response"
);
...
...
@@ -409,7 +408,6 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
}
else
{
//std::cerr << "MediaPluginWebKit::receiveMessage: unknown base message: " << message_name << std::endl;
}
}
else
if
(
message_class
==
LLPLUGIN_MESSAGE_CLASS_MEDIA
)
...
...
@@ -709,7 +707,6 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
}
else
{
//std::cerr << "MediaPluginWebKit::receiveMessage: unknown message class: " << message_class << std::endl;
};
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment