Re: [Lazarus] Sharing of large files

2013-04-19 Thread Graeme Geldenhuys
On 2013-04-18 19:08, Kostas Michalopoulos wrote: No actually i am a fan, but not for shoving in the browser stuff that should have been native applications that take full advantage of my computer's resources and my operating system's facilities. +1 I also believe the web has its place, but

[Lazarus] Lazarus rev 40848/40849 breaks IDE rebuilding

2013-04-19 Thread patspiper
Hi, Rebuilding stops and a message pops up: Unable to find file unit2.pas. If it belongs to your project, check search path in Project - Compiler Options - Search Paths - Other Unit Files. If this file belongs to a package, check the appropriate package compiler options. If this file belongs

Re: [Lazarus] Lazarus rev 40848/40849 breaks IDE rebuilding

2013-04-19 Thread Juha Manninen
On 4/19/13, patspiper patspi...@gmail.com wrote: Rebuilding stops and a message pops up: Lazarus builds OK here. 40848 improved TFileSearcher. 40849 replaced GetAllFilesMask with AllFilesMask. It affected many files but is a trivial change otherwise. Try with Clean all in Configure Build

Re: [Lazarus] Lazarus rev 40848/40849 breaks IDE rebuilding

2013-04-19 Thread patspiper
On 19/04/13 11:32, Juha Manninen wrote: On 4/19/13, patspiper patspi...@gmail.com wrote: Rebuilding stops and a message pops up: Lazarus builds OK here. 40848 improved TFileSearcher. 40849 replaced GetAllFilesMask with AllFilesMask. It affected many files but is a trivial change otherwise.

Re: [Lazarus] Lazarus rev 40848/40849 breaks IDE rebuilding

2013-04-19 Thread Juha Manninen
Can you please go back in SVN history and check that 40849 really causes the problem. What is your compiler version? I have FPC 2.6.2. AllFilesMask should not cause problems with any compiler version though. Does anybody else have such problems? Juha On 4/19/13, patspiper patspi...@gmail.com

[Lazarus] Empty function?

2013-04-19 Thread Lubos Pintes
Hi, This function seems to be empty (hint issued) function TControl.GetAnchorSide(AIndex: Integer): TAnchorSide; -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Empty function?

2013-04-19 Thread Juha Manninen
I only found: function TControl.GetAnchorSide(Kind: TAnchorKind): TAnchorSide; and it is not empty. What Lazarus version? Juha On 4/19/13, Lubos Pintes pin...@gmail.com wrote: Hi, This function seems to be empty (hint issued) function TControl.GetAnchorSide(AIndex: Integer): TAnchorSide;

Re: [Lazarus] Lazarus rev 40848/40849 breaks IDE rebuilding

2013-04-19 Thread patspiper
On 19/04/13 12:01, Juha Manninen wrote: Can you please go back in SVN history and check that 40849 really causes the problem. What is your compiler version? I have FPC 2.6.2. AllFilesMask should not cause problems with any compiler version though. Does anybody else have such problems? The

Re: [Lazarus] Empty function?

2013-04-19 Thread Mattias Gaertner
Lubos Pintes pin...@gmail.com hat am 19. April 2013 um 11:01 geschrieben: Hi, This function seems to be empty (hint issued) function TControl.GetAnchorSide(AIndex: Integer): TAnchorSide; Lazarus svn 40851 has: function TControl.GetAnchorSide(Kind: TAnchorKind): TAnchorSide; begin

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-19 Thread Marco van de Voort
On Wed, Apr 17, 2013 at 08:56:12PM -0400, Anthony Walter wrote: Pascal would have to make an inventory of all files in the searchpath, not just in a certain (classpath or GAC) location. There are only 2 differences between what we currently have with dotted unit names acting as

Re: [Lazarus] Empty function?

2013-04-19 Thread Lubos Pintes
I have git repo from github.com/graemeg. So perhaps it is broken... Dňa 19. 4. 2013 11:18 Juha Manninen wrote / napísal(a): I only found: function TControl.GetAnchorSide(Kind: TAnchorKind): TAnchorSide; and it is not empty. What Lazarus version? Juha On 4/19/13, Lubos Pintes pin...@gmail.com

Re: [Lazarus] Empty function?

2013-04-19 Thread Lubos Pintes
Och sorry. My branch is broken. I cannot figure out how that happened, I believe Lazarus messed up control.inc for some reason. Or I did something stupid. Usage of Lazarus is still bad with NVDA... Really I would like to know what exactly happened. I am playing with accessibility so I modified

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-19 Thread Mattias Gaertner
Marco van de Voort mar...@stack.nl hat am 19. April 2013 um 12:24 geschrieben: [...] My remark was somewhat compiler specific, but it bleeds through in the IDE too, since in a Lazarus/FPC project, not all used source must be named in the project. Stronger, the project doesn't even exist on a

Re: [Lazarus] Empty function?

2013-04-19 Thread Mattias Gaertner
Lubos Pintes pin...@gmail.com hat am 19. April 2013 um 12:43 geschrieben: Och sorry. My branch is broken. I cannot figure out how that happened, I believe Lazarus messed up control.inc for some reason. Or I did something stupid. Usage of Lazarus is still bad with NVDA... Really I would

Re: [Lazarus] Empty function?

2013-04-19 Thread Juha Manninen
On 4/19/13, Lubos Pintes pin...@gmail.com wrote: Och sorry. My branch is broken. Did you do this step for sure : $ git checkout -b upstream origin/upstream Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Empty function?

2013-04-19 Thread Lubos Pintes
Yes I did. And git complained that branch upstream already exists. Then I did git checkout -b win32Accessibility upstream And started to make changes. Did several git rebase upstream. I am sure I didn't touch things like anchors etc. Dňa 19. 4. 2013 13:40 Juha Manninen wrote / napísal(a): On

Re: [Lazarus] Empty function?

2013-04-19 Thread Lubos Pintes
So this means that something was added that is really not needed by code completion? Dňa 19. 4. 2013 12:55 Mattias Gaertner wrote / napísal(a): Lubos Pintes pin...@gmail.com hat am 19. April 2013 um 12:43 geschrieben: Och sorry. My branch is broken. I cannot figure out how that happened, I

Re: [Lazarus] Empty function?

2013-04-19 Thread Juha Manninen
On 4/19/13, Lubos Pintes pin...@gmail.com wrote: Yes I did. And git complained that branch upstream already exists. Then I did git checkout -b win32Accessibility upstream Try this: $ git checkout upstream $ git pull $ gitk --all What is the last revision you see at upstream head? Juha

Re: [Lazarus] Lazarus rev 40848/40849 breaks IDE rebuilding

2013-04-19 Thread Mattias Gaertner
On Fri, 19 Apr 2013 12:19:00 +0300 patspiper patspi...@gmail.com wrote: On 19/04/13 12:01, Juha Manninen wrote: Can you please go back in SVN history and check that 40849 really causes the problem. What is your compiler version? I have FPC 2.6.2. AllFilesMask should not cause problems

Re: [Lazarus] Empty function?

2013-04-19 Thread Mattias Gaertner
On Fri, 19 Apr 2013 13:59:15 +0200 Lubos Pintes pin...@gmail.com wrote: So this means that something was added that is really not needed by code completion? Yes. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Empty function?

2013-04-19 Thread Graeme Geldenhuys
On 2013-04-19 13:03, Juha Manninen wrote: What is the last revision you see at upstream head? I can also confirm that the github mirror (both FPC and Lazarus) are in sync... FPC last commit 5 hours ago, Lazarus last commit 15 minutes ago. Regards, - Graeme - -- fpGUI Toolkit - a

[Lazarus] SIGSEGV when trying to use a TCustomControl

2013-04-19 Thread Leonardo M . Ramé
I'm creating a very basic TCustomControl with just a Constructor and its Destructor. TMyCustomControl = class(TCustomControl) public constructor Create(TheOwner: TComponent);override; destructor Destroy; override; end; In a main form's TForm.Create I'm creating an instance of my

Re: [Lazarus] Lazarus rev 40848/40849 breaks IDE rebuilding

2013-04-19 Thread patspiper
On 19/04/13 15:48, Mattias Gaertner wrote: On Fri, 19 Apr 2013 12:19:00 +0300 patspiper patspi...@gmail.com wrote: On 19/04/13 12:01, Juha Manninen wrote: Can you please go back in SVN history and check that 40849 really causes the problem. What is your compiler version? I have FPC 2.6.2.

Re: [Lazarus] SIGSEGV when trying to use a TCustomControl

2013-04-19 Thread Flávio Etrusco
On Fri, Apr 19, 2013 at 10:27 AM, Leonardo M. Ramé l.r...@griensu.com wrote: I'm creating a very basic TCustomControl with just a Constructor and its Destructor. TMyCustomControl = class(TCustomControl) public constructor Create(TheOwner: TComponent);override; destructor Destroy;

