aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
AgeCommit message (Collapse)AuthorFilesLines
2010-03-18cmake changes:Jörg Mayer1-0/+1
- Add checking for linker flags - Install plugins with the name including the Wireshark version. This will make it easier to find matching plugin versions if files get just copied over. svn path=/trunk/; revision=32231
2009-11-17Beginnings of enabling static builds. Still to do:Jörg Mayer1-5/+9
* Add -static * Registration may need different handling * Add plugins * Build error in wslua svn path=/trunk/; revision=30987
2009-09-23Hopefully fix wsutil build on OSX.Jörg Mayer1-0/+6
svn path=/trunk/; revision=30091
2009-08-31Add utf_8to16_snprintf() which creates a UTF16 string according to the given ↵Kovarththanan Rajaratnam3-6/+31
format string. The format string + arguments are expected to be in UTF-8 format. This change effectively removes the only place where we use PRIu64. svn path=/trunk/; revision=29635
2009-08-30On Windows a shared library in divided into a DLL part (RUNTIME) and an ↵Kovarththanan Rajaratnam1-2/+5
import lib (ARCHIVE). svn path=/trunk/; revision=29622
2009-07-16Move th /MP flag setting to LOCAL_CFLAGS set in configure.nmakeAnders Broman1-1/+1
for MSVC variant 2008 only. As suggested by Bill Meier. svn path=/trunk/; revision=29114
2009-07-15Add /MP flag to make use of multi cores.Anders Broman1-1/+1
svn path=/trunk/; revision=29104
2009-06-16OK, so my last commit message was too optimistic - I was usingJörg Mayer1-7/+12
an installed version of wsutil. dumpcap now really builds on Linux via cmake. svn path=/trunk/; revision=28754
2009-06-15CMake now successfully builds dumpcapJörg Mayer1-0/+38
svn path=/trunk/; revision=28745
2009-03-08Fix ws_stdio_unlink so it works properly on WIndows for all Unicode filenames.Bill Meier1-5/+5
- Essentially: ws_stdio_unlink would fail trying to delete any path\filename containing a Unicode character which could not be mapped to the "system codepage" (ie: to a character encoded with a value of 1-255). For example: ws_stdio_unlink was not able to delete a path\filename containing the character U+210B. - The problem: A copy/paste of the wrong (non-Windows) portion of the GLib g_unlink code was done when file_util.c was created. - The solution: replace the ws_stdio_unlink code with the correct code copied from the Glib g_unlink function. svn path=/trunk/; revision=27661
2009-03-06Update a commentBill Meier1-3/+3
svn path=/trunk/; revision=27626
2009-03-02More Windows compiler flag cleanups. Fix a problem with my last commitGerald Combs1-4/+1
that would break compilation for older compilers. Create a "DLL_LDFLAGS" variable and use it in DLLs and plugins. Use PLUGIN_LDFLAGS and DLL_LDFLAGS where needed. Don't force i386 code in the TPG plugin. svn path=/trunk/; revision=27582
2009-01-17Revise ascii...inplace to return a ptr to the string Bill Meier2-4/+10
svn path=/trunk/; revision=27253
2008-12-22wtap_pcap_encap_to_wtap_encap() and wtap_wtap_encap_to_pcap_encap() wereGuy Harris1-4/+0
moved back into libwiretap. svn path=/trunk/; revision=27077
2008-12-22Move wtap_pcap_encap_to_wtap_encap() and wtap_wtap_encap_to_pcap_encap()Guy Harris3-644/+0
back to libwiretap for now, as it's inherently tied to reading libpcap files; at some point we might want to have pcap-reading (and pcap-ng-reading?) code in a separate library, for use by, for example, dumpcap (and rawshark?). svn path=/trunk/; revision=27076
2008-12-17commit forgotten changed fileTomas Kukosa1-2/+4
svn path=/trunk/; revision=27035
2008-12-17type conversion gdouble<->guint64 is not supported in all MSVC versions, ↵Tomas Kukosa3-0/+128
convert it with functions svn path=/trunk/; revision=27032
2008-11-16From Max Filippov:Anders Broman1-0/+2
patch to support IEE802.15.4 non-ASK PHY. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2906 svn path=/trunk/; revision=26792
2008-10-27ETH -> WS updates.Gerald Combs1-2/+2
svn path=/trunk/; revision=26570
2008-09-19Add a newline at the end of the fileJeff Morriss1-1/+1
svn path=/trunk/; revision=26235
2008-09-19Set SVN properties.Gerald Combs2-2/+2
svn path=/trunk/; revision=26234
2008-09-19Move wtap_pcap_encap_to_wtap_encap and wtap_wtap_encap_to_pcap_encap toGerald Combs4-20/+667
libwsutil. svn path=/trunk/; revision=26233
2008-09-03I hate Windows.Guy Harris1-0/+4
svn path=/trunk/; revision=26133
2008-09-03g_ascii_strdown() and g_ascii_strup(), unlike g_strdown() and g_strup(),Guy Harris3-2/+114
do *not* modify the string handed to them - they g_mallocate a new string and return it. Create routines that *do* ASCII-only case mapping in place, and use them instead. Clean up indentation. svn path=/trunk/; revision=26131
2008-08-21_MSC_VERs 1400 and greater require manifests. Check againstGerald Combs1-1/+1
MSC_VER_REQUIRED when we run mt.exe instead of checking for each individual MSVC_VARIANT. This fixes the current buildbot test failures on Windows, which resulted from a missing check for MSVC2008. This also keeps us from having to mess with a bunch of makefiles when we add support for new Visual C++ versions. svn path=/trunk/; revision=26052
2008-08-13Another try to fix the cast problem.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=26001
2008-08-13Add a cast to avoid a warning.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=26000
2008-08-13Added libwsutil.def to EXTRA_DISTStig Bjørlykke1-0/+1
svn path=/trunk/; revision=25999
2008-08-12Take courage!Guy Harris1-2/+2
http://www.flickr.com/photos/clammm/503029097/ svn path=/trunk/; revision=25993
2008-08-12Fix a bunch of Win64 compilation errors by cowardly casting size_ts to ints.Gerald Combs1-1/+1
svn path=/trunk/; revision=25992
2008-08-04From Pascal Quantin via bug 2719: Fix support for Microsoft Visual C++ 2008.Gerald Combs1-1/+1
From me: Instead of adding adns_config.h, place it a custom adns package in wireshark-win32-libs. Update tools/win32-setup.sh accordingly. Split the MSVC2008EE variant into MSVC2008 and MSVC2008EE, similar to MSVC2005 and MSVC2005EE. We have to worry about vcredist_x86.exe in both cases. Add Pascal to AUTHORS. Update the Developer's Guide. svn path=/trunk/; revision=25921
2008-07-17checkAPIs: remove '-g abort'; g_assert OK for wsutils files ?Bill Meier1-1/+2
svn path=/trunk/; revision=25761
2008-07-11unicode-utils.c is only for Windows; don't build it on UN*X. Put in a checkJeff Morriss4-10/+11
to cause it to fail when built on UN*X. svn path=/trunk/; revision=25704
2008-07-02Add Makefile.common files for epan/dfilter and epan/ftypes.Guy Harris1-0/+4
Add checkapi rules to Makefile.am files. svn path=/trunk/; revision=25656
2008-07-01Put printf into a separate "termoutput" API group. For most files,Guy Harris1-1/+1
check for it - but not for TShark plugins, as they are expected to print to the standard output. svn path=/trunk/; revision=25653
2008-06-30Move privileges.c and unicode-utils.c symbols from epan to wsutilJeff Morriss1-0/+15
svn path=/trunk/; revision=25641
2008-06-30Move privileges.c and unicode-utils.c from epan to wsutil (so things likeJeff Morriss5-4/+565
capinfos and dumpcap don't need to depend on libwireshark nor directly pull in those modules). Because capinfos and editcap were only being linked with privileges.c if we had plugins, this allows those programs to be linked when someone is compiling --without-plugins. svn path=/trunk/; revision=25640
2008-06-27Have checkAPIs.pl print to stderr, so that its output is colored red inGerald Combs1-1/+1
Buildbot. Make capitalization more consistent. Look for abort functions in wsutil. svn path=/trunk/; revision=25619
2008-06-03Fix run checkapi for more targets.Anders Broman1-0/+5
svn path=/trunk/; revision=25414
2008-05-23file_util.c is only for Windows; don't build it on UN*X. Put in a checkGuy Harris4-42/+9
to cause it to fail when built on UN*X, and get rid of code that's not needed on Windows. svn path=/trunk/; revision=25362
2008-05-23Add a Makefile.common file, and have Makefile.am and Makefile.nmake use it.Guy Harris3-9/+51
svn path=/trunk/; revision=25360
2008-05-22Move the file utility functions from wiretap to libwsutil so thatJeff Morriss5-12/+627
libwireshark (and the plugins using those functions) do not depend on wiretap on Windows. While doing that, rename the eth_* functions to ws_*. svn path=/trunk/; revision=25354
2008-05-20Create a new "Wireshark utility" library and move the mpeg-audio stuff fromJeff Morriss5-0/+308
wiretap to this new libwsutil. This solves http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1677 by making libwireshark no longer depend on libwiretap. svn path=/trunk/; revision=25330