Re: [Lazarus] SQLTransaction won't start

2014-03-14 Thread Petr Hlozek
I wanted to find out where is the problem and started with breakpoint
on db := TMySQL55Connection.Create. It went fine until it reached
db.Open line. After I hit F8 on this line, it hangs. Next time it
hangs on tr.StartTransaction with this error:

The GDB command:
"ptype tr.StartTransaction"
did not return any result.

Very sad :(.

It seems I have to try it in virtual machine with latest FPC and
Lazarus. It will be interesting but I can't use it. It won't be part
of Ubuntu 12.04, it's not in Debian, yet :(.


Petr

2014-03-15 7:13 GMT+01:00 silvioprog :
> 2014-03-15 3:06 GMT-03:00 Petr Hlozek :
>
>> It's inactive even after I execute a query. If AUTO COMMIT is set to 0
>> ,the changes are not saved to database. Very bad.
>
>
> Very very bat.
>
>>
>> Yes, I could use other DB components, but my app already has over 60k
>> lines of code, several threads connected to DB etc. It won't be easy
>> to move to something else :(.
>
>
> Can you test it in latest FPC 2.6.4 (using a virtual machine, sure)?
>

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SQLTransaction won't start

2014-03-14 Thread silvioprog
2014-03-15 3:06 GMT-03:00 Petr Hlozek :

> It's inactive even after I execute a query. If AUTO COMMIT is set to 0
> ,the changes are not saved to database. Very bad.
>

Very very bat.


> Yes, I could use other DB components, but my app already has over 60k
> lines of code, several threads connected to DB etc. It won't be easy
> to move to something else :(.


Can you test it in latest FPC 2.6.4 (using a virtual machine, sure)?

-- 
Silvio Clécio
My public projects - github.com/silvioprog
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SQLTransaction won't start

2014-03-14 Thread Petr Hlozek
It's inactive even after I execute a query. If AUTO COMMIT is set to 0
,the changes are not saved to database. Very bad.

Yes, I could use other DB components, but my app already has over 60k
lines of code, several threads connected to DB etc. It won't be easy
to move to something else :(.

Petr

2014-03-14 19:46 GMT+01:00 silvioprog :
> 2014-03-14 11:55 GMT-03:00 Petr Hlozek :
>
>> Yes, I did. It's in uses like mysql55conn.
>>
>> Petr
>
>
> Hm... Try to set a SQL in your query, after, use the q.Open (the
> starttransaction will automaticaly triggered) method, checking if
> transaction keeps inactive.
>
> justa a tip: take a little time to see this nice and slim project:
> https://github.com/silvioprog/dopf.. ;)
>
> --
> Silvio Clécio
> My public projects - github.com/silvioprog
>
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
http://HamQTH.com/ok2cqr
http://ok2cqr.com
http://cqrlog.com
http://cqrtest.com

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SQLTransaction won't start

2014-03-14 Thread Petr Hlozek
It won't start even when I execute a query. After q.open the
transaction is still not active. I think, it should start after
StartTransaction is called, not after first query.

Petr

2014-03-14 19:39 GMT+01:00 Marc Santhoff :
> On Fr, 2014-03-14 at 18:37 +0100, Petr Hlozek wrote:
>> It's the name of database. My testing database is called "test". I
>> posted the table create command to infom about db engine I use for it.
>
> Oops. ;)
>
> Maybe the TSQLQuery instance hinders the transaction from goping active,
> because it's SQL is empty or similar.
>
> Marc

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread Maciej Izak
>
> Why not simply cooperate with the FPC and Lazarus teams ? I'm sure they
> will welcome additional manpower. FPC accepts patches, so does Lazarus.
>
> These fragmented projects really are not fun. Discrepancies will start
> growing.
> Soon the FPC team will have to go back to using a text editor to ensure
> code works in all IDEs :(


Don't worry! Before each release I want to send all the patches and
extensions. :) I care about compatibility.

Regards,
Maciej Izak (hnb)
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread silvioprog
2014-03-14 17:10 GMT-03:00 Dmitry Boyarintsev :

> A multilingual IDE
> http://forum.lazarus.freepascal.org/index.php/topic,22236.0.html
>

Thank you! (y)

-- 
Silvio Clécio
My public projects - github.com/silvioprog
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread Dmitry Boyarintsev
A multilingual IDE
http://forum.lazarus.freepascal.org/index.php/topic,22236.0.html

FPC/Lazarus based, though it doesn't specifically target pascal
development, though.

thanks,
Dmitry


On Fri, Mar 14, 2014 at 3:10 PM, silvioprog  wrote:

>
> Sorry for my ignorance, but, what is XeroCoder?
>
> --
> Silvio Clécio
> My public projects - github.com/silvioprog
>
>
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread FreeMan

Did you try helping by providing source code?

No, not YET, because I'm still learning and I'm not expert. I'm using 
rxset, I added #0025524. I have one more, I will add after more test. I 
wrote TExlookup Component, my plan I share it too but need more work on 
it. IDE code more complicated for me (yet) And I send my install and 
update svn fpc & lazarus script.

Just don't forget everyone has not now all code and/or expert.

We can do Pascal source code.

Yes, absolutely right.
regards


14-03-2014 21:27 tarihinde, Juha Manninen yazdı:

Yes Juha, FreeSparta is  good viewing on video, But he wrote "Already done
by me :D" and no share or detail. so, for get it, what we can do our self?

We can do Pascal source code.

Regards,
Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread Juha Manninen
On Fri, Mar 14, 2014 at 6:47 PM, FreeMan  wrote:
> I mean, are Lazarus team want to say, not need suggestion, so don't tell us
> suggestion, you can use, if we, what we do.
> I wrote 3 suggestion, 2 good idea writed, but, for first suggestion do
> nothing. for second suggestion next year maybe. 3. suggestion, for fpc svn
> install script, I was share mine, but problem "OVERRIDEVERSIONCHECK=1" not
> write again I was write all detail.

What do you think, who should implement your suggestion? Me? Somebody else? Who?
The problem in this (like in many other) open source project is that
there are more ideas than there are people willing to implement those
ideas.
The best way to get your ideas through is to implement them yourself.
Just provide a patch and very likely it will be accepted.
For example a patch for issue #18811 would certainly be accepted.
Sometimes it happens that all developers are busy with other things
and a patch is ignored for a long time. If that happened for you then
I apologise and I promise to look at your patch. Just tell me the
details where to find it.


> I'm just do NOT want to thing like this, "Why I'm STILL trying helping,
> testing, just loosing time. If I have problem, write it to forum or mail
> list, if some one write answer is good, if no answer, forget it, use
> different way"

You forgot the most important thing: source code. Did you try helping
by providing source code? It is ultimately the only thing that matters
in a SW projects. Don't you agree?


> Yes Juha, FreeSparta is  good viewing on video, But he wrote "Already done
> by me :D" and no share or detail. so, for get it, what we can do our self?

We can do Pascal source code.

Regards,
Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread silvioprog
2014-03-14 15:38 GMT-03:00 Dmitry Boyarintsev :

> On Fri, Mar 14, 2014 at 1:58 PM, Michael Van Canneyt <
> mich...@freepascal.org> wrote:
>
>> On Fri, 14 Mar 2014, Maciej Izak wrote:
>>
>>  I want to start FreePascal/Lazarus foundation named FreeSparta, which
>>> will be possible to sponsor new open source libraries
>>> (gestures, live bindings / data binding, more Delphi compatible RTL,
>>> remote debugger, ToolsAPI). FreeSparta license is the
>>> same as Lazarus but it will be possible to buy an optional extra quality
>>> tools. I want to enter the synergy (and accelerate
>>> the development of Lazarus and FPC) between the open source project and
>>> commercial additives.
>>>
>>
> For Martin:
> That's my point of developing Pascal based debugger API as independent
> from either compiler (FPC and Delphi friendly) as well as IDE (no bindings
> for Lazarus / LCL)
>
> Another upspiral of IDEs development: FreeSparta, XeroCoder and, sure,
> CodeTyphon .. and I know some similar works in Russian pascal community ...
> they all would benefit from having a good debugging API :)
>
> thanks,
> Dmitry
>

Sorry for my ignorance, but, what is XeroCoder?

-- 
Silvio Clécio
My public projects - github.com/silvioprog
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread Juha Manninen
On Fri, Mar 14, 2014 at 7:31 PM, Maciej Izak  wrote:
> FreeSparta is the new Lazarus distro. The aim of the project is to provide
> better quality and user experience (at the beginning only for windows, maybe
> with "out of the box" cross-compilation).

Ok, it is a fork like CodeTyphoon with maybe a little different focus.
I am also wondering why you cannot contribute the bug fixes directly
for Lazarus and FPC.
You could still make a business around them.

Anyway, good luck with your project!
Commercial support and products are needed around these open source projects.

Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SQLTransaction won't start

2014-03-14 Thread silvioprog
2014-03-14 11:55 GMT-03:00 Petr Hlozek :

> Yes, I did. It's in uses like mysql55conn.
>
> Petr


Hm... Try to set a SQL in your query, after, use the q.Open (the
starttransaction will automaticaly triggered) method, checking if
transaction keeps inactive.

justa a tip: take a little time to see this nice and slim project:
https://github.com/silvioprog/dopf.. ;)

-- 
Silvio Clécio
My public projects - github.com/silvioprog
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SQLTransaction won't start

2014-03-14 Thread Marc Santhoff
On Fr, 2014-03-14 at 18:37 +0100, Petr Hlozek wrote:
> It's the name of database. My testing database is called "test". I
> posted the table create command to infom about db engine I use for it.

Oops. ;)

Maybe the TSQLQuery instance hinders the transaction from goping active,
because it's SQL is empty or similar.

Marc

-- 
Marc Santhoff 


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread Dmitry Boyarintsev
On Fri, Mar 14, 2014 at 1:58 PM, Michael Van Canneyt  wrote:

> On Fri, 14 Mar 2014, Maciej Izak wrote:
>
>  I want to start FreePascal/Lazarus foundation named FreeSparta, which
>> will be possible to sponsor new open source libraries
>> (gestures, live bindings / data binding, more Delphi compatible RTL,
>> remote debugger, ToolsAPI). FreeSparta license is the
>> same as Lazarus but it will be possible to buy an optional extra quality
>> tools. I want to enter the synergy (and accelerate
>> the development of Lazarus and FPC) between the open source project and
>> commercial additives.
>>
>
For Martin:
That's my point of developing Pascal based debugger API as independent from
either compiler (FPC and Delphi friendly) as well as IDE (no bindings for
Lazarus / LCL)

Another upspiral of IDEs development: FreeSparta, XeroCoder and, sure,
CodeTyphon .. and I know some similar works in Russian pascal community ...
they all would benefit from having a good debugging API :)

