clg
11 years agogtk/gtk.lisp: Apparently when you ask for a stock Button, you get a Bin. master
Mark Wooding [Fri, 22 Mar 2013 02:21:45 +0000 (02:21 +0000)]
gtk/gtk.lisp: Apparently when you ask for a stock Button, you get a Bin.

So relax the type check on the return value of `gtk:%dialog-add-button'.

11 years agogffi/basic-types.lisp: clisp already defines a `byte' type'.
Mark Wooding [Sat, 14 Jun 2008 09:19:17 +0000 (10:19 +0100)]
gffi/basic-types.lisp: clisp already defines a `byte' type'.

Don't clobber the definition, because clisp complains.  Funny, it
doesn't seem to be used anywhere anyway.

11 years agogtk/gtktree.lisp: Fixing string representations of tree paths.
Mark Wooding [Tue, 5 Feb 2008 13:33:37 +0000 (13:33 +0000)]
gtk/gtktree.lisp: Fixing string representations of tree paths.

  * The old ensure-tree-path returned a vector of strings, which is
    useless.  Fixed to return a vector of integers, using parse-integer.

  * Make tree-model-get-iter apply ensure-tree-path to its argument.

  * Enable ensure-tree-iter to coerce string representations of paths.

11 years agogtk/gtktree.lisp: Remove unused callback-setter.
Mark Wooding [Tue, 5 Feb 2008 13:30:11 +0000 (13:30 +0000)]
gtk/gtktree.lisp: Remove unused callback-setter.

This broke the build, which is a shame.

11 years agogtk/gtk.lisp: Make (dialog-run) return the response symbolically.
Mark Wooding [Tue, 5 Feb 2008 13:27:42 +0000 (13:27 +0000)]
gtk/gtk.lisp: Make (dialog-run) return the response symbolically.

This is probably much more useful than reporting the response code!  It
is, of course, incompatible, which is a shame.

11 years agoInfra: Rudimentary setup system.
Mark Wooding [Tue, 5 Feb 2008 13:25:45 +0000 (13:25 +0000)]
Infra: Rudimentary setup system.

The script setup.sh creates the `systems' directory of symlinks, and
I've added a .gitignore to keep GIT from pokng its nose in.

11 years agoAdd a docstring to defbinding.
Rupert Swarbrick [Sun, 29 Apr 2012 16:02:54 +0000 (17:02 +0100)]
Add a docstring to defbinding.

11 years agoEnsure that BORDER is defined at compile time.
Rupert Swarbrick [Sun, 29 Apr 2012 14:35:23 +0000 (15:35 +0100)]
Ensure that BORDER is defined at compile time.

Otherwise ENTRY ends up with an undefined type for its slot.

12 years agoPort from toolbar-orientation to orientable-orientation
Rupert Swarbrick [Sat, 3 Mar 2012 22:21:37 +0000 (22:21 +0000)]
Port from toolbar-orientation to orientable-orientation

Old version deprecated since Gtk 2.16

12 years agoMake custom slot setting work again.
Rupert Swarbrick [Sat, 3 Mar 2012 22:16:55 +0000 (22:16 +0000)]
Make custom slot setting work again.

I'm a bit mystified about the +clisp stuff, and maybe this breaks
things on some implementation. But it was definitely broken on SBCL
beforehand...

This makes the "entry" test in TESTGTK work again.

12 years agoFix typo.
Rupert Swarbrick [Wed, 29 Feb 2012 17:51:05 +0000 (17:51 +0000)]
Fix typo.

12 years agoAllow string setters for virtual slots.
Rupert Swarbrick [Wed, 29 Feb 2012 17:48:37 +0000 (17:48 +0000)]
Allow string setters for virtual slots.

This extends the nasty vsc-slot-x-using-class macro to deal with setf
stuff too, so I only have to write the string check code once.

12 years agoAdd a boundp-function slot, which is required by virtual slot getter.
Rupert Swarbrick [Wed, 29 Feb 2012 16:39:30 +0000 (16:39 +0000)]
Add a boundp-function slot, which is required by virtual slot getter.

See vsc-slot-x-using-class in virtual-slots.lisp for where it's used.

12 years agoMake type-expand-based code work on SBCL again.
Rupert Swarbrick [Wed, 29 Feb 2012 17:40:24 +0000 (17:40 +0000)]
Make type-expand-based code work on SBCL again.

