Commit Graph

27 Commits

Author SHA1 Message Date
Anders Broman e464a9bef9 Fix setting of new time format.
svn path=/trunk/; revision=29212
2009-07-28 10:53:57 +00:00
Anders Broman 9ca4ac2bed From Kovarththanan Rajaratnam:
Use frame_data values .

svn path=/trunk/; revision=29202
2009-07-27 03:34:57 +00:00
Anders Broman f79c2aaeb7 "Create" the time cols when we render them making change of time format fast.
svn path=/trunk/; revision=29200
2009-07-26 22:16:36 +00:00
Anders Broman 3bbe2106c5 From Kovarththanan Rajaratnam:
- Don't issue a row_inserted signal. Rely on our caller to have  
disconnected the model from the view.

-  Removing col_fmt from row_data. It wasn't being used. If we need to store
the column format in the future that should probably be placed in the
PacketList instead of the PacketListRecord
2) Remove double allocation of col_text. Now we allocate it in
new_packet_list_append() and pass it on to packet_list_append_record()
3) Use se_alloc instead of se_alloc0 because we explictly set all the
parameters we use.

svn path=/trunk/; revision=29199
2009-07-26 22:11:46 +00:00
Anders Broman 5fbc5d6f58 From Kovarththanan Rajaratnam:
Only clear packet list store if we need to redissect.

svn path=/trunk/; revision=29195
2009-07-26 10:34:07 +00:00
Stephen Fisher 53ded7dae6 Remove two unused variables and mark a function paramter as unused
svn path=/trunk/; revision=29193
2009-07-25 20:13:46 +00:00
Anders Broman 10e3b340ba From Kovarththanan Rajaratnam:
packet_goto_next_previous_frame

svn path=/trunk/; revision=29191
2009-07-25 09:45:35 +00:00
Anders Broman be084ae799 From Kovarththanan Rajaratnam:
New packet list: enable goto first/last packet (Optimized)

svn path=/trunk/; revision=29190
2009-07-25 07:50:53 +00:00
Stephen Fisher 14852c1384 Update my e-mail address with a reference to the AUTHORS file
svn path=/trunk/; revision=29189
2009-07-25 03:23:37 +00:00
Anders Broman 9feddc7ef4 From Kovarththanan Rajaratnam:
New packet list: enable packet history
Me: Add a comment.

svn path=/trunk/; revision=29188
2009-07-24 21:25:21 +00:00
Anders Broman 9bf46cd286 When using the new packet list select the first packet when the file read is complete. This should take care of the crash when closing WS.
svn path=/trunk/; revision=29186
2009-07-24 08:10:33 +00:00
Anders Broman 213a926bd9 From kovarththanan Rajaratnam:
Pass column_info as a pointer (new packet list).

svn path=/trunk/; revision=29169
2009-07-22 17:35:28 +00:00
Anders Broman 69e79617ef From Jakub Zawadzki:
This patch fix return value in new_packet_list_find_row_from_data when !select

From Me: Change back the cell coloring and remove the horizontal-separator making the colorinjg look the same as in the old packet list.

svn path=/trunk/; revision=29168
2009-07-22 15:23:08 +00:00
Anders Broman 45c1df205f From Jakub Zawadzki:
This patch makes row coloring alike GtkCList version
 (remove white space between cells/columns)

svn path=/trunk/; revision=29166
2009-07-22 08:54:38 +00:00
Anders Broman 7c0fb707a5 Implement new_packet_list_find_row_from_data()
Goto frame should work now.

svn path=/trunk/; revision=29147
2009-07-20 16:09:50 +00:00
Anders Broman 9de6f58cff Redraw the list when color filters are enabled/disabled.
svn path=/trunk/; revision=29144
2009-07-20 11:33:02 +00:00
Anders Broman 30c88f818c Avoid a crash if no color filter exists (SCTP trace).
svn path=/trunk/; revision=29143
2009-07-20 09:06:47 +00:00
Stephen Fisher edc8ae64f1 Introduce packet list coloring for the NEW_PACKET_LIST. One caveat: when
enabling/disabling the coloring of the packet list from the menus, the user
has to drag the mouse cursor over each displayed row to take away/add the
coloring.  Dragging the scroll bar up or down will also take care of this as
only the displayed rows are colored.


svn path=/trunk/; revision=29142
2009-07-20 06:21:35 +00:00
Stephen Fisher 163c8f7761 Change the new packet list to use a cell data function for displaying
values in each column's rows.  This is the first step in adding coloring
rule support and other features.


svn path=/trunk/; revision=29076
2009-07-13 05:27:25 +00:00
Anders Broman 828989fd7b Column index now corresponds to the column in the tree view.
svn path=/trunk/; revision=29075
2009-07-12 19:38:55 +00:00
Anders Broman 052a2b965a Some small fixes from Jakub Zawadzki joined with my efforts
to only store the used columns.

svn path=/trunk/; revision=29065
2009-07-12 09:05:03 +00:00
Anders Broman 0df04dc0fc We are only handling one row at a time(right?).
Shouldn't the row_data_t structures col_text and col_filter just hold the number of columns (cfile.cinfo.num_cols) rather than [NUM_COL_FMTS] with an adittional col_fmt[] all beeing dynamically allocated?

svn path=/trunk/; revision=29025
2009-07-08 16:16:13 +00:00
Anders Broman 4a69751414 gtk_tree_view_set_fixed_height_mode() is GTK 2.6
svn path=/trunk/; revision=28944
2009-07-05 16:22:20 +00:00
Stephen Fisher 5a241cb6ad Allow the new packet list's columns to be moved back
and forth while the packet list is open without having
to go into the preferences.  The new column ordering is
not saved for next time though.  Perhaps it should be.

svn path=/trunk/; revision=28928
2009-07-02 21:06:24 +00:00
Anders Broman f0fbf120f2 Realy make the new packet list compile under Windows...
svn path=/trunk/; revision=28909
2009-07-01 17:39:19 +00:00
Anders Broman 3fe0c34110 Make the new packet list compile on Windows.
svn path=/trunk/; revision=28907
2009-07-01 14:37:02 +00:00
Stephen Fisher e6d0686f7b Introduce experimental new feature: GTK2 tree view based packet list
To use the GTK2 based packet list, define NEW_PACKET_LIST when compiling.
To do this with gcc, set the environment variable CPPFLAGS to
"-DNEW_PACKET_LIST" and re-run configure.

Many features do not yet work.  This work began with prototypes by Ulf
quite a while back.  I've put quite a bit of work into this so far and
as discussed with a few of the core team members at Sharkfest09 and it was
decided that it would be best to commit what I have so far to allow others to
help work on this.


svn path=/trunk/; revision=28892
2009-06-30 18:05:04 +00:00