Bill Meier
2b0f6a63f1
Define some fcns & vars as static;
...
Rename g_capture_in_progress to gbl_capture_in_progress (capture_if_dlg.c)
Do some whitespace cleanup.
svn path=/trunk/; revision=34490
2010-10-12 17:39:44 +00:00
Jeff Morriss
b4c2ed1b86
Remove some unnecessary includes: a lot of things don't need globals.h and register.h
...
svn path=/trunk/; revision=34017
2010-08-30 16:10:01 +00:00
Jaap Keuter
81b585cf8e
From Valerio Messina:
...
As now, when Wireshark save capture files, it show "Loading" in status bar and
in the dialog box, warning many users of lost them packets. Saving work as expected.
Is simply a GUI use interaction problem.
svn path=/trunk/; revision=31269
2009-12-14 22:05:29 +00:00
Anders Broman
135ca5136f
Change window_new() to dlg_window_new() and destroy the window with the top level window.
...
svn path=/trunk/; revision=28796
2009-06-21 20:42:07 +00:00
Guy Harris
432cac16f3
"main_menu.[ch]" -> "menus.[ch]"; it handles not only the main menu, but
...
context menus.
Note why we have an empty hex dump pane context menu.
svn path=/trunk/; revision=28794
2009-06-21 19:16:37 +00:00
Guy Harris
54c159cb41
Turn on -Wshorten-64-to-32 by default, and fix some issues that turned
...
up (99 44/100% of which were assignments of double-precision
floating-point constants to floats). Hopefully this will catch at least
some P64 issues on UN*X.
svn path=/trunk/; revision=28108
2009-04-21 16:57:52 +00:00
Gerald Combs
9c9db36825
size_t fixes.
...
svn path=/trunk/; revision=28059
2009-04-15 21:35:51 +00:00
Bill Meier
f7bcdea0e5
gtk_widget_ref() --> g_object_ref()
...
svn path=/trunk/; revision=28027
2009-04-10 14:10:49 +00:00
Anders Broman
04837ca7f2
gtk_label_set -> gtk_label_set_text
...
"gtk_label_set is deprecated and should not be used in newly-written code.
Aliases gtk_label_set_text()."
svn path=/trunk/; revision=27556
2009-02-26 21:11:06 +00:00
Bill Meier
56206e0002
Fix some simple cases of GTK2 deprecated API usage by using a renamed or equivalent API
...
gtk_container_border_width() ==> gtk_container_set_border_width()
gtk_container_children() ==> gtk_container_get_children()
gtk_entry_new_with_max_length() ==> gtk_entry_new(); gtk_entry_set_max_length()
gtk_menu_append() ==> gtk_menu_shell_append()
gtk_menu_prepend() ==> gtk_menu_shell_prepend()
gtk_notebook_set_page() ==> gtk_notebook_set_current_page()
gtk_paned_gutter_size() ==> gtk_paned_set_gutter_size()
gtk_radio_button_group() ==> gtk_radio_button_get_group()
gtk_signal_connect() ==> g_signal_connect()
gtk_signal_disconnect() ==> g_signal_handler_disconnect()
gtk_signal_emit_by_name() ==> g_signal_emit_by_name()
gtk_signal_handler_block_by_data() ==> g_signal_handlers_block_matched()
gtk_signal_handler_block_by_func() ==> g_signal_handlers_block_by_func()
gtk_signal_handler_unblock_by_data() ==> g_signal-handlers_unblock_matched()
gtk_signal_handler_unblock_by_func() ==> g_signal-handlers_unblock_by_func()
gtk_spin_button_get_value_as_float() ==> gtk_spin_button_get_value()
gtk_toggle_button_set_state() ==> gtk_toggle_button_set_active()
svn path=/trunk/; revision=25634
2008-06-29 15:51:43 +00:00
Stig Bjørlykke
860028c634
Removed the usage of topic_available() as we now have all topics.
...
svn path=/trunk/; revision=25505
2008-06-21 13:36:31 +00:00
Ulf Lamping
8e3e8b588f
sort #includes by directories
...
svn path=/trunk/; revision=24968
2008-04-13 01:54:20 +00:00
Ulf Lamping
b51da2eb77
rename menu -> main_menu
...
remove old (and unused and confusing) ../menu.h
svn path=/trunk/; revision=24947
2008-04-12 19:18:26 +00:00
Ulf Lamping
d4ccf577a8
where it's not necessary, remove #include "compat_macros.h"
...
svn path=/trunk/; revision=24922
2008-04-12 01:02:59 +00:00
Ulf Lamping
736cada149
third round to replace SIGNAL_CONNECT with g_signal_connect
...
svn path=/trunk/; revision=24914
2008-04-11 22:10:36 +00:00
Ulf Lamping
c6d13dc2c8
replace WIDGET_SET_SIZE with gtk_widget_set_size_request
...
svn path=/trunk/; revision=24910
2008-04-11 20:31:05 +00:00
Ulf Lamping
004b797630
replace RADIO_BUTTON_NEW_WITH_LABEL with gtk_radio_button_new_with_label_from_widget
...
svn path=/trunk/; revision=24907
2008-04-11 19:11:08 +00:00
Bill Meier
0502078a1b
OBJECT_..._DATA --> g_object_..._data
...
svn path=/trunk/; revision=24898
2008-04-11 17:14:11 +00:00
Ulf Lamping
63307ccc99
remove GTK1 code
...
svn path=/trunk/; revision=24818
2008-04-06 23:36:29 +00:00
Ulf Lamping
2dff4c21bb
fix #331 : add a scrollbar to the dialog. If a fileset contains more than 18 files, use that scrollbar. These 18 files should be displayable even on a 800*600 display.
...
svn path=/trunk/; revision=19080
2006-08-29 21:09:32 +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
Ulf Lamping
c3187174bf
replace *a lot* of file related calls by their GLib counterparts. This is necessary for the switch to GTK 2.6 (at least on WIN32).
...
to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include <io.h>, definition of O_BINARY and alike, so it's all in one place.
deleted related things from config.h.win32
As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon.
svn path=/trunk/; revision=16403
2005-11-06 22:43:25 +00:00
Ulf Lamping
512a4983c0
fix a copy/paste error inside of a comment
...
svn path=/trunk/; revision=15940
2005-09-21 20:08:32 +00:00
Ulf Lamping
d9b789cc05
don't crash if the file_set dialog is opened and a "none fileset" file is already loaded. This bug was introduced by me after the 0.10.12 release
...
svn path=/trunk/; revision=15671
2005-09-02 19:08:25 +00:00
Jörg Mayer
0edcc8920e
- Declare some functions static
...
- Add plugins_dlg.h
- Include .h files in their respective .c files
- Include .h and remove extern declarations in .c files
- set eol-style and keywords on gui_utils.[hc]
svn path=/trunk/; revision=15471
2005-08-20 14:02:00 +00:00
Ulf Lamping
eafbbbcabb
renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical named ui_util.h in / dir
...
svn path=/trunk/; revision=15465
2005-08-20 12:09:48 +00:00
Guy Harris
38ec1644e6
Add APIs to Wiretap to return the file of the size as supplied by the OS
...
(so if the file's gzipped, it's *NOT* the size of the file after
uncompressing), and an approximation of the amount of that data read
sequentially so far.
Use those for various progress bars and the like.
Make the fstat() in the Ascend trace reader directly use wth->fd, as
it's inside Wiretap; that gets rid of the last caller of wtap_fd() (as
we're no longer directly using fstat() or lseek() in Ethereal), so get
rid of wtap_fd().
svn path=/trunk/; revision=15437
2005-08-19 19:40:00 +00:00
Guy Harris
c898ddde94
Include <string.h> to declare "strrchr()".
...
Clean up indentation.
svn path=/trunk/; revision=15417
2005-08-19 01:57:44 +00:00
Ulf Lamping
eadeaedc34
fix #305 : don't get file creation date/time of the file but just use the filename
...
svn path=/trunk/; revision=15413
2005-08-18 19:36:19 +00:00
Jörg Mayer
e9ea42eed9
Fix more "no previous declaration" warnings
...
svn path=/trunk/; revision=15173
2005-08-02 04:47:15 +00:00
Ulf Lamping
a48744a84b
add a new feature: list the files of a "File Set" (set of files generated by capturing "Multiple Files"/ringbuffer) and jump from one file of it to the next/previous one
...
svn path=/trunk/; revision=14231
2005-04-29 14:51:52 +00:00