Richard Sharpe
02087e332f
Add an entry in the byte_view pane that allows the user to save the highlighted
...
data to a file. This allows the user to select some stuff, and analyse it with
external tools, and is very useful for quickly prototying dissectors etc.
This works by retrieving the info that is needed to define where the selected
region is.
It puts up a dialog box that asks for the file to save in.
However, it is an ugly hack, because it reuses print_file_cb, while
print_file_cb should be moved into file_dlg.c.
It also needs to have some warning dialogs put up in error cases.
Finally, it would be good to be able to select a region in the byte_view,
which you can do with click and drag, and then have a menu item to save the
selected bytes.
svn path=/trunk/; revision=9116
2003-11-29 06:09:54 +00:00
Guy Harris
c344289260
From melerski [AT] poczta.onet.pl: fix a problem with unknown IEs.
...
svn path=/trunk/; revision=9115
2003-11-29 03:55:32 +00:00
Ulf Lamping
1ef427d649
renamed frame to packet in all GUI elements
...
moved "Enabled Protocols" and such
from "View" to "Analyze" toplevel menu
svn path=/trunk/; revision=9114
2003-11-28 19:13:25 +00:00
Ulf Lamping
e4037df998
renamed frame to packet in all GUI elements
...
svn path=/trunk/; revision=9113
2003-11-28 19:02:41 +00:00
Ulf Lamping
eb209e9438
use dlg_window_new instead of gtk_window_new
...
svn path=/trunk/; revision=9112
2003-11-28 19:00:28 +00:00
Ulf Lamping
390f20ea6b
label changed from "Portions" to "% of total" as suggested by Guy
...
svn path=/trunk/; revision=9111
2003-11-28 00:44:21 +00:00
Ulf Lamping
cd01ca6cb0
using dlg_utils.c functions to catch the ESC key to close the dialog
...
svn path=/trunk/; revision=9110
2003-11-28 00:13:08 +00:00
Ulf Lamping
131eeab31d
using dlg_utils.c functions to catch the ESC key to close the dialog
...
svn path=/trunk/; revision=9109
2003-11-27 23:25:55 +00:00
Guy Harris
d33d06d9a9
"representation", in an "item_label_t", is now an array, not a pointer,
...
so "fi->rep->representation" can't be null.
svn path=/trunk/; revision=9108
2003-11-27 22:29:52 +00:00
Guy Harris
7bed6d2087
Fix comments to correctly refer to the "-z" option.
...
svn path=/trunk/; revision=9107
2003-11-27 22:15:05 +00:00
Guy Harris
ef47333f2e
From Michael Lum: fix the usage message to refer to "-z", not "-Z".
...
svn path=/trunk/; revision=9106
2003-11-27 22:14:24 +00:00
Guy Harris
41cedaa088
Show the -z flag in the usage message.
...
svn path=/trunk/; revision=9105
2003-11-27 22:12:18 +00:00
Guy Harris
5e33fbf97b
From Michael Lum: fix the usage message to say "-z", not "-Z".
...
svn path=/trunk/; revision=9104
2003-11-27 22:04:02 +00:00
Guy Harris
7b3a7c3a94
From Arsen Chaloyan: fix offsets in "proto_tree_add" calls.
...
svn path=/trunk/; revision=9103
2003-11-27 21:20:47 +00:00
Guy Harris
254f2f790b
From Erwin Rol: RTCFG support.
...
Add in a URL to the RTNET home page.
svn path=/trunk/; revision=9102
2003-11-27 21:09:43 +00:00
Guy Harris
b2c0b30ff9
From David Fort: fix to previous patch.
...
svn path=/trunk/; revision=9101
2003-11-27 21:02:34 +00:00
Ulf Lamping
ad6b446228
Redesign of the whole menu structure, to be more intuitive to the user and
...
conforms somewhat better to the Gnome Human Interface Guideline
svn path=/trunk/; revision=9100
2003-11-27 20:34:01 +00:00
Ulf Lamping
ba2b942138
bugfix: removed access violation when using "File/Print Packet".
...
The label_ptr could be NULL, when calling function print_line
svn path=/trunk/; revision=9099
2003-11-27 17:18:13 +00:00
Ulf Lamping
2cd8629c86
using text files from help dir, to display the help texts.
...
the "dynamic protocol fields" are already moved to gtk/supported_protos_dlg.c
svn path=/trunk/; revision=9098
2003-11-27 00:22:12 +00:00
Ulf Lamping
4c5b5d8d51
Added this intermediate files, until a Makfile.am is available for unix systems
...
svn path=/trunk/; revision=9097
2003-11-27 00:17:12 +00:00
Guy Harris
ff5569c895
From David Fort: DNS DSS RR support.
...
svn path=/trunk/; revision=9096
2003-11-26 23:23:37 +00:00
Ronnie Sahlberg
eb39a99b2c
Speed updates
...
create generic macros for allocating/freeing structures.
remove one more slow GMemChunk and replace it with a simple linked list
~4% speed improvement in my tests.
the allocated data is never freed. this may be a problem if ethereal is
ever supported on a platform lacking resource tracking but makes the
implementation faster and simpler.
svn path=/trunk/; revision=9095
2003-11-26 12:22:22 +00:00
Guy Harris
d525d957e4
From Patrick Kursawe: rename "getline()" so it doesn't collide with the
...
"getline()" declared in <stdio.h> with recent versions of glibc.
Fix a typo in the AUTHORS file.
svn path=/trunk/; revision=9094
2003-11-26 02:58:12 +00:00
Guy Harris
d792460eac
From Jaime Fournier: fix a typo.
...
svn path=/trunk/; revision=9093
2003-11-26 02:54:05 +00:00
Guy Harris
ade7d05cdf
From Reinhard Speyerer: handle 10-digit UCP dates, which lack a seconds
...
value.
svn path=/trunk/; revision=9092
2003-11-25 20:26:40 +00:00
Guy Harris
26d021d8eb
As with fvalue_t, so with field_info and item_label - the individual
...
items aren't individually g_mallocated and can't be g_freed, only the
chunks can.
svn path=/trunk/; revision=9091
2003-11-25 20:02:42 +00:00
Guy Harris
06f204843e
Individual fvalue_t's aren't individually allocated with "g_malloc()",
...
so they can't be freed with "g_free()"; keep a list of the chunks of
"fvalue_t"s, which are whare are allocated with "g_malloc()", so we can
free them all.
svn path=/trunk/; revision=9090
2003-11-25 19:25:31 +00:00
Guy Harris
3dd28656ba
From Anders Broman: add more SIP headers, and the PUBLISH method.
...
svn path=/trunk/; revision=9089
2003-11-25 18:02:57 +00:00
Ronnie Sahlberg
06ed59a1ec
replace free_node_field_info with a macro since it is only called from one other place in the code and this reduces one unnecessary function call overhead.
...
and it makes ethereal ~1% faster.
svn path=/trunk/; revision=9088
2003-11-25 14:16:30 +00:00
Ronnie Sahlberg
c68fddc5e1
rename FREE_FIELD_INFO to FIELD_INFO_FREE for consistency
...
svn path=/trunk/; revision=9087
2003-11-25 14:11:44 +00:00
Ronnie Sahlberg
fec720051f
create a FIELD_INFO_NEW for consistency
...
svn path=/trunk/; revision=9086
2003-11-25 14:10:27 +00:00
Ronnie Sahlberg
9d88e58e51
remove another slow GMemChunk from ethereal making ethereal a little bit faster
...
svn path=/trunk/; revision=9085
2003-11-25 14:07:45 +00:00
Ronnie Sahlberg
04d07e6578
change free_field_info to FREE_FIELD_INFO to indicate it is a macro and not a function
...
svn path=/trunk/; revision=9084
2003-11-25 13:23:10 +00:00
Ronnie Sahlberg
4f84e65c50
fvalue_free() is one of the most called functions.
...
This function is also very small, so small that teh overhead for the actual function call and return is likely to be a significant part
of its execution time.
change it into a macro and make it thus slightly faster by eliminating the function call overhead.
svn path=/trunk/; revision=9083
2003-11-25 13:20:36 +00:00
Ronnie Sahlberg
0bf28e51af
Change the handling of temporary allocation of fvalue_t structures to be faster.
...
Use a similar technique as was used in epan/proto.c to speed up the field_info
allocation/deallocation routines
svn path=/trunk/; revision=9082
2003-11-25 08:50:38 +00:00
Guy Harris
186bd3bab6
From Jaime Fournier: show the RPC version of the unknown interface in
...
the Info column.
svn path=/trunk/; revision=9081
2003-11-25 08:19:33 +00:00
Guy Harris
ff797aaf4a
From Jamie Fournier: DCE RPC EPM version 4 support, and stub support for
...
BUDB, ICL RPC, and RS_PROP_ACCT DCE RPC-based protocols.
svn path=/trunk/; revision=9080
2003-11-25 08:10:57 +00:00
Guy Harris
e3f791ebea
"file_seek()" sets "*err" - we don't have to set it ourselves.
...
The same is true of "parse_cosine_rec_hdr()".
svn path=/trunk/; revision=9079
2003-11-25 05:58:56 +00:00
Guy Harris
6939f62da0
"file_seek()" sets "*err" - there's no need to set it ourselves. It
...
returns -1 on errors, so just check for that.
svn path=/trunk/; revision=9078
2003-11-25 05:56:16 +00:00
Guy Harris
ff9ac52735
Fix a typo.
...
svn path=/trunk/; revision=9077
2003-11-25 00:21:06 +00:00
Guy Harris
9c8b8819b8
Eliminate compiler warnings.
...
svn path=/trunk/; revision=9076
2003-11-24 23:46:06 +00:00
Guy Harris
122dd3959c
Make the recent epan/proto.{c,h} change compile.
...
svn path=/trunk/; revision=9075
2003-11-24 22:11:55 +00:00
Guy Harris
2e94fc8139
Preserve 62 as an (old) IP protocol type for mobility headers.
...
svn path=/trunk/; revision=9074
2003-11-24 21:42:13 +00:00
Ronnie Sahlberg
fa1ee7667b
performance enhancement to proto.c
...
Removed the GMemChunk used to allocate/free field_info structures
and used a free list to store the freed structs until they are allocated again.
Ethereal will allocate more field_info structs as it needs to but never free them. Instead the are just placed in a cheap and fast free list so that if we
want to use the struct again, this will be fast.
This affects the speed of the two functions
alloc_field_info() that should be slightly faster now
free_field_info() that was replaced with a 2 line macro.
All in all my testing suggests that ethereal is 2-3% faster with this patch.
svn path=/trunk/; revision=9073
2003-11-24 21:12:10 +00:00
Ulf Lamping
a24a6b7a37
bugfix: corrected clean and distclean targets
...
svn path=/trunk/; revision=9072
2003-11-24 17:41:33 +00:00
Guy Harris
0367782acf
From Scott Hovis :CCSDS (Consultative Committee for Space Data Systems)
...
support.
svn path=/trunk/; revision=9071
2003-11-24 00:34:13 +00:00
Guy Harris
b0e8631b55
From Anders Broman: fix dissection of GRS/GRA messages.
...
svn path=/trunk/; revision=9070
2003-11-24 00:05:09 +00:00
Guy Harris
794858f6bf
Include the BFD dissector when building with MSVC++.
...
svn path=/trunk/; revision=9069
2003-11-23 23:42:46 +00:00
Gerald Combs
807458f7e1
From Hannes Gredler: Add support for Bi-directional Fault Detection (BFD).
...
svn path=/trunk/; revision=9068
2003-11-23 22:00:48 +00:00
Jörg Mayer
56e66f0293
- Bugfix: Passworddecoding should only be done for attribute 2, but
...
not for VSA 2
- Fixme comment about length handling added
- Cleanup: Setting a variable to the right type removes the necessity
for casts.
svn path=/trunk/; revision=9067
2003-11-22 12:02:49 +00:00