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
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
console.lua Remove svn $Id$ keyword in Lua scripts 2014-06-18 23:51:34 +00:00
dtd_gen.lua Remove svn $Id$ keyword in Lua scripts 2014-06-18 23:51:34 +00:00
init_wslua.c Lua: replace proto_tree_add_text calls 2015-01-04 09:07:02 +00:00
init_wslua.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
lrexlib.c Don't use ctype.h routines. 2014-10-17 06:01:58 +00:00
lrexlib.h Fix some compiler issues on windows with Lua 5.2 2014-03-29 12:36:48 +00:00
lrexlib_algo.h Fix some compiler issues on windows with Lua 5.2 2014-03-29 12:36:48 +00:00
lrexlib_glib.c Remove unnecessary include of <ctype.h>. 2014-10-17 06:29:36 +00:00
lrexlib_glib_f.c Replace "see copyright notice in" message with full license 2014-03-10 16:42:20 +00:00
lua_bitop.c Fix bug 9720 'Lua: bitop library is missing in Lua 5.2' 2014-02-04 22:01:01 +00:00
lua_bitop.h In a source file that defines external functions, the header file that 2014-01-13 22:06:12 +00:00
make-init-lua.pl Fix lua bindings for timestamp precision 2014-09-29 15:50:18 +00:00
make-reg.pl Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
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
taps Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
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