Re: [lazarus] "tooltip expression evaluation" feature?

2006-01-30 Thread Graeme Geldenhuys
Ok, tested it, and it doesn't work here on a Win2000 or WinXP OS.  Is
there any other settings that must be enabled, in Lazarus or GDB,
other that the checkbox it Editor Options?

What version of GDB are you guys using?

Regards,
  - Graeme -




On 1/30/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
> > It might be a undetected incompatibility between Windows 2000 and
> > Windows XP. I also noticed that sometimes the hints don't seem to work,
> > but they definitely work on Windows XP.
>
> I will ask a co-worker to test it on his Windows XP computer tomorrow.
>  He is running the exact versions of Lazarus, FPC and gdb as I am.
>
> Regards,
>   - Graeme -
>

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] patch for bug 1673

2006-01-30 Thread Andrew Haines

Hi this fixes bug 1673, it was just a typo.

Andrew
Index: gtkproc.pp
===
--- gtkproc.pp  (revision 8600)
+++ gtkproc.pp  (working copy)
@@ -1180,7 +1180,7 @@
   XEvent.format := 32;
   XEvent.data.l[0] := _NET_WM_STATE_ADD;
   XEvent.data.l[1] := _NET_WM_STATE_MAXIMIZED_HORZ;
-  XEvent.data.l[1] := _NET_WM_STATE_MAXIMIZED_VERT;
+  XEvent.data.l[2] := _NET_WM_STATE_MAXIMIZED_VERT;
 
   XSendEvent(XDisplay, aXRootWindow, False, SubstructureNotifyMask, @XEvent);
 end;


Re: [lazarus] Key value problems

2006-01-30 Thread Marc Weustink

Andrew Higgs wrote:

Marc Weustink wrote:


Andrew Higgs wrote:


Marc Weustink wrote:


Andrew Higgs wrote:


Can anyone shed light on this problem?

I get this message when running Lazarus (and my apps)...

[WARNING] Out of OEM specific VK codes, changing to unassigned






What keyboard layout do you use ?

Marc






Hi Marc




Sorry for the late reply, I was on a holliday.


I use US English as my layout.




Strange.

What platform ? Linux or win32 ?

Marc



Hi Marc,

It was on 64bit Ubuntu. I no longer have the problem as I re-installed 
the 32bit version. I can try to recreate it if you think it is worth 
pursuing.


I'll check it on a 64bit machine first

marc

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Key value problems

2006-01-30 Thread Andrew Higgs

Marc Weustink wrote:

Andrew Higgs wrote:


Marc Weustink wrote:


Andrew Higgs wrote:


Can anyone shed light on this problem?

I get this message when running Lazarus (and my apps)...

[WARNING] Out of OEM specific VK codes, changing to unassigned





What keyboard layout do you use ?

Marc





Hi Marc



Sorry for the late reply, I was on a holliday.


I use US English as my layout.



Strange.

What platform ? Linux or win32 ?

Marc


Hi Marc,

It was on 64bit Ubuntu. I no longer have the problem as I re-installed 
the 32bit version. I can try to recreate it if you think it is worth 
pursuing.


Regards
Andrew Higgs

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Key value problems

2006-01-30 Thread Marc Weustink

Andrew Higgs wrote:

Marc Weustink wrote:


Andrew Higgs wrote:


Can anyone shed light on this problem?

I get this message when running Lazarus (and my apps)...

[WARNING] Out of OEM specific VK codes, changing to unassigned




What keyboard layout do you use ?

Marc




Hi Marc


Sorry for the late reply, I was on a holliday.


I use US English as my layout.


Strange.

What platform ? Linux or win32 ?

Marc

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] "tooltip expression evaluation" feature?

2006-01-30 Thread Graeme Geldenhuys
> It might be a undetected incompatibility between Windows 2000 and
> Windows XP. I also noticed that sometimes the hints don't seem to work,
> but they definitely work on Windows XP.

I will ask a co-worker to test it on his Windows XP computer tomorrow.
 He is running the exact versions of Lazarus, FPC and gdb as I am.

Regards,
  - Graeme -

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] "tooltip expression evaluation" feature?

2006-01-30 Thread Vincent Snijders

Graeme Geldenhuys wrote:

Hi,



From what I understood "tooltip expression evaluation" means, is that

if I put a breakpoint on line 2 and run the app.


AFAIK there you ca not set the breakpoint on the very first line of a
program.



OK, I meant the second line in a event or function, after the begin
keyword. eg: A button click event.



Does the program stop at the breakpoint?
Can you see something in View -> Debug Output while running?



