Commit Graph

24950 Commits

Author SHA1 Message Date
Martin Mathieson 5283264092 Fix bug 2662 (ULMAP HARQ_ULMAP_IE decode error).
From Frank Wang.

I'd prefer to delete wrong code, but we'll see if anyone misses it.















svn path=/trunk/; revision=25675
2008-07-08 16:05:41 +00:00
Bill Meier c18d922045 Fix compile error
svn path=/trunk/; revision=25674
2008-07-08 03:21:54 +00:00
Bill Meier d3fc3b6c3e Fix some simple cases of GTK2 deprecated API usage by using a renamed or equivalent API
gtk_button_box_set_spacing()  ==> gtk_box_set_spacing()

svn path=/trunk/; revision=25673
2008-07-08 02:43:40 +00:00
Bill Meier 44efa0ed2e Fix some simple cases of GTK2 deprecated API usage by using a renamed or equivalent API
gtk_timeout_add()     ==> g_timeout_add
   gtk_timeout_remove()  ==> g_source_remove()

Also: timer callback should return gboolean (not void or gint)

svn path=/trunk/; revision=25672
2008-07-08 02:25:30 +00:00
Bill Meier e1a5e58ac1 Fix benign usage of incorrect symbol in #ifdef
svn path=/trunk/; revision=25669
2008-07-04 12:52:16 +00:00
Guy Harris e82d99d2b4 If we have pcap_free_datalinks(), use it. If not, then, on Windows,
just leak the list returned by pcap_list_datalinks(), as there's no
guarantee that if you have a library built with one version of the
MSVC++ run-time library, and it returns a pointer to allocated data, you
can free that data from a program linked with another version of the
MSVC++ run-time library.  (This is not an issue on UN*X.)

This should fix bug 2677.

svn path=/trunk/; revision=25668
2008-07-04 03:33:00 +00:00
Guy Harris d1275537c0 Get rid of #defines that are no longer being used (we now have a port
range list preference for HTTP, which we initialize to the default list).

svn path=/trunk/; revision=25667
2008-07-03 19:50:15 +00:00
Jeff Morriss e4730dce77 packet-pkcs12-template.c uses the libgcrypt symbol GCRY_CIPHER_RFC2268_40
which, according to:

http://lists.gnupg.org/pipermail/gnupg-devel/2004-February/020779.html

is new to the 1.1.92 release of libgcrypt.  Bump our required version of
libgcrypt from 1.1.42 to 1.1.92 .

