sxemacs
11 years agoA few audio fixes/work-arounds from Nelson
Steve Youngs [Mon, 11 Mar 2013 04:41:34 +0000 (14:41 +1000)]
A few audio fixes/work-arounds from Nelson

* njsf-snd:
  Whitespace cleanup
  Fix libao usage
  Cleanup some jack server interactions
  Fix typo in semaphore.h
  Fix SXEmacs semaphores so that they deal with spurius pthreads conditional variable wakeups
  Fix SoX media replay by closing and reopening stream on rewind because sox_seek is broken
  Fix some synchronization issues. Improve audio job debug output

11 years agoWhitespace cleanup
Steve Youngs [Mon, 21 Jan 2013 01:52:24 +0000 (11:52 +1000)]
Whitespace cleanup

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoFix libao usage
Nelson Ferreira [Sun, 20 Jan 2013 23:44:08 +0000 (18:44 -0500)]
Fix libao usage

* src/media/sound-ao.c (sound_ao_create): Zero out sample format
structure. Newer libao add a matrix field, which when non-null
could cause a crash. This will make ao support more future proof
to pointer dereference in future struct changes

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoCleanup some jack server interactions
Nelson Ferreira [Sun, 20 Jan 2013 22:21:40 +0000 (17:21 -0500)]
Cleanup some jack server interactions

* src/media/sound-jack.c (sound_jack_subthread_create): Properly
close the client upon failure to complete subthread create.

* src/media/sound-jack.c (sound_jack_play): Improve
logging. Properly return status code of 0 upon success and 1 on
failure. Also cleanup the device data of the job.

* src/media/sound-jack.c (sound_jack_change_state): properly set
the state of the job upon start. Add code to the log of the
unknown event message.

* src/media/sound-jack.c (sound_jack_process): Lock the job while
processing the jack requests. Debug log the play state when draining

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoFix typo in semaphore.h
Nelson Ferreira [Sun, 20 Jan 2013 22:17:10 +0000 (17:17 -0500)]
Fix typo in semaphore.h

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoFix SXEmacs semaphores so that they deal with spurius pthreads conditional variable...
Nelson Ferreira [Sun, 20 Jan 2013 22:14:31 +0000 (17:14 -0500)]
Fix SXEmacs semaphores so that they deal with spurius pthreads conditional variable wakeups

* src/semaphore.h (struct sxe_semaphore_s): add a generation count
* src/semaphore.h (struct sxe_msemaphore_s): ditto

* src/semaphore.h (sxe_msemaphore_init): initialize generation
* src/semaphore.h (sxe_semaphore_init): ditto

* src/semaphore.h (sxe_msemaphore_trigger): increment generation before signal
* src/semaphore.h (sxe_msemaphore_trigger): ditto
* src/semaphore.h (sxe_msemaphore_trigger_all): ditto
* src/semaphore.h (sxe_msemaphore_trigger_all): ditto

* src/semaphore.h (sxe_msemaphore_synchronise): Wait again if
generation is still the same (ie no signal occurred).

* src/semaphore.h (sxe_msemaphore_synchronise): ditto.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoFix SoX media replay by closing and reopening stream on rewind because sox_seek is...
Nelson Ferreira [Sun, 20 Jan 2013 21:19:07 +0000 (16:19 -0500)]
Fix SoX media replay by closing and reopening stream on rewind because sox_seek is broken

* src/media/media-sox.c (media_sox_rewind): Close and reopen the
media stream if SXE_SOX_CAN_SEEK is not defined or sxe_sox_seek
fails. If reopen fails, cleanup the media to improve handling of
the rest of the media system.

* src/media/media-sox.c (media_sox_read): Improve logging message

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoFix some synchronization issues. Improve audio job debug output
Nelson Ferreira [Sun, 20 Jan 2013 21:15:36 +0000 (16:15 -0500)]
Fix some synchronization issues. Improve audio job debug output

* src/media/sound.c (make_audio_job): Always initialie the mutex
since some sound backends are multi-threaded and will use the
mutex. Jack and AO are examples.

* src/media/sound.c (make_audio_job): Improve the job log message.

* src/media/sound.c (play-media-stream-synchronously): Improve
play log message to make clear this is synchronous play.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agobld-chain fix from Nelson
Steve Youngs [Sun, 20 Jan 2013 06:59:34 +0000 (16:59 +1000)]
bld-chain fix from Nelson

* merges:
  Only include ent-mpfr.h if HAVE_MPFR to fix build when mpfr is not available

11 years agoOnly include ent-mpfr.h if HAVE_MPFR to fix build when mpfr is not available
Nelson Ferreira [Sat, 19 Jan 2013 22:41:26 +0000 (17:41 -0500)]
Only include ent-mpfr.h if HAVE_MPFR to fix build when mpfr is not available

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoautogen.sh update from Nelson
Steve Youngs [Sat, 19 Jan 2013 21:40:42 +0000 (07:40 +1000)]
autogen.sh update from Nelson

* merges:
  Allow autogen.sh to do the right thing with newer libtool/autoconf

11 years agoAllow autogen.sh to do the right thing with newer libtool/autoconf
Nelson Ferreira [Sat, 19 Jan 2013 18:43:40 +0000 (13:43 -0500)]
Allow autogen.sh to do the right thing with newer libtool/autoconf

