platform/upstream/gobject-introspection.git
14 months agobuild: Avoid the doctemplates hack 79/287779/1 accepted/tizen_8.0_unified accepted/tizen_unified tizen tizen_8.0 accepted/tizen/8.0/unified/20231005.094917 accepted/tizen/unified/20230207.165820 tizen_8.0_m2_release
Emmanuele Bassi [Tue, 11 Jan 2022 15:51:10 +0000 (15:51 +0000)]
build: Avoid the doctemplates hack

The hack that copies the doctemplates directory into the build
directory has stopped working with newer versions of Meson; while it's
possible to copy files, custom_target() cannot depend on a directory.
Additionally, the dependency has always been broken.

Instead, we enumerate the template files—after all, it's not like they
change a lot—and then we list them as dependencies for the test targets.

Fixes: #414
Change-Id: I59d3522851b91e3caaeda17bca882e3746d445c0
Signed-off-by: JinWang An <jinwang.an@samsung.com>
2 years agoBump to gobject-introspection 1.70.0 27/266027/2 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix sandbox/dh0128.kwak/gobject-introspection-1.70.0-20211103 tizen_7.0 tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.061400 accepted/tizen/7.0/unified/hotfix/20221116.110829 accepted/tizen/unified/20211115.141705 submit/tizen/20211111.055041 tizen_7.0_m2_release
DongHun Kwak [Thu, 4 Nov 2021 06:54:10 +0000 (15:54 +0900)]
Bump to gobject-introspection 1.70.0

Change-Id: I8d5c8e1f7b831fa634af76c820959cf4a99a049d
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2 years agoImported Upstream version 1.70.0 upstream upstream/1.70.0
DongHun Kwak [Tue, 2 Nov 2021 06:42:36 +0000 (15:42 +0900)]
Imported Upstream version 1.70.0

2 years agoImported Upstream version 1.69.0 upstream/1.69.0
DongHun Kwak [Tue, 2 Nov 2021 06:42:27 +0000 (15:42 +0900)]
Imported Upstream version 1.69.0

2 years agoImported Upstream version 1.68.0 upstream/1.68.0
DongHun Kwak [Tue, 2 Nov 2021 06:42:19 +0000 (15:42 +0900)]
Imported Upstream version 1.68.0

2 years agoImported Upstream version 1.67.1 upstream/1.67.1
DongHun Kwak [Tue, 2 Nov 2021 06:42:09 +0000 (15:42 +0900)]
Imported Upstream version 1.67.1

2 years agoImported Upstream version 1.66.1 upstream/1.66.1
DongHun Kwak [Tue, 2 Nov 2021 06:41:52 +0000 (15:41 +0900)]
Imported Upstream version 1.66.1

3 years agoImported Upstream version 1.66.0 upstream/1.66.0
DongHun Kwak [Fri, 18 Sep 2020 05:42:17 +0000 (14:42 +0900)]
Imported Upstream version 1.66.0

3 years agoImported Upstream version 1.64.1 upstream/1.64.1
DongHun Kwak [Fri, 18 Sep 2020 05:42:02 +0000 (14:42 +0900)]
Imported Upstream version 1.64.1

3 years agoImported Upstream version 1.64.0 upstream/1.64.0
DongHun Kwak [Fri, 18 Sep 2020 05:41:51 +0000 (14:41 +0900)]
Imported Upstream version 1.64.0

3 years agoImported Upstream version 1.63.2 upstream/1.63.2
DongHun Kwak [Fri, 18 Sep 2020 05:41:36 +0000 (14:41 +0900)]
Imported Upstream version 1.63.2

3 years agoImported Upstream version 1.63.1 upstream/1.63.1
DongHun Kwak [Fri, 18 Sep 2020 05:41:25 +0000 (14:41 +0900)]
Imported Upstream version 1.63.1

3 years agoImported Upstream version 1.62.0 upstream/1.62.0
DongHun Kwak [Fri, 18 Sep 2020 05:41:10 +0000 (14:41 +0900)]
Imported Upstream version 1.62.0