See the (ancient) post at
http://permalink.gmane.org/gmane.lisp.clg.devel/427 for an
explanation.

12 years agoExplicitly name GProxy as network-proxy
Rupert Swarbrick [Wed, 29 Feb 2012 17:06:44 +0000 (17:06 +0000)]
Explicitly name GProxy as network-proxy

We already have a class in the namespace called proxy, so bad things
were happening.

12 years agoCorrectly sort out string-specified getters in virtual-slots.lisp
Rupert Swarbrick [Wed, 29 Feb 2012 17:00:45 +0000 (17:00 +0000)]
Correctly sort out string-specified getters in virtual-slots.lisp

The new code basically just punts to the method on
compute-slot-reader-function defined in proxy.lisp.

12 years agoHopefully allow (require :glib) again.
Rupert Swarbrick [Tue, 3 Jan 2012 13:35:43 +0000 (13:35 +0000)]
Hopefully allow (require :glib) again.

This should work around most of the hacky crap that was depending on
SBCL internals (about a year out of date). I had to keep
COMPUTE-EFFECTIVE-SLOT-DEFINITION-INITARGS, but hopefully I'll
understand/rewrite enough of GFFI to be able to drop it eventually!

12 years agoDelete some imports from SB-PCL
Rupert Swarbrick [Mon, 2 Jan 2012 17:53:21 +0000 (17:53 +0000)]
Delete some imports from SB-PCL

This seems to allow me to load GFFI on my system. I'm a bit concerned
that it will break things horribly though... Ho hum.

12 years agoFix breakage loading up clg-tools.
Rupert Swarbrick [Mon, 2 Jan 2012 17:47:42 +0000 (17:47 +0000)]
Fix breakage loading up clg-tools.

New ASDFs seem to have a featurep symbol which we were clashing
with. Shadow the import from pkg-config.

13 years agoFix compilation for Gtk with the new, stricter inheritance
Rupert Swarbrick [Tue, 8 Jun 2010 10:43:53 +0000 (11:43 +0100)]
Fix compilation for Gtk with the new, stricter inheritance
rules. Also, change the prefix lookup so that it's possible to bind
"GtkClutterFoo", without it landing in :gtk.

13 years agoIgnore fasls.
Rupert Swarbrick [Sat, 5 Jun 2010 14:37:10 +0000 (15:37 +0100)]
Ignore fasls.

13 years agoReturn a more robust warning when we try to define a type with a
Rupert Swarbrick [Sat, 5 Jun 2010 14:36:38 +0000 (15:36 +0100)]
Return a more robust warning when we try to define a type with a
broken supertype. (Before, it seriously broke the type system if this
happened)

13 years agoForce asdf to call the C source file blah.c, rather than just blah. I'm
Rupert Swarbrick [Tue, 20 Apr 2010 22:51:14 +0000 (23:51 +0100)]
Force asdf to call the C source file blah.c, rather than just blah. I'm
a bit mystified as to why this was working until today...

15 years agoRe-registering custom signals and class closures when loading saved images
espen [Tue, 10 Feb 2009 15:18:15 +0000 (15:18 +0000)]
Re-registering custom signals and class closures when loading saved images

15 years agoReferencing foreign classes when loading saved images
espen [Tue, 10 Feb 2009 15:16:34 +0000 (15:16 +0000)]
Referencing foreign classes when loading saved images

15 years agoChanges required by SBCL 1.0.22
espen [Mon, 9 Feb 2009 12:22:53 +0000 (12:22 +0000)]
Changes required by SBCL 1.0.22

15 years agoNew function CLISP<
espen [Mon, 9 Feb 2009 11:50:22 +0000 (11:50 +0000)]
New function CLISP<

15 years agoBug fix in stdio_write_func
espen [Mon, 9 Feb 2009 11:46:21 +0000 (11:46 +0000)]
Bug fix in stdio_write_func

15 years agoOptimization of %STREAM-READ-FUNC and some minor changes
espen [Mon, 9 Feb 2009 11:45:03 +0000 (11:45 +0000)]
Optimization of %STREAM-READ-FUNC and some minor changes

