Martin Kaiser
c7dd35dffc
flag up a warning if someone includes gcrypt.h instead of wsutil/wsgcrypt.h
...
svn path=/trunk/; revision=48340
2013-03-16 09:53:19 +00:00
Gerald Combs
f076414b6d
Sometimes the Python you want isn't /usr/bin/python. Fix the shebang.
...
svn path=/trunk/; revision=48331
2013-03-15 22:09:25 +00:00
Gerald Combs
1ef83e3e76
Set properties.
...
svn path=/trunk/; revision=48330
2013-03-15 21:55:21 +00:00
Balint Reczey
c2961093be
Add asn2deb idl2deb to dist
...
svn path=/trunk/; revision=48322
2013-03-15 17:37:48 +00:00
Evan Huus
3b4a82d26a
Add -W option to valgrind script that just runs the gui without any capture
...
files.
svn path=/trunk/; revision=48320
2013-03-15 16:42:05 +00:00
Evan Huus
419d10656e
Update usage info for valgrind script. We almost need a proper man page for
...
this now.
svn path=/trunk/; revision=48230
2013-03-10 15:07:42 +00:00
Evan Huus
aafe8b18e9
Remove the wmem slab. It was an optimization mimicking the emem slab
...
(removed in r48218) which did nothing particularly useful. Also lets us remove
another debugging environment variable.
svn path=/trunk/; revision=48219
2013-03-09 20:16:33 +00:00
Evan Huus
122b7cb6df
Remove the emem slab feature (sl_* functions) completely, replacing it with
...
glib memory slices.
- We weren't doing anything with the emem slab that couldn't be done with glib
slices.
- Removes a fair bit of code as well as one debugging environment variable.
- Glib slices are much cache-friendlier and are multi-threading friendly (if
we ever go there).
- Allows glib to actually return slices to the OS on occasion. The emem slab
would hold onto its memory forever which resulted in a great deal of wasted
memory after closing a large file.
svn path=/trunk/; revision=48218
2013-03-09 20:02:19 +00:00
Jakub Zawadzki
7b9a23a53a
[NPL] Misc fixes
...
svn path=/trunk/; revision=48216
2013-03-09 15:53:30 +00:00
Anders Broman
0685f1d5e1
Update lex and yacc
...
svn path=/trunk/; revision=48213
2013-03-09 10:10:32 +00:00
Gerald Combs
7613251d1c
Switch to WinPcap 4.1.3.
...
svn path=/trunk/; revision=48207
2013-03-09 01:20:09 +00:00
Gerald Combs
ac364779f7
Switch to c-ares 1.9.1.
...
svn path=/trunk/; revision=48191
2013-03-08 16:51:21 +00:00
Jakub Zawadzki
e4ebcf4469
[NPL] Simplify parser for EXPRESSION_FIELD (Expression, ".", ID)
...
svn path=/trunk/; revision=48178
2013-03-07 19:38:35 +00:00
Balint Reczey
a8f543b56b
Merge asn2deb and idl2deb from official Debian package
...
svn path=/trunk/; revision=48133
2013-03-06 13:31:08 +00:00
Anders Broman
f20eeffb18
Align lempar somewhat with upstream.
...
svn path=/trunk/; revision=48071
2013-03-04 22:04:58 +00:00
Jakub Zawadzki
3de8c555d9
[NPL] Treat all keywords as seperates token, when really needed accept it as ID.
...
This seems to be much easier to maintain...
svn path=/trunk/; revision=48066
2013-03-04 21:00:09 +00:00
Evan Huus
1b4cffc527
Add modelines.
...
Fix issues caught by cppcheck:
- Remove unused variable.
- Make sure to fclose output file.
svn path=/trunk/; revision=48034
2013-03-03 14:03:00 +00:00
Jakub Zawadzki
e0d19cb73a
Publish initial version of mine npl (Network Parsing Language) generator sources.
...
Parser pass almost all npl files from Network Monitor Parsers 3.4.2774 package,
but but not all data is stored in AST.
Work on wireshark code enerator has been started, but it need much more work.
Beware! It's ugly, putting it to wireshark repo, just to not lose sources :)
(feel free to improve/review it).
svn path=/trunk/; revision=48033
2013-03-03 11:59:14 +00:00
Evan Huus
16bda3caf4
Don't pass -v straight to valgrind, it's rarely useful. Just increasing
...
num-callers is usually enough.
svn path=/trunk/; revision=48017
2013-03-02 21:16:32 +00:00
Anders Broman
41d6d12497
Rearrang the code to align with sqlite lemon and copy over a few more things.
...
svn path=/trunk/; revision=48014
2013-03-02 19:34:50 +00:00
Anders Broman
bd2b6b9964
Wite space changes.
...
svn path=/trunk/; revision=48005
2013-03-02 12:09:50 +00:00
Anders Broman
b9cb9968f2
lemon.c:3176:8: error: attempt to free a non-heap object ‘buf’
...
svn path=/trunk/; revision=48003
2013-03-02 11:32:25 +00:00
Anders Broman
310b495ff3
Becport more code.
...
svn path=/trunk/; revision=48002
2013-03-02 10:56:17 +00:00
Anders Broman
ad1ec109ed
Missed one place.
...
svn path=/trunk/; revision=48001
2013-03-02 10:03:43 +00:00
Anders Broman
da070427d9
lemon.c:78:14: note: expected ‘int (*)(const void *, const void *)’ but argument is of type ‘int (*)(const char *, const char *)’
...
svn path=/trunk/; revision=48000
2013-03-02 09:54:52 +00:00
Anders Broman
99d88bd54b
More backports from sqlite lemon to try to address warnings.
...
svn path=/trunk/; revision=47998
2013-03-02 09:04:52 +00:00
Anders Broman
7c3a122e37
lemon.c:4628:5: error: conflicting types for ‘Configcmp’
...
lemon.c:366:5: note: previous declaration of ‘Configcmp’ was here
svn path=/trunk/; revision=47997
2013-03-02 08:40:49 +00:00
Anders Broman
18c724b0ad
More backports from sqlite lemon to try to address warnings.
...
svn path=/trunk/; revision=47996
2013-03-02 08:19:31 +00:00
Anders Broman
a5c53e847e
Backports from sqlite lemon.
...
svn path=/trunk/; revision=47993
2013-03-01 23:54:06 +00:00
Balint Reczey
1ebdb2e521
Export libwireshark symbols using WS_DLL_PUBLIC define
...
Also remove old WS_VAR_IMPORT define and related Makefile magic
everywhere in the project.
svn path=/trunk/; revision=47992
2013-03-01 23:53:11 +00:00
Jeff Morriss
0b8d70bfb7
Fix a cut-n-pasteo and add a const cast to quiet a warning.
...
svn path=/trunk/; revision=47991
2013-03-01 22:58:23 +00:00
Anders Broman
ea76d02cb2
Backport const casts from sqlite lemon.
...
svn path=/trunk/; revision=47989
2013-03-01 21:37:48 +00:00
Anders Broman
44993045a2
try to remove C++ incompatibilities from lemon
...
svn path=/trunk/; revision=47987
2013-03-01 20:32:20 +00:00
Bill Meier
a6e56df8b6
it's ==> its & its ==> it's as needed.
...
svn path=/trunk/; revision=47898
2013-02-26 02:38:52 +00:00
Balint Reczey
6dbd0b68e4
Make compare-abs.sh work on CMake builds
...
svn path=/trunk/; revision=47884
2013-02-25 21:27:16 +00:00
Gerald Combs
81a5be5813
Enable automatic updates for Win64. Fix a copy/paste error.
...
svn path=/trunk/; revision=47749
2013-02-19 22:57:40 +00:00
Gerald Combs
e48236a436
Add automatic software update checks for Win32 using WinSparkle. Add
...
preferences (currently hidden) to disable updates, set the update
frequency, and set the update "channel" (stable vs development). Add a
"Help" menu item to manually check for updates.
svn path=/trunk/; revision=47748
2013-02-19 22:21:17 +00:00
Bill Meier
f9ecda41e4
Comment out a number of unused hf[] enrries found by checkhf.
...
svn path=/trunk/; revision=47670
2013-02-15 02:50:36 +00:00
Evan Huus
5071e8b627
Add an option for bypassing the wmem slab similar to the one for
...
bypassing the emem slab, to aid in debugging with valgrind.
svn path=/trunk/; revision=47656
2013-02-14 16:07:25 +00:00
Guy Harris
eb769ce13e
Clean up some warnings (including warnings that ultimately come from
...
trying to modify string constants, which isn't necessarily guaranteed to
work).
svn path=/trunk/; revision=47618
2013-02-10 22:09:21 +00:00
Bill Meier
19ffe7eb4c
Update a comment; tweak a RegEx.
...
svn path=/trunk/; revision=47612
2013-02-10 18:40:54 +00:00
Bill Meier
233fcd672f
Remove blank lines separately after removing comments rather than as
...
part of the 'remove comments' regex.
Fixes a bug introduced in SVN #47583 which broke '#if 0' handling.
svn path=/trunk/; revision=47598
2013-02-09 22:14:13 +00:00
Bill Meier
404460c14d
Cleanup: Ditch CamelCase; use braces around references.
...
svn path=/trunk/; revision=47585
2013-02-09 16:28:01 +00:00
Bill Meier
7b40629a16
Fix a syntax error which causes a compile error
...
(altho not in my version Cygwin Perl V5.14 for some reason).
svn path=/trunk/; revision=47584
2013-02-09 14:52:02 +00:00
Bill Meier
4c41fd5df9
Tweaks to RegEx usage for consistency and performance (and
...
to fix a monor bug or two).
svn path=/trunk/; revision=47583
2013-02-09 14:25:18 +00:00
Bill Meier
f5dd71e30e
Fix code to delete blank lines to remove all blank lines;
...
Update some Perl usage.
svn path=/trunk/; revision=47569
2013-02-08 16:25:46 +00:00
Bill Meier
1e64a82f02
Add addition test to reduce false positives for 'ERROR: NO ARRAY: '
...
Essentially:
Detect when an hf_... var is effictively initialized
via the use of proto_registrar_get_id_byname() or
proto_get_id_by_filter_name() (instead of
proto_register_field_array()).
svn path=/trunk/; revision=47542
2013-02-07 22:16:39 +00:00
Bill Meier
669e68dfde
Add a hack to fix false positive 'unused ...' related to use of ..._add_oui().
...
svn path=/trunk/; revision=47536
2013-02-07 19:36:29 +00:00
Bill Meier
408e6aa279
Minor tweaks ...
...
svn path=/trunk/; revision=47533
2013-02-07 17:24:32 +00:00
Bill Meier
64e97d9ec5
Fix a few minor bugs;
...
Do some small tweaks for readability & consistency.
svn path=/trunk/; revision=47532
2013-02-07 17:17:21 +00:00