Hello,
on the news on freepascal.org I see that International Olympiad in Informatics
2009 has been won by a person using freepascal.
I searched the original homepage http://www.ioi2009.org/ but could not find out
which person did use gcc and which person did use freepascal.
Does someone know
Vincent Snijders wrote:
Graeme Geldenhuys schreef:
Hi,
When you create a new project in Lazarus, the default uses classe in the
*.lpr file looks as follows:
---
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes;
---
Is there an alternat
Hello,
I uploaded a new snapshot of the docs in CHM format.
http://www.stack.nl/~marcov/doc-chm.zip
Fixes in this snapshot:
- the last snapshot had corrupted links -> fixed.
- The ref manual has an initial index, generated from the ref.kwd file.
Still contains duplicates, but at least F1 work
Graeme Geldenhuys wrote:
2009/8/27 Martin :
Actually, I attempted to create a frame for this, but run into some bugs
that prevented it.
And you didn't fix those bugs? ;-) Actually I never even though of
Why would I do this myself? I delegated it. ;-> (that is to say I
reported th
2009/8/27 Martin :
>
> Actually, I attempted to create a frame for this, but run into some bugs
> that prevented it.
And you didn't fix those bugs? ;-) Actually I never even though of
using a TFrame - that could have worked as well.
> - it may become collapsible
This was my second thought for
Graeme Geldenhuys wrote:
Marc Weustink wrote:
Groupboxes were cluttering the real info, therefore we made a change to
the bevels. Not all parts are done.
Any objects in creating a custom component which does the dividing
instead of using 100's of TBevel components and lots of advanced
Ok!!
I will download Debian Lenny to do my tests. Unfortanelly it will take some
time.
I just want to note that only combination FPC 2.5.1 and GTK2 doesn´t work.
I tested in this same environment with FPC 2.2.4 and GTK2 and FPC 2.5.1 and
GTK1. With these combinations problem doesn´t occurr.
2009/8/27 Marcelo Borges de Paula :
>> 2009/8/27 Henry Vermaak :
>>>
>>> I've had a problem before with gtk2 on debian (I confirmed it was a
>>> gtk bug by building a newer gtk). I'm using stable here, I'll see if
>>> I can test.
>>
>> Works as expected here.
>>
>> HenryHenry, could you list your
2009/8/27 Henry Vermaak :
2009/8/27 Marcelo Borges de Paula :
I´m concerned that this is a big problem with GTK2 and that can cause a
big
headache to eveyone if confirmed.
Honestly, i´m lost here, so i want to hear some opinion on this.
I've had a problem before with gtk2 on debian (I confi
can someone help me to work with MDIForm?
I tried to use as you would in Delphi, it did not work.
thanks
André Luís
Lazarus 9.26.2
__
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/ --
_
2009/8/27 Henry Vermaak :
> 2009/8/27 Marcelo Borges de Paula :
>>
>> I´m concerned that this is a big problem with GTK2 and that can cause a big
>> headache to eveyone if confirmed.
>> Honestly, i´m lost here, so i want to hear some opinion on this.
>
> I've had a problem before with gtk2 on debia
Zitat von Marcelo Borges de Paula :
Hello everyone. My first post on Mailing-list.
Some days ago i created a bugrep due to some strange behavior of
TListview on Debian Etch.
Have you searched the bug tracker? AFAIK there are some open bugs
about TListView and gtk2.
Yeah!! I did some search
2009/8/27 Marcelo Borges de Paula :
>
> I´m concerned that this is a big problem with GTK2 and that can cause a big
> headache to eveyone if confirmed.
> Honestly, i´m lost here, so i want to hear some opinion on this.
I've had a problem before with gtk2 on debian (I confirmed it was a
gtk bug by
Michael Van Canneyt wrote:
>
> It's not because TProcess does not do what you want exactly the way you want
> it, that it is buggy ?
OK, I see now what Mattias was talking about. Me using quotes in the
parameters confuses TProcess somewhere along the line.
Changing what I enter in Lazarus Extern
Zitat von Marcelo Borges de Paula :
Hello everyone. My first post on Mailing-list.
Some days ago i created a bugrep due to some strange behavior of
TListview on Debian Etch.
Have you searched the bug tracker? AFAIK there are some open bugs
about TListView and gtk2.
After some research,
Hello everyone. My first post on Mailing-list.
Some days ago i created a bugrep due to some strange behavior of TListview on
Debian Etch.
After some research, i´m not sure it is a LCL problem, but a compiler one.
TListivew, the component that i tested, do not select its items. I mean, if you
cli
Someone must really hate Delphi ...
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
On Thu, 27 Aug 2009, Graeme Geldenhuys wrote:
Mattias Gärtner wrote:
No. Still the " are in the parameters.
Keep trying.
I give up! :-) I'll file a bug report with whatever you said. ;-)
That's not very serious.
It's not because TProcess does not do what you want exactly the way you wa
Mattias Gärtner wrote:
>
> No. Still the " are in the parameters.
> Keep trying.
I give up! :-) I'll file a bug report with whatever you said. ;-)
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/
--
__
Zitat von Graeme Geldenhuys :
Mattias Gärtner wrote:
$ ./project1
/usr/bin/gnome-terminal
--title="Thread Monitor - project1"
--command="watch -n.1 'ps -C project1 -L -o pid,tid,pcpu,state'"
And that is wrong. This is the command as given to a shell, which
removes the outer level " and ' and
Mattias Gärtner wrote:
>> $ ./project1
>> /usr/bin/gnome-terminal
>> --title="Thread Monitor - project1"
>> --command="watch -n.1 'ps -C project1 -L -o pid,tid,pcpu,state'"
>
> And that is wrong. This is the command as given to a shell, which
> removes the outer level " and ' and then executes i
Zitat von Graeme Geldenhuys :
Mattias Gaertner wrote:
It is a bug in fcl-process/src/unix/process.inc proc CommandToList
used by TProcess. It only removes the outer ".
I copied the CommandToList() from process.inc to my own test application
and named it MyCommandToList().
I then passed the
Mattias Gaertner wrote:
>
> It is a bug in fcl-process/src/unix/process.inc proc CommandToList
> used by TProcess. It only removes the outer ".
I copied the CommandToList() from process.inc to my own test application
and named it MyCommandToList().
I then passed the lProcess.CommandLine to that
On Thu, 27 Aug 2009 11:23:52 +0200
Graeme Geldenhuys wrote:
> Hi,
>
> As far as I know, Lazarus doesn't have a Thread List Window available.
> So I am trying to setup and external tools menu item which will do
> this for me, but I am have some problems with it.
>
> This is the actual setup stri
Mattias Gaertner wrote:
> Under my Linux machine the: above program takes about 7.5 seconds.
> Uncomment the cthreads unit: 7.5 seconds
> Uncomment the t:=TThread line: 20 seconds.
> fpc 2.2.5 (afair 2.2.4 behaves similar)
// without cthreads in uses clause
$ time ./bench1
real0m9.971s
user
On Thu, 27 Aug 2009 09:08:18 +0200
Graeme Geldenhuys wrote:
> Mattias Gärtner wrote:
>[...]
> > So adding cthreads will deccelerate your application, even if you do
> > not start any thread.
>
> Is this in theory, or has somebody actually done some speed tests to
> see by what factor the applic
Hi,
As far as I know, Lazarus doesn't have a Thread List Window available.
So I am trying to setup and external tools menu item which will do this
for me, but I am have some problems with it.
This is the actual setup strings used for the external tool.
Program Filename:
/usr/bin/gnome-terminal
I am writing on strange behaviour of g_strconcat() and g_strjoin()
functions from Glib2 Unit.
They are declared as:
function g_strconcat(string1:Pgchar):Pgchar; cdecl; overload; varargs;
external gliblib;
function g_strjoin(separator:Pgchar):Pgchar; cdecl; overload; varargs;
external gliblib
Mattias Gärtner wrote:
>
> Multithreading means that all strings access need critical sections.
So is this always the case for Windows applications? Would that mean
that applications that don't used multi-threading actually run faster
under Linux, *BSD and OS X compared to Windows?
> So adding
29 matches
Mail list logo