Stanislav Galabov
|
5d18567db0
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
|
11 years ago |
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 years ago |
Serj Kalichev
|
ed17b13c18
Merge branch 'master' into plugin
|
11 years ago |
Serj Kalichev
|
efc8072b29
Merge branch 'smartcom'
|
11 years ago |
Serj Kalichev
|
293bac7909
Merge branch 'smartcom' of https://code.google.com/p/klish into plugin
|
11 years ago |
Serj Kalichev
|
0d50475e44
Remove default_builtin from STARTUP.
|
11 years ago |
Stanislav Galabov
|
cb9596917f
Change XML files to reflect Lua plugin name change
|
11 years ago |
Serj Kalichev
|
b2182151d1
Fix lua LDFLAGS. Change plugin name to lua
|
11 years ago |
Stanislav Galabov
|
a5c2367036
Provide an error message and end ACTION processing in case pipe() returns -1
|
11 years ago |
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 years ago |
Serj Kalichev
|
98b4a85bc3
Use ax_lua.m4. For testing only.
|
11 years ago |
Serj Kalichev
|
397396080e
Fix warnings in lua plugin build on linux
|
11 years ago |
Serj Kalichev
|
357c1f223d
Use context API
|
11 years ago |
Serj Kalichev
|
744bacdd1b
Some context API for shell_execute.c
|
11 years ago |
Serj Kalichev
|
8db6a1b163
Some context API
|
11 years ago |
Serj Kalichev
|
978a0e168e
Merge branch 'smartcom' into mm
|
11 years ago |
Serj Kalichev
|
c3002dbecd
Use API for context
|
11 years ago |
Stanislav Galabov
|
54b74d8cc1
Use the new context API to get shell from context; Cleanup unneeded cast
|
11 years ago |
Stanislav Galabov
|
3f589338fc
Merge branch 'master' of https://code.google.com/p/klish into smartcom
|
11 years ago |
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 years ago |
Serj Kalichev
|
94fc319ee2
Context public API
|
11 years ago |
Serj Kalichev
|
518613d8c6
Remove legacy global cookie
|
11 years ago |
Serj Kalichev
|
8057489f67
Remove unneeded global init and fini hooks
|
11 years ago |
Serj Kalichev
|
fd67d0784a
Move internal plugin to plugins/default
|
11 years ago |
Stanislav Galabov
|
6a8f7647a6
Merge with master
|
11 years ago |
Stanislav Galabov
|
7768e2a164
Attempt at full *out implementation for Lua.
|
11 years ago |
Stanislav Galabov
|
8c252b1a88
Make use of the possibility to return a string from Lua in order to implement *out functionality
|
11 years ago |
Stanislav Galabov
|
a64420c178
Use memcpy instead of bcopy as it is possibly more portable
|
11 years ago |
Stanislav Galabov
|
013f60c901
Implement a simple trim function. Use trim to get only the config string without any leading/trailing whitespace
|
11 years ago |
Stanislav Galabov
|
6b0dcb23bd
Remove unneeded comments and fix file.
|
11 years ago |