aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate
AgeCommit message (Collapse)AuthorFilesLines
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
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-3/+5
-Remove the SPECIAL_BUILD tag -Set to OS type to NT_WINDOWS32 svn path=/trunk/; revision=20934
2007-02-13From Sebastien Tandel:Stephen Fisher3-0/+3
Create two new files (ws_strsplit.[ch]) that use GTK2 code to override the buggy g_strsplit() function when compiling for GTK1. Include this work-around function (ws_strsplit) in libwireshark.def. Add notes on usage to README.developer. Include epan/ws_strsplit.h in all files that use g_strsplit(). svn path=/trunk/; revision=20804
2007-01-12Win32: MSVC > 6 doesn't work well with Unicode filenames!Ulf Lamping1-1/+1
fix this, by providing required functions in the new file file_util.c - it's mostly copied from GLib (g_open alike - that take UTF8 as filename format but don't use msvcrt.dll V6 for this as the glib files do) "link" to these functions in file_util.h: #define eth_open eth_stdio_open revert changes (from SVN 20282) throughout the code related to these file functions which were introduced with the first tries of MSVC 2005 ... Hopefully I've done everything right with the new file_util.c ... svn path=/trunk/; revision=20402
2007-01-06add experimental support for some more of the MSVC_VARIANTs:Ulf Lamping1-1/+1
- Microsoft .Net Framework SDK Version 1.1 - Microsoft .Net Framework 2.0 SDK ... which seems to work fine now (except for the open problems like zlib) :-) Some of the plugins need different linker flags depending on the MSVC. I've set a "define" in config.nmake (PLUGIN_LDFLAGS) and used it in the affected plugins/.../Makefile.nmake. Maybe we should generally change the plugins that way. btw: The "Microsoft Visual C++ Toolkit 2003" (mentioned some time ago on the list) doesn't work as some important files are missing - and we have much easier alternatives now :-) svn path=/trunk/; revision=20332
2007-01-03clean should also remove generated plugin.c and manifest filesUlf Lamping1-2/+3
svn path=/trunk/; revision=20291
2006-12-27Adding moduleinfo.nmake to the distributionJaap Keuter1-0/+1
svn path=/trunk/; revision=20224
2006-12-19Set the right properties on the files.Jaap Keuter2-2/+2
svn path=/trunk/; revision=20176
2006-12-18Repair distribution target.Jaap Keuter2-11/+6
svn path=/trunk/; revision=20147
2006-12-18Update plugin to the current plugin design.Jaap Keuter6-91/+257
Add Windows version info resource. svn path=/trunk/; revision=20144
2006-12-05Add a few missing /$(MAKEFLAGS)Bill Meier1-1/+1
svn path=/trunk/; revision=20046
2006-11-03Add $(EXEXT) after references to the Lemon executable.Guy Harris1-2/+2
svn path=/trunk/; revision=19785
2006-06-02remove plugin.c in distlcleanJörg Mayer1-1/+2
svn path=/trunk/; revision=18312
2006-05-31libethereal -> libwireshark. idl2eth -> idl2wrs. There are a _lot_ ofGerald Combs1-3/+3
changes here. It compiles OK on OS X, but hasn't been tested anywhere else. svn path=/trunk/; revision=18260
2006-05-28Ethereal->WiresharkAnders Broman2-2/+2
svn path=/trunk/; revision=18231
2006-05-21name changeRonnie Sahlberg10-20/+20
svn path=/trunk/; revision=18197
2006-03-11 Mark coverity CID 117 as a false positive.Luis Ontanon1-0/+2
Lex code is often hard for humans to understand... neither of the error conditions found would be happening... One was marked as error because coverity does not understand that yyterminate() breaks execution. The other marked as an error because coverity is not able to figure out that the error appears in an actions against two different rules that will not ever match toghether. svn path=/trunk/; revision=17584
2006-01-24Add register_postdissector() to the API.Luis Ontanon1-1/+6
Dissectors registered with register_postdissector() will be called after all other dissectors have been called. Use it to register mate. svn path=/trunk/; revision=17089
2006-01-05Bill Meier:Jörg Mayer1-4/+4
Spelling fixes. svn path=/trunk/; revision=16956
2005-12-13we are opening the file for writing....Luis Ontanon1-2/+2
svn path=/trunk/; revision=16784
2005-12-12- add Debug and Default declarations.Luis Ontanon5-9/+85
- supress unwanted console printouts. svn path=/trunk/; revision=16769
2005-12-12Avoid to crash if we are given an unexistent field.Luis Ontanon1-1/+1
svn path=/trunk/; revision=16762
2005-12-12Done is not needed anymore; Luis Ontanon1-3/+4
in Pdus transforms go before Criteria (because they are evaluated before) svn path=/trunk/; revision=16761
2005-12-11Cleanup the grammar.Luis Ontanon1-693/+152
svn path=/trunk/; revision=16759
2005-12-09Fix ...$ to : $Jörg Mayer4-4/+4
svn path=/trunk/; revision=16750
2005-11-07Use <wiretap/file_util.h> to include "file_util.h"; otherwise, theGuy Harris1-1/+1
include fails as we don't do -Iwiretap. If we have it, include <sys/stat.h> in epan/filesystem.c - we need it for stat() and the macros and structures it uses. svn path=/trunk/; revision=16410
2005-11-06replace *a lot* of file related calls by their GLib counterparts. This is ↵Ulf Lamping1-1/+2
necessary for the switch to GTK 2.6 (at least on WIN32). to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include <io.h>, definition of O_BINARY and alike, so it's all in one place. deleted related things from config.h.win32 As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon. svn path=/trunk/; revision=16403
2005-10-31When printing the code for a display filter:Guy Harris1-27/+1
print register numbers as unsigned (they're guint32); when printing a PUT_FVALUE instruction, show the value as well as the type of the value. That requires that a bunch of types get to_repr methods; add them for PCRE (FTREPR_DFILTER-only - show the regular expression as text), tvbuffs (FTREPR_DFILTER_only - show the data as a hex string), integral types, string types other than FT_STRING, and FT_IPv6. That means we can use fvalue_to_string_repr() for FT_IPXNET and FT_IPv6 in proto_construct_dfilter_string(), and that we don't need to handle integer and floating types specially in MATE. Fix some problems with the PCRE execution code for tvbuff types. svn path=/trunk/; revision=16369
2005-09-22Make the private variables for various lexical analyzers static, soGuy Harris1-5/+5
that we don't have all the lexical analyzers in libethereal share them (note that they're already static in radius_dict.l, so they weren't sharing with any other lexical analyzer), and so that OS X 10.3.9's run-time linker doesn't get upset at finding them defined in libethereal and the MATE plugin. Fix up indentation. svn path=/trunk/; revision=15961
2005-08-24EVERYTHING IN THE BUILDBOT IS GOING TO BE RED!!! Sorry! Ulf Lamping1-1/+1
I've done more than a day to change the timestamp resolution from microseconds to nanoseconds. As I really don't want to loose those changes, I'm going to check in the changes I've done so far. Hopefully someone else will give me a helping hand with the things left ... What's done: I've changed the timestamp resolution from usec to nsec in almost any place in the sources. I've changed parts of the implementation in nstime.s/.h and a lot of places elsewhere. As I don't understand the editcap source (well, I'm maybe just too tired right now), hopefully someone else might be able to fix this soon. Doing all those changes, we get native nanosecond timestamp resolution in Ethereal. After fixing all the remaining issues, I'll take a look how to display this in a convenient way... As I've also changed the wiretap timestamp resolution from usec to nsec we might want to change the wiretap version number... svn path=/trunk/; revision=15520