wireshark/epan/wslua
Guy Harris cfcbb28671 Clean up ftype-conversion and dfilter error message string handling.
Have dfilter_compile() take an additional gchar ** argument, pointing to
a gchar * item that, on error, gets set to point to a g_malloc()ed error
string.  That removes one bit of global state from the display filter
parser, and doesn't impose a fixed limit on the error message strings.

Have fvalue_from_string() and fvalue_from_unparsed() take a gchar **
argument, pointer to a gchar * item, rather than an error-reporting
function, and set the gchar * item to point to a g_malloc()ed error
string on an error.

Allow either gchar ** argument to be null; if the argument is null, no
error message is allocated or provided.

Change-Id: Ibd36b8aaa9bf4234aa6efa1e7fb95f7037493b4c
Reviewed-on: https://code.wireshark.org/review/6608
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-01-18 10:22:59 +00:00
..
CMakeLists.txt Make Lua taps work in out-of-source-tree builds. 2014-08-03 17:26:25 +00:00
console.lua
dtd_gen.lua
init_wslua.c Lua: replace proto_tree_add_text calls 2015-01-04 09:07:02 +00:00
init_wslua.h
lrexlib.c Don't use ctype.h routines. 2014-10-17 06:01:58 +00:00
lrexlib.h
lrexlib_algo.h
lrexlib_glib.c Remove unnecessary include of <ctype.h>. 2014-10-17 06:29:36 +00:00
lrexlib_glib_f.c
lua_bitop.c
lua_bitop.h
make-init-lua.pl Fix lua bindings for timestamp precision 2014-09-29 15:50:18 +00:00
make-reg.pl
make-taps.pl Fix generation of wslua taps in out-of-source-tree builds when the source tree 2014-08-12 04:14:12 +00:00
Makefile.am Fix generation of wslua taps in out-of-source-tree builds when the source tree 2014-08-12 04:14:12 +00:00
Makefile.nmake Add '*.nativecodeanalysis.xml' to 'clean' targets 2015-01-02 01:45:16 +00:00
taps
template-init.lua Fix lua bindings to handle timestamp precision changes 2014-09-29 02:35:29 +00:00
wslua.h Lua: replace proto_tree_add_text calls 2015-01-04 09:07:02 +00:00
wslua_dir.c Lua: luaL_checkstring does not return NULL 2014-10-13 19:06:40 +00:00
wslua_dumper.c Remove pkt_comment member from packet_info structure. 2015-01-02 00:00:57 +00:00
wslua_field.c Clean up ftype-conversion and dfilter error message string handling. 2015-01-18 10:22:59 +00:00
wslua_file.c Handle "I can't map this for that file format" better. 2014-12-18 00:03:26 +00:00
wslua_gui.c Clean up ftype-conversion and dfilter error message string handling. 2015-01-18 10:22:59 +00:00
wslua_int64.c Convert the Lua reference to AsciiDoc. 2014-11-09 05:12:09 +00:00
wslua_internals.c Lua: replace deprecated functions 2015-01-03 13:18:17 +00:00
wslua_listener.c Make all Lua code use wmem not emem 2015-01-04 21:02:38 +00:00
wslua_pinfo.c Replace ep_display_to_address with wmem equivalent display_to_address. 2015-01-05 13:55:04 +00:00
wslua_proto.c Remove emem APIs from UAT functionality. 2015-01-12 14:25:12 +00:00
wslua_struct.c Lua: replace deprecated functions 2015-01-03 13:18:17 +00:00
wslua_tree.c Make all Lua code use wmem not emem 2015-01-04 21:02:38 +00:00
wslua_tvb.c tvb_bytes_to_ep_str -> tvb_bytes_to_str 2015-01-07 18:16:23 +00:00
wslua_util.c Rename stat_cmd_args.[ch] to stat_tap_ui.[ch]. 2014-11-14 18:52:06 +00:00