OSDN Git Service

timidity41/timidity41.git
3 years agoImport UnkoTim237 unkotim unkotim237
Starg [Sun, 27 Sep 2020 02:20:19 +0000 (11:20 +0900)]
Import UnkoTim237

3 years agoImport UnkoTim236 unkotim236
Starg [Sat, 12 Sep 2020 09:15:49 +0000 (18:15 +0900)]
Import UnkoTim236

3 years agoImport UnkoTim235 unkotim235
Starg [Mon, 3 Aug 2020 09:43:31 +0000 (18:43 +0900)]
Import UnkoTim235

4 years agoImport UnkoTim234 unkotim234
Starg [Sun, 12 Jul 2020 00:55:28 +0000 (09:55 +0900)]
Import UnkoTim234

4 years agoImport UnkoTim233 unkotim233
Starg [Sun, 14 Jun 2020 12:58:16 +0000 (21:58 +0900)]
Import UnkoTim233

4 years agoImport UnkoTim232 unkotim232
Starg [Mon, 20 Apr 2020 13:52:24 +0000 (22:52 +0900)]
Import UnkoTim232

4 years agoImport UnkoTim231 unkotim231
Starg [Thu, 26 Mar 2020 14:45:02 +0000 (23:45 +0900)]
Import UnkoTim231

4 years agoImport UnkoTim230 unkotim230
Starg [Sat, 14 Mar 2020 11:45:40 +0000 (20:45 +0900)]
Import UnkoTim230

4 years agoImport UnkoTim228 unkotim228
Starg [Tue, 12 Nov 2019 19:01:19 +0000 (04:01 +0900)]
Import UnkoTim228

4 years agoImport unkotim227 unkotim227
Starg [Thu, 25 Jul 2019 07:49:14 +0000 (16:49 +0900)]
Import unkotim227

5 years agoImport UnkoTim226 unkotim226
Starg [Thu, 11 Jul 2019 10:41:11 +0000 (19:41 +0900)]
Import UnkoTim226

5 years agoImport UnkoTim225 unkotim225
Starg [Fri, 15 Mar 2019 14:19:07 +0000 (23:19 +0900)]
Import UnkoTim225

5 years agoImport UnkoTim224 unkotim224
Starg [Thu, 14 Feb 2019 15:18:14 +0000 (00:18 +0900)]
Import UnkoTim224

5 years agoImport UnkoTim223 unkotim223
Starg [Wed, 16 Jan 2019 16:16:23 +0000 (01:16 +0900)]
Import UnkoTim223

5 years agoImport UnkoTim222 unkotim222
Starg [Fri, 7 Dec 2018 23:39:16 +0000 (08:39 +0900)]
Import UnkoTim222

5 years agoImport UnkoTim221 unkotim221
Starg [Thu, 22 Nov 2018 14:54:55 +0000 (23:54 +0900)]
Import UnkoTim221

5 years agoImport UnkoTim220 unkotim220
Starg [Wed, 19 Sep 2018 14:02:59 +0000 (23:02 +0900)]
Import UnkoTim220

5 years agoImport UnkoTim219 unkotim219
Starg [Sat, 25 Aug 2018 08:48:10 +0000 (17:48 +0900)]
Import UnkoTim219

6 years agoImport UnkoTim218 unkotim218
Starg [Wed, 13 Jun 2018 00:22:02 +0000 (09:22 +0900)]
Import UnkoTim218

6 years agoImport unkotim217 unkotim217
Starg [Sat, 12 May 2018 05:59:41 +0000 (14:59 +0900)]
Import unkotim217

6 years agoImport unkotim216 unkotim216
Starg [Wed, 25 Apr 2018 23:14:23 +0000 (08:14 +0900)]
Import unkotim216

6 years agoImport UnkoTim215 unkotim215
Starg [Wed, 21 Feb 2018 17:12:55 +0000 (02:12 +0900)]
Import UnkoTim215

6 years agoImport UnkoTim214 unkotim214
Starg [Fri, 9 Feb 2018 12:18:41 +0000 (21:18 +0900)]
Import UnkoTim214

