aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2011-07-04From Michael Mann:Anders Broman4-9/+22
Added ability to display UTC time or UTC time with date. I liked having the difference between UTC and local time, not just setting local=UTC. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2629 svn path=/trunk/; revision=37898
2011-07-02Log:Bill Meier1-17/+8
Fix incorrect usage of gtk_radio_button_new_with_label()/gtk_radio_button_get_group(); Use gtk_radio_button_new_with_label_from_widget(). Essentially: gtk_radio_button_get_group() must be called after each gtk_radio_button_new...() before using the 'group' GSList pointer in another call to gtk_radio_button_new...(). In these cases the incorrect usage appears to only have resulted in allowing multiple radio buttons to be activated simultaneously. (In at least one case elsewhere, the incorrect usage resulted in a Wireshark crash). svn path=/trunk/; revision=37871
2011-07-02Remove 3 lines of code no longer needed after SVN #37869Bill Meier1-3/+0
svn path=/trunk/; revision=37870
2011-07-02Fix incorrect usage of ↵Bill Meier1-14/+8
gtk_radio_button_new_with_label()/gtk_radio_button_get_group(); Use gtk_radio_button_new_with_label_from_widget(). Essentially: gtk_radio_button_get_group() must be called after each gtk_radio_button_new...() before using the 'group' GSList pointer in another call to gtk_radio_button_new...(). In these cases the incorrect usage appears to only have resulted in allowing multiple radio buttons to be activated simultaneously. (In at least one case elsewhere, the incorrect usage resulted in a Wireshark crash). svn path=/trunk/; revision=37869
2011-07-02Whitespace cleanup (trailing spaces).Bill Meier1-26/+26
svn path=/trunk/; revision=37868
2011-07-02Fix: Wireshark crashes after repeating "File -> Import -> Cancel"Bill Meier1-15/+9
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6080 Apparently gtk_radio_button_get_group() must be called after each addition to the group before the 'group' GSList pointer can be used again in, for example, a call to get_radio_button_new_with_label(). (Where does it say this in the GTK docs ? It does make sense, tho, given the way GSLists work). We'll use gtk_radio_button_new_with_label_from_widget() instead to let GTK handle the grouping. svn path=/trunk/; revision=37867
2011-07-02avoid warning about old style function definitionJörg Mayer1-1/+1
svn path=/trunk/; revision=37863
2011-07-01Renamed "___tmp_color_filter___" to "___conversation_color_filter___"Stig Bjørlykke1-1/+1
in the coloring rule name to better describe where it comes from. svn path=/trunk/; revision=37859
2011-07-01From spamlookup via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6083:Chris Maynard1-2/+2
Fix compile error introduced with r37830. svn path=/trunk/; revision=37851
2011-06-30Remove all interfaces when available.Michael Tüxen1-41/+40
Add a missing g_strdup. svn path=/trunk/; revision=37843
2011-06-30Fix memory leak.Jakub Zawadzki1-0/+1
svn path=/trunk/; revision=37841
2011-06-30Undo r37833 in favor of Sake's changes to be committed at some future date.Chris Maynard1-1/+1
svn path=/trunk/; revision=37839
2011-06-29Based on user feedback from Sharkfest '11, make the default choice when ↵Chris Maynard1-1/+1
saving or printing packets apply to only displayed packets and not all packets. svn path=/trunk/; revision=37833
2011-06-29Added a preference to turn of capture filter syntax check.Stig Bjørlykke2-3/+18
This can be used to disable the effect in bug 5356. svn path=/trunk/; revision=37830
2011-06-29Cleanup whitespaces/indentation.Michael Tüxen1-54/+54
svn path=/trunk/; revision=37827
2011-06-28Add $(GENERATED_H_FILES) to libui_a_SOURCES.Stig Bjørlykke1-0/+1
svn path=/trunk/; revision=37819
2011-06-28Add a missing dependency for text_import_scanner_lex.hStig Bjørlykke1-0/+1
svn path=/trunk/; revision=37817
2011-06-28Use the generated header file from Guy's Flex front-end script from Stig Bjørlykke3-0/+7
revision 22446 for text_import_scanner. svn path=/trunk/; revision=37815
2011-06-28Replace all strerror() with g_strerror().Stig Bjørlykke14-60/+51
Remove our local strerror implementation. Mark strerror as locale unsafe API. This fixes bug 5715. svn path=/trunk/; revision=37812
2011-06-27Enable the cap_history again. It was temporary disabled a couple of hours ago.Michael Tüxen1-24/+14
svn path=/trunk/; revision=37803
2011-06-27From bug 6057:Stig Bjørlykke1-1/+6
Lua API: add support to temporary color filters (10 color slots) svn path=/trunk/; revision=37801
2011-06-27Fix a bug when starting the capture without specifying an interface.Michael Tüxen1-20/+36
The capability history needs to be fixed. svn path=/trunk/; revision=37795
2011-06-27Get rid of old non-interface specific settings which are now interfaceMichael Tüxen5-171/+343
specifc. This finalizes the change of the infrastructure. This patch is based on work by Irene Ruengeler. svn path=/trunk/; revision=37794
2011-06-26Changed adding a new coloring rule to put the new rule at the top of the list.Stig Bjørlykke1-10/+18
This because the user most likely wants to use the new rule right away, and do not want to think about which filters it should be above. This was requested in bug 5669. svn path=/trunk/; revision=37793
2011-06-24Make Wireshark portable to all locales by calling setlocale(). This, along ↵Chris Maynard1-0/+3
with my previous commits in revisions 36160 and 36166 ought to fix the problem that Bartosz Kiziukiewicz first reported on the wireshark-users mailing list here: http://www.wireshark.org/lists/wireshark-users/201103/msg00018.html (I successfully generated Wireshark compare statistics after applying this change and also changing my locale to Polish.) svn path=/trunk/; revision=37779
2011-06-23Whitespace cleanup ...Bill Meier1-393/+393
svn path=/trunk/; revision=37772
2011-06-23Code from Jakub:Stig Bjørlykke1-0/+5
Put the "Filter" back in statistics dialogs, which was removed in r37559. svn path=/trunk/; revision=37770
2011-06-23Fix some of the GTK deprecated functions.Anders Broman1-4/+67
svn path=/trunk/; revision=37766
2011-06-22Make it possible to copy stuff from the welcome header.Anders Broman1-0/+1
svn path=/trunk/; revision=37749
2011-06-22Oops, forgot to revert a variable after a test buildJörg Mayer1-1/+1
svn path=/trunk/; revision=37746
2011-06-21Add the correct casts to make it compile on some old ERHL box.Anders Broman1-4/+4
(Will this finally be correct?) svn path=/trunk/; revision=37742
2011-06-20One small step towards fixing outdated GtkTooltips.Stig Bjørlykke1-3/+39
svn path=/trunk/; revision=37732
2011-06-20Add some statisticsJörg Mayer2-2/+76
svn path=/trunk/; revision=37727
2011-06-20Migration to gtk2 has been completed, delete the status file.Jörg Mayer2-54/+26
Migration to gtk3 has just begun: add a status file. svn path=/trunk/; revision=37726
2011-06-20Add some compiler flags that allow for gtk3 upward compatibilityJörg Mayer1-0/+20
checking while compiling on gtk2. Most are disabled. svn path=/trunk/; revision=37725
2011-06-20GTK3 fixes:Jörg Mayer13-2/+38
- Replace 2 cases where GtkObject was used (no longer exists in GTK3) - Whenever gdkkeysyms.h is included also include gdkkeysyms-compat.h iff we are building against gtk3 svn path=/trunk/; revision=37722
2011-06-19Try to fix bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6029Anders Broman1-1/+1
Wireshark crashes when entering anything in capture filter textbox svn path=/trunk/; revision=37709
2011-06-19UI_MANAGER: #if 0 out add_menu_item as it is not used yet(?).Jörg Mayer2-3/+3
Move menu.c back to the list of clean files. svn path=/trunk/; revision=37707
2011-06-19Mark parameters as unused when MAIN_MENU_USE_UIMANAGER.Anders Broman1-7/+17
svn path=/trunk/; revision=37704
2011-06-19Add missing part of menu.c checkin for UI manager code.Anders Broman2-0/+10
svn path=/trunk/; revision=37703
2011-06-17Add the correct casts to make it compile on some old ERHL box.Anders Broman6-20/+20
svn path=/trunk/; revision=37693
2011-06-13Handle deprecated GtkTooltips.Anders Broman2-5/+15
svn path=/trunk/; revision=37661
2011-06-13Handle deprecated GtkTooltips.Anders Broman1-7/+66
svn path=/trunk/; revision=37660
2011-06-12cfilter can be NULL. Handle this correctly.Michael Tüxen1-6/+8
This should fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6016 svn path=/trunk/; revision=37655
2011-06-10Add some more error checking.Guy Harris1-4/+15
svn path=/trunk/; revision=37648
2011-06-10Make capture dialog compile with GTK3+Anders Broman1-9/+59
svn path=/trunk/; revision=37647
2011-06-10Seemingly this is needed to...Anders Broman1-2/+2
svn path=/trunk/; revision=37646
2011-06-10Add casts to make it compile on some old ERHL box.Anders Broman1-1/+1
svn path=/trunk/; revision=37645
2011-06-10Add a hack to prevent a gcc warning "ignoring return value of 'strtoul'..."Bill Meier1-2/+15
for some gcc configurations (see _FORTIFY_SOURCE). This hack is used instead of storing the result returned by strtoul() in a dummy variable so as to prevent a gcc 4.6 with -Wextra warning: "set but not used ...". TBD: will this hack pass muster with other validators such as Coverity, CLang, & etc ? For much gory detail: see the message thread starting at: http://www.wireshark.org/lists/wireshark-dev/201106/msg00088.html svn path=/trunk/; revision=37642
2011-06-09Add casts to make it compile on some old ERHL box.Anders Broman6-26/+27
svn path=/trunk/; revision=37629