thanks,
Dmitry
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread Michael Van Canneyt



On Fri, 14 Mar 2014, Maciej Izak wrote:


Juha Manninen, Michael Van Canneyt, FreeMan
 
I am still curious about what is FreeSparta?

 
FreeSparta is the new Lazarus distro. The aim of the project is to provide 
better quality and user experience (at the
beginning only for windows, maybe with "out of the box" cross-compilation). 

I want to start FreePascal/Lazarus foundation named FreeSparta, which will be 
possible to sponsor new open source libraries
(gestures, live bindings / data binding, more Delphi compatible RTL, remote 
debugger, ToolsAPI). FreeSparta license is the
same as Lazarus but it will be possible to buy an optional extra quality tools. 
I want to enter the synergy (and accelerate
the development of Lazarus and FPC) between the open source project and 
commercial additives. 

With first release will be included the "Generics.*" library (new and much 
better version of fpc-generics-collections),
fixes for a few (IMO) critical Lazarus errors and new modern UX.

Project is almost ready :). 


Why not simply cooperate with the FPC and Lazarus teams ? 
I'm sure they will welcome additional manpower. FPC accepts patches, so does Lazarus.


These fragmented projects really are not fun. Discrepancies will start growing.
Soon the FPC team will have to go back to using a text editor to ensure code 
works in all IDEs :(

Michael.--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SQLTransaction won't start

2014-03-14 Thread Petr Hlozek
It's the name of database. My testing database is called "test". I
posted the table create command to infom about db engine I use for it.

Petr

2014-03-14 17:25 GMT+01:00 Marc Santhoff :
> On Fr, 2014-03-14 at 12:20 +0100, Petr Hlozek wrote:
>> Hi,
>>
>> I use TMySQL55Connection, TSQLTransaction and TSQLQuery. I always get
>> Transaction is NOT active.
>>
>> here is the code:
>>
>> procedure TForm1.Button1Click(Sender: TObject);
>> var
>>   db : TMySQL55Connection;
>>   q  : TSQLQuery;
>>   tr : TSQLTransaction;
>> begin
>>   db := TMySQL55Connection.Create(nil);
>>   q  := TSQLQuery.Create(nil);
>>   tr := TSQLTransaction.Create(nil);
>>   try try
>> db.DatabaseName := 'test';
>
> Here you ask for table "test".
>
>>
>> CREATE TABLE test_table (
>
> And here you create a table named "test_table".
>
> Change the table name on creation or ask for the correct name could be
> it.
>
>>   id bigint NOT NULL AUTO_INCREMENT PRIMARY KEY,
>>   myfield varchar(100) DEFAULT ''
>> ) ENGINE='InnoDB' COLLATE 'utf8_bin';
>
> --
> Marc Santhoff 
>
>
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



-- 
http://HamQTH.com/ok2cqr
http://ok2cqr.com
http://cqrlog.com
http://cqrtest.com

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread FreeMan
I mean, are Lazarus team want to say, not need suggestion, so don't tell 
us suggestion, you can use, if we, what we do.
I wrote 3 suggestion, 2 good idea writed, but, for first suggestion do 
nothing. for second suggestion next year maybe. 3. suggestion, for fpc 
svn install script, I was share mine, but problem 
"OVERRIDEVERSIONCHECK=1" not write again I was write all detail.


I'm just do NOT want to thing like this, "Why I'm STILL trying helping, 
testing, just loosing time. If I have problem, write it to forum or mail 
list, if some one write answer is good, if no answer, forget it, use 
different way"


Yes Juha, FreeSparta is  good viewing on video, But he wrote "Already 
done by me :D" and no share or detail. so, for get it, what we can do 
our self?

Regards


14-03-2014 17:38 tarihinde, Juha Manninen yazdı:


On Fri, Mar 14, 2014 at 5:15 PM, FreeMan > wrote:


Status acknowledged
2011-02-23 17:48 Created
2012-03-17 17:57 Zeljan Rikalo   => 1.2
2014-01-14 15:16 Martin Friebe   1.2 => 1.4
svn version is 1.3

whats is the meaning of all this, kindly explain this please.


Nobody implemented the feature for Lazarus 1.0 so Zeljan postponed it 
for Lazarus 1.2 two years ago.
Nobody implemented it for Lazarus 1.2 either so Martin postponed it 
for Lazarus 1.4 which will be the next release.
Lazarus 1.3 is the development version that will finally turn into 
1.4 around a year from now.


I am still curious about what is FreeSparta?

Regards,
Juha


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread Maciej Izak
Juha Manninen, Michael Van Canneyt, FreeMan


> I am still curious about what is FreeSparta?
>
>
FreeSparta is the new Lazarus distro. The aim of the project is to provide
better quality and user experience (at the beginning only for windows,
maybe with "out of the box" cross-compilation).

I want to start FreePascal/Lazarus foundation named FreeSparta, which will
be possible to sponsor new open source libraries (gestures, live bindings /
data binding, more Delphi compatible RTL, remote debugger, ToolsAPI).
FreeSparta license is the same as Lazarus but it will be possible to buy an
optional extra quality tools. I want to enter the synergy (and accelerate
the development of Lazarus and FPC) between the open source project and
commercial additives.

With first release will be included the "Generics.*" library (new and much
better version of fpc-generics-collections), fixes for a few (IMO) critical
Lazarus errors and new modern UX.

Project is almost ready :).

