Re: [Lazarus] how to report the following bug ?

2010-10-07 Thread Mattias Gaertner
On Thu, 7 Oct 2010 22:25:18 +0200 ik wrote: > Hello, > > I'm using Archlinux, and recently they changed the name of > libgdk_pixbuf-2.0.so to libgdk_pixbuf.so . Are you sure? libgdk_pixbuf.so is the name of the gtk1 pixbuf. Looking at the ArchLinux website, their Lazarus package still depends

Re: [Lazarus] Converting Fortran to FPC?

2010-10-07 Thread Bo Berglund
On Fri, 8 Oct 2010 01:56:10 +0300, "Juha Manninen (gmail)" wrote: >Apparently the automatic conversion doesn't work. You must do it manually. >It is not only a bad thing because then you also must understand the code >while converting it. Yeah, yet another language to master... I dived into Jav

Re: [Lazarus] Converting Fortran to FPC?

2010-10-07 Thread Juha Manninen (gmail)
On Thursday 07 October 2010 23:33:37 Bo Berglund wrote: > What I meant is that I found the Delphi code for the ForToPas program. > Since it did not work I tried to open the ForToPas project in D7 and > correct the erroneous code. But it is written in a very strange way so > it would need a lot of g

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-07 Thread Thierry B.
Frank Church a écrit : > > > On 3 October 2010 10:25, Frank Church > > wrote: > > > I have posted an article and some code on some bash scripts I have > developed to install FPC and Lazarus from source at > > http://devblog.brahmancreations.com/content/b

Re: [Lazarus] how to report the following bug ?

2010-10-07 Thread ik
I did not uninstalled it: $ locate gdk_pixbuf /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libgdk_pixbuf-2.0.so.0 /usr/lib/libgdk_pixbuf-2.0.so.0.2200.0 /usr/lib/libgdk_pixbuf_xlib-2.0.so.0 /usr/lib/libgdk_pixbuf_xlib-2.0.so.0.2200.0 The first entry is a symlink I've created, the rest created by the pac

Re: [Lazarus] how to report the following bug ?

2010-10-07 Thread Andreas Schneider
On Thu, 7 Oct 2010 22:25:18 +0200, ik wrote: > Hello, > > I'm using Archlinux, and recently they changed the name of > libgdk_pixbuf-2.0.so [1] to libgdk_pixbuf.so . > > This is a problem with compiling Lazarus (maybe FPC packages itself, > did not checked). The thing is, that I do not know how

Re: [Lazarus] WrapText length limit?

2010-10-07 Thread Bart
On 10/7/10, Antônio wrote: > Delphi / Kylix Cross-Platform Runtime Library } > { System Unit } > { } > { Copyright (c) 1988-2002 Borland Sof

Re: [Lazarus] Please change the default button in Project options dialog

2010-10-07 Thread Maxim Ganetsky
07.10.2010 19:37, Zaher Dirkey пишет: View -> Units Make the edit for search as an active controls (Focused) and View -> Forms Done. -- Best regards, Maxim Ganetsky mailto:gan...@narod.ru -- ___ Lazarus mailing list Lazarus@lists.l

Re: [Lazarus] Converting Fortran to FPC?

2010-10-07 Thread Bo Berglund
On Thu, 7 Oct 2010 21:52:14 +0300, "Juha Manninen (gmail)" wrote: >On Thursday 07 October 2010 21:36:14 Bo Berglund wrote: >> I think that I would need a lot of time to go over this and just get >> it to work correctly according to the comments in the code >> And then I would not know if it a

Re: [Lazarus] Using 5dpo for serial comm...

2010-10-07 Thread Bo Berglund
On Thu, 07 Oct 2010 17:27:49 +0200, Koenraad Lelong wrote: >When I'm having problems with serial-comms, I use minicom/hyperterminal. >I disable all handshaking. I have plugged in a test-connector in the >port : with a 9pin connector shortcircuit pins 2 and 3. Then if I send >anything to the port,

[Lazarus] how to report the following bug ?

2010-10-07 Thread ik
Hello, I'm using Archlinux, and recently they changed the name of libgdk_pixbuf-2.0.so to libgdk_pixbuf.so . This is a problem with compiling Lazarus (maybe FPC packages itself, did not checked). The thing is, that I do not know how to report (and even preferred offer a patch) it. The change btw

Re: [Lazarus] Converting Fortran to FPC?

2010-10-07 Thread Juha Manninen (gmail)
On Thursday 07 October 2010 21:36:14 Bo Berglund wrote: > I think that I would need a lot of time to go over this and just get > it to work correctly according to the comments in the code > And then I would not know if it actually did the right conversions. You have the original DLLs to test w

Re: [Lazarus] Using 5dpo for serial comm...

2010-10-07 Thread Bo Berglund
On Thu, 07 Oct 2010 10:19:15 +0100, Lukasz Sokol wrote: >On 07/10/2010 10:07, Mark Morgan Lloyd wrote: >> I'd suggest not doing that manually, since there might be an /etc/gshadow >> file that needs to be kept in step. Gnome will have a user management >> program which should be used in prefere

Re: [Lazarus] Using 5dpo for serial comm...

2010-10-07 Thread Bo Berglund
On Thu, 07 Oct 2010 09:23:44 +0100, Lukasz Sokol wrote: >On 07/10/2010 06:01, Bo Berglund wrote: >> On Thu, 07 Oct 2010 02:14:47 +, Mark Morgan Lloyd >> wrote: >> If I now close the port with my button and then try to open it again there is an exception that forces the program to

Re: [Lazarus] Converting Fortran to FPC?

2010-10-07 Thread Bo Berglund
On Thu, 7 Oct 2010 15:09:15 +0200, Felipe Monteiro de Carvalho wrote: >http://www.irpcsoft.com/download/forpascsetup.exe that it the link for >the windows/dos version, i don't know if there is a linux version. > I downloaded and tried it but the result was not very informative: STIFF.FOR: Fatal

Re: [Lazarus] Converting Fortran to FPC?

2010-10-07 Thread C Western
On 10/07/2010 02:32 PM, Gustavo Enrique Jimenez wrote: Hi 2010/10/6 Bo Berglund: I have a question that might be OT here, but I will try nevertheless: We have a Windows application written in Delphi for data analysis and display. It uses GLScene as the data rendering engine and it uses 3 Fortr

[Lazarus] WinCE help needed

2010-10-07 Thread zeljko
Hi all, I'm currently doing something for WinCe and wondering howto get WLan connection status (I need signal strength). Any idea how to do that ? tnx. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepas

Re: [Lazarus] Please change the default button in Project options dialog

2010-10-07 Thread Zaher Dirkey
On Thu, Oct 7, 2010 at 6:00 AM, Mattias Gaertner wrote: > On Wed, 6 Oct 2010 22:41:09 -0200 > Zaher Dirkey wrote: > > > Would you please change the default button in Project options dialog from > > "Test" to "Ok" button. > > Done. > > Thanks :) , another favor View -> Units Make the edit for sea

Re: [Lazarus] Using 5dpo for serial comm...

2010-10-07 Thread Koenraad Lelong
Op 07-10-10 12:41, Michael Schnell schreef: > Did you check with minterm or similar that the serial port is in fact > working for you ? > > -Michael > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.free

Re: [Lazarus] WrapText length limit?

2010-10-07 Thread Antônio
You should not use this because it does not work. Antônio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] WrapText length limit?

2010-10-07 Thread Michael Van Canneyt
That may be so, but then we would have to put the Borland copyright notice in all source files that use this. This is not possible/allowed. Michael. On Thu, 7 Oct 2010, Antônio wrote: Delphi / Kylix Cross-Platform Runtime Library } { System Unit

Re: [Lazarus] WrapText length limit?

2010-10-07 Thread Antônio
Anyway, this function does not work. Antônio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] WrapText length limit?

2010-10-07 Thread Antônio
Delphi / Kylix Cross-Platform Runtime Library } { System Unit } { } { Copyright (c) 1988-2002 Borland Software Corporation

Re: [Lazarus] WrapText length limit?

2010-10-07 Thread Bart
Please do not post copyrighted code here. Bart On 10/7/10, Antônio wrote: > function CharLength(const S: string; Index: Integer): Integer; > begin > Result := 1; > assert((Index > 0) and (Index <= Length(S))); > if SysLocale.FarEast and (S[Index] in LeadBytes) then > Result := StrCharL

Re: [Lazarus] Setting NoGUI from command line

2010-10-07 Thread Leonardo M . Ramé
On 2010-10-07 15:48:21 +0200, Mattias Gärtner wrote: > Zitat von "Leonardo M. Ramé" : > > >Hi, I'm trying to compile, from command line, an app that needs > >the widget type "NoGUI". > > > >How can I set this parameter?. > > lazbuild -h > shows all command line parameters. You need the --widgetse

Re: [Lazarus] Setting NoGUI from command line

2010-10-07 Thread Mattias Gärtner
Zitat von "Leonardo M. Ramé" : Hi, I'm trying to compile, from command line, an app that needs the widget type "NoGUI". How can I set this parameter?. lazbuild -h shows all command line parameters. You need the --widgetset=nogui. Mattias -- __

Re: [Lazarus] Converting Fortran to FPC?

2010-10-07 Thread Gustavo Enrique Jimenez
Hi 2010/10/6 Bo Berglund : > I have a question that might be OT here, but I will try nevertheless: > > We have a Windows application written in Delphi for data analysis and > display. > It uses GLScene as the data rendering engine and it uses 3 Fortran > DLL:s to do the number crunching. > > I wan

[Lazarus] Setting NoGUI from command line

2010-10-07 Thread Leonardo M . Ramé
Hi, I'm trying to compile, from command line, an app that needs the widget type "NoGUI". How can I set this parameter?. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists

Re: [Lazarus] Converting Fortran to FPC?

2010-10-07 Thread Felipe Monteiro de Carvalho
The contents of the page are small. I'll just copy here: Fortran to Pascal Notify me of responses HI! I've read about a very good converter from Fortran 77 to Pascal, ForPasC, and tried to download it, but all the links seem to be broken. Could anybody provide me with the program, perhaps for Linu

Re: [Lazarus] Converting Fortran to FPC?

2010-10-07 Thread Bo Berglund
On Thu, 7 Oct 2010 11:43:16 +0200, Felipe Monteiro de Carvalho wrote: >Try using the same url with port 8080 > Tried: http://community.freepascal.org:8080/bboards/message?message_id=145352&forum_id=24105 Same result. Our IT department has very strict taps on traversing the firewall. For example

Re: [Lazarus] Using 5dpo for serial comm...

2010-10-07 Thread Mark Morgan Lloyd
Michael Schnell wrote: Did you check with minterm or similar that the serial port is in fact working for you ? Good point. I usually use gtkterm since it doesn't make assumptions about modems etc. which is more use for talking to instrumentation. -- Mark Morgan Lloyd markMLl .AT. telemetry

Re: [Lazarus] Font.Handle

2010-10-07 Thread Paul Ishenin
07.10.2010 16:56, Juha Manninen (gmail) wrote: Hi How to get rid of "Font.Handle" in the following code? "Font.Handle" is deprecated;. Font.Reference.Handle Best regards, Paul Ishenin. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.or

Re: [Lazarus] Font.Handle

2010-10-07 Thread Felipe Monteiro de Carvalho
Is it really deprecated? I don't think it is a good idea to deprecate it, too many programs use it to get the Windows handles, so it should keep doing what it does on Windows. For other platforms a new method can be created. In fact I am in need of solving this issue at the moment. Do we already h

Re: [Lazarus] Bug in double click to open de fields editor

2010-10-07 Thread silvioprog
Yes, my Lazarus version: Lazarus 0.9.29 r27589 FPC 2.5.1 i386-win32-win32/win64 Reported in: http://bugs.freepascal.org/view.php?id=17572 Thanks Maxim ;) 2010/10/6 Maxim Ganetsky > > > Make sure that you are using latest Lazarus revision and if the issue still > persists create a bug report.

Re: [Lazarus] Using 5dpo for serial comm...

2010-10-07 Thread Michael Schnell
Did you check with minterm or similar that the serial port is in fact working for you ? -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Converting Fortran to FPC?

2010-10-07 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Thu, 07 Oct 2010 09:04:04 +, Mark Morgan Lloyd wrote: A few seconds Googling comes up with http://community.freepascal.org:1/bboards/message?message_id=145352&forum_id=24105 which points at a Windows-based converter, still '77 though. There's also apparently a F

Re: [Lazarus] Converting Fortran to FPC?

2010-10-07 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Thu, 07 Oct 2010 09:04:04 +, Mark Morgan Lloyd wrote: A few seconds Googling comes up with http://community.freepascal.org:1/bboards/message?message_id=145352&forum_id=24105 which points at a Windows-based converter, still '77 though. There's also apparently a F

Re: [Lazarus] Error: Can't call the resource compiler "/usr/bin/fpcres", switching to external mode

2010-10-07 Thread Frank Church
On 6 October 2010 22:23, Mattias Gaertner wrote: > On Tue, 5 Oct 2010 23:43:35 +0100 > Frank Church wrote: > > > On 5 October 2010 03:58, Frank Church wrote: > > > > > I am trying to rebuild the IDE after installing new packages and I get > this > > > error message repeatedly. > > > > > > > /ho

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-07 Thread Frank Church
On 3 October 2010 10:25, Frank Church wrote: > > I have posted an article and some code on some bash scripts I have > developed to install FPC and Lazarus from source at > http://devblog.brahmancreations.com/content/build-scripts-for-installing-freepascal-and-lazarus-from-source > . > > Any comme

[Lazarus] Font.Handle

2010-10-07 Thread Juha Manninen (gmail)
Hi How to get rid of "Font.Handle" in the following code? "Font.Handle" is deprecated;. Font := TFont.Create; Font.Name := ''; Font.CharSet := CS; DC := GetDC(0); try Save := SelectObject(DC, HGDIOBJ(Font.Handle)); GetTextMetrics(DC, tm); ... do something ... SelectOb

Re: [Lazarus] Converting Fortran to FPC?

2010-10-07 Thread Felipe Monteiro de Carvalho
Try using the same url with port 8080 -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Converting Fortran to FPC?

2010-10-07 Thread Bo Berglund
On Thu, 07 Oct 2010 09:04:04 +, Mark Morgan Lloyd wrote: >A few seconds Googling comes up with >http://community.freepascal.org:1/bboards/message?message_id=145352&forum_id=24105 > >which points at a Windows-based converter, still '77 though. There's >also apparently a FORTRAN to Ada c

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-10-07 Thread Michael Schnell
On 10/06/2010 06:48 PM, Flávio Etrusco wrote: What's the date of this post? Yesterday. In a second post he sent a link to the data sheet: http://www.stec-inc.com/downloads/ssd_datasheets/SLCFxxx_G_M2PU_I_61000-05610.pdf I'm not absolutely sure the wording there definitively rules out that

Re: [Lazarus] Using 5dpo for serial comm...

2010-10-07 Thread Lukasz Sokol
On 07/10/2010 10:07, Mark Morgan Lloyd wrote: > Lukasz Sokol wrote: > >> This shows you that root owns all these ports, and dialout group >> is allowed to use it too, no others (man chmod). >> >> So to get your port working, you need to change your user group (add the >> username >> to group dial

Re: [Lazarus] Using 5dpo for serial comm...

2010-10-07 Thread Mark Morgan Lloyd
Lukasz Sokol wrote: This shows you that root owns all these ports, and dialout group is allowed to use it too, no others (man chmod). So to get your port working, you need to change your user group (add the username to group dialout in /etc/group file), then log out and log in again. I'd sug

Re: [Lazarus] Converting Fortran to FPC?

2010-10-07 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Thu, 07 Oct 2010 02:22:55 +, Mark Morgan Lloyd wrote: Bo Berglund wrote: On Wed, 06 Oct 2010 23:34:29 +0200, Bo Berglund wrote: I found this converter by googling (offered on several websites, but basically the same everywhere): http://sourceforge.net/projects/fort

Re: [Lazarus] Converting Fortran to FPC?

2010-10-07 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Thu, 07 Oct 2010 02:19:34 +, Mark Morgan Lloyd wrote: Yes, I believe there's a GNU FORTRAN but other than eyeballing it to see what sort of parallelisation facilities it provides I've not touched FORTRAN for around 30 years. The author is an academcian and he us

Re: [Lazarus] Using 5dpo for serial comm...

2010-10-07 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Thu, 07 Oct 2010 02:14:47 +, Mark Morgan Lloyd wrote: If I now close the port with my button and then try to open it again there is an exception that forces the program to end. Check port ownership, the groups the current user is in, and look at dmesg output. Hmm

Re: [Lazarus] Using 5dpo for serial comm...

2010-10-07 Thread Lukasz Sokol
On 07/10/2010 06:01, Bo Berglund wrote: > On Thu, 07 Oct 2010 02:14:47 +, Mark Morgan Lloyd > wrote: > >>> If I now close the port with my button and then try to open it again >>> there is an exception that forces the program to end. >> >> Check port ownership, the groups the current user is

Re: [Lazarus] Converting Fortran to FPC?

2010-10-07 Thread Juha Manninen (gmail)
On Thursday 07 October 2010 00:34:29 Bo Berglund wrote: > So my question now is if there is any experience of either porting > Fortran code to FPC or of compiling Fortran code for a Windows DLL > into the corresponding function in Linux? I don't know Fortran much but it is a simpler language that

Re: [Lazarus] Please change the default button in Project options dialog

2010-10-07 Thread Mattias Gaertner
On Wed, 6 Oct 2010 22:41:09 -0200 Zaher Dirkey wrote: > Would you please change the default button in Project options dialog from > "Test" to "Ok" button. Done. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.laz

Re: [Lazarus] Memory leak in TThread class

2010-10-07 Thread Luca Olivetti
En/na Sergei Gorelkin ha escrit: Marcos Douglas wrote: Well, the problem was fixed. Bug reporter: http://bugs.freepascal.org/view.php?id=16884 Solution: http://cia.vc/stats/project/fpc/.message/b8ef19 Unfortuately, not. Issue #16884 was a race condition which was causing the thread to start e