aboutsummaryrefslogtreecommitdiffstats
path: root/version_info.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-20Fix indent (use Tabs)Alexis La Goutte1-15/+15
svn path=/trunk/; revision=50088
2013-06-20Fix warning about CPUInfo in Linux (when use qmake to build qtshark)Alexis La Goutte1-1/+5
../../version_info.c: In function 'get_cpu_info': ../../version_info.c:662:5: warning: pointer targets in passing argument 1 of 'do_cpuid' differ in signedness [-Wpointer-sign] ../../version_info.c:622:1: note: expected 'guint32 *' but argument is of type 'int *' ../../version_info.c:670:5: warning: pointer targets in passing argument 1 of 'do_cpuid' differ in signedness [-Wpointer-sign] ../../version_info.c:622:1: note: expected 'guint32 *' but argument is of type 'int *' ../../version_info.c:672:5: warning: pointer targets in passing argument 1 of 'do_cpuid' differ in signedness [-Wpointer-sign] ../../version_info.c:622:1: note: expected 'guint32 *' but argument is of type 'int *' ../../version_info.c:674:5: warning: pointer targets in passing argument 1 of 'do_cpuid' differ in signedness [-Wpointer-sign] ../../version_info.c:622:1: note: expected 'guint32 *' but argument is of type 'int *' svn path=/trunk/; revision=50087
2013-06-17Added a missing CFRelease.Stig Bjørlykke1-1/+3
svn path=/trunk/; revision=49976
2013-03-24Replace implicit conversions with explicit casts.Guy Harris1-3/+4
svn path=/trunk/; revision=48534
2013-03-21Make internal functions static.Anders Broman1-2/+2
svn path=/trunk/; revision=48465
2013-02-08Try using cpuid also for __x86_64__ if compiled with GCC.Anders Broman1-8/+53
svn path=/trunk/; revision=47567
2013-02-04Fix warning: unused parameter ‘str’ when compiling on a non Windows machinePascal Quantin1-1/+1
svn path=/trunk/; revision=47466
2013-02-04Add CPUBrandString and memory size to VersionInfo on windows if available.Anders Broman1-0/+45
svn path=/trunk/; revision=47465
2013-01-01Welcome in 2013Pascal Quantin1-1/+1
svn path=/trunk/; revision=46882
2013-01-01Add detection of Windows 8 and Windows Server 2012Pascal Quantin1-0/+3
svn path=/trunk/; revision=46881
2012-11-22On UN*X, if an interface has a description, use it as the "friendlyGuy Harris1-11/+2
name". If it doesn't have a description, on OS X, use the System Configuration framework to attempt to get a "friendly name" for interfaces. If a loopback device doesn't have a friendly name, give it "Loopback" as the friendly name. Move the "turn a CFString into a mallocated C string" routine into common code, as it's used in more than one place. svn path=/trunk/; revision=46131
2012-09-25Fix compilation warnings.Gerald Combs1-2/+2
svn path=/trunk/; revision=45133
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45015
2012-09-19Try ServerVersion.plist first, and use ProductName as the OS name; thatGuy Harris1-40/+69
means we report the server as such (and means that if Apple calls it Shiny Happy Puppy X in the future, we'll report it as such...). svn path=/trunk/; revision=45013
2012-09-08OK, fine, g_malloc() and g_free(). We really should be usingGuy Harris1-7/+4
g_try_free(), because, trust me, we *can* handle allocation failures here. svn path=/trunk/; revision=44813
2012-09-08We no longer use Gestalt(), so there's no need to check for it.Guy Harris1-0/+6
We *do*, however, use CFPropertyListCreateWithStream(), so we need to check for it, and, if we're able to use the OS X frameworks at all, use CFPropertyListCreateFromStream() if we don't have CFPropertyListCreateWithStream(). svn path=/trunk/; revision=44812
2012-09-08Mountain Lion marks Gestalt() as deprecated, which causes the build toGuy Harris1-28/+131
fail on Mountain Lion with the default -W flags, but no replacement API was specified. Fall back on dredging information out of /System/Library/CoreServices/SystemVersion.plist; this also lets us get the OS build version. (In theory, we could calculate the OS version from the Darwin version for everything except 10.0: 12.x.x OS X 10.8.x Mountain Lion 11.x.x OS X 10.7.x Lion 10.x.x OS X 10.6.x Snow Leopard 9.x.x OS X 10.5.x Leopard 8.x.x OS X 10.4.x Tiger 7.x.x OS X 10.3.x Panther 6.x.x OS X 10.2.x Jaguar 5.x OS X 10.1.x Puma and could get the build number as "kern.osversion" from sysctl.) svn path=/trunk/; revision=44811
2012-07-05List whether we were compiled with LIBNL or not (including which majorJeff Morriss1-0/+12
version). svn path=/trunk/; revision=43574
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-02-20Jose Pedro Oliveira: get_os_version_info() is more apropriate for shb_osAnders Broman1-9/+19
svn path=/trunk/; revision=41086
2012-01-01Happy New Year!Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=40353
2011-11-07Change the use of threads from "mostly always, depending on yourGerald Combs1-5/+0
configure options and Gtk+ and GLib versions" to "always". svn path=/trunk/; revision=39751
2011-09-21Fix ex "modeline" so it works;Bill Meier1-1/+1
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748 svn path=/trunk/; revision=39081
2011-09-02Update some comments, including a new URL, and add an additionalGuy Harris1-5/+9
comment. svn path=/trunk/; revision=38874
2011-08-23Remove support for libpcre, we use GRegex in GLib.Stig Bjørlykke1-4/+0
svn path=/trunk/; revision=38683
2011-07-16Provide information regarding thred support.Michael Tüxen1-0/+5
svn path=/trunk/; revision=38058
2011-07-11In version_info.c, assume we always have the "matches" operator. InGerald Combs1-6/+0
capture_opts.c, assume our output filename has been passed through arg_list_utf_16to8(). svn path=/trunk/; revision=37974
2011-06-29Show locale in version info (if !win32).Stig Bjørlykke1-0/+11
This may help us identifying bugs related to locale. svn path=/trunk/; revision=37829
2011-06-28Replace all strerror() with g_strerror().Stig Bjørlykke1-1/+1
Remove our local strerror implementation. Mark strerror as locale unsafe API. This fixes bug 5715. svn path=/trunk/; revision=37812
2011-06-11The "shared by every program in the Wireshark suite, including dumpcap"Guy Harris1-8/+0
version information doesn't include Python version information (only programs using libwireshark have that) or GeoIP version information (ditto). Don't include headers required only for that information; hopefully this will keep dumpcap from requiring the Python library on Windows. svn path=/trunk/; revision=37650
2011-05-23(Trivial) Testing _MSC_FULL_VER can be done at compile time.Bill Meier1-15/+17
svn path=/trunk/; revision=37366
2011-01-16Fix a Windows compiler warning;Bill Meier1-8/+8
Minor whitespace cleanup. svn path=/trunk/; revision=35563
2011-01-01New Year.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=35322
2010-12-01Fix bug #5453 "Help->About Wireshark mis-reports OS" (again) without the ↵Stephen Fisher1-1/+12
help of MSDN code fragments. svn path=/trunk/; revision=35090
2010-12-01Back out r35084 since it contains code fragments from MSDN, which are coveredStephen Fisher1-10/+1
under the "Microsoft Limited Public License" apparently. svn path=/trunk/; revision=35085
2010-11-30Fix bug #5453: Use GetSystemNativeInfo() function if found on the machine ↵Stephen Fisher1-1/+10
running Wireshark instead of GetSystemInfo(), so that we obtain the machine's actual architecture even when running under WOW64 x86 emulation. svn path=/trunk/; revision=35084
2010-10-21Fixed "Compiled with" information in the About box.Stig Bjørlykke1-3/+7
svn path=/trunk/; revision=34601
2010-08-31A GString has it's own length.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=34034
2010-07-15More information on getting the distribution name and release.Guy Harris1-0/+29
svn path=/trunk/; revision=33545
2010-07-15More details on getting the distribution name and version on Linux.Guy Harris1-1/+15
svn path=/trunk/; revision=33543
2010-07-15On OS X, give the OS version asGuy Harris1-3/+25
Mac OS X 10.x.y (Darwin a.b.c) rather than as Darwin a.b.c (Mac OS X 10.x.y) and also note that, on Linux, the lsb_release command might be able to give you the *distribution* name and version. svn path=/trunk/; revision=33542
2010-07-15Don't include headers we don't need (they might be generating externalGuy Harris1-8/+0
references to functions in libraries with which we're not necessarily being linked). svn path=/trunk/; revision=33535
2010-07-15Move the code to get version information for libraries used byGuy Harris1-129/+0
libwireshark into libwireshark, and call it only in programs linked with libwireshark. That way, programs that don't link with libwireshark don't have to link with libgcrypt or libgnutls solely so that they can say that they're linked with a particular version of libgcrypt or libgnutls. Don't link dumpcap with libgcrypt or libgnutls any more. svn path=/trunk/; revision=33531
2010-05-25From H.sivank: GtkOSXApplication support.Guy Harris1-3/+3
Call the various flavors of OS X integration just "OS X integration", not anything with "IGE" in it - it appears that, in some places, "ige-mac-integration" refers only to the older Carbon-based functions, although the library still appears to be called -ligemacintegration. Update the URLs for the information about the OS X integration libraries. Clean up help message for --with-pcap-remote. Clean up white space a bit. Speaking of white space, it's "Mac OS X", not "MacOS X". svn path=/trunk/; revision=32941
2010-05-19Detect clang and llvm-gcc.Guy Harris1-0/+6
svn path=/trunk/; revision=32905
2010-05-15Bruno Matos <bruno.matos@gmail.com>Jörg Mayer1-4/+4
In version_info.c file, if we put the Python include in first place we remove the warning/error "_POSIX_C_SOURCE redefined", as in this article: http://bytes.com/topic/python/answers/30009-warning-_posix_c_source-redefined . I had problems with CMake build. svn path=/trunk/; revision=32824
2010-04-24Tell, in the version info, if we were compiled 32- or 64-bit.Jeff Morriss1-0/+5
svn path=/trunk/; revision=32548
2010-04-19Disable usage of zlibVersion() on win32.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=32511
2010-04-17From Richard Brodie via bug 4606:Stig Bjørlykke1-0/+5
Display runtime version for libz, as well as build version. svn path=/trunk/; revision=32502
2010-01-01Happy New Year!Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=31396