Regards
Maciej Izak (hnb),
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SQLTransaction won't start

2014-03-14 Thread Marc Santhoff
On Fr, 2014-03-14 at 12:20 +0100, Petr Hlozek wrote:
> Hi,
> 
> I use TMySQL55Connection, TSQLTransaction and TSQLQuery. I always get
> Transaction is NOT active.
> 
> here is the code:
> 
> procedure TForm1.Button1Click(Sender: TObject);
> var
>   db : TMySQL55Connection;
>   q  : TSQLQuery;
>   tr : TSQLTransaction;
> begin
>   db := TMySQL55Connection.Create(nil);
>   q  := TSQLQuery.Create(nil);
>   tr := TSQLTransaction.Create(nil);
>   try try
> db.DatabaseName := 'test';

Here you ask for table "test".

> 
> CREATE TABLE test_table (

And here you create a table named "test_table".

Change the table name on creation or ask for the correct name could be
it.

>   id bigint NOT NULL AUTO_INCREMENT PRIMARY KEY,
>   myfield varchar(100) DEFAULT ''
> ) ENGINE='InnoDB' COLLATE 'utf8_bin';

-- 
Marc Santhoff 


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread Juha Manninen
On Fri, Mar 14, 2014 at 5:15 PM, FreeMan wrote:

