rodin/chimara.git
15 years agoFixed a bug with newlines in line input on text buffer windows.
Philip Chimento [Sun, 1 Mar 2009 23:31:01 +0000 (23:31 +0000)]
Fixed a bug with newlines in line input on text buffer windows.

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

15 years agoRefined previous update so that arrow keys and other navigation keys aren't redirected
Philip Chimento [Sun, 1 Mar 2009 22:39:25 +0000 (22:39 +0000)]
Refined previous update so that arrow keys and other navigation keys aren't redirected

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

15 years agoNow keystrokes in a text grid window are redirected to the line input field. Fixes...
Philip Chimento [Sun, 1 Mar 2009 21:39:10 +0000 (21:39 +0000)]
Now keystrokes in a text grid window are redirected to the line input field. Fixes issue #5.

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

15 years agoImplemented line input in text grid windows using a GtkEntry.
Philip Chimento [Sun, 1 Mar 2009 19:32:23 +0000 (19:32 +0000)]
Implemented line input in text grid windows using a GtkEntry.
Fixed another off-by-one error in line input requests :-P
Corrected the source dependencies for the plugin programs in the automake file.

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

15 years agoWrote behavior of Backspace key during line input in text grid windows.
Philip Chimento [Sat, 28 Feb 2009 21:18:19 +0000 (21:18 +0000)]
Wrote behavior of Backspace key during line input in text grid windows.
Fixed off-by-one errors in line input length.

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

15 years agoRemoved autogenerated files from source control. This will help
Philip Chimento [Thu, 5 Feb 2009 00:05:49 +0000 (00:05 +0000)]
Removed autogenerated files from source control. This will help
prevent autotools headaches (I think.)

To compile from a clean working copy, do ./autogen.sh and all the
necessary files will be generated.

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

15 years agoAdded text grid windows. Output, cursor placement, and character input work. Line...
Philip Chimento [Wed, 4 Feb 2009 23:55:06 +0000 (23:55 +0000)]
Added text grid windows. Output, cursor placement, and character input work. Line input also works, but is shaky.

Changed gridtest.c to splittest.c, and put my gridtest.c back in.

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

15 years agoAdded gmodule-2.0 to the dependencies of the test program.
Philip Chimento [Tue, 27 Jan 2009 17:56:22 +0000 (17:56 +0000)]
Added gmodule-2.0 to the dependencies of the test program.
Otherwise the signal handlers are not found on Linux.

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

15 years agopreliminary support for splitting of windows. Does not respect window sizes yet....
Marijn van Vliet [Thu, 15 Jan 2009 15:33:41 +0000 (15:33 +0000)]
preliminary support for splitting of windows. Does not respect window sizes yet. Crashes when windows are opened and closed without GTK having time to update the view.

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

15 years agoAdded gtk-doc comments to the ChimaraGlk widget.
Philip Chimento [Mon, 29 Dec 2008 22:46:02 +0000 (22:46 +0000)]
Added gtk-doc comments to the ChimaraGlk widget.

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

15 years agoImplemented glk_window_get_size()
Philip Chimento [Fri, 26 Dec 2008 08:25:16 +0000 (08:25 +0000)]
Implemented glk_window_get_size()
Fixed dependencies in the makefile

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

15 years agoFixed a segfault when opening an invalid window.
Philip Chimento [Wed, 24 Dec 2008 22:14:03 +0000 (22:14 +0000)]
Fixed a segfault when opening an invalid window.

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

15 years agoImplemented "started" and "stopped" signals
Philip Chimento [Wed, 24 Dec 2008 06:34:21 +0000 (06:34 +0000)]
Implemented "started" and "stopped" signals

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

