Commit Graph

35984 Commits (a5adabb4f6660144345ddbd0b647130fd2ca6461)

Author SHA1 Message Date
Oz Linden a5adabb4f6 add protections against failed memory allocations in VBO and aligned memory 2016-09-06 10:04:19 -04:00
Oz Linden 53f9fbcfb7 add run time error checking to LLImageRaw::scale 2016-09-06 09:11:10 -04:00
AndreyL ProductEngine 3d9c39c77c MAINT-6663 [Win LibVLC] test video buttons still appearing in search 2016-08-20 12:53:03 +03:00
Oz Linden 6ff420d705 merge changes for 4.0.7-release 2016-08-11 15:36:09 -04:00
Oz Linden 4fb100ac7a increment viewer version to 4.0.8 2016-08-11 15:31:41 -04:00
Oz Linden e4a1b2c940 Added tag 4.0.7-release for changeset 33981d8130f0 2016-08-11 15:31:41 -04:00
AndreyL ProductEngine ec4f5ade76 Merged in oz_linden/viewer-build 2016-08-05 01:02:33 +03:00
Andrey Lihatskiy 8ba372c886 Merged andreyl_productengine/viewer-427 into default 2016-08-05 00:50:53 +03:00
AndreyL ProductEngine f459c67fae Buildfix: brought back LINDEN_J2C_COMMENT_PREFIX 2016-08-05 00:58:09 +03:00
Nat Goodspeed 2ce38c3c98 MAINT-6584: Comment out completely unused LLImageJ2CKDU code.
The only call to the findDiscardLevelsBoundaries() method was commented out
inside initDecode(), with a comment:
        // Merov : Test!! DO NOT COMMIT!!

This was the only caller of copy_tile(), which was the only caller of
copy_block(). Commented out all three of these (biggish!) functions, since I
have no idea what any of them were supposed to do or when it might be useful
to call them. In other words, I can't yet rule out the possibility that I
might have to uncomment them.
2016-08-04 16:20:39 -04:00
AndreyL ProductEngine 6de8631327 Merged in lindenlab/viewer-lynx 2016-08-04 21:11:32 +03:00
andreykproductengine ce36584552 MAINT-6460 getMeshSize crash 2016-08-01 18:58:41 +03:00
andreykproductengine 9b07078b47 MAINT-6460 Crash calculating mesh complexity 2016-08-01 18:00:54 +03:00
andreykproductengine 13f19b1634 Backed out changeset: c21a7e6d9796 2016-08-01 17:25:20 +03:00
AndreyL ProductEngine 974e5e5868 MAINT-6511 Replaced c-style casts with dynamic_cast in llfloater.cpp 2016-07-28 00:15:49 +03:00
Oz Linden c32b27f5b7 increment version number to 4.1.1 2016-07-27 11:19:50 -04:00
Oz Linden 781cf7fac4 remove use of "override" C++11 feature not supported on gcc 4.6 2016-07-27 09:53:20 -04:00
AndreyL ProductEngine 2339e759fc MAINT-4327/MAINT-6584 Supress the crash on memory allocation error when decoding J2C images 2016-07-27 05:49:07 +03:00
Nat Goodspeed 03bff896bd MAINT-6584: Use RAII classes to manage helper object lifespans.
Use boost::scoped_ptr instead of raw pointers to LLKDUMemSource,
LLKDUDecodeState, kdu_coords and kdu_dims so cleanup is simpler, and automated
on destruction of LLImageJ2CKDU.

Replace pointer to kdu_codestream with a custom RAII class. kdu_codestream is
itself an opaque handle, so we don't need to add another layer of indirection.
Just wrap it to ensure its destroy() method is reliably called when needed.

Make static instances of LLKDUMessageWarning and LLKDUMessageError
self-register, eliminating the companion static bool and explicit checks in
code.
2016-08-03 20:40:03 -04:00
Oz Linden 3f2b5f4049 merge build script improvement 2016-07-26 17:50:14 -04:00
Oz Linden 47f2c6bd52 merge callums latest changes 2016-07-26 17:49:41 -04:00
Oz Linden b779ca0aed fail build on a failed configure 2016-07-26 17:43:39 -04:00
andreykproductengine 1b1f4252e3 MAINT-6460 Crash calculating mesh complexity 2016-07-25 23:43:37 +03:00
Callum Prentice 19640c015e Remove unncessary Y flip 2016-07-25 12:09:55 -07:00
Callum Linden 6f09cf76cd Polish web content floater - rename to reflect it now does all media. remove developer options when Develop menu closed. start at google home page by default. 2016-07-22 16:27:53 -07:00
Callum Linden 989379b09b More Y flip madness - 2D media on OS X is has flipped Y mouse coords but correct on 3D/MOAP - reluctantly adding per platform switch 2016-07-22 13:56:26 -07:00
Nat Goodspeed acdb050ce5 MAINT-6584: Convert LLImage class hierarchy to standard 'bool'
instead of legacy BOOL.
2016-07-22 11:35:23 -04:00
Nat Goodspeed ab07b1a461 MAINT-6584: Rationalize custom KDU error/warning message classes.
Derive them both from a common base class that does the message logging,
instead of having each handler class log redundantly -- especially since the
put_text() override accepting const kdu_uint16* was simply streaming the
kdu_uint16 pointer to the log file, which would log the hex value of the
pointer.