>  Status   acknowledged
> 2011-02-23 17:48 Created
> 2012-03-17 17:57 Zeljan Rikalo   => 1.2
> 2014-01-14 15:16 Martin Friebe   1.2 => 1.4
> svn version is 1.3
>
> whats is the meaning of all this, kindly explain this please.
>

Nobody implemented the feature for Lazarus 1.0 so Zeljan postponed it
for Lazarus 1.2 two years ago.
Nobody implemented it for Lazarus 1.2 either so Martin postponed it
for Lazarus 1.4 which will be the next release.
Lazarus 1.3 is the development version that will finally turn into
1.4 around a year from now.

I am still curious about what is FreeSparta?

Regards,
Juha
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread FreeMan

Status   acknowledged
2011-02-23 17:48 Created
2012-03-17 17:57 Zeljan Rikalo   => 1.2
2014-01-14 15:16 Martin Friebe   1.2 => 1.4
svn version is 1.3

whats is the meaning of all this, kindly explain this please.


14-03-2014 02:25 tarihinde, Juha Manninen yazdı:

This already exists:

Summary 0018811: Hide/Show components in form designer


I apparently supported the idea back then.
Now somebody just have to implement it.

Juha
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SQLTransaction won't start

2014-03-14 Thread Petr Hlozek
Yes, I did. It's in uses like mysql55conn.

