Commit Graph

4754 Commits

Author SHA1 Message Date
Aleric Inglewood
779cc82750 Stop viewer from flooding the server.
On a parcel with voice disabled, the viewer keeps requesting voice info
every two frames, cycling between states stateNoChannel and
stateRetrievingParcelVoiceInfo.

This commit fixes that: if voice is disabled on the parcel then mAreaVoiceDisabled
is set (because the url is empty) and we stop requesting voice info until the parcel changes again.

If voice is enabled while we are in the stateNoChannel then we drop
out of that because mNextAudioSession gets set (to stateJoiningSession).

If the viewer has voice disabled, then now it drops correctly
out of the stateNoChannel into stateDisabled.
2013-07-23 21:31:53 +02:00
Aleric Inglewood
f154ff8f8a Crash bug fix.
I ran into this on opensim.
The value of 'bucket' passed to parse_lure_bucket was empty.

In general, we should check we HAVE eight tokens, and not
just keep incrementing the iterator without checking.
2013-07-23 21:29:35 +02:00
Latif Khalifa
bd88b91b42 Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer 2013-07-23 14:53:47 +02:00
Latif Khalifa
b129108245 Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer 2013-07-23 14:53:38 +02:00
Lirusaito
b082bc5056 Support <string name="foobar" value="foobar "/> in panel classes, like upstream 2013-07-22 23:58:03 -04:00
Lirusaito
8b5a654c5b General cleanup of LLFloaterCustomize 2013-07-22 23:50:03 -04:00
Lirusaito
4e63a64a1d Feature Request: Add tooltip to Save Outfit button showing where it will save to
Adds refreshCurrentOutfitName() from upstream
2013-07-22 23:49:19 -04:00
Lirusaito
989e4332b7 Feature Request: Setting to disable lighting change of appearance mode 2013-07-22 23:02:02 -04:00
Lirusaito
d64c9a343c Fix issue of columns not sorting in ascending order by default 2013-07-22 20:02:45 -04:00
Aleric Inglewood
dcf1cdbc4e Move export permission check to LLPermissions, try two.
Removes code duplication.

Several parts of the code ignored the PERM_EXPORT but
and still did demand that things are full perm next
to being a creator. This has now changed the export
rules are the same for everything as they were for mesh:
you need to be the owner and the creator for every element
that is exported (not just the root prim, of course).
2013-07-22 22:48:42 +02:00
Aleric Inglewood
be6699198f Revert "Handle PERM_EXPORT in LLPermissions."
This reverts commit 9c71afe73e.
2013-07-22 19:49:00 +02:00
Latif Khalifa
e60032da6f Default service for Singularity pages is on Github 2013-07-22 18:42:33 +02:00
Latif Khalifa
b70c306e5f Pass-through login splash page that allows update notifications.
Page source: https://github.com/singularity-viewer/login-page
2013-07-22 16:31:20 +02:00
Latif Khalifa
fe49fe1928 Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer 2013-07-22 16:11:48 +02:00
Latif Khalifa
b3c0a693f1 Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer 2013-07-22 16:11:31 +02:00
Aleric Inglewood
937322cc93 Update wearable import to use the new export data.
Better/more notifications.
No longer applies UUIDs of textures exported on a different grid,
except for secondlife <--> secondlife_beta, but with a warning.
2013-07-22 02:34:25 +02:00
Aleric Inglewood
9c71afe73e Handle PERM_EXPORT in LLPermissions.
This moves all export test code to where it belongs:
in LLPermissions.

Added LLPermissions::allowExportBy, next to
allowModifyBy, allowCopyBy and allowMoveBy.
Then changed all code to use this call.

Because LLPermissions is part of llinventory, I had
to add a proxy for LFSimFeatureHandler.
Added a new class LFSimFeatureHandlerInterface that can be
used by LLPermissions to check simulator features by
accessing the LFSimFeatureHandler singleton.

Several parts of the code ignored the PERM_EXPORT but
and still did demand that things are full perm next
to being a creator. This has now changed the export
rules are the same for everything as they were for mesh:
you need to be the owner and the creator for every element
that is exported (not just the root prim, of course).

Export rules can now be easily made a function on
simulator features. If different rules apply for different
types (wearables, objects, mesh etc) then an extra variable
indicating the type will have to be passed though.
2013-07-22 02:22:21 +02:00
Lirusaito
c3b4ceff97 Fix venusmari's issue of not being able to drag and drop calling cards to people via profile or IM 2013-07-21 12:48:57 -04:00
Lirusaito
f98f1e9f5d [Radar] In expireAvatarList, use the return value of erase 2013-07-21 09:59:35 -04:00
Lirusaito
799b5408e4 [Radar] Fix up expireAvatarList to actually expire all the dead avatar entries, not just the back one. 2013-07-21 04:57:33 -04:00
Lirusaito
845088166a [Radar] Switch from using frames in keeping track of ranges to using a bitset
Renames ALERT_TYPE_* to STAT_TYPE_* and ERadarAlertType to ERadarStatType
Removes mIn*Frame and accessors for these in favor of checking for the bit in mStats
Use mStats instead of mAgeAlert now.
Moves the range leave handling out of getAlive and into setPosition, where it logically belongs

