projects/chimara/chimara.git
14 years agoHandle Home/End keys properly
rodin [Sun, 14 Feb 2010 12:48:07 +0000 (12:48 +0000)]
Handle Home/End keys properly

14 years agoSupport for graphics in text buffers
rodin [Sun, 14 Feb 2010 11:25:03 +0000 (11:25 +0000)]
Support for graphics in text buffers

14 years agoBrought documentation up to date
fliep [Tue, 9 Feb 2010 21:56:35 +0000 (21:56 +0000)]
Brought documentation up to date

14 years agoGraphics caching not operational.
rodin [Sun, 7 Feb 2010 13:59:18 +0000 (13:59 +0000)]
Graphics caching not operational.

14 years agoStart of image cache implementation... breaks image functionality.
rodin [Sat, 6 Feb 2010 20:22:44 +0000 (20:22 +0000)]
Start of image cache implementation... breaks image functionality.

14 years agoRemoved the requirement win->input_request_type == INPUT_REQUEST_NONE.
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

14 years agoBarf improvements -- the paging functionality should now be ready to move into the...
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.

14 years agoQuick and hacky implementation of glk_draw_image_scaled().
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!

14 years agoCrahing bug fixed :)
rodin [Sun, 31 Jan 2010 18:05:13 +0000 (18:05 +0000)]
Crahing bug fixed :)
Me must learn to call gdk_threads_enter()!

14 years agoGetting cryptic error message:
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??

14 years agoAdded correct resize handling
rodin [Fri, 29 Jan 2010 14:05:57 +0000 (14:05 +0000)]
Added correct resize handling

14 years agoAdded City of Secrets to the test folder
rodin [Thu, 28 Jan 2010 23:42:05 +0000 (23:42 +0000)]
Added City of Secrets to the test folder

14 years agoBeginning work on graphic windows. Hopelessly broken still....
rodin [Thu, 28 Jan 2010 23:41:06 +0000 (23:41 +0000)]
Beginning work on graphic windows. Hopelessly broken still....

14 years agohyperlinks can ofcourse also be styled by css
rodin [Mon, 18 Jan 2010 22:33:42 +0000 (22:33 +0000)]
hyperlinks can ofcourse also be styled by css

14 years agoCompleted mouse support.
rodin [Mon, 18 Jan 2010 22:28:33 +0000 (22:28 +0000)]
Completed mouse support.

14 years agoInitial mouse support added.
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

14 years agoHyperlinks now fully supported, also on textgrids.
rodin [Sat, 16 Jan 2010 20:48:24 +0000 (20:48 +0000)]
Hyperlinks now fully supported, also on textgrids.
Try it with styletest.so

14 years agoAdded gdk_thread_enter() and _leave() to glk_cancel_line_input(). Fix #38.
fliep [Tue, 12 Jan 2010 20:52:30 +0000 (20:52 +0000)]
Added gdk_thread_enter() and _leave() to glk_cancel_line_input(). Fix #38.

14 years agoFixed shutdown problems. Everything should properly shut down now.
fliep [Tue, 12 Jan 2010 20:42:40 +0000 (20:42 +0000)]
Fixed shutdown problems. Everything should properly shut down now.
Added shutdown message when Glk plugin finishes normally.

14 years agoPager!
fliep [Thu, 24 Dec 2009 12:48:45 +0000 (12:48 +0000)]
Pager!

14 years agoBarf still doesn't work
fliep [Wed, 23 Dec 2009 07:50:19 +0000 (07:50 +0000)]
Barf still doesn't work

14 years agoFixed Gtk-doc parse error
fliep [Sun, 20 Dec 2009 13:46:46 +0000 (13:46 +0000)]
Fixed Gtk-doc parse error

14 years agoImprove player
fliep [Sat, 12 Dec 2009 19:52:38 +0000 (19:52 +0000)]
Improve player

14 years agoRemove player source from tests directory
fliep [Sat, 12 Dec 2009 19:45:50 +0000 (19:45 +0000)]
Remove player source from tests directory

14 years agoCreated open game functionality in the player. Fix #37.
fliep [Sun, 6 Dec 2009 00:36:19 +0000 (00:36 +0000)]
Created open game functionality in the player. Fix #37.
Made some new menus in the player.

14 years agoBrought documentation up to date
fliep [Sat, 5 Dec 2009 21:40:47 +0000 (21:40 +0000)]
Brought documentation up to date

14 years agoRequire intltool 0.40.0 and update intltool files
fliep [Sat, 5 Dec 2009 00:11:45 +0000 (00:11 +0000)]
Require intltool 0.40.0 and update intltool files