Petr

2014-03-14 15:34 GMT+01:00 silvioprog :
> 2014-03-14 8:20 GMT-03:00 Petr Hlozek :
>
>> Hi,
>>
>> I use TMySQL55Connection, TSQLTransaction and TSQLQuery. I always get
>> Transaction is NOT active.
>>
>> here is the code:
>>
>> procedure TForm1.Button1Click(Sender: TObject);
>> var
>>   db : TMySQL55Connection;
>
>
> Are you declared the mysql55conn unit on uses clause?
>
> --
> Silvio Clécio
> My public projects - github.com/silvioprog

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SQLTransaction won't start

2014-03-14 Thread silvioprog
2014-03-14 8:20 GMT-03:00 Petr Hlozek :

> Hi,
>
> I use TMySQL55Connection, TSQLTransaction and TSQLQuery. I always get
> Transaction is NOT active.
>
> here is the code:
>
> procedure TForm1.Button1Click(Sender: TObject);
> var
>   db : TMySQL55Connection;


Are you declared the mysql55conn unit on uses clause?

-- 
Silvio Clécio
My public projects - github.com/silvioprog
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Wiki

2014-03-14 Thread Antonio Fortuny

Hi all.

I would like to thank you all for your help to solve this silly problem.
My first real contribution to this very exciting project is on the way.
The first page is on
http://wiki.lazarus.freepascal.org/Yet_another_Running_Timer
It is still under development, so be patient.

