Commit Graph

85 Commits (3d9414c1f26fe19d62ff5a2a10aaefcddcd86006)

Author SHA1 Message Date
Zi Ree 6edfe9b3c5 Linux: switch to boost::json 2024-06-06 18:12:56 +02:00
Ansariel 5f1a19af72 Merge remote-tracking branch 'LL/marchcat/x-ws-merge'
# Conflicts:
#	autobuild.xml
#	indra/linux_crash_logger/llcrashloggerlinux.cpp
#	indra/newview/llappviewerlinux_api.h
#	indra/newview/llappviewerlinux_api_dbus.cpp
#	indra/newview/llappviewerlinux_api_dbus.h
#	indra/newview/llavatarpropertiesprocessor.h
#	indra/newview/llcallbacklist.cpp
#	indra/newview/llimpanel.h
2024-05-01 12:30:57 +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
Ansariel e900da3597 Merge branch 'DRTVWR-580-maint-T' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/llcharacter/llkeyframemotion.cpp
#	indra/llcommon/llerrorthread.cpp
#	indra/llui/lllayoutstack.cpp
#	indra/newview/app_settings/settings.xml
#	indra/newview/llfilepicker.cpp
2023-05-23 13:57:36 +02:00
Nat Goodspeed 27ee831e38 SL-19744: Remove LLErrorThread and LLAppViewer::handleViewerCrash() 2023-05-23 04:28:58 +03:00
Liny 9bfcd7f470 Attempt to fix linux compiles 2022-04-05 00:08:47 -07:00
Nicky 6da40d7ad4 Workaround for newer glibc, linking against libraries build on older versons results in missing symbols. 2022-04-03 01:13:04 +02:00
Nicky 09fea3f2b2 Linux; Crash reporting. Implement CRASH_BEHAVIOR_ASK with a simple FTLK choice dialog. 2022-02-21 06:19:09 +01:00
Nicky 9146e4b8b8 First vversion of uploader. Only do so when user selected "always" send, as of now there is
no way to ask the user for consent in case they selected "ask before sending".
2022-02-20 22:34:00 +01:00
Nicky 94e9141033 Initial changes to bring back crash dump uploading 2022-02-20 18:32:15 +01:00
Nicky 6d94e02868 Rewmove some unused variables. 2022-02-10 22:03:56 +01:00
Nicky a8805b3280 dumpCallback needs types only available when crash reporting is on (and breakpad included). While at it remove dummy code in dumpCallback 2022-02-10 12:18:24 +01:00
Nicky c7f39b5043 Linux; bring back breakpad. No upload to bugsplat implemented yet. 2022-02-09 23:04:31 +01:00
Nicky ba31ac8efe Remove old dbus code and replace it with a glib/gio implementation. 2022-01-27 22:00:35 +01:00
Ansariel ae0e659ffb Merge branch 'master' of https://bitbucket.org/Ansariel/phoenix-firestorm-525 2021-05-04 19:41:55 +02:00
Nicky b27ae7fb49 Linux; Remove flash hack. 2021-05-02 16:23:45 +02:00
Ansariel 3804ec1d03 Merge branch 'master' of https://vcs.firestormviewer.org/phoenix-firestorm 2021-03-04 08:35:13 +01:00
Nicky a0984cabbf Make sure no invalidated pointer values get into cmdargv. 2021-02-25 13:23:23 +01:00
Ansariel 93f1998a47 Merge branch 'DRTVWR-525' of https://bitbucket.org/lindenlab/viewer 2021-01-08 23:06:41 +01:00
Dave Houlton 7cd076c796 DRTVWR-510 remove all LL_SOLARIS conditionals 2020-10-08 17:16:22 -06:00
Nicky d68fe4aa87 viewer side tweaks to allow using latest CEF/dullahan. 2020-05-21 23:41:06 +02:00
Ansariel 04a10663ff Replace remaining ND_BUILD64BIT_ARCH definitions with ADDRESS_SIZE 2018-01-17 14:12:01 +01:00
Nicky 140c0dcd63 Include json headers via json/ path. 2017-02-03 17:12:07 +01:00
Nicky d7a0835432 Merge. 2016-09-26 21:12:34 +02:00
Nat Goodspeed 464a0df4c1 DRTVWR-418: Unify control flow through LLAppViewer across platforms.
The LLApp API used to consist of init(), mainLoop(), cleanup() methods. This
makes sense -- but on Mac that structure was being subverted. The method
called mainLoop() was in fact being called once per frame. There was
initialization code in the method, which (on Mac) needed to be skipped with an
already-initialized bool. There was a 'while' loop which (on Mac) needed to be
turned into an 'if' instead so the method would return after every frame.

Rename LLApp::mainLoop() to frame(). Propagate through subclasses LLAppViewer
and LLCrashLogger. Document the fact that frame() returns true to mean "done."
(This was always the case, but had to be inferred from the code.)

