UbitUmarov
df7468ffa2
fix a cast
2016-09-21 14:41:14 +01:00
UbitUmarov
5648f4ae6e
kick mr jenkins
2016-09-21 14:23:08 +01:00
UbitUmarov
c2dfa48604
missing file
2016-09-21 14:18:14 +01:00
UbitUmarov
8b1a174430
****DANGER**** try to make LSL_Types.key to work. bin/ScriptEngines contents must be deleted to recompile scripts. Needs more testing on all uses of key type ****DANGER****
2016-09-21 14:04:23 +01:00
UbitUmarov
16cec3041f
<0,0,0,0> is not a rotation
2016-09-03 07:09:05 +01:00
UbitUmarov
2b354902b5
fix the casting to Boolean of lsl types vector,quaternion,list and rotation, so that if(variable) does compile and work. key still requires a explicit compare to NULL_KEY
2015-10-08 06:27:37 +01:00
UbitUmarov
fd20a9576d
... post merge issue
2015-09-28 16:03:10 +01:00
UbitUmarov
592ba85b0a
add Culture.FormatProvider on all casts to LSLString on Vectors and Quaternions. This may need better checking
2015-09-23 17:04:48 +01:00
UbitUmarov
a11edceb00
seems to compile ( tests comented out)
2015-09-02 19:54:53 +01:00
UbitUmarov
371c9dd2af
bad merge?
2015-09-01 14:54:35 +01:00
lillith xue
722d00903b
Add Culture.FormatProvider to String.Format, like it is done for LSLFloat
...
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-08-24 01:21:33 +02:00
Melanie Thielker
87247dc2c9
Just replace all m_data accesses with accesses to Data, which is
...
protected against nullrefs
2015-08-24 00:08:08 +02:00
UbitUmarov
ca53671691
add missing culture format on lslvector toString
2015-08-23 17:31:15 +01:00
Melanie Thielker
a9beee7050
Revert "Revert "Fix a possible nullref caused by accessing m_data rather than Data""
...
Needed after all
This reverts commit 26094c21fe
.
2015-08-23 17:48:48 +02:00
Melanie Thielker
c4ea4ea000
Fix the nullref in scripts - the right way
2015-08-23 17:36:08 +02:00
Melanie Thielker
26094c21fe
Revert "Fix a possible nullref caused by accessing m_data rather than Data"
...
My bad!
This reverts commit 20326e1947
.
2015-08-23 17:34:20 +02:00
Melanie Thielker
20326e1947
Fix a possible nullref caused by accessing m_data rather than Data
2015-08-19 23:33:38 +02:00
Melanie Thielker
662b59af83
Convert the lsl list type into a struct. EXPERIMENTAL! This may affect
...
the llSetPrimitiveParams family of functions adversely. Please test!
2015-08-19 23:14:11 +02:00
Melanie Thielker
c61aee12d4
Fix adding a scalar to the end of a list
2015-08-19 01:04:10 +02:00
Melanie Thielker
62f3399559
Try to address Mantis #7689 . When adding a scalar to a list, make a copy
...
as is done when adding another list.
2015-08-19 01:00:42 +02:00
Cinder
cfaf904a3b
LSL key should be implicitly cast to a boolean value
...
Signed-off-by: James Hughes <jamesh@ascent.bluewallgroup.com>
2014-11-20 11:32:46 -06:00
Oren Hurvitz
998d7009a6
Eliminated many warnings
2014-04-23 16:37:36 +03:00
Melanie
400f876d98
Merge branch 'master' into careminster
2013-06-11 21:01:58 +01:00
dahlia
ba84074468
LSL_Rotation.Normalize() now returns 0,0,0,1 for x,y,z,s when normalization fails
2013-06-10 17:54:14 -07:00
Melanie
a022ee5766
Merge branch 'master' into careminster
...
Conflicts:
OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
2013-06-11 01:03:15 +01:00
dahlia
a949556c4e
add a Normalize() method for LSL_Rotation
2013-06-10 16:42:49 -07:00
Melanie
42c82b564e
Merge branch 'master' into careminster
...
Conflicts:
OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
OpenSim/Region/Framework/Scenes/ScenePresence.cs
OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
2013-05-16 21:59:14 +01:00
Justin Clark-Casey (justincc)
177a53fbcf
Fix issue where osMakeNotecard() would fail if given a list containing vectors or quaternions.
...
http://opensimulator.org/mantis/view.php?id=6640
2013-05-15 22:04:38 +01:00
Melanie
8d9bfda727
Merge branch 'avination' into careminster
2013-03-19 01:24:14 +00:00
root
1dcdea6ac4
Fix case where the string member of a LSL_String in a list is null
2013-03-16 01:47:26 +01:00
Melanie
e62b14024f
Merge branch 'master' into careminster
...
Conflicts:
OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
2013-01-04 22:39:07 +00:00
SignpostMarv
aa78df4a79
Scipt modules get the OpenMetaverse types, so lists passed as arguments to script module functions which then later call LSL_Types.list.GetVector3Item() or LSL_Types.list.GetQuaternionItem() methods would then trigger an InvalidCastException, which is now avoided.
2013-01-03 00:18:33 +00:00
SignpostMarv
c76c63725b
fixing bug where last element in list is ignored
2012-08-30 00:10:28 +01:00
Melanie
914f97cb76
Merge branch 'master' into careminster
...
Conflicts:
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
2012-08-18 19:01:05 +01:00
SignpostMarv
d72d599056
integrating redundant code into operator
2012-08-18 18:30:00 +01:00
SignpostMarv
2b0c8bc480
Implementing operators & constructors for Quaternion
2012-08-18 18:29:59 +01:00
Melanie
5d43e27de2
Merge branch 'master' into careminster
...
Conflicts:
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
2012-08-18 13:57:50 +01:00
SignpostMarv
5d7751da89
refactoring for Vector3 operator & constructor tweaks
2012-08-18 13:21:55 +01:00
Melanie
aee7a31bc3
Merge branch 'master' into careminster
...
Conflicts:
OpenSim/Region/Framework/Scenes/Scene.cs
OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
2012-08-18 13:17:39 +01:00
SignpostMarv
74f5253a36
attempt to handle InvalidCastException in a manner similar to Second Life
2012-08-17 23:08:24 +01:00
Melanie
97f0cff388
llListSort SL compatibility: When sorting strided list and the list
...
length is not a multiple of the stride, return the original list.
Also, enforce that sort is ascending only when the ascending
parameter is 1, and not when it is != 0
2012-03-05 11:54:06 +01:00
Tom
66dec3b874
Resolve merge commits, stage 1
2011-09-04 07:06:36 -07:00
Justin Clark-Casey (justincc)
6963b8b046
refactor: Get LSLString(LSLInteger i) constructor to now call LSLString(int i) structure to remove code duplication.
2011-07-09 01:28:27 +01:00
Makopoppo
df586c9d25
Raw int numbers (ex.LSL Constants) are displayed like "1.000000" when type cast to string
2011-07-09 01:27:12 +01:00
Justin Clark-Casey (justincc)
52c3671aa0
fix formatting issues from last patch
2011-07-09 01:17:35 +01:00
Makopoppo
04f8d0e45d
Made some LSL_Constant or LS_Constant raw int values
2011-07-09 01:08:13 +01:00
Melanie
e62d1cc480
Merge branch 'master' into careminster-presence-refactor
2011-05-20 22:38:05 +01:00
Kim King
a2c19847b4
ScriptEngine/Shared: Fix bug 5473 (v2).
2011-05-20 20:00:55 +01:00
Melanie
722ae4f031
Add a missing constand and fix ToDoubleList to not eat the last memeber
2011-02-02 20:22:03 +01:00
Melanie
f75a3ee762
Use ToString() rather than a cast (more robust)
2011-01-12 21:25:51 +00:00