Benoit,
Everything compiles ok for me. Here is a tar of my complete db
structure.
Perhaps I have missed one of the changed files in the sqlite driver.
Please try comparing with what I have here.
Nigel
On Mon, 2004-06-28 at 12:44, Benoit Minisini wrote:
> On Sunday 27 June 2004 14:01, Nigel Gerrard wrote:
> > Benoit,
> >
> > Here are the files I have updated. I'm afraid I am too close to the
> > code to think of a way around the conditional tests within the
> > field_index etc. My thoughts are: should functionality be sacrificed
> > for performance.
> >
> > Regards
> >
> > Nigel
>
> Hi, Nigel.
>
> There is a problem: the sqlite driver does not compile anymore!

On Sunday 27 June 2004 14:01, Nigel Gerrard wrote:
> Benoit,
>
> Here are the files I have updated. I'm afraid I am too close to the
> code to think of a way around the conditional tests within the
> field_index etc. My thoughts are: should functionality be sacrificed
> for performance.
>
> Regards
>
> Nigel
Hi, Nigel.
There is a problem: the sqlite driver does not compile anymore!
--
Benoit Minisini
mailto:gambas@...

OK :
I've found the problem, It could happen in both HttpClient and FtpClient
when changing user name or password, if there was a previous connection.
Here's curl 0.4.3 and CHANGELOG updated
Regards,
--
Daniel Campos <danielcampos@...>

Benoit,
Here are the files I have updated. I'm afraid I am too close to the
code to think of a way around the conditional tests within the
field_index etc. My thoughts are: should functionality be sacrificed
for performance.
Regards
Nigel

Hi:
Here's spanish translation for Gambas-0.94. Benoit could you start
gambas in spanish? The properties page of the project has a text
too wide for current label width, RPM wizard too.
Rob:
Could you update the "net" and "net.curl" classes? There has been
some changes in their interfaces, so I can not document them properly
until the wiki update.
Regards,
--
Daniel Campos <danielcampos@...>

On Tuesday 15 June 2004 16:07, Jos=E9 L. Redrejo wrote:
> Mensaje citado por Jean-Michel POURE <jm@...>:
> > Le mardi 15 Juin 2004 16:30, Jos=C3=A9 L. Redrejo Rodr=C3=ADguez a =C3=
=A9crit :
> > > I have prepared new packages for Debian based on the actual Sarge
> > > and Sid flavours of debian
> >
> > When do you think Gambas will enter Debian SID?
> > Cheers, Jean-Michel
>
> I am afraid that I am not an official debian mantainer. I work for the
> LinEx project in Spain (www.linex.org), based on Debian, but not
> directly to Debian. These packages are in our own repository. If want
> gambas in Debian we should make a Request for Packaging in their
> official servers.
>
> I am just beginning now the process of becoming a Debian developper, but
> it will take some months. So, if you want it in Debian soon, you should
> do that request.
Someone already has, and there is even an ITP on gambas too, last time I=20
looked though it was 150-odd days since the ITP.
Grahame

Hello Rob,
I can't find an error but maybe you can find it with comparing your spec file
for mandrake with my spec file for fedora core ? You can find the spec file
and the patch file in attach.
kind regards,
Dries Verachtert

OK, I decided to stop trying to build these 0.93b packages after
the 20th attempt (actually 21st, as I reran it to tee the output
to a file.) The packages get built, and some projects will
execute including the IDE, but trying to load a project in the
IDE results in a simple dialog saying just "Cannot open project
file /path/to/file: Not an object". This also applies to any
new project you attempt to create.... it appears to create the
directory and then produce the above error message.
I can't help but think this is somehow related to what I had to
do to get gbx to run at all in 0.93b...
+ perl -pi -e 's|lib/gambas||' src/comp/gbi.c
+ perl -pi -e 's|lib/gambas||' src/exec/gbx_project.c
Without the above lines, regardless of the arguments to the
configure script, gambas looks for the component files in the
/usr/lib/gambas/lib/gambas directory. Symlinks didn't seem to
help this at all. The configure command I'm presently using
looks like this:
+ ./configure i686-mandrake-linux-gnu --program-prefix=
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/lib --localstatedir=/var/lib
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info
This is simply what's generated by the standard %configure RPM
directive. The "%make" directive just runs "make" by itself.
I have to jump through these hoops because
(a) gambas needs to be installed to the locations described below
for rpmlint to pass it and for Mandrake to accept it, and
(b) all mandrake packages must be entirely buildable without
superuser privileges, and unattended. This means make install
puts them under a temporary directory for RPM to grab, and only
when they're later installed by the superuser do they end up in
their "real" locations.
- All executables for the user to run need to be in /usr/bin.
Other executables (like the library executables that go with
gambas-gui) seem to be okay in /usr/lib/gambas.
- All libraries must be under /usr/lib; previously I had been
putting them in /usr/lib/gambas-$VERSION but now they're just
going into /usr/lib/gambas. In particular, they do not belong
in /usr/lib/gambas/lib/gambas :)
- All documentation must be under
/usr/share/doc/packagename-$VERSION. I have been making
symlinks back to /usr/lib/gambas so that the help system can
find them.
- All include files must be under /usr/include/gambas.
- Libraries, include files and executables cannot be in the same
package. It doesn't matter if all the libraries are only used
by the one app, they have to be separated for Mandrake's scheme.
This has worked fine for me up to gambas 0.92, but with 0.93 I
have had no end of problems trying to make it work. I've made
all kinds of symlinks back and forth to no avail. Attached are
my spec file and the output of the build process. If anyone has
more experience with building gambas than i do, please let me
know if I'm doing anything obviously wrong.
Rob

