<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pygobject.git/codegen, branch py3k</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/'/>
<entry>
<title>fixed autotools build</title>
<updated>2010-04-15T17:56:17+00:00</updated>
<author>
<name>John (J5) Palmieri</name>
<email>johnp@redhat.com</email>
</author>
<published>2010-04-15T15:41:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=5cd24966b709de7c75a83018297d8dfb3481ddb0'/>
<id>5cd24966b709de7c75a83018297d8dfb3481ddb0</id>
<content type='text'>
* some file moved from codegen to codegen/libcodegen
  - create Makefile.am in libcodegen dir
  - remove refs to files and add the libcodegen subdir in codegen/Makefile.am
* add AM_MAINTAINER_MODE to configure.ac
  - allows ./autogen.sh to be run without flags
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* some file moved from codegen to codegen/libcodegen
  - create Makefile.am in libcodegen dir
  - remove refs to files and add the libcodegen subdir in codegen/Makefile.am
* add AM_MAINTAINER_MODE to configure.ac
  - allows ./autogen.sh to be run without flags
</pre>
</div>
</content>
</entry>
<entry>
<title>Python 3 support for setup.py</title>
<updated>2010-04-15T16:57:22+00:00</updated>
<author>
<name>John Ehresman</name>
<email>jpe@wingware.com</email>
</author>
<published>2010-04-15T16:57:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=27e7665c4805eab2f4d97b99436e471cf7ba945c'/>
<id>27e7665c4805eab2f4d97b99436e471cf7ba945c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Modify codegen code to run under either Python 2.x or 3.x</title>
<updated>2010-04-15T16:16:48+00:00</updated>
<author>
<name>John Ehresman</name>
<email>jpe@wingware.com</email>
</author>
<published>2010-04-13T15:49:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=8661f934abf276d71b5bf17b617f425a4fc6f06e'/>
<id>8661f934abf276d71b5bf17b617f425a4fc6f06e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make pyglib-python-compat.h a public header and include in pygobject.h Also #define PyVarObject_HEAD_INIT if not defined (in &lt; python 2.6)</title>
<updated>2010-04-15T16:13:34+00:00</updated>
<author>
<name>John Ehresman</name>
<email>jpe@wingware.com</email>
</author>
<published>2010-04-13T03:21:24+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=f6f2ed44c84aff3c38fc3eb5961b28621a14fc51'/>
<id>f6f2ed44c84aff3c38fc3eb5961b28621a14fc51</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use richcompare slot rather than old compare slot and Py_TYPE macro in preparation for py3k support</title>
<updated>2010-04-15T16:13:34+00:00</updated>
<author>
<name>John Ehresman</name>
<email>jpe@wingware.com</email>
</author>
<published>2010-04-02T20:08:07+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=13a5da14842caa6a80e6ed7237422b984a152cd8'/>
<id>13a5da14842caa6a80e6ed7237422b984a152cd8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>	codegen/docextract_to_xml.py: One more &amp;...; replacement (&amp;nbsp;).</title>
<updated>2010-04-13T17:33:12+00:00</updated>
<author>
<name>José Alburquerque</name>
<email>jaalburqu@svn.gnome.org</email>
</author>
<published>2010-04-13T17:33:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=681832c3cd040433a488a400693b68f213bf7078'/>
<id>681832c3cd040433a488a400693b68f213bf7078</id>
<content type='text'>
	* codegen/docextract_to_xml.py: Replace &amp;nbsp; which also causes
	errors with a regular space.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* codegen/docextract_to_xml.py: Replace &amp;nbsp; which also causes
	errors with a regular space.
</pre>
</div>
</content>
</entry>
<entry>
<title>	codegen/docextract_to_xml.py: Replace some &amp;..; that cause errors.</title>
<updated>2010-04-13T16:31:37+00:00</updated>
<author>
<name>José Alburquerque</name>
<email>jaalburqu@svn.gnome.org</email>
</author>
<published>2010-04-13T16:28:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=bd4e7f2459e34957aaae59b9be807d6dff5ec1eb'/>
<id>bd4e7f2459e34957aaae59b9be807d6dff5ec1eb</id>
<content type='text'>
	* codegen/docextract_to_xml.py (escape_text): Replace some &amp;..;
	expressions that cause errors with more appropriate output.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* codegen/docextract_to_xml.py (escape_text): Replace some &amp;..;
	expressions that cause errors with more appropriate output.
