aboutsummaryrefslogtreecommitdiffstats
path: root/version_info.c
AgeCommit message (Collapse)AuthorFilesLines
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
2009-12-21Switch to using a bundled version of the openSUSE Build Service packagesGerald Combs1-4/+0
for GNUTLS since they provide 32-bit and 64-bit Windows packages. We no longer have winposixtype.h, so remove its #includes and add a ssize_t typedef to config.h.win32. svn path=/trunk/; revision=31341
2009-12-18If we don't have PCRE and we do have GLib >= 2.14, use GRegexes for theGerald Combs1-1/+1
"matches" operator. svn path=/trunk/; revision=31302
2009-09-17Fix typo in comment.Guy Harris1-1/+1
svn path=/trunk/; revision=29955
2009-09-16Fix a typo.Bill Meier1-2/+2
svn path=/trunk/; revision=29951
2009-09-16Add info as to 32/64 bit and also if "Windows 7" to runtime version info.Bill Meier1-9/+38
svn path=/trunk/; revision=29950
2009-07-22Use "svn info" to fetch the version by default. Fetch the repository path asGerald Combs1-1/+1
well. Add the repository path to the version strings. svn path=/trunk/; revision=29171
2009-05-31From Kovarththanan Rajaratnam's patch in bug 3500:Stig Bjørlykke1-0/+14
Added info about python version. svn path=/trunk/; revision=28543
2009-04-01The second argument to Gestalt() is an SInt32, which, for backwardsGuy Harris1-5/+5
compatibility reasons, is a long rather than an int in ILP32 mode (probably dating back to the old 68000 days, when 32-bit arithmetic was slower than 16-bit arithmetic, so an int was 16 bits and a long 32 bits on some 68K machines) and is an int in LP64 mode. svn path=/trunk/; revision=27921
2009-01-08display runtime versions of GnuTLS and Gcrypt librariesTomas Kukosa1-0/+10
svn path=/trunk/; revision=27194
2009-01-08We had a roll-over of the calendar thingy.Jaap Keuter1-1/+1
svn path=/trunk/; revision=27190
2008-12-30Check in a modified version of Jaap's patch in bug 3162. This should fixGerald Combs1-0/+5
compilation under Visual C++ 6.0. svn path=/trunk/; revision=27136
2008-12-19Rename geoip.[ch] to geoip_db.[ch] so we don't collide with GeoIP.h. RenameGerald Combs1-1/+1
some functions to match. Add GeoIP lookups to the IP dissector. Add a preference for GeoIP lookups, which is disabled by default. svn path=/trunk/; revision=27063
2008-12-13Detect Windows Server 2008 in the runtime version info.Stig Bjørlykke1-3/+6
svn path=/trunk/; revision=26979