aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua
AgeCommit message (Collapse)AuthorFilesLines
2009-11-07cmake will now honor -Werror if configured (default: on)Jörg Mayer1-0/+12
svn path=/trunk/; revision=30852
2009-10-24Load lua scripts from subdirectories in the plugins folders.Stig Bjørlykke1-21/+20
svn path=/trunk/; revision=30683
2009-10-23Added init_wslua.hStig Bjørlykke1-0/+1
svn path=/trunk/; revision=30676
2009-10-23Load lua scripts in the plugins directory, both global and personal.Stig Bjørlykke2-8/+123
List loaded lua scripts in Help->About->Plugins. svn path=/trunk/; revision=30675
2009-10-11Removed unused function tap_draw_cb_error_handler().Stig Bjørlykke1-6/+0
svn path=/trunk/; revision=30518
2009-10-11Make more functions static.Stig Bjørlykke7-17/+17
svn path=/trunk/; revision=30517
2009-10-02From Beth via bug 4049:Stig Bjørlykke2-0/+6
Add support for FT_BOOLEAN fields to FieldInfo and TreeItem. svn path=/trunk/; revision=30249
2009-10-01Removed fetching an unused variable. Leaving as a commentStig Bjørlykke1-2/+1
for documentation purpose. svn path=/trunk/; revision=30240
2009-10-01Removed redundant prototype of Tvb_range().Stig Bjørlykke1-2/+0
svn path=/trunk/; revision=30239
2009-10-01Made lua_load_script() static.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30236
2009-10-01Cast a pointer to avoid a warning.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30230
2009-09-29Avoid a possible dereference of null pointer.Stig Bjørlykke1-1/+3
svn path=/trunk/; revision=30205
2009-09-29Move luaopen_bit() to wslua.hStig Bjørlykke2-1/+2
svn path=/trunk/; revision=30193
2009-09-25wslua now builds, links and installs.Jörg Mayer1-15/+35
Enable it by default. svn path=/trunk/; revision=30142
2009-09-23More fixes for OSX - might work now :-)Jörg Mayer1-0/+6
svn path=/trunk/; revision=30093
2009-09-10From Diego:Anders Broman1-0/+20
proto_item_set_len is missing from Lua API. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3994 svn path=/trunk/; revision=29837
2009-09-09CMAKE: Get most of of missing *build* pieces into placeJörg Mayer1-0/+107
svn path=/trunk/; revision=29819
2009-09-08Custom column deprecation:Kovarththanan Rajaratnam1-1/+0
We fill out the COL_DSTIDX column by using 'pinfo->dst_idx'. This member is only set by the MDS Header dissector based on 'mdshdr.dstidx'. So remove COL_DSTIDX and migrate to 'mdshdr.dstidx' custom column. svn path=/trunk/; revision=29795
2009-09-08Custom column deprecation:Kovarththanan Rajaratnam1-1/+0
We fill out the COL_SRCIDX column by using 'pinfo->src_idx'. This member is only set by the MDS Header dissector based on 'mdshdr.srcidx'. So remove COL_SRCIDX and migrate to 'mdshdr.srcidx' custom column. svn path=/trunk/; revision=29794
2009-09-08Custom column deprecation:Kovarththanan Rajaratnam1-1/+0
We fill out the COL_RXID column by using 'pinfo->rxid'. This member is only set by the Fibre Channel dissector based on 'fc.rx_id'. So remove COL_RXID and migrate to 'fc.rx_id' custom column. svn path=/trunk/; revision=29793
2009-09-08Custom column deprecation:Kovarththanan Rajaratnam1-10/+9
We fill out the COL_OXID column by using 'pinfo->oxid'. This member is only set by the Fibre Channel dissector based on 'fc.ox_id'. So remove COL_OXID and migrate to 'fc.ox_id' custom column. svn path=/trunk/; revision=29792
2009-08-23Custom columfication:Kovarththanan Rajaratnam1-1/+0
* Deprecate COL_HPUX_DEVID (HP-UX Device ID). Use nettl.devid svn path=/trunk/; revision=29517
2009-08-23Custom columfication:Kovarththanan Rajaratnam1-1/+0
* Deprecate COL_HPUX_SUBSYS (HP-UX Nettl Subsystem). Use nettl.subsys svn path=/trunk/; revision=29516
2009-08-23Custom columfication:Kovarththanan Rajaratnam1-1/+0
* Deprecate COL_CIRCUIT_ID (Circuit ID). Use iax2.call svn path=/trunk/; revision=29515
2009-08-15This patch introduces packet_add_new_data_source() which effectively ↵Kovarththanan Rajaratnam1-5/+10
deprecates add_new_data_source(). This is based on the following observation: 1) The tvb + name (aka. data_source) is only used when the protocol tree is visible The current implementation of add_new_data_source() doesn't take this into account and simply allocates a data_source regardless. This is what packet_add_new_data_source() tries to rectify. A couple of dissectors have already been switched over to the new packet_add_new_data_source(). Many are still missing. Help appreciated! svn path=/trunk/; revision=29427
2009-07-16Move th /MP flag setting to LOCAL_CFLAGS set in configure.nmakeAnders Broman1-1/+1
for MSVC variant 2008 only. As suggested by Bill Meier. svn path=/trunk/; revision=29114
2009-07-15Add /MP flag to make use of multi cores.Anders Broman1-1/+1
svn path=/trunk/; revision=29104
2009-07-08Minor documentation fixBalint Reczey1-3/+3
svn path=/trunk/; revision=29021
2009-07-08Default to NULL for description.Stig Bjørlykke1-7/+20
Avoid duplicate name/blurb. svn path=/trunk/; revision=29016
2009-06-17Added missing lua_bitop.obj.Stig Bjørlykke1-0/+1
svn path=/trunk/; revision=28764
2009-06-16Added Lua BitOp, made by Mike Pall.Stig Bjørlykke4-0/+184
svn path=/trunk/; revision=28758
2009-06-11Update Lua menu defines and put Lua functions in Tools.Stig Bjørlykke3-6/+6
svn path=/trunk/; revision=28700
2009-06-09Enable Lua tcp tap userdata.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=28673
2009-06-08Fixed some indents.Stig Bjørlykke1-179/+177
svn path=/trunk/; revision=28669
2009-06-08Added a missing check for expired TreeItem.Stig Bjørlykke1-22/+28
Fixed some indents. svn path=/trunk/; revision=28668
2009-06-08Move init.lua from MAINTAINERCLEANFILES to DISTCLEANFILES.Gerald Combs1-3/+3
svn path=/trunk/; revision=28666
2009-06-08Allocate correct lengths for int64 and uint64.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=28657
2009-06-08From Sam Roberts:Stig Bjørlykke1-22/+94
Added TvbRange:range() From me: Added TvbRange:bitfield() Fixed some indents. svn path=/trunk/; revision=28656
2009-06-08Changed g_strdup_printf -> ep_strdup_printf.Stig Bjørlykke4-61/+77
Use correct modifier for converting gint64 and guint64 to string. Added __gc for Int64 and UInt64. Fixed some indents. svn path=/trunk/; revision=28655
2009-06-05Have tap listeners specify whether the "packet" routine requiresGuy Harris2-39/+48
a protocol tree; the column values. This includes stats-tree listeners. Have the routines to build the packet list, and to retap packets, honor those requirements. This means that cf_retap_packets() no longer needs an argument to specify whether to construct the column values or not, so get rid of that argument. This also means that there's no need for a tap to have a fake filter to ensure that the protocol tree will be built, so don't set up a fake "frame" filter. While we're at it, clean up some cases where "no filter" was represented as a null string rather than a null pointer. Have a routine to return an indication of the number of tap listeners with filters; use that rather than the global num_tap_filters. Clean up some indentation and some gboolean vs. gint items. svn path=/trunk/; revision=28645
2009-06-04Changed expert infos from PI_DEBUG to PI_UNDECODED for Lua errors.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=28637
2009-06-04From Sam Roberts:Stig Bjørlykke1-2/+0
The value_string_from_table()'s use of the lua stack is not balanced, if a table is iterated, it pops one more time than it should. svn path=/trunk/; revision=28633
2009-05-20Rename e_ip to ws_ip (from packet-ip.h change).Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=28427
2009-05-10Fix a typo in a comment.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=28327
2009-05-10Enable Lua wlan taps.Stig Bjørlykke2-3/+4
svn path=/trunk/; revision=28326
2009-05-10Postpone marking objects as expired until the whole frame is completed.Stig Bjørlykke1-7/+11
We can have a case where one Lua dissector calls another Lua dissector, so we can't mark all objects when only one dissector is completed. This fixes comment #37 and #39 in bug 2453. svn path=/trunk/; revision=28325
2009-05-08Adjusted arguments used in Lua Pref.statictext()Stig Bjørlykke9-340/+318
Update Lua documentation: - Fixed Pref.enum, Pref.range and Pref.statictext - Fixed the equivalent comment for pinfo.cols - Do not have a comment star (*) in the documentation - Be consistent and start all sentences with a capital letter svn path=/trunk/; revision=28304
2009-03-13From Jakub Zawadzki (bug 3331):Stig Bjørlykke3-5/+6
g_free() is NULL safe, so we don't need check against it. svn path=/trunk/; revision=27718
2009-03-06Rename a variable ('free') so checkAPIs doesn't incorrectly flag it.Bill Meier1-2/+2
svn path=/trunk/; revision=27627
2009-01-27Corrected some defines. Use defines when appropriate.Stig Bjørlykke5-44/+45
Document last argument to DissectorTable.new(). svn path=/trunk/; revision=27309