Yes it does stop at the breakpoint.  I attach a screenshot showing
where I put my breakpoints, and where I hold the mouse cursor
(currently over the letter b).  If I hover the cursor over the a, b or
c, no tooltip appears.  Yes, I did enable "tooltip expression" under
Editor Options -> CodeTools.

I also attached a zip file with the test program, and my Debug Output
in a text file.

In case you needed to know, I am using FPC 2.0.3, Lazarus 0.9.11
(rev:8648) and gdb 6.0 on a Windows 2000 computer.



It might be a undetected incompatibility between Windows 2000 and 
Windows XP. I also noticed that sometimes the hints don't seem to work, 
but they definitely work on Windows XP.


Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] "tooltip expression evaluation" feature?

2006-01-30 Thread Graeme Geldenhuys
> Detecting single char variables under the mouse is a bit tricky. What
> you can try is to select the variable and hold the mouse over it.

Change the  a, b and c to six characters, and still no tooltip.  Also
tried to select and hold. Still nothing.  :-(


Regards,
  - Graeme -


ScreenShot2.png
Description: PNG image


Re: [lazarus] "tooltip expression evaluation" feature?

2006-01-30 Thread Marc Weustink

Graeme Geldenhuys wrote:

Hi,



From what I understood "tooltip expression evaluation" means, is that

if I put a breakpoint on line 2 and run the app.


AFAIK there you ca not set the breakpoint on the very first line of a
program.



OK, I meant the second line in a event or function, after the begin
keyword. eg: A button click event.



Does the program stop at the breakpoint?
Can you see something in View -> Debug Output while running?



Yes it does stop at the breakpoint.  I attach a screenshot showing
where I put my breakpoints, and where I hold the mouse cursor
(currently over the letter b).  If I hover the cursor over the a, b or
c, no tooltip appears.  Yes, I did enable "tooltip expression" under
Editor Options -> CodeTools.


Detecting single char variables under the mouse is a bit tricky. What 
you can try is to select the variable and hold the mouse over it.


Marc

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] PasZlib still

2006-01-30 Thread Graeme Geldenhuys
> Just a question Graeme, does dzlib deal with winzip or gzip format ? The files
> I need access to are all gzipped.

gzip format!

Regards,
  - Graeme -

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] VirtualTree

2006-01-30 Thread Micha Nelissen
On Mon, 30 Jan 2006 17:21:15 +0100
Marc Weustink <[EMAIL PROTECTED]> wrote:

> Andrea Mauri wrote:
> > but it is commented in the lmessages.pp unit:
> > //CM_PARENTFONTCHANGED= CM_BASE + 8; // LCL doesn't send or receive
> > Anyone could help me?
> 
> We commented it out to see if any 3rd party tool would use it. You just 
> found out.

And there should be a virtual method like ParentFontChanged providing the
same functionality.

Micha

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] PasZlib still

2006-01-30 Thread A.J. Venter
Thanks for this, I am now evaluating all the suggestions.

Just a question Graeme, does dzlib deal with winzip or gzip format ? The files 
I need access to are all gzipped.

Ciao
A.J.
On Monday 30 January 2006 18:51, Graeme Geldenhuys wrote:
> Hi AJ,
>
> Not sure if paszlib is the same as dzlib?  I think the dzlib just uses
> the same zlib interface as what is included in Dephi.
>
> Anyway, I attached a zip file containing 5 units as I use them.
>
> tiCompress:
> Defines a abstract class and a Factory for registering different
> compression algorithms with my app.
>
> tiCompressZlib:
> Implements the interface with zlib compression
>
> tiCompressNone:
> Implements the interface with no compression. Handy for unit testing
> and debugging.
>
> tiConstans:
> contains some of the constans I use
>
> dzlib:
> zlib compression library
>
> Hope that helps a fellow ZA citizen.
>
> Regards,
>   - Graeme -
>
> On 1/29/06, A.J. Venter <[EMAIL PROTECTED]> wrote:
> > I am still unable to get paszlib to work.
> >
> > I have since gone to some pretty big lengths toward my goal, but I am
> > afraid I am stuck.
> > I think the ideal way would be to be able to read the file into a
> > TMemstream, decompress it into another Tmemstream and then write that
> > out, but I must admit I have no idea how to go about achieving that.

-- 
A.J. Venter
Chief Software Architext
OpenLab International
www.getopenlab.com
www.silentcoder.co.za
+27 82 726 5103

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] VirtualTree

2006-01-30 Thread Marc Weustink

Andrea Mauri wrote:

Hi,
I downloaded the last svn vesion of Lazarus (WinXP) with tortoisesvn.
I've installed VirtaulTree in my Lazarus IDE some weeks ago, it worked 
but now it doesn't work, building Lazarus it says that 
CM_PARENTFONTCHANGE is not defined.
I saw that in the vtheader.inc it VirtualTree uses CM_PARENTFONTCHANGE 
but it is commented in the lmessages.pp unit:

