Guy Harris
ac3ac6c476
Plugins are not shared libraries, so:
...
1) don't set thei SOVERSION - run-time-loaded modules don't have
an SOVERSION;
2) build them with link mode MODULE, not SHARED, on all
platforms.
(Fixing 1) also fixes the problem with building them as MODULE on OS X.)
svn path=/trunk/; revision=34243
2010-09-24 20:41:34 +00:00
Jörg Mayer
de68ad3066
H. Sivank <hsivank@gmail.com>
...
I try to configure Wireshark with cmake on macosx 10.6.
It fails with : set_target_properties called with incorrect number of arguments.
Attached a patch to fix this issue.
svn path=/trunk/; revision=34201
2010-09-23 07:02:33 +00:00
Bill Meier
e600394937
(Trivial) Use consistent indentation; Whitespace cleanup.
...
svn path=/trunk/; revision=33788
2010-08-12 16:27:16 +00:00
Bill Meier
32ea9657c8
Add new expansion.h file left out of the previous commit.
...
svn path=/trunk/; revision=33787
2010-08-12 15:58:01 +00:00
Bill Meier
ead0425688
From Don Newton: Added dissection of Expansion Module (KEM,GEM) messages to Unistim plugin.
...
From me: Add expansion.h to list of .h files in Makefile.common;
#include <stdio.h> not required.
svn path=/trunk/; revision=33786
2010-08-12 15:47:31 +00:00
Jaap Keuter
ccf61ec3b2
From Don Newton:
...
Fails to decrement msg_len on 3 different message types which causes the
dissector to attempt to decode an addition or misplaced unistim cmd.
svn path=/trunk/; revision=33643
2010-07-27 06:46:00 +00:00
Guy Harris
75ffa6bb71
The only reason to escape "%" in a string is if you are, incorrectly,
...
passing a string directly to a routine that expects a format string.
The correct way to handle that is to pass "%s" as the string.
As long as you're escaping non-printable characters, just let
tvb_format_string() handle that.
For null-terminated strings, get the length of the string with
tvb_strsize(), and then just put the string into the protocol tree as a
regular item.
svn path=/trunk/; revision=33482
2010-07-09 21:27:08 +00:00
Jaap Keuter
eb6efdc4a4
Synchronize Makefiles even more.
...
svn path=/trunk/; revision=32808
2010-05-14 16:48:17 +00:00
Jeff Morriss
54082c6ed0
Add Cmake stuff to the source distribution so more people can try it out.
...
svn path=/trunk/; revision=32807
2010-05-14 16:27:03 +00:00
Anders Broman
846eed1d9e
Get rid of check_col
...
svn path=/trunk/; revision=32401
2010-04-06 16:13:09 +00:00
Jörg Mayer
96779de920
cmake changes:
...
- 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
2010-03-18 10:27:17 +00:00
Guy Harris
5535f4a598
Fix some compiler warnings, clean up indentation a bit.
...
svn path=/trunk/; revision=32201
2010-03-16 03:31:44 +00:00
Jörg Mayer
67072286bf
- Remove the lib prefix for plugin names.
...
- Remove a (resolved) comment.
- Add a commented out line how to add version infos to the
plugin's file name.
svn path=/trunk/; revision=31995
2010-02-24 22:32:10 +00:00
Bill Meier
bb79476b22
Fix gcc -Wshadow warning;
...
Move proto_register... and proto_reg_handoff... to the end of the file.
svn path=/trunk/; revision=31723
2010-01-28 23:11:54 +00:00
Jörg Mayer
d2cc318f4f
Beginnings of enabling static builds. Still to do:
...
* Add -static
* Registration may need different handling
* Add plugins
* Build error in wslua
svn path=/trunk/; revision=30987
2009-11-17 11:58:36 +00:00
Jörg Mayer
9ee31d1d0e
cmake will now honor -Werror if configured (default: on)
...
svn path=/trunk/; revision=30852
2009-11-07 10:07:00 +00:00
Kovarththanan Rajaratnam
8b8399b711
Use register_dissector_files in the plugins dissectors
...
svn path=/trunk/; revision=30435
2009-10-09 16:39:34 +00:00
Stig Bjørlykke
cf85342eec
Build plugins with cmake on OSX.
...
svn path=/trunk/; revision=30373
2009-10-06 18:58:09 +00:00
Jörg Mayer
72ea6d56d2
Forgot to commit the unistim cmakefile
...
svn path=/trunk/; revision=30145
2009-09-25 15:29:15 +00:00
Jeff Morriss
4661aad9a4
Run checkapi on the dissector header files
...
svn path=/trunk/; revision=29883
2009-09-13 19:48:22 +00:00
Kovarththanan Rajaratnam
2547ce21bf
We no longer support the old plugin API so remove it completely from the build system
...
svn path=/trunk/; revision=29821
2009-09-09 14:01:57 +00:00
Kovarththanan Rajaratnam
ac463d2697
Don't guard col_clear with col_check
...
svn path=/trunk/; revision=29346
2009-08-09 08:14:59 +00:00
Kovarththanan Rajaratnam
24ca3c44c9
Don't guard col_set_str (COL_PROTOCOL) with col_check
...
svn path=/trunk/; revision=29341
2009-08-09 06:47:24 +00:00
Stig Bjørlykke
618d8b517a
Removed header_field.h
...
svn path=/trunk/; revision=28999
2009-07-07 20:40:28 +00:00
Stig Bjørlykke
7881d1ccd7
From Kovarththanan Rajaratnam:
...
More FT_XXX cleanup.
svn path=/trunk/; revision=28970
2009-07-07 09:00:33 +00:00
Stig Bjørlykke
3a6e56c25a
From Kovarththanan Rajaratnam via bug 3548:
...
Move header_field.h into packet-unistim.c to align it with all other
dissectors.
svn path=/trunk/; revision=28967
2009-07-07 07:45:32 +00:00
Stig Bjørlykke
8531980952
From Kovarththanan Rajaratnam:
...
More hf_register_info related cleanup.
svn path=/trunk/; revision=28832
2009-06-24 02:17:12 +00:00
Anders Broman
3a11073d6b
Get info about media type(Video or not) a first step towards usage in rtp statistics.
...
svn path=/trunk/; revision=28415
2009-05-19 18:42:33 +00:00
Gerald Combs
17f0d877fa
Fix Win64 compilation problems in the plugins directory.
...
svn path=/trunk/; revision=28064
2009-04-16 03:38:23 +00:00
Bill Meier
a0eee8c299
Replace some unnecessary use of g_snprintf and g_strdup_printf
...
svn path=/trunk/; revision=27864
2009-03-27 14:46:54 +00:00
Gerald Combs
07e5df616e
Disable manifest building for our DLLs. This attempts to fix bug 3272.
...
svn path=/trunk/; revision=27579
2009-03-02 18:57:35 +00:00
Ulf Lamping
043532d63e
add missing mt.exe calls, to include manifest files into exe / dll files
...
svn path=/trunk/; revision=27357
2009-02-02 23:09:36 +00:00
Bill Meier
9a3563e807
Fix some typos and spelling (mostly in text strings)
...
svn path=/trunk/; revision=27085
2008-12-22 15:24:18 +00:00
Jörg Mayer
b719d7ac35
Unistim still eats the TAPA packets :-(
...
svn path=/trunk/; revision=26910
2008-12-04 09:31:44 +00:00
Jaap Keuter
f5b04f0124
From Don Newton:
...
Set default port of Unistim back to 5000; The Unistim dissector is made a heuristic dissector.
svn path=/trunk/; revision=26904
2008-12-02 23:02:32 +00:00
Jaap Keuter
7c65de9865
From Don Newton:
...
Flesh out call duration timer message.
svn path=/trunk/; revision=26898
2008-12-02 07:09:01 +00:00
Stig Bjørlykke
94e9e2b1ec
Fix some "format not a string literal and no format arguments" warnings.
...
svn path=/trunk/; revision=26652
2008-10-31 17:27:51 +00:00
Bill Meier
278b32d71f
Minor cleanup related to proto_register/proto_reg_handoff ...
...
svn path=/trunk/; revision=26596
2008-10-28 00:29:15 +00:00
Jeff Morriss
b4d2c37635
Allow checkapis target to work in out-of-tree builds (s#../../#$(top_srcdir)).
...
Also use $(top_builddir) instead of ../../ in a couple of other spots.
svn path=/trunk/; revision=25863
2008-07-29 22:06:37 +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
b6e20d89be
Put printf into a separate "termoutput" API group. For most files,
...
check for it - but not for TShark plugins, as they are expected to
print to the standard output.
svn path=/trunk/; revision=25653
2008-07-01 21:13:32 +00:00
Gerald Combs
83aacf0a09
Add support for "API groups" in checkAPIs.pl. Make the "prohibited"
...
and "deprecated" groups the default. Add an "abort" group for code that
shouldn't exit the program. Update the makefiles to call "checkAPIs.pl
-g abort" for dissectors. Remove a dependency on "cat" in checkAPIs.pl.
svn path=/trunk/; revision=25614
2008-06-26 22:20:05 +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
Anders Broman
023a81709a
Make it possible to run checkapi on all plugins trough makefile.nmake
...
Note: Commented out in the plugins giving errors for now.
svn path=/trunk/; revision=25231
2008-05-05 16:55:19 +00:00
Jaap Keuter
81db026301
Fix for bug 2475:
...
Add a preference to the UNISTIM dissector so that you can set the default port back to 5000, even though this conflicts with other dissectors.
svn path=/trunk/; revision=25118
2008-04-19 10:41:45 +00:00
Jaap Keuter
b704bdcbc5
Remove the pre-release flag from FILEFLAGS in the resource file.
...
svn path=/trunk/; revision=24757
2008-03-29 23:04:33 +00:00
Jörg Mayer
dc6789a84f
Set default port of Unistim from 5000 to 0: It grabs the TAPA
...
packets that I need.
The Unistim dissector should be made a heuristic dissector that
is willing to coexist with other dissectors. Until such a time
the port should remain 0.
svn path=/trunk/; revision=24573
2008-03-06 12:54:08 +00:00
Jaap Keuter
fcf8509f69
Create proper dependancies for plugin.c
...
svn path=/trunk/; revision=24520
2008-03-01 12:31:01 +00:00
Stig Bjørlykke
fc5527ef6c
Quote argument to test in plugins Makefiles, as proposed by Greg A. Woods.
...
svn path=/trunk/; revision=24488
2008-02-27 16:18:30 +00:00
Gerald Combs
7abeb02747
If we have an SVN revision number, use it as the build number under Windows
...
instead of "0".
svn path=/trunk/; revision=24376
2008-02-18 18:08:14 +00:00