Details
-
Defect
-
Status: Closed
-
Unset
-
Resolution: Released
-
None
-
None
-
None
-
I also see this issue on linux with the same build, but here's my Mac info
Second Life 3.7.11 (291465) Jun 25 2014 06:54:17 (Second Life Release)
Release Notes
You are at 103.9, 100.9, 29.3 in Konacabana located at sim10560.agni.lindenlab.com (216.82.52.66:13000)
SLURL: http://maps.secondlife.com/secondlife/Konacabana/104/101/29
(global coordinates 261736.0, 249189.0, 29.3)
Second Life Server 14.06.20.291351
Retrieving...
CPU: Intel(R) Core(TM) i5-2557M CPU @ 1.70GHz (1700 MHz)
Memory: 4096 MB
OS Version: Mac OS X 10.9.3 Darwin 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64
Graphics Card Vendor: Intel Inc.
Graphics Card: Intel HD Graphics 3000 OpenGL Engine
OpenGL Version: 2.1 INTEL-8.24.13
libcurl Version: libcurl/7.24.0 OpenSSL/0.9.8q zlib/1.2.5
J2C Decoder Version: KDU v7.0
Audio Driver Version: FMOD Ex 4.44.31
Qt Webkit Version: 4.7.1 (version number hard-coded)
Voice Server Version: Vivox 4.6.0009.20030
Built with GCC version 40201
Packets Lost: 0/0 (nan%)I also see this issue on linux with the same build, but here's my Mac info Second Life 3.7.11 (291465) Jun 25 2014 06:54:17 (Second Life Release) Release Notes You are at 103.9, 100.9, 29.3 in Konacabana located at sim10560.agni.lindenlab.com (216.82.52.66:13000) SLURL: http://maps.secondlife.com/secondlife/Konacabana/104/101/29 (global coordinates 261736.0, 249189.0, 29.3) Second Life Server 14.06.20.291351 Retrieving... CPU: Intel(R) Core(TM) i5-2557M CPU @ 1.70GHz (1700 MHz) Memory: 4096 MB OS Version: Mac OS X 10.9.3 Darwin 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64 Graphics Card Vendor: Intel Inc. Graphics Card: Intel HD Graphics 3000 OpenGL Engine OpenGL Version: 2.1 INTEL-8.24.13 libcurl Version: libcurl/7.24.0 OpenSSL/0.9.8q zlib/1.2.5 J2C Decoder Version: KDU v7.0 Audio Driver Version: FMOD Ex 4.44.31 Qt Webkit Version: 4.7.1 (version number hard-coded) Voice Server Version: Vivox 4.6.0009.20030 Built with GCC version 40201 Packets Lost: 0/0 (nan%)
Description
Steps to Reproduce
- Login to a Second Life Server 14.06.20.291351 region
- Create a new script, and paste the text below
- PRIM_NAME PRIM_NORMAL PRIM_SPECULAR PRIM_ALPHA_MODE PRIM_ALPHA_MODE_NONE PRIM_ALPHA_MODE_BLEND PRIM_ALPHA_MODE_MASK PRIM_ALPHA_MODE_EMISSIVE
- Observe the text color of each word in the script
- Hover your mouse over every word, and observe if there is an appropriate-looking tooltip for the word
Actual Behavior
I see the following:
- PRIM_NAME is correctly highlighted in teal, and has a tooltip with basic info (type: integer, value: 18)
- The other keywords appear black (default for text) and do not have tooltips
- There is no mention in the viewer log of the viewer attempting to fetch the LSL keywords from the sim
- There is no keywords_lsl_*xml file in my viewer's cache folder ( ~/Library/Caches/SecondLife/ on mac)
- apparently the definition was never fetched
Expected Behavior
All of the keywords should be highlighted in teal (or whatever is the current color for integer constants), and each should have a tooltip which makes sense.
Information about 'new' keywords comes from the LSLSyntax capability from the simulator. Earlier builds of this viewer correctly highlighted PRIM_NORMAL and friends, when connected to the right simulator.
Other information
The 'Second Life 3.7.11 (291465) Jun 25 2014 06:54:17 (Second Life Release)' viewer contains support for STORM-1831, which is the ability to fetch an LSL syntax file from the simulator for up-to-date syntax highlighting of keywords. This ability does not appear to work, however. New LSL keyworks such as PRIM_NORMAL, PRIM_SPECULAR, and PRIM_ALPHA_MODE (present in Second Life Server 14.06.20.291351's keyword file) are not highlighted as integer constants.
The new keywords are definitely present in the xml found in the LSLSyntax cap from the sim; curling this cap, I see that PRIM_NORMAL is well-formed, for example:
$ curl -sk https://sim10560.agni.lindenlab.com:12043/cap/c7fd89f6-37a4-1a13-3b14-11cd29771d44 | grep -C9 --color=always PRIM_NORMAL
|
<key>PRIM_NAME</key>
|
<map>
|
<key>type</key>
|
<string>integer</string>
|
<key>value</key>
|
<integer>27</integer>
|
<key>tooltip</key>
|
<string/>
|
</map>
|
<key>PRIM_NORMAL</key>
|
<map>
|
<key>type</key>
|
<string>integer</string>
|
<key>value</key>
|
<integer>37</integer>
|
<key>tooltip</key>
|
<string>Prim parameter for materials using integer face, string texture, vector repeats, vector offsets, float rotation_in_radians</string>
|
</map>
|
<key>PRIM_OMEGA</key>
|
xmllint is happy with the output too, so I don't see why it's not being fetched and parsed by the viewer.
Attachments
Issue Links
- related
-
STORM-1831 Obtain LSL syntax table from simulator so that it is always up to date
-
- Closed
-