Antonio.



---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce 
que la protection avast! Antivirus est active.
http://www.avast.com
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Wiki

2014-03-14 Thread Antonio Fortuny


Le 14/03/2014 14:46, Dmitry Boyarintsev a écrit :

On Fri, Mar 14, 2014 at 9:14 AM, Reinier Olislagers
mailto:reinierolislag...@gmail.com>> wrote:


Be my guest ;)

Here you go: http://postimg.org/image/5z642myqh/

Definitely yes !!
This a damned good path explained 8-) , just a little too late for me
:-D , as I did find the same way on my own following Reinier's advice
Anyway I do really appreciate Dmitry, thanks.
I believe that this page should be somewhere in the FPC-Lazarus wiki at
the very beginning with as big as possible capital letters for the next
newbees.

Antonio.


Antonio, hope that helps




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce 
que la protection avast! Antivirus est active.
http://www.avast.com
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Wiki

2014-03-14 Thread Dmitry Boyarintsev
On Fri, Mar 14, 2014 at 9:14 AM, Reinier Olislagers <
reinierolislag...@gmail.com> wrote:

>
> Be my guest ;)
>
> Here you go: http://postimg.org/image/5z642myqh/

Antonio, hope that helps
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Wiki

2014-03-14 Thread Reinier Olislagers
On 14/03/2014 13:45, Antonio Fortuny wrote:
> 
> Le 14/03/2014 13:26, Reinier Olislagers a écrit :
>> On 14/03/2014 12:57, Antonio Fortuny wrote:
>>> Le 20/01/2014 16:06, Antonio Fortuny a écrit :
>>> Sorry to come back to t his thread but I'm still suck on how to create a
>>> new page in the Lazarus Wiki. Nothing found on help on how to create a
>>> new page.
>> Have you seen my answer to your original post?
> Yes Reinier I did. But I'll have to admit that I'm a little bit tired
> (maybe some more than a little bit ?) O:-)
> I apologize anyway.
No problem at all. I'm often tired myself & have the same things.

Always glad to help somebody who gives back to the commununity...

> Page created
> http://wiki.lazarus.freepascal.org/Components_and_Code_examples, System,
> Yet another Running Timer
> 
> 

All's well that ends well!

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Wiki

2014-03-14 Thread Reinier Olislagers
On 14/03/2014 13:36, Dmitry Boyarintsev wrote:
> On Fri, Mar 14, 2014 at 8:26 AM, Reinier Olislagers
> mailto:reinierolislag...@gmail.com>> wrote:
> 
> 
> Have you seen my answer to your original post?
> 
> 
> Reading is outdated. 
> Just do screenshots or publish a tutorial video on Youtube :) 
> 

Be my guest ;)


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Wiki

2014-03-14 Thread Mark Morgan Lloyd

Antonio Fortuny wrote:

Sorry to come back to t his thread but I'm still suck on how to create a 
new page in the Lazarus Wiki. Nothing found on help on how to create a 
new page.

As soon as it creataed to link it to another page sounds easy.
To fill the page, add files, etc., is a piece of cake.


Search for the topic you want to create a new page on. If there's not 
already a page you'll see something like


There were no results matching the query.

Create the page "Quatermass" on this wiki!

Click on the bit that behaves like a link.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Wiki

2014-03-14 Thread Michael Van Canneyt



On Fri, 14 Mar 2014, Dmitry Boyarintsev wrote:


On Fri, Mar 14, 2014 at 8:26 AM, Reinier Olislagers 
 wrote:

Have you seen my answer to your original post?


Reading is outdated. 
Just do screenshots or publish a tutorial video on Youtube :) 


Eh... No, please, I actually prefer reading :)