6 years agoImport UnkoTim213 unkotim213
Starg [Thu, 11 Jan 2018 01:05:11 +0000 (10:05 +0900)]
Import UnkoTim213

6 years agoImport UnkoTim212 unkotim212
Starg [Thu, 11 Jan 2018 01:02:00 +0000 (10:02 +0900)]
Import UnkoTim212

6 years agoImported UnkoTim211 unkotim211
Starg [Sat, 23 Dec 2017 06:31:10 +0000 (15:31 +0900)]
Imported UnkoTim211

8 years agoImprove the specification of segment play option
TAMUKI Shoichi [Sat, 4 Jun 2016 08:44:17 +0000 (17:44 +0900)]
Improve the specification of segment play option

In addition to [<minutes>:]<seconds>[.<milliseconds>] specification,
<measure>[.<beat>] specification is also now available.
For example: -G11.4-16m

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
8 years agoFix around segment play
TAMUKI Shoichi [Sat, 4 Jun 2016 07:52:16 +0000 (16:52 +0900)]
Fix around segment play

Add a simple workaround to fix the problem that some MIDI files would
not seek forward to the first time segment.

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
8 years agoAdd metronome indicator in dumb interface trace mode
TAMUKI Shoichi [Sat, 28 May 2016 10:40:06 +0000 (19:40 +0900)]
Add metronome indicator in dumb interface trace mode

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
8 years agoFix and improve around segment play
TAMUKI Shoichi [Wed, 25 May 2016 11:31:04 +0000 (20:31 +0900)]
Fix and improve around segment play

- Avoid memory leaks if multiple --segment (-G) options are specified.
  Specifying multiple --segment (-G) options is also now available.
  For example: -G00:30-00:45 -G01:15-01:30
- Avoid segment time deviation when controlling speed up/down by user
  on the fly.
- Avoid double free opt_aq_fill_buff if --audio-buffer (-q) option is
  specified.
- Improve segment playing accuracy with CTLE_CUEPOINT to be handled
  correctly.
- Fix sample_count adjustment in apply_controls() if midi_time_ratio
  is changed.

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
8 years agoAdd support for segment play option (-G, --segment)
TAMUKI Shoichi [Sun, 15 May 2016 08:34:21 +0000 (17:34 +0900)]
Add support for segment play option (-G, --segment)

Play just sub-segment(s) specified by comma separated time segments.
Each time segment defined by dash separated time values of begin-end.
Playing from begin to end.

Signed-off-by: Yotam Medini <yotam.medini@gmail.com>
Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
8 years agoFix --preserve-silence killing the first note.
Alexander Myltsev [Mon, 4 Apr 2016 13:26:03 +0000 (16:26 +0300)]
Fix --preserve-silence killing the first note.

Signed-off-by: Alexander Myltsev <myltsev@yandex-team.ru>
8 years agoinline, defaults to "extern inline" with newer gcc versions
Stian Skjelstad [Mon, 21 Mar 2016 00:03:19 +0000 (01:03 +0100)]
inline, defaults to "extern inline" with newer gcc versions