15 years agoAdded new types GSSIZE and GOFFSET
espen [Sun, 14 Dec 2008 21:37:25 +0000 (21:37 +0000)]
Added new types GSSIZE and GOFFSET

15 years agoRequiring clg-tools
espen [Sun, 14 Dec 2008 21:37:08 +0000 (21:37 +0000)]
Requiring clg-tools

15 years agoInitial checkin
espen [Wed, 10 Dec 2008 15:47:16 +0000 (15:47 +0000)]
Initial checkin

15 years agoAPI changes
espen [Wed, 10 Dec 2008 03:01:34 +0000 (03:01 +0000)]
API changes

15 years agoAdded gio dependency
espen [Wed, 10 Dec 2008 02:59:43 +0000 (02:59 +0000)]
Added gio dependency

15 years agoInitial checkin
espen [Wed, 10 Dec 2008 02:58:13 +0000 (02:58 +0000)]
Initial checkin

15 years agoNew macro DEFINE-TYPES-IN-LIBRARY
espen [Wed, 10 Dec 2008 02:54:17 +0000 (02:54 +0000)]
New macro DEFINE-TYPES-IN-LIBRARY

15 years agoNew file main-loop.lisp
espen [Wed, 10 Dec 2008 02:52:19 +0000 (02:52 +0000)]
New file main-loop.lisp

15 years agoInitial checkin
espen [Wed, 10 Dec 2008 02:51:59 +0000 (02:51 +0000)]
Initial checkin

15 years agoCode to set gerrors from callbacks
espen [Wed, 10 Dec 2008 02:49:17 +0000 (02:49 +0000)]
Code to set gerrors from callbacks

15 years agoExporting new symbols
espen [Wed, 10 Dec 2008 02:42:47 +0000 (02:42 +0000)]
Exporting new symbols

15 years agoUsing WITH-PINNED-OBJECTS to avoid some copying
espen [Wed, 10 Dec 2008 02:41:40 +0000 (02:41 +0000)]
Using WITH-PINNED-OBJECTS to avoid some copying

15 years agoNew function TYPE-EQUAL-P
espen [Wed, 10 Dec 2008 02:40:18 +0000 (02:40 +0000)]
New function TYPE-EQUAL-P

15 years agoExporting TYPE-EQUAL-P
espen [Wed, 10 Dec 2008 02:39:17 +0000 (02:39 +0000)]
Exporting TYPE-EQUAL-P

15 years agoAdded missing dependency
espen [Wed, 10 Dec 2008 02:38:30 +0000 (02:38 +0000)]
Added missing dependency

15 years agoFix to load shared libraries from default locations in CMUCL and CLISP
espen [Wed, 10 Dec 2008 02:06:13 +0000 (02:06 +0000)]
Fix to load shared libraries from default locations in CMUCL and CLISP

15 years agoUpdated for new pixbuf API
espen [Tue, 9 Dec 2008 19:37:19 +0000 (19:37 +0000)]
Updated for new pixbuf API

15 years agoJPEG support, better error handling and minor API changes
espen [Fri, 28 Nov 2008 19:26:04 +0000 (19:26 +0000)]
JPEG support, better error handling and minor API changes

15 years agoAdded JPEG support
espen [Fri, 28 Nov 2008 19:25:30 +0000 (19:25 +0000)]
Added JPEG support

15 years agoInitial checking of support functions for JPEG
espen [Fri, 28 Nov 2008 19:24:25 +0000 (19:24 +0000)]
Initial checking of support functions for JPEG

15 years agoAdded WIDGET-GET-SNAPSHOT
espen [Tue, 25 Nov 2008 22:17:08 +0000 (22:17 +0000)]
Added WIDGET-GET-SNAPSHOT

15 years agoBug fix
espen [Tue, 25 Nov 2008 22:11:08 +0000 (22:11 +0000)]
Bug fix

15 years agoFixed return type for COMBO-BOX-GET-ACTIVE-TEXT
espen [Wed, 19 Nov 2008 07:53:50 +0000 (07:53 +0000)]
Fixed return type for COMBO-BOX-GET-ACTIVE-TEXT

15 years agoFixed typo
espen [Thu, 13 Nov 2008 22:05:28 +0000 (22:05 +0000)]
Fixed typo

15 years agoPatch needed for Gentoo
espen [Thu, 13 Nov 2008 21:18:14 +0000 (21:18 +0000)]
Patch needed for Gentoo

