2003/07/18 12:05 muppetman
* Glib.pm, README, META.yml
2003/07/17 11:44 muppetman
* GBoxed.xs, GObject.xs, GTypes.xs, Glib.xs, Makefile.PL: add the
necessary locking to make the perl bindings thread-safe. thanks go
to Brett Kosinski for contributing the initial patch and bugging me
about it, which he needed for work on GStreamer bindings.
2003/07/10 09:50 muppetman
* Glib.pm: $VERSION is actually treated as a string, write it as one
to avoid bootstrap problems when using a locale that writes numbers
differently. (thanks to thierry for finding that.)
2003/07/06 16:48 muppetman
* GSignal.xs: add g_signal_stop_emission_by_name
2003/07/05 06:37 pcg
* typemap: add gchar_own*, for functions that return allocated
strings and gchar_length* for functions expecting a length() input.
* gperl.h: add gchar_own and gchar_len typedefs.
2003/07/04 13:35 muppetman
* Makefile.PL: patch from Thierry Vignaud fixed my copy and paste
bug which leads to errors when ExtUtils::Depends isn't present.
* ChangeLog: bump to 0.26 for release
2003/06/28 03:16 pcg
* GType.xs: remove superfluous gperl_object_new call.
* GObject.xs: important bugfix: the calls with own==FALSE in
GType.xs caused premature death of the perl wrapper. The fix
incurs a slight performance hit, so only do it when own==TRUE, as
this should be the only case where it is ever required.
* t/5.t: test for this case.
2003/06/27 17:00 muppetman
* GObject.xs: get_data and set_data work only with UVs now,
because it's not safe to treat them as anything else, and
since we can use hash keys they aren't needed for anything else.
2003/06/27 12:00 muppetman
merged realobjects-branch back onto HEAD. this was a week's worth
of work, mostly by pcg with some help from me. here's a summary of
changelog items from that branch:
* README.api-changes: clearinghouse for API gripes, please amend
* GParamSpec.xs, Glib.xs, typemap, gperl.h, Makefile.PL: support
for pspecs, so we can add properties to gobjects.
* Subclass.pm, t/[345].t: extra module to ease implementation of
subclasses, and some tests for it
* Glib.pm: pod updates
* GObject.xs: big change in how perl wrappers are implemented.
the new implementation will only ever create one perl wrapper (a
real hash, with magic containing the gobject's address) for any
gobject. The combined perl+gobject will stay alive as long as one
of the partners is alive. The only real changes are in
gperl_new_object and in the DESTROY method.
* GType.xs: rename INSTANCE_INIT to INIT_INSTANCE and make it a
function call as opposed to a method call. Also call FINALIZE_INSTANCE
on object finalization time. implemented creation of properties
for an object in Glib::Type::register, and implemented calling
of SET_PROPERTY and GET_PROPERTY on the resultant object.
other changes during the merge:
* Makefile.PL: install MAN3PODS with the correct names.
* PkgConfig.pm: add some documentation
2003/06/25 09:25 muppetman
* GValue.xs, GClosure.xs: add a MODULE directive to appease
ExtUtils::ParseXS
2003/06/20 11:29 muppetman
* README, Makefile.PL: bump version number for 0.24 release
2003/06/19 00:44 pcg
* Depends.pm: moved to ExtUtils-Depends module.
* Makefile.PL: add ExtUtils-Depends as prerequisite, please
install the ExtUtils::Depends module seperately from cvs.
2003/06/16 14:21 muppetman
* GBoxed.xs, gperl.h: converted GBoxed to use vtable-based wrappers;
this allows client code to install new wrapper classes that make
gperl_sv_from_value and gperl_value_from_sv call the right code
to convert boxed types in custom ways. GPerlBoxedPackageFunc has
disappeared and the call signature for gperl_register_boxed has
changed (well, the meaning of that one extra parameter -- if you
already passed NULL, there's nothing to worry about).
* GMainLoop.xs, typemap: added support for some GMainContext and
GMainLoop methods.
2003/06/13 14:12 muppetman
* GObject.xs: rename Glib::Object->_new to Glib::Object->new -- it
should be that because people expect it. other cleanup. NOTE: we
need to have object wrappers be able to override things like "take
ownership", "wrap", "unwrap", and "destroy"... as it is, if you
create a wrapper for a GtkObject from Glib::Object->new, the wrapper
will be created incorrectly (gtk_object_sink will not be called).
to do all of this correctly will also require wrapper caching,
which i haven't made work reliably... but i'm working on it now.
2003/06/12 15:18 muppetman
* GClosure.xs: protect yourself from maniacal code that passes in
something to get a return value from closures/callbacks with no
return value. this makes gperl_value_from_sv stop warning about
bad types on the activate signal for GtkEntry, for example.
2003/06/11 09:25 muppetman
* GValue.xs: undef is also false; use SvTRUE instead of SvIV when
evaluating an SV as a gboolean to allow undef to pass quietly.
* GType.xs: add Glib::Double
2003/06/17 18:21 muppetman
* gperl.h, xs/GObject.xs: move sink functions into Glib,
to avoid some problems in which GtkObject created via
Glib::Object->new don't have gtk_object_sink called on them.
this problem is actually more generic than just GtkObject (other
libraries do similar things).
2003/06/09 13:49 muppetman
* gperl.h, typemap: corrected broken handling for GObject output
typemap; now uses SvGObject/newSVGObject-style macros and the
_ornull/_noinc variants that Gtk2 uses.
2003/06/06 23:55 muppetman
* GObject.xs, GType.xs: copy scalars that will be stored, don't just
mess with the reference count, for along that way lies madness.
* MANIFEST: added some key missing files (AUTHORS, LICENSE, ChangeLog)
* Glib.pm: bumped version number to 0.22 for public release
2003/06/01 16:16 muppetman
applied patch from Marc Lehmann (pcg at goof dot com)
* GObject.xs: allow $object->get and $object->set to work on
multiple properties.
* Glib/GClosure.xs: don't try to PERL_SET_CONTEXT on non-threaded perls
2003/05/30 23:55 muppetman (while watching zep at the albert hall)
* GType.xs: initial values, try to avoid warnings and bugs
* AUTHORS, GClosure.xs, gperl.h, typemap: applied more patches from
Brett Kosinski; added typemaps for gint64 and guint64, ensure that
closures and callbacks are executed by the interpreters that created
them.
2003/05/29 15:51 muppetman
* GType.xs, gperl.h: applied patch (with liberal modifications) from
Brett Kosinski (brettk at frodo dot dyn dot gno dot org) to add
gperl_try_convert_flag, like the existing gperl_try_convert_enum.
rearranged things to avoid copied code, and use the _try_ versions
as the actual workhorses. added a little more commentary, too.
2003/05/26 04:28 muppetman
* Glib.pm: bumped version for development release
* GBoxed.xs: ensure that the scalar from which we try to extract
a boxed pointer is actually a reference.
2003/05/22 10:30 muppetman
* AUTHORS, LICENSE every other file: in every file in the project
added a header pointing to the new AUTHORS and LICENSE files.
changed the license clause in the docs from "same as perl" to GPL.
2003/05/18 14:00 muppetman
* ChangeLog: since breaking the monolithic build into pieces,
ChangeLog entries for Glib will be in here. i've included the
contents of the toplevel log up to this point for history.
* MANIFEST: updated for proper make dist
* Glib.pm: changed version number
* README: updated
2003/05/17 09:06 rwmcfa1
* Glade/*: first pass at GladeXML added
* Makefile: added, see comments within
* Makefile.PL: is no more
* lots and lots of files: G -> Glib and other related/required changes
2003/05/16 14:55 muppetman
* Gtk2/xs/GtkSpinButton.xs: removed get_value_as_float because it is
deprecated (and had the wrong return type anyway).
2003/05/15 11:45 muppetman
* G/GSignal.xs: hush unused parameter warning, more efficient
this way, anyway
* Gtk2/xs/GtkContainer.xs: implemented foreach
* Gtk2/xs/GtkIconFactory.xs: minor bugfix
* G/GType.xs, G/GValue.xs, G/gperl.h, G/typemap,
Gnome2/xs/GnomeProgram.xs, Gtk2/xs/GtkCombo.xs, Gtk2/xs/GtkDialog.xs,
Gtk2/xs/GtkFrame.xs, Gtk2/xs/GtkItemFactory.xs, Gtk2/xs/GtkStock.xs,
Gtk2/xs/GtkTextBuffer.xs, Gtk2/xs/GtkToolbar.xs,
Gtk2/xs/GtkTooltips.xs, Gtk2/xs/GtkTreeViewColumn.xs: use newSVGChar
and SvGChar instead of newSVpv and SvPV_nolen for gchar*, to ensure
valid utf8 handling. this definitely needs testing.
2003/05/06 12:56 rwmcfa1
* Gtk2/t/1.GtkWindow.t, Gtk2/t/2.GtkButton.t: prevent windows from
fighting over focus and thus stall tests (happends with wmaker)
* Gtk2/t/16.GtkMenu-etc.t: we don't really know how to use
tearoff_state so for the time being we won't
2003/05/05 23:11 muppetman
* G/G.pm, Gtk2/Gtk2.pm: pod updates
2003/05/05 16:35 muppetman
* Gtk2/xs/GtkTooltips.xs: work around a (bug|feature) in the Gtk+
C library by storing a GtkTooltips reference in the GtkWidget's user
data. doesn't hurt normal behavior, and prevents some hard-to-explain
pitfall errors.
2003/05/03 11:17 joered
* Gtk2/: Gtk2.pm, Makefile.PL, pm/Helper.pm: removed deprecated
timeout/idle/input methods from Gtk2.pm; added Gtk2/pm/Helper.pm
with a convenience implementation of add_watch/remove_watch
2003/05/02 18:11 muppetman
* Gtk2/gtk-demo/apple-red.png, Gtk2/gtk-demo/background.jpg,
Gtk2/gtk-demo/gnome-applets.png, Gtk2/gtk-demo/gnome-calendar.png,
Gtk2/gtk-demo/gnome-foot.png, Gtk2/gtk-demo/gnome-gimp.png,
Gtk2/gtk-demo/gnome-gmush.png, Gtk2/gtk-demo/gnome-gsame.png,
Gtk2/gtk-demo/gnu-keys.png: images needed by Gtk2/gtk-demo/pixbufs.pl,
directly from the gtk+-2.2.1 source distribution.
* G/GType.xs, Gtk2/examples/histogramplot.pl: a bunch of code,
borrowed from pygtk, to add signals to a derived class.
altered the histogramplot example to use a new signal.
* Gtk2/xs/GtkTooltips.xs: allow tip_private to default to NULL
2003/05/02 00:30 muppetman
* Gtk2/Gtk2.pm, Gtk2/gtk2perl.h, Gtk2/examples/scribble.pl,
Gtk2/gtk-demo/drawingarea.pl, Gtk2/gtk-demo/pixbufs.pl, Gtk2/xs/Gdk.xs,
Gtk2/xs/GdkTypes.xs, Gtk2/xs/GtkCellRenderer.xs, Gtk2/xs/GtkWidget.xs:
reverted the whole GdkRectangle mess. it's a boxed type again.
this clears up several bugs to do with GdkAllocation, and in fact
makes the whole shebang more efficient because we don't just create
an array any time the GdkRectangle is needed, in which case it is
often thrown away or only one element is used. added a ->values
function, like in gtk2-perl, which returns the members in a list
in the order you'd want for passing to several important gdk
functions. Gtk2::Gdk::Rectangle->new is good for creating new
rectangles.
* Gtk2/xs/GtkTextView.xs, Gtk2/xs/GtkTreeView.xs: implemented some
functions found to be missing when looking for GdkRectangle returns
that needed to be marked _copy.
2003/05/01 23:17 joered
* Gtk2/xs/GtkCombo.xs: added GtkCombo->entry and GtkCombo->list
returning the correspondent widgets
* Gtk2/xs/GtkHBox.xs, Gtk2/xs/GtkVBox.xs: default homogenous is 0
and default spacing is 5, as in gtk-perl
* Gtk2/xs/GtkWidget.xs: widget flags can now be set with
Widget->flag_name(1) resp. unset with Widget->flag_name(0);
Widget->flag_name() still returns current state
2003/05/01 08:00 rwmcfa1
* Gtk2/xs/GtkStyle.xs: removed deprecated functions, there was a lot
of them.
2003/04/31 01:00 muppetman
* Gtk2/xs/GtkFrame.xs: properly allow undef in Gtk2::Frame->new (was
adding an empty string instead of passing NULL)
* Gtk2/xs/Gdk.xs, Gtk2/xs/GdkPixbufLoader.xs, Gtk2/xs/GdkRegion.xs,
Gtk2/xs/PangoContext.xs, Gtk2/xs/PangoLayout.xs: newly implemented
* Gtk2/examples/histogramplot.pl: new code to test drive drawing
primitives, pango text handling and drawing, and subclassing. lots
of stuff in here; was ported from a working C class library i've
been writing.
* G/GType.xs, G/GObject.xs, Gtk2/xs/GtkObject.xs: support for
pure-perl GObject subclasses.
added G::Type->register to create a new GType (basically wraps
g_type_register_static), G::Object->_new, to be called from perl
constructors for things inheriting GObject, and Gtk2::Object->new,
which MUST be used for things inheriting GtkObject (to handle the
floating ref situation properly).
this allows the perl developer to create new widgets without writing
C code! adding signals and properties is currently not implemented.
* Gtk2/CodeGen.pm: more correct handling of undef --- previous code
was allowing a variable containing undef to pass, which would cause
a croak in the wrapper-reader function.
* Gtk2/Gtk2.pm, Gtk2/xs/GdkTypes.xs: stopgap solution, simple lvalue
subs to get members from a rectangle list
* Gtk2/gtk-demo/drawingarea.pl: revert to named member method syntax
for rectangles
* Gtk2/gtk-demo/pixbufs.pl: actually works now. you need the images,
which i don't think are in CVS yet.
* Gtk2/gtk-demo/stock_browser.pl: cleanup
* Gtk2/xs/GdkPixmap.xs: implemented create_from_xpm_d and
colormap_create_from_xpm_d
* Gtk2/xs/GdkWindow.xs: allow NULL for cursor in set_cursor
* Gtk2/xs/GtkWidget.xs: implemented create_pango_layout
2003/04/29 21:55 joered
* Gtk2/xs/GtkListStore.xs: bugfix: gtk_list_store_append and
gtk_list_store_prepend were swapped
2003/04/29 23:44 muppetman
* Gtk2/xs/GdkDrawable.xs: implemented gdk_draw_polygon,
gdk_draw_points, gdk_draw_lines, gdk_draw_segments,
gdk_draw_layout, and gdk_draw_layout_with_colors
* G/GObject.xs: removed some very old and very broken commented-out
code (wrapper instance caching). added new methods for dealing with
foreign objects in perl: G::Object->new_from_pointer(VAL, NOINC) (a
direct wrapper around gperl_new_object), and $object->get_pointer.
2003/04/29 18:10 muppetman
* Gtk2/xs/GtkWindow.xs: icon list stuff
* Gtk2/gtk-demo/images.pl, Gtk2/gtk-demo/pixbufs.pl: the last two
pieces of gtk-demo (need some image files and such, though), and
these two don't work correctly.
* Gtk2/gtk-demo/appwindow.pl, Gtk2/gtk-demo/button_box.pl,
Gtk2/gtk-demo/changedisplay.pl, Gtk2/gtk-demo/colorsel.pl,
Gtk2/gtk-demo/dialog.pl, Gtk2/gtk-demo/editable_cells.pl,
Gtk2/gtk-demo/item_factory.pl, Gtk2/gtk-demo/list_store.pl,
Gtk2/gtk-demo/main.pl, Gtk2/gtk-demo/menus.pl,
Gtk2/gtk-demo/panes.pl, Gtk2/gtk-demo/sizegroup.pl,
Gtk2/gtk-demo/stock_browser.pl, Gtk2/gtk-demo/textview.pl,
Gtk2/gtk-demo/tree_store.pl: gtk-demo runs! lots of cleanup in the
pieces, and changed each one to us a single entry point name, defined
in a package with the same name as the file; this bit of subterfuge
was necessary because of the differences between C and perl, and the
fact that the app is designed as a C program. NOTE: drawingarea.pl
is broken, because my copy has other changes that won't work with
the current state of CVS.
2003/04/29 16:16 rwmcfa1
* Gtk2/xs/GdkGC.xs: impelemted gdk_gc_set_dashes
2003/04/29 15:10 muppetman
* Gtk2/xs/GtkSizeGroup.xs: implemented size groups
* Depends.pm, G/Depends.pm, G/Makefile.PL, Gnome2/Makefile.PL,
GnomePrint2/Makefile.PL, Gtk2/Makefile.PL, GtkSpell/Makefile.PL,
G/PkgConfig.pm, Gtk2/CodeGen.pm, helpers/genstuff.pl,
helpers/genboot.pl: build system hacks.
moved Depends.pm under G, so that G can install it.
made a module of some boilerplate to handle dealing with pkgconfig,
and converted the code in helpers/genstuff.pl and helpers/genboot.pl
into Gtk2/CodeGen.pm, stuff that can be called from Makefile.PLs.
hacked up a the Makefile.PLs to reflect these changes.
this makes it possible to use the autogen build tools outside the
source tree --- the first step towards breaking up the source tree
into separately distributable modules.
2003/04/29 11:14 muppetman
* Gtk2/gtk-demo/sizegroup.pl: another little piece of my heart
* Gtk2/xs/GtkDialog.xs: use alias to ensure that new_with_buttons
exists for those who seek it.
2003/04/28 23:25 muppetman
* Gtk2/xs/GtkListStore.xs, Gtk2/xs/GtkTreeStore.xs: work around
bizarre stack behavior by not using a helper function. trying to
read the stack in a helper function called from an xsub was resulting
in the stack showing the wrong number of items.
2003/04/28 18:00 muppetman
* Gtk2/gtk-demo/panes.pl: another piece of the gtk-demo pie
* G/G.pm G/GObject.xs: overload the == operator, for more natural
object comparisons
* Gtk2/xs/GtkPaned.xs: struct member access
* Gtk2/Makefile.PL Gtk2/genkeysyms.pl: create a big hash of key
symbols in Gtk2::Gdk::Keysyms, a la gtk-perl
* Gtk2/xs/GtkRadioButton.xs, Gtk2/xs/GtkRadioMenuItem.xs,
Gtk2/xs/GtkButton.xs, Gtk2/xs/GtkCheckButton.xs,
Gtk2/xs/GtkCheckMenuItem.xs, Gtk2/xs/GtkImageMenuItem.xs,
Gtk2/xs/GtkMenuItem.xs, Gtk2/xs/GtkToggleButton.xs: consolidate
constructors with ALIAS to avoid copying code. make sure that
group isn't a valid SV pointing to undef
* Gtk2/xs/GtkWidget.xs: implemented queue_draw, add_accelerator,
remove_accelerator, and get_display
2003/04/27 08:52- rwmcfa1
* Gtk2/t/16.GtkMenu-etc.t: Added a first pass at the testing of
GtkMenu and friends.
* Gtk2/t/15.GtkHandleBox.t: Added a decently complete test of
GtkHandleBox
* Gtk2/t/14.GtkToolbar.t: Added a decently complete test of GtkToolbar
* Gtk2/xs/GtkToolbar.xs: Fixed a bug where GtkToolbarChildType was
wrongly being used as a gtype, caused all _element functions to fail
* Gtk2/t/13.GtkTooltips.t: Added a decently complete test of
GtkTooltips
* Gtk2/xs/GtkTooltips.xs: implemented an attempt at
gtk_tooltips_data_get which returns what is in the GtkTooltipsData
struct as a hash.
* Gtk2/t/12.GtkDialog.t: Added a decently complete test of GtkDialog
* Gtk2/xs/GtkDialog.xs: added gtk_dialog_add_butttons with multiple
calls to gtk_dialog_add_button. combined the vbox and action_area get
functions into one aliased function. also changed a char* to a gchar *
* Gtk2/maps: hand added entry for Gtk2::Progress, removed
* Gtk2/xs/GtkProgressBar.xs: added a BOOT section with a isa call to
tell GtkProgressBar that it's a GtkWidget dependant.
2003/04/26 09:53- rwmcfa1
* GtkSpell/Spell.pm: first pass of documentation
* GtkSpell/GtkSpell.xs: gtkspell_get_from_text_view now accepts and
ignores a class
* Gtk2/t/10.GtkProgressBar.t, Gtk2/t/11.GtkStatusBar.t: first passes
at testing the two modules
* Gtk2/maps: hand added a (maybe temporary) entry for Gtk2::Progress
* Gtk2/xs/GtkProgressBar.xs: removed a bunch of deprecated functions
* Gtk2/xs/GtkMenuItem.xs, Gtk2/xs/GtkRadioButton.xs,
Gtk2/xs/GtkRadioMenuItem.xs, Gtk2/xs/GtkToggleButton.xs: now new with
string new('string') uses mnemonic instead of label. seems like a good
idea. you can use new_with_label if you don't want this behavior. also
impelented news with aliases for new and new_with_mnemonic (saves code
space/copying).
* Gtk2/xs/GtkCheckButton.xs, Gtk2/xs/GtkCheckMenuItem.xs,
Gtk2/xs/GtkImageMenuItem.xs: same as ^ with the addition of: wrappers
for _new_with_label were invalid they're now fixed.
2003/04/25 23:01 rwmcfa1
* GtkSpell/: Initial import of working (for me anyway) GtkSpell
mappings, give them a try.
2003/04/25 18:17 muppetman
* Gtk2/gtk-demo/changedisplay.pl, Gtk2/gtk-demo/drawingarea.pl,
Gtk2/gtk-demo/editable_cells.pl: more demo pieces. changedisplay.pl
is completely untested, because i do not have Gtk+ 2.2 on my
development machine.
* G/GClosure.xs: always copy SVs that are to be stored. see the
perlcall manpage. this fixes some intermittent bugs that happen
when reusing the same variable for various objects.
* Gtk2/xs/GdkWindow.xs: implemented gdk_window_invalidate_rect
* new-gtk2-perl.html, G/GBoxed.xs, helpers/genstuff.pl, G/gperl.h,
G/GObject.xs: renamed gperl_register_class to gperl_register_object
to be more consistent (with gperl_register_fundamental and
gperl_register_boxed). also added
gperl_object_set_no_warn_unreg_subclass, made gperl_get_object
honor it.
* Gtk2/xs/GdkGC.xs, Gtk2/xs/GtkStyle.xs: set 'no warn for unregistered
subclasses on GtkStyle and GdkGC. causes the type system to stop
spewing messages on stderr about unregistered types from theme
engines and gdk backends.
* Gtk2/gtk2perl.h, Gtk2/examples/scribble.pl, Gtk2/xs/GdkEvent.xs,
Gtk2/xs/GdkTypes.xs, Gtk2/xs/GtkCellRenderer.xs: completely reworked
the handling of GdkRectangle. it's now treated as a perl list
instead of an opaque type; this is consistent with gtk-perl and
makes life easier for manipulating the rectangles in perl.
* Gtk2/xs/GtkWidget.xs: changed handling of GtkAllocation, since
handling of GdkRectangle changed. invisible from the perl side.
also implemented gtk_widget_get_events.
* Gtk2/xs/GtkImage.xs: implemented gtk_image_new_from_pixmap,
gtk_image_set_from_pixmap, and gtk_image_get_pixmap
* Gtk2/xs/GtkLabel.xs: allow Label->new to default to NULL for
creating empty labels.
* Gtk2/xs/GtkTreeModel.xs: implemented gtk_tree_path_get_indices
2003/04/25 12:40 rwmcfa1
* Gtk2/t/1.GtkWindow.t: corrected check for gtk >= 2.2
* Gtk2/t/5.GtkListStore-etc.t: if 2.2 then try the reorder function
* Gtk2/xs/GtkCurve.xs: re-did set_vector to be clearer and removed a
unused param name from prototype.
* Gtk2/xs/GtkFileSelection.xs: clarified the a for loop's operations
in get_selections
* Gtk2/xs/GtkTreeStore.xs, Gtk2/xs/GtkListStore.xs: added itital pass
at _store_reorder
* Gtk2/maps: added stuff new as of gtk2.2.1
* Gtk2/xs/GtkPlug.xs Gtk2/xs/GtkWindow.xs Gtk2/xs/GdkCursor.xs
Gtk2/xs/GdkDrawable.xs Gtk2/xs/GtkInvisible.xs Gtk2/xs/GtkMenu.xs:
uncommented stuff new to gtk 2.2 now that maps is up to date for 2.2.1
2003/04/24 18:24 muppetman
* Gtk2/gtk-demo/appwindow.pl, Gtk2/gtk-demo/button_box.pl,
Gtk2/gtk-demo/colorsel.pl, Gtk2/gtk-demo/dialog.pl: more pieces of
the demo
* Gtk2/xs/GtkToolbar.xs: implemented all the append/prepend/insert
functions that were left out because they require callbacks
* Gtk2/xs/GtkStock.xs: implemented gtk_stock_add
* G/GSignal.xs, G/gperl.h: export gperl_signal_connect, the actual
workhorse, so other XSubs can use it
* Gtk2/xs/GtkColorSelection.xs: fixed get_current_color and
get_previous_color
* Gtk2/xs/GtkColorSelectionDialog.xs: member access
* TODO: high-level things (i forgot to commit this last week)
2003/04/24 17:55 rwmcfa1
* Gtk2/t/5.GtkListStore-etc.t: fixed type-o, datam -> data that was
preventing entries being made into the list
* Gtk2/xs/GtkMessagedialog.xs: removed a TODO, it is probably better
to just pass the message as you want it rather than use the varargs
stuff anyway
2003/04/24 13:30 muppetman
* Gnome2/xs/GnomeProgram.xs, Gnome2/druid.pl: implemented object
properties on Gnome2::Program->init (was a FIXME)
* G/GObject.xs: created alias get_property for get and set_property
for set, since some objects mask the G::Object-level method with
their own. in list_properties, don't die if the descr isn't set.
2003/04/24 12:55 muppetman
* helpers/genstuff.pl: wrap generated code in #ifdefs to support
versioning (typemaps must be generated even if the code isn't, so
we generate everything but only use part of it)
2003/04/23 10:44 rwmcfa1
* Gtk2/xs/GtkHButtonBox.xs, Gtk2/xs/GtkVButtonBox.xs:
get_spacing_defaults should accept and ignore class
* Gtk2/gtk2perl.h: type-o newSVGdkModiferType -> newSVGdkModifierType
* Gtk2/xs/GtkFontSelection.xs: type functions should not be in XS, it's
all automagical
* Gtk2/xs/GtkWindow.xs: a first pass at set_icon_list_function added
2003/04/23 10:37 muppetman
* ChangeLog: new change log, from the cvs log on sourceforge.
please keep it updated.
2003/04/22 muppetman
* G/GBoxed.xs: updates to debugging output
* G/GClosure.xs: don't keep the supplemental arguments array in
gperl_closure_marshal --- just put mortal values on the stack and
everything works out fine. simplifies the code quite a bit, and
removes some subtle and nasty bugs.
* G/GType.xs: GPERL_TYPE_SV, a boxed wrapper for perl scalars, mapped
to the package G::Scalar. this is handy for storing hashes and other
perl data structures in a TreeModel.
* G/GValue.xs: special handling for GPERL_TYPE_SV. implement handling
for G_TYPE_INTERFACE.
* Gtk2/gtk-demo/stock_browser.pl, Gtk2/xs/GtkIconFactory.xs: stock
browser demo and some supporting code
* Gtk2/gtk2perl.h, Gtk2/xs/GdkTypes.xs: special handling for
GdkModifierType flags... GDK_MODIFIER_MASK matches all of the flag
values, and causes nasty problems when you try to convert the SV flags
wrapper *back* to C. so, handle it separately, and don't allow
GDK_MODIFIER_MASK to make it into perl from C. (can still go the other
way, though)
* Gtk2/xs/GtkItemFactory.xs: bracket callback with ENTER/SAVETMPS &
FREETMPS/LEAVE
* Gtk2/xs/GtkMenu.xs: implemented gtk_menu_popup
* Gtk2/xs/GtkTreeModel.xs: it's possible for gtk_tree_model_iter_next
to return NULL
* Gtk2/xs/GtkTreeView.xs: implemented
gtk_tree_view_insert_column_with_data_func
* Gtk2/xs/GtkTreeViewColumn.xs: implemented
gtk_tree_view_column_set_cell_data_func
* Gtk2/xs/GtkWidget.xs: default params on set_size_request, and
implemented render_icon
2003/04/22 rwmcfa1
* Gtk2/t/5.GtkListStore-etc.t, Gtk2/t/6.GtkLabel.t,
Gtk2/t/7.GtkBoxes.t, Gtk2/t/8.GtkCombo.t: initial import
* Gtk2/t/9.GtkRadioButton.t: test out a little more throughly
* Gtk2/xs/GtkFileSelection.xs: first pass at
gtk_file_selection_get_selections, needs to be utf8
tested/implemented maybe
* Gtk2/xs/GtkRadioButton.xs: crash bug, need to make sure that svp
exists
* Gtk2/xs/GtkRadioMenuItem.xs: first pass at implementing this class,
not tested yet
2003/04/21 muppetman
* G/G.xs, G/gperl.h: added gperl_alloc_temp
* G/GClosure.xs: added GPerlCallback, and made some robustness fixes
for GPerlClosure. (there was bizarre stuff happening in the
marshaller, wrong number of items in the supplemental arguments
array.)
* G/gperl.h: add GPerlCallback, with docs, and some other noise
* Gtk2/gtk-demo/item_factory.pl: gtk-demo driver for GtkItemFactory
* Gtk2/xs/GtkItemFactory.xs: implemented GtkItemFactory
* Gtk2/xs/GtkWidget.xs: set_flags and unset_flags
2003/04/21 rwmcfa1
* Gtk2/xs/GtkRadioButton.xs: implement all of the functions now with a
first pass at how to deal with GSList/group stuff. (notice: it's
subject to change)
2003/04/20 rwmcfa1
* just about every file: added cvs Header: tags
* Gtk2/xs/GtkWindow.xs: missing functions added; version 2.2 functions
added (some commented out); decorated_window functions added, but
commented out (how should we go about these?)
2003/04/18 gthyni
added .cvsignore files for cleaner updates
2003/04/18 muppetman
* Gnome2/druid.pl: add a button to test out Gnome2::About
* Gnome2/xs/GnomeAbout.xs: patch from Chas Owens to implement the
authors and documenters parameter lists, and allow defaults on
parameters following authors. (authors is required by gnome_about_new)
* Gtk2/xs/GtkAccelGroup.xs: implemented gtk_accelerator_parse and
gtk_accelerator_name
* Gtk2/xs/GtkFileSelection.xs: patch from Chas Owens giving access
to member widgets
* Gtk2/xs/GtkImage.xs: implemented new_from_pixbuf and set_from_pixbuf
* Gtk2/xs/GtkStock.xs: implemented some stock handling stuff, enough
to get the stock_browser demo working
* Gtk2/xs/GtkTreeSelection.xs: implemented
gtk_tree_selection_get_selected
2003/04/18 rwmcfa1
* Gtk2/xs/GtkWindow.xs: add a header tag and see if i can commit,
header tags need to be added to everything before to long.
2003/04/17 muppetman
massive commit of changes made by muppetman and rwmcfa1 since the
last pre-sourceforge snapshot.
* G/G.xs, G/gperl.h: added gperl_croak_gerror, takes care of properly
freeing a GError before croaking with the message it contains
* G/GObject.xs: don't allow non-RVs in gperl_get_object;
added G::Object->eq
* G/gperl.h: added gperl_croak_gerror, takes care of properly freeing
a GError before croaking with the message it contains
* Gtk2/gdk.typemap, Gtk2/gtk2perl.h: custom handling for GdkBitmap
* Gtk2/examples/layout.pl: new example (ported from C by ross)
* Gtk2/examples/socket.pl, Gtk2/t/0.Gtk2.t, Gtk2/t/1.GtkWindow.t,
Gtk2/t/2.GtkButton.t, Gtk2/t/3.GtkGammaCurve.t: updates since snapshot
* Gtk2/gtk-demo/textview.pl, Gtk2/gtk-demo/floppybuddy.gif,
Gtk2/gtk-demo/gtk-logo-rgb.gif: another piece of gtk-demo, and
accessories
* Gtk2/xs/GdkPixbuf.xs: added lots of missing functionality
* Gtk2/xs/GdkPixmap.xs: can now create GdkBitmaps. warning, GdkBitmap
may be in the wrong class, there are some complaints at runtime about
it (porting C code passing a GdkBitmap where a GdkPixmap was wanted,
i had to re-bless in perl to achieve that).
* Gtk2/xs/Gtk2.xs: added version information functions
* Gtk2/xs/GtkCurve.xs: work around a C bug that the Gtk+ maintainers
say won't be fixed (because the widget is to be removed in future
versions)
* Gtk2/xs/GtkHScale.xs, Gtk2/xs/GtkHScrollBar.xs, Gtk2/xs/GtkVScale.xs,
Gtk2/xs/GtkVScrollBar.xs, Gtk2/xs/GtkScrolledWindow.xs: allow default
parameters
* Gtk2/xs/GtkListStore.xs: place TreeModel at the beginning of ISA so
Gtk2::TreeModel::get is found before G::Object::get. remove some
warn()s.
* Gtk2/xs/GtkNotebook.xs: patch from Emmanuele Bassi, which was a
double commit, because goran had already fixed it and i didn't
notice in time
* Gtk2/xs/GtkTextBuffer.xs: implemented insert_with_tags_by_name
* Gtk2/xs/GtkTextIter.xs: allow NULL return from get_child_anchor
* Gtk2/xs/GtkTextView.xs: oops, bad signature
* Gtk2/xs/GtkTreeView.xs: implemented missing new_with_model
* Gtk2/xs/GtkTreeViewColumn.xs: stack randomly had the wrong number
of items. converted to a macro to avoid the use of dXSARGS, and
suddenly the list_store.pl portion of gtk-demo works. dXSARGS is
supposed to work anywhere; i don't understand why it didn't.
* Gtk2/xs/GtkWidget.xs: implemented several _modify_* methods
* Gtk2/xs/GtkWindow.xs: allow window type to default to 'toplevel'
on ->new; all NULL for several other functions' parameters.
* Gtk2/xs/PangoFont.xs: pango constants.
2003/04/17 gthyni
imported 20030415 snapshot into CVS