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
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.
Philip Chimento [Tue, 28 Dec 2010 13:55:16 +0000 (14:55 +0100)]
Added test game for sound
Marijn van Vliet [Sun, 19 Dec 2010 10:58:46 +0000 (11:58 +0100)]
Fixed some default styling
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.
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.
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.
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.
P. F. Chimento [Mon, 22 Nov 2010 22:14:19 +0000 (23:14 +0100)]
Fixed minor bug in glk_image_get_info()
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.
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()
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.
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.
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.
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.)
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
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.
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.
P. F. Chimento [Sat, 13 Nov 2010 00:20:21 +0000 (01:20 +0100)]
Fixed memory management in styles
Added a free for the StyleSets that were leaked, and fixed a double
unref of text tags that was causing lots of warnings when closing the
widget. Also added a test case.
P. F. Chimento [Sat, 13 Nov 2010 00:08:04 +0000 (01:08 +0100)]
Merge branch 'master' of github.com:wmvanvliet/Chimara
P. F. Chimento [Sat, 13 Nov 2010 00:07:17 +0000 (01:07 +0100)]
Fixed example program in documentation
The example program in ChimaraGlk's documentation had a bug in it.
Philip Chimento [Wed, 10 Nov 2010 19:32:29 +0000 (20:32 +0100)]
Fixed package building on Debian
The chimara-player.install file was misnamed, and I also added a
.gitignore file for the debian/ directory.
P. F. Chimento [Wed, 3 Nov 2010 20:31:06 +0000 (21:31 +0100)]
Removed old debug message
P. F. Chimento [Wed, 3 Nov 2010 20:15:30 +0000 (21:15 +0100)]
Don't refer to 'macstyle.css' anymore
We want the default style file to be style.css
P. F. Chimento [Wed, 3 Nov 2010 20:14:45 +0000 (21:14 +0100)]
Add index to documentation
I found out that gtk-doc can automatically generate a symbols index for
the documentation. Of course we want that!
P. F. Chimento [Wed, 3 Nov 2010 20:13:34 +0000 (21:13 +0100)]
Fixed gtk-doc building for gtk-doc 1.14
Added a <para> tag, the absence of which caused the documentation build
to fail.
P. F. Chimento [Wed, 3 Nov 2010 20:11:41 +0000 (21:11 +0100)]
Added xepdmgrclient.[ch] to player/
Otherwise, 'make dist' fails, since not all the files necessary to make
all the possible targets are available.
P. F. Chimento [Wed, 3 Nov 2010 20:08:10 +0000 (21:08 +0100)]
Added .gitignore files
rodin [Tue, 5 Oct 2010 09:32:50 +0000 (09:32 +0000)]
Fixed ordering of the application of the styles
rodin [Wed, 30 Jun 2010 19:03:06 +0000 (19:03 +0000)]
Defined a base style
rodin [Sun, 23 May 2010 10:48:12 +0000 (10:48 +0000)]
Showing off dynamic styles: started work on preferences dialog.
New appearance cannot be saved or loaded yet.
rodin [Tue, 18 May 2010 14:41:29 +0000 (14:41 +0000)]
Fixing some pager bugs
rodin [Tue, 18 May 2010 14:09:02 +0000 (14:09 +0000)]
Removed pager debugging output
rodin [Tue, 18 May 2010 14:05:28 +0000 (14:05 +0000)]
Added missing buffer flush.
rodin [Tue, 18 May 2010 13:59:27 +0000 (13:59 +0000)]
Backend support for using dynamic styles. See also Ticket #49.
rodin [Tue, 11 May 2010 12:06:33 +0000 (12:06 +0000)]
Improvements to the iliad client
rodin [Tue, 11 May 2010 11:58:36 +0000 (11:58 +0000)]
Added an icon (Based on a Google image search)
rodin [Tue, 11 May 2010 10:31:01 +0000 (10:31 +0000)]
Some minor cleanup
rodin [Tue, 11 May 2010 10:30:07 +0000 (10:30 +0000)]
More pager improvements. Pager now determines correctly which text is read by the user and which is not. Pager will automatically scroll past read text.
rodin [Tue, 11 May 2010 00:27:59 +0000 (00:27 +0000)]
Paging is slowly becoming better, but still susceptible to race conditions
rodin [Mon, 10 May 2010 20:21:26 +0000 (20:21 +0000)]
Placed pager functionality into the idle handler
rodin [Wed, 5 May 2010 13:47:14 +0000 (13:47 +0000)]
Fixed segfault when requesting non-existant parent window
rodin [Wed, 5 May 2010 12:24:28 +0000 (12:24 +0000)]
Deleted unnecessary code
rodin [Wed, 5 May 2010 12:22:46 +0000 (12:22 +0000)]
When copying default styles to current styles, also take the pager layout into account.
rodin [Wed, 5 May 2010 12:06:01 +0000 (12:06 +0000)]
Fixed invalid cast in garglk_set_reversevideo()
rodin [Tue, 4 May 2010 15:32:28 +0000 (15:32 +0000)]
Auth test 2
rodin [Tue, 4 May 2010 15:32:07 +0000 (15:32 +0000)]
Auth test
fliep [Mon, 3 May 2010 18:42:53 +0000 (18:42 +0000)]
Added and updated Zarf's Glulxercise unit tests
fliep [Mon, 3 May 2010 17:58:05 +0000 (17:58 +0000)]
Added underscore to prevent marshaller functions from being exported in library
fliep [Sun, 2 May 2010 20:11:17 +0000 (20:11 +0000)]
Fixed bug: modifier keys no longer count as char input
fliep [Sun, 2 May 2010 20:07:31 +0000 (20:07 +0000)]
Oops, undoing accidentally committed parts of [259]
fliep [Sun, 2 May 2010 20:00:18 +0000 (20:00 +0000)]
Frotz now compiled to use Gargoyle extensions
fliep [Sun, 2 May 2010 19:59:53 +0000 (19:59 +0000)]
Implemented dynamic title bar in player
fliep [Sun, 2 May 2010 19:58:13 +0000 (19:58 +0000)]
Implemented garglk_set_program_name(), garglk_set_program_info(), garglk_set_story_name()
fliep [Sun, 2 May 2010 19:57:29 +0000 (19:57 +0000)]
Fixed hyperlink bug, #46
fliep [Sat, 1 May 2010 11:46:06 +0000 (11:46 +0000)]
Fix for building RPM
fliep [Sat, 1 May 2010 10:21:22 +0000 (10:21 +0000)]
Added some descriptions to documentation so Gtk-doc doesn't complain
fliep [Fri, 30 Apr 2010 23:20:44 +0000 (23:20 +0000)]
Added some explanatory documentation to ChimaraGlk and ChimaraIF
fliep [Fri, 30 Apr 2010 23:20:01 +0000 (23:20 +0000)]
Adjustments in Makefile.am
fliep [Fri, 30 Apr 2010 22:07:39 +0000 (22:07 +0000)]
Added stubs for all Gargoyle extensions and documented them
fliep [Fri, 30 Apr 2010 11:08:05 +0000 (11:08 +0000)]
Defined a stub glk_schannel_struct to fix another regression
fliep [Fri, 30 Apr 2010 11:02:23 +0000 (11:02 +0000)]
Fixed regression I introduced while fixing Gtk-doc warnings
fliep [Fri, 30 Apr 2010 01:44:59 +0000 (01:44 +0000)]
Forgot to add glk-sound-resources.sgml
fliep [Fri, 30 Apr 2010 01:33:24 +0000 (01:33 +0000)]
Documented all planned Glk API functions
fliep [Wed, 28 Apr 2010 23:26:13 +0000 (23:26 +0000)]
Fixed documentation to work with Gtk-Doc 1.14 and produce as few warnings as possible
fliep [Sun, 25 Apr 2010 14:38:32 +0000 (14:38 +0000)]
Brought documentation up to date
fliep [Sun, 25 Apr 2010 12:51:37 +0000 (12:51 +0000)]
Fixed problem of player looking for CSS file in a hard-coded location.
Dug up a lot of other problems doing that:
* Moved style initialization to the constructor of ChimaraGlk
* Now styles are always initialized, so we don't have to keep track of
whether they are or not
* Moved style initialization and CSS parsing out of the Glk thread, into the
main GTK thread, since it's controlled by the widget API not the Glk API
* Removed the 'default-font-description' and 'monospace-font-description'
properties and their associated API
* Added API chimara_glk_set_css_to_default() [not implemented yet],
chimara_glk_set_css_from_file(), chimara_glk_set_css_from_string()
fliep [Sat, 24 Apr 2010 22:51:58 +0000 (22:51 +0000)]
Playing around with barf
Renamed barf.c.eventbox so gcc doesn't complain about the extension
rodin [Mon, 19 Apr 2010 19:55:12 +0000 (19:55 +0000)]
* Use .tar.gz for iliad packaging
* Close keyboard after shutdown of iliad client
rodin [Mon, 19 Apr 2010 19:16:25 +0000 (19:16 +0000)]
Added iliad package creation script, which simply copies the required files to a directory and zips it
rodin [Sun, 18 Apr 2010 17:49:41 +0000 (17:49 +0000)]
Default CSS file NULL
rodin [Sun, 18 Apr 2010 15:39:39 +0000 (15:39 +0000)]
* Path fixes
* Debian packaging fixes
rodin [Sun, 18 Apr 2010 14:38:10 +0000 (14:38 +0000)]
Fixed x86-64 closing bug #44
rodin [Sun, 18 Apr 2010 14:04:40 +0000 (14:04 +0000)]
Iliad port
rodin [Sun, 18 Apr 2010 10:56:53 +0000 (10:56 +0000)]
Fixed window closing bug #43
rodin [Sun, 18 Apr 2010 09:28:34 +0000 (09:28 +0000)]
Don't page when window is too small
rodin [Sat, 17 Apr 2010 22:30:02 +0000 (22:30 +0000)]
Pager bug fixed.... or is it?
rodin [Sat, 17 Apr 2010 20:07:38 +0000 (20:07 +0000)]
Fixed history recall bug
rodin [Sat, 17 Apr 2010 19:47:20 +0000 (19:47 +0000)]
Pager in place
rodin [Sat, 17 Apr 2010 15:18:52 +0000 (15:18 +0000)]
Reverse [230] for configure.ac
rodin [Sat, 17 Apr 2010 15:13:22 +0000 (15:13 +0000)]
Fixed Glk to Gdk color bug
rodin [Tue, 30 Mar 2010 11:53:14 +0000 (11:53 +0000)]
Fixed hitting enter key mid sentence
fliep [Sun, 14 Mar 2010 11:23:11 +0000 (11:23 +0000)]
Added notify signals to properties
rodin [Sun, 14 Feb 2010 12:48:07 +0000 (12:48 +0000)]
Handle Home/End keys properly
rodin [Sun, 14 Feb 2010 11:25:03 +0000 (11:25 +0000)]
Support for graphics in text buffers
fliep [Tue, 9 Feb 2010 21:56:35 +0000 (21:56 +0000)]
Brought documentation up to date
rodin [Sun, 7 Feb 2010 13:59:18 +0000 (13:59 +0000)]
Graphics caching not operational.
rodin [Sat, 6 Feb 2010 20:22:44 +0000 (20:22 +0000)]
Start of image cache implementation... breaks image functionality.
rodin [Sat, 6 Feb 2010 14:13:59 +0000 (14:13 +0000)]
Removed the requirement win->input_request_type == INPUT_REQUEST_NONE.
Requesting a conflicting input request will cancel the previous one and produce a warning
fliep [Tue, 2 Feb 2010 20:46:19 +0000 (20:46 +0000)]
Barf improvements -- the paging functionality should now be ready to move into the main program.
Both paging behaviors I mentioned are available for testing - see the #define constant at the top of the file.
rodin [Sun, 31 Jan 2010 18:11:50 +0000 (18:11 +0000)]
Quick and hacky implementation of glk_draw_image_scaled().
City Of Secrects not playable with graphics!
rodin [Sun, 31 Jan 2010 18:05:13 +0000 (18:05 +0000)]
Crahing bug fixed :)
Me must learn to call gdk_threads_enter()!
rodin [Fri, 29 Jan 2010 21:13:34 +0000 (21:13 +0000)]
Getting cryptic error message:
lt-chimara: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0
why??
rodin [Fri, 29 Jan 2010 14:05:57 +0000 (14:05 +0000)]
Added correct resize handling
rodin [Thu, 28 Jan 2010 23:42:05 +0000 (23:42 +0000)]
Added City of Secrets to the test folder
rodin [Thu, 28 Jan 2010 23:41:06 +0000 (23:41 +0000)]
Beginning work on graphic windows. Hopelessly broken still....
rodin [Mon, 18 Jan 2010 22:33:42 +0000 (22:33 +0000)]
hyperlinks can ofcourse also be styled by css
rodin [Mon, 18 Jan 2010 22:28:33 +0000 (22:28 +0000)]
Completed mouse support.
rodin [Sat, 16 Jan 2010 21:33:23 +0000 (21:33 +0000)]
Initial mouse support added.
Todo is to calculate the mouse coordinates in the right metric. See also ticket 40
rodin [Sat, 16 Jan 2010 20:48:24 +0000 (20:48 +0000)]
Hyperlinks now fully supported, also on textgrids.
Try it with styletest.so