14 years agoDon't install test plugins
fliep [Fri, 4 Dec 2009 23:50:04 +0000 (23:50 +0000)]
Don't install test plugins
Install player data files in player package
Don't build player in both player and tests directories

14 years agoMended rpmlint warnings
fliep [Fri, 4 Dec 2009 23:19:12 +0000 (23:19 +0000)]
Mended rpmlint warnings

14 years agoBug fixes
fliep [Thu, 3 Dec 2009 22:04:26 +0000 (22:04 +0000)]
Bug fixes

14 years agoImproved Glulxercise test program
fliep [Thu, 3 Dec 2009 21:00:31 +0000 (21:00 +0000)]
Improved Glulxercise test program

14 years agoFixed freeing data at stop & start. Previously the root window was set to NULL when...
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.

14 years agoDependency fixes.
rodin [Mon, 30 Nov 2009 16:09:31 +0000 (16:09 +0000)]
Dependency fixes.

14 years agoCreated a FreeBSD port for Chimara
rodin [Mon, 30 Nov 2009 15:48:32 +0000 (15:48 +0000)]
Created a FreeBSD port for Chimara

14 years ago * On a second thought: rename client to player
rodin [Mon, 30 Nov 2009 13:25:39 +0000 (13:25 +0000)]
 * On a second thought: rename client to player
 * Added the player to the RPM and DEB packages
 * Added out patch to Froz to the repository

14 years agoSeperation of client code from the tests
rodin [Mon, 30 Nov 2009 11:21:54 +0000 (11:21 +0000)]
Seperation of client code from the tests

14 years agoAdded buffer flush and wait for window rearrange in shutdown_glk()
fliep [Sun, 29 Nov 2009 20:09:56 +0000 (20:09 +0000)]
Added buffer flush and wait for window rearrange in shutdown_glk()

15 years agoDebian package building
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.

15 years agoHack to get intltool 0.40.0 to work
fliep [Fri, 27 Nov 2009 23:56:14 +0000 (23:56 +0000)]
Hack to get intltool 0.40.0 to work

15 years agoWorkaround for GtkBuilder bug in GTK 2.12
fliep [Fri, 27 Nov 2009 23:05:07 +0000 (23:05 +0000)]
Workaround for GtkBuilder bug in GTK 2.12

15 years agoInserted extra definition of LT_OBJDIR for pre-2.2 libtool
fliep [Fri, 27 Nov 2009 22:57:35 +0000 (22:57 +0000)]
Inserted extra definition of LT_OBJDIR for pre-2.2 libtool

15 years agoRelaxed requirement for Gtk-doc 1.11, as Debian stable only has 1.10.
fliep [Fri, 27 Nov 2009 21:49:24 +0000 (21:49 +0000)]
Relaxed requirement for Gtk-doc 1.11, as Debian stable only has 1.10.

15 years agoAdded RPM package building. Configure with --enable-gtk-doc --enable-rpm and then...
fliep [Wed, 25 Nov 2009 23:14:42 +0000 (23:14 +0000)]
Added RPM package building. Configure with --enable-gtk-doc --enable-rpm and then make && make rpm.

15 years agoRemove nitfol.info from SCM, it's a generated file
fliep [Wed, 25 Nov 2009 00:06:25 +0000 (00:06 +0000)]
Remove nitfol.info from SCM, it's a generated file

15 years ago- Get VPATH build to work
fliep [Tue, 24 Nov 2009 23:53:37 +0000 (23:53 +0000)]
- Get VPATH build to work
- Get test programs to run under VPATH build tree
- Get 'make distcheck' to pass

15 years agoFix build process on FreeBSD
rodin [Mon, 23 Nov 2009 11:04:58 +0000 (11:04 +0000)]
Fix build process on FreeBSD

15 years agoIliad client
rodin [Mon, 23 Nov 2009 11:01:01 +0000 (11:01 +0000)]
Iliad client

15 years agoMissing files
rodin [Mon, 23 Nov 2009 10:59:59 +0000 (10:59 +0000)]
Missing files

15 years agoUpdated ignore properties in tests
fliep [Mon, 23 Nov 2009 08:27:02 +0000 (08:27 +0000)]
Updated ignore properties in tests

15 years agoCancel all input requests when stopping
fliep [Mon, 23 Nov 2009 08:24:20 +0000 (08:24 +0000)]
Cancel all input requests when stopping

15 years agoAdded first version of hyperlink support. Only textbuffers at the moment, but can...
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.

15 years agofixed #27
rodin [Sun, 22 Nov 2009 14:52:12 +0000 (14:52 +0000)]
fixed #27

