Историја ревизија

Аутор SHA1 Порука Датум
  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 година
  Stanislav Galabov 6a8f7647a6 Merge with master пре 11 година
  Serj Kalichev 8057489f67 Remove unneeded global init and fini hooks пре 11 година
  Serj Kalichev fd67d0784a Move internal plugin to plugins/default пре 11 година
  Stanislav Galabov 7768e2a164 Attempt at full *out implementation for Lua. пре 11 година
  Stanislav Galabov 8c252b1a88 Make use of the possibility to return a string from Lua in order to implement *out functionality пре 11 година
  Stanislav Galabov a64420c178 Use memcpy instead of bcopy as it is possibly more portable пре 11 година
  Stanislav Galabov 013f60c901 Implement a simple trim function. Use trim to get only the config string without any leading/trailing whitespace пре 11 година
  Stanislav Galabov 6b0dcb23bd Remove unneeded comments and fix file. пре 11 година
  Stanislav Galabov 9d981594ec Was too quick with last commit... Actually fix conflicts due to rebase пре 11 година
  Stanislav Galabov 7b83ec7f7e Resolve conflict caused by 'rebase' пре 11 година
  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 година
  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 година
  Stanislav Galabov d950e0c9f4 Removing file included by accident пре 11 година
  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 година
  Serj Kalichev 05db649ab0 Fix memory leaks for dyn views пре 11 година
  Serj Kalichev 80d2d0ea50 Dynamic view. Thanks to aa.atnet. пре 11 година
  Serj Kalichev 9f2e3f71f5 Free plugin's alias and conf пре 11 година
  Serj Kalichev e7c62e0a80 Get content of <PLUGIN>...</PLUGIN> пре 11 година
  Serj Kalichev cc9e5dc358 The plugin has alias and plugin defined name пре 11 година
  Serj Kalichev 98c3b2bc24 Implement FINI function for plugins пре 11 година
  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 година
  Stanislav Galabov b211836408 Removing file included by accident пре 11 година
  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 година
  Serj Kalichev aa1eca0762 Execute init hook on startup пре 11 година
  Serj Kalichev 1b2ddac0cb Change plugin init prototype. RTLD_LOCAL while dlopen пре 11 година
  Serj Kalichev 1db916faa1 udata container to store plugin named data пре 11 година
  Serj Kalichev 21e5c5ae08 Fix UNIX_PATH_MAX portability problem. Thanks to S.Galabov пре 11 година
  Serj Kalichev 53073e25c4 Support for bsdxml backend. Thanks to S.Galabov. пре 11 година
  Serj Kalichev 2f12a71ce5 Implement clish_plugin_add_phook() пре 11 година