Commit Graph

26889 Commits

Author SHA1 Message Date
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
Guy Harris 4a5e0ba2bc More P64 changes.
svn path=/trunk/; revision=27641
2009-03-07 05:18:59 +00:00
Guy Harris 6552d5d5bd More P64 changes.
svn path=/trunk/; revision=27640
2009-03-07 05:13:44 +00:00
Guy Harris 849186ae59 More P64 changes.
svn path=/trunk/; revision=27639
2009-03-07 05:13:12 +00:00
Guy Harris 07addfdcea More P64 changes.
svn path=/trunk/; revision=27638
2009-03-07 05:11:56 +00:00
Guy Harris b2408ca1a3 Squelch warnings - none of those strings will be so long that the
difference between an int and a gsize/size_t matters.

svn path=/trunk/; revision=27637
2009-03-07 05:11:15 +00:00
Guy Harris e6ccfc6944 More P64 stuff.
svn path=/trunk/; revision=27636
2009-03-07 04:47:06 +00:00
Guy Harris 76582cf2e2 Some LLP64 work to get rid of warnings for Win64; this is also good for
LP64.

svn path=/trunk/; revision=27635
2009-03-07 04:40:14 +00:00
Gerald Combs 2731028a0c Fix Win32 build breakage.
svn path=/trunk/; revision=27634
2009-03-07 03:25:01 +00:00
Gerald Combs 8f69ddeb00 Add preliminary support for Win64 compilation. Attempt to use the same
set of makefiles and scripts for each platform as much as possible.

svn path=/trunk/; revision=27633
2009-03-07 01:06:40 +00:00
Stig Bjørlykke b43af91fe0 Added an expert info when dissector is not available.
svn path=/trunk/; revision=27632
2009-03-07 00:31:03 +00:00
Stig Bjørlykke 7ff188128b Added a users context list to map a presentation context identifier to an
object identifier when the capture does not contain a PRES package with a
presentation context definition list for the conversation.

Added a few expert infos.

svn path=/trunk/; revision=27631
2009-03-07 00:28:34 +00:00
Bill Meier 7cf1229160 Fix some usage of deprecated GTK+ functions
svn path=/trunk/; revision=27630
2009-03-06 23:02:27 +00:00
Stig Bjørlykke f5cfccc2e9 Updated to use the title attribute for UAT fields.
svn path=/trunk/; revision=27629
2009-03-06 22:59:33 +00:00
Bill Meier 262f40505a Adjust some indentation; reformat a line or two.
svn path=/trunk/; revision=27628
2009-03-06 22:55:02 +00:00
Bill Meier 8c685a67e7 Rename a variable ('free') so checkAPIs doesn't incorrectly flag it.
svn path=/trunk/; revision=27627
2009-03-06 22:49:27 +00:00
Bill Meier b89f2dd2bc Update a comment
svn path=/trunk/; revision=27626
2009-03-06 22:34:13 +00:00
Stig Bjørlykke d7d058214e From Alexis La Goutte (bug 3308):
Add DHCP(v4 & v6) Option for CAPWAP (RFC5417)

svn path=/trunk/; revision=27625
2009-03-06 19:43:45 +00:00
Jaap Keuter 055a9393b6 From Steve Karg:
BACnet TimeSync message of 12:20 was displayed as 12:20 AM.  
It should have displayed as 12:20 PM.

svn path=/trunk/; revision=27624
2009-03-06 19:25:49 +00:00
Stig Bjørlykke e3224c052e From Petr Sumbera (bug 3309):
Including openssl.h does not seem to be needed, so try removing it.

svn path=/trunk/; revision=27623
2009-03-06 19:03:42 +00:00
Stig Bjørlykke 26424033d3 From Petr Sumbera (bug 3305):
Recognize Solaris Kerberos (which is based on MIT Kerberos).

svn path=/trunk/; revision=27622
2009-03-06 18:56:53 +00:00
Anders Broman 4175480de6 Get rid of a Clist and move the functon to display floats with two decimals to gui_utils.
svn path=/trunk/; revision=27621
2009-03-06 17:16:56 +00:00
Bill Meier 6485cd2d62 From Michael Speck: Fix so compiles with VC6
svn path=/trunk/; revision=27620
2009-03-06 15:41:02 +00:00
Bill Meier 4272291577 Correct bug in heuristic so as to strengthen it a bit.
Specifically: a little research verifies that the correct
 heuristic is: Succeed if the byte at offset 0 is an STX *and* the
 bytes at offset 3/4 correspond to a valid OICQ command.
 The code was actually effectively doing an *or* and thus the
 heuristic was quite weak.

svn path=/trunk/; revision=27619
2009-03-06 00:24:06 +00:00
Stig Bjørlykke db57a3b6fb Use some default true_false_string's.
Fixed a typo.

svn path=/trunk/; revision=27618
2009-03-05 22:29:15 +00:00
Stig Bjørlykke ba6a734bdf Addded tfs_used_notused.
svn path=/trunk/; revision=27617
2009-03-05 22:25:36 +00:00