15 years agoFixed style_init() related errors
rodin [Sun, 22 Nov 2009 14:28:51 +0000 (14:28 +0000)]
Fixed style_init() related errors

15 years agoSmall bug in get_current_font()
rodin [Tue, 17 Nov 2009 12:39:56 +0000 (12:39 +0000)]
Small bug in get_current_font()

15 years agoMake the save button work \o/
rodin [Tue, 17 Nov 2009 12:06:16 +0000 (12:06 +0000)]
Make the save button work \o/

15 years agoUpdated default styles to use a slightly larger font
rodin [Tue, 17 Nov 2009 12:06:03 +0000 (12:06 +0000)]
Updated default styles to use a slightly larger font

15 years agoDefault font for textbuffer should be a serif font.
rodin [Tue, 17 Nov 2009 11:52:00 +0000 (11:52 +0000)]
Default font for textbuffer should be a serif font.

15 years agoIntegrated the glk_data->default_font_desc and glk_data->monospace_font_desc fields...
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.

15 years agoFixed breakage caused by mixing commits or something?
fliep [Tue, 17 Nov 2009 01:14:07 +0000 (01:14 +0000)]
Fixed breakage caused by mixing commits or something?

15 years agoFixed text grid line input bugs
fliep [Tue, 17 Nov 2009 00:03:43 +0000 (00:03 +0000)]
Fixed text grid line input bugs

15 years agoFixed reversevideo
rodin [Sun, 15 Nov 2009 16:42:48 +0000 (16:42 +0000)]
Fixed reversevideo
Fixed input style

15 years agoSee previous commit
fliep [Sun, 15 Nov 2009 16:33:07 +0000 (16:33 +0000)]
See previous commit

15 years agoWrote 'plugin-loader' for loading and executing a plugin.
fliep [Sun, 15 Nov 2009 16:32:30 +0000 (16:32 +0000)]
Wrote 'plugin-loader' for loading and executing a plugin.

15 years agoInput history for text buffers and text grids.
fliep [Sun, 15 Nov 2009 16:29:27 +0000 (16:29 +0000)]
Input history for text buffers and text grids.

15 years agoEmpty lines are no longer stored in the input history
rodin [Sun, 15 Nov 2009 15:07:20 +0000 (15:07 +0000)]
Empty lines are no longer stored in the input history

15 years agoFirst implementation of history buffer.
fliep [Sun, 15 Nov 2009 15:01:00 +0000 (15:01 +0000)]
First implementation of history buffer.

15 years agoSpecial Portal commit
rodin [Sat, 14 Nov 2009 22:50:17 +0000 (22:50 +0000)]
Special Portal commit

15 years agoTextGrid windows are now also buffered
rodin [Sat, 14 Nov 2009 17:27:18 +0000 (17:27 +0000)]
TextGrid windows are now also buffered

15 years agoFixed resize bug
rodin [Sat, 14 Nov 2009 16:39:14 +0000 (16:39 +0000)]
Fixed resize bug

15 years agoSome hyperlink code.
rodin [Sat, 14 Nov 2009 15:38:31 +0000 (15:38 +0000)]
Some hyperlink code.

15 years agoImplemented output buffering.
rodin [Sat, 14 Nov 2009 15:36:47 +0000 (15:36 +0000)]
Implemented output buffering.

15 years agoFix input event test name
fliep [Sat, 14 Nov 2009 00:05:41 +0000 (00:05 +0000)]
Fix input event test name

15 years agoAdded Andrew Plotkin's unit tests for Glulx interpreters
fliep [Thu, 12 Nov 2009 23:58:29 +0000 (23:58 +0000)]
Added Andrew Plotkin's unit tests for Glulx interpreters

15 years agoFixed stoopid bug in chimara_if_set_preferred_interpreter()
fliep [Thu, 12 Nov 2009 23:48:05 +0000 (23:48 +0000)]
Fixed stoopid bug in chimara_if_set_preferred_interpreter()

15 years agoStyles should be initialized once per widget, not once per program
fliep [Mon, 26 Oct 2009 20:17:06 +0000 (20:17 +0000)]
Styles should be initialized once per widget, not once per program

15 years ago"waiting" signal should only be sent once per input request
fliep [Sun, 25 Oct 2009 22:16:08 +0000 (22:16 +0000)]
"waiting" signal should only be sent once per input request

15 years ago- Feeding input programmatically to the Glk program now works: chimara_glk_feed_line_...
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.

15 years agoFixed minor bug - wait for event queue condition IF the queue is empty, not WHILE...
fliep [Sun, 25 Oct 2009 11:48:35 +0000 (11:48 +0000)]
Fixed minor bug - wait for event queue condition IF the queue is empty, not WHILE it is empty

15 years agoAvoid compilation warnings
fliep [Sat, 24 Oct 2009 09:19:56 +0000 (09:19 +0000)]
Avoid compilation warnings

15 years agoWrote documentation for new functions
fliep [Fri, 23 Oct 2009 23:09:57 +0000 (23:09 +0000)]
Wrote documentation for new functions

15 years ago- Fixed a bug that made Nitfol crash since [130]
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

15 years agoDon't use getline(), it is not supported under BSD/OSX
rodin [Fri, 16 Oct 2009 09:51:04 +0000 (09:51 +0000)]
Don't use getline(), it is not supported under BSD/OSX

15 years agoBetter default width. Anchorhead looks beautiful now.
rodin [Thu, 15 Oct 2009 15:10:09 +0000 (15:10 +0000)]
Better default width. Anchorhead looks beautiful now.

15 years ago* Changing styles no longer affects existing windows
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.

15 years agoAdded chimara_if_run() which, given a game file, autodetects the type by its extensio...
fliep [Tue, 13 Oct 2009 22:49:10 +0000 (22:49 +0000)]
Added chimara_if_run() which, given a game file, autodetects the type by its extension and runs it.

15 years agoImplemented the 'waiting' signal on the ChimaraGlk widget to let listeners know when...
fliep [Sun, 11 Oct 2009 22:18:31 +0000 (22:18 +0000)]
Implemented the 'waiting' signal on the ChimaraGlk widget to let listeners know when glk_select() is waiting for input.

15 years agoAdded a skeleton implementation of the ChimaraIF widget, which is a subclass of Chima...
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.

15 years agoImplemented the signals 'char-input', 'line-input', and 'text-buffer-output' on the...
fliep [Sun, 11 Oct 2009 20:49:05 +0000 (20:49 +0000)]
Implemented the signals 'char-input', 'line-input', and 'text-buffer-output' on the ChimaraGlk widget.

15 years agoFixed bug - Function keys not detected in multiwin.c. Reported to Zarf.
fliep [Sun, 11 Oct 2009 20:17:21 +0000 (20:17 +0000)]
Fixed bug - Function keys not detected in multiwin.c. Reported to Zarf.

15 years ago- Fix ignore properties
fliep [Sun, 11 Oct 2009 15:55:19 +0000 (15:55 +0000)]
- Fix ignore properties
- Fix warning on NULL cast to gidispatch_rock_t

15 years agoDocumented the dispatch functions. Actually there will be two entries left
fliep [Fri, 9 Oct 2009 23:41:05 +0000 (23:41 +0000)]
Documented the dispatch functions. Actually there will be two entries left
out of the documentation because of a bug in gtk-doc. I sent them a patch.

15 years agoApplied patches to Git interpreter from Gargoyle source code
fliep [Wed, 7 Oct 2009 22:07:11 +0000 (22:07 +0000)]
Applied patches to Git interpreter from Gargoyle source code

15 years agoFixed bug - put array unregister function after line input into correct thread
fliep [Wed, 7 Oct 2009 21:14:29 +0000 (21:14 +0000)]
Fixed bug - put array unregister function after line input into correct thread

15 years agoFixed bug - glk_stylehint_set doesn't loop infinitely anymore
fliep [Wed, 7 Oct 2009 21:02:05 +0000 (21:02 +0000)]
Fixed bug - glk_stylehint_set doesn't loop infinitely anymore

15 years agoFixed bug - glk_set_window(NULL) doesn't crash anymore
fliep [Wed, 7 Oct 2009 21:01:37 +0000 (21:01 +0000)]
Fixed bug - glk_set_window(NULL) doesn't crash anymore

15 years agoEliminated warnings in style.h
fliep [Wed, 7 Oct 2009 20:47:42 +0000 (20:47 +0000)]
Eliminated warnings in style.h

15 years agoGlulxe and Git now work with the included game Photopia, though all they do is displa...
fliep [Wed, 7 Oct 2009 20:46:07 +0000 (20:46 +0000)]
Glulxe and Git now work with the included game Photopia, though all they do is display a message that graphics are not supported. ;-)

15 years agoWrote platform-dependent dispatch code
fliep [Wed, 7 Oct 2009 20:45:17 +0000 (20:45 +0000)]
Wrote platform-dependent dispatch code

15 years agoSet ignore properties
fliep [Wed, 7 Oct 2009 17:58:16 +0000 (17:58 +0000)]
Set ignore properties

15 years agoAdd Glulxe and Git. They compile but don't work yet.
fliep [Wed, 7 Oct 2009 17:43:16 +0000 (17:43 +0000)]
Add Glulxe and Git. They compile but don't work yet.