Should fix Issue 43: Radar reports multiple times for agent entry upon rendering
2013-07-21 04:43:01 -04:00
Lirusaito
3650a56407 [Radar] Remove id null checks where null id is an impossibility due to earlier checks 2013-07-21 02:06:57 -04:00
Lirusaito
82c37ca9a3 [Radar] Remove unused member mDrawPosition 2013-07-21 01:24:58 -04:00
Lirusaito
6fb68b4913 [Radar] Add a debug setting RadarRangeRadius to limit how far away avatars showing up on radar can be (0, the default, is unlimited) 2013-07-20 23:16:29 -04:00
Lirusaito
2d55b1ab1c [Radar] Condense updateAvatarList to have less duplicate code 2013-07-20 23:07:04 -04:00
Lirusaito
98813c75f3 [Radar] Remove duplicate code from updateAvatarList that was already performed during LLWorld::getAvatars 2013-07-20 23:02:14 -04:00
Lirusaito
72a335daf0 [Radar] Move avatar age block into processProperties as this is more logical 2013-07-20 22:52:50 -04:00
Lirusaito
414ffb3a94 Further attempt to fix Issue 929 by having the appearance manager remove the attached bridge item 2013-07-20 13:59:15 -04:00
Latif Khalifa
742d36a79f Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer 2013-07-20 18:36:40 +02:00
Aleric Inglewood
85ff52be30 Bug fix: circumvent using LLs notify system.
Can't use LLs LLFolderViewItem::rename from
LLInventoryPanel::modelChanged because it's nonrobust spaghetti code
and causes randomly sized loops.

Also cleaned up the number of unused nameOrDescriptionChanged functions
introduced in a previous commit.
2013-07-20 18:28:52 +02:00
Latif Khalifa
d012c822a2 Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer 2013-07-20 08:14:23 +02:00
Lirusaito
791266fc27 Moved age alert and title changing blocks out of refreshAvatarList and updateAvatarList to fix them not working as well as they should 2013-07-19 23:56:20 -04:00
Lirusaito
ed1dbfaa81 Switch the IM and teleport callbacks of right-clicked inventory calling cards to LLAvatarActions
This is partially in attempt to reduce possible suspects for Issue 936: Talking to users with the lastname Resident sometimes creates logs without the delimiting space stripped out
2013-07-19 20:34:39 -04:00
Lirusaito
b2522a06b4 Attempt to fix Issue 929: [Regression] Automatic Bridge Detach does not work 2013-07-19 19:54:11 -04:00
Aleric Inglewood
7162214c01 Bug fix for last commit 2013-07-20 00:44:05 +02:00
Lirusaito
b4d33fe0e1 Fix up some logic with always allow fly
The fly button on the toolbar would enable itself despite RLVa restrictions
 - This was because always fly was checked after gAgent.canFly(), despite the fact that gAgent.canFly() itself checks always fly setting at the correct time.

When teleporting to a region that blocks flying, the agent would start flying due to a strange check inherited from upstream.. My opinion is, they want gods to fly, but that's kinda strange too, so I've changed it to set flying false in this case.
2013-07-19 18:10:02 -04:00
Lirusaito
ab19bfb70e Don't open inventory offers if busy, busy means busy. 2013-07-19 17:53:20 -04:00
Lirusaito
fe8df82c8d Allow autoaccept to work when in busy mode by handling it first 2013-07-19 17:24:24 -04:00
Lirusaito
4dd0daa942 Feature Request: Ability to automatically accept all inventory offers
Replaces the exposed setting in popups preferences
However, for users wanting the old behavior of just landmarks, notecards, and textures being automatically accepted, the original setting(AutoAcceptNewInventory) stays as is, it can be turned on and off in debug
2013-07-19 17:05:07 -04:00
Lirusaito
c0c561c605 Tiny changes to have llviewermessage.cpp line up better with upstream 2013-07-19 16:24:41 -04:00
Lirusaito
7912eb1748 Update rlva (mainly in llviewermessage.cpp) 2013-07-19 16:17:34 -04:00
Aleric Inglewood
67a75ab4b6 Fix link problem: link with libboost_date_time-mt 2013-07-19 22:15:31 +02:00
Aleric Inglewood
611c4bd5fa Merge remote-tracking branch 'singu/master' 2013-07-19 21:26:55 +02:00
Aleric Inglewood
325ef60a8c Wearable export improvements.
Add grid nick to default filename.
Add grid nick and date to exported XML.
Add inventory path, name and description of item to exported XML.
2013-07-19 21:22:59 +02:00
Aleric Inglewood
1fdb36cc40 Actually use mask in LLInventoryView::changed 2013-07-19 21:20:21 +02:00
Aleric Inglewood
95a228b2e9 Actually use LLWearable::mDescription.
Set LLWearable::mDescription and keep it up to date.
This allows to export (and import) the description of wearables.
2013-07-19 21:17:42 +02:00
Lirusaito
3be04fc90b Attempt to solve Issue 935: Script Chat Show The Owner? 2013-07-19 10:41:19 -04:00
Aleric Inglewood
66ef619415 Bug fix: Update name of worn wearable when changing the name in the Properties floater of an inventory item. 2013-07-19 16:13:48 +02:00
Lirusaito
7f57dd24d8 Satisfy Issue 852: Implement way to stop\start single non-fullperm script in modiable objects 2013-07-19 08:45:30 -04:00
Lirusaito
863c35710f Feature Request: Add an option to keep last name Resident.
Should work to solve Issue 517: Legacy log handling of "Resident" name
2013-07-19 07:16:51 -04:00