Re: [Lazarus] SIGSEGV when trying to use a TCustomControl

2013-04-19 Thread Leonardo M . Ramé
On 2013-04-19 10:35:18 -0300, Flávio Etrusco wrote: On Fri, Apr 19, 2013 at 10:27 AM, Leonardo M. Ramé l.r...@griensu.com wrote: I'm creating a very basic TCustomControl with just a Constructor and its Destructor. TMyCustomControl = class(TCustomControl) public constructor

Re: [Lazarus] Runtime package (manual compilation only) forced to re-compile by a design time dependant package?

2013-04-19 Thread patspiper
On 17/04/13 18:32, Mattias Gaertner wrote: Yes, it was more a reflex than a well thought answer. Manually compiled packages do not follow the recommendations. So I guess it will be hard to write an analyzer that gives the right advice. For packages that share source directories the advice is

Re: [Lazarus] SIGSEGV when trying to use a TCustomControl

2013-04-19 Thread Marcos Douglas
On Fri, Apr 19, 2013 at 10:38 AM, Leonardo M. Ramé l.r...@griensu.com wrote: On 2013-04-19 10:35:18 -0300, Flávio Etrusco wrote: On Fri, Apr 19, 2013 at 10:27 AM, Leonardo M. Ramé l.r...@griensu.com wrote: I'm creating a very basic TCustomControl with just a Constructor and its Destructor.

Re: [Lazarus] SIGSEGV when trying to use a TCustomControl

2013-04-19 Thread Leonardo M . Ramé
On 2013-04-19 10:53:09 -0300, Marcos Douglas wrote: On Fri, Apr 19, 2013 at 10:38 AM, Leonardo M. Ramé l.r...@griensu.com wrote: On 2013-04-19 10:35:18 -0300, Flávio Etrusco wrote: On Fri, Apr 19, 2013 at 10:27 AM, Leonardo M. Ramé l.r...@griensu.com wrote: I'm creating a very basic

Re: [Lazarus] SIGSEGV when trying to use a TCustomControl

2013-04-19 Thread patspiper
On 19/04/13 16:59, Leonardo M. Ramé wrote: On 2013-04-19 10:53:09 -0300, Marcos Douglas wrote: On Fri, Apr 19, 2013 at 10:38 AM, Leonardo M. Ramé l.r...@griensu.com wrote: On 2013-04-19 10:35:18 -0300, Flávio Etrusco wrote: On Fri, Apr 19, 2013 at 10:27 AM, Leonardo M. Ramé l.r...@griensu.com

Re: [Lazarus] Empty function?

2013-04-19 Thread Lubos Pintes
Unfortunately the gitk doesn't work at all with screen reader, even display hooks are not working so I see absolutely nothing. How can I retrieve this information through the console? I am fairly new to git... Dňa 19. 4. 2013 14:03 Juha Manninen wrote / napísal(a): On 4/19/13, Lubos Pintes

Re: [Lazarus] Empty function?

2013-04-19 Thread Lubos Pintes
I believe this is already solved, as Mattias said, something not needed was generated by code completion. Dňa 19. 4. 2013 14:58 Graeme Geldenhuys wrote / napísal(a): On 2013-04-19 13:03, Juha Manninen wrote: What is the last revision you see at upstream head? I can also confirm that the

Re: [Lazarus] Sharing of large files

2013-04-19 Thread Kostas Michalopoulos
On Thu, Apr 18, 2013 at 9:28 PM, Andrew Brunner atbrun...@aurawin.comwrote: I'm going to have to stop at this singular point. Aurawin web apps are instantly accessible globally and scaleable. Yeah, but the majority of people use their apps in one or two computers (home and work) so it

Re: [Lazarus] Empty function?

2013-04-19 Thread Juha Manninen
On 4/19/13, Lubos Pintes pin...@gmail.com wrote: Unfortunately the gitk doesn't work at all with screen reader, even display hooks are not working so I see absolutely nothing. How can I retrieve this information through the console? git log with its many parameters. I must say you have a

Re: [Lazarus] Is the site http://forum.lazarus.freepascal.org dead?

2013-04-19 Thread Marc Weustink
GREP wrote: I get this message: The connection has timed out The server at forum.lazarus.freepascal.org is taking too long to respond. The modem works fine with all other sites (and is brand new). I tried to access id with the firewall shutdown: nothing. What would the provider do to

