Namespace

Foundry – 1

A GNOME library providing IDE capabilities

Version1.0.alpha
AuthorsChristian Hergert
LicenseLGPL-2.1-or-later
Websitehttps://gitlab.gnome.org/chergert/foundry/
Sourcehttps://gitlab.gnome.org/chergert/foundry/

Build

C headersfoundry.h
pkg-config filesfoundry-1

Dependencies

GLib—2.0 The base type system library
Browse documentation
GObject—2.0 The base type system library
Browse documentation

Additional documentation

Classes

BuildAddin

BuildFlags

BuildManager

BuildPipeline

BuildProgress

BuildStage

CliCommandTree

CodeAction

CodeActionProvider

Command

CommandLine

CommandManager

CommandProvider

CommandStage

CompileCommands

Config

ConfigManager

ConfigProvider

Context

Contextual

DBusService

Debugger

DebugManager

Dependency

DependencyManager

DependencyProvider

DeployStrategy

Device

DeviceInfo

DeviceManager

DeviceProvider

Diagnostic

DiagnosticManager

DiagnosticProvider

DiagnosticRange

DiagnosticTool

DirectoryItem

DirectoryListing

DirectoryReaper

Documentation

DocumentationManager

DocumentationProvider

DocumentationQuery

DocumentationRoot

Extension

ExtensionSet

FileManager

FileMonitor

FileMonitorEvent

FlatpakArchOptions

FlatpakExtension

FlatpakExtensions

FlatpakList

FlatpakManifest

FlatpakManifestLoader

FlatpakModule

FlatpakModules

FlatpakOptions

FlatpakSerializable

FlatpakSource

FlatpakSourceArchive

FlatpakSourceBzr

FlatpakSourceDir

FlatpakSourceExtraData

FlatpakSourceFile

FlatpakSourceGit

FlatpakSourceInline

FlatpakSourcePatch

FlatpakSources

FlatpakSourceScript

FlatpakSourceShell

FlatpakSourceSvn

FutureListModel

Inhibitor

LanguageGuesser

LinkedPipelineStage

LocalDevice

LogManager

LogMessage

LspClient

LspManager

LspProvider

LspServer

NoVcs

Operation

OperationManager

PathCache

PluginBuildAddin

The FoundryPluginBuildAddin class is a convenience object that may be used by plug-ins implementing a build system.

PluginLspProvider

ProcessLauncher

RunManager

RunTool

Sdk

SdkManager

SdkProvider

SearchManager

SearchProvider

Service

Settings

SimpleTextBuffer

Symbol

SymbolProvider

TextBufferProvider

TextDocument

TextDocumentAddin

TextEdit

TextManager

UnixFDMap

Vcs

VcsManager

VcsProvider

Interfaces

Structs

CliCommand

CliOptions

CliTool

DiagnosticBuilder

Markup

ObjectSerializerEntry

Used to determine what properties to serialize in command line data.

Pipeline

TextIter

TextIterVTable

Triplet

Enumerations

CommandLineError

FOUNDRY_COMMAND_LINE_ERROR_RUN_LOCAL: indicate that the command should be run on the client side rather than in the parent process.

CommandLocality

FOUNDRY_COMMAND_LOCALITY_SUBPROCESS: run as a subprocess of builder FOUNDRY_COMMAND_LOCALITY_HOST: run on the host system, possibly bypassing container FOUNDRY_COMMAND_LOCALITY_BUILD_PIPELINE: run from build pipeline FOUNDRY_COMMAND_LOCALITY_APPLICATION: run like a target application.

ContextError

ContextualError

DeviceChassis

DiagnosticSeverity

DiagnosticToolError

Locality

MarkupKind

ObjectSerializerFormat

ProcessLauncherShell

Describes the type of shell to be used within the context.

SdkConfigOption

ServiceError

SettingsLayer

Error Domains

Functions

build_error_quark

dup_projects_directory

file_canonicalize

file_find_in_ancestors

Locates name within any of the ancestors of file up to the root of the filesystem.

file_find_regex_with_depth

Locates files starting from file matching regex.

file_find_with_depth

Locates files starting from file matching pattern.

file_is_in

file_list_children_typed

file_query_exists_nofollow

Resolves to true if file exists.

file_test

Similar to g_file_test() but performed on the thread pool and yields a future.

get_default_arch

get_os_info

init

Initializes libfoundry which is completed once the resulting DexFuture completes.

json_node_get_string_at

json_parser_load_from_file

Loads file into parser and returns a future that resolves when that has completed.

json_parser_load_from_stream

Like json_parser_load_from_stream() but asynchronous and returns a DexFuture which can be awaited upon.

key_file_new_from_file

Similar to calling g_key_file_new() followed by a load function. This handles both construction and loading as well as doing parsing off of the main thread.

key_file_new_merged

mkdir_with_parents

Similar to g_mkdir_with_parents() but runs on a thread pool thread.

path_collapse

This function will collapse a path that starts with the users home directory into a shorthand notation using ~/ for the home directory.

path_expand

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.

search_path_append

search_path_prepend

shell_get_default

Gets the user preferred shell on the host.

shell_get_default_path

Gets the default $PATH on the system for the user on the host.

shell_supports_dash_c

shell_supports_dash_login

Checks if the shell is known to support login semantics. Originally, this meant --login, but now is meant to mean -l as more shells support -l than --login (notably dash).

subprocess_communicate

Like g_subprocess_communicate() but only supports stdout and is returned as a future to GBytes.

subprocess_communicate_utf8

Like g_subprocess_communicate_utf8() but only supports stdout and is returned as a future to a string.

subprocess_wait_check

If cancellable is cancelled, then subprocess will be force exited.