Commit Graph

588 Commits

Author SHA1 Message Date
Gerald Combs e84e742d86 Check for GLib 2.14 and gmodule support no matter what.
svn path=/trunk/; revision=31881
2010-02-15 05:08:17 +00:00
Gerald Combs 79ed4c8305 Don't use PCRE if we have GRegex.
svn path=/trunk/; revision=31871
2010-02-13 00:07:42 +00:00
Gerald Combs 7e9faae9d9 1.3.3 -> 1.3.4.
svn path=/trunk/; revision=31865
2010-02-11 16:38:42 +00:00
Jeff Morriss e6b0f7cdfd Use automake to build things in docbook/ .
This at least gets the docbook source distributed, as requested in:

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3871

Still to do:
	1) get out-of-source-tree builds working
	2) automatically check that everything is distributed with distcheck
	   (requires (1) but it may also require building the docbook
	   directory as part of "make all")
	3) (optional) use automake rules to actually build the stuff (currently
	   Makefile.am is basically some automake stuff wrapped around standard
	   Makefile rules. Could this done better?)

svn path=/trunk/; revision=31858
2010-02-10 22:12:22 +00:00
Jörg Mayer 25eb272657 automake 1.11 has macros built in that make compilation much
less verbose, i.e. only shows something like
  CC     libdfilter_la-sttype-string.lo
and
  CCLD   libdfilter.la                                                          
Warnings are still shown, which makes warnings stick out more prominently
than before.

