aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2006-03-23Further refinements for Coverity CID 42. Make some "0"s (which were Gerald Combs1-137/+139
confusing my feeble mind) NULLs. Fix up whitespace. svn path=/trunk/; revision=17710
2006-03-20waste a couple of bytes per tcp conversation and make the tree for ↵Ronnie Sahlberg4-0/+4
acked_packets (i.e. packets that have interesting tcp properties such as being retransmissions etc) hang off the per conversation tcpd struct instead of being global. while this should improve performance by unmeasurably little it does have the sideeffect that once we finish the rewrite tcp analysis might actually work and work well even for tcp over tcp tunnelling. this also means that if you include packet-tcp.h you also need to include emem.h . svn path=/trunk/; revision=17681
2006-03-19Add pinfo.lo and pinfo.hi been thise the lower and the higher between ↵Luis Ontanon1-9/+55
pinfo.src and pinfo.dst. Do not faill if Columns is NULL, as it can normally be NULL. svn path=/trunk/; revision=17677
2006-03-16we don't need to "ban" the print call any longerUlf Lamping1-11/+0
svn path=/trunk/; revision=17652
2006-03-14coverity bug 43Ronnie Sahlberg1-1/+4
svn path=/trunk/; revision=17624
2006-03-13Use checkTextWindow instead of shiftTextWindow to fetch the window object ↵Luis Ontanon1-15/+38
from the stack, shiftXxx will happily (and rightfully) return a null pointer without an error. svn path=/trunk/; revision=17615
2006-03-13Expert info is going to be used in runtime.Luis Ontanon1-67/+8
For the sake of speed use integers instead of strings to then be converted into integers. svn path=/trunk/; revision=17609
2006-03-12This time, should be the good one!Luis Ontanon1-0/+1
svn path=/trunk/; revision=17607
2006-03-12I Hope this worksLuis Ontanon1-1/+4
svn path=/trunk/; revision=17603
2006-03-12Move make-init-lua.pl and family to plugins/lua and have init.lua installed ↵Luis Ontanon3-1/+189
in the right place svn path=/trunk/; revision=17602
2006-03-12reenable TreeItem,Luis Ontanon2-10/+16
shiftXXX() was broken svn path=/trunk/; revision=17599
2006-03-12Protocols are now invoked.Luis Ontanon1-9/+8
svn path=/trunk/; revision=17598
2006-03-11Remove debug code...Luis Ontanon1-10/+0
svn path=/trunk/; revision=17595
2006-03-11Protocols register OK.Luis Ontanon4-51/+82
svn path=/trunk/; revision=17594
2006-03-11 Mark coverity CID 117 as a false positive.Luis Ontanon1-0/+2
Lex code is often hard for humans to understand... neither of the error conditions found would be happening... One was marked as error because coverity does not understand that yyterminate() breaks execution. The other marked as an error because coverity is not able to figure out that the error appears in an actions against two different rules that will not ever match toghether. svn path=/trunk/; revision=17584
2006-03-11... and don't forget to include emem.h!Ulf Lamping1-0/+1
svn path=/trunk/; revision=17577
2006-03-11replace g_malloc and alike by their corresponding ep_ functionsUlf Lamping2-14/+7
svn path=/trunk/; revision=17576
2006-03-10various code cleanup (e.g. remove unrequired length parameter), should also ↵Ulf Lamping1-80/+73
fix coverity id 126 svn path=/trunk/; revision=17569
2006-03-09Add lua:s nmakefile.nmake to the distribution.Anders Broman1-1/+2
svn path=/trunk/; revision=17552
2006-03-09coverity bug#42Ronnie Sahlberg1-1/+3
dereverencing a null variable svn path=/trunk/; revision=17548
2006-03-08fix coverity bug 122Ronnie Sahlberg1-4/+6
svn path=/trunk/; revision=17527
2006-03-07Remove strhash test code from lua...Luis Ontanon1-29/+0
svn path=/trunk/; revision=17488
2006-03-07- merge SubTree, ProtoTree and ProtoItem into a single TreeItem class.Luis Ontanon9-414/+278
- By the same token get rid of ProtoFieldArray having Proto.fields attribute been a lua "Array" containing fields. (still untested, and probably broken) svn path=/trunk/; revision=17486
2006-03-05+ retap_packets()Luis Ontanon1-0/+7
svn path=/trunk/; revision=17463
2006-03-05+ retap_packets()Luis Ontanon2-26/+6
+ complete gtk TextWindow + fix elua_dumper + fix elua_proto svn path=/trunk/; revision=17462
2006-03-02- make them work as the got broken while docommenting them.Luis Ontanon2-3/+3
svn path=/trunk/; revision=17453
2006-03-02- remove some warnings from the windows compileLuis Ontanon3-28/+51
- some more Tap documentation svn path=/trunk/; revision=17442
2006-03-01Add Lua support by default for Win32. Fix some compilation problems.Gerald Combs2-16/+20
Add Lua information to the version paragraph. svn path=/trunk/; revision=17440
2006-02-27- Some more commentsLuis Ontanon2-19/+23
svn path=/trunk/; revision=17415
2006-02-25The semantics of luaL_checkudata() change between 5.0 and 5.1 (the later ↵Luis Ontanon3-11/+13
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
2006-02-25- elua_protoLuis Ontanon3-147/+261
- 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
2006-02-24I changed some vanames and did not compile...Luis Ontanon2-5/+5
svn path=/trunk/; revision=17399
2006-02-23- More "docOMMentation" of the APILuis Ontanon4-196/+402
- 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
2006-02-23Delete docs in maintainer-clean targetJörg Mayer1-1/+2
svn path=/trunk/; revision=17379
2006-02-22Forgot...Luis Ontanon1-0/+128
Elua functions in elua.c moved to this new file. svn path=/trunk/; revision=17375
2006-02-22- More documentation embeded in the source code.Luis Ontanon11-240/+216
- 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
2006-02-22elua_register.h wasn't built automaticallyJörg Mayer1-2/+3
svn path=/trunk/; revision=17371
2006-02-21- rename all the c filesLuis Ontanon13-412/+705
- 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
2006-02-21Fix for bug 756. Handle CR as part of separator as well. Jaap Keuter1-2/+2
svn path=/trunk/; revision=17359
2006-02-19- Use lua 5.1Luis Ontanon9-210/+72
- Compress *_register() functions svn path=/trunk/; revision=17354
2006-02-18rename plugin.c to lua_plugin.cLuis Ontanon2-1/+1
svn path=/trunk/; revision=17348
2006-02-18Add dual versionLuis Ontanon1-1/+9
svn path=/trunk/; revision=17347
2006-02-18Prepare for lua 5.1Luis Ontanon1-4/+1
svn path=/trunk/; revision=17346
2006-02-17- Make sure the right globals are set before invoking user tap caallbaccksLuis Ontanon2-6/+9
- Have Dumper.new_for_current() and dumper:dump_current() work. svn path=/trunk/; revision=17336
2006-02-17- avoid the user been flooded with report_error windows if there's an error ↵Luis Ontanon3-7/+39
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
2006-02-17- pass the tvb too to tap packet callbacksLuis Ontanon6-2/+361
- Dumper (an interface to Wiretap dumpers) svn path=/trunk/; revision=17328
2006-02-16Have Field extractors being defined while reading the body of the script ↵Luis Ontanon2-49/+68
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
2006-02-15Protect The tree and The tvb from being used outside their scopeLuis Ontanon4-2/+19
svn path=/trunk/; revision=17307
2006-02-15- protect proto_items and proto_trees from being used out of their scopeLuis Ontanon2-7/+22
- fix the severity variables svn path=/trunk/; revision=17306
2006-02-15- protect column, columns and pinfo from dereferencing invalid data saved by ↵Luis Ontanon5-42/+62
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