Commit Graph

926 Commits

Author SHA1 Message Date
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
Luis Ontanon 02a2382a36 - add persconffile(opt_str)
- add datafile_path(opt_str)
- add Dir class -- a Directory Iterator


svn path=/trunk/; revision=19507
2006-10-12 17:00:11 +00:00
Ulf Lamping a2a1c0c3d1 add some missing files to the clean target
svn path=/trunk/; revision=19465
2006-10-09 22:32:50 +00:00
Luis Ontanon 8dee75cf68 have the funnel client passing the destructors for btn data structures to the funnel.
Although useless in practice, it is better to implement it this way... the funnel mini gui might be used by other modules in the future.


svn path=/trunk/; revision=19440
2006-10-05 16:25:13 +00:00
Luis Ontanon ba81fb99da Misterious bug with cf_read() solved... had nothing to do with cf_read :)
the callback data for TextWindow buttons was ep_allocated!
after cf_read() it was reused and so it was rewritten...

fix that making it g_malloced instead.


svn path=/trunk/; revision=19432
2006-10-04 18:45:26 +00:00
Luis Ontanon ba90067e62 - wslua_util.c: replace Lua's loadfile and dofile for versions that will try to open the file in perscofdir then dataconfdir if there's no such file in cwd
- wslua_field.c: avoid FieldInfo:__tostring() crashing when the ftype has no val_to_string_repr
- init.lua: inform the user that a packet has been disabled, intead of a cryptic "attemt to call nil"
- Makefile.am: add register_wslua.c and declare_wslua.h to MAINTAINERCLEANFILES
- wslua_gui.c: fix a typo


svn path=/trunk/; revision=19425
2006-10-04 14:37:46 +00:00
Ulf Lamping 4d1da73c6f an attempt to fix the Ubuntu buildbot:
ERROR: files left in build directory after distclean:
./epan/wslua/declare_wslua.h
./epan/wslua/register_wslua.c

Louis, could you have a look - I might have produced a mess :-)

svn path=/trunk/; revision=19423
2006-10-03 23:32:51 +00:00
Luis Ontanon 62ecee25ce Update nmakefile to latest changes.
svn path=/trunk/; revision=19411
2006-10-03 18:24:08 +00:00
Luis Ontanon e23201c62a - Make sure that the registration files are created whenever there's a change
- get rid of 5.0.2 stuff
- add the apply_filter() API


svn path=/trunk/; revision=19406
2006-10-03 14:27:45 +00:00
Luis Ontanon 161b9a55ea more Lua APIs:
- set_filter() : sets the main window filter
- reload() : reloads the current capture file
- copy_to_clipboard() : copies its first arfg to the clipboard
- open_capture_file() : opens a capture file for viewing (still broken)


svn path=/trunk/; revision=19404
2006-10-03 12:07:10 +00:00
Luis Ontanon 2e7726b3ff * rename REGISTER_STAT_GROUP_E -> register_stat_group_t
* Add a "Tools" menu
* allow wslua's register_menu to register menu items into more menus


svn path=/trunk/; revision=19338
2006-09-27 17:12:42 +00:00
Luis Ontanon 611d1e6443 Add a simple lua console to allow evaluation of conde into init.lua
svn path=/trunk/; revision=19332
2006-09-27 02:51:08 +00:00
Gerald Combs d1737fd2eb Fix distcheck errors. Add epan/wslua to the list of distribution
directories, make sure $(scrdir) is prepended to script paths, and 
fixup the wslua distclean target.

svn path=/trunk/; revision=19329
2006-09-26 22:24:50 +00:00
Luis Ontanon 7ae6780cd6 wslua_init() must return a value
svn path=/trunk/; revision=19326
2006-09-26 04:06:17 +00:00
Luis Ontanon c8a95a0548 Lua 5.1.1 for windows
svn path=/trunk/; revision=19324
2006-09-26 03:31:00 +00:00
Luis Ontanon 6462d05044 Move the Lua interface into epan... (not a plugin anymore).
- Rename Tap into Listener
- add a mechanism to pass protocols' tap data to the Listener


svn path=/trunk/; revision=19319
2006-09-25 01:09:00 +00:00