Le mardi 15 Juin 2004 16:30, Jos=C3=A9 L. Redrejo Rodr=C3=ADguez a =C3=A9cr=
it :
> I have prepared new packages for Debian based on the actual Sarge and
> Sid flavours of debian
When do you think Gambas will enter Debian SID?
Cheers, Jean-Michel

I have prepared new packages for Debian based on the actual Sarge and
Sid flavours of debian. The previous one were useful only if you were
using Debian woody.
To use them with apt it is necessary to add the line
deb http://www.linex.org/sources/debian sarge linex
to the file /etc/apt/sources.list
I have prepared the following packages:
gambas
gambas-doc
gambas-mysql
gambas-postgresql
gambas-doc includes the help and examples
gambas-mysql and gambas-postgresql include the gambas part to use those
databases.
So,
apt-get update
apt-get install gambas-doc gambas-mysql gambas-postgresql
will install the whole stuff
If you find any problem, please tell it to me.
Regards.

On Saturday 05 June 2004 22:39, Fabien Bodard wrote:
> Le samedi 5 Juin 2004 22:28, Benoit Minisini a =E9crit :
> > On Saturday 05 June 2004 14:17, Daniel wrote:
> > > I'm afraid but there's another problem with menus:
> > >
> > > 'Delete' event never raises, nor using "menu.delete" nor
> > > killing the parent window or menu.
> > >
> > > (using both old CMenu files and the fixed new you sent me)
> > >
> > > Regards,
> > >
> > > Daniel Campos
> >
> > Hmm... Logical :-)
> >
> > The event is not used in the source code !!
> >
> > I think I will remove this event for controls and menus, as it can easi=
ly
> > make the application crashes.
> >
> > Regards,
>
> and about the hide event ?
>
> Since 5 or 6 month i try to do a quick explorer based on menu... but if i
> scan all my directories, i think it take too many ressources. So i i've a
> hide event i can dynamiquely (hem) delete the child menu ! or all the menu
> when the upper parent is closed.
>
> I've trying do add this feature myself, but it crash. Mabe, you can do
> that. It will be more usefull than the delete event.
>
> Salutation,
> Fabien Bodard
>
>
I think I can't make a hide event with QT. But I don't understand why the S=
how=20
event is not sufficient...
=2D-=20
Benoit Minisini
mailto:gambas@...

Ummh, two releases in 12 hours!
Well, this is important as I've added a new base class ("Curl"). Both
HttpClient and FtpClient now inherits from "Curl" so they share a lot
of code (there's much more work to do in that sense). The future Telnet
class will also share all that stuff. The new component uses less disk
space and memory when loaded. Source code is lighter too.
Regards,
--
Daniel Campos <danielcampos@...>

Hi:
Here's a new version of the net.curl component :
0.4.0=20
-----
* HttpClient : some code improvements so now it is faster,smaller and
wastes less memory.
* Added 'FtpClient' class.
-> Remember this component is still ALPHA software
-> FtpClient provides just two methods: Get (which allows also to
retrieve a file listing for a directory) and Put.
-> This version works with curl 7.11.0, I do not know if it can
work with previous versions, and I will remove current support
for previous versions when I include new features, as I have not
time enough to test it with 7.10.8, 7.10.7 , etc, and manage
the big bugs existing in these versions in the curl_multi interface,
however, if anybody wants to do that, feel free to do it, this is
free software:-)=20
-> I have not examples yet :-(
=20
P.D:
Beno=EEt: since I applied the patch in the Gambas IDE to allow GTK work, I
can not insert any of the network controls in a form, as each time I try
to save the project I receive the message 'Type Mismatch, wanted string,
got integer instead'=20
--=20
Daniel Campos <danielcampos@...>

Le samedi 5 Juin 2004 22:28, Benoit Minisini a =E9crit :
> On Saturday 05 June 2004 14:17, Daniel wrote:
> > I'm afraid but there's another problem with menus:
> >
> > 'Delete' event never raises, nor using "menu.delete" nor
> > killing the parent window or menu.
> >
> > (using both old CMenu files and the fixed new you sent me)
> >
> > Regards,
> >
> > Daniel Campos
>
> Hmm... Logical :-)
>
> The event is not used in the source code !!
>
> I think I will remove this event for controls and menus, as it can easily
> make the application crashes.
>
> Regards,
and about the hide event ?
Since 5 or 6 month i try to do a quick explorer based on menu... but if i s=
can=20
all my directories, i think it take too many ressources. So i i've a hide=20
event i can dynamiquely (hem) delete the child menu ! or all the menu when=
=20
the upper parent is closed.
I've trying do add this feature myself, but it crash. Mabe, you can do that=
=2E=20
It will be more usefull than the delete event.
Salutation,
=46abien Bodard

