[glibmm] docextract_to_xml.py: Generate signal docs by default.
- From: Josà Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] docextract_to_xml.py: Generate signal docs by default.
- Date: Tue, 28 Feb 2012 20:06:32 +0000 (UTC)
commit 33f7f9a873c6e07d08a77963d237ca966ea057bc
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date: Mon Feb 27 13:24:38 2012 -0500
docextract_to_xml.py: Generate signal docs by default.
* tools/defs_gen/docextract_to_xml.py: Change the --with-signals
option to --no-signals and assume that signal documentation should be
generated by default. The --no-signals option requests that the docs
not be generated.
Bug #668918.
ChangeLog | 11 +++++++++++
tools/defs_gen/docextract_to_xml.py | 10 +++++-----
2 files changed, 16 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 85a168d..64ec028 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2012-02-28 Josà Alburquerque <jaalburquerque gmail com>
+
+ docextract_to_xml.py: Generate signal docs by default.
+
+ * tools/defs_gen/docextract_to_xml.py: Change the --with-signals
+ option to --no-signals and assume that signal documentation should be
+ generated by default. The --no-signals option requests that the docs
+ not be generated.
+
+ Bug #668918.
+
2012-02-28 Kjell Ahlstedt <kjell ahlstedt bredband net>
DBus::Error, DBus::Proxy: Fix interaction with generate_wrap_init.pl.
diff --git a/tools/defs_gen/docextract_to_xml.py b/tools/defs_gen/docextract_to_xml.py
index e522757..edc2f36 100755
--- a/tools/defs_gen/docextract_to_xml.py
+++ b/tools/defs_gen/docextract_to_xml.py
@@ -17,7 +17,7 @@ def usage():
sys.stderr.write('usage: docextract_to_xml.py ' +
'[-s /src/dir | --source-dir=/src/dir] ' +
'[-a | --with-annotations] [-p | --with-properties] ' +
- '[-i | --with-signals ] [-n | --no-since]\n')
+ '[-i | --no-signals ] [-n | --no-since]\n')
sys.exit(1)
# Translates special texts to &... HTML acceptable format. Also replace
@@ -62,14 +62,14 @@ if __name__ == '__main__':
try:
opts, args = getopt.getopt(sys.argv[1:], "d:s:o:apin",
["source-dir=", "with-annotations",
- "with-properties", "with-signals",
+ "with-properties", "no-signals",
"no-since"])
except getopt.error, e:
sys.stderr.write('docextract_to_xml.py: %s\n' % e)
usage()
source_dirs = []
with_annotations = False
- with_signals = False
+ with_signals = True
with_properties = False
for opt, arg in opts:
if opt in ('-s', '--source-dir'):
@@ -78,8 +78,8 @@ if __name__ == '__main__':
with_annotations = True
if opt in ('-p', '--with-properties'):
with_properties = True
- if opt in ('-i', '--with-signals'):
- with_signals = True
+ if opt in ('-i', '--no-signals'):
+ with_signals = False
if opt in ('-n', '--no-since'):
docextract.no_since = True
if len(args) != 0:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]