Commit graph

28963 commits

Author SHA1 Message Date
Stig Bjørlykke
f91c46757a Make it build without warnings.
svn path=/trunk/; revision=29706
2009-09-05 11:15:50 +00:00
Kovarththanan Rajaratnam
95ddec4d07 Get rid off GtkTreeModelFilter because the time to sort becomes unbearable when combined with GtkTreeSortable. This means that we now track which frames are visible in the our own packet list store. To do so, we now distinguish between physical and visible rows. All frames are added as physical rows. Only those that passes the display filter are marked as visible.
svn path=/trunk/; revision=29705
2009-09-05 10:36:29 +00:00
Bill Meier
b7bdf3efc1 A few minor revisions:
- if (check_col ...) no longer required;
- Use match_strval when verifying the fcn code;
- Add a missing #ifdef;
- Make a global variable static;
- Fix indentation to be consistent in a few places.

svn path=/trunk/; revision=29701
2009-09-04 18:40:02 +00:00
Bill Meier
3ab20de02b From Rob Casey: Fix for: Incorrect station identifier parsing in Kingfisher dissector
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3946

svn path=/trunk/; revision=29700
2009-09-04 18:18:34 +00:00
Kovarththanan Rajaratnam
314b693828 Rename new_packet_list_reset_dissected to packet_list_reset_dissected
svn path=/trunk/; revision=29699
2009-09-04 17:42:03 +00:00
Michael Tüxen
798b1ecdb2 Cleanup whitespaces.
svn path=/trunk/; revision=29698
2009-09-04 13:23:51 +00:00
Michael Tüxen
471111ffc6 Fix handling of multiple duplicate TSNs.
svn path=/trunk/; revision=29697
2009-09-04 13:10:59 +00:00
Michael Tüxen
648bdb564b Fix compilation.
svn path=/trunk/; revision=29696
2009-09-04 12:52:28 +00:00
Michael Tüxen
56366dcb59 From Irene Ruengeler: Show duplicate TSNs in SACKs.
svn path=/trunk/; revision=29695
2009-09-04 12:42:22 +00:00
Jörg Mayer
a3c38e1057 Include "proto.h" instead of <proto.h>
svn path=/trunk/; revision=29694
2009-09-04 11:48:04 +00:00
Anders Broman
e99983ab3a From Vincent Helfre:
Dissect_ccch does not dissect sys info content.
Me: Remove check_col.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3901

svn path=/trunk/; revision=29693
2009-09-04 11:06:52 +00:00
Anders Broman
f0ea776605 From : Didier Gautheron
Addresse hash is slow on little endian CPU.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3973

svn path=/trunk/; revision=29692
2009-09-04 10:53:37 +00:00
Gerald Combs
266c357d81 Start the feature list for 1.4.
svn path=/trunk/; revision=29691
2009-09-03 18:15:23 +00:00
Kovarththanan Rajaratnam
4930802fa1 Only store the last column as G_TYPE_POINTER. Hopefully this will soon make us able to sort again
svn path=/trunk/; revision=29690
2009-09-03 17:56:57 +00:00
Kovarththanan Rajaratnam
5a8df08491 Add packet_list_visible_record() to avoid poking PacketListRecord in new_packet_list.c
svn path=/trunk/; revision=29689
2009-09-03 17:39:42 +00:00
Kovarththanan Rajaratnam
8a33ec23bb Allocate and use an extra column at the end of the column list to indicate the 'magic' column which contains the _entire_ PacketListRecord
svn path=/trunk/; revision=29688
2009-09-03 17:00:17 +00:00
Martin Mathieson
efd2ed4b51 Show UEId in info column for UL-SCH / DL-SCH frames.
svn path=/trunk/; revision=29687
2009-09-03 16:42:16 +00:00
Kovarththanan Rajaratnam
6be0e11906 Remove superfluous assignment
svn path=/trunk/; revision=29686
2009-09-03 14:41:09 +00:00
Kovarththanan Rajaratnam
bd69669e1d Make sure that we stop auto scroll if we start scrolling manually.
Caveat: we jump to first frame when auto scroll is stopped

svn path=/trunk/; revision=29685
2009-09-03 14:32:11 +00:00
Stig Bjørlykke
7b5da30392 Read column widths from recent file also for new packet list.
svn path=/trunk/; revision=29684
2009-09-03 11:37:12 +00:00
Stig Bjørlykke
7d2c55dc47 Adjusted int/uint check and fixed a comment in right justify check.
svn path=/trunk/; revision=29683
2009-09-03 10:50:30 +00:00
Stig Bjørlykke
b462cace92 Right justify "Packet length", "Cumulative bytes" and custom columns
displaying numerical values.

svn path=/trunk/; revision=29682
2009-09-03 10:40:06 +00:00
Anders Broman
865d14c43f Right align COL_NUMBER.
svn path=/trunk/; revision=29681
2009-09-03 05:35:21 +00:00
Anders Broman
7b916257bd Don't set the minimum column width to the computed or stored value,
use a fixed minimum value and use the other as the size used to display the column.

svn path=/trunk/; revision=29680
2009-09-03 05:03:57 +00:00
Stig Bjørlykke
36e4c964fa Also deactivate and activate menu for recent.gui_time_precision.
svn path=/trunk/; revision=29679
2009-09-02 21:04:41 +00:00
Kovarththanan Rajaratnam
b0d1651885 Make sure that we deactivate before activating in menu_recent_read_finished(). This fixes a crash due to recent.gui_time_format being invalid (-1). Please review whether this is a correct fix
svn path=/trunk/; revision=29678
2009-09-02 19:56:39 +00:00
Kovarththanan Rajaratnam
47b766a998 Only try and select the last row if not already selected. This fix doesn't seem to work. Any suggestions?
svn path=/trunk/; revision=29677
2009-09-02 19:31:56 +00:00
Michael Tüxen
86cf763175 Add --enable-new-packet-list to configure script. Default
is no for now. Should be kept in sync with the corresponding
Windows switch.

svn path=/trunk/; revision=29676
2009-09-02 19:16:59 +00:00
Michael Tüxen
283a4997ba Mark unused parameter as such.
svn path=/trunk/; revision=29675
2009-09-02 19:15:02 +00:00
Anders Broman
d1b6cefef4 Use new_packet_list_colorize_packets() where cf_colorize_packets();
is used.

svn path=/trunk/; revision=29674
2009-09-02 18:18:57 +00:00
Anders Broman
d96beaaecb Trying to fix:
packets without color are randomly colorized.

svn path=/trunk/; revision=29673
2009-09-02 17:59:56 +00:00
Anders Broman
012a6c12e4 Adding new color rules should work now.
svn path=/trunk/; revision=29672
2009-09-02 17:52:14 +00:00
Anders Broman
cdd2959aa5 Adding new color rules should work now.
svn path=/trunk/; revision=29671
2009-09-02 17:51:48 +00:00
Kovarththanan Rajaratnam
bc36849a9e Add seperate new_packet_list_moveto_end() which scrolls to the end _without_ selecting the last packet.
svn path=/trunk/; revision=29670
2009-09-02 17:29:52 +00:00
Ronnie Sahlberg
06d5136beb Add initial support to decode the ADIP and PhysicalInformation for MMC
media


svn path=/trunk/; revision=29669
2009-09-02 17:24:52 +00:00
Kovarththanan Rajaratnam
6149d4be35 Make sure that we select the last row if autoscroll is enabled. The scrolling is still very jumpy. It seems that we always select the first packet before moving to the end.
svn path=/trunk/; revision=29668
2009-09-02 17:15:20 +00:00
Martin Mathieson
2ef4429761 Add Semi-Persistent Scheduling (SPS) RNTI.
svn path=/trunk/; revision=29667
2009-09-02 16:39:39 +00:00
Jörg Mayer
d26cdc30ea Beginnings of getting cmake to build stuff in epan.
It's only beginnings, so epan is commented out in
the subdirs statement.

This is more a synch to avoid duplicate work and creating
conflicting patches to the cmake stuff.

svn path=/trunk/; revision=29666
2009-09-02 16:33:01 +00:00
Jörg Mayer
822d0a2242 No need to include packet-frame.h
svn path=/trunk/; revision=29665
2009-09-02 15:52:11 +00:00
Anders Broman
1858d86612 Prepare abillity to add color filters with new packet list.
(Packets not recolored yet).

svn path=/trunk/; revision=29664
2009-09-02 15:07:03 +00:00
Anders Broman
8035954712 Didier Gautheron:
Expert info clean up.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3971

svn path=/trunk/; revision=29663
2009-09-02 05:48:38 +00:00
Guy Harris
5dd678f0a7 Check whether "size" points to something positive, not whether "size"
itself is positive (which makes no sense for a pointer).

svn path=/trunk/; revision=29661
2009-09-01 19:31:41 +00:00
Kovarththanan Rajaratnam
2a5826d250 Define some windows specific header files
svn path=/trunk/; revision=29660
2009-09-01 19:27:59 +00:00
Kovarththanan Rajaratnam
f4c7321fc4 Check for mkdtemp()
svn path=/trunk/; revision=29659
2009-09-01 19:19:41 +00:00
Kovarththanan Rajaratnam
f8f4f0fb6b Remove superfluous NULL pointer checks wrt. g_malloc() and g_realloc()
svn path=/trunk/; revision=29658
2009-09-01 18:44:08 +00:00
Anders Broman
c5c569597b In new_packet_list_append() all we need is in fdata.
svn path=/trunk/; revision=29657
2009-09-01 18:29:11 +00:00
Kovarththanan Rajaratnam
17f010119a From Jakub Zawadzki via. Bug 3330:
* Fix memleak (df->deprecated in dfilter_free())
* Free protocol hash tables on cleanup.
* Free protocols list on cleanup.
* Free memory allocated by fgetline() in parse_services_file()

From me:

* proto.c: set gmc_hfinfo to NULL after free
* proto.c: switch order of g_free() and g_list_remove() in proto_cleanup()

svn path=/trunk/; revision=29656
2009-09-01 18:16:55 +00:00
Bill Meier
95bf560727 Misc cleanup;
- Remove no longer needed usage of check_col();
- Add some defensive coding;
- Change a few guints to gints;
- Add parentheses to a few expressions;
- Use consistent indentation.

svn path=/trunk/; revision=29655
2009-09-01 17:17:14 +00:00
Kovarththanan Rajaratnam
8cba530c81 From Richard Brodie via. Bug 3913:
Free ptr array allocated through proto_find_finfo()

svn path=/trunk/; revision=29654
2009-09-01 17:09:36 +00:00
Kovarththanan Rajaratnam
5b3f74f9d5 We no longer store the column text in our record, so don't ever dereference the record column text pointer. In fact, remove it completely. This could cause a crash.
While there, throw in a few g_assert()'s.

svn path=/trunk/; revision=29653
2009-09-01 16:00:56 +00:00