Stig Bjørlykke
bd38b3152d
Support out-of-source checkapi
...
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-04-25 04:23:46 +00:00
Alexis La Goutte
757aa33220
Continue to remove $Id$ from top of file
...
(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-03-31 18:48:06 +00:00
Jakub Zawadzki
abda30e9e6
Fix bug #9618 : Invalid utf8 causes JSON dissector assertion failure "g_utf8_validate"
...
Validate JSON UTF-8 characters, replace with '?' when invalid.
svn path=/trunk/; revision=54633
2014-01-07 22:17:32 +00:00
Guy Harris
db25270df8
Move the epan/filesystem.c routines to wsutil; they're not specific to
...
packet dissection, they're specific to the entire Wireshark suite of
programs.
svn path=/trunk/; revision=53377
2013-11-17 02:55:14 +00:00
Gerald Combs
be9eedeb8c
Make sure LIBGCRYPT_CFLAGS is added to AM_CPPFLAGS.
...
svn path=/trunk/; revision=52672
2013-10-18 16:32:43 +00:00
Jeff Morriss
99050171cb
Keep checkAPIs happy (even though it's just test code). Get that test code
...
compiling again (warning free).
Fix the checkapi target in automake.
svn path=/trunk/; revision=51114
2013-08-02 02:34:13 +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
Guy Harris
b6ee206d2f
Distribute CMakeLists.txt.
...
svn path=/trunk/; revision=48716
2013-04-03 07:38:44 +00:00
Jaap Keuter
827eb58b04
From David Arnold:
...
Replace use of INCLUDES with AM_CPPFLAGS in all Makefiles to placate recent autotools.
svn path=/trunk/; revision=48261
2013-03-12 06:53:39 +00:00
Balint Reczey
1ebdb2e521
Export libwireshark symbols using WS_DLL_PUBLIC define
...
Also remove old WS_VAR_IMPORT define and related Makefile magic
everywhere in the project.
svn path=/trunk/; revision=47992
2013-03-01 23:53:11 +00:00
Balint Reczey
45c2884f1b
Export libwsutil symbols using WS_DLL_PUBLIC define
...
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-28 14:09:46 +00:00
Balint Reczey
d2e0724afc
Add dumpabi targets to CMake builds
...
Also update automake generated targets to match CMake generated ones
svn path=/trunk/; revision=47879
2013-02-25 18:12:20 +00:00
Martin Kaiser
7126d3a56b
add wsutil/wsgcrypt.h as a wrapper around libgcrypt's gcrypt.h
...
(not used for now)
svn path=/trunk/; revision=47801
2013-02-21 18:09:18 +00:00
Gerald Combs
8f478c5c44
Exclude create_app_running_mutex.
...
svn path=/trunk/; revision=47762
2013-02-20 03:01:12 +00:00
Gerald Combs
ec880b7db3
Use readlink instead of ls.
...
svn path=/trunk/; revision=47338
2013-01-29 01:06:24 +00:00
Balint Reczey
c6f9d4c131
make dumpabi target build with multiple digits in library version numbers
...
svn path=/trunk/; revision=47329
2013-01-28 21:45:44 +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
Gerald Combs
1a7470c6be
Forward-port r43165 and r43168 from trunk-1.6.
...
------------------------------------------------------------------------
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-06-08 23:54:22 +00:00
Jeff Morriss
75c3c92f19
Add a "-build" argument to checkAPIs.pl. Use that argument when building
...
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-04 20:46:49 +00:00
Anders Broman
82913779e4
Update to a version which have getopt_long().
...
svn path=/trunk/; revision=41926
2012-04-04 15:23:47 +00:00
Michael Tüxen
0c682968dd
Sync checkapi target with Makefile.nmake.
...
svn path=/trunk/; revision=40626
2012-01-21 12:06:31 +00:00
Balint Reczey
26503be7dc
fix compile errors found by dumpabi target
...
svn path=/trunk/; revision=40595
2012-01-19 22:55:37 +00:00
Stig Bjørlykke
8443bbbf75
Replace all strerror() with g_strerror().
...
Remove our local strerror implementation.
Mark strerror as locale unsafe API.
This fixes bug 5715.
svn path=/trunk/; revision=37812
2011-06-28 09:00:11 +00:00
Gerald Combs
349273944d
Add links to libtool's recommendations for library versions.
...
svn path=/trunk/; revision=37582
2011-06-06 21:40:40 +00:00
Balint Reczey
9fe47db306
Reorganize dumpabi targets to keep temporary files
...
svn path=/trunk/; revision=37540
2011-06-04 16:44:37 +00:00
Balint Reczey
81849d7682
Fixing wrong library names in r37474
...
svn path=/trunk/; revision=37475
2011-05-31 12:09:47 +00:00
Balint Reczey
8ac6683629
Add dumpabi target to Makefiles in wsutil, epan and wiretap directories.
...
We can use the dumped ABI description for comparing ABI changes between revisions.
svn path=/trunk/; revision=37474
2011-05-31 12:07:25 +00:00
Gerald Combs
962b23f8d5
Filter out arg_list_utf_16to8.
...
svn path=/trunk/; revision=37396
2011-05-25 18:38:39 +00:00
Balint Reczey
5dc1634248
Update filter for Windows-only symbols.
...
svn path=/trunk/; revision=35203
2010-12-16 17:22:17 +00:00
Balint Reczey
7f690fd086
Export only defined symbols from libwsutil.
...
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-16 16:42:34 +00:00
Jeff Morriss
d6eff0493c
Revert rev 35145 for wsutil: go back to exporting all symbols. libwsutil's 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-07 18:31:50 +00:00
Balint Reczey
8b4573f705
Make libtool export only symbols listed in *.def files
...
svn path=/trunk/; revision=35145
2010-12-07 13:38:15 +00:00
Balint Reczey
772161973c
Add libtool version info to libwsutil.
...
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-11-25 23:00:16 +00:00
Jeff Morriss
403e4e62a4
Put the optional objects in EXTRA..SOURCES instead of EXTRA_DIST.
...
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-29 03:33:28 +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
Stig Bjørlykke
b683d25860
Added libwsutil.def to EXTRA_DIST
...
svn path=/trunk/; revision=25999
2008-08-13 10:35:33 +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
Guy Harris
a04774395f
Add Makefile.common files for epan/dfilter and epan/ftypes.
...
Add checkapi rules to Makefile.am files.
svn path=/trunk/; revision=25656
2008-07-02 01:44:30 +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
Jeff Morriss
a5cee04fad
Move the file utility functions from wiretap to libwsutil so that
...
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-22 15:46:27 +00:00
Jeff Morriss
58459d3fba
Create a new "Wireshark utility" library and move the mpeg-audio stuff from
...
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
2008-05-20 21:51:01 +00:00