Re: [Lazarus] Unicode branch

2013-06-25 Thread Michael Schnell
On 06/25/2013 03:14 PM, Sven Barth wrote: Yes, it will merely be an empty method then. If this really works and does not break anything, I wonder why this has not been implemented since long... -Michael -- ___ Lazarus mailing list Lazarus@lists.laza

Re: [Lazarus] passing make OPT via lazbuild

2013-06-25 Thread waldo kitty
On 6/25/2013 16:53, Mattias Gaertner wrote: On Tue, 25 Jun 2013 16:10:56 -0400 waldo kitty wrote: in my script, i use this line... make OPT="-gl -gh -dHEAPTRC_WINDOW" lazbuild lcl basecomponents starter bigidecomponents lhelp when building the components before it builds lazarus... how d

Re: [Lazarus] Lazbuild and RunTime Packages

2013-06-25 Thread Mattias Gaertner
On Tue, 25 Jun 2013 19:43:33 -0300 silvioprog wrote: >[...] > It would be nice if lazbuild also do: > > lazbuild --remove-package utf8tools.lpk > lazbuild --add-rt-package utf8tools.lpk > lazbuild --remove-rt-package utf8tools.lpk Do what? Mattias -- _

Re: [Lazarus] Lazbuild and RunTime Packages

2013-06-25 Thread Mattias Gaertner
On Tue, 25 Jun 2013 18:57:39 -0300 Leonardo M. Ramé wrote: > Hi, I'm trying to compile Xidel > (http://videlibri.sourceforge.net/xidel.html) on a headless FreeBsd > machine, but, as this app requires the run-time package utf8tools I've > tried compiling using lazbuild: > > lazbuild --add-package

Re: [Lazarus] Lazbuild and RunTime Packages

2013-06-25 Thread Paul Breneman
On 06/25/2013 05:43 PM, silvioprog wrote: 2013/6/25 Leonardo M. Ramé On 2013-06-25 18:57:39 -0300, Leonardo M. Ramé wrote: Hi, I'm trying to compile Xidel (http://videlibri.sourceforge.net/xidel.html) on a headless FreeBsd machine, but, as this app requires the run-time package utf8tools I've

Re: [Lazarus] Lazbuild and RunTime Packages

2013-06-25 Thread Leonardo M . Ramé
On 2013-06-25 17:48:10 -0500, Paul Breneman wrote: > On 06/25/2013 04:57 PM, Leonardo M. Ramé wrote: > >Hi, I'm trying to compile Xidel > >(http://videlibri.sourceforge.net/xidel.html) on a headless FreeBsd > >machine, but, as this app requires the run-time package utf8tools I've > >tried compiling

Re: [Lazarus] Lazbuild and RunTime Packages

2013-06-25 Thread Paul Breneman
On 06/25/2013 04:57 PM, Leonardo M. Ramé wrote: Hi, I'm trying to compile Xidel (http://videlibri.sourceforge.net/xidel.html) on a headless FreeBsd machine, but, as this app requires the run-time package utf8tools I've tried compiling using lazbuild: lazbuild --add-package utf8tools.lpk But I g

Re: [Lazarus] Lazbuild and RunTime Packages

2013-06-25 Thread silvioprog
2013/6/25 Leonardo M. Ramé > On 2013-06-25 18:57:39 -0300, Leonardo M. Ramé wrote: > > Hi, I'm trying to compile Xidel > > (http://videlibri.sourceforge.net/xidel.html) on a headless FreeBsd > > machine, but, as this app requires the run-time package utf8tools I've > > tried compiling using lazbu

Re: [Lazarus] Lazbuild and RunTime Packages

2013-06-25 Thread Leonardo M . Ramé
On 2013-06-25 18:57:39 -0300, Leonardo M. Ramé wrote: > Hi, I'm trying to compile Xidel > (http://videlibri.sourceforge.net/xidel.html) on a headless FreeBsd > machine, but, as this app requires the run-time package utf8tools I've > tried compiling using lazbuild: > > lazbuild --add-package utf8to

[Lazarus] Lazbuild and RunTime Packages

2013-06-25 Thread Leonardo M . Ramé
Hi, I'm trying to compile Xidel (http://videlibri.sourceforge.net/xidel.html) on a headless FreeBsd machine, but, as this app requires the run-time package utf8tools I've tried compiling using lazbuild: lazbuild --add-package utf8tools.lpk But I got this: "ERROR: Package utf8tools.lpk is only for