With newer versions of gcc, "inline" defaults to extern, and not static if
not specified. This causes linking problems at the end of the compile. Most
of this occurences are fixed (or #ifdef'ed away) except these two small
ones in timidity/mfi.c

Signed-off-by: Stian Skjelstad <stian.skjelstad@gmail.com>
8 years agoRemove unowned domain URL from docs.
SATO Kentaro [Sat, 19 Mar 2016 14:22:46 +0000 (23:22 +0900)]
Remove unowned domain URL from docs.

Signed-off-by: SATO Kentaro <kentaro@ranvis.com>
9 years agoautogen.sh: create ChangeLog in a VCS-independent way
TAMUKI Shoichi [Tue, 21 Apr 2015 02:04:52 +0000 (11:04 +0900)]
autogen.sh: create ChangeLog in a VCS-independent way

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
9 years agoFix to Japanese man page
TAMUKI Shoichi [Tue, 21 Apr 2015 02:04:09 +0000 (11:04 +0900)]
Fix to Japanese man page

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
9 years agoautogen.sh: create ChangeLog that is required by automake
Stas Sergeev [Tue, 21 Apr 2015 02:03:21 +0000 (11:03 +0900)]
autogen.sh: create ChangeLog that is required by automake

Signed-off-by: Stas Sergeev <stsp@users.sourceforge.net>
9 years agofixes to man page
Stas Sergeev [Tue, 21 Apr 2015 02:02:23 +0000 (11:02 +0900)]
fixes to man page

Signed-off-by: Stas Sergeev <stsp@users.sourceforge.net>
9 years agoFix coverity memory leak issues
Tobias Markus [Tue, 21 Apr 2015 02:01:13 +0000 (11:01 +0900)]
Fix coverity memory leak issues

Signed-off-by: Tobias Markus <tobbi@mozilla-uk.org>
9 years agoFix reverb buffer-overrun issue
yta [Thu, 21 Aug 2014 02:01:54 +0000 (11:01 +0900)]
Fix reverb buffer-overrun issue

Add code to check the upper limit of the index.  TiMidity++ to buffer-
overrun when the value of the reverb_status_gs.character was a 6 or 7.
info->index is set to a value out of range when the value of the
"Reverb Time" was -64.

Signed-off-by: yta <yta@inter7.jp>
9 years agoFix NULL pointer access issue (Windows audio driver output)
yta [Thu, 21 Aug 2014 02:01:04 +0000 (11:01 +0900)]
Fix NULL pointer access issue (Windows audio driver output)

Add DriverClosing and OutputWorking flags.  If TiMidity++ called
close_output during a stop at output_data, app cause a NULL pointer
access.  After changing, WaitForBuffer(1) to stop until return from
output_data.

Signed-off-by: yta <yta@inter7.jp>
9 years agoUpdate copyright year to 2014
TAMUKI Shoichi [Thu, 14 Aug 2014 22:34:08 +0000 (07:34 +0900)]
Update copyright year to 2014

Update copyright year to 2014 and replace the old e-mail address to
new one.

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
9 years agoFix Windows Driver
yta [Thu, 14 Aug 2014 22:28:50 +0000 (07:28 +0900)]
Fix Windows Driver

Add DriverCallback API.  The driver must call the DriverCallback API.
After changing, some MIDI sequencers will not freeze: XGWorks, Domino,
etc.

Signed-off-by: yta <yta@inter7.jp>
10 years agoFix ssize_t type test and conditional compilation
TAMUKI Shoichi [Mon, 9 Jun 2014 00:02:17 +0000 (09:02 +0900)]
Fix ssize_t type test and conditional compilation

Fix ssize_t type test because older versions of autoconf do not
support AC_TYPE_SSIZE_T macro.  Also, fix conditional compilation for
older versions of MinGW.

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
10 years agoRevert some fix and add ssize_t type test.
SATO Kentaro [Sat, 24 May 2014 11:33:42 +0000 (20:33 +0900)]
Revert some fix and add ssize_t type test.

10 years agoMinor fixes for conditional compile.
SATO Kentaro [Sat, 24 May 2014 11:00:20 +0000 (20:00 +0900)]
Minor fixes for conditional compile.

10 years agoFix HTTPproxy not working on http URL.
SATO Kentaro [Tue, 21 Jun 2011 09:53:27 +0000 (18:53 +0900)]
Fix HTTPproxy not working on http URL.

10 years agoFix crash on sample size change while running.
SATO Kentaro [Sat, 19 Dec 2009 12:58:56 +0000 (21:58 +0900)]
Fix crash on sample size change while running.

10 years agoChange Windows GUI volume slider max.
SATO Kentaro [Sat, 7 May 2011 09:41:44 +0000 (18:41 +0900)]
Change Windows GUI volume slider max.

Volume control of W32GUI interface currently changes
rendering amplification, not playback volume.

10 years agoFix some compilation issues on Windows.
SATO Kentaro [Sat, 7 May 2011 09:41:00 +0000 (18:41 +0900)]
Fix some compilation issues on Windows.

10 years agoUpdate version number in Windows resource.
SATO Kentaro [Thu, 22 May 2014 09:07:41 +0000 (18:07 +0900)]
Update version number in Windows resource.

10 years agoFix tk interface compile with tk8.6
Yair K [Mon, 12 May 2014 21:32:04 +0000 (00:32 +0300)]
Fix tk interface compile with tk8.6

Direct access to interp->result is disallowed in 8.6, so use Tcl_GetStringResult instead. Also increase MAX_TK_MIDI_CHANNELS to fix compile warning.

10 years agoFix ao options crash
Yair K [Mon, 12 May 2014 21:30:13 +0000 (00:30 +0300)]
Fix ao options crash

Initialize ao_options to NULL, so as to avoid crash when no options are specified.

10 years agoPrefix ./ to escape_sjis.pl in Makefile to execute the script
TAMUKI Shoichi [Thu, 12 Dec 2013 02:04:52 +0000 (11:04 +0900)]
Prefix ./ to escape_sjis.pl in Makefile to execute the script

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
10 years agoGleaning various fixes
TAMUKI Shoichi [Wed, 6 Nov 2013 02:43:24 +0000 (11:43 +0900)]
Gleaning various fixes

- Fix vwprintw to fit with newer PDCurses
- Fix control_mode_event args to use ptr_size_t
- Fix read_config_file to be used in another main
- Fix around MIDIOUTCAPS2 in windrv/timiditydrv.c

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
10 years agoRefactor w32_a.c and disable the debug messages
Yale Zhang [Mon, 4 Nov 2013 06:20:57 +0000 (15:20 +0900)]
Refactor w32_a.c and disable the debug messages

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
10 years agoWindows MIDI driver improved
Yale Zhang [Mon, 4 Nov 2013 06:17:55 +0000 (15:17 +0900)]
Windows MIDI driver improved

- Stop sending all MIDI messages to a worker thread to be played.
  Instead, call the event handler directly (with mutual exclusion).
  This simplifies the code and reduces latency.
- Move initialization before worker thread creation - without this,
  TiMidity++ might not be initialized before the 1st message arrives
  (I actually had this problems when using VMPK, which sends a bank &
  program change message immediately on startup)

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
10 years agoFix to fit with MinGW environment
TAMUKI Shoichi [Sun, 3 Nov 2013 10:55:02 +0000 (19:55 +0900)]
Fix to fit with MinGW environment

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
11 years agoAllow setting ao backend options via environment
Yair K [Sat, 20 Oct 2012 18:31:46 +0000 (20:31 +0200)]
Allow setting ao backend options via environment

Let libao backend set ao options via TIMIDITY_AO_OPTIONS environment variable.
The variable accepts "key=value" pairs seperated by commans.
For example:
        TIMIDITY_AO_OPTIONS="use_mmap=1,id=1" for ALSA ao backend.
        TIMIDITY_AO_OPTIONS="server=example.com:4713"
etc.

Notes:
        1. Later options have precendance over earlier ones in libao.
        2. Spaces are not trimmed, but supplied as is.
        3. In case of "key=,", an empty string is passed to ao as value.

11 years agoSigned-off-by: Yair K <cesium2@gmail.com>
Kyle Guinn [Sat, 20 Oct 2012 12:01:08 +0000 (14:01 +0200)]
Signed-off-by: Yair K <cesium2@gmail.com>
Fix typo on timidity.cfg.5.

Fix typo on timidity.cfg.5. Patch sent by Kyle Guinn.

11 years agoRemove tclIndex due to autogenerated file
TAMUKI Shoichi [Wed, 5 Sep 2012 03:26:22 +0000 (12:26 +0900)]
Remove tclIndex due to autogenerated file

auto_mkindex will now run with tclsh instead of wish.

11 years agoMove ChangeLog to ChangeLog.3
TAMUKI Shoichi [Wed, 5 Sep 2012 03:19:43 +0000 (12:19 +0900)]
Move ChangeLog to ChangeLog.3

Remove ChangeLog, it will be generated from git log.

11 years agoXaw interface: minor improvements
Yair K [Mon, 20 Aug 2012 07:33:56 +0000 (09:33 +0200)]
Xaw interface: minor improvements

* Get rid of unnecessary argument to expandDir
* Free memory returned from XawListShowCurrent
* Remove outdated comment from TODO

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
11 years agoInclude xbm bitmaps in the tcl interface itself
Yair K [Mon, 20 Aug 2012 07:32:05 +0000 (09:32 +0200)]
Include xbm bitmaps in the tcl interface itself

Include xbm bitmaps in the tcl interface itself rather than as files in the
system.

Also, include tcl.h a bit later to avoid a redefine warning on reverb.h.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
11 years agoAlways use local OSSv3's midi sequencer definitions
Hans de Goede [Mon, 20 Aug 2012 07:28:51 +0000 (09:28 +0200)]
Always use local OSSv3's midi sequencer definitions

From NetBSD pkgsrc: http://www.netbsd.org/docs/software/packages.html

Both the midi output mode and the server interface try to collect some
local MIDI macro definitions instead of using its own. Problem is some
systems have a 'compatibility' soundcard.h file which is detected by
configure but doesn't have the MIDI defines (e.g. NetBSD's libossaudio).
So always use the internal defines.

