aboutsummaryrefslogtreecommitdiffstats
path: root/doc/README.developer
AgeCommit message (Collapse)AuthorFilesLines
2005-02-01Add boolean to the list of non-portable typesJörg Mayer1-8/+9
svn path=/trunk/; revision=13227
2005-01-07Grammar and typo fix from Mike Duigou.Guy Harris1-2/+2
svn path=/trunk/; revision=12979
2004-12-28add a more detailed description, how to add a new dissector fileUlf Lamping1-0/+6
svn path=/trunk/; revision=12847
2004-10-14From Jeff Morriss: PREF_RANGE preference type, for ranges of integers.Guy Harris1-0/+8
svn path=/trunk/; revision=12300
2004-10-06Note that variadic macros shouldn't be used.Guy Harris1-0/+17
svn path=/trunk/; revision=12224
2004-09-17Note that declarations in the middle of a block aren't supported by allGuy Harris1-0/+10
compilers, and thus shouldn't be used. svn path=/trunk/; revision=12029
2004-09-11Note that _WIN32, not WIN32, should be used in #ifdefs and #ifs testingGuy Harris1-0/+7
the platform for which we're building (and that both should be avoided if possible, i.e. write your code so that it works on all platforms). svn path=/trunk/; revision=11973
2004-09-07Note that developers should avoid GTK+ 2.x/GLib 2.x-only stuff (and, inGuy Harris1-0/+14
particularly, should disregard all the renaming they did of some routines, as the old names work Just Fine in 2.x but the new names don't work in 1.2[.x]). svn path=/trunk/; revision=11936
2004-08-31add HFILL to the skeleton example and documentation of the field registrationUlf Lamping1-5/+8
svn path=/trunk/; revision=11864
2004-08-31corrected paths, where the dissectors and the corresponding Makefile.common ↵Ulf Lamping1-3/+3
can be found, to epan/dissectors svn path=/trunk/; revision=11858
2004-08-22Add "tvb_get_ntoh64()" and "tvb_get_letoh64()" routines to fetch 64-bitGuy Harris1-2/+26
integers. Make FT_INT64 and FT_UINT64 add numerical values, rather than byte-array values, to the protocol tree, and add routines to add specified 64-bit integer values to the protocol tree. Use those routines in the RSVP dissector. svn path=/trunk/; revision=11796
2004-08-19Note that "G_GINT64_CONSTANT()" should be used for constant values thatGuy Harris1-6/+19
don't fit in 32 bits, rather than using "LL" at the end. Clean up some other 64-bit-integer items. svn path=/trunk/; revision=11779
2004-07-23Note that you *MUST* make sure "match_strval()" doesn't return nullGuy Harris1-1/+13
before using its value, or must check for a null return value and handle it specially, otherwise you put Ethereal at risk of crashing with bad packet data. svn path=/trunk/; revision=11475
2004-07-18SNPRINTF isn't used any more - remove from sample dissectorJörg Mayer1-6/+3
and coding guidelines. svn path=/trunk/; revision=11418
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-4/+4
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-07-08Give more details on the "don't build the protocol tree if you don'tGuy Harris1-7/+22
have to", indicating that if it's too much work to explicitly test for a null protocol tree, you might want to avoid those tests and rely on the protocol tree routines not to do much work if passed a null protocol tree pointer. svn path=/trunk/; revision=11346
2004-06-25tmpnam() really should not be used for security reasons.Jörg Mayer1-4/+9
Replace it where used and update README.developer accordingly. svn path=/trunk/; revision=11235
2004-06-19Pick up the stuff I did for tcpdump to figure out the right strings toGuy Harris1-12/+17
use to format 64-bit integers. Fix the RSVP dissector to use that rather than hardcoding "%ll" in. Remove the "only if G_HAVE_GINT64 is defined" bit from the discussion of 64-bit integers - we're too dependent on having them to support compilers that don't have a 64-bit integral data type. Do, however, note that neither "long" nor "long long" are acceptable, and also note that you shouldn't assume "%ll" does the trick for printing them. svn path=/trunk/; revision=11182
2004-05-24Have two strings in an enum_val_t - one that's a short string that isGuy Harris1-16/+31
convenient to put into a command line (no capital letters, no spaces to require quotes), and one that's a detailed description for use in the UI. Allow either of them in the preferences file or "-o" option; use the detailed description in the UI, and also use it when writing the preferences out, so that the preference will be readable by older versions of Ethereal (assuming the preference existed in that version). Update "README.developer" to give more detail about an enum_val_t (and to put the _t in), and to give a more detailed description of the "radio_buttons" argument to "prefs_register_enum_preference()". svn path=/trunk/; revision=10982
2004-03-25added hint to use g_snprintf instead of snprintf and sprintfUlf Lamping1-4/+15
svn path=/trunk/; revision=10481
2004-03-19Update to reflect current reality.Guy Harris1-18/+13
svn path=/trunk/; revision=10408
2004-02-25Describe some problems with processing data pointed to by the result ofGuy Harris1-17/+133
"tvb_get_ptr()". Add a section on roubustness, giving a number of potential problems that aren't just portability problems. Document "tvb_get_string()" and "tvb_get_stringz()", better document "tvb_memcpy()" and "tvb_memdup()". Fix a typo. svn path=/trunk/; revision=10239
2004-02-19Remove a comment on ancient EtherealJörg Mayer1-9/+4
svn path=/trunk/; revision=10115
2004-02-14Add a note on white space conventions (tab expansion different from 8 spaces isOlivier Biot1-4/+24
a Bad Idea). Add a note on the new col_append_sep_str() and col_append_sep_fstr() methods. svn path=/trunk/; revision=10061
2004-01-21Move the list of dissectors (DISSECTOR_SRC) out of Makefile.am andJörg Mayer1-10/+9
Makefile.nmake into a shared file named Makefile.common svn path=/trunk/; revision=9772
2003-12-30Header files proto-ABBREV.h must not exist if there are no functionsOlivier Biot1-8/+57
to export to other dissectors. Describe the "if (tree)" construct and its sense by introducing 2 operation modes of Ethereal: (a) operational dissection (tree == NULL) and (b) detailed dissection (tree != NULL). Fix some typos. svn path=/trunk/; revision=9495
2003-12-19Note that "uchar", "u_char", "u_short", "u_int", and "u_long" are alsoGuy Harris1-9/+12
forbidden. svn path=/trunk/; revision=9356
2003-11-14Fix the stuff that talks about adding to DISSECTOR_SOURCES to talk aboutGuy Harris1-5/+5
adding to DISSECTOR_SRC instead, and update it to mention "Makefile.nmake" in the first instance. svn path=/trunk/; revision=8966
2003-11-06Warn people not to use the "numbered argument" feature that many UNIXGuy Harris1-3/+15
printf's implement. svn path=/trunk/; revision=8898
2003-10-28Clarify the previous checkin - that applies to the 'value' argument.Guy Harris1-7/+8
svn path=/trunk/; revision=8797
2003-10-28As per a suggestion by Olivier Biot, note that objects pointed to byGuy Harris1-3/+8
pointer arguments to "proto_tree_add_XXX" functions are copied - if you allocated a buffer for one of them (e.g., a string), and you don't free that buffer when you're done with it, you'll leak memory. svn path=/trunk/; revision=8796
2003-10-20Warn about Yet Another GCCism.Guy Harris1-3/+7
svn path=/trunk/; revision=8742
2003-10-09From Lo�c Minier: information on how to do reassembly of PDUs atop TCP.Guy Harris1-3/+92
svn path=/trunk/; revision=8651
2003-10-09Add an item about prefixing #define names and enum names with a prefixGuy Harris1-3/+8
to avoid name collisions. svn path=/trunk/; revision=8649
2003-10-06Add One More Item to the list of things not all compilers can handle.Guy Harris1-3/+21
svn path=/trunk/; revision=8627
2003-07-30Fix a typo.Guy Harris1-27/+32
Wrap text to 80 columns. Add myself to the authors list (e.g. for the portability section). svn path=/trunk/; revision=8108
2003-07-25Add to the fundamental types passed between the scanner and the parser.Gilbert Ramirez1-4/+52
Besides "STRING", there is now "UNPARSED_STRING", where the distinction is that "STRING" was a double-quoted string and "UNPARSED_STRING" is just a sequence of characters that the scanner didn't know how to scan/parse, so it's up to the Ftype to parse it. This gives us more flexibility and prepares the dfilter parsing engine for the upcoming addition of the "contains" operator. In the process of doing this, I also re-did the double-quoted string support in the scanner, so that instead of the naively-simple support we used to have, double-quoted strings now can have embedded dobule-quotes, embedded octal sequences, and embedded hexadecimal sequences: "\"" embedded double-quote "\110" embedded octal "\x48" embedded hex Enhance the dfilter unit test script to be able to run a single collection of tests instead of having to run all of them all the time. svn path=/trunk/; revision=8083
2003-07-07Typo fix, from Brad Hards.Guy Harris1-5/+5
svn path=/trunk/; revision=7977
2003-06-12Clarify the comment about not doing dissection work if "tree" is NULL,Guy Harris1-5/+7
to indicate what you should avoid doing *and* to indicate what you still have to do (i.e., call subdissectors). svn path=/trunk/; revision=7864
2003-03-09- conversation_get_protocol_data -> conversation_get_proto_dataLaurent Deniel1-10/+10
- miscellaneous typos corrected svn path=/trunk/; revision=7329
2003-03-07Note that you need <io.h> on Windows if you want to use "open()",Guy Harris1-3/+17
"close()", "read()", "write()", etc.. svn path=/trunk/; revision=7314
2003-03-06Throw in some additional portability notes about:Guy Harris1-4/+37
not using "%l[doux]" with guint32; not including <unistd.h> without #ifdef HAVE_UNISTD_H; not fopening binary files with "r", "w", etc., and not opening them with "open()" without using O_BINARY. svn path=/trunk/; revision=7302
2003-02-10Note that one shouldn't put a comma after the last element of an enum.Guy Harris1-3/+6
svn path=/trunk/; revision=7115
2003-01-31Get rid of BASE_BIN - it's just the same as BASE_DEC, but people seemedGuy Harris1-8/+6
to be using it for stuff that should be hex, and for stuff that should be Boolean. Use BASE_DEC if it should be decimal, BASE_HEX if it should be hex, and make it Boolean if it should be Boolean. svn path=/trunk/; revision=7053
2003-01-29More completely explain the "name" argument to theGuy Harris1-4/+12
"prefs_register_XXX_preference" routines, to note that it should *NOT* include the protocol name - the protocol name is automatically prepended to it, with a "." separator, as the preference is registered in a module whose name is that of the protocol. svn path=/trunk/; revision=7031
2003-01-26Update my email address in various places since my old one no longer worksLaurent Deniel1-4/+4
svn path=/trunk/; revision=7003
2002-12-19Document FT_FRAMENUM.Guy Harris1-4/+8
svn path=/trunk/; revision=6805
2002-12-09Fix a typo.Gerald Combs1-4/+4
svn path=/trunk/; revision=6769
2002-11-09Put in a note about "ntoh[ls]()" and "hton[ls]()" vs. the GLib versionsGuy Harris1-3/+12
of same. svn path=/trunk/; revision=6594
2002-11-03From Jean-Baptiste Marchand: fix a typo in README.developer.Guy Harris1-4/+4
Also, put him into the list of authors in the man page. svn path=/trunk/; revision=6554