Age | Commit message (Collapse) | Author | Files | Lines |
|
svn path=/trunk/; revision=17463
|
|
+ complete gtk TextWindow
+ fix elua_dumper
+ fix elua_proto
svn path=/trunk/; revision=17462
|
|
svn path=/trunk/; revision=17453
|
|
- some more Tap documentation
svn path=/trunk/; revision=17442
|
|
Add Lua information to the version paragraph.
svn path=/trunk/; revision=17440
|
|
svn path=/trunk/; revision=17415
|
|
triggers an error).
make sure isXxx() functions do not trigger an error, we want them to return not to pop the stack back to the lua caller.
svn path=/trunk/; revision=17411
|
|
- add doComments
- fix an error in DissectorTable_remove
- reorganize DissectorTable_try
- elua.h
squelch some warnings
- Makefile.nmake
- replace the $^ macro with the targets (i.e. do what nmake was supposed to do)
- move the doc target into the conditional part
svn path=/trunk/; revision=17406
|
|
svn path=/trunk/; revision=17399
|
|
- also supress Address__ge and Address_gt because re-reading the ref manual I noticed that they are suplerfluous (Lua assumes that a > b is equivalent to b < a, which in most cases (as this) it does)
- have elua_makedoc.pl hanlde docomments in more than one line and after the line where the entity s defined.
svn path=/trunk/; revision=17382
|
|
svn path=/trunk/; revision=17379
|
|
Elua functions in elua.c moved to this new file.
svn path=/trunk/; revision=17375
|
|
- Changed some Macros
- Have dump:close NULLyfing the boxed object so that no futher operations are performed on a dumper once is closed.
- Check if elua_register.h has changed and avoid overwriting it if it hasn't changed to avoid unnecessary compilations.
svn path=/trunk/; revision=17374
|
|
svn path=/trunk/; revision=17371
|
|
- have elua_makereg.pl generating the declaration and registration Macros for each module
- start of elua_makedoc.pl that should generate the Reference Manual from the code.
svn path=/trunk/; revision=17362
|
|
svn path=/trunk/; revision=17359
|
|
- Compress *_register() functions
svn path=/trunk/; revision=17354
|
|
svn path=/trunk/; revision=17348
|
|
svn path=/trunk/; revision=17347
|
|
svn path=/trunk/; revision=17346
|
|
- Have Dumper.new_for_current() and dumper:dump_current() work.
svn path=/trunk/; revision=17336
|
|
in a tap callback
- fix args of Dumper:new_for_current
- add a semicolon after LUA_CLASS_DECLARE(PseudoHeader,PSEUDOHEADER) that caused an error (Lesson: Even if trivial one should test changes, there's always a typo arround the corner)
svn path=/trunk/; revision=17329
|
|
- Dumper (an interface to Wiretap dumpers)
svn path=/trunk/; revision=17328
|
|
instead that during initialization.
Change their semantics too:
ip_src_f = Field("ip.src")
function tap.packet(pinfo)
ip_src = ip_src()
end
svn path=/trunk/; revision=17315
|
|
svn path=/trunk/; revision=17307
|
|
- fix the severity variables
svn path=/trunk/; revision=17306
|
|
the user.
- columns live for less than a packet's time, use ep_alloc not g_malloc
- tvbranges are ephemeral too
doc/ is to remain as a placeholder for upcoming docs.
lualib/ is to be deleted (if needed it should go in trunk) but it appears that once I added if I do not check it in I cannot delete it.
svn path=/trunk/; revision=17305
|
|
svn path=/trunk/; revision=17304
|
|
svn path=/trunk/; revision=17300
|
|
- make sure no reference to a Tvb in lua is used after the lua dissector has returned.
svn path=/trunk/; revision=17296
|
|
- add a log facility to lua (so far just prints to stderr)
- add settings to disable lua even if installed, to load or not to load user scripts when superuser
- create a default /usr/local/share/ethereal/init.lua that blocks all the io/system calls when running as superuser
svn path=/trunk/; revision=17290
|
|
dissector.
* ProtoFiled.uint checks the base to be a valid value to avoid an assertion in proto.c while registering the field array
* save one lua table lookup by using a reference to the dissectors table instead of looking for it by name
* set data_hanlde's value to avoid a crash while invoking it.
* make the TvbRange of Tree:add_item really optional.
svn path=/trunk/; revision=17220
|
|
svn path=/trunk/; revision=17218
|
|
load $ETH/init.lua if it exists
if we are not runninig on special privileges
load $USER/init.lua
and then all the files given with cmd line option -X lua_script:file.lua
svn path=/trunk/; revision=17210
|
|
- nmake makefile for lua plugin added.
- declare variables at the beginning of a function.
- proto_reg_handoff_lua was removed, remove remaining calls, too.
- missing functions to libethereal.def added.
add lua plugin to installer, if available.
svn path=/trunk/; revision=17196
|
|
svn path=/trunk/; revision=17192
|
|
when I had lua starting) trying to see if I could move dfilter_init() before protocol registration I discovered register_final_registration_routine() neat!
Lua protocols won't need a handoff routine anymore!!
svn path=/trunk/; revision=17191
|
|
* make the gui routines call-able since the first line of the script
svn path=/trunk/; revision=17190
|
|
svn path=/trunk/; revision=17183
|
|
svn path=/trunk/; revision=17173
|
|
svn path=/trunk/; revision=17167
|
|
* change the way taps work (docs coming)
* add an at_close method to the textwindow that allows the user to set a callback function to be called when the window is closed
svn path=/trunk/; revision=17166
|
|
svn path=/trunk/; revision=17162
|
|
lua_gui.h has a licence
svn path=/trunk/; revision=17152
|
|
svn path=/trunk/; revision=17150
|
|
* add a shiftC() function to every class for extracting values from the stack
* lua_pinfo.c
* fix pinfo.dst pinfo.dl_dst pinfo.dl_src pinfo.net_dst pinfo.net_src
* lua_tree.c
* ProtoTree_add_item_any() changed to use TvbRanges, a more handy way to give it optional arguments
* lua_tvb.c
* get ByteArray up and running
* create TvbRange class and use it to access the tvb (this class takes care of checking bounds so that exceptions are not thrown)
svn path=/trunk/; revision=17146
|
|
This patch adds support for dissection of the DCC packet as defined in
CableLab's (http://www.cablelabs.com/) DOCSIS Radio Frequency Interface
(RFI) specification. The latest version of this specification is currently
available at
http://www.cablemodem.com/specifications/specifications20.html . Packet
formats for DCC are defined in sections 8.3.20 (DCC-REQ), 8.3.21
(DCC-RSP), and 8.3.22 (DCC-ACK) of the RFI specifications (referencing
version CM-SP-RFIv2.0-I10-051209). In addition, this patch adds support
for the DCD packet as defined in the DOCSIS Set-Top Gateway (DSG)
Specification. The latest version of this specification is currently
available at http://www.cablemodem.com/specifications/gateway.html . The
format of the DCD packet is defined in section 5.3.1 of the DSG
specification (referencing version CM-SP-DSG-I06-051209).
svn path=/trunk/; revision=17138
|
|
After install hello_world.lua works.
svn path=/trunk/; revision=17137
|
|
svn path=/trunk/; revision=17124
|
|
* add an isXxx() declaration
* packet-lua.c
* move the dissectors, handoffs and inits tables to the registry
* lua_proto.c
* new_protocol is now called Protocol
* move the dissectors, handoffs and inits tables to the registry
svn path=/trunk/; revision=17117
|