15 years agoNew function clg_gdk_pixbuf_swap_rgb
espen [Thu, 6 Nov 2008 17:27:39 +0000 (17:27 +0000)]
New function clg_gdk_pixbuf_swap_rgb

15 years agoExporting all symbols for raw memory access
espen [Thu, 6 Nov 2008 17:26:53 +0000 (17:26 +0000)]
Exporting all symbols for raw memory access

15 years agoUpdated to work with recent versions of SLIME
espen [Tue, 4 Nov 2008 20:18:08 +0000 (20:18 +0000)]
Updated to work with recent versions of SLIME

15 years agoSmall fix for CLISP
espen [Tue, 4 Nov 2008 20:15:35 +0000 (20:15 +0000)]
Small fix for CLISP

15 years agoFixed memory corruption with statics strings in GValues
espen [Tue, 4 Nov 2008 03:22:23 +0000 (03:22 +0000)]
Fixed memory corruption with statics strings in GValues

15 years agoTemporary hack to get clg build with Gtk+ 2.14
espen [Mon, 27 Oct 2008 18:42:01 +0000 (18:42 +0000)]
Temporary hack to get clg build with Gtk+ 2.14

15 years agoFix for CLISP
espen [Mon, 27 Oct 2008 18:39:30 +0000 (18:39 +0000)]
Fix for CLISP

15 years agoBug fix
espen [Thu, 9 Oct 2008 18:45:33 +0000 (18:45 +0000)]
Bug fix

15 years agoRemoved deprecated function CONTAINER-CHILD-CLASS
espen [Thu, 9 Oct 2008 18:45:01 +0000 (18:45 +0000)]
Removed deprecated function CONTAINER-CHILD-CLASS

15 years agoMoved handling of floating references from gtk to glib
espen [Thu, 9 Oct 2008 18:20:52 +0000 (18:20 +0000)]
Moved handling of floating references from gtk to glib

15 years agoBug fix
espen [Wed, 8 Oct 2008 18:26:49 +0000 (18:26 +0000)]
Bug fix

15 years agoAdded macro WITH-HANDLE and function IMAGE-SURFACE-CREATE-FROM-SVG
espen [Wed, 8 Oct 2008 18:24:01 +0000 (18:24 +0000)]
Added macro WITH-HANDLE and function IMAGE-SURFACE-CREATE-FROM-SVG

15 years agoAdded bindings for GtkTooltip
espen [Wed, 8 Oct 2008 18:18:52 +0000 (18:18 +0000)]
Added bindings for GtkTooltip

15 years agoFixed typo in comment
espen [Wed, 8 Oct 2008 18:17:10 +0000 (18:17 +0000)]
Fixed typo in comment

15 years agoUse glib's API for memory allocation
espen [Wed, 8 Oct 2008 18:11:12 +0000 (18:11 +0000)]
Use glib's API for memory allocation

15 years agoBug fix (function name included in declarations)
espen [Wed, 8 Oct 2008 16:34:07 +0000 (16:34 +0000)]
Bug fix (function name included in declarations)

15 years agoUpdate to the COPY-FUNCTION type method
espen [Wed, 8 Oct 2008 16:27:09 +0000 (16:27 +0000)]
Update to the COPY-FUNCTION type method

15 years agoAdded common superclass for vector surfaces and some minor API changes
espen [Wed, 8 Oct 2008 16:24:11 +0000 (16:24 +0000)]
Added common superclass for vector surfaces and some minor API changes

15 years agoFixed typos
espen [Tue, 6 May 2008 00:09:03 +0000 (00:09 +0000)]
Fixed typos

15 years agoRemoved circular object references in signal handler closures
espen [Tue, 6 May 2008 00:04:42 +0000 (00:04 +0000)]
Removed circular object references in signal handler closures

15 years agoAdded bindings for Pixbuf Loader
espen [Wed, 30 Apr 2008 18:04:09 +0000 (18:04 +0000)]
Added bindings for Pixbuf Loader

15 years agoMade UNBOXED-VECTOR work in CLISP
espen [Wed, 30 Apr 2008 17:35:48 +0000 (17:35 +0000)]
Made UNBOXED-VECTOR work in CLISP

