Anders Broman
68e2e8b889
From Jacob Nordgren and Rishie Sharma:
...
Add CRC11 algorithms
svn path=/trunk/; revision=44346
2012-08-08 16:27:10 +00:00
Gerald Combs
89e6169fc5
Back out an inadvertent change in r44194.
...
svn path=/trunk/; revision=44210
2012-08-02 16:26:57 +00:00
Gerald Combs
02894a0be8
Move utf8_entities.h to the "ui" directory. Separate packet information
...
items with MIDDLE DOTs.
svn path=/trunk/; revision=44194
2012-08-01 19:18:49 +00:00
Anders Broman
967a3c9ce4
From Rishie Sharma:
...
Add a new CRC16 routine.
svn path=/trunk/; revision=43982
2012-07-25 08:57:33 +00:00
Anders Broman
01e69df536
Get rid of not needed includes
...
svn path=/trunk/; revision=43917
2012-07-22 16:48:52 +00:00
Anders Broman
5160177aff
Remove not needed includes.
...
svn path=/trunk/; revision=43830
2012-07-19 15:04:43 +00:00
Evan Huus
a234b68ff0
Fix some system header files that were #included with "" instead of <>.
...
They made cppcheck unhappy.
svn path=/trunk/; revision=43779
2012-07-18 02:47:56 +00:00
Anders Broman
02d23f97b0
Add crc7 calculation abillity.
...
svn path=/trunk/; revision=43680
2012-07-12 14:24:19 +00:00
Jakub Zawadzki
b18e880040
Update FSF address - part II.
...
svn path=/trunk/; revision=43538
2012-06-28 23:18:38 +00:00
Jakub Zawadzki
bf81b42e1e
Update Free Software Foundation address.
...
(COPYING will be updated in next commit)
svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Jeff Morriss
9e1359e2fa
Revert 43481: linking dftest against libui was not the problem.
...
svn path=/trunk/; revision=43488
2012-06-25 22:21:58 +00:00
Jeff Morriss
8eeebf73e0
Move get_args_as_string from ui/util.c into wsutil (maybe not to the best
...
module, but...).
This makes dftest no longer dependent on libui, so stop linking against it.
svn path=/trunk/; revision=43481
2012-06-25 20:38:45 +00:00
Gerald Combs
1a7470c6be
Forward-port r43165 and r43168 from trunk-1.6.
...
------------------------------------------------------------------------
r43165 | gerald | 2012-06-08 14:23:25 -0700 (Fri, 08 Jun 2012) | 4 lines
Changed paths:
M /trunk-1.6/epan/Makefile.am
M /trunk-1.6/wiretap/Makefile.am
M /trunk-1.6/wsutil/Makefile.am
Use separate commands in the dumpabi recipes instead a big huge long
chain. If abi-compliance-checker fails print the contents of its
log file.
------------------------------------------------------------------------
r43168 | gerald | 2012-06-08 15:43:50 -0700 (Fri, 08 Jun 2012) | 2 lines
Changed paths:
M /trunk-1.6/epan/Makefile.am
M /trunk-1.6/wiretap/Makefile.am
M /trunk-1.6/wsutil/Makefile.am
Make sure ln happens in the right directory.
------------------------------------------------------------------------
We don't currently have a usable tag for "git describe --tags
--abbrev=0" to latch onto so just use the first 1.9 commit.
svn path=/trunk/; revision=43170
2012-06-08 23:54:22 +00:00
Guy Harris
03f0e46d6f
Update comments to reflect that the GLib version is no longer relevant
...
(we require GLib 2.14 or later, and always use UTF-8 for pathnames on
Windows), to note that ws_stdio_rename() should have UN*X-style
rename semantics in that it removes the target if necessary, and to give
more details in other ways.
Clean up indetation a bit.
svn path=/trunk/; revision=42775
2012-05-22 09:57:18 +00:00
Jakub Zawadzki
8a1dc57c03
Remove doubled semicolons and semicolons outside function.
...
svn path=/trunk/; revision=42053
2012-04-13 20:22:31 +00:00
Jeff Morriss
75c3c92f19
Add a "-build" argument to checkAPIs.pl. Use that argument when building
...
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-04-04 20:46:49 +00:00
Guy Harris
d0039be915
Always declare getopt() with a prototype.
...
svn path=/trunk/; revision=41939
2012-04-04 19:36:24 +00:00
Gerald Combs
f934bcd42c
Fix compilation on Win64.
...
svn path=/trunk/; revision=41930
2012-04-04 16:13:35 +00:00
Anders Broman
1d60842c59
Update to a version which have getopt_long(). + one file
...
svn path=/trunk/; revision=41927
2012-04-04 15:24:23 +00:00
Anders Broman
82913779e4
Update to a version which have getopt_long().
...
svn path=/trunk/; revision=41926
2012-04-04 15:23:47 +00:00
Anders Broman
45c342dfdb
From Weston Schmidt:
...
Update packet-mpeg-sect to support CRCs & simpler header processing for subdissectors.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6941
svn path=/trunk/; revision=41523
2012-03-13 08:57:04 +00:00
Bill Meier
605dea0486
CVARSDLL hasn't been used (is undefined) for a while....
...
svn path=/trunk/; revision=41180
2012-02-24 16:23:38 +00:00
Stephen Fisher
7a52947075
Move exec_isdigit_string() and exec_isprint_string() functions out of
...
the exec dissector and into wsutil/str_util.c. Rename them to
isdigit_string() and isprint_string(). Also rename the variables they use
for consistency: string -> str and position -> pos.
svn path=/trunk/; revision=41053
2012-02-17 17:22:12 +00:00
Anders Broman
0179b7dc50
Add *.sbr files to the clean target.
...
svn path=/trunk/; revision=40763
2012-01-29 20:33:58 +00:00
Michael Tüxen
0c682968dd
Sync checkapi target with Makefile.nmake.
...
svn path=/trunk/; revision=40626
2012-01-21 12:06:31 +00:00
Balint Reczey
26503be7dc
fix compile errors found by dumpabi target
...
svn path=/trunk/; revision=40595
2012-01-19 22:55:37 +00:00
Gerald Combs
9dc580af2a
More C++ updates.
...
svn path=/trunk/; revision=40377
2012-01-04 21:26:51 +00:00
Guy Harris
e243b5f566
OK, one of them was already declared; we still want to declare the other
...
one.
svn path=/trunk/; revision=39793
2011-11-11 03:29:51 +00:00
Guy Harris
845e927657
If we're exporting routines from crc32.c, declare them in crc32.h and
...
list them in libwsutil.def.
svn path=/trunk/; revision=39792
2011-11-11 03:28:10 +00:00
Stig Bjørlykke
db6f524164
From Roland Knall via bug 6539:
...
Implementing generic CRC8 and CRC16 functions for openSAFETY in wsutil.
svn path=/trunk/; revision=39726
2011-11-03 20:58:29 +00:00
Anders Broman
f08f09ecd4
From Michael Mann:
...
Condense all SCTP CRC routines to wsutil/crc32.[ch]. Also made
crc32_ccitt_table not explicitly accessible (must use crc32_ccitt_table_lookup).
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6298
svn path=/trunk/; revision=39233
2011-10-03 04:53:17 +00:00
Bill Meier
781129806f
Fix ex "modeline" so it works;
...
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748
svn path=/trunk/; revision=39081
2011-09-21 17:49:11 +00:00
Stig Bjørlykke
70c3a7d727
Don't include files from epan in wsutil.
...
svn path=/trunk/; revision=38989
2011-09-13 18:36:46 +00:00
Anders Broman
a757c16877
Move airpcap_wep.c to /wsutil CMakefile changes
...
svn path=/trunk/; revision=38973
2011-09-12 13:07:54 +00:00
Anders Broman
c7c6bbf831
Move airpcap_wep.c to /wsutil
...
svn path=/trunk/; revision=38969
2011-09-12 08:23:15 +00:00
Anders Broman
3407eb314b
Add Id tag
...
svn path=/trunk/; revision=38915
2011-09-07 11:01:59 +00:00
Stig Bjørlykke
1ced4079c5
Lookup in correct tables. Document functions.
...
svn path=/trunk/; revision=38819
2011-08-31 12:03:18 +00:00
Stig Bjørlykke
582a75cb97
Add the new functions; crc32c_table_lookup and crc32_ccitt_table_lookup.
...
svn path=/trunk/; revision=38818
2011-08-31 11:53:20 +00:00
Stig Bjørlykke
84b3c5da84
Make lookup functions for accessing crc32c_table and crc32_ccitt_table.
...
svn path=/trunk/; revision=38817
2011-08-31 11:47:27 +00:00
Stig Bjørlykke
8b0361b62e
Try declaring tables with WS_VAR_IMPORT.
...
svn path=/trunk/; revision=38814
2011-08-31 09:56:25 +00:00
Stig Bjørlykke
464d135ef2
Add missing crc16_plain_update and crc_drm.
...
svn path=/trunk/; revision=38812
2011-08-31 09:22:40 +00:00
Stig Bjørlykke
5359494b1f
Second try to move crc routines to libwsutil.
...
This time keep the tvb routines in epan.
Now we can use common crc routines outside epan.
svn path=/trunk/; revision=38810
2011-08-31 09:00:54 +00:00
Stig Bjørlykke
71f903b956
Revert r38800, as the crc routines contains some tvb functions.
...
svn path=/trunk/; revision=38803
2011-08-30 14:17:40 +00:00
Stig Bjørlykke
4132d40e50
Move all crc routines to libwsutil.
...
This way we can use the crc routines in wiretap.
svn path=/trunk/; revision=38800
2011-08-30 13:46:42 +00:00
Stig Bjørlykke
7fb2c994df
From Gisle Vanem:
...
Patch for a missing WINAPI.
svn path=/trunk/; revision=38592
2011-08-17 19:46:13 +00:00
Gerald Combs
78d49fadf5
From Gisle Vanem: Make sure our SetProcessDEPPolicyHandler typedef
...
matches the documentation.
I also verified that DEP is still enabled on Win32 using Process Explorer.
svn path=/trunk/; revision=38583
2011-08-17 16:47:04 +00:00
Jörg Mayer
46d4528e3d
Attempt to properly fix the missing path information for glib libraries
...
svn path=/trunk/; revision=38360
2011-08-05 12:21:46 +00:00
Gerald Combs
3d2c4f6182
Use GLIB2_LDFLAGS instead of GLIB2_LIBRARIES for wsutil, since it
...
includes the path to the libraries. Add gthread to wireshark_LIBS if
threads are enabled.
svn path=/trunk/; revision=38345
2011-08-05 00:25:02 +00:00
Gerald Combs
49b92440de
More GLIB_CHECK_VERSION cleanups. Update the minimum GLib/GTK+ versions
...
in README.devloper. Remove g_gnuc.h since it's no longer needed. Remove
tvbuff_init(), tvbuff_cleanup(), reassemble_init(), and
reassemble_cleanup() since they were only used for older GLib versions
which didn't support GSlices. Assume we always support the "matches"
operator.
svn path=/trunk/; revision=37978
2011-07-11 20:32:19 +00:00
Stig Bjørlykke
8443bbbf75
Replace all strerror() with g_strerror().
...
Remove our local strerror implementation.
Mark strerror as locale unsafe API.
This fixes bug 5715.
svn path=/trunk/; revision=37812
2011-06-28 09:00:11 +00:00