Re: [Lazarus] passing make OPT via lazbuild

2013-06-25 Thread Mattias Gaertner
On Tue, 25 Jun 2013 16:10:56 -0400 waldo kitty wrote: > > in my script, i use this line... > >make OPT="-gl -gh -dHEAPTRC_WINDOW" lazbuild lcl basecomponents starter > bigidecomponents lhelp > > when building the components before it builds lazarus... how do i specify the > quoted OPT po

Re: [Lazarus] Lazarus 1.1 svn build 41900

2013-06-25 Thread Mattias Gaertner
On Tue, 25 Jun 2013 16:49:19 -0300 Junior wrote: > Bug: >if AFont.StrikeTrough then > Include(st, fsStrikeOut); > > Solution (lacked the letter "h" in the word StrikeThrough): >if AFont.StrikeThrough then > Include(st, fsStrikeOut); It's a bit more complicated.

[Lazarus] passing make OPT via lazbuild

2013-06-25 Thread waldo kitty
in my script, i use this line... make OPT="-gl -gh -dHEAPTRC_WINDOW" lazbuild lcl basecomponents starter bigidecomponents lhelp when building the components before it builds lazarus... how do i specify the quoted OPT portion on the lazbuild line lazbuild.exe --build-ide= --build-mode="

Re: [Lazarus] Lazarus 1.1 svn build 41900

2013-06-25 Thread Junior
Bug: if AFont.StrikeTrough then Include(st, fsStrikeOut); Solution (lacked the letter "h" in the word StrikeThrough): if AFont.StrikeThrough then Include(st, fsStrikeOut); Em 25-06-2013 14:08, Junior escreveu: does not compile FPC 2.7.1 i386-linux-gtk 2 Error: /h

[Lazarus] System Font Dir for Font Manager Search Path

2013-06-25 Thread Edilson Vieira
Hi all, Could someone, please, help me on thi issue: My question is How do I get the system font directory on Windows and Linux? I need the program running on both windows (win32) and linux (gtk). So, how do I set the Font Manager search path property? Code fragment example:

[Lazarus] Lazarus 1.1 svn build 41900

2013-06-25 Thread Junior
does not compile FPC 2.7.1 i386-linux-gtk 2 Error: /home/lazarus/components/tachart/tadrawercanvas.pas(314,16) Error: identifier idents no member "StrikeTrough" -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazaru

Re: [Lazarus] Updating procedure signatures

2013-06-25 Thread Mattias Gaertner
On Tue, 25 Jun 2013 17:20:12 +0200 Vojtěch Čihák wrote: > Thanks. I understand now. >   > I tested it a little (Lazarus 1.1 r41895M FPC 2.7.1 x86_64-linux-qt) and I > have two issues: >   > 1) Inconsistent behaviour when both options are UNchecked (Update all method > signatures and Update mult

Re: [Lazarus] Updating procedure signatures

2013-06-25 Thread Vojtěch Čihák
Thanks. I understand now.   I tested it a little (Lazarus 1.1 r41895M FPC 2.7.1 x86_64-linux-qt) and I have two issues:   1) Inconsistent behaviour when both options are UNchecked (Update all method signatures and Update multiple procedure signatured are OFF)   this: procedure A(a: string); | //

Re: [Lazarus] Updating procedure signatures

2013-06-25 Thread Mattias Gaertner
On Tue, 25 Jun 2013 13:34:59 +0200 Vojtěch Čihák wrote: > Hello, >   > it isn't a new feature, or am I missing something? > I think this exist at least one year. Yes, for methods. Not for procedures.   > @ Note: It does not work backward from implementation to interface. >   > Furthermore, I t

Re: [Lazarus] Library or Unit that can help to check network connectivity.

2013-06-25 Thread Paul Breneman
On 06/25/2013 12:34 AM, Eric Kom wrote: Good day Dear, Please I am currently looking for library/unit that I can use to check network connectivity. Hoping I will find a help. The other replies about doing pings look good. About 15 years ago I wrote up an answer to this question: http://

Re: [Lazarus] Unicode branch