Although we want a static instance of each of these handler classes, pull it
out rather than nesting the instance within the class itself.
2016-07-22 10:32:53 -04:00
Callum Linden 8cd9569cef First pass at enabling time based media (videos) scrubbing controls 2016-07-21 21:06:06 -07:00
Callum Linden befb0446c5 Remove new 'buffering' state for video media - seemed like it'd be useful but it broke things 2016-07-21 15:20:00 -07:00
Nat Goodspeed 71b593e88b MAINT-6584: Streamline static LLImageJ2C implementation API.
Specifically, remove unused function pointer types CreateLLImageJ2CFunction,
DestroyLLImageJ2CFunction and EngineInfoLLImageJ2CFunction.

Also eliminate static fallbackDestroyLLImageJ2CImpl() and
fallbackEngineInfoLLImageJ2CImpl(), leaving only static
fallbackCreateLLImageJ2CImpl().

We do need a factory function to instantiate the appropriate LLImageJ2CImpl
subclass, so leave the fallbackCreateLLImageJ2CImpl() link seam in place.

However, given that every known LLImageJ2CImpl subclass is cheap to
instantiate, make getEngineInfo() a pure virtual method on that subclass: the
static LLImageJ2C::getEngineInfo() method can temporarily construct an
instance to query. While we're at it, make getEngineInfo() return std::string
like LLImageJ2C::getEngineInfo(). It's ridiculous that
fallbackEngineInfoLLImageJ2CImpl() implementations constructed a static
std::string and returned its c_str(), only to have LLImageJ2C::getEngineInfo()
construct ANOTHER std::string from the returned const char*.

fallbackDestroyLLImageJ2CImpl() never did anything useful: it merely deleted
the passed LLImageJ2CImpl subclass pointer as the specific subclass type. But
since LLImageJ2CImpl's destructor is virtual, LLImageJ2C's destructor could
simply delete the stored LLImageJ2CImpl*. In fact, make mImpl a
boost::scoped_ptr<LLImageJ2CImpl> so we don't even have to delete it manually.
2016-07-21 16:49:02 -04:00
Callum Linden db76562aa7 Missed updated version of LLCEFLib with flipped mouse Y input - perils of using local files 2016-07-21 13:41:42 -07:00
Nat Goodspeed f09a92f1f3 DRTVWR-427: Remove engineInfoLLImageJ2CKDU(), createLLImageJ2CKDU(),
destroyLLImageJ2CKDU().

These were apparently intended as simple C-style DLL entry points. But as
nobody calls them, and as we decided against building the viewer from DLLs,
they only clutter the code.
2016-07-21 14:29:29 -04:00
Callum Linden f0eab8b36f Add a comment about order of operation that might be important for those that follow 2016-07-21 09:46:42 -07:00
Callum Linden 8a25489591 MAINT-6578 Broken texture batching - fixed along with misc LibVLC plugin additions (status, titles, looping) 2016-07-20 19:54:54 -07:00
Callum Linden cd47f86c4a MAINT-6578 Add back Y Flip into QuickTime plugin used in OS X to match viewer setting 2016-07-19 12:42:49 -07:00
Callum Linden 0870ee4d74 MAINT-6578: pick up version of LLCEFLib that has output Y flipped to match updated viewer setting 2016-07-19 12:33:28 -07:00
ruslantproductengine eebbda288d Backed out changeset: 5fe5ad059c05 2016-07-18 20:09:18 +03:00
Callum Linden 1c4dbc64ab MAINT-6577 FIX No sound in MOAP or browser video 2016-07-15 12:18:00 -07:00
Oz Linden 0db98a6308 merge changes for STORM-2133 2016-07-14 11:35:14 -04:00
andreykproductengine 00a193e740 MAINT-6460 Crash calculating mesh complexity 2016-07-14 15:21:39 +03:00
Ansariel d2cf09e7d2 STORM-2133: VOICE-36 prevents proper shutdown of connector 2016-07-14 10:28:54 +02:00
andreykproductengine b06d5aeec8 MAINT-6460 Crash calculating mesh complexity 2016-07-12 21:37:45 +03:00
Rider Linden 85c0bec92c Merge 2016-07-12 12:11:01 -07:00
Rider Linden c0407af8ab STORM-2132: Remove obsoleted unique_ptr.hpp, use make_shared for pointer allocation. 2016-07-12 11:07:05 -07:00
Callum Prentice 8ae7828643 MAINT-6527 and MAINT-6528 FIX - max volume and media playing prior URLs 2016-07-11 19:46:11 -07:00
Rider Linden c1c9b3d74e MAINT-6565: Grab a shared pointer and encapsulate it into the bind call in place of this. Ensures that the impl is not deleted while the coroutine is active. 2016-07-11 16:33:11 -07:00
andreykproductengine a3f63bce3c MAINT-6534 Resetting scripts via the build menu no longer works on many scripted objects 2016-07-11 16:23:18 +03:00
andreykproductengine 1c7548d3bf MAINT-6448 PERMISSION_DEBIT notification should default to Deny 2016-07-08 15:07:52 +03:00
AndreyL ProductEngine 8d542a46c7 MAINT-6534 Fixed the LLSD validation failure 2016-07-08 18:50:19 +03:00