Re: [lazarus] postgres revisited

2008-02-08 Thread Marc Weustink
Alex du Plessis wrote: Alex du Plessis wrote: Hi all Earlier I reported a problem finding libpq.dll. I then suspected a problem on my disc and did a complete Windows XP re-install, followed by a postgres 8.3 install and then a Lazarus 0.9.25 re-install. I started by changing fpc.cfg

Re: [lazarus] Behavior of ClientToScreen in scrolling windows across different widget sets

2008-02-07 Thread Marc Weustink
Luiz Americo Pereira Camara wrote: While debugging scrolling bugs in LCL i found that ClientToScreen acts differently according to the widget set. These are the behaviors: 1) The returned value is related to the actual position, i.e., it does not consider the scroll offset. If you pass

Re: [lazarus] SelectDirectory double click

2008-02-06 Thread Marc Weustink
Vincent Snijders wrote: Graeme Geldenhuys schreef: On 06/02/2008, Vincent Snijders [EMAIL PROTECTED] wrote: is excellent under windows, because it use the common dialog for it. Yes, but GTK1 doesn't have a native Select Directory dialog as for as I could tell, so the LCL hack (which I think

Re: [lazarus] Trouble with postgres

2008-02-06 Thread Marc Weustink
dayat wrote: please search the libpq.dll on the web and download it, or you can copy the *.dll in your server such in C:\Program Files\PostgreSQL\8.1\bin\libpq.dll and other depend *.dll in same directory. Put the *.dll in C:\Windows\System32\ directory in client computer. may be can help

Re: [lazarus] RecreateWnd

2008-02-04 Thread Marc Weustink
Paul Ishenin wrote: Giuliano Colla wrote: From a quick look to documentation, RecreateWnd is just a dangerous hack/workaround to overcome some Windows bugs/inadequacies. In Windows it's impossible to change some properties of a window, such as: * Changing the border style. *

Re: [lazarus] Determining Crossplatform functions

2008-02-01 Thread Marc Weustink
SteveG wrote: Could anybody tell me if GetKeyState (and family) is cross platform or not ? - if not, is there a cross platform equivalent? I know that it is ultimately connected to the winapi, but does fpc/laz redirect to suit platforms ? On this note, is it at all possible to know which

Re: [lazarus] I have a dream

2008-01-30 Thread Marc Weustink
Giuliano Colla wrote: Vincent Snijders ha scritto: Giuliano Colla schreef: Vincent Snijders ha scritto: Graeme Geldenhuys schreef: On 29/01/2008, Vincent Snijders [EMAIL PROTECTED] wrote: You don't need ifdefs. You need to fix the differences. Fix the gtk1 interface to scroll the memo. Fix

Re: [lazarus] Found serious bug in win32 interface

2008-01-30 Thread Marc Weustink
Andrey Gusev wrote: * Paul Ishenin [EMAIL PROTECTED] [Wed, 30 Jan 2008 11:27:16 +0700]: Andrey Gusev wrote: That: --- interfaces/win32/win32callback.inc(revision 13905) +++ interfaces/win32/win32callback.inc(working copy) @@ -504,7 +504,7 @@ if (ControlDC = 0) or not

Re: [lazarus] Default target OS/CPU for projects ?

2008-01-26 Thread Marc Weustink
Michael Van Canneyt wrote: Hello, How does the IDE determine the target OS/CPU if none is specified for a project ? Apparently, it takes the same OS/CPU combination as the one the IDE itself was compiled with. In my opinion, this is wrong. It should see what compiler was selected, and use

Re: synedit patch from ales

2008-01-25 Thread Marc Weustink
Ales Katona wrote: Felipe Monteiro de Carvalho wrote / napísal(a): On Jan 25, 2008 6:23 PM, Ales Katona [EMAIL PROTECTED] wrote: That's not enougth. It already works for ascii characters today. Please test with both unicode and non-unicode IDE on strings with accented characters. ASCII

Re: [lazarus] Introduction

2008-01-23 Thread Marc Weustink
Giuliano Colla wrote: Felipe Monteiro de Carvalho ha scritto: On Jan 23, 2008 2:08 AM, Giuliano Colla [EMAIL PROTECTED] wrote: The test isn't by me, but by someone who complained about z-order in gtk2 not being correct. A lot of time ago. I know, it's voluntary work, everybody does its best.

Re: [lazarus] OpenMoko and FPC/Lazarus

2008-01-22 Thread Marc Weustink
Florian Klaempfl wrote: Marc Weustink schrieb: Marc Weustink wrote: Florian Klaempfl wrote: Luca Olivetti schrieb: En/na Florian Klaempfl ha escrit: It should be enough to build FPC with OPT=-dFPC_ARMEL So it's now possible to produce eabi code with fpc? Well, I did initial support

