Commit Graph

40429 Commits (bd008a170898e69beeb8bc0481b4bfd94de86c55)

Author SHA1 Message Date
callum_linden fa197bf29a Automated merge with tip of lindenlab/viewer64 2017-12-14 15:04:09 -08:00
Nat Goodspeed bdea97399b MAINT-8087: Use SHGetKnownFolderPath(), not SHGetSpecialFolderPath().
SHGetSpecialFolderPath() is deprecated, and empirically it appears to be
failing when the user name contains non-ASCII characters. The relevant
Microsoft documentation pages recommend calling SHGetKnownFolderPath()
instead.

Also, the SHGetSpecialFolderPath() calls had no error checking or reporting,
which is why we can only say it "appears to be" failing. Make sure that if
SHGetKnownFolderPath() fails, at least we try to tell somebody about it.
2017-12-14 17:54:06 -05:00
callum_linden 6166ab28dd Pull in Dullahan 1.1.929 (multiple file picking support) and update plugin code accordingly 2017-12-14 14:27:49 -08:00
andreykproductengine 7f37f1865a MAINT-4354 Render stalls in object heavy regions 2017-12-14 18:54:15 +02:00
Brad Payne (Vir Linden) c508259f3c SL-731 - added est tris to animated object debug text 2017-12-14 15:38:38 +00:00
Mnikolenko Productengine 8fb9dd88df MAINT-8089 FIXED User A can't unblock text from user B when use right-click menu in chat 2017-12-14 15:48:02 +02:00
Nat Goodspeed 0d1c5958fb MAINT-8087: Update to viewer-manager build 511391 2017-12-13 21:37:46 -05:00
callum_linden 0b97c76dbb Pull in Dullahan 1.1.925 with fix for onFileDialogCallback(..) handling that fixes MAINT-8083 2017-12-13 13:55:33 -08:00
callum_linden 6746be477b Automated merge with head of viewer64 2017-12-13 12:39:37 -08:00
Brad Payne (Vir Linden) 9580e610f6 MAINT-8088 - avoid excess object inventory queries when Animation Info display is enabled 2017-12-13 20:22:38 +00:00
Brad Payne (Vir Linden) 49d924ae29 MAINT-7528 - allow underscores to substitute for spaces in uploaded meshes - this allows rigging to some attachment points that will not otherwise work 2017-12-13 16:04:10 +00:00
Mnikolenko Productengine ae41f0497e MAINT-8085 'Edit Outfit' in "Appearance" continuously display "Loading...", when in this section no objects. 2017-12-13 17:08:38 +02:00
Brad Payne (Vir Linden) 9f14825013 SL-731 - diagnostic display cleanup for DebugAnimatedObjects 2017-12-13 14:04:23 +00:00
Nat Goodspeed df21b99723 MAINT-8082: Update to viewer-manager build 511355 2017-12-13 08:27:41 -05:00
Mnikolenko Productengine b309f05808 MAINT-8061 Consider including folder count along with object count 2017-12-13 14:20:50 +02:00
Mnikolenko Productengine 9db2de69f1 MAINT-8061 Consider including folder count along with object count 2017-12-13 12:47:25 +02:00
Nat Goodspeed e94adafe71 MAINT-8082: Update to viewer-manager build 511350 2017-12-12 19:54:14 -05:00
Nat Goodspeed c5abe29e9b MAINT-8082: Make UpdaterMaximumBandwidth comment admit uselessness. 2017-12-12 19:44:18 -05:00
andreykproductengine 27a3961168 MAINT-8071 Handle initialization crash better 2017-12-12 16:54:59 +02:00
Brad Payne (Vir Linden) 6199cecd8b SL-704 - more comment review/cleanup, some avatar state handling updated for animated objects. 2017-12-11 21:18:05 +00:00
callum_linden ab94da9baf Pull in new version of Dullahan 1.1.920 with fix for crashing in RequestPageZoom() 2017-12-11 13:09:52 -08:00
callum_linden 5561673bf1 Automated merge with tip of viewer64 *plus* update to CEF 3.3202.1686 / Dullahan 901 2017-12-11 10:09:44 -08:00
andreykproductengine 4133caebe3 MAINT-2177 User was able to create a landmark for remote location 2017-12-11 19:31:36 +02:00
Andrey Kleshchev d86616cc66 Merged in MAINT-8066 "Breasts Bounce" increases at low fps.
Approved-by: Andrey Lihatskiy <andreylproductengine@lindenlab.com>
Approved-by: Simon Linden <simon@lindenlab.com>
Approved-by: Maxim Nikolenko <maximnproductengine@lindenlab.com>
2017-12-11 13:50:24 +00:00
AndreyL ProductEngine fbbac52dd9 MAINT-8044 Fixed crash in LLFloaterIMNearbyChatToastPanel::init();
algorythmic improvement for MAINT-6891
2017-12-08 19:58:01 +02:00
andreykproductengine 0850642f93 MAINT-8066 "Breasts Bounce" increases at low fps. 2017-12-08 19:15:11 +02:00
Brad Payne (Vir Linden) ef264fd82e SL-838 - more checking of pool state when adding or removing rigged meshes 2017-12-08 15:42:29 +00:00
Brad Payne (Vir Linden) 6c13bc016a merge 2017-12-08 15:20:46 +00:00
Brad Payne (Vir Linden) 5cbe057880 SL-838 - prevent deletion of LLDrawPoolAvatar while it still has rigged faces 2017-12-08 15:20:28 +00:00
Nat Goodspeed c565c62745 MAINT-8069: Pass any command-line arguments through to SL_Launcher. 2017-12-07 16:43:04 -05:00
Nat Goodspeed 0e73aec0a2 MAINT-8070: Tweak macOS embedded app names (flyover text) per Product 2017-12-07 14:03:47 -05:00
Brad Payne (Vir Linden) 6cdc6c2362 SL-845 - viewer message for rez failure due to over-large animated objects 2017-12-07 16:18:32 +00:00
Nat Goodspeed 12fbe63e65 MAINT-7751: Update to viewer-manager build 511221 2017-12-06 17:53:21 -05:00
Oz Linden 6d647df714 dummy change to trigger new id 2017-12-06 17:42:40 -05:00
Nat Goodspeed d79846a779 MAINT-7751: Respond to Coyot's code-review suggestions. 2017-12-06 17:09:06 -05:00
andreykproductengine 72b0ce5cb0 MAINT-8058 Simplification 2017-12-06 19:40:58 +02:00
andreykproductengine 6fe00fd9ad MAINT-8058 Fixed background requests on every prim edit 2017-12-06 19:40:58 +02:00
Mnikolenko Productengine bc179e3b26 MAINT-8059 New head attachment slots are not rendered invisible in mouselook 2017-12-07 11:10:51 +02:00
Mnikolenko Productengine 84ea0ab778 MAINT-8042 Crash in LLViewerRegion::capabilitiesReceived() 2017-12-06 17:48:01 +02:00
Oz Linden 925bbdc7b6 Change channel join timeout to 30s per recommendation from Vivox 2017-12-06 10:09:20 -05:00
Nat Goodspeed e3254f63bc MAINT-7751: Finish merging autobuild.xml updates to viewer-manager. 2017-12-06 10:04:01 -05:00
Nat Goodspeed 64df1bd80e MAINT-7751: Update to viewer-manager build 511211 2017-12-06 09:58:47 -05:00
Nat Goodspeed 6bba46effa MAINT-7751: Add shbang line to macOS trampoline script.
This evidently makes all the difference as to whether the app is considered
launchable.
2017-12-06 05:17:14 -05:00
Nat Goodspeed 54eb04ee90 MAINT-7751: Update to viewer-manager build 511199 2017-12-05 17:08:58 -05:00
Nat Goodspeed 00b60e51c8 MAINT-7751: Update to viewer-manager build 511174 2017-12-05 12:03:15 -05:00
andreykproductengine 34d3b49d1f MAINT-2124 Texture allocation issues 2017-12-05 17:54:17 +02:00
Mnikolenko Productengine 8bceb80902 MAINT-2880 Particle generator object doesn't start displaying particles, when unblocking the owner of this object 2017-12-05 18:19:30 +02:00
AndreyL ProductEngine d1e4c0a4bd Merged in lindenlab/viewer-bear 2017-12-05 16:25:10 +02:00
Mnikolenko Productengine 57337ffbbb revert change for MAINT-8017 2017-12-05 12:34:41 +02:00
Nat Goodspeed 488d165895 MAINT-7751: Rework DarwinManifest to produce new app bundle structure.
Specifically, Second Life.app is now mostly just a wrapper. Its Contents/
Resources contains nested Launcher.app (the VMP) and Viewer.app (the viewer
itself). Most of what used to be in the top-level Second Life.app has been
relocated to the embedded Viewer.app. VMP stuff has of course been extracted
to Launcher.app. The top-level Second Life.app executable is now a tiny script
that runs Launcher.app. This structure permits different icons and different
Dock flyover text for the launcher and the viewer, hopefully ameliorating a
certain amount of user confusion about the dual icons.

