summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gi-r-scanner: add support for raw CFLAGS flags optionTim Lunn2013-03-064-4/+11
| | | | | | | | gi-r-scanner chokes when gir_CFLAGS have an '-include <header>' since this is not a recognised option. This commit adds a new --cflags option that passes cflags directly to the spawned gcc. https://bugzilla.gnome.org/show_bug.cgi?id=695182
* build: Bump version and GLib requirement in preparation for releaseColin Walters2013-03-051-2/+2
|
* Update annotations from glib gitMartin Pitt2013-03-041-3/+6
|
* tests: Fix memory leak in GIMarshallingTestsPropertiesObjectMartin Pitt2013-03-041-0/+8
| | | | | | Free the some_strv property on finalization. Detected by PyGObject's test_gi.TestPropertiesObject.test_strv test case.
* tests: Fix memory leak in gi_marshalling_tests_ghashtable_utf8_container_outMartin Pitt2013-03-041-1/+1
| | | | | Similarly to the previous commit, we need to provide free functions for (transfer full) returned hash tables.
* tests: Fix memory leak in gi_marshalling_tests_ghashtable_utf8_full_returnMartin Pitt2013-03-041-1/+1
| | | | | For the "transfer full" case we need to supply free functions for the created hash table in gi_marshalling_tests_ghashtable_utf8_full_return().
* tests: Fix memory leak in gi_marshalling_tests_init_function()Martin Pitt2013-03-041-0/+2
| | | | | | In gi_marshalling_tests_init_function(), free the array string element before removing it. This fixes the memory leak in PyGObject's test_gi.TestArray.test_init_function test.
* scanner: Don't re-parse includes we already foundColin Walters2013-02-271-2/+3
| | | | | | | This fixes the Pango build where it has a chain of two --include-uninstalled. https://bugzilla.gnome.org/show_bug.cgi?id=694593
* Reformat code to GNU styleMartin Pitt2013-02-274-1872/+1973
| | | | | This was achieved by running "indent -gnu -i2 -nut -l120" over C files which use a different style, and manually fixing pointer declarations and modelines.
* Add test case for signal with a C array and length argumentMartin Pitt2013-02-276-0/+215
| | | | By-product of https://bugzilla.gnome.org/show_bug.cgi?id=662241.
* tests: Add missing expected filesColin Walters2013-02-2717-0/+774
|
* scanner: internals cleanup: Move pkgconfig list to NamespaceColin Walters2013-02-265-17/+10
| | | | Continuation of previous work.
* scanner: internals cleanup: Move c_includes to NamespaceColin Walters2013-02-264-14/+9
| | | | Continuation of previous work.
* scanner: internals cleanup: Move shared libraries to NamespaceColin Walters2013-02-264-15/+11
| | | | Continuing on with previous commit.
* scanner: internals cleanup: Key more things off NamespaceColin Walters2013-02-2612-40/+22
| | | | | | | | | | | The .gir format has a weird legacy where stuff like the includes are outside of the <namespace>. But conceptually they're tied together, so let's start reflecting this in the code. This way we can just pass around and look at a Namespace object instead of a 4-tuple of (namespace, includes, c_includes, pkg_config). https://bugzilla.gnome.org/show_bug.cgi?id=694593
* doctool: Use builtin namespace walkerColin Walters2013-02-2621-23/+674
| | | | | | Rather than hand-rolling our own. This ensures we traverse all nodes. https://bugzilla.gnome.org/show_bug.cgi?id=694593
* scanner: Also traverse GObject properties when walking namespaceColin Walters2013-02-261-0/+2
| | | | | | | This could be done manually by the caller, but it's better if we're consistent here, since we do traverse fields. https://bugzilla.gnome.org/show_bug.cgi?id=694593
* doctool: Switch default language to CColin Walters2013-02-261-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=694593
* scanner: Synthesize argument names if we don't see oneColin Walters2013-02-264-15/+19
| | | | | | | While this is a bit lame, we need to do something. We preserve the warning message. https://bugzilla.gnome.org/show_bug.cgi?id=694593
* GIRepository: add API for extending library pathsGiovanni Campagna2013-02-244-24/+70
| | | | | | | | | | Previously we would require applications that shipped with private typelibs to add the private path to LD_LIBRARY_PATH, or to have a launcher binary with the right RPATH. Now they can just call GIRepository.prepend_library_path() before they access the module. https://bugzilla.gnome.org/show_bug.cgi?id=694485
* test/gimarshallingtests.c: Fix build on C89 compilersChun-wei Fan2013-02-231-2/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=694426
* dumper.py: Fix for Visual C++ usageChun-wei Fan2013-02-221-1/+6
| | | | | | | -Wno-deprecated-declarations is a compilation flag that causes builds of introspection files to fail on Visual C++ builds, so use -wd4996 instead when we are using Visual C++, which serves the same purpose of -Wno-deprecated-declarations with Visual C++.
* Update def files for various test DLLsChun-wei Fan2013-02-225-100/+149
| | | | | Some functions were added or renamed in the various DLLs, so reflect these changes there.
* Install utility.[hc]Martin Pitt2013-02-201-1/+1
| | | | These are used by foo.[hc] and required to build Regress.gir.
* Ship missing header files for tests/warn/ checkMartin Pitt2013-02-201-1/+1
|
* tests: Be compatible with Automake 1.11, 1.12 and 1.13, and the future, ↵Colin Walters2013-02-193-4/+14
| | | | | | | | hopefully Automake only sees it as one test now, but eh, who cares. https://bugzilla.gnome.org/show_bug.cgi?id=694198
* tests: Be compatible with both Automake 1.12 and 1.13Colin Walters2013-02-192-3/+2
| | | | | | | Revert to using the serial test driver, as that's the easiest path for now, unless we generated a binary to run each warn test. https://bugzilla.gnome.org/693539
* Release 1.35.8GOBJECT_INTROSPECTION_1_35_8Colin Walters2013-02-191-1/+1
|
* tests: Add RegressTestReferenceEnum to the doc testsJasper St. Pierre2013-02-183-0/+127
| | | | I really messed this one up :(
* sourcescanner: Copy over the unsignedness as wellJasper St. Pierre2013-02-181-0/+1
|
* sourcescanner: Make sure to mark constants as setJasper St. Pierre2013-02-182-3/+22
| | | | This fixes complex constants.
* sourcescanner: Fix issues with double constants in the copyJasper St. Pierre2013-02-181-1/+1
|
* sourcescanner: Fix symbolic references in enum membersJasper St. Pierre2013-02-165-18/+48
| | | | | | | We need to copy the source symbols, otherwise we'll overwrite their values. This isn't good. https://bugzilla.gnome.org/show_bug.cgi?id=693939
* sourcescanner: Remove unused "id" fieldJasper St. Pierre2013-02-161-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693939
* docwriter: Use the fully-qualified name for functions and methodsJasper St. Pierre2013-02-15368-370/+370
|
* doctool: Use format_xref to format some links to pagesJasper St. Pierre2013-02-151258-1436/+1428
| | | | | | We don't do a full 100% conversion for all link tags, yet, because I don't want to break too much here. This may come later.
* docwriter: Add support for adding additional attrs to the xref writerJasper St. Pierre2013-02-151-3/+4
|
* docwriter: Clean up make_page_idJasper St. Pierre2013-02-151-21/+8
| | | | Make it use a simple recursive technique similar to format_page_name.
* ast: Fix indentationJasper St. Pierre2013-02-151-1/+1
|
* ast: Fall back to the namespace for the parent of a NodeJasper St. Pierre2013-02-151-0/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693876
* ast: Rename Class.parent to parent_typeJasper St. Pierre2013-02-155-15/+15
| | | | | | | | | The eventual model I want to have is that .parent is the "container" of the node. In all the cases where we don't explicitly set the parent, this is the namespace, but having this under one field name would be a big cleanup for the docwriter. https://bugzilla.gnome.org/show_bug.cgi?id=693876
* girparser: Clean up codeJasper St. Pierre2013-02-151-4/+4
| | | | | | This makes it only use kwargs https://bugzilla.gnome.org/show_bug.cgi?id=693876
* girepository: Document g_enum_info_get_error_domainTorsten Schönfeld2013-02-151-0/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693838
* doctool: Make sure to add "new"Jasper St. Pierre2013-02-1516-16/+16
|
* doctool: Don't put curly braces around the construct props if there are noneJasper St. Pierre2013-02-1512-24/+17
|
* doctool: Don't link to the namespace from the namespace pageJasper St. Pierre2013-02-154-6/+5
|
* doctool: Rename page_style to page_kindJasper St. Pierre2013-02-155-10/+10
|
* tests: Clean up doc generation testsJasper St. Pierre2013-02-151-3/+0
| | | | We no longer have to mkdir -p
* docmain: Create the output dir for us if it doesn't existJasper St. Pierre2013-02-152-2/+6
|
* docwriter: Don't render constants for nowJasper St. Pierre2013-02-1555-1354/+4
| | | | | | Clutter has thousands of keysym constants, and until we get them all on one page, this is just tons of tiny files that are just noise.