2011-03-09 Hans-Peter Deifel <hpdeifel@gmx.de>
* options.c: Replace some deprecated guile functions.
The GH interface has been removed in guile-2.0 so do not use it
anymore in xbindkeys.
2011-02-21 Philippe Brochard <pbrochard@common-lisp.net>
* options.c (get_rc_guile_file): Fix a crash related to guile's GC
and freeing of static memory. Thanks to Thomas Lindroth.
2010-12-04 Philippe Brochard <pbrochard@common-lisp.net>
* options.c: Fix some compilations warnings.
* xbindkeys.c (adjust_display): adjust envstr_size to prevent a
segfault with libX11-1.4.0.
2010-01-24 Alexander Clouter <alex@digriz.org.uk>
* xbindkeys.c (event_loop): Doesn't stat on configuration file
change the first time if poll-rc is false.
2010-01-23 Philippe Brochard <hocwp@free.fr>
* options.c: A poll-rc flag has been added to poll the rc/guile
configuration file for update. By default no poll is done on
configuration files. Many thanks to Alexander Clouter.
* xbindkeys.c (event_loop): Stat both default rc file and guile rc
file for reloading them when they change.
xbindkeys changelog by Philippe Brochard <hocwp@free.fr>
version:
1.8.3:
Add a listen loop in the main loop. This fix a bug where, in the
previous version, a keypress was needed to reload the
configuration file after a keybinding change. Now one can edit the
configuration file and keybindings are automatically updated after
each save. Many thanks to Edwin Stang!
1.8.2:
Correction of typos in the man page. An emphasis is made on the
documentation about the guile configuration file (the prefered way
for non trivial configuration).
Many thanks to Brad Sawatzky.
1.8.1:
Better Guile configuration with autotools.
Minor compilation warning have been fixed.
1.8.0:
Enable a full access to the xbindkeys internal from the guile
scheme configuration file. A grabbed key can start a shell command
or run a scheme function. This enable to do more powerfull things
inside xbindkeys whitout the need of an external shell script
(like double click, timed double click or keys combinations).
---------------------------------------------------------------------------
1.7.4:
xbindkeys.spec: Change Copyright to License.
Little english correction in warnings.
Configuration files are reloaded on the fly when they have
changed so there is no more need to send a HUP signal to reload
them (Many thanks to Shish).
Use `scm_c_define_gsubr' instead of 'scm_make_gsubr' with the
guile mode.
Version 1.7.3 : A bug under Solaris was fixed. This bug caused an XBindKeys
built with -DFORK_FLAG=1 to fail to wait for the processes it spawns, leaving
lots of defunct processes.
Thanks to Ciaran Anscomb for the patch.
Version 1.7.2 : Changes to grab keys in all display screens and not only in the
default root window (Xinerama suport).
Bugfix for the Guile support in configure.ac.
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
Several changes are involved since they are all interrelated. These
changes affect about 1000 files.
The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files. Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred. This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.
The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.
The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc. The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.
The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files. Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories. These files are used as input
to imake since imake can't use stdin for that purpose.
The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead. This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed. Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries. Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
1.7.1:
Verbose mode is not started as daemon by default.
Check rc file before starting as daemon (so warning about
configuration files are visible).
1.7.0:
Add guile/scheme configurtion file style (Many thanks to Marcello
Mathias Herreshoff).
1.6.5: Add a --disable-tk option to prevent xbindkeys_show install. So no
tcl/tk dependency is needed.
Add a NOTE in xbindkeys man page to say that xbindkeys can reread its config
file with a -HUP signal (killall -HUP xbindkeys).
Add two verbose tests (forgotten in other versions).
1.6.4: Add an option at compile time to launch programs with a system call
instead of a fork+exec call (see ./configure --help).
Remove an umask(022) in the daemonize function which cause troubles.
1.6.3: Change to switch to autoconf2.5X and automake >= 1.6.
Xbindkeys doesn't move anymore to /tmp after the daemonize function.
1.6.2: Minor change in the configure.in to prevent rebuild of Makefile when
doing a make.
1.6.1: Minor bugfix: use strtol instead of atoi for hexadecimal modifier.
1.6.0: Add a 'Release' modifier to catch release events of keys or mouse
buttons instead of press events.
Xbindkeys doesn't use pthreads+system any more to start commands, it use
fork+exec instead.
Some modifications to make the code 'cleaner'.
package small. Also, make this package install under PREFIX and not X11BASE.
Bump PKGREVISION to 1 because of these.
While here, split the Makefile in two parts to help in the creation of the
new xbindkeys-tk package.