Commit graph

24 commits

Author SHA1 Message Date
Gerald Combs
9e23f31e5f Add support for reading from stdin under Windows. Based on a patch sent
in last year by Gianluca Varenni.

Add partial support for reading from named pipes (currently disabled).

Move utf_8to16() and utf_16to8() to a separate module (unicode-utils.[ch])
so that we don't have to cut and paste code in dumpcap.c.

Fix up whitespace.

svn path=/trunk/; revision=19291
2006-09-22 21:14:54 +00:00
Ulf Lamping
98b0a4c548 Use the same caption in the Win32 version as in the GTK dialogs: "Wireshark: Select a capture file" -> "Wireshark: Open Capture File"
svn path=/trunk/; revision=19238
2006-09-15 22:03:20 +00:00
Ulf Lamping
ad75ee95dd Remove a lot of XXX:
- add help buttons to the dialogs
- the read filter fields are now working (the filter button still not)
- PDML export don't need "Packet Format" settings, grey them out
- fix a bug in the filter fields coloring function (g_alloc space was too small)

svn path=/trunk/; revision=19091
2006-08-30 20:45:13 +00:00
Ulf Lamping
ef9d7bc95f fix #927: Win32: delete an existing file, if the user want's to overwrite a file and confirmed this already
svn path=/trunk/; revision=19008
2006-08-23 21:19:02 +00:00
Ulf Lamping
41c9f5e3f6 use file name information from wiretap instead of "build in" values
remove "double combobox" from the save dialog

append the default file extension to the save file name, if the user didn't added one

svn path=/trunk/; revision=18563
2006-06-23 18:29:48 +00:00
Ulf Lamping
e7100e5e8e bugfix: saving the user specified packet range text must be utf8'ed, otherwise only the first char will be used
svn path=/trunk/; revision=18547
2006-06-22 19:16:40 +00:00
Gerald Combs
eb71f7fb96 Rename the main executable to "wireshark", along with more conversions:
ethereal.com -> wireshark.org
  mailing lists and addresses
  ETHEREAL -> WIRESHARK
  Man pages
  Automake/Autoconf names


svn path=/trunk/; revision=18271
2006-05-31 19:12:15 +00:00
Gerald Combs
ee4b9b7549 ethereal.nsi -> wireshark.nsi
svn path=/trunk/; revision=18254
2006-05-30 14:28:20 +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
Guy Harris
8113782873 Add "file_dlg.h" to declare "set_last_open_dir()".
Try leaving "dlg_utils.h" out.

svn path=/trunk/; revision=18041
2006-04-30 06:57:01 +00:00
Guy Harris
0ce9a23b25 Most of the stuff in file_dlg.c is specific to capture files, so rename
it to capture_file_dlg.c, and rename its header file.  We might want to
move the generic file dialog stuff to a file_dlg.c file (it's currently
in dlg_utils.c), and move the non-capture-file dialog stuff in
capture_file_dlg.c to another file.

svn path=/trunk/; revision=18034
2006-04-29 23:03:57 +00:00
Gerald Combs
9b59165a4d Fetch a combobox control handle before we try to use it. Add some needed
_T macros.  Remove some extraneous comments.

svn path=/trunk/; revision=18026
2006-04-28 18:43:33 +00:00
Gerald Combs
056b3d977a Properly set our export file name before we try to use it. Fixes bug 894.
svn path=/trunk/; revision=18012
2006-04-26 21:15:51 +00:00
Ulf Lamping
f8e8ccac5c bugfix: don't crash with a Null pointer exception, if the open file preview timestamp can't be converted
svn path=/trunk/; revision=17860
2006-04-14 08:50:41 +00:00
Gerald Combs
0c92125f1b Make sure the export dialog is large enough. Fix a Unicode issue while
we're at it.

svn path=/trunk/; revision=17754
2006-03-28 23:06:11 +00:00
Gerald Combs
9406c5db24 Use Unicode for all native Win32 calls. Unicode Windows applications
use UTF-16 internally and GTK+ 2.x uses UTF-8, which means we have to
do a lots of conversions.

Add utf_8to16() and utf_16to8 convenience functions to strutil.c.

svn path=/trunk/; revision=17534
2006-03-08 20:55:32 +00:00
Jaap Keuter
0fe7718f9e Remove svn:executable property from source files
svn path=/trunk/; revision=17370
2006-02-22 12:04:03 +00:00
Gerald Combs
e9226d04e5 More duplicate code removal.
svn path=/trunk/; revision=17339
2006-02-17 19:10:12 +00:00
Gerald Combs
4ee4fd52e0 Include some header files so that we can get rid of duplicate code and
call various GTK+ routines.

svn path=/trunk/; revision=17338
2006-02-17 19:07:54 +00:00
Gerald Combs
e01dfff7ce Move common control initialization to gtk/main.c where it belongs.
Remove a MessageBox() call used for debugging.

Fixup whitespace.

svn path=/trunk/; revision=17319
2006-02-16 15:27:03 +00:00
Guy Harris
e6c66fec56 Update a comment.
svn path=/trunk/; revision=17313
2006-02-15 22:29:15 +00:00
Gerald Combs
0e32e17152 Add a placeholder for integrating with the display filter dialog.
svn path=/trunk/; revision=17286
2006-02-13 21:54:05 +00:00
Gerald Combs
80e5e0fb15 Copy over the file open/save code from the Win32 native branch.
The Windows-native routines were integrated by inserting

#if GTK_MAJOR_VERSION >= 2 && _WIN32
  win32_native_routine(GDK_WINDOW_HWND(top_level->window));
  return;
#endif

at the beginning of each GTK+ file routine.  There's probably a prettier
way to do this.

Some of the sizes need to be tweaked in win32-file-dlg.rc, but everything
seems to work.

Fix up whitespace.

svn path=/trunk/; revision=17285
2006-02-13 21:25:43 +00:00