Commit Graph

90 Commits

Author SHA1 Message Date
Anders Broman aa98f8dadd From Bálint Réczey
- Added support for versioned lua libnames to aclocal.m4
- create generated elua_register.h from Makefile

svn path=/trunk/; revision=18769
2006-07-19 19:20:58 +00:00
Luis Ontanon 8c8a4ce877 Some improvements to the Lua plugin:
- Makefile.am fix: elua_register.h generation + checking serialized
- ProtoField.new(..) parameter parsing fix and changes
- enabling gui_enabled() function in Lua (typo fix, thanks to Tamas Regos)


svn path=/trunk/; revision=18611
2006-06-29 13:49:56 +00:00
Jörg Mayer 299ac5e8bc remove plugin.c in distlclean
svn path=/trunk/; revision=18312
2006-06-02 06:53:30 +00:00
Gerald Combs 8958bab6de Tethereal/tethereal -> TShark/tshark.
svn path=/trunk/; revision=18268
2006-05-31 17:38:42 +00:00
Gerald Combs b15974d094 libethereal -> libwireshark. idl2eth -> idl2wrs. There are a _lot_ of
changes here.  It compiles OK on OS X, but hasn't been tested anywhere else.

svn path=/trunk/; revision=18260
2006-05-31 00:23:01 +00:00
Anders Broman db57e7b724 Ethereal->Wireshark
svn path=/trunk/; revision=18231
2006-05-28 16:32:49 +00:00
Ronnie Sahlberg f0b33a4789 ethereal->wireshark updates
svn path=/trunk/; revision=18206
2006-05-22 08:14:01 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Luis Ontanon ad4fe1ff8f Fix FieldInfo and add an attribute for the filter name.
svn path=/trunk/; revision=17774
2006-03-30 19:48:05 +00:00
Luis Ontanon 2e93b8b751 TextWindow:
- add buttons
  - make editable




svn path=/trunk/; revision=17773
2006-03-30 19:42:49 +00:00
Jaap Keuter a5a7b06e54 Get elua to build on IA32
svn path=/trunk/; revision=17755
2006-03-29 10:03:50 +00:00
Gerald Combs 071b5507c2 Fix compilation under Windows.
svn path=/trunk/; revision=17751
2006-03-28 19:25:48 +00:00
Luis Ontanon 75a342667b elua_field.c was added to $MODULES but not to $OBJECTS
svn path=/trunk/; revision=17749
2006-03-27 22:47:20 +00:00
Jaap Keuter 6a093bd4a3 Major properties cleanup
svn path=/trunk/; revision=17747
2006-03-27 21:00:16 +00:00
Luis Ontanon dafdb5ef62 This worked because I've edited elua_field.h as .c and the only thing in elua_field was #include "elua_field.h"
This is the actual elua_field.c 


svn path=/trunk/; revision=17743
2006-03-27 19:35:57 +00:00
Luis Ontanon 01ecb3e457 Improve Field Extraction by returning a handle to a field_info instead of just the value.
svn path=/trunk/; revision=17742
2006-03-27 19:31:30 +00:00
Luis Ontanon 43ca54066a Add pinfo.lo and pinfo.hi been thise the lower and the higher between 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-19 22:18:57 +00:00
Ulf Lamping bbaffabaaf we don't need to "ban" the print call any longer
svn path=/trunk/; revision=17652
2006-03-16 23:16:35 +00:00
Luis Ontanon 3318411aa7 Use checkTextWindow instead of shiftTextWindow to fetch the window object from the stack, shiftXxx will happily (and rightfully) return a null pointer without an error.
svn path=/trunk/; revision=17615
2006-03-13 22:22:17 +00:00
Luis Ontanon ad6eb21dd1 Expert info is going to be used in runtime.
For the sake of speed use integers instead of strings to then be converted into integers.


svn path=/trunk/; revision=17609
2006-03-13 00:31:04 +00:00
Luis Ontanon f100efb165 I Hope this works
svn path=/trunk/; revision=17603
2006-03-12 18:57:38 +00:00
Luis Ontanon f4c227852c Move make-init-lua.pl and family to plugins/lua and have init.lua installed in the right place
svn path=/trunk/; revision=17602
2006-03-12 17:39:46 +00:00
Luis Ontanon 5ca4b68272 reenable TreeItem,
shiftXXX() was broken