3 years agoImported Upstream version 1.61.2 upstream/1.61.2
DongHun Kwak [Fri, 18 Sep 2020 05:40:56 +0000 (14:40 +0900)]
Imported Upstream version 1.61.2

3 years agoImported Upstream version 1.61.1 upstream/1.61.1
DongHun Kwak [Fri, 18 Sep 2020 05:40:43 +0000 (14:40 +0900)]
Imported Upstream version 1.61.1

3 years agoImported Upstream version 1.60.2 upstream/1.60.2
DongHun Kwak [Fri, 18 Sep 2020 05:40:05 +0000 (14:40 +0900)]
Imported Upstream version 1.60.2

3 years agoImported Upstream version 1.60.1 upstream/1.60.1
DongHun Kwak [Fri, 18 Sep 2020 05:39:45 +0000 (14:39 +0900)]
Imported Upstream version 1.60.1

3 years agoImported Upstream version 1.60.0 upstream/1.60.0
DongHun Kwak [Fri, 18 Sep 2020 05:39:23 +0000 (14:39 +0900)]
Imported Upstream version 1.60.0

3 years agoImported Upstream version 1.59.5 upstream/1.59.5
DongHun Kwak [Fri, 18 Sep 2020 05:38:57 +0000 (14:38 +0900)]
Imported Upstream version 1.59.5

3 years agoImported Upstream version 1.59.4 upstream/1.59.4
DongHun Kwak [Fri, 18 Sep 2020 05:38:38 +0000 (14:38 +0900)]
Imported Upstream version 1.59.4

5 years agoImported Upstream version 1.59.3 upstream/1.59.3
DongHun Kwak [Thu, 10 Jan 2019 04:16:51 +0000 (13:16 +0900)]
Imported Upstream version 1.59.3

5 years agoImported Upstream version 1.59.2 upstream/1.59.2
DongHun Kwak [Thu, 10 Jan 2019 04:16:39 +0000 (13:16 +0900)]
Imported Upstream version 1.59.2

5 years agoImported Upstream version 1.59.1 upstream/1.59.1
DongHun Kwak [Thu, 10 Jan 2019 04:16:30 +0000 (13:16 +0900)]
Imported Upstream version 1.59.1

5 years agoImported Upstream version 1.58.3 upstream/1.58.3
DongHun Kwak [Thu, 10 Jan 2019 04:16:18 +0000 (13:16 +0900)]
Imported Upstream version 1.58.3

5 years agoImported Upstream version 1.58.2 upstream/1.58.2
DongHun Kwak [Thu, 10 Jan 2019 04:16:09 +0000 (13:16 +0900)]
Imported Upstream version 1.58.2

5 years agoImported Upstream version 1.58.1 upstream/1.58.1
DongHun Kwak [Thu, 10 Jan 2019 04:15:59 +0000 (13:15 +0900)]
Imported Upstream version 1.58.1

5 years agoImported Upstream version 1.58.0 upstream/1.58.0
DongHun Kwak [Thu, 10 Jan 2019 04:15:50 +0000 (13:15 +0900)]
Imported Upstream version 1.58.0

5 years agoImported Upstream version 1.57.2 upstream/1.57.2
DongHun Kwak [Thu, 10 Jan 2019 04:15:40 +0000 (13:15 +0900)]
Imported Upstream version 1.57.2

5 years agoImported Upstream version 1.56.1 upstream/1.56.1
DongHun Kwak [Thu, 10 Jan 2019 04:15:30 +0000 (13:15 +0900)]
Imported Upstream version 1.56.1

5 years agoImported Upstream version 1.56.0 upstream/1.56.0
DongHun Kwak [Thu, 10 Jan 2019 04:15:20 +0000 (13:15 +0900)]
Imported Upstream version 1.56.0

