projects/chimara/chimara.git
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.

15 years agoAdded the dispatch layer headers. In order to get this to compile, I had to add stubs...
fliep [Mon, 5 Oct 2009 21:51:28 +0000 (21:51 +0000)]
Added the dispatch layer headers. In order to get this to compile, I had to add stubs for all unimplemented Glk functions.

15 years agoAdded first support for CSS files.
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.

15 years agoUse '-f' instead of '--file' to be more accommodating to OS X awk
fliep [Sun, 13 Sep 2009 20:20:00 +0000 (20:20 +0000)]
Use '-f' instead of '--file' to be more accommodating to OS X awk

15 years agoSome cosmetic fixes, like giving a window the focus when it asks for character input
fliep [Sun, 13 Sep 2009 19:27:16 +0000 (19:27 +0000)]
Some cosmetic fixes, like giving a window the focus when it asks for character input

15 years agoFixed bug in text grid line input that obscured a new bug in the multisession code...
fliep [Sun, 13 Sep 2009 18:44:57 +0000 (18:44 +0000)]
Fixed bug in text grid line input that obscured a new bug in the multisession code. Fixed the new bug too.

15 years agoAdded an initialization function, which must be called at every entry point of the...
fliep [Sun, 13 Sep 2009 18:26:02 +0000 (18:26 +0000)]
Added an initialization function, which must be called at every entry point of the library.
Got multisession to work, fixing #19.

15 years agoStarted using thread-private data. Multisession still doesn't work, but regular opera...
fliep [Sun, 13 Sep 2009 17:07:59 +0000 (17:07 +0000)]
Started using thread-private data. Multisession still doesn't work, but regular operation does.

15 years agoGestalt selector claimed we couldn't print unicode characters, but we can
fliep [Sat, 12 Sep 2009 09:47:27 +0000 (09:47 +0000)]
Gestalt selector claimed we couldn't print unicode characters, but we can

15 years agoAdded a test program which runs two ChimaraGlk widgets side by side in the same progr...
fliep [Fri, 11 Sep 2009 22:11:42 +0000 (22:11 +0000)]
Added a test program which runs two ChimaraGlk widgets side by side in the same program. It doesn't work, but it should, so I will add a ticket.

15 years agoUnref UI manager when done
fliep [Fri, 11 Sep 2009 21:55:05 +0000 (21:55 +0000)]
Unref UI manager when done

15 years agoForgot to add chimara.ui
fliep [Fri, 11 Sep 2009 21:16:39 +0000 (21:16 +0000)]
Forgot to add chimara.ui

15 years agoFixed ignore properties
fliep [Fri, 11 Sep 2009 21:15:43 +0000 (21:15 +0000)]
Fixed ignore properties