Add a comment to server_defs.h to show how to still get the defines from
the system if desired.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
11 years agoBring in some fixes from mikmod.hg.sf.net
Yair K [Mon, 20 Aug 2012 07:25:30 +0000 (09:25 +0200)]
Bring in some fixes from mikmod.hg.sf.net

Bring in some fixes from mikmod.hg.sf.net for CVE-2009-0179, CVE-2009-3996,
CVE-2010-2546 and CVE-2010-2971. Also, staticize most functions as in that
version. Could perhaps use a bit more testing.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
11 years agoRevert for required ctl_speana_data function
Hans de Goede [Mon, 20 Aug 2012 07:22:42 +0000 (09:22 +0200)]
Revert for required ctl_speana_data function

From gentoo timidity++-2.14.0 packages:

This will revert part of the commit from:

http://timidity.git.sourceforge.net/git/gitweb.cgi?p=timidity/timidity;a=commit;h=e73b53437dbc1e57e61dd4d0c1407784797b08d9

Because otherwise TiMidity++ simply won't build as per:

../interface/libinterface.a(xskin_c.o): In function `ctl_event':
xskin_c.c:(.text+0x17c): undefined reference to `ctl_speana_data'
collect2: error: ld returned 1 exit status

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoSync with CVS
Hans de Goede [Thu, 5 Jul 2012 14:09:45 +0000 (16:09 +0200)]
Sync with CVS