This requires a corresponding VMP change: on macOS, the VMP must now find both
its resources and the viewer executable by walking up from Launcher.app and
down again into its sibling Viewer.app.

Since Dock flyover text is determined by the embedded app names, allow Product
to change these at will. That means we should be able to tweak exactly one
variable assignment to change either of those embedded app names, without
having to chase down other references scattered throughout the source repo.

For that reason, create top-level trampoline SL_Launcher script dynamically:
it must reference the launcher app by name. That means we must also perform
(the equivalent of) chmod +x on that generated script.

The one mystery surrounding this restructuring is that without a top-level
Frameworks symlink pointing to the embedded Viewer.app's Frameworks directory
(where CEF lives), CEF refuses to start: no splash screen, no MoP. Perhaps we
can fix that someday.

Use Python's bundled plistlib to generate Info.plist files for the embedded
applications.

Reorganize stray code stanzas to try to help the structure of the code more or
less resemble the structure of the desired result.

Add ViewerManifest.relpath() method to determine the relative path from a
specified base to the target path. If base omitted, assumes get_dst_prefix()
-- handy for creating symlinks. Determining exactly the right number of
os.pardir instances to concatenate into the relative pathname for a symlink
(or an install_name_tool stamp) was tedious, fragile and unobvious, difficult
to desk-check. Using relpath() should make all that more robust.