* autogen.sh (libtool_ver): Force the run of libtoolize --copy
--ltdl before autoreconf so that sxe-libtool.m4 does not cause
an autoreconf error (and therefore no configure generated)

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoFFI updates from Evgeny
Steve Youngs [Wed, 9 Jan 2013 23:33:41 +0000 (09:33 +1000)]
FFI updates from Evgeny

* merges:
  files.el:    - Check file existance when openning file with      `find-file-magic-files-alist'
  ffi-wand:   "logo" is unsupported format for read
  [fix] effi: ffi-slot-offset        - calculate offset correctly

11 years agoFix TTY cursor reset problem
Steve Youngs [Sun, 6 Jan 2013 02:31:58 +0000 (12:31 +1000)]
Fix TTY cursor reset problem

* tty-cursor:
  Fix the age old problem of TTY cursor being reset on exit

11 years agoFix the age old problem of TTY cursor being reset on exit
Steve Youngs [Sun, 6 Jan 2013 02:21:45 +0000 (12:21 +1000)]
Fix the age old problem of TTY cursor being reset on exit

This changeset stops SXEmacs from resetting the text cursor to block on
exit on a Linux console.  It is actually still reset, but it is reset
correctly and now you'll end up with a "normal" cursor instead of a "very
visible" one.

One side-effect of this change is that SXEmacs on a console will now use a
block cursor, but that just adds consistency because that is how things
are in X11 and Xterm anyway.

* src/ui/TTY/console-tty.h (struct tty_console): Add
`cursor_invisible_' and `hard_cursor_' for invisible and hard to
see cursors.

