summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Philip Chimento [Sun, 29 Mar 2009 01:13:07 +0000 (01:13 +0000)]
Got Gtk-Doc working. Now all the fancy /** comments before the functions
actually mean something. To use gtk-doc, invoke configure like this:
./configure --enable-gtk-doc
When you do this, configure will generate makefiles that rebuild the docs
whenever the source is changed. Calling configure without that option
generates makefiles that don't rebuild the docs. Building the docs takes
some time so you probably want to disable it unless you're actively working
on the docs.
The documentation is output as HTML, which you can browse by pointing your
browser to
file:///path/to/chimara/docs/reference/html/index.html
The really cool thing is that the docs are also built as a devhelp module,
so when you make install, the devhelp module is installed and automatically
shows up in Devhelp.
The documentation consists of two sections: one is the API of our widget,
the other is the Glk API specification which we have been working from. I
have obtained permission from Andrew Plotkin to include and alter this spec.
I have changed the order of things around a little bit so it makes more
sense as a Gtk-Doc reference book.
The API spec only contains the parts that we have implemented so far. I
figure if we update the documentation for the Glk API functions as we
implement them, then we'll be able to see at a glance how far we've gotten.
One more change left to describe: the new file src/doc.c consists of only
comments. These comments contain two things. One is the introductory
descriptions of each Gtk-Doc section. I put these in here because they
really bloated the regular C files. The other is the Gtk-Doc comments for
constants and structures that are defined in glk.h. I put these in here
because the spec says glk.h is supposed to be the same on every platform
except for the typedefs of the 32-bit types.
git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@33
ddfedd41-794f-dd11-ae45-
00112f111e67
Philip Chimento [Sat, 7 Mar 2009 12:36:59 +0000 (12:36 +0000)]
Properly set up svn:ignore properties.
Removed svn:executable properties on files that didn't need them.
git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@32
ddfedd41-794f-dd11-ae45-
00112f111e67
Philip Chimento [Fri, 6 Mar 2009 23:16:31 +0000 (23:16 +0000)]
I have Autotools-Fu.
We should now be at the bare minimum of files under version control,
which also means that _NO_ generated files are versioned. This should
mean that any problems which arise from, for example, having different
libtool versions on my Fedora machine and my iBook, are solved.
I found out that autogen.sh is necessary after all, since Gtk-Doc and
Intltool require their own preparation programs in addition to the
Autotools' autoreconf. I rewrote it to be much simpler and easier to
read, and removed all of the checks for extreme system configurations.
That's because users shouldn't have to run it, only developers, who
should all have decent systems with decent versions of Autotools.
The autogen script runs autoreconf, but not configure. (Apparently
running configure automatically is a big timewaster.) So, after
checking out a new revision, the correct sequence to run is:
./autogen.sh
./configure
make
There are still a couple of warnings from the Gtk-Doc autoconf macros,
but since we don't actually do anything with Gtk-Doc yet, I will save
fixing that for when I attain Autotools-Nirvana.
git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@31
ddfedd41-794f-dd11-ae45-
00112f111e67
Philip Chimento [Thu, 5 Mar 2009 23:14:46 +0000 (23:14 +0000)]
Rewrote configure.ac according to my new l33t knowledge of autotools, and
removed obsolete macros.
Now, after checking out a new revision, use the command:
autoreconf --install --force
instead of autogen.sh to rebuild all the platform-specific files.
git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@30
ddfedd41-794f-dd11-ae45-
00112f111e67
Philip Chimento [Tue, 3 Mar 2009 23:21:53 +0000 (23:21 +0000)]
Wrote all remaining Unicode input and output functions.
Updated gestalt to support Unicode.
Split off functions to convert from one character set to another and put them in charset.c.
glk_put_char_uni(), glk_put_string_uni(), glk_put_buffer_uni(),
glk_put_char_stream_uni(), glk_put_string_stream_uni(),
glk_put_buffer_stream_uni(), glk_get_char_stream_uni(),
glk_get_buffer_stream_uni(), glk_get_line_stream_uni()
git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@29
ddfedd41-794f-dd11-ae45-
00112f111e67
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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