[opensource-dev] mp4 video doesn't work in snowglobe anymore...

2010-05-07 Thread Lance Corrimal
Hi,

mp4-based streams (youtube on @home TVs, to be precise) doesn't work in 
snowglobe anymore... I tried both 1.4 (svn 3343) and 2.0 (svn 3347), and the 
screen of my TV simply stays white.

in old 1.23, and the latest 2.0.1 viewer, it works as expected...

what do I do? look at a diff for the whole slplugin subfolder between 
snowglobe 3347 and sl 2.0.1?



bye,
LC
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges


Re: [opensource-dev] [POLICY] Configurable HTTP user-agent string

2010-05-07 Thread Thomas Shikami
Tigro Spottystripes schrieb:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> don't the user agent string already tells servers about some of the
> browser's capabilities with the current format?
>
> the current one for my Firefox is:
> Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9.2.3)
> Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729) Mnenhy/0.8.2
>   
Just noting, that user-agent string is always in the format: 
Name/Version (optional comment)
where Name is an alphanumeric string without whitespace, Version is a 
numeric string or dottet decimals. And the optional comment a list if 
strings delimited by semicolon+space

Though Emerald viewer has a broken user-agent string:

Mozilla/5.0 (Windows; U; Windows NT 6.1; 
chrome://navigator/locale/navigator.properties; rv:1.8.1.21) Gecko/20090305 
SecondLife/Emerald Viewer (default skin)

There it says SecondLife/Emerald instead of SecondLife/1.23.5.1634 and Viewer 
seems to be it's own token in this. The correct user agent would be:

Mozilla/5.0 (Windows; U; Windows NT 6.1; 
chrome://navigator/locale/navigator.properties; rv:1.8.1.21) Gecko/20090305 
SecondLife/1.23.5.1634 (Emerald Viewer; default skin)

Just like it is with every other viewer out there. I talked to LGG about this 
once, seems like it still isn't fixed. This fact makes it impossible to use 
User-Agent to detect, if the Emerald Viewer in question has restricted exports 
or not.
This could be the issue for Second Life search not working correctly on emerald 
as well, as the parsers for user-agent strings are confused by this 
non-standard behaviour.

To opt out, a viewer might send something like ... SecondLife/1.0.0.0 
(compatible; default skin) or ... SecondLife/2.0.0.0 (compatible; default 
skin), though yet this has to be checked with LL, if that counts as spoofing 
viewer identifier or not.
My IANAL interpretation is, that the viewer identifier used to connect to 
login.*.lindenlab.com is the one that may not be spoofed.

___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges


Re: [opensource-dev] [POLICY] Configurable HTTP user-agent string

2010-05-07 Thread Argent Stonecutter
On 2010-05-06, at 22:06, Ricky wrote:
> Also, since this information is /already/ accessible

Not if you don't turn streaming media on.
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges


Re: [opensource-dev] inventory trash icon missing

2010-05-07 Thread Philippe (Merov) Bossut
Hi Zaxa,

It's unclear what you did as "changes to [your] skin" so it's hard to help
you. If you modified panel_main_inventory.xml, the best is to go back to the
original (available in the source tree) or, better, diff with the original
and undo the changes that pertain to the trash button.

Cheers,
- Merov

On Wed, Apr 28, 2010 at 4:15 PM, zaxa congrejo wrote:

> hi there people ive recently made some changes to my skin to use in viewr
> 2.0 and in that process i find a confing that gives me the option of show or
> not show invetory trash icon
> at the time i select not show but now i want to revert that unfortunatly
> for me i cant find that config again ive looked in the
>
>
>  (i have trash but its a folder not a icon)
>
> xml scripts
> debug views
> develope and admin menus and nothing does anyone know that config? realy
> apriciate some help
>
>
> ___
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/OpenSource-Dev
> Please read the policies before posting to keep unmoderated posting
> privileges
>
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] TPV and the self compiler

2010-05-07 Thread Philippe (Merov) Bossut
Hi Johnnie,

On Thu, Apr 29, 2010 at 4:03 PM, Johnnie Carling
wrote:

> Well it's probably a bit late to ask this but
>
> I would never call myself a developer, but I do compile the source code
> quite
> a bit... playing with compiler flags, trying patches from the JIRA and
> etc...
>
> After a quick read, its looking like I have to give any viewer I compile a
> name and version. correct? (section 1.b. of the Policy on Third-Party
> Viewers)
>
>
 If you're using the Snowglobe svn repo, the channel will be set to
"Snowglobe Test Build" and this is good enough under the policy considering
the changes you're making (thanks for testing patches BTW... :) ).

If you distribute your build to friends though (you don't mention doing this
but, just saying...) you may want to modify that name (see
llcommon/llversionviewer.h).

Cheers,
- Merov
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] TPV and the self compiler

