Commit Graph

28 Commits

Author SHA1 Message Date
Ulf Lamping a0bd123bf3 fix a warning
svn path=/trunk/; revision=19906
2006-11-15 23:43:16 +00:00
Jörg Mayer dd26a7021b nikai@nikai.net:
Remaining fixes from:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1225

svn path=/trunk/; revision=19895
2006-11-14 20:32:29 +00:00
Jörg Mayer 80f82b9203 Warning fixes (void) instead of (), no newline at end of file.
svn path=/trunk/; revision=19845
2006-11-07 07:47:49 +00:00
Guy Harris 26faa9ad5a Include gtk/main.h to declare main_filter_packets().
svn path=/trunk/; revision=19603
2006-10-19 09:10:40 +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 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
Guy Harris 92552c2d76 Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUI
strings, and function names.

svn path=/trunk/; revision=18205
2006-05-22 07:29:40 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Luis Ontanon 3f22cb3cf7 remove some useless code.
svn path=/trunk/; revision=17776
2006-03-30 20:15:59 +00:00
Luis Ontanon 2e93b8b751 TextWindow:
- add buttons
  - make editable




svn path=/trunk/; revision=17773
2006-03-30 19:42:49 +00:00
Luis Ontanon fd39d0ebed wrong name.
svn path=/trunk/; revision=17464
2006-03-05 02:47:00 +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
Ulf Lamping 18b62be9fb squelch some compiler warnings
svn path=/trunk/; revision=17343
2006-02-18 01:07:23 +00:00
Luis Ontanon fcf7b3789c add an userdata argument to register_stat_cmd_arg() and its callback to use the callback for multiple registrations.
svn path=/trunk/; revision=17252
2006-02-11 13:05:24 +00:00
Luis Ontanon 3196dfeaf6 - fix a leak
- register the funnel mini-api ASAP


svn path=/trunk/; revision=17189
2006-02-06 23:54:54 +00:00
Ulf Lamping b18d62702b fix some variable declarations bugs (code not conforming to ANSI-C)
svn path=/trunk/; revision=17185
2006-02-06 13:06:15 +00:00
Ronnie Sahlberg 4d75587e25 another gtk_resize_window()
svn path=/trunk/; revision=17178
2006-02-06 09:32:27 +00:00
Ronnie Sahlberg 86309dc6b8 gtk1.x does not have gtk_window_resize()
svn path=/trunk/; revision=17176
2006-02-06 08:50:20 +00:00
Luis Ontanon fc89f6d439 The simple dialog
svn path=/trunk/; revision=17172
2006-02-06 01:27:05 +00:00
Guy Harris e61bbe3b6a "text_window_delete_event_cb()" returns a gboolean; declare it as such.
svn path=/trunk/; revision=17168
2006-02-06 00:53:05 +00:00
Luis Ontanon 50d651fe5b * add an option to funnel_register_menu to retap the packets right after been called
* add a set_close_cllback function to the textwindow mini-api to set a callback to be called when the window gets closed.
* fix few issues regarding the closing of the window


svn path=/trunk/; revision=17165
2006-02-05 20:02:41 +00:00
Luis Ontanon 2e36cb403a - add a register_menu funnel
- remove the field_menu altoghether (It was not what I thought)
- move a declaration to the start of a function to allow VC6 to compile



svn path=/trunk/; revision=17161
2006-02-05 03:59:56 +00:00
Luis Ontanon 06f00c9c30 GTK1 buid failed, this should fix it.
s/tv/tw/


svn path=/trunk/; revision=17154
2006-02-04 22:44:31 +00:00
Luis Ontanon 9962b6a83c VC6 doesn't like empty structs.
svn path=/trunk/; revision=17151
2006-02-04 20:26:36 +00:00
Luis Ontanon e487660dfc The funneled GUI mini API.
A very reduced set of gui ops (by now just a text window) that can be funneled to dissectors (even plugins) via epan.


svn path=/trunk/; revision=17149
2006-02-04 19:56:50 +00:00