rodin/chimara.git
15 years agoFixed bug - glk_set_window(NULL) doesn't crash anymore
Philip Chimento [Wed, 7 Oct 2009 21:01:37 +0000 (21:01 +0000)]
Fixed bug - glk_set_window(NULL) doesn't crash anymore

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@133 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@132 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoGlulxe and Git now work with the included game Photopia, though all they do is displa...
Philip Chimento [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. ;-)

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@131 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@130 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@129 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@128 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoAdded the dispatch layer headers. In order to get this to compile, I had to add stubs...
Philip Chimento [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.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@127 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@126 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@125 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoSome cosmetic fixes, like giving a window the focus when it asks for character input
Philip Chimento [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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@124 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoFixed bug in text grid line input that obscured a new bug in the multisession code...
Philip Chimento [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.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@123 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoAdded an initialization function, which must be called at every entry point of the...
Philip Chimento [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.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@122 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoStarted using thread-private data. Multisession still doesn't work, but regular opera...
Philip Chimento [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.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@121 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@120 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoAdded a test program which runs two ChimaraGlk widgets side by side in the same progr...
Philip Chimento [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.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@119 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@118 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@117 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@116 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoUpdate the interface definition to use the new version of Glade (3.6 and
Philip Chimento [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.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@115 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@114 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoInspired by #17, compared our Nitfol source to the source from its last
Philip Chimento [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.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@113 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@112 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@111 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoPlayed around with nitfol build process, adding rules to generate the
Philip Chimento [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.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@110 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@109 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@108 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoAdded AM_SILENT_RULES option to configure, so you can now do './configure --enable...
Philip Chimento [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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@107 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@106 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@105 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@104 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@103 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@102 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoAdded garglk.c and garglk.h, which is where stubs for Gargoyle's Glk API extensions...
Philip Chimento [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.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@101 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@100 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@99 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoFixed crash in FreeBSD.
Marijn van Vliet [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.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@98 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@97 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoMade sure no internal symbols were exported; can be checked with 'nm -g --defined...
Philip Chimento [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'.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@96 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@95 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoEdited platform-dependent part of Blorb layer to use g_malloc() functions, they are...
Philip Chimento [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.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@94 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoBrought all the Gtk-Doc documentation up to date with where we are so far.
Philip Chimento [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.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@93 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@92 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@91 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@90 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@89 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoHopefully solved the problem of waiting for windows to draw themselves once and for...
Philip Chimento [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.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@88 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@87 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@86 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@85 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@84 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@83 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@82 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@81 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@80 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@79 ddfedd41-794f-dd11-ae45-00112f111e67

15 years ago * Added the game anchorhead to test
Marijn van Vliet [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)

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@78 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@77 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@76 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@75 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@74 ddfedd41-794f-dd11-ae45-00112f111e67

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

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@73 ddfedd41-794f-dd11-ae45-00112f111e67

15 years ago * Added initial support for styles! (no style hints as of yet though)
Marijn van Vliet [Fri, 22 May 2009 20:09:30 +0000 (20:09 +0000)]
 * Added initial support for styles! (no style hints as of yet though)
 * Added glkstart.c, a dummy file to help us implement the unixstart functionality

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@72 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoAdded Nitfol and Frotz source code.
Philip Chimento [Fri, 22 May 2009 15:38:14 +0000 (15:38 +0000)]
Added Nitfol and Frotz source code.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@71 ddfedd41-794f-dd11-ae45-00112f111e67

15 years ago * Implemented the library-dependant functionality of BLORBs
Marijn van Vliet [Fri, 22 May 2009 13:08:23 +0000 (13:08 +0000)]
 * Implemented the library-dependant functionality of BLORBs

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@70 ddfedd41-794f-dd11-ae45-00112f111e67

15 years ago * Added BLORB file support (i.e. copied the gi_blorb.* files to this dir by instruct...
Marijn van Vliet [Fri, 22 May 2009 12:05:41 +0000 (12:05 +0000)]
 * Added BLORB file support (i.e. copied the gi_blorb.* files to this dir by instructions of the allmighty spec)

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@69 ddfedd41-794f-dd11-ae45-00112f111e67

15 years ago * cancel_line_input_event now handles an NULL event parameter correctly
Marijn van Vliet [Fri, 22 May 2009 10:43:57 +0000 (10:43 +0000)]
 * cancel_line_input_event now handles an NULL event parameter correctly
 * cancel_line_input_event will now fail quietly on INPUT_REQUEST_NONE

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@68 ddfedd41-794f-dd11-ae45-00112f111e67

15 years ago * Fixed flush_text_buffer() function. It always assumed a newline at the end and...
Marijn van Vliet [Fri, 22 May 2009 10:38:41 +0000 (10:38 +0000)]
 * Fixed flush_text_buffer() function. It always assumed a newline at the end and removed it, even when it wasn't there.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@67 ddfedd41-794f-dd11-ae45-00112f111e67

15 years ago * Fixed pointer cast warning
Marijn van Vliet [Fri, 22 May 2009 10:05:46 +0000 (10:05 +0000)]
 * Fixed pointer cast warning

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@66 ddfedd41-794f-dd11-ae45-00112f111e67

15 years ago * Restored support for cancel_line_input_request on a textgrid
Marijn van Vliet [Fri, 22 May 2009 10:03:42 +0000 (10:03 +0000)]
 * Restored support for cancel_line_input_request on a textgrid

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@65 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoTraps illegal printing to a window with line input pending
Philip Chimento [Fri, 22 May 2009 09:52:05 +0000 (09:52 +0000)]
Traps illegal printing to a window with line input pending

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@64 ddfedd41-794f-dd11-ae45-00112f111e67

15 years ago* Refactored the cancel_line_input_request code to be less copy/pasted.
Marijn van Vliet [Fri, 22 May 2009 09:41:20 +0000 (09:41 +0000)]
* Refactored the cancel_line_input_request code to be less copy/pasted.
* Fixed called glk_exit() with running timer crash.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@63 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoFix #11: Implemented glk_cancel_char_event() and glk_cancel_line_event().
Philip Chimento [Fri, 22 May 2009 09:23:49 +0000 (09:23 +0000)]
Fix #11: Implemented glk_cancel_char_event() and glk_cancel_line_event().

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@62 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoFor some reason these didn't commit in revision [59]
Philip Chimento [Fri, 22 May 2009 09:22:35 +0000 (09:22 +0000)]
For some reason these didn't commit in revision [59]

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@61 ddfedd41-794f-dd11-ae45-00112f111e67

15 years ago* Added timer support
Marijn van Vliet [Fri, 22 May 2009 08:03:47 +0000 (08:03 +0000)]
* Added timer support
* Added multiwin.c test case (which still segfaults all the time)

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@60 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoDefined glui32 and glsi32 in terms of the 32-bit integer types in <stdint.h>, instead...
Philip Chimento [Thu, 21 May 2009 13:14:11 +0000 (13:14 +0000)]
Defined glui32 and glsi32 in terms of the 32-bit integer types in <stdint.h>, instead of those in GLib. Now the entire GLib interface is not exposed to Glk plugins anymore.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@59 ddfedd41-794f-dd11-ae45-00112f111e67

15 years ago- In the documentation, replaced <informalexample><programlisting> by |[...]| for...
Philip Chimento [Wed, 20 May 2009 23:10:48 +0000 (23:10 +0000)]
- In the documentation, replaced <informalexample><programlisting> by |[...]| for readability.
- Removed mouse pointer from fig11.png.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@58 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoUse gdk_window_process_all_updates() to send window update events immediately instead...
Philip Chimento [Tue, 19 May 2009 21:07:56 +0000 (21:07 +0000)]
Use gdk_window_process_all_updates() to send window update events immediately instead of asynchronously.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@57 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoTurned off line wrapping on text grids. They don't need it, since they're always...
Philip Chimento [Tue, 19 May 2009 20:53:26 +0000 (20:53 +0000)]
Turned off line wrapping on text grids. They don't need it, since they're always the correct size, and it was causing them to wrap sometimes when the width of the text was exactly the width of the window.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@56 ddfedd41-794f-dd11-ae45-00112f111e67

15 years ago- Changed splittest.c to run through all the examples of window splitting in the
Philip Chimento [Tue, 19 May 2009 20:47:32 +0000 (20:47 +0000)]
- Changed splittest.c to run through all the examples of window splitting in the
  Glk spec
- Took screenshots and added those to the documentation

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@55 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoNow windows can be sized arbitrarily small, but GDK chokes when you try to drag the
Philip Chimento [Wed, 13 May 2009 22:01:25 +0000 (22:01 +0000)]
Now windows can be sized arbitrarily small, but GDK chokes when you try to drag the
size smaller than 0. Bug in GDK?

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@54 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoCorrectly handles what happens when a window that is the key window of another
Philip Chimento [Wed, 13 May 2009 21:40:04 +0000 (21:40 +0000)]
Correctly handles what happens when a window that is the key window of another
window is closed.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@53 ddfedd41-794f-dd11-ae45-00112f111e67

15 years ago- Text grid windows don't need scrollbars
Philip Chimento [Wed, 6 May 2009 22:15:26 +0000 (22:15 +0000)]
- Text grid windows don't need scrollbars
- Set text windows' minimum size request to "as small as possible", otherwise they can't
  be resized smaller than their contents

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@52 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoMade the size of the main window the "default" size, instead of the "minimum" size.
Philip Chimento [Wed, 6 May 2009 20:46:51 +0000 (20:46 +0000)]
Made the size of the main window the "default" size, instead of the "minimum" size.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@51 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoWhen splitting a window W, the new pair window was always inserted back into the...
Philip Chimento [Wed, 6 May 2009 19:48:04 +0000 (19:48 +0000)]
When splitting a window W, the new pair window was always inserted back into the tree
as the right-hand child of W's former parent. So if you split a window vertically into A and
B and then split A (the top half) again into C and D, then C and D would end up below B.
Fixed.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@50 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoNow the size of text grid windows is updated when they are resized.
Philip Chimento [Tue, 5 May 2009 11:47:22 +0000 (11:47 +0000)]
Now the size of text grid windows is updated when they are resized.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@49 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoCleaned up some window closing code, fixed GDK thread lock problem
Philip Chimento [Tue, 5 May 2009 09:56:01 +0000 (09:56 +0000)]
Cleaned up some window closing code, fixed GDK thread lock problem

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@48 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoAdded comments and cleaned up code
Philip Chimento [Sun, 3 May 2009 21:52:25 +0000 (21:52 +0000)]
Added comments and cleaned up code

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@47 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoFixed a crash when closing pair windows directly
Philip Chimento [Sun, 3 May 2009 21:49:54 +0000 (21:49 +0000)]
Fixed a crash when closing pair windows directly

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@46 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoFixed a bug: pair windows need window streams too, even though they don't print
Philip Chimento [Sun, 3 May 2009 17:38:35 +0000 (17:38 +0000)]
Fixed a bug: pair windows need window streams too, even though they don't print

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@45 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoUse the sublime CLAMP() macro
Philip Chimento [Sun, 3 May 2009 17:01:03 +0000 (17:01 +0000)]
Use the sublime CLAMP() macro

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@44 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoAdded a "spacing" property which sets the border width between Glk windows.
Philip Chimento [Sun, 3 May 2009 16:47:03 +0000 (16:47 +0000)]
Added a "spacing" property which sets the border width between Glk windows.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@43 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoNow pays attention to the GtkContainer "border-width" property when allocating size
Philip Chimento [Sun, 3 May 2009 15:22:18 +0000 (15:22 +0000)]
Now pays attention to the GtkContainer "border-width" property when allocating size

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@42 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoFixed issue #1. Probably needs some more thorough testing.
Philip Chimento [Sun, 3 May 2009 12:50:02 +0000 (12:50 +0000)]
Fixed issue #1. Probably needs some more thorough testing.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@41 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoFixed issue #4.
Philip Chimento [Sat, 2 May 2009 19:34:20 +0000 (19:34 +0000)]
Fixed issue #4.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@40 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoAdded properties to the ChimaraGlk widget: "default-font-description" and
Philip Chimento [Sat, 2 May 2009 17:05:54 +0000 (17:05 +0000)]
Added properties to the ChimaraGlk widget: "default-font-description" and
"monospace-font-description". They are the default fonts used in the Glk library. They can
either be set directly from PangoFontDescription structs, or by a string such as "Times 12".

This is for eventually solving issue #4.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@39 ddfedd41-794f-dd11-ae45-00112f111e67

15 years ago- Added pkg-config files (.pc.in), so after the library is installed you can
Philip Chimento [Thu, 23 Apr 2009 20:52:47 +0000 (20:52 +0000)]
- Added pkg-config files (.pc.in), so after the library is installed you can
link to it with `pkg-config --cflags --libs chimara`.
- Plugins need <glib.h> to compile, for the definition of glui32 and glsi32
in glk.h; don't know why this worked before.
- Fixed libtool craziness. Apparently when you declare your plugins "noinst"
then libtool "figures out" that it doesn't need to build shared libraries.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@38 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoAdded 'static' and 'G_GNUC_INTERNAL' to hide all symbols that shouldn't be exported
Philip Chimento [Mon, 30 Mar 2009 21:36:05 +0000 (21:36 +0000)]
Added 'static' and 'G_GNUC_INTERNAL' to hide all symbols that shouldn't be exported

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@37 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoFixed a bug with text grid line input in the middle of an existing selection
Philip Chimento [Sun, 29 Mar 2009 21:38:32 +0000 (21:38 +0000)]
Fixed a bug with text grid line input in the middle of an existing selection

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@36 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoWrote better checks for illegal actions.
Philip Chimento [Sun, 29 Mar 2009 21:25:45 +0000 (21:25 +0000)]
Wrote better checks for illegal actions.
Added "magic numbers" to the window, stream, and fileref structures, for better checking.
Added macros for checking and error reporting in magic.h.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@35 ddfedd41-794f-dd11-ae45-00112f111e67

15 years agoAutomake tweaking
Philip Chimento [Sun, 29 Mar 2009 15:06:30 +0000 (15:06 +0000)]
Automake tweaking

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@34 ddfedd41-794f-dd11-ae45-00112f111e67