Glib
view release on metacpan or search on metacpan
ChangeLog.pre-git view on Meta::CPAN
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
ChangeLog.pre-git view on Meta::CPAN
* 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
ChangeLog.pre-git view on Meta::CPAN
* 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,
ChangeLog.pre-git view on Meta::CPAN
* 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
ChangeLog.pre-git view on Meta::CPAN
* 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
ChangeLog.pre-git view on Meta::CPAN
* 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.)
lib/Glib/GenPod.pm view on Meta::CPAN
$default = "DBL_MAX";
} elsif ($type eq 'Glib::Double' && $default == - POSIX::DBL_MAX()) {
$default = "-DBL_MAX";
} elsif ($type eq 'Glib::Float' && $default == POSIX::FLT_MAX()) {
$default = "FLT_MAX";
} elsif ($type eq 'Glib::Float' && $default == - POSIX::FLT_MAX()) {
$default = "-FLT_MAX";
} elsif ($type eq 'Glib::Double' || $type eq 'Glib::Float') {
# Limit the decimals shown in floats,
# eg. Gtk2::Menu style property "arrow-scaling" is 0.7 and comes out as
# 0.6999999999 if not restricted a bit
$default = sprintf '%.6g', $default;
} elsif ($pname =~ /keyval/
&& $type eq 'Glib::UInt'
&& eval { require Gtk2; 1 }) {
# Keyvals in hex the same as gdkkeysyms.h, and show the symbol if known.
# The pspec type of keyvals is only UInt, must guess from the property
# name whether a uint is in fact a keyval.
# eg. Gtk2::Label property "mnemonic-keyval" is 0xFFFFFF=VoidSymbol
( run in 0.523 second using v1.01-cache-2.11-cpan-49f99fa48dc )