Gerald Combs
ba49d9bcf0
Revert part of 52896 and (for now) all of 52935. As Jeff pointed out,
...
the PortableApps version relies on U3_-prefixed environment variables.
svn path=/trunk/; revision=52941
2013-10-29 04:05:27 +00:00
Gerald Combs
69741d086b
Remove U3 code and packaging.
...
svn path=/trunk/; revision=52896
2013-10-27 17:15:39 +00:00
Evan Huus
304bbabbbe
From Jiri Engelthaler via
...
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-26 16:23:55 +00:00
Jeff Morriss
1248db2ad6
pint.h is in wsutil now.
...
svn path=/trunk/; revision=51107
2013-08-02 00:31:37 +00:00
Jeff Morriss
2df54da6e2
Move a bunch of the crypt modules and pint.h into wsutil.
...
This means wsutil now links against libcrypt.
Protect a bunch of the crypt header files from multiple inclusion.
svn path=/trunk/; revision=51100
2013-08-01 23:34:47 +00:00
Jeff Morriss
56735f8c16
Move u3.{h,c} and g711.{h,c} into wsutil.
...
Project g711.h against multiple inclusion and add C++ compatibility wrapper.
svn path=/trunk/; revision=50654
2013-07-16 02:04:55 +00:00
Jeff Morriss
2d30d5beb1
Move strnatcmp.{h,c} from epan into wsutil: there's nothing epan-specific
...
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-16 01:16:50 +00:00
Jeff Morriss
54bb2e7a5c
Move report_err.{h,c} from epan into wsutil: there's nothing epan-specific 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-15 02:48:26 +00:00
Jeff Morriss
bbf6a3766e
Move tempfile.{h,c} into wsutil.
...
svn path=/trunk/; revision=50163
2013-06-26 01:14:35 +00:00
Jeff Morriss
74dc568ef1
As pointed out by Guy: timestats uses packet_info so it belongs in epan
...
not wsutil.
svn path=/trunk/; revision=50159
2013-06-26 00:18:44 +00:00
Jeff Morriss
a441793cba
Move a couple of time-related modules into wsutil.
...
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-25 22:02:20 +00:00
Guy Harris
05825b02cd
Add some routines to wsutil to, at least on some platforms, add
...
information to crash dumps and the like. (Currently, we only handle OS
X's CrashReporter, but we should do this on other platforms where this
information can be added and would be helpful.)
White space tweaks.
svn path=/trunk/; revision=47104
2013-01-15 21:54:41 +00:00
Anders Broman
68e2e8b889
From Jacob Nordgren and Rishie Sharma:
...
Add CRC11 algorithms
svn path=/trunk/; revision=44346
2012-08-08 16:27:10 +00:00
Anders Broman
02d23f97b0
Add crc7 calculation abillity.
...
svn path=/trunk/; revision=43680
2012-07-12 14:24:19 +00:00
Jakub Zawadzki
bf81b42e1e
Update Free Software Foundation address.
...
(COPYING will be updated in next commit)
svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Stig Bjørlykke
db6f524164
From Roland Knall via bug 6539:
...
Implementing generic CRC8 and CRC16 functions for openSAFETY in wsutil.
svn path=/trunk/; revision=39726
2011-11-03 20:58:29 +00:00
Anders Broman
c7c6bbf831
Move airpcap_wep.c to /wsutil
...
svn path=/trunk/; revision=38969
2011-09-12 08:23:15 +00:00
Stig Bjørlykke
5359494b1f
Second try to move crc routines to libwsutil.
...
This time keep the tvb routines in epan.
Now we can use common crc routines outside epan.
svn path=/trunk/; revision=38810
2011-08-31 09:00:54 +00:00
Stig Bjørlykke
71f903b956
Revert r38800, as the crc routines contains some tvb functions.
...
svn path=/trunk/; revision=38803
2011-08-30 14:17:40 +00:00
Stig Bjørlykke
4132d40e50
Move all crc routines to libwsutil.
...
This way we can use the crc routines in wiretap.
svn path=/trunk/; revision=38800
2011-08-30 13:46:42 +00:00
Jeff Morriss
baee0e77fe
Make inet_aton an optional object on *NIX again
...
svn path=/trunk/; revision=33016
2010-05-29 01:00:52 +00:00
Jeff Morriss
47e2d75820
Move some code (including the optional objects) into libwsutil
...
svn path=/trunk/; revision=33012
2010-05-28 20:19:55 +00:00
Guy Harris
29a7854093
Move wtap_pcap_encap_to_wtap_encap() and wtap_wtap_encap_to_pcap_encap()
...
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-22 00:06:12 +00:00
Tomas Kukosa
096fd50872
commit forgotten changed file
...
svn path=/trunk/; revision=27035
2008-12-17 10:51:53 +00:00
Gerald Combs
80e94e3ec3
Move wtap_pcap_encap_to_wtap_encap and wtap_wtap_encap_to_pcap_encap to
...
libwsutil.
svn path=/trunk/; revision=26233
2008-09-19 16:26:37 +00:00
Guy Harris
9d1b5335ac
g_ascii_strdown() and g_ascii_strup(), unlike g_strdown() and g_strup(),
...
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-09-03 19:14:52 +00:00
Jeff Morriss
2cd9755e81
unicode-utils.c is only for Windows; don't build it on UN*X. Put in a check
...
to cause it to fail when built on UN*X.
svn path=/trunk/; revision=25704
2008-07-11 16:18:32 +00:00
Jeff Morriss
83f9ecf96f
Move privileges.c and unicode-utils.c from epan to wsutil (so things like
...
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-30 17:16:29 +00:00
Guy Harris
d6e94dafb3
file_util.c is only for Windows; don't build it on UN*X. Put in a check
...
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-23 02:15:27 +00:00
Guy Harris
819dc6c790
Add a Makefile.common file, and have Makefile.am and Makefile.nmake use it.
...
svn path=/trunk/; revision=25360
2008-05-23 02:09:48 +00:00