LuaGlobal Improvements - help needed
Re: LuaGlobal Improvements
It's actually supposed not to be registered at all because that register removed the whole debug table from Mudlet. Hopefully it'll be fixed in the next update.
Re: LuaGlobal Improvements
Cool, thanks, I'll take it out from documentation than.
I did discover another duplicity there and I suppose that this was introduced by error as well.
I did discover another duplicity there and I suppose that this was introduced by error as well.
grep -R -n lua_register * | grep getNet
src/TLuaInterpreter.cpp:5296: lua_register( pGlobalLua, "getNetworkLatency", TLuaInterpreter::getNetworkLatency );
src/TLuaInterpreter.cpp:5309: lua_register( pGlobalLua, "getNetworkLatency", TLuaInterpreter::getNetworkLatency );
Re: LuaGlobal Improvements
Enclosed files contains a lot of updated to CoreMudlet.lua doc. Have a look and pass me any feedback.
We still needs to:
We still needs to:
- use GIT for code changes
- Make some extra tests and
- transform all remaining documentation to LuaDoc
- solve some problematic LuaDoc formatting to make it more readable
- Attachments
-
- NewLuaGlobal_v05.zip
- (73.62 KiB) Downloaded 361 times
Re: LuaGlobal Improvements
Can you come to the IRC channel so I can talk to you about this?
Re: LuaGlobal Improvements
to Denarii
of course, let me know what will be suitable time for you
LuaDoc update
I finally "force" luadoc to accept pre formatted text!
See enclosed documentation for demo (TableUtils.lua).
I can happily work on documentation because we have all we need.
(Well - we still need some testing and put this stuff into GIT.)
of course, let me know what will be suitable time for you
LuaDoc update
I finally "force" luadoc to accept pre formatted text!
See enclosed documentation for demo (TableUtils.lua).
I can happily work on documentation because we have all we need.
(Well - we still need some testing and put this stuff into GIT.)
- Attachments
-
- NextGenLua_v6.zip
- (78.76 KiB) Downloaded 329 times
Re: LuaGlobal Improvements
I should be around during the early evening, EST
Re: LuaGlobal Improvements
Another update
- fixed issue with LuaDoc @see tag
- all Mudlet core documentation is now using LuaDoc.
- few minor fixed in other documentation
All is enclosed and ready for comments...
- fixed issue with LuaDoc @see tag
- all Mudlet core documentation is now using LuaDoc.
- few minor fixed in other documentation
All is enclosed and ready for comments...
- Attachments
-
- NextGenLua_v7.zip
- (91.78 KiB) Downloaded 324 times
Re: LuaGlobal Improvements
You should remove wait, it's undocumented for the reason that it's quite useless (freezes main thread, really has no place).
Otherwise it looks quite fine, I'd do some CSS tweaks but that's about it. Only issue I see is that locating functions is harder now - no search/split on many pages.
I think I remember seeing some client-side search engines that used a pre-generated index, maybe we could stick it in.
Otherwise it looks quite fine, I'd do some CSS tweaks but that's about it. Only issue I see is that locating functions is harder now - no search/split on many pages.
I think I remember seeing some client-side search engines that used a pre-generated index, maybe we could stick it in.
Re: LuaGlobal Improvements
That would be great if you can make it nicer
I did hack LuaDoc taglet again to produce index of all functions (result is enclosed).
Hopefully this will make it easy to locate any function.
I did update documentation about wait and clearly state that this is no go function and that
user should user tempTimer instead. (I think that is better to inform user that hope that
will never discover wait function.)
Babelfish and me worked on GIT, but we still have to finish few thinks.
(There is new - not master - GIT repo: http://github.com/zaxes/mudlet-lua)
PS: It would be great if somebody can update
http://www.mudlet.org/download/ source code section with babelfish's repo or
if we can have only one repository for all code (including lua).
I did hack LuaDoc taglet again to produce index of all functions (result is enclosed).
Hopefully this will make it easy to locate any function.
I did update documentation about wait and clearly state that this is no go function and that
user should user tempTimer instead. (I think that is better to inform user that hope that
will never discover wait function.)
Babelfish and me worked on GIT, but we still have to finish few thinks.
(There is new - not master - GIT repo: http://github.com/zaxes/mudlet-lua)
PS: It would be great if somebody can update
http://www.mudlet.org/download/ source code section with babelfish's repo or
if we can have only one repository for all code (including lua).
- Attachments
-
- mudlet-lua_v08.zip
- (155.8 KiB) Downloaded 331 times