Bring in the ChangeLog, NEWS and configure.in updates from the 2.14.0 release.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoXaw: Fix a possible crash
Yair K [Thu, 5 Jul 2012 14:07:15 +0000 (16:07 +0200)]
Xaw: Fix a possible crash

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoXaw: Correctly cut off text in the trace'sinstrument name column correctly
Yair K [Thu, 5 Jul 2012 14:05:21 +0000 (16:05 +0200)]
Xaw: Correctly cut off text in the trace'sinstrument name column correctly

The attached diff makes the trace cut off text in the instrument name column
correctly in the Xft case.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoXaw: Make a double-click open/save a file in the dialogs
Yair K [Thu, 5 Jul 2012 14:04:03 +0000 (16:04 +0200)]
Xaw: Make a double-click open/save a file in the dialogs

Also remove some useless casts, and a no longer necessary action
(do-popdown()).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoContinue the dynamic interface loading loop if dl_load_file fails
Yair K [Thu, 5 Jul 2012 14:01:51 +0000 (16:01 +0200)]
Continue the dynamic interface loading loop if dl_load_file fails

Earlier, it simply returned NULL in that case, which meant that if an dlopen
failed at an dynamic interface loaded before arriving at the desired
interface (say, because of missing dependencies or bad symlink) one couldn't
load said desired (dynamically-linked) interface at all.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoVarious fixes
Yair K [Mon, 11 Jun 2012 20:04:17 +0000 (22:04 +0200)]
Various fixes