svn path=/trunk/; revision=25666
2008-07-03 15:57:34 +00:00
Bill Meier dbc6a778a8 From: Kovarththanan Rajaratnam; Add Windows browse file makefile target
svn path=/trunk/; revision=25665
2008-07-03 00:16:28 +00:00
Anders Broman 9fc3601684 Revert previous change.
svn path=/trunk/; revision=25664
2008-07-02 18:11:27 +00:00
Anders Broman b17f41d62a See if this gets rid of some unused code warnings...
svn path=/trunk/; revision=25663
2008-07-02 16:32:48 +00:00
Guy Harris 1f46ed6f11 COPYING is already put into the tarball; we don't need to add it here.
svn path=/trunk/; revision=25662
2008-07-02 08:50:11 +00:00
Guy Harris 6b1c9b4948 Push EXTRA_DIST entries into the lowest-level Makefile.am available.
svn path=/trunk/; revision=25661
2008-07-02 07:12:42 +00:00
Guy Harris e937ed67bb Put the EXTRA_DIST items for the doc directory in doc/Makefile.am (which
doesn't need to be one of those items).

svn path=/trunk/; revision=25660
2008-07-02 05:08:43 +00:00
Guy Harris 35ce35ebf5 Include the new Makefile.common file.
svn path=/trunk/; revision=25659
2008-07-02 02:18:53 +00:00
Guy Harris 3f215ba230 This directory needs some checkapi love; it's not yet ready for that to
be a default part of the build process, now that we're doing some more
checking.

svn path=/trunk/; revision=25658
2008-07-02 02:00:28 +00:00
Guy Harris 6995b0b392 Combine the cd and the make on one lien for the checkapi rules;
otherwise, the cd runs independently of the make, and the make runs in
the current directory and thus runs another "make checkapi" (forkbomb
los!).

svn path=/trunk/; revision=25657
2008-07-02 01:53:29 +00:00
Guy Harris a04774395f Add Makefile.common files for epan/dfilter and epan/ftypes.
Add checkapi rules to Makefile.am files.

svn path=/trunk/; revision=25656
2008-07-02 01:44:30 +00:00
Guy Harris 40773753ad Get rid of a misleading comment (it says "no need to modify anything
under here", right above a comment that tells you what you need to
modify under there...).

svn path=/trunk/; revision=25655
2008-07-02 01:43:50 +00:00
Guy Harris b5fc663751 libwireshark.def is in the EXTRA_DIST in epan/Makefile.am; we don't need
it in our EXTRA_DIST.

svn path=/trunk/; revision=25654
2008-07-02 01:40:51 +00:00
Guy Harris b6e20d89be Put printf into a separate "termoutput" API group. For most files,
check for it - but not for TShark plugins, as they are expected to
print to the standard output.

svn path=/trunk/; revision=25653
2008-07-01 21:13:32 +00:00
Anders Broman df8081391b Fix bug "iax2 dissector always reports retransmission bit to be false"
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2666

svn path=/trunk/; revision=25652
2008-07-01 21:05:45 +00:00
Anders Broman 8a59a33405 Get rid of some unused code warnings. Hopefully without breaking anything.
svn path=/trunk/; revision=25651
2008-07-01 20:53:22 +00:00
Guy Harris 3d18ce8e87 The intended argument for "-g" was presumably "abort", given Gerald's
checkin comment (that Wiretap routines shouldn't abort the program).

svn path=/trunk/; revision=25650
2008-07-01 20:30:21 +00:00
Guy Harris d299a7f556 Unless I've misread the GetOptions documentation, the "-g" flag to
checkAPIs.pl takes a mandatory string argument, not an optional string
argument.

svn path=/trunk/; revision=25649
2008-07-01 20:28:26 +00:00
Anders Broman f56f92673e Update the ASN.1 files.
svn path=/trunk/; revision=25648
2008-07-01 19:58:01 +00:00
Anders Broman 4cd09cde05 Get rid of some unused code warnings.
svn path=/trunk/; revision=25647
2008-07-01 19:57:03 +00:00
Stig Bjørlykke 673a730de3 Added a new make target, osx-app, to build only the app and not the dmg.
This is usefull when using the app locally.

svn path=/trunk/; revision=25646
2008-07-01 13:39:09 +00:00
Anders Broman bd0598cc55 Get rid of some unused code warnings.
svn path=/trunk/; revision=25645
2008-07-01 12:55:08 +00:00
Anders Broman fbcb77edf8 Get rid of some unused code warnings.
svn path=/trunk/; revision=25644
2008-07-01 12:54:33 +00:00
Guy Harris 64aac645aa unicode-utils.h is in wsutil now.
svn path=/trunk/; revision=25643
2008-07-01 02:57:35 +00:00
Jeff Morriss 3a2848cf46 SET_ADDRESS should not be called with an address type of FT_IPv4 but rather AT_IPv4.
svn path=/trunk/; revision=25642
2008-06-30 18:57:13 +00:00
Jeff Morriss 8980883a4e Move privileges.c and unicode-utils.c symbols from epan to wsutil
svn path=/trunk/; revision=25641
2008-06-30 18:07:34 +00:00
Jeff Morriss 83f9ecf96f Move privileges.c and unicode-utils.c from epan to wsutil (so things like
capinfos and dumpcap don't need to depend on libwireshark nor directly pull
in those modules).  Because capinfos and editcap were only being linked with
privileges.c if we had plugins, this allows those programs to be linked when
someone is compiling --without-plugins.

svn path=/trunk/; revision=25640
2008-06-30 17:16:29 +00:00
Gerald Combs 6d4f9c1eda When we open a debug console on Windows, don't grab stdin. We never read
anything on this particular console, and if we open stdin here we can't
read a capture from an anonymous pipe.

svn path=/trunk/; revision=25638
2008-06-30 16:36:37 +00:00
Jeff Morriss e62c7c54d1 Create the MTP3 TVB (if any) with a reported length that mirrors the reported length of the frame. That way subdissector exceptions on short frames will (properly) show up as 'packet size limited during capture'.
svn path=/trunk/; revision=25637
2008-06-30 15:23:11 +00:00
Jeff Morriss b54acc9ad7 From Abhik Sarkar via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2661 : fix prototypes of tvb_fake_unicode() and tvb_get_ephemeral_faked_unicode()
svn path=/trunk/; revision=25636
2008-06-30 13:46:34 +00:00
Jaap Keuter 98899e9996 Fix for bug 2659:
Account for IPv6 addresses representation in Via header.

svn path=/trunk/; revision=25635
2008-06-30 06:35:22 +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
Sake Blok cd7405c44d From Kovarththanan Rajaratnam (bug 2657):
Resolve accelerator ambiguity in filter toolbar


svn path=/trunk/; revision=25633
2008-06-29 14:59:23 +00:00
Sake Blok 50fa079b11 From Kovarththanan Rajaratnam (bug 2658):
Leading $ will now be propageted to display filter entry (on keyboards
where AltGr needs to be used to enter a '$').


svn path=/trunk/; revision=25632
2008-06-29 12:55:14 +00:00
Michael Tüxen 5429cd6600 * Fix a bug reported by Peter Hertting: Handle more than one integer interface identifier.
* Call parameters parameter.
* List integer interface ranges in range parameters.


svn path=/trunk/; revision=25631
2008-06-29 10:15:41 +00:00
Sake Blok be8956d104 Add accelerator keys for (un)mark all packets
svn path=/trunk/; revision=25630
2008-06-29 09:01:12 +00:00
Sake Blok 9fe2206771 From Kovarththanan Rajaratnam (bug 2652):
Add accelerator keys for Find Next/Previous Reference


svn path=/trunk/; revision=25629
2008-06-29 08:36:24 +00:00
Bill Meier 33af75a599 Fix some warnings reported by gcc -Wshadow ...
svn path=/trunk/; revision=25628
2008-06-28 21:09:57 +00:00
Anders Broman d897f46ed2 Get rid of some unused code warnings.
svn path=/trunk/; revision=25627
2008-06-28 20:58:35 +00:00
Anders Broman c756e273f9 Get rid of some unused code warnings.
svn path=/trunk/; revision=25626
2008-06-28 20:53:13 +00:00
Anders Broman 36916d5ac5 Add som missing extension IE's and try to get rid of som unused code warnings.
svn path=/trunk/; revision=25625
2008-06-28 20:31:56 +00:00
Anders Broman 028c6a75bd To handle 64 bit constraints we also need to change FT_UINT32 to FT_UINT64
svn path=/trunk/; revision=25624
2008-06-28 19:25:15 +00:00
Anders Broman 09a741cb17 Add FT_INT64 to IS_FT_INT and FT_UINT_64 to IS_FT_UINT.
svn path=/trunk/; revision=25623
2008-06-28 17:23:07 +00:00