5 years agoImported Upstream version 1.55.2 upstream/1.55.2
DongHun Kwak [Thu, 10 Jan 2019 04:15:09 +0000 (13:15 +0900)]
Imported Upstream version 1.55.2

5 years agoImported Upstream version 1.55.1 upstream/1.55.1
DongHun Kwak [Thu, 10 Jan 2019 04:14:59 +0000 (13:14 +0900)]
Imported Upstream version 1.55.1

5 years agoImported Upstream version 1.55.0 upstream/1.55.0
DongHun Kwak [Thu, 10 Jan 2019 04:14:47 +0000 (13:14 +0900)]
Imported Upstream version 1.55.0

5 years agoImported Upstream version 1.54.1 upstream/1.54.1
DongHun Kwak [Thu, 10 Jan 2019 04:14:00 +0000 (13:14 +0900)]
Imported Upstream version 1.54.1

5 years agoImported Upstream version 1.54.0 upstream/1.54.0
DongHun Kwak [Thu, 10 Jan 2019 04:13:07 +0000 (13:13 +0900)]
Imported Upstream version 1.54.0

Change-Id: Ib89129b7ff821a1d7417ecef821415d79e81679f
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
6 years agoImported Upstream version 1.53.1 11/130611/1 upstream/1.53.1
DongHun Kwak [Tue, 23 May 2017 06:14:05 +0000 (15:14 +0900)]
Imported Upstream version 1.53.1

Change-Id: I0479d2b41c1d83276aaea3b30a6eb0796a227f13
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
6 years agoImported Upstream version 1.52.1 10/130610/1 upstream/1.52.1
DongHun Kwak [Tue, 23 May 2017 06:13:46 +0000 (15:13 +0900)]
Imported Upstream version 1.52.1

Change-Id: Id9e0f1a902be9dcf78ae25a60fe87f14b66be73a
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
6 years agoImported Upstream version 1.51.5 09/130609/1
DongHun Kwak [Tue, 23 May 2017 06:13:12 +0000 (15:13 +0900)]
Imported Upstream version 1.51.5

Change-Id: I117a2165a9f686235dcab5b4d089d6d26e39bb4c
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.50.0 96/94096/1 upstream/1.50.0
DongHun Kwak [Thu, 27 Oct 2016 05:35:52 +0000 (14:35 +0900)]
Imported Upstream version 1.50.0

Change-Id: I575d4a4070fc55e27d5a10fdd3549b26621bbb5a
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.49.2 95/94095/1
DongHun Kwak [Thu, 27 Oct 2016 05:35:07 +0000 (14:35 +0900)]
Imported Upstream version 1.49.2

Change-Id: I49351deb79006189e0a2034aecef422b000170e2
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.49.1 94/94094/1
DongHun Kwak [Thu, 27 Oct 2016 05:34:43 +0000 (14:34 +0900)]
Imported Upstream version 1.49.1

Change-Id: I5b03d454056070ccd078e98c7c32b1edf085c990
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.48.0 93/94093/1
DongHun Kwak [Thu, 27 Oct 2016 05:34:20 +0000 (14:34 +0900)]
Imported Upstream version 1.48.0

Change-Id: I25f0e9c82f0c4f325f57e480215c603a8a8dbb25
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.47.92 92/94092/1
DongHun Kwak [Thu, 27 Oct 2016 05:33:46 +0000 (14:33 +0900)]
Imported Upstream version 1.47.92

Change-Id: I8e1cb0c2834050c38e3ae569fe593389ca5c4187
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.47.1 91/94091/1
DongHun Kwak [Thu, 27 Oct 2016 05:33:17 +0000 (14:33 +0900)]
Imported Upstream version 1.47.1

Change-Id: I0fd47d56eae3ef31875b208e30fd0c4bcf975379
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.46.0 90/94090/1
DongHun Kwak [Thu, 27 Oct 2016 05:32:40 +0000 (14:32 +0900)]
Imported Upstream version 1.46.0

Change-Id: Ib5778b1dc3f187d777a663ae256052a229fea5b4
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.45.4 89/94089/1
DongHun Kwak [Thu, 27 Oct 2016 05:32:14 +0000 (14:32 +0900)]
Imported Upstream version 1.45.4

Change-Id: I29a433b12156b6b64928399b57097163ad58ad62
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.45.3 88/94088/1
DongHun Kwak [Thu, 27 Oct 2016 05:31:54 +0000 (14:31 +0900)]
Imported Upstream version 1.45.3

Change-Id: Iea052f21ed5e191612f22a118f05c88004ebba27
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.45.2 87/94087/1
DongHun Kwak [Thu, 27 Oct 2016 05:31:35 +0000 (14:31 +0900)]
Imported Upstream version 1.45.2

Change-Id: Ib8da50abe706b18b78c121f4bb251d634276f31f
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.44.0 86/94086/1 upstream/1.44.0
DongHun Kwak [Thu, 27 Oct 2016 05:31:13 +0000 (14:31 +0900)]
Imported Upstream version 1.44.0

Change-Id: I5e36e8cab09be8505fbd3ce762e62f027a3fb8da
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.43.92 85/94085/1
DongHun Kwak [Thu, 27 Oct 2016 05:30:49 +0000 (14:30 +0900)]
Imported Upstream version 1.43.92

Change-Id: I70f1d32b02574a02b5d1134139f2ac7c9887397e
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.43.3 84/94084/1
DongHun Kwak [Thu, 27 Oct 2016 05:30:23 +0000 (14:30 +0900)]
Imported Upstream version 1.43.3

Change-Id: I70966d23cd45e508cd34b8d63c0739df1245b47f
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.42.0 83/94083/1
DongHun Kwak [Thu, 27 Oct 2016 05:16:02 +0000 (14:16 +0900)]
Imported Upstream version 1.42.0

Change-Id: I9133173486792b3c41a8d55b213ef6d2c340941b
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.41.91 82/94082/1
DongHun Kwak [Thu, 27 Oct 2016 05:15:36 +0000 (14:15 +0900)]
Imported Upstream version 1.41.91

Change-Id: I50bb831bd491216e1a9b680a08f4b77db7e589ef
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.41.4 81/94081/1
DongHun Kwak [Thu, 27 Oct 2016 05:15:11 +0000 (14:15 +0900)]
Imported Upstream version 1.41.4

Change-Id: If9435bc23b0ca0d59695f47f3d5e000038364f05
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.41.3 80/94080/1
DongHun Kwak [Thu, 27 Oct 2016 05:14:51 +0000 (14:14 +0900)]
Imported Upstream version 1.41.3

Change-Id: I919ed45d62bc536b11bd55b94672133ca3465c5e
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.40.0 79/94079/1
DongHun Kwak [Thu, 27 Oct 2016 05:14:03 +0000 (14:14 +0900)]
Imported Upstream version 1.40.0

Change-Id: I6e6c80ad2941eec9e65ae63cd727bc0ce60078c6
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.39.90 78/94078/1
DongHun Kwak [Thu, 27 Oct 2016 05:13:37 +0000 (14:13 +0900)]
Imported Upstream version 1.39.90

Change-Id: If276172fb8835df3be3343a533597177151a797e
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.39.3 77/94077/1
DongHun Kwak [Thu, 27 Oct 2016 05:13:10 +0000 (14:13 +0900)]
Imported Upstream version 1.39.3

Change-Id: Id3e1b75aae29bf312611fbc4d2fd3d9f9759a0cc
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.39.0 76/94076/1
DongHun Kwak [Thu, 27 Oct 2016 05:12:39 +0000 (14:12 +0900)]
Imported Upstream version 1.39.0

Change-Id: I93c86dd9fe01ca6145397de7c811f586219c5cfd
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.38.0 75/94075/1
DongHun Kwak [Thu, 27 Oct 2016 05:12:14 +0000 (14:12 +0900)]
Imported Upstream version 1.38.0

Change-Id: I86b5aa5eef18dbab9c4188d76a153a7381a97bee
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.37.6 74/94074/1
DongHun Kwak [Thu, 27 Oct 2016 04:58:21 +0000 (13:58 +0900)]
Imported Upstream version 1.37.6

Change-Id: Ibab0206bc6dfc2f5b4b9ba2f8223d38f3d1a120e
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.37.4 73/94073/1
DongHun Kwak [Thu, 27 Oct 2016 04:57:57 +0000 (13:57 +0900)]
Imported Upstream version 1.37.4

Change-Id: I7f65ed2c807283a9332d77601c950936ed5314ef
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.37.1 72/94072/1
DongHun Kwak [Thu, 27 Oct 2016 04:57:29 +0000 (13:57 +0900)]
Imported Upstream version 1.37.1

Change-Id: If29f0af3bca8075f775e2a1a0de9615aea15e76a
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.36.0 71/94071/1
DongHun Kwak [Thu, 27 Oct 2016 04:56:31 +0000 (13:56 +0900)]
Imported Upstream version 1.36.0

Change-Id: I801387031b76cec7d0447742099008911887bf31
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.35.9 70/94070/1
DongHun Kwak [Thu, 27 Oct 2016 02:51:21 +0000 (11:51 +0900)]
Imported Upstream version 1.35.9

Change-Id: I85198d6f6add55f6f2cbf5cc3e755164e449287a
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 1.35.8 69/94069/1
DongHun Kwak [Thu, 27 Oct 2016 02:50:23 +0000 (11:50 +0900)]
Imported Upstream version 1.35.8

Change-Id: Ib67eb6a39e8e184a817c9892bac1ad9e8fee01d1
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
11 years agoremove gtk-doc dependency accepted/trunk/20130202.182132 submit/trunk/20130202.182417
Anas Nashif [Sat, 2 Feb 2013 18:24:15 +0000 (10:24 -0800)]
remove gtk-doc dependency

11 years agoUpdate to 1.35.4 accepted/trunk/20130202.181719 submit/trunk/20130202.182003 submit/trunk/20130226.190859
Anas Nashif [Sat, 2 Feb 2013 18:20:01 +0000 (10:20 -0800)]
Update to 1.35.4

11 years agore-add docs
Anas Nashif [Mon, 7 Jan 2013 15:12:56 +0000 (07:12 -0800)]
re-add docs

11 years agoremove dependency on gtk-doc
Anas Nashif [Mon, 7 Jan 2013 15:08:44 +0000 (07:08 -0800)]
remove dependency on gtk-doc

11 years agoUpdate to 1.35.3
Anas Nashif [Thu, 20 Dec 2012 21:49:10 +0000 (13:49 -0800)]
Update to 1.35.3

11 years agoFix: set correct pkg version in spec file.
Corentin Lecouvey [Wed, 12 Dec 2012 15:46:38 +0000 (16:46 +0100)]
Fix: set correct pkg version in spec file.

11 years agoupdate to ${to_tag}
Philippe Coval [Wed, 12 Dec 2012 14:09:34 +0000 (15:09 +0100)]
update to ${to_tag}

11 years agoFix: depends on gtk-doc to build over upstream's git base
Xavier Roche [Wed, 12 Dec 2012 13:28:18 +0000 (14:28 +0100)]
Fix: depends on gtk-doc to build over upstream's git base

11 years agoinital packaging commit
Chris E Ferron [Thu, 8 Nov 2012 23:12:50 +0000 (15:12 -0800)]
inital packaging commit

11 years agoRelease 1.35.4 GOBJECT_INTROSPECTION_1_35_4 upstream/1.35.4
Colin Walters [Tue, 15 Jan 2013 15:22:43 +0000 (10:22 -0500)]
Release 1.35.4

11 years agotests: Fix compiler warnings
Martin Pitt [Tue, 15 Jan 2013 09:05:20 +0000 (10:05 +0100)]
tests: Fix compiler warnings

Fix (void) function declarations that occur with -Wstrict-prototypes, and the
g_param_spec_get_name() which drops the const from its argument.

11 years agogimarshallingtests: Add method taking a GParamSpec argument
Martin Pitt [Mon, 14 Jan 2013 11:34:06 +0000 (12:34 +0100)]
gimarshallingtests: Add method taking a GParamSpec argument

Add gi_marshalling_tests_param_spec_in_bool(), supplementing the already
existing tests for a GParamSpec out argument and return value.

https://bugzilla.gnome.org/show_bug.cgi?id=682355

11 years agoUpdate annotations from glib git
Martin Pitt [Mon, 14 Jan 2013 10:37:27 +0000 (11:37 +0100)]
Update annotations from glib git

11 years agogimarshallingtests: Add boxed GList property
Martin Pitt [Mon, 14 Jan 2013 07:48:03 +0000 (08:48 +0100)]
gimarshallingtests: Add boxed GList property

https://bugzilla.gnome.org/show_bug.cgi?id=684059

11 years agogimarshallingtests: Add string_ to boxed structure
Vadim Rutkovsky [Fri, 11 Jan 2013 11:17:53 +0000 (12:17 +0100)]
gimarshallingtests: Add string_ to boxed structure

Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=678401

11 years agogirepository: gchar is a signed type
Martin Pitt [Fri, 11 Jan 2013 07:42:27 +0000 (08:42 +0100)]
girepository: gchar is a signed type

gchar is signed, not unsigned. Add "guchar" alias as unsigned for completeness
(but usually it appears as guint8).

https://bugzilla.gnome.org/show_bug.cgi?id=691524

11 years agogimarshallingtests: Add vfunc with an array output
Paolo Borelli [Thu, 10 Jan 2013 21:23:36 +0000 (22:23 +0100)]
gimarshallingtests: Add vfunc with an array output

Add vfunc_array_out_param to GIMarshallingTestsObjectClass.

https://bugzilla.gnome.org/show_bug.cgi?id=690851

11 years agogiscanner: emit a warning when we fail to parse a GTK-Doc comment block
Dieter Verfaillie [Wed, 9 Jan 2013 21:45:40 +0000 (22:45 +0100)]
giscanner: emit a warning when we fail to parse a GTK-Doc comment block

Instead of going down with a for the user inexplicable backtrace,
emit a warning asking said user to file a bug including the
comment block in question.

Thanks to Alexandre Rostovtsev <tetromino@gentoo.org> for
proposing something similar in bug #690850

https://bugzilla.gnome.org/show_bug.cgi?id=690850

11 years agotests: add invalid identifier test case
Dieter Verfaillie [Thu, 3 Jan 2013 07:03:48 +0000 (08:03 +0100)]
tests: add invalid identifier test case

This comment block, as found in the wild via
https://bugzilla.gnome.org/show_bug.cgi?id=690850
has a couple of elements to make it an interesting
test case:
- a colon on the first line
- stuff between parens on the first line
but it still isn't a valid identifier. Add it here
anyway to make sure we don't regress.

11 years agogiscanner: Don't fail on empty GTK-Doc comment blocks
Dieter Verfaillie [Thu, 3 Jan 2013 07:01:10 +0000 (08:01 +0100)]
giscanner: Don't fail on empty GTK-Doc comment blocks

A completely empty GTK-Doc comment block (/**\n*/) resulted
in an unfriendly backtrace, complaining about an
"AttributeError: 'NoneType' object has no attribute 'comment'"

This fixes the issue and adds a test case.

https://bugzilla.gnome.org/show_bug.cgi?id=690850

11 years agomallardwriter: Improve type formatting for Python
Jasper St. Pierre [Wed, 9 Jan 2013 15:38:01 +0000 (10:38 -0500)]
mallardwriter: Improve type formatting for Python

Rather than use the glib names like gint/gchar and friends, use the
Python type names. Right now, this is Python 2, but we'll soon be
introducing a special Python 3 formatter.

11 years agodoc: Put documentation templates into their own directories
Jasper St. Pierre [Wed, 9 Jan 2013 08:11:06 +0000 (03:11 -0500)]
doc: Put documentation templates into their own directories

Instead of cluttering up the giscanner directory, put templates
into their own files, with each language having its own templates
in its own directory for comfort.

11 years agodoc: Clean up signature generation a bit more
Jasper St. Pierre [Wed, 9 Jan 2013 07:46:38 +0000 (02:46 -0500)]
doc: Clean up signature generation a bit more

Use join and a genexp instead of manual comma tracking to make
our lives just a little easier.

11 years agodoc: Add self to methods in the Python declarations
Jasper St. Pierre [Wed, 9 Jan 2013 07:43:38 +0000 (02:43 -0500)]
doc: Add self to methods in the Python declarations

11 years agodoc: Make the Python declarations look a tiny bit nicer
Jasper St. Pierre [Wed, 9 Jan 2013 07:42:39 +0000 (02:42 -0500)]
doc: Make the Python declarations look a tiny bit nicer

Add a colon after the def, and add a comment describing what this
is a wrapper for.

11 years agomallardwriter: Use a TemplateLookup for grabbing templates
Jasper St. Pierre [Wed, 9 Jan 2013 08:04:28 +0000 (03:04 -0500)]
mallardwriter: Use a TemplateLookup for grabbing templates

This removes us from the need to do path manipulation, and also
allows templates to include or import helpers from another with
the <%include/> or <%namespace/> helper control tags.

11 years agomallardwriter: Add support for parameters
Jasper St. Pierre [Wed, 9 Jan 2013 07:31:22 +0000 (02:31 -0500)]
mallardwriter: Add support for parameters

Support the inline @my_parameter syntax, and translate it to
<code>my_parameter</code>, as Mallard doesn't have anything
more fancy than that. For Python, where we omit the first parameter
of methods like that automatically, force to "self".

11 years agomallardwriter: Rearrange definitions to match scanner order
Jasper St. Pierre [Wed, 9 Jan 2013 07:20:55 +0000 (02:20 -0500)]
mallardwriter: Rearrange definitions to match scanner order

11 years agomallardwriter: Pass the parent node around for inline formatting
Jasper St. Pierre [Wed, 9 Jan 2013 07:12:13 +0000 (02:12 -0500)]
mallardwriter: Pass the parent node around for inline formatting

This will be used for @param detection.

11 years agomallardwriter: Consolidate xref building and page naming code
Jasper St. Pierre [Wed, 9 Jan 2013 06:56:41 +0000 (01:56 -0500)]
mallardwriter: Consolidate xref building and page naming code

Simple code cleanups.

11 years agomallardwriter: Remove the namespace argument from the processors
Jasper St. Pierre [Wed, 9 Jan 2013 06:51:15 +0000 (01:51 -0500)]
mallardwriter: Remove the namespace argument from the processors

This can be more accurately retrieved off of the node itself in all cases.

11 years agomallardwriter: Put process_other with the rest of the processors
Jasper St. Pierre [Wed, 9 Jan 2013 06:50:09 +0000 (01:50 -0500)]
mallardwriter: Put process_other with the rest of the processors

Simple cleanup

11 years agomallardwriter: Use the node's namespace
Jasper St. Pierre [Wed, 9 Jan 2013 06:49:29 +0000 (01:49 -0500)]
mallardwriter: Use the node's namespace

This should now be correct in all cases.

11 years ago.gitignore: Ignore most .page files
Jasper St. Pierre [Wed, 9 Jan 2013 07:12:28 +0000 (02:12 -0500)]
.gitignore: Ignore most .page files

While testing g-ir-doctool, it's common to generate a directory
full of a large number of small .page files inside the source
directory, which slows down git a lot while searching for untracked
files. Ignore the .page files for now, so git doesn't have to look
in its database for every one.