#IdeBuildSystem
A #GFile containing the directory or project file.
A hint for the build system to use
A #GCancellable
A callback to execute upon completion
Complete an asynchronous call to ide_build_system_new_async().
This function checks to see if the application is running within a flatpak. This might be useful for cases where you need to perform a different command when you are in the bundled flatpak version.
Increases the amount of logging that will occur. By default, only warning and above will be displayed.
Calling this once will cause G_LOG_LEVEL_MESSAGE to be displayed. Calling this twice will cause G_LOG_LEVEL_INFO to be displayed. Calling this thrice will cause G_LOG_LEVEL_DEBUG to be displayed. Calling this four times will cause IDE_LOG_LEVEL_TRACE to be displayed.
Note that many DEBUG and TRACE level log messages are only compiled into debug builds, and therefore will not be available in release builds.
This method is meant to be called for every -v provided on the command line.
Calling this method more than four times is acceptable.
Initializes the logging subsystem.
Indicates logging should be written to stdout.
An optional file in which to store logs.
Cleans up after the logging subsystem.
This function will collapse a path that starts with the users home directory into a shorthand notation using ~/ for the home directory.
If the path does not have the home directory as a prefix, it will
simply return a copy of path
.
This function will expand various "shell-like" features of the provided path using the POSIX wordexp(3) function. Command substitution will not be enabled, but path features such as ~user will be expanded.
Runs the callback on the thread pool thread.
the threadpool kind to use.
A function to call in the worker thread.
This pushes a task to be executed on a worker thread based on the task kind as denoted by
kind
. Some tasks will be placed on special work queues or throttled based on priority.
The task kind.
A #GTask to execute.
The thread worker to execute for task
.
Utility function for parsing "network" URIs. This extracts just the
scheme, host, and port from uri_string
. All three out parameters
are mandatory.
a string containing a network URI
flags for parsing uri_string
Many URI schemes include one or more attribute/value pairs as part of the URI value. This method can be used to parse them into a hash table.
The params
string is assumed to still be %-encoded, but
the returned values will be fully decoded. (Thus it is possible
that the returned values may contain '=' or separator,
if the
value was encoded in the input.) Invalid %-encoding is
treated as with the non-%IDE_URI_PARSE_STRICT rules for ide_uri_new().
(However, if params
is the path or query string from a #IdeUri that
was parsed with %IDE_URI_PARSE_STRICT, then you already know that it
does not contain any invalid encoding.)
a string containing "attribute=value" parameters
the length of params,
or -1 if it is NUL-terminated
the separator character between parameters. (usually ';', but sometimes '&')
whether to match parameter names case-insensitively
Parses uri_string
more-or-less according to the generic grammar of
RFC 3986 ("more" if strict
is %TRUE, "less" if %FALSE), and
outputs the pieces into the provided variables. This is a low-level
method that does not do any pre- or post-processing of uri_string,
and is "garbage in, garbage out"; it just splits uri_string
into
pieces at the appropriate punctuation characters (consuming
delimiters as appropriate), and returns the pieces. Components that
are not present in uri_string
will be set to %NULL (but note that
the path is always present, though it may be an empty string).
a string containing a relative or absolute URI
whether to parse uri_string
strictly
Completes a call to ide_vcs_new_async().
Calls handler
when the #IdeContext has been set for widget
.
A #GtkWidget
A callback to handle the context
Asynchronously creates a new #IdeBuildSystem instance using the registered #GIOExtensionPoint system. Each extension point will be tried asynchronously by priority until one has been found that supports
project_file
.If no build system could be found, then ide_build_system_new_finish() will return %NULL.