aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2014-10-30Remove the optional strncasecmp.{h,c} target (for systems that don't have ↵Jeff Morriss1-5/+1
that API). strncasecmp() has been prohibited for years (in favor of the g_ascii_ version). Change-Id: I64b7c29099b1c5240757e2026fe3490096a84755 Reviewed-on: https://code.wireshark.org/review/4980 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-09-16Fix the patch-bzip2 target.Gerald Combs1-1/+1
The main site URI scheme is now https. Update the URL in some other places while we're here. Change-Id: Ib03d4fd1c58dabd3cf5050dc4f79216e0b94d525 Reviewed-on: https://code.wireshark.org/review/4133 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-07-19Only ABI-check strncasecmp.h if strncasecmp() is part of the API/ABI.Guy Harris1-1/+10
Some routines Wireshark uses are present in some, but not all, platforms; for routines that would be used on all platforms, libwsutil provides its own implementations on platforms that lack them. On platforms that provide a routine, that routine will not be part of the API and ABI, and, if we do an API or ABI check using the header libwsutil provides to declare the function on platforms that lack it, we may have a collision between the declaration in our header and the declaration in a system header. There's no guarantee that we can make them match, as the declaration might differ from platform to platform and from platform version to platform version, so we simply leave the header file out of the check if we have the function on the platform on which we're checking the API or ABI. Change-Id: I8a23e63d9e17e5c1f5a83304dbe14d1e7df22e7e Reviewed-on: https://code.wireshark.org/review/3115 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-07-10Remove a useless line now that nghttp2 library has moved to /epanPascal Quantin1-2/+0
Change-Id: I41c876620e691f2e217fc9249d6abae01ea81b7f Reviewed-on: https://code.wireshark.org/review/2975 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-07-09Moved nghttp2 to epanGraham Bloice1-4/+0
Cleaned up nghttp2 build Change-Id: I9f7adc12936155e0ffc01ec825b5aff95279f97d Reviewed-on: https://code.wireshark.org/review/2937 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Evan Huus <eapache@gmail.com>
2014-07-06Clean up handling of missing functions.Guy Harris1-26/+9
With autotools, CMake, and nmake, if we have a function, #define HAVE_{function_name_in_all_caps}, otherwise don't #define it. If we provide our own version of a function in libwsutil, make sure we have a header that declares it, and *ONLY* include that header if HAVE_{function_name_in_all_caps} is *NOT* defined, so that we don't have the system declaration and our declaration colliding. Check for inet_aton, strncasecmp, and strptime with CMake, just as we do with autotools. Simplify the addition of {function_name_in_all_caps}_LO to libwsutil in autotools. Change-Id: Id5be5c73f79f81919a3a865324e400eca7b88889 Reviewed-on: https://code.wireshark.org/review/2903 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-21Move get_os_version_info() to libwsutil.Guy Harris1-0/+1
This mean we also have to move CFString_to_C_string() there for OS X. Change-Id: Ic91ad872e9d5290cf34f842503ededd5452e4337 Reviewed-on: https://code.wireshark.org/review/2511 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-18Don't compile anything with -msse4.2 unless the compiler supports it.Guy Harris1-1/+1
This includes ws_mempbrk_sse42.c; if the compiler doesn't support -msse4.2, HAS_SSE4_2 isn't defined, so all the stuff in ws_mempbrk_sse42.c that uses SSE 4.2 will be #ifdeffed out. Not all compilers with which we're built will support -msse4.2; in particular, the ones that aren't compiling for x86 won't.... Change-Id: I69566ca06f602104b40c78b3b06fcb7dfeb054b2 Reviewed-on: https://code.wireshark.org/review/2373 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-17Rewrite check for ws_mempbrk_sse42.c compilationJakub Zawadzki1-3/+3
- check only for -msse4.2 - check if there's nmmintrin.h header - don't check if current CPU support -msse4.2 (fix cross compilation) Change-Id: Iba8d291fdf5602937ab540a69b7608a81427ad25 Reviewed-on: https://code.wireshark.org/review/2189 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-14Small whitespace fixesJoerg Mayer1-2/+2
Change-Id: I44c6c193ec2a7d88cda56ba34c2f17c03f7e121d Reviewed-on: https://code.wireshark.org/review/2205 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
2014-06-10Change HAVE_SSE42 to HAVE_SSE4_2 add $(SIMD_FLAGS)AndersBroman1-1/+1
Add autotools macros to distribution Call AX_EXT to define HAVE_SSE4_2 Change-Id: I9ff085d923dfafb32510cdd14290e74a2aaea302 Reviewed-on: https://code.wireshark.org/review/2110 Tested-by: Anders Broman <a.broman58@gmail.com> Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-09Add sse4.2 optimized function ws_mempbrk_sse42()Jakub Zawadzki1-0/+11
In text protocols, like SIP, lot of time is spend guint8_pbrk(), assume that text is not binary (no NULs), and use SSE4.2 pcmpistri instruction. Also move & rename guint8_pbrk() from tvbuff.c as _ws_mempbrk. HAVE_SSE42 must be defined to use _ws_mempbrk_sse42() only activaded for Windows currently. Change-Id: Ic853d84805bdb6492c4f45d2bcc79a973fd9804e Reviewed-on: https://code.wireshark.org/review/1730 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-05-31Add nghttp2 lib (HPACK)Alexis La Goutte1-0/+6
Change-Id: I2a361951924045035a2a5d38f943e6b97c170f36 Reviewed-on: https://code.wireshark.org/review/1623 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-05-28Add ModelinesAlexis La Goutte1-0/+13
Change-Id: I3b41a15f53afc718ccf5892174345220a09c6714 Reviewed-on: https://code.wireshark.org/review/1847 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-04-25Support out-of-source checkapiStig Bjørlykke1-2/+4
Always call $(top_srcdir)/tools/checkAPIs.pl with -sourcedir=$(srcdir) from Makefile.am to allow out-of-source 'make checkapi'. Change-Id: I60d7e0079984a8ededdacf4517a0738486fa7973 Reviewed-on: https://code.wireshark.org/review/1294 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-31Continue to remove $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^\# \$Id\$/,+1 d') (start with dash) Change-Id: Ia4b5a6c2302f6a531f6a86c1ec3a2f8205c8c2dd Reviewed-on: https://code.wireshark.org/review/881 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-01-07Fix bug #9618: Invalid utf8 causes JSON dissector assertion failure ↵Jakub Zawadzki1-2/+0
"g_utf8_validate" Validate JSON UTF-8 characters, replace with '?' when invalid. svn path=/trunk/; revision=54633
2013-11-17Move the epan/filesystem.c routines to wsutil; they're not specific toGuy Harris1-1/+2
packet dissection, they're specific to the entire Wireshark suite of programs. svn path=/trunk/; revision=53377
2013-10-18Make sure LIBGCRYPT_CFLAGS is added to AM_CPPFLAGS.Gerald Combs1-1/+1
svn path=/trunk/; revision=52672
2013-08-02Keep checkAPIs happy (even though it's just test code). Get that test codeJeff Morriss1-1/+2
compiling again (warning free). Fix the checkapi target in automake. svn path=/trunk/; revision=51114
2013-08-01Move a bunch of the crypt modules and pint.h into wsutil.Jeff Morriss1-3/+5
This means wsutil now links against libcrypt. Protect a bunch of the crypt header files from multiple inclusion. svn path=/trunk/; revision=51100
2013-04-03Distribute CMakeLists.txt.Guy Harris1-0/+1
svn path=/trunk/; revision=48716
2013-03-12From David Arnold:Jaap Keuter1-1/+1
Replace use of INCLUDES with AM_CPPFLAGS in all Makefiles to placate recent autotools. svn path=/trunk/; revision=48261
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey1-1/+1
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-25/+6
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-1/+1
Also update automake generated targets to match CMake generated ones svn path=/trunk/; revision=47879
2013-02-21add wsutil/wsgcrypt.h as a wrapper around libgcrypt's gcrypt.hMartin Kaiser1-1/+2
(not used for now) svn path=/trunk/; revision=47801
2013-02-20Exclude create_app_running_mutex.Gerald Combs1-1/+1
svn path=/trunk/; revision=47762
2013-01-29Use readlink instead of ls.Gerald Combs1-1/+1
svn path=/trunk/; revision=47338
2013-01-28make dumpabi target build with multiple digits in library version numbersBalint Reczey1-1/+1
svn path=/trunk/; revision=47329
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-08Forward-port r43165 and r43168 from trunk-1.6.Gerald Combs1-5/+7
------------------------------------------------------------------------ r43165 | gerald | 2012-06-08 14:23:25 -0700 (Fri, 08 Jun 2012) | 4 lines Changed paths: M /trunk-1.6/epan/Makefile.am M /trunk-1.6/wiretap/Makefile.am M /trunk-1.6/wsutil/Makefile.am Use separate commands in the dumpabi recipes instead a big huge long chain. If abi-compliance-checker fails print the contents of its log file. ------------------------------------------------------------------------ r43168 | gerald | 2012-06-08 15:43:50 -0700 (Fri, 08 Jun 2012) | 2 lines Changed paths: M /trunk-1.6/epan/Makefile.am M /trunk-1.6/wiretap/Makefile.am M /trunk-1.6/wsutil/Makefile.am Make sure ln happens in the right directory. ------------------------------------------------------------------------ We don't currently have a usable tag for "git describe --tags --abbrev=0" to latch onto so just use the first 1.9 commit. svn path=/trunk/; revision=43170
2012-04-04Add a "-build" argument to checkAPIs.pl. Use that argument when buildingJeff Morriss1-1/+1
from makefiles (and thus from the buildbot). The intention is to be able to tell when a human is running the tool so we can provide more code-review guidance. As a starter, enable the "too many proto_tree_add_text() calls" check when a human is running the tool. svn path=/trunk/; revision=41943
2012-04-04Update to a version which have getopt_long().Anders Broman1-1/+2
svn path=/trunk/; revision=41926
2012-01-21Sync checkapi target with Makefile.nmake.Michael Tüxen1-1/+2
svn path=/trunk/; revision=40626
2012-01-19fix compile errors found by dumpabi targetBalint Reczey1-1/+1
svn path=/trunk/; revision=40595
2011-06-28Replace all strerror() with g_strerror().Stig Bjørlykke1-8/+0
Remove our local strerror implementation. Mark strerror as locale unsafe API. This fixes bug 5715. svn path=/trunk/; revision=37812
2011-06-06Add links to libtool's recommendations for library versions.Gerald Combs1-0/+1
svn path=/trunk/; revision=37582
2011-06-04Reorganize dumpabi targets to keep temporary filesBalint Reczey1-2/+3
svn path=/trunk/; revision=37540
2011-05-31Fixing wrong library names in r37474Balint Reczey1-2/+2
svn path=/trunk/; revision=37475
2011-05-31Add dumpabi target to Makefiles in wsutil, epan and wiretap directories.Balint Reczey1-0/+10
We can use the dumped ABI description for comparing ABI changes between revisions. svn path=/trunk/; revision=37474
2011-05-25Filter out arg_list_utf_16to8.Gerald Combs1-1/+1
svn path=/trunk/; revision=37396
2010-12-16Update filter for Windows-only symbols.Balint Reczey1-1/+1
svn path=/trunk/; revision=35203
2010-12-16Export only defined symbols from libwsutil.Balint Reczey1-13/+58
Exported symbols are the symbols listed in libwsutil.def, but the symbols defined in not used optional objects are filtered out. svn path=/trunk/; revision=35202
2010-12-07Revert rev 35145 for wsutil: go back to exporting all symbols. libwsutil's ↵Jeff Morriss1-6/+2
list of exported symbols includes our optional targets and trying to export symbols that don't (always) exist upsets some linkers. Anyway, the list of global symbols in libwsutil is (so far) quite short. svn path=/trunk/; revision=35147
2010-12-07Make libtool export only symbols listed in *.def filesBalint Reczey1-2/+6
svn path=/trunk/; revision=35145
2010-11-25Add libtool version info to libwsutil.Balint Reczey1-0/+1
From Eloy Paris <peloy@debian.org> http://svn.debian.org/wsvn/collab-maint/ext-maint/wireshark/branches/wireshark-1.4.x%2Blibseparation/debian/patches/25_libwsutil-version.patch svn path=/trunk/; revision=35030
2010-05-29Put the optional objects in EXTRA..SOURCES instead of EXTRA_DIST.Jeff Morriss1-17/+21
Put the optional objects in a _DEPENDENCIES rule so they actually get built when needed. Use libtool to make these objects. Remove AC variables that are no longer needed. svn path=/trunk/; revision=33017
2010-05-29Make inet_aton an optional object on *NIX againJeff Morriss1-2/+6
svn path=/trunk/; revision=33016
2010-05-28Move some code (including the optional objects) into libwsutilJeff Morriss1-4/+26
svn path=/trunk/; revision=33012