aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wspython
AgeCommit message (Collapse)AuthorFilesLines
2011-04-28Fix one of the complaints in ↵Jeff Morriss1-9/+10
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5818 : Create the wspy_dissectors data directory (by installing the one example dissector). This dissector won't be loaded (its name doesn't match the regexp) but it forces the presence of the directory (so people will know where to put their dissectors). svn path=/trunk/; revision=36923
2011-04-28Don't dump core if Python was not able to load the dissector registration fileJeff Morriss1-1/+5
(e.g., due to a syntax error). svn path=/trunk/; revision=36922
2011-04-27My version of Python (2.5.2) core dumps if PySequence_Check is called with aJeff Morriss1-2/+2
NULL pointer (because no dissectors were registered). Don't call that function with a NULL pointer. Also update the output when no dissectors are registered. Not sure if we should be printing *anything* in this situation, but for now make the output interesting. svn path=/trunk/; revision=36917
2011-04-27Fix part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4878 :Jeff Morriss1-0/+1
Put our one python example in the source distribution. svn path=/trunk/; revision=36915
2011-02-02A bit of Windows makefiles rework and cleanup:Bill Meier1-4/+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-11-12Use python comments in python code.Stig Bjørlykke1-1/+1
Reported by Emil Wojak in bug 5389. svn path=/trunk/; revision=34848
2010-08-25Add ws_load_library and ws_module_open, which respectively callGerald Combs1-0/+1
LoadLibrary and g_module_open only for the program directory and system directory on Windows. Use them to replace a bunch of LoadLibrary and g_module_open calls. Use the extension ".dll" for all the DLLs that we load. Add comments about DLL loading in Python. svn path=/trunk/; revision=33924
2010-06-01From Kovarththanan Rajaratnam via bug 3500:Gerald Combs1-1/+1
Sébastien's initial commit [1] didn't contain support for embedding Python on Windows. [1] http://anonsvn.wireshark.org/viewvc?view=rev&revision=28529 From me: Comment out PYTHON_EMBED for now. Start a list of known Python+CRT versions. Add get_wspython_dir to libwireshark.def. svn path=/trunk/; revision=33036
2010-05-28Remaining fixes forJörg Mayer1-34/+6
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4788 - Compile the python code directly into epan - don't link it in as a static lib. - Call make-init-lua.pl with the top level directory instead of the current directory. Change make-init-lua.pl accordingly. svn path=/trunk/; revision=33009
2010-05-14Add Cmake stuff to the source distribution so more people can try it out.Jeff Morriss1-1/+3
svn path=/trunk/; revision=32807
2010-03-25Set svn:executable property for some .py and .pl filesBill Meier3-0/+0
svn path=/trunk/; revision=32287
2010-03-18cmake changes:Jörg Mayer1-0/+1
- 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
2009-11-07cmake will now honor -Werror if configured (default: on)Jörg Mayer1-1/+13
svn path=/trunk/; revision=30852
2009-09-30Corrected hfinfo.ref_count -> hfinfo.ref_type.Stig Bjørlykke1-1/+1
(how did this ever compile?) svn path=/trunk/; revision=30218
2009-09-29Mark unused argument instead of assigning to an unused variable.Stig Bjørlykke1-4/+1
svn path=/trunk/; revision=30204
2009-09-29Don't include config.h in header files.Stig Bjørlykke2-4/+0
svn path=/trunk/; revision=30203
2009-09-29Use correct prototypes when having no arguments.Stig Bjørlykke1-14/+16
Made some functions static. Removed C++ comments. svn path=/trunk/; revision=30194
2009-09-25wslua now builds, links and installs.Jörg Mayer1-0/+6
Enable it by default. svn path=/trunk/; revision=30142
2009-09-23More fixes for OSX - might work now :-)Jörg Mayer1-0/+6
svn path=/trunk/; revision=30093
2009-09-21Fix for bug 4034:Jaap Keuter1-10/+9
Fix for missing register file and cleanup of code in register_all_py_protocols_func(). svn path=/trunk/; revision=30058
2009-09-21Set svn properties and fix Id keyword.Jaap Keuter9-9/+9
svn path=/trunk/; revision=30057
2009-09-21CMake:Jörg Mayer1-0/+15
- Add opcua to the list of plugins to build - Link the gtk stuff statically into wireshark - Beginnings of "make install" - Change a few things about install paths svn path=/trunk/; revision=30029
2009-09-17Add some missing files to the distribution.Gerald Combs1-1/+4
svn path=/trunk/; revision=29973
2009-09-10Update to add the last missing detection stuff.Jörg Mayer1-0/+32
Some of it is untested, kerberos is currently a hack. Apart from that, package detection should be complete. svn path=/trunk/; revision=29838
2009-07-18From Kovarththanan Rajaratnam via bug 3719:Stig Bjørlykke1-1/+1
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-01Added the wspython Makefile.nmake from bug 3500 to satisfy the Stig Bjørlykke1-0/+32
Ubuntu buildbot. svn path=/trunk/; revision=28570
2009-05-30python binding update :Sebastien Tandel2-31/+82
* adding pydoc documentation to doc/README.python * possible to access directly libwireshark via libhandle and raw_<tvb|pinfo|tree> * transform some methods into properties * update sample to reflect changes/features * adding comments!!! svn path=/trunk/; revision=28532
2009-05-29python binding for wireshark (first commit)Sebastien Tandel10-0/+1144
* ability to write dissectors with python for wireshark. documentation (http://wiki.wireshark.org/Python) svn path=/trunk/; revision=28529