From lordheavym at ...626... Tue Aug 1 00:51:43 2006 From: lordheavym at ...626... (Laurent Carlier) Date: Tue, 1 Aug 2006 00:51:43 +0200 Subject: [Gambas-user] An open question In-Reply-To: <200607312344.16147.gambas@...1...> References: <200607312344.16147.gambas@...1...> Message-ID: <200608010051.43981.lordheavym@...626...> Le lundi 31 juillet 2006 23:44, Benoit Minisini a ?crit?: > How can I reliably detect that a Gambas program run on a KDE desktop or on > a GNOME desktop? > > If anyone has a clue... found this , perhaps it can help you .... http://lists.freedesktop.org/archives/xorg/2005-November/010971.html Regards, From pvera at ...729... Tue Aug 1 00:52:35 2006 From: pvera at ...729... (Pablo Vera) Date: Mon, 31 Jul 2006 17:52:35 -0500 Subject: [Gambas-user] An open question In-Reply-To: <200607312344.16147.gambas@...1...> References: <200607312344.16147.gambas@...1...> Message-ID: <44CE89B3.1000607@...729...> I am not sure if this is really reliable or which line could be the best, but you could do a: ps -A | grep kdeinit or ps -A | grep kded or ps -A | grep kdesktop and if this return something, then KDE is running. Pablo ______________________________ Benoit Minisini wrote: > How can I reliably detect that a Gambas program run on a KDE desktop or on a > GNOME desktop? > > If anyone has a clue... > From gambas at ...1... Tue Aug 1 01:05:54 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 1 Aug 2006 01:05:54 +0200 Subject: [Gambas-user] An open question In-Reply-To: <44CE89B3.1000607@...729...> References: <200607312344.16147.gambas@...1...> <44CE89B3.1000607@...729...> Message-ID: <200608010105.54297.gambas@...1...> On Tuesday 01 August 2006 00:52, Pablo Vera wrote: > I am not sure if this is really reliable or which line could be the > best, but you could do a: > > ps -A | grep kdeinit > > or > > ps -A | grep kded > > or > > ps -A | grep kdesktop > > > and if this return something, then KDE is running. > > > Pablo Not reliable. That means that somebody (or something) runs KDE, but I must be sure that my program is displayed on a KDE desktop. Don't forget that on X, you can put any network between the display and the process. Regards, -- Benoit Minisini From gambas at ...1... Tue Aug 1 01:07:00 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 1 Aug 2006 01:07:00 +0200 Subject: [Gambas-user] An open question In-Reply-To: <200608010051.43981.lordheavym@...626...> References: <200607312344.16147.gambas@...1...> <200608010051.43981.lordheavym@...626...> Message-ID: <200608010107.00829.gambas@...1...> On Tuesday 01 August 2006 00:51, Laurent Carlier wrote: > Le lundi 31 juillet 2006 23:44, Benoit Minisini a ?crit?: > > How can I reliably detect that a Gambas program run on a KDE desktop or > > on a GNOME desktop? > > > > If anyone has a clue... > > found this , perhaps it can help you .... > http://lists.freedesktop.org/archives/xorg/2005-November/010971.html > > Regards, > I know the window manager, but there are people that run GNOME with KWin! -- Benoit Minisini From leo at ...1534... Tue Aug 1 01:02:30 2006 From: leo at ...1534... (Leonardo Miliani) Date: Tue, 01 Aug 2006 01:02:30 +0200 Subject: [Gambas-user] Error #6 Message-ID: <44CE8C06.1060805@...1534...> I was writing a crypto program and during the testing section I got the Error #6 and this output from the console: *** glibc detected *** gbCifra+: free(): invalid pointer: 0x081823ec *** ======= Backtrace: ========= /lib/libc.so.6[0xb7701911] /lib/libc.so.6(__libc_free+0x84)[0xb7702f84] gbCifra+[0x804b310] gbCifra+[0x804ddea] gbCifra+[0x804e3c2] gbCifra+[0x805c0d9] gbCifra+[0x805c47c] /usr/local/lib/gambas2/gb.qt.so[0xb72bd8fa] /usr/local/lib/gambas2/gb.qt.so[0xb72bd25d] /usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0x16d)[0xb7a59edd] /usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEi+0xbd)[0xb7a5ab3d] /usr/lib/libqt-mt.so.3(_ZN7QButton7clickedEv+0x2c)[0xb7d9a55c] /usr/lib/libqt-mt.so.3(_ZN7QButton17mouseReleaseEventEP11QMouseEvent+0xc3)[0xb7aedad3] /usr/lib/libqt-mt.so.3(_ZN7QWidget5eventEP6QEvent+0x3a0)[0xb7a92c00] /usr/lib/libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0x97)[0xb79faec7] /usr/lib/libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x1db)[0xb79fbdfb] /usr/lib/libqt-mt.so.3(_ZN9QETWidget19translateMouseEventEPK7_XEvent+0x4c2)[0xb799add2] /usr/lib/libqt-mt.so.3(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x916)[0xb7999fa6] /usr/lib/libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0x4aa)[0xb79aa5ea] /usr/local/lib/gambas2/gb.qt.so[0xb72b4286] /usr/lib/libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0x48)[0xb7a11ce8] /usr/lib/libqt-mt.so.3(_ZN10QEventLoop4execEv+0x2e)[0xb7a11b7e] /usr/lib/libqt-mt.so.3(_ZN12QApplication4execEv+0x1f)[0xb79faa7f] /usr/local/lib/gambas2/gb.qt.so[0xb72b3ce0] gbCifra+[0x805f8a6] /lib/libc.so.6(__libc_start_main+0xdc)[0xb76b387c] gbCifra+(sinh+0x6d)[0x804aac1] ======= Memory map: ======== 08048000-0806c000 r-xp 00000000 03:03 133835 /usr/local/bin/gbx2 0806c000-08071000 rw-p 00024000 03:03 133835 /usr/local/bin/gbx2 08071000-081a8000 rw-p 08071000 00:00 0 [heap] b6b00000-b6b21000 rw-p b6b00000 00:00 0 b6b21000-b6c00000 ---p b6b21000 00:00 0 b6d00000-b6d30000 r-xp 00000000 03:03 153753 /opt/kde3/lib/libDCOP.so.4.2.0 b6d30000-b6d31000 rw-p 00030000 03:03 153753 /opt/kde3/lib/libDCOP.so.4.2.0 b6d31000-b6d33000 rw-p b6d31000 00:00 0 b6d51000-b6d59000 r-xp 00000000 03:03 160370 /opt/kde3/lib/kde3/plugins/integration/libqtkde.so b6d59000-b6d5a000 rw-p 00007000 03:03 160370 /opt/kde3/lib/kde3/plugins/integration/libqtkde.so b6d5a000-b6d84000 r--p 00000000 03:03 28598 /usr/X11R6/lib/X11/fonts/truetype/albwb.ttf b6d84000-b6dca000 r--p 00000000 03:03 75140 /var/X11R6/compose-cache/l2_024_35fe9fba b6dca000-b6de5000 r-xp 00000000 03:03 32135 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 b6de5000-b6de7000 rw-p 0001b000 03:03 32135 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 b6de7000-b6e0a000 r-xp 00000000 03:03 166067 /usr/lib/qt3/plugins/inputmethods/libqsimple.so b6e0a000-b6e0b000 rw-p 00023000 03:03 166067 /usr/lib/qt3/plugins/inputmethods/libqsimple.so b6e0b000-b6e36000 r-xp 00000000 03:03 30034 /usr/lib/liblcms.so.1.0.15 b6e36000-b6e38000 rw-p 0002a000 03:03 30034 /usr/lib/liblcms.so.1.0.15 b6e38000-b6e3a000 rw-p b6e38000 00:00 0 b6e3a000-b6ea7000 r-xp 00000000 03:03 32572 /usr/lib/libmng.so.1.1.0.9 b6ea7000-b6eaa000 rw-p 0006c000 03:03 32572 /usr/lib/libmng.so.1.1.0.9 b6eb4000-b6ebd000 r-xp 00000000 03:03 32142 /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2 b6ebd000-b6ebe000 rw-p 00008000 03:03 32142 /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2 b6ebe000-b6ec7000 r-xp 00000000 03:03 166068 /usr/lib/qt3/plugins/inputmethods/libqxim.so b6ec7000-b6ec8000 rw-p 00008000 03:03 166068 /usr/lib/qt3/plugins/inputmethods/libqxim.so b6ec8000-b6ee6000 r-xp 00000000 03:03 27268 /usr/lib/libjpeg.so.62.0.0 b6ee6000-b6ee7000 rw-p 0001d000 03:03 27268 /usr/lib/libjpeg.so.62.0.0 b6eeb000-b6eee000 r-xp 00000000 03:03 165009 /usr/lib/qt3/plugins/inputmethods/libqimsw-none.so b6eee000-b6eef000 rw-p 00003000 03:03 165009 /usr/lib/qt3/plugins/inputmethods/libqimsw-none.so b6eef000-b6ef6000 r-xp 00000000 03:03 164998 /usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so b6ef6000-b6ef7000 rw-p 00007000 03:03 164998 /usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so b6ef7000-b6f00000 r--p 00000000 03:03 26339 /usr/share/locale/it/LC_MESSAGES/libc.mo b6f00000-b6f04000 r-xp 00000000 03:03 164994 /usr/lib/qt3/plugins/imageformats/libqmng.so b6f04000-b6f05000 rw-p 00003000 03:03 164994 /usr/lib/qt3/plugins/imageformats/libqmng.so b6f05000-b6f0a000 r-xp 00000000 03:03 43721 /usr/lib/qt3/plugins/imageformats/libqjpeg.so b6f0a000-b6f0b000 rw-p 00005000 03:03 43721 /usr/lib/qt3/plugins/imageformats/libqjpeg.so b6f0b000-b6f35000 r-xp 00000000 03:03 89600 /opt/kde3/lib/libkdefx.so.4.2.0 b6f35000-b6f36000 rw-p 0002a000 03:03 89600 /opt/kde3/lib/libkdefx.so.4.2.0 b6f36000-b6f55000 r-xp 00000000 03:03 153752 /opt/kde3/lib/kde3/plugins/styles/plastik.so b6f55000-b6f56000 rw-p 0001e000 03:03 153752 /opt/kde3/lib/kde3/plugins/styles/plastik.so b6f56000-b6f5d000 r--p 00000000 03:03 43738 /usr/lib/qt3/translations/qt_it.qm b6f5d000-b6f87000 r--p 00000000 03:03 28571 /usr/X11R6/lib/X11/fonts/truetype/albw.ttf b6f87000-b6f88000 r-xp 00000000 03:03 32139 /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2 b6f88000-b6f89000 rw-p 00000000 03:03 32139 /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2 b6f89000-b6f8f000 r--s 00001000 03:03 161837 /var/cache/fontconfig/d0814903482a18ed8717ceb08fcf4410.cache-2 b6f8f000-b6f94000 r--s 00001000 03:03 213570 /var/cache/fontconfig/a5bb9318fc124018aaa8c1184e917bf0.cache-2 b6f94000-b6f97000 r--s 00001000 03:03 163731 /var/cache/fontconfig/35d0bb7940b150edc30b59ad93aefe92.cache-2 b6f97000-b6f98000 r--s 00001000 03:03 65406 /var/cache/fontconfig/43b8e6e859be885e1b4c4769cd73a3f9.cache-2 b6f98000-b6f99000 r--s 00001000 03:03 89616 /var/cache/fontconfig/47969f914275157783f61e1bd1ed3d89.cache-2 b6f99000-b6ff2000 r--s 00001000 03:03 213554 /var/cache/fontconfig/a8eccb1d36c0cd55e07565774f02858e.cache-2 b6ff2000-b704d000 r--s 00001000 03:03 161826 /var/cache/fontconfig/4ab329b95251bfa96df993af29394e5c.cache-2 b704d000-b7054000 r--s 00001000 03:03 213544 /var/cache/fontconfig/57fddf4aeff95a0b98650bf3f13c26fe.cache-2 b7054000-b70ad000 r--s 00001000 03:03 213543 /var/cache/fontconfig/0357813fd01911d26e40012cc37afd61.cache-2 b70ad000-b7117000 r--s 00001000 03:03 161829 /var/cache/fontconfig/0b603ee0e9d5cb4fa2facb46225be8ca.cache-2 b7117000-b711b000 r--s 00001000 03:03 164982 /var/cache/fontconfig/de3900050b586a5b68cdc42e4d82842b.cache-2 b711b000-b7126000 r--s 00001000 03:03 213530 /var/cache/fontconfig/723d6c7d32b373f6b06cc7f9d1a8e946.cache-2 b7126000-b7159000 r--p 00000000 03:03 26785 /usr/lib/locale/it_IT.utf8/LC_CTYPE b7159000-b715a000 r--p 00000000 03:03 26742 /usr/lib/locale/it_IT.utf8/LC_NUMERIC b715a000-b715b000 r--p 00000000 03:03 25167 /usr/lib/locale/it_IT.utf8/LC_TIME b715b000-b7232000 r--p 00000000 03:03 26786 /usr/lib/locale/it_IT.utf8/LC_COLLATE b7232000-b7233000 r--p 00000000 03:03 26744 /usr/lib/locale/it_IT.utf8/LC_MONETARY b7233000-b7234000 r--p 00000000 03:03 26745 /usr/lib/locale/it_IT.utf8/LC_MESSAGES/SYS_LC_MESSAGES b7234000-b7235000 r--p 00000000 03:03 26780 /usr/lib/locale/it_IT.utf8/LC_PAPER b7235000-b7236000 r--p 00000000 03:03 26743 /usr/lib/locale/it_IT.utf8/LC_NAME b7236000-b7237000 r--p 00000000 03:03 25163 /usr/lib/locale/it_IT.utf8/LC_ADDRESS b7237000-b7238000 r--p 00000000 03:03 25166 /usr/lib/locale/it_IT.utf8/LC_TELEPHONE b7238000-b7239000 r--p 00000000 03:03 26784 /usr/lib/locale/it_IT.utf8/LC_MEASUREMENT b7239000-b7240000 r--s 00000000 03:03 213985 /usr/lib/gconv/gconv-modules.cache b7240000-b7264000 rw-p 00000000 03:03 211722 /usr/local/lib/gambas2/gb.form.gambas b7264000-b727e000 r-xp 00000000 03:03 211598 /usr/local/lib/gambas2/gb.qt.ext.so.0.0.0 b727e000-b7282000 rw-p 00019000 03:03 211598 /usr/local/lib/gambas2/gb.qt.ext.so.0.0.0 b7282000-b72e2000 r-xp 00000000 03:03 211614 /usr/local/lib/gambas2/gb.qt.so.0.0.0 b72e2000-b72f2000 rw-p 00060000 03:03 211614 /usr/local/lib/gambas2/gb.qt.so.0.0.0 b72f2000-b72f3000 rw-p b72f2000 00:00 0 b72f3000-b7304000 r-xp 00000000 03:03 22120 /lib/libnsl-2.4.so b7304000-b7306000 rw-p 00010000 03:03 22120 /lib/libnsl-2.4.so b7306000-b7308000 rw-p b7306000 00:00 0 b7308000-b7309000 r--p 00000000 03:03 25164 /usr/lib/locale/it_IT.utf8/LC_IDENTIFICATION b7309000-b7310000 r-xp 00000000 03:03 210682 /usr/local/lib/gambas2/gb.eval.so.0.0.0 b7310000-b7312000 rw-p 00006000 03:03 210682 /usr/local/lib/gambas2/gb.eval.so.0.0.0 b7312000-b7313000 rw-p b7312000 00:00 0 b7313000-b7326000 rw-p 00000000 03:03 211621 /usr/local/lib/gambas2/gb.qt.gambas b7326000-b7328000 rw-p b7326000 00:00 0 b7328000-b7345000 r-xp 00000000 03:03 23529 /usr/lib/libexpat.so.1.5.0 b7345000-b7347000 rw-p 0001d000 03:03 23529 /usr/lib/libexpat.so.1.5.0 b7347000-b734b000 r-xp 00000000 03:03 32263 /usr/X11R6/lib/libXfixes.so.3.0 b734b000-b734c000 rw-p 00003000 03:03 32263 /usr/X11R6/lib/libXfixes.so.3.0 b734c000-b734d000 rw-p b734c000 00:00 0 b734d000-b7357000 r-xp 00000000 03:03 27208 /lib/libgcc_s.so.1 b7357000-b7358000 rw-p 00009000 03:03 27208 /lib/libgcc_s.so.1 b7358000-b742d000 r-xp 00000000 03:03 28111 /usr/lib/libstdc++.so.6.0.8 b742d000-b7430000 r--p 000d5000 03:03 28111 /usr/lib/libstdc++.so.6.0.8 b7430000-b7432000 rw-p 000d8000 03:03 28111 /usr/lib/libstdc++.so.6.0.8 b7432000-b7438000 rw-p b7432000 00:00 0 b7438000-b7448000 r-xp 00000000 03:03 22135 /lib/libpthread-2.4.so b7448000-b744a000 rw-p 0000f000 03:03 22135 /lib/libpthread-2.4.so b744a000-b744c000 rw-p b744a000 00:00 0 b744c000-b7461000 r-xp 00000000 03:03 32231 /usr/X11R6/lib/libICE.so.6.4 b7461000-b7462000 rw-p 00014000 03:03 32231 /usr/X11R6/lib/libICE.so.6.4 b7462000-b7464000 rw-p b7462000 00:00 0 b7464000-b746c000 r-xp 00000000 03:03 32233 /usr/X11R6/lib/libSM.so.6.0 b746c000-b746d000 rw-p 00007000 03:03 32233 /usr/X11R6/lib/libSM.so.6.0 b746d000-b746e000 rw-p b746d000 00:00 0 b746e000-b7562000 r-xp 00000000 03:03 32237 /usr/X11R6/lib/libX11.so.6.2 b7562000-b7565000 rw-p 000f4000 03:03 32237 /usr/X11R6/lib/libX11.so.6.2 b7565000-b7572000 r-xp 00000000 03:03 32261 /usr/X11R6/lib/libXext.so.6.4 b7572000-b7573000 rw-p 0000c000 03:03 32261 /usr/X11R6/lib/libXext.so.6.4 b7573000-b75a7000 r-xp 00000000 03:03 28399 /usr/lib/libfontconfig.so.1.0.4 b75a7000-b75ab000 rw-p 00033000 03:03 28399 /usr/lib/libfontconfig.so.1.0.4 b75ab000-b75ac000 rw-p b75ab000 00:00 0 b75ac000-b7616000 r-xp 00000000 03:03 27871 /usr/lib/libfreetype.so.6.3.8 b7616000-b7619000 rw-p 0006a000 03:03 27871 /usr/lib/libfreetype.so.6.3.8 b7619000-b762b000 r-xp 00000000 03:03 32269 /usr/X11R6/lib/libXft.so.2.1.2 b762b000-b762c000 rw-p 00011000 03:03 32269 /usr/X11R6/lib/libXft.so.2.1.2 b762c000-b762e000 r-xp 00000000 03:03 32273 /usr/X11R6/lib/libXinerama.so.1.0 b762e000-b762f000 rw-p 00001000 03:03 32273 /usr/X11R6/lib/libXinerama.so.1.0 b762f000-b7630000 rw-p b762f000 00:00 0 b7630000-b7638000 r-xp 00000000 03:03 32253 /usr/X11R6/lib/libXcursor.so.1.0.2 b7638000-b7639000 rw-p 00007000 03:03 32253 /usr/X11R6/lib/libXcursor.so.1.0.2 b7639000-b763b000 r-xp 00000000 03:03 32283 /usr/X11R6/lib/libXrandr.so.2.0 b763b000-b763c000 rw-p 00002000 03:03 32283 /usr/X11R6/lib/libXrandr.so.2.0 b763c000-b7643000 r-xp 00000000 03:03 32285 /usr/X11R6/lib/libXrender.so.1.2.2 b7643000-b7644000 rw-p 00006000 03:03 32285 /usr/X11R6/lib/libXrender.so.1.2.2 b7644000-b764b000 r-xp 00000000 03:03 32271 /usr/X11R6/lib/libXi.so.6.0 b764b000-b764c000 rw-p 00006000 03:03 32271 /usr/X11R6/lib/libXi.so.6.0 b764c000-b765d000 r-xp 00000000 03:03 27811 /lib/libz.so.1.2.3 b765d000-b765e000 rw-p 00010000 03:03 27811 /lib/libz.so.1.2.3 b765e000-b769c000 r-xp 00000000 03:03 28098 /usr/lib/libpng.so.3.1.2.8 b769c000-b769d000 rw-p 0003e000 03:03 28098 /usr/lib/libpng.so.3.1.2.8 b769d000-b769e000 rw-p b769d000 00:00 0 b769e000-b77b7000 r-xp 00000000 03:03 22109 /lib/libc-2.4.so b77b7000-b77b9000 r--p 00118000 03:03 22109 /lib/libc-2.4.so b77b9000-b77bb000 rw-p 0011a000 03:03 22109 /lib/libc-2.4.so b77bb000-b77be000 rw-p b77bb000 00:00 0 b77be000-b77c0000 r-xp 00000000 03:03 22115 /lib/libdl-2.4.so b77c0000-b77c2000 rw-p 00001000 03:03 22115 /lib/libdl-2.4.so b77c2000-b77e5000 r-xp 00000000 03:03 22117 /lib/libm-2.4.so b77e5000-b77e7000 rw-p 00022000 03:03 22117 /lib/libm-2.4.so b77e7000-b7e8d000 r-xp 00000000 03:03 43717 /usr/lib/qt3/lib/libqt-mt.so.3.3.6 b7e8d000-b7ecd000 rw-p 006a6000 03:03 43717 /usr/lib/qt3/lib/libqt-mt.so.3.3.6 b7ecd000-b7ed1000 rw-p b7ecd000 00:00 0 b7ed1000-b7ed9000 r-xp 00000000 03:03 22126 /lib/libnss_files-2.4.so b7ed9000-b7edb000 rw-p 00007000 03:03 22126 /lib/libnss_files-2.4.so b7edb000-b7ee3000 r-xp 00000000 03:03 22130 /lib/libnss_nis-2.4.so b7ee3000-b7ee5000 rw-p 00007000 03:03 22130 /lib/libnss_nis-2.4.so b7ee5000-b7eeb000 r-xp 00000000 03:03 22122 /lib/libnss_compat-2.4.so b7eeb000-b7eed000 rw-p 00005000 03:03 22122 /lib/libnss_compat-2.4.so b7eed000-b7ef0000 rw-p b7eed000 00:00 0 b7ef0000-b7f0a000 r-xp 00000000 03:03 22102 /lib/ld-2.4.so b7f0a000-b7f0c000 rw-p 00019000 03:03 22102 /lib/ld-2.4.so bfeec000-bff01000 rw-p bfeec000 00:00 0 [stack] ffffe000-fffff000 ---p 00000000 00:00 0 [vdso] -- Ciao. Leo Webmaster di 3DItalia - Il sito italiano dedicato all'HW ed al 3D URL: hardware.multiplayer.it e-mail: leo at ...1534... From lordheavym at ...626... Tue Aug 1 01:05:23 2006 From: lordheavym at ...626... (Laurent Carlier) Date: Tue, 1 Aug 2006 01:05:23 +0200 Subject: [Gambas-user] An open question In-Reply-To: <200608010107.00829.gambas@...1...> References: <200607312344.16147.gambas@...1...> <200608010051.43981.lordheavym@...626...> <200608010107.00829.gambas@...1...> Message-ID: <200608010105.24022.lordheavym@...626...> Le mardi 1 ao?t 2006 01:07, Benoit Minisini a ?crit?: > On Tuesday 01 August 2006 00:51, Laurent Carlier wrote: > > Le lundi 31 juillet 2006 23:44, Benoit Minisini a ?crit?: > > > How can I reliably detect that a Gambas program run on a KDE desktop or > > > on a GNOME desktop? > > > > > > If anyone has a clue... > > > > found this , perhaps it can help you .... > > http://lists.freedesktop.org/archives/xorg/2005-November/010971.html > > > > Regards, > > I know the window manager, but there are people that run GNOME with KWin! So you want to know the desktop manager name, not the window manager name ;) From gambas at ...1... Tue Aug 1 01:28:18 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 1 Aug 2006 01:28:18 +0200 Subject: [Gambas-user] Error #6 In-Reply-To: <44CE8C06.1060805@...1534...> References: <44CE8C06.1060805@...1534...> Message-ID: <200608010128.18271.gambas@...1...> On Tuesday 01 August 2006 01:02, Leonardo Miliani wrote: > I was writing a crypto program and during the testing section I got the > Error #6 and this output from the console: > Can you reproduce the bug? -- Benoit Minisini From gambas at ...1... Tue Aug 1 01:58:21 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 1 Aug 2006 01:58:21 +0200 Subject: [Gambas-user] An open question In-Reply-To: <200608010105.54297.gambas@...1...> References: <200607312344.16147.gambas@...1...> <44CE89B3.1000607@...729...> <200608010105.54297.gambas@...1...> Message-ID: <200608010158.21439.gambas@...1...> On Tuesday 01 August 2006 01:05, Benoit Minisini wrote: > On Tuesday 01 August 2006 00:52, Pablo Vera wrote: > > I am not sure if this is really reliable or which line could be the > > best, but you could do a: > > > > ps -A | grep kdeinit > > > > or > > > > ps -A | grep kded > > > > or > > > > ps -A | grep kdesktop > > > > > > and if this return something, then KDE is running. > > > > > > Pablo > > Not reliable. That means that somebody (or something) runs KDE, but I must > be sure that my program is displayed on a KDE desktop. Don't forget that on > X, you can put any network between the display and the process. > > Regards, Hourah! I found that in the source code of the Portland xdg-utils source code: #-------------------------------------- # Checks for known desktop environments # set variable DE to the desktop environments name, lowercase detectDE() { if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde; elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome; elif xprop -root _DT_SAVE_MODE | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce; fi } -- Benoit Minisini From briedw02 at ...1366... Tue Aug 1 02:40:00 2006 From: briedw02 at ...1366... (Brian Edwards) Date: Tue, 01 Aug 2006 10:40:00 +1000 Subject: [Gambas-user] An open question In-Reply-To: <200608010105.24022.lordheavym@...626...> References: <200607312344.16147.gambas@...1...> <200608010051.43981.lordheavym@...626...> <200608010107.00829.gambas@...1...> <200608010105.24022.lordheavym@...626...> Message-ID: <44CEA2E0.70608@...1366...> Laurent Carlier wrote: > Le mardi 1 ao?t 2006 01:07, Benoit Minisini a ?crit : >> On Tuesday 01 August 2006 00:51, Laurent Carlier wrote: >>> Le lundi 31 juillet 2006 23:44, Benoit Minisini a ?crit : >>>> How can I reliably detect that a Gambas program run on a KDE desktop or >>>> on a GNOME desktop? >>>> >>>> If anyone has a clue... >>> found this , perhaps it can help you .... >>> http://lists.freedesktop.org/archives/xorg/2005-November/010971.html >>> >>> Regards, >> I know the window manager, but there are people that run GNOME with KWin! > > So you want to know the desktop manager name, not the window manager name ;) > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > I have written two short programs using Gambas 1.0.13 which is available for use with Unbuntu. One is an Address Book program to try out the SQLite database and another little toy to calculate Bicycle gear ratios. Both ran on the Gnome desktop OK and I have recently swapped over to KDE and they are still OK. Brian -- Brian Edwards Tewantin Queensland Australia Margaret and Brian's Home Pages are at http://users.bigpond.net.au/marbri/ From sbungay at ...981... Tue Aug 1 06:27:06 2006 From: sbungay at ...981... (sbungay) Date: Tue, 01 Aug 2006 00:27:06 -0400 Subject: [Gambas-user] Database Administrator In-Reply-To: <1154377990.8885.5.camel@...1496...> References: <44CE3B9F.2010701@...981...> <1154376361.5312.12.camel@...1496...> <200607312221.42434.gambas@...1...> <1154377990.8885.5.camel@...1496...> Message-ID: <44CED81A.8040001@...981...> Hi Charlie! I'll end your confusion for you. It is not my code that is the problem, it is the gambas database manager. My program (some of which can be seen in the background of the screenshor) is working fine. I use the database manager to test new SQL, and now it no longer works (which is the reason for my email). Hope this helps! Steve. P.S. Your English is much better than my German. :) Charlie Reinl wrote: > Am Montag, den 31.07.2006, 22:21 +0200 schrieb Benoit Minisini: > Salut Beno?t, > > this time I don't understand you! > 'No, it is the gambas database manager' means it is the 'gambas database > manager' > 'unless Steve has made a program with ...' means that it is NOT the > 'gambas database manager' am I right ? > > So I keep on to say : do while true/loop freece a project > > Amicalment > Charlie > >>exactly the same title >>On Monday 31 July 2006 22:06, Charlie Reinl wrote: >> >>>Am Montag, den 31.07.2006, 13:19 -0400 schrieb sbungay: >>>Salut, >>> >>>first I thought it is the GDM (gambas databasemanager) >>>but it is a tool you'v writen. >>> >> >>No, it is the gambas database manager, unless Steve has made a program with >>exactly the same title :-) >> > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From rporticio at ...43... Tue Aug 1 08:35:23 2006 From: rporticio at ...43... (Ramon Orticio) Date: Mon, 31 Jul 2006 23:35:23 -0700 (PDT) Subject: [Gambas-user] gbx: can not connect to the x server Message-ID: <20060801063523.24016.qmail@...1298...> dear friends, i'm using a redhat9 distro with kernel 2.4.20-31.9. i upgraded kde by installing kdebase-3.5.3-7.0.rh9.kde.1386.rpm and kdelibs-3.5.3-6.0.rh9.kde.i386.rpm. i used the following command to avoid dependencies $ rpm -Uvh --force --nodeps to both rpm files together with its devel packages. i installed them for they are required in order for gambas 1.0.16 and gambas2-1.9.33 to run. unfortunately when i rebooted the desktop GUI won't show. only a glimpse of the hour glass will show and instantly the console prompt will appear instead. i tried to delete some heavy files through the console but this did not remedy the situation. when i ran gambas in the console, a notice appeared - "gbx: can not connect to the x server" what must be the problem here. were the dependencies lacking or erased due to the forced installation? how can i remedy this problem and bring back the GUI or x window system. thanks for any help. ramon --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs.Try it free. -------------- next part -------------- An HTML attachment was scrubbed... URL: From leonardo at ...1237... Tue Aug 1 10:09:37 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 01 Aug 2006 10:09:37 +0200 Subject: [Gambas-user] Error #6 In-Reply-To: <200608010128.18271.gambas@...1...> References: <44CE8C06.1060805@...1534...> <200608010128.18271.gambas@...1...> Message-ID: <44CF0C41.5080801@...1237...> Benoit Minisini ha scritto: > On Tuesday 01 August 2006 01:02, Leonardo Miliani wrote: >> I was writing a crypto program and during the testing section I got the >> Error #6 and this output from the console: >> > > Can you reproduce the bug? > Yes, every time that I run my application, it generate the same error. If you want, I can send you the source code so you can examine it and try to understand what happens. -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From leonardo at ...1237... Tue Aug 1 10:28:06 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 01 Aug 2006 10:28:06 +0200 Subject: [Gambas-user] gbx: can not connect to the x server In-Reply-To: <20060801063523.24016.qmail@...1298...> References: <20060801063523.24016.qmail@...1298...> Message-ID: <44CF1096.6000601@...1237...> Ramon Orticio ha scritto: > dear friends, > > i'm using a redhat9 distro with kernel 2.4.20-31.9. i upgraded kde by > installing kdebase-3.5.3-7.0.rh9.kde.1386.rpm and > kdelibs-3.5.3-6.0.rh9.kde.i386.rpm. > i used the following command to avoid dependencies > $ rpm -Uvh --force --nodeps to both rpm files together with its devel > packages. > > i installed them for they are required in order for gambas 1.0.16 and > gambas2-1.9.33 to run. > > unfortunately when i rebooted the desktop GUI won't show. only a glimpse > of the hour glass will show and instantly the console prompt will appear > instead. > > i tried to delete some heavy files through the console but this did not > remedy the situation. > > when i ran gambas in the console, a notice appeared - "gbx: can not > connect to the x server" > > what must be the problem here. were the dependencies lacking or erased > due to the forced installation? how can i remedy this problem and bring > back the GUI or x window system. > > thanks for any help. > > ramon I had a similar problem just a couple of weeks ago, when I upgraded KDE on my Suse 10.1. I could not be able to enter in KDE anymore: I didn't understand why... But I think that there could be a bug in some KDE packages because I reinstalled Suse and upgraded KDE after a few days with a different version than the one that collapsed my desktop. So, try to look for a new release of KDE (the newest is 3.5.4) and try again. -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From gambas at ...1... Tue Aug 1 11:49:30 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 1 Aug 2006 11:49:30 +0200 Subject: [Gambas-user] Error #6 In-Reply-To: <44CF0C41.5080801@...1237...> References: <44CE8C06.1060805@...1534...> <200608010128.18271.gambas@...1...> <44CF0C41.5080801@...1237...> Message-ID: <200608011149.30509.gambas@...1...> On Tuesday 01 August 2006 10:09, Leonardo Miliani wrote: > Benoit Minisini ha scritto: > > On Tuesday 01 August 2006 01:02, Leonardo Miliani wrote: > >> I was writing a crypto program and during the testing section I got the > >> Error #6 and this output from the console: > > > > Can you reproduce the bug? > > Yes, every time that I run my application, it generate the same error. > If you want, I can send you the source code so you can examine it and > try to understand what happens. Of course, send me the application! -- Benoit Minisini From gambas at ...1... Tue Aug 1 11:54:47 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 1 Aug 2006 11:54:47 +0200 Subject: [Gambas-user] gbx: can not connect to the x server In-Reply-To: <20060801063523.24016.qmail@...1298...> References: <20060801063523.24016.qmail@...1298...> Message-ID: <200608011154.47668.gambas@...1...> On Tuesday 01 August 2006 08:35, Ramon Orticio wrote: > dear friends, > > i'm using a redhat9 distro with kernel 2.4.20-31.9. i upgraded kde by > installing kdebase-3.5.3-7.0.rh9.kde.1386.rpm and > kdelibs-3.5.3-6.0.rh9.kde.i386.rpm. i used the following command to avoid > dependencies > $ rpm -Uvh --force --nodeps to both rpm files together with its devel > packages. > > i installed them for they are required in order for gambas 1.0.16 and > gambas2-1.9.33 to run. > > unfortunately when i rebooted the desktop GUI won't show. only a > glimpse of the hour glass will show and instantly the console prompt will > appear instead. This is a crash of the X server apparently. You must look at the logs: they are at /var/log/Xorg.0.log on my Mandriva. If you use XFree86 and not Xorg, then the name of the log file changes accordingly. Read the log, until you find some sort of fatal error. If you don't find anything, it could be the login program. Do you use the KDE one? By forcing the installation, you could have broke your system, because the KDE packages depends on many other libraries that you didn't install too. > > i tried to delete some heavy files through the console but this did not > remedy the situation. > > when i ran gambas in the console, a notice appeared - "gbx: can not > connect to the x server" Of course. > > what must be the problem here. were the dependencies lacking or erased > due to the forced installation? how can i remedy this problem and bring > back the GUI or x window system. > > thanks for any help. > > ramon > I think the question too is why using RedHat 9? Can't you upgrade for something more recent? -- Benoit Minisini From gambas at ...1... Tue Aug 1 18:24:49 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 1 Aug 2006 18:24:49 +0200 Subject: [Gambas-user] PRB: Found some bugs? In-Reply-To: <200607310143.43475.ronstk@...239...> References: <200607310143.43475.ronstk@...239...> Message-ID: <200608011824.50428.gambas@...1...> On Monday 31 July 2006 01:43, Ron Onstenk wrote: > When I'm on a form and select a control. > With the rightmouse button choose to add an event. > In this case control 'panTitle' and not used event 'MousDown' > > The associated public sub is add at the end of the code. > However I found: > > PUBLIC SUB lblTitle_MouseDown() > > Activate > > EN > > PUBLIC SUB panTitle_MouseDown() > > > > END > > D > > It is inserted 1 character before the end and split the last END to EN & D > and i'm 100% sure the cursor was not at that place. > I think I have fixed it. > -------------------------------------------------------------------------- > With search 1: > When I Search for a keyword and use the search list the > markup in the project tree shows them in the > 'Form' instead of the 'Class' folder. > > Strange effect to click on that mark in a form and see the class :) What whould you like instead? > > --------------------------------------------------- > With search 2: > Selecting a keyword/sentence and press the Search (loupe) button I was > expecting the keyword in the search input box. > Now we must copy/paste the keyword/sentence > Would be nice to have the same behaviour as the old Find for this. OK. > > sleep well in western-europe, > > Ron > Regards, -- Benoit Minisini From gambas at ...1... Tue Aug 1 18:31:13 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 1 Aug 2006 18:31:13 +0200 Subject: [Gambas-user] Problem with Label, centered form and text in 1.9.35 In-Reply-To: <200607291724.29013.stefanopalmeri@...152...> References: <200607281429.27512.rolf.frogs@...221...> <200607291724.29013.stefanopalmeri@...152...> Message-ID: <200608011831.13803.gambas@...1...> On Saturday 29 July 2006 17:24, Stefano Palmeri wrote: > Alle 14:29, venerd? 28 luglio 2006, rolf ha scritto: > > Hi Gambasinos, > > > > I compiled Gambas 1.9.35 under Debian Testing - all requiered libs are > > installed with aptitude - and have the following problem. > > > > A form is started maximized with border for resize. The form has a text > >label > > with a centered text and the resize method resizes the label too. At > > first start I get the text written twice evtl. partly overlayed. > > > > I send this as a bug report to Benoit, but he can't verify this behavior > >with > > the attached example. > > > > Can someone else test the program to help finding the reason. > > Thank you > > > > BTW. The problem does not exists in version 1.9.31 > > Hi, Rolf. > > I tested your example and I experienced the same problem. > > My Gambas2 version is 1.9.34 > KDE is 3.4.2 > QT is 3.3.2 > > Also, I noticed that if you set maximized=False instead > of True in the form properties, and then you add this two lines in > Form_Open(): > > ME.Width = Desktop.Width > ME.Height = Desktop.Height > > the problem goes away. > > Regards, > > Stefano Palmeri > > > Stupid post scriptum: as another temporary workaround > I made this: > > PUBLIC SUB Form_Resize() > > Label1.Text = "" > Label1.Width = ME.Width - 20 > Label1.Text = "Test" > > END > I finally found a workaround for this problem, that came from a Qt optimization. You will get it in the next version. Regards, -- Benoit Minisini From ronstk at ...239... Tue Aug 1 18:55:33 2006 From: ronstk at ...239... (Ron Onstenk) Date: Tue, 1 Aug 2006 18:55:33 +0200 Subject: [Gambas-user] PRB: Found some bugs? In-Reply-To: <200608011824.50428.gambas@...1...> References: <200607310143.43475.ronstk@...239...> <200608011824.50428.gambas@...1...> Message-ID: <200608011855.34253.ronstk@...239...> On Tuesday 01 August 2006 18:24, Benoit Minisini wrote: > > With search 1: > > When I Search for a keyword and use the search list the > > markup in the project tree shows them in the > > 'Form' instead of the 'Class' folder. > > > > Strange effect to click on that mark in a form and see the class :) > > What whould you like instead? > On Search with list I get the line numbers in the [Form] folder for MyForm.form instead of the [Class] and MyForm.class Do a Search with list for the word 'Public Sub' in the form code editor Suprise he will find it in a form. Class [module] [Class] MyForm.class [Form] MyForm.form | o- 10,3 <----- line where 'Public Sub' is ?????????????? Big smile Ron From Karl.Reinl at ...9... Tue Aug 1 21:10:33 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 01 Aug 2006 21:10:33 +0200 Subject: [Gambas-user] Database Administrator In-Reply-To: <44CED81A.8040001@...981...> References: <44CE3B9F.2010701@...981...> <1154376361.5312.12.camel@...1496...> <200607312221.42434.gambas@...1...> <1154377990.8885.5.camel@...1496...> <44CED81A.8040001@...981...> Message-ID: <1154459434.5195.26.camel@...1496...> Am Dienstag, den 01.08.2006, 00:27 -0400 schrieb sbungay: > Hi Charlie! > I'll end your confusion for you. It is not my code that is the > problem, it is the gambas database manager. My program (some of which > can be seen in the background of the screenshor) is working fine. I use > the database manager to test new SQL, and now it no longer works (which > is the reason for my email). > Hope this helps! > > Steve. > > P.S. Your English is much better than my German. :) :) are you sure Why Database Administrator ??? > > Charlie Reinl wrote: > > Am Montag, den 31.07.2006, 22:21 +0200 schrieb Benoit Minisini: > > Salut Beno?t, > > > > this time I don't understand you! > > 'No, it is the gambas database manager' means it is the 'gambas database > > manager' > > 'unless Steve has made a program with ...' means that it is NOT the > > 'gambas database manager' am I right ? > > > > So I keep on to say : do while true/loop freece a project > > > > Amicalment > > Charlie > > > >>exactly the same title > >>On Monday 31 July 2006 22:06, Charlie Reinl wrote: > >> > >>>Am Montag, den 31.07.2006, 13:19 -0400 schrieb sbungay: > >>>Salut, > >>> > >>>first I thought it is the GDM (gambas databasemanager) > >>>but it is a tool you'v writen. > >>> > >> > >>No, it is the gambas database manager, unless Steve has made a program with > >>exactly the same title :-) > >> > > > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys -- and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Aug 1 22:41:12 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 1 Aug 2006 22:41:12 +0200 Subject: [Gambas-user] Release of gambas 1.9.36 Message-ID: <200608012241.12513.gambas@...1...> Hi, Here is a new release of the development version. I put the debugger in the gb.debug component. This way the interpreter is a little smaller, and I can add features to the debugger without making it heavyier. Otherwise, there are some little changes in the Development Environment, and the Stock class design has been finalized. But this class is not terminated yet, as I'd like to put the GTK+ icons inside. I want the IDE to have sort of GNOME look if it is run under GNOME :-) Here is the full ChangeLog: -8<---------------------------------------------------------------------------- DEVELOPMENT ENVIRONMENT * BUG: You can change the case of a control name now without having a message telling you that the name is already in use. * NEW: If you select an expression during a debugging session, its value is automatically displayed in a tooltip. * BUG: Some fixes in the automatic insertion of functions when selecting an event in the form editor. * NEW: The automatic position bookmarks (F2 & SHIFT+F2) saves positions in more situations. * NEW: Some little changes in the search & replace panel. * BUG: The file list is now correctly sorted, and displayed the line where the search string was found. * BUG: Form reload should work in all cases now. INTERPRETER * NEW: The debugger code is now stored in the gb.debug component. * BUG: Code inside _init() methods can be debugged now. * NEW: If you use the bracket syntax with the two first elements having different types, then a Variant[] array is created instead of raising an error. GB.DEBUG COMPONENT * NEW: The debugger goes inside this component now. * NEW: The debugger can display the contents of Array and Collection objects. GB.EVAL COMPONENT * BUG: Evaluating expressions with a non-terminated string does not crash the interpreter anymore. GB.QT COMPONENT * BUG: Management of Expand property was fixed for Row and Column arrangement mode. * BUG: The behaviour of UserContainer arrangement properties was fixed. * BUG: The Label control should not displayed its text twice anymore. * NEW: The Separator control now uses the underlying widget theme for displaying its contents. * NEW: Pictures name beginning with "icon:/" are sent to the Stock class. For example, "icon:/64/close" is a reference to the stock icon that represents the "close" action, with a width and height of 64 pixels. * BUG: Forms do not accept keyboard focus anymore. * NEW: Action.Lock and Action.Unlock are two new methods for locking and unlocking the propagation of actions. * NEW: The Stock class uses the icons of the current KDE icon theme. GB.QT.EXT COMPONENT * BUG: Fix some redraw problem in the Editor. GB.QT.KDE COMPONENT * BUG: Fixed a fatal double initialization of the event loop. GB.FORM COMPONENT * BUG: The layout of the wizard title is correct now. * NEW: You can hide a toolpanel sub-panel. GB.FORM.MDI COMPONENT * NEW: Workspace tab bar is displayed on top now. * NEW: Workspace title is hidden now. The close button is now besides the tab bar. GB.DB COMPONENT * NEW: Database connections are automatically opened at first use. This is experimental and not well tested! --8<--------------------------------------------------------------------------- Enjoy it! P.S.: my flat was burglared the last week-end. My computer was safe, but they stole, among other things, a laptop lended by my boss for my job, and my flute! Bad luck :-( -- Benoit Minisini From gambas at ...1... Tue Aug 1 22:47:32 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 1 Aug 2006 22:47:32 +0200 Subject: [Gambas-user] Release of gambas 1.9.36 In-Reply-To: <200608012241.12513.gambas@...1...> References: <200608012241.12513.gambas@...1...> Message-ID: <200608012247.33001.gambas@...1...> On Tuesday 01 August 2006 22:41, Benoit Minisini wrote: > Hi, > > Here is a new release of the development version. > ... Another point: the debugger now can display the contents of Array and Collection objects. Just select an expression that returns an array or a collection during a debugging session, and you will see. Regards, -- Benoit Minisini From leonardo at ...1237... Tue Aug 1 23:59:58 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 01 Aug 2006 23:59:58 +0200 Subject: [Gambas-user] Error #6 In-Reply-To: <200608011149.30509.gambas@...1...> References: <44CE8C06.1060805@...1534...> <200608010128.18271.gambas@...1...> <44CF0C41.5080801@...1237...> <200608011149.30509.gambas@...1...> Message-ID: <44CFCEDE.7040909@...1237...> Benoit Minisini ha scritto: > On Tuesday 01 August 2006 10:09, Leonardo Miliani wrote: >> Benoit Minisini ha scritto: >>> On Tuesday 01 August 2006 01:02, Leonardo Miliani wrote: >>>> I was writing a crypto program and during the testing section I got the >>>> Error #6 and this output from the console: >>> Can you reproduce the bug? >> Yes, every time that I run my application, it generate the same error. >> If you want, I can send you the source code so you can examine it and >> try to understand what happens. > > Of course, send me the application! > Here is the archive. I was working on clsAES, a translation of an application in VB that I found on net. Launch the program, choose a file to crypt, insert some chars as keyword, select the AES algorithm and click on PROCEDI. The bug was generated from some code issues that I fixed up: so this version is only for testing. -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... -------------- next part -------------- A non-text attachment was scrubbed... Name: gbCifra+.tar.bz2 Type: application/x-bzip Size: 109510 bytes Desc: not available URL: From sbungay at ...981... Wed Aug 2 01:49:26 2006 From: sbungay at ...981... (sbungay) Date: Tue, 01 Aug 2006 19:49:26 -0400 Subject: [Gambas-user] Database Administrator In-Reply-To: <1154459434.5195.26.camel@...1496...> References: <44CE3B9F.2010701@...981...> <1154376361.5312.12.camel@...1496...> <200607312221.42434.gambas@...1...> <1154377990.8885.5.camel@...1496...> <44CED81A.8040001@...981...> <1154459434.5195.26.camel@...1496...> Message-ID: <44CFE886.3090005@...981...> I understand the question "Why Database Administrator" but I don't understand the context. If I at one time said "Database Administrator" then I made an error because I have always meant "Database Manager". Steve. Charlie Reinl wrote: > Am Dienstag, den 01.08.2006, 00:27 -0400 schrieb sbungay: > >>Hi Charlie! >> I'll end your confusion for you. It is not my code that is the >>problem, it is the gambas database manager. My program (some of which >>can be seen in the background of the screenshor) is working fine. I use >>the database manager to test new SQL, and now it no longer works (which >>is the reason for my email). >> Hope this helps! >> >>Steve. >> >>P.S. Your English is much better than my German. :) > > :) are you sure > > Why Database Administrator ??? > >>Charlie Reinl wrote: >> >>>Am Montag, den 31.07.2006, 22:21 +0200 schrieb Benoit Minisini: >>>Salut Beno?t, >>> >>>this time I don't understand you! >>>'No, it is the gambas database manager' means it is the 'gambas database >>>manager' >>>'unless Steve has made a program with ...' means that it is NOT the >>>'gambas database manager' am I right ? >>> >>>So I keep on to say : do while true/loop freece a project >>> >>>Amicalment >>>Charlie >>> >>> >>>>exactly the same title >>>>On Monday 31 July 2006 22:06, Charlie Reinl wrote: >>>> >>>> >>>>>Am Montag, den 31.07.2006, 13:19 -0400 schrieb sbungay: >>>>>Salut, >>>>> >>>>>first I thought it is the GDM (gambas databasemanager) >>>>>but it is a tool you'v writen. >>>>> >>>> >>>>No, it is the gambas database manager, unless Steve has made a program with >>>>exactly the same title :-) >>>> >>> >>> >>> >>>------------------------------------------------------------------------- >>>Take Surveys. Earn Cash. Influence the Future of IT >>>Join SourceForge.net's Techsay panel and you'll get the chance to share your >>>opinions on IT & business topics through brief surveys -- and earn cash >>>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>>_______________________________________________ >>>Gambas-user mailing list >>>Gambas-user at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/gambas-user >> >>------------------------------------------------------------------------- >>Take Surveys. Earn Cash. Influence the Future of IT >>Join SourceForge.net's Techsay panel and you'll get the chance to share your >>opinions on IT & business topics through brief surveys -- and earn cash >>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sbungay at ...981... Wed Aug 2 01:50:54 2006 From: sbungay at ...981... (sbungay) Date: Tue, 01 Aug 2006 19:50:54 -0400 Subject: [Gambas-user] Database Administrator In-Reply-To: <200607312221.42434.gambas@...1...> References: <44CE3B9F.2010701@...981...> <1154376361.5312.12.camel@...1496...> <200607312221.42434.gambas@...1...> Message-ID: <44CFE8DE.7070102@...981...> Greetings Benoit! I just installed 1.9.36 and the Database Manager problem still haunts me. Any ideas? Benoit Minisini wrote: > On Monday 31 July 2006 22:06, Charlie Reinl wrote: > >>Am Montag, den 31.07.2006, 13:19 -0400 schrieb sbungay: >>Salut, >> >>first I thought it is the GDM (gambas databasemanager) >>but it is a tool you'v writen. >> > > > No, it is the gambas database manager, unless Steve has made a program with > exactly the same title :-) > From rolf.frogs at ...221... Wed Aug 2 12:45:05 2006 From: rolf.frogs at ...221... (rolf) Date: Wed, 2 Aug 2006 12:45:05 +0200 Subject: [Gambas-user] Problem with Label, centered form and text in 1.9.35 In-Reply-To: <200608011831.13803.gambas@...1...> References: <200607281429.27512.rolf.frogs@...221...> <200607291724.29013.stefanopalmeri@...152...> <200608011831.13803.gambas@...1...> Message-ID: <200608021245.05257.rolf.frogs@...221...> Am Dienstag, 1. August 2006 18:31 schrieb Benoit Minisini: > On Saturday 29 July 2006 17:24, Stefano Palmeri wrote: > > Alle 14:29, venerd? 28 luglio 2006, rolf ha scritto: > > > Hi Gambasinos, > > > > > > I compiled Gambas 1.9.35 under Debian Testing - all requiered libs are > > > installed with aptitude - and have the following problem. > > > > > > A form is started maximized with border for resize. The form has a text > > >label > > > with a centered text and the resize method resizes the label too. At > > > first start I get the text written twice evtl. partly overlayed. > > > > > > I send this as a bug report to Benoit, but he can't verify this > > > behavior with > > > the attached example. > > > > > > Can someone else test the program to help finding the reason. > > > Thank you > > > > > > BTW. The problem does not exists in version 1.9.31 > > > > Hi, Rolf. > > > > I tested your example and I experienced the same problem. > > > > My Gambas2 version is 1.9.34 > > KDE is 3.4.2 > > QT is 3.3.2 > > > > Also, I noticed that if you set maximized=False instead > > of True in the form properties, and then you add this two lines in > > Form_Open(): > > > > ME.Width = Desktop.Width > > ME.Height = Desktop.Height > > > > the problem goes away. > > > > Regards, > > > > Stefano Palmeri > > > > > > Stupid post scriptum: as another temporary workaround > > I made this: > > > > PUBLIC SUB Form_Resize() > > > > Label1.Text = "" > > Label1.Width = ME.Width - 20 > > Label1.Text = "Test" > > > > END > > I finally found a workaround for this problem, that came from a Qt > optimization. You will get it in the next version. > > Regards, Thanks. I did it in Gambas with a .Refresh after setting the text. Bye Rolf From francesco.difusco at ...69... Wed Aug 2 13:48:17 2006 From: francesco.difusco at ...69... (difusco_francesco@tiscali.it) Date: Wed, 2 Aug 2006 13:48:17 +0200 Subject: [Gambas-user] Unable to execute Gambas 1.9.34-35-36 Message-ID: When I try to install Gambas 1.9.24-1.9.36 I alway get this error message: ERROR: #27: Cannot load component 'gb.form': cannot find library file Francesco ___________________________________________________________________ 30 euro di sconto sull'abbonamento annuale, solo fino al 31/8! Cogli subito la grande offerta SKY http://click.libero.it/sky From gambas at ...1... Wed Aug 2 14:10:29 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 Aug 2006 14:10:29 +0200 Subject: [Gambas-user] Unable to execute Gambas 1.9.34-35-36 In-Reply-To: References: Message-ID: <200608021410.29691.gambas@...1...> On Wednesday 02 August 2006 13:48, difusco_francesco at ...152... wrote: > When I try to install Gambas 1.9.24-1.9.36 I alway get this error message: > > ERROR: #27: Cannot load component 'gb.form': cannot find library file > > Francesco > > Did you install from sources or from a binary package? Which distribution do yo use? Regards, -- Benoit Minisini From francesco.difusco at ...69... Wed Aug 2 14:09:18 2006 From: francesco.difusco at ...69... (difusco_francesco@tiscali.it) Date: Wed, 2 Aug 2006 14:09:18 +0200 Subject: [Gambas-user] Unable to execute Gambas 1.9.34-35-36 Message-ID: > Did you install from sources or from a binary package? Which distribution do > yo use? I installed it from source. I use Mandriva 2006. Francesco ___________________________________________________________________ 30 euro di sconto sull'abbonamento annuale, solo fino al 31/8! Cogli subito la grande offerta SKY http://click.libero.it/sky From gambas at ...1... Wed Aug 2 14:24:55 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 Aug 2006 14:24:55 +0200 Subject: [Gambas-user] Unable to execute Gambas 1.9.34-35-36 In-Reply-To: References: Message-ID: <200608021424.55442.gambas@...1...> On Wednesday 02 August 2006 14:09, difusco_francesco at ...152... wrote: > > Did you install from sources or from a binary package? Which distribution > > do yo use? > > I installed it from source. I use Mandriva 2006. > > Francesco > Maybe should you send me the output of your entire compilation process, as explained in the troubleshooting section of the website? -- Benoit Minisini From joe1962 at ...626... Wed Aug 2 14:26:02 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Wed, 2 Aug 2006 08:26:02 -0400 Subject: [Gambas-user] /usr/include/asm/byteorder.h syntax error building 1.9.36 Message-ID: <6c208f950608020526y4fbcf444qe5d09282e135c301@...627...> I get syntax errors in /usr/include/asm/byteorder.h during make while building 1.9.36. Kernel is 2.6.17.7, gcc is 3.3.4, on Vector Linux 5.1.2 SOHO. Here is the ./configure used: ./configure -C --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-kde-includes=/opt/kde/include --with-kde-libraries=/opt/kde/lib --disable-v4l Here is the relevant output at the end of the make process: ------------------------------------------------------------------------------------------------------------------------- make[5]: Entering directory `/home/joe1962/packages/3-2package/gambas/gambas2-1.9.36/gb.sdl/src' if /bin/sh ../libtool --tag=CC --mode=compile ccache gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/SDL/ -I/usr/include/SDL -D_REENTRANT -pipe -Wall -fno-str ict-aliasing -Wno-unused-value -g -Os -MT cdrom.lo -MD -MP -MF ".deps/cdrom.Tpo" -c -o cdrom.lo cdrom.c; \ then mv -f ".deps/cdrom.Tpo" ".deps/cdrom.Plo"; else rm -f ".deps/cdrom.Tpo"; exit 1; fi mkdir .libs ccache gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/SDL/ -I/usr/include/SDL -D_REENTRANT -pipe -Wall -fno-strict-aliasing -Wno-unused-value -g -Os -MT cdrom .lo -MD -MP -MF .deps/cdrom.Tpo -c cdrom.c -fPIC -DPIC -o .libs/cdrom.o In file included from /usr/include/linux/cdrom.h:14, from cdrom.c:37: /usr/include/asm/byteorder.h:14: error: syntax error before "__u32" /usr/include/asm/byteorder.h:28: error: syntax error before "__u64" make[5]: *** [cdrom.lo] Error 1 make[5]: Leaving directory `/home/joe1962/packages/3-2package/gambas/gambas2-1.9.36/gb.sdl/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/joe1962/packages/3-2package/gambas/gambas2-1.9.36/gb.sdl/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/joe1962/packages/3-2package/gambas/gambas2-1.9.36/gb.sdl' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/joe1962/packages/3-2package/gambas/gambas2-1.9.36/gb.sdl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/joe1962/packages/3-2package/gambas/gambas2-1.9.36' make: *** [all] Error 2 ------------------------------------------------------------------------------------------------------------------------- And here are the offending lines 14 and 28 of said file: line 14: static __inline__ __attribute_const__ __u32 ___arch__swab32(__u32 x) line 28: static __inline__ __attribute_const__ __u64 ___arch__swab64(__u64 val) Hope that helps to narrow down the problem. Please let me know if any other info is needed. Regards, Joe1962 From francesco.difusco at ...69... Wed Aug 2 14:38:18 2006 From: francesco.difusco at ...69... (difusco_francesco@tiscali.it) Date: Wed, 2 Aug 2006 14:38:18 +0200 Subject: [Gambas-user] Unable to execute Gambas 1.9.34-35-36 Message-ID: > Maybe should you send me the output of your entire compilation process, as > explained in the troubleshooting section of the website? > > -- > Benoit Minisini I sent yu the output.txt file, but it has been rejected. IInfact, I have received this message: Your request to the Gambas-user mailing list Posting of your message titled "Re: [Gambas-user] Unable to execute Gambas 1.9.34-35-36" has been rejected by the list moderator. The moderator gave the following reason for rejecting your request: "Your message was too big; please trim it to less than 256 KB in size." Any questions or comments should be directed to the list administrator at: gambas-user-owner at lists.sourceforge.net Could I compress output.txt? Francesco ___________________________________________________________________ 30 euro di sconto sull'abbonamento annuale, solo fino al 31/8! Cogli subito la grande offerta SKY http://click.libero.it/sky From gambas at ...1... Wed Aug 2 15:01:50 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 Aug 2006 15:01:50 +0200 Subject: [Gambas-user] Unable to execute Gambas 1.9.34-35-36 In-Reply-To: References: Message-ID: <200608021501.51034.gambas@...1...> On Wednesday 02 August 2006 14:38, difusco_francesco at ...152... wrote: > > Maybe should you send me the output of your entire compilation process, > > as explained in the troubleshooting section of the website? > > > > -- > > Benoit Minisini > > I sent yu the output.txt file, but it has been rejected. IInfact, I have > received this message: > > Your request to the Gambas-user mailing list > > Posting of your message titled "Re: [Gambas-user] Unable to > execute Gambas 1.9.34-35-36" > > has been rejected by the list moderator. The moderator gave the > following reason for rejecting your request: > > "Your message was too big; please trim it to less than 256 KB in > size." > > Any questions or comments should be directed to the list administrator > at: > > gambas-user-owner at lists.sourceforge.net > > > Could I compress output.txt? > > Francesco > Of course! And you don't have to send the file to the other 497 people on this mailing-list, you can send it to me directly! Regards, -- Benoit Minisini From picander78 at ...325... Wed Aug 2 15:51:11 2006 From: picander78 at ...325... (Marco Gusy) Date: Wed, 2 Aug 2006 15:51:11 +0200 Subject: [Gambas-user] Release of gambas 1.9.36 In-Reply-To: <200608012247.33001.gambas@...1...> References: <200608012241.12513.gambas@...1...> <200608012247.33001.gambas@...1...> Message-ID: <200608021551.11425.picander78@...325...> First of all great compliments for the new Ide, Gambas now has the Gui it deserve. Thanks Benoit. I have a dumb question... how do I close a window in the new IDE (1.9.36)? I can't see a command to close windows (except "Close all windows") Thanks Marco From gambas at ...1... Wed Aug 2 16:16:40 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 Aug 2006 16:16:40 +0200 Subject: [Gambas-user] Release of gambas 1.9.36 In-Reply-To: <200608021551.11425.picander78@...325...> References: <200608012241.12513.gambas@...1...> <200608012247.33001.gambas@...1...> <200608021551.11425.picander78@...325...> Message-ID: <200608021616.40372.gambas@...1...> On Wednesday 02 August 2006 15:51, Marco Gusy wrote: > First of all great compliments for the new Ide, Gambas now has the Gui it > deserve. Thanks Benoit. > I have a dumb question... how do I close a window in the new IDE (1.9.36)? > I can't see a command to close windows (except "Close all windows") > > Thanks > > Marco > The button is there, at the right of tabs, but the icon is not visible. I think this bug comes from a not present 'kde-config' program. If you or anybody else can confirm... Regards, -- Benoit Minisini From francesco.difusco at ...69... Wed Aug 2 16:32:55 2006 From: francesco.difusco at ...69... (difusco_francesco@tiscali.it) Date: Wed, 2 Aug 2006 16:32:55 +0200 Subject: [Gambas-user] Unable to execute Gambas 1.9.34-35-36 Message-ID: > Of course! And you don't have to send the file to the other 497 people on this > mailing-list, you can send it to me directly! Well, after I sent you again the file, I unistalled Gambas 1.9.31, and then Gambas 1.9.36 was correctly installed. I'll try it now. Thank you a lot, again Francesco ___________________________________________________________________ 30 euro di sconto sull'abbonamento annuale, solo fino al 31/8! Cogli subito la grande offerta SKY http://click.libero.it/sky From picander78 at ...325... Wed Aug 2 16:49:04 2006 From: picander78 at ...325... (Marco Gusy) Date: Wed, 2 Aug 2006 16:49:04 +0200 Subject: [Gambas-user] Release of gambas 1.9.36 In-Reply-To: <200608021616.40372.gambas@...1...> References: <200608012241.12513.gambas@...1...> <200608021551.11425.picander78@...325...> <200608021616.40372.gambas@...1...> Message-ID: <200608021649.04829.picander78@...325...> Alle 16:16, mercoled? 2 agosto 2006, Benoit Minisini ha scritto: > The button is there, at the right of tabs, but the icon is not visible. > > I think this bug comes from a not present 'kde-config' program. If you or > anybody else can confirm... > > Regards, mmm... i have kde-config in path, what kde-config command do you need to debug me? From gambas at ...1... Wed Aug 2 17:11:56 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 Aug 2006 17:11:56 +0200 Subject: [Gambas-user] Release of gambas 1.9.36 In-Reply-To: <200608021649.04829.picander78@...325...> References: <200608012241.12513.gambas@...1...> <200608021616.40372.gambas@...1...> <200608021649.04829.picander78@...325...> Message-ID: <200608021711.56234.gambas@...1...> On Wednesday 02 August 2006 16:49, Marco Gusy wrote: > Alle 16:16, mercoled? 2 agosto 2006, Benoit Minisini ha scritto: > > The button is there, at the right of tabs, but the icon is not visible. > > > > I think this bug comes from a not present 'kde-config' program. If you or > > anybody else can confirm... > > > > Regards, > > mmm... i have kde-config in path, what kde-config command do you need to > debug me? > $ kde-config --path icon And tell me what theme directories are installed inside the path returned by the previous command. And if you could send me the contents of the file ~/.kde/share/config/kdeglobals, it would be perfect :-) Regards, -- Benoit Minisini From picander78 at ...325... Wed Aug 2 17:13:36 2006 From: picander78 at ...325... (Marco Gusy) Date: Wed, 2 Aug 2006 17:13:36 +0200 Subject: [Gambas-user] Release of gambas 1.9.36 In-Reply-To: <200608021711.56234.gambas@...1...> References: <200608012241.12513.gambas@...1...> <200608021649.04829.picander78@...325...> <200608021711.56234.gambas@...1...> Message-ID: <200608021713.36585.picander78@...325...> Alle 17:11, mercoled? 2 agosto 2006, Benoit Minisini ha scritto: > On Wednesday 02 August 2006 16:49, Marco Gusy wrote: > > Alle 16:16, mercoled? 2 agosto 2006, Benoit Minisini ha scritto: > > > The button is there, at the right of tabs, but the icon is not visible. > > > > > > I think this bug comes from a not present 'kde-config' program. If you > > > or anybody else can confirm... > > > > > > Regards, > > > > mmm... i have kde-config in path, what kde-config command do you need to > > debug me? > > $ kde-config --path icon > > And tell me what theme directories are installed inside the path returned > by the previous command. And if you could send me the contents of the file > ~/.kde/share/config/kdeglobals, it would be perfect :-) > > Regards, -1- marco at ...1535... ~ $ kde-config --path icon /home/marco/.kde3.5/share/icons/:/usr/share/icons/:/usr/kde/3.5/share/icons/ -2- marco at ...1535... ~ $ ls /home/marco/.kde3.5/share/icons/ hicolor/ locolor/ nuvola/ Outline/ sparkling/ marco at ...1535... ~ $ ls /usr/share/icons/ gnome/ hicolor/ crystalsvg/ default.kde@ hicolor/ ikons/ kdeclassic/ kids/ locolor/ Locolor/ slick/ marco at ...1535... ~ $ -3- (attachment) ;-) -------------- next part -------------- [$Version] update_info=kwin.upd:kde3.2Xinerama,kaccel.upd:kde3.3/r1,klippershortcuts.upd:04112002,kded.upd:kde3.0,socks.upd:kde3.0/r1,kaccel.upd:kde3.1/r3,mouse_cursor_theme.upd:kde3.4.99 [DesktopIcons] ActiveColor=0,0,102 ActiveColor2=255,255,102 ActiveEffect=togamma ActiveSemiTransparent=false ActiveValue=1 Animated=true DefaultColor=0,0,0 DefaultColor2=255,255,255 DefaultEffect=none DefaultSemiTransparent=false DefaultValue=1 DisabledColor=128,128,128 DisabledColor2=204,204,204 DisabledEffect=none DisabledSemiTransparent=false DisabledValue=1 DoublePixels=false Size=32 [DirSelect Dialog] DirSelectDialog Size=639,450 History Items=file:///mnt/win_c/capture/dv/foto,file://$HOME/Documents/Downloads,file:///tmp/faccine,file://$HOME/tmp/gav-0.9.0,file:///mnt/win_c/temp,file://$HOME/tmp,file:///,file:///mnt/win_c2/temp,file:///mnt/win_c2/temp/sonate,file://$HOME/Documents/gambas,file://$HOME/Giochi/c64,file://$HOME/tmp/.vari/klibido/tmp,file://$HOME/tmp/.vari/klibido/decoded,file://$HOME/tmp/mandrake,file://$HOME/Documents/Immagini/Panoramiche,file:///mnt/win_c/Roba_Vecchia/Giochi/scorch,file://$HOME/Documents/Html,file://$HOME/Documents/Quanta,file://$HOME/Documents [FMSettings] StandardFont= [General] UseSystemBell=true XftHintStyle=hintmedium XftSubPixel= alternateBackground=245,244,243 background=232,239,234 buttonBackground=221,228,221 buttonForeground=0,0,0 fixed=Courier New,12,-1,5,50,0,0,0,0,0 font=Bitstream Vera Sans,11,-1,5,50,0,0,0,0,0 foreground=0,0,0 linkColor=0,0,238 menuFont=Bitstream Vera Sans,11,-1,5,50,0,0,0,0,0 selectBackground=128,169,133 selectForeground=255,255,255 shadeSortColumn=true taskbarFont=Arial,11,-1,5,50,0,0,0,0,0 toolBarFont=Arial,12,-1,5,50,0,0,0,0,0 visitedLinkColor=82,24,139 widgetStyle=krisp windowBackground=255,255,255 windowForeground=0,0,0 [Global Shortcuts] Activate Window Demanding Attention=default(Alt+Ctrl+A) Block Global Shortcuts=none Defaults timestamp=Mar 29 200615:08:09 Desktop Screenshot=default(Ctrl+Print) Enable/Disable Clipboard Actions=default(Alt+Ctrl+X) Halt without Confirmation=none Kill Window=default(Alt+Ctrl+Escape) Lock Session=default(Alt+Ctrl+L) Log Out=default(Alt+Ctrl+Delete) Log Out Without Confirmation=default(Alt+Ctrl+Shift+Delete) Manually Invoke Action on Current Clipboard=default(Alt+Ctrl+R) Mouse Emulation=default(Alt+F12) Next Taskbar Entry=none Popup Launch Menu=default(Alt+F1) Previous Taskbar Entry=none Reboot without Confirmation=none Run Command=default(Alt+F2) Setup Window Shortcut=none Show Klipper Popup-Menu=default(Alt+Ctrl+V) Show Taskmanager=default(Ctrl+Escape) Show Window List=default(Alt+F5) Switch One Desktop Down=none Switch One Desktop Up=none Switch One Desktop to the Left=none Switch One Desktop to the Right=none Switch User=default(Alt+Ctrl+Insert) Switch to Desktop 1=default(Ctrl+F1) Switch to Desktop 10=default(Ctrl+F10) Switch to Desktop 11=default(Ctrl+F11) Switch to Desktop 12=default(Ctrl+F12) Switch to Desktop 13=default(Ctrl+Shift+F1) Switch to Desktop 14=default(Ctrl+Shift+F2) Switch to Desktop 15=default(Ctrl+Shift+F3) Switch to Desktop 16=default(Ctrl+Shift+F4) Switch to Desktop 17=default(Ctrl+Shift+F5) Switch to Desktop 18=default(Ctrl+Shift+F6) Switch to Desktop 19=default(Ctrl+Shift+F7) Switch to Desktop 2=default(Ctrl+F2) Switch to Desktop 20=default(Ctrl+Shift+F8) Switch to Desktop 3=default(Ctrl+F3) Switch to Desktop 4=default(Ctrl+F4) Switch to Desktop 5=default(Ctrl+F5) Switch to Desktop 6=default(Ctrl+F6) Switch to Desktop 7=default(Ctrl+F7) Switch to Desktop 8=default(Ctrl+F8) Switch to Desktop 9=default(Ctrl+F9) Switch to Next Desktop=none Switch to Next Keyboard Layout=default(Alt+Ctrl+K) Switch to Previous Desktop=none Toggle Showing Desktop=default(Alt+Ctrl+D) Toggle Window Raise/Lower=none Walk Through Desktop List=Ctrl+Tab Walk Through Desktop List (Reverse)=Ctrl+Shift+Tab Walk Through Desktops=none Walk Through Desktops (Reverse)=none Walk Through Windows=default(Alt+Tab) Walk Through Windows (Reverse)=default(Alt+Shift+Tab) Window Above Other Windows=none Window Below Other Windows=none Window Close=default(Alt+F4) Window Fullscreen=none Window Grow Horizontal=none Window Grow Vertical=none Window Lower=none Window Maximize=none Window Maximize Horizontal=none Window Maximize Vertical=none Window Minimize=none Window Move=none Window No Border=none Window On All Desktops=none Window One Desktop Down=none Window One Desktop Up=none Window One Desktop to the Left=none Window One Desktop to the Right=none Window Operations Menu=default(Alt+F3) Window Pack Down=none Window Pack Left=none Window Pack Right=none Window Pack Up=none Window Raise=none Window Resize=none Window Screenshot=default(Alt+Print) Window Shade=none Window Shrink Horizontal=none Window Shrink Vertical=none Window to Desktop 1=none Window to Desktop 10=none Window to Desktop 11=none Window to Desktop 12=none Window to Desktop 13=none Window to Desktop 14=none Window to Desktop 15=none Window to Desktop 16=none Window to Desktop 17=none Window to Desktop 18=none Window to Desktop 19=none Window to Desktop 2=none Window to Desktop 20=none Window to Desktop 3=none Window to Desktop 4=none Window to Desktop 5=none Window to Desktop 6=none Window to Desktop 7=none Window to Desktop 8=none Window to Desktop 9=none Window to Next Desktop=none Window to Previous Desktop=none [Icons] Theme=crystalsvg [KCardDialog Settings] GlobalCardDir=/usr/kde/3.3/share/apps/carddecks/cards-spaced/ GlobalRandomCardDir=false [KDE] AutoSelectDelay=-1 ChangeCursor=true DoubleClickInterval=400 EffectAnimateCombo=true EffectAnimateMenu=false EffectAnimateTooltip=false EffectFadeMenu=true EffectFadeTooltip=true EffectNoTooltip=false EffectsEnabled=true InsertTearOffHandle=0 OpaqueResize=true ShowIconsOnPushButtons=true SingleClick=false StartDragDist=4 StartDragTime=500 VisualActivate=1 WheelScrollLines=3 colorScheme= contrast=0 macStyle=false [KFileDialog Settings] Automatically select filename extension=true Height 600=372 Height 768=443 LocationCombo Completionmode=5 PathCombo Completionmode=5 Recent URLs=$HOME/tmp/,$HOME/Documents/,$HOME/.superkaramba/,$HOME/tmp/.vari/first/,$HOME/.kde/share/apps/kabc/,/tmp/,$HOME/.kde/share/apps/korganizer/ Separate Directories=false Set speedbar defaults=false Show Bookmarks=false Show Preview=true Show Speedbar=true Show hidden files=false Sort by=Name Sort case insensitively=true Sort directories first=true Sort reversed=false View Style=Simple Width 1024=1017 Width 800=793 [KFileDialog Speedbar (Global)] Description_0=Desktop Description_1=Cartella home Description_2=Dischetto Description_3=Temporanei Description_4=Windows IconGroup_0=4 IconGroup_1=4 IconGroup_2=4 IconGroup_3=4 IconGroup_4=4 Icon_0= Icon_1=folder_home Icon_2=3floppy_mount Icon_3=file_temporary Icon_4=folder Number of Entries=5 URL_0=file://$HOME/Desktop/ URL_1=file://$HOME URL_2=floppy:/ URL_3=file://$HOME/tmp/ URL_4=file:///mnt/win_c/ [KKeyDialog Settings] Dialog Size=512,307 [KSpell] KSpell_Client=0 KSpell_DictFromList=1 KSpell_Dictionary=italian KSpell_Encoding=11 KSpell_NoRootAffix=0 KSpell_RunTogether=0 [Locale] Country=C Language=it:en_US PositiveSign= [MainToolbarIcons] ActiveColor=0,0,102 ActiveColor2=255,255,102 ActiveEffect=none ActiveSemiTransparent=false ActiveValue=1 Animated=false DefaultColor=0,0,0 DefaultColor2=255,255,255 DefaultEffect=none DefaultSemiTransparent=false DefaultValue=1 DisabledColor=128,128,128 DisabledColor2=204,204,204 DisabledEffect=desaturate DisabledSemiTransparent=false DisabledValue=0.81 DoublePixels=false Size=22 [PanelIcons] ActiveColor=0,0,102 ActiveColor2=255,255,102 ActiveEffect=togamma ActiveSemiTransparent=false ActiveValue=1 Animated=false DefaultColor=0,0,0 DefaultColor2=255,255,255 DefaultEffect=none DefaultSemiTransparent=false DefaultValue=1 DisabledColor=128,128,128 DisabledColor2=204,204,204 DisabledEffect=none DisabledSemiTransparent=false DisabledValue=1 DoublePixels=false Size=32 [Paths] Trash=$HOME/Desktop/Trash/ [SmallIcons] ActiveColor=0,0,102 ActiveColor2=255,255,102 ActiveEffect=none ActiveSemiTransparent=false ActiveValue=1 Animated=false DefaultColor=0,0,0 DefaultColor2=255,255,255 DefaultEffect=none DefaultSemiTransparent=false DefaultValue=1 DisabledColor=128,128,128 DisabledColor2=204,204,204 DisabledEffect=none DisabledSemiTransparent=false DisabledValue=1 DoublePixels=false Size=16 [Toolbar style] Highlighting=false IconText=IconOnly TransparentMoving=true [ToolbarIcons] ActiveColor=0,0,102 ActiveColor2=255,255,102 ActiveEffect=none ActiveSemiTransparent=false ActiveValue=1 Animated=false DefaultColor=0,0,0 DefaultColor2=255,255,255 DefaultEffect=none DefaultSemiTransparent=false DefaultValue=1 DisabledColor=128,128,128 DisabledColor2=204,204,204 DisabledEffect=none DisabledSemiTransparent=false DisabledValue=1 DoublePixels=false Size=22 [WM] activeBackground=61,170,97 activeBlend=92,203,129 activeFont=Bitstream Vera Sans,12,-1,5,75,0,0,0,0,0 activeForeground=255,255,255 activeTitleBtnBg=127,158,200 frame=122,122,255 handle=122,122,255 inactiveBackground=100,141,104 inactiveBlend=127,154,150 inactiveForeground=221,221,221 inactiveFrame=225,225,225 inactiveHandle=225,225,225 inactiveTitleBtnBg=167,181,199 From joe1962 at ...626... Wed Aug 2 17:35:29 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Wed, 2 Aug 2006 11:35:29 -0400 Subject: [Gambas-user] /usr/include/asm/byteorder.h syntax error building 1.9.36 In-Reply-To: <6c208f950608020526y4fbcf444qe5d09282e135c301@...627...> References: <6c208f950608020526y4fbcf444qe5d09282e135c301@...627...> Message-ID: <6c208f950608020835q27213cf3g4d47332808dc18dc@...627...> On 8/2/06, Jose J. Rodriguez wrote: > I get syntax errors in /usr/include/asm/byteorder.h during make while > building 1.9.36. Kernel is 2.6.17.7, gcc is 3.3.4, on Vector Linux > 5.1.2 SOHO. > Nevermind.... I think I've traced the problem to what seems to be an accidental "upgrade" of the glibc kernel headers in /usr/include. I'll post for sure once I manage to fix those. Sorry about that. Regards, Joe1962 From James.Hatridge at ...17... Wed Aug 2 13:45:05 2006 From: James.Hatridge at ...17... (James Hatridge) Date: Wed, 2 Aug 2006 13:45:05 +0200 Subject: [Gambas-user] Request to add... Message-ID: <200608021345.05249.James.Hatridge@...17...> Hi all, First of all I have so far really liked gambas. I have found one thing that I would like to have added to the IDE -- styles. When I make a textbox or textlabel I would love to be able to just tell gambas to use style X. Thanks, JIM -- Jim Hatridge Linux User #88484 ------------------------------------------------------ WartHog Bulletin Info about new German Stamps http://www.fuzzybunnymilitia.org/~hatridge/bulletin/index.php Viel Feind -- Viel Ehr' Anti-US Propaganda stamp collection http://www.fuzzybunnymilitia.org/~hatridge/collection/index.php From Karl.Reinl at ...9... Wed Aug 2 19:45:11 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 02 Aug 2006 19:45:11 +0200 Subject: [Gambas-user] Database Administrator In-Reply-To: <44CFE886.3090005@...981...> References: <44CE3B9F.2010701@...981...> <1154376361.5312.12.camel@...1496...> <200607312221.42434.gambas@...1...> <1154377990.8885.5.camel@...1496...> <44CED81A.8040001@...981...> <1154459434.5195.26.camel@...1496...> <44CFE886.3090005@...981...> Message-ID: <1154540712.5335.2.camel@...1496...> Am Dienstag, den 01.08.2006, 19:49 -0400 schrieb sbungay: > I understand the question "Why Database Administrator" but I don't > understand the context. If I at one time said "Database Administrator" > then I made an error because I have always meant "Database Manager". > Database Administrator was/is the subject of these mails. OK. I understand just a mistake. Thanks Charlie > Steve. > > Charlie Reinl wrote: > > Am Dienstag, den 01.08.2006, 00:27 -0400 schrieb sbungay: > > > >>Hi Charlie! > >> I'll end your confusion for you. It is not my code that is the > >>problem, it is the gambas database manager. My program (some of which > >>can be seen in the background of the screenshor) is working fine. I use > >>the database manager to test new SQL, and now it no longer works (which > >>is the reason for my email). > >> Hope this helps! > >> > >>Steve. > >> > >>P.S. Your English is much better than my German. :) > > > > :) are you sure > > > > Why Database Administrator ??? > > > >>Charlie Reinl wrote: > >> > >>>Am Montag, den 31.07.2006, 22:21 +0200 schrieb Benoit Minisini: > >>>Salut Beno?t, > >>> > >>>this time I don't understand you! > >>>'No, it is the gambas database manager' means it is the 'gambas database > >>>manager' > >>>'unless Steve has made a program with ...' means that it is NOT the > >>>'gambas database manager' am I right ? > >>> > >>>So I keep on to say : do while true/loop freece a project > >>> > >>>Amicalment > >>>Charlie > >>> > >>> > >>>>exactly the same title > >>>>On Monday 31 July 2006 22:06, Charlie Reinl wrote: > >>>> > >>>> > >>>>>Am Montag, den 31.07.2006, 13:19 -0400 schrieb sbungay: > >>>>>Salut, > >>>>> > >>>>>first I thought it is the GDM (gambas databasemanager) > >>>>>but it is a tool you'v writen. > >>>>> > >>>> > >>>>No, it is the gambas database manager, unless Steve has made a program with > >>>>exactly the same title :-) > >>>> > >>> > >>> > >>> > >>>------------------------------------------------------------------------- > >>>Take Surveys. Earn Cash. Influence the Future of IT > >>>Join SourceForge.net's Techsay panel and you'll get the chance to share your > >>>opinions on IT & business topics through brief surveys -- and earn cash > >>>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >>>_______________________________________________ > >>>Gambas-user mailing list > >>>Gambas-user at lists.sourceforge.net > >>>https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >>------------------------------------------------------------------------- > >>Take Surveys. Earn Cash. Influence the Future of IT > >>Join SourceForge.net's Techsay panel and you'll get the chance to share your > >>opinions on IT & business topics through brief surveys -- and earn cash > >>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >>_______________________________________________ > >>Gambas-user mailing list > >>Gambas-user at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys -- and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Aug 2 20:05:17 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 Aug 2006 20:05:17 +0200 Subject: [Gambas-user] Request to add... In-Reply-To: <200608021345.05249.James.Hatridge@...17...> References: <200608021345.05249.James.Hatridge@...17...> Message-ID: <200608022005.17130.gambas@...1...> On Wednesday 02 August 2006 13:45, James Hatridge wrote: > Hi all, > > First of all I have so far really liked gambas. I have found one thing that > I would like to have added to the IDE -- styles. When I make a textbox or > textlabel I would love to be able to just tell gambas to use style X. > > Thanks, > > JIM The widget style is chosen by the user, not by the programmer. Why do you want to change the style of one widget (if it possible) ? Regards, -- Benoit Minisini From James.Hatridge at ...17... Wed Aug 2 20:58:20 2006 From: James.Hatridge at ...17... (James Hatridge) Date: Wed, 2 Aug 2006 20:58:20 +0200 Subject: [Gambas-user] Request to add... In-Reply-To: <200608022005.17130.gambas@...1...> References: <200608021345.05249.James.Hatridge@...17...> <200608022005.17130.gambas@...1...> Message-ID: <200608022058.20655.James.Hatridge@...17...> Hi Benoit et al.. On Wednesday 02 August 2006 20:05, Benoit Minisini wrote: > On Wednesday 02 August 2006 13:45, James Hatridge wrote: > > Hi all, > > > > First of all I have so far really liked gambas. I have found one thing > > that I would like to have added to the IDE -- styles. When I make a > > textbox or textlabel I would love to be able to just tell gambas to use > > style X. > > > > Thanks, > > > > JIM > > The widget style is chosen by the user, not by the programmer. Why do you > want to change the style of one widget (if it possible) ? You missunderstand me. As the programmer, when I set up a new textbox (for example) and click F4 the properties box is opened. I prefer font X, size, etc. I have to change this every time I make a new box. I would like to have a way to set a style, so that I click at one place and always gets the same type box. This would be helpful. Thanks, JIM -- Jim Hatridge Linux User #88484 ------------------------------------------------------ WartHog Bulletin Info about new German Stamps http://www.fuzzybunnymilitia.org/~hatridge/bulletin/index.php Viel Feind -- Viel Ehr' Anti-US Propaganda stamp collection http://www.fuzzybunnymilitia.org/~hatridge/collection/index.php From joe1962 at ...626... Wed Aug 2 21:21:12 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Wed, 2 Aug 2006 15:21:12 -0400 Subject: [Gambas-user] /usr/include/asm/byteorder.h syntax error building 1.9.36 In-Reply-To: <6c208f950608020835q27213cf3g4d47332808dc18dc@...627...> References: <6c208f950608020526y4fbcf444qe5d09282e135c301@...627...> <6c208f950608020835q27213cf3g4d47332808dc18dc@...627...> Message-ID: <6c208f950608021221h34936f0arc88691bd1146c3a6@...627...> On 8/2/06, Jose J. Rodriguez wrote: > On 8/2/06, Jose J. Rodriguez wrote: > > I get syntax errors in /usr/include/asm/byteorder.h during make while > > building 1.9.36. Kernel is 2.6.17.7, gcc is 3.3.4, on Vector Linux > > 5.1.2 SOHO. > > > > Nevermind.... I think I've traced the problem to what seems to be an > accidental "upgrade" of the glibc kernel headers in /usr/include. I'll > post for sure once I manage to fix those. Sorry about that. > After re-installing the distro's original kernel headers package, all went well. I am now enjoying my crisp new Gambas2-1.9.36! Sorry for the false alarm.... Regards, Joe1962 From ronstk at ...239... Wed Aug 2 21:34:21 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 2 Aug 2006 21:34:21 +0200 Subject: [Gambas-user] Request to add... In-Reply-To: <200608022058.20655.James.Hatridge@...17...> References: <200608021345.05249.James.Hatridge@...17...> <200608022005.17130.gambas@...1...> <200608022058.20655.James.Hatridge@...17...> Message-ID: <200608022134.22807.ronstk@...239...> On Wednesday 02 August 2006 20:58, James Hatridge wrote: > Hi Benoit et al.. > On Wednesday 02 August 2006 20:05, Benoit Minisini wrote: > > On Wednesday 02 August 2006 13:45, James Hatridge wrote: > > > Hi all, > > > > > > First of all I have so far really liked gambas. I have found one thing > > > that I would like to have added to the IDE -- styles. When I make a > > > textbox or textlabel I would love to be able to just tell gambas to use > > > style X. > > > > > > Thanks, > > > > > > JIM > > > > The widget style is chosen by the user, not by the programmer. Why do you > > want to change the style of one widget (if it possible) ? > > You missunderstand me. As the programmer, when I set up a new textbox (for > example) and click F4 the properties box is opened. I prefer font X, size, > etc. I have to change this every time I make a new box. I would like to have > a way to set a style, so that I click at one place and always gets the same > type box. This would be helpful. > > Thanks, > > > JIM I know what you mean I't is like in MS-Access. There when you design a form you can 'preset' the size, color and more This is done by open the propertie sheet not on the control at the form but at the toolbox. Change there size/color/font/align and more. Would indeed nice to have. Also you can add/remove a label for textbox and style them. Adding a textbox adds also a label beside of it automagically. The label is a child of the TextBox control txtMyTextboxMemberID.Controls(0).Caption="Member ID" I like btnMyyz# instead of Button#, could also be done wheni'm right to remember as default name for the control. Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From joe1962 at ...626... Wed Aug 2 22:01:42 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Wed, 2 Aug 2006 16:01:42 -0400 Subject: [Gambas-user] Gambas projects and CVS Message-ID: <6c208f950608021301l3627ff35td91c56ba3ecd3fc7@...627...> I am starting to use cvs repositories for my 2 current Gambas projects. I find it is workable as long as one is careful not to add the .gambas directory to the versioning system. The contents of this directory change every time the project is simply opened and closed, making it pretty bothersome if you forget. There is one wish I would like to put forward however: could the CVS folder created by cvs (who else, lol) not be included as data in the Gambas project? The hidden files are already no problem, so this would be another step towards cvs-friendly behaviour in Gambas. The next step would be if those files in .gambas only changed when something is really altered in the project and saved, but I won't nitpick.... Regards, Joe1962 From gambas at ...1... Wed Aug 2 22:38:18 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 Aug 2006 22:38:18 +0200 Subject: [Gambas-user] Request to add... In-Reply-To: <200608022134.22807.ronstk@...239...> References: <200608021345.05249.James.Hatridge@...17...> <200608022058.20655.James.Hatridge@...17...> <200608022134.22807.ronstk@...239...> Message-ID: <200608022238.18563.gambas@...1...> On Wednesday 02 August 2006 21:34, Ron Onstenk wrote: > On Wednesday 02 August 2006 20:58, James Hatridge wrote: > > Hi Benoit et al.. > > > > On Wednesday 02 August 2006 20:05, Benoit Minisini wrote: > > > On Wednesday 02 August 2006 13:45, James Hatridge wrote: > > > > Hi all, > > > > > > > > First of all I have so far really liked gambas. I have found one > > > > thing that I would like to have added to the IDE -- styles. When I > > > > make a textbox or textlabel I would love to be able to just tell > > > > gambas to use style X. > > > > > > > > Thanks, > > > > > > > > JIM > > > > > > The widget style is chosen by the user, not by the programmer. Why do > > > you want to change the style of one widget (if it possible) ? > > > > You missunderstand me. As the programmer, when I set up a new textbox > > (for example) and click F4 the properties box is opened. I prefer font X, > > size, etc. I have to change this every time I make a new box. I would > > like to have a way to set a style, so that I click at one place and > > always gets the same type box. This would be helpful. > > > > Thanks, > > > > > > JIM > > I know what you mean > > I't is like in MS-Access. > There when you design a form you can 'preset' the size, color and more > This is done by open the propertie sheet not on the control at the form > but at the toolbox. > Change there size/color/font/align and more. > Would indeed nice to have. > > Also you can add/remove a label for textbox and style them. > Adding a textbox adds also a label beside of it automagically. > > The label is a child of the TextBox control > txtMyTextboxMemberID.Controls(0).Caption="Member ID" > > I like btnMyyz# instead of Button#, could also be done wheni'm right to > remember as default name for the control. > > > Ron You can make your "LabelTextBox" control easily in Gambas if you want, by using the UserControl class. -- Benoit Minisini From gambas at ...1... Wed Aug 2 22:43:37 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 Aug 2006 22:43:37 +0200 Subject: [Gambas-user] Gambas projects and CVS In-Reply-To: <6c208f950608021301l3627ff35td91c56ba3ecd3fc7@...627...> References: <6c208f950608021301l3627ff35td91c56ba3ecd3fc7@...627...> Message-ID: <200608022243.37507.gambas@...1...> On Wednesday 02 August 2006 22:01, Jose J. Rodriguez wrote: > I am starting to use cvs repositories for my 2 current Gambas > projects. I find it is workable as long as one is careful not to add > the .gambas directory to the versioning system. The contents of this > directory change every time the project is simply opened and closed, > making it pretty bothersome if you forget. > > There is one wish I would like to put forward however: could the CVS > folder created by cvs (who else, lol) not be included as data in the > Gambas project? The hidden files are already no problem, so this would > be another step towards cvs-friendly behaviour in Gambas. The next > step would be if those files in .gambas only changed when something is > really altered in the project and saved, but I won't nitpick.... > > Regards, > Joe1962 > OK, I will hide "CVS" folder. The files in .gambas folder are the bytecode files. They effectively change only if some source file is altered in the project and was recompiled. It is remade completely if you make an executable. Regards, -- Benoit Minisini From joe1962 at ...626... Wed Aug 2 22:47:29 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Wed, 2 Aug 2006 16:47:29 -0400 Subject: [Gambas-user] Gambas projects and CVS In-Reply-To: <200608022243.37507.gambas@...1...> References: <6c208f950608021301l3627ff35td91c56ba3ecd3fc7@...627...> <200608022243.37507.gambas@...1...> Message-ID: <6c208f950608021347q11810756pa78cf25f243e012f@...627...> On 8/2/06, Benoit Minisini wrote: > On Wednesday 02 August 2006 22:01, Jose J. Rodriguez wrote: > > I am starting to use cvs repositories for my 2 current Gambas > > projects. I find it is workable as long as one is careful not to add > > the .gambas directory to the versioning system. The contents of this > > directory change every time the project is simply opened and closed, > > making it pretty bothersome if you forget. > > > > There is one wish I would like to put forward however: could the CVS > > folder created by cvs (who else, lol) not be included as data in the > > Gambas project? The hidden files are already no problem, so this would > > be another step towards cvs-friendly behaviour in Gambas. The next > > step would be if those files in .gambas only changed when something is > > really altered in the project and saved, but I won't nitpick.... > > > > Regards, > > Joe1962 > > > > OK, I will hide "CVS" folder. > Thanks! > > The files in .gambas folder are the bytecode files. They effectively change > only if some source file is altered in the project and was recompiled. It is > remade completely if you make an executable. > Hmm... I could swear they change everytime I open/close the project. I'll check again. Maybe I press the "Compile all" button too often... Regards, Joe1962 From leonardo at ...1237... Wed Aug 2 22:52:19 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Wed, 02 Aug 2006 22:52:19 +0200 Subject: [Gambas-user] Release of gambas 1.9.36 In-Reply-To: <200608021711.56234.gambas@...1...> References: <200608012241.12513.gambas@...1...> <200608021616.40372.gambas@...1...> <200608021649.04829.picander78@...325...> <200608021711.56234.gambas@...1...> Message-ID: <44D11083.2080405@...1237...> Benoit Minisini ha scritto: > On Wednesday 02 August 2006 16:49, Marco Gusy wrote: >> Alle 16:16, mercoled? 2 agosto 2006, Benoit Minisini ha scritto: >>> The button is there, at the right of tabs, but the icon is not visible. >>> >>> I think this bug comes from a not present 'kde-config' program. If you or >>> anybody else can confirm... >>> >>> Regards, >> mmm... i have kde-config in path, what kde-config command do you need to >> debug me? >> > > $ kde-config --path icon > > And tell me what theme directories are installed inside the path returned by > the previous command. And if you could send me the contents of the file > ~/.kde/share/config/kdeglobals, it would be perfect :-) > > Regards, > I've noticed that I've not the icon too. This is the output of the command: /home/leo/.kde/share/icons/:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/ -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From ronstk at ...239... Wed Aug 2 23:49:00 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 2 Aug 2006 23:49:00 +0200 Subject: [Gambas-user] Request to add... In-Reply-To: <200608022238.18563.gambas@...1...> References: <200608021345.05249.James.Hatridge@...17...> <200608022134.22807.ronstk@...239...> <200608022238.18563.gambas@...1...> Message-ID: <200608022349.00481.ronstk@...239...> On Wednesday 02 August 2006 22:38, Benoit Minisini wrote: > > Also you can add/remove a label for textbox and style them. > > Adding a textbox adds also a label beside of it automagically. > > > > The label is a child of the TextBox control > > txtMyTextboxMemberID.Controls(0).Caption="Member ID" > > > > I like btnMyyz# instead of Button#, could also be done wheni'm right to > > remember as default name for the control. > > > > > > Ron > > You can make your "LabelTextBox" control easily in Gambas if you want, by > using the UserControl class. > > -- > Benoit Minisini > Yea I know. But this one is different. Standard when you use the textbox from the toolbox the label is placed according the properties set in the the toolbox together with the textbox on the form. If you do not need it on some place you select and press 'Del' That could be made in a usercontrol. But what James Hatridge means is that all the controls can be styled by changing the properties in the toolbox. The Textbox with Label, I talked about, is only another extra feature in MS-Access form editor. (Or does MS-xxx hurt always :) ) The basic thing is that we can set the properties after put on the form, Styling must then be done after the placement each time. If the user (programmer) is able to set the default properties for a control in the toolbox then everytime put on the form will have it prestyled. That cost less time to design a form. Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From gambas at ...1... Thu Aug 3 00:03:20 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 Aug 2006 00:03:20 +0200 Subject: [Gambas-user] Request to add... In-Reply-To: <200608022349.00481.ronstk@...239...> References: <200608021345.05249.James.Hatridge@...17...> <200608022238.18563.gambas@...1...> <200608022349.00481.ronstk@...239...> Message-ID: <200608030003.20841.gambas@...1...> On Wednesday 02 August 2006 23:49, Ron Onstenk wrote: > On Wednesday 02 August 2006 22:38, Benoit Minisini wrote: > > > Also you can add/remove a label for textbox and style them. > > > Adding a textbox adds also a label beside of it automagically. > > > > > > The label is a child of the TextBox control > > > txtMyTextboxMemberID.Controls(0).Caption="Member ID" > > > > > > I like btnMyyz# instead of Button#, could also be done wheni'm right to > > > remember as default name for the control. > > > > > > > > > Ron > > > > You can make your "LabelTextBox" control easily in Gambas if you want, by > > using the UserControl class. > > > > -- > > Benoit Minisini > > Yea I know. > But this one is different. > Standard when you use the textbox from the toolbox the label is > placed according the properties set in the the toolbox together > with the textbox on the form. > If you do not need it on some place you select and press 'Del' > > That could be made in a usercontrol. > But what James Hatridge means is that all the controls can be > styled by changing the properties in the toolbox. > > The Textbox with Label, I talked about, is only another extra > feature in MS-Access form editor. (Or does MS-xxx hurt always :) ) > > The basic thing is that we can set the properties after put on the > form, Styling must then be done after the placement each time. > If the user (programmer) is able to set the default properties > for a control in the toolbox then everytime put on the form will > have it prestyled. That cost less time to design a form. > > Ron I see... I imagine that this feature would make GUI with many different fonts and color everywhere more easy :-) Otherwise, you have cut/copy & paste, and you can set the font of all selected controls at once with the property sheet. I need a real concrete example to be convinced :-) Regards, -- Benoit Minisini From stefanopalmeri at ...152... Thu Aug 3 01:10:02 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Thu, 3 Aug 2006 01:10:02 +0200 Subject: [Gambas-user] feature request... Message-ID: <200608030110.02623.stefanopalmeri@...152...> Hi, all. Hi, Benoit. At the moment, the Menu control doesn't accept the keypress event (apart from Return and Space keys that act as mouse click aliases). For example, I may want to check or un-check a menu without performing the full action associated with the click event, if there's any. If it's not useful to extend a full keypress event to the Menu control, why not, at least, separate the Space and Return keys function in menus? I mean using the Return key as the mouse click alias (just like now) and freeing the Space key for any other action the user desires. I'm talking about a 'space-press' event or something like this... Gambas2 1.9.34 Thanks for reading. Regards, Stefano Palmeri From ronstk at ...239... Thu Aug 3 01:29:13 2006 From: ronstk at ...239... (Ron Onstenk) Date: Thu, 3 Aug 2006 01:29:13 +0200 Subject: [Gambas-user] Request to add... In-Reply-To: <200608030003.20841.gambas@...1...> References: <200608021345.05249.James.Hatridge@...17...> <200608022349.00481.ronstk@...239...> <200608030003.20841.gambas@...1...> Message-ID: <200608030129.13815.ronstk@...239...> On Thursday 03 August 2006 00:03, Benoit Minisini wrote: > I see... I imagine that this feature would make GUI with many different fonts > and color everywhere more easy :-) For each textbox red text and blue background, border in yellow, font bold 10 pix. For each listbox blue text and yellow back, border in red, font italic 23 pix. and only edit once, drop many. > > Otherwise, you have cut/copy & paste, and you can set the font of all selected > controls at once with the property sheet. True and that is not bad. But the user defined default can be saved in the .project file. When the programmer want to add later a extra textbox it is prestyled. The strong point is this user defaults can be stored for long term. Look i.e. to colour settings special carefull selected. (for this it should be not only a in the .project but also the gambas settings) > > I need a real concrete example to be convinced :-) Hummm, you have it already. You did define the default values for the control properties. Try it with other back/fore colour in the IDE/component C source files. The change is this defaults are reprogrammable in runtime. The only other way I know is going to someone with MS Access and press right mouse button after selecting a Control in the toolbox. Toolbox prog-array user form ---------------- ---------- --------------- default values user values into the *.form textbox.forecolor {black} -> I set to {red} -> I put on form and it is {red} Toolbox: Control.property with default values on start gambas (or the way as current done) In fact no change need prog-array: the properties changed by user in toolbox As key/value pair, key is "control/property", value=usersetvalue This way by delete/empty the user setting in prog-array and all is standard again. If the control is put on the form use the value from prog-array if the key (control.property) exists else the current standard. The property sheet looksup in array the same way and shows it as pseudo default. Easy to save for next project. A kind of house style to get all forms or projects the same look User form: For the *.form file If the user has not changed the Toolbox defaults on the form then no need to set it in the *.form file (as is done now i.e. Colors). If the user has set a value then that key/value goes in the *.form file If the control property is comming out of the prog-array then it is the same handling as changing the normal toolbox default. In other words, there does not really change here anything, easy :) For putting the control on the form it lookup in prog-array for exists or get the standard defaults. OK, easy to say but I think it is not really to complex this way. > > Regards, > > -- > Benoit Minisini > Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From gambas at ...1... Thu Aug 3 01:43:01 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 Aug 2006 01:43:01 +0200 Subject: [Gambas-user] feature request... In-Reply-To: <200608030110.02623.stefanopalmeri@...152...> References: <200608030110.02623.stefanopalmeri@...152...> Message-ID: <200608030143.01643.gambas@...1...> On Thursday 03 August 2006 01:10, Stefano Palmeri wrote: > Hi, all. Hi, Benoit. > > At the moment, the Menu control doesn't accept > the keypress event (apart from Return and Space keys > that act as mouse click aliases). > > For example, I may want to check or un-check > a menu without performing the full action > associated with the click event, if there's any. > > If it's not useful to extend a full keypress event > to the Menu control, why not, at least, separate the > Space and Return keys function in menus? > > I mean using the Return key as the mouse click alias (just > like now) and freeing the Space key for any other action > the user desires. > > I'm talking about a 'space-press' event or something like this... > > > Gambas2 1.9.34 > > Thanks for reading. > > Regards, > > Stefano Palmeri > > I don't think I can do anything in a simple way: menu controls are entirely controlled by the Qt library. Actually a Menu is not a Control in Gambas, and in the Qt library a menu entry is not a widget at all. It does not have its own window, and don't catch event as other widgets do. What you want is really having a true widget inside menus. Maybe it is possible by reprogramming a menu directly in Gambas? Interesting challenge :-) Regards, -- Benoit Minisini From stefanopalmeri at ...152... Thu Aug 3 01:49:05 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Thu, 3 Aug 2006 01:49:05 +0200 Subject: [Gambas-user] feature request... In-Reply-To: <200608030143.01643.gambas@...1...> References: <200608030110.02623.stefanopalmeri@...152...> <200608030143.01643.gambas@...1...> Message-ID: <200608030149.05947.stefanopalmeri@...152...> Alle 01:43, gioved? 3 agosto 2006, Benoit Minisini ha scritto: > I don't think I can do anything in a simple way: menu controls are entirely > controlled by the Qt library. Actually a Menu is not a Control in Gambas, and > in the Qt library a menu entry is not a widget at all. It does not have its > own window, and don't catch event as other widgets do. > > What you want is really having a true widget inside menus. Maybe it is > possible by reprogramming a menu directly in Gambas? Interesting > challenge :-) > > Regards, > > -- > Benoit Minisini Thanks for answer. I read this night about your stolen flute... Really sorry. Bye, Stefano Palmeri From gambas at ...1... Thu Aug 3 03:43:17 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 Aug 2006 03:43:17 +0200 Subject: [Gambas-user] Preview of Stock effect Message-ID: <200608030343.17550.gambas@...1...> Here is a screenshot of Gambas now when I run it under Gnome. You can see the new icon selector too, with a Stock tab that allows you to take an icon from the stock instead of having to store it in your project. This magic works because I have gnome icons installed in '/usr/share/icons/hicolor/xxx/stock' on my Mandriva. I'd like to know where these icons are stored on other distributions, and if there is a standard way to detect them, like the 'kde-config' application for KDE. Regards, -- Benoit Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: Capture.jpeg Type: image/jpeg Size: 199845 bytes Desc: not available URL: From ronstk at ...239... Thu Aug 3 03:58:38 2006 From: ronstk at ...239... (Ron Onstenk) Date: Thu, 3 Aug 2006 03:58:38 +0200 Subject: [Gambas-user] Preview of Stock effect In-Reply-To: <200608030343.17550.gambas@...1...> References: <200608030343.17550.gambas@...1...> Message-ID: <200608030358.38155.ronstk@...239...> On Thursday 03 August 2006 03:43, Benoit Minisini wrote: > Here is a screenshot of Gambas now when I run it under Gnome. > > You can see the new icon selector too, with a Stock tab that allows you to > take an icon from the stock instead of having to store it in your project. > > This magic works because I have gnome icons installed in > '/usr/share/icons/hicolor/xxx/stock' on my Mandriva. > > I'd like to know where these icons are stored on other distributions, and if > there is a standard way to detect them, like the 'kde-config' application for > KDE. > > Regards, > Great. And that on the late evening, or early morning? SuSE9.2 has both KDE 3.52 & GNome ron at ...1311...:~> kde-config --path icon /home/ron/.kde/share/icons/:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/ /etc/opt/kde3/share/icons/crystalsvg /opt/kde3/share/icons/crystalsvg /opt/kde3/share/icons/default.kde /opt/kde3/share/icons/hicolor ikons kdeclassic kids locolor mono noia slick /home/ron/.kde/share/icons/crystalsvg /home/ron/.kde/share/icons/hicolor /opt/gnome/share/icons/gnome /opt/gnome/share/icons/GnomeCrystal /opt/gnome/share/icons/hicolor /usr/share/icons/gnome/16x16 /usr/share/icons/hicolor /usr/share/icons/locolor /usr/share/icons/xsidplay in these dirs are 'icon-theme.cache' files icon eating, Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From rporticio at ...43... Thu Aug 3 07:08:44 2006 From: rporticio at ...43... (Ramon Orticio) Date: Wed, 2 Aug 2006 22:08:44 -0700 (PDT) Subject: [Gambas-user] datareportexample program has stopped Message-ID: <20060803050844.81051.qmail@...1021...> dear friends, thanks for your suggestions. i upgraded to fedora core 4 which is the latest i have on hand. yest i still have to upgrade kde to to the suggested kde-3.5.4 because the problem is not yet resolved in the datareportexample using fedora core 4 wherein the installed gambas 1.0.16 is also running. what would possibly be the best way of upgrading kde that will include all the required peripheral files and libraries. thanks for any help. ramon --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at ...626... Thu Aug 3 13:46:01 2006 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 3 Aug 2006 13:46:01 +0200 Subject: [Gambas-user] Request to add... In-Reply-To: <200608030129.13815.ronstk@...239...> References: <200608021345.05249.James.Hatridge@...17...> <200608022349.00481.ronstk@...239...> <200608030003.20841.gambas@...1...> <200608030129.13815.ronstk@...239...> Message-ID: <6324a42a0608030446u28165a4dr97459004400b02de@...627...> mama... so many things for so less... i ned first to say that i don't like the too many colors programs... if i want to change i modify one or too control and all after is made with the Desktop style ! Nevertheless i think maybe we can use groups for making style links... 2006/8/3, Ron Onstenk : > > On Thursday 03 August 2006 00:03, Benoit Minisini wrote: > > I see... I imagine that this feature would make GUI with many different > fonts > > and color everywhere more easy :-) > > For each textbox red text and blue background, border in yellow, font bold > 10 pix. > For each listbox blue text and yellow back, border in red, font italic 23 > pix. > and only edit once, drop many. > > > > > Otherwise, you have cut/copy & paste, and you can set the font of all > selected > > controls at once with the property sheet. > > True and that is not bad. > But the user defined default can be saved in the .project file. > When the programmer want to add later a extra textbox it is prestyled. > The strong point is this user defaults can be stored for long term. > Look i.e. to colour settings special carefull selected. > (for this it should be not only a in the .project but also the gambas > settings) > > > > > I need a real concrete example to be convinced :-) > > Hummm, you have it already. > You did define the default values for the control properties. > Try it with other back/fore colour in the IDE/component C source files. > The change is this defaults are reprogrammable in runtime. > > The only other way I know is going to someone with MS Access and > press right mouse button after selecting a Control in the toolbox. > > Toolbox prog-array user form > ---------------- ---------- --------------- > default values user values into the *.form > textbox.forecolor {black} -> I set to {red} -> I put on form and it is > {red} > > Toolbox: > Control.property with default values on start gambas (or the way as > current done) > In fact no change need > > prog-array: the properties changed by user in toolbox > As key/value pair, key is "control/property", value=usersetvalue > This way by delete/empty the user setting in prog-array and all is > standard again. > If the control is put on the form use the value from prog-array if the > key (control.property) exists else the current standard. > The property sheet looksup in array the same way and shows it as pseudo > default. > Easy to save for next project. > A kind of house style to get all forms or projects the same look > > User form: > For the *.form file > If the user has not changed the Toolbox defaults on the form then no > need > to set it in the *.form file (as is done now i.e. Colors). > If the user has set a value then that key/value goes in the *.form file > > If the control property is comming out of the prog-array then it is > the same handling as changing the normal toolbox default. > In other words, there does not really change here anything, easy :) > > For putting the control on the form it lookup in prog-array for exists > or get the standard defaults. > > OK, easy to say but I think it is not really to complex this way. > > > > > > Regards, > > > > -- > > Benoit Minisini > > > > Ron > > -- > > The only bug free software from MickySoft is > still shrink-wrapped in their warehouse... > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Thu Aug 3 13:57:39 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 Aug 2006 13:57:39 +0200 Subject: [Gambas-user] Error #6 In-Reply-To: <44CFCEDE.7040909@...1237...> References: <44CE8C06.1060805@...1534...> <200608011149.30509.gambas@...1...> <44CFCEDE.7040909@...1237...> Message-ID: <200608031357.39924.gambas@...1...> On Tuesday 01 August 2006 23:59, Leonardo Miliani wrote: > Benoit Minisini ha scritto: > > On Tuesday 01 August 2006 10:09, Leonardo Miliani wrote: > >> Benoit Minisini ha scritto: > >>> On Tuesday 01 August 2006 01:02, Leonardo Miliani wrote: > >>>> I was writing a crypto program and during the testing section I got > >>>> the Error #6 and this output from the console: > >>> > >>> Can you reproduce the bug? > >> > >> Yes, every time that I run my application, it generate the same error. > >> If you want, I can send you the source code so you can examine it and > >> try to understand what happens. > > > > Of course, send me the application! > > Here is the archive. I was working on clsAES, a translation of an > application in VB that I found on net. > Launch the program, choose a file to crypt, insert some chars as > keyword, select the AES algorithm and click on PROCEDI. > The bug was generated from some code issues that I fixed up: so this > version is only for testing. I got it. The bug only appears when a error is raised when using round brackets instead of square brackets for accessing an array, as in your code. Just replace all round brackets by square brackets when you access an array, and things should go better. Note that you have bit manipulation functions in Gambas, so you can get rid of LShift, RShift, RotateLeft, RotateByteLeft... functions. Regards, -- Benoit Minisini From gambas at ...1... Thu Aug 3 14:00:22 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 Aug 2006 14:00:22 +0200 Subject: [Gambas-user] Database Administrator In-Reply-To: <44CFE8DE.7070102@...981...> References: <44CE3B9F.2010701@...981...> <200607312221.42434.gambas@...1...> <44CFE8DE.7070102@...981...> Message-ID: <200608031400.22195.gambas@...1...> On Wednesday 02 August 2006 01:50, sbungay wrote: > Greetings Benoit! > I just installed 1.9.36 and the Database Manager problem still haunts > me. Any ideas? > None. There is no code that hides the treeview in the database manager, so I have no idea why it does not show. If you give me an ssh access to your PC, with X11 forwarding, maybe I could trace the program to see what happens. Regards, -- Benoit Minisini From jscops at ...11... Thu Aug 3 14:31:59 2006 From: jscops at ...11... (Jacky) Date: Thu, 3 Aug 2006 14:31:59 +0200 Subject: [Gambas-user] Settings In-Reply-To: <200608011855.34253.ronstk@...239...> References: <200607310143.43475.ronstk@...239...> <200608011824.50428.gambas@...1...> <200608011855.34253.ronstk@...239...> Message-ID: <200608031431.59099.jscops@...11...> Bonjour Benoit A partir de la version 1.9.35 le fichier de configuration ne se cr?e pas automatiquement. Si on ne fait pas un Settings.save apres l'initialisation des variables (ex: Settings["/test"] = 1) on declenche une erreur 11. Est-ce normal ? Dans la version 1.0.16 on n'a pas cette obligation. Amicalement. Jack From gambas at ...1... Thu Aug 3 14:40:59 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 Aug 2006 14:40:59 +0200 Subject: [Gambas-user] Settings In-Reply-To: <200608031431.59099.jscops@...11...> References: <200607310143.43475.ronstk@...239...> <200608011855.34253.ronstk@...239...> <200608031431.59099.jscops@...11...> Message-ID: <200608031440.59754.gambas@...1...> On Thursday 03 August 2006 14:31, Jacky wrote: > Bonjour Benoit > > A partir de la version 1.9.35 le fichier de configuration ne se cr?e pas > automatiquement. Si on ne fait pas un Settings.save apres l'initialisation > des variables (ex: Settings["/test"] = 1) on declenche une erreur 11. > Est-ce normal ? Dans la version 1.0.16 on n'a pas cette obligation. > > Amicalement. > > Jack > Please don't post in french on this mailing-list! I think this is not "Error 11" bt "Signal 11", that means that the interpreter has crashed. Can you send me the project that crashed so that I can debug? Thanks in advance. Regards, -- Benoit Minisini From buxaman at ...626... Thu Aug 3 14:45:17 2006 From: buxaman at ...626... (Fabricio Silva) Date: Thu, 3 Aug 2006 09:45:17 -0300 Subject: [Gambas-user] DateBox Control doesn't work properly Message-ID: I'm using SuSE 10.0 and Gambas 1.9.35. I have created a new form and it has some labels, textboxs, buttons and datebox controls. Just to see the look of the window I've ran the program and inserted some values randomly. When i type the date an "Unknown symbol 'POS' in class 'TextBox' error appears and hung the application. No code is applyed to that test. Strangely If I type: 02 03 2006. It doesn't hung. -------------- next part -------------- An HTML attachment was scrubbed... URL: From stefanopalmeri at ...152... Thu Aug 3 14:48:31 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Thu, 3 Aug 2006 14:48:31 +0200 Subject: [Gambas-user] Release of gambas 1.9.36 In-Reply-To: <200608021616.40372.gambas@...1...> References: <200608012241.12513.gambas@...1...> <200608021551.11425.picander78@...325...> <200608021616.40372.gambas@...1...> Message-ID: <200608031448.31759.stefanopalmeri@...152...> Alle 16:16, mercoled? 2 agosto 2006, Benoit Minisini ha scritto: > On Wednesday 02 August 2006 15:51, Marco Gusy wrote: > > First of all great compliments for the new Ide, Gambas now has the Gui it > > deserve. Thanks Benoit. > > I have a dumb question... how do I close a window in the new IDE (1.9.36)? > > I can't see a command to close windows (except "Close all windows") > > > > Thanks > > > > Marco > > > > The button is there, at the right of tabs, but the icon is not visible. > > I think this bug comes from a not present 'kde-config' program. If you or > anybody else can confirm... > > Regards, > > -- > Benoit Minisini Hi, Benoit. I have the same problem with 1.9.36: the icon is not visible. stefano at ...1536...:stefano$ kde-config --path icon /home/stefano/.kde/share/icons/:/opt/kde/share/icons/ I've attached my ~/.kde/share/config/kdeglobals Then, I noticed that the icons of "Find next" "Find previous" in the new Search & Replace panel are inverted (in the common use). And last, the word GAMBAS is not shown correctly in the welcome message (see jpg). Regards, Stefano Palmeri -------------- next part -------------- [$Version] update_info=kwin.upd:kde3.2Xinerama,kaccel.upd:kde3.1/r3,klippershortcuts.upd:04112002,kded.upd:kde3.0,socks.upd:kde3.0/r1,kaccel.upd:kde3.3/r1 [DesktopIcons] ActiveColor=169,156,255 ActiveColor2=0,0,0 ActiveEffect=togamma ActiveSemiTransparent=false ActiveValue=0.7 Animated=true DefaultColor=144,128,248 DefaultColor2=0,0,0 DefaultEffect=none DefaultSemiTransparent=false DefaultValue=1 DisabledColor=34,202,0 DisabledColor2=0,0,0 DisabledEffect=togray DisabledSemiTransparent=true DisabledValue=1 DoublePixels=false GridXSpacing=50 Size=32 [DirSelect Dialog] DirSelectDialog Size=787,450 History Items=file://$HOME/Desktop,file://$HOME,file://$HOME/src/26,file:///opt/kde/share/apps/kxdocker/themes/poof,file:///opt/kde/share/apps/kxdocker/themes/arrows/top,file:///opt/kde/share/apps/kxdocker/themes/bar/default,file:///opt/kde/share/apps/kxdocker/themes/bar/pillow_transparent,file:///opt/kde/share/apps/kxdocker/themes/bar/white,file:///opt/kde/share/apps/kxdocker/themes/bar/transparent-stippled,file:///opt/kde/share/apps/kxdocker/themes/bar/transparent-blue,file:///opt/kde/share/apps/kxdocker/themes/bar/transparent,file:///opt/kde/share/apps/kxdocker/themes/bar/shadow,file:///opt/kde/share/apps/kxdocker/themes/bar/black_shiny,file:///opt/kde/share/apps/kxdocker/themes/pillow/transparent,file:///opt/kde/share/apps/kxdocker/themes/pillow/transparent_round_bottom,file:///opt/kde/share/apps/kxdocker/themes/bar/transparent_round_bottom,file://$HOME/src/firefox/plugins,file://$HOME/download2006,file://$HOME/MessagesBundles/xml,file://$HOME/MessagesBundles/totd,file://$HOME/MessagesBundles/META-INF,file://$HOME/gtk-gnutella-downloads/complete,file://$HOME/mp3,media:/cdrom,file://$HOME/immagini_icone,file://$HOME/ClamAV,file://$HOME/src/qastrocam-4.0/bin,file://$HOME/linux-2.6.0-test4,file:///mnt/cdrom,file://$HOME/abiword-2.0.7,file:///mnt/cdrom/media/main,file:///usr/src/linux-2.4.26,file:///mnt/cdrom/slackware [FMSettings] StandardFont= [General] TerminalApplication=konsole UseSystemBell=false XftHintStyle=hintmedium XftSubPixel= alternateBackground=237,244,249 background=239,239,239 buttonBackground=221,223,228 buttonForeground=0,0,0 fixed=Bitstream Vera Sans Mono,13,-1,5,50,0,0,0,0,0 font=Bitstream Vera Sans,13,-1,5,50,0,0,0,0,0 foreground=0,0,0 linkColor=0,0,238 menuFont=Bitstream Vera Sans,13,-1,5,50,0,0,0,0,0 selectBackground=103,141,178 selectForeground=255,255,255 shadeSortColumn=true taskbarFont=Bitstream Vera Sans,13,-1,5,50,0,0,0,0,0 toolBarFont=Bitstream Vera Sans,13,-1,5,50,0,0,0,0,0 visitedLinkColor=82,24,139 widgetStyle=qtcurve windowBackground=255,255,255 windowForeground=0,0,0 [Global Shortcuts] Activate Window Demanding Attention=default(Alt+Ctrl+A) Defaults timestamp=Oct 1 200523:51:17 Desktop Screenshot=default(Ctrl+Print) Enable/Disable Clipboard Actions=default(Alt+Ctrl+X) Halt without Confirmation=default(Alt+Ctrl+Shift+PageDown) Kill Window=default(Alt+Ctrl+Escape) Lock Session=default(Alt+Ctrl+L) Log Out=default(Alt+Ctrl+Delete) Log Out Without Confirmation=default(Alt+Ctrl+Shift+Delete) Manually Invoke Action on Current Clipboard=default(Alt+Ctrl+R) Mouse Emulation=default(Alt+F12) Next Taskbar Entry=none Popup Launch Menu=default(Alt+F1) Previous Taskbar Entry=none Reboot without Confirmation=default(Alt+Ctrl+Shift+PageUp) Run Command=default(Alt+F2) Setup Window Shortcut=none Show Klipper Popup-Menu=default(Alt+Ctrl+V) Show Taskmanager=default(Ctrl+Escape) Show Window List=default(Alt+F5) Switch One Desktop Down=none Switch One Desktop Up=none Switch One Desktop to the Left=none Switch One Desktop to the Right=none Switch User=default(Alt+Ctrl+Insert) Switch to Desktop 1=default(Ctrl+F1) Switch to Desktop 10=default(Ctrl+F10) Switch to Desktop 11=default(Ctrl+F11) Switch to Desktop 12=default(Ctrl+F12) Switch to Desktop 13=default(Ctrl+Shift+F1) Switch to Desktop 14=default(Ctrl+Shift+F2) Switch to Desktop 15=default(Ctrl+Shift+F3) Switch to Desktop 16=default(Ctrl+Shift+F4) Switch to Desktop 17=default(Ctrl+Shift+F5) Switch to Desktop 18=default(Ctrl+Shift+F6) Switch to Desktop 19=default(Ctrl+Shift+F7) Switch to Desktop 2=default(Ctrl+F2) Switch to Desktop 20=default(Ctrl+Shift+F8) Switch to Desktop 3=default(Ctrl+F3) Switch to Desktop 4=default(Ctrl+F4) Switch to Desktop 5=default(Ctrl+F5) Switch to Desktop 6=default(Ctrl+F6) Switch to Desktop 7=default(Ctrl+F7) Switch to Desktop 8=default(Ctrl+F8) Switch to Desktop 9=default(Ctrl+F9) Switch to Next Desktop=none Switch to Next Keyboard Layout=default(Alt+Ctrl+K) Switch to Previous Desktop=none Toggle Showing Desktop=default(Alt+Ctrl+D) Toggle Window Raise/Lower=none Walk Through Desktop List=default(Ctrl+Tab) Walk Through Desktop List (Reverse)=default(Ctrl+Shift+Tab) Walk Through Desktops=none Walk Through Desktops (Reverse)=none Walk Through Windows=default(Alt+Tab) Walk Through Windows (Reverse)=default(Alt+Shift+Tab) Window Above Other Windows=none Window Below Other Windows=none Window Close=default(Alt+F4) Window Fullscreen=none Window Grow Horizontal=none Window Grow Vertical=none Window Lower=none Window Maximize=none Window Maximize Horizontal=none Window Maximize Vertical=none Window Minimize=none Window Move=none Window No Border=none Window On All Desktops=none Window One Desktop Down=none Window One Desktop Up=none Window One Desktop to the Left=none Window One Desktop to the Right=none Window Operations Menu=default(Alt+F3) Window Pack Down=none Window Pack Left=none Window Pack Right=none Window Pack Up=none Window Raise=none Window Resize=none Window Screenshot=default(Alt+Print) Window Shade=none Window Shrink Horizontal=none Window Shrink Vertical=none Window to Desktop 1=none Window to Desktop 10=none Window to Desktop 11=none Window to Desktop 12=none Window to Desktop 13=none Window to Desktop 14=none Window to Desktop 15=none Window to Desktop 16=none Window to Desktop 17=none Window to Desktop 18=none Window to Desktop 19=none Window to Desktop 2=none Window to Desktop 20=none Window to Desktop 3=none Window to Desktop 4=none Window to Desktop 5=none Window to Desktop 6=none Window to Desktop 7=none Window to Desktop 8=none Window to Desktop 9=none Window to Next Desktop=none Window to Previous Desktop=none [Icons] Theme=crystalsvg [KCardDialog Settings] GlobalDeck=/opt/kde/share/apps/carddecks/decks/deck17.png GlobalRandomDeck=false [KDE] AutoSelectDelay=-1 ChangeCursor=true DoubleClickInterval=400 EffectAnimateCombo=false EffectAnimateMenu=false EffectAnimateTooltip=false EffectFadeMenu=false EffectFadeTooltip=false EffectNoTooltip=false EffectsEnabled=true InsertTearOffHandle=0 ShowDeleteCommand=true ShowIconsOnPushButtons=false SingleClick=true StartDragDist=4 StartDragTime=500 VisualActivate=1 WheelScrollLines=3 colorScheme= contrast=7 cursorTheme=Chameleon-Aluminium-Regular [KFileDialog Settings] Automatically select filename extension=true Height 768=424 LocationCombo Completionmode=5 PathCombo Completionmode=5 Recent URLs=$HOME/src/firewall/crea_tables/,/usr/share/pixmaps/BitTorrent-4.20.1/logo/,$HOME/torrenti/,$HOME/src/gambas2-1.9.34/app/src/gambas2/img/16/,$HOME/GAMBas-progetti/MAIL_LIST_GAMBAS/,$HOME/GAMBas-progetti/gbxgol2/,$HOME/mp3/ Separate Directories=false Show Bookmarks=false Show Preview=false Show Speedbar=true Show hidden files=false Sort by=Name Sort case insensitively=true Sort directories first=true Sort reversed=false View Style=Simple Width 1024=1007 [KKeyDialog Settings] Dialog Size=512,307 [KSpell] KSpell_Client=1 KSpell_DictFromList=1 KSpell_Dictionary=en_GB KSpell_Encoding=10 KSpell_NoRootAffix=0 KSpell_RunTogether=0 [Locale] Country=it DateFormatShort=%d/%m/%Y Language=it:en_US [MainToolbarIcons] ActiveColor=169,156,255 ActiveColor2=0,0,0 ActiveEffect=none ActiveSemiTransparent=false ActiveValue=1 Animated=false DefaultColor=144,128,248 DefaultColor2=0,0,0 DefaultEffect=none DefaultSemiTransparent=false DefaultValue=1 DisabledColor=34,202,0 DisabledColor2=0,0,0 DisabledEffect=togray DisabledSemiTransparent=true DisabledValue=1 DoublePixels=false Size=22 [PanelIcons] ActiveColor=169,156,255 ActiveColor2=0,0,0 ActiveEffect=togamma ActiveSemiTransparent=false ActiveValue=0.7 Animated=false DefaultColor=144,128,248 DefaultColor2=0,0,0 DefaultEffect=none DefaultSemiTransparent=false DefaultValue=1 DisabledColor=34,202,0 DisabledColor2=0,0,0 DisabledEffect=togray DisabledSemiTransparent=true DisabledValue=1 DoublePixels=false Size=32 [Paths] Trash=$HOME/Desktop/Trash/ [PreviewSettings] BoostSize=false MaximumSize=1048576 UseFileThumbnails=false applications=false ar=false audiocd=false devices=false file=true fish=false floppy=false fonts=false ftp=false imap=false imaps=false lan=false mac=false man=false media=false nfs=false nntp=false pop3=false pop3s=false print=false printdb=false programs=false remote=false rlan=false settings=false sftp=false sieve=false smb=false smtp=false smtps=false system=false tar=false trash=false webdav=false webdavs=false zip=false [Scan Settings] Height 768=507 ScanDialogSplitter 1024=376,323 Width 1024=756 [SmallIcons] ActiveColor=169,156,255 ActiveColor2=0,0,0 ActiveEffect=none ActiveSemiTransparent=false ActiveValue=1 Animated=false DefaultColor=144,128,248 DefaultColor2=0,0,0 DefaultEffect=none DefaultSemiTransparent=false DefaultValue=1 DisabledColor=34,202,0 DisabledColor2=0,0,0 DisabledEffect=togray DisabledSemiTransparent=true DisabledValue=1 DoublePixels=false Size=16 [Toolbar style] Highlighting=true IconText=IconOnly TransparentMoving=true [ToolbarIcons] ActiveColor=169,156,255 ActiveColor2=0,0,0 ActiveEffect=none ActiveSemiTransparent=false ActiveValue=1 Animated=false DefaultColor=144,128,248 DefaultColor2=0,0,0 DefaultEffect=none DefaultSemiTransparent=false DefaultValue=1 DisabledColor=34,202,0 DisabledColor2=0,0,0 DisabledEffect=togray DisabledSemiTransparent=true DisabledValue=1 DoublePixels=false Size=22 [WM] activeBackground=65,142,220 activeBlend=107,145,184 activeFont=Bitstream Vera Sans,11,-1,5,75,0,0,0,0,0 activeForeground=255,255,255 activeTitleBtnBg=220,220,220 frame=239,239,239 handle=239,239,239 inactiveBackground=157,170,186 inactiveBlend=157,170,186 inactiveForeground=221,221,221 inactiveFrame=239,239,239 inactiveHandle=239,239,239 inactiveTitleBtnBg=220,220,220 -------------- next part -------------- A non-text attachment was scrubbed... Name: welcome.jpg Type: image/jpeg Size: 27762 bytes Desc: not available URL: From sbungay at ...981... Thu Aug 3 17:35:29 2006 From: sbungay at ...981... (sbungay) Date: Thu, 03 Aug 2006 11:35:29 -0400 Subject: [Gambas-user] SOLVED Re: Database Administrator In-Reply-To: <200608031400.22195.gambas@...1...> References: <44CE3B9F.2010701@...981...> <200607312221.42434.gambas@...1...> <44CFE8DE.7070102@...981...> <200608031400.22195.gambas@...1...> Message-ID: <44D217C1.2070703@...981...> Found that it was corruption in the config file. Renamed the config file for Database Manager and forced it to re-create.. presto...problem gone. Benoit Minisini wrote: > On Wednesday 02 August 2006 01:50, sbungay wrote: > >> Greetings Benoit! >> I just installed 1.9.36 and the Database Manager problem still haunts >>me. Any ideas? >> > > > None. There is no code that hides the treeview in the database manager, so I > have no idea why it does not show. If you give me an ssh access to your PC, > with X11 forwarding, maybe I could trace the program to see what happens. > > Regards, > From gambas at ...1... Thu Aug 3 16:58:11 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 Aug 2006 16:58:11 +0200 Subject: [Gambas-user] SOLVED Re: Database Administrator In-Reply-To: <44D217C1.2070703@...981...> References: <44CE3B9F.2010701@...981...> <200608031400.22195.gambas@...1...> <44D217C1.2070703@...981...> Message-ID: <200608031658.11429.gambas@...1...> On Thursday 03 August 2006 17:35, sbungay wrote: > Found that it was corruption in the config file. Renamed the config > file for Database Manager and forced it to re-create.. presto...problem > gone. > The database manager should write a warning message, and not display nothing. Can you send me this corrupted file? This will help me to fix that. Regards, -- Benoit Minisini From joe1962 at ...626... Thu Aug 3 17:07:19 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Thu, 3 Aug 2006 11:07:19 -0400 Subject: [Gambas-user] sqlite vs sqlite2 problems in Gambas2 Message-ID: <6c208f950608030807o3c333ec2l8c18c81d7b0de0ef@...627...> If I understand this right, the gb.db.sqlite driver is for sqlite 3.x and the gb.db.sqlite2 is for sqlite 2.x? My box has sqlite 2.8.6 installed and gb.db.sqlite2 gets built, but not gb.db.sqlite, which seems logical. However, the Database Manager says "Cannot connect to database. There is no driver for database: sqlite" when trying to open "localhost (sqlite), the only server which shows up in the tree. This happens in 1.9.36 and 1.9.32, probably also when I was using 1.9.29, my first Gambas2 version. I have Gambas1 1.0.15 also working here and it has no trouble with "localhost (sqlite)". Regards, Joe1962 From ronstk at ...239... Thu Aug 3 17:47:47 2006 From: ronstk at ...239... (Ron Onstenk) Date: Thu, 3 Aug 2006 17:47:47 +0200 Subject: [Gambas-user] Request to add... In-Reply-To: <6324a42a0608030446u28165a4dr97459004400b02de@...627...> References: <200608021345.05249.James.Hatridge@...17...> <200608030129.13815.ronstk@...239...> <6324a42a0608030446u28165a4dr97459004400b02de@...627...> Message-ID: <200608031747.47706.ronstk@...239...> On Thursday 03 August 2006 13:46, Fabien Bodard wrote: > mama... so many things for so less... > > i ned first to say that i don't like the too many colors programs... if i > want to change i modify one or too control and all after is made with the > Desktop style ! It's just you did not have used it in report forms. Take a look how i.e. mplayer use a style, much more then here is as proposal. And it just the Desktop style mostly is hurting the accent you want on some controls. > > Nevertheless i think ?maybe we can use groups for making style links... > Then you must do it on form_open or form_new by writing a lot of code. :) Beside of that, I do not like it so much, it has some disadvantages. Completion is not working anymore with the properties of the control In design selecting a control, with a groupname, lost the contols own properties too and events jump to the group events. Selecting the XYZ_Click for one of them in the group does not go to the controls event but group event. So you must constant add/remove the group name. Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From ronstk at ...239... Thu Aug 3 17:51:21 2006 From: ronstk at ...239... (Ron Onstenk) Date: Thu, 3 Aug 2006 17:51:21 +0200 Subject: [Gambas-user] sqlite vs sqlite2 problems in Gambas2 In-Reply-To: <6c208f950608030807o3c333ec2l8c18c81d7b0de0ef@...627...> References: <6c208f950608030807o3c333ec2l8c18c81d7b0de0ef@...627...> Message-ID: <200608031751.22122.ronstk@...239...> On Thursday 03 August 2006 17:07, Jose J. Rodriguez wrote: > If I understand this right, the gb.db.sqlite driver is for sqlite 3.x > and the gb.db.sqlite2 is for sqlite 2.x? My box has sqlite 2.8.6 > installed and gb.db.sqlite2 gets built, but not gb.db.sqlite, which > seems logical. However, the Database Manager says "Cannot connect to > database. There is no driver for database: sqlite" when trying to open > "localhost (sqlite), the only server which shows up in the tree. This > happens in 1.9.36 and 1.9.32, probably also when I was using 1.9.29, > my first Gambas2 version. I have Gambas1 1.0.15 also working here and > it has no trouble with "localhost (sqlite)". > > Regards, > Joe1962 > I just have the same versions of sqlite/gambas and the same problem. Are you using SuSE9.2 also ? :) And lost in space, Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From joe1962 at ...626... Thu Aug 3 17:54:36 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Thu, 3 Aug 2006 11:54:36 -0400 Subject: [Gambas-user] sqlite vs sqlite2 problems in Gambas2 In-Reply-To: <200608031751.22122.ronstk@...239...> References: <6c208f950608030807o3c333ec2l8c18c81d7b0de0ef@...627...> <200608031751.22122.ronstk@...239...> Message-ID: <6c208f950608030854s6df2b414nd81dc874d71362f3@...627...> On 8/3/06, Ron Onstenk wrote: > On Thursday 03 August 2006 17:07, Jose J. Rodriguez wrote: > > If I understand this right, the gb.db.sqlite driver is for sqlite 3.x > > and the gb.db.sqlite2 is for sqlite 2.x? My box has sqlite 2.8.6 > > installed and gb.db.sqlite2 gets built, but not gb.db.sqlite, which > > seems logical. However, the Database Manager says "Cannot connect to > > database. There is no driver for database: sqlite" when trying to open > > "localhost (sqlite), the only server which shows up in the tree. This > > happens in 1.9.36 and 1.9.32, probably also when I was using 1.9.29, > > my first Gambas2 version. I have Gambas1 1.0.15 also working here and > > it has no trouble with "localhost (sqlite)". > > > > Regards, > > Joe1962 > > > > I just have the same versions of sqlite/gambas and the same problem. > Are you using SuSE9.2 also ? :) > > And lost in space, > Ron > No, Vector Linux 5.1.2 SOHO. Regards, Joe1962 From gambas at ...1... Thu Aug 3 20:01:44 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 Aug 2006 20:01:44 +0200 Subject: [Gambas-user] sqlite vs sqlite2 problems in Gambas2 In-Reply-To: <6c208f950608030807o3c333ec2l8c18c81d7b0de0ef@...627...> References: <6c208f950608030807o3c333ec2l8c18c81d7b0de0ef@...627...> Message-ID: <200608032001.44404.gambas@...1...> On Thursday 03 August 2006 17:07, Jose J. Rodriguez wrote: > If I understand this right, the gb.db.sqlite driver is for sqlite 3.x > and the gb.db.sqlite2 is for sqlite 2.x? My box has sqlite 2.8.6 > installed and gb.db.sqlite2 gets built, but not gb.db.sqlite, which > seems logical. However, the Database Manager says "Cannot connect to > database. There is no driver for database: sqlite" when trying to open > "localhost (sqlite), the only server which shows up in the tree. This > happens in 1.9.36 and 1.9.32, probably also when I was using 1.9.29, > my first Gambas2 version. I have Gambas1 1.0.15 also working here and > it has no trouble with "localhost (sqlite)". > > Regards, > Joe1962 > A stupid design of mine :-) A workaround to this problem is adding "sqlite2" in the list of possible database types in the database manager new connection dialog. I will do it for the next version, and maybe redesign the sqlite components, so that we have sqlite, sqlite2 and sqlite3 all distinct. Regards, -- Benoit Minisini From gambas.fr at ...626... Thu Aug 3 21:19:00 2006 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 3 Aug 2006 21:19:00 +0200 Subject: [Gambas-user] Request to add... In-Reply-To: <200608031747.47706.ronstk@...239...> References: <200608021345.05249.James.Hatridge@...17...> <200608030129.13815.ronstk@...239...> <6324a42a0608030446u28165a4dr97459004400b02de@...627...> <200608031747.47706.ronstk@...239...> Message-ID: <6324a42a0608031219w6d4bc600w4cb546c74ad600ae@...627...> 2006/8/3, Ron Onstenk : > > On Thursday 03 August 2006 13:46, Fabien Bodard wrote: > > mama... so many things for so less... > > > > i ned first to say that i don't like the too many colors programs... if > i > > want to change i modify one or too control and all after is made with > the > > Desktop style ! > > It's just you did not have used it in report forms. > Take a look how i.e. mplayer use a style, much more then > here is as proposal. > > And it just the Desktop style mostly is hurting the accent > you want on some controls. > > > > > Nevertheless i think maybe we can use groups for making style links... > > > > Then you must do it on form_open or form_new by writing a lot of code. :) > Beside of that, I do not like it so much, it has some disadvantages. > > Completion is not working anymore with the properties of the control > In design selecting a control, with a groupname, lost the contols own > properties too and events jump to the group events. > Selecting the XYZ_Click for one of them in the group does not go to > the controls event but group event. > So you must constant add/remove the group name. > > Ron > > -- > The only bug free software from MickySoft is > still shrink-wrapped in their warehouse... > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > in fact my first explanation was false as i was hurry so : Gambas ide set the property array dynamiquely so i don't know if gambas can remember general settings. -------------- next part -------------- An HTML attachment was scrubbed... URL: From leonardo at ...1237... Thu Aug 3 22:28:22 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Thu, 03 Aug 2006 22:28:22 +0200 Subject: [Gambas-user] Error #6 In-Reply-To: <200608031357.39924.gambas@...1...> References: <44CE8C06.1060805@...1534...> <200608011149.30509.gambas@...1...> <44CFCEDE.7040909@...1237...> <200608031357.39924.gambas@...1...> Message-ID: <44D25C66.6090907@...1237...> Benoit Minisini ha scritto: > I got it. The bug only appears when a error is raised when using round > brackets instead of square brackets for accessing an array, as in your code. > Yes, the class that you got it was an early translation from VB. Now I have fixed a lot of bugs but I also discovered a (strange?) way of working of Gambas errors detectors.. If I get and error in clsAES Gambas halts showing an error in the class that called it, in my program frmMain. If I click on "CONTINUE" on error window, and then I try to look at the variables in clsAES, I get an error telling me that Gambas cannot recognize that symbol.. strange, isn't it? I freezed the program so I could be able to look at any variable or property in any part of the program... > Just replace all round brackets by square brackets when you access an array, > and things should go better. Just done... And using CATCH command I also found a lot of other errors.. > > Note that you have bit manipulation functions in Gambas, so you can get rid of > LShift, RShift, RotateLeft, RotateByteLeft... functions. > Yes, I know. But I am confused because I don't know exactly which function is right for me, and I didn't find much help from Gambas Help... Which are the differences from LSL, SHL and ROL? The last one should be rotate a byte like a thor, so if my bits are, i.e., 01001110 and I left rotate of 3 bits, then I should find my byte as 01110010, isn't it? But I don't understand the difference between the other two commands... -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From leonardo at ...1237... Thu Aug 3 22:32:41 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Thu, 03 Aug 2006 22:32:41 +0200 Subject: [Gambas-user] Release of gambas 1.9.36 In-Reply-To: <200608031448.31759.stefanopalmeri@...152...> References: <200608012241.12513.gambas@...1...> <200608021551.11425.picander78@...325...> <200608021616.40372.gambas@...1...> <200608031448.31759.stefanopalmeri@...152...> Message-ID: <44D25D69.2050108@...1237...> Stefano Palmeri ha scritto: > And last, the word GAMBAS is not shown correctly in the welcome message (see > jpg). > Interesting.... On my system, I have the Gambas logo that isn't displayed correctly: it seems that it stays on a back layer, and the write Gambas overwrites it. -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshot.jpg Type: image/jpeg Size: 16042 bytes Desc: not available URL: From sbungay at ...981... Thu Aug 3 23:37:19 2006 From: sbungay at ...981... (sbungay) Date: Thu, 03 Aug 2006 17:37:19 -0400 Subject: [Gambas-user] SOLVED Re: Database Administrator In-Reply-To: <200608031658.11429.gambas@...1...> References: <44CE3B9F.2010701@...981...> <200608031400.22195.gambas@...1...> <44D217C1.2070703@...981...> <200608031658.11429.gambas@...1...> Message-ID: <44D26C8F.9000808@...981...> Here you go! Benoit Minisini wrote: > On Thursday 03 August 2006 17:35, sbungay wrote: > >> Found that it was corruption in the config file. Renamed the config >>file for Database Manager and forced it to re-create.. presto...problem >>gone. >> > > > The database manager should write a warning message, and not display nothing. > Can you send me this corrupted file? This will help me to fix that. > > Regards, > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: gambas-database-manager_Old.conf URL: From gambas at ...1... Thu Aug 3 23:25:15 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 Aug 2006 23:25:15 +0200 Subject: [Gambas-user] DateBox Control doesn't work properly In-Reply-To: References: Message-ID: <200608032325.15362.gambas@...1...> On Thursday 03 August 2006 14:45, Fabricio Silva wrote: > I'm using SuSE 10.0 and Gambas 1.9.35. I have created a new form and it has > some labels, textboxs, buttons and datebox controls. Just to see the look > of the window I've ran the program and inserted some values randomly. When > i type the date an "Unknown symbol 'POS' in class 'TextBox' error appears > and hung the application. No code is applyed to that test. Strangely If I > type: 02 03 2006. It doesn't hung. Apparently the code of these controls is not up to date. I never had the time to work on them. When I have, I think I will redesign them completely. Regards, -- Benoit Minisini From rospolosco at ...152... Fri Aug 4 06:09:32 2006 From: rospolosco at ...152... (Stefano Palmeri) Date: Fri, 4 Aug 2006 06:09:32 +0200 Subject: [Gambas-user] color theme Message-ID: <200608040609.32697.rospolosco@...152...> Hi, Benoit. When I select a new color theme more that one time per session, it applies to the editor but it's not displayed in the preview panel: all colored boxes stays gray. Regards, Stefano Palmeri From gambas at ...1... Fri Aug 4 08:41:45 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 4 Aug 2006 08:41:45 +0200 Subject: [Gambas-user] Feature request... In-Reply-To: <44D26E45.8030403@...981...> References: <44D26E45.8030403@...981...> Message-ID: <200608040841.46160.gambas@...1...> On Thursday 03 August 2006 23:44, you wrote: > The search list is, as someone else on the list said, truly > brilliant. Now lets extend the functionality of the project tree a bit > more. > How about listing each subroutine and function as a seperate node > under each class. This would allow the programmer to skip to the start > of any given SUB or FUNCTION by expanding the class in the tree and > clicking on the SUB or FUNCTION name (sorted alphabetically (of course)). > Just a thought.. I find myself wanting to jump to SUBS or Functions > and this feature would prevent a lot of mouse wheeling/scrolling. > > Steve :) I answer on the mailing-list... The problem with displaying a list of symbols, whereever it is, is that updating it in real time is slow. At the moment, this update is done only when needed, i.e. when you click on the "go to" button in the Editor, or when the commpletion automatic pops up. If you have a solution, I could do something. Regards, -- Benoit Minisini From gambas at ...1... Fri Aug 4 08:43:15 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 4 Aug 2006 08:43:15 +0200 Subject: [Gambas-user] color theme In-Reply-To: <200608040609.32697.rospolosco@...152...> References: <200608040609.32697.rospolosco@...152...> Message-ID: <200608040843.16016.gambas@...1...> On Friday 04 August 2006 06:09, Stefano Palmeri wrote: > Hi, Benoit. > > When I select a new color theme more that one time per session, > it applies to the editor but it's not displayed in the preview panel: all > colored boxes stays gray. > > Regards, > > Stefano Palmeri > I know this problem. It's because the graphical theme you use don't display the background color of buttons. Plastik, the one I use, does. I must replace normal buttons by buttons made by hand so that everybody see them. Regards, -- Benoit Minisini From ronstk at ...239... Fri Aug 4 11:04:12 2006 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 4 Aug 2006 11:04:12 +0200 Subject: [Gambas-user] Feature request... In-Reply-To: <200608040841.46160.gambas@...1...> References: <44D26E45.8030403@...981...> <200608040841.46160.gambas@...1...> Message-ID: <200608041104.13071.ronstk@...239...> On Friday 04 August 2006 08:41, Benoit Minisini wrote: > On Thursday 03 August 2006 23:44, you wrote: > > The search list is, as someone else on the list said, truly > > brilliant. Now lets extend the functionality of the project tree a bit > > more. > > How about listing each subroutine and function as a seperate node > > under each class. This would allow the programmer to skip to the start > > of any given SUB or FUNCTION by expanding the class in the tree and > > clicking on the SUB or FUNCTION name (sorted alphabetically (of course)). > > Just a thought.. I find myself wanting to jump to SUBS or Functions > > and this feature would prevent a lot of mouse wheeling/scrolling. > > > > Steve :) > > I answer on the mailing-list... > > The problem with displaying a list of symbols, whereever it is, is that > updating it in real time is slow. > > At the moment, this update is done only when needed, i.e. when you click on > the "go to" button in the Editor, or when the commpletion automatic pops up. > > If you have a solution, I could do something. > > Regards, > I have worked on this subject. I had in mind to update the list after the name is declared. Is also bad because it then act on every keystroke. What would be nice is getting a trigger after a SUG/Function is finished. Then however the global part is not seen. There are split lines between procedures. My idea is now for every section between the split lines a checksum. If there is edit between them then invalidate the check sum If the cursor passes a boundary split then recreate the list for only where checksum is invalid. The need is to get a appropiate trigger on passing that split with the cursor. Because there is alredy some handling of it, can you make it as event or give a the source code/file/hint where it has to be done. I do have the symbol list ATM on left side with sidebar and I'm loving it. Updated on doubleclick in the list. Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From genone at ...89... Fri Aug 4 16:02:11 2006 From: genone at ...89... (Marius Mauch) Date: Fri, 4 Aug 2006 16:02:11 +0200 Subject: [Gambas-user] Gambas projects and CVS In-Reply-To: <200608022243.37507.gambas@...1...> References: <6c208f950608021301l3627ff35td91c56ba3ecd3fc7@...627...> <200608022243.37507.gambas@...1...> Message-ID: <20060804160211.7ffcbd39@...388...> On Wed, 2 Aug 2006 22:43:37 +0200 Benoit Minisini wrote: > On Wednesday 02 August 2006 22:01, Jose J. Rodriguez wrote: > > I am starting to use cvs repositories for my 2 current Gambas > > projects. I find it is workable as long as one is careful not to add > > the .gambas directory to the versioning system. The contents of this > > directory change every time the project is simply opened and closed, > > making it pretty bothersome if you forget. > > > > There is one wish I would like to put forward however: could the CVS > > folder created by cvs (who else, lol) not be included as data in the > > Gambas project? The hidden files are already no problem, so this > > would be another step towards cvs-friendly behaviour in Gambas. The > > next step would be if those files in .gambas only changed when > > something is really altered in the project and saved, but I won't > > nitpick.... > > > > Regards, > > Joe1962 > > > > OK, I will hide "CVS" folder. You may also want to ignore ".svn" and ".git" directories. Marius -- Public Key at http://www.genone.de/info/gpg-key.pub In the beginning, there was nothing. And God said, 'Let there be Light.' And there was still nothing, but you could see a bit better. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From sbungay at ...981... Fri Aug 4 17:38:27 2006 From: sbungay at ...981... (sbungay) Date: Fri, 04 Aug 2006 11:38:27 -0400 Subject: [Gambas-user] Feature request... In-Reply-To: <200608040841.46160.gambas@...1...> References: <44D26E45.8030403@...981...> <200608040841.46160.gambas@...1...> Message-ID: <44D369F3.6060604@...981...> Benoit Minisini wrote: > On Thursday 03 August 2006 23:44, you wrote: > >> The search list is, as someone else on the list said, truly >>brilliant. Now lets extend the functionality of the project tree a bit >>more. >> How about listing each subroutine and function as a seperate node >>under each class. This would allow the programmer to skip to the start >>of any given SUB or FUNCTION by expanding the class in the tree and >>clicking on the SUB or FUNCTION name (sorted alphabetically (of course)). >> Just a thought.. I find myself wanting to jump to SUBS or Functions >>and this feature would prevent a lot of mouse wheeling/scrolling. >> >>Steve :) > > > I answer on the mailing-list... > > The problem with displaying a list of symbols, whereever it is, is that > updating it in real time is slow. > > At the moment, this update is done only when needed, i.e. when you click on > the "go to" button in the Editor, or when the commpletion automatic pops up. > > If you have a solution, I could do something. > > Regards, > OK.. I'll think about a solution... I've also been thinking about User Defined Types. It occurs to me that these might be created and handled internally in gambas IDE as a special kind of class (I don't know anything about the internals of gambas so I am only guessing and this is probably totally wrong but here goes). I recall that in the other graphical BASIC environment if one defines a UDT one can then make the parameter of the FUNCTION or SUB of the user defined type. This constrains the programmer to the values declared in the UDT when calling that FUNCTION or SUB and eliminates things like magic numbers by identifying and labeling them. The other environment pops a list up of the labels declared in the UDT and this reminded me of the dot notation of a class displaying only the list of items defined within the class being used, so I started to think that UDT could be handled as a special class. So in the following example.. TYPE CustomerTypes Staff AS INTEGER = 1 Student AS Integer = 2 SeniorCitizen AS INTEGER = 3 Retail AS INTEGER = 4 Cash AS Integer = 5 END TYPE PRIVATE SUB ShowCustomer (Customer AS CustomerType) SELECT CASE Customer CASE Staff message.info("Staff") CASE Student message.info("Student") CASE SeniorCitizen message.info("Senior Citizen") CASE Retail message.info("Retail") END SELECT End Sub PRIVATE SUB DisplayCustomerTypes MyFunction(Staff) MyFunction(Student) Myfunction(Cash) END SUB Or something along those lines (haven't used VB for quite awhile.. syntax may be all wrong.. my appologies). Anyway, the point is to abstract the values out as readable words so as soon as the programmer types 'ShowCustomer(' the IDE would seek out the datatype for the parameter and if it is a UDT, present a list of the labels (but not their values) used for each item in the UDT. Another Nice To Have is the ability to use different fonts localized within controls. For example, the application I am putting together right now uses frames to group the interface into logical working components for the user, the end user would like one frame to have it's caption slightly larger and in boldface. When I did this in the frames' properties all of the fonts on the form changed (which I totally did not expect). Keep up the good work... Steve :) From ronstk at ...239... Fri Aug 4 17:58:31 2006 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 4 Aug 2006 17:58:31 +0200 Subject: [Gambas-user] Gambas projects and CVS In-Reply-To: <20060804160211.7ffcbd39@...388...> References: <6c208f950608021301l3627ff35td91c56ba3ecd3fc7@...627...> <200608022243.37507.gambas@...1...> <20060804160211.7ffcbd39@...388...> Message-ID: <200608041758.31785.ronstk@...239...> On Friday 04 August 2006 16:02, Marius Mauch wrote: > > OK, I will hide "CVS" folder. > > You may also want to ignore ".svn" and ".git" directories. > > Marius > What about .rvs ? A configuration option in the base config file of gambas as ExludeDirs=.cvs;.svn;.git;.rvs;MyReferenceDocs;TestData And everybody can add _his_ special directories. My 2 FrenchFrancs Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From stefanopalmeri at ...152... Fri Aug 4 15:53:30 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Fri, 4 Aug 2006 15:53:30 +0200 Subject: [Gambas-user] a bug(?) that crashes Gambas 1.9.36 Message-ID: <200608041553.30273.stefanopalmeri@...152...> Hi, Benoit. I found a bug(?) in the Search & Replace tool that crashes Gambas 1.9.36. To reproduce the bug do the following: 1) Copy this text in a project. PUBLIC SUB Main() DIM sAll AS String DIM sAllspaced AS String sAll = "doremifasollasido" sAllspaced = "do re mi fa sol la si do" END 2) Open the Search & Replace panel. Toggle "Word only" on. 3) Do a "Find previous" (pay attention to the inverted icons) search for the word "do". After two or three click on "Find previous", Gambas2 will crash. No problem with "Find next". No problem with "Find previous" and "Word only" toggled off. Regards, Stefano Palmeri From sbungay at ...981... Sat Aug 5 02:03:06 2006 From: sbungay at ...981... (sbungay) Date: Fri, 04 Aug 2006 20:03:06 -0400 Subject: [Gambas-user] floating point and single datatype precision... Message-ID: <44D3E03A.2080102@...981...> Anybody know Why it is that when a value like 22.79 is stored in a variable of type single, it represents it internally as 22.7900009155227? Just curious. From sirfabien at ...626... Sat Aug 5 01:10:13 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Sat, 5 Aug 2006 01:10:13 +0200 Subject: [Gambas-user] floating point and single datatype precision... In-Reply-To: <44D3E03A.2080102@...981...> References: <44D3E03A.2080102@...981...> Message-ID: <200608050110.13774.sirfabien@...626...> Le Samedi 5 Ao?t 2006 02:03, sbungay a ?crit?: > Anybody know Why it is that when a value like 22.79 is stored in a > variable of type single, it represents it internally as 22.7900009155227? > Just curious. because of the binary storing... > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From joe1962 at ...626... Sat Aug 5 02:08:02 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Fri, 4 Aug 2006 20:08:02 -0400 Subject: [Gambas-user] Gambas projects and CVS In-Reply-To: <20060804160211.7ffcbd39@...388...> References: <6c208f950608021301l3627ff35td91c56ba3ecd3fc7@...627...> <200608022243.37507.gambas@...1...> <20060804160211.7ffcbd39@...388...> Message-ID: <6c208f950608041708g24a47b29r166fd51da95a7bd@...627...> On 8/4/06, Marius Mauch wrote: > On Wed, 2 Aug 2006 22:43:37 +0200 > Benoit Minisini wrote: > > > On Wednesday 02 August 2006 22:01, Jose J. Rodriguez wrote: > > > I am starting to use cvs repositories for my 2 current Gambas > > > projects. I find it is workable as long as one is careful not to add > > > the .gambas directory to the versioning system. The contents of this > > > directory change every time the project is simply opened and closed, > > > making it pretty bothersome if you forget. > > > > > > There is one wish I would like to put forward however: could the CVS > > > folder created by cvs (who else, lol) not be included as data in the > > > Gambas project? The hidden files are already no problem, so this > > > would be another step towards cvs-friendly behaviour in Gambas. The > > > next step would be if those files in .gambas only changed when > > > something is really altered in the project and saved, but I won't > > > nitpick.... > > > > > > Regards, > > > Joe1962 > > > > > > > OK, I will hide "CVS" folder. > > You may also want to ignore ".svn" and ".git" directories. > Hidden "dot" directories are already ignored, as far as I can determine. Regards, Joe1962 From sbungay at ...981... Sat Aug 5 06:28:56 2006 From: sbungay at ...981... (sbungay) Date: Sat, 05 Aug 2006 00:28:56 -0400 Subject: [Gambas-user] floating point and single datatype precision... In-Reply-To: <200608050110.13774.sirfabien@...626...> References: <44D3E03A.2080102@...981...> <200608050110.13774.sirfabien@...626...> Message-ID: <44D41E88.4080107@...981...> Um... yeah... right... So exactly HOW does the storage mechanism work such that it returns an incorrect result? If one was to store the value 22.79 into a variable of type single in C would one expect it to return a value other than 22.79? This means variables of type single and float can not be relied upon to return the value we store to them. IMHO that is not a good thing. Fabien Bodard wrote: > Le Samedi 5 Ao?t 2006 02:03, sbungay a ?crit : > >> Anybody know Why it is that when a value like 22.79 is stored in a >>variable of type single, it represents it internally as 22.7900009155227? >> Just curious. > > because of the binary storing... > >>------------------------------------------------------------------------- >>Take Surveys. Earn Cash. Influence the Future of IT >>Join SourceForge.net's Techsay panel and you'll get the chance to share >>your opinions on IT & business topics through brief surveys -- and earn >>cash >>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From joe1962 at ...626... Sat Aug 5 09:28:52 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Sat, 5 Aug 2006 03:28:52 -0400 Subject: [Gambas-user] floating point and single datatype precision... In-Reply-To: <44D41E88.4080107@...981...> References: <44D3E03A.2080102@...981...> <200608050110.13774.sirfabien@...626...> <44D41E88.4080107@...981...> Message-ID: <6c208f950608050028w300e63b9g7687f08a0186b63d@...627...> On 8/5/06, sbungay wrote: > Um... yeah... right... > So exactly HOW does the storage mechanism work such that it returns an > incorrect result? If one was to store the value 22.79 into a variable of > type single in C would one expect it to return a value other than 22.79? > This means variables of type single and float can not be relied upon to > return the value we store to them. IMHO that is not a good thing. > It's been that way since computers started storing numbers in binary fashion. There's loads of info on the subject on the net, a quick search (numeric precision computers) turned up this nice one: http://www.vectorsite.net/tsfloat.html Regards, Joe1962 From ronstk at ...239... Sat Aug 5 12:52:19 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 5 Aug 2006 12:52:19 +0200 Subject: [Gambas-user] Help on web unreadable. Message-ID: <200608051252.19747.ronstk@...239...> Nice to use stylesheet for the pages. I was looking up at http://gambasdoc.org/help/lang/format and found some white bars ? Using the mouse and selecting a part of the page give a suprise. See attached screen shot. ColorBlind in black/white or MonoBlind in Red/Green/Blue that is the question. Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... -------------- next part -------------- A non-text attachment was scrubbed... Name: stylesheet.jpg Type: image/jpeg Size: 34196 bytes Desc: not available URL: From sirfabien at ...626... Sat Aug 5 15:15:02 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Sat, 5 Aug 2006 15:15:02 +0200 Subject: [Gambas-user] Help on web unreadable. In-Reply-To: <200608051252.19747.ronstk@...239...> References: <200608051252.19747.ronstk@...239...> Message-ID: <200608051515.02485.sirfabien@...626...> Le Samedi 5 Ao?t 2006 12:52, Ron Onstenk a ?crit?: > Nice to use stylesheet for the pages. > I was looking up at http://gambasdoc.org/help/lang/format > and found some white bars ? > Using the mouse and selecting a part of the page give a suprise. > See attached screen shot. > > ColorBlind in black/white or MonoBlind in Red/Green/Blue that is the > question. > > Ron i hate these colors... to blue to dark... to unreadable... please Benoit, text in black and background in white ! don't set the colors as your one site ...berk ! Fabien From sirfabien at ...626... Sat Aug 5 15:35:14 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Sat, 5 Aug 2006 15:35:14 +0200 Subject: [Gambas-user] New editor theme Message-ID: <200608051535.14167.sirfabien@...626...> hi to all This is a theme for gtk/ubuntu environement based on brown at the place of blue. I give the name of amber to this theme. You can use it by openning the option windows and select the color tabs and then use the open button ... and select it. Regards, Fabien From sirfabien at ...626... Sat Aug 5 15:35:59 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Sat, 5 Aug 2006 15:35:59 +0200 Subject: [Gambas-user] New editor theme Message-ID: <200608051535.59562.sirfabien@...626...> hi to all This is a theme for gtk/ubuntu environement based on brown at the place of blue. I give the name of amber to this theme. You can use it by openning the option windows and select the color tabs and then use the open button ... and select it. Regards, Fabien -------------- next part -------------- [Theme] Background="&FFFFF1&" Normal="&000000&" Keyword="&DD9300&" Subr="&DD4A00&" Operator="&DD4A00&" Symbol="&202020&" Number="&0000FF&" String="&00C000&" Comment="&808080&" Breakpoint="&FFBFBF&" Current="&FFAA00&" Datatype="&DD9300&" Selection="&FFDAC0&" Highlight="&FFFF00&" Line="&FFEBBF&" Error="&028078&" From gambas at ...1... Sat Aug 5 16:51:08 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 Aug 2006 16:51:08 +0200 Subject: [Gambas-user] Feature request... In-Reply-To: <200608041104.13071.ronstk@...239...> References: <44D26E45.8030403@...981...> <200608040841.46160.gambas@...1...> <200608041104.13071.ronstk@...239...> Message-ID: <200608051651.08215.gambas@...1...> On Friday 04 August 2006 11:04, Ron Onstenk wrote: > On Friday 04 August 2006 08:41, Benoit Minisini wrote: > > On Thursday 03 August 2006 23:44, you wrote: > > > The search list is, as someone else on the list said, truly > > > brilliant. Now lets extend the functionality of the project tree a bit > > > more. > > > How about listing each subroutine and function as a seperate node > > > under each class. This would allow the programmer to skip to the start > > > of any given SUB or FUNCTION by expanding the class in the tree and > > > clicking on the SUB or FUNCTION name (sorted alphabetically (of > > > course)). Just a thought.. I find myself wanting to jump to SUBS or > > > Functions and this feature would prevent a lot of mouse > > > wheeling/scrolling. > > > > > > Steve :) > > > > I answer on the mailing-list... > > > > The problem with displaying a list of symbols, whereever it is, is that > > updating it in real time is slow. > > > > At the moment, this update is done only when needed, i.e. when you click > > on the "go to" button in the Editor, or when the commpletion automatic > > pops up. > > > > If you have a solution, I could do something. > > > > Regards, > > I have worked on this subject. > > I had in mind to update the list after the name is declared. > Is also bad because it then act on every keystroke. > > What would be nice is getting a trigger after a SUG/Function is finished. > Then however the global part is not seen. > There are split lines between procedures. > My idea is now for every section between the split lines a checksum. > If there is edit between them then invalidate the check sum > If the cursor passes a boundary split then recreate the list > for only where checksum is invalid. > The need is to get a appropiate trigger on passing that split with the > cursor. > > Because there is alredy some handling of it, can you make it as event > or give a the source code/file/hint where it has to be done. > > I do have the symbol list ATM on left side with sidebar and I'm loving it. > Updated on doubleclick in the list. > > Ron And what about copy & paste than can transform editor contents in anything other? Your solution seems not a real one for me. Too much complex! Maybe a timer that is started at each keystroke, so that after for example ten seconds of no keystroke, all lists are updated. They are of course updated when needed as before. -- Benoit Minisini From gambas at ...1... Sat Aug 5 16:53:35 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 Aug 2006 16:53:35 +0200 Subject: [Gambas-user] Feature request... In-Reply-To: <44D369F3.6060604@...981...> References: <44D26E45.8030403@...981...> <200608040841.46160.gambas@...1...> <44D369F3.6060604@...981...> Message-ID: <200608051653.35527.gambas@...1...> On Friday 04 August 2006 17:38, sbungay wrote: > Benoit Minisini wrote: > > On Thursday 03 August 2006 23:44, you wrote: > >> The search list is, as someone else on the list said, truly > >>brilliant. Now lets extend the functionality of the project tree a bit > >>more. > >> How about listing each subroutine and function as a seperate node > >>under each class. This would allow the programmer to skip to the start > >>of any given SUB or FUNCTION by expanding the class in the tree and > >>clicking on the SUB or FUNCTION name (sorted alphabetically (of course)). > >> Just a thought.. I find myself wanting to jump to SUBS or Functions > >>and this feature would prevent a lot of mouse wheeling/scrolling. > >> > >>Steve :) > > > > I answer on the mailing-list... > > > > The problem with displaying a list of symbols, whereever it is, is that > > updating it in real time is slow. > > > > At the moment, this update is done only when needed, i.e. when you click > > on the "go to" button in the Editor, or when the commpletion automatic > > pops up. > > > > If you have a solution, I could do something. > > > > Regards, > > OK.. I'll think about a solution... > > I've also been thinking about User Defined Types. It occurs to me that > these might be created and handled internally in gambas IDE as a special > kind of class (I don't know anything about the internals of gambas so I > am only guessing and this is probably totally wrong but here goes). > I recall that in the other graphical BASIC environment if one defines > a UDT one can then make the parameter of the FUNCTION or SUB of the user > defined type. This constrains the programmer to the values declared in > the UDT when calling that FUNCTION or SUB and eliminates things like > magic numbers by identifying and labeling them. > The other environment pops a list up of the labels declared in the > UDT and this reminded me of the dot notation of a class displaying only > the list of items defined within the class being used, so I started to > think that UDT could be handled as a special class. So in the following > example.. > > TYPE CustomerTypes > Staff AS INTEGER = 1 > Student AS Integer = 2 > SeniorCitizen AS INTEGER = 3 > Retail AS INTEGER = 4 > Cash AS Integer = 5 > END TYPE > > PRIVATE SUB ShowCustomer (Customer AS CustomerType) > SELECT CASE Customer > CASE Staff > message.info("Staff") > CASE Student > message.info("Student") > CASE SeniorCitizen > message.info("Senior Citizen") > CASE Retail > message.info("Retail") > END SELECT > End Sub > > PRIVATE SUB DisplayCustomerTypes > MyFunction(Staff) > MyFunction(Student) > Myfunction(Cash) > END SUB > > Or something along those lines (haven't used VB for quite awhile.. > syntax may be all wrong.. my appologies). > Anyway, the point is to abstract the values out as readable words so > as soon as the programmer types 'ShowCustomer(' the IDE would seek out > the datatype for the parameter and if it is a UDT, present a list of the > labels (but not their values) used for each item in the UDT. > > Another Nice To Have is the ability to use different fonts localized > within controls. For example, the application I am putting together > right now uses frames to group the interface into logical working > components for the user, the end user would like one frame to have it's > caption slightly larger and in boldface. When I did this in the frames' > properties all of the fonts on the form changed (which I totally did not > expect). > Keep up the good work... > > Steve :) > Because a control inherits the font of its parent by default. You can use a Panel with Border property set to Etched, and put a Label *on* the Panel, but not *inside*. Regards, -- Benoit Minisini From gambas at ...1... Sat Aug 5 16:57:54 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 Aug 2006 16:57:54 +0200 Subject: [Gambas-user] floating point and single datatype precision... In-Reply-To: <44D41E88.4080107@...981...> References: <44D3E03A.2080102@...981...> <200608050110.13774.sirfabien@...626...> <44D41E88.4080107@...981...> Message-ID: <200608051657.54296.gambas@...1...> On Saturday 05 August 2006 06:28, sbungay wrote: > Um... yeah... right... > So exactly HOW does the storage mechanism work such that it returns an > incorrect result? If one was to store the value 22.79 into a variable of > type single in C would one expect it to return a value other than 22.79? > This means variables of type single and float can not be relied upon to > return the value we store to them. IMHO that is not a good thing. > Because 22.79 is not writeable in binay, exactly like 1/3 in decimal. The problem comes from the fact that by default transforming Single into Double asks for more digit than the a Single can store. You must round the number with Round() or Format() before printing it. Maybe I should use less digit when converting a Single into String, and keep the all precision only with Float. I will see... Regards, -- Benoit Minisini From gambas at ...1... Sat Aug 5 17:00:05 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 Aug 2006 17:00:05 +0200 Subject: [Gambas-user] Help on web unreadable. In-Reply-To: <200608051252.19747.ronstk@...239...> References: <200608051252.19747.ronstk@...239...> Message-ID: <200608051700.05682.gambas@...1...> On Saturday 05 August 2006 12:52, Ron Onstenk wrote: > Nice to use stylesheet for the pages. > I was looking up at http://gambasdoc.org/help/lang/format > and found some white bars ? > Using the mouse and selecting a part of the page give a suprise. > See attached screen shot. > > ColorBlind in black/white or MonoBlind in Red/Green/Blue that is the > question. > > Ron You must hit "Refresh" to make things more readable. -- Benoit Minisini From ronstk at ...239... Sat Aug 5 17:03:01 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 5 Aug 2006 17:03:01 +0200 Subject: [Gambas-user] Feature request... In-Reply-To: <200608051651.08215.gambas@...1...> References: <44D26E45.8030403@...981...> <200608041104.13071.ronstk@...239...> <200608051651.08215.gambas@...1...> Message-ID: <200608051703.02342.ronstk@...239...> On Saturday 05 August 2006 16:51, Benoit Minisini wrote: > And what about copy & paste than can transform editor contents in anything > other? > > Your solution seems not a real one for me. Too much complex! Yes and that is bad. I use now the same method as is on the menubar already. Add simple as buddy into the code a insert for the items in the list. > > Maybe a timer that is started at each keystroke, so that after for example ten > seconds of no keystroke, all lists are updated. They are of course updated > when needed as before. Thanks for the hint. > Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From gambas at ...1... Sat Aug 5 17:08:28 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 Aug 2006 17:08:28 +0200 Subject: [Gambas-user] New editor theme In-Reply-To: <200608051535.59562.sirfabien@...626...> References: <200608051535.59562.sirfabien@...626...> Message-ID: <200608051708.28723.gambas@...1...> On Saturday 05 August 2006 15:35, Fabien Bodard wrote: > hi to all > This is a theme for gtk/ubuntu environement based on brown at the place of > blue. I give the name of amber to this theme. > > > You can use it by openning the option windows and select the color tabs and > then use the open button ... and select it. > > > Regards, > Fabien I took it, and slightly modified it so that line numbers and highlighted brackets are more readable. Regards, -- Benoit Minisini From ronstk at ...239... Sat Aug 5 17:14:20 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 5 Aug 2006 17:14:20 +0200 Subject: [Gambas-user] Help on web unreadable. In-Reply-To: <200608051700.05682.gambas@...1...> References: <200608051252.19747.ronstk@...239...> <200608051700.05682.gambas@...1...> Message-ID: <200608051714.21047.ronstk@...239...> On Saturday 05 August 2006 17:00, Benoit Minisini wrote: > On Saturday 05 August 2006 12:52, Ron Onstenk wrote: > > Nice to use stylesheet for the pages. > > I was looking up at http://gambasdoc.org/help/lang/format > > and found some white bars ? > > Using the mouse and selecting a part of the page give a suprise. > > See attached screen shot. > > > > ColorBlind in black/white or MonoBlind in Red/Green/Blue that is the > > question. > > > > Ron > > You must hit "Refresh" to make things more readable. > Hu??? only to forget the corrent stylesheet because you updated it. Yes than it can help. I just did go to the page and now the whites are blue to and all readable. Did go to http://gambasdoc.org/help/cat/constant Same white problem! Refresh does not change it. Hardcoded. :) I will rest in peace, Ron -- The only bug free software from RoSoft is still shrink-wrapped in my warehouse... From gambas at ...1... Sat Aug 5 17:28:26 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 Aug 2006 17:28:26 +0200 Subject: [Gambas-user] Help on web unreadable. In-Reply-To: <200608051714.21047.ronstk@...239...> References: <200608051252.19747.ronstk@...239...> <200608051700.05682.gambas@...1...> <200608051714.21047.ronstk@...239...> Message-ID: <200608051728.26670.gambas@...1...> On Saturday 05 August 2006 17:14, Ron Onstenk wrote: > On Saturday 05 August 2006 17:00, Benoit Minisini wrote: > > On Saturday 05 August 2006 12:52, Ron Onstenk wrote: > > > Nice to use stylesheet for the pages. > > > I was looking up at http://gambasdoc.org/help/lang/format > > > and found some white bars ? > > > Using the mouse and selecting a part of the page give a suprise. > > > See attached screen shot. > > > > > > ColorBlind in black/white or MonoBlind in Red/Green/Blue that is the > > > question. > > > > > > Ron > > > > You must hit "Refresh" to make things more readable. > > Hu??? > only to forget the corrent stylesheet because you updated it. > Yes than it can help. > I just did go to the page and now the whites are blue to > and all readable. > > Did go to http://gambasdoc.org/help/cat/constant > Same white problem! > Refresh does not change it. > > >
gb. NULL value
> > Hardcoded. :) > > I will rest in peace, > > Ron Not the Refresh button of the browser, but the "Refresh" link inside the web page. -- Benoit Minisini From ronstk at ...239... Sat Aug 5 17:25:04 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 5 Aug 2006 17:25:04 +0200 Subject: [Gambas-user] New editor theme In-Reply-To: <200608051535.59562.sirfabien@...626...> References: <200608051535.59562.sirfabien@...626...> Message-ID: <200608051725.04311.ronstk@...239...> On Saturday 05 August 2006 15:35, Fabien Bodard wrote: > hi to all > This is a theme for gtk/ubuntu environement based on brown at the place of > blue. I give the name of amber to this theme. > > > You can use it by openning the option windows and select the color tabs and > then use the open button ... and select it. > > > Regards, > Fabien > Looks not bad Fabien. The old Dark (black back) is still my most favourite but this one goes to second. (only the 'Editing line' set to D0C09C) Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From joe1962 at ...626... Sat Aug 5 17:29:02 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Sat, 5 Aug 2006 11:29:02 -0400 Subject: [Gambas-user] New editor theme In-Reply-To: <200608051725.04311.ronstk@...239...> References: <200608051535.59562.sirfabien@...626...> <200608051725.04311.ronstk@...239...> Message-ID: <6c208f950608050829o1f740c19ld9169f0d7baa379a@...627...> On 8/5/06, Ron Onstenk wrote: > > The old Dark (black back) is still my most favourite but this > one goes to second. (only the 'Editing line' set to D0C09C) > Mine too, but it seems missing in 1.9.36!!! Regards, Joe1962 From ronstk at ...239... Sat Aug 5 18:44:15 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 5 Aug 2006 18:44:15 +0200 Subject: [Gambas-user] Help on web unreadable. In-Reply-To: <200608051728.26670.gambas@...1...> References: <200608051252.19747.ronstk@...239...> <200608051714.21047.ronstk@...239...> <200608051728.26670.gambas@...1...> Message-ID: <200608051844.15410.ronstk@...239...> On Saturday 05 August 2006 17:28, Benoit Minisini wrote: > > Ron > > Not the Refresh button of the browser, but the "Refresh" link inside the web > page. > > -- > Benoit Minisini > Oops, not realy comphort :) It did help on that page. but http://gambasdoc.org/help/comp/gb.qt/listview/current?refresh does not correct PROPERTY READ Current AS .ListViewItem .ListViewItem is pure white on almost pure white.? the url links are in the almost white everywhere. Those stupid help readers are never satisfied :) :) :) Ron -- The only bug free html page from Benoit is still shrink-wrapped in his warehouse... :====) From gambas at ...1... Sat Aug 5 19:48:39 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 Aug 2006 19:48:39 +0200 Subject: [Gambas-user] Help on web unreadable. In-Reply-To: <200608051844.15410.ronstk@...239...> References: <200608051252.19747.ronstk@...239...> <200608051728.26670.gambas@...1...> <200608051844.15410.ronstk@...239...> Message-ID: <200608051948.39273.gambas@...1...> On Saturday 05 August 2006 18:44, Ron Onstenk wrote: > On Saturday 05 August 2006 17:28, Benoit Minisini wrote: > > > Ron > > > > Not the Refresh button of the browser, but the "Refresh" link inside the > > web page. > > > > -- > > Benoit Minisini > > Oops, not realy comphort :) > It did help on that page. > but http://gambasdoc.org/help/comp/gb.qt/listview/current?refresh > does not correct > PROPERTY READ Current AS .ListViewItem > > .ListViewItem is pure white on almost pure white.? > > the url links are in the almost white everywhere. > > Those stupid help readers are never satisfied :) :) :) > > Ron Fixed. -- Benoit Minisini From stefanopalmeri at ...152... Sun Aug 6 05:07:05 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Sun, 6 Aug 2006 05:07:05 +0200 Subject: [Gambas-user] a bug(?) that crashes Gambas 1.9.36 In-Reply-To: <200608041553.30273.stefanopalmeri@...152...> References: <200608041553.30273.stefanopalmeri@...152...> Message-ID: <200608060507.05543.stefanopalmeri@...152...> Alle 15:53, venerd? 4 agosto 2006, hai scritto: > > Hi, Benoit. > > I found a bug(?) in the Search & Replace tool that > crashes Gambas 1.9.36. > > To reproduce the bug do the following: > > 1) Copy this text in a project. > > PUBLIC SUB Main() > > DIM sAll AS String > DIM sAllspaced AS String > > sAll = "doremifasollasido" > sAllspaced = "do re mi fa sol la si do" > > END > > 2) Open the Search & Replace panel. Toggle "Word only" on. > > 3) Do a "Find previous" (pay attention to the inverted icons) search for the > word "do". > > After two or three click on "Find previous", Gambas2 will crash. > > No problem with "Find next". > No problem with "Find previous" and "Word only" toggled off. > > Regards, > > Stefano Palmeri > Hi, all. Hi, Benoit. Please, could someone confirm that is a bug or it happens only on my system? Thanks. Regards, Stefano Palmeri From mike-nought at ...17... Sun Aug 6 07:49:26 2006 From: mike-nought at ...17... (mike-nought at ...17...) Date: Sun, 6 Aug 2006 07:49:26 +0200 Subject: [Gambas-user] #11 and a bug in the editor Message-ID: <200608060749.26803.mike-nought@...17...> Hi Benoit, hi all. I am currently writing a quite large project (an ID3-Tagger) with the development version and discovered Gambas not to behave as it should at two points. Here is the function I wanted to use for merging several objects (of the same type), keeping those values which are same and resetting all others: PUBLIC FUNCTION merge(values AS Object[]) AS Object DIM o AS Object DIM i AS Variant DIM x AS Boolean DIM result AS Object DIM t AS String DIM v1 AS Variant DIM v2 AS Variant IF values.Count = 0 THEN RETURN NULL t = Object.Type(values[0]) ' (1) this SELECT CASE should be replacable with result=New(t) SELECT CASE t CASE "CMPEGHeader" result = NEW CMPEGHeader CASE "CTag" result = NEW CTag CASE "CTagv1" result = NEW CTagv1 CASE "CTagv2" result = NEW CTagv2 END SELECT FOR EACH i IN Classes[t].Symbols FOR EACH o IN values IF NOT x THEN TRY Object.SetProperty(result, i, Object.GetProperty(o, i)) x = TRUE ELSE v1 = NULL v2 = NULL TRY v1 = Object.GetProperty(result, i) TRY v2 = Object.GetProperty(o, i) IF NOT (v1 = v2) THEN TRY Object.SetProperty(result, i, "") END IF END IF NEXT ' (2) interpreter jumps here after RETURN x = FALSE NEXT RETURN result END I marked the location of both bugs(?) with (1) and (2). (1): Here a new instance of the type of the passed objects should be created, which was formerly possible through result=New(t) in this case. But now this doesn't work anymore, because the editor replaces New([...]) with NEW ([...]) which I cannot use here. (2): This is an interesting bug. It causes a #11-error during runtime. Debugging this function stepwise, I discovered that everything works nicely until RETURN is reached. Instead of now returning the stuff, the Interpreter jumps back to the first NEXT (which I marked above), producing this #11-error. I don't know, if this bug is reproducable in any project, is anyone able to reproduce it? If not, I'll send you my application. Regards, Franz P.S. I'm from germany, please forgive me my bad english. From rohnny at ...1248... Sun Aug 6 08:06:34 2006 From: rohnny at ...1248... (R. Stormo) Date: Sat, 5 Aug 2006 23:06:34 -0700 (PDT) Subject: [Gambas-user] a bug(?) that crashes Gambas 1.9.36 In-Reply-To: <200608060507.05543.stefanopalmeri@...152...> References: <200608041553.30273.stefanopalmeri@...152...> <200608060507.05543.stefanopalmeri@...152...> Message-ID: <5670326.post@...1379...> No error or crash on my system. Go round from 1 to last or last 2 first. -- R. Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/a-bug%28-%29-that-crashes-Gambas-1.9.36-tf2052191.html#a5670326 Sent from the gambas-user forum at Nabble.com. From gambas at ...1... Sun Aug 6 08:54:05 2006 From: gambas at ...1... (Benoit Minisini) Date: Sun, 6 Aug 2006 08:54:05 +0200 Subject: [Gambas-user] #11 and a bug in the editor In-Reply-To: <200608060749.26803.mike-nought@...17...> References: <200608060749.26803.mike-nought@...17...> Message-ID: <200608060854.05692.gambas@...1...> On Sunday 06 August 2006 07:49, mike-nought at ...17... wrote: > Hi Benoit, hi all. > > I am currently writing a quite large project (an ID3-Tagger) with the > development version and discovered Gambas not to behave as it should at two > points. Here is the function I wanted to use for merging several objects > (of the same type), keeping those values which are same and resetting all > others: > > PUBLIC FUNCTION merge(values AS Object[]) AS Object > > DIM o AS Object > DIM i AS Variant > DIM x AS Boolean > DIM result AS Object > DIM t AS String > DIM v1 AS Variant > DIM v2 AS Variant > > IF values.Count = 0 THEN RETURN NULL > t = Object.Type(values[0]) > > ' (1) this SELECT CASE should be replacable with result=New(t) > SELECT CASE t > CASE "CMPEGHeader" > result = NEW CMPEGHeader > CASE "CTag" > result = NEW CTag > CASE "CTagv1" > result = NEW CTagv1 > CASE "CTagv2" > result = NEW CTagv2 > END SELECT > > FOR EACH i IN Classes[t].Symbols > FOR EACH o IN values > IF NOT x THEN > TRY Object.SetProperty(result, i, Object.GetProperty(o, i)) > x = TRUE > ELSE > v1 = NULL > v2 = NULL > TRY v1 = Object.GetProperty(result, i) > TRY v2 = Object.GetProperty(o, i) > IF NOT (v1 = v2) THEN > TRY Object.SetProperty(result, i, "") > END IF > END IF > NEXT ' (2) interpreter jumps here after RETURN > x = FALSE > NEXT > > RETURN result > > END > > I marked the location of both bugs(?) with (1) and (2). > > (1): Here a new instance of the type of the passed objects should be > created, which was formerly possible through result=New(t) in this case. > But now this doesn't work anymore, because the editor replaces New([...]) > with NEW ([...]) which I cannot use here. > > (2): This is an interesting bug. It causes a #11-error during runtime. > Debugging this function stepwise, I discovered that everything works nicely > until RETURN is reached. Instead of now returning the stuff, the > Interpreter jumps back to the first NEXT (which I marked above), producing > this #11-error. > > I don't know, if this bug is reproducable in any project, is anyone able to > reproduce it? If not, I'll send you my application. > > Regards, > Franz > > P.S. I'm from germany, please forgive me my bad english. Please send the application (not on the mailing-list, directly to me). This way, I will be able to debug! Regards, -- Benoit Minisini From gambas at ...1... Sun Aug 6 09:31:40 2006 From: gambas at ...1... (Benoit Minisini) Date: Sun, 6 Aug 2006 09:31:40 +0200 Subject: [Gambas-user] a bug(?) that crashes Gambas 1.9.36 In-Reply-To: <200608041553.30273.stefanopalmeri@...152...> References: <200608041553.30273.stefanopalmeri@...152...> Message-ID: <200608060931.40819.gambas@...1...> On Friday 04 August 2006 15:53, Stefano Palmeri wrote: > Hi, Benoit. > > I found a bug(?) in the Search & Replace tool that > crashes Gambas 1.9.36. > > To reproduce the bug do the following: > > 1) Copy this text in a project. > > PUBLIC SUB Main() > > DIM sAll AS String > DIM sAllspaced AS String > > sAll = "doremifasollasido" > sAllspaced = "do re mi fa sol la si do" > > END > > 2) Open the Search & Replace panel. Toggle "Word only" on. > > 3) Do a "Find previous" (pay attention to the inverted icons) search for > the word "do". > > After two or three click on "Find previous", Gambas2 will crash. > > No problem with "Find next". > No problem with "Find previous" and "Word only" toggled off. > > Regards, > > Stefano Palmeri > > I confirm. It didn't crash for me, but freezed. I fixed it! -- Benoit Minisini From gambas at ...1... Sun Aug 6 20:01:28 2006 From: gambas at ...1... (Benoit Minisini) Date: Sun, 6 Aug 2006 20:01:28 +0200 Subject: [Gambas-user] Release of gambas 1.9.37 Message-ID: <200608062001.28611.gambas@...1...> Hi, Here is a release that should make Gnome users happy, as now the Development Environment uses GNOME icons on GNOME, and KDE icons on KDE. The Stock class makes this possible. This feature is experimental, and so may not work correctly on your system. The reason is that, if KDE icon paths are detected by using the 'kde-config' tool and follow the KDE theme, GNOME icon paths are hardcoded and do not follow the GNOME theme. The Stock class looks for GNOME icons in the following folders: - /usr/share/icons/gnome - /opt/gnome - /usr/share/icons/hicolor If your icons are not installed there, tell me, I will add your path. And if somebody knows how to get the current GNOME icon theme without the GNOME libraries, I'd like to have the information! :-) Another point: gb.gtk does not support this feature at the moment. Daniel Campos is in holidays. Maybe I will make a gb.form.stock component independent of gb.qt and gb.gtk in the future. Otherwise, the project creation dialog has been redesigned, in the aim of being less cluttered, and a crashing bug has been fixed in the interpreter too. Here is the full ChangeLog: --8<--------------------------------------------------------------------------- DEVELOPMENT ENVIRONMENT * NEW: Almost all icons now come from the stock. The development environment now takes a GNOME look when running under GNOME. * BUG: Automatic insertion of property handlers now correctly deals with static properties. * BUG: CTRL+Up and CTRL+Down work again. * BUG: Search backward does not freeze the IDE anymore. * BUG: Arranging buttons in the form editor do not crash the IDE anymore. * BUG: Some unneeded process was removed when inserting a new file in the project. * NEW: Now project source files can only be put in the project root directory. * NEW: The project creation dialog has been redesigned. * NEW: The menu editor is now resizable. * NEW: The icon selector has been redesigned. But this is not the final version! * NEW: A new highlight theme made by Fabien Bodard, 'amber'. * BUG: Color buttons in the option dialog now should be visible with any widget theme. * BUG: Find previous and find next buttons are at the good place now. * BUG: Saving translation now waits for the completion of the 'msgfmt' command. * NEW: CVS directories are now automatically hidden. DATABASE MANAGER * NEW: The databaser manager starts using stock icons. INTERPRETER * BUG: The error message displayed when accessing an unknown object symbol has been fixed. * BUG: Byte order and end of line character are now correctly initialized when opening a file inside an archive. * BUG: Static arrays should not be freed twice and so crash the interpreter anymore. COMPILER * NEW: Now project source files are compiled only if they are located in the project root directory. GB.QT COMPONENT * NEW: The Stock class has been redesigned and completed. * NEW: Stock.List returns the list of all stock icon names. * NEW: Application.Theme is a new property that stores the application theme. This property is used, for example, by the Stock class to choose which icon theme should be displayed. * NEW: ToggleButton.Radio is a new boolean property that makes it behave like a RadioButton when it is set. * NEW: When loading an image, the component looks before for an image with the same basename, but with an underscore followed by the current application theme added. For example, if Application.Theme is "gnome", and if you load the "flower.png" image, then a "flower_gnome.png" will be loaded instead if it exits. * BUG: Label autoresize was enabled again. * NEW: ListBox, ListView, TreeView and ColumnView events are now dispatched immediately if the selection mode is "Single". * NEW: Message boxes now follow the application theme. * BUG: When the application is uniconified, the focus correctly returns to the correct form, and not always to the main window. GB.QT.EXT COMPONENT * BUG: Editor.GetPurgedLine() now correctly deals with quoted string characters. * NEW: A margin was added between line numbers and text in the editor. GB.FORM COMPONENT * NEW: DirChooser and FileChooser now raise an Icon event that allows to change the icon displayed for each file. The icon must be stored in the new Icon property inside the Icon event handler. * BUG: A potential crash in DirChooser and FileChooser has been fixed. * NEW: FileChooser.SelectedPath property is now writable. * NEW: Wizard.ShowTitle is a property that allows to hide the wizard title. GB.DB COMPONENT * NEW: The gb.db.sqlite driver was renamed as gb.db.sqlite3. * NEW: A new gb.db.sqlite pseudo-driver had been created that automatically switches between gb.db.sqlite2 and gb.db.sqlite3 as needed. * NEW: Field names are systematically quoted when using Find and Edit methods. --8<--------------------------------------------------------------------------- Enjoy it! -- Benoit Minisini From gambas at ...1... Sun Aug 6 20:07:53 2006 From: gambas at ...1... (Benoit Minisini) Date: Sun, 6 Aug 2006 20:07:53 +0200 Subject: [Gambas-user] #11 and a bug in the editor In-Reply-To: <200608060749.26803.mike-nought@...17...> References: <200608060749.26803.mike-nought@...17...> Message-ID: <200608062007.53789.gambas@...1...> On Sunday 06 August 2006 07:49, mike-nought at ...17... wrote: > Hi Benoit, hi all. > > I am currently writing a quite large project (an ID3-Tagger) with the > development version and discovered Gambas not to behave as it should at two > points. Here is the function I wanted to use for merging several objects > (of the same type), keeping those values which are same and resetting all > others: > > PUBLIC FUNCTION merge(values AS Object[]) AS Object > > DIM o AS Object > DIM i AS Variant > DIM x AS Boolean > DIM result AS Object > DIM t AS String > DIM v1 AS Variant > DIM v2 AS Variant > > IF values.Count = 0 THEN RETURN NULL > t = Object.Type(values[0]) > > ' (1) this SELECT CASE should be replacable with result=New(t) > SELECT CASE t > CASE "CMPEGHeader" > result = NEW CMPEGHeader > CASE "CTag" > result = NEW CTag > CASE "CTagv1" > result = NEW CTagv1 > CASE "CTagv2" > result = NEW CTagv2 > END SELECT > > FOR EACH i IN Classes[t].Symbols > FOR EACH o IN values > IF NOT x THEN > TRY Object.SetProperty(result, i, Object.GetProperty(o, i)) > x = TRUE > ELSE > v1 = NULL > v2 = NULL > TRY v1 = Object.GetProperty(result, i) > TRY v2 = Object.GetProperty(o, i) > IF NOT (v1 = v2) THEN > TRY Object.SetProperty(result, i, "") > END IF > END IF > NEXT ' (2) interpreter jumps here after RETURN > x = FALSE > NEXT > > RETURN result > > END > > I marked the location of both bugs(?) with (1) and (2). > > (1): Here a new instance of the type of the passed objects should be > created, which was formerly possible through result=New(t) in this case. > But now this doesn't work anymore, because the editor replaces New([...]) > with NEW ([...]) which I cannot use here. > I get it :-) This is not a bug, just the way the editor rewrites your code. But it works! The rule is that if there are brackets after NEW or New (Gambas language is not case sensitive), then the class name is dynamic. Otherwise it is static. Regards, -- Benoit Minisini From mike-nought at ...17... Sun Aug 6 21:10:58 2006 From: mike-nought at ...17... (mike-nought at ...17...) Date: Sun, 6 Aug 2006 21:10:58 +0200 Subject: [Gambas-user] #11 and a bug in the editor In-Reply-To: <200608062007.53789.gambas@...1...> References: <200608060749.26803.mike-nought@...17...> <200608062007.53789.gambas@...1...> Message-ID: <200608062110.58215.mike-nought@...17...> Am Sonntag, 6. August 2006 20:07 schrieb Benoit Minisini: > On Sunday 06 August 2006 07:49, mike-nought at ...17... wrote: > > Hi Benoit, hi all. > > > > I am currently writing a quite large project (an ID3-Tagger) with the > > development version and discovered Gambas not to behave as it should at > > two points. Here is the function I wanted to use for merging several > > objects (of the same type), keeping those values which are same and > > resetting all others: > > > > PUBLIC FUNCTION merge(values AS Object[]) AS Object > > > > DIM o AS Object > > DIM i AS Variant > > DIM x AS Boolean > > DIM result AS Object > > DIM t AS String > > DIM v1 AS Variant > > DIM v2 AS Variant > > > > IF values.Count = 0 THEN RETURN NULL > > t = Object.Type(values[0]) > > > > ' (1) this SELECT CASE should be replacable with result=New(t) > > SELECT CASE t > > CASE "CMPEGHeader" > > result = NEW CMPEGHeader > > CASE "CTag" > > result = NEW CTag > > CASE "CTagv1" > > result = NEW CTagv1 > > CASE "CTagv2" > > result = NEW CTagv2 > > END SELECT > > > > FOR EACH i IN Classes[t].Symbols > > FOR EACH o IN values > > IF NOT x THEN > > TRY Object.SetProperty(result, i, Object.GetProperty(o, i)) > > x = TRUE > > ELSE > > v1 = NULL > > v2 = NULL > > TRY v1 = Object.GetProperty(result, i) > > TRY v2 = Object.GetProperty(o, i) > > IF NOT (v1 = v2) THEN > > TRY Object.SetProperty(result, i, "") > > END IF > > END IF > > NEXT ' (2) interpreter jumps here after RETURN > > x = FALSE > > NEXT > > > > RETURN result > > > > END > > > > I marked the location of both bugs(?) with (1) and (2). > > > > (1): Here a new instance of the type of the passed objects should be > > created, which was formerly possible through result=New(t) in this case. > > But now this doesn't work anymore, because the editor replaces New([...]) > > with NEW ([...]) which I cannot use here. > > I get it :-) This is not a bug, just the way the editor rewrites your code. > But it works! > > The rule is that if there are brackets after NEW or New (Gambas language is > not case sensitive), then the class name is dynamic. Otherwise it is > static. > > Regards, Yeah, sorry for the double-mail, I recognized this just now as well :/. Perhaps the documentation should be altered, to comply with the code-changes the editor makes? Any news about the #11-bug? Regards, Franz From leonardo at ...1237... Sun Aug 6 22:36:36 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Sun, 06 Aug 2006 22:36:36 +0200 Subject: [Gambas-user] Release of gambas 1.9.37 In-Reply-To: <200608062001.28611.gambas@...1...> References: <200608062001.28611.gambas@...1...> Message-ID: <44D652D4.2000101@...1237...> Benoit Minisini ha scritto: > Hi, > > Here is a release that should make Gnome users happy, as now the Development > Environment uses GNOME icons on GNOME, and KDE icons on KDE. > > The Stock class makes this possible. > > This feature is experimental, and so may not work correctly on your system. > The reason is that, if KDE icon paths are detected by using the 'kde-config' > tool and follow the KDE theme, GNOME icon paths are hardcoded and do not > follow the GNOME theme. > > The Stock class looks for GNOME icons in the following folders: > - /usr/share/icons/gnome > - /opt/gnome > - /usr/share/icons/hicolor > > If your icons are not installed there, tell me, I will add your path. > > And if somebody knows how to get the current GNOME icon theme without the > GNOME libraries, I'd like to have the information! :-) > > Another point: gb.gtk does not support this feature at the moment. Daniel > Campos is in holidays. Maybe I will make a gb.form.stock component > independent of gb.qt and gb.gtk in the future. > > Otherwise, the project creation dialog has been redesigned, in the aim of > being less cluttered, and a crashing bug has been fixed in the interpreter > too. > > Here is the full ChangeLog: > > --8<--------------------------------------------------------------------------- > > DEVELOPMENT ENVIRONMENT > > * NEW: Almost all icons now come from the stock. The development > environment now takes a GNOME look when running under GNOME. > * BUG: Automatic insertion of property handlers now correctly deals with > static properties. > * BUG: CTRL+Up and CTRL+Down work again. > * BUG: Search backward does not freeze the IDE anymore. > * BUG: Arranging buttons in the form editor do not crash the IDE anymore. > * BUG: Some unneeded process was removed when inserting a new file in the > project. > * NEW: Now project source files can only be put in the project root > directory. > * NEW: The project creation dialog has been redesigned. > * NEW: The menu editor is now resizable. > * NEW: The icon selector has been redesigned. But this is not the final > version! > * NEW: A new highlight theme made by Fabien Bodard, 'amber'. > * BUG: Color buttons in the option dialog now should be visible with any > widget theme. > * BUG: Find previous and find next buttons are at the good place now. > * BUG: Saving translation now waits for the completion of the 'msgfmt' > command. > * NEW: CVS directories are now automatically hidden. > > DATABASE MANAGER > > * NEW: The databaser manager starts using stock icons. > > INTERPRETER > > * BUG: The error message displayed when accessing an unknown object symbol > has been fixed. > * BUG: Byte order and end of line character are now correctly initialized > when opening a file inside an archive. > * BUG: Static arrays should not be freed twice and so crash the > interpreter anymore. > > COMPILER > > * NEW: Now project source files are compiled only if they are located in > the project root directory. > > GB.QT COMPONENT > > * NEW: The Stock class has been redesigned and completed. > * NEW: Stock.List returns the list of all stock icon names. > * NEW: Application.Theme is a new property that stores the application > theme. This property is used, for example, by the Stock class to choose > which icon theme should be displayed. > * NEW: ToggleButton.Radio is a new boolean property that makes it behave > like a RadioButton when it is set. > * NEW: When loading an image, the component looks before for an image with > the same basename, but with an underscore followed by the current > application theme added. For example, if Application.Theme is "gnome", > and if you load the "flower.png" image, then a "flower_gnome.png" will be > loaded instead if it exits. > * BUG: Label autoresize was enabled again. > * NEW: ListBox, ListView, TreeView and ColumnView events are now dispatched > immediately if the selection mode is "Single". > * NEW: Message boxes now follow the application theme. > * BUG: When the application is uniconified, the focus correctly returns to > the correct form, and not always to the main window. > > GB.QT.EXT COMPONENT > > * BUG: Editor.GetPurgedLine() now correctly deals with quoted string > characters. > * NEW: A margin was added between line numbers and text in the editor. > > GB.FORM COMPONENT > > * NEW: DirChooser and FileChooser now raise an Icon event that allows to > change the icon displayed for each file. The icon must be stored in the > new Icon property inside the Icon event handler. > * BUG: A potential crash in DirChooser and FileChooser has been fixed. > * NEW: FileChooser.SelectedPath property is now writable. > * NEW: Wizard.ShowTitle is a property that allows to hide the wizard title. > > GB.DB COMPONENT > > * NEW: The gb.db.sqlite driver was renamed as gb.db.sqlite3. > * NEW: A new gb.db.sqlite pseudo-driver had been created that automatically > switches between gb.db.sqlite2 and gb.db.sqlite3 as needed. > * NEW: Field names are systematically quoted when using Find and Edit > methods. > > --8<--------------------------------------------------------------------------- > > Enjoy it! > On my system (KDE 3.5.4 on Suse 10.1) I see all the icons... Benoit, you made a great work ;-) I like very much the new look of Gambas IDE... but I still to have the same problem with Gambas logo on splash screen: it seems on a background layer and the Gambas text on the left covers it (you can see this problem searching on the newsletter: I published a screenshot some days ago). -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From gambas at ...1... Sun Aug 6 23:35:04 2006 From: gambas at ...1... (Benoit Minisini) Date: Sun, 6 Aug 2006 23:35:04 +0200 Subject: [Gambas-user] Release of gambas 1.9.37 In-Reply-To: <44D652D4.2000101@...1237...> References: <200608062001.28611.gambas@...1...> <44D652D4.2000101@...1237...> Message-ID: <200608062335.05027.gambas@...1...> On Sunday 06 August 2006 22:36, Leonardo Miliani wrote: > > On my system (KDE 3.5.4 on Suse 10.1) I see all the icons... > Benoit, you made a great work ;-) > I like very much the new look of Gambas IDE... but I still to have the > same problem with Gambas logo on splash screen: it seems on a background > layer and the Gambas text on the left covers it (you can see this > problem searching on the newsletter: I published a screenshot some days > ago). Isn't it related to your default font size? What is your font size? What is the value of Desktop.Scale inside the IDE? -- Benoit Minisini From stefanopalmeri at ...152... Mon Aug 7 03:18:14 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Mon, 7 Aug 2006 03:18:14 +0200 Subject: [Gambas-user] Release of gambas 1.9.37 In-Reply-To: <200608062335.05027.gambas@...1...> References: <200608062001.28611.gambas@...1...> <44D652D4.2000101@...1237...> <200608062335.05027.gambas@...1...> Message-ID: <200608070318.15174.stefanopalmeri@...152...> Hi, Benoit. Just to tell you that 1.9.37 is great. I can see all icons with my KDE 3.4.2... Something about "Find next" and "Find previous" icons in Search & Replace panel: in my opinion their position should be inverted. Usually in media players we see the "skip back" icon on the left and the "skip forward" icon on the right. It seems to me more logical and user friendly, even if the Gambas IDE is not a media player :-) Regards, Stefano Palmeri From stefanopalmeri at ...152... Mon Aug 7 03:30:31 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Mon, 7 Aug 2006 03:30:31 +0200 Subject: [Gambas-user] gridview cell backcolor Message-ID: <200608070330.31970.stefanopalmeri@...152...> Hi, all. Is there a way to set the backcolor of a single cell in a GridView control? I tried to set a color using the Picture property, but the image overwrites the text. Benoit, is it possible to add this feature to the GridView control? I mean something like: GridView1[5,5].backcolor = &HFFFFFF& Regards, Stefano Palmeri From stefanopalmeri at ...152... Mon Aug 7 04:32:07 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Mon, 7 Aug 2006 04:32:07 +0200 Subject: [Gambas-user] message box icons oversized Message-ID: <200608070432.07499.stefanopalmeri@...152...> Hi, Benoit. It seems that now (1.9.37) the icons of message boxes are oversized or stretched too much... I don't know. Other KDE apps on my system display normal icons in message boxes. Saluti, Stefano -------------- next part -------------- A non-text attachment was scrubbed... Name: error.jpg Type: image/jpeg Size: 5527 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: info.jpg Type: image/jpeg Size: 3625 bytes Desc: not available URL: From sbungay at ...981... Mon Aug 7 05:33:56 2006 From: sbungay at ...981... (sbungay) Date: Sun, 06 Aug 2006 23:33:56 -0400 Subject: [Gambas-user] More Missing Icons... Message-ID: <44D6B4A4.9080407@...981...> Hi Benoit! Just installed the latest 1.9.37 and the missing icon problem gets worse. I now have most of the icons across the top of the main GAMBAS window missing. Lets see if we can resolve this. Where is Gambas looking for it'sa Icons? I am using FC5 kde-3.5.3-0.4. Result of $ kde-config --path icon is /root/.kde/share/icons/:/usr/share/icons . I've attached a screen shot of the IDE to illustrate the problem.. kind of difficult to do anything in a GUI when major graphical elements are missing :(. Steve. -------------- next part -------------- A non-text attachment was scrubbed... Name: MissingGUIElements.png Type: image/png Size: 159484 bytes Desc: not available URL: From leonardo at ...1237... Mon Aug 7 09:59:54 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Mon, 07 Aug 2006 09:59:54 +0200 Subject: [Gambas-user] Release of gambas 1.9.37 In-Reply-To: <200608062335.05027.gambas@...1...> References: <200608062001.28611.gambas@...1...> <44D652D4.2000101@...1237...> <200608062335.05027.gambas@...1...> Message-ID: <44D6F2FA.9000909@...1237...> Benoit Minisini ha scritto: > Isn't it related to your default font size? What is your font size? What is My KDE fonts are all set up at 10 pt (the default set from Suse), except for desktop, set up to 11 pt. In Gambas I have "Normal" as font size. > the value of Desktop.Scale inside the IDE? > ? I don't know which value you are asking me for... -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From leonardo at ...1237... Mon Aug 7 10:07:45 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Mon, 07 Aug 2006 10:07:45 +0200 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <44D6B4A4.9080407@...981...> References: <44D6B4A4.9080407@...981...> Message-ID: <44D6F4D1.3060309@...1237...> Just noticed right now that I have missing icons too.... Here is my Gambas IDE screenshot, where I marked the missing ones. This is the output of #kde-config --path icon: /root/.kde/share/icons/:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/ -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshot.jpg Type: image/jpeg Size: 19586 bytes Desc: not available URL: From gambas at ...1... Mon Aug 7 11:55:52 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 7 Aug 2006 11:55:52 +0200 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <44D6B4A4.9080407@...981...> References: <44D6B4A4.9080407@...981...> Message-ID: <200608071155.52337.gambas@...1...> On Monday 07 August 2006 05:33, sbungay wrote: > Hi Benoit! > Just installed the latest 1.9.37 and the missing icon problem gets > worse. I now have most of the icons across the top of the main GAMBAS > window missing. > Lets see if we can resolve this. Where is Gambas looking for it'sa > Icons? I am using FC5 kde-3.5.3-0.4. Result of $ kde-config --path icon > is /root/.kde/share/icons/:/usr/share/icons . > I've attached a screen shot of the IDE to illustrate the problem.. > kind of difficult to do anything in a GUI when major graphical elements > are missing :(. > > Steve. Do you have a "crystalsvg" directory in these directories? Otherwise do you have a "default" directory? -- Benoit Minisini From gambas at ...1... Mon Aug 7 11:57:31 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 7 Aug 2006 11:57:31 +0200 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <44D6F4D1.3060309@...1237...> References: <44D6B4A4.9080407@...981...> <44D6F4D1.3060309@...1237...> Message-ID: <200608071157.31641.gambas@...1...> On Monday 07 August 2006 10:07, Leonardo Miliani wrote: > Just noticed right now that I have missing icons too.... > Here is my Gambas IDE screenshot, where I marked the missing ones. > This is the output of #kde-config --path icon: > /root/.kde/share/icons/:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/ Tell me what icon directories you have inside these directories. And you too, you are using your GUI as root!? Don't do that! -- Benoit Minisini From gambas at ...1... Mon Aug 7 12:01:58 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 7 Aug 2006 12:01:58 +0200 Subject: [Gambas-user] message box icons oversized In-Reply-To: <200608070432.07499.stefanopalmeri@...152...> References: <200608070432.07499.stefanopalmeri@...152...> Message-ID: <200608071201.58954.gambas@...1...> On Monday 07 August 2006 04:32, Stefano Palmeri wrote: > Hi, Benoit. > > It seems that now (1.9.37) the icons of message boxes are > oversized or stretched too much... I don't know. > Other KDE apps on my system display normal icons in message > boxes. > > Saluti, > > Stefano They are bigger. I am short-sighted :-) I will switch them to their old sizes. Regards, -- Benoit Minisini From gambas at ...1... Mon Aug 7 12:03:17 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 7 Aug 2006 12:03:17 +0200 Subject: [Gambas-user] gridview cell backcolor In-Reply-To: <200608070330.31970.stefanopalmeri@...152...> References: <200608070330.31970.stefanopalmeri@...152...> Message-ID: <200608071203.17737.gambas@...1...> On Monday 07 August 2006 03:30, Stefano Palmeri wrote: > Hi, all. > > Is there a way to set the backcolor > of a single cell in a GridView control? > I tried to set a color using the Picture > property, but the image overwrites the text. > > Benoit, is it possible to add this feature to the > GridView control? > > I mean something like: > > GridView1[5,5].backcolor = &HFFFFFF& > > Regards, > > Stefano Palmeri > For that you can use a TableView instead. A merge between GridView and TableView is planned in the future. Regards, -- Benoit Minisini From gambas at ...1... Mon Aug 7 12:19:01 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 7 Aug 2006 12:19:01 +0200 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <200608071155.52337.gambas@...1...> References: <44D6B4A4.9080407@...981...> <200608071155.52337.gambas@...1...> Message-ID: <200608071219.01266.gambas@...1...> On Monday 07 August 2006 11:55, Benoit Minisini wrote: > On Monday 07 August 2006 05:33, sbungay wrote: > > Hi Benoit! > > Just installed the latest 1.9.37 and the missing icon problem gets > > worse. I now have most of the icons across the top of the main GAMBAS > > window missing. > > Lets see if we can resolve this. Where is Gambas looking for it'sa > > Icons? I am using FC5 kde-3.5.3-0.4. Result of $ kde-config --path icon > > is /root/.kde/share/icons/:/usr/share/icons . > > I've attached a screen shot of the IDE to illustrate the problem.. > > kind of difficult to do anything in a GUI when major graphical elements > > are missing :(. > > > > Steve. > > Do you have a "crystalsvg" directory in these directories? Otherwise do you > have a "default" directory? Here is a new version of the Stock class that will print to the terminal its icon search path. To install it, let's suppose your gambas source path is ~/gambas2-1.9.37: 1) Copy the file into ~/gambas2-1.9.37/gb.qt/src/gb.qt/ 2) $ cd ~/gambas2-1.9.37/gb.qt/ 3) $ su -c "make install" (or just "make install" as it seems you are working as root!) Regards, -- Benoit Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: Stock.class Type: application/x-java Size: 4885 bytes Desc: not available URL: From gambas at ...1... Mon Aug 7 12:19:12 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 7 Aug 2006 12:19:12 +0200 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <44D6F4D1.3060309@...1237...> References: <44D6B4A4.9080407@...981...> <44D6F4D1.3060309@...1237...> Message-ID: <200608071219.12606.gambas@...1...> On Monday 07 August 2006 10:07, Leonardo Miliani wrote: > Just noticed right now that I have missing icons too.... > Here is my Gambas IDE screenshot, where I marked the missing ones. > This is the output of #kde-config --path icon: > /root/.kde/share/icons/:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/ Can you try the file I sent to Steve? -- Benoit Minisini From ronstk at ...239... Mon Aug 7 12:26:33 2006 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 7 Aug 2006 12:26:33 +0200 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <200608071155.52337.gambas@...1...> References: <44D6B4A4.9080407@...981...> <200608071155.52337.gambas@...1...> Message-ID: <200608071226.33920.ronstk@...239...> On Monday 07 August 2006 11:55, Benoit Minisini wrote: > On Monday 07 August 2006 05:33, sbungay wrote: > > Hi Benoit! > > Just installed the latest 1.9.37 and the missing icon problem gets > > worse. I now have most of the icons across the top of the main GAMBAS > > window missing. > > Lets see if we can resolve this. Where is Gambas looking for it'sa > > Icons? I am using FC5 kde-3.5.3-0.4. Result of $ kde-config --path icon > > is /root/.kde/share/icons/:/usr/share/icons . > > I've attached a screen shot of the IDE to illustrate the problem.. > > kind of difficult to do anything in a GUI when major graphical elements > > are missing :(. > > > > Steve. > > Do you have a "crystalsvg" directory in these directories? Otherwise do you > have a "default" directory? > @Benoit May be a user icon path in the gambas config file. Every user can set there path as the defaults internal in gambas not found. with a copy of the used paths in the project config file As the icon paths in compiled program are from '/root/.kde/' then compiled program is missing icons from /home/anyuser/.kde as the anyuser has access. The icons in ~/.kde are the ones the user did install or overrule the standard from kde. This will make it smarter to transfer compiled programs to all local boxes without every box need the IDE to compile hardcode paths are bad, you have experience with gnome ;) @sbungay /root/.kde/ greet to everyone, Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From gambas at ...1... Mon Aug 7 12:49:54 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 7 Aug 2006 12:49:54 +0200 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <200608071226.33920.ronstk@...239...> References: <44D6B4A4.9080407@...981...> <200608071155.52337.gambas@...1...> <200608071226.33920.ronstk@...239...> Message-ID: <200608071249.55043.gambas@...1...> On Monday 07 August 2006 12:26, Ron Onstenk wrote: > On Monday 07 August 2006 11:55, Benoit Minisini wrote: > > On Monday 07 August 2006 05:33, sbungay wrote: > > > Hi Benoit! > > > Just installed the latest 1.9.37 and the missing icon problem gets > > > worse. I now have most of the icons across the top of the main GAMBAS > > > window missing. > > > Lets see if we can resolve this. Where is Gambas looking for it'sa > > > Icons? I am using FC5 kde-3.5.3-0.4. Result of $ kde-config --path icon > > > is /root/.kde/share/icons/:/usr/share/icons . > > > I've attached a screen shot of the IDE to illustrate the problem.. > > > kind of difficult to do anything in a GUI when major graphical elements > > > are missing :(. > > > > > > Steve. > > > > Do you have a "crystalsvg" directory in these directories? Otherwise do > > you have a "default" directory? > > @Benoit > May be a user icon path in the gambas config file. > Every user can set there path as the defaults internal in gambas not found. > with a copy of the used paths in the project config file > > As the icon paths in compiled program are from '/root/.kde/' > then compiled program is missing icons from /home/anyuser/.kde > as the anyuser has access. > The icons in ~/.kde are the ones the user did install or overrule > the standard from kde. > > This will make it smarter to transfer compiled programs to > all local boxes without every box need the IDE to compile > hardcode paths are bad, you have experience with gnome ;) > > > @sbungay > /root/.kde/ > > greet to everyone, > > Ron As users generally can't know where their icons are, storing a path in a gambas config file is not a good idea. The way the Stock class searches for KDE icons is now correct. I just forgot to fall back to "crystalsvg", which is the default KDE icon theme. The correct version is in the Stock.class file I posted to this mailing-list. The problem with GNOME is that I don't know the way to get the icon directories, nor the theme currently used, so I hardcoded the paths. But this is temporary. Regards, -- Benoit Minisini From gambas at ...1... Mon Aug 7 14:25:21 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 7 Aug 2006 14:25:21 +0200 Subject: [Gambas-user] #11 and a bug in the editor In-Reply-To: <200608062110.58215.mike-nought@...17...> References: <200608060749.26803.mike-nought@...17...> <200608062007.53789.gambas@...1...> <200608062110.58215.mike-nought@...17...> Message-ID: <200608071425.22235.gambas@...1...> On Sunday 06 August 2006 21:10, mike-nought at ...17... wrote: > > Yeah, sorry for the double-mail, I recognized this just now as well :/. > Perhaps the documentation should be altered, to comply with the > code-changes the editor makes? > > Any news about the #11-bug? > > Regards, > Franz > Here is an interpreter patch that should fix the #11-bug. Regards, -- Benoit Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: gbx_exec.c Type: text/x-csrc Size: 28810 bytes Desc: not available URL: From buxaman at ...626... Mon Aug 7 14:22:48 2006 From: buxaman at ...626... (Fabricio Silva) Date: Mon, 7 Aug 2006 09:22:48 -0300 Subject: [Gambas-user] Characters with ~ or ' not saved correctly in MySQL Message-ID: This is a strange behavior the happens only if I save data in MySQL using gambas. For example using gambas the word "Goi?s" is stored "Goi??s" in database. Using phpmyadmin to insert data the word "Goi?s" is saved correctly. I'm using this code: .rs = .db.Exec("insert into employes values( ' " & txtname.text & " ',' " & txtaddress.Text & " ')") Am I forgeting something that I should tell gambas to do in order to save data? Or it uses the table definitions? I'm using SuSE 10.0 - MySQL4.1.13 - Gambas 1.9.35 - Collation of the table and fields: latin1_swedish_ci Fabricio -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Mon Aug 7 14:32:49 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 7 Aug 2006 14:32:49 +0200 Subject: [Gambas-user] Characters with ~ or ' not saved correctly in MySQL In-Reply-To: References: Message-ID: <200608071432.49430.gambas@...1...> On Monday 07 August 2006 14:22, Fabricio Silva wrote: > This is a strange behavior the happens only if I save data in MySQL using > gambas. For example using gambas the word "Goi?s" is stored "Goi??s" in > database. Using phpmyadmin to insert data the word "Goi?s" is saved > correctly. I'm using this code: > .rs = .db.Exec("insert into employes values( ' " & txtname.text & " > ',' " & txtaddress.Text & " ')") > > Am I forgeting something that I should tell gambas to do in order to save > data? Or it uses the table definitions? > I'm using SuSE 10.0 - MySQL4.1.13 - Gambas 1.9.35 - Collation of the table > and fields: latin1_swedish_ci > > > Fabricio Gambas uses UTF-8 charset. You must convert Gambas charset (Desktop.Charset) to database charset (Connection.Charset) with the Conv() function before inserting the data into the database. Regards, -- Benoit Minisini From gambas at ...1... Mon Aug 7 14:35:48 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 7 Aug 2006 14:35:48 +0200 Subject: [Gambas-user] Characters with ~ or ' not saved correctly in MySQL In-Reply-To: References: Message-ID: <200608071435.48400.gambas@...1...> On Monday 07 August 2006 14:22, Fabricio Silva wrote: > This is a strange behavior the happens only if I save data in MySQL using > gambas. For example using gambas the word "Goi?s" is stored "Goi??s" in > database. Using phpmyadmin to insert data the word "Goi?s" is saved > correctly. I'm using this code: > .rs = .db.Exec("insert into employes values( ' " & txtname.text & " > ',' " & txtaddress.Text & " ')") > Another point. Never insert something this way into the database, this is a true fortune for crackers. Gambas offers facilities to correctly quote strings inserted into a database: .db.Exec("insert into employes values(&1,&2)", txtName.Text, txtAddress.Text) Regards, -- Benoit Minisini From ronstk at ...239... Mon Aug 7 14:31:06 2006 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 7 Aug 2006 14:31:06 +0200 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <200608071249.55043.gambas@...1...> References: <44D6B4A4.9080407@...981...> <200608071226.33920.ronstk@...239...> <200608071249.55043.gambas@...1...> Message-ID: <200608071431.07569.ronstk@...239...> On Monday 07 August 2006 12:49, Benoit Minisini wrote: > On Monday 07 August 2006 12:26, Ron Onstenk wrote: > > On Monday 07 August 2006 11:55, Benoit Minisini wrote: > > > On Monday 07 August 2006 05:33, sbungay wrote: > > > > Hi Benoit! > > > > Just installed the latest 1.9.37 and the missing icon problem gets > > > > worse. I now have most of the icons across the top of the main GAMBAS > > > > window missing. > > > > Lets see if we can resolve this. Where is Gambas looking for it'sa > > > > Icons? I am using FC5 kde-3.5.3-0.4. Result of $ kde-config --path icon > > > > is /root/.kde/share/icons/:/usr/share/icons . > > > > I've attached a screen shot of the IDE to illustrate the problem.. > > > > kind of difficult to do anything in a GUI when major graphical elements > > > > are missing :(. > > > > > > > > Steve. > > > > > > Do you have a "crystalsvg" directory in these directories? Otherwise do > > > you have a "default" directory? > > > > @Benoit > > May be a user icon path in the gambas config file. > > Every user can set there path as the defaults internal in gambas not found. > > with a copy of the used paths in the project config file > > > > As the icon paths in compiled program are from '/root/.kde/' > > then compiled program is missing icons from /home/anyuser/.kde > > as the anyuser has access. > > The icons in ~/.kde are the ones the user did install or overrule > > the standard from kde. > > > > This will make it smarter to transfer compiled programs to > > all local boxes without every box need the IDE to compile > > hardcode paths are bad, you have experience with gnome ;) > > > > > > @sbungay > > /root/.kde/ > > > > greet to everyone, > > > > Ron > > As users generally can't know where their icons are, storing a path in a > gambas config file is not a good idea. > > The way the Stock class searches for KDE icons is now correct. I just forgot > to fall back to "crystalsvg", which is the default KDE icon theme. The > correct version is in the Stock.class file I posted to this mailing-list. > > The problem with GNOME is that I don't know the way to get the icon > directories, nor the theme currently used, so I hardcoded the paths. But this > is temporary. > > Regards, > in this readme is decribeed how to add icons to a theme. Maybe this helps for gnome. Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... -------------- next part -------------- Note to maintainers: because of the long filenames involved in this module, 'make dist' will fail with versions of GNU tar > 1.12. ========================================================================== NOTE: The remainder of this README applies only to the 7 accessibility themes in this module: - HighContrast[LargePrint][Inverse] - LowContrast[LargePrint] - LargePrint ========================================================================== 0. Default Theme ---------------- All the themes in this module inherit from the 'gnome' theme. The 'gnome' theme is in the gnome-icon-theme module, and has to be built and installed separately. 1. Editing the gtkrc files -------------------------- The gtkrc.in files for each a11y theme are currently generated by autogen.sh. Each gtkrc.in file is the concatenation of these files: $theme/gtk-2.0/$theme.rc common/gtk-stock-icons.rc common/panel-stock-icons.rc common/media-stock-icons.rc common/capplet-stock-icons.rc It follows that you should NOT edit gtkrc.in directly. Instead, edit the appropriate .rc file, then re-autogen before building. This obviously kind of sucks, but it was the only way I could get it to work at the time :/ 2. Adding new icons ------------------- The module is currently configured to make it easy to add or remove a stock icon from all themes at once, but not so easy to do so on a per-theme basis. This works well for now but probably won't if we want to make this a more general theme repository. So, to add a new gtk stock icon to all themes: - Add the icon's filename to common/all-stock-items.data - Add the line you want to appear in the themes' RC files to the appropriate common/*.rc file - Add the icon files, each with the same filename, to all the /pixmaps/ directories. GNOME icons that are themed via the icon theming mechanism (as specified on freedesktop.org) are currently still added individually in each /icons subdirectory. E.g. to add a new 48x48 application icon to all the themes, you have to modify each /icons/48x48/apps/Makefile.am individually, and add the appropriate icon file to each /icons/48x48/apps directory. 3. Changing icon sizes ---------------------- The icon sizes for ALL the LargePrint themes are defined in configure.in. Changing them here will affect all LargePrint themes. 4. Changing colours -------------------- To change the colours in a particular theme, edit its /gtk-2.0/.rc file. 5. Switching icon themes ------------------------ In 2.2 and later, use gnome-theme-manager, and choose the Icon theme from the Details subdialog. In earlier versions of GNOME, unless you're running my patched theme switcher dialog (patch in bugzilla, #93486), you'll need to switch icon themes by hand using GConf: $ gconftool-2 -s /desktop/gnome/interface/icon_theme "" --type=string 6. To create low contrast icons in GIMP from the original coloured icon ------------------------------------------------------------------------ Use the low-contrast-preset.scm GIMP script in this directory to create a low contrast icon from a regular-coloured icon. (Read the comments in the script for instructions on how to install and use it.) Thanks to Guillermo for providing this! Note: In GIMP, Input=0/0.6/255, Output=75/255 seems to give results closer to the icons Suzanna converted in Photoshop, but plugging these values into this script seems to give different results from doing it manually in the Levels dialog :/ From leonardo at ...1237... Mon Aug 7 14:58:33 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Mon, 07 Aug 2006 14:58:33 +0200 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <200608071157.31641.gambas@...1...> References: <44D6B4A4.9080407@...981...> <44D6F4D1.3060309@...1237...> <200608071157.31641.gambas@...1...> Message-ID: <44D738F9.8040003@...1237...> Benoit Minisini ha scritto: > On Monday 07 August 2006 10:07, Leonardo Miliani wrote: >> Just noticed right now that I have missing icons too.... >> Here is my Gambas IDE screenshot, where I marked the missing ones. >> This is the output of #kde-config --path icon: >> /root/.kde/share/icons/:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/ > > Tell me what icon directories you have inside these directories. > > And you too, you are using your GUI as root!? Don't do that! > No, no, no... I don't... I just ran the command as sudo. As normal user I get: /home/leo/.kde/share/icons/:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/ In /home/leo/.kde/share/icons/ I have only 1 directory called Nuvola (the icon theme from KDE-look.org I'm using); in /etc/opt/kde3/share/icons/ I have only 1 directory called crystalsvg; in /opt/kde3/share/icons/ I have several dirs: cristalsuse, cristalsvg, default.kde (link to crystalsvg), hicolor, ikons, kdeclassic, kids, locolor, Locolor, slick, suseadds -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From leonardo at ...1237... Mon Aug 7 15:06:24 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Mon, 07 Aug 2006 15:06:24 +0200 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <200608071219.12606.gambas@...1...> References: <44D6B4A4.9080407@...981...> <44D6F4D1.3060309@...1237...> <200608071219.12606.gambas@...1...> Message-ID: <44D73AD0.50308@...1237...> Benoit Minisini ha scritto: > On Monday 07 August 2006 10:07, Leonardo Miliani wrote: >> Just noticed right now that I have missing icons too.... >> Here is my Gambas IDE screenshot, where I marked the missing ones. >> This is the output of #kde-config --path icon: >> /root/.kde/share/icons/:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/ > > Can you try the file I sent to Steve? > I've tried it and it works. -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From sbungay at ...981... Mon Aug 7 16:08:18 2006 From: sbungay at ...981... (sbungay) Date: Mon, 07 Aug 2006 10:08:18 -0400 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <200608071155.52337.gambas@...1...> References: <44D6B4A4.9080407@...981...> <200608071155.52337.gambas@...1...> Message-ID: <44D74952.3000808@...981...> Benoit Minisini wrote: > On Monday 07 August 2006 05:33, sbungay wrote: > >> Hi Benoit! >> Just installed the latest 1.9.37 and the missing icon problem gets >>worse. I now have most of the icons across the top of the main GAMBAS >>window missing. >> Lets see if we can resolve this. Where is Gambas looking for it'sa >>Icons? I am using FC5 kde-3.5.3-0.4. Result of $ kde-config --path icon >>is /root/.kde/share/icons/:/usr/share/icons . >> I've attached a screen shot of the IDE to illustrate the problem.. >>kind of difficult to do anything in a GUI when major graphical elements >>are missing :(. >> >>Steve. > > > Do you have a "crystalsvg" directory in these directories? Otherwise do you > have a "default" directory? > The crystalsvg directory is under /usr/share/icons. There are plenty of icons in it so I guess that the question becomes "are the icons gambas is looking for present in the crystalsvg directory"? Regarding /root/.kde/share/icons This is set up by the FC5 install and is an empty directory. From sbungay at ...981... Mon Aug 7 16:13:44 2006 From: sbungay at ...981... (sbungay) Date: Mon, 07 Aug 2006 10:13:44 -0400 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <44D738F9.8040003@...1237...> References: <44D6B4A4.9080407@...981...> <44D6F4D1.3060309@...1237...> <200608071157.31641.gambas@...1...> <44D738F9.8040003@...1237...> Message-ID: <44D74A98.6080803@...981...> Leonardo Miliani wrote: > Benoit Minisini ha scritto: > >>On Monday 07 August 2006 10:07, Leonardo Miliani wrote: >> >>>Just noticed right now that I have missing icons too.... >>>Here is my Gambas IDE screenshot, where I marked the missing ones. >>>This is the output of #kde-config --path icon: >>>/root/.kde/share/icons/:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/ >> >>Tell me what icon directories you have inside these directories. >> >>And you too, you are using your GUI as root!? Don't do that! >> > > > No, no, no... I don't... > I just ran the command as sudo. As normal user I get: > /home/leo/.kde/share/icons/:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/ > > In /home/leo/.kde/share/icons/ I have only 1 directory called Nuvola > (the icon theme from KDE-look.org I'm using); > in /etc/opt/kde3/share/icons/ I have only 1 directory called crystalsvg; > in /opt/kde3/share/icons/ I have several dirs: > cristalsuse, cristalsvg, default.kde (link to crystalsvg), hicolor, > ikons, kdeclassic, kids, locolor, Locolor, slick, suseadds > A big "ME TOO" on running the command from sudo. The result of kde-config command for me as a user is... /home/bungayst/.kde/share/icons:/usr/share/icons Sorry about that Benoit. Steve. From sbungay at ...981... Mon Aug 7 16:18:37 2006 From: sbungay at ...981... (sbungay) Date: Mon, 07 Aug 2006 10:18:37 -0400 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <200608071219.01266.gambas@...1...> References: <44D6B4A4.9080407@...981...> <200608071155.52337.gambas@...1...> <200608071219.01266.gambas@...1...> Message-ID: <44D74BBD.4020504@...981...> Benoit Minisini wrote: --- SNIP --- > > 3) $ su -c "make install" (or just "make install" as it seems you are working > as root!) > > Regards, Not signed in and working as root (never never never)... just in a shell session as root when i ran the kde-config command. Sorry about that Benoit, I should have given you a screen shot of the terminal session instead of cutting & pasting the results. Steve. From sbungay at ...981... Mon Aug 7 18:12:36 2006 From: sbungay at ...981... (sbungay) Date: Mon, 07 Aug 2006 12:12:36 -0400 Subject: [Gambas-user] Only one Icon missing now... Message-ID: <44D76674.1070106@...981...> Thanks for that file Benoit. Only one icon in the toolbar is missing now, MUCH better. Steve. -------------- next part -------------- A non-text attachment was scrubbed... Name: MissingGUIElements2.png Type: image/png Size: 66324 bytes Desc: not available URL: From ronstk at ...239... Mon Aug 7 17:18:13 2006 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 7 Aug 2006 17:18:13 +0200 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <44D74952.3000808@...981...> References: <44D6B4A4.9080407@...981...> <200608071155.52337.gambas@...1...> <44D74952.3000808@...981...> Message-ID: <200608071718.13903.ronstk@...239...> On Monday 07 August 2006 05:33, sbungay wrote: > Lets see if we can resolve this. Where is Gambas looking for it'sa > Icons? I am using FC5 kde-3.5.3-0.4. Result of $ kde-config --path icon > is /root/.kde/share/icons/:/usr/share/icons . > On Monday 07 August 2006 11:57, Benoit Minisini wrote: > On Monday 07 August 2006 10:07, Leonardo Miliani wrote: > > Just noticed right now that I have missing icons too.... > > Here is my Gambas IDE screenshot, where I marked the missing ones. > > This is the output of #kde-config --path icon: > > /root/.kde/share/icons/:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/ > > Tell me what icon directories you have inside these directories. > > And you too, you are using your GUI as root!? Don't do that! > On Monday 07 August 2006 16:08, sbungay wrote: > Regarding ?/root/.kde/share/icons > ? ? This is set up by the FC5 install and is an empty directory. > For sbungay & Leonardo Miliani (and others) Yea, on my SuSE box too. But ron at ...1311...:~> kde-config --path icon /home/ron/.kde/share/icons/:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/ and gives no /root !!! The question was raised because the first directory in the Path for kde-config --path icon was starting with /root and that would not be the case for normal users. Working as root is only to install distro packages and for the final 'make install' if the ./configure prefix is not pointing to your private home directory This could mean you run as root instead as user.!!! Security is vulnerable. ( I confes I did it to in the past :( ) Your friendly but useless helper, Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From mike-nought at ...17... Mon Aug 7 18:07:15 2006 From: mike-nought at ...17... (mike-nought at ...17...) Date: Mon, 7 Aug 2006 18:07:15 +0200 Subject: [Gambas-user] #11 and a bug in the editor In-Reply-To: <200608071425.22235.gambas@...1...> References: <200608060749.26803.mike-nought@...17...> <200608062110.58215.mike-nought@...17...> <200608071425.22235.gambas@...1...> Message-ID: <200608071807.15553.mike-nought@...17...> Am Montag, 7. August 2006 14:25 schrieb Benoit Minisini: > On Sunday 06 August 2006 21:10, mike-nought at ...17... wrote: > > Any news about the #11-bug? > > Here is an interpreter patch that should fix the #11-bug. Hi Benoit, wow, this is great. The interpreter works as expected now. Thank you very much for your fast response. Regards, Franz From gambas at ...1... Mon Aug 7 18:31:58 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 7 Aug 2006 18:31:58 +0200 Subject: [Gambas-user] Only one Icon missing now... In-Reply-To: <44D76674.1070106@...981...> References: <44D76674.1070106@...981...> Message-ID: <200608071831.58237.gambas@...1...> On Monday 07 August 2006 18:12, sbungay wrote: > Thanks for that file Benoit. Only one icon in the toolbar is > missing now, MUCH better. > > Steve. This is the Konsole icon. Isn't Konsole installed on your system? I thought this program was part of the KDE base. Regards, -- Benoit Minisini From leonardo at ...1237... Mon Aug 7 21:05:58 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Mon, 07 Aug 2006 21:05:58 +0200 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <200608071718.13903.ronstk@...239...> References: <44D6B4A4.9080407@...981...> <200608071155.52337.gambas@...1...> <44D74952.3000808@...981...> <200608071718.13903.ronstk@...239...> Message-ID: <44D78F16.2080605@...1237...> Ron Onstenk ha scritto: > On Monday 07 August 2006 05:33, sbungay wrote: >> Lets see if we can resolve this. Where is Gambas looking for it'sa >> Icons? I am using FC5 kde-3.5.3-0.4. Result of $ kde-config --path icon >> is /root/.kde/share/icons/:/usr/share/icons . >> > > On Monday 07 August 2006 11:57, Benoit Minisini wrote: >> On Monday 07 August 2006 10:07, Leonardo Miliani wrote: >>> Just noticed right now that I have missing icons too.... >>> Here is my Gambas IDE screenshot, where I marked the missing ones. >>> This is the output of #kde-config --path icon: >>> /root/.kde/share/icons/:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/ >> Tell me what icon directories you have inside these directories. >> >> And you too, you are using your GUI as root!? Don't do that! >> > > > On Monday 07 August 2006 16:08, sbungay wrote: >> Regarding /root/.kde/share/icons >> This is set up by the FC5 install and is an empty directory. >> > > > For sbungay & Leonardo Miliani (and others) > > Yea, on my SuSE box too. But > ron at ...1311...:~> kde-config --path icon > /home/ron/.kde/share/icons/:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/ > > and gives no /root !!! > > The question was raised because the first directory in the Path > for kde-config --path icon was starting with /root and that > would not be the case for normal users. > > Working as root is only to install distro packages and > for the final 'make install' if the ./configure prefix > is not pointing to your private home directory > > This could mean you run as root instead as user.!!! > Security is vulnerable. > > ( I confes I did it to in the past :( ) > > > Your friendly but useless helper, > > Ron > Don't worry, Ron. I just ran that command as superuser using sudo. I usually work as normal user and I never log in as superuser/root via KDE if I'm online. Just do all my job using sudo way. :-) -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From ronstk at ...239... Mon Aug 7 21:35:50 2006 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 7 Aug 2006 21:35:50 +0200 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <44D78F16.2080605@...1237...> References: <44D6B4A4.9080407@...981...> <200608071718.13903.ronstk@...239...> <44D78F16.2080605@...1237...> Message-ID: <200608072135.50767.ronstk@...239...> On Monday 07 August 2006 21:05, Leonardo Miliani wrote: > Don't worry, Ron. > Sorry but usual I read from top to bottom. I re-acted before I read post lower in the list. Desperate, Ron -- The only bug free software from Ron is still shrink-wrapped in his kitchen... From stefanopalmeri at ...152... Mon Aug 7 23:30:50 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Mon, 7 Aug 2006 23:30:50 +0200 Subject: [Gambas-user] can't create a new project! Message-ID: <200608072330.51312.stefanopalmeri@...152...> Hi, all. Hi, Benoit. I'm running Gambas 1.9.37, with the last patches you submitted. My strange problem is that I can't start a new project... After I set the name for the project, the wizard wants me to select a parent directory for the project, but any choise is not accepted. I get these errors: "File already exists" or "File does not exist". What am I doing wrong? Anyone else is able to start a new project using the 1.9.37 wizard? Regard, Stefano Palmeri From gambas at ...1... Mon Aug 7 23:55:27 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 7 Aug 2006 23:55:27 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608072330.51312.stefanopalmeri@...152...> References: <200608072330.51312.stefanopalmeri@...152...> Message-ID: <200608072355.28296.gambas@...1...> On Monday 07 August 2006 23:30, Stefano Palmeri wrote: > Hi, all. Hi, Benoit. > > I'm running Gambas 1.9.37, with the last patches you > submitted. My strange problem is that I can't start > a new project... > > After I set the name for the project, the wizard wants > me to select a parent directory for the project, but > any choise is not accepted. I get these errors: > "File already exists" or "File does not exist". > > What am I doing wrong? Anyone else is able > to start a new project using the 1.9.37 wizard? > > Regard, > > Stefano Palmeri > > The project is already a directory: you must actually select the parent directory of the project directory. Are you sure to doing that? -- Benoit Minisini From ronstk at ...239... Tue Aug 8 00:14:28 2006 From: ronstk at ...239... (Ron Onstenk) Date: Tue, 8 Aug 2006 00:14:28 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608072355.28296.gambas@...1...> References: <200608072330.51312.stefanopalmeri@...152...> <200608072355.28296.gambas@...1...> Message-ID: <200608080014.28770.ronstk@...239...> On Monday 07 August 2006 23:55, Benoit Minisini wrote: > The project is already a directory: you must actually select the parent > directory of the project directory. Are you sure to doing that? > I had several times that problem to. It is not very clear by the prompt, by asking for a directory. "Select a directory of the Project" instead "Select a directory for the Project" The first mean with 'of' a directory (belong to the project) and I have created before starting. This can be a map where I have already some text files that I want to use in a gambas program. The second mean with 'for' a directory where I want the project be created. I know, English is not my native tong but that is what I know ATM. Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From stefanopalmeri at ...152... Tue Aug 8 01:09:21 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Tue, 8 Aug 2006 01:09:21 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608072355.28296.gambas@...1...> References: <200608072330.51312.stefanopalmeri@...152...> <200608072355.28296.gambas@...1...> Message-ID: <200608080109.21937.stefanopalmeri@...152...> Alle 23:55, luned? 7 agosto 2006, Benoit Minisini ha scritto: > The project is already a directory: you must actually select the parent > directory of the project directory. Are you sure to doing that? > > -- > Benoit Minisini Yes, Benoit, I'm sure :-). The wizard creates strange files in the parent directory that I choose, named like the project name. In konqueror they don't have the folder icon, nor other icon to represent them. Did you try to start a new project with 1.9.37? Regards, Stefano Palmeri From msumurph at ...626... Tue Aug 8 01:50:06 2006 From: msumurph at ...626... (Allen Murphy) Date: Mon, 07 Aug 2006 19:50:06 -0400 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608072330.51312.stefanopalmeri@...152...> References: <200608072330.51312.stefanopalmeri@...152...> Message-ID: <1154994606.2747.4.camel@...37...> Hello, I am also unable to create a new project with 1.9.37. I get the same messages mentioned below ("File already exists" or "File does not exist"). This occurs on the second part of the creation dialog when I select a parent directory and then click "Ok". P.S. The IDE looks great under Gnome! Allen On Mon, 2006-08-07 at 23:30 +0200, Stefano Palmeri wrote: > Hi, all. Hi, Benoit. > > I'm running Gambas 1.9.37, with the last patches you > submitted. My strange problem is that I can't start > a new project... > > After I set the name for the project, the wizard wants > me to select a parent directory for the project, but > any choise is not accepted. I get these errors: > "File already exists" or "File does not exist". > > What am I doing wrong? Anyone else is able > to start a new project using the 1.9.37 wizard? > > Regard, > > Stefano Palmeri > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From stefanopalmeri at ...152... Tue Aug 8 01:55:56 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Tue, 8 Aug 2006 01:55:56 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <1154994606.2747.4.camel@...37...> References: <200608072330.51312.stefanopalmeri@...152...> <1154994606.2747.4.camel@...37...> Message-ID: <200608080155.57286.stefanopalmeri@...152...> Alle 01:50, marted? 8 agosto 2006, Allen Murphy ha scritto: > Hello, > > I am also unable to create a new project with 1.9.37. ?I get the same > messages mentioned below ("File already exists" or "File does not > exist"). ?This occurs on the second part of the creation dialog when I > select a parent directory and then click "Ok". > > P.S. ?The IDE looks great under Gnome! > > Allen > Ok. Thanks. I feel less stupid... Stefano From rporticio at ...43... Tue Aug 8 04:07:02 2006 From: rporticio at ...43... (Ramon Orticio) Date: Mon, 7 Aug 2006 19:07:02 -0700 (PDT) Subject: [Gambas-user] gambas in fedora core 4 Message-ID: <20060808020702.39300.qmail@...1016...> dear friends, i installed gambas 1.0.17 in fedora core 4 distro using this commands: $ yum install gambas-ide-1.0.17 Setting up Install Process Setting up repositories updates-released 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files Parsing package install arguments No Match for argument: gambas-ide-1.0.17 Nothing to do what would be the next thing to do here? thanks for any help ramon __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From sbungay at ...981... Tue Aug 8 05:15:37 2006 From: sbungay at ...981... (sbungay) Date: Mon, 07 Aug 2006 23:15:37 -0400 Subject: [Gambas-user] Only one Icon missing now... In-Reply-To: <200608071831.58237.gambas@...1...> References: <44D76674.1070106@...981...> <200608071831.58237.gambas@...1...> Message-ID: <44D801D9.1080101@...981...> Yes Konsole is installed on my system, and in previous installations of gambas the icon was present in the IDE, but in 1.9.37 it is not. This is quite strange. Steve. Benoit Minisini wrote: > On Monday 07 August 2006 18:12, sbungay wrote: > >> Thanks for that file Benoit. Only one icon in the toolbar is >>missing now, MUCH better. >> >>Steve. > > > This is the Konsole icon. Isn't Konsole installed on your system? I thought > this program was part of the KDE base. > > Regards, > From joe1962 at ...626... Tue Aug 8 04:16:27 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Mon, 7 Aug 2006 22:16:27 -0400 Subject: [Gambas-user] gambas in fedora core 4 In-Reply-To: <20060808020702.39300.qmail@...1016...> References: <20060808020702.39300.qmail@...1016...> Message-ID: <6c208f950608071916m1e95d4d1i7befd369e6bb74dd@...627...> On 8/7/06, Ramon Orticio wrote: > dear friends, > > i installed gambas 1.0.17 in fedora core 4 distro > using this commands: > > $ yum install gambas-ide-1.0.17 > Setting up Install Process > Setting up repositories > updates-released 100% > |=========================| 951 B 00:00 > extras 100% > |=========================| 1.1 kB 00:00 > base 100% > |=========================| 1.1 kB 00:00 > Reading repository metadata in from local files > Parsing package install arguments > No Match for argument: gambas-ide-1.0.17 > Nothing to do > > what would be the next thing to do here? > I think you tried to install it, but those last 2 lines imply there is no gambas 1.0.17 package in the repository. You might try to build it from source, or perhaps a package for your distro it can be found elsewhere. Regards, Joe1962 From sbungay at ...981... Tue Aug 8 05:31:25 2006 From: sbungay at ...981... (sbungay) Date: Mon, 07 Aug 2006 23:31:25 -0400 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <200608071718.13903.ronstk@...239...> References: <44D6B4A4.9080407@...981...> <200608071155.52337.gambas@...1...> <44D74952.3000808@...981...> <200608071718.13903.ronstk@...239...> Message-ID: <44D8058D.4040809@...981...> Hi Ron! While the presence of /root as a result of kde-config --path icons COULD mean that the person was signed into the system and using KDE as root, it does not mean that they were in fact signed into the system and using KDE as root. In my case I was signed into the system as me and in a konsole session signed in as root to do the make install, I just never exited the konsole session before I ran the kde-config command. :( As a result we all saw /root being returned by kde-config. Steve :) - Isn't communication fun? Ron Onstenk wrote: > On Monday 07 August 2006 05:33, sbungay wrote: > >> Lets see if we can resolve this. Where is Gambas looking for it'sa >>Icons? I am using FC5 kde-3.5.3-0.4. Result of $ kde-config --path icon >>is /root/.kde/share/icons/:/usr/share/icons . >> > > > On Monday 07 August 2006 11:57, Benoit Minisini wrote: > >>On Monday 07 August 2006 10:07, Leonardo Miliani wrote: >> >>>Just noticed right now that I have missing icons too.... >>>Here is my Gambas IDE screenshot, where I marked the missing ones. >>>This is the output of #kde-config --path icon: >>>/root/.kde/share/icons/:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/ >> >>Tell me what icon directories you have inside these directories. >> >>And you too, you are using your GUI as root!? Don't do that! >> > > > > On Monday 07 August 2006 16:08, sbungay wrote: > >>Regarding /root/.kde/share/icons >> This is set up by the FC5 install and is an empty directory. >> > > > > For sbungay & Leonardo Miliani (and others) > > Yea, on my SuSE box too. But > ron at ...1311...:~> kde-config --path icon > /home/ron/.kde/share/icons/:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/ > > and gives no /root !!! > > The question was raised because the first directory in the Path > for kde-config --path icon was starting with /root and that > would not be the case for normal users. > > Working as root is only to install distro packages and > for the final 'make install' if the ./configure prefix > is not pointing to your private home directory > > This could mean you run as root instead as user.!!! > Security is vulnerable. > > ( I confes I did it to in the past :( ) > > > Your friendly but useless helper, > > Ron > From sirfabien at ...626... Tue Aug 8 08:35:15 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Tue, 8 Aug 2006 08:35:15 +0200 Subject: [Gambas-user] Only one Icon missing now... In-Reply-To: <44D801D9.1080101@...981...> References: <44D76674.1070106@...981...> <200608071831.58237.gambas@...1...> <44D801D9.1080101@...981...> Message-ID: <200608080835.15559.sirfabien@...626...> Le Mardi 8 Ao?t 2006 05:15, sbungay a ?crit?: > Yes Konsole is installed on my system, and in previous installations of > gambas the icon was present in the IDE, but in 1.9.37 it is not. This is > quite strange. > > Steve. > > Benoit Minisini wrote: > > On Monday 07 August 2006 18:12, sbungay wrote: > >> Thanks for that file Benoit. Only one icon in the toolbar is > >>missing now, MUCH better. > >> > >>Steve. I've the same problem too ... I will look atthat from now ! Regards, Fabien Bodard > > > > This is the Konsole icon. Isn't Konsole installed on your system? I > > thought this program was part of the KDE base. > > > > Regards, > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sirfabien at ...626... Tue Aug 8 08:55:17 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Tue, 8 Aug 2006 08:55:17 +0200 Subject: [Gambas-user] Only one Icon missing now... In-Reply-To: <44D801D9.1080101@...981...> References: <44D76674.1070106@...981...> <200608071831.58237.gambas@...1...> <44D801D9.1080101@...981...> Message-ID: <200608080855.17336.sirfabien@...626...> ok i've found the reason... In fact in debian bases distrib the konsole icon is not in the cristalsvg path. i was abble to find it but in the hicolor theme that is hardcoded into kde too since many year. so this is the solution : FOR EACH sPath IN Split(sIconPath, ":") AddPath("kde", sPath &/ "crystalsvg") ' default theme hardcoded in KDE sources AddPath("kde", sPath &/ "hicolor") ' more hicolored icons NEXT and i give for every body the new Stock.class file in attachement. Regards, Fabien Bodard > Yes Konsole is installed on my system, and in previous installations of > gambas the icon was present in the IDE, but in 1.9.37 it is not. This is > quite strange. > > Steve. > > Benoit Minisini wrote: > > On Monday 07 August 2006 18:12, sbungay wrote: > >> Thanks for that file Benoit. Only one icon in the toolbar is > >>missing now, MUCH better. > >> > >>Steve. > > > > This is the Konsole icon. Isn't Konsole installed on your system? I > > thought this program was part of the KDE base. > > > > Regards, > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: Stock.class Type: application/x-java Size: 4951 bytes Desc: not available URL: From timothy.marshal-nichols at ...247... Tue Aug 8 10:11:00 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Tue, 8 Aug 2006 09:11:00 +0100 Subject: [Gambas-user] Drag and Drop Bug In-Reply-To: <44D8058D.4040809@...981...> Message-ID: Hello, The bug seems to be back where you can not cancel a drop event with STOP EVENT. After setting the property Drop to TRUE you should be able to drag items onto a control. If you use STOP EVENT in the _Drag() event this should cancel the _Drop() event. I have some code like this to cancel the _Drop() event: IconView1_Drag() IF Drag.Format <> myFormat THEN STOP EVENT END If you put this code in the Drag event you can see it is called. But it does not stop the _Drop() event being called. This example should always cancel the Drop event. IconView1_Drag() PRINT "Stop drag" STOP EVENT END I think there was this bug sometime in the past. And I thought it has been fixed. Looks like it has come back. I am sure the bug is in these controls: ListView IconView ListBox Possibly others. I am not in that much hurry to have this bug fixed. Just thought you might like to know and put it on your TO-DO list. Thanks 8-{)} Timothy Marshal-Nichols From ronstk at ...239... Tue Aug 8 10:33:06 2006 From: ronstk at ...239... (Ron Onstenk) Date: Tue, 8 Aug 2006 10:33:06 +0200 Subject: [Gambas-user] More Missing Icons... In-Reply-To: <44D8058D.4040809@...981...> References: <44D6B4A4.9080407@...981...> <200608071718.13903.ronstk@...239...> <44D8058D.4040809@...981...> Message-ID: <200608081033.07124.ronstk@...239...> On Tuesday 08 August 2006 05:31, sbungay wrote: > - Isn't communication fun? > Wonderfull world :) Ron From rporticio at ...43... Tue Aug 8 10:38:33 2006 From: rporticio at ...43... (Ramon Orticio) Date: Tue, 8 Aug 2006 01:38:33 -0700 (PDT) Subject: [Gambas-user] gambas database example on fedora core 4 Message-ID: <20060808083833.89307.qmail@...1063...> dear friends, thanks joe for your suggestions. i have installed both gambas1.0.17 and 1.9.37 successfully in fedora core 4. but when i tried the database example using both versions both posted this message "can't find database driver for postgresql. fedora core 4 in my computer has postgresql-8.0.3-1 and i downloaded and installed postgresql-devel-8.0.3-1.i386.rpm using rpm-Uvh command. yet the database program posted the same problem. what might be the proper resolution for this. ramon __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From joe1962 at ...626... Tue Aug 8 10:45:06 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Tue, 8 Aug 2006 04:45:06 -0400 Subject: [Gambas-user] gambas database example on fedora core 4 In-Reply-To: <20060808083833.89307.qmail@...1063...> References: <20060808083833.89307.qmail@...1063...> Message-ID: <6c208f950608080145q70c464e6w8e19fb1817e3bf53@...627...> On 8/8/06, Ramon Orticio wrote: > dear friends, > > thanks joe for your suggestions. i have installed both > gambas1.0.17 and 1.9.37 successfully in fedora core 4. You're welcome! > but when i tried the database example using both > versions both posted this message "can't find database > driver for postgresql. fedora core 4 in my computer > has postgresql-8.0.3-1 and i downloaded and installed > postgresql-devel-8.0.3-1.i386.rpm using rpm-Uvh > command. yet the database program posted the same > problem. > > what might be the proper resolution for this. > Just a guess, but it seems to me that the Gambas you installed was not compiled with postgresql support. Did you find packages, or build them from source? Regards, Joe1962 From gambas at ...1... Tue Aug 8 10:55:32 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 8 Aug 2006 10:55:32 +0200 Subject: [Gambas-user] gambas database example on fedora core 4 In-Reply-To: <20060808083833.89307.qmail@...1063...> References: <20060808083833.89307.qmail@...1063...> Message-ID: <200608081055.32597.gambas@...1...> On Tuesday 08 August 2006 10:38, Ramon Orticio wrote: > dear friends, > > thanks joe for your suggestions. i have installed both > gambas1.0.17 and 1.9.37 successfully in fedora core 4. > but when i tried the database example using both > versions both posted this message "can't find database > driver for postgresql. fedora core 4 in my computer > has postgresql-8.0.3-1 and i downloaded and installed > postgresql-devel-8.0.3-1.i386.rpm using rpm-Uvh > command. yet the database program posted the same > problem. > > what might be the proper resolution for this. > > ramon > Are you sure that you compiled gambas *after* having installed postgresql development package? -- Benoit Minisini From leonardo at ...1237... Tue Aug 8 11:53:32 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 08 Aug 2006 11:53:32 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608080155.57286.stefanopalmeri@...152...> References: <200608072330.51312.stefanopalmeri@...152...> <1154994606.2747.4.camel@...37...> <200608080155.57286.stefanopalmeri@...152...> Message-ID: <44D85F1C.7080905@...1237...> Stefano Palmeri ha scritto: > Alle 01:50, marted? 8 agosto 2006, Allen Murphy ha scritto: >> Hello, >> >> I am also unable to create a new project with 1.9.37. I get the same >> messages mentioned below ("File already exists" or "File does not >> exist"). This occurs on the second part of the creation dialog when I >> select a parent directory and then click "Ok". >> >> P.S. The IDE looks great under Gnome! >> >> Allen >> > > Ok. Thanks. I feel less stupid... > > Stefano > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > I can confirm that I'm not able to create a new project with 1.9.37 too. The wizard halts in the 2? mask, where I choose (or I should do) the directory. -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From gambas at ...1... Tue Aug 8 13:36:07 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 8 Aug 2006 13:36:07 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <44D85F1C.7080905@...1237...> References: <200608072330.51312.stefanopalmeri@...152...> <200608080155.57286.stefanopalmeri@...152...> <44D85F1C.7080905@...1237...> Message-ID: <200608081336.07231.gambas@...1...> On Tuesday 08 August 2006 11:53, Leonardo Miliani wrote: > Stefano Palmeri ha scritto: > > Alle 01:50, marted? 8 agosto 2006, Allen Murphy ha scritto: > >> Hello, > >> > >> I am also unable to create a new project with 1.9.37. I get the same > >> messages mentioned below ("File already exists" or "File does not > >> exist"). This occurs on the second part of the creation dialog when I > >> select a parent directory and then click "Ok". > >> > >> P.S. The IDE looks great under Gnome! > >> > >> Allen > > > > Ok. Thanks. I feel less stupid... > > > > Stefano > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > I can confirm that I'm not able to create a new project with 1.9.37 too. > The wizard halts in the 2? mask, where I choose (or I should do) the > directory. Can you (and others) explain me exactly what you do with the wizard, i.e what you enter, which options you choose, and which directory you select? Thanks in advance, -- Benoit Minisini From msumurph at ...626... Tue Aug 8 14:05:20 2006 From: msumurph at ...626... (Allen Murphy) Date: Tue, 8 Aug 2006 08:05:20 -0400 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608081336.07231.gambas@...1...> References: <200608072330.51312.stefanopalmeri@...152...> <200608080155.57286.stefanopalmeri@...152...> <44D85F1C.7080905@...1237...> <200608081336.07231.gambas@...1...> Message-ID: <4d1057440608080505v71404bcdo5518d66ad9d3789a@...627...> Benoit, I start gambas2 from the command prompt. At the opening screen, I choose "New Project". When the wizard starts, I give a title and a name like "sample" and "sample". After pressing "Next", the wizard continues. I then choose a parent directory and hit "Ok". This is when the error message dialog appears. Now, I'm no expert, but I snooped around by opening the gambas2 app in the IDE and when I ran it from there I was able to create a new project. I then examined the FCreateProject.class file and found the CATCH statement in the Wizard_Close() subroutine that executes the error dialog. After tinkering with things I found that the problem seemed to be with the GetFile() subroutine. Apparently, it cannot locate the "template" subdirectory when run from the command prompt, but it can when run as a project from the IDE. I'm not on my computer with gambas2 so I can't give you line numbers right now. Anyway, my best guess is that gambas2 cannot find the "template" directory. I hope this helps the situation and that I'm not totally off. Thanks, Allen On 8/8/06, Benoit Minisini wrote: > > On Tuesday 08 August 2006 11:53, Leonardo Miliani wrote: > > Stefano Palmeri ha scritto: > > > Alle 01:50, marted? 8 agosto 2006, Allen Murphy ha scritto: > > >> Hello, > > >> > > >> I am also unable to create a new project with 1.9.37. I get the same > > >> messages mentioned below ("File already exists" or "File does not > > >> exist"). This occurs on the second part of the creation dialog when > I > > >> select a parent directory and then click "Ok". > > >> > > >> P.S. The IDE looks great under Gnome! > > >> > > >> Allen > > > > > > Ok. Thanks. I feel less stupid... > > > > > > Stefano > > > > > > > ------------------------------------------------------------------------- > > > Using Tomcat but need to do more? Need to support web services, > security? > > > Get stuff done quickly with pre-integrated technology to make your job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on > Apache > > > Geronimo > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > I can confirm that I'm not able to create a new project with 1.9.37 too. > > The wizard halts in the 2? mask, where I choose (or I should do) the > > directory. > > Can you (and others) explain me exactly what you do with the wizard, i.ewhat > you enter, which options you choose, and which directory you select? > > Thanks in advance, > > -- > Benoit Minisini > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike-nought at ...17... Tue Aug 8 14:09:15 2006 From: mike-nought at ...17... (mike-nought at ...17...) Date: Tue, 8 Aug 2006 14:09:15 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608081336.07231.gambas@...1...> References: <200608072330.51312.stefanopalmeri@...152...> <44D85F1C.7080905@...1237...> <200608081336.07231.gambas@...1...> Message-ID: <200608081409.15307.mike-nought@...17...> Am Dienstag, 8. August 2006 13:36 schrieb Benoit Minisini: > > Can you (and others) explain me exactly what you do with the wizard, i.e > what you enter, which options you choose, and which directory you select? > > Thanks in advance, Hi Benoit. Creating new projects does not work here either. First step of wizard: entering title and name of project (only ASCII-chars), selecting QT-app Second step: selecting home-folder => "Next" => error : "File already exists" although it doesn't. The Wizard then creats the folder including two files: - .project: # Gambas Project File 1.0 Title=asdfasdf Startup=FMain Library=gb.qt Library=gb.qt.ext Library=gb.form - .directory: [Desktop Entry] Icon=./.dir_icon.png That's why no folder-icon is visible in konqueror. Regards, Franz From sztibi82 at ...43... Tue Aug 8 14:24:20 2006 From: sztibi82 at ...43... (SZTIBI) Date: Tue, 8 Aug 2006 05:24:20 -0700 (PDT) Subject: [Gambas-user] question about licenses Message-ID: <20060808122420.49705.qmail@...1538...> Hi all. Just graduated student wishes to create software company in the domain of programming under linux. Sadly in the region noone is able to provide us the necesarry information about licenses, so we came with our offer. We thought to use some of the free linux distributions like fedora or ubuntu with and install on them Gambas. We would like to know if we can develop programs for our company needs and for sell as well. Thank you for your reply in advance. With regards Szelitzky Tibor. --------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: From leonardo at ...1237... Tue Aug 8 16:35:01 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 08 Aug 2006 16:35:01 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608081409.15307.mike-nought@...17...> References: <200608072330.51312.stefanopalmeri@...152...> <44D85F1C.7080905@...1237...> <200608081336.07231.gambas@...1...> <200608081409.15307.mike-nought@...17...> Message-ID: <44D8A115.7000801@...1237...> mike-nought at ...17... ha scritto: > Hi Benoit. > Creating new projects does not work here either. > First step of wizard: entering title and name of project (only ASCII-chars), > selecting QT-app > Second step: selecting home-folder => "Next" => error : "File already exists" > although it doesn't. The Wizard then creats the folder including two files: > > - .project: > # Gambas Project File 1.0 > Title=asdfasdf > Startup=FMain > Library=gb.qt > Library=gb.qt.ext > Library=gb.form > > - .directory: > [Desktop Entry] > Icon=./.dir_icon.png > > That's why no folder-icon is visible in konqueror. This is EXACTLY what happens on my system. -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From leonardo at ...1237... Tue Aug 8 16:46:45 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 08 Aug 2006 16:46:45 +0200 Subject: [Gambas-user] question about licenses In-Reply-To: <20060808122420.49705.qmail@...1538...> References: <20060808122420.49705.qmail@...1538...> Message-ID: <44D8A3D5.1030306@...1237...> SZTIBI ha scritto: > Hi all. > Just graduated student wishes to create software company in the domain > of programming under linux. > Sadly in the region noone is able to provide us the necesarry > information about licenses, so we came with our offer. > We thought to use some of the free linux distributions like fedora or > ubuntu with and install on them Gambas. > We would like to know if we can develop programs for our company needs > and for sell as well. > > Thank you for your reply in advance. > With regards Szelitzky Tibor. > > > > > > ------------------------------------------------------------------------ > Do you Yahoo!? > Get on board. You're invited > > to try the new Yahoo! Mail Beta. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I know that Gambas if opensource and GPL licenced so you can download, modify and compile on any system and write any application you want. But... Gambas can uses QT components... and I know that QT licence is a little bit different... I know that on Linux the use and compiling of applications using QT libraries is free of charge is those ones are distribuited themselves free of charge... So, if you write and application with Gambas using QT components and think to sell it, I think that TrollTech could have some words to say... Am I right? -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From ronstk at ...239... Tue Aug 8 16:58:46 2006 From: ronstk at ...239... (Ron Onstenk) Date: Tue, 8 Aug 2006 16:58:46 +0200 Subject: [Gambas-user] question about licenses In-Reply-To: <20060808122420.49705.qmail@...1538...> References: <20060808122420.49705.qmail@...1538...> Message-ID: <200608081658.46291.ronstk@...239...> On Tuesday 08 August 2006 14:24, SZTIBI wrote: > Hi all. > Just graduated student Congratulations. > wishes to create software company in the domain Hope you learned that as student how to do. > of programming under linux. Did you read any thing about linux? > Sadly in the region noone is able to provide us the necesarry information about licenses, In almost every file in the "linux" and OpenSource you can find a notice about licenses. > so we came with our offer. Which offer? I do not see anything. > We thought to use some of the free linux distributions like fedora or > ubuntu with What do you mean with 'With' ??? > and install on them Gambas. Nice. > We would like to know if we can develop programs for our company needs and for sell as well. Of course mostly no problem. If you include the source as required by licenses and the license allow it to sell. Then I can compile it to and give it 'gratis' away. But pay at least the chief head developer of gambas. > > Thank you for your reply in advance. > With regards Szelitzky Tibor. > > Oh, before I forget. You are ungraduated by now, you did not learn anything usefull. Good research about the things you want handle i.e. license information which is available all over on the internet. Google is your best friend. (I had to ventilate this, excuse if somebody feels hurt) From gambas at ...1... Tue Aug 8 17:52:34 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 8 Aug 2006 17:52:34 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <44D8A115.7000801@...1237...> References: <200608072330.51312.stefanopalmeri@...152...> <200608081409.15307.mike-nought@...17...> <44D8A115.7000801@...1237...> Message-ID: <200608081752.34512.gambas@...1...> On Tuesday 08 August 2006 16:35, Leonardo Miliani wrote: > mike-nought at ...17... ha scritto: > > Hi Benoit. > > Creating new projects does not work here either. > > First step of wizard: entering title and name of project (only > > ASCII-chars), selecting QT-app > > Second step: selecting home-folder => "Next" => error : "File already > > exists" although it doesn't. The Wizard then creats the folder including > > two files: > > > > - .project: > > # Gambas Project File 1.0 > > Title=asdfasdf > > Startup=FMain > > Library=gb.qt > > Library=gb.qt.ext > > Library=gb.form > > > > - .directory: > > [Desktop Entry] > > Icon=./.dir_icon.png > > > > That's why no folder-icon is visible in konqueror. > > This is EXACTLY what happens on my system. @#*! I cannot make it fail on my system... Can someone try to trace step by step the IDE when creating the project to tell me where the CreateProject() function fails exactly? Thanks in advance. -- Benoit Minisini From ronstk at ...239... Tue Aug 8 18:14:17 2006 From: ronstk at ...239... (Ron Onstenk) Date: Tue, 8 Aug 2006 18:14:17 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608081752.34512.gambas@...1...> References: <200608072330.51312.stefanopalmeri@...152...> <44D8A115.7000801@...1237...> <200608081752.34512.gambas@...1...> Message-ID: <200608081814.17334.ronstk@...239...> On Tuesday 08 August 2006 17:52, Benoit Minisini wrote: > @#*! I cannot make it fail on my system... > I can help on your system :) -- The only bug free software from benoit is still shrink-wrapped in his system... From leonardo at ...1237... Tue Aug 8 21:38:20 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 08 Aug 2006 21:38:20 +0200 Subject: [Gambas-user] Stock patch: buggy? Message-ID: <44D8E82C.3060805@...1237...> I'd having a lot of problem running a program of mine: strange, because the code seemed to be clearly... Gambas wouldn't load a class... Finally, using CATCH, I got the console showing up with this message: Stock.InitTheme.136: Stock path: kde:/home/leo/.kde/share/icons/nuvola kde:/etc/opt/kde3/share/icons/crystalsvg kde:/opt/kde3/share/icons/crystalsvg kde:/opt/kde3/share/icons/hicolor stock/qt I applied the patch for the missing icons... Maybe my problem is related to the patch? Now I'll try to recompile Gambas using original code, without patches... I'll tell you what will happen... -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From gambas at ...1... Tue Aug 8 21:53:20 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 8 Aug 2006 21:53:20 +0200 Subject: [Gambas-user] Stock patch: buggy? In-Reply-To: <44D8E82C.3060805@...1237...> References: <44D8E82C.3060805@...1237...> Message-ID: <200608082153.20691.gambas@...1...> On Tuesday 08 August 2006 21:38, Leonardo Miliani wrote: > I'd having a lot of problem running a program of mine: strange, because > the code seemed to be clearly... > Gambas wouldn't load a class... Which problems exactly? I can't read minds yet, so you must tell me things with as much detail as possible! Regards, -- Benoit Minisini From leonardo at ...1237... Tue Aug 8 21:49:41 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 08 Aug 2006 21:49:41 +0200 Subject: [Gambas-user] Stock patch: buggy? In-Reply-To: <44D8E82C.3060805@...1237...> References: <44D8E82C.3060805@...1237...> Message-ID: <44D8EAD5.1040500@...1237...> Leonardo Miliani ha scritto: > I'd having a lot of problem running a program of mine: strange, because > the code seemed to be clearly... > Gambas wouldn't load a class... Finally, using CATCH, I got the console > showing up with this message: > Stock.InitTheme.136: Stock path: kde:/home/leo/.kde/share/icons/nuvola > kde:/etc/opt/kde3/share/icons/crystalsvg > kde:/opt/kde3/share/icons/crystalsvg kde:/opt/kde3/share/icons/hicolor > stock/qt > > I applied the patch for the missing icons... Maybe my problem is related > to the patch? > Now I'll try to recompile Gambas using original code, without patches... > I'll tell you what will happen... > The problem is not related to the patch but it's curios that I got that message from the console, isn't it? -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From gambas at ...1... Tue Aug 8 21:56:43 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 8 Aug 2006 21:56:43 +0200 Subject: [Gambas-user] Stock patch: buggy? In-Reply-To: <44D8EAD5.1040500@...1237...> References: <44D8E82C.3060805@...1237...> <44D8EAD5.1040500@...1237...> Message-ID: <200608082156.43933.gambas@...1...> On Tuesday 08 August 2006 21:49, Leonardo Miliani wrote: > Leonardo Miliani ha scritto: > > I'd having a lot of problem running a program of mine: strange, because > > the code seemed to be clearly... > > Gambas wouldn't load a class... Finally, using CATCH, I got the console > > showing up with this message: > > Stock.InitTheme.136: Stock path: kde:/home/leo/.kde/share/icons/nuvola > > kde:/etc/opt/kde3/share/icons/crystalsvg > > kde:/opt/kde3/share/icons/crystalsvg kde:/opt/kde3/share/icons/hicolor > > stock/qt > > > > I applied the patch for the missing icons... Maybe my problem is related > > to the patch? > > Now I'll try to recompile Gambas using original code, without patches... > > I'll tell you what will happen... > > The problem is not related to the patch but it's curios that I got that > message from the console, isn't it? This message is just a debugging message printed the first time your program uses the Stock class. This way I can know where the Stock class searches icons on your system :-) Regards, -- Benoit Minisini From leonardo at ...1237... Tue Aug 8 21:51:52 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 08 Aug 2006 21:51:52 +0200 Subject: [Gambas-user] Stock patch: buggy? In-Reply-To: <200608082153.20691.gambas@...1...> References: <44D8E82C.3060805@...1237...> <200608082153.20691.gambas@...1...> Message-ID: <44D8EB58.4000900@...1237...> Benoit Minisini ha scritto: > On Tuesday 08 August 2006 21:38, Leonardo Miliani wrote: >> I'd having a lot of problem running a program of mine: strange, because >> the code seemed to be clearly... >> Gambas wouldn't load a class... > > Which problems exactly? I can't read minds yet, so you must tell me things > with as much detail as possible! > > Regards, > Yeah, you're right ;-) I think that I have a some porting problems from VB. But it's curios that I got that message from the console, and that the console appears itself, isn't it? I didn't solve my problem recompiling from source code (and so the problem wasn't related to the patch) so I'll investigate my code to find the bug. -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From leonardo at ...1237... Tue Aug 8 21:53:02 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 08 Aug 2006 21:53:02 +0200 Subject: [Gambas-user] Stock patch: buggy? In-Reply-To: <200608082156.43933.gambas@...1...> References: <44D8E82C.3060805@...1237...> <44D8EAD5.1040500@...1237...> <200608082156.43933.gambas@...1...> Message-ID: <44D8EB9E.1080701@...1237...> Benoit Minisini ha scritto: > This message is just a debugging message printed the first time your program > uses the Stock class. This way I can know where the Stock class searches > icons on your system :-) > > Regards, > Uh oh.. Undestood... :-) -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From gambas at ...1... Tue Aug 8 21:58:53 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 8 Aug 2006 21:58:53 +0200 Subject: [Gambas-user] Drag and Drop Bug In-Reply-To: References: Message-ID: <200608082158.54016.gambas@...1...> On Tuesday 08 August 2006 10:11, Timothy Marshal-Nichols wrote: > Hello, > > The bug seems to be back where you can not cancel a drop event with STOP > EVENT. > > After setting the property Drop to TRUE you should be able to drag items > onto a control. If you use STOP EVENT in the _Drag() event this should > cancel the _Drop() event. I have some code like this to cancel the _Drop() > event: > > IconView1_Drag() > IF Drag.Format <> myFormat THEN STOP EVENT > END > > If you put this code in the Drag event you can see it is called. But it > does not stop the _Drop() event being called. This example should always > cancel the Drop event. > > IconView1_Drag() > PRINT "Stop drag" > STOP EVENT > END > > I think there was this bug sometime in the past. And I thought it has been > fixed. Looks like it has come back. > > I am sure the bug is in these controls: > > ListView > IconView > ListBox > > Possibly others. > > I am not in that much hurry to have this bug fixed. Just thought you might > like to know and put it on your TO-DO list. > > Thanks > > 8-{)} Timothy Marshal-Nichols > > > This should be fixed in the next release. The behaviour will be the following: 1) If you don't implement the Drag event handler, nor the DragMove event handler, then the drop is rejected. 2) If you implement the Drag event handler only, then the drop is rejected only if you use STOP EVENT. 3) If you implement the DragMove event handler only, then the drop is rejected only if you use STOP EVENT. 4) If you implement both Drag and DragMove event handlers, then the drop is rejected if you use STOP EVENT in both handlers. Regards, -- Benoit Minisini From leonardo at ...1237... Tue Aug 8 22:16:02 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 08 Aug 2006 22:16:02 +0200 Subject: [Gambas-user] Stock patch: buggy? In-Reply-To: <44D8EB58.4000900@...1237...> References: <44D8E82C.3060805@...1237...> <200608082153.20691.gambas@...1...> <44D8EB58.4000900@...1237...> Message-ID: <44D8F102.1020102@...1237...> Leonardo Miliani ha scritto: > I didn't solve my problem recompiling from source code (and so the > problem wasn't related to the patch) so I'll investigate my code to find > the bug. > I've found the problem. I declared a dinamyc array of byte with 2 dimensions, when dinamic arrays can be olny monodimensional.. I've fixed it just using normal arrays. -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From leonardo at ...1237... Tue Aug 8 22:35:42 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 08 Aug 2006 22:35:42 +0200 Subject: [Gambas-user] Automatic compiling set off? Message-ID: <44D8F59E.4010605@...1237...> Sorry, Benoit... This evening I'm annoying you.. Maybe the 1.9.37 release doesn't make the automatic compiling of the code during the test anymore? If I ran a program clicking on the green arrow in the tool menu, Gambas compiled and executed my program every time taking care of any change in the code... In the last release, I must click on "Compile everything" before Gambas can see any changes in the code. If I run my program without recompiling it, Gambas uses the last pseudo-code. Can you confirm this? -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From gambas at ...1... Tue Aug 8 22:44:55 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 8 Aug 2006 22:44:55 +0200 Subject: [Gambas-user] Automatic compiling set off? In-Reply-To: <44D8F59E.4010605@...1237...> References: <44D8F59E.4010605@...1237...> Message-ID: <200608082244.55823.gambas@...1...> On Tuesday 08 August 2006 22:35, Leonardo Miliani wrote: > Sorry, Benoit... > This evening I'm annoying you.. > > Maybe the 1.9.37 release doesn't make the automatic compiling of the > code during the test anymore? > If I ran a program clicking on the green arrow in the tool menu, Gambas > compiled and executed my program every time taking care of any change in > the code... > In the last release, I must click on "Compile everything" before Gambas > can see any changes in the code. If I run my program without recompiling > it, Gambas uses the last pseudo-code. > Can you confirm this? No, nothing changed there. You have a problem somewhere else I think... Anyway you can try to compile your project by hand to see if the compiler prints warning messages. Open a terminal, go to your project directory, and type 'gbc2 -gt'. This is (about) the command used by the IDE when you run the program. Regards, -- Benoit Minisini From sirfabien at ...626... Tue Aug 8 22:42:46 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Tue, 8 Aug 2006 22:42:46 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608081752.34512.gambas@...1...> References: <200608072330.51312.stefanopalmeri@...152...> <44D8A115.7000801@...1237...> <200608081752.34512.gambas@...1...> Message-ID: <200608082242.46843.sirfabien@...626...> Le Mardi 8 Ao?t 2006 17:52, Benoit Minisini a ?crit?: > On Tuesday 08 August 2006 16:35, Leonardo Miliani wrote: > > mike-nought at ...17... ha scritto: > > > Hi Benoit. > > > Creating new projects does not work here either. > > > First step of wizard: entering title and name of project (only > > > ASCII-chars), selecting QT-app > > > Second step: selecting home-folder => "Next" => error : "File already > > > exists" although it doesn't. The Wizard then creats the folder > > > including two files: > > > > > > - .project: > > > # Gambas Project File 1.0 > > > Title=asdfasdf > > > Startup=FMain > > > Library=gb.qt > > > Library=gb.qt.ext > > > Library=gb.form > > > > > > - .directory: > > > [Desktop Entry] > > > Icon=./.dir_icon.png > > > > > > That's why no folder-icon is visible in konqueror. > > > > This is EXACTLY what happens on my system. > > @#*! I cannot make it fail on my system... > > Can someone try to trace step by step the IDE when creating the project to > tell me where the CreateProject() function fails exactly? > > Thanks in advance. i've the same problem too i will see From gambas at ...1... Tue Aug 8 23:41:20 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 8 Aug 2006 23:41:20 +0200 Subject: [Gambas-user] Pre release of gambas 1.9.38 Message-ID: <200608082341.20900.gambas@...1...> Hi, You can download pre-release of gambas 1.9.38 there: http://gambas.sf.net/gambas2-1.9.38.pre1.tar.bz2 This release fixes many bugs, but not the project creation dialog. Please try with this version, and report me the problems. Otherwise you will see the mascot talking :-) Regards, -- Benoit Minisini From stefanopalmeri at ...152... Wed Aug 9 01:38:49 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Wed, 9 Aug 2006 01:38:49 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608081752.34512.gambas@...1...> References: <200608072330.51312.stefanopalmeri@...152...> <44D8A115.7000801@...1237...> <200608081752.34512.gambas@...1...> Message-ID: <200608090138.49773.stefanopalmeri@...152...> Alle 17:52, marted? 8 agosto 2006, Benoit Minisini ha scritto: > @#*! I cannot make it fail on my system... > > Can someone try to trace step by step the IDE when creating the project to > tell me where the CreateProject() function fails exactly? > > Thanks in advance. > > -- > Benoit Minisini > Hi, Benoit. I'm not a guru of debugging. I ran this command: strace gbr2 gambas2.gambas 2> strace.out from the IDE source directory. Then in the wizard I set "sample" as title and name for the new project. Next I've selected the parent directory (my home dir) and got the error. And last I closed the IDE and gzipped strace.out. "grep sample strace.out" gives some result, but it's obscure to me. I hope this helps to find the bug :-) Regards, Stefano Palmeri -------------- next part -------------- A non-text attachment was scrubbed... Name: strace.out.bz2 Type: application/x-bzip2 Size: 89061 bytes Desc: not available URL: From gambas at ...1... Wed Aug 9 01:50:10 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 9 Aug 2006 01:50:10 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608090138.49773.stefanopalmeri@...152...> References: <200608072330.51312.stefanopalmeri@...152...> <200608081752.34512.gambas@...1...> <200608090138.49773.stefanopalmeri@...152...> Message-ID: <200608090150.10514.gambas@...1...> On Wednesday 09 August 2006 01:38, Stefano Palmeri wrote: > Alle 17:52, marted? 8 agosto 2006, Benoit Minisini ha scritto: > > @#*! I cannot make it fail on my system... > > > > Can someone try to trace step by step the IDE when creating the project > > to tell me where the CreateProject() function fails exactly? > > > > Thanks in advance. > > > > -- > > Benoit Minisini > > Hi, Benoit. > > I'm not a guru of debugging. > I ran this command: > > strace gbr2 gambas2.gambas 2> strace.out > > from the IDE source directory. > > Then in the wizard I set "sample" as title > and name for the new project. Next I've selected the parent > directory (my home dir) and got the error. > And last I closed the IDE and gzipped strace.out. > > "grep sample strace.out" gives some result, but > it's obscure to me. > > I hope this helps to find the bug :-) > > Regards, > > Stefano Palmeri I was talking about debugging the IDE in the IDE. The IDE is a Gambas program like any other one. I just want to know at which line of code in the IDE source code it fails. Regards, -- Benoit Minisini From stefanopalmeri at ...152... Wed Aug 9 02:08:16 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Wed, 9 Aug 2006 02:08:16 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608090150.10514.gambas@...1...> References: <200608072330.51312.stefanopalmeri@...152...> <200608090138.49773.stefanopalmeri@...152...> <200608090150.10514.gambas@...1...> Message-ID: <200608090208.16617.stefanopalmeri@...152...> Alle 01:50, mercoled? 9 agosto 2006, Benoit Minisini ha scritto: > On Wednesday 09 August 2006 01:38, Stefano Palmeri wrote: > > Alle 17:52, marted? 8 agosto 2006, Benoit Minisini ha scritto: > > > @#*! I cannot make it fail on my system... > > > > > > Can someone try to trace step by step the IDE when creating the project > > > to tell me where the CreateProject() function fails exactly? > > > > > > Thanks in advance. > > > > > > -- > > > Benoit Minisini > > > > Hi, Benoit. > > > > I'm not a guru of debugging. > > I ran this command: > > > > strace gbr2 gambas2.gambas 2> strace.out > > > > from the IDE source directory. > > > > Then in the wizard I set "sample" as title > > and name for the new project. Next I've selected the parent > > directory (my home dir) and got the error. > > And last I closed the IDE and gzipped strace.out. > > > > "grep sample strace.out" gives some result, but > > it's obscure to me. > > > > I hope this helps to find the bug :-) > > > > Regards, > > > > Stefano Palmeri > > I was talking about debugging the IDE in the IDE. The IDE is a Gambas program > like any other one. I just want to know at which line of code in the IDE > source code it fails. > > Regards, > > -- > Benoit Minisini I told you I'm not a guru :-) . Anyway I've good news... I straced the IDE from Gambas step by step and hurraa!!! the wizard creates the new project and gives no errors. I can see the new project directory rapresented by the Gambas logo (a new feature?. So, for curiosity I ran Gambas2 from Gambas2 without debugging and the wizard works well !!! Then running again Gambas2 from console and getting again the wizard problem Saluti, Stefano Palmeri From msumurph at ...626... Wed Aug 9 02:20:52 2006 From: msumurph at ...626... (Allen Murphy) Date: Tue, 08 Aug 2006 20:20:52 -0400 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608090150.10514.gambas@...1...> References: <200608072330.51312.stefanopalmeri@...152...> <200608081752.34512.gambas@...1...> <200608090138.49773.stefanopalmeri@...152...> <200608090150.10514.gambas@...1...> Message-ID: <1155082852.2840.12.camel@...37...> When I run the IDE in the IDE, I do not get the error. However, when I run it from the prompt (gambas2), I do get the error. My theory is that the installed version of gambas2 IDE cannot locate the template/FMain.class file. To test this, I opened the IDE in the IDE and added the following lines to the beginning of the GetFile() (line 93) subroutine: IF Exist(sPath) THEN PRINT "GetFile: " & sPath ELSE PRINT "GetFile: Error in path - " & sPath END IF When I run the project from the IDE, I get this output: GetFile: template/list GetFile: template/_project GetFile: template/_project ... GetFile: template/_directory GetFile: template/_directory ... GetFile: template/FMain.class GetFile: template/FMain.class and then the new project is created. In other words, no error. I reinstalled my "edited version" of gambas2 and ran from the command prompt and then I get the following: GetFile: template/list GetFile: template/_project GetFile: template/_project ... GetFile: template/_directory GetFile: template/_directory ... GetFile: Error in path - template/FMain.class The the error dialog is displayed. Apparently this file does not exist? Perhaps the template files are not being installed correctly with "make install"?? Hope this helps! Allen On Wed, 2006-08-09 at 01:50 +0200, Benoit Minisini wrote: > I was talking about debugging the IDE in the IDE. The IDE is a Gambas program > like any other one. I just want to know at which line of code in the IDE > source code it fails. > > Regards, > From gambas at ...1... Wed Aug 9 02:44:16 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 9 Aug 2006 02:44:16 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <1155082852.2840.12.camel@...37...> References: <200608072330.51312.stefanopalmeri@...152...> <200608090150.10514.gambas@...1...> <1155082852.2840.12.camel@...37...> Message-ID: <200608090244.16623.gambas@...1...> On Wednesday 09 August 2006 02:20, Allen Murphy wrote: > When I run the IDE in the IDE, I do not get the error. However, when I > run it from the prompt (gambas2), I do get the error. > > My theory is that the installed version of gambas2 IDE cannot locate the > template/FMain.class file. To test this, I opened the IDE in the IDE > and added the following lines to the beginning of the GetFile() (line > 93) subroutine: > > IF Exist(sPath) THEN > PRINT "GetFile: " & sPath > ELSE > PRINT "GetFile: Error in path - " & sPath > END IF > > When I run the project from the IDE, I get this output: > > GetFile: template/list > GetFile: template/_project > GetFile: template/_project > ... > GetFile: template/_directory > GetFile: template/_directory > ... > GetFile: template/FMain.class > GetFile: template/FMain.class > > and then the new project is created. In other words, no error. > > I reinstalled my "edited version" of gambas2 and ran from the command > prompt and then I get the following: > > GetFile: template/list > GetFile: template/_project > GetFile: template/_project > ... > GetFile: template/_directory > GetFile: template/_directory > ... > GetFile: Error in path - template/FMain.class > > The the error dialog is displayed. Apparently this file does not exist? > Perhaps the template files are not being installed correctly with "make > install"?? Hope this helps! > > Allen > Bingo! I am plain stupid :-) The archiver (the program that makes executables) don't pack *.class, *.module, *.form files. It should do that only when they are at the root of the project directory... Now I see that this design is painful. Source files should be put in their own hidden directory in the project. Note that with this new design, old projects won't be usable anymore. But I think I have to do that now! Regards, -- Benoit Minisini From stefanopalmeri at ...152... Wed Aug 9 02:50:22 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Wed, 9 Aug 2006 02:50:22 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608090244.16623.gambas@...1...> References: <200608072330.51312.stefanopalmeri@...152...> <1155082852.2840.12.camel@...37...> <200608090244.16623.gambas@...1...> Message-ID: <200608090250.22966.stefanopalmeri@...152...> Alle 02:44, mercoled? 9 agosto 2006, Benoit Minisini ha scritto: > Note that with this new design, old projects won't be usable anymore. But I > think I have to do that now! > > Regards, > > -- > Benoit Minisini What?! I hope you are talking of *old already compiled projects*... or not? Regards, Stefano Palmeri From gambas at ...1... Wed Aug 9 03:04:09 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 9 Aug 2006 03:04:09 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608090250.22966.stefanopalmeri@...152...> References: <200608072330.51312.stefanopalmeri@...152...> <200608090244.16623.gambas@...1...> <200608090250.22966.stefanopalmeri@...152...> Message-ID: <200608090304.09842.gambas@...1...> On Wednesday 09 August 2006 02:50, Stefano Palmeri wrote: > Alle 02:44, mercoled? 9 agosto 2006, Benoit Minisini ha scritto: > > Note that with this new design, old projects won't be usable anymore. But > > I think I have to do that now! > > > > Regards, > > > > -- > > Benoit Minisini > > What?! > > I hope you are talking of *old already compiled projects*... or not? > > Regards, > > Stefano Palmeri > No, I mean that if I make this change, and it seems that I am logically obliged, I need to make a converter in the IDE. It is just a matter of moving all source file in a sub-directory named ".source" for example. Regards, -- Benoit Minisini From stefanopalmeri at ...152... Wed Aug 9 03:12:24 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Wed, 9 Aug 2006 03:12:24 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608090304.09842.gambas@...1...> References: <200608072330.51312.stefanopalmeri@...152...> <200608090250.22966.stefanopalmeri@...152...> <200608090304.09842.gambas@...1...> Message-ID: <200608090312.25162.stefanopalmeri@...152...> Alle 03:04, mercoled? 9 agosto 2006, Benoit Minisini ha scritto: > On Wednesday 09 August 2006 02:50, Stefano Palmeri wrote: > > Alle 02:44, mercoled? 9 agosto 2006, Benoit Minisini ha scritto: > > > Note that with this new design, old projects won't be usable anymore. But > > > I think I have to do that now! > > > > > > Regards, > > > > > > -- > > > Benoit Minisini > > > > What?! > > > > I hope you are talking of *old already compiled projects*... or not? > > > > Regards, > > > > Stefano Palmeri > > > > No, I mean that if I make this change, and it seems that I am logically > obliged, I need to make a converter in the IDE. It is just a matter of moving > all source file in a sub-directory named ".source" for example. > > Regards, > > -- > Benoit Minisini > Well... Ok guys, stop panic :-) Best regards, Stefano Palmeri From rporticio at ...43... Wed Aug 9 04:17:38 2006 From: rporticio at ...43... (Ramon Orticio) Date: Tue, 8 Aug 2006 19:17:38 -0700 (PDT) Subject: [Gambas-user] datareport up and running Message-ID: <20060809021738.85804.qmail@...1037...> dear friends, thanks for your generous advice. the database examples are already running well in both latest versions of gambas in fedora core 4. i'll try to use them as alternative to the database i made in microsoft. i found out that installation in fedoracore 4 is easier using the ./configure make and make install commands. i'll keep in touch. thanks again. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From joe1962 at ...626... Wed Aug 9 04:18:19 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Tue, 8 Aug 2006 22:18:19 -0400 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608090244.16623.gambas@...1...> References: <200608072330.51312.stefanopalmeri@...152...> <200608090150.10514.gambas@...1...> <1155082852.2840.12.camel@...37...> <200608090244.16623.gambas@...1...> Message-ID: <6c208f950608081918y5f4f96a0h7df158cffd23ff0@...627...> On 8/8/06, Benoit Minisini wrote: > Bingo! I am plain stupid :-) > > The archiver (the program that makes executables) don't pack *.class, > *.module, *.form files. It should do that only when they are at the root of > the project directory... > > Now I see that this design is painful. Source files should be put in their own > hidden directory in the project. > > Note that with this new design, old projects won't be usable anymore. But I > think I have to do that now! > I'm not sure I understand. Do you mean that a project's source files will be inside a further hidden directory now? I'm afraid this will not place nicely with projects handled by cvs, svn, etc. Regards, Joe1962 From gambas at ...1... Wed Aug 9 04:31:56 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 9 Aug 2006 04:31:56 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <6c208f950608081918y5f4f96a0h7df158cffd23ff0@...627...> References: <200608072330.51312.stefanopalmeri@...152...> <200608090244.16623.gambas@...1...> <6c208f950608081918y5f4f96a0h7df158cffd23ff0@...627...> Message-ID: <200608090431.57227.gambas@...1...> On Wednesday 09 August 2006 04:18, Jose J. Rodriguez wrote: > On 8/8/06, Benoit Minisini wrote: > > Bingo! I am plain stupid :-) > > > > The archiver (the program that makes executables) don't pack *.class, > > *.module, *.form files. It should do that only when they are at the root > > of the project directory... > > > > Now I see that this design is painful. Source files should be put in > > their own hidden directory in the project. > > > > Note that with this new design, old projects won't be usable anymore. But > > I think I have to do that now! > > I'm not sure I understand. Do you mean that a project's source files > will be inside a further hidden directory now? I'm afraid this will > not place nicely with projects handled by cvs, svn, etc. > > Regards, > Joe1962 > This is what I meant. If this directory is not hidden, will it be a problem then? -- Benoit Minisini From joe1962 at ...626... Wed Aug 9 04:40:28 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Tue, 8 Aug 2006 22:40:28 -0400 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608090431.57227.gambas@...1...> References: <200608072330.51312.stefanopalmeri@...152...> <200608090244.16623.gambas@...1...> <6c208f950608081918y5f4f96a0h7df158cffd23ff0@...627...> <200608090431.57227.gambas@...1...> Message-ID: <6c208f950608081940q46ec1e2dufb2af22d8b0ca9ba@...627...> On 8/8/06, Benoit Minisini wrote: > On Wednesday 09 August 2006 04:18, Jose J. Rodriguez wrote: > > On 8/8/06, Benoit Minisini wrote: > > > Bingo! I am plain stupid :-) > > > > > > The archiver (the program that makes executables) don't pack *.class, > > > *.module, *.form files. It should do that only when they are at the root > > > of the project directory... > > > > > > Now I see that this design is painful. Source files should be put in > > > their own hidden directory in the project. > > > > > > Note that with this new design, old projects won't be usable anymore. But > > > I think I have to do that now! > > > > I'm not sure I understand. Do you mean that a project's source files > > will be inside a further hidden directory now? I'm afraid this will > > not place nicely with projects handled by cvs, svn, etc. > > > > Regards, > > Joe1962 > > > > This is what I meant. If this directory is not hidden, will it be a problem > then? > Hmm... I think I originally reacted because I'm used to working with the source code at the root level of the project, but looking at other open source projects (granted, those are mostly in C), they do tend to have a "src" directory. I guess we can live with, and get used to, working that way. But yes, not hidden will work better, thanks. Actually, followind that line of reasoning, how about a "data" directory for data files, instead of picking them from the root level of the project? These two changes would be a nice step forward in organisation of our gambas projects, IMHO. Regards, Joe1962 From timothy.marshal-nichols at ...247... Wed Aug 9 08:15:35 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Wed, 9 Aug 2006 07:15:35 +0100 Subject: [Gambas-user] Print probleem with pictures/text In-Reply-To: <200607262342.03330.gambas@...1...> Message-ID: > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of Benoit > Minisini > Sent: Wednesday, 26 July 2006 22:42 > To: mailing list for gambas users > Subject: Re: [Gambas-user] Print probleem with pictures/text > > > On Wednesday 26 July 2006 07:07, Timothy Marshal-Nichols wrote: > > > -----Original Message----- > > > From: gambas-user-bounces at lists.sourceforge.net > > > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of Benoit > > > Minisini > > > Sent: Monday, 24 July 2006 21:31 > > > To: mailing list for gambas users > > > Subject: Re: [Gambas-user] Print probleem with pictures/text > > > > > > On Monday 24 July 2006 11:48, Timothy Marshal-Nichols wrote: > > > > This project is version of previous one: > > > > > > > > It includes the bug fix for the first printing example > > > > And a second example that includes a crude word wrap function > > > > > > > > Note that for the Word-Wrap function to work you must have > set up your > > > > Draw.Begin(Printer) call and also set the Font you want. > > > > > > > > Thanks > > > > > > > > 8-{)} Timothy Marshal-Nichols > > > > > > > > > > Can I update your example with this new version? > > > > > > Note that in the Gambas IDE you have a menu entry that creates a > > > compressed > > > archive of your project automatically. > > > > > > Regards, > > > > > > -- > > > Benoit Minisini > > > > Thinking again about this: may be I shall update the project in > the Gambas > > examples to include the extra features from the latest project. > > > > I will add a word wrap option to the text tab and an extra tab > for printing > > two images on a page. > > > > > > Thanks > > > > 8-{)} Timothy Marshal-Nichols > > > > > > OK. Send me the result! > > -- > Benoit Minisini > I have updated the Printing example with the extra examples. And I have even used the Make source archive... option in Gambas to export the project :-) Thanks 8-{)} Timothy Marshal-Nichols > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: Printing-0.0.4.tar.tar.gz Type: application/x-gzip Size: 20186 bytes Desc: not available URL: From ronstk at ...239... Wed Aug 9 08:25:45 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 9 Aug 2006 08:25:45 +0200 Subject: [Gambas-user] Print probleem with pictures/text In-Reply-To: References: Message-ID: <200608090825.45921.ronstk@...239...> On Wednesday 09 August 2006 08:15, Timothy Marshal-Nichols wrote: > > Benoit Minisini > > > > I have updated the Printing example with the extra examples. > > And I have even used the Make source archive... option in Gambas to export > the project :-) > > > Thanks > > 8-{)} Timothy Marshal-Nichols > > > > I will look at it later today. The example I got last time did help a lot. The chief is happy, and I can continue with the project. Ron is happy to :) Thanks Ron From ronstk at ...239... Wed Aug 9 08:45:33 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 9 Aug 2006 08:45:33 +0200 Subject: [Gambas-user] Help has stopped working. Message-ID: <200608090845.34072.ronstk@...239...> The url http://gambasdoc.org/help/comp Components Unexpected error while displaying this page. File or directory does not exist Main.MakePageWithoutHeader.1449 I need help on TabStrip.Current It tell this result in .Tab The internal help of gambas does nothing on click .Tab I'm lost untill the website is repaired. -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From timothy.marshal-nichols at ...247... Wed Aug 9 08:45:54 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Wed, 9 Aug 2006 07:45:54 +0100 Subject: [Gambas-user] Drag and Drop Bug In-Reply-To: <200608082158.54016.gambas@...1...> Message-ID: Thanks 8-{)} Timothy Marshal-Nichols > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of Benoit > Minisini > Sent: Tuesday, 08 August 2006 20:59 > To: mailing list for gambas users > Subject: Re: [Gambas-user] Drag and Drop Bug > > > On Tuesday 08 August 2006 10:11, Timothy Marshal-Nichols wrote: > > Hello, > > > > The bug seems to be back where you can not cancel a drop event with STOP > > EVENT. > > > > After setting the property Drop to TRUE you should be able to drag items > > onto a control. If you use STOP EVENT in the _Drag() event this should > > cancel the _Drop() event. I have some code like this to cancel > the _Drop() > > event: > > > > IconView1_Drag() > > IF Drag.Format <> myFormat THEN STOP EVENT > > END > > > > If you put this code in the Drag event you can see it is called. But it > > does not stop the _Drop() event being called. This example should always > > cancel the Drop event. > > > > IconView1_Drag() > > PRINT "Stop drag" > > STOP EVENT > > END > > > > I think there was this bug sometime in the past. And I thought > it has been > > fixed. Looks like it has come back. > > > > I am sure the bug is in these controls: > > > > ListView > > IconView > > ListBox > > > > Possibly others. > > > > I am not in that much hurry to have this bug fixed. Just > thought you might > > like to know and put it on your TO-DO list. > > > > Thanks > > > > 8-{)} Timothy Marshal-Nichols > > > > > > > > This should be fixed in the next release. > > The behaviour will be the following: > > 1) If you don't implement the Drag event handler, nor the DragMove event > handler, then the drop is rejected. > Are there not a few cases where you might accept **anything** that is dropped on a control? In this case you would only have a Drop event. With 1) you would have to implement a dummy Drag (or DragMove) event that did nothing. Might it be better to say: 1) If you don't implement the Drop event handler then the drop is rejected. The rest looks good. > 2) If you implement the Drag event handler only, then the drop is > rejected > only if you use STOP EVENT. > > 3) If you implement the DragMove event handler only, then the > drop is rejected > only if you use STOP EVENT. > > 4) If you implement both Drag and DragMove event handlers, then > the drop is > rejected if you use STOP EVENT in both handlers. > > Regards, > > -- > Benoit Minisini > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Aug 9 12:12:05 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 9 Aug 2006 12:12:05 +0200 Subject: [Gambas-user] Help has stopped working. In-Reply-To: <200608090845.34072.ronstk@...239...> References: <200608090845.34072.ronstk@...239...> Message-ID: <200608091212.05834.gambas@...1...> On Wednesday 09 August 2006 08:45, Ron Onstenk wrote: > The url http://gambasdoc.org/help/comp > > > Components > Unexpected error while displaying this page. > File or directory does not exist > Main.MakePageWithoutHeader.1449 > > I need help on TabStrip.Current > It tell this result in .Tab > The internal help of gambas does nothing on click .Tab > > I'm lost untill the website is repaired. This is due to a bug in the gambas interpreter installed on the Rob Kudla's server. I will try to do something... Note that this bug has been fixed in 1.9.35. Regards, -- Benoit Minisini From dcamposf at ...626... Wed Aug 9 12:23:12 2006 From: dcamposf at ...626... (Daniel Campos) Date: Wed, 9 Aug 2006 12:23:12 +0200 Subject: [Gambas-user] About the QT licence Message-ID: <7259b5ae0608090323t230086e7w4c3bf475f46355bb@...627...> Hi: I asked to Trolltech about the famous "Gambas QT non-free programs" question. Basically, if planning to use Gambas-qt for any non-free application and want to distribute it, you have to pay a QT licence for programmer, and then, about distribution, this is the answer: "Both the GPL and our commercial license allow the running of commercial software against a GPL'ed Qt library - just the development and distribution is affected. They don't have to distribute any Qt library - if the open source Qt version that might be installed on the target computer is the correct version and configuration, then that's good enough. The GPL does not say anything about running software, only about distributing software. However, if no Qt version is installed on the target machine, then they must redistribute the commerical Qt libraries; otherwise the GPL comes into effect and 'infects' the whole distribution." I hope it is clear now :-) Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: From lordheavy at ...512... Wed Aug 9 12:41:26 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 9 Aug 2006 12:41:26 +0200 Subject: [Gambas-user] About the QT licence In-Reply-To: <7259b5ae0608090323t230086e7w4c3bf475f46355bb@...627...> References: <7259b5ae0608090323t230086e7w4c3bf475f46355bb@...627...> Message-ID: <200608091241.26108.lordheavy@...512...> Le mercredi 9 ao?t 2006 12:23, Daniel Campos a ?crit?: > Hi: > > I asked to Trolltech about the famous "Gambas QT non-free programs" > question. Basically, if planning to use Gambas-qt for any non-free > application and want to distribute it, you have to pay a QT licence > for programmer, and then, about distribution, this is the answer: > > "Both the GPL and our commercial license allow the running of > commercial software against a GPL'ed Qt library - just the development > and distribution is affected. > The problem isn't running commercial software, but running non-free/closed sources) software. GPL doesn't forbid commercial software with GPL part but non-free/closed sources software. > They don't have to distribute any Qt library - if the open source Qt > version that might be installed on the target computer is the correct > version and configuration, then that's good enough. The GPL does not > say anything about running software, only about distributing software. > However, if no Qt version is installed on the target machine, then > they must redistribute the commerical Qt libraries; otherwise the GPL > comes into effect and 'infects' the whole distribution." > > I hope it is clear now :-) > > Daniel From gambas at ...1... Wed Aug 9 13:14:35 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 9 Aug 2006 13:14:35 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <6c208f950608081940q46ec1e2dufb2af22d8b0ca9ba@...627...> References: <200608072330.51312.stefanopalmeri@...152...> <200608090431.57227.gambas@...1...> <6c208f950608081940q46ec1e2dufb2af22d8b0ca9ba@...627...> Message-ID: <200608091314.35538.gambas@...1...> On Wednesday 09 August 2006 04:40, Jose J. Rodriguez wrote: > On 8/8/06, Benoit Minisini wrote: > > On Wednesday 09 August 2006 04:18, Jose J. Rodriguez wrote: > > > On 8/8/06, Benoit Minisini wrote: > > > > Bingo! I am plain stupid :-) > > > > > > > > The archiver (the program that makes executables) don't pack *.class, > > > > *.module, *.form files. It should do that only when they are at the > > > > root of the project directory... > > > > > > > > Now I see that this design is painful. Source files should be put in > > > > their own hidden directory in the project. > > > > > > > > Note that with this new design, old projects won't be usable anymore. > > > > But I think I have to do that now! > > > > > > I'm not sure I understand. Do you mean that a project's source files > > > will be inside a further hidden directory now? I'm afraid this will > > > not place nicely with projects handled by cvs, svn, etc. > > > > > > Regards, > > > Joe1962 > > > > This is what I meant. If this directory is not hidden, will it be a > > problem then? > > Hmm... I think I originally reacted because I'm used to working with > the source code at the root level of the project, but looking at other > open source projects (granted, those are mostly in C), they do tend to > have a "src" directory. I guess we can live with, and get used to, > working that way. But yes, not hidden will work better, thanks. > > Actually, followind that line of reasoning, how about a "data" > directory for data files, instead of picking them from the root level > of the project? These two changes would be a nice step forward in > organisation of our gambas projects, IMHO. > > Regards, > Joe1962 > There is another constraint: the data file hierarchy should stay at the root of the project directory, otherwise you will have to always add this directory before any file you have to access, and then all current Gambas project will be heavily broken. If only the source files move, then the change will be less intrusive. Regards, -- Benoit Minisini From benoit.minisini at ...2... Wed Aug 9 14:05:46 2006 From: benoit.minisini at ...2... (Benoit Minisini) Date: Wed, 9 Aug 2006 14:05:46 +0200 Subject: [Gambas-user] New project directory format Message-ID: <200608091405.46920.benoit.minisini@...2...> Hi, The project directory format has evolved until the point that the archiver has became full of arbitrary rules when deciding which file/directory goes in the archive, and which does not. And finally we got the "create project" dialog bug recently. I think some cleanup should be done, but then old projects will need to be translated to the new format. Here is what I propose. Tell me what you think, if you have better ideas, and so on... 1) All directories and files in the root of the project directory beginning with a dot or an underscore are reserved. All other directories and files are part of the project data. 2) All source files now go inside a directory named "_sources". 3) All compiled files go inside a directory named ".gambas". 4) All translation files go inside a directory named ".lang". 5) All icon files generated by the package maker go inside a directory named ".icon". 6) The project configuration file is now named "_project" and not ".project" anymore. 7) The "_project" file will have the same syntax as files created by the Settings class. 8) A ".startup" file will be created from the "_project" file. It will include all information needed by the interpreter to run the project is a compact form. 9) A ".info" and ".list" files are created by the compiler that includes information about exported class. 10) When making an executable, all files and directories are included, except: _sources, .lang/*.po, .lang/*.pot, all CVS directories, all other files and directories beginning with a dot except ".gambas", ".startup", ".info" and ".list". Regards, -- Benoit Minisini From lordheavy at ...512... Wed Aug 9 16:16:35 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 9 Aug 2006 16:16:35 +0200 Subject: [Gambas-user] Pre release of gambas 1.9.38 In-Reply-To: <200608082341.20900.gambas@...1...> References: <200608082341.20900.gambas@...1...> Message-ID: <200608091616.35654.lordheavy@...512...> Le mardi 8 ao?t 2006 23:41, Benoit Minisini a ?crit?: > Hi, > > You can download pre-release of gambas 1.9.38 there: > > http://gambas.sf.net/gambas2-1.9.38.pre1.tar.bz2 > > This release fixes many bugs, but not the project creation dialog. > > Please try with this version, and report me the problems. > > Otherwise you will see the mascot talking :-) > > Regards, Now all icons are visible for me (kubuntu 6.06). Project creation dialog is very nice ;) Mascot need to be resize. Regards, From joe1962 at ...626... Wed Aug 9 17:01:03 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Wed, 9 Aug 2006 11:01:03 -0400 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608091314.35538.gambas@...1...> References: <200608072330.51312.stefanopalmeri@...152...> <200608090431.57227.gambas@...1...> <6c208f950608081940q46ec1e2dufb2af22d8b0ca9ba@...627...> <200608091314.35538.gambas@...1...> Message-ID: <6c208f950608090801i1863a8e1pfd061fccaa096930@...627...> On 8/9/06, Benoit Minisini wrote: > On Wednesday 09 August 2006 04:40, Jose J. Rodriguez wrote: > > Actually, followind that line of reasoning, how about a "data" > > directory for data files, instead of picking them from the root level > > of the project? These two changes would be a nice step forward in > > organisation of our gambas projects, IMHO. > > > > There is another constraint: the data file hierarchy should stay at the root > of the project directory, otherwise you will have to always add this > directory before any file you have to access, and then all current Gambas > project will be heavily broken. If only the source files move, then the > change will be less intrusive. > But a dedicated "data" directory wil help keep things so much cleaner... you won't need to worry so much about having extraneous stuff in the project, like for example I used to have some info or notes text files as well as spare icons to test, etc, until I noticed them becoming part of the project data and getting compiled in the executable. It can be created by the new project wizard at the same time it creates the "src" directory. Regarding current projects, not such a problem if you simply keep the old behaviour if the "data" directory doesn't exist. IMHO, it makes sense to rethink the whole project structure now and get things right, since you are already making one change. And you might want to change to "# Gambas Project File 2.0" in the .project file, if only to add a warning popup when an attempt is made to open a 1.0 version project. Would help to avoid loosing the GUI design in such a case! Regards, Joe1962 From joe1962 at ...626... Wed Aug 9 17:25:59 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Wed, 9 Aug 2006 11:25:59 -0400 Subject: [Gambas-user] New project directory format In-Reply-To: <200608091405.46920.benoit.minisini@...2...> References: <200608091405.46920.benoit.minisini@...2...> Message-ID: <6c208f950608090825m62f4bdc7ue8fb53b9f61379e8@...627...> On 8/9/06, Benoit Minisini wrote: > Hi, > > The project directory format has evolved until the point that the archiver has > became full of arbitrary rules when deciding which file/directory goes in the > archive, and which does not. And finally we got the "create project" dialog > bug recently. > > I think some cleanup should be done, but then old projects will need to be > translated to the new format. > > Here is what I propose. Tell me what you think, if you have better ideas, and > so on... > We were discussing some ideas on another thread, I'll repeat some things here for clarity. > 1) All directories and files in the root of the project directory beginning > with a dot or an underscore are reserved. All other directories and files are > part of the project data. > I still think a dedicated "data" or "userdata" directory is cleaner. And it should ideally allow for a hierarchy inside it, like "databases", "graphics", etc, but the details should probably be left to the user, just support any subdirectories in there. > 2) All source files now go inside a directory named "_sources". > > 3) All compiled files go inside a directory named ".gambas". > > 4) All translation files go inside a directory named ".lang". > > 5) All icon files generated by the package maker go inside a directory named > ".icon". > > 6) The project configuration file is now named "_project" and not ".project" > anymore. > > 7) The "_project" file will have the same syntax as files created by the > Settings class. > Please change to "# Gambas Project File 2.0" and add a warning popup when an attempt is made to open a 1.0 version project. Would help to avoid loosing the GUI design in such a case! > 8) A ".startup" file will be created from the "_project" file. It will include > all information needed by the interpreter to run the project is a compact > form. > > 9) A ".info" and ".list" files are created by the compiler that includes > information about exported class. > > 10) When making an executable, all files and directories are included, except: > _sources, .lang/*.po, .lang/*.pot, all CVS directories, all other files and > directories beginning with a dot except ".gambas", ".startup", ".info" and > ".list". > If you do use a dedicated "userdata" directory, you can probably loose the underscores before directory names, but that's really a matter of taste. Just my 2 cents ;). Regards, Joe1962 From ronstk at ...239... Wed Aug 9 17:59:33 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 9 Aug 2006 17:59:33 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <6c208f950608090801i1863a8e1pfd061fccaa096930@...627...> References: <200608072330.51312.stefanopalmeri@...152...> <200608091314.35538.gambas@...1...> <6c208f950608090801i1863a8e1pfd061fccaa096930@...627...> Message-ID: <200608091759.33488.ronstk@...239...> On Wednesday 09 August 2006 17:01, Jose J. Rodriguez wrote: > And you > might want to change to "# Gambas Project File 2.0" in the .project > file, if only to add a warning popup when an attempt is made to open a > 1.0 version project. Would help to avoid loosing the GUI design in > such a case! This surprised me already a long time that it is not done. The project files are already not compatible with version 1 and the first releases of version 2 now. Ron From ronstk at ...239... Wed Aug 9 18:02:17 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 9 Aug 2006 18:02:17 +0200 Subject: [Gambas-user] Help has stopped working. In-Reply-To: <200608091212.05834.gambas@...1...> References: <200608090845.34072.ronstk@...239...> <200608091212.05834.gambas@...1...> Message-ID: <200608091802.17958.ronstk@...239...> On Wednesday 09 August 2006 12:12, Benoit Minisini wrote: > This is due to a bug in the gambas interpreter installed on the Rob Kudla's > server. I will try to do something... LOL Robbyyyyyyyyyyyyyy fire up after hollidays :) > > Note that this bug has been fixed in 1.9.35. > Thats the one I'm using now as master. Ron From ronstk at ...239... Wed Aug 9 19:34:09 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 9 Aug 2006 19:34:09 +0200 Subject: [Gambas-user] What does this mean? Message-ID: <200608091934.09640.ronstk@...239...> PUBLIC SUB cmbReplace_Activate() IF Action["replace"].Visible THEN {Replace} ELSE ReplaceAll ENDIF END The {Replace} puzzles me. Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From gambas at ...1... Wed Aug 9 19:55:20 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 9 Aug 2006 19:55:20 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608091759.33488.ronstk@...239...> References: <200608072330.51312.stefanopalmeri@...152...> <6c208f950608090801i1863a8e1pfd061fccaa096930@...627...> <200608091759.33488.ronstk@...239...> Message-ID: <200608091955.20947.gambas@...1...> On Wednesday 09 August 2006 17:59, Ron Onstenk wrote: > On Wednesday 09 August 2006 17:01, Jose J. Rodriguez wrote: > > And you > > might want to change to "# Gambas Project File 2.0" in the .project > > file, if only to add a warning popup when an attempt is made to open a > > 1.0 version project. Would help to avoid loosing the GUI design in > > such a case! > > This surprised me already a long time that it is not done. > The project files are already not compatible with > version 1 and the first releases of version 2 now. > > Ron > Yes, but the .project file format itself didn't change. -- Benoit Minisini From gambas at ...1... Wed Aug 9 19:56:09 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 9 Aug 2006 19:56:09 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <6c208f950608090801i1863a8e1pfd061fccaa096930@...627...> References: <200608072330.51312.stefanopalmeri@...152...> <200608091314.35538.gambas@...1...> <6c208f950608090801i1863a8e1pfd061fccaa096930@...627...> Message-ID: <200608091956.09723.gambas@...1...> On Wednesday 09 August 2006 17:01, Jose J. Rodriguez wrote: > On 8/9/06, Benoit Minisini wrote: > > On Wednesday 09 August 2006 04:40, Jose J. Rodriguez wrote: > > > Actually, followind that line of reasoning, how about a "data" > > > directory for data files, instead of picking them from the root level > > > of the project? These two changes would be a nice step forward in > > > organisation of our gambas projects, IMHO. > > > > There is another constraint: the data file hierarchy should stay at the > > root of the project directory, otherwise you will have to always add this > > directory before any file you have to access, and then all current Gambas > > project will be heavily broken. If only the source files move, then the > > change will be less intrusive. > > But a dedicated "data" directory wil help keep things so much > cleaner... you won't need to worry so much about having extraneous > stuff in the project, like for example I used to have some info or > notes text files as well as spare icons to test, etc, until I noticed > them becoming part of the project data and getting compiled in the > executable. It can be created by the new project wizard at the same > time it creates the "src" directory. Regarding current projects, not > such a problem if you simply keep the old behaviour if the "data" > directory doesn't exist. > > IMHO, it makes sense to rethink the whole project structure now and > get things right, since you are already making one change. And you > might want to change to "# Gambas Project File 2.0" in the .project > file, if only to add a warning popup when an attempt is made to open a > 1.0 version project. Would help to avoid loosing the GUI design in > such a case! > > Regards, > Joe1962 > I prefer the contrary :-). A dedicated hidden folder for storing all files that should not go in the executable. Regards, -- Benoit Minisini From gambas at ...1... Wed Aug 9 19:59:38 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 9 Aug 2006 19:59:38 +0200 Subject: [Gambas-user] What does this mean? In-Reply-To: <200608091934.09640.ronstk@...239...> References: <200608091934.09640.ronstk@...239...> Message-ID: <200608091959.38755.gambas@...1...> On Wednesday 09 August 2006 19:34, Ron Onstenk wrote: > PUBLIC SUB cmbReplace_Activate() > > IF Action["replace"].Visible THEN > {Replace} > ELSE > ReplaceAll > ENDIF > > END > > The {Replace} puzzles me. > > Ron Really? Nevertheless, it is exactly the same syntax in VB. ;-) The { } just tells the compiler not to try to interpret the identifier as a subroutine name, a reserved keyword, or god knows what. By using { }, I am sure that 'Replace' will be interpreted as a function name in that case. Regards, -- Benoit Minisini From James.Hatridge at ...17... Wed Aug 9 20:35:05 2006 From: James.Hatridge at ...17... (James Hatridge) Date: Wed, 9 Aug 2006 20:35:05 +0200 Subject: [Gambas-user] Windows? Message-ID: <200608092035.05426.James.Hatridge@...17...> Hi all... Is there a version of gambas that works with windows 98 or 2k? Thanks, JIM -- Jim Hatridge Linux User #88484 ------------------------------------------------------ WartHog Bulletin Info about new German Stamps http://www.fuzzybunnymilitia.org/~hatridge/bulletin/index.php Viel Feind -- Viel Ehr' Anti-US Propaganda stamp collection http://www.fuzzybunnymilitia.org/~hatridge/collection/index.php From ronstk at ...239... Wed Aug 9 21:41:58 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 9 Aug 2006 21:41:58 +0200 Subject: [Gambas-user] What does this mean? In-Reply-To: <200608091959.38755.gambas@...1...> References: <200608091934.09640.ronstk@...239...> <200608091959.38755.gambas@...1...> Message-ID: <200608092141.58320.ronstk@...239...> On Wednesday 09 August 2006 19:59, Benoit Minisini wrote: > > The {Replace} puzzles me. > > > > Ron > > Really? Nevertheless, it is exactly the same syntax in VB. ;-) Really? Never seen or read about that in VB ;-) Or do you mean Virtual Basic? > > The { } just tells the compiler not to try to interpret the identifier as a > subroutine name, a reserved keyword, or god knows what. By using { }, I am > sure that 'Replace' will be interpreted as a function name in that case. Then I would use ReplaceOne here, much more trust in that. And referring to VB, and other basics variants to, functions should have always () after the name so Replace() does the same. Your the boss :) I'm your donkey, Ron From ronstk at ...239... Wed Aug 9 21:50:33 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 9 Aug 2006 21:50:33 +0200 Subject: [Gambas-user] Windows? In-Reply-To: <200608092035.05426.James.Hatridge@...17...> References: <200608092035.05426.James.Hatridge@...17...> Message-ID: <200608092150.33241.ronstk@...239...> On Wednesday 09 August 2006 20:35, James Hatridge wrote: > Hi all... > > Is there a version of gambas that works with windows 98 or 2k? > > Thanks, > > JIM Native as application? No there is not. There was someone who was working on a version that should run with usage of cygwin, a linux shell/gui for windows. He disappeared from earth I'm afraid. This is almost as native application The last way I know and have used, still do time by time, is using a linux box with gambas and NX-client from nomachines on the windows machine. http://www.nomachine.com/ Works great for the application written. Is not transparent to the windows box for files etc. Ron From gambas at ...1... Wed Aug 9 21:56:26 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 9 Aug 2006 21:56:26 +0200 Subject: [Gambas-user] What does this mean? In-Reply-To: <200608092141.58320.ronstk@...239...> References: <200608091934.09640.ronstk@...239...> <200608091959.38755.gambas@...1...> <200608092141.58320.ronstk@...239...> Message-ID: <200608092156.26725.gambas@...1...> On Wednesday 09 August 2006 21:41, Ron Onstenk wrote: > On Wednesday 09 August 2006 19:59, Benoit Minisini wrote: > > > The {Replace} puzzles me. > > > > > > Ron > > > > Really? Nevertheless, it is exactly the same syntax in VB. ;-) > > Really? Never seen or read about that in VB ;-) Try it! -- Benoit Minisini From ronstk at ...239... Wed Aug 9 21:58:43 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 9 Aug 2006 21:58:43 +0200 Subject: [Gambas-user] can't create a new project! In-Reply-To: <200608091955.20947.gambas@...1...> References: <200608072330.51312.stefanopalmeri@...152...> <200608091759.33488.ronstk@...239...> <200608091955.20947.gambas@...1...> Message-ID: <200608092158.43179.ronstk@...239...> On Wednesday 09 August 2006 19:55, Benoit Minisini wrote: > On Wednesday 09 August 2006 17:59, Ron Onstenk wrote: > > On Wednesday 09 August 2006 17:01, Jose J. Rodriguez wrote: > > > And you > > > might want to change to "# Gambas Project File 2.0" in the .project > > > file, if only to add a warning popup when an attempt is made to open a > > > 1.0 version project. Would help to avoid loosing the GUI design in > > > such a case! > > > > This surprised me already a long time that it is not done. > > The project files are already not compatible with > > version 1 and the first releases of version 2 now. > > > > Ron > > > > Yes, but the .project file format itself didn't change. > The *.class, *.forms did, those are the one I mean (and Jose J. Rodriguez?) A form file from version 1.0 is not usable, without changes, in version 2.0 i.e. Open xyz for read as hFilehandle (1.0) hFilehandle = xyz for read (2.0 <1.9.2? and up>) Smile the whole day, Ron From wspinto at ...1405... Wed Aug 9 22:29:41 2006 From: wspinto at ...1405... (wspinto at ...1405...) Date: Wed, 09 Aug 2006 17:29:41 -0300 Subject: [Gambas-user] Objects and Class creations for toolbox In-Reply-To: References: Message-ID: <1155155381.44da45b5b17bf@...1539...> Hi! It would like to catch a control of textbox and to add a button to side and one listbox below of textbox and to transform this into an object to be inserted for the toolbox, as well as if it inserts a label in a form screen. It has as to be made by gambas? I can create objects in gambas for gambas? IMPORT EXPORT CLASS, it could send some examples. Tks, Souza, Wellington ___________________________________________________________________________________ Agora todas as suas liga??es DDD e DDI com o 21 v?m junto com a conta do seu telefone de casa ou celular. Mais comodidade e praticidade para voc?. Faz um 21 e aproveite! From sourceforge-raindog2 at ...94... Wed Aug 9 22:52:49 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 9 Aug 2006 16:52:49 -0400 Subject: [Gambas-user] About the QT licence In-Reply-To: <7259b5ae0608090323t230086e7w4c3bf475f46355bb@...627...> References: <7259b5ae0608090323t230086e7w4c3bf475f46355bb@...627...> Message-ID: <200608091652.49717.sourceforge-raindog2@...94...> On Wed August 9 2006 06:23, Daniel Campos wrote: > I asked to Trolltech about the famous "Gambas QT non-free > programs" question. Basically, if planning to use Gambas-qt > for any non-free application and want to distribute it, you > have to pay a QT licence for programmer, and then, about > distribution, this is the answer: Thank you very much, Daniel. This should be part of the FAQ! Rob From ronstk at ...239... Wed Aug 9 23:04:09 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 9 Aug 2006 23:04:09 +0200 Subject: [Gambas-user] What does this mean? In-Reply-To: <200608092156.26725.gambas@...1...> References: <200608091934.09640.ronstk@...239...> <200608092141.58320.ronstk@...239...> <200608092156.26725.gambas@...1...> Message-ID: <200608092304.09810.ronstk@...239...> On Wednesday 09 August 2006 21:56, Benoit Minisini wrote: > Try it! > I will if you have a reference URL of it? -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From sourceforge-raindog2 at ...94... Wed Aug 9 23:00:58 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 9 Aug 2006 17:00:58 -0400 Subject: [Gambas-user] About the QT licence In-Reply-To: <200608091241.26108.lordheavy@...512...> References: <7259b5ae0608090323t230086e7w4c3bf475f46355bb@...627...> <200608091241.26108.lordheavy@...512...> Message-ID: <200608091700.59784.sourceforge-raindog2@...94...> On Wed August 9 2006 06:41, Laurent Carlier wrote: > > "Both the GPL and our commercial license allow the running > > of commercial software against a GPL'ed Qt library - just > > the development and distribution is affected. > The problem isn't running commercial software, but running > non-free/closed sources) software. GPL doesn't forbid > commercial software with GPL part but non-free/closed sources > software. I'm pretty sure the Trolltech person was using "commercial" in the sense of "proprietary". Anyway, this all makes sense to me now. The "Freedom #0" behind the GPL is that you can run the software any which way you like.... it's only in distribution that the GPL's requirements come into play. Which is what they said. Of course, this doesn't change the fact that someone developing a Gambas app using the GPL version of Qt is obligated to release that app under the GPL.... to use the commercial version of Qt for a product, according to Trolltech's FAQ, you must develop that product from scratch using the commercial version. Rob From sourceforge-raindog2 at ...94... Wed Aug 9 23:06:05 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 9 Aug 2006 17:06:05 -0400 Subject: [Gambas-user] Help has stopped working. In-Reply-To: <200608091802.17958.ronstk@...239...> References: <200608090845.34072.ronstk@...239...> <200608091212.05834.gambas@...1...> <200608091802.17958.ronstk@...239...> Message-ID: <200608091706.06790.sourceforge-raindog2@...94...> On Wed August 9 2006 12:02, Ron Onstenk wrote: > On Wednesday 09 August 2006 12:12, Benoit Minisini wrote: > > This is due to a bug in the gambas interpreter installed on > > the Rob Kudla's server. I will try to do something... > LOL > Robbyyyyyyyyyyyyyy fire up after hollidays :) Holiday? Haven't had one of those in 2 years now :P Anyway, it's fixed now.... Rob From ronstk at ...239... Wed Aug 9 23:43:52 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 9 Aug 2006 23:43:52 +0200 Subject: [Gambas-user] Help has stopped working. In-Reply-To: <200608091706.06790.sourceforge-raindog2@...94...> References: <200608090845.34072.ronstk@...239...> <200608091802.17958.ronstk@...239...> <200608091706.06790.sourceforge-raindog2@...94...> Message-ID: <200608092343.52803.ronstk@...239...> On Wednesday 09 August 2006 23:06, Rob Kudla wrote: > > Robbyyyyyyyyyyyyyy fire up after hollidays :) > > Holiday? ?Haven't had one of those in 2 years now :P > > Anyway, it's fixed now.... > Thanks, You deserve your holiday now. :D Ron From leonardo at ...1237... Thu Aug 10 01:23:26 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Thu, 10 Aug 2006 01:23:26 +0200 Subject: [Gambas-user] Pre release of gambas 1.9.38 In-Reply-To: <200608082341.20900.gambas@...1...> References: <200608082341.20900.gambas@...1...> Message-ID: <44DA6E6E.6070604@...1237...> Benoit Minisini ha scritto: > Hi, > > You can download pre-release of gambas 1.9.38 there: > > http://gambas.sf.net/gambas2-1.9.38.pre1.tar.bz2 > > This release fixes many bugs, but not the project creation dialog. > > Please try with this version, and report me the problems. > > Otherwise you will see the mascot talking :-) > > Regards, > Uhm... Is it possible that I can have some problems with class usage in Gambas 1.9.38? I cannot have the tips about the functions and subs that are public in the class. -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From stefanopalmeri at ...152... Thu Aug 10 00:53:02 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Thu, 10 Aug 2006 00:53:02 +0200 Subject: [Gambas-user] bug(?) that freezes the IDE Message-ID: <200608100053.02618.stefanopalmeri@...152...> Hi, all. Hi, Benoit. I found a bug(?) that freezes the Gambas2 IDE. How to reproduce the bug: 1) edit a Form and select a control that has the Text property, i.e. a Button 2) open the properties panel for the selected control 3) in the properties panel open the "Text property" editor 4) now close the editor with the close window button, *not* with the Cancel button. 5) the IDE is now freezed Gambas2 1.9.37 Please, could someone else confirm if this a bug? Regards, Stefano Palmeri From leonardo at ...1237... Thu Aug 10 01:37:21 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Thu, 10 Aug 2006 01:37:21 +0200 Subject: [Gambas-user] Pre release of gambas 1.9.38 In-Reply-To: <44DA6E6E.6070604@...1237...> References: <200608082341.20900.gambas@...1...> <44DA6E6E.6070604@...1237...> Message-ID: <44DA71B1.10508@...1237...> Leonardo Miliani ha scritto: > Benoit Minisini ha scritto: >> Hi, >> >> You can download pre-release of gambas 1.9.38 there: >> >> http://gambas.sf.net/gambas2-1.9.38.pre1.tar.bz2 >> >> This release fixes many bugs, but not the project creation dialog. >> >> Please try with this version, and report me the problems. >> >> Otherwise you will see the mascot talking :-) >> >> Regards, >> > > Uhm... > Is it possible that I can have some problems with class usage in Gambas > 1.9.38? > I cannot have the tips about the functions and subs that are public in > the class. > > I've found the problem. If the name of sub or function in the class contains the character "_" then the editor doesn't show the name of it. Is it regulare or is it a bug? -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From leonardo at ...1237... Thu Aug 10 01:43:07 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Thu, 10 Aug 2006 01:43:07 +0200 Subject: [Gambas-user] bug(?) that freezes the IDE In-Reply-To: <200608100053.02618.stefanopalmeri@...152...> References: <200608100053.02618.stefanopalmeri@...152...> Message-ID: <44DA730B.3020608@...1237...> Stefano Palmeri ha scritto: > Hi, all. Hi, Benoit. > > I found a bug(?) that freezes the Gambas2 IDE. > > How to reproduce the bug: > > 1) edit a Form and select a control that has the Text property, i.e. a Button > > 2) open the properties panel for the selected control > > 3) in the properties panel open the "Text property" editor > > 4) now close the editor with the close window button, *not* > with the Cancel button. > > 5) the IDE is now freezed > > Gambas2 1.9.37 > > Please, could someone else confirm if this a bug? > > Regards, > > Stefano Palmeri I've tried it on 1.9.38 but I hadn't freezes. -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From gambas at ...1... Thu Aug 10 01:57:53 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 10 Aug 2006 01:57:53 +0200 Subject: [Gambas-user] Pre release of gambas 1.9.38 In-Reply-To: <44DA71B1.10508@...1237...> References: <200608082341.20900.gambas@...1...> <44DA6E6E.6070604@...1237...> <44DA71B1.10508@...1237...> Message-ID: <200608100157.53713.gambas@...1...> On Thursday 10 August 2006 01:37, Leonardo Miliani wrote: > Leonardo Miliani ha scritto: > > Benoit Minisini ha scritto: > >> Hi, > >> > >> You can download pre-release of gambas 1.9.38 there: > >> > >> http://gambas.sf.net/gambas2-1.9.38.pre1.tar.bz2 > >> > >> This release fixes many bugs, but not the project creation dialog. > >> > >> Please try with this version, and report me the problems. > >> > >> Otherwise you will see the mascot talking :-) > >> > >> Regards, > > > > Uhm... > > Is it possible that I can have some problems with class usage in Gambas > > 1.9.38? > > I cannot have the tips about the functions and subs that are public in > > the class. > > I've found the problem. > If the name of sub or function in the class contains the character "_" > then the editor doesn't show the name of it. > Is it regulare or is it a bug? It is not a bug, it is a feature :-) All symbols having an underscore inside are considered "hidden" by the IDE. -- Benoit Minisini From gambas at ...1... Thu Aug 10 01:59:48 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 10 Aug 2006 01:59:48 +0200 Subject: [Gambas-user] bug(?) that freezes the IDE In-Reply-To: <44DA730B.3020608@...1237...> References: <200608100053.02618.stefanopalmeri@...152...> <44DA730B.3020608@...1237...> Message-ID: <200608100159.48587.gambas@...1...> On Thursday 10 August 2006 01:43, Leonardo Miliani wrote: > Stefano Palmeri ha scritto: > > Hi, all. Hi, Benoit. > > > > I found a bug(?) that freezes the Gambas2 IDE. > > > > How to reproduce the bug: > > > > 1) edit a Form and select a control that has the Text property, i.e. a > > Button > > > > 2) open the properties panel for the selected control > > > > 3) in the properties panel open the "Text property" editor > > > > 4) now close the editor with the close window button, *not* > > with the Cancel button. > > > > 5) the IDE is now freezed > > > > Gambas2 1.9.37 > > > > Please, could someone else confirm if this a bug? > > > > Regards, > > > > Stefano Palmeri > > I've tried it on 1.9.38 but I hadn't freezes. Yes, I have fixed something like that in 1.9.38. -- Benoit Minisini From ronstk at ...239... Thu Aug 10 01:56:48 2006 From: ronstk at ...239... (Ron Onstenk) Date: Thu, 10 Aug 2006 01:56:48 +0200 Subject: [Gambas-user] Pre release of gambas 1.9.38 In-Reply-To: <44DA71B1.10508@...1237...> References: <200608082341.20900.gambas@...1...> <44DA6E6E.6070604@...1237...> <44DA71B1.10508@...1237...> Message-ID: <200608100156.48681.ronstk@...239...> On Thursday 10 August 2006 01:37, Leonardo Miliani wrote: > Leonardo Miliani ha scritto: > > Benoit Minisini ha scritto: > >> Hi, > >> > >> You can download pre-release of gambas 1.9.38 there: > >> > >> http://gambas.sf.net/gambas2-1.9.38.pre1.tar.bz2 > >> > >> This release fixes many bugs, but not the project creation dialog. > >> > >> Please try with this version, and report me the problems. > >> > >> Otherwise you will see the mascot talking :-) > >> > >> Regards, > >> > > > > Uhm... > > Is it possible that I can have some problems with class usage in Gambas > > 1.9.38? > > I cannot have the tips about the functions and subs that are public in > > the class. > > > > > > I've found the problem. > If the name of sub or function in the class contains the character "_" > then the editor doesn't show the name of it. > Is it regulare or is it a bug? > > Regular The underscore '_' is reserved for the event declarations. Normal names stop at underscore. Warning about DIM too If you use DIM iX, iY, iZ AS integer or DIM lvQWERT, lvASDFG AS ListView the names iX, iY, iZ and lvQWERT, lvASDFG also does not work 100% Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From stefanopalmeri at ...152... Thu Aug 10 02:03:16 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Thu, 10 Aug 2006 02:03:16 +0200 Subject: [Gambas-user] bug(?) that freezes the IDE In-Reply-To: <200608100159.48587.gambas@...1...> References: <200608100053.02618.stefanopalmeri@...152...> <44DA730B.3020608@...1237...> <200608100159.48587.gambas@...1...> Message-ID: <200608100203.16205.stefanopalmeri@...152...> Alle 01:59, gioved? 10 agosto 2006, Benoit Minisini ha scritto: > Yes, I have fixed something like that in 1.9.38. > > -- > Benoit Minisini Ok, I'm going to download it... Regards, Stefano Palmeri From ronstk at ...239... Thu Aug 10 02:08:14 2006 From: ronstk at ...239... (Ron Onstenk) Date: Thu, 10 Aug 2006 02:08:14 +0200 Subject: [Gambas-user] Pre release of gambas 1.9.38 In-Reply-To: <200608100157.53713.gambas@...1...> References: <200608082341.20900.gambas@...1...> <44DA71B1.10508@...1237...> <200608100157.53713.gambas@...1...> Message-ID: <200608100208.14524.ronstk@...239...> On Thursday 10 August 2006 01:57, Benoit Minisini wrote: > It is not a bug, it is a feature :-) > > All symbols having an underscore inside are considered "hidden" by the IDE. > How come I see some in the completion and btnClo does not exists anyway as in the srceenshot. -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... -------------- next part -------------- A non-text attachment was scrubbed... Name: underscore.jpg Type: image/jpeg Size: 90356 bytes Desc: not available URL: From gambas at ...1... Thu Aug 10 02:17:13 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 10 Aug 2006 02:17:13 +0200 Subject: [Gambas-user] Pre release of gambas 1.9.38 In-Reply-To: <200608100208.14524.ronstk@...239...> References: <200608082341.20900.gambas@...1...> <200608100157.53713.gambas@...1...> <200608100208.14524.ronstk@...239...> Message-ID: <200608100217.13328.gambas@...1...> On Thursday 10 August 2006 02:08, Ron Onstenk wrote: > On Thursday 10 August 2006 01:57, Benoit Minisini wrote: > > It is not a bug, it is a feature :-) > > > > All symbols having an underscore inside are considered "hidden" by the > > IDE. > > How come I see some in the completion and btnClo does not exists anyway > as in the srceenshot. We were talking about the display of class public symbols. What you show is the automatic completion of identifiers typed in the editor. By the way, your editor color theme looks very geeky. Can you export it and send it me so that I put in the IDE? Regards, -- Benoit Minisini From ronstk at ...239... Thu Aug 10 02:46:19 2006 From: ronstk at ...239... (Ron Onstenk) Date: Thu, 10 Aug 2006 02:46:19 +0200 Subject: [Gambas-user] Pre release of gambas 1.9.38 In-Reply-To: <200608100217.13328.gambas@...1...> References: <200608082341.20900.gambas@...1...> <200608100208.14524.ronstk@...239...> <200608100217.13328.gambas@...1...> Message-ID: <200608100246.19772.ronstk@...239...> On Thursday 10 August 2006 02:17, Benoit Minisini wrote: > By the way, your editor color theme looks very geeky. Can you export it and > send it me so that I put in the IDE? My trial to get the old good dark background from history Only the line numbers are not so good. A right balance is difficult for code versus current line. Ron -------------- next part -------------- [Theme] Background="&000000&" Normal="&FFFFFF&" Keyword="&FFFF00&" Subr="&5F5FFF&" Operator="&FF00FF&" Symbol="&D0D0D0&" Number="&808000&" String="&FF0000&" Comment="&BF7FFF&" Breakpoint="&FF7F7F&" Current="&3FFF3F&" Datatype="&FF5F5F&" Selection="&9000C0&" Highlight="&0000C0&" Line="&707070&" Error="&C00000&" From gambas at ...1... Thu Aug 10 02:56:51 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 10 Aug 2006 02:56:51 +0200 Subject: [Gambas-user] Pre release of gambas 1.9.38 In-Reply-To: <200608100246.19772.ronstk@...239...> References: <200608082341.20900.gambas@...1...> <200608100217.13328.gambas@...1...> <200608100246.19772.ronstk@...239...> Message-ID: <200608100256.51199.gambas@...1...> On Thursday 10 August 2006 02:46, Ron Onstenk wrote: > On Thursday 10 August 2006 02:17, Benoit Minisini wrote: > > By the way, your editor color theme looks very geeky. Can you export it > > and send it me so that I put in the IDE? > > My trial to get the old good dark background from history > Only the line numbers are not so good. > > A right balance is difficult for code versus current line. > It is because the color of current line, as the color of current debugged line and breakpoint line are blend together. It works well on a white background, but not on a black one. Regards, -- Benoit Minisini From stefanopalmeri at ...152... Thu Aug 10 03:23:59 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Thu, 10 Aug 2006 03:23:59 +0200 Subject: [Gambas-user] bug(?) that freezes the IDE In-Reply-To: <200608100159.48587.gambas@...1...> References: <200608100053.02618.stefanopalmeri@...152...> <44DA730B.3020608@...1237...> <200608100159.48587.gambas@...1...> Message-ID: <200608100323.59366.stefanopalmeri@...152...> Alle 01:59, gioved? 10 agosto 2006, Benoit Minisini ha scritto: > On Thursday 10 August 2006 01:43, Leonardo Miliani wrote: > > Stefano Palmeri ha scritto: > > > Hi, all. Hi, Benoit. > > > > > > I found a bug(?) that freezes the Gambas2 IDE. > > > > > > How to reproduce the bug: > > > > > > 1) edit a Form and select a control that has the Text property, i.e. a > > > Button > > > > > > 2) open the properties panel for the selected control > > > > > > 3) in the properties panel open the "Text property" editor > > > > > > 4) now close the editor with the close window button, *not* > > > with the Cancel button. > > > > > > 5) the IDE is now freezed > > > > > > Gambas2 1.9.37 > > > > > > Please, could someone else confirm if this a bug? > > > > > > Regards, > > > > > > Stefano Palmeri > > > > I've tried it on 1.9.38 but I hadn't freezes. > > Yes, I have fixed something like that in 1.9.38. > > -- > Benoit Minisini Yes, in 1.9.38 the bug doesn't exist! The Find next and Find previous buttons are more logical now. Regards, Stefano Palmeri > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Aug 10 10:40:52 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 10 Aug 2006 10:40:52 +0200 Subject: [Gambas-user] Release of gambas 1.9.38 Message-ID: <200608101040.53037.gambas@...1...> Hi, And now the final release of gambas 1.9.38: * The project creation dialog was redesigned again, and should work now. * A new class, Balloon, that works like the Message class, but displays a yellow balloon instead! :-) * Making an executable uses a new dialog, with an option to make a desktop shortcut of your application automatically. * The Stock class should work everywhere now. * Three important bugs were fixed in the interpreter, one in the archiver, and many others in the gb.qt component. Here is the full ChangeLog: --8<--------------------------------------------------------------------------- DEVELOPMENT ENVIRONMENT * NEW: The mascot, and some other IDE parts now use the new Balloon class. * NEW: The project creation dialog was redesigned a bit, and uses the Balloon class too. * NEW: Showing grid is now a toggle button local to each form editor. * BUG: Now Multicontainers are arranged correctly when saved. * BUG: Project treeview menu now has recovered its shortcuts. They should work without disturbing other parts of the interface. * NEW: The menu editor starts to use ballons too, but it is far from being perfect at the moment. * NEW: You can select the icon theme in the options dialog now. * BUG: Reloading the form hides correctly any property editor. * NEW: The "Make executable" dialog has been redesigned. * NEW: You can automatically create a shortcut of your application on your desktop when making an executable. INTERPRETER * BUG: Calling Object.SetProperty() on a read-only property now raises correctly an error, and does not crash the interpreter anymore. * BUG: Catching an error in a function call on the number or type of arguments does not corrupt interpreter stack anymore. * BUG: The integer division operator '\' correctly converts its arguments to Long when one of them is Long and the other a shorter integer. Consequently, the result of the division is correct now. ARCHIVER * BUG: The archiver does not forgot to deliver some files anymore. GB.QT COMPONENT * BUG: Drag & Drop event management has been fixed. * NEW: Container Insert and Remove events has been removed. They may come back in the future. * BUG: Draw.Picture() now works correctly when Pictures have a mask. * NEW: TextLabel.AutoResize is set by default now. Now the TextLabel is resized only vertically so that all its text is visible. * NEW: TextLabel and Label autoresize is more aggressive. * BUG: Disabled shortcuts keep being disabled when the Menu is shown. * BUG: Message box icons return to their original 32x32 pixels size. * BUG: ScrollView does not display unneeded scrollbars anymore. * BUG: Management of current active window has been fixed, and should not freeze the interpreter in some case anymore. * NEW: Now showing a window while another modal window is displayed makes it modeless to the modal window, and not automatically modal. * NEW: Window.TopLevel is a new property that returns if a Window control is a toplevel window, i.e. if it is not embedded. * NEW: Reparenting of Windows has been fixed. * NEW: The Stock class now uses the standard Gnome icon theme as defined in the control center. * BUG: Enabling an already enabled Timer does not create spurious internal timers anymore. * NEW: AutoResize of TextLabels is better now, but cannot be perfect because of a bug in QT. * NEW: Label and TextLabel got a new method Adjust that resizes the control according to its contents. GB.FORM COMPONENT * NEW: ToolPanel.TextFont is a new property to choose the font of the ToolPanel buttons independently from the ToolPanel font itself. * BUG: The ToolPanel contents resize correctly when its Font or TextFont property changes * NEW: A new class, Balloon, that works like the Message class, but displays a yellow balloon instead! :-) * NEW: FileChooser.ReadOnly is a new property that makes the TextBox on the bottom editable or not. This is useful when typing any file name is not wanted. * NEW: FileView control displays icons from the Stock according to the extension of files, and automatically display preview of image files, if they are not too big. GB.FORM.MDI COMPONENT * NEW: ToolBar.Orientation now allows a ToolBar to be either horizontal or vertical. * NEW: ToolBar has an internal padding of one pixel now. GB.DB.FORM COMPONENT * BUG: Creating a new record with the DataBrowser works again. --8<--------------------------------------------------------------------------- Enjoy it! -- Benoit Minisini From gambas at ...1... Thu Aug 10 10:42:33 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 10 Aug 2006 10:42:33 +0200 Subject: [Gambas-user] Objects and Class creations for toolbox In-Reply-To: <1155155381.44da45b5b17bf@...1539...> References: <1155155381.44da45b5b17bf@...1539...> Message-ID: <200608101042.33151.gambas@...1...> On Wednesday 09 August 2006 22:29, wspinto at ...1405... wrote: > Hi! > It would like to catch a control of textbox and to add a button to side and > one listbox below of textbox and to transform this into an object to be > inserted for the toolbox, as well as if it inserts a label in a form > screen. It has as to be made by gambas? > I can create objects in gambas for gambas? > > IMPORT EXPORT CLASS, it could send some examples. > > Tks, > > Souza, Wellington You can look at the source code of components made with Gambas in the ./comp/src directory of the source archive. If you have specific questions about component programming, please ask them on the developer mailing-list. Regards, -- Benoit Minisini From christian at ...980... Thu Aug 10 11:43:07 2006 From: christian at ...980... (Christian E. =?iso-8859-1?q?L=F3pez?= Finnberg) Date: Thu, 10 Aug 2006 10:43:07 +0100 Subject: [Gambas-user] Release of gambas 1.9.38 In-Reply-To: <200608101040.53037.gambas@...1...> References: <200608101040.53037.gambas@...1...> Message-ID: <200608101043.07498.christian@...980...> El Jueves, 10 de Agosto de 2006 09:40, Benoit Minisini escribi?: > Hi, > > And now the final release of gambas 1.9.38: > > .... > > --8<--------------------------------------------------------------------------- > > Enjoy it! > I get an error: FMain._new.20: #2: Cannot load class 'Design': Unable to load class file No problem with earlier versions. My system is ArchLinux up to date. -- Saludos, Christian E. L?pez Finnberg christian at ...980... Las Palmas de Gran Canaria. -------------- next part -------------- A non-text attachment was scrubbed... Name: instant?nea1.png Type: image/png Size: 9634 bytes Desc: not available URL: From lordheavy at ...512... Thu Aug 10 12:50:20 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 10 Aug 2006 12:50:20 +0200 Subject: [Gambas-user] Release of gambas 1.9.38 In-Reply-To: <200608101043.07498.christian@...980...> References: <200608101040.53037.gambas@...1...> <200608101043.07498.christian@...980...> Message-ID: <200608101250.20424.lordheavy@...512...> Le jeudi 10 ao?t 2006 11:43, Christian E. L?pez Finnberg a ?crit?: > I get an error: > > FMain._new.20: #2: Cannot load class 'Design': Unable to load class file > > No problem with earlier versions. > > My system is ArchLinux up to date. Work fine for me under kubuntu dapper ++ From christian at ...980... Thu Aug 10 13:44:07 2006 From: christian at ...980... (Christian E. =?utf-8?q?L=C3=B3pez?= Finnberg) Date: Thu, 10 Aug 2006 12:44:07 +0100 Subject: [Gambas-user] Release of gambas 1.9.38 In-Reply-To: <200608101250.20424.lordheavy@...512...> References: <200608101040.53037.gambas@...1...> <200608101043.07498.christian@...980...> <200608101250.20424.lordheavy@...512...> Message-ID: <200608101244.07604.christian@...980...> El Jueves, 10 de Agosto de 2006 11:50, Laurent Carlier escribi?: > Le jeudi 10 ao?t 2006 11:43, Christian E. L?pez Finnberg a ?crit?: > > I get an error: > > > > FMain._new.20: #2: Cannot load class 'Design': Unable to load class file > > > > No problem with earlier versions. > > > > My system is ArchLinux up to date. > > Work fine for me under kubuntu dapper > > ++ > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > WTH! I have recompiled and no problems now ;-? Thanks anycase. At least i knew it was my problem. ;-) -- Saludos, Christian E. L?pez Finnberg christian at ...980... Las Palmas de Gran Canaria. From picander78 at ...325... Thu Aug 10 15:16:44 2006 From: picander78 at ...325... (Marco Gusy) Date: Thu, 10 Aug 2006 15:16:44 +0200 Subject: [Gambas-user] Release of gambas 1.9.38 In-Reply-To: <200608101040.53037.gambas@...1...> References: <200608101040.53037.gambas@...1...> Message-ID: <200608101516.44853.picander78@...325...> i get this while compiling :-( i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/poppler -pipe -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden -O0 -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/poppler -pipe -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden -O0 -MT CPdfDocument.lo -MD -MP -MF .deps/CPdfDocument.Tpo -c CPdfDocument.cpp -fPIC -DPIC -o .libs/CPdfDocument.o main.cpp: In function 'int GB_INIT()': main.cpp:63: error: 'class GlobalParams' has no member named 'setupBaseFontsFc' From rohnny at ...1248... Thu Aug 10 16:12:16 2006 From: rohnny at ...1248... (R. Stormo) Date: Thu, 10 Aug 2006 07:12:16 -0700 (PDT) Subject: [Gambas-user] Release of gambas 1.9.38 In-Reply-To: <200608101516.44853.picander78@...325...> References: <200608101040.53037.gambas@...1...> <200608101516.44853.picander78@...325...> Message-ID: <5745079.post@...1379...> Marco Gusy wrote: > > i get this while compiling :-( > > i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/poppler > -pipe -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden -O0 -MT > main.lo -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o > .libs/main.o > i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/poppler > -pipe -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden -O0 -MT > CPdfDocument.lo -MD -MP -MF .deps/CPdfDocument.Tpo -c CPdfDocument.cpp > -fPIC -DPIC -o .libs/CPdfDocument.o > main.cpp: In function 'int GB_INIT()': > main.cpp:63: error: 'class GlobalParams' has no member named > 'setupBaseFontsFc' > > Have got this sinse many versions ago. Now I configure with pdf enabled as off. ./configure --enabled-pdf=no Running Ubuntu Dapper (all upto date) -- R. Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Release-of-gambas-1.9.38-tf2083470.html#a5745079 Sent from the gambas-user forum at Nabble.com. From James.Hatridge at ...17... Thu Aug 10 15:17:13 2006 From: James.Hatridge at ...17... (James Hatridge) Date: Thu, 10 Aug 2006 15:17:13 +0200 Subject: [Gambas-user] MySQL question Message-ID: <200608101517.14762.James.Hatridge@...17...> Hi all.. I have a database named "stamps" (I'm a stamp dealer), it has X number of tables (unknown before opening "stamps") with names like "US", "Germany", "Russia", and so on. How can I make a list so that the user can pick which table to use? Thanks for your help! JIM -- Jim Hatridge Linux User #88484 ------------------------------------------------------ WartHog Bulletin Info about new German Stamps http://www.fuzzybunnymilitia.org/~hatridge/bulletin/index.php Viel Feind -- Viel Ehr' Anti-US Propaganda stamp collection http://www.fuzzybunnymilitia.org/~hatridge/collection/index.php From James.Hatridge at ...17... Thu Aug 10 18:45:56 2006 From: James.Hatridge at ...17... (James Hatridge) Date: Thu, 10 Aug 2006 18:45:56 +0200 Subject: [Gambas-user] Windows? In-Reply-To: <200608092150.33241.ronstk@...239...> References: <200608092035.05426.James.Hatridge@...17...> <200608092150.33241.ronstk@...239...> Message-ID: <200608101845.57405.James.Hatridge@...17...> Hi Ron, On Wednesday 09 August 2006 21:50, Ron Onstenk wrote: > On Wednesday 09 August 2006 20:35, James Hatridge wrote: > > Hi all... > > > > Is there a version of gambas that works with windows 98 or 2k? > > > > Thanks, > > > > JIM > > Native as application? No there is not. Oh well, thanks! JIM > > There was someone who was working on a version that should > run with usage of cygwin, a linux shell/gui for windows. > He disappeared from earth I'm afraid. > This is almost as native application > > The last way I know and have used, still do time by time, > is using a linux box with gambas and NX-client from nomachines > on the windows machine. http://www.nomachine.com/ > Works great for the application written. > Is not transparent to the windows box for files etc. > > Ron > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Jim Hatridge Linux User #88484 ------------------------------------------------------ WartHog Bulletin Info about new German Stamps http://www.fuzzybunnymilitia.org/~hatridge/bulletin/index.php Viel Feind -- Viel Ehr' Anti-US Propaganda stamp collection http://www.fuzzybunnymilitia.org/~hatridge/collection/index.php From nando_f at ...1382... Thu Aug 10 19:29:40 2006 From: nando_f at ...1382... (nando) Date: Thu, 10 Aug 2006 13:29:40 -0400 Subject: [Gambas-user] MySQL question In-Reply-To: <200608101517.14762.James.Hatridge@...17...> References: <200608101517.14762.James.Hatridge@...17...> Message-ID: <20060810172901.M78976@...1382...> Make a table with the names you wish to select from. ---------- Original Message ----------- From: James Hatridge To: mailing list for gambas users Sent: Thu, 10 Aug 2006 15:17:13 +0200 Subject: [Gambas-user] MySQL question > Hi all.. > > I have a database named "stamps" (I'm a stamp dealer), it has X number of > tables (unknown before opening "stamps") with names like "US", "Germany", > "Russia", and so on. How can I make a list so that the user can pick which > table to use? > > Thanks for your help! > > JIM > -- > Jim Hatridge > Linux User #88484 > ------------------------------------------------------ > WartHog Bulletin > Info about new German Stamps > http://www.fuzzybunnymilitia.org/~hatridge/bulletin/index.php > > Viel Feind -- Viel Ehr' > Anti-US Propaganda stamp collection > http://www.fuzzybunnymilitia.org/~hatridge/collection/index.php > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From picander78 at ...325... Thu Aug 10 20:16:49 2006 From: picander78 at ...325... (Marco Gusy) Date: Thu, 10 Aug 2006 20:16:49 +0200 Subject: [Gambas-user] MySQL question In-Reply-To: <200608101517.14762.James.Hatridge@...17...> References: <200608101517.14762.James.Hatridge@...17...> Message-ID: <200608102016.50294.picander78@...325...> Alle 15:17, gioved? 10 agosto 2006, James Hatridge ha scritto: > Hi all.. > > I have a database named "stamps" (I'm a stamp dealer), it has X number of > tables (unknown before opening "stamps") with names like "US", "Germany", > "Russia", and so on. How can I make a list so that the user can pick which > table to use? > > Thanks for your help! > > JIM It's not the best Idea to create a table for each stamp nationality. You should create a table wehre the first field contains stamps nationality, and the rest of fileds like the tables you want to index. Then you can open a table with "Select * from stamps where nationality='US'; " and see the table as before. To see a list of nationalities "Select distinct nationality from stamps;" From James.Hatridge at ...17... Thu Aug 10 21:27:04 2006 From: James.Hatridge at ...17... (James Hatridge) Date: Thu, 10 Aug 2006 21:27:04 +0200 Subject: [Gambas-user] MySQL question In-Reply-To: <200608102016.50294.picander78@...325...> References: <200608101517.14762.James.Hatridge@...17...> <200608102016.50294.picander78@...325...> Message-ID: <200608102127.04560.James.Hatridge@...17...> Hi Marco et al... This is a good idea! I'll give it a try. Thanks, JIM On Thursday 10 August 2006 20:16, Marco Gusy wrote: > Alle 15:17, gioved? 10 agosto 2006, James Hatridge ha scritto: > > Hi all.. > > > > I have a database named "stamps" (I'm a stamp dealer), it has X number of > > tables (unknown before opening "stamps") with names like "US", "Germany", > > "Russia", and so on. How can I make a list so that the user can pick > > which table to use? > > > > Thanks for your help! > > > > JIM > > It's not the best Idea to create a table for each stamp nationality. > You should create a table wehre the first field contains stamps > nationality, and the rest of fileds like the tables you want to index. > > Then you can open a table with "Select * from stamps where > nationality='US'; " and see the table as before. > To see a list of nationalities "Select distinct nationality from stamps;" > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Jim Hatridge Linux User #88484 ------------------------------------------------------ WartHog Bulletin Info about new German Stamps http://www.fuzzybunnymilitia.org/~hatridge/bulletin/index.php Viel Feind -- Viel Ehr' Anti-US Propaganda stamp collection http://www.fuzzybunnymilitia.org/~hatridge/collection/index.php From sourceforge-raindog2 at ...94... Thu Aug 10 21:35:53 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Thu, 10 Aug 2006 15:35:53 -0400 Subject: [Gambas-user] Ubuntu packages of Gambas? Message-ID: <200608101535.53421.sourceforge-raindog2@...94...> In the next few days I will be switching to Ubuntu (actually Kubuntu) as my primary OS, since I was forced to order a new laptop on short notice and Emperor Linux doesn't support Mandriva any more. What is the current state of Gambas packages in Ubuntu? Are there current gambas and gambas2 packages in some repository out there already or will I need to become a maintainer myself? While I plan to continue building Mandriva packages, if for no other purpose than to update my company's server where gambasdoc.org is located, I will have to learn how to build .deb packages soon. But if there aren't current Gambas packages available, I'll have to start boning up sooner ;) Rob From wspinto at ...1405... Thu Aug 10 21:33:26 2006 From: wspinto at ...1405... (wspinto at ...1405...) Date: Thu, 10 Aug 2006 16:33:26 -0300 Subject: [Gambas-user] About Ballon In-Reply-To: References: Message-ID: <1155238406.44db8a06526a7@...1540...> Hi! I liked it very ballon, but it could have a skill of after calls it, disactivates it without having to wait that you the time finishes. Tks, Wellington ___________________________________________________________________________________ Agora todas as suas liga??es DDD e DDI com o 21 v?m junto com a conta do seu telefone de casa ou celular. Mais comodidade e praticidade para voc?. Faz um 21 e aproveite! From Karl.Reinl at ...9... Thu Aug 10 22:31:14 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 10 Aug 2006 22:31:14 +0200 Subject: [Gambas-user] MySQL question In-Reply-To: <200608101517.14762.James.Hatridge@...17...> References: <200608101517.14762.James.Hatridge@...17...> Message-ID: <1155241875.5200.8.camel@...1496...> Salut Jim, to make your list of all these tables, you can use For each cTable in Handle.Tables you can find some code in gambas-database-manager CConnection / Sub Refesh Amicalment Charlie Am Donnerstag, den 10.08.2006, 15:17 +0200 schrieb James Hatridge: > Hi all.. > > I have a database named "stamps" (I'm a stamp dealer), it has X number of > tables (unknown before opening "stamps") with names like "US", "Germany", > "Russia", and so on. How can I make a list so that the user can pick which > table to use? > > Thanks for your help! > > JIM From Karl.Reinl at ...9... Thu Aug 10 22:37:32 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 10 Aug 2006 22:37:32 +0200 Subject: [Gambas-user] Ubuntu packages of Gambas? In-Reply-To: <200608101535.53421.sourceforge-raindog2@...94...> References: <200608101535.53421.sourceforge-raindog2@...94...> Message-ID: <1155242252.5200.15.camel@...1496...> Salut Rob, Ubuntu (6.06 LTS) delivers gambas 1.0.13 as stable. But aren't the .deb for gambas made in spain ? Amicalment Charlie Am Donnerstag, den 10.08.2006, 15:35 -0400 schrieb Rob Kudla: > In the next few days I will be switching to Ubuntu (actually > Kubuntu) as my primary OS, since I was forced to order a new > laptop on short notice and Emperor Linux doesn't support > Mandriva any more. > > What is the current state of Gambas packages in Ubuntu? Are > there current gambas and gambas2 packages in some repository out > there already or will I need to become a maintainer myself? > > While I plan to continue building Mandriva packages, if for no > other purpose than to update my company's server where > gambasdoc.org is located, I will have to learn how to build .deb > packages soon. But if there aren't current Gambas packages > available, I'll have to start boning up sooner ;) > > Rob From sourceforge-raindog2 at ...94... Thu Aug 10 23:49:20 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Thu, 10 Aug 2006 17:49:20 -0400 Subject: [Gambas-user] Ubuntu packages of Gambas? In-Reply-To: <1155242252.5200.15.camel@...1496...> References: <200608101535.53421.sourceforge-raindog2@...94...> <1155242252.5200.15.camel@...1496...> Message-ID: <200608101749.20999.sourceforge-raindog2@...94...> On Thu August 10 2006 16:37, Charlie Reinl wrote: > Ubuntu (6.06 LTS) delivers gambas 1.0.13 as stable. > But aren't the .deb for gambas made in spain ? Deb packages for Debian, yeah. But I think Ubuntu has about as much in common with Debian as Mandriva did with Red Hat. Googling around Ubuntu's site, I guess I may end up needing to make gambas2 packages, but gambas 1.x is no more out of date than my Mandriva packages have been. Rob From stefanopalmeri at ...152... Fri Aug 11 01:48:03 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Fri, 11 Aug 2006 01:48:03 +0200 Subject: [Gambas-user] how to 'which' with gambas Message-ID: <200608110148.04022.stefanopalmeri@...152...> Hi, all. Is there a native function in Gambas that checks if a program exists in the user $PATH? I currently do something like: SHELL "which the_program &> /dev/null; echo $?" TO sShellout and then I check sShellout. Thanks. Regards, Stefano Palmeri From bang4ul at ...1541... Fri Aug 11 04:01:32 2006 From: bang4ul at ...1541... (Bang Yul) Date: Fri, 11 Aug 2006 09:01:32 +0700 Subject: [Gambas-user] Release of gambas 1.9.38 In-Reply-To: <200608101040.53037.gambas@...1...> References: <200608101040.53037.gambas@...1...> Message-ID: <1155261692.15165.19.camel@...1542...> Hi, This is the first time for me to compiled Gambas and made an error while running gambas2 after compiled gambas-1.9.38. ERROR: #27: Cannot load component 'gb.qt': cannot find library file How can I solve it? Regards YUL On Thu, 2006-08-10 at 10:40 +0200, Benoit Minisini wrote: > Hi, > > And now the final release of gambas 1.9.38: > __________________________________________________ Apakah Anda Yahoo!? Lelah menerima spam? Surat Yahoo! memiliki perlindungan terbaik terhadap spam http://id.mail.yahoo.com From ronstk at ...239... Fri Aug 11 05:33:01 2006 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 11 Aug 2006 05:33:01 +0200 Subject: [Gambas-user] MySQL question In-Reply-To: <200608102016.50294.picander78@...325...> References: <200608101517.14762.James.Hatridge@...17...> <200608102016.50294.picander78@...325...> Message-ID: <200608110533.01580.ronstk@...239...> On Thursday 10 August 2006 20:16, Marco Gusy wrote: > Alle 15:17, gioved? 10 agosto 2006, James Hatridge ha scritto: > > Hi all.. > > > > I have a database named "stamps" (I'm a stamp dealer), it has X number of > > tables (unknown before opening "stamps") with names like "US", "Germany", > > "Russia", and so on. How can I make a list so that the user can pick which > > table to use? > > > > Thanks for your help! > > > > JIM > > It's not the best Idea to create a table for each stamp nationality. > You should create a table wehre the first field contains stamps nationality, > and the rest of fileds like the tables you want to index. I do not fully agree with that. If the total collection have 20000 stamps and 'Belgium' only 2 then every update to a record of 'Belgium' affect the whole table/file. For quick access separate tables are the better way. For some other things as backup/restore after crash spread of data across more tables are or may be more convenient. If the different countries are equal spread in quantity then a single table can be good for easy selecting. I did some work for nordphila.de and there both ways are used. 1 table for the stamps parameters and a multi table system for detailed descriptions. the one table versus multi table are handled by different progrmas/users. After the description editor made a error, the core bussines stay working and the descriptions could/are comming from backup. Safe and nice. It's not the best Idea does not always count. It depends on which data is handled and in which way. > > Then you can open a table with "Select * from stamps where nationality='US'; " > and see the table as before. > To see a list of nationalities "Select distinct nationality from stamps;" And when the 'nationality' is in a separate table with a flag as 'EnableList' you can easy limit the access for a country and access (distroy) the other country tables. Both ways have a pro and against. It is the programmer that can made the best solution for his choice, depending on his capabilities and data content. We can only give hints what is possible. For the 'best way' the reason should given why or in which condition. Anyway I could many times improve speed by using multi table systems. Simple because the OS (windows/unix) have more speed then any SQL server in filtering records than in the select query can be done. Ron From ronstk at ...239... Fri Aug 11 05:39:15 2006 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 11 Aug 2006 05:39:15 +0200 Subject: [Gambas-user] MySQL question In-Reply-To: <1155241875.5200.8.camel@...1496...> References: <200608101517.14762.James.Hatridge@...17...> <1155241875.5200.8.camel@...1496...> Message-ID: <200608110539.15953.ronstk@...239...> On Thursday 10 August 2006 22:31, Charlie Reinl wrote: > Salut Jim, > > to make your list of all these tables, you can use > > For each cTable in Handle.Tables > > you can find some code in gambas-database-manager > CConnection / Sub Refesh > > Amicalment > Charlie > > Hi Charlie, Like this? private asTables as string[] PUBLIC SUB GetTables() DIM hTable AS Table asTables.Clear FOR EACH hTable IN hConn.Tables asTables.Add(hTable.Name) NEXT asTables.Sort END ' honnest stolen idea from? yes the gambas-database-manager :) Was RefreshTables Ron > Am Donnerstag, den 10.08.2006, 15:17 +0200 schrieb James Hatridge: > > Hi all.. > > > > I have a database named "stamps" (I'm a stamp dealer), it has X number of > > tables (unknown before opening "stamps") with names like "US", "Germany", > > "Russia", and so on. How can I make a list so that the user can pick which > > table to use? > > > > Thanks for your help! > > > > JIM > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From ronstk at ...239... Fri Aug 11 05:48:14 2006 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 11 Aug 2006 05:48:14 +0200 Subject: [Gambas-user] how to 'which' with gambas In-Reply-To: <200608110148.04022.stefanopalmeri@...152...> References: <200608110148.04022.stefanopalmeri@...152...> Message-ID: <200608110548.14404.ronstk@...239...> On Friday 11 August 2006 01:48, Stefano Palmeri wrote: > > Hi, all. > > Is there a native function in Gambas that checks > if a program exists in the user $PATH? > > I currently do something like: > > SHELL "which the_program &> /dev/null; echo $?" TO sShellout > > and then I check sShellout. > > Thanks. > > Regards, > > Stefano Palmeri > Try look for IsDir: http://gambasdoc.org/help/lang/isdir Stat: http://gambasdoc.org/help/lang/stat File etc: http://gambasdoc.org/help/cat/file Ron From wdahn at ...1000... Fri Aug 11 10:50:14 2006 From: wdahn at ...1000... (Werner) Date: Fri, 11 Aug 2006 16:50:14 +0800 Subject: [Gambas-user] libippp.so library for Firebird db Message-ID: <44DC44C6.7000308@...1000...> I downloaded the source from http://www.ibpp.org/ and tried to build the library with gcc: *gcc* -O2 -W -Wall -DIBPP_LINUX -lfbclient -lcrypt -lm -lpthread *.*/all_in_one.cpp -o libibpp.so gcc complains about a lot of things not found. Has anyone done this right? Would you mind sending me your magic command line? Any other way of getting libibpp.so? Using Suse 10.0. Thanks, Werner From leonardo at ...1237... Fri Aug 11 11:12:26 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Fri, 11 Aug 2006 11:12:26 +0200 Subject: [Gambas-user] Release of gambas 1.9.38 In-Reply-To: <1155261692.15165.19.camel@...1542...> References: <200608101040.53037.gambas@...1...> <1155261692.15165.19.camel@...1542...> Message-ID: <44DC49FA.3080709@...1237...> Bang Yul ha scritto: > Hi, > > This is the first time for me to compiled Gambas and made an error while > running gambas2 after compiled gambas-1.9.38. > > ERROR: #27: Cannot load component 'gb.qt': cannot find library file > > How can I solve it? > > Regards > YUL > > > > On Thu, 2006-08-10 at 10:40 +0200, Benoit Minisini wrote: >> Hi, >> >> And now the final release of gambas 1.9.38: >> > > > __________________________________________________ > Apakah Anda Yahoo!? > Lelah menerima spam? Surat Yahoo! memiliki perlindungan terbaik terhadap spam > http://id.mail.yahoo.com > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > It seems that you don't have Qt installed on your system. Check all the required libs and packages here: http://gambasdoc.org/help/readme -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From leonardo at ...1237... Fri Aug 11 11:41:45 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Fri, 11 Aug 2006 11:41:45 +0200 Subject: [Gambas-user] Bug in 1.9.38 Message-ID: <44DC50D9.5020204@...1237...> I've found a bug in version 1.9.38, maybe in other previous versions. If I open the text editor to modify a text file directly inside Gambas I then cannot close the tab clicking on the (X) on the top right. -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From nando_f at ...1382... Fri Aug 11 14:04:51 2006 From: nando_f at ...1382... (nando) Date: Fri, 11 Aug 2006 08:04:51 -0400 Subject: [Gambas-user] MySQL question In-Reply-To: <200608110533.01580.ronstk@...239...> References: <200608101517.14762.James.Hatridge@...17...> <200608102016.50294.picander78@...325...> <200608110533.01580.ronstk@...239...> Message-ID: <20060811115648.M93276@...1382...> It is correct to have just one table with all the countries data together and a column with the country in it. The speed and multi-user access issues are non-existant for mySQL. It is even more correct to have it normalized so that the country table uses an arbitrary ID like 'countryid' as smallint (2 bytes) indexed. It is this code you use in the main data table and not the actual country word. This is how (very, very) large relational databases are setup. It is very fast and efficient. I'll say having a table for each country is what many colleagues and I would avoid as bad database design. MySQL was designed to do it. I have tables with 15 million records in it - 20,000 is nothing. ---------- Original Message ----------- From: Ron Onstenk To: mailing list for gambas users Sent: Fri, 11 Aug 2006 05:33:01 +0200 Subject: Re: [Gambas-user] MySQL question > On Thursday 10 August 2006 20:16, Marco Gusy wrote: > > Alle 15:17, gioved? 10 agosto 2006, James Hatridge ha scritto: > > > Hi all.. > > > > > > I have a database named "stamps" (I'm a stamp dealer), it has X number of > > > tables (unknown before opening "stamps") with names like "US", "Germany", > > > "Russia", and so on. How can I make a list so that the user can pick which > > > table to use? > > > > > > Thanks for your help! > > > > > > JIM > > > > It's not the best Idea to create a table for each stamp nationality. > > You should create a table wehre the first field contains stamps nationality, > > and the rest of fileds like the tables you want to index. > > I do not fully agree with that. > If the total collection have 20000 stamps and 'Belgium' only 2 > then every update to a record of 'Belgium' affect the whole table/file. > For quick access separate tables are the better way. > For some other things as backup/restore after crash spread of data > across more tables are or may be more convenient. > > If the different countries are equal spread in quantity then a > single table can be good for easy selecting. > > I did some work for nordphila.de and there both ways are used. > 1 table for the stamps parameters and a multi table system for > detailed descriptions. > the one table versus multi table are handled by different progrmas/users. > After the description editor made a error, the core bussines stay working > and the descriptions could/are comming from backup. > Safe and nice. > > It's not the best Idea does not always count. > It depends on which data is handled and in which way. > > > > > Then you can open a table with "Select * from stamps where nationality='US'; " > > and see the table as before. > > To see a list of nationalities "Select distinct nationality from stamps;" > > And when the 'nationality' is in a separate table with a flag as 'EnableList' > you can easy limit the access for a country and access (distroy) the other > country tables. > > Both ways have a pro and against. > It is the programmer that can made the best solution for his > choice, depending on his capabilities and data content. > > We can only give hints what is possible. > For the 'best way' the reason should given why or in which condition. > > Anyway I could many times improve speed by using multi table systems. > Simple because the OS (windows/unix) have more speed then any SQL server > in filtering records than in the select query can be done. > > Ron > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From dmcleod999 at ...734... Fri Aug 11 17:21:17 2006 From: dmcleod999 at ...734... (dmcleod999 at ...734...) Date: Fri, 11 Aug 2006 15:21:17 +0000 Subject: [Gambas-user] Missing forms in Examples Gambas2 1.9.37 and 1.9.38 Message-ID: <081120061521.15525.44DCA06D000BD01B00003CA52200734364C7C7C70B010A040C030B@...734...> Hello: In examples folder for Gambas2 1.9.37 and 1.9.38 there are several missing forms - one is for the Open - GL example and a couple of others. GAMBAS2 compiles correctly on SUSE Linux 10.1 - no problems. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Fri Aug 11 17:34:05 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 11 Aug 2006 17:34:05 +0200 Subject: [Gambas-user] Bug in 1.9.38 In-Reply-To: <44DC50D9.5020204@...1237...> References: <44DC50D9.5020204@...1237...> Message-ID: <200608111734.05806.gambas@...1...> On Friday 11 August 2006 11:41, Leonardo Miliani wrote: > I've found a bug in version 1.9.38, maybe in other previous versions. > If I open the text editor to modify a text file directly inside Gambas I > then cannot close the tab clicking on the (X) on the top right. I cannot reproduce that. Please be more precise! I will wait for other people to confirm. Regards, -- Benoit Minisini From leonardo at ...1237... Fri Aug 11 17:37:55 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Fri, 11 Aug 2006 17:37:55 +0200 Subject: [Gambas-user] Bug in 1.9.38 In-Reply-To: <200608111734.05806.gambas@...1...> References: <44DC50D9.5020204@...1237...> <200608111734.05806.gambas@...1...> Message-ID: <44DCA453.7070802@...1237...> Benoit Minisini ha scritto: > On Friday 11 August 2006 11:41, Leonardo Miliani wrote: >> I've found a bug in version 1.9.38, maybe in other previous versions. >> If I open the text editor to modify a text file directly inside Gambas I >> then cannot close the tab clicking on the (X) on the top right. > > I cannot reproduce that. Please be more precise! > > I will wait for other people to confirm. > > Regards, > It only happens when you have the right panels opens (Properties, Toolbox, etc.). In this case, clicking on the (X) doesn't affectany event (no window close). -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From gambas at ...1... Fri Aug 11 17:52:49 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 11 Aug 2006 17:52:49 +0200 Subject: [Gambas-user] Bug in 1.9.38 In-Reply-To: <44DCA453.7070802@...1237...> References: <44DC50D9.5020204@...1237...> <200608111734.05806.gambas@...1...> <44DCA453.7070802@...1237...> Message-ID: <200608111752.50023.gambas@...1...> On Friday 11 August 2006 17:37, Leonardo Miliani wrote: > Benoit Minisini ha scritto: > > On Friday 11 August 2006 11:41, Leonardo Miliani wrote: > >> I've found a bug in version 1.9.38, maybe in other previous versions. > >> If I open the text editor to modify a text file directly inside Gambas I > >> then cannot close the tab clicking on the (X) on the top right. > > > > I cannot reproduce that. Please be more precise! > > > > I will wait for other people to confirm. > > > > Regards, > > It only happens when you have the right panels opens (Properties, > Toolbox, etc.). > In this case, clicking on the (X) doesn't affectany event (no window > close). OK. I confirm. Actually you can't close the same window twice... A bit weird! :-) -- Benoit Minisini From dmcleod999 at ...734... Fri Aug 11 17:48:19 2006 From: dmcleod999 at ...734... (dmcleod999 at ...734...) Date: Fri, 11 Aug 2006 15:48:19 +0000 Subject: [Gambas-user] Calling a Shared Object from Gambas2 Message-ID: <081120061548.19794.44DCA6C30007518000004D522200734364C7C7C70B010A040C030B@...734...> Hello: In Visual Basic it is possible to call a routine in a Windows DLL directly simply by defining the routine and the arguments. Does a similar capability exist in Gambas2 1.9.38 ? I have looked into the help system and could not find any info on this. If anyone has done this, could I receive a code sample on how to call a routine in a shared object ? Trying to get off of Windows.... Thanks Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronstk at ...239... Fri Aug 11 17:56:51 2006 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 11 Aug 2006 17:56:51 +0200 Subject: [Gambas-user] Calling a Shared Object from Gambas2 In-Reply-To: <081120061548.19794.44DCA6C30007518000004D522200734364C7C7C70B010A040C030B@...734...> References: <081120061548.19794.44DCA6C30007518000004D522200734364C7C7C70B010A040C030B@...734...> Message-ID: <200608111756.51612.ronstk@...239...> On Friday 11 August 2006 17:48, dmcleod999 at ...734... wrote: > Hello: > > In Visual Basic it is possible to call a routine in a Windows DLL directly simply by defining the routine and the arguments. > > Does a similar capability exist in Gambas2 1.9.38 ? I have looked into the > help system and could not find any info on this. If anyone has done this, could I > receive a code sample on how to call a routine in a shared object ? > > Trying to get off of Windows.... > > Thanks > Dennis LOL You can't because we do not have DLL's But take a look at "External Function Declaration" http://gambasdoc.org/help/lang/extdecl Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From dmcleod999 at ...734... Fri Aug 11 18:11:22 2006 From: dmcleod999 at ...734... (dmcleod999 at ...734...) Date: Fri, 11 Aug 2006 16:11:22 +0000 Subject: [Gambas-user] Calling a Shared Object from Gambas2 Message-ID: <081120061611.19967.44DCAC2A0007F1F600004DFF2200734364C7C7C70B010A040C030B@...734...> Ron: Thanks ! This is exactly what I was looking for. Thanks again Dennis -------------- Original message -------------- From: Ron Onstenk > On Friday 11 August 2006 17:48, dmcleod999 at ...734... wrote: > > Hello: > > > > In Visual Basic it is possible to call a routine in a Windows DLL directly > simply by defining the routine and the arguments. > > > > Does a similar capability exist in Gambas2 1.9.38 ? I have looked into the > > help system and could not find any info on this. If anyone has done this, > could I > > receive a code sample on how to call a routine in a shared object ? > > > > Trying to get off of Windows.... > > > > Thanks > > Dennis > > > LOL > > You can't because we do not have DLL's > > > But take a look at "External Function Declaration" > http://gambasdoc.org/help/lang/extdecl > > > Ron > > -- > The only bug free software from MickySoft is > still shrink-wrapped in their warehouse... > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Fri Aug 11 18:28:04 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 11 Aug 2006 18:28:04 +0200 Subject: [Gambas-user] Bug in 1.9.38 In-Reply-To: <44DCA453.7070802@...1237...> References: <44DC50D9.5020204@...1237...> <200608111734.05806.gambas@...1...> <44DCA453.7070802@...1237...> Message-ID: <200608111828.04251.gambas@...1...> On Friday 11 August 2006 17:37, Leonardo Miliani wrote: > Benoit Minisini ha scritto: > > On Friday 11 August 2006 11:41, Leonardo Miliani wrote: > >> I've found a bug in version 1.9.38, maybe in other previous versions. > >> If I open the text editor to modify a text file directly inside Gambas I > >> then cannot close the tab clicking on the (X) on the top right. > > > > I cannot reproduce that. Please be more precise! > > > > I will wait for other people to confirm. > > > > Regards, > > It only happens when you have the right panels opens (Properties, > Toolbox, etc.). > In this case, clicking on the (X) doesn't affectany event (no window > close). Here is a patch. -- Benoit Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: CWindow.cpp Type: text/x-c++src Size: 49844 bytes Desc: not available URL: From gambas at ...1... Fri Aug 11 18:32:41 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 11 Aug 2006 18:32:41 +0200 Subject: [Gambas-user] Bug in 1.9.38 In-Reply-To: <200608111828.04251.gambas@...1...> References: <44DC50D9.5020204@...1237...> <44DCA453.7070802@...1237...> <200608111828.04251.gambas@...1...> Message-ID: <200608111832.41752.gambas@...1...> On Friday 11 August 2006 18:28, Benoit Minisini wrote: > On Friday 11 August 2006 17:37, Leonardo Miliani wrote: > > Benoit Minisini ha scritto: > > > On Friday 11 August 2006 11:41, Leonardo Miliani wrote: > > >> I've found a bug in version 1.9.38, maybe in other previous versions. > > >> If I open the text editor to modify a text file directly inside Gambas > > >> I then cannot close the tab clicking on the (X) on the top right. > > > > > > I cannot reproduce that. Please be more precise! > > > > > > I will wait for other people to confirm. > > > > > > Regards, > > > > It only happens when you have the right panels opens (Properties, > > Toolbox, etc.). > > In this case, clicking on the (X) doesn't affectany event (no window > > close). > > Here is a patch. Oops. Don't use it. Use this instead! -- Benoit Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: CWindow.cpp Type: text/x-c++src Size: 49848 bytes Desc: not available URL: From Karl.Reinl at ...9... Fri Aug 11 18:56:05 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 11 Aug 2006 18:56:05 +0200 Subject: [Gambas-user] MySQL question In-Reply-To: <200608110539.15953.ronstk@...239...> References: <200608101517.14762.James.Hatridge@...17...> <1155241875.5200.8.camel@...1496...> <200608110539.15953.ronstk@...239...> Message-ID: <1155315366.5298.10.camel@...1496...> Salut Ron, What is program? Mainly CUT and PASTE. Without CUT and PASTE, I wouldn't have become a programmer. And it is always good to know, where you have seen, something you need. Amicalment Charlie Am Freitag, den 11.08.2006, 05:39 +0200 schrieb Ron Onstenk: > On Thursday 10 August 2006 22:31, Charlie Reinl wrote: > > Salut Jim, > > > > to make your list of all these tables, you can use > > > > For each cTable in Handle.Tables > > > > you can find some code in gambas-database-manager > > CConnection / Sub Refesh > > > > Amicalment > > Charlie > > > > > Hi Charlie, > > Like this? > > private asTables as string[] > > PUBLIC SUB GetTables() > DIM hTable AS Table > asTables.Clear > FOR EACH hTable IN hConn.Tables > asTables.Add(hTable.Name) > NEXT > asTables.Sort > END > > ' honnest stolen idea from? yes the gambas-database-manager :) > Was RefreshTables > > Ron From gambas at ...1... Fri Aug 11 19:23:57 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 11 Aug 2006 19:23:57 +0200 Subject: [Gambas-user] Going offline Message-ID: <200608111923.57687.gambas@...1...> Hi, I leave Paris until August, 16th. I hope I won't be burglared again! Beinf offline so long, it will make me feel strange... ;-) See you in a few days. -- Benoit Minisini From ronstk at ...239... Fri Aug 11 19:25:26 2006 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 11 Aug 2006 19:25:26 +0200 Subject: [Gambas-user] Going offline In-Reply-To: <200608111923.57687.gambas@...1...> References: <200608111923.57687.gambas@...1...> Message-ID: <200608111925.26321.ronstk@...239...> On Friday 11 August 2006 19:23, Benoit Minisini wrote: > Hi, > > I leave Paris until August, 16th. > > I hope I won't be burglared again! > > Beinf offline so long, it will make me feel strange... ;-) > > See you in a few days. > Good time, it is not Soooooo longg :) Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From stefanopalmeri at ...152... Fri Aug 11 22:00:07 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Fri, 11 Aug 2006 22:00:07 +0200 Subject: [Gambas-user] how to 'which' with gambas In-Reply-To: <200608110548.14404.ronstk@...239...> References: <200608110148.04022.stefanopalmeri@...152...> <200608110548.14404.ronstk@...239...> Message-ID: <200608112200.07349.stefanopalmeri@...152...> Alle 05:48, venerd? 11 agosto 2006, Ron Onstenk ha scritto: > On Friday 11 August 2006 01:48, Stefano Palmeri wrote: > > > > Hi, all. > > > > Is there a native function in Gambas that checks > > if a program exists in the user $PATH? > > > > I currently do something like: > > > > SHELL "which the_program &> /dev/null; echo $?" TO sShellout > > > > and then I check sShellout. > > > > Thanks. > > > > Regards, > > > > Stefano Palmeri > > > > Try look for > IsDir: http://gambasdoc.org/help/lang/isdir > Stat: http://gambasdoc.org/help/lang/stat > File etc: http://gambasdoc.org/help/cat/file > > Ron Thanks for reply, Ron. I know these functions. I was talking about a function that do the same job as the command line "which". Anyway it is surely not a priority... I will continue to play with SHELL "which... Ciao, Stefano From leonardo at ...1237... Fri Aug 11 22:25:00 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Fri, 11 Aug 2006 22:25:00 +0200 Subject: [Gambas-user] Bug in 1.9.38 In-Reply-To: <200608111832.41752.gambas@...1...> References: <44DC50D9.5020204@...1237...> <44DCA453.7070802@...1237...> <200608111828.04251.gambas@...1...> <200608111832.41752.gambas@...1...> Message-ID: <44DCE79C.5010409@...1237...> Benoit Minisini ha scritto: > On Friday 11 August 2006 18:28, Benoit Minisini wrote: >> On Friday 11 August 2006 17:37, Leonardo Miliani wrote: >>> Benoit Minisini ha scritto: >>>> On Friday 11 August 2006 11:41, Leonardo Miliani wrote: >>>>> I've found a bug in version 1.9.38, maybe in other previous versions. >>>>> If I open the text editor to modify a text file directly inside Gambas >>>>> I then cannot close the tab clicking on the (X) on the top right. >>>> I cannot reproduce that. Please be more precise! >>>> >>>> I will wait for other people to confirm. >>>> >>>> Regards, >>> It only happens when you have the right panels opens (Properties, >>> Toolbox, etc.). >>> In this case, clicking on the (X) doesn't affectany event (no window >>> close). >> Here is a patch. > > Oops. Don't use it. Use this instead! > > > > ------------------------------------------------------------------------ > > /*************************************************************************** > > CWindow.cpp > > The Window and Form classes > > (c) 2000-2005 Beno??t Minisini > > This program is free software; you can redistribute it and/or modify > it under the terms of the GNU General Public License as published by > the Free Software Foundation; either version 1, or (at your option) > any later version. > > This program is distributed in the hope that it will be useful, > but WITHOUT ANY WARRANTY; without even the implied warranty of > MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > GNU General Public License for more details. > > You should have received a copy of the GNU General Public License > along with this program; if not, write to the Free Software > Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. > > ***************************************************************************/ > > #define __CWINDOW_CPP > > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > > #if QT_VERSION >= 0x030100 > #include > #endif > > #include "qtxembed.h" > > #include "gambas.h" > > #include "main.h" > #include "CWidget.h" > #include "CMenu.h" > #include "CWindow.h" > > #include "x11.h" > > > //#define DEBUG_STATE > > DECLARE_EVENT(EVENT_Open); > DECLARE_EVENT(EVENT_Close); > DECLARE_EVENT(EVENT_Activate); > DECLARE_EVENT(EVENT_Deactivate); > DECLARE_EVENT(EVENT_Move); > DECLARE_EVENT(EVENT_Resize); > DECLARE_EVENT(EVENT_Show); > DECLARE_EVENT(EVENT_Hide); > DECLARE_EVENT(EVENT_Embed); > > CWINDOW *CWINDOW_Main = 0; > CWINDOW *CWINDOW_Current = 0; > static CWINDOW *CWINDOW_LastActive = 0; > CWINDOW *CWINDOW_Active = 0; > > long CWINDOW_Embedder = 0; > bool CWINDOW_Embedded = false; > static int CWINDOW_EmbedState = 0; > > void CWINDOW_change_property(QWidget *w, Atom property, bool set) > { > if (!w->isTopLevel()) > return; > > X11_window_change_property(w->winId(), w->isVisible(), property, set); > } > > bool CWINDOW_has_property(QWidget *w, Atom property) > { > if (!w->isTopLevel()) > return false; > > return X11_window_has_property(w->winId(), property); > } > > > /*---- Utility routines --------------------------------------------------------------*/ > > static void clear_mask(CWINDOW *_object) > { > //qDebug("clear_mask: %p", _object); > > if (!THIS->toplevel) > { > WIDGET->clearMask(); > return; > } > > if (THIS->masked && THIS->picture) > { > WINDOW->clearMask(); > > bool v = !WINDOW->isHidden() && WINDOW->isVisible(); > WINDOW->setBorder(WINDOW->getBorder(), true); > if (v) > WINDOW->show(); > } > } > > static void define_mask(CWINDOW *_object, CPICTURE *new_pict, bool new_mask) > { > QPixmap p; > QColor c; > QWidget *root = THIS->container; > //QBitmap b; > > //qDebug("define_mask: visible: %d", WIDGET->isVisible()); > > //qDebug("define_mask: %p new_pict = %p new_mask = %d", _object, new_pict, new_mask); > > //if (THIS->embedded) > // return; > > if (!new_pict) > { > root->clearMask(); > root->setErasePixmap(0); > root->setBackgroundOrigin(QWidget::WidgetOrigin); > root->setBackgroundMode(Qt::PaletteBackground); > > clear_mask(THIS); > } > else > { > p = *new_pict->pixmap; > > if (new_mask) > { > if (p.hasAlpha()) > WIDGET->setMask(*(p.mask())); > else > clear_mask(THIS); > > root->setErasePixmap(p); > > if (THIS->toplevel) > { > root->setBackgroundOrigin(QWidget::WindowOrigin); > root->move(0, 0); > } > } > else > { > clear_mask(THIS); > //root->clearMask(); > > //if (THIS->masked != new_mask) > > //if (THIS->toplevel) > // WINDOW->setCentralWidget(root); > > root->setBackgroundOrigin(QWidget::WidgetOrigin); > root->setErasePixmap(p); > } > } > > THIS->masked = new_mask; > > if (new_pict != THIS->picture) > { > GB.Ref(new_pict); > GB.Unref((void **)&THIS->picture); > THIS->picture = new_pict; > } > } > > > /*************************************************************************** > > Window > > ***************************************************************************/ > > #if 1 > static void show_later(CWINDOW *_object) > { > /* If the user has explicitely hidden the window since the posting of this routines > then do nothing > */ > //qDebug("show_later %s %p: hidden = %d", GB.GetClassName(THIS), THIS, THIS->hidden); > if (!THIS->hidden && WIDGET) > { > //qDebug("show"); > WIDGET->show(); > } > GB.Unref((void **)&_object); > } > #endif > > BEGIN_METHOD(CWINDOW_new, GB_OBJECT parent) > > MyMainWindow *win = 0; > QWidget *container; > QtXEmbedClient *client = 0; > const char *name = GB.GetClassName(THIS); > > if (MISSING(parent)) > { > if (CWINDOW_Embedder && !CWINDOW_Embedded) > { > client = new QtXEmbedClient(0, name); > container = new MyContainer(win); > container->raise(); > //container = client; > THIS->embedded = true; > THIS->toplevel = false; > THIS->xembed = true; > > // To be called first! > QObject::connect(client, SIGNAL(destroyed()), &CWindow::manager, SLOT(destroy())); > client->installEventFilter(&CWindow::manager); > CWIDGET_new(client, (void *)_object, NULL); > } > else > { > win = new MyMainWindow(CWINDOW_Main ? (MyMainWindow *)QWIDGET(CWINDOW_Main) : 0, name); > container = new MyContainer(win); > container->raise(); > THIS->embedded = false; > THIS->toplevel = true; > THIS->xembed = false; > > CWIDGET_new(win, (void *)_object, NULL); > } > } > else > { > if (GB.Conv((GB_VALUE *)ARG(parent), (GB_TYPE)CLASS_Container)) > return; > > //frame = new MyEmbeddedWindow(CONTAINER(VARG(parent))); > //frame->setName(name); > //container = frame; > //THIS->embedded = true; > //THIS->toplevel = false; > //container->installEventFilter(&CWindow::manager); > //CWIDGET_new(frame, (void *)_object, NULL); > > win = new MyMainWindow(CONTAINER(VARG(parent)), name, true); > container = new MyContainer(win); > container->raise(); > THIS->embedded = true; > THIS->toplevel = false; > THIS->xembed = false; > > CWIDGET_new(win, (void *)_object, NULL); > } > /*else > { > GB.Error("The parent of a Window must be a Container or a Workspace"); > return; > }*/ > > THIS->container = container; > //container->setBackgroundOrigin(QWidget::WindowOrigin); > > if (win) > { > //win->setCentralWidget(container); > //win->setOpaqueMoving(true); > win->installEventFilter(&CWindow::manager); > } > > if (THIS->toplevel || THIS->xembed) > { > /*if (CWindow::count >= 64) > { > GB.Error("Too many windows opened"); > return; > }*/ > > CWindow::dict.insert(_object, OBJECT(const CWINDOW)); > CWindow::count = CWindow::dict.count(); > > //qDebug("CWindow::count = %d (%p %s)", CWindow::count, _object, THIS->embedded ? "E" : "W"); > > if (CWINDOW_Main == 0) > { > //qDebug("CWINDOW_Main -> %p", THIS); > CWINDOW_Main = THIS; > } > } > > if (THIS->xembed) > { > CWINDOW_Embedded = true; > > QObject::connect(XEMBED, SIGNAL(embedded()), &CWindow::manager, SLOT(embedded())); > QObject::connect(XEMBED, SIGNAL(containerClosed()), &CWindow::manager, SLOT(closed())); > QObject::connect(XEMBED, SIGNAL(error(int)), &CWindow::manager, SLOT(error())); > > XEMBED->move(0, 0); > //qDebug("XEMBED: EmbedInto %ld", CWINDOW_Embedder); > XEMBED->embedInto(CWINDOW_Embedder); > //qDebug("XEMBED: show"); > //XEMBED->show(); > //define_mask(THIS); > > for(;;) > { > qApp->eventLoop()->processEvents(QEventLoop::ExcludeUserInput); > if (CWINDOW_EmbedState) > break; > usleep(10000); > } > > //qDebug("XEMBED: EmbedState: %d", CWINDOW_EmbedState); > > if (CWINDOW_EmbedState == EMBED_ERROR) > { > CWINDOW_Embedded = false; > CWINDOW_Embedder = 0; > GB.Error("Embedding has failed"); > } > } > > if (THIS->embedded && !THIS->xembed) > { > /* ### This can call post_show_event() directly, whereas the function is not terminated */ > //frame->show(); > GB.Ref(THIS); > GB.Post((void (*)())show_later, (long)THIS); > //WIDGET->show(); > } > > END_METHOD > > > BEGIN_METHOD_VOID(CFORM_new) > > GB.Attach(_object, _object, "Form"); > > END_METHOD > > > BEGIN_METHOD_VOID(CFORM_main) > > CWINDOW *form; > > form = (CWINDOW *)GB.AutoCreate(GB.GetClass(NULL), 0); > > //GB.New((void **)&form, GB.GetClass(NULL), NULL, NULL); > > ((MyMainWindow *)form->widget.widget)->showActivate(); > > END_METHOD > > > BEGIN_METHOD(CFORM_load, GB_OBJECT parent) > > if (!MISSING(parent)) > { > GB.Push(1, GB_T_OBJECT, VARG(parent)); > //qDebug("CFORM_load + parent"); > } > > GB.AutoCreate(GB.GetClass(NULL), MISSING(parent) ? 0 : 1); > > END_METHOD > > > BEGIN_METHOD_VOID(CWINDOW_free) > > //qDebug("CWINDOW_free"); > > if (THIS->menu) > delete THIS->menu; > > //PICTURE_set(&(window->icon), 0); > GB.StoreObject(NULL, (void **)&(THIS->icon)); > GB.StoreObject(NULL, (void **)&(THIS->picture)); > GB.Unref((void **)&THIS->focus); > > if (THIS->controls) > delete THIS->controls; > > /*CALL_METHOD_VOID(CWIDGET_delete);*/ > > END_METHOD > > > BEGIN_METHOD_VOID(CWINDOW_next) > > CWINDOW *next; > QPtrDictIterator *iter = ENUM(QPtrDictIterator *); > > if (iter == NULL) > { > iter = new QPtrDictIterator(CWindow::dict); > ENUM(QPtrDictIterator *) = iter; > } > > next = iter->current(); > > // ### Memory leak if you abort the enumeration! > > if (next == NULL) > { > delete iter; > //ENUM(QPtrDictIterator) = NULL; > GB.StopEnum(); > return; > } > > ++(*iter); > GB.ReturnObject(next); > > END_METHOD > > > BEGIN_PROPERTY(CWINDOW_count) > > GB.ReturnInteger(CWindow::dict.count()); > > END_PROPERTY > > > BEGIN_METHOD(CWINDOW_get, GB_INTEGER id) > > QWidget *wid = QWidget::find(VARG(id)); > > //qDebug("id = %d wid = %p", PARAM(id), wid); > > if (wid != 0 && wid->isTopLevel()) > { > //qDebug("-> %p", CWidget::getReal(wid)); > GB.ReturnObject(CWidget::getReal(wid)); > } > else > { > //qDebug("-> %p", 0); > GB.ReturnNull(); > } > > END_METHOD > > > static bool do_close(CWINDOW *_object, long ret, bool destroyed = false) > { > bool closed; > > //qDebug("do_close: (%s %p) %d %d", GB.GetClassName(THIS), THIS, CWIDGET_test_flag(THIS, WF_IN_CLOSE), CWIDGET_test_flag(THIS, WF_CLOSED)); > > if (CWIDGET_test_flag(THIS, WF_IN_CLOSE)) // || WIDGET->isHidden()) > return false; > > if (!THIS->toplevel) > { > if (THIS->shown) > { > //qDebug("THIS->shown = %d: %p: %s", THIS->shown, THIS, GB.GetClassName(THIS)); > CWIDGET_set_flag(THIS, WF_IN_CLOSE); > closed = !GB.Raise(THIS, EVENT_Close, 0); > CWIDGET_clear_flag(THIS, WF_IN_CLOSE); > } > else > closed = true; > > if (destroyed || closed) > { > CWIDGET_set_flag(THIS, WF_CLOSED); > CWIDGET_set_flag(THIS, WF_IN_CLOSE); > qApp->sendEvent(WIDGET, new QEvent(EVENT_CLOSE)); > CWIDGET_clear_flag(THIS, WF_IN_CLOSE); > } > > if (closed) > { > WIDGET->hide(); > if (!CWIDGET_test_flag(_object, WF_PERSISTENT)) > CWIDGET_destroy((CWIDGET *)THIS); > } > > } > else > { > if (WINDOW->isHidden()) > { > QCloseEvent e; > QApplication::sendEvent(WINDOW, &e); > closed = e.isAccepted(); > } > else > closed = WINDOW->close(); > } > > if (closed || destroyed) > { > if (CWINDOW_Active == THIS) > CWINDOW_activate(CWidget::get(WIDGET->parentWidget())); > if (CWINDOW_LastActive == THIS) > { > //GB.Unref((void **)&CWINDOW_LastActive); > CWINDOW_LastActive = 0; > //qDebug("CWINDOW_LastActive = 0"); > } > } > > if (closed) > { > THIS->ret = ret; > } > > //qDebug("CWINDOW_close: ret = %d", THIS->ret); > > return (!closed); > } > > BEGIN_METHOD(CWINDOW_close, GB_INTEGER ret) > > long ret = VARGOPT(ret, 0); > > GB.ReturnBoolean(do_close(THIS, ret)); > > END_METHOD > > > BEGIN_METHOD_VOID(CWINDOW_raise) > > if (!THIS->toplevel) > { > if (!WIDGET->isVisible()) > WIDGET->show(); > WIDGET->raise(); > } > else > { > if (!WINDOW->isVisible()) > WINDOW->showActivate(); > else > WINDOW->raise(); > } > > END_METHOD > > > BEGIN_METHOD_VOID(CWINDOW_show) > > if (!THIS->toplevel) > { > /*if (!THIS->shown) > { > if (THIS->xembed) > WIDGET->move(0, 0); > }*/ > > //WIDGET->raise(); > WIDGET->show(); > } > else > { > /*if (CWINDOW_Current) > WINDOW->showActivate(); //GB.Error("A modal window is already displayed"); > else*/ > WINDOW->showActivate(); > } > > END_METHOD > > > BEGIN_METHOD_VOID(CWINDOW_hide) > > if (THIS->toplevel && WINDOW->testWFlags(Qt::WShowModal)) > { > do_close(THIS, 0); > } > else > WINDOW->hide(); > > END_METHOD > > > BEGIN_METHOD_VOID(CWINDOW_show_modal) > > THIS->ret = 0; > > if (THIS->toplevel) > WINDOW->showModal(); > //qDebug("CWINDOW_show_modal: ret = %d", THIS->ret); > GB.ReturnInteger(THIS->ret); > > END_METHOD > > > BEGIN_PROPERTY(CWINDOW_modal) > > if (THIS->toplevel) > GB.ReturnBoolean(WINDOW->isModal()); > else > GB.ReturnBoolean(false); > > END_PROPERTY > > > BEGIN_PROPERTY(CWINDOW_top_level) > > GB.ReturnBoolean(THIS->toplevel); > > END_PROPERTY > > /*BEGIN_METHOD_VOID(CWINDOW_dialog) > > CWINDOW *win; > > GB.New((void **)&win, GB.GetClass(NULL), NULL, NULL); > > win->ret = 0; > ((MyMainWindow *)win->widget.widget)->showModal(); > GB.ReturnInteger(win->ret); > > END_METHOD*/ > > > BEGIN_PROPERTY(CWINDOW_persistent) > > /* > if (READ_PROPERTY) > GB.ReturnBoolean(WIDGET->isPersistent()); > else > WIDGET->setPersistent(PROPERTY(char) != 0); > */ > > if (!THIS->toplevel) > { > if (READ_PROPERTY) > GB.ReturnBoolean(true); > } > else > { > if (READ_PROPERTY) > GB.ReturnBoolean(CWIDGET_test_flag(THIS, WF_PERSISTENT)); > else > { > if (VPROP(GB_BOOLEAN)) > CWIDGET_set_flag(THIS, WF_PERSISTENT); > else > CWIDGET_clear_flag(THIS, WF_PERSISTENT); > } > } > > END_PROPERTY > > > BEGIN_PROPERTY(CWINDOW_text) > > if (READ_PROPERTY) > GB.ReturnNewZeroString(TO_UTF8(WIDGET->caption())); > else > { > WIDGET->setCaption(QSTRING_PROP()); > qApp->sendEvent(WIDGET, new QEvent(EVENT_TITLE)); > } > > > END_PROPERTY > > > BEGIN_PROPERTY(CWINDOW_menu_count) > > if (THIS->menu) > GB.ReturnInteger(THIS->menu->count()); > else > GB.ReturnInteger(0); > > END_PROPERTY > > > BEGIN_METHOD_VOID(CWINDOW_menu_next) > > CWINDOW *window = OBJECT(CWINDOW); > unsigned int index; > > if (window->menu == NULL) > { > GB.StopEnum(); > return; > } > > index = ENUM(int); > > if (index >= window->menu->count()) > { > GB.StopEnum(); > return; > } > > GB.ReturnObject(window->menu->at(index)); > > ENUM(int) = index + 1; > > END_PROPERTY > > > BEGIN_PROPERTY(CWINDOW_border) > > if (!THIS->toplevel) > { > if (READ_PROPERTY) > GB.ReturnInteger(0); > } > else > { > if (READ_PROPERTY) > GB.ReturnInteger(WINDOW->getBorder()); > else > WINDOW->setBorder(VPROP(GB_INTEGER)); > } > > END_PROPERTY > > > BEGIN_PROPERTY(CWINDOW_icon) > > if (READ_PROPERTY) > GB.ReturnObject(THIS->icon); > else > { > //if (THIS->toplevel) > // SET_PIXMAP(WINDOW->setIcon, &(THIS->icon), PROP(GB_OBJECT)); > //else > SET_PIXMAP(WIDGET->setIcon, &(THIS->icon), PROP(GB_OBJECT)); > //WIDGET->setIcon(PICTURE_set(&(THIS->icon), PROPERTY(CPICTURE *))); > qApp->sendEvent(WIDGET, new QEvent(EVENT_ICON)); > } > > END_PROPERTY > > > BEGIN_PROPERTY(CWINDOW_picture) > > if (READ_PROPERTY) > GB.ReturnObject(THIS->picture); > else > { > //GB.StoreObject(PROP(GB_OBJECT), (void **)&THIS->picture); > define_mask(THIS, (CPICTURE *)VPROP(GB_OBJECT), THIS->masked);; > } > > END_PROPERTY > > > BEGIN_PROPERTY(CWINDOW_mask) > > /*if (THIS->embedded) > { > if (READ_PROPERTY) > GB.ReturnBoolean(FALSE); > } > else*/ > { > if (READ_PROPERTY) > GB.ReturnBoolean(THIS->masked); > else > { > //THIS->masked = VPROP(GB_BOOLEAN); > define_mask(THIS, THIS->picture, VPROP(GB_BOOLEAN)); > } > } > > END_PROPERTY > > #if 0 > BEGIN_PROPERTY(CWINDOW_state) > > if (!THIS->toplevel) > { > if (READ_PROPERTY) > GB.ReturnInteger(0); > } > else > { > if (READ_PROPERTY) > GB.ReturnInteger(WINDOW->getState()); > else > WINDOW->setState(VPROP(GB_INTEGER)); > } > > END_PROPERTY > #endif > > static void manage_window_state(void *_object, void *_param, Qt::WindowState state) > { > if (!THIS->toplevel) > { > if (READ_PROPERTY) > GB.ReturnBoolean(FALSE); > } > else > { > if (READ_PROPERTY) > GB.ReturnBoolean(WINDOW->windowState() & state); > else > { > if (VPROP(GB_BOOLEAN)) > WINDOW->setWindowState(WINDOW->windowState() | state); > else > WINDOW->setWindowState(WINDOW->windowState() & ~state); > } > } > } > > static void manage_window_property(void *_object, void *_param, Atom property) > { > if (!THIS->toplevel) > { > if (READ_PROPERTY) > GB.ReturnBoolean(FALSE); > } > else > { > if (READ_PROPERTY) > GB.ReturnBoolean(CWINDOW_has_property(WINDOW, property)); > else > CWINDOW_change_property(WINDOW, property, VPROP(GB_BOOLEAN)); > } > } > > > BEGIN_PROPERTY(CWINDOW_minimized) > > manage_window_state(_object, _param, Qt::WindowMinimized); > > END_PROPERTY > > > BEGIN_PROPERTY(CWINDOW_maximized) > > manage_window_state(_object, _param, Qt::WindowMaximized); > > END_PROPERTY > > > BEGIN_PROPERTY(CWINDOW_full_screen) > > manage_window_state(_object, _param, Qt::WindowFullScreen); > > END_PROPERTY > > > BEGIN_PROPERTY(CWINDOW_top_only) > > manage_window_property(_object, _param, X11_atom_net_wm_state_above); > manage_window_property(_object, _param, X11_atom_net_wm_state_stays_on_top); > > if (!READ_PROPERTY) > THIS->topOnly = VPROP(GB_BOOLEAN); > > END_PROPERTY > > > BEGIN_PROPERTY(CWINDOW_skip_taskbar) > > manage_window_property(_object, _param, X11_atom_net_wm_state_skip_taskbar); > > if (!READ_PROPERTY) > THIS->skipTaskbar = VPROP(GB_BOOLEAN); > > END_PROPERTY > > > BEGIN_PROPERTY(CWINDOW_tool) > > if (!THIS->toplevel) > { > if (READ_PROPERTY) > GB.ReturnBoolean(FALSE); > } > else > { > /* > if (READ_PROPERTY) > GB.ReturnBoolean(X11_get_window_tool(WINDOW->winId())); > else > { > THIS->toolbar = VPROP(GB_BOOLEAN); > X11_set_window_tool(WINDOW->winId(), THIS->toolbar, CWINDOW_Main ? ((MyMainWindow *)QWIDGET(CWINDOW_Main))->winId() : 0); > }*/ > if (READ_PROPERTY) > GB.ReturnBoolean(WINDOW->getTool()); > else > WINDOW->setTool(VPROP(GB_BOOLEAN)); > } > > END_PROPERTY > > > BEGIN_METHOD_VOID(CWINDOW_center) > > if (!THIS->toplevel) > return; > > WINDOW->center(true); > > END_METHOD > > > BEGIN_METHOD_VOID(CWINDOW_delete) > > //qDebug("CWINDOW_delete %p", THIS); > > do_close(THIS, 0); > > if (THIS->toplevel) > CWIDGET_clear_flag(THIS, WF_PERSISTENT); > > CWIDGET_destroy((CWIDGET *)THIS); > > END_METHOD > > > BEGIN_PROPERTY(CWINDOW_visible) > > if (READ_PROPERTY) > GB.ReturnBoolean(!WINDOW->isHidden()); > else > { > if (VPROP(GB_BOOLEAN)) > CWINDOW_show(_object, _param); > else > CWINDOW_hide(_object, _param); > } > > END_PROPERTY > > > BEGIN_PROPERTY(CWINDOW_control_count) > > QObjectList *list = WINDOW->queryList("QWidget"); > QObjectListIt it(*list); > QObject *obj; > int n = 0; > > while ((obj = it.current()) != 0) > { > ++it; > if (CWidget::getReal((QWidget *)obj)) > n++; > } > > GB.ReturnInteger(n); > > END_PROPERTY > > > BEGIN_METHOD_VOID(CWINDOW_control_next) > > CWIDGET *control; > int index; > > index = ENUM(int); > > if (index == 0) > { > if (THIS->controls) > delete THIS->controls; > > THIS->controls = WINDOW->queryList("QWidget"); > } > > do > { > if (index >= (int)THIS->controls->count()) > { > GB.StopEnum(); > return; > } > > control = CWidget::getReal((QWidget *)THIS->controls->at(index)); > index++; > } > while (!control); > > ENUM(int) = index; > GB.ReturnObject(control); > > > END_PROPERTY > > > BEGIN_PROPERTY(CWINDOW_scale) > > if (READ_PROPERTY) > GB.ReturnBoolean(THIS->scale); > else > THIS->scale = VPROP(GB_BOOLEAN); > > END_PROPERTY > > > BEGIN_METHOD(CWINDOW_reparent, GB_OBJECT container; GB_INTEGER x; GB_INTEGER y) > > QPoint p(WIDGET->pos()); > void *parent = VARG(container); > QWidget *newParentWidget; > //bool showIt = !WIDGET->isHidden(); > > if (!MISSING(x) && !MISSING(y)) > { > p.setX(VARG(x)); > p.setY(VARG(y)); > } > > if (!parent) > newParentWidget = 0; > else > { > if (GB.CheckObject(parent)) > return; > newParentWidget = CONTAINER(parent); > } > > WINDOW->doReparent(newParentWidget, p); > > END_METHOD > > > > > /***************************************************************************/ > > GB_DESC CWindowMenusDesc[] = > { > GB_DECLARE(".WindowMenus", 0), GB_VIRTUAL_CLASS(), > > GB_METHOD("_next", "Menu", CWINDOW_menu_next, NULL), > GB_PROPERTY_READ("Count", "i", CWINDOW_menu_count), > > GB_END_DECLARE > }; > > GB_DESC CWindowControlsDesc[] = > { > GB_DECLARE(".WindowControls", 0), GB_VIRTUAL_CLASS(), > > GB_METHOD("_next", "Control", CWINDOW_control_next, NULL), > GB_PROPERTY_READ("Count", "i", CWINDOW_control_count), > > GB_END_DECLARE > }; > > /* > GB_DESC CWindowToolBarsDesc[] = > { > GB_DECLARE(".Window.ToolBars", 0), GB_VIRTUAL_CLASS(), > > GB_METHOD("Add", NULL, CWINDOW_toolbar_add, "'Toolbar'Toolbar;"), > GB_METHOD("Remove", NULL, CWINDOW_toolbar_remove, "'Toolbar'Toolbar;"), > > GB_END_DECLARE > }; > */ > > > GB_DESC CWindowDesc[] = > { > GB_DECLARE("Window", sizeof(CWINDOW)), GB_INHERITS("Container"), > > GB_CONSTANT("None", "i", 0), > GB_CONSTANT("Fixed", "i", 1), > GB_CONSTANT("Resizable", "i", 2), > > GB_METHOD("_new", NULL, CWINDOW_new, "[(Parent)Control;]"), > GB_METHOD("_free", NULL, CWINDOW_free, NULL), > > GB_METHOD("Close", "b", CWINDOW_close, "[(Return)i]"), > GB_METHOD("Raise", NULL, CWINDOW_raise, NULL), > GB_METHOD("Show", NULL, CWINDOW_show, NULL), > GB_METHOD("Hide", NULL, CWINDOW_hide, NULL), > GB_METHOD("ShowModal", "i", CWINDOW_show_modal, NULL), > GB_METHOD("ShowDialog", "i", CWINDOW_show_modal, NULL), > GB_METHOD("Center", NULL, CWINDOW_center, NULL), > GB_PROPERTY_READ("Modal", "b", CWINDOW_modal), > GB_PROPERTY_READ("TopLevel", "b", CWINDOW_top_level), > > GB_METHOD("Delete", NULL, CWINDOW_delete, NULL), > > /* > GB_PROPERTY_READ("ScreenX", "i", CWINDOW_x), > GB_PROPERTY_READ("ScreenY", "i", CWINDOW_y), > GB_PROPERTY("X", "i", CWINDOW_x), > GB_PROPERTY("Y", "i", CWINDOW_y), > GB_PROPERTY("W", "i", CWINDOW_w), > GB_PROPERTY("H", "i", CWINDOW_h), > GB_PROPERTY("Left", "i", CWINDOW_x), > GB_PROPERTY("Top", "i", CWINDOW_y), > GB_PROPERTY("Width", "i", CWINDOW_w), > GB_PROPERTY("Height", "i", CWINDOW_h), > */ > > GB_METHOD("Reparent", NULL, CWINDOW_reparent, "(Container)Container;[(X)i(Y)i]"), > > GB_PROPERTY("Persistent", "b", CWINDOW_persistent), > GB_PROPERTY("Text", "s", CWINDOW_text), > GB_PROPERTY("Title", "s", CWINDOW_text), > GB_PROPERTY("Caption", "s", CWINDOW_text), > GB_PROPERTY("Icon", "Picture", CWINDOW_icon), > GB_PROPERTY("Picture", "Picture", CWINDOW_picture), > GB_PROPERTY("Mask", "b", CWINDOW_mask), > GB_PROPERTY("Border", "i", CWINDOW_border), > GB_PROPERTY("Minimized", "b", CWINDOW_minimized), > GB_PROPERTY("Maximized", "b", CWINDOW_maximized), > GB_PROPERTY("FullScreen", "b", CWINDOW_full_screen), > GB_PROPERTY("TopOnly", "b", CWINDOW_top_only), > GB_PROPERTY("SkipTaskbar", "b", CWINDOW_skip_taskbar), > GB_PROPERTY("ToolBox", "b", CWINDOW_tool), > GB_PROPERTY("Visible", "b", CWINDOW_visible), > GB_PROPERTY("Arrangement", "i", CCONTAINER_arrangement), > GB_PROPERTY("Padding", "i", CCONTAINER_padding), > GB_PROPERTY("Spacing", "i", CCONTAINER_spacing), > GB_PROPERTY("AutoResize", "b", CCONTAINER_auto_resize), > GB_PROPERTY("Scale", "b", CWINDOW_scale), > GB_PROPERTY("Action", "s", CCONTROL_action), > > GB_PROPERTY_SELF("Menus", ".WindowMenus"), > GB_PROPERTY_SELF("Controls", ".WindowControls"), > > GB_CONSTANT("_Properties", "s", "*,Action,Text,Icon,Picture,Mask,Persistent,Border,Minimized,Maximized,FullScreen,TopOnly,SkipTaskbar,ToolBox," CARRANGEMENT_PROPERTIES), > GB_CONSTANT("_DefaultEvent", "s", "Open"), > GB_CONSTANT("_Arrangement", "i", ARRANGE_FILL), > > GB_EVENT("Close", "b", NULL, &EVENT_Close), > GB_EVENT("Open", NULL, NULL, &EVENT_Open), > GB_EVENT("Activate", NULL, NULL, &EVENT_Activate), > GB_EVENT("Deactivate", NULL, NULL, &EVENT_Deactivate), > GB_EVENT("Move", NULL, NULL, &EVENT_Move), > GB_EVENT("Resize", NULL, NULL, &EVENT_Resize), > GB_EVENT("Show", NULL, NULL, &EVENT_Show), > GB_EVENT("Hide", NULL, NULL, &EVENT_Hide), > GB_EVENT("Embed", NULL, NULL, &EVENT_Embed), > > GB_END_DECLARE > }; > > > GB_DESC CWindowsDesc[] = > { > GB_DECLARE("Windows", 0), GB_VIRTUAL_CLASS(), > > GB_STATIC_METHOD("_next", "Window", CWINDOW_next, NULL), > GB_STATIC_METHOD("_get", "Window", CWINDOW_get, "(Id)i"), > GB_STATIC_PROPERTY_READ("Count", "i", CWINDOW_count), > > GB_END_DECLARE > }; > > > GB_DESC CFormDesc[] = > { > GB_DECLARE("Form", sizeof(CFORM)), GB_INHERITS("Window"), > GB_AUTO_CREATABLE(), > > GB_STATIC_METHOD("Main", NULL, CFORM_main, NULL), > GB_STATIC_METHOD("Load", NULL, CFORM_load, "[(Parent)Control;]"), > GB_METHOD("_new", NULL, CFORM_new, NULL), > > GB_END_DECLARE > }; > > > /*************************************************************************** > > MyMainWindow > > ***************************************************************************/ > > #if QT_VERSION >= 0x030005 > MyMainWindow::MyMainWindow(QWidget *parent, const char *name, bool embedded) : > QMainWindow::QMainWindow(parent, name, embedded ? 0 : (Qt::WType_TopLevel | (parent ? 0 : Qt::WGroupLeader))) > #else > MyMainWindow::MyMainWindow(QWidget *parent, const char *name, bool embedded) : > QMainWindow::QMainWindow(0, name) //, 0, Qt::WType_TopLevel) // | (copy ? copy->getWFlags() : 0)) // | Qt::WDestructiveClose) > #endif > { > sg = 0; > //shown = false; > border = BorderResizable; > //state = StateNormal; > mustCenter = false; > > setKeyCompression(true); > //setFocusPolicy(ClickFocus); > setInputMethodEnabled(true); > > _activate = false; > } > > > static void remove_window_check_quit(CWINDOW *ob) > { > CWindow::dict.remove(ob); > > //if (ob == window_main) > // window_main = NULL; > > CWindow::count = CWindow::dict.count(); > //qDebug("~MyMainWindow: CWindow::count = %d (%p %s)", CWindow::count, ob, ob->embedded ? "E" : "W"); > > MAIN_check_quit(); > } > > > MyMainWindow::~MyMainWindow() > { > CWINDOW *_object = (CWINDOW *)CWidget::get(this); > > //qDebug("~MyMainWindow %p ob = %p", this, ob); > > do_close(THIS, 0, true); > > if (CWINDOW_Active == THIS) > CWINDOW_Active = 0; > if (CWINDOW_LastActive == THIS) > { > CWINDOW_LastActive = 0; > //qDebug("CWINDOW_LastActive = 0"); > } > > if (sg) > delete sg; > > /*if (THIS == NULL) > { > qWarning("~MyMainWindow: ob == NULL"); > return; > }*/ > > //do_close(ob, 0, true); > > GB.Detach(THIS); > > if (THIS->menu) > CMenu::unrefChildren(THIS->menu); > > remove_window_check_quit(THIS); > > //qDebug("~MyMainWindow %p (end)", this); > } > > > void MyMainWindow::showEvent(QShowEvent *e) > { > if (_activate) > { > //CWINDOW *ob = (CWINDOW *)CWidget::get(this); > //qDebug("_activate: %s %p", GB.GetClassName(ob), ob); > raise(); > setFocus(); > setActiveWindow(); > _activate = false; > } > } > > void MyMainWindow::initProperties() > { > CWIDGET *_object = CWidget::get(this); > > if (!THIS->toplevel) > return; > > CWINDOW_change_property(this, X11_atom_net_wm_state_above, THIS->topOnly); > CWINDOW_change_property(this, X11_atom_net_wm_state_stays_on_top, THIS->topOnly); > CWINDOW_change_property(this, X11_atom_net_wm_state_skip_taskbar, THIS->skipTaskbar); > > //X11_set_window_tool(WINDOW->winId(), THIS->toolbar, CWINDOW_Main ? ((MyMainWindow *)QWIDGET(CWINDOW_Main))->winId() : 0); > } > > void MyMainWindow::showActivate() > { > CWIDGET *_object = CWidget::get(this); > CWINDOW *parent; > QWidget *newParentWidget; > > //qDebug(">> Show %d %d %d %d", x(), y(), width(), height()); > > if (CWIDGET_test_flag(THIS, WF_IN_CLOSE) || CWIDGET_test_flag(THIS, WF_IN_SHOW)) > { > //qDebug("Showing form during a close event !"); > return; > } > > // Reparent the window if, for example, there is an already modal window displayed > > parent = CWINDOW_Current; > if (!parent && THIS != CWINDOW_Main) > parent = CWINDOW_Main; > > if (parent) > newParentWidget = parent->widget.widget; > else > newParentWidget = 0; > > if (parentWidget() != newParentWidget) > { > //qDebug("reparent (%s %p) to (%s %p) / %d", GB.GetClassName(THIS), THIS, parent ? GB.GetClassName(parent) : "", parent, THIS->toplevel); > doReparent(newParentWidget, getWFlags(), QPoint(x(), y())); > } > > //qDebug("showActivate %p", _object); > > CWIDGET_clear_flag(THIS, WF_CLOSED); > > CWIDGET_set_flag(THIS, WF_IN_SHOW); > > initProperties(); > > if (!THIS->shown) > { > //GB.Raise(THIS, EVENT_Open, 0); > > //X11_window_startup(WINDOW->winId(), THIS->x, THIS->y, THIS->w, THIS->h); > > if (windowState() & Qt::WindowMinimized) > showMinimized(); > else if (windowState() & Qt::WindowFullScreen) > showFullScreen(); > else if (windowState() & Qt::WindowMaximized) > showMaximized(); > else > show(); > > if (getTool()) > { > qApp->eventLoop()->processEvents(QEventLoop::ExcludeUserInput); > usleep(50000); > setActiveWindow(); > } > > //THIS->shown = true; > //qDebug("THIS->shown <- true: %p: %s", THIS, GB.GetClassName(THIS)); > > //if (!(THIS->toplevel && THIS->embedded)) > // GB.Raise(THIS, EVENT_Move, 0); > //GB.Raise(THIS, EVENT_Resize, 0); > > } > else > { > if (windowState() & WindowMinimized) > { > setWindowState(windowState() & ~WindowMinimized); > _activate = true; > //qDebug("_activate set #2"); > } > else if (!isVisible()) > { > show(); > if (getTool()) > { > qApp->eventLoop()->processEvents(QEventLoop::ExcludeUserInput); > usleep(50000); > setActiveWindow(); > } > } > else > { > raise(); > setActiveWindow(); > } > > } > > define_mask(THIS, THIS->picture, THIS->masked); > > CWIDGET_clear_flag(THIS, WF_IN_SHOW); > } > > void MyMainWindow::showModal(void) > { > WFlags flags = getWFlags(); > CWIDGET *_object = CWidget::get(this); > bool persistent = CWIDGET_test_flag(THIS, WF_PERSISTENT); > QWidget *parent = parentWidget(); > QWidget *reparent; > CWINDOW *save = CWINDOW_Current; > QPoint p = pos(); > > if (testWFlags(WShowModal)) > return; > > mustCenter = true; > > reparent = qApp->activeWindow(); > if (!reparent && CWINDOW_Main) > { > reparent = CWINDOW_Main->widget.widget; > if (reparent == this) > reparent = 0; > } > > #if QT_VERSION >= 030300 > doReparent(reparent, getWFlags() | WStyle_DialogBorder | WShowModal, p); > #else > doReparent(reparent, getWFlags() | WType_Dialog | WShowModal | WStyle_DialogBorder | WStyle_Dialog, p); > #endif > > if (border == BorderResizable) > setSizeGrip(true); > > //XSetTransientForHint(x11Display(), winId(), None ); > > showActivate(); > > CWINDOW_Current = THIS; > qApp->eventLoop()->enterLoop(); > CWINDOW_Current = save; > > if (persistent) > { > setSizeGrip(false); > clearWState(WShowModal); > setWFlags(flags); > doReparent(parent, flags, p); > } > > /* Gets the customed destroy event immediately */ > //qApp->eventLoop()->processEvents(QEventLoop::ExcludeUserInput); > } > > > void MyMainWindow::setTool(bool t) > { > WFlags f = getWFlags(); > > if (t) > f |= WStyle_Tool | WStyle_Customize; > else > f &= ~WStyle_Tool; > > doReparent(CWINDOW_Main ? (MyMainWindow *)QWIDGET(CWINDOW_Main) : 0, f, pos()); > } > > void MyMainWindow::moveSizeGrip() > { > CWINDOW *window; > QWidget *cont; > > if (sg == 0) > return; > > window = (CWINDOW *)CWidget::get(this); > cont = window->container; > > if (qApp->reverseLayout()) > sg->move(cont->rect().bottomLeft() - sg->rect().bottomLeft()); > else > sg->move(cont->rect().bottomRight() - sg->rect().bottomRight()); > } > > void MyMainWindow::setSizeGrip(bool on) > { > if (on == (sg != 0)) > return; > > if (!on) > { > delete sg; > sg = 0; > } > else //if (!parentWidget()) > { > sg = new QSizeGrip(((CWINDOW *)CWidget::get(this))->container); > sg->adjustSize(); > moveSizeGrip(); > sg->lower(); > if (paletteBackgroundPixmap()) > sg->setBackgroundOrigin(QWidget::AncestorOrigin); > sg->show(); > } > } > > void MyMainWindow::setBorder(int b, bool force) > { > int f; > > if (force) > border = BorderNone; > else > { > if (b == border || b < 0 || b > 2) > return; > } > > if (b == BorderNone) > { > //clearWFlags(Qt::WStyle_NormalBorder); > //clearWFlags(Qt::WStyle_DialogBorder); > //setWFlags(Qt::WStyle_NoBorderEx); > //reparent(parentWidget(), getWFlags(), pos()); > > f = WStyle_Customize | WStyle_NoBorderEx | getWFlags(); // & 0xffff0000); > > /*if (f & WStyle_StaysOnTop) > f |= WType_Popup; > else > f &= ~WType_Popup;*/ > > f |= WType_TopLevel; > > doReparent(parentWidget(), f, pos()); > > border = b; > return; > } > > > if (border == BorderNone) > doReparent(parentWidget(), WType_TopLevel | (getWFlags() /*& 0xffff0000*/), pos()); //QPoint(0,0) ); > > if (b == BorderFixed) > { > if (layout()) > layout()->setResizeMode(QLayout::FreeResize); > setMinimumSize(width(), height()); > setMaximumSize(width(), height()); > } > else > { > setMinimumSize(0, 0); > setMaximumSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX); > if (layout()) > layout()->setResizeMode(QLayout::Minimum); > } > > border = b; > } > > > void MyMainWindow::paintUnclip(bool on) > { > if (on) > setWFlags(Qt::WPaintUnclipped); > else > clearWFlags(Qt::WPaintUnclipped); > } > > > void MyMainWindow::moveEvent(QMoveEvent *e) > { > CWIDGET *_object = CWidget::getReal(this); > > //qDebug("Move: (%s %p) %d %d", GB.GetClassName(THIS), THIS, e->pos().x(), e->pos().y()); > > QMainWindow::moveEvent(e); > > //qDebug("Move (pos %d %d) (oldPos %d %d)", e->pos().x(), e->pos().y(), e->oldPos().x(), e->oldPos().y()); > //qDebug(" (geom %d %d) (fgeom %d %d)", geometry().x(), geometry().y(), frameGeometry().x(), frameGeometry().y()); > //qDebug(" Visible = %s Hidden = %s", (isVisible() ? "Yes" : "No"), (isHidden() ? "Yes" : "No")); > //qDebug(" Flags = 0x%s State = 0x%s", QString::number(getWFlags(), 16).latin1(), QString::number(getWState(), 16).latin1()); > > //if (CWIDGET_test_flag(ob, WF_IGNORE_MOVE)) > > //if (THIS->embedded) > // return; > > if (THIS->toplevel) > { > if (!testWFlags(Qt::WStyle_NoBorderEx)) > { > if (geometry().x() == frameGeometry().x() && geometry().y() == frameGeometry().y()) > { > //qDebug("...Ignore"); > return; > } > } > > if (!isHidden()) > { > THIS->x = x(); > THIS->y = y(); > //qDebug("moveEvent: x= %d y = %d", x(), y()); > } > } > > //qDebug("moveEvent %ld %ld isHidden:%s shown:%s ", THIS->x, THIS->y, isHidden() ? "1" : "0", shown ? "1" : "0"); > > if (THIS->shown) > GB.Raise(THIS, EVENT_Move, 0); > } > > > > /* > static void post_resize_event(CWINDOW *_object) > { > qDebug("post resize: %d %d", THIS->w, THIS->h); > WINDOW->resize(THIS->w, THIS->h); > GB.Unref((void **)&_object); > } > */ > > void MyMainWindow::resizeEvent(QResizeEvent *e) > { > CWINDOW *_object = (CWINDOW *)CWidget::getReal(this); > //int w, h; > > //qDebug("Resize"); > > //qDebug("Resize %p: %d %d <- %d %d", _object, e->size().width(), e->size().height(), e->oldSize().width(), e->oldSize().height()); > > //QMainWindow::resizeEvent(e); > > configure(); > > if (sg) > moveSizeGrip(); > > if (!isHidden()) > { > THIS->w = THIS->container->width(); > THIS->h = THIS->container->height(); > //qDebug("THIS->w = %d THIS->h = %d", THIS->w, THIS->h); > } > > //qDebug("resizeEvent %ld %ld isHidden:%s shown:%s ", THIS->w, THIS->h, isHidden() ? "1" : "0", shown ? "1" : "0"); > //qDebug("THIS->h = %ld THIS->container->height() = %ld height() = %ld", THIS->h, THIS->container->height(), height()); > > if (THIS->shown) > { > /*w = THIS->w; > h = THIS->h;*/ > GB.Raise(THIS, EVENT_Resize, 0); > /*if (w != THIS->w || h != THIS->h) > { > GB.Ref(THIS); > GB.Post((void (*)())post_resize_event, (long)THIS); > }*/ > } > } > > > void MyMainWindow::keyPressEvent(QKeyEvent *e) > { > QPushButton *test = 0; > CWIDGET *ob; > > e->ignore(); > > if (CWINDOW_Active && (e->state() == 0 || ( e->state() & Keypad && e->key() == Key_Enter ))) > { > switch (e->key()) > { > case Key_Enter: > case Key_Return: > > test = CWINDOW_Active->defaultButton; > break; > > case Key_Escape: > > test = CWINDOW_Active->cancelButton; > break; > } > > //qDebug("#0: (%p %s %s)", this, this ? this->caption().latin1() : 0, GB.GetClassName(CWidget::get(this))); > > if (!test) > return; > > ob = CWidget::get(test); > if (!ob) > return; > > if (CWIDGET_test_flag(ob, WF_DESIGN)) > return; > > if (!test->isVisible() || !test->isEnabled()) > return; > > test->animateClick(); > e->accept(); > } > } > > > static bool closeAll() > { > CWINDOW *win; > QPtrDictIterator iter(CWindow::dict); > > //qDebug("CLOSE ALL"); > > for(;;) > { > win = iter.current(); > if (!win) > break; > if (win != CWINDOW_Main && do_close(win, 0)) > { > //qDebug("ABORTED %p", win); > return true; > } > ++iter; > } > > return false; > } > > static void deleteAll() > { > CWINDOW *win; > QPtrDictIterator iter(CWindow::dict); > > //qDebug("DELETE ALL"); > > for(;;) > { > win = iter.current(); > if (!win) > break; > > ++iter; > > if (win != CWINDOW_Main) > { > //CWIDGET_set_flag(win, WF_CLOSED); > //qDebug("post DELETE to %p", win); > //qApp->postEvent(win->widget.widget, new QEvent(EVENT_CLOSE)); > CWIDGET_destroy((CWIDGET *)win); > //GB.Post((void *)deleteAfter, win > //delete win; > } > } > > //qApp->eventLoop()->processEvents(QEventLoop::AllEvents); > } > > void MyMainWindow::closeEvent(QCloseEvent *e) > { > CWINDOW *_object = (CWINDOW *)CWidget::get(this); > bool cancel = false; > bool modal; > > e->ignore(); > > //if (qApp->loopLevel() != THIS->level) > // return; > > //if (_object == CWINDOW_Main && qApp->loopLevel() > 1) > // return; > > //qDebug("closeEvent: level = %d", qApp->loopLevel()); > > if (MAIN_in_wait) > goto IGNORE; > > if (CWINDOW_Current && (THIS != CWINDOW_Current)) > goto IGNORE; > > if (!THIS) > { > qWarning("closeEvent: THIS == NULL"); > goto IGNORE; > } > > if (THIS->shown) > { > //qDebug("THIS->shown = %d: %p: %s", THIS->shown, THIS, GB.GetClassName(THIS)); > CWIDGET_set_flag(_object, WF_IN_CLOSE); > cancel = GB.Raise(_object, EVENT_Close, 0); > CWIDGET_clear_flag(_object, WF_IN_CLOSE); > } > > if (!cancel && THIS == CWINDOW_Main) > { > if (closeAll()) > cancel = true; > } > > modal = testWFlags(Qt::WShowModal); > > CWIDGET_set_flag(THIS, WF_CLOSED); > qApp->sendEvent(WIDGET, new QEvent(EVENT_CLOSE)); > > if (!CWIDGET_test_flag(_object, WF_PERSISTENT)) > { > if (cancel) > goto IGNORE; > > if (CWINDOW_Main == THIS) > { > deleteAll(); > CWINDOW_Main = 0; > } > > CWIDGET_destroy((CWIDGET *)THIS); > } > > e->accept(); > > if (modal) > { > //qDebug("exit_loop"); > qApp->eventLoop()->exitLoop(); > } > > return; > > IGNORE: > > CWIDGET_clear_flag(THIS, WF_CLOSED); > e->ignore(); > } > > > > bool MyMainWindow::isPersistent(void) > { > return !testWFlags(WDestructiveClose); > } > > > void MyMainWindow::setPersistent(bool pers) > { > if (!pers) > setWFlags(WDestructiveClose); > else > clearWFlags(WDestructiveClose); > } > > #if 0 > static void set_origin_rec(QWidget *top, QWidget::BackgroundOrigin origin) > { > QObjectList *l = top->queryList("QWidget"); > QObjectListIt it( *l ); > QObject *obj; > > while ( (obj = it.current()) != 0 ) > { > ++it; > ((QWidget*)obj)->setBackgroundOrigin(origin); > } > > top->setBackgroundOrigin(origin); > delete l; > } > > void MyMainWindow::defineMask() > { > CWINDOW *_object = (CWINDOW *)CWidget::get(this); > QPixmap *p; > QColor c; > QWidget *root = WINDOW; > //QBitmap b; > > if (!THIS->picture) > { > if (THIS->masked) > clearMask(); > > //root->setBackgroundOrigin(QWidget::WidgetOrigin); > //root->setPaletteBackgroundColor(THIS->container->paletteBackgroundColor()); > root->setErasePixmap(0); > > //set_origin_rec(root, QWidget::WidgetOrigin); > } > else > { > //set_origin_rec(root, QWidget::AncestorOrigin); > > p = THIS->picture->pixmap; > > if (THIS->masked) > { > //root->setPaletteBackgroundPixmap(*p); > THIS->container->setBackgroundOrigin(QWidget::WindowOrigin); > THIS->container->setErasePixmap(*p); > if (p->hasAlpha()) > setMask(*(p->mask())); > else > clearMask(); > } > else > { > clearMask(); > THIS->container->setBackgroundOrigin(QWidget::WidgetOrigin); > THIS->container->setErasePixmap(0); > //root->setBackgroundOrigin(QWidget::WidgetOrigin); > //root->setPaletteBackgroundPixmap(*p); > //root->setErasePixmap(0); > } > } > > //doReparent(parentWidget(), getWFlags(), pos()); > } > #endif > > void MyMainWindow::doReparent(QWidget *parent, WFlags f, const QPoint &pos, bool showIt) > { > CWINDOW *_object = (CWINDOW *)CWidget::get(this); > bool hasIcon; > QPixmap p; > bool saveProp = false; > > hasIcon = icon() != 0; > if (hasIcon) > p = *icon(); > > if (THIS->toplevel && THIS->shown) > { > saveProp = true; > X11_window_save_properties(this->winId()); > } > > THIS->toplevel = !parent || parent->isTopLevel(); > THIS->embedded = !THIS->toplevel; > > if (THIS->toplevel) > { > f |= Qt::WType_TopLevel; > if (!parent) > f |= Qt::WGroupLeader; > else > f &= ~Qt::WGroupLeader; > } > else > f &= ~Qt::WType_TopLevel; > > reparent(parent, f, pos, showIt); > > //qDebug("doReparent: (%s %p) (%s %p) %d", GB.GetClassName(THIS), THIS, GB.GetClassName(CWidget::get(parent)), CWidget::get(parent), THIS->toplevel); > > if (THIS->toplevel) > { > if (saveProp) > X11_window_restore_properties(this->winId()); > else > initProperties(); > } > > if (hasIcon) > setIcon(p); > //qDebug("new parent = %p", parentWidget()); > } > > > void MyMainWindow::center(bool force = false) > { > QPoint p; > > if (!force && !mustCenter) > return; > > mustCenter = false; > > p.setX((qApp->desktop()->width() - width()) / 2); > p.setY((qApp->desktop()->height() - height()) / 2); > > move(p); > } > > void MyMainWindow::configure() > { > CWINDOW *_object = (CWINDOW *)CWidget::get(this); > > //qDebug("THIS->menuBar = %p menuBar() = %p", THIS->menuBar, menuBar()); > > if (THIS->menuBar && !menuBar()->isHidden()) > { > THIS->container->setGeometry(0, menuBar()->height(), this->width(), this->height() - menuBar()->height()); > } > else > { > THIS->container->setGeometry(0, 0, this->width(), this->height()); > THIS->container->raise(); > } > > //qDebug(">>> THIS->menuBar = %p menuBar() = %p", THIS->menuBar, menuBar()); > > //qDebug("configure: %p (%d %d %d %d)", THIS, ((QFrame *)(THIS->container))->contentsRect().x(), ((QFrame *)(THIS->container))->contentsRect().y(), ((QFrame *)(THIS->container))->contentsRect().width(), ((QFrame *)(THIS->container))->contentsRect().height()); > } > > > void MyMainWindow::hide(void) > { > CWIDGET *_object = CWidget::get(this); > THIS->hidden = TRUE; > QMainWindow::hide(); > } > > > > /*************************************************************************** > > CWindow > > ***************************************************************************/ > > CWindow CWindow::manager; > int CWindow::count = 0; > QPtrDict CWindow::dict; > > /*static void post_activate_event(void *ob) > { > GB.Raise(ob, EVENT_Activate, 0); > GB.Unref(&ob); > } > > static void post_deactivate_event(void *ob) > { > GB.Raise(ob, EVENT_Deactivate, 0); > GB.Unref(&ob); > }*/ > > void CWINDOW_activate(CWIDGET *ob) > { > CWINDOW *active; > > if (ob) > { > active = CWidget::getWindow(ob); > for(;;) > { > if (active->toplevel) > break; > if (GB.CanRaise(active, EVENT_Activate)) > break; > active = CWidget::getWindow(CWidget::get(QWIDGET(active)->parentWidget())); > } > } > else > active = 0; > > if (active == CWINDOW_Active) > return; > > //qDebug("activate: (%s %p): (%s %p) -> (%s %p)", ob ? GB.GetClassName(ob) : "", ob, CWINDOW_Active ? GB.GetClassName(CWINDOW_Active) : "", CWINDOW_Active, active ? GB.GetClassName(active) : "", active); > > if (CWINDOW_Active) > { > GB.Raise(CWINDOW_Active, EVENT_Deactivate, 0); > /*if (GB.CanRaise(CWINDOW_Active, EVENT_Deactivate)) > { > GB.Ref(CWINDOW_Active); > GB.Post((void (*)())post_deactivate_event, (long)CWINDOW_Active); > }*/ > CWINDOW_Active = 0; > } > > if (active) > { > GB.Raise(active, EVENT_Activate, 0); > /*if (GB.CanRaise(active, EVENT_Activate)) > { > GB.Ref(active); > GB.Post((void (*)())post_activate_event, (long)active); > }*/ > } > > //CWINDOW_LastActive = CWINDOW_Active; > CWINDOW_Active = active; > //qDebug("CWINDOW_Active = (%s %p) %p", active ? GB.GetClassName(active) : "", active, active ? QWIDGET(active) : 0); > } > > void CWINDOW_set_default_button(CWINDOW *win, QPushButton *button, bool on) > { > if (on) > { > if (win->defaultButton) > win->defaultButton->setDefault(false); > > win->defaultButton = button; > button->setDefault(true); > } > else > { > if (win->defaultButton == button) > { > button->setDefault(false); > win->defaultButton = 0; > } > } > } > > void CWINDOW_set_cancel_button(CWINDOW *win, QPushButton *button, bool on) > { > if (on) > { > win->cancelButton = button; > } > else > { > if (button == win->cancelButton) > win->cancelButton = 0; > } > } > > > static void post_show_event(void *_object) > { > //qDebug("> post_show_event %s %p", GB.GetClassName(THIS), THIS); > if (THIS->shown) > return; > > //qDebug("EVENT_Open: %s %p %d", GB.GetClassName(THIS), THIS); > > GB.Raise(THIS, EVENT_Open, 0); > // a move event is generated just after for real windows > //if (!THIS->toplevel) > GB.Raise(THIS, EVENT_Move, 0); > GB.Raise(THIS, EVENT_Resize, 0); > THIS->shown = true; > //qDebug("THIS->shown <- true: %p: %s", THIS, GB.GetClassName(THIS)); > //qDebug("< post_show_event %p", THIS); > //GB.Unref(&_object); > } > > /*static void post_hide_event(void *_object) > { > qDebug("Hide: %s %d", GB.GetClassName(THIS), !WINDOW->isHidden()); > GB.Raise(THIS, EVENT_Hide, 0); > CACTION_raise(THIS); > GB.Unref(&_object); > }*/ > > bool CWindow::eventFilter(QObject *o, QEvent *e) > { > CWINDOW *_object = (CWINDOW *)CWidget::get(o); > > if (THIS != NULL) > { > if (e->type() == QEvent::WindowActivate && e->spontaneous()) > { > if (THIS->toplevel) > { > //qDebug("Activate: CWINDOW_Current = %p ob = %p", CWINDOW_Current, THIS); > > CWINDOW_activate((CWIDGET *)(CWINDOW_LastActive ? CWINDOW_LastActive : THIS)); > //GB.Unref((void **)&CWINDOW_LastActive); > CWINDOW_LastActive = 0; > //qDebug("CWINDOW_LastActive = 0"); > } > } > else if (e->type() == QEvent::WindowDeactivate && e->spontaneous()) > { > if (THIS->toplevel) > { > //qDebug("Deactivate: CWINDOW_Current = %p ob = %p", CWINDOW_Current, THIS); > /*#if QT_VERSION >= 0x030100 > if ((THIS == CWINDOW_Current) || (qApp->eventLoop()->loopLevel() <= 1)) > #else > if ((THIS == CWINDOW_Current) || (qApp->loopLevel() <= 1)) > #endif*/ > if (!CWINDOW_LastActive) > { > CWINDOW_LastActive = CWINDOW_Active; > //qDebug("CWINDOW_LastActive = %p", CWINDOW_LastActive); > //GB.Ref(CWINDOW_LastActive); > } > CWINDOW_activate(0); > } > } > else if (e->type() == QEvent::Show && !e->spontaneous()) > { > MyMainWindow *w = (MyMainWindow *)o; > > if (THIS->toplevel) > w->center(); > > if (!THIS->shown) > { > // This should have been done in CWINDOW_new > post_show_event(THIS); > } > > if (THIS->focus) > { > THIS->focus->widget->setFocus(); > GB.Unref((void **)&THIS->focus); > THIS->focus = NULL; > } > > //qDebug("Show: %s %d (%d)", GB.GetClassName(THIS), !WINDOW->isHidden(), e->spontaneous()); > GB.Raise(THIS, EVENT_Show, 0); > CACTION_raise(THIS); > } > else if (e->type() == QEvent::Hide && !e->spontaneous()) > { > //qDebug("Hide: %s %d (%d)", GB.GetClassName(THIS), !WINDOW->isHidden(), e->spontaneous()); > if (WINDOW->isHidden()) > { > GB.Raise(THIS, EVENT_Hide, 0); > CACTION_raise(THIS); > } > } > } > > return QObject::eventFilter(o, e); // standard event processing > } > > > void CWindow::error(void) > { > //CWINDOW *_object = (CWINDOW *)CWidget::getReal((QObject *)sender()); > //qDebug("XEMBED: CWindow::error %p -> %p", sender(), THIS); > CWINDOW_EmbedState = EMBED_ERROR; > } > > void CWindow::embedded(void) > { > //CWINDOW *_object = (CWINDOW *)CWidget::getReal((QObject *)sender()); > //qDebug("XEMBED: CWindow::embedded %p -> %p", sender(), THIS); > CWINDOW_EmbedState = EMBED_OK; > } > > void CWindow::closed(void) > { > //CWINDOW *_object = (CWINDOW *)CWidget::getReal((QObject *)sender()); > //qDebug("XEMBED: CWindow::closed %p -> %p", sender(), THIS); > //CWIDGET_destroy(CWidget::getReal((QObject *)sender())); > delete sender(); > } > > void CWindow::destroy(void) > { > CWINDOW *_object = (CWINDOW *)CWidget::getReal((QObject *)sender()); > //qDebug("XEMBED: CWindow::destroy %p -> %p", sender(), THIS); > > if (THIS) > { > do_close(THIS, 0, true); > remove_window_check_quit(THIS); > } > > CWINDOW_EmbedState = EMBED_WAIT; > CWINDOW_Embedded = false; > CWINDOW_Embedder = 0; > } > > #if 0 > /*************************************************************************** > > MyEmbeddedWindow > > ***************************************************************************/ > > > MyEmbeddedWindow::MyEmbeddedWindow(QWidget *parent) : > MyContainer(parent) > { > } > > > MyEmbeddedWindow::~MyEmbeddedWindow() > { > do_close((CWINDOW *)CWidget::getReal(this), 0, true); > } > > void MyEmbeddedWindow::show() > { > qDebug("MyEmbeddedWindow::show: %p", this); > > MyContainer::show(); > } > > > void MyEmbeddedWindow::showEvent(QShowEvent *e) > { > CWIDGET *_object = CWidget::getReal(this); > > qDebug("MyEmbeddedWindow::showEvent: %p (%p)", this, THIS); > > MyContainer::showEvent(e); > > /*if (!THIS->shown) > { > qDebug("MyEmbeddedWindow::showEvent: post_show_event"); > GB.Ref(THIS); > GB.Post((void (*)())post_show_event, (long)THIS); > THIS->shown = true; > }*/ > } > > void MyEmbeddedWindow::resizeEvent(QResizeEvent *e) > { > CWIDGET *_object = CWidget::getReal(this); > > MyContainer::resizeEvent(e); > > if (THIS->shown) > GB.Raise(THIS, EVENT_Resize, 0); > > //qDebug("--> (%d %d) %s", this->width(), this->height(), shown ? "1" : "0"); > } > > > void MyEmbeddedWindow::moveEvent(QMoveEvent *e) > { > CWIDGET *_object = CWidget::getReal(this); > > MyContainer::moveEvent(e); > > if (THIS->shown) > GB.Raise(THIS, EVENT_Move, 0); > } > > > void MyEmbeddedWindow::hide(void) > { > CWIDGET *_object = CWidget::getReal(this); > THIS->hidden = TRUE; > MyContainer::hide(); > } > #endif > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user It works. Like the other times, Thanks a lot! -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From sourceforge-raindog2 at ...94... Fri Aug 11 22:31:52 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Fri, 11 Aug 2006 16:31:52 -0400 Subject: [Gambas-user] how to 'which' with gambas In-Reply-To: <200608112200.07349.stefanopalmeri@...152...> References: <200608110148.04022.stefanopalmeri@...152...> <200608110548.14404.ronstk@...239...> <200608112200.07349.stefanopalmeri@...152...> Message-ID: <200608111631.52848.sourceforge-raindog2@...94...> On Fri August 11 2006 16:00, Stefano Palmeri wrote: > I was talking about a function that do the same job as > the command line "which". Anyway it is surely > not a priority... I will continue to play with SHELL "which... It should be possible to write such a function pretty easily. Here is some pseudo-code. function which(exename as string) as string dim paths as new String[] dim path as string dim dirresult as new String[] paths = Split(Application.Env["PATH"], ":") for each path in paths dirresult = dir(path, exename) if dirresult.count > 0 then return dirresult[0] end if next return "" end 'Rob From Karl.Reinl at ...9... Fri Aug 11 23:16:27 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 11 Aug 2006 23:16:27 +0200 Subject: [Gambas-user] about the 1.9.38 Message-ID: <200608112316.27489.Karl.Reinl@...9...> Salut, today I installed the 1.9.38. After five minutes, I said S..T. But I found an ERROR with pdf, during make. It seams the config couldn't find the any error So I wiped off the gambas2-1.9.38 dir, unpacked and started new with --disabled-pdf. my log-file for configure sais: configure: WARNING: pdf component is disabled .. .. configure: running /bin/sh './configure' --prefix=/usr/local '--disable-pdf' --cache-file=/dev/null --srcdir=. .. .. ************************************************************ THESE COMPONENTS ARE DISABLED: - gb.corba - gb.db.firebird - gb.ldap ************************************************************ is that logic ? Now I find no more ERROR in my logs. (See attached) But I find still the same as befor : - Open the IDE , open a project from your list, make a change to that form, and now try to go out withaout saving. That one is good, isn't it. ( you just can reload the form, to out , or kill the job) - Or try to start the gdm2 (gambas-database-manager) ?! - Or try to load an project, with open project at the left menu ?! Let me know, if I'm the only who has this pb, then I have to go to look whats wrong on my box. (attach you also my sysinfo.log) Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: sysInfo.log Type: text/x-log Size: 3145 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: charlie-gambas2.1.9.log.tar.bz2 Type: application/x-tbz Size: 30178 bytes Desc: not available URL: From leonardo at ...1237... Sat Aug 12 00:13:47 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Sat, 12 Aug 2006 00:13:47 +0200 Subject: [Gambas-user] Menu editor doesn't work Message-ID: <44DD011B.2060206@...1237...> I have another bug... I cannot edit the menu anymore... I can modify the menu with the integrated editor as I want but when I click on OK and close the editor the menu in applications isn't updated. It still remains unmodified. Is this a bug or a problem related to the patch I applied to my Gambas? -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From Karl.Reinl at ...9... Sat Aug 12 00:19:30 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 12 Aug 2006 00:19:30 +0200 Subject: [Gambas-user] about my Pb on 1.9.38 Message-ID: <200608120019.30432.Karl.Reinl@...9...> Salut, changing my .config/gambas/gambas2.conf , I had access to the gdm2, and found out it's the Me.Close() which works wrong. Always returns 0. May be , it is related to the last patch from Benoit for CWindow.cpp, I use Have to wait till 1.9.39 Amicalment Charlie From leonardo at ...1237... Sat Aug 12 00:29:35 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Sat, 12 Aug 2006 00:29:35 +0200 Subject: [Gambas-user] Menu editor doesn't work In-Reply-To: <44DD011B.2060206@...1237...> References: <44DD011B.2060206@...1237...> Message-ID: <44DD04CF.4000506@...1237...> Leonardo Miliani ha scritto: > I have another bug... > I cannot edit the menu anymore... > I can modify the menu with the integrated editor as I want but when I > click on OK and close the editor the menu in applications isn't updated. > It still remains unmodified. > > Is this a bug or a problem related to the patch I applied to my Gambas? > I recompiled Gambas from the original source code and I don't have the problem anymore. So I think that it's related to the patch. -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From Karl.Reinl at ...9... Sat Aug 12 00:29:26 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 12 Aug 2006 00:29:26 +0200 Subject: [Gambas-user] about my Pb on 1.9.38 part 2 Message-ID: <200608120029.26200.Karl.Reinl@...9...> Salut, it wasn't the last patch from Benoit for CWindow.cpp. I ported back, and have the same pb. Amicalment Charlie From ronstk at ...239... Sat Aug 12 00:42:48 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 12 Aug 2006 00:42:48 +0200 Subject: [Gambas-user] compile problem 1.9.38 Message-ID: <200608120042.48583.ronstk@...239...> After long time and many version I get with this version a problem. 1.9.35 does OK but 1.9.38 not. -------------------------------------- When the "./configure --prefix=/opt/gb" has finished I see: Disabled Components ... gb.qt.kde ... -------------------------------------- In the config.log file I see: configure:21828: checking for QT meta-object compiler configure:21901: result: /usr/lib/qt3/bin/ configure:21932: checking for QT component headers configure:22012: result: /usr/lib/qt3/include/ configure:22040: checking for QT component libraries configure:22132: result: /usr/lib/qt3/lib/ configure:22212: checking for KDE 3.x component headers configure:22292: result: no configure:22320: checking for KDE 3.x component libraries configure:22406: result: no configure:22453: WARNING: *** KDE 3.x component is disabled 2 times a result of 'no' ???? -------------------------------------- The gb.qt.kde/configure.ac contains: GB_COMPONENT( kde, KDE, [KDE 3.x component], [src], [GB_FIND(kapplication.h, `kde-config --prefix 2> /dev/null`, include)], [GB_FIND(libkdecore.$SHLIBEXT, `kde-config --prefix 2> /dev/null`, lib)], [-lkdecore -lkdeui -lDCOP -lkio]) fi ------------------------------- ron at ...1311...:~> locate libkdecore /opt/kde3/lib/libkdecore.la /opt/kde3/lib/libkdecore.so /opt/kde3/lib/libkdecore.so.4 /opt/kde3/lib/libkdecore.so.4.2.0 ron at ...1311...:~> locate kdeui /opt/kde3/lib/libkdeui.la /opt/kde3/lib/libkdeui.so /opt/kde3/lib/libkdeui.so.4 /opt/kde3/lib/libkdeui.so.4.2.0 ron at ...1311...:~> locate DCOP /opt/kde3/lib/libDCOP.la /opt/kde3/lib/libDCOP.so /opt/kde3/lib/libDCOP.so.4 /opt/kde3/lib/libDCOP.so.4.2.0 ron at ...1311...:~> locate kio /opt/kde3/include/kio <--- is directory ron at ...1311...:~> locate kapplication /opt/kde3/include/kapplication.h ron at ...1311...:~> kde-config --prefix /opt/kde3 unknown if these also are need: for [-lkdecore -lkdeui -lDCOP -lkio] as kdecore kdeui DCOP kio as library or include ron at ...1311...:~> l /opt/kde3/lib/libkdecore.* -rwxr-xr-x 1 root root 1265 2006-03-22 02:06 /opt/kde3/lib/libkdecore.la* lrwxrwxrwx 1 root root 19 2006-04-18 00:44 /opt/kde3/lib/libkdecore.so -> libkdecore.so.4.2.0* lrwxrwxrwx 1 root root 19 2006-04-18 00:20 /opt/kde3/lib/libkdecore.so.4 -> libkdecore.so.4.2.0* -rwxr-xr-x 1 root root 2965123 2006-03-22 02:06 /opt/kde3/lib/libkdecore.so.4.2.0* ron at ...1311...:~> l /opt/kde3/include/kapplication.h -rw-r--r-- 1 root root 52471 2005-10-10 17:06 /opt/kde3/include/kapplication.h ------------------------------- Somebody a idea what is going wrong with .38 and .35 is OK TIA Ron From ronstk at ...239... Sat Aug 12 00:51:10 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 12 Aug 2006 00:51:10 +0200 Subject: [Gambas-user] Menu editor doesn't work In-Reply-To: <44DD011B.2060206@...1237...> References: <44DD011B.2060206@...1237...> Message-ID: <200608120051.10179.ronstk@...239...> On Saturday 12 August 2006 00:13, Leonardo Miliani wrote: > I have another bug... > I cannot edit the menu anymore... > I can modify the menu with the integrated editor as I want but when I > click on OK and close the editor the menu in applications isn't updated. > It still remains unmodified. > > Is this a bug or a problem related to the patch I applied to my Gambas? > Well for me it does not matter the .38 bare or the one with patched CWindows. I can't open existing projects, only the examples work. New project can use a directory to store the new project, telling me it does not exist. So the file selectdialog is also doing something strange. And the gb.qt.kde component is blown to heaven :) No webbrowser available. Ron From ronstk at ...239... Sat Aug 12 00:52:34 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 12 Aug 2006 00:52:34 +0200 Subject: [Gambas-user] about my Pb on 1.9.38 In-Reply-To: <200608120019.30432.Karl.Reinl@...9...> References: <200608120019.30432.Karl.Reinl@...9...> Message-ID: <200608120052.34330.ronstk@...239...> On Saturday 12 August 2006 00:19, Charlie Reinl wrote: > Salut, > > changing my .config/gambas/gambas2.conf , I had access to the gdm2, > and found out it's the Me.Close() which works wrong. > > Always returns 0. > > May be , it is related to the last patch from Benoit for CWindow.cpp, I use > > Have to wait till 1.9.39 > > Amicalment > Charlie > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Bad, we have to wait till at least 16-aug. He enjoy a week off he deserve for his work on gambas :) Ron From tndavila at ...626... Sat Aug 12 10:35:04 2006 From: tndavila at ...626... (=?ISO-8859-1?Q?Antonio_Jes=FAs_D=E1vila?=) Date: Sat, 12 Aug 2006 10:35:04 +0200 Subject: [Gambas-user] Nightmare Error #27 Message-ID: <44DD92B8.6010309@...626...> I trying to install the gambas2-1.9.38 over Ubuntu Dapper, first i run ./configure -C, and get the output: ************************************************************ THESE COMPONENTS ARE DISABLED: - gb.corba - gb.db.firebird - gb.db.odbc - gb.db.postgresql - gb.db.sqlite2 - gb.db.sqlite3 - gb.ldap - gb.net.curl - gb.pdf - gb.qt.kde ************************************************************ there is not the gb.qt component disabled , then i run make and sudo make install ( -C or -c option doesn't exist in ubuntu sudo) but when i try to launch gambas2 i get : ERROR: #27: Cannot load component 'gb.qt': cannot find library file i am trying to do some things in ld.so.conf : /usr/local/lib /usr/lib/security /usr/share/ant/lib /usr/local/lib/gambas2 /usr/share/qt/lib but this don't work. some one can help me ? thanks a lot From rohnny at ...1248... Sat Aug 12 11:22:54 2006 From: rohnny at ...1248... (R. Stormo) Date: Sat, 12 Aug 2006 02:22:54 -0700 (PDT) Subject: [Gambas-user] Nightmare Error #27 In-Reply-To: <44DD92B8.6010309@...626...> References: <44DD92B8.6010309@...626...> Message-ID: <5774082.post@...1379...> Antonio Jes?s D?vila wrote: > > > I trying to install the gambas2-1.9.38 over Ubuntu Dapper, first i run > ./configure -C, and get the output: > > ************************************************************ > > THESE COMPONENTS ARE DISABLED: > > - gb.corba > - gb.db.firebird > - gb.db.odbc > - gb.db.postgresql > - gb.db.sqlite2 > - gb.db.sqlite3 > - gb.ldap > - gb.net.curl > - gb.pdf > - gb.qt.kde > > ************************************************************ > > there is not the gb.qt component disabled , then i run make and > sudo make install ( -C or -c option doesn't exist in ubuntu sudo) > > but when i try to launch gambas2 i get : > > ERROR: #27: Cannot load component 'gb.qt': cannot find library file > > You are missing the dev files. Have a looks at this http://gambasdoc.org/help/readme Use apt-get to install needed files, then run configure, mane and make install. -- R. Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Nightmare-Error--27-tf2094518.html#a5774082 Sent from the gambas-user forum at Nabble.com. From tndavila at ...626... Sat Aug 12 14:01:20 2006 From: tndavila at ...626... (=?ISO-8859-1?Q?Toni_D=E1vila?=) Date: Sat, 12 Aug 2006 14:01:20 +0200 Subject: [Gambas-user] Nightmare Error #27 In-Reply-To: <5774082.post@...1379...> References: <44DD92B8.6010309@...626...> <5774082.post@...1379...> Message-ID: <36fe8f900608120501q469449a2m6336cc0036e63aac@...627...> I downloaded the Qt dev configure, make and install it ,after i clean, configure , make and install gambas2, i tried with ldconfig and lo.so..conf nothing works. :( On 8/12/06, R. Stormo wrote: > > > > > Antonio Jes?s D?vila wrote: > > > > > > I trying to install the gambas2-1.9.38 over Ubuntu Dapper, first i run > > ./configure -C, and get the output: > > > > ************************************************************ > > > > THESE COMPONENTS ARE DISABLED: > > > > - gb.corba > > - gb.db.firebird > > - gb.db.odbc > > - gb.db.postgresql > > - gb.db.sqlite2 > > - gb.db.sqlite3 > > - gb.ldap > > - gb.net.curl > > - gb.pdf > > - gb.qt.kde > > > > ************************************************************ > > > > there is not the gb.qt component disabled , then i run make and > > sudo make install ( -C or -c option doesn't exist in ubuntu sudo) > > > > but when i try to launch gambas2 i get : > > > > ERROR: #27: Cannot load component 'gb.qt': cannot find library file > > > > > You are missing the dev files. > > Have a looks at this http://gambasdoc.org/help/readme > > Use apt-get to install needed files, then run configure, mane and make > install. > > > -- > R. Stormo > ----------------------------------------- > Gambas brings Basic to Linux. > My Gambas Community http://forum.stormweb.no > > -- > View this message in context: > http://www.nabble.com/Nightmare-Error--27-tf2094518.html#a5774082 > Sent from the gambas-user forum at Nabble.com. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronstk at ...239... Sat Aug 12 14:25:36 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 12 Aug 2006 14:25:36 +0200 Subject: [Gambas-user] Nightmare Error #27 In-Reply-To: <36fe8f900608120501q469449a2m6336cc0036e63aac@...627...> References: <44DD92B8.6010309@...626...> <5774082.post@...1379...> <36fe8f900608120501q469449a2m6336cc0036e63aac@...627...> Message-ID: <200608121425.36743.ronstk@...239...> On Saturday 12 August 2006 14:01, Toni D?vila wrote: > I downloaded the Qt dev configure, make and install it ,after i clean, > configure , make and install gambas2, i tried with ldconfig and lo.so..conf > > nothing works. :( > It looks to me there are more problems with the 1.9.38 version. At least for me too. ------------------- The latest out of the box working for me is 1.9.35 1.9.36 is good candidate, did compile without any strange things 1.9.37 has some minor problem (has some patches after release) 1.9.38pre1 trial to fix 1.9.37 1.9.38 the latest as final (has a patch on CWindow.ccp) We have to wait till 16/17 of august because the creator has a "week off" :) ------------------- The versions I use ATM for develop are: 1.9.29 for work 1.9.35 for hobby, working on gb.form.mda (working now) I'm using SuSE 9.2 & KDE3.5.2 Ron From Karl.Reinl at ...9... Sat Aug 12 14:42:06 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 12 Aug 2006 14:42:06 +0200 Subject: [Gambas-user] about my (about my Pb on 1.9.38 part 2) Message-ID: <200608121442.06354.Karl.Reinl@...9...> Salut, the pb came with the last patch from Beno?t (CWindow.cpp.) I ported back early this mornig, and had the same pb. But I only changed the CWindow.cpp , which was not newly compiled. Now after changing CWindow.cpp filedate and recompiling all my reported pbs are gone. Sorry Amicalment Charlie From rohnny at ...1248... Sat Aug 12 16:12:09 2006 From: rohnny at ...1248... (R. Stormo) Date: Sat, 12 Aug 2006 07:12:09 -0700 (PDT) Subject: [Gambas-user] Nightmare Error #27 In-Reply-To: <36fe8f900608120501q469449a2m6336cc0036e63aac@...627...> References: <44DD92B8.6010309@...626...> <5774082.post@...1379...> <36fe8f900608120501q469449a2m6336cc0036e63aac@...627...> Message-ID: <5775966.post@...1379...> Antonio Jes?s D?vila wrote: > > I downloaded the Qt dev configure, make and install it ,after i clean, > configure , make and install gambas2, i tried with ldconfig and > lo.so..conf > > nothing works. :( > > On 8/12/06, R. Stormo wrote: >> >> >> >> >> Antonio Jes?s D?vila wrote: >> > >> > >> > I trying to install the gambas2-1.9.38 over Ubuntu Dapper, first i run >> > ./configure -C, and get the output: >> > >> > ************************************************************ >> > >> > THESE COMPONENTS ARE DISABLED: >> > >> > - gb.corba >> > - gb.db.firebird >> > - gb.db.odbc >> > - gb.db.postgresql >> > - gb.db.sqlite2 >> > - gb.db.sqlite3 >> > - gb.ldap >> > - gb.net.curl >> > - gb.pdf >> > - gb.qt.kde >> > >> > ************************************************************ >> > >> > there is not the gb.qt component disabled , then i run make and >> > sudo make install ( -C or -c option doesn't exist in ubuntu sudo) >> > >> > but when i try to launch gambas2 i get : >> > >> > ERROR: #27: Cannot load component 'gb.qt': cannot find library file >> > >> > >> You are missing the dev files. >> >> Have a looks at this http://gambasdoc.org/help/readme >> >> Use apt-get to install needed files, then run configure, mane and make >> install. >> >> >> -- >> R. Stormo >> ----------------------------------------- >> Gambas brings Basic to Linux. >> My Gambas Community http://forum.stormweb.no >> >> -- > Try to install libsqlite0-dev and libsqlite3-dev The configure to see if the sqlite are away from the list -- R. Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Nightmare-Error--27-tf2094518.html#a5775966 Sent from the gambas-user forum at Nabble.com. From ronstk at ...239... Sat Aug 12 16:11:41 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 12 Aug 2006 16:11:41 +0200 Subject: [Gambas-user] about my (about my Pb on 1.9.38 part 2) In-Reply-To: <200608121442.06354.Karl.Reinl@...9...> References: <200608121442.06354.Karl.Reinl@...9...> Message-ID: <200608121611.41615.ronstk@...239...> On Saturday 12 August 2006 14:42, Charlie Reinl wrote: > Salut, > > the pb came with the last patch from Beno?t (CWindow.cpp.) > > I ported back early this mornig, and had the same pb. > But I only changed the CWindow.cpp , which was not newly compiled. > > Now after changing CWindow.cpp filedate and recompiling all my reported pbs > are gone. Sorry > > > Amicalment > Charlie > I did unpack even the whole package again. My problem is gb.qt.kde does not compile. The headers are there because 1.9.35 does compile Benoit has changed (part of) the auto* stuff (found with diff3) ? .35: from config.log------------------------------------------vvvvv no -- for prefix ? configure:3867: running /bin/sh './configure' --prefix=/opt/gb 'prefix=/opt/gb' --cache-file=/dev/null --srcdir=. $ ./configure --prefix=/opt/gb prefix=/opt/gb --cache-file=/dev/null --srcdir=. configure:22212: checking for KDE 3.x component headers configure:22292: result: /opt/kde3/include/ configure:22320: checking for KDE 3.x component libraries configure:22406: result: /opt/kde3/lib/ .38: from config.log ------------------------------------------vvvvv added -- for prefix ? configure:3867: running /bin/sh './configure' --prefix=/opt/gb '--prefix=/opt/gb' --cache-file=/dev/null --srcdir=. $ ./configure --prefix=/opt/gb --prefix=/opt/gb --cache-file=/dev/null --srcdir=. configure:22212: checking for KDE 3.x component headers configure:22292: result: no configure:22320: checking for KDE 3.x component libraries configure:22406: result: no configure:22453: WARNING: *** KDE 3.x component is disabled Ron From jredrejo at ...429... Sat Aug 12 16:30:47 2006 From: jredrejo at ...429... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Sat, 12 Aug 2006 16:30:47 +0200 Subject: [Gambas-user] Nightmare Error #27 Message-ID: <1155393048.14307.13.camel@...40...> > Antonio Jes?s D?vila wrote: > > > > > > I trying to install the gambas2-1.9.38 over Ubuntu Dapper, first i run > > ./configure -C, and get the output: > > > > ************************************************************ > > > > THESE COMPONENTS ARE DISABLED: > > > > - gb.corba > > - gb.db.firebird > > - gb.db.odbc > > - gb.db.postgresql > > - gb.db.sqlite2 > > - gb.db.sqlite3 > > - gb.ldap > > - gb.net.curl > > - gb.pdf > > - gb.qt.kde > > > > ************************************************************ > > > > there is not the gb.qt component disabled , then i run make and > > sudo make install ( -C or -c option doesn't exist in ubuntu sudo) > > > > but when i try to launch gambas2 i get : > > > > ERROR: #27: Cannot load component 'gb.qt': cannot find library file > > > > > You are missing the dev files. > > Have a looks at this http://gambasdoc.org/help/readme > > Use apt-get to install needed files, then run configure, mane and make > install. > > > -- > R. Stormo > Using Ubuntu you have two easy ways: Use the Debian/sid packages available at http://apt.linex.org/linex/gambas/1.9.38/sid/ or If there is any incompatibility due to the Ubuntu forks, you can -download from the above link the debianized sources(*.tar.gz, *.dsc & *.dif) - execute in your computer: "dpkg-source -x gambas2_1.9.38-1.dsc ", - move into the gambas-1.9.38 directory - execute "dpkg-buildpackage", that will give you the exact name of the packages that you still have to install to compile all the stuff (build-dependencies) - execute "dpkg-buildpackage" and you will compile and build the packages for any Ubuntu system like yours. Hope this help. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Esta parte del mensaje est? firmada digitalmente URL: From ronstk at ...239... Sat Aug 12 16:28:15 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 12 Aug 2006 16:28:15 +0200 Subject: [Gambas-user] about my (about my Pb on 1.9.38 part 2) In-Reply-To: <200608121611.41615.ronstk@...239...> References: <200608121442.06354.Karl.Reinl@...9...> <200608121611.41615.ronstk@...239...> Message-ID: <200608121628.16300.ronstk@...239...> On Saturday 12 August 2006 16:11, Ron Onstenk wrote: --8<-- > > Ron > Did download the whole pack again fresh from sf Unpack ./configure -C --prefix=/opt/gb Found in the log now KDE component is found, hoera !! start make. waiting the result. (good hope) Maybe the -C is not optional but a really a MUST now. Ron From ronstk at ...239... Sat Aug 12 16:57:23 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 12 Aug 2006 16:57:23 +0200 Subject: [Gambas-user] Search-cosmetic bug Message-ID: <200608121657.24032.ronstk@...239...> Using search with list. The lines where the words are found are marked in the treeview in the project folder 'Forms' instead 'Classes' Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... -------------- next part -------------- A non-text attachment was scrubbed... Name: search-bug.jpg Type: image/jpeg Size: 70686 bytes Desc: not available URL: From ronstk at ...239... Sat Aug 12 17:06:05 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 12 Aug 2006 17:06:05 +0200 Subject: [Gambas-user] Problem on 1.9.38 (solved now) Message-ID: <200608121706.05344.ronstk@...239...> Did download the whole pack again fresh from sf Unpack ./configure -C --prefix=/opt/gb Found in the log now KDE component is found, hoera !! start make. waiting the result. (good hope) Maybe the -C is not optional but is a really "MUST" now. ------------------------------------------------------ ./configure :OK make :OK. make install : OK also. What was going wrong? :( The CWindow.cpp is not replaced by the patched one. The problem for existence of it does not happen on my box. No need to replace it, until Benoit told me to do :) I'm very happy now. :) Go working on the .mda for 1.9.38 now Bye, Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From James.Hatridge at ...17... Sat Aug 12 17:41:23 2006 From: James.Hatridge at ...17... (James Hatridge) Date: Sat, 12 Aug 2006 17:41:23 +0200 Subject: [Gambas-user] Picture resizing? Message-ID: <200608121741.23341.James.Hatridge@...17...> HI all... Ok new question! I have a picture box of about 300X400 to show my stamps. For most stamps its fine, but sometimes it shows only part of a larger stamp. How can I resize the picture (not the box) to fix inside the box? BTW thanks to everyone for their help, this is a great list. JIM -- Jim Hatridge Linux User #88484 ------------------------------------------------------ WartHog Bulletin Info about new German Stamps http://www.fuzzybunnymilitia.org/~hatridge/bulletin/index.php Viel Feind -- Viel Ehr' Anti-US Propaganda stamp collection http://www.fuzzybunnymilitia.org/~hatridge/collection/index.php From dcamposf at ...626... Sat Aug 12 21:08:07 2006 From: dcamposf at ...626... (Daniel Campos) Date: Sat, 12 Aug 2006 21:08:07 +0200 Subject: [Gambas-user] Picture resizing? In-Reply-To: <200608121741.23341.James.Hatridge@...17...> References: <200608121741.23341.James.Hatridge@...17...> Message-ID: <7259b5ae0608121208r1047a86pe10c0c194c15f1eb@...627...> If you're using a PictureBox, you can use the "Stretch" property to true, it will make the picture inside to fit with the dimensions of the box. Another way is to use the the Image class to process it: .... Dim hImg1 as Image Dim hImg2 as Image hImg1=Image.Load ("your path to the image") hImg2=hImg1.Stretch (newWidth, newHeight) PictureBox1.Picture=hImg2.Picture .... Daniel 2006/8/12, James Hatridge : > > HI all... > > Ok new question! I have a picture box of about 300X400 to show my stamps. > For > most stamps its fine, but sometimes it shows only part of a larger stamp. > How > can I resize the picture (not the box) to fix inside the box? > > BTW thanks to everyone for their help, this is a great list. > > JIM > -- > Jim Hatridge > Linux User #88484 > ------------------------------------------------------ > WartHog Bulletin > Info about new German Stamps > http://www.fuzzybunnymilitia.org/~hatridge/bulletin/index.php > > Viel Feind -- Viel Ehr' > Anti-US Propaganda stamp collection > http://www.fuzzybunnymilitia.org/~hatridge/collection/index.php > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jclevien at ...626... Sat Aug 12 21:48:42 2006 From: jclevien at ...626... (Juan Jose Costello Levien) Date: Sat, 12 Aug 2006 16:48:42 -0300 Subject: [Gambas-user] Tableview: Editing cells Message-ID: Hello Gambas people, I am working in a little project using Gambas. I am using Gambas 1.0.14 with Fedora Core 5 i386. All goes fine, until I want to edit cell data inside a TableView. Really, I searched for an "Editable" property, to enable manual tableview editing, but cannot figure out how to enable it. I believe this is stupid, but or I am tired or I am going crazy... Thank you for your suggestions. Juan -------------- next part -------------- An HTML attachment was scrubbed... URL: From leonardo at ...1237... Sat Aug 12 22:14:33 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Sat, 12 Aug 2006 22:14:33 +0200 Subject: [Gambas-user] compile problem 1.9.38 In-Reply-To: <200608120042.48583.ronstk@...239...> References: <200608120042.48583.ronstk@...239...> Message-ID: <44DE36A9.7050504@...1237...> Ron Onstenk ha scritto: > After long time and many version I get with this version a problem. > 1.9.35 does OK but 1.9.38 not. > > -------------------------------------- > When the "./configure --prefix=/opt/gb" has finished I see: > > Disabled Components > ... > gb.qt.kde > ... > > -------------------------------------- > In the config.log file I see: > > configure:21828: checking for QT meta-object compiler > configure:21901: result: /usr/lib/qt3/bin/ > configure:21932: checking for QT component headers > configure:22012: result: /usr/lib/qt3/include/ > configure:22040: checking for QT component libraries > configure:22132: result: /usr/lib/qt3/lib/ > configure:22212: checking for KDE 3.x component headers > configure:22292: result: no > configure:22320: checking for KDE 3.x component libraries > configure:22406: result: no > configure:22453: WARNING: *** KDE 3.x component is disabled > > 2 times a result of 'no' ???? > > -------------------------------------- > The gb.qt.kde/configure.ac contains: > > GB_COMPONENT( > kde, > KDE, > [KDE 3.x component], > [src], > [GB_FIND(kapplication.h, `kde-config --prefix 2> /dev/null`, include)], > [GB_FIND(libkdecore.$SHLIBEXT, `kde-config --prefix 2> /dev/null`, lib)], > [-lkdecore -lkdeui -lDCOP -lkio]) > > fi > > ------------------------------- > > ron at ...1311...:~> locate libkdecore > /opt/kde3/lib/libkdecore.la > /opt/kde3/lib/libkdecore.so > /opt/kde3/lib/libkdecore.so.4 > /opt/kde3/lib/libkdecore.so.4.2.0 > > ron at ...1311...:~> locate kdeui > /opt/kde3/lib/libkdeui.la > /opt/kde3/lib/libkdeui.so > /opt/kde3/lib/libkdeui.so.4 > /opt/kde3/lib/libkdeui.so.4.2.0 > > ron at ...1311...:~> locate DCOP > /opt/kde3/lib/libDCOP.la > /opt/kde3/lib/libDCOP.so > /opt/kde3/lib/libDCOP.so.4 > /opt/kde3/lib/libDCOP.so.4.2.0 > > ron at ...1311...:~> locate kio > /opt/kde3/include/kio <--- is directory > > > ron at ...1311...:~> locate kapplication > /opt/kde3/include/kapplication.h > > ron at ...1311...:~> kde-config --prefix > /opt/kde3 > > unknown if these also are need: > for [-lkdecore -lkdeui -lDCOP -lkio] > as kdecore kdeui DCOP kio as library or include > > > ron at ...1311...:~> l /opt/kde3/lib/libkdecore.* > -rwxr-xr-x 1 root root 1265 2006-03-22 02:06 /opt/kde3/lib/libkdecore.la* > lrwxrwxrwx 1 root root 19 2006-04-18 00:44 /opt/kde3/lib/libkdecore.so -> libkdecore.so.4.2.0* > lrwxrwxrwx 1 root root 19 2006-04-18 00:20 /opt/kde3/lib/libkdecore.so.4 -> libkdecore.so.4.2.0* > -rwxr-xr-x 1 root root 2965123 2006-03-22 02:06 /opt/kde3/lib/libkdecore.so.4.2.0* > > ron at ...1311...:~> l /opt/kde3/include/kapplication.h > -rw-r--r-- 1 root root 52471 2005-10-10 17:06 /opt/kde3/include/kapplication.h > > ------------------------------- > > Somebody a idea what is going wrong with .38 and .35 is OK > > > > TIA > > Ron > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > I don't have any idea about your problem but I can tell you that on my system I always compiled any version with no problem on KDE components. I invite you to check if your system matches all the required libs (check if some program have wrongly removed some -devel package). -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From leonardo at ...1237... Sat Aug 12 22:17:25 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Sat, 12 Aug 2006 22:17:25 +0200 Subject: [Gambas-user] about my (about my Pb on 1.9.38 part 2) In-Reply-To: <200608121628.16300.ronstk@...239...> References: <200608121442.06354.Karl.Reinl@...9...> <200608121611.41615.ronstk@...239...> <200608121628.16300.ronstk@...239...> Message-ID: <44DE3755.3050207@...1237...> Ron Onstenk ha scritto: > On Saturday 12 August 2006 16:11, Ron Onstenk wrote: > > --8<-- > >> Ron >> > > Did download the whole pack again fresh from sf > Unpack > ./configure -C --prefix=/opt/gb > > Found in the log now KDE component is found, hoera !! > > start make. waiting the result. (good hope) > > Maybe the -C is not optional but a really a MUST now. I've never compiled Gambas with -C option but I did never have problems. Lucky man? :-) -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From ronstk at ...239... Sat Aug 12 22:55:30 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 12 Aug 2006 22:55:30 +0200 Subject: [Gambas-user] compile problem 1.9.38 In-Reply-To: <44DE36A9.7050504@...1237...> References: <200608120042.48583.ronstk@...239...> <44DE36A9.7050504@...1237...> Message-ID: <200608122255.31282.ronstk@...239...> On Saturday 12 August 2006 22:14, Leonardo Miliani wrote: > > > > I don't have any idea about your problem but I can tell you that on my > system I always compiled any version with no problem on KDE components. It did till this 1.9.38 > I invite you to check if your system matches all the required libs > (check if some program have wrongly removed some -devel package). They are there. That could be seen from above logs. From ronstk at ...239... Sat Aug 12 22:58:06 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 12 Aug 2006 22:58:06 +0200 Subject: [Gambas-user] about my (about my Pb on 1.9.38 part 2) In-Reply-To: <44DE3755.3050207@...1237...> References: <200608121442.06354.Karl.Reinl@...9...> <200608121628.16300.ronstk@...239...> <44DE3755.3050207@...1237...> Message-ID: <200608122258.06807.ronstk@...239...> On Saturday 12 August 2006 22:17, Leonardo Miliani wrote: > > Maybe the -C is not optional but a really a MUST now. > > I've never compiled Gambas with -C option but I did never have problems. > Lucky man? :-) > Can be the case. I was also to lazy but it is mentioned on the gambas site. So I did it now. Ron From ronstk at ...239... Sat Aug 12 23:07:16 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 12 Aug 2006 23:07:16 +0200 Subject: [Gambas-user] Tableview: Editing cells In-Reply-To: References: Message-ID: <200608122307.17024.ronstk@...239...> On Saturday 12 August 2006 21:48, Juan Jose Costello Levien wrote: > Hello Gambas people, > > I am working in a little project using Gambas. I am using Gambas 1.0.14 with > Fedora Core 5 i386. > All goes fine, until I want to edit cell data inside a TableView. Really, I > searched for an "Editable" property, to enable manual tableview editing, but > cannot figure out how to enable it. > > I believe this is stupid, but or I am tired or I am going crazy... > > Thank you for your suggestions. > > > Juan > For most controls you are setting the values to the control. TableView however is the opposite. It asks what value you want for the row and column. This is done during all moves of objects (windows) over the tableview. Public Sub StartTableView(therowscount as integer, thecolumnscount as integer) TableView1.Rows.Count = therowcount 'you need TableView1.Column.Count = thecolumncount 'you need TableView1.Refresh end PUBLIC SUB TableView1_Data(Row as Integer, Column as Integer) DIM MyValue as String ' get the value you want for the the row/column MyValue=INT(RND(100,999)) TableView1.Data = MyValue END From stefanopalmeri at ...152... Sun Aug 13 02:28:30 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Sun, 13 Aug 2006 02:28:30 +0200 Subject: [Gambas-user] how to 'which' with gambas In-Reply-To: <200608111631.52848.sourceforge-raindog2@...94...> References: <200608110148.04022.stefanopalmeri@...152...> <200608112200.07349.stefanopalmeri@...152...> <200608111631.52848.sourceforge-raindog2@...94...> Message-ID: <200608130228.30496.stefanopalmeri@...152...> Alle 22:31, venerd? 11 agosto 2006, Rob Kudla ha scritto: > On Fri August 11 2006 16:00, Stefano Palmeri wrote: > > I was talking about a function that do the same job as > > the command line "which". Anyway it is surely > > not a priority... I will continue to play with SHELL "which... > > It should be possible to write such a function pretty easily. > Here is some pseudo-code. > > function which(exename as string) as string > > dim paths as new String[] > dim path as string > dim dirresult as new String[] > > paths = Split(Application.Env["PATH"], ":") > for each path in paths > dirresult = dir(path, exename) > if dirresult.count > 0 then > return dirresult[0] > end if > next > > return "" > > end > > 'Rob > Thanks a lot for your suggestions! Regards, Stefano Palmeri > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From stefanopalmeri at ...152... Sun Aug 13 02:46:56 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Sun, 13 Aug 2006 02:46:56 +0200 Subject: [Gambas-user] Tableview: Editing cells In-Reply-To: References: Message-ID: <200608130246.57053.stefanopalmeri@...152...> Alle 21:48, sabato 12 agosto 2006, Juan Jose Costello Levien ha scritto: > Hello Gambas people, > > I am working in a little project using Gambas. I am using Gambas 1.0.14 with > Fedora Core 5 i386. > All goes fine, until I want to edit cell data inside a TableView. Really, I > searched for an "Editable" property, to enable manual tableview editing, but > cannot figure out how to enable it. > > I believe this is stupid, but or I am tired or I am going crazy... > > Thank you for your suggestions. > > > Juan > Hello, Juan. I had the same problem some time ago. Then I read this page: http://www.gambasforge.net/code.php?id=31#notes (That should be a *must* in Gambas docs!) that explains how TableView works If you don't have special need gives GridView a try. It is more comfortable... Saluti, Stefano Palmeri From stefanopalmeri at ...152... Sun Aug 13 04:08:35 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Sun, 13 Aug 2006 04:08:35 +0200 Subject: [Gambas-user] new hide event policy Message-ID: <200608130408.36036.stefanopalmeri@...152...> Hi, all. Hi, Benoit. From jclevien at ...626... Sun Aug 13 04:16:17 2006 From: jclevien at ...626... (Juan Jose Costello Levien) Date: Sat, 12 Aug 2006 23:16:17 -0300 Subject: [Gambas-user] Tableview: Editing cells In-Reply-To: <200608130246.57053.stefanopalmeri@...152...> References: <200608130246.57053.stefanopalmeri@...152...> Message-ID: Stefano, I had read this page, and yes, it was helpful for filling data from code. But what I need is to type data inside a cell (by hand), not to assign it via code. Thanks. Juan On 8/12/06, Stefano Palmeri wrote: > > Alle 21:48, sabato 12 agosto 2006, Juan Jose Costello Levien ha scritto: > > Hello Gambas people, > > > > I am working in a little project using Gambas. I am using Gambas 1.0.14with > > Fedora Core 5 i386. > > All goes fine, until I want to edit cell data inside a TableView. > Really, I > > searched for an "Editable" property, to enable manual tableview editing, > but > > cannot figure out how to enable it. > > > > I believe this is stupid, but or I am tired or I am going crazy... > > > > Thank you for your suggestions. > > > > > > Juan > > > > Hello, Juan. > > I had the same problem some time ago. Then > I read this page: > > http://www.gambasforge.net/code.php?id=31#notes > > (That should be a *must* in Gambas docs!) > > that explains how TableView works > > If you don't have special need gives > GridView a try. It is more comfortable... > > Saluti, > > Stefano Palmeri > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stefanopalmeri at ...152... Sun Aug 13 04:31:56 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Sun, 13 Aug 2006 04:31:56 +0200 Subject: [Gambas-user] Tableview: Editing cells In-Reply-To: References: <200608130246.57053.stefanopalmeri@...152...> Message-ID: <200608130431.56510.stefanopalmeri@...152...> Alle 04:16, domenica 13 agosto 2006, Juan Jose Costello Levien ha scritto: Hi, Juan. Sometime ago Charlie Reinl submitted to the list an example for editing tableview. I've attached... Hope it can helps. It's tested on Gambas 1, so it shoud be good for you Saluti, Stefano > Stefano, > > I had read this page, and yes, it was helpful for filling data from code. > But what I need is to type data inside a cell (by hand), not to assign > it via code. > > Thanks. > > > Juan > > > > On 8/12/06, Stefano Palmeri wrote: > > > > Alle 21:48, sabato 12 agosto 2006, Juan Jose Costello Levien ha scritto: > > > Hello Gambas people, > > > > > > I am working in a little project using Gambas. I am using Gambas 1.0.14with > > > Fedora Core 5 i386. > > > All goes fine, until I want to edit cell data inside a TableView. > > Really, I > > > searched for an "Editable" property, to enable manual tableview editing, > > but > > > cannot figure out how to enable it. > > > > > > I believe this is stupid, but or I am tired or I am going crazy... > > > > > > Thank you for your suggestions. > > > > > > > > > Juan > > > > > > > Hello, Juan. > > > > I had the same problem some time ago. Then > > I read this page: > > > > http://www.gambasforge.net/code.php?id=31#notes > > > > (That should be a *must* in Gambas docs!) > > > > that explains how TableView works > > > > If you don't have special need gives > > GridView a try. It is more comfortable... > > > > Saluti, > > > > Stefano Palmeri > > > > > > > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: XTableView-0.0.12.tar.gz Type: application/x-tgz Size: 30178 bytes Desc: not available URL: From stefanopalmeri at ...152... Sun Aug 13 04:35:57 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Sun, 13 Aug 2006 04:35:57 +0200 Subject: [Gambas-user] Tableview: Editing cells In-Reply-To: <200608130431.56510.stefanopalmeri@...152...> References: <200608130431.56510.stefanopalmeri@...152...> Message-ID: <200608130435.57287.stefanopalmeri@...152...> Alle 04:31, domenica 13 agosto 2006, Stefano Palmeri ha scritto: > Alle 04:16, domenica 13 agosto 2006, Juan Jose Costello Levien ha scritto: > > Hi, Juan. Sometime ago Charlie Reinl > submitted to the list an example for > editing tableview. I've attached... > Hope it can helps. > It's tested on Gambas 1, so it shoud be good for you > > Saluti, > > Stefano P.S. after you start the program, click on a cell to edit it. Ciao From timothy.marshal-nichols at ...247... Sun Aug 13 08:47:23 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Sun, 13 Aug 2006 07:47:23 +0100 Subject: [Gambas-user] Drag and Drop Bug In-Reply-To: Message-ID: > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of Timothy > Marshal-Nichols > Sent: Wednesday, 09 August 2006 07:46 > To: mailing list for gambas users > Subject: Re: [Gambas-user] Drag and Drop Bug > > > > > Thanks > > 8-{)} Timothy Marshal-Nichols > > > > > -----Original Message----- > > From: gambas-user-bounces at lists.sourceforge.net > > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of Benoit > > Minisini > > Sent: Tuesday, 08 August 2006 20:59 > > To: mailing list for gambas users > > Subject: Re: [Gambas-user] Drag and Drop Bug > > > > > > On Tuesday 08 August 2006 10:11, Timothy Marshal-Nichols wrote: > > > Hello, > > > > > > The bug seems to be back where you can not cancel a drop > event with STOP > > > EVENT. > > > > > > After setting the property Drop to TRUE you should be able to > drag items > > > onto a control. If you use STOP EVENT in the _Drag() event this should > > > cancel the _Drop() event. I have some code like this to cancel > > the _Drop() > > > event: > > > > > > IconView1_Drag() > > > IF Drag.Format <> myFormat THEN STOP EVENT > > > END > > > > > > If you put this code in the Drag event you can see it is > called. But it > > > does not stop the _Drop() event being called. This example > should always > > > cancel the Drop event. > > > > > > IconView1_Drag() > > > PRINT "Stop drag" > > > STOP EVENT > > > END > > > > > > I think there was this bug sometime in the past. And I thought > > it has been > > > fixed. Looks like it has come back. > > > > > > I am sure the bug is in these controls: > > > > > > ListView > > > IconView > > > ListBox > > > > > > Possibly others. > > > > > > I am not in that much hurry to have this bug fixed. Just > > thought you might > > > like to know and put it on your TO-DO list. > > > > > > Thanks > > > > > > 8-{)} Timothy Marshal-Nichols > > > > > > > > > > > > > This should be fixed in the next release. > > > > The behaviour will be the following: > > > > 1) If you don't implement the Drag event handler, nor the DragMove event > > handler, then the drop is rejected. > > > > Are there not a few cases where you might accept **anything** that is > dropped on a control? In this case you would only have a Drop > event. With 1) > you would have to implement a dummy Drag (or DragMove) event that did > nothing. Might it be better to say: > Alas with Gambas 1.9.38 you have forced people to have _Drag() and _DragMove() events if anything is going to dropped onto a control. I still thing there are some cases where you want to allow anything to be dropped on to a control. To force propel to have empty _Drag() and _DragMove() events to allow a drop onto a control just looks plain odd. Also this behaviour will be very confusing to new users to Drag and Drop in Gambas. > 1) If you don't implement the Drop event handler then the drop is > rejected. > > The rest looks good. > > > 2) If you implement the Drag event handler only, then the drop is > > rejected > > only if you use STOP EVENT. > > > > 3) If you implement the DragMove event handler only, then the > > drop is rejected > > only if you use STOP EVENT. The release of gambas 1.9.38 says: * BUG: Drag & Drop event management has been fixed. With Gambas version 1.9.38 options 2) and 3) do not work. Only option 4) works. So to stop a _Drop() event you need to have both a _Drag() and _DragMove() events and a STOP EVENT in both handlers. (May be the fault with 1) is related to the bug with 2) and 3).) > > > > 4) If you implement both Drag and DragMove event handlers, then > > the drop is > > rejected if you use STOP EVENT in both handlers. > > > > Regards, > > > > -- > > Benoit Minisini > > > > Thanks 8-{)} Timothy Marshal-Nichols From Karl.Reinl at ...9... Sun Aug 13 14:23:50 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 13 Aug 2006 14:23:50 +0200 Subject: [Gambas-user] Tableview: Editing cells In-Reply-To: <200608130435.57287.stefanopalmeri@...152...> References: <200608130431.56510.stefanopalmeri@...152...> <200608130435.57287.stefanopalmeri@...152...> Message-ID: <1155471831.5689.3.camel@...1496...> Am Sonntag, den 13.08.2006, 04:35 +0200 schrieb Stefano Palmeri: > Alle 04:31, domenica 13 agosto 2006, Stefano Palmeri ha scritto: > > Alle 04:16, domenica 13 agosto 2006, Juan Jose Costello Levien ha scritto: > > > > Hi, Juan. Sometime ago Charlie Reinl > > submitted to the list an example for > > editing tableview. I've attached... > > Hope it can helps. > > It's tested on Gambas 1, so it shoud be good for you > > > > Saluti, > > > > Stefano > > P.S. after you start the program, click on a cell to edit it. Salut, in gbm (gambas-database-manager) you find an example from Benoit, where you can edit the cells value inside the cell. Amicalment Charlie > > Ciao From jclevien at ...626... Sun Aug 13 15:47:05 2006 From: jclevien at ...626... (Juan Jose Costello Levien) Date: Sun, 13 Aug 2006 10:47:05 -0300 Subject: [Gambas-user] Tableview: Editing cells In-Reply-To: <1155471831.5689.3.camel@...1496...> References: <200608130431.56510.stefanopalmeri@...152...> <200608130435.57287.stefanopalmeri@...152...> <1155471831.5689.3.camel@...1496...> Message-ID: Stefano, Charlie and Ron, Thank you very much. The provided example is GREAT, just what I needed. See you at any time. Juan On 8/13/06, Charlie Reinl wrote: > > Am Sonntag, den 13.08.2006, 04:35 +0200 schrieb Stefano Palmeri: > > Alle 04:31, domenica 13 agosto 2006, Stefano Palmeri ha scritto: > > > Alle 04:16, domenica 13 agosto 2006, Juan Jose Costello Levien ha > scritto: > > > > > > Hi, Juan. Sometime ago Charlie Reinl > > > submitted to the list an example for > > > editing tableview. I've attached... > > > Hope it can helps. > > > It's tested on Gambas 1, so it shoud be good for you > > > > > > Saluti, > > > > > > Stefano > > > > P.S. after you start the program, click on a cell to edit it. > Salut, > > in gbm (gambas-database-manager) you find an example from Benoit, where > you can edit the cells value inside the cell. > > Amicalment > Charlie > > > > Ciao > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sirfabien at ...626... Sun Aug 13 16:25:10 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Sun, 13 Aug 2006 16:25:10 +0200 Subject: [Gambas-user] Picture resizing? In-Reply-To: <7259b5ae0608121208r1047a86pe10c0c194c15f1eb@...627...> References: <200608121741.23341.James.Hatridge@...17...> <7259b5ae0608121208r1047a86pe10c0c194c15f1eb@...627...> Message-ID: <200608131625.11719.sirfabien@...626...> Le Samedi 12 Ao?t 2006 21:08, Daniel Campos a ?crit?: > If you're using a PictureBox, you can use the "Stretch" property to true, > it will make the picture inside to fit with the dimensions of the box. > > Another way is to use the the Image class to process it: > > .... > Dim hImg1 as Image > Dim hImg2 as Image > > hImg1=Image.Load ("your path to the image") > > hImg2=hImg1.Stretch (newWidth, newHeight) > > PictureBox1.Picture=hImg2.Picture > .... > > Daniel > > 2006/8/12, James Hatridge : > > HI all... > > > > Ok new question! I have a picture box of about 300X400 to show my stamps. > > For > > most stamps its fine, but sometimes it shows only part of a larger stamp. > > How > > can I resize the picture (not the box) to fix inside the box? > > > > BTW thanks to everyone for their help, this is a great list. > > > > JIM > > -- more shorty : dim Img as image PictureBox = img.load(myfile).stretch(newwidth,newheight).picture otherway Picturebox = Picture[myfile].image.strech(newwidth, newhgeight).picture > > Jim Hatridge > > Linux User #88484 > > ------------------------------------------------------ > > WartHog Bulletin > > Info about new German Stamps > > http://www.fuzzybunnymilitia.org/~hatridge/bulletin/index.php > > > > Viel Feind -- Viel Ehr' > > Anti-US Propaganda stamp collection > > http://www.fuzzybunnymilitia.org/~hatridge/collection/index.php > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user From dcamposf at ...626... Sun Aug 13 17:03:07 2006 From: dcamposf at ...626... (Daniel Campos) Date: Sun, 13 Aug 2006 17:03:07 +0200 Subject: [Gambas-user] Picture resizing? In-Reply-To: <200608131625.11719.sirfabien@...626...> References: <200608121741.23341.James.Hatridge@...17...> <7259b5ae0608121208r1047a86pe10c0c194c15f1eb@...627...> <200608131625.11719.sirfabien@...626...> Message-ID: <7259b5ae0608130803t548c44e2vd567e9ce97c16e92@...627...> > > > more shorty : > dim Img as image > PictureBox = img.load(myfile).stretch(newwidth,newheight).picture You seem to be an old C coder :-))) > > Jim Hatridge > > > Linux User #88484 > > > ------------------------------------------------------ > > > WartHog Bulletin > > > Info about new German Stamps > > > http://www.fuzzybunnymilitia.org/~hatridge/bulletin/index.php > > > > > > Viel Feind -- Viel Ehr' > > > Anti-US Propaganda stamp collection > > > http://www.fuzzybunnymilitia.org/~hatridge/collection/index.php > > > > > > > ------------------------------------------------------------------------- > > > Using Tomcat but need to do more? Need to support web services, > security? > > > Get stuff done quickly with pre-integrated technology to make your job > > > easier > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > > Geronimo > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sirfabien at ...626... Sun Aug 13 16:25:10 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Sun, 13 Aug 2006 16:25:10 +0200 Subject: [Gambas-user] Picture resizing? In-Reply-To: <7259b5ae0608121208r1047a86pe10c0c194c15f1eb@...627...> References: <200608121741.23341.James.Hatridge@...17...> <7259b5ae0608121208r1047a86pe10c0c194c15f1eb@...627...> Message-ID: <200608131625.11719.sirfabien@...626...> Le Samedi 12 Ao?t 2006 21:08, Daniel Campos a ?crit?: > If you're using a PictureBox, you can use the "Stretch" property to true, > it will make the picture inside to fit with the dimensions of the box. > > Another way is to use the the Image class to process it: > > .... > Dim hImg1 as Image > Dim hImg2 as Image > > hImg1=Image.Load ("your path to the image") > > hImg2=hImg1.Stretch (newWidth, newHeight) > > PictureBox1.Picture=hImg2.Picture > .... > > Daniel > > 2006/8/12, James Hatridge : > > HI all... > > > > Ok new question! I have a picture box of about 300X400 to show my stamps. > > For > > most stamps its fine, but sometimes it shows only part of a larger stamp. > > How > > can I resize the picture (not the box) to fix inside the box? > > > > BTW thanks to everyone for their help, this is a great list. > > > > JIM > > -- more shorty : dim Img as image PictureBox = img.load(myfile).stretch(newwidth,newheight).picture otherway Picturebox = Picture[myfile].image.strech(newwidth, newhgeight).picture > > Jim Hatridge > > Linux User #88484 > > ------------------------------------------------------ > > WartHog Bulletin > > Info about new German Stamps > > http://www.fuzzybunnymilitia.org/~hatridge/bulletin/index.php > > > > Viel Feind -- Viel Ehr' > > Anti-US Propaganda stamp collection > > http://www.fuzzybunnymilitia.org/~hatridge/collection/index.php > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Sun Aug 13 17:10:27 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 13 Aug 2006 17:10:27 +0200 Subject: [Gambas-user] Picture resizing? In-Reply-To: <7259b5ae0608130803t548c44e2vd567e9ce97c16e92@...627...> References: <200608121741.23341.James.Hatridge@...17...> <200608131625.11719.sirfabien@...626...> <7259b5ae0608130803t548c44e2vd567e9ce97c16e92@...627...> Message-ID: <200608131710.28256.ronstk@...239...> On Sunday 13 August 2006 17:03, Daniel Campos wrote: > > more shorty : > > dim Img as image > > PictureBox = img.load(myfile).stretch(newwidth,newheight).picture > > > > > You seem to be an old C coder :-))) > ??? Explain Ron From sirfabien at ...626... Sun Aug 13 16:25:10 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Sun, 13 Aug 2006 16:25:10 +0200 Subject: [Gambas-user] Picture resizing? In-Reply-To: <7259b5ae0608121208r1047a86pe10c0c194c15f1eb@...627...> References: <200608121741.23341.James.Hatridge@...17...> <7259b5ae0608121208r1047a86pe10c0c194c15f1eb@...627...> Message-ID: <200608131625.11719.sirfabien@...626...> Le Samedi 12 Ao?t 2006 21:08, Daniel Campos a ?crit?: > If you're using a PictureBox, you can use the "Stretch" property to true, > it will make the picture inside to fit with the dimensions of the box. > > Another way is to use the the Image class to process it: > > .... > Dim hImg1 as Image > Dim hImg2 as Image > > hImg1=Image.Load ("your path to the image") > > hImg2=hImg1.Stretch (newWidth, newHeight) > > PictureBox1.Picture=hImg2.Picture > .... > > Daniel > > 2006/8/12, James Hatridge : > > HI all... > > > > Ok new question! I have a picture box of about 300X400 to show my stamps. > > For > > most stamps its fine, but sometimes it shows only part of a larger stamp. > > How > > can I resize the picture (not the box) to fix inside the box? > > > > BTW thanks to everyone for their help, this is a great list. > > > > JIM > > -- more shorty : dim Img as image PictureBox = img.load(myfile).stretch(newwidth,newheight).picture otherway Picturebox = Picture[myfile].image.strech(newwidth, newhgeight).picture > > Jim Hatridge > > Linux User #88484 > > ------------------------------------------------------ > > WartHog Bulletin > > Info about new German Stamps > > http://www.fuzzybunnymilitia.org/~hatridge/bulletin/index.php > > > > Viel Feind -- Viel Ehr' > > Anti-US Propaganda stamp collection > > http://www.fuzzybunnymilitia.org/~hatridge/collection/index.php > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user From dcamposf at ...626... Sun Aug 13 17:51:12 2006 From: dcamposf at ...626... (Daniel Campos) Date: Sun, 13 Aug 2006 17:51:12 +0200 Subject: [Gambas-user] Picture resizing? In-Reply-To: <200608131710.28256.ronstk@...239...> References: <200608121741.23341.James.Hatridge@...17...> <200608131625.11719.sirfabien@...626...> <7259b5ae0608130803t548c44e2vd567e9ce97c16e92@...627...> <200608131710.28256.ronstk@...239...> Message-ID: <7259b5ae0608130851r3351ec68p74ed7dce0e4a6d5d@...627...> > > > Explain In C or C++ you can concatenate a lot of words in a line, specially when using casts, structs and pointers: ((AnotherThig*)((MyStruct*)myptr)->doanything().getData()->reverse)->getNumber() Ron > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From James.Hatridge at ...17... Sun Aug 13 17:03:04 2006 From: James.Hatridge at ...17... (James Hatridge) Date: Sun, 13 Aug 2006 17:03:04 +0200 Subject: [Gambas-user] Picture resizing? In-Reply-To: <7259b5ae0608121208r1047a86pe10c0c194c15f1eb@...627...> References: <200608121741.23341.James.Hatridge@...17...> <7259b5ae0608121208r1047a86pe10c0c194c15f1eb@...627...> Message-ID: <200608131703.04488.James.Hatridge@...17...> HI Daniel et al.. On Saturday 12 August 2006 21:08, Daniel Campos wrote: > If you're using a PictureBox, you can use the "Stretch" property to true, > it will make the picture inside to fit with the dimensions of the box. > > Another way is to use the the Image class to process it: > > .... > Dim hImg1 as Image > Dim hImg2 as Image > > hImg1=Image.Load ("your path to the image") > > hImg2=hImg1.Stretch (newWidth, newHeight) > > PictureBox1.Picture=hImg2.Picture > .... > > Daniel > > 2006/8/12, James Hatridge : > > HI all... > > > > Ok new question! I have a picture box of about 300X400 to show my stamps. > > For > > most stamps its fine, but sometimes it shows only part of a larger stamp. > > How > > can I resize the picture (not the box) to fix inside the box? > > > > BTW thanks to everyone for their help, this is a great list. OK, I got it working! Here is the code I used: ###################### DIM hPicture AS Picture PicName = rs!Picture IF IsNull(PicName) THEN PicName = "/home/hatridge/.Kstamp/Data/Pictures/default.jpg" ELSE PicName = "/home/hatridge/.Kstamp/Data/Pictures/" & PicName ENDIF hPicture = Picture[PicName] IF hPicture.Height > 266 THEN PictureBox1.Stretch = TRUE PictureBox1.Picture = Picture[PicName] ELSE PictureBox1.Stretch = FALSE PictureBox1.Picture = Picture[PicName] ENDIF ##################### The problem I had was that the field "rs!Picture" could be blank, have a small picture, or a large picture. The "Stretch" command made the large picture fit inside the picturebox. But it blow up the small pictures and looked bad. The next problem was that when "rs!Picture" was blank hPicture.Height killed the program with a NULL value error. So I fixed it so when "rs!Picture" was blank it took a default picture. That cured the NULL value error, next I checked the height of the picture, if it was too big for the box I turned on Stretch. What do you guys think? Thanks, JIM -- Jim Hatridge Linux User #88484 ------------------------------------------------------ WartHog Bulletin Info about new German Stamps http://www.fuzzybunnymilitia.org/~hatridge/bulletin/index.php Viel Feind -- Viel Ehr' Anti-US Propaganda stamp collection http://www.fuzzybunnymilitia.org/~hatridge/collection/index.php From sirfabien at ...626... Sun Aug 13 22:18:08 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Sun, 13 Aug 2006 22:18:08 +0200 Subject: [Gambas-user] Picture resizing? In-Reply-To: <7259b5ae0608130803t548c44e2vd567e9ce97c16e92@...627...> References: <200608121741.23341.James.Hatridge@...17...> <200608131625.11719.sirfabien@...626...> <7259b5ae0608130803t548c44e2vd567e9ce97c16e92@...627...> Message-ID: <200608132218.08576.sirfabien@...626...> Le Dimanche 13 Ao?t 2006 17:03, Daniel Campos a ?crit?: > > more shorty : > > dim Img as image > > PictureBox = img.load(myfile).stretch(newwidth,newheight).picture > > You seem to be an old C coder :-))) > hum .. not really, i'm more a vb/perl/php coder. I've discover C no really many time before gambas. But yes i like shortcut it's sometime more simple read in the case we not use too many process in one line. From jclevien at ...626... Mon Aug 14 03:10:19 2006 From: jclevien at ...626... (Juan Jose Costello Levien) Date: Sun, 13 Aug 2006 22:10:19 -0300 Subject: [Gambas-user] Using static .a libraries Message-ID: Hello, Just a thought: is possible to load a static library inside Gambas and treat it like a component? I am thinking about doing something with the LibVNCServer project. I contributed sometime ago to it, because it is cool, I think. But would be GREAT to have a VNC Viewer/Server component for Gambas. Just imagine: you build a program with Gambas and remote control capabilities. You can export it to a VNC framebuffer which can be seen by any viewer inside other machine. Does anyone is involucrated in the job? I can build LibVNCServer and it produces an .a library. It would be good to import it inside Gambas as a cool starting point. I will hear your opinions and suggestions. As usual, thank you for doing so cool program. Juan -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Mon Aug 14 05:24:03 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 13 Aug 2006 23:24:03 -0400 Subject: [Gambas-user] Using static .a libraries In-Reply-To: References: Message-ID: <200608132324.04147.sourceforge-raindog2@...94...> On Sun August 13 2006 21:10, Juan Jose Costello Levien wrote: > Just a thought: is possible to load a static library inside > Gambas and treat it like a component? I don't know if you can load .a files, but you can build a libvncserver.so and call its functions using Gambas' external function declaration functionality. But I've already done this in the past using gb.qt and plain old vncserver and a minimal window manager. Rob From brian at ...1334... Mon Aug 14 12:00:27 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 14 Aug 2006 03:00:27 -0700 (PDT) Subject: [Gambas-user] (no subject) Message-ID: <20060814030018.A24281@...1337...> Is anyone here stil home? .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From wdahn at ...1000... Mon Aug 14 12:08:56 2006 From: wdahn at ...1000... (Werner) Date: Mon, 14 Aug 2006 18:08:56 +0800 Subject: [Gambas-user] (no subject) In-Reply-To: <20060814030018.A24281@...1337...> References: <20060814030018.A24281@...1337...> Message-ID: <44E04BB8.7030705@...1000...> Christopher Brian Jack wrote: > Is anyone here stil home? > Why yes, of course! You should have knocked :-) > .=================================================. > | Christopher BRIAN Jack aka "Gau of the Veldt" | > +=================================================' > | brian _AT_ brians-anime _DOT_ com > `=================================================- > > From brian at ...1334... Mon Aug 14 12:55:10 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 14 Aug 2006 03:55:10 -0700 (PDT) Subject: [Gambas-user] List status Message-ID: <20060814035457.F25248@...1337...> Is this list working still? .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From brian at ...1334... Mon Aug 14 12:56:39 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 14 Aug 2006 03:56:39 -0700 (PDT) Subject: [Gambas-user] List status (fwd) Message-ID: <20060814035636.E25309@...1337...> .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... ---------- Forwarded message ---------- Date: Mon, 14 Aug 2006 03:55:10 -0700 (PDT) From: Christopher Brian Jack To: Gambas-Users List Subject: List status Is this list working still? .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From brian at ...1334... Mon Aug 14 13:04:45 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 14 Aug 2006 04:04:45 -0700 (PDT) Subject: [Gambas-user] hello? Message-ID: <20060814040422.L25356@...1337...> the lists has been apparently dead for a few days now anyone still alive? .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From brian at ...1334... Mon Aug 14 13:23:48 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 14 Aug 2006 04:23:48 -0700 (PDT) Subject: [Gambas-user] hello? (fwd) Message-ID: <20060814042313.W25575@...1337...> had mail trouble recently... checking things out. .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... ---------- Forwarded message ---------- Date: Mon, 14 Aug 2006 04:04:45 -0700 (PDT) From: Christopher Brian Jack To: Gambas-Users List Subject: hello? the lists has been apparently dead for a few days now anyone still alive? .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From brian at ...1334... Mon Aug 14 13:34:32 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 14 Aug 2006 04:34:32 -0700 (PDT) Subject: [Gambas-user] Gambas on debian Message-ID: <20060814043332.X25686@...1337...> What is the latest instllable Gambas release appliable to debian environments and what is the repository address. The linex.org one has been failing in synaptic for some time now. .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From gambas.fr at ...626... Mon Aug 14 14:31:28 2006 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 14 Aug 2006 14:31:28 +0200 Subject: [Gambas-user] List status (fwd) In-Reply-To: <20060814035636.E25309@...1337...> References: <20060814035636.E25309@...1337...> Message-ID: <6324a42a0608140531j592c5f2dn334e0f3fc1ec312a@...627...> yes it does -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at ...626... Mon Aug 14 14:43:58 2006 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 14 Aug 2006 14:43:58 +0200 Subject: [Gambas-user] Gambas on debian In-Reply-To: <20060814043332.X25686@...1337...> References: <20060814043332.X25686@...1337...> Message-ID: <6324a42a0608140543h745e537ap15ab2136de043eda@...627...> 2006/8/14, Christopher Brian Jack : > > > What is the latest instllable Gambas release appliable to debian > environments and what is the repository address. The linex.org one has > been failing in synaptic for some time now. Try without synaptic... http://apt.linex.org/linex/gambas/1.9.38/ regards, Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at ...1334... Mon Aug 14 15:45:43 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 14 Aug 2006 06:45:43 -0700 (PDT) Subject: [Gambas-user] List status (fwd) In-Reply-To: <6324a42a0608140531j592c5f2dn334e0f3fc1ec312a@...627...> References: <20060814035636.E25309@...1337...> <6324a42a0608140531j592c5f2dn334e0f3fc1ec312a@...627...> Message-ID: <20060814063224.D26201@...1337...> On Mon, 14 Aug 2006, Fabien Bodard wrote: > Date: Mon, 14 Aug 2006 14:31:28 +0200 > From: Fabien Bodard > Reply-To: mailing list for gambas users > > To: mailing list for gambas users > Subject: Re: [Gambas-user] List status (fwd) > > yes it does I think at some point while blackilsting 30+ spams from my inbox I inadvertently ended up getting a gambas list mail mixed up in the blacklist while forwarding each individual spam to the black box. Spam seems to be using a new relay technique now too: falsify origination headers and send to a server they know will bounce the message. The bounce goes to the falsified location (the intended spam recipient) and the server figures it's quelched a spam when in reality it just relayed one via the "bounce". I can recognize this when I get servers my mail server is not configured to talk to for outbound mail (all other outbound port 25 access, except to my ISP upstream smtp superhost, is blocked at my router for the entire network behind the router--and then only one machine is allowed to make outbound SMTP to the superhost server). This pretty much guarantees me any bounces that aren't identified as from my ISP's superhost are effectively, themselves, spam. .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From buxaman at ...626... Mon Aug 14 15:54:00 2006 From: buxaman at ...626... (Fabricio Silva) Date: Mon, 14 Aug 2006 10:54:00 -0300 Subject: [Gambas-user] Table doens't exist while saving data Message-ID: *I'm trying to save data using class file instead of module. So I have declared into the class global* STATIC PUBLIC db AS NEW Connection PUBLIC CONST dbname AS String = "geral" PUBLIC CONST host AS String = "localhost" PUBLIC CONST passw AS String = "teste" PUBLIC CONST login AS String = "root" *and the procedure to conect:* STATIC PUBLIC FUNCTION conexao() AS Boolean db.close db.Type = "mysql" db.Host = host db.Login = login db.Password = passw db.Name = dbname db.Open RETURN TRUE CATCH RETURN FALSE END *Then I used the code:* PUBLIC global AS FrmPrincipal PUBLIC SUB Form_Open() ME.center global = NEW FrmPrincipal END *And Finally to save the data:* PUBLIC SUB btnsol_Click() DIM db1 AS NEW Connection DIM dbname AS String DIM htable AS Result DIM comsql AS String SELECT CASE LAST.tag CASE 1 db1.Close dbname = "geral" db1.Type = "mysql" db1.Host = "localhost" db1.Login = "root" db1.Password = "teste" db1.Open db1.Begin global.rs = db1.Exec("insert into `teste` values (&1)", txtteste) .... *And the error: Table mysql.teste doens't exit* The table exist and I recreated it to make sure it's not wrong spelling. Someone have an ideal of what I am forgeting? Must be something like telling gambas wich table must I use? tks Fabricio -------------- next part -------------- An HTML attachment was scrubbed... URL: From leonardo at ...1237... Mon Aug 14 16:23:09 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Mon, 14 Aug 2006 16:23:09 +0200 Subject: [Gambas-user] Static class?!? Message-ID: <44E0874D.9090502@...1237...> Is it me or is it a Gambas 1.9.38 bug? I cannot create a dynamic class... I add a new class to a project and choose the Constructor option. But when I declare the new class in a form with NEW Gambas tells me that the class is static... but in my class code there is the sub _new()... -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From sbungay at ...981... Mon Aug 14 17:27:51 2006 From: sbungay at ...981... (sbungay) Date: Mon, 14 Aug 2006 11:27:51 -0400 Subject: [Gambas-user] V 1.9.37 editor trouble... Message-ID: <44E09677.5000607@...981...> I was cutting and pasting text within the editor when it appears to have lost its' mind and decided that it would stay in highlight mode (text selection?) mode. Now anywhere I click on the screen the editor selects the block of text, which means anything I type replaces the highlighted block (not good). I tried closing down gambas and restarting, reopened the project, scrolled down a few hundred lines and clicked the left button.. a huge block of text was selected. Anybody else ever run into this? I have been searching through emails and haven't found an example (yet). Steve :) From sbungay at ...981... Mon Aug 14 17:47:16 2006 From: sbungay at ...981... (sbungay) Date: Mon, 14 Aug 2006 11:47:16 -0400 Subject: [Gambas-user] V 1.9.37 editor trouble... In-Reply-To: <44E09677.5000607@...981...> References: <44E09677.5000607@...981...> Message-ID: <44E09B04.5080207@...981...> Seems to have been a glitch with FC5. Noticed that when the CapsLock key functionality was reversed (when engaged it produced lower case and vice-versa). Anyway.. a system restart cured the problem... something I would expect of Windoze not Linux, but I just upgraded the kernel yesterday... perhaps the problem got introduced with the new kernel. Steve (once more happily coding away) :) sbungay wrote: > I was cutting and pasting text within the editor when it appears to > have lost its' mind and decided that it would stay in highlight mode > (text selection?) mode. Now anywhere I click on the screen the editor > selects the block of text, which means anything I type replaces the > highlighted block (not good). > I tried closing down gambas and restarting, reopened the project, > scrolled down a few hundred lines and clicked the left button.. a huge > block of text was selected. Anybody else ever run into this? I have been > searching through emails and haven't found an example (yet). > > Steve :) > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From brian at ...1334... Mon Aug 14 17:12:19 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 14 Aug 2006 08:12:19 -0700 (PDT) Subject: [Gambas-user] List status (fwd) In-Reply-To: <20060814063224.D26201@...1337...> References: <20060814035636.E25309@...1337...> <6324a42a0608140531j592c5f2dn334e0f3fc1ec312a@...627...> <20060814063224.D26201@...1337...> Message-ID: <20060814075755.B29324@...1337...> On Mon, 14 Aug 2006, Christopher Brian Jack wrote: This is off topic but on the topic of spam have any brave souls found a way to make a DB-driven ipchain setup? It's not easily done to make a sendmail rejected-servers list to also act as stealthed-port 25 rules in any ipfw rule file that I know of. I frequently get DOS attempts by spam scripts that run scripts that try to attack my machine with 1000+ rejected mail server exchanges at one time (and such poorly written code rarely checks for failed results and to take them off the send list - if I stealthed it then their systems would be waiting minutes-per-attempt and would most likely exhaust available outbound connections thus not being able to spam anyone else while waiting for timeouts). PS: the rule file allows for 65k or so entries. My *local* blacklist (let alone sorbs or spamhaus) is getting sizeable itself. Are there other approaches to this problem? Considerable bandwidth goes to talking to spammers even if it is to refusse any attempt by their IP number to send mail to my server. I'm sure I'm not the only one that has this problem as a renter of email and http/htps/db services for people needing an affordable internet "pad" where they can build a site. > Date: Mon, 14 Aug 2006 06:45:43 -0700 (PDT) > From: Christopher Brian Jack > To: mailing list for gambas users > Subject: Re: [Gambas-user] List status (fwd) > > I think at some point while blackilsting 30+ spams from my inbox I > inadvertently ended up getting a gambas list mail mixed up in the > blacklist while forwarding each individual spam to the black box. > > Spam seems to be using a new relay technique now too: falsify origination > headers and send to a server they know will bounce the message. The > bounce goes to the falsified location (the intended spam recipient) and > the server figures it's quelched a spam when in reality it just relayed > one via the "bounce". I can recognize this when I get servers my mail > server is not configured to talk to for outbound mail (all other outbound > port 25 access, except to my ISP upstream smtp superhost, is blocked at my > router for the entire network behind the router--and then only one machine > is allowed to make outbound SMTP to the superhost server). > > This pretty much guarantees me any bounces that aren't identified as from > my ISP's superhost are effectively, themselves, spam. > > .=================================================. > | Christopher BRIAN Jack aka "Gau of the Veldt" | > +=================================================' > | brian _AT_ brians-anime _DOT_ com > `=================================================- > Hi Spambots, my email address is sputnik at ...1334... > .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From ronstk at ...239... Mon Aug 14 17:27:54 2006 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 14 Aug 2006 17:27:54 +0200 Subject: [Gambas-user] Table doens't exist while saving data In-Reply-To: References: Message-ID: <200608141727.55211.ronstk@...239...> On Monday 14 August 2006 15:54, Fabricio Silva wrote: > *I'm trying to save data using class file instead of module. > So I have declared into the class global* > What are you are tell exactly here? > STATIC PUBLIC db AS NEW Connection > PUBLIC CONST dbname AS String = "geral" > PUBLIC CONST host AS String = "localhost" > PUBLIC CONST passw AS String = "teste" > PUBLIC CONST login AS String = "root" > > *and the procedure to conect:* > > STATIC PUBLIC FUNCTION conexao() AS Boolean > db.close > db.Type = "mysql" > db.Host = host > db.Login = login > db.Password = passw > db.Name = dbname > db.Open > > RETURN TRUE > CATCH > RETURN FALSE > > END > Is the following also in that class* file? Do specify clearly what you have, that is more easy for others but special for you. How many times I did this and solved many times the problem by doing that. I can't count. Still I fail sometimes to do it myself correct :( > *Then I used the code:* > > PUBLIC global AS FrmPrincipal Local variable global > > PUBLIC SUB Form_Open() > ME.center > global = NEW FrmPrincipal Hmm setting a global variable named 'global' with a Form > END > > *And Finally to save the data:* > > PUBLIC SUB btnsol_Click() > DIM db1 AS NEW Connection > DIM dbname AS String > DIM htable AS Result > DIM comsql AS String > > SELECT CASE LAST.tag > CASE 1 > db1.Close > dbname = "geral" > db1.Type = "mysql" > db1.Host = "localhost" > db1.Login = "root" > db1.Password = "teste" > db1.Open > db1.Begin > global.rs = db1.Exec("insert into `teste` values (&1)", txtteste) Global is a form. Where is .rs comming from? Second in db1 here there is no database selected (db1.name="pipo") So no tables can accessed :) > .... > > *And the error: Table mysql.teste doens't exit* That is true. See above > > The table exist and I recreated it to make sure it's not wrong spelling. > Someone have an ideal of what I am forgeting? Must be something like telling > gambas wich table must I use? > > tks > > Fabricio > Normal the logic is you assign in you form code. dim MyDB as Global dim rs as Result MyDB = new global() if MyDB.conexao() then rs = MyDB.Exec("insert into `teste` values (&1)", txtteste) else Print "Fabricio: panic" endif You can find sample code parts in the help on the help site. Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From ronstk at ...239... Mon Aug 14 17:30:44 2006 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 14 Aug 2006 17:30:44 +0200 Subject: [Gambas-user] Static class?!? In-Reply-To: <44E0874D.9090502@...1237...> References: <44E0874D.9090502@...1237...> Message-ID: <200608141730.44461.ronstk@...239...> On Monday 14 August 2006 16:23, Leonardo Miliani wrote: > Is it me or is it a Gambas 1.9.38 bug? > I cannot create a dynamic class... > I add a new class to a project and choose the Constructor option. But > when I declare the new class in a form with NEW Gambas tells me that the > class is static... but in my class code there is the sub _new()... > > Providing the head of your class explains more to find the problem. -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From ronstk at ...239... Mon Aug 14 17:40:33 2006 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 14 Aug 2006 17:40:33 +0200 Subject: [Gambas-user] V 1.9.37 editor trouble... In-Reply-To: <44E09B04.5080207@...981...> References: <44E09677.5000607@...981...> <44E09B04.5080207@...981...> Message-ID: <200608141740.33644.ronstk@...239...> On Monday 14 August 2006 17:47, sbungay wrote: > Seems to have been a glitch with FC5. > Noticed that when the CapsLock key functionality was reversed (when > engaged it produced lower case and vice-versa). Anyway.. a system > restart cured the problem... something I would expect of Windoze not > Linux, but I just upgraded the kernel yesterday... perhaps the problem > got introduced with the new kernel. > > Steve (once more happily coding away) :) > > sbungay wrote: > > I was cutting and pasting text within the editor when it appears to > > have lost its' mind and decided that it would stay in highlight mode > > (text selection?) mode. Now anywhere I click on the screen the editor > > selects the block of text, which means anything I type replaces the > > highlighted block (not good). > > I tried closing down gambas and restarting, reopened the project, > > scrolled down a few hundred lines and clicked the left button.. a huge > > block of text was selected. Anybody else ever run into this? I have been > > searching through emails and haven't found an example (yet). > > > > Steve :) > > I was just reading you message. Yes that strange behaviour I found also. SuSE9.2 For some reason the cut/past clipboard in the editor does not work always 100% correct. At my workplace I have the same SuSE installed as at home. Only the hardware is different. The problem is for me as I can see a bit hardware dependend. At home it occurs also but less frequently. Good for you it look to be solved. I'm not 100% convinced it is. PS The mark/cut/paste problems started for me after change from gb.qt.GambasEditor to gb.qt.Ext.Editor (.29 / .30) And it looks be less after .33 and up. Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From ronstk at ...239... Mon Aug 14 17:51:00 2006 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 14 Aug 2006 17:51:00 +0200 Subject: [Gambas-user] List status (fwd) In-Reply-To: <20060814075755.B29324@...1337...> References: <20060814035636.E25309@...1337...> <20060814063224.D26201@...1337...> <20060814075755.B29324@...1337...> Message-ID: <200608141751.00312.ronstk@...239...> On Monday 14 August 2006 17:12, Christopher Brian Jack wrote: > On Mon, 14 Aug 2006, Christopher Brian Jack wrote: > > This is off topic but on the topic of spam have any brave souls found a > way to make a DB-driven ipchain setup? It's not easily done to make a > sendmail rejected-servers list to also act as stealthed-port 25 rules in > any ipfw rule file that I know of. I frequently get DOS attempts by spam > scripts that run scripts that try to attack my machine with 1000+ rejected > mail server exchanges at one time (and such poorly written code rarely > checks for failed results and to take them off the send list - if I > stealthed it then their systems would be waiting minutes-per-attempt and > would most likely exhaust available outbound connections thus not being > able to spam anyone else while waiting for timeouts). > > PS: the rule file allows for 65k or so entries. My *local* blacklist (let > alone sorbs or spamhaus) is getting sizeable itself. > > Are there other approaches to this problem? Considerable bandwidth goes > to talking to spammers even if it is to refusse any attempt by their IP > number to send mail to my server. > > I'm sure I'm not the only one that has this problem as a renter of email > and http/htps/db services for people needing an affordable internet "pad" > where they can build a site. > ---8<---- > > .=================================================. > > | Christopher BRIAN Jack aka "Gau of the Veldt" | > > +=================================================' > > | brian _AT_ brians-anime _DOT_ com > > `=================================================- > > Hi Spambots, my email address is sputnik at ...1334... Removing this can help ??? :) :) > > > > .=================================================. > | Christopher BRIAN Jack aka "Gau of the Veldt" | > +=================================================' > | brian _AT_ brians-anime _DOT_ com > `=================================================- > Hi Spambots, my email address is sputnik at ...1334... > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > May be forward request to there ISP using your box as router and fake that your IP is on the ISP box of the spammer. Using Cisco router between WAN/LAN I had on loan :) I did it for my network once and was asked what was happening. They aborted the spammer from there network :) Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From jscops at ...11... Mon Aug 14 19:14:33 2006 From: jscops at ...11... (Jacky) Date: Mon, 14 Aug 2006 19:14:33 +0200 Subject: [Gambas-user] Signal 11 Message-ID: <200608141914.33743.jscops@...11...> Bonjour Benoit, I think to have found ! This is the "Quit" instruction who generate the Signal 11. This work fine in 1.0.16 and 1.9.26 but no longer in 1.9.35. Amicalement. Jack. From timothy.marshal-nichols at ...247... Mon Aug 14 19:56:14 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Mon, 14 Aug 2006 18:56:14 +0100 Subject: [Gambas-user] Static class?!? In-Reply-To: <44E0874D.9090502@...1237...> Message-ID: > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of Leonardo > Miliani > Sent: Monday, 14 August 2006 15:23 > To: mailing list for gambas users > Subject: [Gambas-user] Static class?!? > > > Is it me or is it a Gambas 1.9.38 bug? > I cannot create a dynamic class... > I add a new class to a project and choose the Constructor option. But > when I declare the new class in a form with NEW Gambas tells me that the > class is static... but in my class code there is the sub _new()... > > > -- > Ciao. > Leo > > Visita il mio sito personale: www.leonardomiliani.com > e-mail: leonardo at ...1237... > If there are no none static variable then you get this message when you NEW a class. Gambas forces you to treat it as a STATIC class. Add this: PRIVATE sillyTohaveToAddThis AS Integer to your class and it will work. On another thread Benoit seems to like this behaviour. But, as you can see, it leads to problems. What do others think? Thanks 8-{)} Timothy Marshal-Nichols From leonardo at ...1237... Mon Aug 14 21:30:19 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Mon, 14 Aug 2006 21:30:19 +0200 Subject: [Gambas-user] Static class?!? In-Reply-To: <200608141730.44461.ronstk@...239...> References: <44E0874D.9090502@...1237...> <200608141730.44461.ronstk@...239...> Message-ID: <44E0CF4B.5060203@...1237...> Ron Onstenk ha scritto: > On Monday 14 August 2006 16:23, Leonardo Miliani wrote: >> Is it me or is it a Gambas 1.9.38 bug? >> I cannot create a dynamic class... >> I add a new class to a project and choose the Constructor option. But >> when I declare the new class in a form with NEW Gambas tells me that the >> class is static... but in my class code there is the sub _new()... >> >> > > Providing the head of your class explains more to find the problem. > > > Try this: 1) create a new project, i.e. Test 2) create a new class, i.e. Class1, and select the Constructor checkbox 3) the Class1 class must be as follow: PUBLIC SUB _new() END PUBLIC FUNCTION Sum(a AS Integer, b AS Integer) AS Integer DIM aa AS Integer aa = a + b RETURN aa END 4) in Form1 form add a button named Button1 5) now the Form1 form must be as follow: PRIVATE csum AS NEW clsSum PUBLIC SUB Form_Open() END PUBLIC SUB Button1_Click() DIM csum AS NEW clsSum DIM a, b AS Integer a = csum.Somma(2, 3) END 6) execute it I get this error: Class 'clsSum' is Static It's strange.... Am I wrong or is Gambas wrong? -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From leonardo at ...1237... Mon Aug 14 21:33:07 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Mon, 14 Aug 2006 21:33:07 +0200 Subject: [Gambas-user] Static class?!? In-Reply-To: <44E0CF4B.5060203@...1237...> References: <44E0874D.9090502@...1237...> <200608141730.44461.ronstk@...239...> <44E0CF4B.5060203@...1237...> Message-ID: <44E0CFF3.8090105@...1237...> Leonardo Miliani ha scritto: > > a = csum.Somma(2, 3) a=csum.sum(2,3) Sorry... -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From leonardo at ...1237... Mon Aug 14 21:36:00 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Mon, 14 Aug 2006 21:36:00 +0200 Subject: [Gambas-user] Static class?!? In-Reply-To: References: Message-ID: <44E0D0A0.2030709@...1237...> Timothy Marshal-Nichols ha scritto: > If there are no none static variable then you get this message when you NEW > a class. Gambas forces you to treat it as a STATIC class. > What do others think? > > Thanks I think that it is much easier to work with classes if I don't have to specify nothing.. But I could also work with classes in the way Benoit wants to: just let me know ;-) In the Gambas documentation there is no word about this way of working. -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From brian at ...1334... Mon Aug 14 22:24:29 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 14 Aug 2006 13:24:29 -0700 (PDT) Subject: [Gambas-user] List status (fwd) In-Reply-To: <200608141751.00312.ronstk@...239...> References: <20060814035636.E25309@...1337...> <20060814063224.D26201@...1337...> <20060814075755.B29324@...1337...> <200608141751.00312.ronstk@...239...> Message-ID: <20060814125526.C30733@...1337...> On Mon, 14 Aug 2006, Ron Onstenk wrote: > > > .=================================================. > > > | Christopher BRIAN Jack aka "Gau of the Veldt" | > > > +=================================================' > > > | [snip] > > > `=================================================- > > > Hi Spambots, my email address is sputnik at ...1334... > > Removing this can help ??? :) :) insufficient obfuscation? maybe I'll cipher it (the real email) and put the decrypt key in the sig along with it - that'll stop things until spam harvesters get smart enough to decode encrypted email addresses the plaintext link is an autoblacklist address (runs a script) and I'll never get an email from them again since it automatically updates the email access file which is reloaded when cron periodically SIGHUP's my MTA I could probably juryrig a shellscript to turn the contents of the combined email access 55x rules (denied from delivering mail) into a ipfw rule table if I had to. The goal is that the blacklist IPs end up stealth blocked (no ACKs as in "no server here") from port 25. I could run it on the same cronjob that SIGHUPs the MTA (mind you if ipfw'ing there'd be no need to sighup the MTA since the MTA would no longer get connects from blacklist IPs) > May be forward request to there ISP using your box as router > and fake that your IP is on the ISP box of the spammer. > Using Cisco router between WAN/LAN I had on loan :) > > I did it for my network once and was asked what was happening. > They aborted the spammer from there network :) > Ron Perhaps the below will stop the bots for a while??? .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | oevna at ...1543... `=================================================- Hi Spambots, my email address is sputnik at ...1334... Hi Humans, my email address uses rot13 cipher From ronstk at ...239... Mon Aug 14 23:12:52 2006 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 14 Aug 2006 23:12:52 +0200 Subject: [Gambas-user] List status (fwd) In-Reply-To: <20060814125526.C30733@...1337...> References: <20060814035636.E25309@...1337...> <200608141751.00312.ronstk@...239...> <20060814125526.C30733@...1337...> Message-ID: <200608142312.52296.ronstk@...239...> On Monday 14 August 2006 22:24, Christopher Brian Jack wrote: > .=================================================. > | ?Christopher BRIAN Jack aka "Gau of the Veldt" ?| > +=================================================' > | oevna at ...1543... > `=================================================- > Hi Spambots, my email address is sputnik at ...1334... > Hi Humans, my email address uses rot13 cipher > > - LOL :) -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From sourceforge-raindog2 at ...94... Mon Aug 14 23:31:44 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Mon, 14 Aug 2006 17:31:44 -0400 Subject: [Gambas-user] List status (fwd) In-Reply-To: <20060814125526.C30733@...1337...> References: <20060814035636.E25309@...1337...> <200608141751.00312.ronstk@...239...> <20060814125526.C30733@...1337...> Message-ID: <200608141731.45573.sourceforge-raindog2@...94...> On Mon August 14 2006 16:24, Christopher Brian Jack wrote: > the plaintext link is an autoblacklist address (runs a script) > and I'll never get an email from them again since it > automatically updates the email access file which is reloaded > when cron periodically SIGHUP's my MTA Wow, dude, I was ecstatic this past weekend when I found a way to reduce my number of spams per day from about 30,000 to about 1,100 (add all 300+ addresses in active use on my domain name to my virtual file and turn off wildcards). I can't imagine putting that level of effort into keeping spam out of my mailbox.... I only turned off wildcards because I found Spamassassin was running my CPU at 100% for minutes at a time whenever mail came in. Sorry to continue an off-topic thread, but.... how's that working out for you? Rob From brian at ...1334... Tue Aug 15 00:04:22 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 14 Aug 2006 15:04:22 -0700 (PDT) Subject: [Gambas-user] List status (fwd) In-Reply-To: <200608141731.45573.sourceforge-raindog2@...94...> References: <20060814035636.E25309@...1337...> <200608141751.00312.ronstk@...239...> <20060814125526.C30733@...1337...> <200608141731.45573.sourceforge-raindog2@...94...> Message-ID: <20060814143728.L31195@...1337...> On Mon, 14 Aug 2006, Rob Kudla wrote: > On Mon August 14 2006 16:24, Christopher Brian Jack wrote: > > the plaintext link is an autoblacklist address (runs a script) > > and I'll never get an email from them again since it > > automatically updates the email access file which is reloaded > > when cron periodically SIGHUP's my MTA > > Wow, dude, I was ecstatic this past weekend when I found a way to > reduce my number of spams per day from about 30,000 to about > 1,100 (add all 300+ addresses in active use on my domain name to > my virtual file and turn off wildcards). I can't imagine > putting that level of effort into keeping spam out of my > mailbox.... I only turned off wildcards because I found > Spamassassin was running my CPU at 100% for minutes at a time > whenever mail came in. > > Sorry to continue an off-topic thread, but.... how's that working > out for you? > > Rob I got this idea when I was reading various journals from webmasters with severe arachnophobia and had added very elaborate methods of designing their webpages to either eliminate web spidering completely or to force spiders to obey robots.txt (the former involved invisible URLs that triggered server scripts to blacklist the IP from the accessing the webserver from then on and the latter involved recording IPs that accessed the robots.txt file then update httpd config so only the directories allowed by robots.txt could be accessed [others would 404 or 403 depending on the webmaster and server configuration]). So I figured why not create a "spambot trap" in place of a "spider trap". The process is pretty straightforward. Make my actual email address parseable by humans but not easily parseable to spam farming bots. Next I add a plaintext address that is in plain sight of the spam farmer. The idea is that it will spam the plaintext address (sputnik at ...1107...). The final piece is a script that runs via the .forward file placed in the sputnik user's homedir. The script does some administrivia like logging the access, tar bzip2'ing the evidence email and finally concatenating the IP to the end of a deny list file. The script has one other feature. If I forward a local mail to sputnik it will parse the header of the forwarded message grab the originator IP and do the remainder of operations as described above. So it allows me to trap harvesters sniffing my posts in public and any that happen to have my real address (from posting in days before spam was a problem) and do a drive-by spam to my actual inbox I can immediately forward to sputnik and they will be blocked in the next pass of the cron job when the MTA gets SIGHUP'ed (if I'm in a hurry I can also go to root and run the script manually if I'm between cron cycles). .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | oevna at ...1544... `=================================================- Hi Spambots, my email address is sputnik at ...1334... Hi Humans, my email address uses rot13 cipher From ronstk at ...239... Tue Aug 15 00:22:42 2006 From: ronstk at ...239... (Ron Onstenk) Date: Tue, 15 Aug 2006 00:22:42 +0200 Subject: [Gambas-user] List status (fwd) In-Reply-To: <20060814143728.L31195@...1337...> References: <20060814035636.E25309@...1337...> <200608141731.45573.sourceforge-raindog2@...94...> <20060814143728.L31195@...1337...> Message-ID: <200608150022.42575.ronstk@...239...> On Tuesday 15 August 2006 00:04, Christopher Brian Jack wrote: > On Mon, 14 Aug 2006, Rob Kudla wrote: > > > On Mon August 14 2006 16:24, Christopher Brian Jack wrote: ---8<--- Interesting but when I look at spammail I see the same spam from different IP and with different From addresses. I do not get in general more spams from one special IP, then it looks to me that IP filtering does not filter optimal. Also the From: addresses are more unique instead the same. The Sender Address Verification my provider does works for many but not all. I'm happy to get not over 10 each day now. (fingers crossed) > .=================================================. > | Christopher BRIAN Jack aka "Gau of the Veldt" | > +=================================================' > | oevna at ...1544... > `=================================================- > Hi Spambots, my email address is sputnik at ...1334... > Hi Humans, my email address uses rot13 cipher > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Ron From brian at ...1334... Tue Aug 15 01:00:03 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 14 Aug 2006 16:00:03 -0700 (PDT) Subject: [Gambas-user] List status (fwd) In-Reply-To: <200608150022.42575.ronstk@...239...> References: <20060814035636.E25309@...1337...> <200608141731.45573.sourceforge-raindog2@...94...> <20060814143728.L31195@...1337...> <200608150022.42575.ronstk@...239...> Message-ID: <20060814154335.E31424@...1337...> On Tue, 15 Aug 2006, Ron Onstenk wrote: > Interesting but when I look at spammail I see the same spam from different IP > and with different From addresses. > I do not get in general more spams from one special IP, then it looks to me > that IP filtering does not filter optimal. > Also the From: addresses are more unique instead the same. > The Sender Address Verification my provider does works for many but not all. > > I'm happy to get not over 10 each day now. (fingers crossed) I've seen as many as 500-2000 attempts from the same IP on bad days and there are around 1-7 bad days per two weeks (on a REALLY bad day 2 or more spammers will be doing this concurrently). This connection, bit of communication (HELO/EHLO and everything up to my MTA disallowing the MAIL command), SYN signals and DNSBL lookups all cost bandwidth. Also the number of attacks like this is increasing so the number of "bad" days is going up (I think sapmmers+hackers are trying to DOS the DNSBL sites out of operation so they can push their spam anywhere and everywhere). Personally I find content filters a joke as well as a cat and mouse game and there are far more spammers (fast-moving mice) out there than there are content filter maintainers (slow bulky cats). I am manually starting to cache DNSBL results locally and eventually will have a script automatically blacklist any IP that turns up "hot" when the MTA checks the DNSBL of the connected IP. If I finally deicde it's time for ipfw I'll most likely switch the access file for a 1-column database so I can maintain uniqueness of IP numbers and use a boolean algebra tool like expresso to turn the mass of IP numbers in the DB into CIDRs to make a smaller ipfw rule table. If it takes a while (and uses too much CPU) I'll use a periodic cronjob. If instantaneous blocking doesn't use too much CPU I'll have it fire whenever sputnik catches a spam (or is forwarded one from a local account). .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | oevna at ...1544... `=================================================- Hi Spambots, my email address is sputnik at ...1334... Hi Humans, my email address uses rot13 cipher From brian at ...1334... Tue Aug 15 01:19:23 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 14 Aug 2006 16:19:23 -0700 (PDT) Subject: [Gambas-user] List status (fwd) In-Reply-To: <200608150022.42575.ronstk@...239...> References: <20060814035636.E25309@...1337...> <200608141731.45573.sourceforge-raindog2@...94...> <20060814143728.L31195@...1337...> <200608150022.42575.ronstk@...239...> Message-ID: <20060814160600.B31536@...1337...> On Tue, 15 Aug 2006, Ron Onstenk wrote: > Interesting but when I look at spammail I see the same spam from different IP > and with different From addresses. > I do not get in general more spams from one special IP, then it looks to me > that IP filtering does not filter optimal. > Also the From: addresses are more unique instead the same. > The Sender Address Verification my provider does works for many but not all. > > I'm happy to get not over 10 each day now. (fingers crossed) I noticed that too but I also noticed that one spam will float around for a while then a batch of new ones will come out that defy the existing filters. The trend I see now is messages that break Quoted-Printable format. I guess there are some filters that flake out and let the technically corrupt message through and maile readers (probably made by a big monopolistic company) that ignore the corrupted encoding. I know in Pine I have to go to header mode to see the message if its QP encoding is corrupted. More spams are starting to use this method now too. I'm seeing a lot of old spams reworked to use broken QP to bypass content filters. I could lose a good 40% of my spam if I could tell my MTA to reject messages with non-romantic language encodings (I get a lot of Korean, Japanese and Chinese spam -- maybe even Arabic but I don't know for sure as it's all garbage characters to Pine when viewed in non-header mode). .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | oevna at ...1544... `=================================================- Hi Spambots, my email address is sputnik at ...1334... Hi Humans, my email address uses rot13 cipher From steven at ...1545... Tue Aug 15 02:37:38 2006 From: steven at ...1545... (Steven James Drinnan) Date: Tue, 15 Aug 2006 08:37:38 +0800 Subject: [Gambas-user] test Message-ID: <1155602258.2838.0.camel@...37...> just seeing it is working From steven at ...1545... Tue Aug 15 02:51:08 2006 From: steven at ...1545... (Steven James Drinnan) Date: Tue, 15 Aug 2006 08:51:08 +0800 Subject: [Gambas-user] Problems using IDE Message-ID: <1155603068.2838.13.camel@...37...> I installed the above 1.9.38 i.e ./configure -C make su make install all went fine a few things not complied firebird corbra pdf kde kde ok as i only use gnome any way the problems are this 1. If i type in invalid code and execute it i get a run time error - ok right nope - after the error the balloon message crashes the IDE. 2.can not use gb.forms - some load in the ide but when you try to run the program it crashes. The same in 1.9.37 [-1] Void key. ffformstack.filltree.82 others load but will crash for other reasons I think they are related - can you tell me what dependances could be missing 3 i have now installed 1.9.37 but can not create a new project. steven From emil97 at ...1424... Tue Aug 15 09:07:20 2006 From: emil97 at ...1424... (rudy) Date: Tue, 15 Aug 2006 14:07:20 +0700 Subject: [Gambas-user] db.delete always returning error Message-ID: <200608151407.20273.emil97@...1424...> Hi, I try to delete a record from table using db.delete, but it always returning error message "Wanted Result got Void instead". However, the record IS DELETED CORRECTLY. The procedure: --------------------------------------------------------------------------------------------- PUBLIC SUB Delete_Transaction(nomor AS Integer) DIM rs AS Result DIM criteria AS String criteria = "nomor = &1" db.Begin rs = db.Delete("transaksi_tunda", criteria, nomor) rs.update db.Commit CATCH Message.Error(ERROR.text) END SUB -------------------------------------------------------------------------------------------------- Is there something wrong with above procedure, or is it a bug ? (Using other db command such as db.Exec and db.Edit, they work correctly, no error message). I use gambas 1.9.34 on Suse 10.0, database is MySQL 4.1.14. Thanks, Rudy From ronstk at ...239... Tue Aug 15 13:26:53 2006 From: ronstk at ...239... (Ron Onstenk) Date: Tue, 15 Aug 2006 13:26:53 +0200 Subject: [Gambas-user] db.delete always returning error In-Reply-To: <200608151407.20273.emil97@...1424...> References: <200608151407.20273.emil97@...1424...> Message-ID: <200608151326.54119.ronstk@...239...> On Tuesday 15 August 2006 09:07, rudy wrote: > Hi, > > I try to delete a record from table using db.delete, but it always returning > error message "Wanted Result got Void instead". However, the record IS DELETED > CORRECTLY. > > The procedure: > --------------------------------------------------------------------------------------------- > PUBLIC SUB Delete_Transaction(nomor AS Integer) > > DIM rs AS Result > DIM criteria AS String > > criteria = "nomor = &1" > > db.Begin > > rs = db.Delete("transaksi_tunda", criteria, nomor) Are you sure db.Delete _is_ returning a Result ? A boolean True/false looks to me more the case. > > rs.update > db.Commit > > CATCH > > Message.Error(ERROR.text) > > END SUB > -------------------------------------------------------------------------------------------------- > Is there something wrong with above > procedure, or is it a bug ? (Using other db command such as db.Exec and > db.Edit, they work correctly, no error message). > > I use gambas 1.9.34 on Suse 10.0, database is MySQL 4.1.14. > > Thanks, > Rudy > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From brian at ...1334... Tue Aug 15 15:08:53 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Tue, 15 Aug 2006 06:08:53 -0700 (PDT) Subject: [Gambas-user] Gambas on debian In-Reply-To: <6324a42a0608140543h745e537ap15ab2136de043eda@...627...> References: <20060814043332.X25686@...1337...> <6324a42a0608140543h745e537ap15ab2136de043eda@...627...> Message-ID: <20060815060831.H37134@...1337...> On Mon, 14 Aug 2006, Fabien Bodard wrote: > Try without synaptic... > > > http://apt.linex.org/linex/gambas/1.9.38/ > > regards, > Fabien Bodard Is the .deb file no longer being maintained? .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | oevna at ...1544... `=================================================- Hi Spambots, my email address is sputnik at ...1334... Hi Humans, my email address uses rot13 cipher From timothy.marshal-nichols at ...247... Tue Aug 15 17:43:03 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Tue, 15 Aug 2006 16:43:03 +0100 Subject: [Gambas-user] db.delete always returning error In-Reply-To: <200608151326.54119.ronstk@...239...> Message-ID: > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of Ron > Onstenk > Sent: Tuesday, 15 August 2006 12:27 > To: mailing list for gambas users > Subject: Re: [Gambas-user] db.delete always returning error > > > On Tuesday 15 August 2006 09:07, rudy wrote: > > Hi, > > > > I try to delete a record from table using db.delete, but it > always returning > > error message "Wanted Result got Void instead". However, the > record IS DELETED > > CORRECTLY. > > > > The procedure: > > > ------------------------------------------------------------------ > --------------------------- > > PUBLIC SUB Delete_Transaction(nomor AS Integer) > > > > DIM rs AS Result > > DIM criteria AS String > > > > criteria = "nomor = &1" > > > > db.Begin > > > > rs = db.Delete("transaksi_tunda", criteria, nomor) > db.Delete(...) is a procedure not a function. It does not return a result. You just need: db.Delete("transaksi_tunda", criteria, nomor) all on it own sweet own. Look in the help. > Are you sure db.Delete _is_ returning a Result ? > A boolean True/false looks to me more the case. > > > > > > rs.update > > db.Commit > > > > CATCH > > > > Message.Error(ERROR.text) > > > > END SUB > > > ------------------------------------------------------------------ > -------------------------------- > > Is there something wrong with above > > procedure, or is it a bug ? (Using other db command such as db.Exec and > > db.Edit, they work correctly, no error message). > > > > I use gambas 1.9.34 on Suse 10.0, database is MySQL 4.1.14. > > > > Thanks, > > Rudy > > > > > Thanks 8-{)} Timothy Marshal-Nichols From linuxseeker at ...626... Tue Aug 15 18:02:02 2006 From: linuxseeker at ...626... (LinuxSeeker) Date: Tue, 15 Aug 2006 19:02:02 +0300 Subject: [Gambas-user] Is it possible to read (and write) specific parts of a text file? Message-ID: I want to use a single configuration file (plain text) for my application. The format of the configuration file will be like: ---------------------------------- #Program configuration [information] name: appname [data] enabled_textbox_number: 5 textbox1_text: content1 textbox2_text: content2 textbox3_text: content3 textbox4_text: content4 textbox5_text: content5 textbox6_text: NONE textbox7_text: NONE checkbox1_checked: NO [comments] TextArea1_text: blah blah blah ------------------------------------ So I must be able to read after the ":" in each line. The form1 text for example must be the content after the "name:" (appname), the text of a combobox (which contains the numbers from 1 to 10) must be the part after the "enabled_textbox_number:" (5), the text of TextArea1 must be the one after "TextArea1_text:" (blah blah blah) etc. The lines starting with # and the text between square brackets is like comments and should not be used. Any suggestions? I have very limited experience when it comes to working with files, so even the simplest suggestions are welcome. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Tue Aug 15 18:48:00 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Tue, 15 Aug 2006 12:48:00 -0400 Subject: [Gambas-user] Is it possible to read (and write) specific parts of a text file? In-Reply-To: References: Message-ID: <200608151248.01804.sourceforge-raindog2@...94...> On Tue August 15 2006 12:02, LinuxSeeker wrote: > I want to use a single configuration file (plain text) for my > application. The format of the configuration file will be > like: > > ---------------------------------- > #Program configuration > [information] > name: appname This is pretty close to the format you'll get if you use the gb.settings component to manage your config files. The only difference is that gb.settings uses "key=value" rather than "key: value". http://gambasdoc.org/help/comp/gb.settings/ It's a lot easier than reinventing the wheel. But if you wanted to make a change to a config value in a file like you describe, and didn't want to use the Settings class for some reason, I'd do something like this: (pseudocode because I don't have Gambas on this machine) dim s as string dim r as regexp ' need the gb.pcre component in your project s = File.Load("config.ini") ' or whatever r = new Regexp(s, "textbox1_text: .+\n") s = Replace(s, r.Text, "textbox1_text: " & Textbox1.Text) File.Save("config.ini", s) As an aside, please use your real name on the Gambas lists if it's at all possible. Thanks Rob From dcamposf at ...626... Tue Aug 15 19:01:34 2006 From: dcamposf at ...626... (Daniel Campos) Date: Tue, 15 Aug 2006 19:01:34 +0200 Subject: [Gambas-user] Gambas on debian In-Reply-To: <20060815060831.H37134@...1337...> References: <20060814043332.X25686@...1337...> <6324a42a0608140543h745e537ap15ab2136de043eda@...627...> <20060815060831.H37134@...1337...> Message-ID: <7259b5ae0608151001l46159820m41555115d3e3d38e@...627...> > > > Is the .deb file no longer being maintained? No, de deb files are always maintained, but may be there were some problem with the servers in these days, it will be fixed soon... Daniel .=================================================. > | Christopher BRIAN Jack aka "Gau of the Veldt" | > +=================================================' > | oevna at ...1544... > `=================================================- > Hi Spambots, my email address is sputnik at ...1334... > Hi Humans, my email address uses rot13 cipher > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From linuxseeker at ...626... Tue Aug 15 19:41:12 2006 From: linuxseeker at ...626... (LinuxSeeker) Date: Tue, 15 Aug 2006 20:41:12 +0300 Subject: [Gambas-user] Is it possible to read (and write) specific parts of a text file? In-Reply-To: <200608151248.01804.sourceforge-raindog2@...94...> References: <200608151248.01804.sourceforge-raindog2@...94...> Message-ID: On 8/15/06, Rob Kudla wrote: > > This is pretty close to the format you'll get if you use the > gb.settings component to manage your config files. The only > difference is that gb.settings uses "key=value" rather than > "key: value". > > http://gambasdoc.org/help/comp/gb.settings/ > > It's a lot easier than reinventing the wheel. Actually, since the final program will -possibly- be very different, it would be useful if I could use my own syntax in the configuration file. -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at ...1334... Tue Aug 15 21:56:46 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Tue, 15 Aug 2006 12:56:46 -0700 (PDT) Subject: [Gambas-user] Gambas on debian In-Reply-To: <7259b5ae0608151001l46159820m41555115d3e3d38e@...627...> References: <20060814043332.X25686@...1337...> <6324a42a0608140543h745e537ap15ab2136de043eda@...627...> <20060815060831.H37134@...1337...> <7259b5ae0608151001l46159820m41555115d3e3d38e@...627...> Message-ID: <20060815125109.W39040@...1337...> On Tue, 15 Aug 2006, Daniel Campos wrote: > > Is the .deb file no longer being maintained? > > No, de deb files are always maintained, but may be there were some problem > with the servers in these days, it will be fixed soon... > Daniel I am having trouble with the Gambas2 .deb files on linex. First was coaxing dpkg/apt/synaptic suite to read the files then once they finally installed I got the following complaint: $bash:gambas2 ERROR 42: /usr/bin/gambas2/.Project not a valid project $bash:_ I may not have identically copied the error but it was #42 and was complaining about a project not being valid and it did list /usr/bin/gambas2 Also I noticed Debian doesn't have an installable popler from the Apt/Synaptic suite. This makes trouble for the Gambas2.xxx.pdf.deb to install since the dependency cannot be fulfilled. Is there a .deb poppler distro out there somewhere and I just don't know about it? Specifically it wanted a glibc6 domained libpoppler dependency. .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | oevna at ...1544... `=================================================- Hi Spambots, my email address is sputnik at ...1334... Hi Humans, my email address uses rot13 cipher From dcamposf at ...626... Tue Aug 15 22:49:22 2006 From: dcamposf at ...626... (Daniel Campos) Date: Tue, 15 Aug 2006 22:49:22 +0200 Subject: [Gambas-user] Gambas on debian In-Reply-To: <20060815125109.W39040@...1337...> References: <20060814043332.X25686@...1337...> <6324a42a0608140543h745e537ap15ab2136de043eda@...627...> <20060815060831.H37134@...1337...> <7259b5ae0608151001l46159820m41555115d3e3d38e@...627...> <20060815125109.W39040@...1337...> Message-ID: <7259b5ae0608151349v5f0825dboc7f818b211d03bf8@...627...> To get all the needed packages for Debian Sarge you should add to sources.list: deb http://apt.linex.org/linex2006/ This should fix the libraries you lack Daniel 2006/8/15, Christopher Brian Jack : > > On Tue, 15 Aug 2006, Daniel Campos wrote: > > > > Is the .deb file no longer being maintained? > > > > No, de deb files are always maintained, but may be there were some > problem > > with the servers in these days, it will be fixed soon... > > Daniel > > I am having trouble with the Gambas2 .deb files on linex. First was > coaxing dpkg/apt/synaptic suite to read the files then once they finally > installed I got the following complaint: > > $bash:gambas2 > ERROR 42: /usr/bin/gambas2/.Project not a valid project > > $bash:_ > > I may not have identically copied the error but it was #42 and was > complaining about a project not being valid and it did list > /usr/bin/gambas2 > > Also I noticed Debian doesn't have an installable popler from the > Apt/Synaptic suite. This makes trouble for the Gambas2.xxx.pdf.deb to > install since the dependency cannot be fulfilled. > > Is there a .deb poppler distro out there somewhere and I just don't know > about it? Specifically it wanted a glibc6 domained libpoppler dependency. > > .=================================================. > | Christopher BRIAN Jack aka "Gau of the Veldt" | > +=================================================' > | oevna at ...1544... > `=================================================- > Hi Spambots, my email address is sputnik at ...1334... > Hi Humans, my email address uses rot13 cipher > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at ...1334... Wed Aug 16 11:26:31 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Wed, 16 Aug 2006 02:26:31 -0700 (PDT) Subject: [Gambas-user] Gambas on debian In-Reply-To: <7259b5ae0608151349v5f0825dboc7f818b211d03bf8@...627...> References: <20060814043332.X25686@...1337...> <6324a42a0608140543h745e537ap15ab2136de043eda@...627...> <20060815060831.H37134@...1337...> <7259b5ae0608151001l46159820m41555115d3e3d38e@...627...> <20060815125109.W39040@...1337...> <7259b5ae0608151349v5f0825dboc7f818b211d03bf8@...627...> Message-ID: <20060816022418.N42471@...1337...> On Tue, 15 Aug 2006, Daniel Campos wrote: > To get all the needed packages for Debian Sarge you should add to > sources.list: > > deb http://apt.linex.org/linex2006/ > > This should fix the libraries you lack > Daniel > deb http://apt.linex.org/linex2006/ This line complains : ^^^^^^^^^ 1) in FireFox this URL comes up 404 2) in synaptic it complains the sources.list file is malformed with that line in it .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | oevna at ...1544... `=================================================- Hi Spambots, my email address is sputnik at ...1334... Hi Humans, my email address uses rot13 cipher From dcamposf at ...626... Wed Aug 16 11:59:07 2006 From: dcamposf at ...626... (Daniel Campos) Date: Wed, 16 Aug 2006 11:59:07 +0200 Subject: [Gambas-user] Gambas on debian In-Reply-To: <20060816022418.N42471@...1337...> References: <20060814043332.X25686@...1337...> <6324a42a0608140543h745e537ap15ab2136de043eda@...627...> <20060815060831.H37134@...1337...> <7259b5ae0608151001l46159820m41555115d3e3d38e@...627...> <20060815125109.W39040@...1337...> <7259b5ae0608151349v5f0825dboc7f818b211d03bf8@...627...> <20060816022418.N42471@...1337...> Message-ID: <7259b5ae0608160259n349fe222v1e2ec47f37bd49eb@...627...> Hi: Please, edit directly as root the file /etc/apt/sources.list and then add a line exactly like this: deb http://apt.linex.org/linex2006 sarge linex2006 Then, as root do: apt-get update After that this should work (here it is working, the only problem could be a DNS error in your side) Daniel 2006/8/16, Christopher Brian Jack : > > On Tue, 15 Aug 2006, Daniel Campos wrote: > > > To get all the needed packages for Debian Sarge you should add to > > sources.list: > > > > deb http://apt.linex.org/linex2006/ > > > > This should fix the libraries you lack > > Daniel > > > deb http://apt.linex.org/linex2006/ > This line complains : ^^^^^^^^^ > 1) in FireFox this URL comes up 404 > 2) in synaptic it complains the sources.list file is malformed with that > line in it > > .=================================================. > | Christopher BRIAN Jack aka "Gau of the Veldt" | > +=================================================' > | oevna at ...1544... > `=================================================- > Hi Spambots, my email address is sputnik at ...1334... > Hi Humans, my email address uses rot13 cipher > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Wed Aug 16 12:07:23 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Aug 2006 12:07:23 +0200 Subject: [Gambas-user] Problem with Window.Close() Message-ID: <200608161207.23855.gambas@...1...> Hi, Here is a new patch for 1.9.38 that should solve the problem with the closing of windows. Tell me if it works, and sorry for the inconvenience! I write here the "rules of closing" for those who are interested. You will see the complexity of the situation! 1) There are two types of windows: real top-level windows and embedded windows (like the one embedded inside a tabstrip in the IDE). 2) A window can be persistent or not. A non-persistent window is destroyed when you close it. A persistent window is just hidden. 3) A window can be opened in modal (blocking) and non-modal (non-blocking) mode. The modal mode is implemented by using a local event loop. An embedded window opened in modal mode is temporarily made top-level. 4) The first time a window is shown, an "Open" event is raised. Only the first time, i.e. it will be raised once for each instance of a window. 5) A window can be closed by calling the Close() method or by clicking on the close button of the window manager for top-level windows. 6) When a window is closed, a "Close" event is raised. If this event is not stopped, then the window is hidden. If the window is not persistent, it is destroyed too. If the window was opened in modal mode, then the local event loop used for implementing the modal mode is left. 7) When a window has been closed, it can be opened again, but the Open event won't be raised again. But the Close event will be raised systematically. 8) The integer argument of the Window.Close() method is returned by the Window.ShowModal() method. 9) If you call Close() during the Close event, the method does nothing. 10) If you call Show() or ShowModal() while the window is being shown, the method does nothing. Regards, -- Benoit Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: CWindow.cpp Type: text/x-c++src Size: 49926 bytes Desc: not available URL: From suport at ...1546... Wed Aug 16 12:03:04 2006 From: suport at ...1546... (suport) Date: Wed, 16 Aug 2006 12:03:04 +0200 Subject: [Gambas-user] Database problem Message-ID: <1155722584.2406.1.camel@...37...> Hello, When executing the example "Database" to see as it works and to insert a new registry in the table of the DataBrowser leaves the error: ?Cannot create record: Duplicate entry ?xxx? for Key 1. You can help me to solve the error of the example? I very am interested From gambas at ...1... Wed Aug 16 12:15:51 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Aug 2006 12:15:51 +0200 Subject: [Gambas-user] Database problem In-Reply-To: <1155722584.2406.1.camel@...37...> References: <1155722584.2406.1.camel@...37...> Message-ID: <200608161215.51785.gambas@...1...> On Wednesday 16 August 2006 12:03, suport wrote: > Hello, > > When executing the example "Database" to see as it works and to insert a > new registry in the table of the DataBrowser leaves the error: ?Cannot > create record: Duplicate entry ?xxx? for Key 1. > > You can help me to solve the error of the example? > I very am interested > > What are you doing exactly with the example? -- Benoit Minisini From gambas at ...1... Wed Aug 16 12:18:23 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Aug 2006 12:18:23 +0200 Subject: [Gambas-user] new hide event policy In-Reply-To: <200608130408.36036.stefanopalmeri@...152...> References: <200608130408.36036.stefanopalmeri@...152...> Message-ID: <200608161218.23291.gambas@...1...> On Sunday 13 August 2006 04:08, Stefano Palmeri wrote: > Hi, all. Hi, Benoit. > > >From 1.9.35 I read: > > * NEW: Show and Hide events are not sent anymore if they come from the > window manager. This is experimental too! > > Now, the problem is that in a certain project the program > to something when the hide event is raised. > > Before this change if a user clicked the minimized button, > the hide event was raised and a certain actions could have been > done. Now if a user clicks the minimize button, which event > is raised? > > Put a timer and check the state of the form > every nanoseconds is not good and so... what? > > Am I the only one missing the hide event generated > by a minimize button click? > > Regards, > > Stefano Palmeri > Mmm... You are right. I think I should make a different event, because really hiding the window by calling Hide() or Close() is different from being hidden by a window manager. Or maybe I shouldn't? :-) What I will do is reactivating the Show and Hide event when the cause is the window manager, except that the shown or hidden window won't raise its associated action in this case. Regards, -- Benoit Minisini From gambas at ...1... Wed Aug 16 12:25:28 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Aug 2006 12:25:28 +0200 Subject: [Gambas-user] Search-cosmetic bug In-Reply-To: <200608121657.24032.ronstk@...239...> References: <200608121657.24032.ronstk@...239...> Message-ID: <200608161225.29075.gambas@...1...> On Saturday 12 August 2006 16:57, Ron Onstenk wrote: > Using search with list. > The lines where the words are found are marked in the treeview > in the project folder 'Forms' instead 'Classes' > > Ron It's because the "show form classes" option has been removed. You see them because the option is present in your configuration file, but this feature will be removed soon. Regards, -- Benoit Minisini From gambas at ...1... Wed Aug 16 12:38:58 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Aug 2006 12:38:58 +0200 Subject: [Gambas-user] Drag and Drop Bug In-Reply-To: References: Message-ID: <200608161238.58112.gambas@...1...> On Sunday 13 August 2006 08:47, Timothy Marshal-Nichols wrote: > > Alas with Gambas 1.9.38 you have forced people to have _Drag() and > _DragMove() events if anything is going to dropped onto a control. > > I still thing there are some cases where you want to allow anything to be > dropped on to a control. To force propel to have empty _Drag() and > _DragMove() events to allow a drop onto a control just looks plain odd. > > Also this behaviour will be very confusing to new users to Drag and Drop in > Gambas. > > > 1) If you don't implement the Drop event handler then the drop is > > rejected. > > > > The rest looks good. > > > > > 2) If you implement the Drag event handler only, then the drop is > > > rejected > > > only if you use STOP EVENT. > > > > > > 3) If you implement the DragMove event handler only, then the > > > drop is rejected > > > only if you use STOP EVENT. > > The release of gambas 1.9.38 says: > > * BUG: Drag & Drop event management has been fixed. > > With Gambas version 1.9.38 options 2) and 3) do not work. Only option 4) > works. So to stop a _Drop() event you need to have both a _Drag() and > _DragMove() events and a STOP EVENT in both handlers. (May be the fault > with 1) is related to the bug with 2) and 3).) > > > > 4) If you implement both Drag and DragMove event handlers, then > > > the drop is > > > rejected if you use STOP EVENT in both handlers. > > > > > > Regards, > > > > > > -- > > > Benoit Minisini > > Thanks > > 8-{)} Timothy Marshal-Nichols > > Can you test with this patch please and tell me if the behaviour is correct? The rule should do: 1) If you don't implement the Drag event handler, nor the DragMove event handler, then: if the Drop event handler is implemented, then the drop is accepted, otherwise it is rejected. 2) If you implement the Drag event handler, and if the event is stopped, then the drop is rejected and no DragMove event is raised. 3) If you implement the DragMove event handler, and if the event is stopped, then the drop is rejected. Regards, -- Benoit Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: CClipboard.cpp Type: text/x-c++src Size: 9718 bytes Desc: not available URL: From juanramon at ...1546... Wed Aug 16 12:53:32 2006 From: juanramon at ...1546... (juanra) Date: Wed, 16 Aug 2006 12:53:32 +0200 Subject: [Gambas-user] Database problem In-Reply-To: <200608161215.51785.gambas@...1...> References: <1155722584.2406.1.camel@...37...> <200608161215.51785.gambas@...1...> Message-ID: <1155725612.2406.27.camel@...37...> Ok Benoit, In the example ?Database? of the set of examples of gambas2. I want to insert a new registry in the table. Pressing the button ?Create? it creates the two tables ?test? and ?color? in my data base of mysql. I want to insert a new registry in de table 'test' pressing the icon ?new? of the control of the Datasource and writing all the Datacontrol and when pressing the icon ?to keep? to insert it in the table leaves the error: ?Cannot create record: Duplicate entry ?xxx? for key 1? You can help me to solve the error of the example? Thanks, > On Wednesday 16 August 2006 12:03, suport wrote: > > Hello, > > > > When executing the example "Database" to see as it works and to insert a > > new registry in the table of the DataBrowser leaves the error: ?Cannot > > create record: Duplicate entry ?xxx? for Key 1. > > > > You can help me to solve the error of the example? > > I very am interested > > > > > > What are you doing exactly with the example? > From ronstk at ...239... Wed Aug 16 14:46:53 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 16 Aug 2006 14:46:53 +0200 Subject: [Gambas-user] Clear recent project does not work? Message-ID: <200608161446.54374.ronstk@...239...> I had a look in the .config/gambas/gambas.conf [Recent] Count="9" File[1]="/opt/gb/A__source/gambas2" File[2]="/home/ron/GBapp/A__source35/gb.form.mda" File[3]="/opt/gb/A__source/gb.form.mda" File[4]="/opt/gb/share/gambas2/examples/Networking/WebBrowser" File[5]="/opt/gb/share/gambas2/examples/Basic/DragNDrop" File[6]="/opt/gb/share/gambas2/examples/Printing/Printing" File[7]="/opt/gb/share/gambas2/examples/Basic/Blights" File[8]="/opt/gb/share/gambas2/examples/OpenGL/GambasGears" File[9]="/home/ron/GBapp/A__source35/gambas2" File[10]="/opt/gb/share/gambas2/examples/Database/DataReportExample" File[11]="/opt/gb/share/gambas2/examples/Video/MoviePlayer" File[12]="/home/ron/GBapp/PrintTwoImages2" .... File[32]="/home/ron/GBapp/ImagePicture" After I select the Clear Recent option the list is indeed empty. However on restart gambas all the recent files are back again. Just the 9 as count tells there are. gambas2-1.9.38 Ron -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From linuxseeker at ...626... Wed Aug 16 16:31:16 2006 From: linuxseeker at ...626... (LinuxSeeker) Date: Wed, 16 Aug 2006 17:31:16 +0300 Subject: [Gambas-user] Is it possible to read (and write) specific parts of a text file? In-Reply-To: <200608151248.01804.sourceforge-raindog2@...94...> References: <200608151248.01804.sourceforge-raindog2@...94...> Message-ID: Are there any advanced text-editing/manipulation tools in gambas that may help me? Any other suggestions? -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Wed Aug 16 16:41:14 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Aug 2006 16:41:14 +0200 Subject: [Gambas-user] Is it possible to read (and write) specific parts of a text file? In-Reply-To: References: <200608151248.01804.sourceforge-raindog2@...94...> Message-ID: <200608161641.14732.gambas@...1...> On Wednesday 16 August 2006 16:31, LinuxSeeker wrote: > Are there any advanced text-editing/manipulation tools in gambas that may > help me? Any other suggestions? Look at the LINE INPUT and Scan() functions. It should help. Regards, -- Benoit Minisini From Karl.Reinl at ...9... Wed Aug 16 20:38:59 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 16 Aug 2006 20:38:59 +0200 Subject: [Gambas-user] about my (about my Pb on 1.9.38 part 2) In-Reply-To: <200608121442.06354.Karl.Reinl@...9...> References: <200608121442.06354.Karl.Reinl@...9...> Message-ID: <1155753541.5356.2.camel@...40...> Salut, the patch fro today, solves all the problems, I reported. Amicalment Charlie Am Samstag, den 12.08.2006, 14:42 +0200 schrieb Charlie Reinl: > Salut, > > the pb came with the last patch from Beno?t (CWindow.cpp.) > > I ported back early this mornig, and had the same pb. > But I only changed the CWindow.cpp , which was not newly compiled. > > Now after changing CWindow.cpp filedate and recompiling all my reported pbs > are gone. Sorry > > > Amicalment > Charlie > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Aug 16 20:53:16 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Aug 2006 20:53:16 +0200 Subject: [Gambas-user] V 1.9.37 editor trouble... In-Reply-To: <44E09677.5000607@...981...> References: <44E09677.5000607@...981...> Message-ID: <200608162053.16721.gambas@...1...> On Monday 14 August 2006 17:27, sbungay wrote: > I was cutting and pasting text within the editor when it appears to > have lost its' mind and decided that it would stay in highlight mode > (text selection?) mode. Now anywhere I click on the screen the editor > selects the block of text, which means anything I type replaces the > highlighted block (not good). > I tried closing down gambas and restarting, reopened the project, > scrolled down a few hundred lines and clicked the left button.. a huge > block of text was selected. Anybody else ever run into this? I have been > searching through emails and haven't found an example (yet). > > Steve :) > I think I had this problem once in the past. I suspect a X server bug, or a Qt bug, because when you press the mouse button, the X server automatically "grabs the mouse", i.e. it sends all mouse events to the window you clicked until the mouse button is released. So, when you press the mouse button in the editor, a timer is started that select all text between the initial mouse position and the current mouse position. This timer is stopped as soon as the mouse button is released. So the only explanation I see is that the mouse release event has been lost in a black hole! Regards, -- Benoit Minisini From sbungay at ...981... Wed Aug 16 22:06:03 2006 From: sbungay at ...981... (sbungay) Date: Wed, 16 Aug 2006 16:06:03 -0400 Subject: [Gambas-user] Database Manager Bug (no not the same one) Message-ID: <44E37AAB.5010705@...981...> Just a heads up for anyone using MySQL and the gambas Database Manager. I have used the tool to edit tables and it has set the autoincrement fields to a non-autoincrement state upon applying the changes. This is not a big problem, but it is something to be aware of. Steve. From gambas at ...1... Wed Aug 16 21:13:22 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Aug 2006 21:13:22 +0200 Subject: [Gambas-user] Database Manager Bug (no not the same one) In-Reply-To: <44E37AAB.5010705@...981...> References: <44E37AAB.5010705@...981...> Message-ID: <200608162113.22409.gambas@...1...> On Wednesday 16 August 2006 22:06, sbungay wrote: > Just a heads up for anyone using MySQL and the gambas Database > Manager. I have used the tool to edit tables and it has set the > autoincrement fields to a non-autoincrement state upon applying the > changes. > This is not a big problem, but it is something to be aware of. > > Steve. > If you used the database manager to modify a database created outside of the database manager, this is not a bug. Did you? -- Benoit Minisini From sbungay at ...981... Wed Aug 16 23:04:04 2006 From: sbungay at ...981... (sbungay) Date: Wed, 16 Aug 2006 17:04:04 -0400 Subject: [Gambas-user] Database Manager Bug (no not the same one) In-Reply-To: <200608162113.22409.gambas@...1...> References: <44E37AAB.5010705@...981...> <200608162113.22409.gambas@...1...> Message-ID: <44E38844.8060405@...981...> Yes I did. Why would it change the autoincrement key field to non-autoincrement when the key field was not modified? It is a behaviour I did not expect. Steve. Benoit Minisini wrote: > On Wednesday 16 August 2006 22:06, sbungay wrote: > >> Just a heads up for anyone using MySQL and the gambas Database >>Manager. I have used the tool to edit tables and it has set the >>autoincrement fields to a non-autoincrement state upon applying the >>changes. >> This is not a big problem, but it is something to be aware of. >> >>Steve. >> > > > If you used the database manager to modify a database created outside of the > database manager, this is not a bug. Did you? > From gambas at ...1... Wed Aug 16 22:22:23 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Aug 2006 22:22:23 +0200 Subject: [Gambas-user] Database Manager Bug (no not the same one) In-Reply-To: <44E38844.8060405@...981...> References: <44E37AAB.5010705@...981...> <200608162113.22409.gambas@...1...> <44E38844.8060405@...981...> Message-ID: <200608162222.23286.gambas@...1...> On Wednesday 16 August 2006 23:04, sbungay wrote: > Yes I did. Why would it change the autoincrement key field to > non-autoincrement when the key field was not modified? It is a behaviour > I did not expect. > > Steve. > Because autoincrement key field is not standard in SQL. So I had to choose a specific kind of field to represent autoincrement key fields, for each database driver. For example, in the mysql driver, a autoincrement key field is created as 'BIGINT UNSIGNED NOT NULL AUTO_INCREMENT', and detected if the definition returned by mysql is 'BIGINT' and includes the 'AUTO_INCREMENT' keyword somewhere. Otherwise your field is not considered as an autoincrement key. You must understand that the database manager works in a database-agnostic way, and so must use many tricks like that. The fault is SQL, that is the ugliest standard I have ever seen. I don't think we should even call that thing a standard. Regards, -- Benoit Minisini From gambas at ...1... Wed Aug 16 22:22:34 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Aug 2006 22:22:34 +0200 Subject: [Gambas-user] Clear recent project does not work? In-Reply-To: <200608161446.54374.ronstk@...239...> References: <200608161446.54374.ronstk@...239...> Message-ID: <200608162222.34397.gambas@...1...> On Wednesday 16 August 2006 14:46, Ron Onstenk wrote: > I had a look in the .config/gambas/gambas.conf > > > [Recent] > Count="9" > File[1]="/opt/gb/A__source/gambas2" > File[2]="/home/ron/GBapp/A__source35/gb.form.mda" > File[3]="/opt/gb/A__source/gb.form.mda" > File[4]="/opt/gb/share/gambas2/examples/Networking/WebBrowser" > File[5]="/opt/gb/share/gambas2/examples/Basic/DragNDrop" > File[6]="/opt/gb/share/gambas2/examples/Printing/Printing" > File[7]="/opt/gb/share/gambas2/examples/Basic/Blights" > File[8]="/opt/gb/share/gambas2/examples/OpenGL/GambasGears" > File[9]="/home/ron/GBapp/A__source35/gambas2" > File[10]="/opt/gb/share/gambas2/examples/Database/DataReportExample" > File[11]="/opt/gb/share/gambas2/examples/Video/MoviePlayer" > File[12]="/home/ron/GBapp/PrintTwoImages2" > .... > File[32]="/home/ron/GBapp/ImagePicture" > > After I select the Clear Recent option the list is indeed empty. > However on restart gambas all the recent files are back again. > Just the 9 as count tells there are. > > gambas2-1.9.38 > > > Ron OK, I fix that. -- Benoit Minisini From steven at ...1545... Thu Aug 17 02:23:08 2006 From: steven at ...1545... (Steven James Drinnan) Date: Thu, 17 Aug 2006 08:23:08 +0800 Subject: [Gambas-user] test 3 Message-ID: <1155774188.2818.5.camel@...37...> can you see this? From ronstk at ...239... Thu Aug 17 03:30:43 2006 From: ronstk at ...239... (Ron Onstenk) Date: Thu, 17 Aug 2006 03:30:43 +0200 Subject: [Gambas-user] test 3 In-Reply-To: <1155774188.2818.5.camel@...37...> References: <1155774188.2818.5.camel@...37...> Message-ID: <200608170330.44332.ronstk@...239...> On Thursday 17 August 2006 02:23, Steven James Drinnan wrote: > can you see this? > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > No, I can't see it. :) -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From juanramon at ...1546... Thu Aug 17 07:28:43 2006 From: juanramon at ...1546... (juanra) Date: Thu, 17 Aug 2006 07:28:43 +0200 Subject: [Gambas-user] Database problem In-Reply-To: <1155725612.2406.27.camel@...37...> References: <1155722584.2406.1.camel@...37...> <200608161215.51785.gambas@...1...> <1155725612.2406.27.camel@...37...> Message-ID: <1155792523.2446.5.camel@...37...> Benoit, Can you help me, please? Can you respond to the message that sends to you? thans, > Ok Benoit, > > In the example ?Database? of the set of examples of gambas2. > > I want to insert a new registry in the table. > > Pressing the button ?Create? it creates the two tables ?test? and > ?color? in my data base of mysql. > > I want to insert a new registry in de table 'test' pressing the icon > ?new? of the control of the Datasource and writing all the Datacontrol > and when pressing the icon ?to keep? to insert it in the table leaves > the error: ?Cannot create record: Duplicate entry ?xxx? for key 1? > > You can help me to solve the error of the example? > > Thanks, > > > On Wednesday 16 August 2006 12:03, suport wrote: > > > Hello, > > > > > > When executing the example "Database" to see as it works and to insert a > > > new registry in the table of the DataBrowser leaves the error: ?Cannot > > > create record: Duplicate entry ?xxx? for Key 1. > > > > > > You can help me to solve the error of the example? > > > I very am interested > > > > > > > > > > What are you doing exactly with the example? > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From steven at ...1545... Thu Aug 17 08:01:20 2006 From: steven at ...1545... (Steven James Drinnan) Date: Thu, 17 Aug 2006 14:01:20 +0800 Subject: [Gambas-user] Mail list probs and gambas probs Message-ID: <1155794480.2818.17.camel@...37...> Sorry for that i am lots of trouble sending mail to this list It keeps getting bounced the last one said my isp was blacklisted but when i checked both my persnal domain and nevigator.com were fine. any way RE: 1.9.38 I can not use it stabily. if i use gb.forms it crashes when i try and run them. I.E it says it can not create them. any extra devel files i should have? Steven From gambas at ...1... Thu Aug 17 10:39:44 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 17 Aug 2006 10:39:44 +0200 Subject: [Gambas-user] Mail list probs and gambas probs In-Reply-To: <1155794480.2818.17.camel@...37...> References: <1155794480.2818.17.camel@...37...> Message-ID: <200608171039.44901.gambas@...1...> On Thursday 17 August 2006 08:01, Steven James Drinnan wrote: > Sorry for that i am lots of trouble sending mail to this list > It keeps getting bounced > > the last one said my isp was blacklisted but when i checked both > my > persnal domain and nevigator.com were fine. Welcome to the club! > > any way > > RE: 1.9.38 > > I can not use it stabily. > > if i use gb.forms it crashes when i try and run them. > > I.E it says it can not create them. > > > any extra devel files i should have? > > Steven > You must tell at least which distribution you use, check which components are compiled, and that you didn't get any error during the compilation nor the installation. Regards, -- Benoit Minisini From gambas at ...1... Thu Aug 17 10:40:38 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 17 Aug 2006 10:40:38 +0200 Subject: [Gambas-user] Database problem In-Reply-To: <1155792523.2446.5.camel@...37...> References: <1155722584.2406.1.camel@...37...> <1155725612.2406.27.camel@...37...> <1155792523.2446.5.camel@...37...> Message-ID: <200608171040.38176.gambas@...1...> On Thursday 17 August 2006 07:28, juanra wrote: > Benoit, > > Can you help me, please? > > Can you respond to the message that sends to you? > > thans, > > > Ok Benoit, > > > > In the example ?Database? of the set of examples of gambas2. > > > > I want to insert a new registry in the table. > > > > Pressing the button ?Create? it creates the two tables ?test? and > > ?color? in my data base of mysql. > > > > I want to insert a new registry in de table 'test' pressing the icon > > ?new? of the control of the Datasource and writing all the Datacontrol > > and when pressing the icon ?to keep? to insert it in the table leaves > > the error: ?Cannot create record: Duplicate entry ?xxx? for key 1? > > > > You can help me to solve the error of the example? > > > > Thanks, > > Which data do you enter exactly in the fields? -- Benoit Minisini From wdahn at ...1000... Thu Aug 17 13:33:20 2006 From: wdahn at ...1000... (Werner) Date: Thu, 17 Aug 2006 19:33:20 +0800 Subject: [Gambas-user] Mail list probs and gambas probs In-Reply-To: <1155794480.2818.17.camel@...37...> References: <1155794480.2818.17.camel@...37...> Message-ID: <44E45400.5000402@...1000...> Steven James Drinnan wrote: > Sorry for that i am lots of trouble sending mail to this list > It keeps getting bounced > > the last one said my isp was blacklisted but when i checked both > my > persnal domain and nevigator.com were fine. > netvigator, eh? These guys were charging my credit card when I wasn't even their customer. They are real sweethearts. Now I'm on netfront.net. No complaints; perfect usenet server, good spam trap, knowledgable support etc (sorry for going O.T.). So far I am impressed with gambas 1.9.38 (Suse 10.0) but then I've only played around a bit. Looks really nice. Toolbox icon is missing but who cares :-) Next week I'll give it a serious bashing. Werner > > any way > > RE: 1.9.38 > > I can not use it stabily. > > if i use gb.forms it crashes when i try and run them. > > I.E it says it can not create them. > > > any extra devel files i should have? > > Steven > > . > > From juanramon at ...1546... Thu Aug 17 13:41:15 2006 From: juanramon at ...1546... (juanra) Date: Thu, 17 Aug 2006 13:41:15 +0200 Subject: [Gambas-user] Database problem In-Reply-To: <200608171040.38176.gambas@...1...> References: <1155722584.2406.1.camel@...37...> <1155725612.2406.27.camel@...37...> <1155792523.2446.5.camel@...37...> <200608171040.38176.gambas@...1...> Message-ID: <1155814875.2446.27.camel@...37...> - Id: 500 - First Name: PEPE - Name: SASA The rest of fields in target. Pressing the icon ?new? of the control of the Datasource and writing all the Datacontrol and when pressing the icon ?to keep? to insert it in the table leaves the error: ?Cannot create record: Duplicate entry ?xxx? for key 1?. I am sure that I number of ?Id:? not this duplicate in the table. It leaves the error and later it puts it in the table. > On Thursday 17 August 2006 07:28, juanra wrote: > > Benoit, > > > > Can you help me, please? > > > > Can you respond to the message that sends to you? > > > > thans, > > > > > Ok Benoit, > > > > > > In the example ?Database? of the set of examples of gambas2. > > > > > > I want to insert a new registry in the table. > > > > > > Pressing the button ?Create? it creates the two tables ?test? and > > > ?color? in my data base of mysql. > > > > > > I want to insert a new registry in de table 'test' pressing the icon > > > ?new? of the control of the Datasource and writing all the Datacontrol > > > and when pressing the icon ?to keep? to insert it in the table leaves > > > the error: ?Cannot create record: Duplicate entry ?xxx? for key 1? > > > > > > You can help me to solve the error of the example? > > > > > > Thanks, > > > > > Which data do you enter exactly in the fields? > From gambas at ...1... Thu Aug 17 14:49:49 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 17 Aug 2006 14:49:49 +0200 Subject: [Gambas-user] Database problem In-Reply-To: <1155814875.2446.27.camel@...37...> References: <1155722584.2406.1.camel@...37...> <200608171040.38176.gambas@...1...> <1155814875.2446.27.camel@...37...> Message-ID: <200608171449.49365.gambas@...1...> On Thursday 17 August 2006 13:41, juanra wrote: > - Id: 500 > - First Name: PEPE > - Name: SASA > > The rest of fields in target. > > Pressing the icon ?new? of the control of the Datasource and writing all > the Datacontrol and when pressing the icon ?to keep? to insert it in the > table leaves the error: ?Cannot create record: Duplicate entry ?xxx? for > key 1?. > > I am sure that I number of ?Id:? not this duplicate in the table. > > It leaves the error and later it puts it in the table. > Are you *really* sure? Because the example creates by default 1000 records in the database, with ID from 0 to 999. The error message comes from the database, and the database is rarely wrong! -- Benoit Minisini From nando_f at ...1382... Thu Aug 17 14:52:36 2006 From: nando_f at ...1382... (nando) Date: Thu, 17 Aug 2006 08:52:36 -0400 Subject: [Gambas-user] Database problem In-Reply-To: <200608171449.49365.gambas@...1...> References: <1155722584.2406.1.camel@...37...> <200608171040.38176.gambas@...1...> <1155814875.2446.27.camel@...37...> <200608171449.49365.gambas@...1...> Message-ID: <20060817125001.M92329@...1382...> When you write to a record, DO NOT specify a KEY with a value: So, if Id is the key, remove it from the INSERT statement. Keys are (can be) automatic...don't set a value for them If there are 1000 in the table, chances are the KEY already has values from 1 to 1000 and Id=500 is a duplicate. ---------- Original Message ----------- From: Benoit Minisini To: mailing list for gambas users Sent: Thu, 17 Aug 2006 14:49:49 +0200 Subject: Re: [Gambas-user] Database problem > On Thursday 17 August 2006 13:41, juanra wrote: > > - Id: 500 > > - First Name: PEPE > > - Name: SASA > > > > The rest of fields in target. > > > > Pressing the icon [UTF-8?]???new??? of the control of the Datasource and writing all > > the Datacontrol and when pressing the icon [UTF-8?]???to [UTF-8?]keep??? to insert it in the > > table leaves the error: [UTF-8?]???Cannot create record: Duplicate entry [UTF-8?]???xxx??? for > > key [UTF-8?]1???. > > > > I am sure that I number of [UTF-8?]???Id:??? not this duplicate in the table. > > > > It leaves the error and later it puts it in the table. > > > > Are you *really* sure? Because the example creates by default 1000 records in > the database, with ID from 0 to 999. The error message comes from the > database, and the database is rarely wrong! > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From cjro99 at ...67... Thu Aug 17 15:04:31 2006 From: cjro99 at ...67... (javier romero) Date: Thu, 17 Aug 2006 13:04:31 +0000 Subject: [Gambas-user] Its a Bug?...selection Message-ID: Hi, in a proyect i have 2 text box and a buttom, when starts i set the focus and select (text1.selection.all) to the first, if i use the tab buttom when the focus goes to the second text the selection of the first text is clear but, if i click the buttom and in click event i use text2.setfocus() the focus goes to text2 but the selection of text1 is not cleared. The same occurs when i clicked with the mouse over the second text. I supose when a control lose the focus always the selection is cleared is that correct? I'm using ganbas 1.0.16 Thanks Javier _________________________________________________________________ Descubre Live.com - tu mundo en l?nea reunido: noticias, deportes, el tiempo, y mucho m?s. http://www.live.com/getstarted From ronstk at ...239... Thu Aug 17 17:02:32 2006 From: ronstk at ...239... (Ron Onstenk) Date: Thu, 17 Aug 2006 17:02:32 +0200 Subject: [Gambas-user] Its a Bug?...selection In-Reply-To: References: Message-ID: <200608171702.32470.ronstk@...239...> On Thursday 17 August 2006 15:04, javier romero wrote: > Hi, in a proyect i have 2 text box and a buttom, when starts i set the focus and select (text1.selection.all) to the first, if i use the tab buttom when the focus goes to the second text the selection of the first text is clear but, if i click the buttom and in click event i use text2.setfocus() the focus goes to text2 but the selection of text1 is not cleared. The same occurs when i clicked with the mouse over the second text. > > I supose when a control lose the focus always the selection is cleared is that correct? > > I'm using ganbas 1.0.16 > > Thanks > Javier And when the focus go back to text1 ? I need the previous selected to get on clip board and past it somewhere. The selection is part of the control text1 and text2 has also a selection. They do not change if focus is lost. If you want that selection is lost use the Text1_Lostfocus() event. The transfer of selected part is done with the clipboard. Use the right mouse button in the textbox to see a menu for it. In any case the both textboxes has there own selection handler and buffers for it. Just in case you want to do in example: public button1_click() text3.text = text1.selection & text2.selection it should stay selected. end you see why it must stay selected. Ron From wdahn at ...1000... Thu Aug 17 19:19:34 2006 From: wdahn at ...1000... (Werner) Date: Fri, 18 Aug 2006 01:19:34 +0800 Subject: [Gambas-user] Has anyone tried using Firebird db? Daniel are you there? Message-ID: <44E4A526.5000805@...1000...> I have difficulties building libibpp.so. I tried to contact Daniel Vostanikian but his littlesaigon email address is no longer active. Has anyone else had any success? Thanks, Werner From wspinto at ...1405... Thu Aug 17 20:00:17 2006 From: wspinto at ...1405... (wspinto at ...1405...) Date: Thu, 17 Aug 2006 15:00:17 -0300 Subject: [Gambas-user] gb.pdf any questions Message-ID: <1155837617.44e4aeb12167f@...1547...> Hi! in README of gambas not say about the gb.pdf modules for install, and not have any documentation or examples. If any people help me. []s, Wellington ___________________________________________________________________________________ Agora todas as suas liga??es DDD e DDI com o 21 v?m junto com a conta do seu telefone de casa ou celular. Mais comodidade e praticidade para voc?. Faz um 21 e aproveite! From nando_f at ...1382... Thu Aug 17 22:39:29 2006 From: nando_f at ...1382... (nando) Date: Thu, 17 Aug 2006 16:39:29 -0400 Subject: [Gambas-user] Desktop workspaces Message-ID: <20060817203549.M46270@...1382...> What about the possibility for a windows to change desktop workspaces. I had a program running on a workspace that popped up some status windows. I switched to another workspace to perform email and a new popup appeared on top of the email I was writing. If I make many programs and run them on different workspaces, it would be wonderful to make them contrain to it. -Fernando From gambas at ...1... Thu Aug 17 22:53:00 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 17 Aug 2006 22:53:00 +0200 Subject: [Gambas-user] Desktop workspaces In-Reply-To: <20060817203549.M46270@...1382...> References: <20060817203549.M46270@...1382...> Message-ID: <200608172253.01368.gambas@...1...> On Thursday 17 August 2006 22:39, nando wrote: > What about the possibility for a windows to change desktop workspaces. > > I had a program running on a workspace that popped up some status windows. > I switched to another workspace to perform email and a new popup appeared > on top of the email I was writing. > > If I make many programs and run them on different workspaces, it would > be wonderful to make them contrain to it. > -Fernando > Which window manager do you use? -- Benoit Minisini From nando_f at ...951... Thu Aug 17 22:48:15 2006 From: nando_f at ...951... (nando) Date: Thu, 17 Aug 2006 16:48:15 -0400 Subject: [Gambas-user] Desktop workspaces In-Reply-To: <200608172253.01368.gambas@...1...> References: <20060817203549.M46270@...1382...> <200608172253.01368.gambas@...1...> Message-ID: <20060817204809.M6307@...951...> Gnome ---------- Original Message ----------- From: Benoit Minisini To: nando_f at ...951..., mailing list for gambas users Sent: Thu, 17 Aug 2006 22:53:00 +0200 Subject: Re: [Gambas-user] Desktop workspaces > On Thursday 17 August 2006 22:39, nando wrote: > > What about the possibility for a windows to change desktop workspaces. > > > > I had a program running on a workspace that popped up some status windows. > > I switched to another workspace to perform email and a new popup appeared > > on top of the email I was writing. > > > > If I make many programs and run them on different workspaces, it would > > be wonderful to make them contrain to it. > > -Fernando > > > > Which window manager do you use? > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From gambas at ...1... Thu Aug 17 22:57:16 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 17 Aug 2006 22:57:16 +0200 Subject: [Gambas-user] Desktop workspaces In-Reply-To: <20060817204809.M6307@...951...> References: <20060817203549.M46270@...1382...> <200608172253.01368.gambas@...1...> <20060817204809.M6307@...951...> Message-ID: <200608172257.16395.gambas@...1...> On Thursday 17 August 2006 22:48, nando wrote: > Gnome > I ask that because what you want must be done by the window manager. Try to replace metacity by KWM, the KDE window manager. It keeps application windows on the same workspace. Regards, -- Benoit Minisini From cjro99 at ...67... Thu Aug 17 23:41:08 2006 From: cjro99 at ...67... (javier romero) Date: Thu, 17 Aug 2006 21:41:08 +0000 Subject: [Gambas-user] Its a Bug?...selection Message-ID: Oki thanks, i do that in the lostfocus event i di text1.selection.clear Thanks ---------------------------------------- > From: ronstk at ...239... > To: gambas-user at lists.sourceforge.net > Date: Thu, 17 Aug 2006 17:02:32 +0200 > Subject: Re: [Gambas-user] Its a Bug?...selection > > On Thursday 17 August 2006 15:04, javier romero wrote: > > Hi, in a proyect i have 2 text box and a buttom, when starts i set the focus and select (text1.selection.all) to the first, if i use the tab buttom when the focus goes to the second text the selection of the first text is clear but, if i click the buttom and in click event i use text2.setfocus() the focus goes to text2 but the selection of text1 is not cleared. The same occurs when i clicked with the mouse over the second text. > > > > I supose when a control lose the focus always the selection is cleared is that correct? > > > > I'm using ganbas 1.0.16 > > > > Thanks > > Javier > > And when the focus go back to text1 ? > I need the previous selected to get on clip board and past it somewhere. > > The selection is part of the control text1 and text2 has also a selection. > They do not change if focus is lost. > If you want that selection is lost use the Text1_Lostfocus() event. > > The transfer of selected part is done with the clipboard. > Use the right mouse button in the textbox to see a menu for it. > > In any case the both textboxes has there own selection handler > and buffers for it. > > Just in case you want to do in example: > > public button1_click() > text3.text = text1.selection & text2.selection it should stay selected. > end > > you see why it must stay selected. > > Ron > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user _________________________________________________________________ Descubre Live.com - tu propia p?gina de inicio, personalizada para ver r?pidamente todo lo que te interesa en un mismo sitio. http://www.live.com/getstarted From stefanopalmeri at ...152... Fri Aug 18 03:41:13 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Fri, 18 Aug 2006 03:41:13 +0200 Subject: [Gambas-user] SHELL doesn't run scripts stored in executable Message-ID: <200608180341.14010.stefanopalmeri@...152...> Hi, Benoit. In a project source I added a script. I run it and save the output TO a string. Well, there's no problem if I run the project from the IDE, but when I make the executable and run it from console I get an error (bash doesn't found the file). Ok, I can understand it :-) I've attached two little examples to explain the problem: the FAILED and the GOOD. In the GOOD there's a workaround to run a script even in the executable and... that's what I can't understand: I can COPY the script stored in the executable but I can't SHELL it... Regards, Stefano Palmeri -------------- next part -------------- A non-text attachment was scrubbed... Name: run-script-FAILED.tar.gz Type: application/x-tgz Size: 618 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: run-script-GOOD.tar.gz Type: application/x-tgz Size: 654 bytes Desc: not available URL: From stefanopalmeri at ...152... Fri Aug 18 04:17:18 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Fri, 18 Aug 2006 04:17:18 +0200 Subject: [Gambas-user] SHELL doesn't run scripts stored in executable In-Reply-To: <200608180341.14010.stefanopalmeri@...152...> References: <200608180341.14010.stefanopalmeri@...152...> Message-ID: <200608180417.18719.stefanopalmeri@...152...> Alle 03:41, venerd? 18 agosto 2006, Stefano Palmeri ha scritto: > Hi, Benoit. > > In a project source I added a script. I run it and > save the output TO a string. Well, there's no > problem if I run the project from the IDE, but > when I make the executable and run it > from console I get an error (bash doesn't found the file). > > Ok, I can understand it :-) > > I've attached two little examples to explain the problem: > the FAILED and the GOOD. In the GOOD there's a workaround > to run a script even in the executable and... that's > what I can't understand: I can COPY the script stored > in the executable but I can't SHELL it... > > Regards, > > Stefano Palmeri > P.S. The attached examples were made with 1.9.37, so you probably will not see the folder icon when you extract them; but the files are there. Stefano Palmeri From gambas at ...1... Fri Aug 18 07:19:05 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 18 Aug 2006 07:19:05 +0200 Subject: [Gambas-user] SHELL doesn't run scripts stored in executable In-Reply-To: <200608180417.18719.stefanopalmeri@...152...> References: <200608180341.14010.stefanopalmeri@...152...> <200608180417.18719.stefanopalmeri@...152...> Message-ID: <200608180719.05458.gambas@...1...> On Friday 18 August 2006 04:17, Stefano Palmeri wrote: > Alle 03:41, venerd? 18 agosto 2006, Stefano Palmeri ha scritto: > > Hi, Benoit. > > > > In a project source I added a script. I run it and > > save the output TO a string. Well, there's no > > problem if I run the project from the IDE, but > > when I make the executable and run it > > from console I get an error (bash doesn't found the file). > > > > Ok, I can understand it :-) > > > > I've attached two little examples to explain the problem: > > the FAILED and the GOOD. In the GOOD there's a workaround > > to run a script even in the executable and... that's > > what I can't understand: I can COPY the script stored > > in the executable but I can't SHELL it... > > > > Regards, > > > > Stefano Palmeri > > P.S. The attached examples were made with 1.9.37, so you probably > will not see the folder icon when you extract them; but the files > are there. > > Stefano Palmeri > Files inside the executable do not exist outside of the interpreter, and so for any command you run with SHELL or EXEC. It works inside the IDE because the IDE does not use the executable to debug the program, but the uncompressed project. Regards, -- Benoit Minisini From juanramon at ...1546... Fri Aug 18 07:44:34 2006 From: juanramon at ...1546... (juanra) Date: Fri, 18 Aug 2006 07:44:34 +0200 Subject: [Gambas-user] Database problem In-Reply-To: <200608171449.49365.gambas@...1...> References: <1155722584.2406.1.camel@...37...> <200608171040.38176.gambas@...1...> <1155814875.2446.27.camel@...37...> <200608171449.49365.gambas@...1...> Message-ID: <1155879874.2467.11.camel@...37...> OK Benoit, I execute the example of Data base of Gambas2. I create the tables ?test? and ?color? and fill the tables. When I want to insert an element new filling the fields: .- Id: 5000 .- First Name: Juan .- Name: Santi And the rest in target. Pressing the icon ?to keep? to insert it in the table leaves the error: ?Cannot create record: Duplicate entry ?5000? for key 1?. Acceptance error in the end if inserts in the table and if not insert field 'Id:' The error is: "You must fill all mandatory fields". If I make a small example with an empty table, .- Id: 5000 .- First Name: Juan .- Name: Santi the first registry that inserted already leaves the error: ?Cannot create record: Duplicate entry ?5000? for key 1?. Please es very important resolve this problem. Thanks, > On Thursday 17 August 2006 13:41, juanra wrote: > > - Id: 500 > > - First Name: PEPE > > - Name: SASA > > > > The rest of fields in target. > > > > Pressing the icon ?new? of the control of the Datasource and writing all > > the Datacontrol and when pressing the icon ?to keep? to insert it in the > > table leaves the error: ?Cannot create record: Duplicate entry ?xxx? for > > key 1?. > > > > I am sure that I number of ?Id:? not this duplicate in the table. > > > > It leaves the error and later it puts it in the table. > > > > Are you *really* sure? Because the example creates by default 1000 records in > the database, with ID from 0 to 999. The error message comes from the > database, and the database is rarely wrong! > From gambas at ...1... Fri Aug 18 18:42:15 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 18 Aug 2006 18:42:15 +0200 Subject: [Gambas-user] Database problem In-Reply-To: <1155879874.2467.11.camel@...37...> References: <1155722584.2406.1.camel@...37...> <200608171449.49365.gambas@...1...> <1155879874.2467.11.camel@...37...> Message-ID: <200608181842.16014.gambas@...1...> On Friday 18 August 2006 07:44, juanra wrote: > OK Benoit, > > I execute the example of Data base of Gambas2. > > I create the tables ?test? and ?color? and fill the tables. > > When I want to insert an element new filling the fields: > > .- Id: 5000 > .- First Name: Juan > .- Name: Santi > > And the rest in target. > > Pressing the icon ?to keep? to insert it in the table leaves the error: > ?Cannot create record: Duplicate entry ?5000? for key 1?. > > Acceptance error in the end if inserts in the table and if not insert > field 'Id:' The error is: "You must fill all mandatory fields". > > > If I make a small example with an empty table, > > .- Id: 5000 > .- First Name: Juan > .- Name: Santi > > the first registry that inserted already leaves the error: ?Cannot > create record: Duplicate entry ?5000? for key 1?. > > Please es very important resolve this problem. > > Thanks, > I got it! Now I have to find it and fix it... -- Benoit Minisini From sbungay at ...981... Fri Aug 18 19:08:41 2006 From: sbungay at ...981... (Stephen Bungay) Date: Fri, 18 Aug 2006 13:08:41 -0400 Subject: [Gambas-user] Returning locally instantiated Classes & Collections from Functions. Message-ID: <200608181308.41055.sbungay@...981...> Something tells me that we can't do this in gambas. If we have a function that instantiates an instance of a class (or a collection that contains instances of a class) and we return that instance, it will always return a NULL object because the local instance gets destroyed when the function ends.. Is this reasoning correct? Steve. From nando_f at ...1382... Fri Aug 18 20:55:08 2006 From: nando_f at ...1382... (nando) Date: Fri, 18 Aug 2006 14:55:08 -0400 Subject: [Gambas-user] EXEC question Message-ID: <20060818185426.M38899@...1382...> I take it that... EXEC [ "ls", "-la", "/tmp" ] FOR READ AS "Contents" ..is not supported in 1.0.17 ? From gambas at ...1... Fri Aug 18 21:04:11 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 18 Aug 2006 21:04:11 +0200 Subject: [Gambas-user] EXEC question In-Reply-To: <20060818185426.M38899@...1382...> References: <20060818185426.M38899@...1382...> Message-ID: <200608182104.11210.gambas@...1...> On Friday 18 August 2006 20:55, nando wrote: > I take it that... > > EXEC [ "ls", "-la", "/tmp" ] FOR READ AS "Contents" > > > ..is not supported in 1.0.17 ? > No, this is a development version feature. -- Benoit Minisini From gambas at ...1... Fri Aug 18 21:07:30 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 18 Aug 2006 21:07:30 +0200 Subject: [Gambas-user] Returning locally instantiated Classes & Collections from Functions. In-Reply-To: <200608181308.41055.sbungay@...981...> References: <200608181308.41055.sbungay@...981...> Message-ID: <200608182107.30296.gambas@...1...> On Friday 18 August 2006 19:08, Stephen Bungay wrote: > Something tells me that we can't do this in gambas. If we have a function > that instantiates an instance of a class (or a collection that contains > instances of a class) and we return that instance, it will always return a > NULL object because the local instance gets destroyed when the function > ends.. Is this reasoning correct? > > Steve. > No. :-) There is no "local instance". All instances are global. There are just local variables that own a reference on an instance. This reference is lost when you return from the function, but as you return another reference on the same object, the object reference count does not move, and so the object is not destroyed. "Reference" is another name for memory address, with a "reference count" associated with its memory address. Regards, -- Benoit Minisini From sbungay at ...981... Fri Aug 18 22:26:19 2006 From: sbungay at ...981... (sbungay) Date: Fri, 18 Aug 2006 16:26:19 -0400 Subject: [Gambas-user] Returning locally instantiated Classes & Collections from Functions. In-Reply-To: <200608182107.30296.gambas@...1...> References: <200608181308.41055.sbungay@...981...> <200608182107.30296.gambas@...1...> Message-ID: <44E6226B.6060909@...981...> OK. The local reference to the global instance gets destroyed but because we were assigning another reference to the object, the object itself continues to live. Garbage collection occurs when all references to an object are destroyed? Sorry if I'm parroting things back... I just want to understand whats happening. Steve. Benoit Minisini wrote: > On Friday 18 August 2006 19:08, Stephen Bungay wrote: > >> Something tells me that we can't do this in gambas. If we have a function >>that instantiates an instance of a class (or a collection that contains >>instances of a class) and we return that instance, it will always return a >>NULL object because the local instance gets destroyed when the function >>ends.. Is this reasoning correct? >> >>Steve. >> > > > No. :-) > > There is no "local instance". All instances are global. There are just local > variables that own a reference on an instance. This reference is lost when > you return from the function, but as you return another reference on the same > object, the object reference count does not move, and so the object is not > destroyed. > > "Reference" is another name for memory address, with a "reference count" > associated with its memory address. > > Regards, > From gambas at ...1... Fri Aug 18 21:34:46 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 18 Aug 2006 21:34:46 +0200 Subject: [Gambas-user] =?iso-8859-1?q?Returning_locally_instantiated_Class?= =?iso-8859-1?q?es_=26=09Collections_from_Functions=2E?= In-Reply-To: <44E6226B.6060909@...981...> References: <200608181308.41055.sbungay@...981...> <200608182107.30296.gambas@...1...> <44E6226B.6060909@...981...> Message-ID: <200608182134.46802.gambas@...1...> On Friday 18 August 2006 22:26, sbungay wrote: > OK. The local reference to the global instance gets destroyed Not destroyed, just made NULL. > but > because we were assigning another reference to the object, the object > itself continues to live. Garbage collection occurs when all references > to an object are destroyed? Yes. > Sorry if I'm parroting things back... I just want to understand whats > happening. > > Steve. > "parroting"? What does it mean? -- Benoit Minisini From eeller at ...826... Fri Aug 18 21:41:20 2006 From: eeller at ...826... (Eldon Eller) Date: Fri, 18 Aug 2006 12:41:20 -0700 Subject: [Gambas-user] Returning locally instantiated Classes & Collections from Functions. In-Reply-To: <200608182134.46802.gambas@...1...> References: <200608181308.41055.sbungay@...981...> <200608182107.30296.gambas@...1...> <44E6226B.6060909@...981...> <200608182134.46802.gambas@...1...> Message-ID: <44E617E0.2030500@...826...> A parrot is a talking bird that repeats words that it has heard. So "parroting" means repeating things that one has heard without necessarily understanding their meaning. Benoit Minisini wrote: > On Friday 18 August 2006 22:26, sbungay wrote: > >> OK. The local reference to the global instance gets destroyed >> > > Not destroyed, just made NULL. > > >> but >> because we were assigning another reference to the object, the object >> itself continues to live. Garbage collection occurs when all references >> to an object are destroyed? >> > > Yes. > > >> Sorry if I'm parroting things back... I just want to understand whats >> happening. >> >> Steve. >> >> > > "parroting"? What does it mean? > > From gambas at ...1... Fri Aug 18 21:57:03 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 18 Aug 2006 21:57:03 +0200 Subject: [Gambas-user] Returning locally instantiated Classes & Collections from Functions. In-Reply-To: <44E617E0.2030500@...826...> References: <200608181308.41055.sbungay@...981...> <200608182134.46802.gambas@...1...> <44E617E0.2030500@...826...> Message-ID: <200608182157.03372.gambas@...1...> On Friday 18 August 2006 21:41, Eldon Eller wrote: > A parrot is a talking bird that repeats words that it has heard. So > "parroting" means repeating things that one has heard without > necessarily understanding their meaning. > OK :-) -- Benoit Minisini From sbungay at ...981... Fri Aug 18 21:55:41 2006 From: sbungay at ...981... (Stephen Bungay) Date: Fri, 18 Aug 2006 15:55:41 -0400 Subject: [Gambas-user] =?iso-8859-1?q?Returning_locally_instantiated_Class?= =?iso-8859-1?q?es_=26=09Collections_from_Functions=2E?= In-Reply-To: <200608182134.46802.gambas@...1...> References: <200608181308.41055.sbungay@...981...> <44E6226B.6060909@...981...> <200608182134.46802.gambas@...1...> Message-ID: <200608181555.41711.sbungay@...981...> Parroting: (Slang). To repeat back what was said in a manner similar to that of a parrot. Using your own words to repeat back what was said to ensure you understand is also referred to as the "parroting technique". Steve. On Friday 18 August 2006 15:34, Benoit Minisini wrote: > On Friday 18 August 2006 22:26, sbungay wrote: > > OK. The local reference to the global instance gets destroyed > > Not destroyed, just made NULL. > > > but > > because we were assigning another reference to the object, the object > > itself continues to live. Garbage collection occurs when all references > > to an object are destroyed? > > Yes. > > > Sorry if I'm parroting things back... I just want to understand whats > > happening. > > > > Steve. > > "parroting"? What does it mean? From juanramon at ...1546... Fri Aug 18 23:41:25 2006 From: juanramon at ...1546... (juanramon at ...1546...) Date: Fri, 18 Aug 2006 23:41:25 +0200 (CEST) Subject: [Gambas-user] Database problem In-Reply-To: <200608181842.16014.gambas@...1...> References: <1155722584.2406.1.camel@...37...> <200608171449.49365.gambas@...1...> <1155879874.2467.11.camel@...37...> <200608181842.16014.gambas@...1...> Message-ID: <10323.85.50.38.12.1155937285.squirrel@...1548...> Hi, Benoit. Where are the failure? Explain me, please? When we can optine the new fixed version? Can you send my the new version? Cheers, > On Friday 18 August 2006 07:44, juanra wrote: >> OK Benoit, >> >> I execute the example of Data base of Gambas2. >> >> I create the tables ???test??? and ???color??? and fill the tables. >> >> When I want to insert an element new filling the fields: >> >> .- Id: 5000 >> .- First Name: Juan >> .- Name: Santi >> >> And the rest in target. >> >> Pressing the icon ???to keep??? to insert it in the table leaves the >> error: >> ???Cannot create record: Duplicate entry ???5000??? for key 1???. >> >> Acceptance error in the end if inserts in the table and if not insert >> field 'Id:' The error is: "You must fill all mandatory fields". >> >> >> If I make a small example with an empty table, >> >> .- Id: 5000 >> .- First Name: Juan >> .- Name: Santi >> >> the first registry that inserted already leaves the error: ???Cannot >> create record: Duplicate entry ???5000??? for key 1???. >> >> Please es very important resolve this problem. >> >> Thanks, >> > > I got it! Now I have to find it and fix it... > > -- > Benoit Minisini > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Aug 19 00:17:12 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 19 Aug 2006 00:17:12 +0200 Subject: [Gambas-user] Database problem In-Reply-To: <10323.85.50.38.12.1155937285.squirrel@...1548...> References: <1155722584.2406.1.camel@...37...> <200608181842.16014.gambas@...1...> <10323.85.50.38.12.1155937285.squirrel@...1548...> Message-ID: <200608190017.13049.gambas@...1...> On Friday 18 August 2006 23:41, juanramon at ...1546... wrote: > Hi, Benoit. > > Where are the failure? Explain me, please? > > When we can optine the new fixed version? > > Can you send my the new version? > > > > Cheers, > Replace ./comp/src/gb.db.form by this gambas project, and redo the installation. It should fix the problem. Regards, -- Benoit Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.db.form-0.0.111.tar.gz Type: application/x-tgz Size: 34460 bytes Desc: not available URL: From juanramon at ...1546... Sat Aug 19 09:34:10 2006 From: juanramon at ...1546... (juanra) Date: Sat, 19 Aug 2006 09:34:10 +0200 Subject: [Gambas-user] Database problem In-Reply-To: <200608190017.13049.gambas@...1...> References: <1155722584.2406.1.camel@...37...> <200608181842.16014.gambas@...1...> <10323.85.50.38.12.1155937285.squirrel@...1548...> <200608190017.13049.gambas@...1...> Message-ID: <1155972851.2461.3.camel@...37...> OK Benoit you are the best one! Thanks, > On Friday 18 August 2006 23:41, juanramon at ...1546... wrote: > > Hi, Benoit. > > > > Where are the failure? Explain me, please? > > > > When we can optine the new fixed version? > > > > Can you send my the new version? > > > > > > > > Cheers, > > > > Replace ./comp/src/gb.db.form by this gambas project, and redo the > installation. It should fix the problem. > > Regards, > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From juanramon at ...1546... Sat Aug 19 10:32:45 2006 From: juanramon at ...1546... (juanra) Date: Sat, 19 Aug 2006 10:32:45 +0200 Subject: [Gambas-user] DataControl problem Message-ID: <1155976365.2461.11.camel@...37...> Hi, as I can program a button using only datacontrols for looks for a registry? It correctly works Datasource1.MoveNext, Move.Last, etc? but not like looking for certain registry. Thanks, From gambas at ...1... Sat Aug 19 14:25:31 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 19 Aug 2006 14:25:31 +0200 Subject: [Gambas-user] Release of gambas 1.9.39 Message-ID: <200608191425.31853.gambas@...1...> Hi, This new release should fix all the problems introduced in the last version. Moreover, Laurent Carlier has redesigned the SDL component. Now it uses OpenGL for both 2D and 3D drawings. Ask him if you need more information :-) Here is the full changelog: ------------------------------------------------------------------------------- DEVELOPMENT ENVIRONMENT * BUG: Automatic insertion of property handlers should not crash anymore. * BUG: Selecting more than one line during a debugging session does not send garbage to the debugger anymore. * NEW: HBox, VBox, HPanel and VPanel are drawn with a more visual representation. * NEW: The title bar inside the form editor is drawn differently. * NEW: Examples directories are now translated. * NEW: A new highlighting theme made by Ron Onstenk, "Obsidian". * BUG: Function signature tooltip is correctly displayed on one line only again. * NEW: The size of the toolbar control icons now follows the global font size option. * BUG: Clearing the recent files list now works correctly. GB.QT COMPONENT * BUG: The ScrollView now behaves correctly when its arrangement property is set. * BUG: The Drag & Drop should have been really fixed. :-p * BUG: The Window.Close method has been fixed. * BUG: The Show and Hide events are now raised again when a Window is shown or hidden by the window manager, but no action is raised. GB.FORM COMPONENT * NEW: Balloon.Control is a new property that returns the control the balloon points at. * BUG: Many fixes in the Balloon behaviour. * NEW: DirChooser.Picture and FileChooser.Picture are a new properties to set the picture displayed for the root directory. * NEW: Expander is a new container that acts like the Expander GTK+ widget. GB.DB.FORM COMPONENT * BUG: The DataBrowser and DataSource were fixed, and should not raise any spurious error anymore when inserting new records. * NEW: DataBrowser.Orientation is a new property to set the position of the buttons around the DataView. * NEW: True and False value are translated inside the DataView. GB.SDL COMPONENT * NEW: The component was redesigned. The CD-Rom part was removed (see below). gb.sdl.opengl and gb.sdl.image were merged with gb.sdl. * NEW: The SDL and OpenGL examples were updated. GB.SDL.SOUND COMPONENT * NEW: The CD-Rom part of the old gb.sdl component was put there. ------------------------------------------------------------------------------- Enjoy it! -- Benoit Minisini From gambas at ...1... Sat Aug 19 14:57:19 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 19 Aug 2006 14:57:19 +0200 Subject: [Gambas-user] gb.pdf any questions In-Reply-To: <1155837617.44e4aeb12167f@...1547...> References: <1155837617.44e4aeb12167f@...1547...> Message-ID: <200608191457.19306.gambas@...1...> On Thursday 17 August 2006 20:00, wspinto at ...1405... wrote: > Hi! > > in README of gambas not say about the gb.pdf modules for install, and not > have any documentation or examples. > If any people help me. > > []s, > > Wellington > You need the libpoppler.so library. I add that on the wiki. Regards, -- Benoit Minisini From sbungay at ...981... Sat Aug 19 20:18:54 2006 From: sbungay at ...981... (Stephen Bungay) Date: Sat, 19 Aug 2006 14:18:54 -0400 Subject: [Gambas-user] gb.pdf any questions In-Reply-To: <200608191457.19306.gambas@...1...> References: <1155837617.44e4aeb12167f@...1547...> <200608191457.19306.gambas@...1...> Message-ID: <200608191418.54363.sbungay@...981...> Ummm yes. Is there any particular version of poppler required? My FC5 box has poppler 0.5.1-2. the file is in usr/lib (/usr/lib/libpoppler-glib.so), yet gambas ./configure reports it not found and disabled. Steve. P.S. Upgrading from 1.9.37 to 1.9.39. gbpdf never did configure... now I need it. On Saturday 19 August 2006 08:57, Benoit Minisini wrote: > On Thursday 17 August 2006 20:00, wspinto at ...1405... wrote: > > Hi! > > > > in README of gambas not say about the gb.pdf modules for install, and not > > have any documentation or examples. > > If any people help me. > > > > []s, > > > > Wellington > > You need the libpoppler.so library. I add that on the wiki. > > Regards, From sbungay at ...981... Sat Aug 19 20:52:33 2006 From: sbungay at ...981... (Stephen Bungay) Date: Sat, 19 Aug 2006 14:52:33 -0400 Subject: [Gambas-user] poppler header files.. should fix the problem... Message-ID: <200608191452.33887.sbungay@...981...> Found the poppler header files and will install them. Will see if that fixes it. From sbungay at ...981... Sat Aug 19 21:12:08 2006 From: sbungay at ...981... (Stephen Bungay) Date: Sat, 19 Aug 2006 15:12:08 -0400 Subject: [Gambas-user] Still have poppler problems. Message-ID: <200608191512.08218.sbungay@...981...> The devel package is installed and ./configure likes it, but make is having trouble... here is the output from the point where it starts to make all in gb.pdf to it's ultimate demise. Is the poppler devel package broken in FC5? Making all in gb.pdf make[2]: Entering directory `/home/bungayst/Source/gambas2-1.9.39/gb.pdf' make all-recursive make[3]: Entering directory `/home/bungayst/Source/gambas2-1.9.39/gb.pdf' Making all in src make[4]: Entering directory `/home/bungayst/Source/gambas2-1.9.39/gb.pdf/src' if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/poppler -pipe -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/poppler -pipe -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o In file included from main.cpp:28: CPdfDocument.h:35:20: error: PDFDoc.h: No such file or directory CPdfDocument.h:36:29: error: SplashOutputDev.h: No such file or directory CPdfDocument.h:37:18: error: Page.h: No such file or directory CPdfDocument.h:38:25: error: goo/GooList.h: No such file or directory main.cpp:33:26: error: GlobalParams.h: No such file or directory CPdfDocument.h:69: error: ISO C++ forbids declaration of 'PDFDoc' with no type CPdfDocument.h:69: error: expected ';' before '*' token CPdfDocument.h:70: error: ISO C++ forbids declaration of 'SplashOutputDev' with no type CPdfDocument.h:70: error: expected ';' before '*' token CPdfDocument.h:71: error: ISO C++ forbids declaration of 'Page' with no type CPdfDocument.h:71: error: expected ';' before '*' token CPdfDocument.h:72: error: ISO C++ forbids declaration of 'GooList' with no type CPdfDocument.h:72: error: expected ';' before '*' token main.cpp: In function 'int GB_INIT()': main.cpp:60: error: 'globalParams' was not declared in this scope main.cpp:62: error: expected type-specifier before 'GlobalParams' main.cpp:62: error: expected `;' before 'GlobalParams' make[4]: *** [main.lo] Error 1 make[4]: Leaving directory `/home/bungayst/Source/gambas2-1.9.39/gb.pdf/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/bungayst/Source/gambas2-1.9.39/gb.pdf' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/bungayst/Source/gambas2-1.9.39/gb.pdf' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bungayst/Source/gambas2-1.9.39' make: *** [all] Error 2 From lordheavy at ...512... Sat Aug 19 21:36:24 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 19 Aug 2006 21:36:24 +0200 Subject: [Gambas-user] Still have poppler problems. In-Reply-To: <200608191512.08218.sbungay@...981...> References: <200608191512.08218.sbungay@...981...> Message-ID: <200608192136.24698.lordheavy@...512...> Le samedi 19 ao?t 2006 21:12, Stephen Bungay a ?crit?: > The devel package is installed and ./configure likes it, but make is > having trouble... here is the output from the point where it starts to make > all in gb.pdf to it's ultimate demise. Is the poppler devel package broken > in FC5? > No :) gb.pdf is broken for poppler-0.5.x releases, it work pretty well with poppler-0.4.x Regards, From sirfabien at ...626... Sat Aug 19 22:26:54 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Sat, 19 Aug 2006 22:26:54 +0200 Subject: [Gambas-user] Desktop workspaces In-Reply-To: <200608172257.16395.gambas@...1...> References: <20060817203549.M46270@...1382...> <20060817204809.M6307@...951...> <200608172257.16395.gambas@...1...> Message-ID: <200608192226.54191.sirfabien@...626...> Le Jeudi 17 Ao?t 2006 22:57, Benoit Minisini a ?crit?: > On Thursday 17 August 2006 22:48, nando wrote: > > Gnome > > I ask that because what you want must be done by the window manager. Try to > replace metacity by KWM, the KDE window manager. It keeps application > windows on the same workspace. > > Regards, and if toolbox property is set to true ? Fabien From sbungay at ...981... Sat Aug 19 22:40:28 2006 From: sbungay at ...981... (Stephen Bungay) Date: Sat, 19 Aug 2006 16:40:28 -0400 Subject: [Gambas-user] Still have poppler problems. In-Reply-To: <200608192136.24698.lordheavy@...512...> References: <200608191512.08218.sbungay@...981...> <200608192136.24698.lordheavy@...512...> Message-ID: <200608191640.28327.sbungay@...981...> OK, so gb.pdf is broken for poppler 0.5 .x, but I can also report that although YUM said that it installed the devel packages for poppler, it seems it did not install everything required. Here's what I found. The only entry under usr/include/poppler was /glib and under that directory there were 6 files poppler-action.h poppler-attachment.h poppler-document.h poppler-enums.h poppler.h poppler-page.h No wonder make was complaining about missing files! To fix this I downloaded the latest stable tarball source (V0.4.5) of poppler and ran configure make install. Then I renamed the old /usr/include/poppler to /usr/include/poppler_OLD, copied the poppler folder from 'Source/poppler-0.4.5' to '/usr/include', and then copied the folders forfi glib goo qt qt4 splash from 'Source/poppler-0.4.5' to /usr/include/poppler'. Ran make and make install and everything now seems to be working, i.e. gambas shows gb.pdf as an available component (but I haven't yet tested it). So although gb.pdf may be broken for poppler 0.5.x, the devel package that YUM installs on FC5 is so incomplete that you wouldn't be able to make gb.pdf even if it was not broken for poppler 0.5.x. Steve :) On Saturday 19 August 2006 15:36, Laurent Carlier wrote: > Le samedi 19 ao?t 2006 21:12, Stephen Bungay a ?crit?: > > The devel package is installed and ./configure likes it, but make is > > having trouble... here is the output from the point where it starts to > > make all in gb.pdf to it's ultimate demise. Is the poppler devel package > > broken in FC5? > > No :) > > gb.pdf is broken for poppler-0.5.x releases, it work pretty well with > poppler-0.4.x > > Regards, > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mike-nought at ...17... Sat Aug 19 23:39:46 2006 From: mike-nought at ...17... (Mike Nought) Date: Sat, 19 Aug 2006 23:39:46 +0200 Subject: [Gambas-user] How to process Events of an inherited class? Message-ID: <200608192339.48038.mike-nought@...17...> Hi all, I've got a problem: I want to create an own version of the ColumnView-class extended by some other data-values and stuff. Within this class inheriting ColumnView I want to process some Events, the inherited Element raises. For this purpose i did Object.Attach(ME, ME, "FList") which works well. But it is - as far as I tried - not possible to let this class raise it's own Events. I tried the following: EVENT Rename() [...] PUBLIC SUB FList_Rename() [some code] Object.Detach(ME) RAISE Rename Object.Attach(ME, ME, "FList") END Instead of raising the event, nothing happens. Attaching the instance of this class in the parent class disables the execution of the FList_Rename()-Sub above. How can I process an Event of the inherited class as well as raising own events at the same time? Regards, Franz From sirfabien at ...626... Sun Aug 20 00:02:17 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Sun, 20 Aug 2006 00:02:17 +0200 Subject: [Gambas-user] Release of gambas 1.9.39 In-Reply-To: <200608191425.31853.gambas@...1...> References: <200608191425.31853.gambas@...1...> Message-ID: <200608200002.18076.sirfabien@...626...> Le Samedi 19 Ao?t 2006 14:25, Benoit Minisini a ?crit?: About the SDL component the better news is that now the 2D drawing function are used the openGL accelerated library if they are installed by default. The bad new now, if you have not the driver installed for your graphic card... it's a bit more slow than in the past. For exemple on the Shadow of the beast scrolling screen exemple i've on my laptop (turion 64, atiX700, ati privacy driver) : With the old component : 138 frame per sec With the new but without ogl : 35 frame per sec With the new and ogl : 1035 frame per sec... marvellous ! Now the drawing function work as the qt one but no all the fuction are made on the image classe. Now you can apply ogl effect on 2D grapic drawing... And in a near time more... Regards, Fabien From gambas at ...1... Sun Aug 20 01:03:48 2006 From: gambas at ...1... (Benoit Minisini) Date: Sun, 20 Aug 2006 01:03:48 +0200 Subject: [Gambas-user] gb.pdf any questions In-Reply-To: <200608191418.54363.sbungay@...981...> References: <1155837617.44e4aeb12167f@...1547...> <200608191457.19306.gambas@...1...> <200608191418.54363.sbungay@...981...> Message-ID: <200608200103.48257.gambas@...1...> On Saturday 19 August 2006 20:18, Stephen Bungay wrote: > Ummm yes. Is there any particular version of poppler required? My FC5 box > has poppler 0.5.1-2. the file is in usr/lib (/usr/lib/libpoppler-glib.so), > yet gambas ./configure reports it not found and disabled. > > Steve. > > P.S. Upgrading from 1.9.37 to 1.9.39. gbpdf never did configure... now I > need it. > You have to install the *development* package to compile a program that needs a specific library. Moreover, I think gb.pdf does not compile with poppler 0.5, only poppler 0.4, but it should be confirmed. Regards, -- Benoit Minisini From lordheavy at ...512... Sun Aug 20 01:03:38 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 20 Aug 2006 01:03:38 +0200 Subject: [Gambas-user] gb.pdf any questions In-Reply-To: <200608200103.48257.gambas@...1...> References: <1155837617.44e4aeb12167f@...1547...> <200608191418.54363.sbungay@...981...> <200608200103.48257.gambas@...1...> Message-ID: <200608200103.38987.lordheavy@...512...> Le dimanche 20 ao?t 2006 01:03, Benoit Minisini a ?crit?: > On Saturday 19 August 2006 20:18, Stephen Bungay wrote: > > Ummm yes. Is there any particular version of poppler required? My FC5 > > box has poppler 0.5.1-2. the file is in usr/lib > > (/usr/lib/libpoppler-glib.so), yet gambas ./configure reports it not > > found and disabled. > > > > Steve. > > > > P.S. Upgrading from 1.9.37 to 1.9.39. gbpdf never did configure... now I > > need it. > > You have to install the *development* package to compile a program that > needs a specific library. > > Moreover, I think gb.pdf does not compile with poppler 0.5, only poppler > 0.4, but it should be confirmed. > > Regards, I can confirm :) I've got a gb.pdf that compile fine with poppler-0.5 but the image output is totally broken and fuzzy :) Regards, From linuxseeker at ...626... Sun Aug 20 15:38:16 2006 From: linuxseeker at ...626... (LinuxSeeker) Date: Sun, 20 Aug 2006 16:38:16 +0300 Subject: [Gambas-user] Is it possible to read (and write) specific parts of a text file? In-Reply-To: <200608161641.14732.gambas@...1...> References: <200608151248.01804.sourceforge-raindog2@...94...> <200608161641.14732.gambas@...1...> Message-ID: On 8/16/06, Benoit Minisini wrote: > > Look at the LINE INPUT and Scan() functions. It should help. > Thank you, that makes it a little bit easier but still I must be able to write to these specific lines as well. What if I use a TextArea to handle this? Will this make things easier? -------------- next part -------------- An HTML attachment was scrubbed... URL: From linuxseeker at ...626... Sun Aug 20 18:17:46 2006 From: linuxseeker at ...626... (LinuxSeeker) Date: Sun, 20 Aug 2006 19:17:46 +0300 Subject: [Gambas-user] Incorporate files in an application? Message-ID: Is it possible to incorporate some files in an application but without affecting their "individuality"? For example: If I have 7 different files, can I incorporate them in an application so as when a user runs the application the files to be "extracted" to a specific directory? -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe1962 at ...626... Mon Aug 21 05:00:54 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Sun, 20 Aug 2006 23:00:54 -0400 Subject: [Gambas-user] Release of gambas 1.9.39 In-Reply-To: <200608191425.31853.gambas@...1...> References: <200608191425.31853.gambas@...1...> Message-ID: <6c208f950608202000g72a427c2r9b56b2eb2d0b6cc@...627...> On 8/19/06, Benoit Minisini wrote: > Hi, > > This new release should fix all the problems introduced in the last version. > > Moreover, Laurent Carlier has redesigned the SDL component. Now it uses OpenGL > for both 2D and 3D drawings. Ask him if you need more information :-) > Then here's asking Laurent ;) - Do I need a newer version of SDL or is something else wrong? Never had SDL problems building Gambas before. Here's the end of the make output, where the error is: ccache g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/SDL/ -I/usr/include/SDL -D_REENTRANT -pipe -Wall -fno-exceptions -Wno-unused-value -g -Os -fno-omit-frame-pointer -MT SDLapp.lo -MD -MP -MF .deps/SDLapp.Tpo -c SDLapp.cpp -fPIC -DPIC -o .libs/SDLapp.o SDLapp.cpp:41: error: parse error before `__attribute__' SDLapp.cpp: In member function `long int SDLapplication::GetExtents()': SDLapp.cpp:261: error: invalid conversion from `int (*)(...)' to `int (*)(Display*, XEvent*, char*)' make[5]: *** [SDLapp.lo] Error 1 make[5]: Leaving directory `/home/joe1962/packages/3-2package/gambas/gambas2-1.9.39/gb.sdl/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/joe1962/packages/3-2package/gambas/gambas2-1.9.39/gb.sdl/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/joe1962/packages/3-2package/gambas/gambas2-1.9.39/gb.sdl' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/joe1962/packages/3-2package/gambas/gambas2-1.9.39/gb.sdl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/joe1962/packages/3-2package/gambas/gambas2-1.9.39' make: *** [all] Error 2 Regards, Joe1962 From nando_f at ...951... Mon Aug 21 05:24:52 2006 From: nando_f at ...951... (nando) Date: Sun, 20 Aug 2006 23:24:52 -0400 Subject: [Gambas-user] Suggestion... Message-ID: <20060821031816.M43809@...1382...> Benoit, There is Java and there is Java Script. There is Gambas and where is 'Gambas Script' ?? It could be possible to have a running complied Gambas program able to run scripts. It could be possible to have a Gambas Script plugin for web-browsers. ?? -Fernando From sourceforge-raindog2 at ...94... Mon Aug 21 05:50:32 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 20 Aug 2006 23:50:32 -0400 Subject: [Gambas-user] Suggestion... In-Reply-To: <20060821031816.M43809@...1382...> References: <20060821031816.M43809@...1382...> Message-ID: <200608202350.33475.sourceforge-raindog2@...94...> On Sun August 20 2006 23:24, nando wrote: > There is Java and there is Java Script. In case you didn't realize it, the only relationship between Java and Javascript is a marketing one. Sun wrote Java, Netscape wrote Javascript to capitalize on the Java name (and made some kind of deal with Sun to do so.) > There is Gambas and where is 'Gambas Script' ?? I wrote a proof of concept "GambasScript" executable a few years ago. What it did was take a Gambas program in a single file, create a temporary project in /tmp, compile and run it. Unfortunately, since I wrote GambasScript in Gambas and you can't use a script as an interpreter for a script language under Linux (or probably any other OS), I gave up on it. (That was when I joined the call to make Gambas executables "real" (i.e. ELF) executables with the interpreter being a library linked in at runtime, like VB programs are.) But I still think it would be a good idea for there to be a Gambas interpreter that would take a single program file and compile and run it "just in time". > It could be possible to have a Gambas > Script plugin for web-browsers. VBscript as a browser plugin was a horrible idea, and is just now starting to go away. (So were the Tcl and Perl browser plugins.) GambasScript as a browser plugin is also a horrible idea. The language of the web, already decreed by standards bodies, is ECMAscript (the standardized version of Javascript.) If we want to change it, I think our time would be better spent trying to make Javascript suck less than try to get all the browser makers to include a language hardly anyone has ever heard of. I think if we wanted to run Gambas scripts in a web browser, it might be a better idea to just write a Gambas program that includes the web browser component, strip the Gambas scripts out of the
> gb. > NULL value >