2013-06-25 Thread Marco van de Voort
On Thu, Jun 20, 2013 at 01:48:00PM +0200, Vincent Snijders wrote: > > To build a 2-byte windows unit (and the new RTL), > > > > 1) checkout fpc/branches/unicode > > 2) do a make cycle to get a fresh 2.7.1 > > > I did a make all at the top level directory, which ignores my fpc.cfg > (good) and calls

Re: [Lazarus] Unicode branch

2013-06-25 Thread Marco van de Voort
On Tue, Jun 25, 2013 at 09:23:14AM +0100, Graeme Geldenhuys wrote: > So what platforms with the nextgen compiler target? OS X, iOS, Android, > Windows Phone, Linux? All but Windows? There is a note in the XE4 related documentation, that desktop Delphi/nextgen will be compatible with the current si

Re: [Lazarus] Unicode branch

2013-06-25 Thread Marco van de Voort
On Mon, Jun 24, 2013 at 04:59:13PM +0200, Michael Schnell wrote: > I just have been told that Embarcadero plans to do away with the stuff > fpc is just implementing in the "Unicode branch" and is on the verge to > change to a completely new String type that is > - UTF-16-only, > - Zero-Based,

Re: [Lazarus] Unicode branch

2013-06-25 Thread Sven Barth
Am 25.06.2013 11:04, schrieb Michael Schnell: On 06/24/2013 05:14 PM, Hans-Peter Diettrich wrote: They also make TObject reference counted... I did read about this. So ".Free" is going to be obsolete ? Yes, it will merely be an empty method then. Regards, Sven -- ___

Re: [Lazarus] Unicode branch

2013-06-25 Thread Hans-Peter Diettrich
Felipe Monteiro de Carvalho schrieb: On Mon, Jun 24, 2013 at 5:14 PM, Hans-Peter Diettrich wrote: I just have been told that Embarcadero plans to do away with the stuff fpc is just implementing in the "Unicode branch" and is on the verge to change to a completely new String type that is - UTF-

Re: [Lazarus] Gtk3 widgetset started

2013-06-25 Thread Reimar Grabowski
On Tue, 25 Jun 2013 12:07:35 +0200 Vojtěch Čihák wrote: > Can you recommend me some good GTK3 distro ? I installed Ubuntu - Gnome Shell > (GTK3.6) but the user experience with Gnome Shell is horrible. It is the most > user-unfreindly desktop I ever worked with. After tweaking Gnome Shell to my

Re: [Lazarus] Updating procedure signatures

2013-06-25 Thread Vojtěch Čihák
Hello,   it isn't a new feature, or am I missing something? I think this exist at least one year.   @ Note: It does not work backward from implementation to interface.   Furthermore, I tried to add parameter in implementation and it updates the interface here.   Lazarus 1.1 r41867M FPC 2.7.1 x86_

Re: [Lazarus] Gtk3 widgetset started

2013-06-25 Thread zeljko
On 06/25/2013 12:07 PM, Vojtěch Čihák wrote: I saw the bomb (gtk3defines.inc) normally in the source editor when I tried to compile for the first time, so it was perfectly monospaced :-). But it still throw me some error (RunError 216) so I didn't compile even an empty form. But it is on Chakra

[Lazarus] Updating procedure signatures

2013-06-25 Thread Mattias Gaertner
Hi all, Code completion can now update procedure signatures. For example: procedure DoSomething; implementation procedure DoSomething; begin end; Now add a parameter c:char to the interface procedure: procedure DoSomething(c: char); Place cursor on this declaration and invoke code completio

[Lazarus] class completion and properties with index constant

2013-06-25 Thread Mattias Gaertner
Hi all, Codetools code completion now support properties with index constant. For example: program Project1; type TFoo = (one, two, three); { TBar } TBar = class public property Something: Boolean index one read GetSomething; property Otherthing: Boolean index two read GetSomet

[Lazarus] IDE window Unit Dependencies

2013-06-25 Thread Mattias Gaertner
Hi all, There is now an IDE window showing what units uses a unit. See here for more details: http://wiki.lazarus.freepascal.org/IDE_Window:_Unit_dependencies Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazaru

Re: [Lazarus] How to exec some gdb command on start in lazarus

2013-06-25 Thread martin
On 25/06/13 10:51, Petr Kristan wrote: I try to debug Debugger_Startup_Options: --eval-command="handle SIGPIPE nostop noprint pass" with strace and here is execve line: [pid 20053] execve("/usr/bin/gdb", ["/usr/bin/gdb", "-silent", "-i", "mi", "-nx", "--eval-command=\"handle SIGPIPE nostop nopr

Re: [Lazarus] Gtk3 widgetset started

2013-06-25 Thread Vojtěch Čihák
I saw the bomb (gtk3defines.inc) normally in the source editor when I tried to compile for the first time, so it was perfectly monospaced :-). But it still throw me some error (RunError 216) so I didn't compile even an empty form. But it is on Chakra linux - it is KDE4 only distro and they moved

Re: [Lazarus] How to exec some gdb command on start in lazarus

2013-06-25 Thread Petr Kristan
On Tue, Jun 25, 2013 at 10:07:10AM +0100, martin wrote: > On 25/06/13 07:49, Petr Kristan wrote: > >Thank you for the fast response. I try it, but I get this message: > >Debugger: Initialization output: &"Undefined command: \"\". Try \"help\".\n > > > >In processes i have > >/usr/bin/gdb -silent -i

Re: [Lazarus] Library or Unit that can help to check network connectivity.

2013-06-25 Thread Antonio Fortuny
Le 25/06/2013 10:24, Graeme Geldenhuys a écrit : On 2013-06-25 08:29, Antonio Fortuny wrote: Indy + TIdIcmpClient then Ping. Not all systems on a network will reply to a ping test? I know my systems don't, because I disabled it f

Re: [Lazarus] Unicode branch

2013-06-25 Thread Michael Schnell
On 06/24/2013 09:25 PM, Michael Van Canneyt wrote: AFAIK This is only for the new nextgen compiler, for the Win32 target, nothing changes. To me it makes absolutely no sense to force the programmers to use different paradigms for different platforms. A decent programming system should hide

Re: [Lazarus] How to exec some gdb command on start in lazarus

2013-06-25 Thread martin
On 25/06/13 07:49, Petr Kristan wrote: Thank you for the fast response. I try it, but I get this message: Debugger: Initialization output: &"Undefined command: \"\". Try \"help\".\n In processes i have /usr/bin/gdb -silent -i mi -nx --eval-command="handle SIGPIPE nostop noprint pass" But gdb a

Re: [Lazarus] Unicode branch

2013-06-25 Thread Michael Schnell
On 06/24/2013 05:14 PM, Hans-Peter Diettrich wrote: They also make TObject reference counted... I did read about this. So ".Free" is going to be obsolete ? When we can start implementing further changes, we should look whether Delphi exists at all, at that time. I wouldn't hold my breath ;-)

Re: [Lazarus] Library or Unit that can help to check network connectivity.

2013-06-25 Thread Graeme Geldenhuys
On 2013-06-25 08:29, Antonio Fortuny wrote: > Indy + TIdIcmpClient then Ping. Not all systems on a network will reply to a ping test? I know my systems don't, because I disabled it for security reasons. Regards, - Graeme - -- ___ Lazarus mailing l

Re: [Lazarus] Unicode branch

2013-06-25 Thread Graeme Geldenhuys
On 2013-06-24 20:25, Michael Van Canneyt wrote: > > AFAIK This is only for the new nextgen compiler, for the Win32 target, > nothing changes. When you say Win32 do you mean Windows (as in 32 & 64-bit) or only 32-bit Windows? So what platforms with the nextgen compiler target? OS X, iOS, Androi

Re: [Lazarus] Library or Unit that can help to check network connectivity.

2013-06-25 Thread Antonio Fortuny
Le 25/06/2013 07:34, Eric Kom a écrit : Good day Dear, Please I am currently looking for library/unit that I can use to check network connectivity. Indy + TIdIcmpClient then Ping. Look at http://kumanov.com/docs/prog/indy/007395.html Indy 10.5.9 compiles OK with Lazarus+FPC Antonio. Hoping

Re: [Lazarus] Gtk3 widgetset started

2013-06-25 Thread zeljko
On 06/24/2013 09:38 PM, Reimar Grabowski wrote: On Sun, 23 Jun 2013 12:36:05 +0200 zeljko wrote: Just commited gtk3 widgetset (alpha status) r41811 ... You can use it by uncommenting USEGTK3ALPHA in lcl/interfaces/gtk3/gtk3defines.inc. Great. Looking forward to test this. Btw. nice error bo