2010-05-07 Thread Gareth Nelson
If you don't make any changes do you still need to change the name? I
commonly update by doing an svn update and recompile, and believed I
was being 100% complaint - is this incorrect?

On Fri, May 7, 2010 at 10:14 PM, Philippe (Merov) Bossut
 wrote:
> Hi Johnnie,
>
> On Thu, Apr 29, 2010 at 4:03 PM, Johnnie Carling 
> wrote:
>>
>> Well it's probably a bit late to ask this but
>>
>> I would never call myself a developer, but I do compile the source code
>> quite
>> a bit... playing with compiler flags, trying patches from the JIRA and
>> etc...
>>
>> After a quick read, its looking like I have to give any viewer I compile a
>> name and version. correct? (section 1.b. of the Policy on Third-Party
>> Viewers)
>>
>
>  If you're using the Snowglobe svn repo, the channel will be set to
> "Snowglobe Test Build" and this is good enough under the policy considering
> the changes you're making (thanks for testing patches BTW... :) ).
>
> If you distribute your build to friends though (you don't mention doing this
> but, just saying...) you may want to modify that name (see
> llcommon/llversionviewer.h).
>
> Cheers,
> - Merov
>
> ___
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/OpenSource-Dev
> Please read the policies before posting to keep unmoderated posting
> privileges
>



-- 
“Lanie, I’m going to print more printers. Lots more printers. One for
everyone. That’s worth going to jail for. That’s worth anything.” -
Printcrime by Cory Doctrow

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges


Re: [opensource-dev] inventory trash icon missing

2010-05-07 Thread Philippe (Merov) Bossut
Hi,

On Fri, May 7, 2010 at 2:05 PM, Robert Martin  wrote:

> 2 semi related questions
> 1 any hope of getting the skin switcher re-enabled??
>

I'm not aware of an effort in that direction internally but there sure is an
opportunity for the Snowglobe community to work on this.


> 2 could somebody write a guide as to what file (and xml bits) do what
> in a skin?? since i think there are a couple bits that changing
> %example file% not only changes the function you think it does but
> these 4 other unrelated functions/floaters
>

There's an internal doc that in the process of being edited before being
pushed to the public wiki so, yes, such a doc should be coming soon.

Cheers,
- Merov
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] [POLICY] Configurable HTTP user-agent string

2010-05-07 Thread Ricky
Touche'.

On Fri, May 7, 2010 at 11:52 AM, Argent Stonecutter
 wrote:
> On 2010-05-06, at 22:06, Ricky wrote:
>>
>> Also, since this information is /already/ accessible
>
> Not if you don't turn streaming media on.
>
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges


Re: [opensource-dev] 1 more compiling issue

2010-05-07 Thread Philippe (Merov) Bossut
Hi Jonathan,

You're running into unit test failure. Not sure why (I haven't looked at
that test, look into the _ok.txt file to find out what failed) but, if
blocked, you have 2 solutions:
- Just build the viewer target: open the sln project and select only the
viewer to be built
- Silence the test: go into llmessage/CMakeLists.txt and comment out that
test:

if (LL_TESTS)
  SET(llmessage_TEST_SOURCE_FILES
# llhttpclientadapter.cpp
llmime.cpp
llnamevalue.cpp
# lltrustedmessageservice.cpp Jonathan comments out so he can
build...
lltemplatemessagedispatcher.cpp
  llregionpresenceverifier.cpp
)
  LL_ADD_PROJECT_UNIT_TESTS(llmessage "${llmessage_TEST_SOURCE_FILES}")

