Commit graph

733 commits

Author SHA1 Message Date
Anders Broman
1cd8b5b0cc Get rid of some GTK_CHECK_VERSION instances by using compabillity macros.
svn path=/trunk/; revision=44186
2012-08-01 13:41:40 +00:00
Gerald Combs
0c3fd84ef5 Adjust the text size on OS X. This introduces an artifact that affects
the expert indicator. Maybe we should use SVG icons instead of PNGs.

svn path=/trunk/; revision=44176
2012-08-01 00:06:21 +00:00
Jeff Morriss
d1bb5b5860 (Attempt to) reflect the file moves from r44165.
svn path=/trunk/; revision=44174
2012-07-31 22:57:04 +00:00
Gerald Combs
6791192b97 Don't overwrite preview item labels.
svn path=/trunk/; revision=44173
2012-07-31 22:12:41 +00:00
Alexis La Goutte
0120281417 Add icon to QtShark.exe for Windows
Fix the patch to the icon..

svn path=/trunk/; revision=44171
2012-07-31 20:50:24 +00:00
Alexis La Goutte
bc77426c97 Add icon to QtShark.exe for Windows
qstshark.rc => qtshark.rc 

svn path=/trunk/; revision=44170
2012-07-31 20:47:07 +00:00
Gerald Combs
3c17d11e7a Make sure splitter handles are visible on Windows.
svn path=/trunk/; revision=44169
2012-07-31 20:46:14 +00:00
Alexis La Goutte
a7ce184f6c Add icon to QtShark.exe for Windows
svn path=/trunk/; revision=44167
2012-07-31 20:42:59 +00:00
Alexis La Goutte
ca5f417aa0 Add icon to Help Menu (Help, Wiki, About)
(Not found a Home icon for Website in Qt framework...)

Add also F1 shortcut for contents and access key

svn path=/trunk/; revision=44166
2012-07-31 20:34:14 +00:00
Gerald Combs
d44f940aaf Add an expert level indicator. Move a bunch of resources to image/.
svn path=/trunk/; revision=44165
2012-07-31 20:00:25 +00:00
Gerald Combs
57110f6e61 Fixup the progress bar spacing.
svn path=/trunk/; revision=44159
2012-07-31 16:57:33 +00:00
Chris Maynard
6d601e9aa5 Add another cast that should have been part of r44025 to fully resolve Coverity CID 703863: Unintentional integer overflow.
svn path=/trunk/; revision=44158
2012-07-31 14:51:06 +00:00
Anders Broman
df0bef704a From Michael Mann:
Expand show version preference.
implementation of Steven's suggestion of a radio button (actually
dropdown) of the 4 possibilities. 

I changed  the default to  have the version on both in
the welcome screen and on the window as that's how it was and people tend not to change the preferences I think.

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

svn path=/trunk/; revision=44153
2012-07-31 07:27:39 +00:00
Gerald Combs
231acd1399 Font size + hint updates for Windows.
svn path=/trunk/; revision=44148
2012-07-31 00:13:34 +00:00
Gerald Combs
0161f2aa88 Try to choose a better default font. Fix a runtime warning in the status
bar.

svn path=/trunk/; revision=44147
2012-07-31 00:00:35 +00:00
Gerald Combs
fc1e1a9d4c Get rid of a couple of focus halos.
svn path=/trunk/; revision=44145
2012-07-30 21:46:38 +00:00
Martin Mathieson
4563416c93 Zoom in/out more slowly, and don't redefine zoom struct.
svn path=/trunk/; revision=44144
2012-07-30 21:40:30 +00:00
Gerald Combs
1475a7a704 Rename "Files" to "Recent Files". Add space between each recent item.
Elide text instead of scrolling horizontally. Add a hover indication.

svn path=/trunk/; revision=44143
2012-07-30 21:36:23 +00:00
Gerald Combs
3392211002 Grow the dialog to account for our added widgets.
svn path=/trunk/; revision=44142
2012-07-30 21:22:53 +00:00
Martin Mathieson
4417fa263a Put back the configure_event() handler - it is needed for handling
resizing.

svn path=/trunk/; revision=44139
2012-07-30 14:42:14 +00:00
Martin Mathieson
c58f4f28c4 Try to unbreak the build.
Apologies, I changed the clock time on my computer and so the file
didn't get rebuilt with the last of my changes...

svn path=/trunk/; revision=44127
2012-07-30 01:54:49 +00:00
Martin Mathieson
1f7e43bdb0 Remove yet more unneeded remnants from tcp_graph.c
svn path=/trunk/; revision=44126
2012-07-30 01:19:27 +00:00
Martin Mathieson
e0d8893362 Don't try to clip the line to the outside of the visible area - let
cairo do it.  The clipping that was done worked properly for horizontal/verical
lines only, but would not for diagonal ones.

svn path=/trunk/; revision=44125
2012-07-29 23:03:50 +00:00
Martin Mathieson
4944c79982 Just let cairo clip lines to the edge of the visible graph area.
tcp_graph.c needlessly does this itself, but it only has to deal with horizonal
and vertical lines....

When have returned to original, unzoomed state, set zoom to be 'in' for
the middle mouse button, as thats all that makes sense.

