File:NNTPState.png

From MozillaWiki
Jump to: navigation, search
Original file(4,427 × 2,067 pixels, file size: 610 KB, MIME type: image/png)

This image is an image of the NNTP state machine for nsNNTPProtocol.

It was generated by these steps: A copy of the file without any `m_nextState = ' was created and diffed, producing a list of function names->next state. Through manual processing, all duplicate function references and next states were removed, along with adding the state afterwards if the next state was NNTP_RESPONSE (false positives were also corrected). ParseProtocol's switch statement was isolated and the states were mapped to their functions (mostly with sed, some additional hand-parsing for unusual states. The two lists were sorted, concatenated and then piped through an awk program that output a DOT diagram from the states. Manual processing was used to correct errors (like spelling errors or functions that didn't quite map to states). The errata states were added, and then everything was piped through dot to get the output.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current22:56, 16 April 2008Thumbnail for version as of 22:56, 16 April 20084,427 × 2,067 (610 KB)Jcranmer (talk | contribs)Elided a bit more and cleaned it up a tad...
01:43, 18 October 2007
Error creating thumbnail: File with dimensions greater than 12.5 MP
4,809 × 3,112 (201 KB)Jcranmer (talk | contribs)This image is an image of the NNTP state machine for nsNNTPProtocol. It was generated by these steps: A copy of the file without any `m_nextState = ' was created and diffed, producing a list of function names->next state. Through manual processing, all d
  • You cannot overwrite this file.

The following page links to this file: