projects/chimara/chimara.git
13 years agoGet rid of compile warning in error.c
P. F. Chimento [Tue, 5 Apr 2011 19:37:09 +0000 (21:37 +0200)]
Get rid of compile warning in error.c

13 years agoSet CSS file from preferences dialog
P. F. Chimento [Sun, 13 Mar 2011 19:36:56 +0000 (20:36 +0100)]
Set CSS file from preferences dialog

Now you can set a custom CSS file from the preferences dialog and it
will be remembered across runs of the program.

13 years agoFix null pointer bug
P. F. Chimento [Sun, 13 Mar 2011 19:35:55 +0000 (20:35 +0100)]
Fix null pointer bug

Fixed a null pointer access in chimara_glk_set_css_from_file() when
passing NULL as the error parameter.

13 years agoDeactivate CSS editor for now
P. F. Chimento [Sun, 13 Mar 2011 14:55:21 +0000 (15:55 +0100)]
Deactivate CSS editor for now

We should have the CSS editor controls grayed out until they actually do
something.

13 years agoMove construction to glade file
Philip Chimento [Sun, 13 Mar 2011 00:02:22 +0000 (01:02 +0100)]
Move construction to glade file

Do as much construction as possible in the glade file, instead of in
hand-written code. Removed use of GtkFixed widget.

13 years agoFinished preferred interpreters list
P. F. Chimento [Sat, 12 Mar 2011 10:54:07 +0000 (11:54 +0100)]
Finished preferred interpreters list

You can now select which interpreter should load which format by default,
in the last page of the preferences window.

13 years agoList all available formats in dialog
P. F. Chimento [Thu, 10 Mar 2011 21:45:19 +0000 (22:45 +0100)]
List all available formats in dialog

13 years agoDynamically generate list of interpreters
P. F. Chimento [Thu, 10 Mar 2011 21:26:53 +0000 (22:26 +0100)]
Dynamically generate list of interpreters

13 years agoImplemented display names for interpreters
P. F. Chimento [Thu, 10 Mar 2011 21:11:34 +0000 (22:11 +0100)]
Implemented display names for interpreters

In preferred interpreters preferences

13 years agoWorking on preferred interpreters
P. F. Chimento [Thu, 10 Mar 2011 06:56:52 +0000 (07:56 +0100)]
Working on preferred interpreters

13 years agoLoad preferred interpreters from preferences
P. F. Chimento [Thu, 10 Mar 2011 05:59:01 +0000 (06:59 +0100)]
Load preferred interpreters from preferences

Not editable yet, but that's the next step.

13 years agoUpdate ignore properties
P. F. Chimento [Wed, 9 Mar 2011 22:01:00 +0000 (23:01 +0100)]
Update ignore properties

13 years agoUse better dictionary syntax in schema file
P. F. Chimento [Wed, 9 Mar 2011 21:58:11 +0000 (22:58 +0100)]
Use better dictionary syntax in schema file

Dictionaries can actually be entered using Python syntax. This is much
clearer than how it was done before.

13 years agoFix RPM building
Philip Chimento [Mon, 7 Mar 2011 21:36:22 +0000 (22:36 +0100)]
Fix RPM building

There was more broken with RPM building than just the GSettings schemas,
now it's fixed.

13 years agoFix GSettings schema install (fix #18)
Philip Chimento [Mon, 7 Mar 2011 21:34:37 +0000 (22:34 +0100)]
Fix GSettings schema install (fix #18)

Debian building should work now, I'll test more thoroughly shortly.

13 years agoAdd preference for graphics file directory
Philip Chimento [Sun, 6 Mar 2011 21:43:51 +0000 (22:43 +0100)]
Add preference for graphics file directory

You can now set a preference for the default directory in which to look
for graphics resource files for older Infocom games. Unfortnately, these
resource files still mysteriously don't work, but it's a start.

13 years agoUse callbacks of style editing buttons
Philip Chimento [Tue, 1 Mar 2011 21:01:54 +0000 (22:01 +0100)]
Use callbacks of style editing buttons

Instead of using the GtkActions I removed in the last commit

13 years agoRemoved style actions from preferences dialog
Philip Chimento [Tue, 1 Mar 2011 20:52:32 +0000 (21:52 +0100)]
Removed style actions from preferences dialog

The style actions aren't needed anymore, we should use callbacks, and
the functionality doesn't work yet anyway.

13 years agoAdded new preferences and settings
Philip Chimento [Tue, 1 Mar 2011 20:51:33 +0000 (21:51 +0100)]
Added new preferences and settings

Added some new widgets to the preferences dialog and some settings to go
with them.

13 years agoAdd a View/Toolbar setting
Philip Chimento [Mon, 28 Feb 2011 00:51:53 +0000 (01:51 +0100)]
Add a View/Toolbar setting

A good setting to demonstrate one-way binding is the View/Toolbar
setting. When the menu item is switched on or off, we want to update the
setting, but not the other way around. This is so that when you have
multiple windows, turning the toolbar off in one doesn't turn the
toolbar off in the others, but when you open a new window, the toolbar
is shown or hidden depending on the last choice you made.

13 years agoCreate configuration directory
Philip Chimento [Sun, 27 Feb 2011 12:09:56 +0000 (13:09 +0100)]
Create configuration directory

On startup, the player application now creates a configuration
directory, ~/.chimara. The preferences file is ~/.chimara/config, unless
there is a file chimara-config in the current directory, in which case
it will be overridden.

13 years agoAdd 'state' settings; add last opened path setting
Philip Chimento [Sun, 27 Feb 2011 11:49:48 +0000 (12:49 +0100)]
Add 'state' settings; add last opened path setting

The settings file now discriminates between 'preferences' settings,
which the user sets from the preferences dialog, and 'state' settings,
which are things remembered by the program.

As an example state setting, the program now remembers the last path a
game was opened from, and automatically starts the file chooser in that
path when opening a game.

13 years agoProperly install gschema file
Philip Chimento [Sun, 27 Feb 2011 09:13:28 +0000 (10:13 +0100)]
Properly install gschema file

Use the official autoconf and makefile rules for installing the gschema
file.

13 years agoIntroduce preferences file
Philip Chimento [Sat, 26 Feb 2011 16:15:35 +0000 (17:15 +0100)]
Introduce preferences file

We now use a GSettings object with a custom backend that writes to a
configuration file, ~/.chimara. Right now there is only one example
setting, "flep". It's easy to bind the setting to a property of another
GObject, like the "active" property of a checkbox.

Still need to check how other GLib applications install the settings
file properly in their Makefile.am, and how to work with a default
configuration file such as /etc/chimara if the one in the home directory
is not present.

13 years agoUse internationalization header for libraries
Philip Chimento [Wed, 16 Feb 2011 23:58:32 +0000 (00:58 +0100)]
Use internationalization header for libraries

Use <glib/gi18n-lib.h> instead of <glib/gi18n.h>.

13 years agoProper state of new hyperlinks' event handlers
Philip Chimento [Wed, 16 Feb 2011 23:55:01 +0000 (00:55 +0100)]
Proper state of new hyperlinks' event handlers

Fixes #17. New hyperlinks' event handler callbacks were blocked by
default at creation, but they should be unblocked if there is currently
a hyperlink event request pending in the window.

13 years agoProper use of AC_ARG_ENABLE
Philip Chimento [Tue, 8 Feb 2011 00:14:10 +0000 (01:14 +0100)]
Proper use of AC_ARG_ENABLE

Inspired by Rob Bradford's http://www.robster.org.uk/blog/?p=134

13 years agoFixing #15: handling newlines in textgrids
Marijn van Vliet [Mon, 7 Feb 2011 14:55:37 +0000 (15:55 +0100)]
Fixing #15: handling newlines in textgrids

13 years agoRemoved SVN ignore files and updated Git ones
Philip Chimento [Sat, 5 Feb 2011 01:19:37 +0000 (02:19 +0100)]
Removed SVN ignore files and updated Git ones

13 years agoFix bug in Frotz option parsing
Philip Chimento [Sat, 5 Feb 2011 01:18:37 +0000 (02:18 +0100)]
Fix bug in Frotz option parsing

The '-i' option was mistakenly instructed to swallow a value.

13 years agoClean up external Blorb file finding code
Philip Chimento [Sat, 5 Feb 2011 00:48:11 +0000 (01:48 +0100)]
Clean up external Blorb file finding code

Moved the code that looks for an external Blorb file to the player, so
the default path can become a setting in the preferences window. Also,
passing an extra file name on the command line when starting the player
also indicates an external resource file.

13 years agoReinstated 'Open Recent' menu
Philip Chimento [Fri, 4 Feb 2011 23:44:31 +0000 (00:44 +0100)]
Reinstated 'Open Recent' menu

And added a configure option, '--disable-recent' to skip it, in order to
work around the GTK Quartz bug on OS X that makes the player crash.

13 years agoRe-added toolbar with menu item to show or hide it
Philip Chimento [Fri, 4 Feb 2011 17:29:25 +0000 (18:29 +0100)]
Re-added toolbar with menu item to show or hide it

13 years agoClean up action group code
Philip Chimento [Fri, 4 Feb 2011 17:13:25 +0000 (18:13 +0100)]
Clean up action group code

13 years agoFix program for GStreamer < 0.10.31
Philip Chimento [Wed, 2 Feb 2011 23:16:27 +0000 (00:16 +0100)]
Fix program for GStreamer < 0.10.31

It seems that gst_is_initialized() wasn't added until version 0.10.31.
And it just so happens that Ubuntu 10.10 has 0.10.30, so compilation
was failing.

13 years agoCheck for GStreamer plugins individually
Philip Chimento [Mon, 31 Jan 2011 00:52:51 +0000 (01:52 +0100)]
Check for GStreamer plugins individually

In configure.ac, check for individual GStreamer plugins, instead of
requiring gstreamer-plugins-bad-0.10.pc. This is because Ubuntu doesn't
have a devel package for gstreamer-plugins-bad, and we don't actually
link against that library - we just dynamically open it.

13 years agoProvide blorb file to interpreter on command line
P. F. Chimento [Sun, 30 Jan 2011 17:49:53 +0000 (18:49 +0100)]
Provide blorb file to interpreter on command line

Apparently both interpreters have the undocumented command line option
of providing an extra file name on the command line, which is the Blorb
resource file. We now take advantage of this.

13 years agoAdded hack for opening external Blorb file
P. F. Chimento [Sun, 30 Jan 2011 17:34:03 +0000 (18:34 +0100)]
Added hack for opening external Blorb file

However, something is preventing it from working with the old Infocom
games.

13 years agoAdded calls to set the preferred interpreter
P. F. Chimento [Sun, 30 Jan 2011 16:40:26 +0000 (17:40 +0100)]
Added calls to set the preferred interpreter

The preferred interpreter can now be set in player/main.c by simply
changing one of the calls to chimara_if_set_preferred_interpreter().

13 years agoMerge branch 'sound'
P. F. Chimento [Sun, 30 Jan 2011 16:10:37 +0000 (17:10 +0100)]
Merge branch 'sound'

Conflicts:
tests/Makefile.am

13 years agoCheck for proper plugins in configure
P. F. Chimento [Sun, 30 Jan 2011 16:02:54 +0000 (17:02 +0100)]
Check for proper plugins in configure

Plugins from gstreamer-plugins-base and gstreamer-plugins-bad are
required for proper sound support.

13 years agoEnabled MOD/S3M/IT/XM support
P. F. Chimento [Sun, 30 Jan 2011 16:01:06 +0000 (17:01 +0100)]
Enabled MOD/S3M/IT/XM support

With this commit, sound support should be finished completely!

13 years agoMerge branch 'master' of github.com:wmvanvliet/Chimara
P. F. Chimento [Sun, 30 Jan 2011 15:41:28 +0000 (16:41 +0100)]
Merge branch 'master' of github.com:wmvanvliet/Chimara

Conflicts:
player/style.css

13 years agoBackground color of windows now changes with garglk_set_reversevideo()
Marijn van Vliet [Sun, 30 Jan 2011 15:36:30 +0000 (16:36 +0100)]
Background color of windows now changes with garglk_set_reversevideo()

13 years agoImplemented sound notification events
P. F. Chimento [Sun, 30 Jan 2011 15:24:05 +0000 (16:24 +0100)]
Implemented sound notification events

Sound notification events now work.

13 years agoFixed memory leak
P. F. Chimento [Sun, 30 Jan 2011 15:05:35 +0000 (16:05 +0100)]
Fixed memory leak

13 years agoImplement alternative resource loading for sound
P. F. Chimento [Sun, 30 Jan 2011 15:02:58 +0000 (16:02 +0100)]
Implement alternative resource loading for sound

Sound resources can now be loaded from an alternative location using the
ChimaraGlk resource loading callback. This is tested in the test
program.

13 years agoOverhauled the whole reverse video thing.
Marijn van Vliet [Sun, 30 Jan 2011 14:44:50 +0000 (15:44 +0100)]
Overhauled the whole reverse video thing.

13 years agoAdded test case for various sound functions
P. F. Chimento [Sun, 30 Jan 2011 14:24:40 +0000 (15:24 +0100)]
Added test case for various sound functions

13 years agoImplemented sound repeats
P. F. Chimento [Sun, 30 Jan 2011 13:40:36 +0000 (14:40 +0100)]
Implemented sound repeats

Now you can request a sound to be played a certain number of times, or
to loop forever.

13 years agoImplemented sound load hints
P. F. Chimento [Sun, 30 Jan 2011 13:17:47 +0000 (14:17 +0100)]
Implemented sound load hints

Sound load hints work, at least for Blorb resources.

13 years agoStop playing old sound when playing new sound
P. F. Chimento [Sun, 30 Jan 2011 12:44:25 +0000 (13:44 +0100)]
Stop playing old sound when playing new sound

Sound playing now stops any previous sound already playing on that sound
channel.

13 years agoSound support working!
P. F. Chimento [Sun, 30 Jan 2011 00:45:59 +0000 (01:45 +0100)]
Sound support working!

Sounds now play as they should.

13 years agoWorking on sound support
P. F. Chimento [Sun, 30 Jan 2011 00:13:23 +0000 (01:13 +0100)]
Working on sound support

Playing sounds more than once now works, but not playing an AIFF sound
after an OGG sound or vice versa.

13 years agoWork on sound support
P. F. Chimento [Sun, 30 Jan 2011 00:00:24 +0000 (01:00 +0100)]
Work on sound support

Now supports playing AIFF and OGG sounds only once.

13 years agoFixes for garglk_set_zcolors()
Marijn van Vliet [Sat, 29 Jan 2011 22:47:05 +0000 (23:47 +0100)]
Fixes for garglk_set_zcolors()

13 years agoChange less-like behavior of pager
P. F. Chimento [Sat, 29 Jan 2011 21:59:47 +0000 (22:59 +0100)]
Change less-like behavior of pager

The behavior of the pager was based on the paging program 'less': the
enter key scrolls down one line (in GTK terms a 'step increment') and
the space bar scrolls down one page. People probably don't want to page
through interactive fiction one line at a time, and so expect the enter
key to scroll down a page. The enter key now does the same as a space
bar. To scroll line by line, use the mouse wheel or the scroll bar
arrows.

13 years agoFinished implementing garglk_set_zcolors()
Marijn van Vliet [Sat, 29 Jan 2011 17:36:08 +0000 (18:36 +0100)]
Finished implementing garglk_set_zcolors()

13 years agoImproved default styles
P. F. Chimento [Sat, 29 Jan 2011 16:33:17 +0000 (17:33 +0100)]
Improved default styles

Defined the default styles so as to be as accommodating as possible to
the largest possible number of games. In particular, games that abuse
the "Header" style to print bold text.

13 years agoMerge branch 'master' of https://github.com/wmvanvliet/Chimara
Marijn van Vliet [Sat, 29 Jan 2011 16:04:08 +0000 (17:04 +0100)]
Merge branch 'master' of https://github.com/wmvanvliet/Chimara

Conflicts:
libchimara/garglk.c

13 years agoBegan garglk_set_zcolors() implementation
Marijn van Vliet [Sat, 29 Jan 2011 16:02:04 +0000 (17:02 +0100)]
Began garglk_set_zcolors() implementation

13 years agoFixed pixbuf ref bug
P. F. Chimento [Sat, 29 Jan 2011 15:46:44 +0000 (16:46 +0100)]
Fixed pixbuf ref bug

Bug introduced by alternative resource loading.

13 years agoMerge branch 'master' of github.com:wmvanvliet/Chimara
P. F. Chimento [Sat, 29 Jan 2011 14:33:39 +0000 (15:33 +0100)]
Merge branch 'master' of github.com:wmvanvliet/Chimara

13 years agoUpdated interpreters
P. F. Chimento [Sat, 29 Jan 2011 14:31:35 +0000 (15:31 +0100)]
Updated interpreters

All bundled interpreters are now current with revision 496 of Gargoyle's
interpreters. Added new Gargoyle extension functions to garglk.c and
garglk.h.

13 years agoMerge branch 'master' of https://github.com/wmvanvliet/Chimara
Marijn van Vliet [Sat, 29 Jan 2011 13:46:04 +0000 (14:46 +0100)]
Merge branch 'master' of https://github.com/wmvanvliet/Chimara

13 years ago * Fixed garglk_set_reversevideo to use the new way styles are handled.
Marijn van Vliet [Sat, 29 Jan 2011 13:43:55 +0000 (14:43 +0100)]
 * Fixed garglk_set_reversevideo to use the new way styles are handled.
 * GtkTextTags are no longer shared between GtkTextBuffers, as this
   is not allowed.

13 years agoWorking on sound
Philip Chimento [Sat, 29 Jan 2011 12:38:52 +0000 (13:38 +0100)]
Working on sound

13 years agoImplemented sound playing with test sound
Philip Chimento [Wed, 19 Jan 2011 18:32:33 +0000 (19:32 +0100)]
Implemented sound playing with test sound

Implemented glk_schannel_play() and glk_schannel_stop() with a 440 Hz
sine wave as a test sound. This sound is played no matter what resource
number you pass to glk_schannel_play() and keeps going until you call
glk_schannel_stop().

13 years agoMerge branch 'master' of github.com:wmvanvliet/Chimara
P. F. Chimento [Sat, 15 Jan 2011 12:10:07 +0000 (13:10 +0100)]
Merge branch 'master' of github.com:wmvanvliet/Chimara

13 years agoGet library to build on Debian stable
P. F. Chimento [Sat, 15 Jan 2011 12:09:08 +0000 (13:09 +0100)]
Get library to build on Debian stable

gio/gio.h isn't included by default in the old version of GLib that is
in the Debian stable distribution.

13 years agoMerge branch 'master' of github.com:wmvanvliet/Chimara
Philip Chimento [Tue, 11 Jan 2011 20:01:41 +0000 (15:01 -0500)]
Merge branch 'master' of github.com:wmvanvliet/Chimara

13 years agoAlso trigger the "command" signal on char input
Philip Chimento [Tue, 11 Jan 2011 07:37:00 +0000 (02:37 -0500)]
Also trigger the "command" signal on char input

Character input should also trigger the ChimaraIF::command signal.

13 years agoFixed issue when setting a 'proportional' style hint.
Marijn van Vliet [Sun, 9 Jan 2011 22:55:31 +0000 (23:55 +0100)]
Fixed issue when setting a 'proportional' style hint.

13 years agoFix ref bug in plugin loader test
Philip Chimento [Wed, 5 Jan 2011 21:49:10 +0000 (16:49 -0500)]
Fix ref bug in plugin loader test

The Chimara widget should have a reference added to it.

13 years agoImplement glk_schannel_set_volume()
Philip Chimento [Wed, 5 Jan 2011 21:55:52 +0000 (16:55 -0500)]
Implement glk_schannel_set_volume()

Implement setting volume on sound channels using the GStreamer "volume"
element.

13 years agoAdd test plugin for sound functions
Philip Chimento [Wed, 5 Jan 2011 21:54:34 +0000 (16:54 -0500)]
Add test plugin for sound functions

Add a test plugin, to be loaded with plugin-loader, for various testing
of sound functions.

13 years agoFix ref bug in plugin loader test
Philip Chimento [Wed, 5 Jan 2011 21:49:10 +0000 (16:49 -0500)]
Fix ref bug in plugin loader test

The Chimara widget should have a reference added to it.

13 years agoFix stylehint size bug
Philip Chimento [Wed, 5 Jan 2011 19:19:50 +0000 (14:19 -0500)]
Fix stylehint size bug

The "size" stylehint should use the GtkTextTag "scale" property, not
the "size" property - this way, the relative size is independent of the
default font size. The bug was that the "size" property should be given
in Pango units, not points, but now the "size" property isn't used at
all.

13 years agoAdd test case for stylehint size bug
Philip Chimento [Wed, 5 Jan 2011 18:36:30 +0000 (13:36 -0500)]
Add test case for stylehint size bug

Setting a "size" stylehint on a style makes any text printed in that
style invisible. This is a test case for that bug.

13 years agoFix #ifdefs
Philip Chimento [Tue, 28 Dec 2010 17:04:58 +0000 (18:04 +0100)]
Fix #ifdefs

13 years agoUse gst_object_unref() instead of g_object_unref()
Philip Chimento [Tue, 28 Dec 2010 17:03:37 +0000 (18:03 +0100)]
Use gst_object_unref() instead of g_object_unref()

13 years agoAdded guards for compiling without GStreamer
Philip Chimento [Tue, 28 Dec 2010 16:53:13 +0000 (17:53 +0100)]
Added guards for compiling without GStreamer

The GStreamer code should be protected everywhere with #ifdef's so that
the library will still build without GStreamer support.

13 years agoImprove error handling
Philip Chimento [Tue, 28 Dec 2010 16:32:15 +0000 (17:32 +0100)]
Improve error handling

Interrupt glk_schannel_create() and print warnings if GStreamer functions
fail

13 years agoStart work on sound capabilities
Philip Chimento [Tue, 28 Dec 2010 13:57:16 +0000 (14:57 +0100)]
Start work on sound capabilities

Compile with GStreamer libraries. Implement creation of Glk sound
channel objects containing GStreamer pipelines.

13 years agoAdded test game for sound
Philip Chimento [Tue, 28 Dec 2010 13:55:16 +0000 (14:55 +0100)]
Added test game for sound

13 years agoFixed some default styling
Marijn van Vliet [Sun, 19 Dec 2010 10:58:46 +0000 (11:58 +0100)]
Fixed some default styling

13 years agoFixed default font retrieval for windows. This caused a minor issue with
Marijn van Vliet [Sat, 18 Dec 2010 23:44:27 +0000 (00:44 +0100)]
Fixed default font retrieval for windows. This caused a minor issue with
textgrid size calcuations.

13 years agoAdded _input_pending functions to docs
P. F. Chimento [Tue, 23 Nov 2010 00:05:02 +0000 (01:05 +0100)]
Added _input_pending functions to docs

Added the chimara_glk_is_{line,char}_input_pending() functions to the
documentation.

13 years agoWrote chimara_glk_set_resource_load_callback()
P. F. Chimento [Tue, 23 Nov 2010 00:01:29 +0000 (01:01 +0100)]
Wrote chimara_glk_set_resource_load_callback()

Added a function for providing an alternate mechanism for loading
resources, as described in the Blorb specification, section 14. This
function allows the host program to specify a callback which the Glk
program will call when a resource is requested and no Blorb resource map
is loaded.

13 years agoFixed threading bug in graphics
P. F. Chimento [Mon, 22 Nov 2010 23:50:26 +0000 (00:50 +0100)]
Fixed threading bug in graphics

flush_window_buffer() requests the GDK lock, but it was called with the
GDK lock already acquired in draw_image_common(). How this managed not
to freeze before, I don't know.

13 years agoFixed minor bug in glk_image_get_info()
P. F. Chimento [Mon, 22 Nov 2010 22:14:19 +0000 (23:14 +0100)]
Fixed minor bug in glk_image_get_info()

13 years agoFix crash when loading resource without a map
P. F. Chimento [Mon, 22 Nov 2010 20:54:41 +0000 (21:54 +0100)]
Fix crash when loading resource without a map

The Glk program now fails gracefully when trying to load an image
resource without having loaded a resource map first: it prints a warning
and doesn't load the image, instead of crashing.

13 years agoAdded API to tell whether forced input is pending
P. F. Chimento [Sun, 21 Nov 2010 01:04:52 +0000 (02:04 +0100)]
Added API to tell whether forced input is pending

Added the functions
  chimara_glk_is_char_input_pending()
  chimara_glk_is_line_input_pending()

13 years agoImplemented interactive mode
P. F. Chimento [Sun, 21 Nov 2010 00:45:21 +0000 (01:45 +0100)]
Implemented interactive mode

The ChimaraGlk:interactive-mode property didn't do anything yet, but it
now disables paging when TRUE. When input scrolls off the screen, the
screen now scrolls down with it.

13 years agoFixed crash in ChimaraIF::command
P. F. Chimento [Fri, 19 Nov 2010 21:58:57 +0000 (22:58 +0100)]
Fixed crash in ChimaraIF::command

Fixed the threading bug in ChimaraIF::command.

13 years agoAdded test case for crash in ChimaraIF::command
P. F. Chimento [Fri, 19 Nov 2010 21:55:32 +0000 (22:55 +0100)]
Added test case for crash in ChimaraIF::command

There is a gdk_threads_enter/leave missing somewhere, because using GTK
calls from the signal handler of the ChimaraIF::command signal causes an
X error.

13 years agoFixed buffers and grids sharing the same styles
P. F. Chimento [Wed, 17 Nov 2010 21:14:06 +0000 (22:14 +0100)]
Fixed buffers and grids sharing the same styles

Two separate text tags should be created, one for text buffers, the
other for grids. Otherwise they share each other's styles (i.e. reverse
video on text grids.)

13 years agoUpdated glulxe's Makefile.am
P. F. Chimento [Wed, 17 Nov 2010 21:13:09 +0000 (22:13 +0100)]
Updated glulxe's Makefile.am

Updated glulxe's Makefile.am, based on glulxe's original Makefile

13 years agoFewer unnecessary recompiles of git
P. F. Chimento [Wed, 17 Nov 2010 21:11:26 +0000 (22:11 +0100)]
Fewer unnecessary recompiles of git

Making the automatically-generated version.h depend on Makefile.am
instead of Makefile prevents git from being fully recompiled every time
configure is run.

13 years agoEdited documentation of ChimaraIF::command signal
P. F. Chimento [Wed, 17 Nov 2010 21:10:13 +0000 (22:10 +0100)]
Edited documentation of ChimaraIF::command signal

The documentation did not mention that the signal can be generated with
the "input" parameter equal to NULL.