-make the play button activate when autostarting a saved list and when saving
 a file (two chunks).
- add a few consts (not needed by most compilers)
- add some keysyms of the numeric keyboard to the resource files

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoxaw interface: various fixes
Yair K [Mon, 11 Jun 2012 14:30:51 +0000 (16:30 +0200)]
xaw interface: various fixes

-There was an off-by-one in the ARGB converter.
-Make sure the pause button can't be set when not playing
-and visa versa for the play button
-leak less memory

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoxaw: Setup _NET_WM_ICON correctly
Yair K [Sat, 2 Jun 2012 08:39:55 +0000 (10:39 +0200)]
xaw: Setup _NET_WM_ICON correctly

Having upgraded to a new KDE version, I noticed the task switcher didn't
display timidity's thumbnail. Apparently it doesn't acknowledge the
WM_HINTS bitmap.

So the attached diff includes a trivial converter (1bit bitmap->ARGB) to set
up _NET_WM_ICON correctly. It uses the simple timidity.xbm icon (I also had a
version using the color icon from pixmap/timidity.xpm but I prefer this icon -
I could add that as an option).

The diff also includes some #include rationalization and resource renaming
("noPlaying" had a different spelling in .ad files vs the code).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoSync ChangeLog with CVS
Hans de Goede [Fri, 1 Jun 2012 15:45:10 +0000 (17:45 +0200)]
Sync ChangeLog with CVS

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoUse AS_HELP_STRING to make the --help output more readable
Takashi Iwai [Wed, 30 May 2012 13:22:41 +0000 (15:22 +0200)]
Use AS_HELP_STRING to make the --help output more readable

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoFix type-punning in smplfile.c
Takashi Iwai [Wed, 30 May 2012 13:22:40 +0000 (15:22 +0200)]
Fix type-punning in smplfile.c

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoFix the missing return value in emacs_c.c
Takashi Iwai [Wed, 30 May 2012 13:22:39 +0000 (15:22 +0200)]
Fix the missing return value in emacs_c.c

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoAdd the lzma decompression support
Takashi Iwai [Wed, 30 May 2012 13:22:38 +0000 (15:22 +0200)]
Add the lzma decompression support

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoAdd missing quotes in autoconf/utils.m4
Takashi Iwai [Wed, 30 May 2012 13:22:37 +0000 (15:22 +0200)]
Add missing quotes in autoconf/utils.m4

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoAdd missing void argument for function declarations
Takashi Iwai [Wed, 30 May 2012 13:22:36 +0000 (15:22 +0200)]
Add missing void argument for function declarations

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoFix the faulty check of parameters in server_c.c:control_getcmd()
Takashi Iwai [Wed, 30 May 2012 13:22:35 +0000 (15:22 +0200)]
Fix the faulty check of parameters in server_c.c:control_getcmd()

The check of the array size in server_c.c:control_getcmd() is wrong
as the nparmas is incremeted after the check with MAX_GETCMD_PARAMS.
Also, there are other bugs that *nparams isn't initialized when the
first token is NULL, etc.  Overall, the code is unnecessarily tricky.

This patch simplifies the code and fixes the array size check.

Bugzila: https://bugzilla.novell.com/show_bug.cgi?id=517719
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoFix possible invalid access below the array range
Takashi Iwai [Wed, 30 May 2012 13:22:33 +0000 (15:22 +0200)]
Fix possible invalid access below the array range

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoCorrectly apply CurVol setting in ~/.xtimidity
Yair K [Tue, 29 May 2012 08:52:51 +0000 (10:52 +0200)]
Correctly apply CurVol setting in ~/.xtimidity

