aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
AgeCommit message (Collapse)AuthorFilesLines
2013-10-06Add $Id$Jörg Mayer4-19/+30
svn path=/trunk/; revision=52421
2013-10-06config.h.win32 used another solutionJörg Mayer1-1/+0
svn path=/trunk/; revision=52410
2013-10-05editcap and capinfos compile now with cmakeJörg Mayer2-7/+7
svn path=/trunk/; revision=52382
2013-10-04libwsutil needs to link against libgmodule2Jörg Mayer1-0/+1
svn path=/trunk/; revision=52371
2013-09-16Trivial: Fix typo.Chris Maynard1-4/+4
svn path=/trunk/; revision=52101
2013-08-26From Jiri Engelthaler viaEvan Huus4-0/+84
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9055 Add support for bitmask set for signed integer types. svn path=/trunk/; revision=51522
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-4/+4
./str_util.h:72:11: error: parameter 'str' not found in the function declaration [-Werror,-Wdocumentation] * @param str The string to be checked ^~~ ./str_util.h:72:11: note: did you mean 'string'? * @param str The string to be checked ^~~ string ./str_util.h:80:11: error: parameter 'str' not found in the function declaration [-Werror,-Wdocumentation] * @param str The string to be checked ^~~ ./str_util.h:80:11: note: did you mean 'string'? * @param str The string to be checked ^~~ string svn path=/trunk/; revision=51252
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-2/+2
../wsutil/crc16.h:68:11: error: parameter 'pBuffer' not found in the function declaration [-Werror,-Wdocumentation] * @param pBuffer a pointer to a buffer of the given length ^~~~~~~ ../wsutil/crc16.h:68:11: note: did you mean 'buf'? * @param pBuffer a pointer to a buffer of the given length ^~~~~~~ buf ../wsutil/crc16.h:77:11: error: parameter 'pBuffer' not found in the function declaration [-Werror,-Wdocumentation] * @param pBuffer a pointer to a buffer of the given length ^~~~~~~ ../wsutil/crc16.h:77:11: note: did you mean 'buf'? * @param pBuffer a pointer to a buffer of the given length ^~~~~~~ buf svn path=/trunk/; revision=51251
2013-08-02Keep checkAPIs happy (even though it's just test code). Get that test codeJeff Morriss2-7/+10
compiling again (warning free). Fix the checkapi target in automake. svn path=/trunk/; revision=51114
2013-08-02Link wsutil with gnutls on Windows too.Jeff Morriss1-1/+2
svn path=/trunk/; revision=51109
2013-08-02LIBGCRYPT_CFLAGS is not set in Windows builds, use GNUTLS_CFLAGS instead.Jeff Morriss1-1/+1
svn path=/trunk/; revision=51108
2013-08-02pint.h is in wsutil now.Jeff Morriss1-0/+1
svn path=/trunk/; revision=51107
2013-08-01Include LIBGCRYPT_CFLAGS in wsutil (but not in epan/crypt).Jeff Morriss1-1/+1
svn path=/trunk/; revision=51103
2013-08-01Move a bunch of the crypt modules and pint.h into wsutil.Jeff Morriss18-3/+3489
This means wsutil now links against libcrypt. Protect a bunch of the crypt header files from multiple inclusion. svn path=/trunk/; revision=51100
2013-07-22Looks like building with -Werror in wsutil was forgotten withJörg Mayer1-0/+12
cmake. svn path=/trunk/; revision=50788
2013-07-16make getopt_long() available on systems that don't have it nativelyMartin Kaiser2-2/+13
svn path=/trunk/; revision=50677
2013-07-16Move u3.{h,c} and g711.{h,c} into wsutil.Jeff Morriss6-2/+589
Project g711.h against multiple inclusion and add C++ compatibility wrapper. svn path=/trunk/; revision=50654
2013-07-16Move strnatcmp.{h,c} from epan into wsutil: there's nothing epan-specificJeff Morriss4-0/+254
there and moving it avoids having to recompile the file for use in editcap and mergecap (which don't link against libwireshark). svn path=/trunk/; revision=50650
2013-07-15Add report_err.c to cmake build.Jeff Morriss1-0/+1
svn path=/trunk/; revision=50600
2013-07-15Move report_err.{h,c} from epan into wsutil: there's nothing epan-specific ↵Jeff Morriss3-0/+181
there and moving it avoids having to recompile the file for use in editcap and capinfos (which don't link against libwireshark). svn path=/trunk/; revision=50598
2013-07-01Define certain 'const char *...' arrays as static.Bill Meier1-1/+1
(That is: Don't create the array on the stack each time the function is called). Reduces code memory usage and execution time. (See SVN #50271) svn path=/trunk/; revision=50300
2013-06-26openSAFETY: CRC Maintenance, new CRC, new expert interface implemented. Bug ↵Michael Mann2-0/+50
8847 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8847) From Roland Knall svn path=/trunk/; revision=50166
2013-06-26Move tempfile.{h,c} into wsutil.Jeff Morriss4-0/+348
svn path=/trunk/; revision=50163
2013-06-26As pointed out by Guy: timestats uses packet_info so it belongs in epanJeff Morriss4-149/+0
not wsutil. svn path=/trunk/; revision=50159
2013-06-25Move a couple of time-related modules into wsutil.Jeff Morriss6-0/+469
A bunch of files didn't really need to include these header files so remove the include line rather than changing it. svn path=/trunk/; revision=50154
2013-06-25makefile.nmake -> Makefile.nmake and minor whitespace (spaces -> tabs) changes.Chris Maynard1-1/+1
svn path=/trunk/; revision=50140
2013-06-20Add a few of our headers to code generated by pycrc (their faq says we can doEvan Huus3-0/+75
basically whatever we want with it, and this cleans up a couple of licensecheck errors). Fix FSF address in one dissector. svn path=/trunk/; revision=50080
2013-06-19From Anders:Jeff Morriss2-4/+1056
Check Header CRC of SYNC protocol. svn path=/trunk/; revision=50062
2013-05-10Add some comments to #else and #endif to make it clearer what's goingGuy Harris1-3/+3
on. svn path=/trunk/; revision=49223
2013-04-24dumpabi: This would create the directories in the sourcedir insteadJörg Mayer1-1/+1
of the binary dir. Fixed that. NOTE: It fails with and without this patch for out of tree builds: jmayer@egg:~/work/wireshark/svn/build/qt-gtk3> make dumpabi [ 1%] Built target wsutil [ 1%] Generating libwsutil.abi.tar.gz ERROR: can't find modules cp: cannot stat `abi_dumps/libwsutil/libwsutil_*': No such file or directory make[3]: *** [wsutil/libwsutil.abi.tar.gz] Error 1 make[2]: *** [wsutil/CMakeFiles/dumpabi-libwsutil.dir/all] Error 2 make[1]: *** [CMakeFiles/dumpabi.dir/rule] Error 2 make: *** [dumpabi] Error 2 jmayer@egg:~/work/wireshark/svn/build/qt-gtk3> svn path=/trunk/; revision=49014
2013-04-16Fix another dozen or so files with bad FSF addresses as caught by licensecheck.Evan Huus5-12/+12
svn path=/trunk/; revision=48869
2013-04-15Add links to Google Breakpad and other possible solutions.Gerald Combs1-0/+6
svn path=/trunk/; revision=48863
2013-04-03Distribute CMakeLists.txt.Guy Harris1-0/+1
svn path=/trunk/; revision=48716
2013-03-14Use pragma diagnostic also when compiling with clang.Stig Bjørlykke1-0/+11
svn path=/trunk/; revision=48295
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-03Check to see if GLib's printf routines support the X/Open / POSIXGerald Combs1-5/+11
thousands grouping (') flag and use it in format_size if it's available. As far as I can tell this translates to "everywhere except Windows and OpenBSD". According to the various build logs at https://build.opensuse.org/package/show?package=mingw32-glib2&project=windows%3Amingw%3Awin32 the OBS GLib packages enable GLib's internal printf implementation from Gnulib which means we *should* be able to enable this on Windows. Unfortunately this doesn't appear to be the case. svn path=/trunk/; revision=48042
2013-03-03From beroset:Anders Broman1-2/+2
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48038
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey15-82/+40
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
2013-02-28From Anders: revert r47934: it doesn't work everywhere.Jeff Morriss1-5/+5
See email discussion on -dev. svn path=/trunk/; revision=47940
2013-02-28Export libwsutil symbols using WS_DLL_PUBLIC defineBalint Reczey24-156/+123
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-28str_util.c: Although the glib documentation doesn't explicitly say so,Gerald Combs1-5/+5
it looks like the thousands grouping (') modifier is supported so use it in format_size. capinfos.c: Set our locale. svn path=/trunk/; revision=47934
2013-02-26Print human-readable statistics by default. Raw values can be printedGerald Combs2-1/+4
using "-M". Based on a suggestion by Hansang Bae. svn path=/trunk/; revision=47900
2013-02-25ABI dumps don't have to depend on config.h directlyBalint Reczey1-1/+1
They depend on libs which need config.h already. svn path=/trunk/; revision=47883
2013-02-25Add dumpabi targets to CMake buildsBalint Reczey2-2/+23
Also update automake generated targets to match CMake generated ones svn path=/trunk/; revision=47879
2013-02-24Generate abi-descriptor.xml-s in CMake buildsBalint Reczey1-0/+7
svn path=/trunk/; revision=47865
2013-02-23Set library versions in CMake buildsBalint Reczey1-0/+1
svn path=/trunk/; revision=47848
2013-02-21use pragma GCC diagnostic to work around gcrypt.h warningsMartin Kaiser1-0/+34
distinguish between different gcc versions this should allow a clean build with libgcrypt 1.5.0 svn path=/trunk/; revision=47803
2013-02-21add wsutil/wsgcrypt.h as a wrapper around libgcrypt's gcrypt.hMartin Kaiser2-1/+37
(not used for now) svn path=/trunk/; revision=47801
2013-02-20As http://www.jrsoftware.org/iskb.php?mutexsessions points out, a sessionGerald Combs1-1/+23
mutex may not be visible to other sessions and we may not be able to create a global mutex. Try to create both, and make each one accessible to all users. Update the NSIS installer to check for both global and session mutexes. svn path=/trunk/; revision=47773
2013-02-20Exclude create_app_running_mutex.Gerald Combs1-1/+1
svn path=/trunk/; revision=47762