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
00aa2fee
Commit
00aa2fee
authored
11 years ago
by
Aura Linden
Browse files
Options
Downloads
Patches
Plain Diff
Fixes from Windows build including utf-16 to utf-8 conversions.
parent
ea7e6a51
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/llcommon/llstring.h
+4
-1
4 additions, 1 deletion
indra/llcommon/llstring.h
indra/win_crash_logger/llcrashloggerwindows.cpp
+4
-4
4 additions, 4 deletions
indra/win_crash_logger/llcrashloggerwindows.cpp
with
8 additions
and
5 deletions
indra/llcommon/llstring.h
+
4
−
1
View file @
00aa2fee
...
@@ -518,10 +518,13 @@ LL_COMMON_API S32 wchar_to_utf8chars(llwchar inchar, char* outchars);
...
@@ -518,10 +518,13 @@ LL_COMMON_API S32 wchar_to_utf8chars(llwchar inchar, char* outchars);
LL_COMMON_API
std
::
string
wstring_to_utf8str
(
const
LLWString
&
utf32str
,
S32
len
);
LL_COMMON_API
std
::
string
wstring_to_utf8str
(
const
LLWString
&
utf32str
,
S32
len
);
LL_COMMON_API
std
::
string
wstring_to_utf8str
(
const
LLWString
&
utf32str
);
LL_COMMON_API
std
::
string
wstring_to_utf8str
(
const
LLWString
&
utf32str
);
LL_COMMON_API
std
::
string
utf16str_to_utf8str
(
const
llutf16string
&
utf16str
,
S32
len
);
LL_COMMON_API
std
::
string
utf16str_to_utf8str
(
const
llutf16string
&
utf16str
,
S32
len
);
LL_COMMON_API
std
::
string
utf16str_to_utf8str
(
const
llutf16string
&
utf16str
);
LL_COMMON_API
std
::
string
utf16str_to_utf8str
(
const
llutf16string
&
utf16str
);
#if LL_WINDOWS
inline
std
::
string
wstring_to_utf8str
(
const
llutf16string
&
utf16str
)
{
return
utf16str_to_utf8str
(
utf16str
);}
#endif
// Length of this UTF32 string in bytes when transformed to UTF8
// Length of this UTF32 string in bytes when transformed to UTF8
LL_COMMON_API
S32
wstring_utf8_length
(
const
LLWString
&
wstr
);
LL_COMMON_API
S32
wstring_utf8_length
(
const
LLWString
&
wstr
);
...
...
This diff is collapsed.
Click to expand it.
indra/win_crash_logger/llcrashloggerwindows.cpp
+
4
−
4
View file @
00aa2fee
...
@@ -43,6 +43,7 @@
...
@@ -43,6 +43,7 @@
#include
"lldir.h"
#include
"lldir.h"
#include
"llsdserialize.h"
#include
"llsdserialize.h"
#include
"llsdutil.h"
#include
"llsdutil.h"
#include
"stringize.h"
#include
<client/windows/crash_generation/crash_generation_server.h>
#include
<client/windows/crash_generation/crash_generation_server.h>
#include
<client/windows/crash_generation/client_info.h>
#include
<client/windows/crash_generation/client_info.h>
...
@@ -387,13 +388,12 @@ bool LLCrashLoggerWindows::initCrashServer()
...
@@ -387,13 +388,12 @@ bool LLCrashLoggerWindows::initCrashServer()
//this is unique-enough with least hassle. Worst case for duplicate name
//this is unique-enough with least hassle. Worst case for duplicate name
//is a second instance of the viewer will not do crash reporting.
//is a second instance of the viewer will not do crash reporting.
std
::
wstring
wpipe_name
;
std
::
wstring
wpipe_name
;
wpipe_name
=
mCrashReportPipeStr
+
stringize
(
mPID
);
wpipe_name
=
mCrashReportPipeStr
+
std
::
wstring
(
w
stringize
(
mPID
)
)
;
std
::
wstring
wdump_path
;
std
::
wstring
wdump_path
(
wstringize
(
dump_path
)
);
wdump_path
=
stringize
(
dump_path
);
//Pipe naming conventions: http://msdn.microsoft.com/en-us/library/aa365783%28v=vs.85%29.aspx
//Pipe naming conventions: http://msdn.microsoft.com/en-us/library/aa365783%28v=vs.85%29.aspx
mCrashHandler
=
new
CrashGenerationServer
(
stringize
(
wpipe_name
).
c_str
()
,
mCrashHandler
=
new
CrashGenerationServer
(
wpipe_name
,
NULL
,
NULL
,
&
LLCrashLoggerWindows
::
OnClientConnected
,
this
,
&
LLCrashLoggerWindows
::
OnClientConnected
,
this
,
NULL
,
NULL
,
// &LLCrashLoggerWindows::OnClientDumpRequest, this,
NULL
,
NULL
,
// &LLCrashLoggerWindows::OnClientDumpRequest, this,
...
...
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