Offer that option if present.
This will provide 2 new configure arguments:
  --enable-silent-rules          less verbose build output (undo: `make V=1') 
  --disable-silent-rules         verbose build output (undo: `make V=0')      
The current default is disable-silent-rules to make the default behaviour
match the current one.

If you like that feature, maybe we should make silent compilation the new
default.

svn path=/trunk/; revision=31346
2009-12-22 09:43:48 +00:00
Gerald Combs 7c0dc5d7e7 If we don't have PCRE and we do have GLib >= 2.14, use GRegexes for the
"matches" operator.

svn path=/trunk/; revision=31302
2009-12-18 01:15:08 +00:00
Guy Harris 488253bfe7 Add the time zone abbreviation to the result of abs_time_to_str() and
abs_time_secs_to_str().

svn path=/trunk/; revision=31234
2009-12-11 03:39:17 +00:00
Gerald Combs bf2a79a5a2 Switch to .tar.bz2 for the "dist" target since that's what most people
download.

svn path=/trunk/; revision=31068
2009-11-24 23:03:29 +00:00
Gerald Combs f08e18e9a5 Switch back to normal versioning. Bump the version to 1.3.3.
svn path=/trunk/; revision=31064
2009-11-24 05:57:05 +00:00
Jörg Mayer 2cda5ff441 Add a few more optional compiler warnings and some (commented out)
ideas for linker flags.

svn path=/trunk/; revision=30853
2009-11-07 10:08:36 +00:00
Anders Broman a9c313a864 Bump development version.
svn path=/trunk/; revision=30750
2009-10-29 06:15:52 +00:00
Guy Harris 9c988fa854 Putting the AC_CANONICAL_xxx macro(s) *after* AC_INIT seems to work, and
could fix cross-compilation problems, according to Jeff Morriss, and
"make dist" seems to build a ustar archive after we do that, so give
that a try.  (I don't have any cross-compilers handy to test whether it
fixes cross-compilation or not.)

svn path=/trunk/; revision=30586
2009-10-16 22:28:25 +00:00
Kovarththanan Rajaratnam b57e27ef8e ns-cert-ext -> ns_cert_exts to make directory name consistent with filenames
svn path=/trunk/; revision=30478
2009-10-10 14:20:33 +00:00
Kovarththanan Rajaratnam 871970323c Update configure to reflect new asn1 folder names
svn path=/trunk/; revision=30475
2009-10-10 13:28:25 +00:00
Stig Bjørlykke 98024a007f Invert check for getopt: NEED_GETOPT_H -> HAVE_GETOPT_H
Rename getopt.[ch] -> wsgetopt.[ch] to avoid name collision.

svn path=/trunk/; revision=30370
2009-10-06 16:01:18 +00:00
Kovarththanan Rajaratnam 3bd5584251 Remove tpg from configure. It's not ready to be built by the masses
svn path=/trunk/; revision=30161
2009-09-26 03:51:17 +00:00
Jörg Mayer cbc3d3f772 Try to add tpg, but it seems it doesn't build with autofoo either.
svn path=/trunk/; revision=30151
2009-09-25 18:09:42 +00:00
Jaap Keuter a8a62d3e8b Bump version number after release of first development snapshot.
svn path=/trunk/; revision=30007
2009-09-20 09:19:59 +00:00
Michael Tüxen 6cc71bfbd8 Fix handling of new-packet-list.
svn path=/trunk/; revision=29965
2009-09-17 09:41:59 +00:00
Anders Broman 5564468d40 Make the new packet list the default build choice.
svn path=/trunk/; revision=29964
2009-09-17 08:29:10 +00:00
Michael Tüxen 86cf763175 Add --enable-new-packet-list to configure script. Default
is no for now. Should be kept in sync with the corresponding
Windows switch.

svn path=/trunk/; revision=29676
2009-09-02 19:16:59 +00:00
Kovarththanan Rajaratnam 974849a9a0 Remove strcasecmp. We use g_ascii_strcasecmp exclusively
svn path=/trunk/; revision=29643
2009-08-31 19:47:50 +00:00
Jörg Mayer b6cffe4050 - Add an AC macro to test linker flags.
- Test whether the linker supports --as-needed and if so,
  adds it to LDFLAGS

svn path=/trunk/; revision=29327
2009-08-07 18:49:24 +00:00
Gerald Combs 72a20c1695 Pull mkstemp() into tempfile.c. That's the only place we use it now, and
it's arguably the only place we _should_ use it. Add create_tempdir() to
tempfile.c and use it to create a temp directory for IP maps. This
should fix bug 3530.

(This still doesn't work on IE 8 / Vista here. IE gives an access denied
error in OpenLayers.js, but this is a separate issue).

svn path=/trunk/; revision=28920
2009-07-02 17:20:27 +00:00
Balint Reczey 789089dfd2 Detect gnutls via pkg-config instead of the deprecated libgnutls-config.
Based on patch from Andreas Metzler.
This fixes bug 3627.

svn path=/trunk/; revision=28874
2009-06-28 16:31:27 +00:00
Balint Reczey 486f55b7b9 Strictly require flex instead of allowing lex, too.
It compiles now.
This fixes bug 1641.

svn path=/trunk/; revision=28867
2009-06-28 04:20:10 +00:00
Balint Reczey bdfbccf343 Revert commit 28854.
svn path=/trunk/; revision=28855
2009-06-27 08:13:39 +00:00
Balint Reczey cb9c931cf4 Strictly require flex instead of allowing lex, too.
svn path=/trunk/; revision=28854
2009-06-27 06:32:52 +00:00
Jörg Mayer 8a637cee1c Add -Wextra (ok, it was already there as -W) and -Wlogical-op
svn path=/trunk/; revision=28806
2009-06-22 06:31:11 +00:00
Stig Bjørlykke 39d713806f Use liblua by default, if available.
svn path=/trunk/; revision=28621
2009-06-03 12:13:07 +00:00
Stig Bjørlykke 3e0d2b2707 Adjusted the python binding message from configure.
svn path=/trunk/; revision=28544
2009-05-31 16:06:32 +00:00
Sebastien Tandel 52cc5fb1e8 python binding for wireshark (first commit)
* ability to write dissectors with python for wireshark.
        documentation (http://wiki.wireshark.org/Python)


svn path=/trunk/; revision=28529
2009-05-29 21:10:40 +00:00
Gerald Combs bc469b1f79 Move the trunk to 1.3.
svn path=/trunk/; revision=28495
2009-05-26 20:53:28 +00:00
Stig Bjørlykke 3c0d24f3cb Lua support is no plugin.
svn path=/trunk/; revision=28333
2009-05-12 12:03:14 +00:00
Jörg Mayer 88714b7659 Goal: Make the airpcap GUI available on Linux.
Step1: Run "configure --enable-airpcap" and see what fails.

svn path=/trunk/; revision=28285
2009-05-05 21:38:26 +00:00
Guy Harris 96e3a6c6ac Bleah, some dissectors still insist on using structures and sizeof and
offsetof, so turn off 64-to-32 warnings for now.

svn path=/trunk/; revision=28118
2009-04-22 03:10:24 +00:00
Guy Harris 54c159cb41 Turn on -Wshorten-64-to-32 by default, and fix some issues that turned
up (99 44/100% of which were assignments of double-precision
floating-point constants to floats).  Hopefully this will catch at least
some P64 issues on UN*X.

svn path=/trunk/; revision=28108
2009-04-21 16:57:52 +00:00
Guy Harris 2f6fe511f3 Sigh.
dladdr() in GNU libc isn't available (<dlfcn.h> doesn't define Dl_info)
unless _GNU_SOURCE is defined.

In addition, it's not guaranteed to return anything more useful than
argv[0]; just in case that changes at some point in the future, however,
we still use it, we just run it through the same machinery that we run
argv[0] through.  (On Mac OS X, for example, the path of the executable
is handed to the run-time linker by the kernel, so it *is* useful
there.)

svn path=/trunk/; revision=27821
2009-03-22 18:06:06 +00:00
Guy Harris 7c6e2155cc Attempt to use dladdr() to get the pathname of the executable image if
it's available and works.

svn path=/trunk/; revision=27812
2009-03-22 00:42:33 +00:00
Gerald Combs 1c3e3a4a53 Switch back to 1.1.4.
svn path=/trunk/; revision=27810
2009-03-20 23:15:15 +00:00
Gerald Combs ecd732384c Temporarily switch back to building 1.1.3 final.
svn path=/trunk/; revision=27807
2009-03-20 16:17:02 +00:00
Gerald Combs dd903ca9c8 Create an "epan/crc" directory for CRC code. Add crc-16-plain.[ch],
generated from pycrc. The command line used to generate the file is in
epan/crc/Makefile.common. I used "plain" to distinguish it from CCITT,
USB, and other 16-bit CRCs. Integrate the new CRC code into our
infrastructure.

Add crc16_plain_tvb_offset() to epan/crc16.[ch] and use it in
plugins/profinet/packet-pn-rt.c. This _should_ work correctly, but
hasn't been tested.

svn path=/trunk/; revision=27790
2009-03-18 21:59:30 +00:00
Gerald Combs 2d24475011 Move to 1.1.4.
svn path=/trunk/; revision=27767
2009-03-18 05:42:03 +00:00
Gerald Combs cf7fb3ea9c Port rdps from C to Python. This makes it easier to cross-compile
Wireshark on Windows. The GNU toolchain changes have not been tested.

svn path=/trunk/; revision=27704
2009-03-11 22:12:05 +00:00
Jaap Keuter 23461c4382 Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27506
2009-02-22 12:01:19 +00:00
Jaap Keuter 9da243b13c Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27505
2009-02-22 11:43:37 +00:00
Jaap Keuter 4683efcfe2 Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27504
2009-02-22 11:25:16 +00:00
Jaap Keuter 80863f9568 Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27503
2009-02-22 11:10:29 +00:00
Jaap Keuter 9fb248f1c0 Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27502
2009-02-22 10:52:05 +00:00
Jaap Keuter 03bbd18a0b Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27501
2009-02-22 10:29:14 +00:00