fliep [Thu, 3 Dec 2009 20:53:22 +0000 (20:53 +0000)]
Fixed freeing data at stop & start. Previously the root window was set to NULL when the plugin stopped, which broke window rearrangement and also caused a memory leak because the tree of windows wasn't freed. Now the windows are only freed when another plugin starts.
fliep [Sat, 28 Nov 2009 13:38:59 +0000 (13:38 +0000)]
Debian package building
To build a Debian package:
* make dist
* copy the tarball somewhere
* untar it
* rename it to chimara_0.1.orig.tar.gz
* cd chimara-0.1
* dpkg-buildpackage -rfakeroot
Lintian reports several errors, these are due to us not having a public website, and to me being too lazy to figure out all the license crap before we know exactly what will be in the distribution.
rodin [Sun, 22 Nov 2009 23:04:31 +0000 (23:04 +0000)]
Added first version of hyperlink support. Only textbuffers at the moment, but can easilily be added to textgrids in the future.
New text program styletest.so available to test some basic style/hyperlink functionality. Load with the plugin loader.
rodin [Tue, 17 Nov 2009 11:49:15 +0000 (11:49 +0000)]
Integrated the glk_data->default_font_desc and glk_data->monospace_font_desc fields with the style system. Textgrid calculations now follow the syles overrides given in the CSS file.
fliep [Sun, 25 Oct 2009 22:09:33 +0000 (22:09 +0000)]
- Feeding input programmatically to the Glk program now works: chimara_glk_feed_line_input() and chimara_glk_feed_char_input().
- Various other small fixes.
fliep [Wed, 21 Oct 2009 21:05:45 +0000 (21:05 +0000)]
- Fixed a bug that made Nitfol crash since [130]
- Added function to tell whether game is running
- Added properties and "command" signal to ChimaraIF
- Added ChimaraIF to the documentation
rodin [Thu, 15 Oct 2009 15:01:55 +0000 (15:01 +0000)]
* Changing styles no longer affects existing windows
* glk_style_hint_clear() now works as intended
* Support for changing stylehints on textgrids
There are now four sets of tags stored inside two style_sets:
default->text_grid
default->text_buffer
current->text_grid
current->text_buffer
The default styles get loaded from CSS (hardcoded if not present in CSS)
The current styles get changed all the time and copied to a new window upon
creation.
fliep [Sun, 11 Oct 2009 20:51:46 +0000 (20:51 +0000)]
Added a skeleton implementation of the ChimaraIF widget, which is a subclass of ChimaraGlk specifically meant to select an interpreter based on a game file it is given.
rodin [Mon, 5 Oct 2009 10:02:40 +0000 (10:02 +0000)]
Added first support for CSS files.
The default style.css is not added and can be changed to alter the visual appearance.
More style options can be added in time.
Changing styles from the GLK interface is still a mess though.
Update the interface definition to use the new version of Glade (3.6 and
above.) Glade now writes GtkBuilder files directly, and so we don't have
to use gtk-builder-convert to convert a Glade file into a GtkBuilder file.
Inspired by #17, compared our Nitfol source to the source from its last
stable release (0.5) and reduced the changes to a minimum. Some useful
patches seem to have been applied in Gargoyle, which I have kept. All the
changes are in a file 'interpreters/nitfol.patch' for future reference.
Glk Frotz doesn't exist anywhere outside of Gargoyle, so I have made it
exactly equal to r268 of the Gargoyle source.