Re: [Gambas-user] Gambas 3 RC1 pre-release source package

2011-03-19 Thread math.e...@t-online.de

   SUSE 11.2:

   Compiling runs into error in 'make':


   /bin/sh../libtool   --tag=CC --mode=link   gcc
   -DGAMBAS_PATH=\/usr/local/bin\   -pipe   -Wall   -Wno-unused-value
   -fsigned-char   -fvisibility=hidden   -g  -Os  -I../share -o  gbc3
   gbc3-gb_error.ogbc3-gb_alloc.o   gbc3-gb_array.o   gbc3-gbc_read.o
   gbc3-gbc_preprocess.ogbc3-gbc_reserved.ogbc3-gbc_compile.ogbc3-gbc_type.o
   gbc3-gb_buffer.o   gbc3-gbc_dump.o   gbc3-gbc_class.o  gbc3-gbc_code.o
   gbc3-gbc_trans.ogbc3-gbc_header.ogbc3-gbc_trans_code.o
   gbc3-gbc_trans_expr.ogbc3-gbc_trans_tree.o   gbc3-gbc_trans_ctrl.o
   gbc3-gbc_trans_subr.o gbc3-gbc_output.o gbc3-gbc_pcode.o gbc3-gb_file.o
   gbc3-gbc_form.ogbc3-gb_str.o   gbc3-gbc_chown.o   gbc3-gb_common.o
   gbc3-gbc_arch.o gbc3-gb_table.o gbc3-gbc.o -lm
   libtool: Version mismatch error.  This is libtool 2.2.6, but the
   libtool: definition of this LT_INIT comes from libtool 2.2.6b.
   libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
   libtool: and run autoconf again.
   make[4]: *** [gbc3] Fehler 63
   make[4]: Leaving directory
   `/Platte2/Downloads/gambas3/preRC3/gambas3-2.99.0/main/gbc'
   make[3]: *** [all-recursive] Fehler 1
   make[3]: Leaving directory
   `/Platte2/Downloads/gambas3/preRC3/gambas3-2.99.0/main'
   make[2]: *** [all] Fehler 2
   make[2]: Leaving directory
   `/Platte2/Downloads/gambas3/preRC3/gambas3-2.99.0/main'
   make[1]: *** [all-recursive] Fehler 1
   make[1]: Leaving directory
   `/Platte2/Downloads/gambas3/preRC3/gambas3-2.99.0'
   make: *** [all] Fehler 2


   Looks like I'd have a wrong version of libtool, but with the svn versions
   everything compiles ok.


   Regards

   Matti

   -Original-Nachricht-
   Subject: [Gambas-user] Gambas 3 RC1 pre-release source package
   Date: Sat, 19 Mar 2011 15:30:02 +0100
   From: Benoît Minisini gam...@users.sourceforge.net
   To: gambas-user@lists.sourceforge.net
   Hi,
   I have uploaded a pre-release of the Gambas 3 source package for the first
   release candidate. There:
   http://sourceforge.net/projects/gambas/files/gambas3/gambas3-2.99.0.tar.bz2/
   download
   Please can you try to compile it on your own distribution and tell me if you
   encounter any problem?
   And for those who can make binary packages: can you try to make a binary
   package from this source package and tell me if you get any problem? That
   way,
   I hope that packaging problems will be fixed before the final release!
   Note: the Gambas 3 RC1 package name will be gambas3-2.99.1.tar.bz2.
   Thanks in advance!
   Regards,
   --
   Benoît Minisini
   
   --
   Colocation vs. Managed Hosting
   A question and answer guide to determining the best fit
   for your organization - today and in the future.
   http://p.sf.net/sfu/internap-sfd2d
   ___
   Gambas-user mailing list
   Gambas-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] DrawArea errors

2011-02-26 Thread math.e...@t-online.de

   Try to do something like
   Draw.Begin(drawArea)
   Draw.Circle(10, 10, 5)
   Draw.End
   in one Sub, not in two. And not at all in the Draw event that is raised by
   drawing...
   Just look at all those examples in the Drawing section, plus ImageViewer.
   -Original-Nachricht-
   Subject: Re: [Gambas-user] DrawArea errors
   Date: Sat, 26 Feb 2011 21:37:19 +0100
   From: Demosthenes Koptsis demosthen...@gmail.com
   To: mailing list for gambas users gambas-user@lists.sourceforge.net
   Yes it maybe not correct i try to figure out how to use a drawing area.
   Any example, any help?
   On Sat, 2011-02-26 at 18:52 +0100, Benoît Minisini wrote:
 i have this code

 ' Gambas class file

 Public Sub Form_Open()

 Draw.Begin(drawArea)

 End

 Public Sub drawArea_Draw()
 Draw.Circle(10, 10, 5)


 End


 and i get these errors.


 (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion
 `GDK_IS_DRAWABLE (drawable)' failed

 (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_background: assertion
 `GDK_IS_GC (gc)' failed

 (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion
 `GDK_IS_DRAWABLE (drawable)' failed

 (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion
 `GDK_IS_GC (gc)' failed

 (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion
 `GDK_IS_DRAWABLE (drawable)' failed

 (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_background: assertion
 `GDK_IS_GC (gc)' failed

 (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion
 `GDK_IS_DRAWABLE (drawable)' failed

 (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion
 `GDK_IS_GC (gc)' failed

 (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_clip_rectangle: assertion
 `GDK_IS_GC (gc)' failed

 (Project99:15758): Gdk-CRITICAL **: gdk_draw_arc: assertion
 `GDK_IS_DRAWABLE (drawable)' failed


 i use Ubuntu 10.04 AMD64.
   
You should not have these errors, but anyway your code is not correct!
   
Regards,
   
   --
   Regards,
   Demosthenes
   
   --
   Free Software Download: Index, Search  Analyze Logs and other IT data in
   Real-Time with Splunk. Collect, index and harness all the fast moving IT
   data
   generated  by your applications, servers and devices whether physical,
   virtual
   or in the cloud. Deliver compliance at lower cost and gain new business
   insights. http://p.sf.net/sfu/splunk-dev2dev
   ___
   Gambas-user mailing list
   Gambas-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] App crashes because of FBalloon (gb3)

2011-02-25 Thread math.e...@t-online.de

   Since a few days I have strange crashes with the message:
   This application has raised an unexpected error and must abort.
   [29] Invalid object.
   FBalloon.Window_Move.320
   It happens sometimes, not reproducable, when Gambas was minimized and is
   rezized again.
   Last time, I can definitely say that my project wasn't running, the Balloon
   class is not used, and no error balloon showing.
   Could it be a result of the fix of issue #37? The time would fit.
   gb 3 rev. 3608, KDE/qt
   Regards
   Matti
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Error in wiki (gb3)

2011-02-25 Thread math.e...@t-online.de

   Wiki:
FUNCTION Desaturate ( ) AS [1]Image

   Desaturate an image evenly.
 * Value is the degree of desaturation, between 0 and 1.

   But Desaturate doesn't accept any value.
   Regards
   Matti

References

   1. file://localhost/help/comp/gb.image/image?dev3help
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] ProgressBar(gb.qt4)

2010-12-29 Thread math.e...@t-online.de

   ProgressBar.Background works ok (but the colors are somewhat dark-grey).
   But ProgressBar.Foreground does nothing.
   The bar is always blue, and the label stays black/white.
   Shouldn't it be possible to change the color of the bar?
   Regards
   Matti
--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] DataControls with Visible = False

2010-12-28 Thread math.e...@t-online.de

   Gambas 3 rev. 3390
   I tried to make a data-bound form the lazy way, without SQL commands. Just a
   DataSource with some DataControls in it.
   Works fine.
   Then, for better layout of the form, I gave the values of the DataControls
   to TextLabels, Buttons and so on.
   Works also.
   But when I turn the DataControls to visible=false (because their content is
   shown somewhere else), they don't work anymore. I only get Null values from
   them.
   Is  this  by  design?  If  so, I wonder what visibility has to do with
   functionality.
   Regards
   Matti
--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to run some job in background separat ely with UI

2010-12-23 Thread math.e...@t-online.de

   These problems were exactly mine, one year ago.
   Have a look at gambas3/examples/Image/Lighttable.
   Maybe it could help you?
   Regards
   Matti
   -Original-Nachricht-
   Subject: [Gambas-user] How to run some job in background separately with UI
   Date: Thu, 23 Dec 2010 17:36:32 +0100
   From: Phạm Quang Dương soleil...@gmail.com
   To: mailing list for gambas users gambas-user@lists.sourceforge.net
   Hi everyone,
   I'm writing for myself a small program to manage my image files. I choose a
   folder, it will get all image files in this folder and display thumbnail
   with an Icon view (like Nautilus or other files manager).
   Current, I do:
   - Get image files list of the folder. (1)
   - For each image, check if it had thumbnail, load thumbnail to Icon view. If
   not, load original image, create and save thumbnail, display into icon view.
   (2).
   Even I made cache with thumbnail, the program is freezed for a time with a
   folder including many files.
   Can I do like Nautilus doing: display all files with a default icon, user
   still can scroll, select ... while the program loads and displays the
   thumbnails (it means that can I run (2) in background) ?
--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb3 make error again

2010-12-17 Thread math.e...@t-online.de

   rev. 3373: make fails, the error seems to start here:
   libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -DQT3_SUPPORT -DQT_SHARED
   -DQT3_SUPPORT-I/usr/include/QtCore-I/usr/include/QtGui
   -I/usr/include/Qt3Support -I/usr/include/QtNetwork -I/usr/include/QtSql
   -I/usr/include/QtSvg -I../share -I../src/share -DGB_QT_COMPONENT -pipe -Wall
   -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os
   -fno-omit-frame-pointer   -MT  gb_qt4_la-cpaint_impl.lo  -MD  -MP  -MF
   .deps/gb_qt4_la-cpaint_impl.Tpo  -c  cpaint_impl.cpp   -fPIC  -DPIC -o
   .libs/gb_qt4_la-cpaint_impl.o
   cpaint_impl.cpp:  In  member function ‘virtual int
   MyPaintDevice::metric(QPaintDevice::PaintDeviceMetric) const’:
   cpaint_impl.cpp:1119:  error: ‘class QPaintDevice’ has no member named
   ‘colorCount’
   make[5]: *** [gb_qt4_la-cpaint_impl.lo] Fehler 1
   make[5]: Leaving directory
   `/Platte2/Downloads/gambas3/3373/trunk/gb.qt4/src'
   make[4]: *** [all-recursive] Fehler 1
   make[4]: Leaving directory
   `/Platte2/Downloads/gambas3/3373/trunk/gb.qt4/src'
   make[3]: *** [all-recursive] Fehler 1
   make[3]: Leaving directory `/Platte2/Downloads/gambas3/3373/trunk/gb.qt4'
   make[2]: *** [all] Fehler 2
   make[2]: Leaving directory `/Platte2/Downloads/gambas3/3373/trunk/gb.qt4'
   make[1]: *** [all-recursive] Fehler 1
   make[1]: Leaving directory `/Platte2/Downloads/gambas3/3373/trunk'
   make: *** [all] Fehler 2
   Regards
   Matti
--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] To the wish list: FHelpBrowser

2010-11-24 Thread math.e...@t-online.de

   Thanks, Benoît.
   The make error has gone, the help browser behaves like any other window,
   and I even learned how to copy from help. Fine!
   -Original-Nachricht-
   Subject: Re: [Gambas-user] To the wish list: FHelpBrowser
   Date: Tue, 23 Nov 2010 18:57:25 +0100
   From: Benoît Minisini gam...@users.sourceforge.net
   To: mailing list for gambas users gambas-user@lists.sourceforge.net
1. As I asked before, why does the HelpBrowser have to be a utility
window that you can't minimize? I can't see no reason why it couldn't be a
normal window that could be used much easier. Read, minimize, try, and
read again...
   
   Upgrade to the latest revision, and set Use utility windows to No in the
   IDE option dialog.
   Regards,
   --
   Benoît Minisini
   
   --
   Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
   Tap into the largest installed PC base  get more eyes on your game by
   optimizing for Intel(R) Graphics Technology. Get started today with the
   Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
   http://p.sf.net/sfu/intelisp-dev2dev
   ___
   Gambas-user mailing list
   Gambas-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Removing / Modifying IsXXXX() functio ns in Gambas 3

2010-11-24 Thread math.e...@t-online.de

   If I understand you right,
  If Not IsDigit(TextBox.Text) Then...
   wouldn't be changed?
   -Original-Nachricht-
   Subject: [Gambas-user] Removing / Modifying Is() functions in Gambas 3
   Date: Wed, 24 Nov 2010 12:08:34 +0100
   From: Benoît Minisini gam...@users.sourceforge.net
   To: gambas-user@lists.sourceforge.net
   Who is using the Is() functions, and in which context?
--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] To the wish list: FHelpBrowser - error

2010-11-23 Thread math.e...@t-online.de

   Too bad, can't update to rev 3311.
   It's the make / webkit error again.
   This time it is:
   Making all in webkit
   make[5]: Entering directory
   `/Platte2/Downloads/gambas3/3311/trunk/gb.qt4/src/webkit'
   /bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
   -I../..-DQT_SHARED-I/usr/include/QtCore   -I/usr/include/QtGui
   -I/usr/include/QtNetwork   -I/usr/include/QtDBus  -I/usr/include/QtXml
   -I/usr/include/QtWebKit  -I../../share -I../../src/share   -pipe -Wall
   -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os
   -fno-omit-frame-pointer  -MT cwebview.lo -MD -MP -MF .deps/cwebview.Tpo -c
   -o cwebview.lo cwebview.cpp
   libtool:   compile:g++  -DHAVE_CONFIG_H  -I.  -I../..  -DQT_SHARED
   -I/usr/include/QtCore   -I/usr/include/QtGui  -I/usr/include/QtNetwork
   -I/usr/include/QtDBus   -I/usr/include/QtXml   -I/usr/include/QtWebKit
   -I../../share-I../../src/share-pipe-Wall   -fno-exceptions
   -Wno-unused-value-fsigned-char-fvisibility=hidden-g-Os
   -fno-omit-frame-pointer -MT cwebview.lo -MD -MP -MF .deps/cwebview.Tpo -c
   cwebview.cpp  -fPIC -DPIC -o .libs/cwebview.o
   cwebview.cpp: In function ‘void WebView_FindText(void*, void*)’:
   cwebview.cpp:361:  error: ‘HighlightAllOccurrences’ is not a member of
   ‘QWebPage’
   make[5]: *** [cwebview.lo] Fehler 1
   make[5]: Leaving directory
   `/Platte2/Downloads/gambas3/3311/trunk/gb.qt4/src/webkit'
   make[4]: *** [all-recursive] Fehler 1
   make[4]: Leaving directory
   `/Platte2/Downloads/gambas3/3311/trunk/gb.qt4/src'
   make[3]: *** [all-recursive] Fehler 1
   make[3]: Leaving directory `/Platte2/Downloads/gambas3/3311/trunk/gb.qt4'
   make[2]: *** [all] Fehler 2
   make[2]: Leaving directory `/Platte2/Downloads/gambas3/3311/trunk/gb.qt4'
   make[1]: *** [all-recursive] Fehler 1
   make[1]: Leaving directory `/Platte2/Downloads/gambas3/3311/trunk'
   make: *** [all] Fehler 2
   I looked if I have an old version of qt4, but (at least in OpenSuse) there
   is no newer one.
   Regards
   Matti
   -Original-Nachricht-
   Subject: Re: [Gambas-user] To the wish list: FHelpBrowser
   Date: Tue, 23 Nov 2010 18:57:25 +0100
   From: Benoît Minisini gam...@users.sourceforge.net
   To: mailing list for gambas users gambas-user@lists.sourceforge.net
1. As I asked before, why does the HelpBrowser have to be a utility
window that you can't minimize? I can't see no reason why it couldn't be a
normal window that could be used much easier. Read, minimize, try, and
read again...
   
   Upgrade to the latest revision, and set Use utility windows to No in the
   IDE option dialog.
   Regards,
   --
   Benoît Minisini
   
   --
   Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
   Tap into the largest installed PC base  get more eyes on your game by
   optimizing for Intel(R) Graphics Technology. Get started today with the
   Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
   http://p.sf.net/sfu/intelisp-dev2dev
   ___
   Gambas-user mailing list
   Gambas-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user