Re: [lazarus] OpenMoko and FPC/Lazarus

2008-01-22 Thread Marc Weustink
Luca Olivetti wrote: En/na Marc Weustink ha escrit: From this I assume syscalls in this case are correct and I guess there is some difference between syscall calling and library calling. Maybe openmoko as an eabi kernel compiled with oabi compatibility? (otherwise I think old style

Re: [lazarus] Lazarus compiled with GTK2 [part 1 of 2]

2008-01-22 Thread Marc Weustink
Graeme Geldenhuys wrote: On 22/01/2008, Giuliano Colla [EMAIL PROTECTED] wrote: I gather that someone is already using GTK2, but I believe that he's not much demanding in terms of graphic appearance. My customers would run after me with a hammer if I'd dare to show them the current state of the

Re: [lazarus] What is wrong with the Toolbar?

2008-01-22 Thread Marc Weustink
Lord Satan wrote: On Tue, 22 Jan 2008 14:15:03 +0100 Giuliano Colla [EMAIL PROTECTED] wrote: The only problem is that you have another goal which is to be Delphi compatible. When two goals are in conflict, as they are, you should make a choice. Either drop Delphi compatibility and use native

Re: [lazarus] Lazarus compiled with GTK2 [part 1 of 2]

2008-01-22 Thread Marc Weustink
Luiz Americo Pereira Camara wrote: Marc Weustink wrote: Graeme Geldenhuys wrote: On 22/01/2008, Giuliano Colla [EMAIL PROTECTED] wrote: I gather that someone is already using GTK2, but I believe that he's not much demanding in terms of graphic appearance. My customers would run after me

Re: [lazarus] OpenMoko and FPC/Lazarus

2008-01-21 Thread Marc Weustink
Florian Klaempfl wrote: Luca Olivetti schrieb: En/na Florian Klaempfl ha escrit: It should be enough to build FPC with OPT=-dFPC_ARMEL So it's now possible to produce eabi code with fpc? Well, I did initial support. If you provide bugs reports, I'll try to fix them. hmm... current

Re: [lazarus] OpenMoko and FPC/Lazarus

2008-01-21 Thread Marc Weustink
Marc Weustink wrote: Florian Klaempfl wrote: Luca Olivetti schrieb: En/na Florian Klaempfl ha escrit: It should be enough to build FPC with OPT=-dFPC_ARMEL So it's now possible to produce eabi code with fpc? Well, I did initial support. If you provide bugs reports, I'll try to fix them

Re: [lazarus] OpenMoko and FPC/Lazarus

2008-01-20 Thread Marc Weustink
Marc Weustink wrote: ik wrote: Hi, While google suggest rewards for developing applications for Android, there is an open source firmware named OpenMoko (http://openmoko.org/). I asked Michael Shiloh what are some of the requirement in building apps in different compilers (FPC to be exact

Re: [lazarus] Introduction

2008-01-20 Thread Marc Weustink
Lord Satan wrote: On Sun, 20 Jan 2008 22:33:53 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: I still think having a custom Object Pascal written toolkit for Lazarus is the way to go. The LCL would have progressed and stabilized much faster if the Lazarus developers did that from the start.

Re: [lazarus] SVN

2008-01-18 Thread Marc Weustink
Stephano wrote: Vincent Snijders wrote: Can you try with svn2.freepascal.org? Same problem with http://svn2.freepascal.org/svn/lazarus/trunk! Moreover, http://svn.freepascal.org:8080/svn/lazarus/trunk and Ah, I guess that since the rebuild of the svnserver is doesn't listen to 8080

Re: [lazarus] SVN

2008-01-17 Thread Marc Weustink
Stephano wrote: I can't update nor checkout (SVN) both FPC Lazarus anymore! I used to do it daily, but stopped for about a month. Now I can't. As if punishment time has come :( I use http://svn.freepascal.org/svn/lazarus/trunk for Lazarus svn. TortoiseSVN retrieves a few KB and hangs with no

Re: RES: [lazarus] Solution to the BIG compiled file issue!

2008-01-16 Thread Marc Weustink
Christian U. wrote: Marc Weustink schrieb: Cesar Liws Gmail wrote: I Agree with you Fabio, and also it can be implemented in Lazarus: 1) Debug Path – LCL with Debug info 2) Release Path – LCL WITHOUT Debug Info What if I want other options in my release ? Assertions on/off

Re: RES: [lazarus] Solution to the BIG compiled file issue!

2008-01-16 Thread Marc Weustink
Christian U. wrote: Marc Weustink schrieb: Cesar Liws Gmail wrote: I Agree with you Fabio, and also it can be implemented in Lazarus: 1) Debug Path – LCL with Debug info 2) Release Path – LCL WITHOUT Debug Info What if I want other options in my release ? Assertions on/off

