Ansariel
b42f9d836b
Re-enable a lot of compiler warnings for MSVC and address the C4267 "possible loss of precision" warnings
2024-06-01 15:49:26 +02:00
Ansariel
e2e37cced8
Fix line endlings
2024-05-22 22:40:26 +03:00
Ansariel
1b67dd855c
Merge remote-tracking branch 'origin/main' into DRTVWR-600-maint-A
...
# Conflicts:
# autobuild.xml
# indra/cmake/CMakeLists.txt
# indra/cmake/GoogleMock.cmake
# indra/llaudio/llaudioengine_fmodstudio.cpp
# indra/llaudio/llaudioengine_fmodstudio.h
# indra/llaudio/lllistener_fmodstudio.cpp
# indra/llaudio/lllistener_fmodstudio.h
# indra/llaudio/llstreamingaudio_fmodstudio.cpp
# indra/llaudio/llstreamingaudio_fmodstudio.h
# indra/llcharacter/llmultigesture.cpp
# indra/llcharacter/llmultigesture.h
# indra/llimage/llimage.cpp
# indra/llimage/llimagepng.cpp
# indra/llimage/llimageworker.cpp
# indra/llimage/tests/llimageworker_test.cpp
# indra/llmessage/tests/llmockhttpclient.h
# indra/llprimitive/llgltfmaterial.h
# indra/llrender/llfontfreetype.cpp
# indra/llui/llcombobox.cpp
# indra/llui/llfolderview.cpp
# indra/llui/llfolderviewmodel.h
# indra/llui/lllineeditor.cpp
# indra/llui/lllineeditor.h
# indra/llui/lltextbase.cpp
# indra/llui/lltextbase.h
# indra/llui/lltexteditor.cpp
# indra/llui/lltextvalidate.cpp
# indra/llui/lltextvalidate.h
# indra/llui/lluictrl.h
# indra/llui/llview.cpp
# indra/llwindow/llwindowmacosx.cpp
# indra/newview/app_settings/settings.xml
# indra/newview/llappearancemgr.cpp
# indra/newview/llappearancemgr.h
# indra/newview/llavatarpropertiesprocessor.cpp
# indra/newview/llavatarpropertiesprocessor.h
# indra/newview/llbreadcrumbview.cpp
# indra/newview/llbreadcrumbview.h
# indra/newview/llbreastmotion.cpp
# indra/newview/llbreastmotion.h
# indra/newview/llconversationmodel.h
# indra/newview/lldensityctrl.cpp
# indra/newview/lldensityctrl.h
# indra/newview/llface.inl
# indra/newview/llfloatereditsky.cpp
# indra/newview/llfloatereditwater.cpp
# indra/newview/llfloateremojipicker.h
# indra/newview/llfloaterimsessiontab.cpp
# indra/newview/llfloaterprofiletexture.cpp
# indra/newview/llfloaterprofiletexture.h
# indra/newview/llgesturemgr.cpp
# indra/newview/llgesturemgr.h
# indra/newview/llimpanel.cpp
# indra/newview/llimpanel.h
# indra/newview/llinventorybridge.cpp
# indra/newview/llinventorybridge.h
# indra/newview/llinventoryclipboard.cpp
# indra/newview/llinventoryclipboard.h
# indra/newview/llinventoryfunctions.cpp
# indra/newview/llinventoryfunctions.h
# indra/newview/llinventorygallery.cpp
# indra/newview/lllistbrowser.cpp
# indra/newview/lllistbrowser.h
# indra/newview/llpanelobjectinventory.cpp
# indra/newview/llpanelprofile.cpp
# indra/newview/llpanelprofile.h
# indra/newview/llpreviewgesture.cpp
# indra/newview/llsavedsettingsglue.cpp
# indra/newview/llsavedsettingsglue.h
# indra/newview/lltooldraganddrop.cpp
# indra/newview/llurllineeditorctrl.cpp
# indra/newview/llvectorperfoptions.cpp
# indra/newview/llvectorperfoptions.h
# indra/newview/llviewerparceloverlay.cpp
# indra/newview/llviewertexlayer.cpp
# indra/newview/llviewertexturelist.cpp
# indra/newview/macmain.h
# indra/test/test.cpp
2024-05-22 19:04:52 +02:00
Alexander Gavriliuk
f9473e8afc
secondlife/viewer#1333 BOOL to bool conversion leftovers: ternaries
2024-05-07 10:18:51 +02:00
Andrey Lihatskiy
1b68f71348
#824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed
2024-04-29 07:56:09 +03:00
Lars Næsbye Christensen
13bf5a2442
llcrashlogger: BOOL (int) to real bool
2024-02-09 01:02:29 +02:00
Dave Parks
41e32126d4
SL-17484 Unit test build fix (remove priority parameters).
2022-05-24 17:48:41 -05:00
Callum Prentice
8631a7a077
Merge with tip of Master after a Viewer release
2021-07-19 14:35:44 -07:00
Nat Goodspeed
d313d7021f
SL-15200: Add LLApp::sleep(duration) methods.
...
Two sleep() methods: one accepting F32Milliseconds, or in general any LLUnits
time class; the other accepting any std::chrono::duration.
The significant thing about each of these sleep() methods, as opposed to any
freestanding sleep() function, is that it only sleeps until the app starts
shutdown. Moreover, it returns true if it slept for the whole specified
duration, false if it woke for app shutdown.
This is accomplished by making LLApp::sStatus be an LLScalarCond<EAppStatus>
instead of a plain EAppStatus enum, and by making setStatus() call set_all()
each time the value changes. Then each new sleep() method can call
wait_for_unequal(duration, APP_STATUS_RUNNING).
Introducing llcond.h into llapp.h triggered an #include circularity because
llthread.h #included llapp.h even though it didn't reference anything from it.
Removed. This, in turn, necessitated adding #include "llapp.h" to several .cpp
files that reference LLApp but had been depending on other header files to
drag in llapp.h.
2021-05-17 13:37:13 -04:00
Andrey Kleshchev
8c8eac256b
SL-13927 Turn SSL verification On for all SL services in viewer
2020-09-11 16:32:19 +03:00
Nicky
69de6ece31
Use reinterpret_cast to pass pthread_self (pthread_t) into CRYPTO_THREADID_set_pointer (void*).
2020-03-25 18:40:45 -04:00
Nat Goodspeed
663b9ff6af
DRTVWR-476: pthread_self() also needs CRYPTO_THREADID_set_pointer()
2020-03-25 16:12:46 -04:00
Nat Goodspeed
3753dbd5ed
DRTVWR-476: Use OpenSSL API suitable for 64-bit pointers.
...
In three different places we use the same pattern: an ssl_thread_id_callback()
function (a static member of LLCrashLogger, in that case) that used to be
passed to CRYPTO_set_id_callback() and therefore returned an unsigned long
representing the ID of the current thread.
But GetCurrentThread() is a HANDLE, an alias for a pointer, and you can't
uniquely cram a 64-bit pointer into an unsigned long.
Fortunately OpenSSL has a more modern API for retrieving thread ID. Pass
each ssl_thread_id_callback() function to CRYPTO_THREADID_set_callback()
instead, converting it to accept CRYPTO_THREADID* and call
CRYPTO_THREADID_set_pointer() or CRYPTO_THREADID_set_numeric() as appropriate().
2020-03-25 16:12:46 -04:00
Oz Linden
d62ad1ef8a
merge changes for 5.0.8-release
2017-10-11 09:13:55 -04:00
andreykproductengine
9d9c04b044
MAINT-7691 One more crashreported issue with unicode in windows
2017-08-30 17:44:21 +03:00
andreykproductengine
8f49a267da
MAINT-7691 Crash report is not generated/sent if appdata path contains unicode symbols
2017-08-29 19:47:20 +03:00
Oz Linden
0a7fd3686a
Look for logcontrol-dev.xml in the user settings directory
2017-02-27 09:52:50 -05:00
Nat Goodspeed
c92eb7e591
Automated merge with ssh://bitbucket.org/lindenlab/viewer-release
2016-08-30 11:36:06 -04:00
Oz Linden
950c41d184
merge 4.0.4-release and MAINT-5974
2016-05-06 10:28:42 -04:00
Oz Linden
6de1d311f9
reset crash dump upload retries and timeouts
2016-04-20 12:26:28 -04:00
Oz Linden
928f8fb608
reset crash dump upload retries and timeouts
2016-04-20 12:26:28 -04:00
Oz Linden
ddd476c90c
MAINT-6322 fix merge error that prevented crash dumps from being located for upload (and add better logging)
2016-04-20 11:52:00 -04:00
Oz Linden
ecdb190d70
MAINT-6322 fix merge error that prevented crash dumps from being located for upload (and add better logging)
2016-04-20 11:52:00 -04:00
Oz Linden
a6bc849992
add logging around crash reporting, with minor code cleanups
2016-04-13 14:41:38 -04:00
Oz Linden
8b5a8e3b57
merge changes for MAINT-5974
2016-05-04 13:45:15 -04:00
Oz Linden
57488bc381
add logging around crash reporting, with minor code cleanups
2016-04-13 14:41:38 -04:00
Oz Linden
ed38b5c923
merge changes for MAINT-5974
2016-04-08 11:32:48 -04:00
Oz Linden
9be58e915a
merge with 4.0.3-release
2016-04-04 15:53:09 -04:00
Glenn Glazer
68745390ea
maint-5974 / maint-5422: remove extraneous return statement
2016-03-08 09:39:05 -08:00
Glenn Glazer
442c4842ab
maint-5974/maint-5422: viewer changes for new crash reporting, remove no send logic
2016-03-08 08:09:11 -08:00
Rider Linden
b9292fdef7
MAINT-6099: One more log message.
2016-01-29 16:11:52 -08:00
Rider Linden
af47bfff6b
MAINT-6099: Add a check on the result of requestPostWithLLSD for error. Also log the failed URL.
2016-01-29 14:11:28 -08:00
Oz Linden
c8726aba30
remove execute permission from many files that should not have it
2015-11-10 09:48:56 -05:00
Rider Linden
bbb9d4f21b
MAINT-5732: Change to the way event polling handles error conditions and cancel calls.
...
Refactor any remaining LLCore::HTTPHandlers to use boost::shared_ptr
Started minor refactor in the materials manager into coroutines (unfinished)
2015-10-14 17:46:24 -07:00
Glenn Glazer
b09f0a120e
maint-5422 changes and merge from release
2015-09-16 14:21:03 -07:00
Rider Linden
907efc9cc9
MAINT-5507: Remove llcurl, move constant values and untilities to llcorehttp lib
2015-09-15 17:01:26 -07:00
Rider Linden
fe5567639d
Change HttpOptions::ptr_t to be shared_ptr<> rather than intrusive.
2015-07-08 12:09:36 -07:00
Rider Linden
1138c57f9a
Convert LLCore::HttpHeaders to use shared_ptr<> rather than an intrusive_ptr<> for refrence counting.
2015-07-08 10:01:27 -07:00
Nat Goodspeed
80d17b2dd9
MAINT-4952: Use IntrusivePtr for BufferArray,HttpHeaders,HttpOptions.
...
Specifically, change the ptr_t typedefs for these LLCore classes to use
IntrusivePtr rather than directly using boost::intrusive_ptr. This allows us
to use a simple ptr_t(raw ptr) constructor rather than having to remember to
code ptr_t(raw ptr, false) everywhere. In fact, the latter form is now invalid:
remove the now-extraneous 'false' constructor parameters.
2015-06-29 17:19:51 -04:00
Nat Goodspeed
107b9bcb70
MAINT-5232: Introduce SUBSYSTEM_CLEANUP() macro
...
and use it for existing LLSomeClass::cleanupClass() calls.
This logs the fact of making the call, as well as making it.
2015-05-20 10:56:09 -04:00
Rider Linden
ef1b709c99
Fix to linux link
...
Put timeout back into crashlogger post.
2015-04-30 15:21:49 -07:00
Rider Linden
cd55655592
Crash logger changes to LLCore::Http
2015-04-30 13:12:09 -07:00
Brad Payne (Vir Linden)
7b9708a2e3
sunshine-external merge WIP
2014-05-13 10:02:26 -04:00
Brad Payne (Vir Linden)
ea7f34d37a
merge
2014-04-08 13:20:23 -04:00
Richard Linden
98aabdc176
merge with release
2014-04-07 19:09:40 -07:00
Aura Linden
9ea2694c0e
Not ideal but sufficient.
2014-03-26 02:07:29 -07:00
Aura Linden
0893b49ebd
The simple approach has not worked. This hybrid solution should avoid the Windows issues and get us per-run logfiles.
2014-03-24 22:44:51 -07:00
Aura Linden
877f87a360
Old is the new new.
2014-03-24 15:19:03 -07:00
Aura Linden
489f265be2
Current log was actually correct.
2014-03-21 13:58:39 -07:00
Aura Linden
35ab71d8ea
Returned Secondlife.log to main directory due to unforeseen LLErrorThread complexities.
2014-03-20 12:04:39 -07:00