wireshark/test/lua
Silvio Gissi 59add43eec Lua: Add "tonumber" method to NSTime
Absolute and Relative time fields could not be converted to seconds
without converting to string and parsing to number.

Fixed conversion in generated code that was subject to precision loss

Usage:
f=Field.new("frame.delta_time")
delta=f().value:tonumber()

Change-Id: I6ef91c6238a6c2ed9adf6cae03f8913f0a09332e
Reviewed-on: https://code.wireshark.org/review/22316
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-06-21 23:50:27 +00:00
..
acme_file.lua Change a lot of http:// URLs to https://. 2015-03-10 19:30:50 +00:00
common_sets.lua
dir.lua Fix lua directory tests. 2014-05-21 03:17:15 +00:00
dissectFPM.lua Lua: Expose tcp_dissect_pdus() to Lua 2015-01-27 15:14:12 +00:00
dissector.lua Lua: allow a Dissector object to be passed in for register_heuristic 2014-12-31 16:01:51 +00:00
field.lua Lua: add functions for more field information 2015-07-09 01:49:11 +00:00
glib_sets.lua
globals_2.2.txt wslua: prepare for split class/instance (meta)methods 2016-10-18 20:41:34 +00:00
gregex.lua Lua: regex test suite fails with UTF-8 locale 2015-01-02 13:09:16 +00:00
inspect.lua
int64.lua
listener.lua
luatest.lua
nstime.lua Lua: Add "tonumber" method to NSTime 2017-06-21 23:50:27 +00:00
pat2pcre.lua
pcap_file.lua For now, call the finish routine in Lua file writers "close". 2015-11-16 19:18:15 +00:00
pcre_sets.lua
pcre_sets2.lua
pinfo.lua Fix test script to test Lua Pinfo, and fix problem it found. 2015-01-23 01:52:24 +00:00
proto.lua
protofield.lua New Lua function TreeItem:referenced(ProtoField | Dissector). 2017-05-05 08:38:40 +00:00
script_args.lua
struct.lua
tvb.lua Lua: Add absolute time base values 2017-03-15 18:44:44 +00:00
verify_dissector.lua Update Lua tests after g9eda2fa 2016-01-24 21:49:12 +00:00
verify_globals.lua