15 years agoAdded new type UNBOXED-VECTOR
espen [Tue, 29 Apr 2008 22:16:28 +0000 (22:16 +0000)]
Added new type UNBOXED-VECTOR

15 years agoExporting UNBOXED-VECTOR
espen [Tue, 29 Apr 2008 22:12:32 +0000 (22:12 +0000)]
Exporting UNBOXED-VECTOR

15 years agoSimplified WITH-MEMORY
espen [Tue, 29 Apr 2008 22:11:35 +0000 (22:11 +0000)]
Simplified WITH-MEMORY

16 years agoFixed typo
espen [Mon, 21 Apr 2008 16:21:07 +0000 (16:21 +0000)]
Fixed typo

16 years agoFixed argument type in definition of %WINDOW-SET-DEFAULT-ICON
espen [Mon, 14 Apr 2008 19:10:41 +0000 (19:10 +0000)]
Fixed argument type in definition of %WINDOW-SET-DEFAULT-ICON

16 years agoChanged return type for TREE-ROW-REFERENCE-GET-PATH
espen [Fri, 11 Apr 2008 20:53:32 +0000 (20:53 +0000)]
Changed return type for TREE-ROW-REFERENCE-GET-PATH

16 years agoChanged return type for SIGNAL-NAME
espen [Fri, 11 Apr 2008 20:51:45 +0000 (20:51 +0000)]
Changed return type for SIGNAL-NAME

16 years agoAdded prooper return type for gerror-signal
espen [Fri, 11 Apr 2008 20:35:48 +0000 (20:35 +0000)]
Added prooper return type for gerror-signal

16 years agoVector arguments declared as SEQUENCE
espen [Fri, 11 Apr 2008 20:19:09 +0000 (20:19 +0000)]
Vector arguments declared as SEQUENCE

16 years agoAdded (or null ...) return types
espen [Fri, 11 Apr 2008 19:47:39 +0000 (19:47 +0000)]
Added (or null ...) return types

16 years agoAdded support for OR as return type
espen [Fri, 11 Apr 2008 18:51:57 +0000 (18:51 +0000)]
Added support for OR as return type

16 years agoBug fix
espen [Fri, 11 Apr 2008 18:42:40 +0000 (18:42 +0000)]
Bug fix

16 years agoBug fixes
espen [Fri, 11 Apr 2008 18:38:56 +0000 (18:38 +0000)]
Bug fixes

16 years agoBug fix
espen [Fri, 11 Apr 2008 18:34:02 +0000 (18:34 +0000)]
Bug fix

16 years agoVersion number bumped to 0.94. Minor bug fix.
espen [Thu, 10 Apr 2008 20:38:49 +0000 (20:38 +0000)]
Version number bumped to 0.94. Minor bug fix.

16 years agoBroken make-glist and glist copy function fixed
espen [Tue, 1 Apr 2008 21:17:59 +0000 (21:17 +0000)]
Broken make-glist and glist copy function fixed

16 years agoBug fixes
espen [Tue, 25 Mar 2008 02:00:58 +0000 (02:00 +0000)]
Bug fixes

16 years agoFix for CLISP
espen [Thu, 20 Mar 2008 16:20:53 +0000 (16:20 +0000)]
Fix for CLISP

16 years agoAdded note saying the file should probably be treated as being GPL
espen [Thu, 20 Mar 2008 16:05:31 +0000 (16:05 +0000)]
Added note saying the file should probably be treated as being GPL

16 years agoFixed broken URL
espen [Thu, 20 Mar 2008 15:44:01 +0000 (15:44 +0000)]
Fixed broken URL

16 years agoAdded fill style snippet
espen [Thu, 20 Mar 2008 15:31:01 +0000 (15:31 +0000)]
Added fill style snippet

16 years agoFixed logical pathname translation for win32
espen [Wed, 19 Mar 2008 14:33:06 +0000 (14:33 +0000)]
Fixed logical pathname translation for win32

16 years agoAdded missing slot to grab-broken-event class
espen [Tue, 18 Mar 2008 15:08:08 +0000 (15:08 +0000)]
Added missing slot to grab-broken-event class

16 years agoAdded class definition for event type GRAB-BROKEN
espen [Tue, 18 Mar 2008 14:52:54 +0000 (14:52 +0000)]
Added class definition for event type GRAB-BROKEN