//CM_PARENTFONTCHANGED= CM_BASE + 8; // LCL doesn't send or receive
Anyone could help me?


We commented it out to see if any 3rd party tool would use it. You just 
found out.


Marc

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] VirtualTree

2006-01-30 Thread Andrea Mauri

Hi,
I downloaded the last svn vesion of Lazarus (WinXP) with tortoisesvn.
I've installed VirtaulTree in my Lazarus IDE some weeks ago, it worked 
but now it doesn't work, building Lazarus it says that 
CM_PARENTFONTCHANGE is not defined.
I saw that in the vtheader.inc it VirtualTree uses CM_PARENTFONTCHANGE 
but it is commented in the lmessages.pp unit:

//CM_PARENTFONTCHANGED= CM_BASE + 8; // LCL doesn't send or receive
Anyone could help me?
Thanks,
Andrea

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] "tooltip expression evaluation" feature?

2006-01-30 Thread Mattias Gaertner
On Mon, 23 Jan 2006 16:02:14 +0200
Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I just read the Bug Report 1649.  I saw the option in Lazarus for
> "tooltip expression evaluation", but have know idea how this works?  I
> have always tried it, as mentioned in the bug report, as that is how
> it worked under Delphi/Kylix, but in never worked for me.
> 
> What is the "tooltip expression evaluation" in Lazarus, and how do you use
> it?
> 
> Example of what I tried:
> ---
> begin
>   i := ValueA + ValueB;
> ---
> 
> >From what I understood "tooltip expression evaluation" means, is that
> if I put a breakpoint on line 2 and run the app. 

AFAIK there you ca not set the breakpoint on the very first line of a
program.
And if ValueA is a constant, it may be replaced by the compiler.


> When the program
> breaks, I can hover the mouse over "x" or "ValueA" or "ValueB" and a
> tooltip will appear with the value of that variable.

Correct. I just tested: It does.

 
> This is what I expected, but it has never worked under Linux or
> Windows.  Maybe I am understanding this feature all wrong?  Any hints?

Does the program stop at the breakpoint?
Can you see something in View -> Debug Output while running?


Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Image List Editor and List View Editor converted to lfm

2006-01-30 Thread Mattias Gaertner
On Fri, 27 Jan 2006 14:54:23 +0100
Tomas Gregorovic <[EMAIL PROTECTED]> wrote:

> Hi, I have converted Image List Editor and List View Editor converted to 
> lfm.
> 
> Known issues:
> 
> TSelectPropertiesForm has been using some string constants for Image 
> List Editor. This is a real mess. There is so much redudancy in these 
> constants.
> 
> Image List Editor
> - TListBox is replaced with TTreeView, which shows small images
> - the glyph can be stretched, cropped or centered, but then the 
> transparency doesn't work unless the bitmap transperency and masking is 
> implemented.

Applied. Thanks.

Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Encryption library

2006-01-30 Thread aj
> There is an urgen need for an Encryption library ready to use on Lazarus.
> Searching on the WEB, I found some open source libraries that could
> probably
> be converted to Lazarus, but, there are asm pieces of code. An example is
> TurboPower's LockBox library.
>
> I suppose that using asm will make the solution incompatible at least to
> Apple Mac systems.
>
> Is it correct?
> Is there any such library compatible to Windows, Linux, OS X or any other
> OS?
>
> Any help would be most appreciated.
Got this list from the freepascal contributed units page, I can`t say
which if any of them are in active developement/maintained though.

 http://daniel.slackfiles.net/crypto/
http://www.win.tue.nl/~wstomv/software/AES-Rijndael/

Ciao
A.J.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] PasZlib still

2006-01-30 Thread Michael Van Canneyt



On Sun, 29 Jan 2006, A.J. Venter wrote:


I am still unable to get paszlib to work.

I have since gone to some pretty big lengths toward my goal, but I am afraid I
am stuck.
I think the ideal way would be to be able to read the file into a TMemstream,
decompress it into another Tmemstream and then write that out, but I must
admit I have no idea how to go about achieving that.


See the zstream unit. It does all that for you.


So considering that, for the moment I decided that I may have made a mistake
in my code conversions, so I fell back on minigz's own code virtually
unaltered, but wrapped inside a component.

All I get is that when I call the extract method - the program throws:
TApplication.HandleException Access violation
 Stack trace:
 $40489AE0  GZ_EXTRACT_finalize_implicit,  line 54 of gtkglobals.pp

What does an error in finalize MEAN ?


A string which is being finalized, or a dynamic array.

Michael.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives