summaryrefslogtreecommitdiff
path: root/plugins/stats_tree
AgeCommit message (Collapse)AuthorFilesLines
2013-02-09Make the other plugin makefiles use the new style introduced in the MATEGuy Harris3-13/+27
makefiles. svn path=/trunk/; revision=47579
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss2-4/+0
svn path=/trunk/; revision=45015
2012-07-16Fix compilation error seen with gcc on Unix:Stephen Fisher1-1/+1
pinfo_stats_tree.c:234:2: error: no newline at end of file svn path=/trunk/; revision=43755
2012-07-15From Wonil Kim: Enable statistics menu register for the tap plug-in. Fixes ↵Anders Broman1-5/+4
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7466 svn path=/trunk/; revision=43726
2012-07-08UATs could be put into "categories". The categories were defined onlyGuy Harris1-1/+1
implicitly by the #define name and string they were defined to; not all UATs neatly fit into any of the categories, so some of them were put into categories that weren't obviously correct for them, and one - the display filter macro UAT - wasn't put into any category at all (which caused crashes when editing them, as the GUI code that handled UAT changes from a dialog assumed the category field was non-null). The category was, in practice, used only to decide, in the aforementioned GUI code, whether the packet summary pane needed to be updated or not. It also offered no option of "don't update the packet summary pane *and* don't redissect anything", which is what would be appropriate for the display filter macro UAT. Replace the category with a set of fields indicating what the UAT affects; we currently offer "dissection", which applies to most UATs (any UAT in libwireshark presumably affects dissection at a minimum) and "the set of named fields that exist". Changing any UAT that affects dissection requires a redissection; changing any UAT that affects the set of named fields that exist requires a redissection *and* rebuilding the packet summary pane. Perhaps we also need "filtering", so that if you change a display filter macro, we re-filter, in case the display is currently filtered with a display filter that uses a macro that changed. svn path=/trunk/; revision=43603
2012-07-07From Michael Mann:Guy Harris1-2/+99
Add a preference for the packet length statistics. Fixes bug 3239. svn path=/trunk/; revision=43597
2012-06-28Update FSF address - part II.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=43538
2012-06-28Update Free Software Foundation address.Jakub Zawadzki5-5/+5
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-04-04Add a "-build" argument to checkAPIs.pl. Use that argument when buildingJeff Morriss2-2/+2
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-01-29Add *.sbr files to the clean target.Anders Broman1-1/+1
svn path=/trunk/; revision=40761
2011-02-02A bit of Windows makefiles rework and cleanup:Bill Meier1-2/+3
- Define macros for certain CFLAGS in config.nmake iso of having defs in each makefile; a. -DHAVE_CONFIG_H and -D_U_="" are now part of a macro named STANDARD_CFLAGS; b. -WX has been replaced by WARNINGS_ARE_ERRORS (defined as -WX in config.nmake) (This allows disabling "Warnings as Errors" by just changing config.nmake) c. CVARSDLL definitions (not usage) have been removed from the various makefiles. XXX: It appears the usage of CVARSDLL can also be removed (not yet done) since: -DWIN32 and -DNULL=0 do not appear to be needed (any more); -D_MT and _D_DLL are not needed since /MP causes these definitions. d. Define a macro WARNINGS_CFLAGS with additional specific compiler (level4) warnings to be enabled. E.G., 4295: array is too small to include a terminating null character - config.nmake: reformat some long lines for readability; - plugins\Makefile.nmake: clean-deps does nothing: remove it (and usage in top-level makefile); - dissectors/Makefile.nmake: test to enable packet-rrc.obj target needs to include MSVC2010 ... svn path=/trunk/; revision=35747
2010-09-24Plugins are not shared libraries, so:Guy Harris1-1/+0
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-23H. Sivank <hsivank@gmail.com>Jörg Mayer1-1/+1
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-05-14Add Cmake stuff to the source distribution so more people can try it out.Jeff Morriss1-6/+7
svn path=/trunk/; revision=32807
2010-03-18cmake changes:Jörg Mayer1-2/+3
- 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-02-24- Remove the lib prefix for plugin names.Jörg Mayer1-4/+2
- 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-01-28Fix some gcc -Wshadow warnings.Bill Meier1-3/+3
svn path=/trunk/; revision=31724
2009-11-17Beginnings of enabling static builds. Still to do:Jörg Mayer1-1/+1
* Add -static * Registration may need different handling * Add plugins * Build error in wslua svn path=/trunk/; revision=30987
2009-11-07cmake will now honor -Werror if configured (default: on)Jörg Mayer1-3/+15
svn path=/trunk/; revision=30852
2009-10-26The stats_tree plugin deserves a version number other than "0.0".Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30706
2009-10-09Use register_dissector_files in the plugins dissectorsKovarththanan Rajaratnam1-1/+0
svn path=/trunk/; revision=30435
2009-10-06Build plugins with cmake on OSX.Stig Bjørlykke1-0/+2
svn path=/trunk/; revision=30373
2009-09-23Build more plugins with cmake.Jörg Mayer1-0/+43
svn path=/trunk/; revision=30084
2009-09-13Run checkapi on the dissector header filesJeff Morriss2-2/+2
svn path=/trunk/; revision=29883
2009-09-09We no longer support the old plugin API so remove it completely from the ↵Kovarththanan Rajaratnam1-1/+1
build system svn path=/trunk/; revision=29821
2009-09-06Rename address_to_str() to ep_address_to_str() because:Kovarththanan Rajaratnam1-15/+15
1) This indicates that the string has ephemeral lifetime 2) More consistent with its existing seasonal counterpart, se_address_to_str(). svn path=/trunk/; revision=29747
2009-06-05Have tap listeners specify whether the "packet" routine requiresGuy Harris1-4/+4
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-03-27(Minor): Remove unnecessary use of g_snprintfBill Meier1-10/+3
svn path=/trunk/; revision=27863
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-10Remove an ugly hack:Ulf Lamping1-1/+1
There was an ugly hack while creating the menu, that tried to detect the stat_group a stats_tree belongs to by looking at the name string. That makes it unnecessarily hard to understand how the menu is really created. Fix: Add a new function stats_tree_register_with_group() that takes the stat_group as a parameter. Use this function where a stats_tree doesn't fit into the default "unsorted" group. svn path=/trunk/; revision=27407
2009-02-02add missing mt.exe calls, to include manifest files into exe / dll filesUlf Lamping1-0/+3
svn path=/trunk/; revision=27357
2008-08-05luis.ontanon@gmail.com => luis@ontanon.orgLuis Ontanon2-2/+2
svn path=/trunk/; revision=25937
2008-07-29Allow checkapis target to work in out-of-tree builds (s#../../#$(top_srcdir)).Jeff Morriss1-1/+1
Also use $(top_builddir) instead of ../../ in a couple of other spots. svn path=/trunk/; revision=25863
2008-07-11Change the stats tree API to use signed chars instead of guint8s for all itsJeff Morriss1-2/+2
strings; this should fix a number of signed/unsigned char warnings. Reindent a bunch, too. svn path=/trunk/; revision=25716
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 Morriss1-3/+3
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-08Run checkAPI in plugins dir.Anders Broman1-1/+1
svn path=/trunk/; revision=25259
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-14clarify the stats_tree menu itemsUlf Lamping1-4/+4
svn path=/trunk/; revision=25009
2008-03-29Remove the pre-release flag from FILEFLAGS in the resource file.Jaap Keuter1-2/+2
svn path=/trunk/; revision=24757
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-05-27Use $(PLUGIN_LDFLAGS) for LDFLAGS.Guy Harris1-1/+1
svn path=/trunk/; revision=21963
2007-03-28Remove almost all of the casts I committed recently and in place ofStephen Fisher1-12/+12
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it. svn path=/trunk/; revision=21253
2007-03-23Fix about 150 warnings new to gcc 4.0 in the error on warning directories.Stephen Fisher1-12/+12
Comment out -Werror in plugins/asn1/ until warnings can be fixed. svn path=/trunk/; revision=21158
2007-03-23From Sebastien Tandel:Stephen Fisher1-1/+1
(Temporarily disable the warnings as errors default on Unix to get to get the buildbots and people with gcc40 going again until those additional warnings gcc40 generates can be fixed-I'm working on it ASAP) Patch for configure.in which disables by default the treatment of warnings as errors. It can be enabled with './configure --with-warnings-as-errors'. The macro will test first if GCC is present. If it's the case, HAVE_WARNINGS_AS_ERRORS is defined. All the USING_GCC have been replaced by HAVE_WARNINGS_AS_ERRORS. With this switch, people won't suffer from unexpected warnings when downloading svn sources during the transition time ;) svn path=/trunk/; revision=21153
2007-03-22Add -Werror when using GCC only to the Makefile.am of the baseStephen Fisher1-0/+4
directory and most of the plugins to match the same command put in the Makefile.nmake files for Windows compliations. Fix a few warnings when compiling under gcc 3.4.4 on FreeBSD. Create new automake file variable called USING_GCC in configure.in and wiretap/configure.in to acomplish the above -Werror addition. svn path=/trunk/; revision=21127
2007-03-21set CFLAGS to block new warnings for all plugins (except for giop and h223, ↵Ulf Lamping1-1/+1
which has remaining issues - for now) svn path=/trunk/; revision=21102
2007-02-26-Add the compiler version to the plugin resourceJaap Keuter2-4/+8
-Remove the SPECIAL_BUILD tag -Set to OS type to NT_WINDOWS32 svn path=/trunk/; revision=20934