* src/ui/TTY/redisplay-tty.c (init_tty_for_redisplay): Set
cursor_visible_ to "vs" and cursor_normal_ to "ve" like they
should be according to terminfo(5).
Also add cursor_invisible_ ("vi"), and hard_cursor_ ("HC").

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agofiles.el:
lg [Fri, 28 Dec 2012 07:01:26 +0000 (11:01 +0400)]
files.el:
   - Check file existance when openning file with
     `find-file-magic-files-alist'

11 years agoffi-wand:
lg [Fri, 28 Dec 2012 07:00:12 +0000 (11:00 +0400)]
ffi-wand:
  "logo" is unsupported format for read

11 years ago[fix] effi: ffi-slot-offset
lg [Fri, 28 Dec 2012 06:06:27 +0000 (10:06 +0400)]
[fix] effi: ffi-slot-offset
       - calculate offset correctly

[add] effi:
       - x86_64 alignment support

11 years agoDocstring and Makefile tweak from Nelson
Steve Youngs [Sun, 2 Sep 2012 22:09:45 +0000 (08:09 +1000)]
Docstring and Makefile tweak from Nelson

* merges:
  Fix docstring for insert-string
  Small cleanup of the recursive make calls

11 years agoFix docstring for insert-string
Nelson Ferreira [Sun, 12 Aug 2012 22:22:15 +0000 (18:22 -0400)]
Fix docstring for insert-string

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoSmall cleanup of the recursive make calls
Nelson Ferreira [Sun, 5 Aug 2012 02:44:11 +0000 (22:44 -0400)]
Small cleanup of the recursive make calls

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoFixes bug 158 from Nelson
Steve Youngs [Tue, 31 Jul 2012 07:02:50 +0000 (17:02 +1000)]
Fixes bug 158 from Nelson

* merges:
  Fix build failure of cl in newer gcc and bison combinations
  Fix build process so that subdir failures cause actual failure, even when CFLAGS have a k somewhere...

11 years agoFix build failure of cl in newer gcc and bison combinations
Nelson Ferreira [Tue, 31 Jul 2012 02:51:14 +0000 (22:51 -0400)]
Fix build failure of cl in newer gcc and bison combinations

* modules/cl/cl-loop.h: Include cl-loop-parser.h only after
cl_loop_sentence_t is defined.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoFix build process so that subdir failures cause actual failure, even when CFLAGS...
Nelson Ferreira [Tue, 31 Jul 2012 02:49:52 +0000 (22:49 -0400)]
Fix build process so that subdir failures cause actual failure, even when CFLAGS have a k somewhere...

* Makefile.am (beta): Use -w MAKEFLAGS instead of RECURSIVE_MAKE_ARGS
* Makefile.am (time-beta): Ditto.
* Makefile.am (time-all): Ditto.
* Makefile.am (time-check): Ditto.
* Makefile.am (build-report): Ditto.
* Makefile.am (time-build-report): Ditto.
* PROBLEMS:  Add explanation for failure.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoFix xstrncpy usage, also fixes etags. From Nelson
Steve Youngs [Sun, 1 Jul 2012 04:23:35 +0000 (14:23 +1000)]
Fix xstrncpy usage, also fixes etags. From Nelson

* merges:
  Fix usage of xstrncpy
  Simple comment reflow to 80 cols
  Fix etags xstrncpy usage, and some other niceties

11 years agoFix usage of xstrncpy
Nelson Ferreira [Sun, 1 Jul 2012 03:03:17 +0000 (23:03 -0400)]
Fix usage of xstrncpy

* lib-src/fakemail.c (make_file_preface): make sure the len
argument to xstrcpy is always the available buffer len

        * lib-src/ootags.c: Only define etags_strchr and etags_strrchr if
configure did not detect the right ones.

        * lib-src/ootags.c (consider_token): Ditto

        * lib-src/ootags.c (C_entries): Ditto

        * lib-src/ootags.c (Pascal_functions): Ditto

        * lib-src/ootags.c (Prolog_functions): Ditto

        * lib-src/ootags.c (Erlang_functions): Ditto

* lib-src/ootags.c (savenstr): Ditto.

        * lib-src/ootags.c (substitute): Properly account for remaining
buffer available.

* lib-src/gnuserv.c (handle_ipc_request): use buffer size instead
of message length for copy. also no need to \0 terminate with
xstrncpy

* lib-src/pop.c (pop_stat): Use xstrncpy here.

* src/dumper.c (pdump_load): No need for \0 termination here.

* src/emacs.c (make_docfile): use remaining size of buffer, not
len of source..

* src/sysdep.h (x__dirname): Use just len. xstrncpy will stop early.

* src/sysdep.h (xdirname): Oops, need +1 for the \0 terminator.

* src/ui/redisplay.c (add_bufbyte_string_runes): Account for the \0 terminator.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoSimple comment reflow to 80 cols
Nelson Ferreira [Sun, 1 Jul 2012 02:50:55 +0000 (22:50 -0400)]
Simple comment reflow to 80 cols

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoMerge remote-tracking branch 'njsf/for-steve' into for-steve
Nelson Ferreira [Sun, 1 Jul 2012 02:28:41 +0000 (22:28 -0400)]
Merge remote-tracking branch 'njsf/for-steve' into for-steve

11 years agoFix etags xstrncpy usage, and some other niceties
Nelson Ferreira [Sun, 1 Jul 2012 02:28:19 +0000 (22:28 -0400)]
Fix etags xstrncpy usage, and some other niceties

* lib-src/etags.c: Make etags_strchr, etags_strrchr, etags_strcasecmp,
          etags_strncasecmp only be defined if they were not detected by configure.

* lib-src/etags.c(consider_token): Adjust strncpy and string size.

* lib-src/etags.c(C_entries): Ditto.

* lib-src/etags.c(Pascal_functions): Ditto.

* lib-src/etags.c(HTML_labels): Ditto.

* lib-src/etags.c(Prolog_functions): Ditto.

* lib-src/etags.c(Erlang_functions): Ditto.

* lib-src/etags.c(substitute): Properly account for buffer size to
supply to xstrncpy.

* lib-src/etags.c(readline_internal): Only reallocate after size
is enough. Also correct the buffer available supplied to xstrncpy.

* lib-src/etags.c(savenstr): correct the size of buffer parameter
supplied to xstrncpy.

* lib-src/etags.c(linebuffer_setlen): Only reallocate after size
is enough.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoAnother peanuthorst to horst rename
Steve Youngs [Wed, 27 Jun 2012 06:36:37 +0000 (16:36 +1000)]
Another peanuthorst to horst rename

* quickfix:
  Rename peanuthorst to horst in etc/Makefile.am

11 years agoRename peanuthorst to horst in etc/Makefile.am
Steve Youngs [Wed, 27 Jun 2012 06:36:11 +0000 (16:36 +1000)]
Rename peanuthorst to horst in etc/Makefile.am

* etc/Makefile.am (dist_photos_DATA): peanuthorst -> horst

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoPeanutHorst is now Horst
Steve Youngs [Wed, 27 Jun 2012 06:17:28 +0000 (16:17 +1000)]
PeanutHorst is now Horst

* quickfix:
  Rename PeanutHorst to Horst in about.el

11 years agoRename PeanutHorst to Horst in about.el
Steve Youngs [Wed, 27 Jun 2012 06:16:31 +0000 (16:16 +1000)]
Rename PeanutHorst to Horst in about.el

* lisp/about.el (about-personal-info): PeanutHorst -> Horst.

* lisp/about.el (about-hacker-contribution): Ditto.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoPhoto optimisation from Horst
Steve Youngs [Wed, 27 Jun 2012 06:09:56 +0000 (16:09 +1000)]
Photo optimisation from Horst

* merges:
  optimised steve's photo, updated horst's photo

11 years agoMinor SoX updates
Steve Youngs [Wed, 27 Jun 2012 06:05:13 +0000 (16:05 +1000)]
Minor SoX updates

* bug-141:
  Minor updates and compiler warning fixes in SoX
  Fix compiler warnings in media-sox.c

11 years agoMinor updates and compiler warning fixes in SoX
Steve Youngs [Wed, 27 Jun 2012 05:57:57 +0000 (15:57 +1000)]
Minor updates and compiler warning fixes in SoX

* src/media/media-sox.h (sxe_sox_ssize_t): SoX just uses size_t
these days. So set to that if not HAVE_SOX_SSIZE_T.

* src/media/media-sox.c (media_sox_rewind): SEEK_SET ->
SOX_SEEK_SET.

* src/media/media-sox.c (media_sox_close): Fix format spec.

* src/media/media-sox.c (media_sox_read): Ditto.

* src/media/media-sox.c (media_sox_rewind): Ditto.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agooptimised steve's photo, updated horst's photo
Horst G. Burkhardt III [Wed, 27 Jun 2012 05:05:20 +0000 (15:05 +1000)]
optimised steve's photo, updated horst's photo

Signed-off-by: Horst G. Burkhardt III <horst@sxemacs.org>
11 years agoPROBLEMS update from Horst
Steve Youngs [Tue, 26 Jun 2012 14:40:43 +0000 (00:40 +1000)]
PROBLEMS update from Horst

* merges:
  Updated PROBLEMS as per last commit
  Cleaning up PROBLEMS file, now it looks like we've been productive since forking; added PROBLEMS.XEmacs for older issues pertaining to XE

11 years agoFix compiler warnings in media-sox.c
Steve Youngs [Tue, 26 Jun 2012 14:39:35 +0000 (00:39 +1000)]
Fix compiler warnings in media-sox.c

* src/media/media-sox.c (media_sox_open): Shush compiler, give
`file_len' unused attribute.

