Coverage report: /home/ellis/comp/core/lib/gui/pkg.lisp

KindCoveredAll%
expression02 0.0
branch00nil
Key
Not instrumented
Conditionalized out
Executed
Not executed
 
Both branches taken
One branch taken
Neither branch taken
1
 ;;; pkg.lisp --- GUI Packages
2
 
3
 ;; 
4
 
5
 ;;; Commentary:
6
 
7
 ;;;; Window Systems
8
 
9
 ;; The two Window Systems worth mentiong are X11 and Wayland. We are
10
 ;; interested in both, for different reasons.
11
 
12
 ;; X11 is for general-purpose, personal computing. It's the standard
13
 ;; everyone relies on and whenever we're running GUIs we're assuming
14
 ;; it's under X.
15
 
16
 ;; Wayland is for domain-specific user applications. It's a modular
17
 ;; protocol which follows a different design and philosophy than
18
 ;; X11. It is not feature complete, but it has a high level of
19
 ;; community support. In the right conditions, Wayland apps can be
20
 ;; smaller and faster than the equivalent X11-based implementation
21
 ;; [uncited]. e.g. kiosks.
22
 
23
 ;; No matter what, we have no intention of running X11 and Wayland in
24
 ;; parallel/embedded using things like XWayland. RTFM - it should be
25
 ;; clear which window management system an app is built for. If not,
26
 ;; it's a bug (squash it!).
27
 
28
 ;;; Code:
29
 (defpackage :gui/core
30
   (:use :cl :std :log)
31
   (:export
32
    :gui-error
33
    :gui-client-p :gui-server-p
34
    :*application*
35
    :*default-application-class*
36
    :*gui-backend-list*
37
    :*gui-backend*))
38
 
39
 (defpackage :gui/ext
40
   (:use :cl :std :log :gui/core)
41
   (:export 
42
    :register-gui-backend
43
    :load-gui-backend
44
    :with-gui-handlers
45
    :gui-main
46
    :define-gui))