Skip to content

Commit

Permalink
Changelog for 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
creationix committed Mar 10, 2015
1 parent 202f779 commit d2a11d3
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 18 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,16 @@

High-level changes between release versions.

## v1.0.0

- luvi: Add bundle.action API for using objects from the zip bundle. [Tim Caswell]
- luvi: Remove auto coroutine.wrap, uv.start, and uv.stop. [Tim Caswell]
- luvi: Use proper mainpath for auto-require. [Tim Caswell]
- luvi: fix packaging, add -Wall and fix warning [Ryan Phillips]
- luv: expose O_EXLOCK constant on platforms that have it. [Tim Caswell]
- lua-openssl: Update upstream.


## v0.8.1

- luv: Update to libuv v1.4.2-4-gfd3cf20 [Daniel Barney]
Expand Down
2 changes: 1 addition & 1 deletion deps/luv
Submodule luv updated 1 files
+4 −0 src/constants.c
2 changes: 1 addition & 1 deletion samples/test.app/main.lua
Expand Up @@ -156,7 +156,7 @@ print("Testing for lua 5.2 extensions")
local thread, ismain = coroutine.running()
p(thread, ismain)
assert(thread)
assert(ismain == false)
assert(ismain)


print("Testing miniz")
Expand Down
24 changes: 9 additions & 15 deletions src/lua/init.lua
Expand Up @@ -424,21 +424,15 @@ return function(args)
_G.p = mainRequire('pretty-print').prettyPrint
end
-- Wrap main in a coroutine and auto start-stop the uv loop.
local returnCode
coroutine.wrap(function ()
local fn = assert(loadstring(main, "bundle:main.lua"))
if mainRequire then
setfenv(fn, setmetatable({
require = mainRequire
}, {
__index=_G
}))
end
returnCode = fn(unpack(args))
end)()
uv.run();
return returnCode
local fn = assert(loadstring(main, "bundle:main.lua"))
if mainRequire then
setfenv(fn, setmetatable({
require = mainRequire
}, {
__index=_G
}))
end
return fn(unpack(args))
end
Expand Down

0 comments on commit d2a11d3

Please sign in to comment.