aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate
AgeCommit message (Collapse)AuthorFilesLines
2009-08-03Use find_dissector() instead of create_dissector_handle();Bill Meier1-7/+6
Fix some indentation. svn path=/trunk/; revision=29273
2009-07-18From Kovarththanan Rajaratnam via bug 3719:Stig Bjørlykke1-9/+9
This patch optimizes proto_tree_prime_hfid() + friends and plugs a memleak in the process. From me: Removed unused hfindex in proto_tree_new_item() Fixed ref_count entry in struct header_field_info. svn path=/trunk/; revision=29137
2009-06-05Have tap listeners specify whether the "packet" routine requiresGuy Harris1-4/+5
a protocol tree; the column values. This includes stats-tree listeners. Have the routines to build the packet list, and to retap packets, honor those requirements. This means that cf_retap_packets() no longer needs an argument to specify whether to construct the column values or not, so get rid of that argument. This also means that there's no need for a tap to have a fake filter to ensure that the protocol tree will be built, so don't set up a fake "frame" filter. While we're at it, clean up some cases where "no filter" was represented as a null string rather than a null pointer. Have a routine to return an indication of the number of tap listeners with filters; use that rather than the global num_tap_filters. Clean up some indentation and some gboolean vs. gint items. svn path=/trunk/; revision=28645
2009-04-16Fix Win64 compilation problems in the plugins directory.Gerald Combs2-3/+6
svn path=/trunk/; revision=28064
2009-03-27Replace some unnecessary use of g_snprintf and g_strdup_printfBill Meier1-4/+4
svn path=/trunk/; revision=27864
2009-03-18From Jakub Zawadzki: g_gnprintf & etc: Use size of buffer [not size -1];Bill Meier1-1/+1
- As suggested actually use sizeof(...) rather than a numeric constant. - g_snprintf() and g_vsnprintf() since glib 1.3.12 do not return -1. svn path=/trunk/; revision=27772
2009-03-15Go a little deeper into the Win64 rabbit-hole. Add tools/native-nmake.cmdGerald Combs1-3/+3
and use it as a wrapper to compile a native version of lemon. Untested on Win32. svn path=/trunk/; revision=27734
2009-03-02Disable manifest building for our DLLs. This attempts to fix bug 3272.Gerald Combs1-3/+0
svn path=/trunk/; revision=27579
2009-02-02add missing mt.exe calls, to include manifest files into exe / dll filesUlf Lamping1-0/+3
svn path=/trunk/; revision=27357
2008-12-22Fix some typos and spelling (mostly in text strings)Bill Meier3-4/+4
svn path=/trunk/; revision=27085
2008-10-31Fix some "format not a string literal and no format arguments" warnings.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=26652
2008-09-07Get one more pointer difference.Guy Harris1-2/+2
svn path=/trunk/; revision=26163
2008-09-06To compute the difference between two addresses, cast the pointersGuy Harris1-7/+17
holding those addresses to "void *" and then to "char *" (so we don't get warnings from casting directly to "char *" or errors from subtracting two "void *"s), and subtract them, rather than casting the pointers to an integral type possibly shorter than the pointers (to avoid warnings and to avoid the admittedly-infinitesimal chance that the two pointers don't differ in the bits that fit into the integral type). svn path=/trunk/; revision=26151
2008-09-06Use GINT_TO_POINTER() to cast integral values to gpointer inGuy Harris1-2/+2
g_hash_table_lookup() calls, in the hopes of suppressing warnings on platforms with 32-bit ints and 64-bit pointers. svn path=/trunk/; revision=26149
2008-08-05luis.ontanon@gmail.com => luis@ontanon.orgLuis Ontanon7-7/+7
svn path=/trunk/; revision=25937
2008-07-29Allow checkapis target to work in out-of-tree builds (s#../../#$(top_srcdir)).Jeff Morriss1-3/+3
Also use $(top_builddir) instead of ../../ in a couple of other spots. svn path=/trunk/; revision=25863
2008-07-02Add Makefile.common files for epan/dfilter and epan/ftypes.Guy Harris1-0/+3
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-26Add support for "API groups" in checkAPIs.pl. Make the "prohibited"Gerald Combs1-1/+1
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-05-22Move the file utility functions from wiretap to libwsutil so thatJeff Morriss4-132/+132
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-11g_string_sprintf --> g_string_printf and g_string_sprintfa --> ↵Bill Meier4-13/+13
g_string_append_printf svn path=/trunk/; revision=25276
2008-05-05Make it possible to run checkapi on all plugins trough makefile.nmakeAnders Broman1-0/+3
Note: Commented out in the plugins giving errors for now. svn path=/trunk/; revision=25231
2008-04-25 Bug 2493: Fix (Part 3 of 3): Bill Meier1-1/+7
To prevent Windows compiler errors when using flex 2.5.35. Ignore 'signed /unsigned mismatch' warnings svn path=/trunk/; revision=25174
2008-04-25 Bug 2493: Fix (Part 2): Bill Meier1-5/+18
To prevent Windows compiler errors when using flex 2.5.35. Fixes "missing unistd.h" and yywrap "mismatched parameter" warnings [Upcoming Part 3: ignore 'signed /unsigned mismatch' errors] svn path=/trunk/; revision=25173
2008-04-07- Remove GLIB1 codeStephen Fisher3-3/+0
- Change ugly GLIB version checking statements to GLIB_CHECK_VERSION - Remove ws_strsplit files because we no longer need to borrow GLIB2's g_strsplit code for the no longer supported GLIB1 builds svn path=/trunk/; revision=24829
2008-03-29Remove the pre-release flag from FILEFLAGS in the resource file.Jaap Keuter1-2/+2
svn path=/trunk/; revision=24757
2008-03-21In glib 2.16 g_malloc Changed from:Anders Broman1-0/+4
- gpointer g_malloc (gulong n_bytes) G_GNUC_MALLOC; to: + gpointer g_malloc (gsize n_bytes) G_GNUC_MALLOC; svn path=/trunk/; revision=24710
2008-03-01Create proper dependancies for plugin.cJaap Keuter1-1/+2
svn path=/trunk/; revision=24520
2008-02-27Quote argument to test in plugins Makefiles, as proposed by Greg A. Woods.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=24488
2008-02-18If we have an SVN revision number, use it as the build number under WindowsGerald Combs1-1/+1
instead of "0". svn path=/trunk/; revision=24376
2007-10-17s/fopen()/eth_fopen()/ in plugins/ (for bug 1827).Jeff Morriss2-4/+7
svn path=/trunk/; revision=23221
2007-08-27Add .c.obj:: inference rule (to cause "batch compile") Bill Meier1-1/+1
svn path=/trunk/; revision=22696
2007-08-04Add a script as a front-end for Flex, to work around various problems,Guy Harris4-1/+12
such as the fact that Flex strips all but the last component of the "-o" argument, and that it doesn't generate a header file to declare routines the generated lexical analyzer defines. Use that script when building lexical analyzers, and, for each lexical analyzer, include the generated header file in the generated analyzer. svn path=/trunk/; revision=22446
2007-08-01Add a Makefile.nmake.inc file, to hold rules etc. used by multipleGuy Harris1-6/+3
Makefile.nmake files; currently, it has the (F)lex-to-C rule and a .SUFFIXES pseudo-rule to add .l to the list of suffixes. Have Makefile.nmake files with .l.c rules include Makefile.nmake.inc to get that rule. The names Makefile.am.inc and Makefile.nmake.inc aren't necessarily the right names for the files in question. Use $(PACKAGE) in the Mate plugin's Makefile, rather than "mate". svn path=/trunk/; revision=22437
2007-08-01Add a Makefile.am.inc file, to hold rules etc. used by multipleGuy Harris1-7/+2
Makefile.am files; currently, it has the (F)lex-to-C rule. Have Makefile.am files with .l.c rules include Makefile.am.inc to get that rule. svn path=/trunk/; revision=22436
2007-08-01Use a common .l.c rule for running Flex on .l files, just as is done onGuy Harris1-2/+6
UN*X. svn path=/trunk/; revision=22434
2007-07-30Add comments to various %option items to explain what they're doing. Guy Harris2-3/+23
Move the %options to the beginning if they weren't already there, and put them in the same order in all files. Add "prefix=" options to .l files that don't already have them, so we don't have to pass a "-P" option. Add "never-interactive" and "noyywrap" options to our lexical analyzers, to remove extra isatty() checks and to eliminate the need for yywrap() from the Flex library. Get rid of %option nostdinit - that's the default. Add .l.c: rules to Makefile.am files, replacing the rules for specific .l files. Have those rules all check that $(LEX) is set. Update the address for the FSF. svn path=/trunk/; revision=22424
2007-06-03(Minor) Use _WIN32 (instead of WIN32) like the rest of Wireshark Bill Meier1-1/+1
svn path=/trunk/; revision=22030
2007-05-27Clean up white space.Guy Harris1-2/+3
svn path=/trunk/; revision=21962
2007-05-27Get rid of trailing blank lines.Guy Harris1-1/+0
svn path=/trunk/; revision=21961
2007-05-22"make maintainer-clean" cleans up everything that "make distclean" does;Guy Harris1-3/+0
there's no need for files in DISTCLEANFILES to be in MAINTAINERCLEANFILES as well. In epan, split the generated source files into those that should be cleaned by "make distclean" and those that shouldn't, and have DISTCLEANFILES include only the ones that should be cleaned by "make distclean" and have MAINTAINERCLEANFILES include the ones that shouldn't be cleaned by "make distclean". This should fix bug 1595. The generated source files don't need to be in EXTRA_DIST. Use LIBWIRESHARK_DISTCLEAN_GENERATED_SRC and LIBWIRESHARK_NODISTCLEAN_GENERATED_SRC in epan/Makefile.nmake. svn path=/trunk/; revision=21882
2007-04-14remove "treat warnings as errors" barrier for every repo containing codeSebastien Tandel1-4/+0
generated by $(LEX) until a solution is found to compile them separately. svn path=/trunk/; revision=21432
2007-04-05Add the make-dissector-reg scripts to the dependency list for each copyGerald Combs1-1/+1
of plugin.c. svn path=/trunk/; revision=21342
2007-04-03Fix warnings on Linux/gcc 4.1.1Stephen Fisher2-3/+3
svn path=/trunk/; revision=21330
2007-03-30revert back (void*) -> (void**) which will stop free-warning compilation withSebastien Tandel2-3/+3
gcc-4.1.2 svn path=/trunk/; revision=21282
2007-03-29strict aliasing warnings fix : replace (void**) by (void*)Sebastien Tandel2-3/+3
svn path=/trunk/; revision=21274
2007-03-26Fix a bunch more warnings. Add -Werror when using --with-warnings-as-errorsStephen Fisher3-334/+4
under gcc to tools/lemon, plugins/mate and epan/ svn path=/trunk/; revision=21204
2007-03-25all warnings removed in the meantime, "treat warnings as errors" :-)Ulf Lamping1-1/+1
svn path=/trunk/; revision=21184
2007-03-23Fix about 150 warnings new to gcc 4.0 in the error on warning directories.Stephen Fisher1-0/+5
Comment out -Werror in plugins/asn1/ until warnings can be fixed. svn path=/trunk/; revision=21158
2007-03-22leave out the mate plugin for now, so buildbot might compile again ...Ulf Lamping1-1/+1
svn path=/trunk/; revision=21118