Commit Graph

12310 Commits (264b549bcb991f4cdd6889f06b8f7fbe8740e32a)

Author SHA1 Message Date
Tofu Linden 264b549bcb merge storm-163 / Port of VWR-14914 to SG 2.0 : Intermittent FPS drop related to "audio" (main thread hangs often on openal lock) 2010-09-22 19:53:16 +01:00
Tofu Linden 8fdb82bec5 merge storm-187 2010-09-22 17:12:05 +01:00
Andrew Productengine 2a1d4b375e STORM-187 FIXED Fixed chatbar not getting back its width after opening/closing sidetray.
The bug reproduced not only for opening/closing sidetray, but also when viewer window was resized.
The chatbar's width was set to default on width increase, it was also shrunk even when there was enough space for it, and buttons could be shrunk instead.
Also, width to which user resized it manually, was not used in resizes. Gave priority on resizes to nearby chat - i.e.:
Before this fix priorities were- buttons are visible -> buttons are as wide as possible -> nearby is stretched.
After this fix priorities are- buttons are visible -> nearby is stretched -> buttons are as wide as possible.

- Added new member which stores width of nearbychat(either value that was recorded after user's manual resize of chatbar or default). Used it as a value to which chatbar tries to be resized on resizes.

- Implemented the change of priorities described above in processWidthIncreased() and processWidthDecreased() methods.
2010-09-22 18:20:01 +03:00
Tofu Linden 27b593dbf6 merge whitespace changes from Boroondas. 2010-09-22 14:45:53 +01:00
Tofu Linden 1200c4aabf doh, fix this in the RIGHT place. 2010-09-22 13:49:04 +01:00
Tofu Linden 24a7ac8dd6 CID-505
Checker: UNINIT_CTOR
Function: LLGridManager::LLGridManager()
File: /indra/newview/tests/lllogininstance_test.cpp
2010-09-22 13:46:50 +01:00
Tofu Linden 3fb0736bec CID-509
Checker: UNINIT_CTOR
Function: LLAvatarListItem::LLAvatarListItem(bool)
File: /indra/newview/llavatarlistitem.cpp
2010-09-22 13:42:10 +01:00
Tofu Linden b8337bdd2c CID-510
Checker: UNINIT_CTOR
Function: LLVOCache::LLVOCache()
File: /indra/newview/llvocache.cpp
2010-09-22 13:40:59 +01:00
Tofu Linden 240ab6f0df CID-511
Checker: UNINIT_CTOR
Function: LLVOCacheEntry::LLVOCacheEntry(LLAPRFile *)
File: /indra/newview/llvocache.cpp
2010-09-22 13:37:35 +01:00
Tofu Linden a75f44505a CID-512:
Checker: DEADCODE
Function: show_item_sharing_confirmation(std::basic_string<char, std::char_traits<char>, std::allocator<char>>, LLViewerInventoryItem *, const LLSD &, const LLUUID &, const LLUUID &)
File: /indra/newview/lltooldraganddrop.cpp
2010-09-22 13:25:04 +01:00
Tofu Linden f007369357 merge storm-162 2010-09-22 10:03:30 +01:00
Tofu Linden 08eb4e3d30 merge 2010-09-21 22:52:13 +01:00
Kent Quirk 5cf8584b8c Increment version number since we forked for beta. 2010-09-21 17:03:51 -04:00
Tofu Linden 0f79f85ead merge storm-122 2010-09-21 19:37:35 +01:00
Tofu Linden 9a89db5909 merge 2010-09-21 17:50:23 +01:00
Tofu Linden e66df6e89f merge storm-166 2010-09-21 17:49:15 +01:00
Tofu Linden f8e6e7abc4 merge. 2010-09-21 17:48:42 +01:00
Vadim Savchuk 5b2d4a1698 STORM-163 FIXED Intermittent FPS drop related to "audio" (main thread hangs often on openal lock)
Submitting a patch made by Aleric Inglewood (See VWR-14914).

This bug happens for a lot of people, although it might be needed to have a fast multi core machine.
I have seen it on 1.22.10 once, never used 1.23 sorry, and saw it often on snowglobe. I am sure
it also affects 1.23 but I'd have to test that.

The symptons are that on a viewer with normally a good, high FPS, sometimes it happens
that the FPS dramatically drops (as low as 0.3, but it can also be anything higher, as high
as 10, say).

This particular jira is about a problem where the main thread is slowed down by a mutex lock
in libopenal (most calls starting with 'al' in indra/llaudio/audioengine_openal.cpp and
one in indra/llaudio/listener_openal.cpp). You can see that this is the case by opening the
Frame Console (control-shift-2) and checking that the "audio" (and possibly misc) timings
are very large compared to the Render time.
2010-09-21 19:11:40 +03:00
Kent Quirk 5304ad2746 Tag for beta 2.1.3 2010-09-21 12:00:07 -04:00
Sergei Litovchuk 9cd8da3f9c STORM-133 FIXED keyboard navigation in Places SP->My Landmarks while items fetch is in progress. 2010-09-21 18:38:48 +03:00
Vadim Savchuk 483e22a64d STORM-166 FIXED Memory leak in LLSelectNode constructor.
Submitting on behalf of Thickbrick Sleaford.

One of the LLSelectNode constructors has a leak where it does "new LLPermisions()" twice, thus leaking the address of the first object created.

This constructor is called every time you interact (click, hover, select, possibly other) with an object, once for each prim in the object. Since sizeof(LLPermissions) is 92 bytes, this can be a significant amount after a while.

I think this might explain VWR-18528 (leaking LLpemissions instances), at least partially.

This was fixed in snowglobe 1.x as part of SNOW-267.
2010-09-21 17:41:53 +03:00
Tofu Linden 90cd379508 merge storm-189 2010-09-21 14:58:37 +01:00
Tofu Linden a552660984 STORM-165 decode_priority clamp issue in texture fetching
Patch by Merov ported and reviewed by Tofu, from SG2.
2010-09-21 13:08:33 +01:00
Boroondas Gupte 36253ae8bf fixed some whitespace errors in files touched by STORM-162 2010-09-21 14:05:31 +02:00
Merov Linden 136029821c STORM-162 : Makes the folder code more resilient 2010-09-20 17:24:33 -07:00
Sergei Litovchuk 101bf8f023 STORM-189 FIXED Applied text wrapping to fix long string truncation in Build tools->Features. 2010-09-21 00:17:16 +03:00
Tofu Linden 14cf6fd5a2 merge from http://bitbucket.org/boroondas/viewer-development-vwr-20583 2010-09-20 18:15:20 +01:00
Tofu Linden 6a28f9b242 merge storm-192 2010-09-20 18:03:25 +01:00
Vadim Savchuk 022f9bd9a8 STORM-192 ADDITIONAL FIX Fixed crash on pressing Ctrl+Shift+W (which closes all floaters).
The crash was introduced by my previous fix of this ticket in changeset 8ceebd3612f0.
The problem was that, suprisingly, even invisible (faded) toasts were destroyed when you hit Ctrl_Shift+W,
however they were still referenced by the toast pool, so the references were invalidated.

The easiest fix would be to remove all references to the toast being destroyed, no matter is it visible or not.
However, then we'd have to search for each destroyed toast in the pool, which is slow.
Besides, removing toasts from the pool compromises the whole idea of pooling (which was introduced to speed up creation of new toasts).

Another possible fix is not to destroy any nearby chat toasts when user hits Ctrl+Shift+W.
That would save us from any crashes at a price of changing existing behaviour (the toasts will remain visible).

So I went for a third option: when closing all floaters, skip invisible ones.
Then there won't be attempts to destroy invisible (pooled) toasts, so the crash won't happen,
and we don't seem to change any existing behavior.
However I'm not 100% sure of the latter statement, so the fix requires extensive testing.
2010-09-20 19:08:45 +03:00
Tofu Linden 85f69fbd86 merge storm-159 2010-09-20 12:53:10 +01:00
Tofu Linden b92ca367ae merge storm-192 2010-09-18 11:18:13 +01:00
Tofu Linden 9b0da85a47 merge storm-153 2010-09-18 11:17:39 +01:00
Merov Linden 01b1d3cc95 STORM-183 : Pull in fix from Vadim 2010-09-17 17:00:07 -07:00
Sergei Litovchuk 98e6d56beb STORM-159 FIXED Added sharing inventory item by dropping it on resident's Profile SP even when no IM session is started with that resident. 2010-09-18 01:16:50 +03:00
Vadim Savchuk 8eb6c6dec8 STORM-183 ADDITIONAL FIX Disabled the "Replace Current Outfit" option of the inventory context menu for incomplete outfits. 2010-09-17 22:52:51 +03:00
Vadim Savchuk 5fac8e4fd0 STORM-192 FIXED Ctrl-Shift-W not to disable nearby chat toasts.
Bug reason: The fix of EXT-1419 disables showing nearby chat showing toasts at all whenever you close one.
That was done to prevent a crash when viewer is exiting, but closing a toast manually should be handled differently.

Fix: If a toast is being closed (destroyed) manually, just remove it from the toast pool
(to prevent further references to the invalid pointer), but keep on showing new toasts.
I've overriden LLFloater::onClose() to differentiate the two cases.
2010-09-17 22:21:00 +03:00
Andrew Dyukov 98c49322c1 STORM-153 FIXED Localized Conference and non-existent IM session name strings.
- Moved the "no session" string to XML and used it in code instead of hardcode.



- Conference string turned out to be already translated, but the way translation was happening ad-hoc chat log files on disk
would get localized names, and thus be inconsistent (and that would create problems with browsing them later).
It didn't happen already just because this string wasn't translated in other locales somewhy.
So moved localization of session name after the the creation of log file.
Also changed value of string according to Eli's comment in ticket.
2010-09-17 20:11:17 +03:00
Christian Goetze (CG) 7c3a81f577 Merge in lenny work 2010-09-17 09:57:38 -07:00
Christian Goetze (CG) 0974f18da5 Enable all platforms, show changes since a recent merge 2010-09-17 09:57:24 -07:00
Tofu Linden 27bbf79c89 merge. 2010-09-17 17:40:34 +01:00
Tofu Linden 285720fc77 merge dead-code removal from Andrew@PE 2010-09-17 16:05:15 +01:00
Tofu Linden 5f693246ab merge storm-154 2010-09-17 15:37:50 +01:00
Aimee Linden c5e2348e94 STORM-122 FIXED Clean up obsolete floaters and related dead code
A little bit more clean up on LLPanelVoiceDeviceSettings while I'm in there.
2010-09-17 10:42:44 +01:00
eli_linden 30c8979e15 CT-575 WIP ES linguistic, remove invalid FR element 2010-09-16 18:15:44 -07:00
eli_linden 6d21f5e496 VWR-22340 FIX en_xui_change for all langs, and remove many evil old overrides 2010-09-16 18:06:46 -07:00
Oz Linden 5215bf9925 [STORM-175] Fix Ping Interpolate Object Position 2010-09-16 20:01:35 -04:00
Christian Goetze (CG) d006b832b3 Test using parallel linking 2010-09-16 16:50:36 -07:00
eli_linden 7ef0e0b92f Merge 2010-09-16 15:00:10 -07:00
eli_linden 54482096c5 VWR-22408 FIX en_xui_change to accommodate text for FR and PT 2010-09-16 14:59:14 -07:00
Merov Linden a36033853a STORM-168 : Python modules cleanup 2010-09-16 14:27:42 -07:00