Unit tests are your friends though. When I have such a problem, I usually
only build the viewer target (so I can feel I'm making progress...) and then
try to understand why the test is failing.

Cheers,
- Merov


On Sat, May 1, 2010 at 4:48 AM, Jonathan Welch  wrote:

> I am also getting about a dozen of messages along these lines...any ideas?
>
> Build Log  Build started: Project:
> lltrustedmessageservice_test_ok, Configuration: RelWithDebInfo|Win32
>  Command Lines  Creating temporary file
> "C:\DOCUME~1\jhwelch\LOCALS~1\Temp\BAT00014D13562988.bat" with
> contents
> [
> @echo off
>
> cd .
>
> E:
>
> "e:\CMake 2.6\bin\cmake.exe"
> -DLD_LIBRARY_PATH=E:/sg14/linden/indra/../libraries/i686-win32/lib:/usr/lib
>
> -DTEST_CMD:STRING=E:/sg14/linden/indra/build-vc80/llmessage/RelWithDebInfo/lltrustedmessageservice_test.exe";"--touch=E:/sg14/linden/indra/build-vc80/llmessage/lltrustedmessageservice_test_ok.txt";"--sourcedir=E:/sg14/linden/indra/llmessage
> -P E:/sg14/linden/indra/cmake/RunBuildTest.cmake
>
>
>
> if errorlevel 1 goto VCReportError
>
> goto VCEnd
>
> :VCReportError
>
> echo Project : error PRJ0019: A tool returned an error code from
> "Generating lltrustedmessageservice_test_ok.txt"
>
> exit 1
>
> :VCEnd
> ]
> Creating command line
> "C:\DOCUME~1\jhwelch\LOCALS~1\Temp\BAT00014D13562988.bat"
>  Output Window  Generating lltrustedmessageservice_test_ok.txt
> -- Failure running:
>
> E:/sg14/linden/indra/build-vc80/llmessage/RelWithDebInfo/lltrustedmessageservice_test.exe;--touch=E:/sg14/linden/indra/build-vc80/llmessage/lltrustedmessageservice_test_ok.txt;--sourcedir=E:/sg14/linden/indra/llmessage
> CMake Error at E:/sg14/linden/indra/cmake/RunBuildTest.cmake:19 (message):
>  Error: This application has failed to start because the application
>  configuration is incorrect.  Reinstalling the application may fix this
>  problem
> Project : error PRJ0019: A tool returned an error code from
> "Generating lltrustedmessageservice_test_ok.txt"
>  Results  Build log was saved at
>
> "file://e:\sg14\linden\indra\build-vc80\llmessage\lltrustedmessageservice_test_ok.dir\RelWithDebInfo\BuildLog.htm"
> lltrustedmessageservice_test_ok - 1 error(s), 0 warning(s)
> ___
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/OpenSource-Dev
> Please read the policies before posting to keep unmoderated posting
> privileges
>
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] mp4 video doesn't work in snowglobe anymore...

2010-05-07 Thread Philippe (Merov) Bossut
Hi Lance,

On Fri, May 7, 2010 at 12:35 AM, Lance Corrimal
wrote:

> Hi,
>
> mp4-based streams (youtube on @home TVs, to be precise) doesn't work in
> snowglobe anymore... I tried both 1.4 (svn 3343) and 2.0 (svn 3347), and
> the
> screen of my TV simply stays white.
>

Checks into mime_types.xml that the video/mp4 is correctly associated with
the relevant media plugin. It should (just checked). That being said, this
file is in the skins/default/xui/en and can therefore be overloaded by a
version in your locale (de?). Add to that that we added OS specific version
in SG1.x to cope with plugins covering mime types being different between
OSes. A hack but the best we could do at the time (see SNOW-307).


>
> in old 1.23, and the latest 2.0.1 viewer, it works as expected...
>

1.23 does not use the media plugins so I'm not surprised it works. It just
relies on whatever is advertised in the parcel media setting to play the
media.

Starting with SG1.3 and V2.0, we've been using the media plugins that do
relate on the mime type sent by the server and a "mime type / plugin"
association table called mime_types.xml. If the server returns something
bogus, the media doesn't play.

If 2.0.1 works, may be stealing its mime_type.xml (copied over into the
app_settings folder) will solve your problem. Let us know if it does.

Cheers,
- Merov
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] TPV and the self compiler

2010-05-07 Thread Philippe (Merov) Bossut
Hi,

On Fri, May 7, 2010 at 2:19 PM, Gareth Nelson wrote:

> If you don't make any changes do you still need to change the name? I
> commonly update by doing an svn update and recompile, and believed I
> was being 100% complaint - is this incorrect?
>
>
Yes, it is correct, you've nothing to worry about and are 100% compliant. No
need to change the channel or user agent in that case.

In general, you don't need to change any of this when doing Snowglobe
development on your own machine. It's only if you start distributing your
viewer that you need to change the name so that it can be identified or if
you do massive functional changes, so big that the resulting viewer can't be
considered as a "Snowglobe Test" anymore.

As a rule of thumb I'd say if you apply patches you find in JIRA or develop
code for stuff referenced in JIRA (and, hopefully, will submit a patch...),
you have no reason to change the name and identity of your viewer.

Cheers,
- Merov
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges