summaryrefslogtreecommitdiff
path: root/Makefile-giscanner.am
Commit message (Collapse)AuthorAgeFilesLines
* giscanner: Port scanner extension module to work with Python 3Simon Feltman2015-09-291-1/+2
| | | | | | | | | Define portable macros for use between Python 2 and 3. Replace usage of PyString related functions with PyBytes. Update pygi_source_scanner_parse_macros to support both PyBytes and PyUnicode. https://bugzilla.gnome.org/show_bug.cgi?id=679438
* sourcescanner.py: Use Distutils for PreprocessingChun-wei Fan2015-07-301-0/+1
| | | | | | | | | | | | | | | | | | Add a preprocess() function in ccompiler.py so that it will call the preprocess() method of the distutils.ccompiler class, and make use of it from sourcescanner.py. As we would need to set up the options (include paths, macros, undefs) to pass into the preprocessor (and later for the compiler), we have a new private function that translates what we have from the rest of giscanner so that it could be passed to distutils.ccompiler in a way that it understands. Also, as the MSVCCompiler classes in distutils do not provide a preprocess() implementation, we provide our own so that we can use it when preprocessing, via distutils, through subclassing MSVCCompiler. https://bugzilla.gnome.org/show_bug.cgi?id=728313
* giscanner: Add New CCompiler ModuleChun-wei Fan2014-08-051-0/+1
| | | | | | | | | | | | | | | This adds a CCompiler module for the giscanner Python scripts so that items related to the run of the preprocessor, compiler and linker can be done in this module, and this marks the beginning of the move of building the introspection files using Python's distutils. This patch first moves _add_[internal|external]_link_flags() to ccompiler.py as get_[internal|external]_link_flags and also moves the Windows shlibs resolution (deducing the DLLs the introspection files should link to from the libraries passed in) in shlibs.py to resolve_windows_libs() in ccompiler.py https://bugzilla.gnome.org/show_bug.cgi?id=728313
* doctool: improve Gjs documentationGiovanni Campagna2014-02-201-0/+9
| | | | | | | | | | | | | | | - Add documentation for structures, fields, constants and callbacks - Improve the synopsis for interfaces to have prerequisites and known implementations - Respect gjs constraints for field writability - Format in and out parameters for callables according to GJS conventions - Format property names according to the GJS API - Show boxed constructors according to how they can be used in the gjs API https://bugzilla.gnome.org/show_bug.cgi?id=724735
* giscanner: remove g_realpathDieter Verfaillie2013-10-171-2/+1
| | | | | | | | | | | giscannermodule expects file names to be canonicalized and symlinks to be resolved (most likely to support users of symlinked /usr/local). Instead of computing absolute and real paths all over the place, we can do this once on entry in SourceScanner().parse_files() and SourceScanner().parse_macros() and clean the rest a bit... https://bugzilla.gnome.org/show_bug.cgi?id=710320
* giscanner: store indentation before the '*' of each lineDieter Verfaillie2013-10-081-0/+1
|
* giscanner: move odict.OrderedDict into a collections packageDieter Verfaillie2013-05-071-3/+7
| | | | | | because we'll add more related code to collections later on https://bugzilla.gnome.org/show_bug.cgi?id=699536
* build: Really fix make distRico Tzschichholz2013-02-051-1/+1
|
* doctool: Rebrand mallardwriter as docwriterJasper St. Pierre2013-02-011-1/+1
| | | | | We eventually want to stop using Mallard as a documentation language. Rationale incoming when I convert all templates back to DocBook.
* giscanner: Add a new quick hack module for scanning section filesJasper St. Pierre2013-02-011-0/+1
| | | | This will be used to group symbols into documentation sections.
* doctool: Initial import of a Gjs language that we supportJasper St. Pierre2013-02-011-1/+12
| | | | Copy/pasted from Python.
* doctool: Use a base template for all node kinds that make senseJasper St. Pierre2013-02-011-0/+2
|
* doctool: Rename templates to exclude mallard/the languageJasper St. Pierre2013-02-011-23/+23
| | | | | | | | | As templates are in their own directory and segregated into language already, this is sort of repeating the issue. At the same time, always explicitly use relative ("./") or absolute ("/") lookups for templates. We want to eventually have base templates to share between languages, so to do so without namespace clashes makes sense.
* doctool: Use a base template for all pagesJasper St. Pierre2013-02-011-0/+1
|
* doctool: Switch to a computed page_style for all page templatesJasper St. Pierre2013-02-011-0/+4
| | | | | This is a quick cleanup before we inherit from a common template for all pages.
* Fix install location of Mallard templatesMartin Pitt2013-01-171-11/+14
| | | | | | | | http://git.gnome.org/browse/gobject-introspection/commit/?id=8b23c6c changed the lookup path of the g-ir-doc-tool templates at runtime, but did not change the install location of the templates. Install them into the expected place. https://bugzilla.gnome.org/show_bug.cgi?id=691873
* doc: Put documentation templates into their own directoriesJasper St. Pierre2013-01-091-18/+18
| | | | | | 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.
* giscanner: construct list of possible tag names for TAG_RE from _ALL_TAGS...Dieter Verfaillie2012-11-281-1/+0
| | | | | | | | ... instead of having a secondary hard-coded list. This results in the removal of giscanner/annotationpatterns.py to prevent a circular import. https://bugzilla.gnome.org/show_bug.cgi?id=688897
* Compare filenames using g_file_equal()Johan Dahlin2012-04-091-2/+2
| | | | | | Makes it work on case-sensitive file systems such as HFS+. https://bugzilla.gnome.org/show_bug.cgi?id=667405
* Now make AnnotationParser do what gobject-introspection needs it to do.Dieter Verfaillie2012-04-051-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672254
* g-ir-doc-tool: Add missing filesRico Tzschichholz2012-02-221-0/+2
|
* g-ir-doc-tool: Add enum templates to the MakefileTomeu Vizoso2012-02-201-0/+2
|
* g-ir-doc-tool: Install the Mako template filesTomeu Vizoso2012-02-201-0/+14
|
* g-ir-doc-tool: Remove stale DocBook filesTomeu Vizoso2012-02-201-2/+0
|
* Fix linking against libpythonDieter Verfaillie2011-09-171-1/+8
| | | | | | | | | | | | - AM_CHECK_PYTHON_LIBS doesn't work for 64bit sytems (lib64) - Python extension modules do not need to be linked against libpython on linux anyway, but it is needed on Windows So only run AM_CHECK_PYTHON_LIBS in configure.ac for the windows case and make it clear in Makefile-giscanner.am linking against libpython is a windows only thing. https://bugzilla.gnome.org/show_bug.cgi?id=658914
* Windows port: Simplify _giscanner's .pyd file extension handling.Dieter Verfaillie2011-09-071-14/+2
| | | | | | By simply using -shrext ".pyd". https://bugzilla.gnome.org/show_bug.cgi?id=620566
* Windows port: Use an improved python.m4Dieter Verfaillie2011-09-071-5/+3
| | | | | | | | | | | | | | | | | | | | - AM_CHECK_PYTHON_HEADERS macro now allows PYTHON_INCLUDES to be overridden from an environment variable and - the new AM_CHECK_PYTHON_LIBS macro to check for ability to link against libpython. This also allows PYTHON_LIBS and PYTHON_LIB_LOC to be overridden from their respective environment variables. This allows gobject-introspection to be built with MinGW/MSYS by doing: PYTHON_DIR="/c/Python27" SRC_DIR="/d/dev/gnome.org/checkout/gobject-introspection/src" ... PYTHON_INCLUDES="-I${PYTHON_DIR}/include/" \ PYTHON_LIBS="-L${PYTHON_DIR}/libs/ -lpython${PYTHON_VERSION}" \ PYTHON_LIB_LOC="${PYTHON_DIR}/libs/" \ "${SRC_DIR}/configure" \ https://bugzilla.gnome.org/show_bug.cgi?id=620566
* windows: Use the real python version instead of an hardcoded oneAndoni Morales Alastruey2011-09-031-1/+2
|
* Install docbookdescription.pyColin Walters2011-08-301-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657686
* giscanner/mallardwriter: Adding experimental Mallard output to g-ir-doc-toolShaun McCance2011-08-151-0/+1
|
* WIP doctoolJohan Dahlin2011-08-111-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=625494
* Kill off config.pyColin Walters2011-07-271-1/+0
| | | | | Generating Python source code is problematic for srcdir != builddir; steal a the trick of putting global data in __builtins__ from jhbuild.
* build: Fix srcdir != builddir for flex/bisonColin Walters2011-07-271-1/+1
| | | | Build artifacts go in the builddir, so drop the giscanner/ prefix.
* Switch to nonrecursive make for core (i.e. not tests/)Colin Walters2010-11-091-0/+82
This is cleaner and faster, and prepares us better for an incoming import of CMPH.