Commit Graph

65 Commits

Author SHA1 Message Date
Luis Ontanon 51a7fa1404 The forgotten file strikes back.
... It also fixes a lua compile warning/error in wslua_gui.c. ...


svn path=/trunk/; revision=21656
2007-05-02 23:54:01 +00:00
Luis Ontanon 8a293db121 From Tamas Regos (Via Balint Reczey)
The attached patch adds ability of of creating radio button, drop-down
list and range type preference entries to the Lua plugin.
It also fixes a lua compile warning/error in wslua_gui.c.
The patch is written by Tamas Regos, he asked me to send it to the list.

svn path=/trunk/; revision=21655
2007-05-02 23:39:44 +00:00
Luis Ontanon 5f5f656108 From: Balint Reczey
I would like to handle the rare situation of Little Endian encoded
IP addresses, so i added a function which reads the address with
tvb_get_ipv4(), then swaps the bytes before SET_ADDRESS().


svn path=/trunk/; revision=21397
2007-04-12 22:45:22 +00:00
Luis Ontanon 5b08821866 have tvbrange:get_ipv4() not modifying the byte order of the extraced data.
have Proto.new() registering the protocol by name.


svn path=/trunk/; revision=21385
2007-04-11 19:24:19 +00:00
Stephen Fisher 6d8d2854c8 From Sake Blok:
Fix for bug #491: Unexpected frame.time_delta behavior

This patch ... fixes bug 491. It does this by changing the
behaviour of the frame.time_delta field so it reflects the delta
time between captured packets (tshark already did this).  To keep
the delta time between displayed packets, the field 
frame.time_delta_displayed is created.


svn path=/trunk/; revision=21154
2007-03-23 18:08:17 +00:00
Stephen Fisher 62f88a4a04 From Sebastien Tandel:
(Temporarily disable the warnings as errors default on Unix to get
to get the buildbots and people with gcc40 going again until those
additional warnings gcc40 generates can be fixed-I'm working on it
ASAP)

   Patch for configure.in which disables by default the treatment of
warnings as errors.
It can be enabled with './configure --with-warnings-as-errors'.
The macro will test first if GCC is present. If it's the case,
HAVE_WARNINGS_AS_ERRORS is defined. All the USING_GCC have been replaced
by HAVE_WARNINGS_AS_ERRORS.
With this switch, people won't suffer from unexpected warnings when
downloading svn sources during the transition time ;)


svn path=/trunk/; revision=21153
2007-03-23 17:49:59 +00:00
Stephen Fisher 84c5becd89 Add -Werror for gcc to a few more directories and fix a few warnings
svn path=/trunk/; revision=21129
2007-03-22 23:24:13 +00:00
Ulf Lamping dcb1e1bdfd add "treat warnings as errors" flag(s)
svn path=/trunk/; revision=21125
2007-03-22 22:54:00 +00:00
Ulf Lamping 8d311b9250 fix warnings
svn path=/trunk/; revision=21124
2007-03-22 22:47:37 +00:00
Jörg Mayer 3fab97b6ad Fixes for: warning: ISO C does not allow extra ';' outside of a function
svn path=/trunk/; revision=21085
2007-03-21 05:06:01 +00:00
Jörg Mayer 636e20e431 Fixes for: warning: comma at end of enumerator list
svn path=/trunk/; revision=21084
2007-03-21 04:59:53 +00:00
Luis Ontanon 5fa8e75149 packet_info.c and packet.c
add sccp_info to struct _packet_info (Sorry but the way private_data works and the fact that TCAP uses it and BSSAP/RANAP can be tunnelled on GSMMAP over TCAP makes it impossible to avoid)

SCCP
- Have SCCP to have a TAP,
- Fix associations so that every message belongs to the association.
- Export message type values so that they can be used by a tap listener

RANAP
 - Have RANAP information attached to the sccp_info 

BSSAP + GSM_A
- Have DTAP, BSSMAP and BSSAP info attached to the sccp_info

svn path=/trunk/; revision=21076
2007-03-21 00:48:46 +00:00
Bill Meier 04d29de81d Fix Windows Makefiles so clean removes all pdb files (PDB_FILE no longer defined)
svn path=/trunk/; revision=21052
2007-03-18 15:36:22 +00:00
Luis Ontanon 78028f02b5 fix Bug 1370
LUA function all_field_infos() causes wire shark to terminate.

svn path=/trunk/; revision=21004
2007-03-08 23:00:28 +00:00
Luis Ontanon 2688c9b3f3 do not return before ENDTRY when handling an exception, this would leave the fat stack without the top and cause the dereferencing of a null pointer later on when popping in the next ENDTRY.
Oddly enough this shows up only on windows. Maybe there's something good in my Mac's temporary disability!

svn path=/trunk/; revision=20972
2007-03-04 16:00:05 +00:00
Luis Ontanon 7d352fa51b some cleanup and pset of svn:ignore
svn path=/trunk/; revision=20603
2007-01-29 14:11:44 +00:00
Luis Ontanon db9803fdd0 fix distcheck
svn path=/trunk/; revision=20578
2007-01-27 04:08:06 +00:00
Luis Ontanon 3472c0fa67 Fix docbook documentation
svn path=/trunk/; revision=20577
2007-01-27 02:33:21 +00:00
Bill Meier 09f508b57b A few more ethereal --> wireshark
svn path=/trunk/; revision=20559
2007-01-26 01:34:29 +00:00
Gerald Combs 1f955f3fcf Fix compilation (under Windows, at least).
svn path=/trunk/; revision=20541
2007-01-24 01:06:24 +00:00
Luis Ontanon 6f5c055c81 add range to the metatable of Tvb.
svn path=/trunk/; revision=20540
2007-01-23 23:36:28 +00:00
Luis Ontanon e9d3877fb8 tvb:range did not appear under Tvb in generated refman
pinfo.curr_proto appeared as pinfo.match
pinfo.columns in the refman was pinfo.cols in lua (now it is both in lua and in refman)


svn path=/trunk/; revision=20539
2007-01-23 23:34:41 +00:00
Luis Ontanon 58126f3753 fix bug 1321
svn path=/trunk/; revision=20515
2007-01-21 17:06:16 +00:00
Luis Ontanon a850669c19 fix bug 1320
svn path=/trunk/; revision=20514
2007-01-21 17:05:33 +00:00
Martin Mathieson 997e5415f9 Add separate union entries to fvalue.value for signed and unsigned
32-bit numbers.  Separate signed and unsigned accessors have been
added and used where appropriate.

Definitely not for 0.99.5.

svn path=/trunk/; revision=20472
2007-01-18 11:02:26 +00:00
Luis Ontanon 69ebd4f948 * have the Dumper using either '\' or '/' as directory separator in all plattforms.
* use the directory separator not a pointer to it.



svn path=/trunk/; revision=20330
2007-01-05 15:09:33 +00:00
Luis Ontanon 96234ee374 * rename url->file in browser_open_data_file()
svn path=/trunk/; revision=20328
2007-01-05 12:14:42 +00:00
Luis Ontanon 6ad83076e6 + register_stat_cmd_arg()
* use '/' as directory separator on both plattforms

svn path=/trunk/; revision=20327
2007-01-05 12:11:05 +00:00
Gerald Combs 3e09e4c8d7 Remove duplicate targets.
svn path=/trunk/; revision=20319
2007-01-04 23:54:00 +00:00
Luis Ontanon 4c9297addd Add the documentation directory
svn path=/trunk/; revision=20317
2007-01-04 22:58:33 +00:00
Guy Harris 1c9939e359 Rename pkgdata_DATA to dist_pkgdata_DATA, to make sure it's in the
distribution.  That means we don't have to include it in EXTRA_DIST.

