aboutsummaryrefslogtreecommitdiffstats
path: root/version_info.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix indent (use Tabs)Alexis La Goutte2013-06-201-15/+15
| | | | svn path=/trunk/; revision=50088
* Fix warning about CPUInfo in Linux (when use qmake to build qtshark)Alexis La Goutte2013-06-201-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
* Added a missing CFRelease.Stig Bjørlykke2013-06-171-1/+3
| | | | svn path=/trunk/; revision=49976
* Replace implicit conversions with explicit casts.Guy Harris2013-03-241-3/+4
| | | | svn path=/trunk/; revision=48534
* Make internal functions static.Anders Broman2013-03-211-2/+2
| | | | svn path=/trunk/; revision=48465
* Try using cpuid also for __x86_64__ if compiled with GCC.Anders Broman2013-02-081-8/+53
| | | | svn path=/trunk/; revision=47567
* Fix warning: unused parameter ‘str’ when compiling on a non Windows machinePascal Quantin2013-02-041-1/+1
| | | | svn path=/trunk/; revision=47466
* Add CPUBrandString and memory size to VersionInfo on windows if available.Anders Broman2013-02-041-0/+45
| | | | svn path=/trunk/; revision=47465
* Welcome in 2013Pascal Quantin2013-01-011-1/+1
| | | | svn path=/trunk/; revision=46882
* Add detection of Windows 8 and Windows Server 2012Pascal Quantin2013-01-011-0/+3
| | | | svn path=/trunk/; revision=46881
* On UN*X, if an interface has a description, use it as the "friendlyGuy Harris2012-11-221-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
* Fix compilation warnings.Gerald Combs2012-09-251-2/+2
| | | | svn path=/trunk/; revision=45133
* We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss2012-09-201-3/+1
| | | | svn path=/trunk/; revision=45015
* Try ServerVersion.plist first, and use ProductName as the OS name; thatGuy Harris2012-09-191-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
* OK, fine, g_malloc() and g_free(). We really should be usingGuy Harris2012-09-081-7/+4
| | | | | | | g_try_free(), because, trust me, we *can* handle allocation failures here. svn path=/trunk/; revision=44813
* We no longer use Gestalt(), so there's no need to check for it.Guy Harris2012-09-081-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
* Mountain Lion marks Gestalt() as deprecated, which causes the build toGuy Harris2012-09-081-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
* List whether we were compiled with LIBNL or not (including which majorJeff Morriss2012-07-051-0/+12
| | | | | | version). svn path=/trunk/; revision=43574
* Update Free Software Foundation address.Jakub Zawadzki2012-06-281-1/+1
| | | | | | (COPYING will be updated in next commit) svn path=/trunk/; revision=43536
* Jose Pedro Oliveira: get_os_version_info() is more apropriate for shb_osAnders Broman2012-02-201-9/+19
| | | | svn path=/trunk/; revision=41086
* Happy New Year!Stig Bjørlykke2012-01-011-1/+1
| | | | svn path=/trunk/; revision=40353
* Change the use of threads from "mostly always, depending on yourGerald Combs2011-11-071-5/+0
| | | | | | configure options and Gtk+ and GLib versions" to "always". svn path=/trunk/; revision=39751
* Fix ex "modeline" so it works;Bill Meier2011-09-211-1/+1
| | | | | | See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748 svn path=/trunk/; revision=39081
* Update some comments, including a new URL, and add an additionalGuy Harris2011-09-021-5/+9
| | | | | | comment. svn path=/trunk/; revision=38874
* Remove support for libpcre, we use GRegex in GLib.Stig Bjørlykke2011-08-231-4/+0
| | | | svn path=/trunk/; revision=38683
* Provide information regarding thred support.Michael Tüxen2011-07-161-0/+5
| | | | svn path=/trunk/; revision=38058
* In version_info.c, assume we always have the "matches" operator. InGerald Combs2011-07-111-6/+0
| | | | | | | capture_opts.c, assume our output filename has been passed through arg_list_utf_16to8(). svn path=/trunk/; revision=37974
* Show locale in version info (if !win32).Stig Bjørlykke2011-06-291-0/+11
| | | | | | This may help us identifying bugs related to locale. svn path=/trunk/; revision=37829
* Replace all strerror() with g_strerror().Stig Bjørlykke2011-06-281-1/+1
| | | | | | | | | Remove our local strerror implementation. Mark strerror as locale unsafe API. This fixes bug 5715. svn path=/trunk/; revision=37812
* The "shared by every program in the Wireshark suite, including dumpcap"Guy Harris2011-06-111-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
* (Trivial) Testing _MSC_FULL_VER can be done at compile time.Bill Meier2011-05-231-15/+17
| | | | svn path=/trunk/; revision=37366
* Fix a Windows compiler warning;Bill Meier2011-01-161-8/+8
| | | | | | Minor whitespace cleanup. svn path=/trunk/; revision=35563
* New Year.Stig Bjørlykke2011-01-011-1/+1
| | | | svn path=/trunk/; revision=35322
* Fix bug #5453 "Help->About Wireshark mis-reports OS" (again) without the ↵Stephen Fisher2010-12-011-1/+12
| | | | | | help of MSDN code fragments. svn path=/trunk/; revision=35090
* Back out r35084 since it contains code fragments from MSDN, which are coveredStephen Fisher2010-12-011-10/+1
| | | | | | | under the "Microsoft Limited Public License" apparently. svn path=/trunk/; revision=35085
* Fix bug #5453: Use GetSystemNativeInfo() function if found on the machine ↵Stephen Fisher2010-11-301-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
* Fixed "Compiled with" information in the About box.Stig Bjørlykke2010-10-211-3/+7
| | | | svn path=/trunk/; revision=34601
* A GString has it's own length.Stig Bjørlykke2010-08-311-1/+1
| | | | svn path=/trunk/; revision=34034
* More information on getting the distribution name and release.Guy Harris2010-07-151-0/+29
| | | | svn path=/trunk/; revision=33545
* More details on getting the distribution name and version on Linux.Guy Harris2010-07-151-1/+15
| | | | svn path=/trunk/; revision=33543
* On OS X, give the OS version asGuy Harris2010-07-151-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
* Don't include headers we don't need (they might be generating externalGuy Harris2010-07-151-8/+0
| | | | | | | references to functions in libraries with which we're not necessarily being linked). svn path=/trunk/; revision=33535
* Move the code to get version information for libraries used byGuy Harris2010-07-151-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
* From H.sivank: GtkOSXApplication support.Guy Harris2010-05-251-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
* Detect clang and llvm-gcc.Guy Harris2010-05-191-0/+6
| | | | svn path=/trunk/; revision=32905
* Bruno Matos <bruno.matos@gmail.com>Jörg Mayer2010-05-151-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
* Tell, in the version info, if we were compiled 32- or 64-bit.Jeff Morriss2010-04-241-0/+5
| | | | svn path=/trunk/; revision=32548
* Disable usage of zlibVersion() on win32.Stig Bjørlykke2010-04-191-1/+1
| | | | svn path=/trunk/; revision=32511
* From Richard Brodie via bug 4606:Stig Bjørlykke2010-04-171-0/+5
| | | | | | Display runtime version for libz, as well as build version. svn path=/trunk/; revision=32502
* Happy New Year!Stig Bjørlykke2010-01-011-1/+1
| | | | svn path=/trunk/; revision=31396