The AtExit module provides ANSI-C style exit processing modeled after
the atexit function in the standard C library (see atexit(3C)). Various
exit processing routines may be registered by calling atexit and passing
it the desired subroutine along with any desired arguments. Then, at
program-exit time, the subroutines registered with atexit are invoked
with their given arguments in the reverse order of registration (last
one registered is invoked first). Registering the same subroutine more
than once will cause that subroutine to be invoked once for each
registration.
Darktable is a virtual lighttable and darkroom for photographers: an open
source photography workflow application and raw image developer. It manages
digital negatives in a database and lets one view them through a zoomable
lighttable. It also enables one to develop raw images and enhance them.
Darktable tries to fill the gap between many excellent existing free raw
converters and image management tools (such as UFRaw or F-Spot). The user
interface is built around efficient caching of image metadata and mipmaps,
all stored in a database. The user will always be able to interact, even
if the full resolution image is not yet loaded.
All editing is fully non-destructive and only operates on cached image
buffers for display. The full image is only converted during export. The
frontend is written in Gtk+/Cairo, the database uses SQLite3, raw image
loading is done using libraw and rawspeed, high-dynamic range and standard
image formats such as JPEG are also supported. The core operates completely
on floating point values, so darktable can not only be used for photography
but also for scientifically acquired images or output of renderers (high
dynamic range).
swiggle is a small command line tool that generates HTML pages,
including thumbnail indexes, for given images
(a so called "web gallery").
It's intended to be easy to use, and since it is written in C,
it's quite speedy.
It uses libjpeg for decompression and compression of images,
libexif for getting EXIF information contained in the images,
and it caches scaled images so that subsequent runs don't need to
scale images again and are faster.
Of course, the original images aren't changed.
Currently, it only processes JPEG images, and it's thought
to be used primarily with images taken with digital cameras.
Josef El-Rayes
j.el-rayes@daemon.li
Perl's built-in logical operators, C<and>, C<or>, C<xor> and C<not>
support 2-value logic. This means that they always produce a result
which is either true or false. In fact perl sometimes returns 0 and
sometimes returns undef for false depending on the operator and the
order of the arguments. For "true" Perl generally returns the first
value that evaluated to true which turns out to be extremely useful
in practice. Given the choice Perl's built-in logical operators are
to be preferred -- but when you really want pure 2-degree logic or
3-degree logic or multi-degree logic they are available through
this module
Cproto is a program that generates function prototypes and variable
declarations from C source code. It can also convert function definitions
between the old style and the ANSI C style. This conversion overwrites the
original files, so make a backup copy of your files in case something goes
wrong.
The program isn't confused by complex function definitions as much as other
prototype generators because it uses a yacc generated parser. By ignoring all
the input between braces, I avoided implementing the entire C language grammar.
Cproto is in the public domain, except for the configure script which is
copyrighted by the Free Software Foundation, Inc. If you have any comments
or find any bugs, please let me know.
The module automatically and transparently transforms a broad range of
SQL statements typical of PostgreSQL into a form suitable for use in
SQLite. This involves both (a) parsing and filtering of the SQL; and
(b) the addition of several PostgreSQL-compatible functions to SQLite.
Classes that represent and manipulate fractions (x = a/b).
The Math_FractionOp static class contains definitions for:
- basic arithmetic operations
- comparing fractions
- greatest common divisor (gcd) and least common multiple (lcm)
of two integers
- simplifying (reducing) and getting the reciprocal of a fraction
- converting a float to fraction.
Based on Net::Whois, Net::ParseWhois was written with the intent to provide a
replacement for the (broken) Net::Whois module. It is otherwise different to
Net::Whois in that it a) is easily extendable b) has a work-around approach
rather than wanting/expecting/wishing registrars to standardize their output.
Well designed and portable SQLite3 Wrapper for C++
Lightweight C library that eases the writing of UNIX daemons