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 years ago |
Stanislav Galabov
|
b211836408
Removing file included by accident
|
11 years ago |
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 years ago |
Serj Kalichev
|
aa1eca0762
Execute init hook on startup
|
11 years ago |
Serj Kalichev
|
1b2ddac0cb
Change plugin init prototype. RTLD_LOCAL while dlopen
|
11 years ago |
Serj Kalichev
|
1db916faa1
udata container to store plugin named data
|
11 years ago |
Serj Kalichev
|
21e5c5ae08
Fix UNIX_PATH_MAX portability problem. Thanks to S.Galabov
|
11 years ago |
Serj Kalichev
|
53073e25c4
Support for bsdxml backend. Thanks to S.Galabov.
|
11 years ago |
Serj Kalichev
|
2f12a71ce5
Implement clish_plugin_add_phook()
|
11 years ago |
Serj Kalichev
|
cec0a286f0
Hook wrappers. Dryrun config and log.
|
11 years ago |
Serj Kalichev
|
277cbed638
Add wrappers for hooks
|
11 years ago |
Serj Kalichev
|
e26d4aabb1
Fix include internal.h
|
11 years ago |
Serj Kalichev
|
2941f06afa
Access wildcard
|
11 years ago |
Serj Kalichev
|
9f620d4b43
Add func to get hook sym
|
11 years ago |
Serj Kalichev
|
4f790a94cc
Add clish_shell_set_hook() function
|
11 years ago |
Serj Kalichev
|
d4676684cc
Don't relink non-null syms
|
11 years ago |
Serj Kalichev
|
d2af95fd89
Rename builtin/sym_navy.c to sym_misc.c
|
11 years ago |
Serj Kalichev
|
6245456c58
Add hooks
|
11 years ago |
Serj Kalichev
|
907a9c36f8
Fix default sym resolve mechanism
|
11 years ago |
Serj Kalichev
|
a347b77264
Rename client_hooks to hooks
|
11 years ago |
Serj Kalichev
|
abb9cea800
Add HOOK to scheme
|
11 years ago |
Serj Kalichev
|
d422ac77e9
Fix sym func type
|
11 years ago |
Serj Kalichev
|
b306e0bf13
Don't compile debug _dump.c code
|
11 years ago |
Serj Kalichev
|
e10081436e
Add plugin symbol type
|
11 years ago |
Serj Kalichev
|
d31e999c53
Remove deprecated builtin typedef
|
11 years ago |
Serj Kalichev
|
bdbe49caf9
Restore proper tty mode
|
11 years ago |
Serj Kalichev
|
7de7d40bd2
Analyze retval from sysconf()
|
11 years ago |
Serj Kalichev
|
09f0581703
Completion with length=width fix
|
12 years ago |
Serj Kalichev
|
16923f3863
Merge branch 'float'
|
12 years ago |
Serj Kalichev
|
65391dd8cf
Fix long completion critical bug
|
12 years ago |