I never watch videos. They are always on the wrong speed for me. Too 
sloow.
With reading, at least I can skip the text to the interesting part.
This is not possible with videos.

Michael.--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Wiki

2014-03-14 Thread Antonio Fortuny


Le 14/03/2014 13:26, Reinier Olislagers a écrit :

On 14/03/2014 12:57, Antonio Fortuny wrote:

Le 20/01/2014 16:06, Antonio Fortuny a écrit :
Sorry to come back to t his thread but I'm still suck on how to create a
new page in the Lazarus Wiki. Nothing found on help on how to create a
new page.

Have you seen my answer to your original post?

Yes Reinier I did. But I'll have to admit that I'm a little bit tired
(maybe some more than a little bit ?) O:-)
I apologize anyway.
Page created
http://wiki.lazarus.freepascal.org/Components_and_Code_examples, System,
Yet another Running Timer


Thanks,

Antonio.

If you search for a page on the wiki whose title does not yet exist, you
are prompted if you want to create a page with that title which
apparently is the way to create new wiki pages (it works, but it took me
some getting used to).



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce 
que la protection avast! Antivirus est active.
http://www.avast.com
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Wiki

2014-03-14 Thread Dmitry Boyarintsev
On Fri, Mar 14, 2014 at 8:26 AM, Reinier Olislagers <
reinierolislag...@gmail.com> wrote:

>
> Have you seen my answer to your original post?


Reading is outdated.
Just do screenshots or publish a tutorial video on Youtube :)

thanks,
Dmitry
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Wiki

2014-03-14 Thread Reinier Olislagers
On 14/03/2014 12:57, Antonio Fortuny wrote:
> Le 20/01/2014 16:06, Antonio Fortuny a écrit :
> Sorry to come back to t his thread but I'm still suck on how to create a
> new page in the Lazarus Wiki. Nothing found on help on how to create a
> new page.

Have you seen my answer to your original post?
> If you search for a page on the wiki whose title does not yet exist, you
> are prompted if you want to create a page with that title which
> apparently is the way to create new wiki pages (it works, but it took me
> some getting used to).



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Wiki

2014-03-14 Thread Antonio Fortuny


Le 20/01/2014 16:06, Antonio Fortuny a écrit :

Hi Folks.

I need some help (only once) on how to make a new topic in the Lazarus 
wiki and link it to whatever page sounds the best to be its ancestor.
This concerns a new object I made (TFPTimer based, thread safe and 
thread independant). I'll embed it into a native Lazarus conventional 
package and publish some help and hints on howto use the component 
(and maintaing the pages whenever the component behaviour changes, of 
course.
I'm (almost) natively a french speaker but I can accomodate with 
English as well which means that I can cope with both languages and 
their respective wiki pages.
That's why I definitely prefer to let someone of you, guys, to choose 
for me the most relevant page to include the start point of the 
component page and tell me in a few words how to start.
Of course, having a page template would be nice too. Like Lazarus, you 
know, tell me once and I'll do it as many times as required 8-)
BTW, I already have access to modify wiki pages: looks very easy as 
every page has a Modify tab.
Sorry to come back to t his thread but I'm still suck on how to create a 
new page in the Lazarus Wiki. Nothing found on help on how to create a 
new page.

As soon as it creataed to link it to another page sounds easy.
To fill the page, add files, etc., is a piece of cake.

Antonio.


Thanks,

Antonio.




   

Ce courrier électronique ne contient aucun virus ou logiciel 
malveillant parce que la protection Antivirus avast! 
 est active.





--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce 
que la protection avast! Antivirus est active.
http://www.avast.com



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] SQLTransaction won't start

2014-03-14 Thread Petr Hlozek
Hi,

I use TMySQL55Connection, TSQLTransaction and TSQLQuery. I always get
Transaction is NOT active.

here is the code:

procedure TForm1.Button1Click(Sender: TObject);
var
  db : TMySQL55Connection;
  q  : TSQLQuery;
  tr : TSQLTransaction;
begin
  db := TMySQL55Connection.Create(nil);
  q  := TSQLQuery.Create(nil);
  tr := TSQLTransaction.Create(nil);
  try try
db.DatabaseName := 'test';
db.UserName := 'root';
db.Password := 'passwd';
db.Open;

q.DataBase:= db;
tr.DataBase   := db;
q.Transaction := tr;

tr.StartTransaction;
try
  if tr.Active then
Writeln('Transaction is active')
  else
Writeln('Transaction is NOT active')
finally
  tr.Rollback
end
  except
on E: Exception do
  Writeln(E.Message)
  end
  finally
q.Close;
FreeAndNil(q);
FreeAndNil(tr);
FreeAndNil(db)
  end
end;

or http://pastebin.com/qmCMfKMh

Ubuntu 13.10, mysql 5.5, Lazarus 1.0.10, FreePascal 2.6.2-5. The test
table is in InnoDB:

CREATE TABLE test_table (
  id bigint NOT NULL AUTO_INCREMENT PRIMARY KEY,
  myfield varchar(100) DEFAULT ''
) ENGINE='InnoDB' COLLATE 'utf8_bin';


Could you help me, please? Thanks a lot.


Petr

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Request for help

2014-03-14 Thread Michael Van Canneyt


Hi,

I'm helping the editor of Blaise Pascal magazine to develop some components 
for Lazarus & Delphi (for the Leap Motion).


We need someone with experience in 3D-rendering to help out in writing some 
code.

If you think you can do this, please visit
http://www.blaisepascal.eu/index.php?actie=HelpOpenGL
There is a description of the assignment, and a contact address.

Michael.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread Michael Van Canneyt



On Fri, 14 Mar 2014, Juha Manninen wrote:


On Fri, Mar 14, 2014 at 11:31 AM, Maciej Izak  wrote:

Already done by me :D
http://youtu.be/-aUf7hhgwwI


Aparently not for Lazarus.
Sorry my ignorance but what is FreeSparta? Google found only your
YouTube video but no information.


Another rebranding of Lazarus, like CodeTyphon ?

Michael.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread Juha Manninen
On Fri, Mar 14, 2014 at 11:31 AM, Maciej Izak  wrote:
> Already done by me :D
> http://youtu.be/-aUf7hhgwwI

Aparently not for Lazarus.
Sorry my ignorance but what is FreeSparta? Google found only your
YouTube video but no information.

Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread Maciej Izak
Already done by me :D

http://youtu.be/-aUf7hhgwwI


2014-03-12 13:04 GMT+01:00 FreeMan :

> Hello,
> Is it possible add menu item on right click on form while designing, "Hide
> none visual components". This is so useful while setting visual component
> position and sizes.
> Thank you
>
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
Pozdrawiam

Maciej Izak (hnb.c...@gmail.com)
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Any active plans to release Lazarus with FPC 2.6.4

2014-03-14 Thread zeljko

On 03/14/2014 07:59 AM, Mattias Gaertner wrote:

On Fri, 14 Mar 2014 07:26:41 +0100
zeljko  wrote:


[...]

Is there already a patch to get 1.2 to build?  (is it just r43371?)


A patch for what?
Is there a bug?


afaik yes , in 1.2 but it's already fixed in trunk and merged to fixes
(qt and carbon are affected).Don't know for other problems with 1.2 and
2.6.4


Even 1.2.0 compiles with fpc 2.6.4. What does not work?


TComboBox strings with overrided InsertItem() in mentioned ws (got AV or 
doubled items).


z.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Any active plans to release Lazarus with FPC 2.6.4

2014-03-14 Thread Mattias Gaertner
On Fri, 14 Mar 2014 07:26:41 +0100
zeljko  wrote:

>[...]
> >> Is there already a patch to get 1.2 to build?  (is it just r43371?)
> >
> > A patch for what?
> > Is there a bug?
> 
> afaik yes , in 1.2 but it's already fixed in trunk and merged to fixes 
> (qt and carbon are affected).Don't know for other problems with 1.2 and 
> 2.6.4

Even 1.2.0 compiles with fpc 2.6.4. What does not work?

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus