Hello community,
here is the log from the commit of package libgluezilla0
checked in at Wed Apr 23 01:39:59 CEST 2008.
--------
--- GNOME/libgluezilla0/libgluezilla0.changes 2008-03-25 20:44:18.000000000 +0100
+++ /mounts/work_src_done/STABLE/libgluezilla0/libgluezilla0.changes 2008-04-22 02:23:52.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Apr 21 18:58:18 MST 2008 - wberrier@suse.de
+
+- Update to 1.9.1:
+ -Fix bug where two browser widgets couldn't be in the same app
+
+-------------------------------------------------------------------
Old:
----
gluezilla-1.9.tar.bz2
New:
----
gluezilla-1.9.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libgluezilla0.spec ++++++
--- /var/tmp/diff_new_pack.h10310/_old 2008-04-23 01:39:45.000000000 +0200
+++ /var/tmp/diff_new_pack.h10310/_new 2008-04-23 01:39:45.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package libgluezilla0 (Version 1.9)
+# spec file for package libgluezilla0 (Version 1.9.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,7 +13,7 @@
%define real_name gluezilla
Name: libgluezilla0
-Version: 1.9
+Version: 1.9.1
Release: 1
License: GPL v2 only
Url: http://www.mono-project.com
@@ -107,6 +107,9 @@
%postun -p /sbin/ldconfig
%changelog
+* Mon Apr 21 2008 wberrier@suse.de
+- Update to 1.9.1:
+ -Fix bug where two browser widgets couldn't be in the same app
* Tue Mar 25 2008 wberrier@suse.de
- Update to 1.9:
-Fixed to support more versions of windows, not just the one
++++++ gluezilla-1.9.tar.bz2 -> gluezilla-1.9.1.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gluezilla-1.9/ChangeLog new/gluezilla-1.9.1/ChangeLog
--- old/gluezilla-1.9/ChangeLog 2008-02-28 01:24:32.000000000 +0100
+++ new/gluezilla-1.9.1/ChangeLog 2008-04-08 23:31:44.000000000 +0200
@@ -1,3 +1,7 @@
+2008-04-08 Wade Berrier
+
+ * configure.ac: version bump -> 1.9.1
+
2008-02-27 Andreia Gaita
[Backport to 1.9]
* configure.ac: Add flag for char compatibility with
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gluezilla-1.9/configure new/gluezilla-1.9.1/configure
--- old/gluezilla-1.9/configure 2008-02-28 01:24:41.000000000 +0100
+++ new/gluezilla-1.9.1/configure 2008-04-08 23:31:53.000000000 +0200
@@ -2403,7 +2403,7 @@
# Define the identity of the package.
PACKAGE=gluezilla
- VERSION=1.9
+ VERSION=1.9.1
cat >>confdefs.h <<_ACEOF
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gluezilla-1.9/configure.ac new/gluezilla-1.9.1/configure.ac
--- old/gluezilla-1.9/configure.ac 2008-02-28 01:24:32.000000000 +0100
+++ new/gluezilla-1.9.1/configure.ac 2008-04-08 23:31:44.000000000 +0200
@@ -2,7 +2,7 @@
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(gluezilla,1.9)
+AM_INIT_AUTOMAKE(gluezilla,1.9.1)
AM_MAINTAINER_MODE
AC_PROG_CXX
AC_HEADER_STDC
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gluezilla-1.9/src/ChangeLog new/gluezilla-1.9.1/src/ChangeLog
--- old/gluezilla-1.9/src/ChangeLog 2008-02-06 19:10:00.000000000 +0100
+++ new/gluezilla-1.9.1/src/ChangeLog 2008-04-08 23:26:21.000000000 +0200
@@ -1,3 +1,9 @@
+2008-04-07 Andreia Gaita
+ [Backport to 1.9]
+ * gluezilla.cpp, gluezilla.h: Use gluezilla_init for platform initialization
+ code only, browser widget initialization code moved to createBrowserWindow.
+ Fixes support of more than one embedded browser instance.
+
2008-02-06 Andreia Gaita
[Backport to 1.9]
* BrowserWindow.cpp: use ns strings, easier. Don't call up status
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gluezilla-1.9/src/gluezilla.cpp new/gluezilla-1.9.1/src/gluezilla.cpp
--- old/gluezilla-1.9/src/gluezilla.cpp 2008-01-31 01:22:01.000000000 +0100
+++ new/gluezilla-1.9.1/src/gluezilla.cpp 2008-04-08 23:26:21.000000000 +0200
@@ -25,7 +25,7 @@
}
NS_METHOD_(Handle*)
-gluezilla_init (Platform platform, CallbackBin *events, const char * startDir, const char * dataDir, Platform * mozPlatform)
+gluezilla_init (Platform platform, Platform * mozPlatform)
{
#ifdef MOZ_WIDGET_GTK2
if (platform == Winforms) {
@@ -44,6 +44,15 @@
*mozPlatform = Winforms;
#endif
+ return 0;
+}
+
+NS_METHOD_(Handle*)
+gluezilla_createBrowserWindow (CallbackBin *events, Handle *hwnd,
+ PRInt32 width, PRInt32 height,
+ const char * startDir, const char * dataDir,
+ Platform platform)
+{
Widget *widget = new Widget (strdup(startDir), strdup(dataDir));
Params * p = new Params ();
@@ -55,26 +64,20 @@
nsresult result = widget->BeginInvoke (p);
if (p)
delete (p);
- return reinterpret_cast(widget);
-}
-NS_METHOD_(int)
-gluezilla_createBrowserWindow (Handle *instance, Handle *hwnd, PRInt32 width, PRInt32 height)
-{
- Widget *widget = reinterpret_cast (instance);
Handle * handle = hwnd;
- Params * p = new Params ();
+ p = new Params ();
p->name = "create";
p->instance = widget;
p->hwnd = hwnd;
p->width = width;
p->height = height;
- nsresult result = widget->BeginInvoke (p);
+ result = widget->BeginInvoke (p);
if (p)
delete (p);
- return result;
+ return reinterpret_cast(widget);
}
/*******************
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gluezilla-1.9/src/gluezilla.h new/gluezilla-1.9.1/src/gluezilla.h
--- old/gluezilla-1.9/src/gluezilla.h 2008-01-31 01:22:01.000000000 +0100
+++ new/gluezilla-1.9.1/src/gluezilla.h 2008-04-08 23:26:21.000000000 +0200
@@ -197,8 +197,11 @@
// initialization
NS_EXPORT_(void) gluezilla_debug_startup ();
- NS_EXPORT_(Handle *) gluezilla_init (Platform platform, CallbackBin *events, const char * startDir, const char * dataDir, Platform * mozPlatform);
- NS_EXPORT_(int) gluezilla_createBrowserWindow (Handle *instance, Handle *hwnd, PRInt32 width, PRInt32 height);
+ NS_EXPORT_(Handle *) gluezilla_init (Platform platform, Platform * mozPlatform);
+ NS_EXPORT_(Handle *) gluezilla_createBrowserWindow (CallbackBin *events,
+ Handle *hwnd, PRInt32 width, PRInt32 height,
+ const char * startDir, const char * dataDir,
+ Platform platform);
// layout
NS_EXPORT_(int) gluezilla_focus (Handle *instance, FocusOption focus);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org