</pre>
</div>
</content>
</entry>
<entry>
<title>	codegen/docextract_to_xml.py: Handle C++ multi-line comments.</title>
<updated>2010-04-11T21:48:12+00:00</updated>
<author>
<name>José Alburquerque</name>
<email>jaalburqu@svn.gnome.org</email>
</author>
<published>2010-04-11T21:46:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=f00b9ce91fc9c3aabd4af4132fc112d9e415e12e'/>
<id>f00b9ce91fc9c3aabd4af4132fc112d9e415e12e</id>
<content type='text'>
	* codegen/docextract_to_xml.py (escape_text): Translate '/*' and '*/'
	in text to '/ *' and '* /' respectively so that comment errors don't
	show up when the descriptions that include C++ code with C++
	multi-line comments are used in Doxygen blocks.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* codegen/docextract_to_xml.py (escape_text): Translate '/*' and '*/'
	in text to '/ *' and '* /' respectively so that comment errors don't
	show up when the descriptions that include C++ code with C++
	multi-line comments are used in Doxygen blocks.
</pre>
</div>
</content>
</entry>
<entry>
<title>	codegen/docextract.py: Stop final section processing on first match.</title>
<updated>2010-04-11T20:16:22+00:00</updated>
<author>
<name>José Alburquerque</name>
<email>jaalburqu@svn.gnome.org</email>
</author>
<published>2010-04-11T20:15:01+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=a2fcdecbb5e109da5568084d7acb2332af83b6f5'/>
<id>a2fcdecbb5e109da5568084d7acb2332af83b6f5</id>
<content type='text'>
	* codegen/docextract.py (process_final_sections): Modify the final
	section pattern matching for loop to stop on first match so that it
	doesn't match both a colon return ('Returns: ...') and a no colon
	return ('Returns ...') which leads to annotation extraction errors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* codegen/docextract.py (process_final_sections): Modify the final
	section pattern matching for loop to stop on first match so that it
	doesn't match both a colon return ('Returns: ...') and a no colon
	return ('Returns ...') which leads to annotation extraction errors.