Re: [lazarus] Rebuilding RTL and FCL inside LazIDE

2008-01-16 Thread Marc Weustink
Al Boldi wrote: Christian U. wrote: RTL and FCL are never build while building lazarus its a bit hard to add an option for this i think. Assume I have both debug and release versions build myself. Mattias, what is needed to add rebuilding RTL/FCL from within the IDE? This is goining into

Re: [lazarus] Cannot reach lazarus.freepascal.org

2008-01-16 Thread Marc Weustink
Giuliano Colla wrote: Gerard N/A ha scritto: Is anybody able to reach http://lazarus.freepascal.org? I get a timeout after the address is resolved. It appears to be down. http://www.freepascal.org/ works, http://wiki.lazarus.freepascal.org/ works, but http://www.lazarus.freepascal.org

Re: [lazarus] OpenMoko and FPC/Lazarus

2008-01-16 Thread Marc Weustink
ik wrote: Hi, While google suggest rewards for developing applications for Android, there is an open source firmware named OpenMoko (http://openmoko.org/). I asked Michael Shiloh what are some of the requirement in building apps in different compilers (FPC to be exact, and I also mentioned

Re: RES: [lazarus] Solution to the BIG compiled file issue!

2008-01-15 Thread Marc Weustink
Cesar Liws Gmail wrote: I Agree with you Fabio, and also it can be implemented in Lazarus: 1) Debug Path – LCL with Debug info 2) Release Path – LCL WITHOUT Debug Info What if I want other options in my release ? Assertions on/off or Rangechecking on/off ? When Im writing my

Re: [lazarus] Native debugger

2008-01-15 Thread Marc Weustink
ik wrote: On Jan 15, 2008 11:00 PM, Vincent Snijders [EMAIL PROTECTED] wrote: Al Boldi schreef: Cesar Liws Gmail wrote: Check out http://sourceforge.net/projects/mseide-msegui It's got a nicely integrated debugger, AFAIK, it is also a front end to GDB. complete with CpuView and integrated

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-15 Thread Marc Weustink
Micha Nelissen wrote: Marc Weustink wrote: the following app is valid: program a; {$mode objfpc}{$h+} var p: PChar; s: String; begin p := 'abcdef'; s := p; end. An assignment is not necessarily the same as a typecast, as far as I know. They could be handled by different pieces

Re: [lazarus] Internal debugger for Lazarus

