Commit Graph

26864 Commits

Author SHA1 Message Date
Anders Broman 4465e9d053 From Michael Lum:
ISUP - added support for Calling Geodetic Location parameter.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3322

svn path=/trunk/; revision=27692
2009-03-11 06:14:18 +00:00
Jaap Keuter 108fe4f53a From Jakub Zawadzki:
Fix small memory leak when running from build directory.

svn path=/trunk/; revision=27691
2009-03-11 06:03:31 +00:00
Gerald Combs 51cf696142 Another iteration of 64-bit-support-by-successive-approximation.
svn path=/trunk/; revision=27690
2009-03-10 17:38:24 +00:00
Bill Meier 71404bd655 Replace use of perror; Also: define various fcns as static
svn path=/trunk/; revision=27689
2009-03-10 17:34:06 +00:00
Gerald Combs 0b7885e04d ng_file_read and SnifferDecompress need to be able to return negative
values, so adjust accordingly.

svn path=/trunk/; revision=27688
2009-03-10 16:33:38 +00:00
Bill Meier 85d40cf8d0 Copy comment from tempfile.h to tempfile.c
svn path=/trunk/; revision=27687
2009-03-10 00:05:15 +00:00
Bill Meier cf930e3092 Fix a (very) minor memory leak; include tempfile.h only if _WIN32
svn path=/trunk/; revision=27686
2009-03-09 23:38:44 +00:00
Gerald Combs 2236109a82 More 64-bit fixes.
svn path=/trunk/; revision=27685
2009-03-09 22:37:55 +00:00
Gerald Combs 40f5a17d46 Convert a bunch of ints to size_t in ngsniffer.c, and make sure file_read
can accept size_t's.

svn path=/trunk/; revision=27684
2009-03-09 22:28:05 +00:00
Gerald Combs cc739fecb0 P64 fixes.
svn path=/trunk/; revision=27683
2009-03-09 21:18:55 +00:00
Gerald Combs e4892bb6c3 Make sure our offset increases, otherwise we'll go into a large loop.
svn path=/trunk/; revision=27682
2009-03-09 20:52:24 +00:00
Bill Meier 0af6e6e23a Enable checkAPIs on gtk/...
(I believe all the errors for gtk/... have been fixed);
 Next up: Add the complete list of deprecated
   GTK APIs to checkAPIs.pl

svn path=/trunk/; revision=27681
2009-03-09 20:29:09 +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 e2fe1bdf6f Use "wshprint" (instead of "ethprint") for prefix of temp file name;
Also: add to comment about non-use of tmpnam

svn path=/trunk/; revision=27679
2009-03-09 17:08:38 +00:00
Bill Meier 05f4863c16 Add $Id$
svn path=/trunk/; revision=27678
2009-03-09 15:46:43 +00:00
Bill Meier eb2a2480c5 Fix non-ascii character in file...
svn path=/trunk/; revision=27677
2009-03-09 15:42:37 +00:00
Bill Meier 2adef63689 stat() ==> ws_stat() [to keep checkAPIs happy];
Also: free() ==> g_free();

svn path=/trunk/; revision=27676
2009-03-09 15:10:11 +00:00
Bill Meier 292cc21bb0 Use ws_fopen() [not fopen()] so that a path\filename with
non-ascii charcters will work properly.

svn path=/trunk/; revision=27675
2009-03-09 14:53:22 +00:00
Bill Meier 8a651ee15c Fix File ! Export ! Selected Bytes [Windows] crash which
occurred if the file  path\filename contained non-ascii characters.
  1. Use ws_open() [not open()] so UTF8 path\filenames properly
     converted to UTF16 before the open;
  2. If the open/write/close failed, fix crash due to NULL
     filename pointer used when trying to popup an error message box.
     

svn path=/trunk/; revision=27674
2009-03-09 13:59:41 +00:00
Stig Bjørlykke 783fd3b199 Corrected oid names.
svn path=/trunk/; revision=27673
2009-03-09 13:26:47 +00:00
Stig Bjørlykke 093facc8c6 Corrected oid name.
svn path=/trunk/; revision=27672
2009-03-09 13:25:43 +00:00
Stig Bjørlykke 628f229936 Removed support for FT_UINT64/BASE_NONE/VALS combination.
svn path=/trunk/; revision=27671
2009-03-09 08:45:01 +00:00
Jaap Keuter 118a07bfde From Steve Karg:
Corrected the size of the for-loop counter declaration, added expert info and checksum_[good|bad] flags.
Added the MS/TP checksum bad setting to Checksum color filter.

svn path=/trunk/; revision=27670
2009-03-09 06:04:00 +00:00
Stig Bjørlykke cb94226629 Handle BASE_NONE as BASE_DEC until we get a proper handling of integer
values with BASE_NONE and a value string.

svn path=/trunk/; revision=27669
2009-03-09 00:30:45 +00:00
Stig Bjørlykke d52fd5e311 From Jakub Zawadzki and me (bug 3283):
Added display filter for packets with expert info.

svn path=/trunk/; revision=27668
2009-03-09 00:26:25 +00:00
Stig Bjørlykke de14669997 Added FT_INT*/FT_UINT* with BASE_NONE and a value string as a valid combination.
With this combination we get tree items with only the string match and not
the value, and the filter is created with the string.  This is usefull
when having generated items with wireshark internals as values.

Also rewrote some string constructions.

svn path=/trunk/; revision=27667
2009-03-09 00:24:21 +00:00
Stig Bjørlykke 04dfb4c8b8 Remove a unused g_strdup().
svn path=/trunk/; revision=27666
2009-03-08 22:57:39 +00:00
Stig Bjørlykke cae81ac405 Don't close the UAT dialog when pressing Apply.
Default to the ok button in the UAT edit dialog.
Append a ":" to the title labels in the edit and delete dialogs.

svn path=/trunk/; revision=27665
2009-03-08 22:56:12 +00:00
Stig Bjørlykke 7870c69a91 Handle a empty string as "0" when checking numeric uat values, because
strtol() will set errno on some platforms and not on other platforms.
With this change we don't need to set a value in DLT_USER header size
and trailer size.

Also remove an unused strdup.

svn path=/trunk/; revision=27664
2009-03-08 22:36:43 +00:00
Stig Bjørlykke b4c2f2044a Don't use ep_strndup() to copy the uat protocol name, because the value
can be free'ed before we use it.  Allocate the string like we do for
other strings and copy/free the memory in the appropriate copy_cb/free_cb
functions.  This is only used in the DLT_USER table yet.

svn path=/trunk/; revision=27663
2009-03-08 22:31:28 +00:00
Bill Meier b663f6d218 Fix File ! Save As on Windows to properly delete an existing file even if the
path\filename contains non-ascii characters.

svn path=/trunk/; revision=27662
2009-03-08 22:19:49 +00:00
Bill Meier 8837679be0 Fix ws_stdio_unlink so it works properly on WIndows for all Unicode filenames.
- Essentially: ws_stdio_unlink would fail trying to delete
   any path\filename containing a Unicode character which could not be mapped
   to the "system codepage" (ie: to a character encoded with a value of 1-255).
   For example: ws_stdio_unlink was not able to delete a path\filename 
   containing the character U+210B.
- The problem: A copy/paste of the wrong (non-Windows) portion of the GLib 
  g_unlink code was done when file_util.c was created.
- The solution: replace the ws_stdio_unlink code with the correct code
   copied from the Glib g_unlink function.

svn path=/trunk/; revision=27661
2009-03-08 22:12:13 +00:00
Ulf Lamping bb3b362089 add "PPP/SLIP" to the dialup interfaces
svn path=/trunk/; revision=27660
2009-03-08 19:38:24 +00:00
Bill Meier df62772320 Change a a remaining eth_fopen to ws_fopen (used only under an #if debug).
svn path=/trunk/; revision=27659
2009-03-08 16:28:20 +00:00
Gerald Combs 5680291761 [Automatic manuf update for 2009-03-08]
svn path=/trunk/; revision=27657
2009-03-08 15:03:31 +00:00
Stig Bjørlykke 64f6a06d64 Set correct svn:keywords and svn:eol-style.
svn path=/trunk/; revision=27656
2009-03-08 14:23:30 +00:00
Jaap Keuter dc0426a532 Redesign GeoIP information presentation.
svn path=/trunk/; revision=27655
2009-03-08 14:11:01 +00:00
Stig Bjørlykke e39edbb176 From Peter (bug 3314):
Fixed some 'longjmp' issues.

svn path=/trunk/; revision=27654
2009-03-08 14:00:09 +00:00
Stig Bjørlykke f586fd5a93 Implemented edit dialogs for integer, string and range values in
the submenu containing the preferences for the protocol.

svn path=/trunk/; revision=27653
2009-03-08 13:19:49 +00:00
Stig Bjørlykke 089622fe33 Indicate hexadecimal preferences.
svn path=/trunk/; revision=27652
2009-03-08 12:00:14 +00:00
Stig Bjørlykke 4c4666e4a7 Indicate hexadecimal preferences.
svn path=/trunk/; revision=27651
2009-03-08 11:57:44 +00:00
Stig Bjørlykke 2445e38d88 Indicate hexadecimal preferences.
svn path=/trunk/; revision=27650
2009-03-08 11:55:44 +00:00
Jaap Keuter 01de8873c9 Trying to fix the build on non-Win32 platforms.
svn path=/trunk/; revision=27649
2009-03-08 11:00:46 +00:00
Anders Broman 46e3b3218f Get rid of more code related to the Clist removal.
svn path=/trunk/; revision=27648
2009-03-08 08:40:20 +00:00
Anders Broman a9103bb14f Get rid of another Clist.
svn path=/trunk/; revision=27647
2009-03-08 01:01:58 +00:00
Anders Broman 646aafff35 Fix "ansi_a_stat.c:314: warning: unused variable ‘default_titles’"
svn path=/trunk/; revision=27646
2009-03-07 23:06:38 +00:00
Anders Broman 163e832800 Get rid of another Clist.
svn path=/trunk/; revision=27645
2009-03-07 21:14:28 +00:00
Bill Meier a910aed306 gettext library setup: Fix a bug and adjust config slightly for win32 so
gettext setup works the way I think was intended.

svn path=/trunk/; revision=27644
2009-03-07 18:48:25 +00:00
Stig Bjørlykke c2e2fa98b5 Use UAT_FLD_PATHNAME for paths.
svn path=/trunk/; revision=27643
2009-03-07 14:39:39 +00:00
Stig Bjørlykke 90f6c29b8c Move packet-pres.c to dirty ASN.1 dissectors until we fix the warning
for data_ptr in uat_new().

svn path=/trunk/; revision=27642
2009-03-07 10:27:37 +00:00