Re: [Lazarus] Empty function?

2013-04-19 Thread Lubos Pintes
Ahh git log. :-D I am stupid really, I am using it often. Dňa 19. 4. 2013 17:28 Juha Manninen wrote / napísal(a): On 4/19/13, Lubos Pintes pin...@gmail.com wrote: Unfortunately the gitk doesn't work at all with screen reader, even display hooks are not working so I see absolutely nothing. How

[Lazarus] Library function trashing object (was: SIGSEGV when trying to use a TCustomControl)

2013-04-19 Thread Leonardo M . Ramé
I'm using a C++ library with a function that receives a parameter this way: int getData(void * buffer, unsigned long bufSize){ bufSize = 10; return 1; } The Pascal definition I'm using is this: function (var buffer: pointer; var bufsize: longword): Integer; cdecl; I'm using this library

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-19 Thread Anthony Walter
In case anyone is interested, I tested the free cmd line tool (doc-o-matic express) for help generation which handles both of these problems (dotted namespaces and delphi style generics). It even has a lot of extra features. Check out the impressive results from a test on one unit:

Re: [Lazarus] Is the site http://forum.lazarus.freepascal.org dead?

2013-04-19 Thread GREP
it gives: 1 *** Tiempo de espera agotado para esta solicitud. (=time expired) 2 9 ms * 10 ms 10.152.250.254 310 ms 9 ms 9 ms 172.16.110.1 416 ms16 ms15 ms 10.100.0.17 539 ms

Re: [Lazarus] Library function trashing object

2013-04-19 Thread Lubos Pintes
I think you could not declare the second parameter of GetData as var parameter. Because it is then treated as address. I am not sure what corresponds to C++ unsigned long, perhaps LongWord? So try to change the second parameter so that it is not a var parameter. Dňa 19. 4. 2013 19:18 Leonardo M.

Re: [Lazarus] Library function trashing object

2013-04-19 Thread Leonardo M . Ramé
On 2013-04-19 20:52:04 +0200, Lubos Pintes wrote: I think you could not declare the second parameter of GetData as var parameter. Because it is then treated as address. I am not sure what corresponds to C++ unsigned long, perhaps LongWord? So try to change the second parameter so that it is

Re: [Lazarus] Is the site http://forum.lazarus.freepascal.org dead?

2013-04-19 Thread Howard Page-Clark
On 19/04/13 7:16, GREP wrote: I don't even know how to add a hostfile and your command on Windos XP sp3 dowsnot work ipconfig Try opening a command prompt in the directory c:\windows\system32 and type ipconfig /flushdns Enter (note that an h was missed off the parameter in a previous

Re: [Lazarus] Library function trashing object

2013-04-19 Thread Lubos Pintes
I probably don't understand. You will be able to change it, I see no problem. It is a local variable which can be changed. Dňa 19. 4. 2013 20:55 Leonardo M. Ramé wrote / napísal(a): On 2013-04-19 20:52:04 +0200, Lubos Pintes wrote: I think you could not declare the second parameter of GetData

Re: [Lazarus] Library function trashing object

2013-04-19 Thread Leonardo M . Ramé
On 2013-04-19 21:08:29 +0200, Lubos Pintes wrote: I probably don't understand. You will be able to change it, I see no problem. It is a local variable which can be changed. Dňa 19. 4. 2013 20:55 Leonardo M. Ramé wrote / napísal(a): On 2013-04-19 20:52:04 +0200, Lubos Pintes wrote: I think

Re: [Lazarus] Library function trashing object