svn path=/trunk/; revision=44124
2012-07-29 22:53:13 +00:00
Alexis La Goutte
e2cd738ca5 Add link to Ask Wireshark Website ( http://ask.wireshark.org )in Help Menu for GTK
May be add a icon before (use favicon of Ask Website ?)

Backport to older release ?

svn path=/trunk/; revision=44104
2012-07-29 15:02:12 +00:00
Alexis La Goutte
a355040132 It is link Tshark Help not Wireshark (already in bottom !)
#BACKPORT

svn path=/trunk/; revision=44103
2012-07-29 14:51:43 +00:00
Martin Mathieson
ca69ea72a8 Tidy up help window, and get rid of a compile-time option to preserve
the 'old' button settings (used by tcp_graph.c).

svn path=/trunk/; revision=44100
2012-07-29 02:57:37 +00:00
Martin Mathieson
f83953e465 Set maximum zoom on Y axis based upon bounds, so works better if there
isn't an SN=1023 for the channel.

Now I understand the time origin toggle - make it show the capture time
by default now.

svn path=/trunk/; revision=44099
2012-07-29 02:09:37 +00:00
Evan Huus
98bbc5a3d9 Simply #ifdefs slightly in the graph code.
Makes cppcheck happier.

svn path=/trunk/; revision=44092
2012-07-28 15:16:41 +00:00
Martin Mathieson
51fdf55f23 Further speed up drawing of the element list by:
- only setting the colour when it has changed
- only calling cairo_stroke() when we need to rather than after every
  element

These improvements were previously made to rlc_lte_graph.c.  I did look
at trying to extract what these 2 graph modules  had in common, but gave up pretty quickly
when I saw how much they had diverged...

svn path=/trunk/; revision=44087
2012-07-28 02:46:46 +00:00
Martin Mathieson
0a63212cc1 More cleaning up of unused remnants from tcp_graph.c.
svn path=/trunk/; revision=44081
2012-07-27 21:45:21 +00:00
Gerald Combs
5fc656ee46 Add a preview to the common file dialog. Adjust the win32 file dialog
preview logic slightly.

svn path=/trunk/; revision=44080
2012-07-27 21:43:02 +00:00
Jakub Zawadzki
c2764ba5f3 Fix reference counting of GdkPixbuf, unref after creating GtkImage (aka fix memleaks)
Valgrind log:
  = 47,616 bytes in 1 blocks are possibly lost in loss record 41,578 of 41,608
  =    at 0x4C26ABB: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  =    by 0xAA2BA53: gdk_pixbuf_new (in /usr/lib64/libgdk_pixbuf-2.0.so.0.2200.1)
  =    by 0x10379F2F: ??? (in /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so)
  =    by 0x1037A4FD: ??? (in /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so)
  =    by 0xAA3132E: gdk_pixbuf_new_from_xpm_data (in /usr/lib64/libgdk_pixbuf-2.0.so.0.2200.1)
  =    by 0x4589B5: xpm_to_widget (gui_utils.c:572)
  =    by 0x4E3FC4: about_wireshark (about_dlg.c:86)

svn path=/trunk/; revision=44066
2012-07-27 08:49:41 +00:00
Martin Mathieson
348f79931d Limit zoom vertically to around 90 pixels / sequence number.
svn path=/trunk/; revision=44057
2012-07-26 21:16:23 +00:00
Jakub Zawadzki
80721f5498 Fix memleak in window_icon_realize_cb()
gtk_window_set_icon_list() duplicates list so after setting we need
to free generated one.

svn path=/trunk/; revision=44052
2012-07-26 17:23:35 +00:00
Michael Tüxen
685f74c24d Try to make the buildbot without libpcap happy...
svn path=/trunk/; revision=44042
2012-07-26 13:27:18 +00:00
Anders Broman
d20be7ed47 Don't mark used parameters as unused.
Use the function parameter not the global variable.

svn path=/trunk/; revision=44038
2012-07-26 12:23:24 +00:00
Anders Broman
de022f5bed Separate the Capture menu actions from main_menu_bar_entries.
svn path=/trunk/; revision=44036
2012-07-26 09:43:28 +00:00
Jakub Zawadzki
b90fabe60d Make columnized and colorized bit field.
svn path=/trunk/; revision=44034
2012-07-26 09:36:15 +00:00
Jakub Zawadzki
d9b0f40749 Add checks if stamp values matches. Remove packet_list_visible_record
svn path=/trunk/; revision=44033
2012-07-26 09:20:05 +00:00
Jakub Zawadzki
937ea48213 physical_pos is now used only for checks, ifdef it in PACKET_PARANOID_CHECKS to save some memory
svn path=/trunk/; revision=44032
2012-07-26 09:19:52 +00:00
Jakub Zawadzki
c5bc6afb0c Exploit short-circuit evaluation, so first check variable, later call function
svn path=/trunk/; revision=44031
2012-07-26 09:19:37 +00:00
Jakub Zawadzki
83821d08b3 Move checks outside loop
svn path=/trunk/; revision=44030
2012-07-26 09:19:22 +00:00
Jakub Zawadzki
5d14f7e7f2 Pass record to packet_list_change_record() not physical_pos
svn path=/trunk/; revision=44029
2012-07-26 09:19:03 +00:00
Chris Maynard
e49240205d Fix Coverity CID's 703862-703863: Unintentional integer overflow.
svn path=/trunk/; revision=44025
2012-07-26 02:42:40 +00:00
Jakub Zawadzki
b3ac15f492 Fix buildbot warning: variable `fdata' set but not used [-Werror=unused-but-set-variable]
svn path=/trunk/; revision=44007
2012-07-25 19:25:23 +00:00
Jakub Zawadzki
6349999757 Allocate col_text & col_text_len only for columns not based on frame_data
svn path=/trunk/; revision=44006
2012-07-25 18:01:42 +00:00
Jakub Zawadzki
59de6c3a8f Remove packet_list->column_types
svn path=/trunk/; revision=44005
2012-07-25 18:00:38 +00:00
Jakub Zawadzki
fce74c732b Make PacketListRecord structure private.
svn path=/trunk/; revision=44004
2012-07-25 17:59:56 +00:00
Martin Mathieson
e1258c6e15 Remove handlers for a couple of events we're not interested in.
svn path=/trunk/; revision=44002
2012-07-25 17:18:36 +00:00