2008-01-15 Thread Marc Weustink
Wanderlan Santos dos Anjos wrote: An initial development this is at Lazarus\debugger\windebug \fpwd by Marc. Is it stopped? See my reply somwhere in the big thread with subject native debugger Marc _ To unsubscribe: mail

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-14 Thread Marc Weustink
ik wrote: On Jan 14, 2008 3:59 AM, wfifi [EMAIL PROTECTED] wrote: thanks ido wireshark is a great tool, i attach a log, found data is got, but Component's status not change. I've read your code again (and looked at the log), I noticed this: strstream.WriteString(String(ABuffer)) You are

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-14 Thread Marc Weustink
Luiz Americo Pereira Camara wrote: Marc Weustink wrote: ik wrote: On Jan 14, 2008 3:59 AM, wfifi [EMAIL PROTECTED] wrote: thanks ido wireshark is a great tool, i attach a log, found data is got, but Component's status not change. I've read your code again (and looked at the log), I noticed

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-14 Thread Marc Weustink
Luiz Americo Pereira Camara wrote: Marc Weustink wrote: You are casting a pointer as a string... The way to convert PChar to a string is to use the function StrPas Only if you use shortstrings. When using ansistrings you can cast a PChar in to a string like: String(SomePchar

Re: [lazarus] Mac OS X : TBitBtn Transparency

2008-01-10 Thread Marc Weustink
Dominique Louis wrote: I finally updated to Lazarus v0.9.24 and the glyph transparency issue still does not work with TBitBtns, but works fine on TToolButtons. How do you set the glyph ? In code or in the ide ? Marc _ To

Re: [lazarus] Dialogs have disappeared from last svn's

2008-01-09 Thread Marc Weustink
Giuliano Colla wrote: Since a few updates a lot of dialogs fails to show on IDE. Project and compiler options (both old style and new style), Package dialogs, Tools-Configure build Lazarus, Environment and Editor options Debugger Options, Code Templates, fail to open. CodeTools Options and

Re: [lazarus] accessing internal widgetset handle

2008-01-05 Thread Marc Weustink
Mattias Gaertner wrote: On Sun, 06 Jan 2008 01:13:52 +0700 Bee [EMAIL PROTECTED] wrote: Hi all, I'd like to create a gtk(2) app that has a non-rectangular form shape, using Lazarus of course. I know gtk(2) provides API for this purpose. The API requires a pointer to GTKWidget. But, I couldn't

Re: [lazarus] Making GTK Thread Safe

2007-12-30 Thread Marc Weustink
Vincent Snijders wrote: Giuliano Colla schreef: Martin Schreiber ha scritto: On Sunday 30 December 2007 07.39:25 Micha Nelissen wrote: Martin Schreiber wrote: You are right, there seems to be no race condition if one uses WakeMainThread correct. There can be a deadlock if the main

Re: software breakpoints [lazarus]

2007-12-21 Thread Marc Weustink
willem wrote: Under Kubuntu I downloaded the newest lazarus and fpc. But i cannot use software breakpoints. It is disabled. Is this a configuration issue or are software not implemented yet ? Did you configure a debugger in envirenmentoptions - debugger ? Marc

Re: [lazarus] New icon for lazarus

2007-12-21 Thread Marc Weustink
wile64 wrote: 2007/12/21, Roberto Padovani [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hi, this morning I felt like graphing... the print on the ground is a nice idea, so I tried to solve the problem of contrast and resolution in windows detail view, i.e. 16x16 icons.

Re: [lazarus] How to get transparent images from TImageList?

2007-12-21 Thread Marc Weustink
Gerard N/A wrote: If I run project1, the images are displayed Ok, even if I add the ones that I used in my own project. hmm if you added them to the imagelist at designtime, then I wonder what goes wrong.. Marc _ To

Re: software breakpoints [lazarus]

2007-12-21 Thread Marc Weustink
willem wrote: Marc Weustink wrote: willem wrote: Under Kubuntu I downloaded the newest lazarus and fpc. But i cannot use software breakpoints. It is disabled. Is this a configuration issue or are software not implemented yet ? Did you configure a debugger in envirenmentoptions - debugger

Re: [lazarus] Transparent and TransparentColor for TLazIntfImage?

2007-12-21 Thread Marc Weustink
Marco Alvarado wrote: Which are the equivalents of TBitmap.Transparent and TBitmap.TransparentColor for TLazIntfImage? There is none. The mask for TBitmap.TransparentColor is created during loading in TLazReaderBMP, or when set on a loaded image, pixel by pixel. Marc

Re: [lazarus] How to get transparent images from TImageList?

2007-12-20 Thread Marc Weustink
Gerard N/A wrote: Hi all, I am writing a little app with Lazarus (SVN 13389) wich has two toolbars with several buttons each. There is an action list with some actions assinged to toolbar buttons, some to main menu items, and some to both. I droped a TImageList, added some 16X16 pixels

Re: [lazarus] How to get transparent images from TImageList?

2007-12-20 Thread Marc Weustink
Gerard N/A wrote: Sorry, I forgot to add: - Win Xp Pro. - NVidia GForce 5200 - 1024 X 768, 32 bits Try running the next example. If it works, then the imagelist is doing something wrong, else the lcl. Marc http://lazarus.dommelstein.nl/mytest/imagelist

Re: [lazarus] New icon for lazarus

2007-12-20 Thread Marc Weustink
Vincent Snijders wrote: Marc Weustink schreef: wile64 wrote: I propose a new icon for lazarus, It can be used for whatever you want :) huh... this is a grey dot. Any meaning/thoughts ? I thought it was a pawn print of a cheetah. But it is not very clear, you have to 'know' it to see

Re: [lazarus] splash image: share your ideas

2007-12-18 Thread Marc Weustink
wile64 wrote: 2007/12/16, wile64 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hi Marc, Here splash in the vector (just copiede the original) :-( *splash_svg.tar.gz* I think the message is not received? (348 Ko) No, mailinglist limit is 50k. Please send to me in private

Re: [lazarus] CPU Window (or substitute)

2007-12-17 Thread Marc Weustink
Henrick Hellström wrote: AFAIK there is no CPU Window in Lazarus Win64 (is there?). Is there any other convenient way to get a look at a disassembly of the code generated by the compiler? I am in particular interested in the code that is generated immediately before and after asm blocks. Not

Re: [lazarus] Making GTK Thread Safe

2007-12-12 Thread Marc Weustink
Razvan Adrian Bogdan wrote: I've read something interesting in the GTK FAQ, it should be possible to make GTK apps thread safe if they are setup properly, assuming there are many multithreaded apps out there, i think this is really useful, instead of relying on synchronize or simulating Messages

Re: [lazarus] Making GTK Thread Safe

2007-12-12 Thread Marc Weustink
Razvan Adrian Bogdan wrote: On Dec 12, 2007 12:13 PM, Marc Weustink [EMAIL PROTECTED] wrote: The LCL won't be threadsafe, the overhead isn't worth the gain. Do you think it's an overhead to use the internal locking mechanism from GTK ? Not only overhead in gtk widgetset, also in LCL

Re: [lazarus] Proposed About dialog patch

2007-12-12 Thread Marc Weustink
Graeme Geldenhuys wrote: On 10/12/2007, Mattias Gaertner [EMAIL PROTECTED] wrote: Yes I agree on that (and I agreed the first time too). It is only *how* it is done. Thats why I proposed to add a popup. I removed the easter egg. Okay Marc, I hope I got it right this time round. ;-) I

Re: [lazarus] splash image: share your ideas

2007-12-11 Thread Marc Weustink
wile64 wrote: 2007/12/11, Bee [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: It is nice, but I must admit I like a lot the current one. This effort is started when I showed lazarus splash image to my graphic designer. It is also my job ;-) He said it's better to make it

Re: [lazarus] Proposed About dialog patch

2007-12-10 Thread Marc Weustink
Mattias Gaertner wrote: On Thu, 6 Dec 2007 16:55:12 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, I've got the following local changes to my Lazarus. I think these will be handy for everybody when part of official Lazarus. Changes: * Format the compile date to the ISO 8601 format:

Re: [lazarus] Proposed About dialog patch

2007-12-10 Thread Marc Weustink
Graeme Geldenhuys wrote: On 10/12/2007, Marc Weustink [EMAIL PROTECTED] wrote: I am against modifying the clipboard on close of a dialog, please revert and add a popupmenuitme to copy the version number. Q1: How often do you go into the About dialog? A: Certainly never for normal day-to-day

Re: [lazarus] Drawing a spiral

2007-12-02 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, How do I change this code to draw a spiral using the standard Canvas.LineTo that only takes Integer X Y co-ordinates? I did it before, but for the live of me I can't get it right now! :-) eg: Draw(100, 100); procedure TForm1.Draw(X, Y: Integer); var

Re: [lazarus] Re: Lazarus-0.9.24: SIGSEGV in TOpenDialog

2007-12-02 Thread Marc Weustink
Marco Alvarado wrote: So, is there any other option appart from DebugLn(), that works? AFAIK not. Marc Regards! -Marco 2007/12/1, Marc Weustink [EMAIL PROTECTED]: Marco Alvarado wrote: It's a Win32 API function: http://msdn2.microsoft.com/en-us/library/aa363362.aspx Outputs

Re: [lazarus] Re: Lazarus-0.9.24: SIGSEGV in TOpenDialog

2007-12-01 Thread Marc Weustink
Marco Alvarado wrote: It's a Win32 API function: http://msdn2.microsoft.com/en-us/library/aa363362.aspx Outputs a string to the debugger. Lazarus is able to catch those messages, although the output in Lazarus is pretty dirty, and is somehow difficult to read. Correction, lazarus does not

Re: [lazarus] Before After Compilation Comandline Execute

2007-12-01 Thread Marc Weustink
Mattias Gaertner wrote: On Fri, 30 Nov 2007 10:06:11 -0500 Lee Jenkins [EMAIL PROTECTED] wrote: Marc Weustink wrote: Vincent Snijders wrote: Lee Jenkins schreef: Lazarus 0.9.24 Referring to Project Compiler Options Compilation..., When I place a command in Execute After

Re: [lazarus] Before After Compilation Comandline Execute

2007-11-30 Thread Marc Weustink
Lee Jenkins wrote: Vincent Snijders wrote: Lee Jenkins schreef: Lazarus 0.9.24 Referring to Project Compiler Options Compilation..., When I place a command in Execute After, it will actually be executed before. The inverse is true for Execute Before. Should I log this? I did a couple

Re: [lazarus] Message with image as attachement

2007-11-30 Thread Marc Weustink
Damien Gerard wrote: On Nov 30, 2007, at 10:58 AM, Paul Ishenin wrote: Damien Gerard пишет: Each time I send a email to the lazarus ml with an image the mail never reaches. It is a bug or a feature ? :) I think protection from big mail size (if your images are big in size). That was I

