Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

klish / xml-examples @ master

Name Size Revision Age Author Comment
  clish b81ff592 over 5 years Serj Kalichev From: Emmanuel Deloget <logout@free.fr> Subject...
  klish 4c56c7d5 over 5 years Serj Kalichev Add xml-examples without symlinks
  lua a010cf77 over 4 years Stanislav Galabov Use the new INI-like parser to get Lua scripts ...
  test cd705b47 almost 5 years Serj Kalichev Add test for > within attribute value

Latest revisions

# Date Author Comment
a010cf77 04/11/2013 06:28 PM Stanislav Galabov

Use the new INI-like parser to get Lua scripts dir from XML

5d18567d 04/10/2013 06:11 PM Stanislav Galabov

Modify xml-examples/lua/*.xml in order to make the default ACTION handler Lua. Leave a command (test1) which uses the clish_script@clish handler just to illustrate how Lua and shell ACTIONs can co-exist

cb959691 04/10/2013 03:05 PM Stanislav Galabov

Change XML files to reflect Lua plugin name change

013f60c9 04/08/2013 02:53 PM Stanislav Galabov

Implement a simple trim function. Use trim to get only the config string without any leading/trailing whitespace

6b0dcb23 04/08/2013 01:51 PM Stanislav Galabov

Remove unneeded comments and fix file.

7b83ec7f 04/08/2013 01:12 PM Stanislav Galabov

Resolve conflict caused by 'rebase'

434a6875 04/08/2013 01:11 PM Stanislav Galabov

Use plugin_fini; Use plugin's conf mechanism for defining the script dir instead of relying on global env vars (for the moment it's rudimentary and just uses the string provided by clish_plugin__get_conf() without doing any further parsing)

f861b3cd 04/08/2013 12:28 PM Stanislav Galabov

Rename some files. Stop using init hook - init Lua interpreter from within the plugin_init function. Register action handler as a sym instead of as a hook. Once we have plugin_fini ready I'll remove the fini hook as well.

3fbc9fdd 04/08/2013 12:28 PM Stanislav Galabov

Initial import of Lua plugin. Currently clish_plugin_lua_la_LDFLAGS and clish_plugin_lua_la_CFLAGS need to be specified manually in plugins/lua/module.am in order to build successfully. Once built - set CLISH_PATH to xml-examples/lua and start klish. You'll have all the commands as in xml-examples/test interpreted by Lua and, in addition, commands test8 (calls a lua function defined in test.lua), eval (can evaluate any string parameter as a Lua chunk) and test9 (an alias for eval)

b9e90720 04/06/2013 12:16 AM Stanislav Galabov

Rename some files. Stop using init hook - init Lua interpreter from within the plugin_init function. Register action handler as a sym instead of as a hook. Once we have plugin_fini ready I'll remove the fini hook as well.

View revisions

Also available in: Atom