* src/media/media-sox.c (media_sox_read): Ditto for `framesize'.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoUpdated PROBLEMS as per last commit
Horst G. Burkhardt III [Tue, 26 Jun 2012 14:04:18 +0000 (00:04 +1000)]
Updated PROBLEMS as per last commit

Signed-off-by: Horst G. Burkhardt III <horst@sxemacs.org>
11 years agoCleaning up PROBLEMS file, now it looks like we've been productive since forking...
Horst G. Burkhardt III [Tue, 26 Jun 2012 12:49:14 +0000 (22:49 +1000)]
Cleaning up PROBLEMS file, now it looks like we've been productive since forking; added PROBLEMS.XEmacs for older issues pertaining to XE

Signed-off-by: Horst G. Burkhardt III <horst@sxemacs.org>
11 years agoBring back PulseAudio autodetection
Steve Youngs [Tue, 26 Jun 2012 06:49:20 +0000 (16:49 +1000)]
Bring back PulseAudio autodetection

* pulse:
  Bring back auto-detection of PulseAudio

11 years agoBring back auto-detection of PulseAudio
Steve Youngs [Tue, 26 Jun 2012 06:47:45 +0000 (16:47 +1000)]
Bring back auto-detection of PulseAudio

* configure.ac (with-sound): Re-enable PulseAudio.

* configure.ac (with-pulseaudio): Removed.  It is now back in
with-sound.

* configure.ac: Nuke the `pulse_*_version' vars.  They weren't
being used for anything.

* src/media/Makefile.am (libmm_a_CFLAGS): Add MM_CFLAGS.

* src/media/sound-pulse.c (stream_write_callback): Set
`resolution', `real_frm_sz', and `ctx' as unused. Shush compiler.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoVarious build related fixes from Rudi
Steve Youngs [Mon, 25 Jun 2012 23:55:35 +0000 (09:55 +1000)]
Various build related fixes from Rudi

* merges:
  bldchn, fix typo, wrong dbusbind.la variables
  bldchn, add missing benchmark.el to the dist tarball
  bldchn, add missing tests to the dist tarball

11 years agobldchn, fix typo, wrong dbusbind.la variables
Ruediger Meier [Mon, 25 Jun 2012 13:57:17 +0000 (15:57 +0200)]
bldchn, fix typo, wrong dbusbind.la variables

We had such warnings from automake:
modules/dbus/Makefile.am:63: variable `dbus_la_SOURCES' is defined but no program or
modules/dbus/Makefile.am:63: library has `dbus_la' as canonical name (possible typo)
[...]

11 years agobldchn, add missing benchmark.el to the dist tarball
Ruediger Meier [Mon, 25 Jun 2012 13:53:14 +0000 (15:53 +0200)]
bldchn, add missing benchmark.el to the dist tarball

Note that this benchmark will not be executed by any make target. Should we add
one?

11 years agobldchn, add missing tests to the dist tarball
Ruediger Meier [Mon, 18 Jun 2012 11:16:52 +0000 (13:16 +0200)]
bldchn, add missing tests to the dist tarball

11 years agoFix non-dbus build
Steve Youngs [Mon, 25 Jun 2012 12:42:24 +0000 (22:42 +1000)]
Fix non-dbus build

* dbus-bldfix:
  Fix build when dbus is not present.

11 years agoFix build when dbus is not present.
Steve Youngs [Mon, 25 Jun 2012 12:41:52 +0000 (22:41 +1000)]
Fix build when dbus is not present.

* configure.ac: Put `SXE_EMOD_STATMOD([dbus])' where it can be
called if dbus is present or not.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoPulseAudio roles
Steve Youngs [Mon, 25 Jun 2012 03:43:33 +0000 (13:43 +1000)]
PulseAudio roles

* pulse-roles:
  Support "media role" property for PulseAudio devices

11 years agoSupport "media role" property for PulseAudio devices
Steve Youngs [Mon, 25 Jun 2012 03:41:45 +0000 (13:41 +1000)]
Support "media role" property for PulseAudio devices

With PulseAudio a client can set various properties to tell the server
more about the client.  One of these properties is a "media role" which
tells the PulseAudio server what type of media the client is supplying.
For example a mp3 player might set a role of "music", or a movie player
might set a role of "video".

You can't do anything in SXEmacs with roles other than set them, but in
your PulseAudio config you can then do nifty things based on them.  Like,
you can get PulseAudio to mute (cork) your "music" streams when you play a
"video" stream.

This changeset allows the user to set the media role via the `:role'
keyword in #'make-audio-device.

