Serj Kalichev
|
ded766c2fc
Add map files to dist
|
10 éve |
Serj Kalichev
|
41e2bc8f90
Dont' install private headers
|
10 éve |
Serj Kalichev
|
11fd6a7bb2
Rename default plugin to clish
|
11 éve |
Stanislav Galabov
|
cc00cf1137
Detect if LD supports --version-script and, if so, use that in order to hide symbols exported by a plugin. If not - use -export-symbols and a symbol.map file instead of an -export-symbols-regex, which can lead to more issues than it can solve.
|
11 éve |
Serj Kalichev
|
b2182151d1
Fix lua LDFLAGS. Change plugin name to lua
|
11 éve |
Stanislav Galabov
|
cb8ca83a07
Fix ax_lua.m4 so that it skips the header version checks and assumes they're ok when cross-compiling. Use ax_lua.m4's facilities to locate Lua libs and headers
|
11 éve |
Serj Kalichev
|
98b4a85bc3
Use ax_lua.m4. For testing only.
|
11 éve |
Stanislav Galabov
|
5b8f69a6bd
Conditionally build Lua plugin only if --with-lua is given to configure; Currently we look for Lua lib and headers only in the standard search path. If they're somewhere else - the user will have to specify that by passing appropriate CPPFLAGS and/or LDFLAGS to configure
|
11 éve |
Stanislav Galabov
|
7768e2a164
Attempt at full *out implementation for Lua.
|
11 éve |
Stanislav Galabov
|
013f60c901
Implement a simple trim function. Use trim to get only the config string without any leading/trailing whitespace
|
11 éve |
Stanislav Galabov
|
9d981594ec
Was too quick with last commit... Actually fix conflicts due to rebase
|
11 éve |
Stanislav Galabov
|
7b83ec7f7e
Resolve conflict caused by 'rebase'
|
11 éve |
Stanislav Galabov
|
434a687559
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)
|
11 éve |
Stanislav Galabov
|
f861b3cd57
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.
|
11 éve |
Stanislav Galabov
|
3fbc9fdd98
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)
|
11 éve |
Stanislav Galabov
|
b9e9072034
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.
|
11 éve |
Stanislav Galabov
|
79fe413202
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)
|
11 éve |