summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llluamanager.cpp4
-rw-r--r--indra/newview/scripts/lua/require/ErrorQueue.lua (renamed from indra/newview/scripts/lua/ErrorQueue.lua)0
-rw-r--r--indra/newview/scripts/lua/require/Floater.lua (renamed from indra/newview/scripts/lua/Floater.lua)0
-rw-r--r--indra/newview/scripts/lua/require/LLChat.lua (renamed from indra/newview/scripts/lua/LLChat.lua)0
-rw-r--r--indra/newview/scripts/lua/require/LLDebugSettings.lua (renamed from indra/newview/scripts/lua/LLDebugSettings.lua)0
-rw-r--r--indra/newview/scripts/lua/require/LLFloaterAbout.lua (renamed from indra/newview/scripts/lua/LLFloaterAbout.lua)0
-rw-r--r--indra/newview/scripts/lua/require/LLGesture.lua (renamed from indra/newview/scripts/lua/LLGesture.lua)0
-rw-r--r--indra/newview/scripts/lua/require/Queue.lua (renamed from indra/newview/scripts/lua/Queue.lua)0
-rw-r--r--indra/newview/scripts/lua/require/UI.lua (renamed from indra/newview/scripts/lua/UI.lua)0
-rw-r--r--indra/newview/scripts/lua/require/WaitQueue.lua (renamed from indra/newview/scripts/lua/WaitQueue.lua)0
-rw-r--r--indra/newview/scripts/lua/require/coro.lua (renamed from indra/newview/scripts/lua/coro.lua)0
-rw-r--r--indra/newview/scripts/lua/require/fiber.lua (renamed from indra/newview/scripts/lua/fiber.lua)0
-rw-r--r--indra/newview/scripts/lua/require/inspect.lua (renamed from indra/newview/scripts/lua/inspect.lua)0
-rw-r--r--indra/newview/scripts/lua/require/leap.lua (renamed from indra/newview/scripts/lua/leap.lua)0
-rw-r--r--indra/newview/scripts/lua/require/printf.lua (renamed from indra/newview/scripts/lua/printf.lua)0
-rw-r--r--indra/newview/scripts/lua/require/startup.lua (renamed from indra/newview/scripts/lua/startup.lua)0
-rw-r--r--indra/newview/scripts/lua/require/timers.lua (renamed from indra/newview/scripts/lua/timers.lua)0
-rw-r--r--indra/newview/scripts/lua/require/util.lua (renamed from indra/newview/scripts/lua/util.lua)0
-rwxr-xr-xindra/newview/viewer_manifest.py4
19 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/llluamanager.cpp b/indra/newview/llluamanager.cpp
index 6f72eb4142..5aa47d7566 100644
--- a/indra/newview/llluamanager.cpp
+++ b/indra/newview/llluamanager.cpp
@@ -386,10 +386,10 @@ void LLRequireResolver::findModule()
std::vector<fsyspath> lib_paths
{
- gDirUtilp->getExpandedFilename(LL_PATH_SCRIPTS, "lua"),
+ gDirUtilp->getExpandedFilename(LL_PATH_SCRIPTS, "lua", "require"),
#ifdef LL_TEST
// Build-time tests don't have the app bundle - use source tree.
- fsyspath(__FILE__).parent_path() / "scripts" / "lua",
+ fsyspath(__FILE__).parent_path() / "scripts" / "lua" / "require",
#endif
};
diff --git a/indra/newview/scripts/lua/ErrorQueue.lua b/indra/newview/scripts/lua/require/ErrorQueue.lua
index e6e9a5ef48..e6e9a5ef48 100644
--- a/indra/newview/scripts/lua/ErrorQueue.lua
+++ b/indra/newview/scripts/lua/require/ErrorQueue.lua
diff --git a/indra/newview/scripts/lua/Floater.lua b/indra/newview/scripts/lua/require/Floater.lua
index d057a74386..d057a74386 100644
--- a/indra/newview/scripts/lua/Floater.lua
+++ b/indra/newview/scripts/lua/require/Floater.lua
diff --git a/indra/newview/scripts/lua/LLChat.lua b/indra/newview/scripts/lua/require/LLChat.lua
index 78dca765e8..78dca765e8 100644
--- a/indra/newview/scripts/lua/LLChat.lua
+++ b/indra/newview/scripts/lua/require/LLChat.lua
diff --git a/indra/newview/scripts/lua/LLDebugSettings.lua b/indra/newview/scripts/lua/require/LLDebugSettings.lua
index cff1a63c21..cff1a63c21 100644
--- a/indra/newview/scripts/lua/LLDebugSettings.lua
+++ b/indra/newview/scripts/lua/require/LLDebugSettings.lua
diff --git a/indra/newview/scripts/lua/LLFloaterAbout.lua b/indra/newview/scripts/lua/require/LLFloaterAbout.lua
index a6e42d364f..a6e42d364f 100644
--- a/indra/newview/scripts/lua/LLFloaterAbout.lua
+++ b/indra/newview/scripts/lua/require/LLFloaterAbout.lua
diff --git a/indra/newview/scripts/lua/LLGesture.lua b/indra/newview/scripts/lua/require/LLGesture.lua
index 343b611e2c..343b611e2c 100644
--- a/indra/newview/scripts/lua/LLGesture.lua
+++ b/indra/newview/scripts/lua/require/LLGesture.lua
diff --git a/indra/newview/scripts/lua/Queue.lua b/indra/newview/scripts/lua/require/Queue.lua
index 5bc72e4057..5bc72e4057 100644
--- a/indra/newview/scripts/lua/Queue.lua
+++ b/indra/newview/scripts/lua/require/Queue.lua
diff --git a/indra/newview/scripts/lua/UI.lua b/indra/newview/scripts/lua/require/UI.lua
index eb1a4017c7..eb1a4017c7 100644
--- a/indra/newview/scripts/lua/UI.lua
+++ b/indra/newview/scripts/lua/require/UI.lua
diff --git a/indra/newview/scripts/lua/WaitQueue.lua b/indra/newview/scripts/lua/require/WaitQueue.lua
index 7e10d03295..7e10d03295 100644
--- a/indra/newview/scripts/lua/WaitQueue.lua
+++ b/indra/newview/scripts/lua/require/WaitQueue.lua
diff --git a/indra/newview/scripts/lua/coro.lua b/indra/newview/scripts/lua/require/coro.lua
index 616a797e95..616a797e95 100644
--- a/indra/newview/scripts/lua/coro.lua
+++ b/indra/newview/scripts/lua/require/coro.lua
diff --git a/indra/newview/scripts/lua/fiber.lua b/indra/newview/scripts/lua/require/fiber.lua
index cae27b936b..cae27b936b 100644
--- a/indra/newview/scripts/lua/fiber.lua
+++ b/indra/newview/scripts/lua/require/fiber.lua
diff --git a/indra/newview/scripts/lua/inspect.lua b/indra/newview/scripts/lua/require/inspect.lua
index 9900a0b81b..9900a0b81b 100644
--- a/indra/newview/scripts/lua/inspect.lua
+++ b/indra/newview/scripts/lua/require/inspect.lua
diff --git a/indra/newview/scripts/lua/leap.lua b/indra/newview/scripts/lua/require/leap.lua
index 82f91ce9e9..82f91ce9e9 100644
--- a/indra/newview/scripts/lua/leap.lua
+++ b/indra/newview/scripts/lua/require/leap.lua
diff --git a/indra/newview/scripts/lua/printf.lua b/indra/newview/scripts/lua/require/printf.lua
index e84b2024df..e84b2024df 100644
--- a/indra/newview/scripts/lua/printf.lua
+++ b/indra/newview/scripts/lua/require/printf.lua
diff --git a/indra/newview/scripts/lua/startup.lua b/indra/newview/scripts/lua/require/startup.lua
index c3040f94b8..c3040f94b8 100644
--- a/indra/newview/scripts/lua/startup.lua
+++ b/indra/newview/scripts/lua/require/startup.lua
diff --git a/indra/newview/scripts/lua/timers.lua b/indra/newview/scripts/lua/require/timers.lua
index e4938078dc..e4938078dc 100644
--- a/indra/newview/scripts/lua/timers.lua
+++ b/indra/newview/scripts/lua/require/timers.lua
diff --git a/indra/newview/scripts/lua/util.lua b/indra/newview/scripts/lua/require/util.lua
index bfbfc8637c..bfbfc8637c 100644
--- a/indra/newview/scripts/lua/util.lua
+++ b/indra/newview/scripts/lua/require/util.lua
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index 53039fbd99..20dced2341 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -169,6 +169,8 @@ class ViewerManifest(LLManifest):
with self.prefix(src_dst="scripts/lua"):
self.path("*.lua")
self.path("*.xml")
+ with self.prefix(src_dst='require'):
+ self.path("*.lua")
#build_data.json. Standard with exception handling is fine. If we can't open a new file for writing, we have worse problems
#platform is computed above with other arg parsing
@@ -285,7 +287,7 @@ class ViewerManifest(LLManifest):
# A line that starts with a non-whitespace character is a name; all others describe contributions, so collect the names
names = []
for line in lines :
- if re.match("\S", line) :
+ if re.match(r"\S", line) :
names.append(line.rstrip())
# It's not fair to always put the same people at the head of the list
random.shuffle(names)