Bill Meier
7b01915b6b
Fix various gcc -Wshadow warnings.
...
svn path=/trunk/; revision=31730
2010-01-29 16:13:26 +00:00
Stig Bjørlykke
066b12d7d4
Prototype follow_add_to_gtk_text().
...
Made some functions static.
svn path=/trunk/; revision=30323
2009-10-05 07:25:33 +00:00
Gerald Combs
1f6ad93f9f
Fix the build.
...
svn path=/trunk/; revision=28916
2009-07-02 02:50:24 +00:00
Gerald Combs
e0ebc32195
Updates to create_tempfile:
...
- Use g_get_tmp_dir, just like get_tempfile_path.
- Don't make the caller worry about the path buffer length.
svn path=/trunk/; revision=28915
2009-07-01 23:36:51 +00:00
Bill Meier
3e48b7890f
follow_stream: Enable "check for file overwrite" (if GTK 2.8 or greater);
...
svn path=/trunk/; revision=28600
2009-06-02 15:39:20 +00:00
Bill Meier
7edb5ab6ab
follow_stream: rework "save as" slightly:
...
- Prevent "dead" save-as window if unable to open file for write
or if a directory is entered as the filename;
Work-around is to always kill save-as window whether success
or an error causing alert-box popup;
- Fix a memory leak.
- Define certain functions used only in follow_stream.c as static;
(Remove declarations for them from follow_stream.h)
svn path=/trunk/; revision=28574
2009-06-01 19:43:58 +00:00
Gerald Combs
2dacd2ff63
From Roland Illig via bug 1764:
...
The hexdump of the "Follow TCP Stream" feature creates a file that is about 160
characters wide. That's far beyond the size of my screen. The appended patch
suggests a narrower layout.
From me:
Add a note about prepending each line with "C" or "S" instead.
svn path=/trunk/; revision=28386
2009-05-17 19:34:30 +00:00
Bill Meier
9428d8a7d0
follow_stream: Oops: revert making functions static.
...
svn path=/trunk/; revision=28178
2009-04-27 14:56:07 +00:00
Bill Meier
37a45966a9
follow_stream: Don't load follow text twice when initially building the window;
...
Also: Define various internal functions as static;
svn path=/trunk/; revision=28177
2009-04-27 14:39:10 +00:00
Gerald Combs
1582e052a1
More Win64 fixes.
...
svn path=/trunk/; revision=28062
2009-04-16 00:45:26 +00:00
Bill Meier
151a1f4361
[Trivial] fix some wording in a comment
...
svn path=/trunk/; revision=27743
2009-03-16 19:02:18 +00:00
Bill Meier
7ce6710735
Replace use of ("prohibited") tmpnam() with code
...
adapted from print_dlg.c;
Also: fix some bugs wherein an incorrect filename
could be printed if an error occurred
opening/writing/etc an output file.
svn path=/trunk/; revision=27680
2009-03-09 20:19:36 +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
Stephen Fisher
95caa8f19c
Change references to follow TCP stream to just follow stream to reflect
...
the multi-purpose nature of the follow_stream.c code (you can also follow
SSL and UDP streams with it.)
svn path=/trunk/; revision=25363
2008-05-23 02:33:24 +00:00
Stephen Fisher
4b87014937
Remove backward compability code for GTK 2.2.1 and lower since we only
...
support GTK 2.4+ now.
svn path=/trunk/; revision=25361
2008-05-23 02:12:22 +00:00
Jeff Morriss
a5cee04fad
Move the file utility functions from wiretap to libwsutil so that
...
libwireshark (and the plugins using those functions) do not depend on
wiretap on Windows.
While doing that, rename the eth_* functions to ws_*.
svn path=/trunk/; revision=25354
2008-05-22 15:46:27 +00:00
Stephen Fisher
f07c708a51
Replace an option menu (deprecated as of GTK+ 2.4) with a combo box
...
(GTK+ 2.4+).
svn path=/trunk/; revision=25198
2008-04-29 18:46:10 +00:00
Stephen Fisher
bbf7ec011a
Remove all GTK+ < 2.4 code and minimum version checks.
...
svn path=/trunk/; revision=25182
2008-04-27 07:01:58 +00:00
Ulf Lamping
38c4ebeb4a
move all code from color.c into color_utils.c
...
remove color.c
rename colors.h into color_utils.h (hopefully this reduces confusion to /color.h)
svn path=/trunk/; revision=24974
2008-04-13 12:41:22 +00:00
Ulf Lamping
6a5b1e0ec0
use the ending "_win32" for every windows specific file
...
svn path=/trunk/; revision=24972
2008-04-13 12:14:57 +00:00
Ulf Lamping
8e3e8b588f
sort #includes by directories
...
svn path=/trunk/; revision=24968
2008-04-13 01:54:20 +00:00
Ulf Lamping
55c2be83db
move stock icon code from toolbar.c into specific stock_icons file(s)
...
svn path=/trunk/; revision=24921
2008-04-12 00:49:20 +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
ae5f841083
replace all appearances of BUTTON_NEW_FROM_STOCK with GTK2's gtk_button_new_from_stock
...
svn path=/trunk/; revision=24904
2008-04-11 18:58:19 +00:00
Bill Meier
74e1c12021
OBJECT_..._DATA --> g_object_..._data
...
svn path=/trunk/; revision=24895
2008-04-11 16:44:31 +00:00
Stephen Fisher
ae48504af2
Remove GTK1 code.
...
svn path=/trunk/; revision=24776
2008-04-05 00:12:04 +00:00
Stephen Fisher
9dc1d5b9a7
Fix bug #2286 : Folow TCP stream window [needs line wrapping turned back on]
...
wrapped lines
svn path=/trunk/; revision=24742
2008-03-28 04:42:29 +00:00
Stephen Fisher
8d95969dba
Remove unterminated comment to fix compile
...
svn path=/trunk/; revision=24733
2008-03-26 23:08:58 +00:00
Gerald Combs
71b562a850
Make the default save format "Raw". Make it easy to change the default
...
format.
svn path=/trunk/; revision=24732
2008-03-26 22:33:56 +00:00
Stephen Fisher
c4571a6ad5
Fix bug #1212 : Follow SSL/UDP Stream gets direction wrong ...
...
svn path=/trunk/; revision=24715
2008-03-22 05:50:19 +00:00
Stig Bjørlykke
fa2033ab8b
Fixed server and client packet count in C Array variables in
...
Follow TCP/UDP/SSL Stream. This error was introduced when merging
duplicate code between TCP & SSL stream functions, r22869.
svn path=/trunk/; revision=24610
2008-03-12 08:50:09 +00:00
Jeff Morriss
dd0a4750b0
s/stat/eth_stat/ and s/unlink/eth_unlink/ to avoid non-ASCII filename problems on Windows.
...
svn path=/trunk/; revision=23605
2007-11-26 18:35:37 +00:00
Stephen Fisher
700d8194b8
- Future improve/clean up the now generic follow stream code
...
- Add "Follow UDP Stream" feature
svn path=/trunk/; revision=23346
2007-11-03 04:45:35 +00:00
Stephen Fisher
f673626e55
Finish the major part of merging duplicate code between follow TCP & SSL
...
stream functions.
svn path=/trunk/; revision=22869
2007-09-13 22:11:50 +00:00
Stephen Fisher
7e1692e230
Some more code merging / cleanup in the Follow TCP & SSL Stream features
...
svn path=/trunk/; revision=22841
2007-09-10 23:50:46 +00:00
Gerald Combs
c517f302a4
Move follow_infos into folow_stream.c and initialize it.
...
svn path=/trunk/; revision=22613
2007-08-23 23:01:20 +00:00
Ulf Lamping
696e992a8c
fix build problems under Win32
...
svn path=/trunk/; revision=22523
2007-08-16 04:54:30 +00:00
Stephen Fisher
7bef902e14
Initial work on merging common code between follow TCP & SSL stream features
...
svn path=/trunk/; revision=22520
2007-08-16 03:36:38 +00:00