summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2013-06-01Update various warning-option lists to match what the configure scriptGuy Harris1-19/+14
adds by default. svn path=/trunk/; revision=49670
2013-06-01Move -Wlogical-op to list of standard compiler flags for c-only.Jörg Mayer1-1/+1
svn path=/trunk/; revision=49668
2013-05-22capture_unix_ifnames.c is gone.Guy Harris1-1/+1
svn path=/trunk/; revision=49490
2013-05-14Suppress warnings when using Apple's C compiler.Michael Tüxen1-2/+4
svn path=/trunk/; revision=49305
2013-05-07Move common code into UseAsn2Wrs.cmake.Jörg Mayer1-0/+1
Include the new file. Use the new file. Add cmake support to rebuild the gsm_map dissector. svn path=/trunk/; revision=49194
2013-05-01Sort the list of packages to make it easier to check results.Jörg Mayer1-0/+3
svn path=/trunk/; revision=49107
2013-05-01- Fix logic for finding packages with differing Find-nameJörg Mayer1-19/+22
and returned variable-names: Old: Provide the var name and adapt the find-name New: Provide the find-name and adapt the var name This allows for different packages with the same var name. This chage effects Qt4 and PythonInterp. - Replace self created FindPYTHON with cmake provided FindPythonLibs. svn path=/trunk/; revision=49105
2013-05-01Our scripts do ont work with python3, so only pick up a python2Jörg Mayer1-1/+5
executable. Reported on #wireshark by McEnroe svn path=/trunk/; revision=49102
2013-04-28Fix suspected copy-and-pasteo.Guy Harris1-1/+1
svn path=/trunk/; revision=49078
2013-04-25Add Qt5 build support with cmake. Just do cmake ... -DENABLE_QT5=ON ...Jörg Mayer1-4/+20
svn path=/trunk/; revision=49042
2013-04-23Stub cmake support for generating the asn1 dissectors.Jörg Mayer1-0/+1
It doesn't do anything yet, it is just to make svn status readable again. svn path=/trunk/; revision=49007
2013-04-22Mimic autoconf behavior and enable -Wc++-compat by default.Jörg Mayer1-1/+1
svn path=/trunk/; revision=48992
2013-04-22RevertJörg Mayer1-2/+0
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=46575 User: gerald Date: 2012/12/17 01:24 PM Log: Add libui_dirty. This is the autofoo way of solving the problem. Implement the cmake solution (which is used in wiretap/ and other places) which does not require building a separate lib. svn path=/trunk/; revision=48976
2013-04-21Use -Wshadow in cmake buildsJörg Mayer1-0/+1
svn path=/trunk/; revision=48949
2013-03-06Merge asn2deb and idl2deb from official Debian packageBalint Reczey1-0/+6
svn path=/trunk/; revision=48133
2013-03-02Revert "Make Solaris Studio hide internal shared library symbols by default"Balint Reczey1-6/+1
This reverts commit r48020. svn path=/trunk/; revision=48022
2013-03-02Make Solaris Studio hide internal shared library symbols by defaultBalint Reczey1-1/+6
svn path=/trunk/; revision=48020
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey1-11/+3
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
2013-02-28Export libwsutil symbols using WS_DLL_PUBLIC defineBalint Reczey1-1/+8
This change replaces *.def and *.sym file usage following the guideline at http://gcc.gnu.org/wiki/Visibility svn path=/trunk/; revision=47938
2013-02-25Add dumpabi targets to CMake buildsBalint Reczey1-0/+2
Also update automake generated targets to match CMake generated ones svn path=/trunk/; revision=47879
2013-02-02Reflect the move of recent.c to the ui directory.Guy Harris1-1/+0
svn path=/trunk/; revision=47439
2013-01-18Use CMAKE_VERSION for the Info.plist comment.Gerald Combs1-1/+1
svn path=/trunk/; revision=47152
2013-01-18Generate Info.plist using CMake and enable it in QtShark.pro. Update the dates.Gerald Combs1-0/+8
svn path=/trunk/; revision=47143
2012-12-21Move common time shifting code to ui/time_shift.[ch]. Change theGerald Combs1-1/+1
shifting routines to return an error message on failure or NULL on success. Prettify and simplify the layout of the GTK+ time shift dialog. Make the cancel button work as expected. Add a time shift dialog to the Qt port. I used a Mad Lib (sentence) layout. Hopefully that won't make translation too difficult. For some reason time shifts aren't immediately shown in the packet detail. This appears to be a bug in the packet list / packet detail code. Add warning role color definitions to tango_colors.h and use them. svn path=/trunk/; revision=46680
2012-12-21Use pcapio routines. This concludes the preperation forMichael Tüxen1-0/+1
adding pcapng support. svn path=/trunk/; revision=46673
2012-12-18text2pcap needs only the wsutil lib, not the wiretap lib (as far as I can see).Michael Tüxen1-1/+1
svn path=/trunk/; revision=46600
2012-12-17Add libui_dirty.Gerald Combs1-0/+2
svn path=/trunk/; revision=46575
2012-11-22We don't need Cocoa or Core Services for anything.Guy Harris1-7/+7
What we *do* need is: the Application Services framework, for GUI applications; System Configuration, for anything that would try to get interface friendly names; Core Foundation for everything that uses either of those and/or everything that displays system version information. We're currently assuming that the only Apple platform on which we build is OS X, in which case we have the OS X frameworks; update a comment. cfutils.c is part of WIRESHARK_COMMON_SRC, which is included in tshark_FILES; it doesn't need to be included in tshark_FILES. svn path=/trunk/; revision=46147
2012-11-22Link with CoreFoundation and SystemConfiguration and add cfuitils.c onGerald Combs1-4/+14
OS X where needed. Dumpcap, rawshark and tshark don't appear to require Cocoa so remove it. svn path=/trunk/; revision=46144
2012-11-22Add capture_unix_ifnames.c to the list of files needed when building forGuy Harris1-1/+1
UN*X. svn path=/trunk/; revision=46133
2012-11-19From Mike Garratt:Anders Broman1-1/+1
Friendly Names for interfaces on Windows Notes on the changes the patch covers: * if_info_t struct: addition of friendly_name * Dumpcap Interface list format changes: + Win32: "dumpcap -D" shows friendly_name in place of descript if known + All: machine interface "dumpcap -D -Z none" includes friendly_name in the list in addition to the existing parameters * interface_options struct: addition of console_display_name + When an interface name is displayed in a console, it will typically be the console_display_name (instead of name). + console_display_name is used as the basis of the autogenerated temp filenames + console_display_name is typically set to the friendly_name if known, otherwise it is set to the interface name * Enhancements to capture_opts_add_iface_opt() (the function which process -i options). + Can now specify the interface using its name and friendly_name + Interface name matching is case insenstive + Name matching first attempts exact matching, then falls back to prefix matching (e.g. dumpcap -i local) + Validates interface names, instead of blindly sending them off to winpcap/libpcap + Interface specification by number is still supported. * capture_opts_trim_iface() has been refactored: + Instead of repeating a decent chunk of the cost in capture_opts_add_iface_opt(), it calls capture_opts_trim_iface() to specify the interface. * introduction of capture_win_ifnames.[ch] (windows only code) + Implements static function GetInterfaceFriendlyNameFromDeviceGuid() - a windows version independant function to convert an interface guid into its friendly name. Uses published api functions on windows vista and higher, but falls back to unpublished API functions on older windows releases. + void get_windows_interface_friendlyname(/* IN */ char *interface_devicename, /* OUT */char **interface_friendlyname); - extracts the GUID from the interface_devicename, then uses GetInterfaceFriendlyNameFromDeviceGuid() to do the resolution * Auto temp filename generation: + Now uses wireshark_pcapng_* or wireshark_pcap_* depending on file format + Basis temp filename format on console_display_name + Win32: if console_display_name is a windows interface guid, extracts numbers from GUID here (instead of in interface option processing) GUI CHANGES: * Dialog that displays when you click the "Manage Interfaces" button (within Capture Options dialog) has been renamed from "Add new interfaces" to "Interface Management" * ui/gtk/capture_dlg.c: new_interfaces_w variable renamed to interface_management_w * Win32: Local Interfaces tab on Interface Management dialog, shows includes friendly name as far left column * Interface Management dialog defaults to larger size on win32 - so it fits without resizing local interfaces tab * Interface Management dialog now saves preferences when you click the apply button (local hidden interfaces was not persisting across restarts) * Tweaks: "Interface Details" dialog (Interface list->Capture Interfaces -> Details): + "Friendly Name" renamed to "NDIS Friendly Name" + Added "OS Friendly Name" to the top of the list * Win32: The "Capture Interfaces" dialog now shows the friendly name instead of device guid * Welcome screen: + The height of the interface list scrollbox dynamically adjusts & updates to the number visible interfaces. Up to 10 interfaces can be listed without a scroll bar, the minimum height is for 2 interfaces. + Win32: now shows just the Friendly Name if known - in place of "Interfacename_Guid:(Description)" svn path=/trunk/; revision=46083
2012-11-01Fix ui/qt/print_dialog.cpp:228:23: error: variable ‘status’ set but not ↵Jörg Mayer1-1/+7
used [-Werror=unused-but-set-variable] svn path=/trunk/; revision=45864
2012-10-03capinfos needs libwsutil. Explicitely link against it.Jörg Mayer1-0/+1
svn path=/trunk/; revision=45292
2012-10-03Add manpages for reordercapJörg Mayer1-0/+4
svn path=/trunk/; revision=45291
2012-09-28Get rid of HAVE_CONFIG_H for cmake. Fix one case where it was still used.Jörg Mayer1-1/+0
svn path=/trunk/; revision=45191
2012-09-24Update regexes to match the version string changes in r45112.Gerald Combs1-6/+6
svn path=/trunk/; revision=45114
2012-09-24From Jim Young, bug 7745.Martin Mathieson1-1/+19
Add Makefile support for reordercap. svn path=/trunk/; revision=45090
2012-09-18*NIX (autofoo and cmake) part of the fix forJeff Morriss1-30/+41
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6134 : Make VERSION_MAJOR, VERSION_MINOR, and VERSION_MICRO available in config.h so (e.g.) dissector writers can #if around them as necessary to make a piece of code compile with different versions of Wireshark. (Hopefully VERSION_MICRO is not important in this respect!) Windows also defines VERSION_EXTRA which can be used to help identify custom builds; this is not done for these build methods (yet?). svn path=/trunk/; revision=44986
2012-09-15Update CMakeLists to respect the recent libui changes so that wireshark andEvan Huus1-1/+2
qtshark build again. (Also, first commit trying to use bzr as an svn client, so apologies if something unexpected breaks) svn path=/trunk/; revision=44908
2012-09-14Create a common libui using CMake similar to what we do with Autotools.Gerald Combs1-4/+6
Move the GTK+ text import code to the common UI directory. Create wtap_encap_requires_phdr() from code in file_import_dlg.c. svn path=/trunk/; revision=44904
2012-09-06Get netlink detection working with cmake (not complete)Jörg Mayer1-2/+3
svn path=/trunk/; revision=44791
2012-08-24Revert r44644 and 44645. g_source_*, g_timeout_, and g_io_* all dependGerald Combs1-1/+0
on the GLib main loop which isn't portable (unless you want to want to manage the main loop yourself). svn path=/trunk/; revision=44655
2012-08-23Move the pipe input routines to the common UI directory.Gerald Combs1-0/+1
svn path=/trunk/; revision=44644
2012-08-23The proper way to set compiler flags in cmake is not by usingJörg Mayer1-1/+20
add_definitions() but the variables CMAKE_C{,XX}_FLAGS. Set these flags correctly at the toplevel, so no hack in the ui/qt/ subdir is required anymore. svn path=/trunk/; revision=44633
2012-08-23The name configure.in has been deprecated for many years.Jörg Mayer1-2/+2
Use configure.ac instead. svn path=/trunk/; revision=44630
2012-08-19Commit 44474 added some arguments to the ac_init macro that brokeJörg Mayer1-1/+1
extraction of the wireshark version for cmake. Now the version part is either terminated by ")" (old) or "," (added). It looks like .*? does not exist for non-greedy matches in cmake regex. svn path=/trunk/; revision=44570
2012-08-01Move the common parts of iface_lists.[ch] from ui/gtk/ to ui/. Leave theGerald Combs1-0/+1
GTK+-specific parts behind in capture_dlg.c. svn path=/trunk/; revision=44196
2012-07-20WiMAX OFDMA PHY SAP dissector plugin ↵Michael Mann1-0/+1
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2695) svn path=/trunk/; revision=43844
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-28From Pontus Fuchs:Guy Harris1-0/+2
Add an interface monitor that, on Linux distributions with libnl, watches for interfaces to appear or disappear and, on such an event, causes windows showing interface lists to update. svn path=/trunk/; revision=43521