15 years agoAdded dynamic module loading: now the Glk program (i.e., the
Philip Chimento [Tue, 23 Dec 2008 06:15:17 +0000 (06:15 +0000)]
Added dynamic module loading: now the Glk program (i.e., the
interpreter) is loaded from a .so file.
The code from the Chimara library and the test program are now
completely separate.
Removed the use of error_dialog() from the library code and replaced
it with GTK warning functions.

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

15 years agoRemoved old Makefile.
Philip Chimento [Mon, 22 Dec 2008 04:55:36 +0000 (04:55 +0000)]
Removed old Makefile.

When checking out a copy for the first time, use ./autogen.sh to configure,
then make to build.

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

15 years agoChanged build system to Automake. Split Glk code off into a GTK widget.
Philip Chimento [Mon, 22 Dec 2008 04:50:50 +0000 (04:50 +0000)]
Changed build system to Automake. Split Glk code off into a GTK widget.

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

16 years agoVerbeterd interrupt mechanisme en afbreken van het Glk programma
Philip Chimento [Sun, 24 Aug 2008 15:19:05 +0000 (15:19 +0000)]
Verbeterd interrupt mechanisme en afbreken van het Glk programma

glk_set_interrupt_handler()
glk_tick()

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

16 years agoCode opschonen, toevoegen documentatie
Philip Chimento [Sun, 24 Aug 2008 00:37:04 +0000 (00:37 +0000)]
Code opschonen, toevoegen documentatie

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

16 years agofirst.c compilet en draait!
Philip Chimento [Tue, 19 Aug 2008 22:56:35 +0000 (22:56 +0000)]
first.c compilet en draait!

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

16 years agoTesten en debuggen van alle file en memory stream functies
Philip Chimento [Sun, 17 Aug 2008 22:29:43 +0000 (22:29 +0000)]
Testen en debuggen van alle file en memory stream functies

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

16 years agoFile en memory streams, en lezen van input streams. Nog niet getest. Alle
Philip Chimento [Sat, 16 Aug 2008 16:19:02 +0000 (16:19 +0000)]
File en memory streams, en lezen van input streams. Nog niet getest. Alle
stream I/O functies afgesplitst in strio.c.

glk_get_char_stream()
glk_get_buffer_stream()
glk_get_line_stream()
glk_stream_close()
glk_stream_get_position()
glk_stream_set_position()
glk_stream_open_memory()
glk_stream_open_memory_uni()

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

16 years agoFiles openen. Niet getest, omdat het schrijven naar files nog niet
Philip Chimento [Sat, 9 Aug 2008 22:36:35 +0000 (22:36 +0000)]
Files openen. Niet getest, omdat het schrijven naar files nog niet
geschreven is.

glk_stream_open_file()
glk_stream_open_file_uni()

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

16 years agoAll of the fileref functions are now implemented:
Philip Chimento [Sun, 20 Jul 2008 00:09:16 +0000 (00:09 +0000)]
All of the fileref functions are now implemented:

glk_fileref_create_temp()
glk_fileref_create_by_prompt()
glk_fileref_create_by_name()
glk_fileref_create_from_fileref()
glk_fileref_destroy()
glk_fileref_delete_file()
glk_fileref_does_file_exist()

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

16 years agoOeps, nog enkele bugs
Philip Chimento [Sun, 13 Jul 2008 16:31:54 +0000 (16:31 +0000)]
Oeps, nog enkele bugs

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

16 years agoToevoegen van de sources die ik vorige keer vergeten was, en nog wat
Philip Chimento [Sun, 13 Jul 2008 16:23:38 +0000 (16:23 +0000)]
Toevoegen van de sources die ik vorige keer vergeten was, en nog wat
triviale functies geimplementeerd, zoals echo streams van windows.

Ik heb ook de andere glk_put_ functies geschreven; de functie met de echte
code is nu glk_put_string_stream(), en de anderen formatteren hun input en
geven die door aan glk_put_string_stream().

Library functies geimplementeerd:
glk_window_get_type()
glk_window_get_parent()
glk_window_get_sibling()
glk_window_get_root()
glk_window_clear()
glk_window_set_echo_stream()
glk_window_get_echo_stream()
glk_stream_get_current()
glk_put_string_stream()
glk_put_char()
glk_put_char_stream()
glk_put_buffer()
glk_put_buffer_stream()

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

16 years agoEen heleboel, relatief nutteloze dingen, zoals blank windows, en filerefs
Philip Chimento [Sat, 12 Jul 2008 23:43:30 +0000 (23:43 +0000)]
Een heleboel, relatief nutteloze dingen, zoals blank windows, en filerefs
die nog niets doen. Ik heb de volgende functies geimplementeerd. De unicode
functies heb ik nog niet getest.

glk_gestalt()
glk_gestalt_ext()
glk_window_iterate()
glk_window_get_rock()
glk_stream_iterate()
glk_stream_get_rock()
glk_fileref_iterate()
glk_fileref_get_rock()
glk_char_to_lower()
glk_char_to_upper()
glk_buffer_to_lower_case_uni()
glk_buffer_to_upper_case_uni()
glk_buffer_to_title_case_uni()

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

16 years agoCommentaar toegevoegd aan code en tevens Gtk-Doc comments voor alle
Philip Chimento [Sat, 12 Jul 2008 19:40:23 +0000 (19:40 +0000)]
Commentaar toegevoegd aan code en tevens Gtk-Doc comments voor alle
officiele Glk functies, mochten we ooit documentatie willen uitspugen

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

16 years agoEerste import.
Philip Chimento [Sat, 12 Jul 2008 00:35:15 +0000 (00:35 +0000)]
Eerste import.

Philip en Marijn zijn vet goed!

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