On Saturday 05 June 2004 14:17, Daniel wrote:
> I'm afraid but there's another problem with menus:
>
> 'Delete' event never raises, nor using "menu.delete" nor
> killing the parent window or menu.
>
> (using both old CMenu files and the fixed new you sent me)
>
> Regards,
>
> Daniel Campos
>
Hmm... Logical :-)
The event is not used in the source code !!
I think I will remove this event for controls and menus, as it can easily make
the application crashes.
Regards,
--
Benoit Minisini
mailto:gambas@...

I'm afraid but there's another problem with menus:
'Delete' event never raises, nor using "menu.delete" nor=20
killing the parent window or menu.
(using both old CMenu files and the fixed new you sent me)
Regards,
Daniel Campos
El s=E1b, 05-06-2004 a las 00:49, Benoit Minisini escribi=F3:
> On Saturday 05 June 2004 00:28, Daniel wrote:
> > OK, it works!
>=20
> Cool.
>=20
> >
> > Just 3 questions more... There are two properties that have not effect
> > in 'root menus', that is, menus that are children of a Window:
> >
> > - Picture : these menus have no picture, but I can do Menu.Picture=3D(a
> > picture), and that menu seems to really have a picture (I can read the
> > property)
> >
> > - Checked : these menus do not show the 'check', and if I try to do
> > Menu.Checked=3DTRUE, when I read the property it always says 'FALSE'
> >
> >
> > And the questions are:
> >
> > 1) Why these menus have no picture and can not be checked?
>=20
> Because of QT: the menu class hides all the specific Qt management of men=
us.
>=20
> In a few words: QT has only a QPopupMenu class that you fills with separa=
tors=20
> and entries, that are not widgets!
>=20
> To have the same simple semantic as VB, a gambas menu object becomes a tr=
ue QT=20
> QPopupMenu widget only when it gets children. Otherwise, it is just an it=
em=20
> inserted in its parent, which can be a QPopupMenu, or the menubar of the=20
> window.
>=20
> And the window menu bar is a QMenuBar widget that don't display the pictu=
res=20
> associated with its entries. So...
>=20
> >
> > 2) If it is not possible or desiderable(why not?), why picture property
> > is stored, but 'checked' has no effect?
>=20
> Checked has no effect because QMenuBar do not use it.
>=20
> >
> > 3) Why these root menus, and menus which have children do not fire the
> > 'clicked' event?
>=20
> Because of QT. QPopupMenu and QMenuBar raise a signal when one if its chi=
ld is=20
> clicked, except if it is another poupmenu. And QMenuBar raises the signal=
,=20
> but the gambas don't catch it. I didn't do that because I don't like entr=
ies=20
> in the window menu bar that are not real menus.
>=20
> Regards,

Could someone try this and see if they get the same results.
Run the attached project and do the following :
1) click help->rules
2) click next
3) click next
4) click back
I've altered my code so that the heading displays the height of the FRules
form.
What I'm seeing here is that the height of the form after step 2 is 536,
after step 3 the height is 520 and after step 4 the value is 536 but the
actual height of the form as it appears on the screen is 520.
Grahame

On Saturday 05 June 2004 00:53, Daniel Campos wrote:
> Hi again:
>
> Now I'm beginning to write the 'Delete' method for controls and
> trying to free all properly, as you know 'tag' property is
> stored in:
>
> GB_VARIANT_VALUE tag;
>
> How can I free that? is GB.Free() OK or should I use any other
> function?
>
> Regards,
GB.StoreVariant(NULL, &tag);
I suggest you read the CWidget.cpp QT component source file. Everything is
done after receiving a 'destroy' signal. I think you should have an
equivalent signal in GTK+, and that you just have to copy and adapt the code
from the QT component.
Regards,
--
Benoit Minisini
mailto:gambas@...

Community

Help

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details