Re: [lazarus] Re: Lazarus-0.9.24: SIGSEGV in TOpenDialog

2007-11-30 Thread Marc Weustink
Marco Alvarado wrote: So we don't need GDB? At this moment the lazarus debugger uses GDB. I'm lost, what do you mean by: throwing backtraces from the Lazarus debugger Marc 2007/11/30, Marc Weustink [EMAIL PROTECTED]: Marco Alvarado wrote: GDB is just wonderful!!! It just helped me

Re: [lazarus] Before After Compilation Comandline Execute

2007-11-30 Thread Marc Weustink
Vincent Snijders wrote: Lee Jenkins schreef: Lazarus 0.9.24 Referring to Project Compiler Options Compilation..., When I place a command in Execute After, it will actually be executed before. The inverse is true for Execute Before. Should I log this? I did a couple of cursory searches

Re: [lazarus] Re: Lazarus-0.9.24: SIGSEGV in TOpenDialog

2007-11-30 Thread Marc Weustink
Marco Alvarado wrote: GDB is just wonderful!!! It just helped me to solve the last errors in my application and got the engine finally running in both Windows and Linux :_D Thanks a lot!!! PS. Have you ever thought about throwing backtraces from the Lazarus debugger? Having such feature

Re: [lazarus] Message with image as attachement