Make the player correctly apply CurVol setting in ~/.xtimidity (timidity
ignores RC_CHANGE_VOLUME when not playing, so do it more directly) (all
issues except the first existed in the original 2.13.2 interface).

Also fix:
-Make the check mark disappear also the first time trace is unhidden
-Do not allow the playbutton to activate when no files are loaded

This should do for 2.14.0.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoRevert old spectogram workaround
Yair K [Tue, 29 May 2012 08:51:18 +0000 (10:51 +0200)]
Revert old spectogram workaround

An old change of mine to miditrace.c was made to allow the spectrogram
(usually attached to 'g' key) to work in trace mode (can't remember if
the problem was in the xaw interface alone or not). Apparently, this
caused problems on the mac interface which led to the ifdef next door
(didn't notice this at the time). Now, local testing shows it's no
longer necessary on unix. So I suggest reverting it for simpler code.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoMake mute show
Yair K [Tue, 29 May 2012 08:48:58 +0000 (10:48 +0200)]
Make mute show

Unmuting a channel (right click) didn't show immediatlely due to an off by one
in the snprintf in drawMute. Also another off by one in xdnd.c and some
comment and style changes.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoXaw: unbreak xdnd
Yair K [Tue, 22 May 2012 12:56:24 +0000 (14:56 +0200)]
Xaw: unbreak xdnd

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoFix compiler warnings from clang
Yair K [Fri, 18 May 2012 09:17:08 +0000 (11:17 +0200)]
Fix compiler warnings from clang

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoconfigure: Fix building with X11 based userinterfaces builtin
Hans de Goede [Fri, 18 May 2012 09:13:37 +0000 (11:13 +0200)]
configure: Fix building with X11 based userinterfaces builtin

Reported-by: Yair K. <cesium2@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoImprove timidity default settings
Yair K [Fri, 18 May 2012 08:38:14 +0000 (10:38 +0200)]
Improve timidity default settings

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoxaw interface update
Yair K [Wed, 16 May 2012 15:31:04 +0000 (17:31 +0200)]
xaw interface update

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoxaw-interface: Fix crash when MAX_CHANNELS > 32
Yair K [Wed, 16 May 2012 15:22:23 +0000 (17:22 +0200)]
xaw-interface: Fix crash when MAX_CHANNELS > 32

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoAdd a trysource config file directive
Hans de Goede [Wed, 16 May 2012 14:45:22 +0000 (16:45 +0200)]
Add a trysource config file directive

Add a "trysource" config file directive, which allows to try and source
other config files, while continuing without error if the specified file
is missing.

Also cleanup the user config loading code using this new functionality.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoconfigure: Fix building of dynamic user interfaces
Hans de Goede [Wed, 16 May 2012 16:11:14 +0000 (18:11 +0200)]
configure: Fix building of dynamic user interfaces

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoUpdate Makefile.am for autogen.sh
Shoichi Tamuki [Thu, 29 Dec 2011 23:20:29 +0000 (23:20 +0000)]
Update Makefile.am for autogen.sh

12 years agoAdd autogen.sh
Shoichi Tamuki [Thu, 29 Dec 2011 23:04:52 +0000 (23:04 +0000)]
Add autogen.sh

12 years agoRemove due to autogenerated file
Shoichi Tamuki [Thu, 29 Dec 2011 22:14:19 +0000 (22:14 +0000)]
Remove due to autogenerated file

12 years agoFix to fit with libpng 1.5 and newer
Shoichi Tamuki [Thu, 22 Dec 2011 12:47:55 +0000 (12:47 +0000)]
Fix to fit with libpng 1.5 and newer

12 years ago[PATCH 18/18] configure: Don't add -lX11 to the generic LIBS
Shoichi Tamuki [Thu, 22 Dec 2011 12:45:11 +0000 (12:45 +0000)]
[PATCH 18/18] configure: Don't add -lX11 to the generic LIBS

This stops timidity itself from depending on libX11 even when build
without any interfaces builtin which need libX11.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 configure.in |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)