Migrate symlinkf() from free function to ViewerManifest method, refactoring
into _symlinkf_prep_dst() and _symlinkf(), adding relsymlinkf(). This lets us
add convenience features such as prepending get_dst_prefix() to the dest (the
place where we want to create the symlink), defaulting dest to the basename of
target and ensuring that the parent of that dest already exists -- as with
LLManifest.path(). Moreover, since it makes no sense whatsoever to create an
absolute symlink to some path on the build machine, relsymlinkf() creates
every symlink relative to dirname(dest). That, in turn, lets us eliminate a
certain amount of boilerplate around existing calls. (Also, since we now
ensure the parent directory exists, scrap the logic to diagnose "nonexistent
parent directory.")

Make llmanifest.LLManifest.run_command() not pass shell=True to subprocess,
thereby permitting (requiring) the list form rather than the string form.
Change all existing calls to list form. This makes calls more readable, for
two reasons. First, many of the arguments are taken from script variables;
these can simply be dropped into the list instead of indirecting through
string interpolation. Second, it eliminates the need to manually escape
individual arguments, since subprocess promises to honor the distinction
between list elements.

Also fix LLManifest.put_in_file() to ensure the containing directory exists.

Consolidate some viewer_manifest.py redundancy, e.g. copying the same set of
ten DLLs from either of two directories depending on Release vs. Debug.
2017-12-04 17:15:47 -05:00