Enlightenment Foundation Libraries

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Enlightenment Foundation Libraries
Stable release 1.11.0 / August 20, 2014; 57 days ago (2014-08-20)[1][2]
Development status Active
Written in C
Operating system Unix-like
Type Graphics library
License BSD license et al.
Website download.enlightenment.org/rel/libs/efl/

The Enlightenment Foundation Libraries (EFL) are a set of free and open source graphics libraries that grew out of the development of the Enlightenment window manager and Wayland compositor.[3] EFL is developed by Enlightenment.org with some sponsorship from Samsung, ProFUSION and Free.fr.[4] The project's focus is to make the EFL a flexible yet powerful and easy to use set of tools to extend the capabilities of both the Enlightenment window manager and other software projects based on the EFL. The libraries were created for version 0.17 of the window manager. The libraries are meant to be portable and optimized to be functional even on mobile devices such as smart phones and tablets.

Software architecture[edit]

Example of usage in Linux-based systems - software components of the Linux desktop stack like the display server, compositor, UI toolkits, desktop shells and desktop widgets

Core components[edit]

Evas[edit]

Evas is the EFL canvas library, for creating areas, or windows, that applications can draw on in an X Window System. The EFL uses hardware-acceleration where possible to allow it to work faster, but is also designed to work on lower-end hardware, falling back to lower color and quality for graphics if necessary. Unlike most canvas libraries, it is primarily image-based (as opposed to vector-based) and fully state-aware (the vast majority of canvases are stateless, requiring the programmer to keep track of state).

Edje[edit]

Edje is a library that attempts to separate the user interface from the application. It allows applications to be skinnable, so that it is possible to change the GUI of an application without changing the application itself. Edje-based applications use files which contain the specifications for the GUI layout that is to be used. Edje themes are contained using EET generated files.

Ecore[edit]

Ecore is an event abstraction, and modular convenience library, intended to simplify a number of common tasks. It is modular, so applications need only call the minimal required libraries for a job. Ecore simplifies working with X, Evas, and also a few other things, such as network communications and threads.

Embryo[edit]

Embryo implements a scripting language used by other parts of the EFL, such as Edje. The language has a C-like syntax, and was based on the SMALL language.

EET[edit]

EET is a library that is designed to store and load all types of data, locally or through a network stream. It is designed to be light-weight, efficient and quick. EET forms the basis of theme files in the EFL, i.e. if you want to install a theme for Enlightenment or another themable EFL app, you would be installing an EET-format file, which contains all of the theme graphics and configuration and it does not need to be extracted onto the filesystem in order to be used.

It is also the basis for all IPC communication and all configuration. Even if it's a binary file format, it is possible to dump/undump it on the fly to see what's going from a human point of view.

Eina[edit]

Eina is the base library of all data types used by the EFL. It is designed to reduce CPU-usage as much as possible without using too much memory. It provides list (and inlined list), hash, red-black tree, shared string, rectangle, array, iterator and accessor, memory pool, module, fixed point and magic check helper.

The library itself is small and could easily be used without any other EFL libraries.

Helper components[edit]

Ethumb[edit]

Ethumb is a library for creating thumbnails of many types of images, designed to be compliant with freedesktop.org's Thumbnail Managing Standard. It supports all of the file formats that Evas supports, including PNG, JPEG, TIFF, GIF, etc.

Emotion[edit]

Emotion is a library providing video-playing capabilities through the use of smart-objects. Emotion provides several video backends. The best-supported one is libxine, a well-established video-playing library, but gstreamer and vlc backends are also provided. Thus, Emotion supports all of the video formats that video libraries support, including Ogg Theora, DivX, MPEG2, etc.

Elementary[edit]

Elementary is a widget set based on the EFL that makes heavy use of Evas and Edje to provide a fast, stable, and scalable library that can be used to create both rich and fast applications that can be used on anything from every day desktop computers to small PDA's and set-top boxes. It is designed to fully expose the capability of the EFL.

EIO[edit]

EIO provide asynchronous file system operation, like listing the content of directory, copying and moving directory and files around. It relies on Ecore thread ability and, if correctly used, prevents any lock in the interface when browsing local file content.

Defunct/deprecated EFL components[edit]

  • EWD (features now added to Ecore)
  • Estyle (features have been absorbed by Etox)
  • Etox (obsolete)
  • Ebits (replaced by Edje)
  • Evoak (dead)
  • Imlib2 (replaced by Evas in E17,[5] no new features will be added[6])
  • EDB (replaced by EET)
  • EXML
  • EPEG (feature obsoleted by Evas)
  • Epsylon (replaced by Ethumb)
  • Engrave (feature have been absorbed by Edje)
  • Esmart (Not maintained and job's better done by Elementary)

References[edit]

External links[edit]