svn path=/trunk/; revision=17599
2006-03-12 15:31:33 +00:00
Luis Ontanon 72c79c1289 Protocols are now invoked.
svn path=/trunk/; revision=17598
2006-03-12 13:03:18 +00:00
Luis Ontanon 428823b00e Remove debug code...
svn path=/trunk/; revision=17595
2006-03-11 22:26:08 +00:00
Luis Ontanon b3a173664b Protocols register OK.
svn path=/trunk/; revision=17594
2006-03-11 22:05:40 +00:00
Anders Broman 238053ead2 Add lua:s nmakefile.nmake to the distribution.
svn path=/trunk/; revision=17552
2006-03-09 16:17:52 +00:00
Luis Ontanon e83301935d Remove strhash test code from lua...
svn path=/trunk/; revision=17488
2006-03-07 04:40:57 +00:00
Luis Ontanon 6e04b0aadb - merge SubTree, ProtoTree and ProtoItem into a single TreeItem class.
- 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-07 01:25:14 +00:00
Luis Ontanon 7bbd2a14f0 + retap_packets()
svn path=/trunk/; revision=17463
2006-03-05 02:03:51 +00:00
Luis Ontanon 568ad6c34e + retap_packets()
+ complete gtk TextWindow
+ fix elua_dumper
+ fix elua_proto


svn path=/trunk/; revision=17462
2006-03-05 02:01:16 +00:00
Luis Ontanon 5380cea747 - make them work as the got broken while docommenting them.
svn path=/trunk/; revision=17453
2006-03-02 22:55:14 +00:00
Luis Ontanon 31c4bb49d8 - remove some warnings from the windows compile
- some more Tap documentation


svn path=/trunk/; revision=17442
2006-03-02 00:22:39 +00:00
Gerald Combs 050525cfb5 Add Lua support by default for Win32. Fix some compilation problems.
Add Lua information to the version paragraph.

svn path=/trunk/; revision=17440
2006-03-01 21:31:07 +00:00
Luis Ontanon 8b84860a23 - Some more comments
svn path=/trunk/; revision=17415
2006-02-27 01:54:22 +00:00
Luis Ontanon 27e2c87833 The semantics of luaL_checkudata() change between 5.0 and 5.1 (the later 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 12:54:25 +00:00
Luis Ontanon b67337aacf - elua_proto
- 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-25 03:21:00 +00:00
Luis Ontanon eddf915e40 I changed some vanames and did not compile...
svn path=/trunk/; revision=17399
2006-02-24 08:44:49 +00:00
Luis Ontanon 48551d9d85 - More "docOMMentation" of the API
- 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-23 17:02:29 +00:00
Jörg Mayer e4be8f1a19 Delete docs in maintainer-clean target
svn path=/trunk/; revision=17379
2006-02-23 10:18:05 +00:00
Luis Ontanon 7cd1757c80 Forgot...
Elua functions in elua.c moved to this new file.


svn path=/trunk/; revision=17375
2006-02-22 23:58:21 +00:00
Luis Ontanon 251d769ef7 - More documentation embeded in the source code.
- 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-22 23:55:11 +00:00
Jörg Mayer 15cae24313 elua_register.h wasn't built automatically
svn path=/trunk/; revision=17371
2006-02-22 14:19:39 +00:00
Luis Ontanon 3db1ff91a7 - rename all the c files
- 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-21 21:52:28 +00:00
Luis Ontanon c3c7f8a0c3 - Use lua 5.1
- Compress *_register() functions



svn path=/trunk/; revision=17354
2006-02-19 21:51:34 +00:00
Luis Ontanon accc35dd2a rename plugin.c to lua_plugin.c
svn path=/trunk/; revision=17348
2006-02-18 05:12:58 +00:00
Luis Ontanon 871381514f Add dual version
svn path=/trunk/; revision=17347
2006-02-18 05:11:29 +00:00
Luis Ontanon d9462b4a45 Prepare for lua 5.1
svn path=/trunk/; revision=17346
2006-02-18 04:03:24 +00:00
Luis Ontanon 0b2d1add6f - Make sure the right globals are set before invoking user tap caallbaccks
- Have Dumper.new_for_current() and dumper:dump_current() work.


svn path=/trunk/; revision=17336
2006-02-17 16:16:42 +00:00
Luis Ontanon d238e5ef1e - avoid the user been flooded with report_error windows if there's an error 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 05:16:06 +00:00