2013-04-19 Thread Lubos Pintes
This is How I understand the var parameter. It is an address, but is treated as normal variable, so it is not needed to dereference a pointer. For example int f(int* x) in C/C++ corresponds to function f(var x: integer): integer; Now we have int f(int x); If you declare it as function f(var x:

Re: [Lazarus] Lazarus rev 40848/40849 breaks IDE rebuilding

2013-04-19 Thread Mattias Gaertner
On Fri, 19 Apr 2013 16:30:59 +0300 patspiper patspi...@gmail.com wrote: On 19/04/13 15:48, Mattias Gaertner wrote: On Fri, 19 Apr 2013 12:19:00 +0300 patspiper patspi...@gmail.com wrote: On 19/04/13 12:01, Juha Manninen wrote: Can you please go back in SVN history and check that 40849

Re: [Lazarus] Library function trashing object

2013-04-19 Thread Leonardo M . Ramé
On 2013-04-19 21:24:50 +0200, Lubos Pintes wrote: This is How I understand the var parameter. It is an address, but is treated as normal variable, so it is not needed to dereference a pointer. For example int f(int* x) in C/C++ corresponds to function f(var x: integer): integer; Now we have

Re: [Lazarus] Library function trashing object

2013-04-19 Thread Hans-Peter Diettrich
Leonardo M. Ramé schrieb: On 2013-04-19 21:08:29 +0200, Lubos Pintes wrote: I probably don't understand. You will be able to change it, I see no problem. It is a local variable which can be changed. You're right, C++ is equivalent to Pascal var. Well, removing the var in the 2nd param, at

Re: [Lazarus] Runtime package (manual compilation only) forced to re-compile by a design time dependant package?

2013-04-19 Thread patspiper
On 19/04/13 22:31, Mattias Gaertner wrote: Hence, the cycle was to inspect IDE internals, rebuild the IDE, and check the messages window. So I had an insight on what was supposed to be recompiled and most importantly why, and compared that with the actual compilation. You can see in the stdout

Re: [Lazarus] Lazarus rev 40848/40849 breaks IDE rebuilding

2013-04-19 Thread Mattias Gaertner
On Fri, 19 Apr 2013 23:08:14 +0300 patspiper patspi...@gmail.com wrote: [...] When the LCL is recompiled your package must be compiled too. But since it is manual, it was not done that. That gives the checksum changed error. There were several previous revisions, and none caused these

Re: [Lazarus] Runtime package (manual compilation only) forced to re-compile by a design time dependant package?

2013-04-19 Thread Mattias Gaertner
On Fri, 19 Apr 2013 23:12:36 +0300 patspiper patspi...@gmail.com wrote: On 19/04/13 22:31, Mattias Gaertner wrote: [...] Mine was set at 512 lines (I have been upgrading Ubuntu versions since 8.04 or 8.10). I'll make it unlimited. Then you can easily run out of memory. Try 10 to 100.000

Re: [Lazarus] Lazarus rev 40848/40849 breaks IDE rebuilding

2013-04-19 Thread Mattias Gaertner
On Fri, 19 Apr 2013 23:41:37 +0300 patspiper patspi...@gmail.com wrote: On 19/04/13 23:22, Mattias Gaertner wrote: On Fri, 19 Apr 2013 23:08:14 +0300 patspiper patspi...@gmail.com wrote: [...] When the LCL is recompiled your package must be compiled too. But since it is manual, it

Re: [Lazarus] Building LCL docs

2013-04-19 Thread Marco van de Voort
On Fri, Apr 12, 2013 at 04:45:15PM +0200, Mattias Gaertner wrote: I've tried using fpdoc from FPC 2.6.2, 2.6.3 and 2.7.1. I each case fpdoc crashes. I've tried generating HTML, CHM and IPF documentation - no luck with any of them. I'm using Lazarus (trunk) from r40661 (28 March 2013).

Re: [Lazarus] Is the site http://forum.lazarus.freepascal.org dead?

2013-04-19 Thread GREP
ok the command worked but did nothing:still timed out -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Is-the-site-http-forum-lazarus-freepascal-org-dead-tp4030766p4030849.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. --

[Lazarus] Bluetooth package error

2013-04-19 Thread Anthony Tekatch
Hello, I'm trying to get the Bluetooth package running (here): http://wiki.freepascal.org/Bluetooth and got the following error on Lazarus V1.1; Error: Fields cannot appear after a method or property definition, start a new visibility section first at this line: WiiMotes: TWiiMotes; in

Re: [Lazarus] Bluetooth package error

2013-04-19 Thread Anthony Tekatch
On Fri, 19 Apr 2013 19:37:17 -0400, Anthony Tekatch anth...@unihedron.com wrote: Also, I noticed that the hci_inquiry_1 returns 0 if only one Bluetooth device is found, in WiiMoteTools.pas : for i:=0 to found_devices-1 do begin will not work, it should be changed to: for i:=0 to

Re: [Lazarus] Bluetooth package error

2013-04-19 Thread Mattias Gaertner
On Fri, 19 Apr 2013 19:37:17 -0400 Anthony Tekatch anth...@unihedron.com wrote: Hello, I'm trying to get the Bluetooth package running (here): http://wiki.freepascal.org/Bluetooth and got the following error on Lazarus V1.1; Error: Fields cannot appear after a method or property