aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wspython
AgeCommit message (Collapse)AuthorFilesLines
2013-10-06Add support for RELATIVE-OID ASN.1 type. Bug 9192 ↵Michael Mann1-1/+2
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9192) From Ed Beroset. svn path=/trunk/; revision=52393
2013-09-09One small step towards fixing the broken python support.Stig Bjørlykke5-29/+38
Support Python 3. svn path=/trunk/; revision=51862
2013-08-06Replace hfinfo pointer to same_name_prev, with same_name_prev_id.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=51175
2013-08-06Remove hfinfo->bitshift member, add hfinfo_bitshift() to get it.Jakub Zawadzki1-1/+0
svn path=/trunk/; revision=51174
2013-06-25makefile.nmake -> Makefile.nmake and minor whitespace (spaces -> tabs) changes.Chris Maynard1-1/+1
svn path=/trunk/; revision=50140
2013-03-12From David Arnold:Jaap Keuter1-1/+1
Replace use of INCLUDES with AM_CPPFLAGS in all Makefiles to placate recent autotools. svn path=/trunk/; revision=48261
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey1-1/+1
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
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=45016
2012-08-23Remove commented out rulesJörg Mayer1-2/+2
Whitespace fixes svn path=/trunk/; revision=44629
2012-06-28Update Free Software Foundation address.Jakub Zawadzki9-9/+9
(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 Morriss1-1/+1
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-02-24CVARSDLL hasn't been used (is undefined) for a while....Bill Meier1-1/+1
svn path=/trunk/; revision=41180
2012-01-29Add *.sbr files to the clean target.Anders Broman1-1/+1
svn path=/trunk/; revision=40762
2011-11-03Remove apparent debug code that causes these console messages on launch:Stephen Fisher1-2/+0
looking for dissectors in /usr/local/src/wireshark/epan/wspython/wspy_dissectors looking for dissectors in /home/sfisher/.wireshark/plugins registered protocols [] svn path=/trunk/; revision=39723
2011-10-28From Eliot:Anders Broman2-0/+41
Add runtime tracers (disabled by default) for debug. Add runtime tracers (disabled by default) for debug. This may be useful for ongoing development. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6448 svn path=/trunk/; revision=39649
2011-10-28From Eliot:Anders Broman1-14/+16
ctypes updates, minor fixes ctypes updates, minor fixes Explicitly use ctypes for some calls. Remove spurious reference to homeplug. Remove unnecessary line continuation backslashes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6448 svn path=/trunk/; revision=39648
2011-10-28From Eliot:Anders Broman1-1/+7
Define correct ctypes parameter and return types for used functions. Define correct ctypes parameter and return types for used functions. Particularly on 64 bit, int default doesn't work. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6448 svn path=/trunk/; revision=39647
2011-10-24From Eliot:Anders Broman2-35/+13
Change to python support functions. Avoid passing C dissector callback via python to create_dissector_handle. This caused problems at least on 64 bit linux. Get all dissector args in one call. Simplifies common usage. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6448 svn path=/trunk/; revision=39535
2011-10-24From Eliot:Anders Broman2-23/+30
Search personal plugins dir for python plugins https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6448 svn path=/trunk/; revision=39534
2011-10-11From Eliot:Anders Broman1-1/+1
Patch wspy_dissector.py to use dissector_add_uint https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6448 svn path=/trunk/; revision=39375
2011-10-11From Eliot:Anders Broman1-11/+11
Patch homeplug.py wspython sample to not conflict with built in homeplug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6448 svn path=/trunk/; revision=39374
2011-10-02Removed the protocol registration updates in the splash screen for PythonStig Bjørlykke2-34/+8
dissectors, because it does not work as expected and causes an assert. Added generic splash updates for python register and handoff instead. This should fix bug 5431. svn path=/trunk/; revision=39221
2011-07-17Cleanup and indent in Makefile.Stig Bjørlykke1-10/+7
svn path=/trunk/; revision=38071
2011-07-17Check for a valid wspy_dissectors disectory to avoid a warning if missing.Stig Bjørlykke1-0/+5
svn path=/trunk/; revision=38070
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