Go to file
Tim Starling 441943bd9b Do not allow access to setfenv() and getfenv() by default
Optionally remove setfenv and getfenv from the global environment in
which user code runs. This will improve the forwards-compatibility of
user code with Lua 5.2.

Porting to Lua 5.2 would still be a daunting project, of questionable
value, but at least only the internal code would need updating, and not
thousands of on-wiki modules. Compared to the environment changes, the
rest of the Lua 5.2 changes are relatively easy to simulate for
backwards compatibility.

Removed module() from the package module, since it depends on setfenv().
The native version of it is deprecated in Lua 5.2 for that reason.

Change-Id: I978903ca98943ac941833da13fe5027949f6b429
2012-05-31 15:02:04 +02:00
common Merge "New parser interface" 2012-05-26 11:42:40 +00:00
engines Do not allow access to setfenv() and getfenv() by default 2012-05-31 15:02:04 +02:00
modules Don't open multiple error dialogs 2012-05-26 16:00:05 +04:00
tests/engines Do not allow access to setfenv() and getfenv() by default 2012-05-31 15:02:04 +02:00
.gitignore Add .gitignore 2012-05-21 01:44:42 +01:00
.gitreview Adding .gitreview 2012-04-06 13:46:17 -04:00
Scribunto.i18n.php Added CPU usage to limit report 2012-04-30 16:37:41 +10:00
Scribunto.magic.php New parser interface 2012-05-22 14:18:49 +10:00
Scribunto.namespaces.php File moves for extension rename, and removed unused directory 2012-04-06 05:06:27 +00:00
Scribunto.php Do not allow access to setfenv() and getfenv() by default 2012-05-31 15:02:04 +02:00