svn path=/trunk/; revision=20310
2007-01-04 18:35:33 +00:00
Gerald Combs 32837914e6 Add clean targets to wslua. Fix the config.nmake include in crypt.
svn path=/trunk/; revision=20232
2006-12-28 17:28:29 +00:00
Luis Ontanon aa235a4262 + browser_open_url()
+ browser_open_data_file()


svn path=/trunk/; revision=20223
2006-12-27 01:46:42 +00:00
Luis Ontanon bfbb92ad28 get rid of an unused variable.
svn path=/trunk/; revision=20208
2006-12-23 03:53:13 +00:00
Luis Ontanon 874912824c - Fix an error in the tap listener callback
- add some comments to console.lua


svn path=/trunk/; revision=20206
2006-12-23 03:45:46 +00:00
Luis Ontanon 1234c207f6 fix a typo.
svn path=/trunk/; revision=20193
2006-12-22 05:54:12 +00:00
Luis Ontanon 74cb1d2b46 - Fix the name of the disable_lua variable.
== improve documentation
   make-doc.pl ( make doc ) generates an almost complete reference manual.
 



svn path=/trunk/; revision=20192
2006-12-22 05:48:57 +00:00
Luis Ontanon f8bc734cb2 Avoid ${ename}[...] being interpreted as $ename[...].
svn path=/trunk/; revision=19824
2006-11-06 18:16:56 +00:00
Anders Broman a0438e6cf0 console.lua missing from the svn tarball preventing making a package. I hope this
is the right way to fix it.

svn path=/trunk/; revision=19764
2006-10-31 22:28:50 +00:00
Gerald Combs 21c1d62d88 Attempt to get compilation working under Windows.
svn path=/trunk/; revision=19677
2006-10-25 00:17:28 +00:00
Luis Ontanon 493ee85cb0 Improve the documentation generators
add some docs.


svn path=/trunk/; revision=19671
2006-10-24 17:34:17 +00:00
Luis Ontanon 0072205e18 Have Lua disabled by default.
Add more documentation to the code. 
change make-dco.pl so that it creates more readable docbook output.

This should be copied over to 0.99.4



svn path=/trunk/; revision=19670
2006-10-24 13:16:57 +00:00
Gerald Combs 7217c6ba50 Fix a typo.
svn path=/trunk/; revision=19610
2006-10-19 17:34:11 +00:00
Luis Ontanon 82abc5f08b - wslua_gui.c:
- remove data_ref where it is not used anymore (callbacks won't pass userdata as this ius better done using lua's closures)
  - have TextWindow:set_editable() using its argument

- add wslua_optbool(L,n,d) to pull an optional boolean from the stack

- several fixes to docbook generation (now it compiles!)



svn path=/trunk/; revision=19608
2006-10-19 17:02:23 +00:00
Luis Ontanon 125c6243f6 Add module information for generated docs
svn path=/trunk/; revision=19595
2006-10-18 18:45:24 +00:00
Luis Ontanon 0757dcbba3 - better indentation and fix some errors
svn path=/trunk/; revision=19594
2006-10-18 18:39:30 +00:00
Luis Ontanon 2e03cbb421 - have console.lua not using os.date when os has been disabled
- try to avoid a warning in wslua_gui.c
- make-doc.pl --> docbook (still broken I guess)



svn path=/trunk/; revision=19593
2006-10-18 17:59:49 +00:00
Luis Ontanon aee9a87da4 - Fix the makefile
- improve the Lua Console


svn path=/trunk/; revision=19591
2006-10-18 15:05:55 +00:00
Luis Ontanon 9777d83a8f Add the license
svn path=/trunk/; revision=19582
2006-10-17 18:29:24 +00:00
Luis Ontanon b8ef88a6e2 Several changes:
- do not #include a c code file in wslua_register.c compile a separate boject
 - add the console and evaluate windows
 - add some useful vars to the lua environment
 - some cleanup
 - add the dtd generator code (currently disabled)


svn path=/trunk/; revision=19579
2006-10-17 18:20:44 +00:00