aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
AgeCommit message (Collapse)AuthorFilesLines
2013-12-02Fix (-W)documentation error found by ClangAlexis La Goutte1-2/+2
error: parameter '...' not found in the function declaration [-Werror,-Wdocumentation] svn path=/trunk/; revision=53719
2013-12-02Move most of the plugin code from epan to wsutil and remove allGuy Harris4-0/+482
knowledge of particular types of plugins. Instead, let particular types of plugins register with the common plugin code, giving a name and a routine to recognize that type of plugin. In particular applications, only process the relevant plugin types. Add a Makefile.common to the codecs directory. svn path=/trunk/; revision=53710
2013-11-29Replace macros: BSWAP16, BSWAP32, BSWAP64 with glib-version.Jakub Zawadzki1-11/+0
XXX, people are not aware that expression of this macros might be evaluated multiple times, like: - BSWAP16(tvb_get_letohs(tvb, off)) : \ + GUINT16_SWAP_LE_BE(tvb_get_letohs(tvb, off)) : \ Should be tvb_get_ntohs() called? svn path=/trunk/; revision=53653
2013-11-29Rename some of pint.h macros to match common style (bits number on the end).Jakub Zawadzki2-8/+8
pntohs -> pntoh16 pntohl -> pntoh32 pletohs -> pletoh16 pletohl -> pletoh32 phtons -> phton16 phtonl -> phton32 svn path=/trunk/; revision=53652
2013-11-29Expand macros: htoles(), htolel(), htolell()Jakub Zawadzki1-4/+0
svn path=/trunk/; revision=53651
2013-11-20Remove a few (now unused) variables.Michael Mann1-2/+0
svn path=/trunk/; revision=53442
2013-11-19Fix missing semicolon.Guy Harris1-1/+1
svn path=/trunk/; revision=53437
2013-11-19Add routines to set the personal file directory paths (personalGuy Harris2-70/+26
configuration file directory and directory in which to save captures), have the routine to parse -P options use them, and move that routine to libui. Have that routine just return a gboolean. svn path=/trunk/; revision=53435
2013-11-18Get rid of unused trivial wrapper routine.Guy Harris2-10/+0
svn path=/trunk/; revision=53403
2013-11-17strncat() bad, g_strlcat() good.Guy Harris1-5/+6
svn path=/trunk/; revision=53381
2013-11-17Clean up indentation.Guy Harris1-2/+2
svn path=/trunk/; revision=53380
2013-11-17Move get_tempfile_path() from filesystem.[ch] to tempfile.[ch].Guy Harris4-20/+18
svn path=/trunk/; revision=53379
2013-11-17Move the epan/filesystem.c routines to wsutil; they're not specific toGuy Harris5-1/+2534
packet dissection, they're specific to the entire Wireshark suite of programs. svn path=/trunk/; revision=53377
2013-11-16Fix previous commit + rename to bitswap.Jakub Zawadzki2-2/+2
svn path=/trunk/; revision=53375
2013-11-16Exporting/importing variables cause problems, so create function to do ↵Jakub Zawadzki2-4/+10
bitswaping. svn path=/trunk/; revision=53374
2013-11-16For *definitions* of external data items, we need to useGuy Harris1-2/+1
WS_DLL_PUBLIC_DEF. svn path=/trunk/; revision=53372
2013-11-16Move bitswap.[ch] from epan to wsutil.Jakub Zawadzki4-0/+113
svn path=/trunk/; revision=53365
2013-11-14Revert some inadvertent changes from the last commit.Gerald Combs1-0/+2
svn path=/trunk/; revision=53329
2013-11-14Create a plural-only English translation. Use it to pluralize the FollowGerald Combs1-2/+0
Stream and Flow Graph hint statistics. svn path=/trunk/; revision=53326
2013-11-13Highlight selected sequence diagram items.Gerald Combs1-2/+2
Create a new dialog each time the user follows a stream. A lot of the follow code seems to assume one and only one dialog so there are likely outstanding bugs. Don't use the global cfile (should we deprecate its usage?). We want to move closer to multiple documents, not further away. Clean up after ourselves. Free our payload list and unlink our temp file. Make a bunch of gchar*s QStrings. Make sure our destructor gets called and use it. Make member variable and method names more consistent. svn path=/trunk/; revision=53306
2013-11-09Remove comment (leftovers from r49444) + add missing WS_DLL_PUBLIC for adler32Jakub Zawadzki1-3/+5
(modifing files to be commited when svn commit is already running is no good). svn path=/trunk/; revision=53192
2013-11-09Correct include path.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=53191
2013-11-09Move adler32 from epan/ to wsutil/Jakub Zawadzki4-0/+106
The same like done for crc* svn path=/trunk/; revision=53190
2013-11-09Replace wtap_nstime with nstime_t, remove wtap_nstime_to_sec.Jakub Zawadzki2-14/+0
After r50154 nstime_t is inside wsutil/ so wiretap don't need it's own copy. svn path=/trunk/; revision=53184
2013-11-09Rename swar_count_bits() to ws_count_ones()Jakub Zawadzki4-40/+10
Try to make ws_count_ones() inline function. svn path=/trunk/; revision=53178
2013-11-08Try to split ws_ctz() from hfinfo_bitshift().Jakub Zawadzki2-0/+49
svn path=/trunk/; revision=53176
2013-10-29Revert part of 52896 and (for now) all of 52935. As Jeff pointed out,Gerald Combs4-2/+252
the PortableApps version relies on U3_-prefixed environment variables. svn path=/trunk/; revision=52941
2013-10-27Remove U3 code and packaging.Gerald Combs4-252/+2
svn path=/trunk/; revision=52896
2013-10-22Add STANAG 5066 DTS CRC routines. Bug 9217 ↵Michael Mann4-0/+139
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9217) STANAG 5066 DTS will follow when it passes review, just trying to make the patch more manageable. svn path=/trunk/; revision=52774
2013-10-19Minor refactoring in CMake ABI dump generationBalint Reczey1-3/+1
svn path=/trunk/; revision=52689
2013-10-19Set and use TMPDIR for ABI dump generation when using CMakeBalint Reczey1-4/+4
svn path=/trunk/; revision=52688
2013-10-18Make sure LIBGCRYPT_CFLAGS is added to AM_CPPFLAGS.Gerald Combs1-1/+1
svn path=/trunk/; revision=52672
2013-10-15Factor out common parts of ABI checks to UseABICheck.cmakeBalint Reczey1-15/+3
svn path=/trunk/; revision=52614
2013-10-13Add CMake properties to targets so that they are logically organised when ↵Graham Bloice1-0/+4
using a Visual Studio solution. Add CMake properties to group the source files in epan into logical blocks when using a Visual Studio solution. svn path=/trunk/; revision=52580
2013-10-12Another Solaris Studio C++ fix.Gerald Combs1-5/+3
svn path=/trunk/; revision=52561
2013-10-06Undo r52382 for this file: We use a different solution on WindowsJörg Mayer1-0/+1
svn path=/trunk/; revision=52422
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