15 years agoUpdate the interface definition to use the new version of Glade (3.6 and
fliep [Fri, 11 Sep 2009 21:13:58 +0000 (21:13 +0000)]
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.

15 years agoTweak to avoid warnings in frotz
fliep [Fri, 11 Sep 2009 19:08:14 +0000 (19:08 +0000)]
Tweak to avoid warnings in frotz

15 years agoInspired by #17, compared our Nitfol source to the source from its last
fliep [Thu, 10 Sep 2009 21:59:16 +0000 (21:59 +0000)]
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.

15 years agoFixed ignore properties
fliep [Wed, 9 Sep 2009 22:13:57 +0000 (22:13 +0000)]
Fixed ignore properties

15 years agoEdited includes to finish fixing #17
fliep [Wed, 9 Sep 2009 22:11:55 +0000 (22:11 +0000)]
Edited includes to finish fixing #17

15 years agoPlayed around with nitfol build process, adding rules to generate the
fliep [Wed, 9 Sep 2009 22:00:57 +0000 (22:00 +0000)]
Played around with nitfol build process, adding rules to generate the
generated source files. Dependencies are kept to a minimum, requiring
only Perl and Awk. Partly fixes #17.

15 years agoFixed warning in model.c
fliep [Wed, 9 Sep 2009 19:25:53 +0000 (19:25 +0000)]
Fixed warning in model.c

15 years agoMoved to updated gettext and did some tweaking for make distcheck
fliep [Wed, 9 Sep 2009 19:18:51 +0000 (19:18 +0000)]
Moved to updated gettext and did some tweaking for make distcheck

15 years agoAdded AM_SILENT_RULES option to configure, so you can now do './configure --enable...
fliep [Wed, 12 Aug 2009 21:33:56 +0000 (21:33 +0000)]
Added AM_SILENT_RULES option to configure, so you can now do './configure --enable-silent-rules' to cut down on screen clutter when compiling

15 years agoFixed #7 (crash when resizing windows really small)
fliep [Sat, 13 Jun 2009 20:43:37 +0000 (20:43 +0000)]
Fixed #7 (crash when resizing windows really small)

15 years agoImplemented glk_select_poll() (Fix #18)
fliep [Sat, 13 Jun 2009 14:46:17 +0000 (14:46 +0000)]
Implemented glk_select_poll() (Fix #18)

15 years agoMust export garglk_ symbols in library
fliep [Sat, 13 Jun 2009 14:32:55 +0000 (14:32 +0000)]
Must export garglk_ symbols in library

15 years agoMoved startup code to the Glk thread. Now Frotz works! (Fix #14)
fliep [Tue, 9 Jun 2009 21:51:05 +0000 (21:51 +0000)]
Moved startup code to the Glk thread. Now Frotz works! (Fix #14)

15 years agowrong Makefile committed in [101]
fliep [Tue, 9 Jun 2009 21:50:05 +0000 (21:50 +0000)]
wrong Makefile committed in [101]

15 years agoAdded garglk.c and garglk.h, which is where stubs for Gargoyle's Glk API extensions...
fliep [Tue, 9 Jun 2009 21:48:39 +0000 (21:48 +0000)]
Added garglk.c and garglk.h, which is where stubs for Gargoyle's Glk API extensions should go.

15 years agoFixed crashes after automatic scroll on text buffer windows
fliep [Mon, 8 Jun 2009 20:06:54 +0000 (20:06 +0000)]
Fixed crashes after automatic scroll on text buffer windows

15 years agoAdded a better default font, line spacing and margins
rodin [Fri, 5 Jun 2009 12:12:59 +0000 (12:12 +0000)]
Added a better default font, line spacing and margins

15 years agoFixed crash in FreeBSD.
rodin [Fri, 5 Jun 2009 10:27:38 +0000 (10:27 +0000)]
Fixed crash in FreeBSD.
There was no reason to assume the argument list would be null terminated.

15 years agoDisabled libtool C++ and Fortran support, so configure runs a lot faster
fliep [Mon, 1 Jun 2009 11:12:36 +0000 (11:12 +0000)]
Disabled libtool C++ and Fortran support, so configure runs a lot faster

15 years agoMade sure no internal symbols were exported; can be checked with 'nm -g --defined...
fliep [Tue, 26 May 2009 20:23:21 +0000 (20:23 +0000)]
Made sure no internal symbols were exported; can be checked with 'nm -g --defined-only .libs/libchimara.so'.

15 years agoGot rid of unused variable warnings in gi_blorb.c
fliep [Tue, 26 May 2009 20:14:59 +0000 (20:14 +0000)]
Got rid of unused variable warnings in gi_blorb.c

15 years agoEdited platform-dependent part of Blorb layer to use g_malloc() functions, they are...
fliep [Tue, 26 May 2009 20:11:57 +0000 (20:11 +0000)]
Edited platform-dependent part of Blorb layer to use g_malloc() functions, they are safer.

15 years agoBrought all the Gtk-Doc documentation up to date with where we are so far.
fliep [Tue, 26 May 2009 20:07:59 +0000 (20:07 +0000)]
Brought all the Gtk-Doc documentation up to date with where we are so far.

15 years agoglk_set_window(NULL) should not be allowed
fliep [Mon, 25 May 2009 18:46:49 +0000 (18:46 +0000)]
glk_set_window(NULL) should not be allowed

15 years agoRemoved unnecessary files from nitfol
fliep [Mon, 25 May 2009 18:05:46 +0000 (18:05 +0000)]
Removed unnecessary files from nitfol

15 years agoFixing installed headers and directories
fliep [Sun, 24 May 2009 22:06:29 +0000 (22:06 +0000)]
Fixing installed headers and directories

15 years agoImplemented Unix startup code, argument parsing, and platform-dependent functions
fliep [Sun, 24 May 2009 18:11:03 +0000 (18:11 +0000)]
Implemented Unix startup code, argument parsing, and platform-dependent functions

15 years agoHopefully solved the problem of waiting for windows to draw themselves once and for...
fliep [Sun, 24 May 2009 14:20:44 +0000 (14:20 +0000)]
Hopefully solved the problem of waiting for windows to draw themselves once and for all.

15 years agoNo need to actually cancel input requests when closing a window
fliep [Sun, 24 May 2009 13:20:35 +0000 (13:20 +0000)]
No need to actually cancel input requests when closing a window

15 years agoImplemented evtype_Arrange events, fixing #8.
fliep [Sun, 24 May 2009 13:08:33 +0000 (13:08 +0000)]
Implemented evtype_Arrange events, fixing #8.

15 years agoChecked for 0 window size in glk_window_move_cursor().
fliep [Sun, 24 May 2009 11:48:59 +0000 (11:48 +0000)]
Checked for 0 window size in glk_window_move_cursor().

15 years agoAdded dummy functions glk_style_distinguish() and glk_request_mouse_event()
fliep [Sun, 24 May 2009 10:34:37 +0000 (10:34 +0000)]
Added dummy functions glk_style_distinguish() and glk_request_mouse_event()

15 years agoProportional sizes of 100% are apparently allowed too
fliep [Sun, 24 May 2009 10:20:56 +0000 (10:20 +0000)]
Proportional sizes of 100% are apparently allowed too

15 years agoImplemented glk_window_set_arrangement() and glk_window_get_arrangement().
fliep [Sun, 24 May 2009 10:14:28 +0000 (10:14 +0000)]
Implemented glk_window_set_arrangement() and glk_window_get_arrangement().

15 years agoFixed GtkDoc makefile for new directory structure
fliep [Sun, 24 May 2009 10:14:01 +0000 (10:14 +0000)]
Fixed GtkDoc makefile for new directory structure

15 years agoAdded dummy glk_stylehint_clear() function
fliep [Sun, 24 May 2009 08:33:57 +0000 (08:33 +0000)]
Added dummy glk_stylehint_clear() function

15 years agoFixed assertion in glk_stream_set_position()
fliep [Sun, 24 May 2009 08:32:12 +0000 (08:32 +0000)]
Fixed assertion in glk_stream_set_position()

15 years ago * Added the game anchorhead to test
rodin [Sat, 23 May 2009 23:21:12 +0000 (23:21 +0000)]
 * Added the game anchorhead to test
 * Working towards unix startup code, try: ./test-chimara anchor.z8 (error when opening the filestream)

15 years agoSet ignore properties on new directories
fliep [Sat, 23 May 2009 22:26:21 +0000 (22:26 +0000)]
Set ignore properties on new directories

15 years agotests/Makefile.am
fliep [Sat, 23 May 2009 21:40:16 +0000 (21:40 +0000)]
tests/Makefile.am

15 years agoSeparated library source code from testing code, fixing #6
fliep [Sat, 23 May 2009 00:06:50 +0000 (00:06 +0000)]
Separated library source code from testing code, fixing #6

15 years agoEliminated warnings about static functions declared with G_GNUC_INTERNAL
fliep [Fri, 22 May 2009 23:04:05 +0000 (23:04 +0000)]
Eliminated warnings about static functions declared with G_GNUC_INTERNAL

15 years ago * Added some more verbs to show off the style system
rodin [Fri, 22 May 2009 20:34:09 +0000 (20:34 +0000)]
 * Added some more verbs to show off the style system