Hello community,

here is the log from the commit of package libyui-bindings for openSUSE:Factory 
checked in at 2014-01-29 22:16:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libyui-bindings (Old)
 and      /work/SRC/openSUSE:Factory/.libyui-bindings.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libyui-bindings"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libyui-bindings/libyui-bindings.changes  
2013-12-05 21:39:30.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libyui-bindings.new/libyui-bindings.changes     
2014-01-29 22:16:09.000000000 +0100
@@ -0,0 +1,11 @@
+Fri Jan 24 17:43:39 CET 2014 - [email protected]
+
+- Added convertors and incrementers needed at least for Perl 
+  and python:
+  YEvent: toYWidgetEvent toYKeyEvent toYMenuEvent toYCancelEvent 
+          toYDebugEvent toYTimeoutEvent
+  YItem: toYTreeItem toYTableItem
+  YItemIterator: toYItem incrYItemIterator
+  YTableCellIterator: toYTableCell incrYTableCellIterator
+- new Version 1.0.4
+

Old:
----
  libyui-bindings-1.0.2.tar.bz2
  libyui-bindings-1.0.3.tar.bz2

New:
----
  libyui-bindings-1.0.4.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libyui-bindings.spec ++++++
--- /var/tmp/diff_new_pack.h7hgfn/_old  2014-01-29 22:16:09.000000000 +0100
+++ /var/tmp/diff_new_pack.h7hgfn/_new  2014-01-29 22:16:09.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libyui-bindings
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 
 Name:           libyui-bindings
-Version:        1.0.3
+Version:        1.0.4
 Release:        0
 Summary:        Bindings for libyui
 License:        LGPL-2.1 or LGPL-3.0

++++++ libyui-bindings-1.0.2.tar.bz2 -> libyui-bindings-1.0.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-bindings-1.0.2/VERSION.cmake 
new/libyui-bindings-1.0.4/VERSION.cmake
--- old/libyui-bindings-1.0.2/VERSION.cmake     2013-11-29 10:57:50.000000000 
+0100
+++ new/libyui-bindings-1.0.4/VERSION.cmake     2014-01-24 18:46:29.000000000 
+0100
@@ -1,3 +1,3 @@
 SET(VERSION_MAJOR "1")
 SET(VERSION_MINOR "0")
-SET(VERSION_PATCH "2")
+SET(VERSION_PATCH "4")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-bindings-1.0.2/swig/yui.i 
new/libyui-bindings-1.0.4/swig/yui.i
--- old/libyui-bindings-1.0.2/swig/yui.i        2013-11-29 10:57:50.000000000 
+0100
+++ new/libyui-bindings-1.0.4/swig/yui.i        2014-01-24 18:46:29.000000000 
+0100
@@ -284,3 +284,58 @@
 #endif
   int equals( YWidget *w ) { return ($self == w); }
 }
+
+%inline %{
+
+/* C++-style cast */
+YWidgetEvent*  toYWidgetEvent(YEvent *event) {
+  return dynamic_cast<YWidgetEvent*>(event);
+}
+
+YKeyEvent*     toYKeyEvent(YEvent *event) {
+  return dynamic_cast<YKeyEvent*>(event);
+}
+
+YMenuEvent*    toYMenuEvent(YEvent *event) {
+  return dynamic_cast<YMenuEvent*>(event);
+}
+
+YCancelEvent*  toYCancelEvent(YEvent *event) {
+  return dynamic_cast<YCancelEvent*>(event);
+}
+
+YDebugEvent*   toYDebugEvent(YEvent *event) {
+  return dynamic_cast<YDebugEvent*>(event);
+}
+YTimeoutEvent* toYTimeoutEvent(YEvent *event) {
+  return dynamic_cast<YTimeoutEvent*>(event);
+}
+
+YTreeItem* toYTreeItem(YItem *item) {
+  return dynamic_cast<YTreeItem*>(item);
+}
+
+YTableItem* toYTableItem(YItem *item) {
+  return dynamic_cast<YTableItem*>(item);
+}
+
+YItem* toYItem(YItemIterator iter) {
+  return *iter;
+}
+
+YTableCell* toYTableCell(YTableCellIterator iter) {
+  return *iter;
+}
+
+/* C++ Iterators*/
+YItemIterator incrYItemIterator( YItemIterator currentIterator) {
+  return ++currentIterator;
+}
+
+YTableCellIterator incrYTableCellIterator(YTableCellIterator currentIterator) {
+  return ++currentIterator;
+}
+  
+
+%}
+

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to