</pre>
</div>
</content>
</entry>
<entry>
<title>	Update doc extraction tool to handle GObjectIntrospection annotations.</title>
<updated>2010-04-11T19:45:09+00:00</updated>
<author>
<name>José Alburquerque</name>
<email>jaalburqu@svn.gnome.org</email>
</author>
<published>2010-04-11T19:45:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=825fd305f03b726665edca34963978ce27448182'/>
<id>825fd305f03b726665edca34963978ce27448182</id>
<content type='text'>
	* codegen/docextract.py (FunctionDoc): Renamed class to GtkDoc.
	(GtkDoc::annotations): Added a list field to store annotations which
	are 2-tuples of (name, value).
	(GtkDoc::ret): Modified field to store the return description along
	with a list of annotations as described above.
	(GtkDoc::params): Now holds a list of 3-tupples: name, description and
	annotations (as described above).
	(GtkDoc::block_type): Add a field to tell if the comment block is a
	function block, signal block or property block.
	(GtkDoc::set_type):
	(GtkDoc::get_type): Add methods for setting/getting the block type.
	(GtkDoc::add_param): Modified to also accept a list of annotations to
	be added with the parameter.
	(GtkDoc::add_annotation):
	(GtkDoc::get_annotations): Added methods to add/get annotations for
	the comment block.
	(GtkDoc::append_description): Renamed to append_to_description().
	(GtkDoc::get_param_description): Removed unused method.
	(GtkDoc::get_description): Added method to get block description.
	(GtkDoc::add_return): Added method to add a return accepting the first
	line of the description and its annotations.
	(GtkDoc::append_return): Renamed to append_to_return().
	(Regular expressions):
	 - Made the names of the variables un-abbreviated.

	 - Added 'since', 'deprecated' and 'rename to' regular expressions.

	 - Modified the return matching regular expression so that it doesn't
	   match descriptions that begin with 'Returns ...'.  This improves
	   the docs of many function.

	 - Added signal and property comment block identifier matching regular
	   expressions in case those are useful.

	- Modified existing identifier matching regular expressions (function,
	  signal, and property regular expressions) to properly parse
	  annotations.  Also added a regular expression for extracting
	  annotations from the parameter and return descriptions.

	- Refined the function name matching regular expression to only accept
	  identifiers that begin with a lowercase letter.  This eliminates
	  'SECTION:' matches.

	- Finally, grouped commonly related expressions like return_pattern,
	  since_pattern, etc.  into groups (in lists) so that matching those
	  sections can be done using loops.

	(Parsing algorithm): Modified the algorithm to use a functional
	approach to parsing.  Extra methods like skip_to_comment() and
	processs_params() have been added and used in the parse_file()
	function to now process the comment blocks.
	(parse_dir): Added file processing output to stderr.
	* codegen/docextract_to_xml.py (usage): Added function to print out
	the usage.
	(print_annotations): Added function to print the given list of
	annotations.
	(options): Added --with-signals (-i), with-properties (-p) and
	--with-annotation (-a) to the existing --source-dir (-s) option.

	(algorithm): Now prints annotations, if specified.  Also, prints
	signals and properties correctly (using names like Class::signal-one
	for signals and Classs:property) with xml such as &lt;signal
	name="..."&gt;...&lt;/signal&gt;.  The return xml is slightly modified with
	annotations but this would only be exhibited if annotation xml is
	requested.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* codegen/docextract.py (FunctionDoc): Renamed class to GtkDoc.
	(GtkDoc::annotations): Added a list field to store annotations which
	are 2-tuples of (name, value).
	(GtkDoc::ret): Modified field to store the return description along
	with a list of annotations as described above.
	(GtkDoc::params): Now holds a list of 3-tupples: name, description and
	annotations (as described above).
	(GtkDoc::block_type): Add a field to tell if the comment block is a
	function block, signal block or property block.
	(GtkDoc::set_type):
	(GtkDoc::get_type): Add methods for setting/getting the block type.
	(GtkDoc::add_param): Modified to also accept a list of annotations to
	be added with the parameter.
	(GtkDoc::add_annotation):
	(GtkDoc::get_annotations): Added methods to add/get annotations for
	the comment block.
	(GtkDoc::append_description): Renamed to append_to_description().
	(GtkDoc::get_param_description): Removed unused method.
	(GtkDoc::get_description): Added method to get block description.
	(GtkDoc::add_return): Added method to add a return accepting the first
	line of the description and its annotations.
	(GtkDoc::append_return): Renamed to append_to_return().
	(Regular expressions):
	 - Made the names of the variables un-abbreviated.

	 - Added 'since', 'deprecated' and 'rename to' regular expressions.

	 - Modified the return matching regular expression so that it doesn't
	   match descriptions that begin with 'Returns ...'.  This improves
	   the docs of many function.

	 - Added signal and property comment block identifier matching regular
	   expressions in case those are useful.

	- Modified existing identifier matching regular expressions (function,
	  signal, and property regular expressions) to properly parse
	  annotations.  Also added a regular expression for extracting
	  annotations from the parameter and return descriptions.

	- Refined the function name matching regular expression to only accept
	  identifiers that begin with a lowercase letter.  This eliminates
	  'SECTION:' matches.

	- Finally, grouped commonly related expressions like return_pattern,
	  since_pattern, etc.  into groups (in lists) so that matching those
	  sections can be done using loops.

	(Parsing algorithm): Modified the algorithm to use a functional
	approach to parsing.  Extra methods like skip_to_comment() and
	processs_params() have been added and used in the parse_file()
	function to now process the comment blocks.
	(parse_dir): Added file processing output to stderr.
	* codegen/docextract_to_xml.py (usage): Added function to print out
	the usage.
	(print_annotations): Added function to print the given list of
	annotations.
	(options): Added --with-signals (-i), with-properties (-p) and
	--with-annotation (-a) to the existing --source-dir (-s) option.

	(algorithm): Now prints annotations, if specified.  Also, prints
	signals and properties correctly (using names like Class::signal-one
	for signals and Classs:property) with xml such as &lt;signal
	name="..."&gt;...&lt;/signal&gt;.  The return xml is slightly modified with
	annotations but this would only be exhibited if annotation xml is
	requested.
</pre>
</div>
</content>
</entry>
</feed>
