Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Black Dragon Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
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
Logue
Black Dragon Viewer
Commits
7957946f
Commit
7957946f
authored
2 years ago
by
Andrey Lihatskiy
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into DRTVWR-565-maint-P
parents
b5861e58
f83289d3
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
+7
-7
7 additions, 7 deletions
autobuild.xml
indra/llui/llmodaldialog.cpp
+12
-2
12 additions, 2 deletions
indra/llui/llmodaldialog.cpp
indra/media_plugins/cef/media_plugin_cef.cpp
+12
-5
12 additions, 5 deletions
indra/media_plugins/cef/media_plugin_cef.cpp
with
31 additions
and
14 deletions
autobuild.xml
+
7
−
7
View file @
7957946f
...
...
@@ -482,9 +482,9 @@
<key>
archive
</key>
<map>
<key>
hash
</key>
<string>
012aaadd1c40d430866bebda2e60bfae
</string>
<string>
439d92ec73f0500ba1671faad2bd8090
</string>
<key>
url
</key>
<string>
https://automated-builds-secondlife-com.s3.amazonaws.com/ct2/10
0136/88232
3/dullahan-1.12.
3
.20220
5202122
_91.1.21_g9dd45fe_chromium-91.0.4472.114-darwin64-57
2
00
2
.tar.bz2
</string>
<string>
https://automated-builds-secondlife-com.s3.amazonaws.com/ct2/10
4637/91664
3/dullahan-1.12.
4
.20220
9142017
_91.1.21_g9dd45fe_chromium-91.0.4472.114-darwin64-57
5
00
5
.tar.bz2
</string>
</map>
<key>
name
</key>
<string>
darwin64
</string>
...
...
@@ -494,9 +494,9 @@
<key>
archive
</key>
<map>
<key>
hash
</key>
<string>
ff1c56b7a28c689442f6439421bb32f5
</string>
<string>
2a7c01da15de77bc1fd1863327174d5e
</string>
<key>
url
</key>
<string>
https://automated-builds-secondlife-com.s3.amazonaws.com/ct2/10
0149/882391
/dullahan-1.12.
3
.20220
5202205
_91.1.21_g9dd45fe_chromium-91.0.4472.114-windows-57
2
00
2
.tar.bz2
</string>
<string>
https://automated-builds-secondlife-com.s3.amazonaws.com/ct2/10
4638/916654
/dullahan-1.12.
4
.20220
9142021
_91.1.21_g9dd45fe_chromium-91.0.4472.114-windows-57
5
00
5
.tar.bz2
</string>
</map>
<key>
name
</key>
<string>
windows
</string>
...
...
@@ -506,16 +506,16 @@
<key>
archive
</key>
<map>
<key>
hash
</key>
<string>
bbfe23d7f211865b81b291884949a887
</string>
<string>
d06bee9b2517fbb09ba1a65e6d675361
</string>
<key>
url
</key>
<string>
https://automated-builds-secondlife-com.s3.amazonaws.com/ct2/10
0148/882385
/dullahan-1.12.
3
.20220
5202
202_91.1.21_g9dd45fe_chromium-91.0.4472.114-windows64-57
2
00
2
.tar.bz2
</string>
<string>
https://automated-builds-secondlife-com.s3.amazonaws.com/ct2/10
4639/916659
/dullahan-1.12.
4
.20220
914
202
1
_91.1.21_g9dd45fe_chromium-91.0.4472.114-windows64-57
5
00
5
.tar.bz2
</string>
</map>
<key>
name
</key>
<string>
windows64
</string>
</map>
</map>
<key>
version
</key>
<string>
1.12.
3
.20220
5202205
_91.1.21_g9dd45fe_chromium-91.0.4472.114
</string>
<string>
1.12.
4
.20220
9142021
_91.1.21_g9dd45fe_chromium-91.0.4472.114
</string>
</map>
<key>
expat
</key>
<map>
...
...
This diff is collapsed.
Click to expand it.
indra/llui/llmodaldialog.cpp
+
12
−
2
View file @
7957946f
...
...
@@ -100,7 +100,10 @@ void LLModalDialog::onOpen(const LLSD& key)
if
(
!
sModalStack
.
empty
())
{
LLModalDialog
*
front
=
sModalStack
.
front
();
front
->
setVisible
(
FALSE
);
if
(
front
!=
this
)
{
front
->
setVisible
(
FALSE
);
}
}
// This is a modal dialog. It sucks up all mouse and keyboard operations.
...
...
@@ -108,7 +111,14 @@ void LLModalDialog::onOpen(const LLSD& key)
LLUI
::
getInstance
()
->
addPopup
(
this
);
setFocus
(
TRUE
);
sModalStack
.
push_front
(
this
);
std
::
list
<
LLModalDialog
*>::
iterator
iter
=
std
::
find
(
sModalStack
.
begin
(),
sModalStack
.
end
(),
this
);
if
(
iter
!=
sModalStack
.
end
())
{
// if already present, we want to move it to front.
sModalStack
.
erase
(
iter
);
}
sModalStack
.
push_front
(
this
);
}
}
...
...
This diff is collapsed.
Click to expand it.
indra/media_plugins/cef/media_plugin_cef.cpp
+
12
−
5
View file @
7957946f
...
...
@@ -56,7 +56,7 @@ class MediaPluginCEF :
bool
init
();
void
onPageChangedCallback
(
const
unsigned
char
*
pixels
,
int
x
,
int
y
,
const
int
width
,
const
int
height
);
void
onCustomSchemeURLCallback
(
std
::
string
url
);
void
onCustomSchemeURLCallback
(
std
::
string
url
,
bool
user_gesture
,
bool
is_redirect
);
void
onConsoleMessageCallback
(
std
::
string
message
,
std
::
string
source
,
int
line
);
void
onStatusMessageCallback
(
std
::
string
value
);
void
onTitleChangeCallback
(
std
::
string
title
);
...
...
@@ -300,11 +300,18 @@ void MediaPluginCEF::onOpenPopupCallback(std::string url, std::string target)
////////////////////////////////////////////////////////////////////////////////
//
void
MediaPluginCEF
::
onCustomSchemeURLCallback
(
std
::
string
url
)
void
MediaPluginCEF
::
onCustomSchemeURLCallback
(
std
::
string
url
,
bool
user_gesture
,
bool
is_redirect
)
{
LLPluginMessage
message
(
LLPLUGIN_MESSAGE_CLASS_MEDIA_BROWSER
,
"click_nofollow"
);
message
.
setValue
(
"uri"
,
url
);
message
.
setValue
(
"nav_type"
,
"clicked"
);
// TODO: differentiate between click and navigate to
message
.
setValue
(
"uri"
,
url
);
// indicate if this interaction was from a user click (okay on a SLAPP) or
// via a navigation (e.g. a data URL - see SL-18151) (not okay on a SLAPP)
const
std
::
string
nav_type
=
user_gesture
?
"clicked"
:
"navigated"
;
message
.
setValue
(
"nav_type"
,
nav_type
);
message
.
setValueBoolean
(
"is_redirect"
,
is_redirect
);
sendMessage
(
message
);
}
...
...
@@ -593,7 +600,7 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
{
// event callbacks from Dullahan
mCEFLib
->
setOnPageChangedCallback
(
std
::
bind
(
&
MediaPluginCEF
::
onPageChangedCallback
,
this
,
std
::
placeholders
::
_1
,
std
::
placeholders
::
_2
,
std
::
placeholders
::
_3
,
std
::
placeholders
::
_4
,
std
::
placeholders
::
_5
));
mCEFLib
->
setOnCustomSchemeURLCallback
(
std
::
bind
(
&
MediaPluginCEF
::
onCustomSchemeURLCallback
,
this
,
std
::
placeholders
::
_1
));
mCEFLib
->
setOnCustomSchemeURLCallback
(
std
::
bind
(
&
MediaPluginCEF
::
onCustomSchemeURLCallback
,
this
,
std
::
placeholders
::
_1
,
std
::
placeholders
::
_2
,
std
::
placeholders
::
_3
));
mCEFLib
->
setOnConsoleMessageCallback
(
std
::
bind
(
&
MediaPluginCEF
::
onConsoleMessageCallback
,
this
,
std
::
placeholders
::
_1
,
std
::
placeholders
::
_2
,
std
::
placeholders
::
_3
));
mCEFLib
->
setOnStatusMessageCallback
(
std
::
bind
(
&
MediaPluginCEF
::
onStatusMessageCallback
,
this
,
std
::
placeholders
::
_1
));
mCEFLib
->
setOnTitleChangeCallback
(
std
::
bind
(
&
MediaPluginCEF
::
onTitleChangeCallback
,
this
,
std
::
placeholders
::
_1
));
...
...
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