2007-11-30 Thread Marc Weustink
Damien Gerard wrote: Each time I send a email to the lazarus ml with an image the mail never reaches. It is a bug or a feature ? :) This is a feature, you don't want to send several 100k to *all* list members. (assume 10k users - 100k * 10k = 1GB of data worst case) IIRC the limit is

Re: [lazarus] Re: Lazarus-0.9.24: SIGSEGV in TOpenDialog

2007-11-30 Thread Marc Weustink
. What you can do is start lazarus from a xterm. Then all is logged in that terminal. Marc Regards! 2007/11/30, Marc Weustink [EMAIL PROTECTED]: Marco Alvarado wrote: So we don't need GDB? At this moment the lazarus debugger uses GDB. I'm lost, what do you mean by: throwing backtraces

Re: [lazarus] TProcess.Input problem

2007-11-29 Thread Marc Weustink
Malcolm Poole wrote: Hello everyone! I am trying to write a front-end for the command-line archiving program dar ( http://dar.linux.free.fr/ ) I can read happily from the dar Process.Output but am not managing to respond using Process.Input When extracting an archive using the commandline,

Re: [lazarus] TProcess.Input problem

2007-11-29 Thread Marc Weustink
Malcolm Poole wrote: Marc Weustink wrote: Malcolm Poole wrote: Hello everyone! I am trying to write a front-end for the command-line archiving program dar ( http://dar.linux.free.fr/ ) I can read happily from the dar Process.Output but am not managing to respond using Process.Input When

Re: [lazarus] Back to 0.9.22

2007-11-29 Thread Marc Weustink
Graeme Geldenhuys wrote: On 29/11/2007, Michael Van Canneyt [EMAIL PROTECTED] wrote: That would be helpful for the Lazarus team, I think. As Marc said: they cannot fix it if they cannot reproduce it. I've been running Lazarus all day via GDB and finally got a crash when I opened a new

Re: [lazarus] TProcess.Input problem

2007-11-29 Thread Marc Weustink
Vincent Snijders wrote: Michael Van Canneyt schreef: On Thu, 29 Nov 2007, Malcolm Poole wrote: Marc Weustink wrote: Malcolm Poole wrote: Hello everyone! I am trying to write a front-end for the command-line archiving program dar ( http://dar.linux.free.fr/ ) Is it possible

Re: cannot find -lGL (OpenGLContext application)

2007-11-28 Thread Marc Weustink
Valdas Jankūnas wrote: [EMAIL PROTECTED] rašė: Quoting Marco Alvarado [EMAIL PROTECTED]: Oh look, I got the same error when compiling the TOpenGLContext example: Compiling package LazOpenGLContext 0.0 completed /usr/bin/ld: cannot find -lGL testopenglcontext1.lpr(14,1) Error: Error while

Re: [lazarus] Back to 0.9.22

2007-11-28 Thread Marc Weustink
Arí Ricardo Ody wrote: We have lots of Lazarus projects here. It would be almost impossible to debug each one and report error(s). Keep in mind that we might not find them ourselves. So when no cause if found they wont get fixed. Marc PS. technically the difference between .24 and .23 is

Re: [lazarus] Makeopts

2007-11-27 Thread Marc Weustink
Damien Gerard wrote: When I use the command line : export LCL_PLATFORM=gtk; make clean all it compiles well. But when I use export LCL_PLATFORM=gtk; make -j 2 clean all it does not compile at all Unlike C where files can compiled simultanious since there is no relation between them, for

Re: [lazarus] Lazarus on OS X

2007-11-26 Thread Marc Weustink
Damien Gerard wrote: I have just download fpc 2.2.1 and the lastest snapshot for OS X. I launch Lazarus and it works fine (however gtk1 is ugly ^^) but I can not launch an empty application. I've got the following message : Unable to find wslclasses.pp, check in path Projects-Compiler

Re: [lazarus] is laz 9.24 fixes on svn ready to be used?

2007-11-26 Thread Marc Weustink
Bee wrote: Correct. The fixes branch, in this moment contains 0.9.24 (r. 12749 in trunk branch, 12771 in the fixes branch, but the only change is making it 0.9.24.1) + patches 12756, 12757 12760 12762 12797 12816 12831 12825 12946 from trunk. (I hope I didn't mistype too many, but an svn log

Re: [lazarus] TMaskEdit new release

2007-11-23 Thread Marc Weustink
Guadagnini David wrote: Yes, those actions are *not* handled by the LCL, it is the widgetset itself which handles the paste. Therefore, you won't see a call to SetText. This is a problem for components similar to MaskEdit because no one can handle text input through alternative control + v.

Re: [lazarus] TMaskEdit new release

2007-11-23 Thread Marc Weustink
Guadagnini David wrote: Again, that did you do ? Paste by doing calling paste, or paste by pressing ctrl-v (or choose paste form edit popup) I tried past with ctrl+v, ctrl+ins and paste from edit popup but It's the same Yes, those actions are *not* handled by the LCL, it is the

Re: [lazarus] TMaskEdit new release

2007-11-23 Thread Marc Weustink
Guadagnini David wrote: In attach You can found my TMaskEdit component with the changes proposed by Marc. Note: TComponent have a big bug (for me). The windows message WM_PASTE is not processed correctly. In fact, if the override procedure RealSetText or WndProc by entering a simple

Re: [lazarus] is laz 9.24 fixes on svn ready to be used?

2007-11-23 Thread Marc Weustink
Bee wrote: The release was built with rev 12749. The new patches are not included. Is 9.24 release is taken from tags folder? I saw it with rev 12750. And I saw the fixes branch is on rev 12958. I look them in laz's svn. Am I correct? Or any other repository that I don't know? in svn are 3

Re: [lazarus] TMaskEdit

2007-11-22 Thread Marc Weustink
Guadagnini David wrote: In attach You can found my TMaskEdit component that work well in Windows At first glance this looks like a clean implementation without copied code (can sombody this verify agains cppbuilder implementations) Some remarks about the code: Try to avoid Arguments and

Re: [lazarus] TMaskEdit

2007-11-22 Thread Marc Weustink
Guadagnini David wrote: Try to avoid Arguments and Methods prefixed with _ For Aguments there is no problem in prefixing them with A, for property getters there is nothing wrong with prefixing them with Get. In your case, GetIsMask makes perfectly clear that it reads the IsMasked property.

Re: [lazarus] LCL in Dll

2007-11-22 Thread Marc Weustink
Leonardo M. Ramé wrote: I'd try to compile Zeos Library in a Dll using Lazarus, it comiples, but can't be loaded at least using LoadLibrary in Windows, resulting in an Unknown Run-Time error 202. Reading in old forums, I found that isn't possible to create forms in dlls because of LCL

Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-21 Thread Marc Weustink
Dominique Louis wrote: I know I've labeled this as Mac OS X, it's probably not specific to that OS. I've looked at the scanline demo and it works fine on Mac OS X. My question is when I try to use the code in my project using Delphi compatability mode, I get the error listed below... var

Re: [lazarus] Latest reviosn fails on Windows

2007-11-21 Thread Marc Weustink
Jeff Steinkamp wrote: C:\lazarusmake makefile:3434: warning: overriding commands for target `examples' makefile:3394: warning: ignoring old commands for target `examples' make -C lcl all make[1]: Entering directory `C:/lazarus/lcl' C:/lazarus/fpc/bin/i386-win32/rm.exe -f

Re: [lazarus] 0.9.24 released

2007-11-21 Thread Marc Weustink
Bee wrote: The Lazarus team is glad to announce the 0.9.24 release. This release is based on fpc 2.2.0. Great job! Congratulations! :) Then I assume this will be shortly followed by fixes branch of this latest stable release (v.0.9.24.1?) using the latest fpc's fixes branch of the latest

Re: [lazarus] last svn problems under fpc 2.0.4

2007-11-18 Thread Marc Weustink
Giulio Bernardi wrote: A little bit off topic... but does lazarus still need to support fpc 2.0.4? AFAIK fpc 2.2.0 runs on all platforms supported by lazarus... or am I missing something? nope. 2.2.0 fails on OSX when sources are located on a casesensitive filesystem. So initially I plead

Re: [lazarus] Laz / Fpc function listing

2007-11-17 Thread Marc Weustink
James Chandler Jr wrote: I've been using Delphi Pro from version 1 thru 2006 (skipped over a few versions). I really like Lazarus, especially the crossplatform aspects. Strangely, have been using Delphi Help (very well put-together) for most Lazarus lookup. I first check on the function

Re: [lazarus] Mac OS X : Picture.Assign causing Access Violation...

2007-11-16 Thread Marc Weustink
Dominique Louis wrote: Hi, Has anyone else encountered a problem on Mac OS X where by when you try to perform a TImage.Picture.Assign( my_image ); it causes an access violation? In this case the my_image is a TBitmap, if that makes any difference. Are there any Bitmap types that Lazarus

Re: [lazarus] Mac OS X : Picture.Assign causing Access Violation...

2007-11-16 Thread Marc Weustink
Mark Morgan Lloyd wrote: Dominique Louis wrote: Hi, Has anyone else encountered a problem on Mac OS X where by when you try to perform a TImage.Picture.Assign( my_image ); it causes an access violation? In this case the my_image is a TBitmap, if that makes any difference. Are there any

Re: [lazarus] Mac OS X : Picture.Assign causing Access Violation...

2007-11-16 Thread Marc Weustink
Mark Morgan Lloyd wrote: Marc Weustink wrote: Mark Morgan Lloyd wrote: Dominique Louis wrote: Hi, Has anyone else encountered a problem on Mac OS X where by when you try to perform a TImage.Picture.Assign( my_image ); it causes an access violation? In this case the my_image is a TBitmap

Re: [lazarus] copyright infringement in LCL code

2007-11-13 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, Due to the previous discussion of copyright infringement in FPC code, I downloaded a Similarity Tester (SIM 2.21) and ran it against a few random selected files, comparing LCL to Kylix 3 source. Oh my!!! I found quite a bit of code that are marked as copied. No,

Re: copyright infringement in LCL code

2007-11-13 Thread Marc Weustink
Graeme Geldenhuys wrote: On 13/11/2007, Graeme Geldenhuys [EMAIL PROTECTED] wrote: Oh my!!! I found quite a bit of code that are marked as copied. No, I'm not talking about the class interfaces which are duplicated or purpose. To prove this point, I attached the output of 'sim_pasc'

Re: [lazarus] Bad news

2007-11-12 Thread Marc Weustink
Florian Klaempfl wrote: Bee schrieb: I must have missed something basic in this thread. What is/was CodeGear's reaction to Lazarus? I saw some issues on the net. Someone from Borland said that FPC/Lazarus steal codes from Delphi. Someone other from CodeGear said that FPC/Lazarus is competitor

Re: [lazarus] Bad news

2007-11-12 Thread Marc Weustink
Leonardo M. Ramé wrote: http://www.stevetrefethen.com/blog/IWishTheDelphiCommandLineCompilerWereFree.aspx Where have I heard such accusations before Marc _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Mac OS X : Correct way to debug in lazarus...

2007-11-12 Thread Marc Weustink
Dominique Louis wrote: Hi Matt, the version returned is 6.3.50-20050815 ( Apple version gdb696) funny, I've: GNU gdb 6.3.50-20050815 (Apple version gdb-573) I think yours should work too Can you send the output of the debug-debug output window ? Marc

Re: [lazarus] Mac OS X : Correct way to debug in lazarus...

2007-11-11 Thread Marc Weustink
Dominique Louis wrote: Hi all, What is the correct way to debug under Lazarus. I have the current settings in Environment-Debugger Options-General ( tab ).. Debugger type and path = GNU debugger (gdb) path = /usr/bin/gdb If I set a break point and run the application from within the IDE I

Re: [lazarus] ParentWindow

2007-11-10 Thread Marc Weustink
Christian Budde wrote: Ok, just for the records: I tried to do it with TWinForm.CreateParented(ParentWindow: hwnd), but I get an access violation. So that does not work. I think ParentWindow is very widgetset specific (see below). Probably it will work cross platform very limited. Ok,

Re: [lazarus] help for Scanline exemple

2007-11-07 Thread Marc Weustink
wile64 wrote: I found, with Init_BPP32_B8G8R8A8_BIO_TTB and load ScanLineImage, work Ok with Init_BPP32_B8G8R8A8_BIO_TTB and CopyPixels in example don't work, IntfImage.CopyPixels(ScanLineImage); MyBitmap.LoadFromIntfImage(IntfImage); Thats why I asked what the description of IntfImage

Re: [lazarus] help for Scanline exemple

2007-11-07 Thread Marc Weustink
wile64 wrote: 2007/11/7, Marc Weustink [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: wile64 wrote: I found, with Init_BPP32_B8G8R8A8_BIO_TTB and load ScanLineImage, work Ok with Init_BPP32_B8G8R8A8_BIO_TTB and CopyPixels in example don't work

Re: [lazarus] help for Scanline exemple

2007-11-06 Thread Marc Weustink
wile64 wrote: Hi, I use the example Scanline to change an image with the alpha channel as well. alphaTransparent = 0; alphaOpaque = 255; IntfImage.CopyPixels(ScanLineImage); what is the Description of IntfImage ? Does it have an Aplha channel ?

Re: [lazarus] Bug in recompiling IDE

2007-11-05 Thread Marc Weustink
Michael Van Canneyt wrote: On Mon, 5 Nov 2007, Vincent Snijders wrote: Michael Van Canneyt schreef: When you recompile the 32-bit lazarus IDE for 64-bit, you get the following error: TLazPackageGraph.CheckIfPackageNeedsCompilation Compiler filename changed for SDFLaz 0.1.1

  1   2   3   4   5   6   >