package_name string | version string | license string | homepage string | dev_repo string | file_type string | file_path string | file_content string |
|---|---|---|---|---|---|---|---|
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | opam | 0install-2.18/0install-gtk.opam | version: "2.18"
opam-version: "2.0"
synopsis: "Decentralised installation system - GTK UI"
maintainer: "talex5@gmail.com"
authors: "zero-install-devel@lists.sourceforge.net"
homepage: "https://0install.net/"
bug-reports: "https://github.com/0install/0install/issues"
dev-repo: "git+https://github.com/0install/0install.g... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | opam | 0install-2.18/0install-solver.opam | version: "2.18"
opam-version: "2.0"
synopsis: "Package dependency solver"
maintainer: "talex5@gmail.com"
authors: "zero-install-devel@lists.sourceforge.net"
homepage: "https://docs.0install.net/developers/solver/"
bug-reports: "https://github.com/0install/0install/issues"
dev-repo: "git+https://github.com/0install/0ins... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | opam | 0install-2.18/0install.opam | version: "2.18"
opam-version: "2.0"
synopsis: "Decentralised installation system"
maintainer: "talex5@gmail.com"
authors: "zero-install-devel@lists.sourceforge.net"
homepage: "https://0install.net/"
bug-reports: "https://github.com/0install/0install/issues"
dev-repo: "git+https://github.com/0install/0install.git"
doc: ... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | dune | 0install-2.18/dune | (install
(package 0install)
(section doc)
(files COPYING))
|
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/add.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install add" command *)
open Options
open Support
open Support.Common
module Apps = Zeroinstall.Apps
module U = Support.Utils
module R = Zeroinstall.Requirements
module F = Zeroinstall.Feed
(** Warn... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/add_feed.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install add-feed" command *)
open Options
open Zeroinstall
open Zeroinstall.General
open Support
open Support.Common
module F = Zeroinstall.Feed
module G = Generic_select
module FC = Zeroinstall.Feed... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/alias.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
open Support
open Options
let handle options flags args =
match args with
| [name] -> Safe_exn.failf "ERROR: '0alias' has been removed; use '0install update' instead:\n0install update alias:%s" name
| [na... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/cli.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Parsing command-line arguments *)
open Options
open Zeroinstall.General
open Support
open Support.Common
open Support.Argparse
let starts_with = XString.starts_with
let i_ x = x
class ['a, 'b] ambiguous_... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/cli/cli.mli | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Parsing command-line arguments *)
val common_options :
([> `DryRun
| `Help
| `UseGUI of [`Yes | `No | `Auto]
| `Verbose
| `WithStore of Support.Common.filepath ],
Options.zi_arg_type)
... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/command_tree.ml | (* Copyright (C) 2014, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
open Zeroinstall.General
open Support
open Support.Common
open Support.Argparse
type 'a handler = Options.global_settings -> ([< Options.zi_option ] as 'a) parsed_options -> string list -> unit
type command =
... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/cli/command_tree.mli | (* Copyright (C) 2014, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Directory of command handlers (e.g. ["store"; "add"] -> Store.handle_add) *)
open Options
open Support
open Support.Argparse
type command
and commands = (string * node) list
and node =
| Command of comma... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/common_options.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Handling --verbose, etc *)
open Zeroinstall.General
open Support
open Support.Common
open Options
exception Retry_with_dryrun
(** --dry-run flag found and not in dry-run mode (triggers a restart in dry-run... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/completion.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Tab-completion for command-line arguments *)
open Zeroinstall.General
open Support
open Support.Argparse
open Options
module Apps = Zeroinstall.Apps
module Impl = Zeroinstall.Impl
module Feed = Zeroinstall.... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/cli/completion.mli | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
val handle_complete : stdout:Format.formatter -> Zeroinstall.General.config -> string list -> unit
|
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/conf.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install config" command *)
open Options
open Zeroinstall.General
open Support
open Support.Common
module U = Support.Utils
module C = Zeroinstall.Config
let minutes = 60.
type key =
| Network_use... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/desktop.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
open Zeroinstall.General
open Options
let handle options flags args =
let tools = options.tools in
Support.Argparse.iter_options flags (function
| #common_option as o -> Common_options.process_common_op... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/destroy.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install destroy" command *)
open Options
open Support
let handle options flags args =
Support.Argparse.iter_options flags (function
| #common_option as o -> Common_options.process_common_option... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/download.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install download" command *)
open Options
let handle options flags args =
let select_opts = ref [] in
Support.Argparse.iter_options flags (function
| #common_option as o -> Common_options.pro... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | dune | 0install-2.18/src/cli/dune | (library
(name zeroinstall_cli)
(modules_without_implementation options)
(wrapped false)
(libraries zeroinstall support yojson xmlm lwt lwt.unix))
|
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/generic_select.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Selecting and downloading: common code for select/download/update/run *)
open Zeroinstall.General
open Support
open Support.Common
open Options
open Zeroinstall
module Qdom = Support.Qdom
module Launcher = ... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/import.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install import" command *)
open Options
open Zeroinstall.General
open Support
open Support.Common
module Q = Support.Qdom
module FeedAttr = Zeroinstall.Constants.FeedAttr
module U = Support.Utils
le... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/list_feeds.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install list-feeds" command *)
open Options
open Zeroinstall.General
module F = Zeroinstall.Feed
module FC = Zeroinstall.Feed_cache
let handle options flags args =
Support.Argparse.iter_options fl... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/list_ifaces.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install list" command *)
open Options
open Support
let handle options flags args =
Support.Argparse.iter_options flags (function
| #common_option as o -> Common_options.process_common_option op... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/main.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The main executable *)
open Zeroinstall.General
open Support
open Support.Common
module U = Support.Utils
(* There's no reason to use SIGPIPE in a language with exceptions. This
means that the function ... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/cli/main.mli | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
open Support.Common
(* This is the entry-point for the unit-tests; it avoids the exception handling. *)
val main : stdout:Format.formatter -> system -> unit
val start : system -> unit
val start_if_not_windows ... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/man.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install man" command *)
open Options
open Support
open Support.Common
open Zeroinstall.General
module U = Support.Utils
(** Exec the man command. Never returns. *)
let exec_man config ?env args =
l... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/manage_cache.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install store manage" command *)
open Options
let handle options flags args =
Support.Argparse.iter_options flags (function
| #common_option as o -> Common_options.process_common_option options... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/optimise.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install store optimise" command *)
open Options
open Zeroinstall.General
open Support
open Support.Common
module U = Support.Utils
module Manifest = Zeroinstall.Manifest
let are_already_linked (syst... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/cli/options.mli | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
open Zeroinstall.General
type version = string
type common_option = [
(* common options *)
| `UseGUI of [`Yes | `No | `Auto]
| `Verbose
| `Help
| `DryRun
| `WithStore of string
| `ShowVersion
|... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/remove_feed.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install remove-feed" command *)
open Options
open Zeroinstall.General
open Support
module G = Generic_select
module FC = Zeroinstall.Feed_cache
let handle options flags args =
let config = options... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/req_options.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** A structure representing constraints/requirements specified by the user *)
open Options
open Support
open Support.Common
open Zeroinstall.Requirements
(** Updates requirements based on command-line options... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/run.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install run" command *)
open Support
open Support.Common
open Options
open Zeroinstall.General
module U = Support.Utils
type run_options = {
mutable wrapper : string option;
mutable main : strin... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/runenv_shared.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(* The main runenv code, used on all systems (POSIX and Windows) *)
open Support
open Support.Common
(** This is called in a new process by the launcher created by [Zeroinstall.Exec.ensure_runenv]. *)
let rune... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/search.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install search" command *)
open Options
open Zeroinstall.General
open Support
open Support.Common
module Q = Support.Qdom
module U = Support.Utils
module Msg = Support.Qdom.Empty
let handle options ... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/secureadd.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0store-secure-add" command *)
open Zeroinstall.General
open Support
module Manifest = Zeroinstall.Manifest
module U = Support.Utils
let handle config args =
(* Make all system files world-readable,... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/select.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install select" command *)
open Options
let handle options flags args =
let select_opts = ref [] in
Support.Argparse.iter_options flags (function
| #common_option as o -> Common_options.proce... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/show.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install show" command *)
open Zeroinstall.General
open Support
open Options
module Qdom = Support.Qdom
module Selections = Zeroinstall.Selections
module Apps = Zeroinstall.Apps
let show_human config ... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/slave.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install slave" command *)
open Options
open Zeroinstall.General
open Support
open Support.Common
open Zeroinstall
module J = Yojson.Basic
module JC = Zeroinstall.Json_connection
module Ui = Zeroinsta... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/store.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install store add" command *)
open Options
open Zeroinstall.General
open Support
open Support.Common
module U = Support.Utils
module A = Zeroinstall.Archive
module Stores = Zeroinstall.Stores
module ... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/update.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install update" command *)
open Zeroinstall
open Zeroinstall.General
open Options
open Support
open Support.Common
module Selections = Zeroinstall.Selections
module Apps = Zeroinstall.Apps
module Imp... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/cli/whatchanged.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The "0install whatchanged" command *)
open Options
open Zeroinstall.General
open Support
open Support.Common
module U = Support.Utils
module Selections = Zeroinstall.Selections
let show_changes f old_selec... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | dune | 0install-2.18/src/dune | (executable
(public_name 0install)
(name static_0install)
(modules static_0install)
(ocamlopt_flags -linkall) ; Needed for the GUI plugin
(ocamlc_flags -linkall -custom)
(link_flags (:include support/extra_objects.sexp))
(package 0install)
(libraries zeroinstall_cli zeroinstall support))
(e... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/add_box.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The dialog for adding a new app (used by "0desktop") *)
open Support
open Support.Common
open Gtk_common
open Zeroinstall.General
module F = Zeroinstall.Feed
module U = Support.Utils
module FC = Zeroinstal... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/alert_box.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** A simple error report box *)
open Gtk_common
let report_info ?parent ~title message =
let box = GWindow.message_dialog
?parent
~message_type:`INFO
~title
~message
~buttons:GWindow.But... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/app_list_box.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The app browser dialog *)
open Zeroinstall.General
open Zeroinstall
open Support
open Support.Common
open Gtk_common
module F = Zeroinstall.Feed
module U = Support.Utils
module FC = Zeroinstall.Feed_cache
... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/bug_report_box.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Displays a form to the user to collect extra information for the bug report. *)
open Support.Common
open Gtk_common
module U = Support.Utils
let spf = Printf.sprintf
let frame ~packing ~title =
let fra... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/cache_explorer_box.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** GTK cache explorer dialog (for "0install store manage") *)
open Zeroinstall.General
open Support
open Support.Common
open Gtk_common
module Impl = Zeroinstall.Impl
module F = Zeroinstall.Feed
module U = Su... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/component_box.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The per-component dialog (the one with the Feeds and Versions tabs). *)
open Support
open Support.Common
open Gtk_common
open Zeroinstall.General
open Zeroinstall
module FeedAttr = Zeroinstall.Constants.Fe... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/component_tree.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The tree of components in the main window. *)
open Support
open Support.Common
open Gtk_common
open Zeroinstall.General
open Zeroinstall
module FeedAttr = Zeroinstall.Constants.FeedAttr
module Feed_url = Z... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | dune | 0install-2.18/src/gui_gtk/dune | (executable
(name gui_gtk)
(modes plugin)
(libraries lablgtk3 lwt_glib zeroinstall support lwt lwt.unix lwt_react)
(embed_in_plugin_libraries lablgtk3 lwt_glib))
(install
(section lib)
(package 0install-gtk)
(files gui_gtk%{ext_plugin}))
|
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/gtk_common.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** To be opened by all GTK modules. *)
(** Connect a signal handler, ignoring the resulting signal ID.
* This avoids having to use [|> ignore] everywhere. *)
let (==>) (signal:(callback:_ -> GtkSignal.id)) ca... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/gtk_utils.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Some helper functions for GTK. *)
open Support
open Support.Common
open Gtk_common
module U = Support.Utils
(** Create a widget containing a stock icon and a label. Useful in buttons. *)
let stock_label ~... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/gui_gtk.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** A GTK GUI plugin *)
open Support.Common
open Zeroinstall.General
let make_gtk_ui config =
let trust_db = new Zeroinstall.Trust.trust_db config in
let batch_ui = lazy (new Zeroinstall.Console.batch_ui)... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/gui_gtk/gui_gtk.mli | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** A GTK GUI plugin.
There is no public interface - the plugin registers itself with [Zeroinstall.Gui.register_plugin] when it is loaded. *)
|
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/gui_progress.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Keeps track of download progress. *)
open Support
open Support.Common
open Gtk_common
module Downloader = Zeroinstall.Downloader
type t = {
solver_box : Solver_box.solver_box Lwt.t;
mutable n_complete... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/help_box.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Displays a few paragraphs of help text in a dialog box. *)
open Support.Common
open Gtk_common
let create title sections =
object
val mutable dialog = None
method display =
dialog |> if_so... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/icon_cache.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Downloads icons and caches to disk and in memory. *)
open Support
open Support.Common
open Zeroinstall.General
module Feed_url = Zeroinstall.Feed_url
let icon_size = 20
let create config ~fetcher =
obj... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/limiter.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Queuing of GUI updates. *)
(** When [run fn] is called, run it asynchronously. If called again while it's still running, queue the next run.
* If called while something is queued, drop the queued item and ... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/preferences_box.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
open Support
open Support.Common
open Gtk_common
open Zeroinstall.General
module G = Support.Gpg
let get_keys_by_domain gpg trust_db =
let domains_of_key = trust_db#get_db in
let fingerprints = domains_of_k... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/gui_gtk/preferences_box.mli | (* Copyright (C) 2016, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The global preferences dialog. *)
open Zeroinstall
val make :
General.config ->
Trust.trust_db ->
recalculate:(unit -> unit) ->
GWindow.window_skel * unit Lwt.t
|
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/solver_box.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The main GUI window showing the progress of a solve. *)
open Support
open Support.Common
open Gtk_common
module Feed_url = Zeroinstall.Feed_url
module Driver = Zeroinstall.Driver
module Requirements = Zero... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/tray_icon.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The system tray notification icon (used for background updates) *)
open Support.Common
open Gtk_common
class tray_icon systray =
let clicked, set_clicked = Lwt.wait () in
object (self)
val mutable ... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/trust_box.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
open Support
open Support.Common
open Gtk_common
module Progress = Zeroinstall.Progress
module Trust = Zeroinstall.Trust
module G = Support.Gpg
module U = Support.Utils
let left text =
GMisc.label ~text ~sel... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/gui_gtk/trust_box.mli | (* Copyright (C) 2016, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** A dialog box for confirming whether to trust a feed's GPG key(s). *)
open Support
open Zeroinstall
val confirm_keys :
Gpg.t ->
Trust.trust_db ->
?parent:#GWindow.window_skel ->
Feed_url.remote_feed... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/gui_gtk/unsorted_list.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
type t = GTree.list_store
type iter = Gtk.tree_iter
let list_store cols = GTree.list_store cols
let clear (model:t) = model#clear ()
let model_sort model = GTree.model_sort model
let get_iter_first (model:t) = ... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/gui_gtk/unsorted_list.mli | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** A GTK list store with its own types *)
(* When displaying items in a TreeView/IconView, we often have two models: an
* underlying model and a sorted view of it, which is what the widget displays.
* It's v... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/runenv.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(* The stand-alone 0install-runenv.exe (only used on Windows) *)
module RealSystem = Support.System.RealSystem(Unix)
let () =
let system = new RealSystem.real_system in
Support.Utils.handle_exceptions (Run... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/solver/diagnostics.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Explaining why a solve failed or gave an unexpected answer. *)
module List = Solver_core.List
let pf = Format.fprintf
module Make (Results : S.SOLVER_RESULT) = struct
module Model = Results.Input
modu... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | dune | 0install-2.18/src/solver/dune | (library
(name zeroinstall_solver)
(public_name 0install-solver))
|
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/solver/s.ml | (* Copyright (C) 2013, Thomas Leonard
See the README file for details, or visit http://0install.net. *)
(** Some useful abstract module types. *)
module type CORE_MODEL = sig
(** To use the solver with a particular packaging system (e.g. 0install), you need
to provide an implementation of this module to ma... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/solver/sat.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** A general purpose SAT solver. *)
(** The design of this solver is very heavily based on the one described in
the MiniSat paper "An Extensible SAT-solver [extended version 1.2]"
http://minisat.se/Paper... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/solver/sat.mli | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** A general purpose SAT solver. *)
module type USER =
sig
type t
val pp : Format.formatter -> t -> unit
end
module Make (User : USER) : sig
(** A SAT problem consists of a set of variables and ... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/solver/solver_core.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Select a compatible set of components to run a program. *)
module List = struct
include List
let rec find_map f = function
| [] -> None
| (x::xs) -> match f x with
| Some _ as result -> r... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | dune | 0install-2.18/src/solver/tests/dune | (test
(name test)
(package 0install-solver)
(libraries ounit2 0install-solver))
|
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/solver/tests/test.ml | (* Copyright (C) 2020, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
open OUnit2
let assert_string_equal a b = assert_equal ~printer:(fun x -> x) a b
module StringData =
struct
type t = string
let pp = Format.pp_print_string
end
module Sat = Zeroinstall_solver.Sat.... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/solver/tests/test.mli | |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/solver/zeroinstall_solver.ml | module Make = Solver_core.Make
module Diagnostics = Diagnostics.Make
module Sat = Sat
module S = S
|
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/solver/zeroinstall_solver.mli | (* Copyright (C) 2020, Thomas Leonard
See the README file for details, or visit http://0install.net. *)
module S = S
(** Select a compatible set of components to run a program.
See [Zeroinstall.Solver] for the instantiation of this functor on the
actual 0install types. *)
module Make(Input : S.SOLVER_INPUT... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/static_0install.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** The main executable for static (native or bytecode) builds.
Portable bytecode uses 0install.ml instead. *)
(* Use the Unix module we're compiled with, rather than loading it dynamically. *)
module RealS... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/support/argparse.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Parsing command-line arguments *)
open Common
exception Usage_error of int (* exit code: e.g. 0 for success, 1 for error *)
type raw_option = (string * string list)
let starts_with = XString.starts_wi... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/support/argparse.mli | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Parsing command-line arguments *)
exception Usage_error of int (* exit code: e.g. 0 for success, 1 for error *)
(** The option name and its arguments. e.g. ("--wrapper"; ["echo"]) *)
type raw_option = (... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/support/base64.ml | (* Copyright (C) 2017, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
exception Invalid_char
let decode s i =
match s.[i] with
| 'A'..'Z' as c -> Char.code c - 65
| 'a'..'z' as c -> Char.code c - 97 + 26
| '0'..'9' as c -> Char.code c - 48 + 52
| '+' -> 62
| '/' -> 63... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/support/base64.mli | (* Copyright (C) 2017, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Base64 decoder. This is only used for GPG signatures - performance is not important. *)
exception Invalid_char
val str_decode : string -> string
|
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/support/basedir.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
open Common
type basedirs = {
data: filepath list;
cache: filepath list;
config: filepath list;
}
let get_path (system:#filesystem) home_var dirs_var = function
| [] -> failwith "No defaults!"
| (def... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/support/basedir.mli | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** XDG Base Directory support, for locating caches, configuration, etc *)
open Common
type basedirs = {
data: filepath list;
cache: filepath list;
config: filepath list;
}
(** Get configuration using [... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/support/common.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Common types and functions. This module is intended to be opened. *)
type filepath = string
(** Raise this to exit the program. Allows finally blocks to run. *)
exception System_exit of int
module Platfor... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | dune | 0install-2.18/src/support/dune | (rule
(targets extra_objects.sexp)
(enabled_if (<> %{os_type} "Win32"))
(action (write-file %{targets} "()")))
(rule
(targets extra_objects.sexp)
(enabled_if (= %{os_type} "Win32"))
(action (chdir %{workspace_root}
(write-file %{targets} "(\"%{dep:../windows/0install.exe.o}\")"))))
(library
(name ... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/support/env.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
type t = string XString.Map.t
type name = string
let empty = XString.Map.empty
let parse_binding line =
match Str.bounded_split_delim XString.re_equals line 2 with
| [key; value] -> (key, value)
| _ -> ... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/support/env.mli | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Environment variables (generic support code) *)
type t
type name = string
val empty : t
val put : name -> string -> t -> t
val get : name -> t -> string option
val get_exn : name -> t -> string
val unset ... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/support/gpg.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
open Common
type t = system
module U = Utils
let spf = Printf.sprintf
let gpg_lock = Lwt_mutex.create ()
(* gnupg does not work reliably when multiple processes are using the keyring at once (at least on OS ... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/support/gpg.mli | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Use GnuPG to check the digital signatures on feeds. *)
type t
type fingerprint = string
type timestamp = float
type sig_error =
| UnsupportedAlgorithm of string
| UnknownKey of string
| UnknownSigEr... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/support/hash.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Secure hashes. *)
class type digest_context =
object
method update : string -> unit
(** Return the final digest as an ASCII string. The context cannot be used after this. *)
method to_hex : s... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/support/hash.mli | (* Copyright (C) 2014, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Secure hashes. *)
type digest_context
(** Create a new context from an algorithm name.
* Supported names are "sha1" and "sha256". *)
val create : string -> digest_context
(** Add bytes to a context. *)
v... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/support/locale.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
open Common
(* Language, country, encoding, variant, e.g. "en_GB.utf-8@foo" *)
let re_locale = Str.regexp "^\\([a-z]+\\)\\([-_][a-z]+\\)?\\([.:].*\\)?\\(@.*\\)?$"
type lang_spec = (string * string option) (... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/support/locale.mli | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Support for internationalisation. *)
(* There is an ocaml-gettext package, but it's hard to install and seems unmaintained. As we don't need much,
here's a simple implementation. Note: encodings are igno... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/support/logging.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
type level = Debug | Info | Warning
type time = float
type entry = time * exn option * level * string
type crash_log = {
crash_handler : entry list -> unit;
mutable entries : entry list;
}
let crash_log ... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/support/logging.mli | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
(** Simple logging support *)
type level = Debug | Info | Warning
type time = float
type entry = time * exn option * level * string
val string_of_level : level -> string
val threshold : level ref
val will_... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/support/qdom.ml | (* Copyright (C) 2013, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
open Common
module AttrType =
struct
type t = Xmlm.name
let compare a b = compare a b
end
module AttrMap =
struct
module M = Map.Make(AttrType)
type t = (string * string) M.t (* (pref... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | mli | 0install-2.18/src/support/qdom.mli | (** XML processing *)
type source_hint
module AttrType : sig type t = Xmlm.name val compare : 'a -> 'a -> int end
module AttrMap :
sig
(** Maps Xmlm.names to (prefix-hint, value) pairs *)
type t
val empty : t
(** Add a binding with a namespace and suggested prefix. *)
val add : prefix:string -... |
0install-gtk | 2.18.0 | Unknown | https://0install.net/ | git+https://github.com/0install/0install.git | ml | 0install-2.18/src/support/safe_exn.ml | (* Copyright (C) 2018, Thomas Leonard
* See the README file for details, or visit http://0install.net.
*)
type payload = (string * string list ref)
exception T of payload
let msg = fst
let v ?(ctx=[]) f =
f |> Format.kasprintf @@ fun msg ->
T (msg, ref ctx)
let failf ?(ctx=[]) fmt =
fmt |> Format.kasprintf... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.