Commit Graph

36013 Commits (acfbcc73527c85399ebfa750f2cd377debd12cd2)

Author SHA1 Message Date
Glenn Glazer acfbcc7352 maint-6633: move INFO around 2016-10-10 14:15:29 -07:00
Glenn Glazer c39b7f2d88 maint-6633: fix tyop 2016-10-10 13:37:42 -07:00
Glenn Glazer 972b0b2f1b maint-6633: fix unit test to conform with new desired ordering 2016-10-10 12:31:01 -07:00
Glenn Glazer 64ab1979db maint-6633: fix ordering of log entries 2016-10-10 10:50:22 -07:00
Oz Linden 51bb369a39 increment viewer version to 4.0.9 2016-09-15 15:31:31 -04:00
Oz Linden 7d20fbdb66 Added tag 4.0.8-release for changeset 45eaee56883d 2016-09-15 15:31:31 -04:00
Mnikolenko Productengine 1de6e0830c MAINT-6699 FIXED [VOB] Crash in LLSnapshotLivePreview::getBigThumbnailImage() 2016-09-07 17:26:07 +03:00
AndreyL ProductEngine 464d70c546 Dummy commit to fix the teamcity builds 2016-09-07 08:08:19 +03:00
Mnikolenko Productengine ec9b92d274 MAINT-6698 [VOB] "Save" button is always enabled for outfit with non-default image even if there were no changes 2016-09-06 14:07:20 +03:00
Mnikolenko Productengine fc17f62335 MAINT-6685 [VOB] Outfit Image from an Outfit Gallery disappears after editing outfit 2016-09-05 17:32:50 +03:00
andreykproductengine 74ec1116a2 MAINT-6461 crash due to invalid menu pointer during visibility change 2016-09-02 19:20:31 +03:00
Mnikolenko Productengine 81b683f83b MAINT-6686 FIXED [VOB] Outfit Snapshot floater should be resized independently of general Snapshot floater 2016-09-01 16:40:41 +03:00
AndreyL ProductEngine ac1f29a73c MAINT-6386 Update first-time Viewer Login screen with new LISI screenshots 2016-08-31 23:42:24 +03:00
AndreyL ProductEngine 534bffb257 MAINT-6511 Crash in LLFloaterView::restoreAll - exception handling 2016-08-23 17:58:36 +03:00
AndreyL ProductEngine 7d77b82f37 Merged in andreyl_productengine/viewer-427 2016-08-29 05:22:45 +03:00
pavelkproductengine b22fc7f470 MAINT-6476 VOB - User can add any size image to an Outfit Gallery outfit folders 2016-08-25 17:48:27 +03:00
Mnikolenko Productengine c37b822abf MAINT-6616 new crash in VOB viewer in snapshot preview 2016-08-23 18:53:27 +03:00
pavelkproductengine 05e77c5f26 Merge VOB with 4.0.8-release 2016-08-16 20:40:57 +03: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
Mnikolenko Productengine b496e4ff15 MAINT-6616 new crash in VOB viewer in snapshot preview 2016-08-10 16:32:35 +03:00
AndreyL ProductEngine 5e02d304f0 MAINT-6618 More checks 2016-08-09 19:26:30 +03:00
pavelkproductengine 471ff40c2c Reverted change to lllayoutstack.cpp which could possibly cause memory leak 2016-08-09 17:37:48 +03:00
AndreyL ProductEngine d4b1db277c MAINT-6618 Fixed the crash in LLImageRaw::scale() + some additional checks 2016-08-09 05:07:39 +03:00
Nat Goodspeed 1773f44b6d MAINT-6584: Don't crash on inconsistent dims in a JPEG-2000 image.
Previous code would crump with LL_ERRS. But a bad image file should fail only
the image load -- not crash the viewer.

While at it, validate all components present, not just 0, 1, 2.

While at it, make the failure message report which component and what the
mismatched dimensions are, not just "Components don't have matching
dimensions!"
2016-08-06 11:39:11 -04:00
Nat Goodspeed 80adc9b6aa MAINT-6584: Introduce KDUError exception from other viewer project.
Specifically, manually apply changesets b4db8a8 and b98371d from
nat_linden/viewer-mac-mainloop. We need to throw from a new place, but if we
threw const char* (current convention), the new throw wouldn't be patched when
we merge to new exception convention.
2016-08-05 17:57:24 -04:00
Nat Goodspeed a5ce63eb3c MAINT-6584: Add explanatory comments to LLImageJ2CKDU implementation.
These comments are inherently fragile, in that they enumerate all present
callers of certain methods. Adding, removing or relocating calls would
invalidate these comments. However, the LLImageJ2CKDU implementation is
probably pretty stable by now.
2016-08-05 17:44:13 -04:00
Nat Goodspeed 65d608cdac MAINT-6584: Clarify LLKDUMessageError::flush() throwing exception. 2016-08-05 14:02:12 -04:00
AndreyL ProductEngine ec4f5ade76 Merged in oz_linden/viewer-build 2016-08-05 01:02:33 +03:00
AndreyL ProductEngine f459c67fae Buildfix: brought back LINDEN_J2C_COMMENT_PREFIX 2016-08-05 00:58:09 +03:00
Andrey Lihatskiy 8ba372c886 Merged andreyl_productengine/viewer-427 into default 2016-08-05 00:50:53 +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
Mnikolenko Productengine cc7dda96e7 MAINT-6604 FIXED [VOB] Snapshot preview is corrupted 2016-08-04 17:27:48 +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
Mnikolenko Productengine 84677aad4c MAINT-6602 disable ability to select local textures 2016-08-01 15:18:32 +03:00
Mnikolenko Productengine 0888078bd8 MAINT-6601 FIXED [VOB] Texture picker generates WARNING spam in SecondLife.log 2016-07-29 12:44:52 +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
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 b779ca0aed fail build on a failed configure 2016-07-26 17:43:39 -04:00
pavelkproductengine 7187ec75a7 MAINT-6476 VOB - User can add any size image to an Outfit Gallery outfit folders
Added restriction of image size that can be added to outfit via "Select Photo"
2016-07-26 19:18:03 +03:00
andreykproductengine 1b1f4252e3 MAINT-6460 Crash calculating mesh complexity 2016-07-25 23:43:37 +03: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
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
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
pavelkproductengine 97d73a7c31 MAINT-6583 FIXED [VOB] Snapshot floater is stuck in "Posting" state.
Removed wrong callback set from VOB snapshot floater
2016-07-19 20:09:46 +03:00