Rename the Mac Objective-C function mainLoop to oneFrame. Rename the C++ free
function it calls from runMainLoop() to pumpMainLoop(). Add comments to
llappdelegate-objc.mm explaining (inferred) control flow.

Change the Linux viewer main() and the Windows viewer WINMAIN() from a single
LLAppViewer::mainLoop() call to repeatedly call frame() until it returns true.

Move initialization code from the top of LLAppViewer::frame() to the init()
method, where it more properly belongs. Remove corresponding
mMainLoopInitialized flag (and all references) from LLAppViewer.

Remove 'while (! LLApp::isExiting())' (or on Mac, 'if (! LLApp::isExiting())')
from LLAppViewer::frame() -- thus unindenting the whole body of the 'while'
and causing many lines of apparent change. (Apologies to reviewers.)

There are four LLApp states: APP_STATUS_RUNNING, APP_STATUS_QUITTING,
APP_STATUS_STOPPED and APP_STATUS_ERROR. Change LLAppViewer::frame() return
value from (isExiting()) (QUITTING or ERROR) to (! isRunning()). I do not know
under what circumstances the state might transition to STOPPED during a
frame() call, but I'm quite sure that if it does, we don't want to call
frame() again. We only want a subsequent call if the state is RUNNING.

Also rename mainLoop() method in LLCrashLogger subclasses
LLCrashLoggerWindows, LLCrashLoggerMac, LLCrashLoggerLinux. Of course it's
completely up to the frame() method whether to yield control; none of those in
fact do. Honor protocol by returning true (frame() is done), even though each
one's main() caller ignores the return value.

In fact LLCrashLoggerWindows::mainLoop() wasn't using the return protocol
correctly anyway, returning wParam or 0 or 1 -- possibly because the return
protocol was never explicitly documented. It should always return true: "I'm
done, don't call me again."
2016-06-30 16:51:50 -04:00
Ansariel 3192fe832f Merge viewer-quickgraphics 2016-03-08 01:41:31 +01:00
Nicky 651db8c6e8 Add Slackware path to Pepperflash autodetection. 2016-03-02 00:43:11 +01:00
Nicky 1e50565d71 Linux: Emable pepperflash 2016-02-07 21:47:31 +01:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Tank_Master 6babf8abd2 Merge LL 3.7.7 2014-06-09 11:29:57 -07:00
Nicky 381287b3eb Merge lgpl with LL breakpad changes. 2014-05-02 17:09:26 +02:00
Richard Linden 98aabdc176 merge with release 2014-04-07 19:09:40 -07:00
Aura Linden 6809348125 Creating a cleaner branch 2013-12-03 17:06:06 -08:00
Nicky 460f499c1e Work around glib functions that had been deprecated with glib 2.35. 2013-11-23 15:11:12 +01:00
Richard Linden d83c51a4e1 BUILDFIX: converted platform-specific files over to new LL_INFOS, etc macros 2013-08-14 21:58:30 -07:00
Oz Linden edf0a0c7f5 fix modified virtual function names in platform-specific modules 2013-06-04 16:26:11 -04:00
Oz Linden 3bb708d706 merge up to latest viewer-development for merge to 3.5.2 2013-04-19 14:42:56 -04:00
Oz Linden e200991553 change initLogging virtual functions to void (returns were ignored anyway) 2013-04-02 15:01:25 -04:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Nicky aa73973514 Work around glib functions that had been deprecated with glib 2.32. 2013-01-23 21:15:14 +01:00
Tank_Master 718f6fa0ff merge LL 3.6.1 2013-07-10 00:23:23 -07:00
Tank_Master d4640277d0 Merge LL 3.5.3 release. 2013-07-09 16:24:58 -07:00
Tank_Master 169263d8b0 Merge LL 3.4.5 beta 3 2013-01-28 01:56:00 -08:00
simon@Simon-PC.lindenlab.com b7555a3309 Merge back viewer-lion, which has viewer-development and down-stream fixes 2012-08-01 14:07:24 -07:00
Dave Parks 267c01d4c8 MAINT-570 Fix for linux build. 2012-07-30 12:20:16 -05:00
Oz Linden d500379cea PATH-735: Limit and clean up grid selection 2012-06-12 21:58:52 -04:00
Tank@test_master.ftrdhcpuser.net 01c7d1eafb Merge LL pathfinding
with help from Armin and NickyD
2012-08-06 18:14:39 -07:00
Nicky 6cef73bbac FIRE-5417; proper implementation for dbus. 2012-03-11 13:35:20 +01:00
Aaron Stone 5f99d30c20 STORM-1482 Always run the crash loggers, they will check what to do and how to clean up. 2011-07-15 16:25:32 -07:00
Aaron Stone 42daa3497b STORM-1482 The Viewer shouldn't overwrite the crash behavior settings, some cleanups to the crash reporters, and the ability to use --set GroupName.SettingName to set parameters outside of the (default) Global settings group. 2011-07-12 15:48:02 -07:00