* src/media/sound-pulse.c (sound_pulse_data_s): Add new object,
`role'.

* src/media/sound-pulse.c (sound_pulse_create): Parse :role as
well.

* src/media/sound-pulse.c (sound_pulse_finish):

* src/media/sound-pulse.c (sound_pulse_init_mainloop): Set
PULSE_PROP_media.role with the role.

* src/media/sound.c (Fmake_audio_device): Document PulseAudio
roles.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoQuick typo fix
Steve Youngs [Tue, 19 Jun 2012 08:20:27 +0000 (18:20 +1000)]
Quick typo fix

* typo-fix:
  Typo fix

11 years agoTypo fix
Steve Youngs [Tue, 19 Jun 2012 08:18:52 +0000 (18:18 +1000)]
Typo fix

* lisp/lisp-initd.el (lisp-initd-compile): Typo fix.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoFix SoX
Steve Youngs [Tue, 19 Jun 2012 06:51:26 +0000 (16:51 +1000)]
Fix SoX

* sox-fix:
  SoX Fix -- Remove deprecated code.
  SoX Fix -- Configure and build

11 years agoSoX Fix -- Remove deprecated code.
Steve Youngs [Tue, 19 Jun 2012 06:49:51 +0000 (16:49 +1000)]
SoX Fix -- Remove deprecated code.

This changeset removes all the old cruft in our SoX code that we no longer
need to worry about because we enforce a minimum required version.

* src/media/media-sox.h: Remove all the old crusty st_*

* src/media/media-sox.c: Ditto.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoSoX Fix -- Configure and build
Steve Youngs [Tue, 19 Jun 2012 06:17:07 +0000 (16:17 +1000)]
SoX Fix -- Configure and build

Somewhere along the line our SoX code stopped working.  This changeset
brings back SoX support in SXEmacs.

Please Note:  There is now a minimum version required for SoX... 14.1.0

* m4/sxe-mm.m4 (SXE_CHECK_SOX_LOCATOR): Nuke it.

* m4/sxe-mm.m4 (SXE_CHECK_SOX_LOCATIONS): Rewrite using pkg-config
voodoo.

* m4/sxe-mm.m4 (_SXE_CHECK_SOX): Simplify.  No need to check for
that st rubbish anymore.

* m4/sxe-mm.m4 (SXE_CHECK_SOX_HEADERS): Don't look for st.h.

* m4/sxe-mm.m4 (SXE_CHECK_SOX_LIBS): Remove the st rubbish.

* m4/sxe-mm.m4 (SXE_CHECK_SOX_STRUCTS): Ditto.
Check for struct sox_format_t instead of sox_format.

* src/media/media-sox.c (media_sox_open): HAVE_STRUCT_SOX_FORMAT
-> HAVE_STRUCT_SOX_FORMAT_T

* INSTALL (Packages): Mention that the minimum version of SoX is
now 14.1.0.

* .gitignore: Ignore anything starting with `=' instead of just
`=build'. For us crazy folk who have multiple build directories on
the go at once.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoSXEmacs, meet Dbus. Dbus, meet SXEmacs
Steve Youngs [Sun, 17 Jun 2012 23:19:22 +0000 (09:19 +1000)]
SXEmacs, meet Dbus. Dbus, meet SXEmacs

* dbus:
  Warning fixes -- dbusbind.
  Whitespace cleanup in modules/dbus
  Fix more warnings in dbusbind.c
  Cosmetic changes to file header/licence
  Port GNU/Emacs dbusbind.c to SXEmacs -- Warning fixes
  Port GNU/Emacs dbusbind.c to SXEmacs -- Fix most errors.
  Port GNU/Emacs dbusbind.c to SXEmacs -- Style changes
  Improve D-Bus detection.
  Fix dbus build.
  True to add files to dbus module makefile
  Add D-Bus module as option for with-modules
  Add DESCEND clause for dbus module
  Initial commit of D-Bus support imported from Emacs trunk revno=106693

11 years agoAdd 22.1.15 ChangeLog file
Steve Youngs [Sun, 17 Jun 2012 23:14:39 +0000 (09:14 +1000)]
Add 22.1.15 ChangeLog file

* misc:
  Add last version ChangeLog file

11 years agoAdd last version ChangeLog file
Steve Youngs [Sun, 17 Jun 2012 23:14:08 +0000 (09:14 +1000)]
Add last version ChangeLog file

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoMerge remote-tracking branch 'njsf/for-steve' into for-steve
Nelson Ferreira [Sun, 17 Jun 2012 14:55:22 +0000 (10:55 -0400)]
Merge remote-tracking branch 'njsf/for-steve' into for-steve

11 years agoSXEmacs v22.1.15 is released! v22.1.15
Steve Youngs [Sat, 16 Jun 2012 07:13:58 +0000 (17:13 +1000)]
SXEmacs v22.1.15 is released!

* release-housekeeping:
  Last minute NEWS update
  Update closed bug list
  Last minute update to NEWS.
  Update DISTRIB to talk about git instead of tla
  Various "just before release" updates and housekeeping

11 years agoLast minute NEWS update
Steve Youngs [Sat, 16 Jun 2012 07:11:06 +0000 (17:11 +1000)]
Last minute NEWS update

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoCoverity issues done and dusted! from Nelson
Steve Youngs [Sat, 16 Jun 2012 01:16:23 +0000 (11:16 +1000)]
Coverity issues done and dusted! from Nelson

* merges:
  Coverity: CID 21028 Logically dead code
  Coverity CID 400011 - Derefence NULL return value

11 years agoCoverity: CID 21028 Logically dead code
Nelson Ferreira [Fri, 15 Jun 2012 15:19:42 +0000 (11:19 -0400)]
Coverity: CID 21028 Logically dead code

* src/ui/X11/event-Xt.c (x_handle_sticky_modifiers): This is a
false positive, but this little refactoring makes the analysis
easier...

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoMerge remote-tracking branch 'origin/master' into for-steve
Nelson Ferreira [Fri, 15 Jun 2012 15:16:25 +0000 (11:16 -0400)]
Merge remote-tracking branch 'origin/master' into for-steve

11 years agoMerge remote-tracking branch 'njsf/for-steve' into for-steve
Nelson Ferreira [Fri, 15 Jun 2012 15:16:19 +0000 (11:16 -0400)]
Merge remote-tracking branch 'njsf/for-steve' into for-steve

11 years agoCoverity CID 400011 - Derefence NULL return value
Nelson Ferreira [Fri, 15 Jun 2012 15:14:54 +0000 (11:14 -0400)]
Coverity CID 400011 - Derefence NULL return value

* src/doc.c (Fsnarf_documentation): Verify that indeed end is not
NULL. If it is NULL then report a file format error.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoEgo is not a dirty word
Steve Youngs [Mon, 11 Jun 2012 08:52:39 +0000 (18:52 +1000)]
Ego is not a dirty word

* ego-patch:
  Update my about info.

11 years agoUpdate my about info.
Steve Youngs [Mon, 11 Jun 2012 08:16:53 +0000 (18:16 +1000)]
Update my about info.

* lisp/about.el (about-current-release-maintainers): Promote Horst
to the lofty level of "current dev".
Put Erik and Hynek into "other"

* lisp/about.el (about-other-current-hackers): Horst to current;
Erik and Hynek to other.

* lisp/about.el (about-url-alist): Add a couple more of my URLs.

* lisp/about.el (about-personal-info): Updated my bio, added a
couple more URLs, and a dash of colour.

* etc/photos/steve.png: Update

* etc/photos/stevem.png: Update

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoUpdate closed bug list
Steve Youngs [Fri, 1 Jun 2012 22:24:42 +0000 (08:24 +1000)]
Update closed bug list

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoMerge branch 'master' of ssh://dio.dreamhost.com/~/repos.nelsonferreira.com/git/sxema...
Nelson Ferreira [Wed, 30 May 2012 22:35:19 +0000 (18:35 -0400)]
Merge branch 'master' of ssh://dio.dreamhost.com/~/repos.nelsonferreira.com/git/sxemacs into for-steve

12 years agoLast minute update to NEWS.
Steve Youngs [Tue, 22 May 2012 21:50:42 +0000 (07:50 +1000)]
Last minute update to NEWS.

* etc/NEWS: Forgot to mention bug 140 was fixed too

Signed-off-by: Steve Youngs <steve@sxemacs.org>
12 years agoUpdate DISTRIB to talk about git instead of tla
Steve Youngs [Tue, 22 May 2012 21:41:52 +0000 (07:41 +1000)]
Update DISTRIB to talk about git instead of tla

* etc/DISTRIB: Rewrite.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
12 years agoVarious "just before release" updates and housekeeping
Steve Youngs [Mon, 21 May 2012 02:16:49 +0000 (12:16 +1000)]
Various "just before release" updates and housekeeping

* INSTALL: A few minor updates such as typos, URL updates etc.

* PROBLEMS: Fix a couple of typos.

* README: Update list of subdirectories.

* autogen.sh (EXPECTED_TREE_VERSION): Bump.

* autogen.sh (sxemacs_codename): "Goggomobil"

* info/sppm.texi: Update "versioning" macros.

* info/sxemacs/sxemacs.texi (Top): Update version.

* lisp/startup.el (splash-frame-body): Update my copyright.

* etc/NEWS: Add this version's release notes.

* info/sppm.texi (Making Releases): Describe how to generate the
"Developer Stats" section.

* info/sppm.texi (Making Releases): Use git to create diff from
previous versions.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
12 years agoFix SuSe build from Nelson
Steve Youngs [Wed, 2 May 2012 02:16:11 +0000 (12:16 +1000)]
Fix SuSe build from Nelson

* merges:
  Fix SuSE build

12 years agoFix SuSE build
Nelson Ferreira [Tue, 1 May 2012 06:50:45 +0000 (02:50 -0400)]
Fix SuSE build

Signed-off-by: Nelson Ferreira <njsf@sxemacs.org>
12 years agoMacOS build fixes from Nelson
Steve Youngs [Tue, 1 May 2012 02:42:38 +0000 (12:42 +1000)]
MacOS build fixes from Nelson

* merges:
  Fix build in MacOS after ent changes

12 years agoFix build in MacOS after ent changes
Nelson Ferreira [Mon, 30 Apr 2012 22:18:43 +0000 (18:18 -0400)]
Fix build in MacOS after ent changes

* modules/cl/cl.c: Add ent/ent.h include
* src/alloc.c: Add ent/ent.h, ent/ent-float.h and ent/ent-mpfr.h includes
* src/ent/ent-float.h: Include ent/ent-optable.h and
ent/ent-lift.h which define symbols used

* src/ent/ent-gaussian.c: Ditto.

* src/ent/ent-inf.h: Add additional includes (like in ent.h) for
the cases when ent.h was not included.

* src/ent/ent-mpc.c: Include ent.h and ent-mpfr.h

* src/ent/ent-mpfr.c: Include ent.h, and optable, lift and indef

* src/ent/ent-mpfr.h: Include ent-indef.h

* src/ent/ent-quatern.c: Include ent.h

* src/media/media.c: Include ent/ent.h

* src/ui/glyphs.c: Include ent/ent-float.h

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoMerge remote-tracking branch 'origin/master' into for-steve
Nelson Ferreira [Fri, 13 Apr 2012 17:32:20 +0000 (13:32 -0400)]
Merge remote-tracking branch 'origin/master' into for-steve

12 years agoFixes bug #136 from Sebastian
Steve Youngs [Fri, 13 Apr 2012 01:37:10 +0000 (11:37 +1000)]
Fixes bug #136 from Sebastian

* merges:
  fix, initialise auto_remove_nodes upon ase_make_digraph()
  fix, do not finalise event queues during the dump phase

12 years agoMerge branch 'bug/136' into next
Sebastian Freundt [Thu, 12 Apr 2012 15:55:38 +0000 (15:55 +0000)]
Merge branch 'bug/136' into next

* bug/136:
  fix, initialise auto_remove_nodes upon ase_make_digraph()

This changeset tries the best to fix bug #136.  An uninitialised value
has been used for branching (the auto_remove_nodes slot)

* modules/ase/ase-digraph.c: fix, initialise slots that are being used.

12 years agofix, initialise auto_remove_nodes upon ase_make_digraph()
Sebastian Freundt [Thu, 12 Apr 2012 15:55:29 +0000 (15:55 +0000)]
fix, initialise auto_remove_nodes upon ase_make_digraph()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agoMerge branch 'bug/135' into next
Sebastian Freundt [Thu, 12 Apr 2012 15:38:42 +0000 (15:38 +0000)]
Merge branch 'bug/135' into next

* bug/135:
  fix, do not finalise event queues during the dump phase

This changeset is a follow-up to my previous go at bug #135.
This ensures that the event queue is not freed during the dump phase.

* src/events/event-queue.c: fix, respect for_disksave argument

12 years agofix, do not finalise event queues during the dump phase
Sebastian Freundt [Thu, 12 Apr 2012 15:37:26 +0000 (15:37 +0000)]
fix, do not finalise event queues during the dump phase

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agoFix build on powerpc64 from Sebastian
Steve Youngs [Thu, 5 Apr 2012 23:32:46 +0000 (09:32 +1000)]
Fix build on powerpc64 from Sebastian

* merges:
  fix, adhere to prototypes in libpq-he.h, use size_t* instead of unsigned int*
  fix to fix, PEBKAC, also include ent.h goodies in cl-loop code
  minor, clarify usage of ase_ffsl in skiplist.c
  minor, provide (missing) ffsl for ppc64 and flsl for ppc and ppc64
  minor, provide __next_2power() from the bithacks web site
  cosmetics, include ent/ent.h (or one of its sub-includes) directly, take 2, ...
  cosmetics, include ent/ent.h (or one of its sub-includes) directly ...
  cosmetics, do not include all of ent.h in lisp.h ...

12 years agoMerge branch 'fix/pgapi' into next
Sebastian Freundt [Thu, 5 Apr 2012 15:32:38 +0000 (15:32 +0000)]
Merge branch 'fix/pgapi' into next

* fix/pgapi:
  fix, adhere to prototypes in libpq-he.h, use size_t* instead of unsigned int*

12 years agofix, adhere to prototypes in libpq-he.h, use size_t* instead of unsigned int*
Sebastian Freundt [Thu, 5 Apr 2012 15:31:30 +0000 (15:31 +0000)]
fix, adhere to prototypes in libpq-he.h, use size_t* instead of unsigned int*

* src/database/postgresql.c: unsigned int -> size_t

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agoMerge branch 'fix/ppc64' into next
Sebastian Freundt [Thu, 5 Apr 2012 15:17:03 +0000 (15:17 +0000)]
Merge branch 'fix/ppc64' into next

* fix/ppc64:
  fix to fix, PEBKAC, also include ent.h goodies in cl-loop code

12 years agofix to fix, PEBKAC, also include ent.h goodies in cl-loop code
Sebastian Freundt [Thu, 5 Apr 2012 15:15:44 +0000 (15:15 +0000)]
fix to fix, PEBKAC, also include ent.h goodies in cl-loop code

This changeset cares about a forgotten include in cl-loop.c.

* modules/cl/cl-loop.c: include ent.h here

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agoMerge branch 'fix/ppc64' into next
Sebastian Freundt [Thu, 5 Apr 2012 14:11:16 +0000 (14:11 +0000)]
Merge branch 'fix/ppc64' into next

* fix/ppc64:
  minor, clarify usage of ase_ffsl in skiplist.c
  minor, provide (missing) ffsl for ppc64 and flsl for ppc and ppc64
  minor, provide __next_2power() from the bithacks web site
  cosmetics, include ent/ent.h (or one of its sub-includes) directly, take 2, ...
  cosmetics, include ent/ent.h (or one of its sub-includes) directly ...
  cosmetics, do not include all of ent.h in lisp.h ...

This changeset fixes issues with the ppc64 build whilst cleaning up
the lisp header (lisp.h) at the same time.

* modules/ase/ase.c: include ent bits here

* modules/cl/cl-loop.h: include ent bits here

* src/alloc.c: include ent bits here

* src/bloom.c: include ent bits here

* src/bytecode.c: include ent bits here

* src/callint.c: include ent bits here

* src/data.c: include ent bits here

* src/doprnt.c: include ent bits here

* src/editfns.c: include ent bits here

* src/effi.c: include ent bits here

* src/elhash.c: include ent bits here

* src/ent/ent-binary-op.c: include ent bits here

* src/ent/ent-binary-rel.c: include ent bits here

* src/ent/ent-float.c: include ent bits here

* src/ent/ent-gmp.c: include ent bits here

* src/ent/ent-indef.c: include ent bits here

* src/ent/ent-int.c: include ent bits here

* src/ent/ent-lift.c: include ent bits here

* src/ent/ent-nullary-op.c: include ent bits here

* src/ent/ent-unary-op.c: include ent bits here

* src/ent/ent-unary-rel.c: include ent bits here

* src/ent/ent.h: provide missing ffs and fls bits

* src/ent/floatfns.c: include ent bits here

* src/events/event-stream.c: include ent bits here

* src/fileio.c: include ent bits here

* src/fns.c: include ent bits here

* src/lisp.h: remove ent bits here, keep ent-int.h though
  provide __next_2power() based on a hack from the bithack website

* src/lread.c: include ent bits here

* src/map.c: include ent bits here

* src/media/sound.c: include ent bits here

* src/skiplist.c: include ent bits here

* src/sysdep.c: include ent bits here

* src/ui/TTY/objects-tty.c: include ent bits here

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agominor, clarify usage of ase_ffsl in skiplist.c
Sebastian Freundt [Thu, 5 Apr 2012 13:54:35 +0000 (13:54 +0000)]
minor, clarify usage of ase_ffsl in skiplist.c

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agominor, provide (missing) ffsl for ppc64 and flsl for ppc and ppc64
Sebastian Freundt [Thu, 5 Apr 2012 13:53:38 +0000 (13:53 +0000)]
minor, provide (missing) ffsl for ppc64 and flsl for ppc and ppc64

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agominor, provide __next_2power() from the bithacks web site
Sebastian Freundt [Thu, 5 Apr 2012 12:46:12 +0000 (12:46 +0000)]
minor, provide __next_2power() from the bithacks web site

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agocosmetics, include ent/ent.h (or one of its sub-includes) directly, take 2, ...
Sebastian Freundt [Thu, 5 Apr 2012 12:44:52 +0000 (12:44 +0000)]
cosmetics, include ent/ent.h (or one of its sub-includes) directly, take 2, ...

This changeset will have a follow-up that fixes the lisp.h b0rkedness

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agocosmetics, include ent/ent.h (or one of its sub-includes) directly ...
Sebastian Freundt [Thu, 5 Apr 2012 11:47:23 +0000 (11:47 +0000)]
cosmetics, include ent/ent.h (or one of its sub-includes) directly ...

This changeset will still have follow-ups that rectify the situation in files
that used some of the macros defined by ent.h (and its includes).

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agocosmetics, do not include all of ent.h in lisp.h ...
Sebastian Freundt [Thu, 5 Apr 2012 10:51:42 +0000 (10:51 +0000)]
cosmetics, do not include all of ent.h in lisp.h ...

This changeset will have follow-ups that rectify the situation in files that actually
do need some stuff of ent.h (and its includes).

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agoUI related fixes/improvements from Nelson
Steve Youngs [Thu, 29 Mar 2012 23:54:35 +0000 (09:54 +1000)]
UI related fixes/improvements from Nelson

* merges:
  Disable non UI build. Too much going wrong for that to work
  Only used old_fcntl_owner when compiling unixoid event loop
  Remove old file moved away
  Make FD_TO_USID available to non-unixoid event loops
  Only abort due to no-tty when interactive
  Move src/objects.c to src/ui
  Move src/objects.c to src/ui

12 years agoDisable non UI build. Too much going wrong for that to work
Nelson Ferreira [Tue, 27 Mar 2012 18:11:31 +0000 (15:11 -0300)]
Disable non UI build. Too much going wrong for that to work

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoOnly used old_fcntl_owner when compiling unixoid event loop
Nelson Ferreira [Thu, 22 Mar 2012 01:58:00 +0000 (22:58 -0300)]
Only used old_fcntl_owner when compiling unixoid event loop

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoRemove old file moved away
Nelson Ferreira [Thu, 22 Mar 2012 01:56:26 +0000 (22:56 -0300)]
Remove old file moved away

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>