Re: [lazarus] Lazarus and DOT Net

2006-10-30 Thread Marc Weustink
George Birbilis wrote: If we could have Lazarus support many compilers via "plugin" packages, it would be cool, cause one could create wrappers for both Chrome and Borland's Object Pascal compilers for .NET You more or less already can. Go to the compiler options, last tab. Change the Compiler

Re: [lazarus] ActiveX component

2006-10-29 Thread Marc Weustink
Mattias Gaertner wrote: > Is there an ActiveX component for lazarus or can someone create one > for the fpc units? Ehm... shouldn't we wait with those wasps after we have released 1.0 ? Marc _ To unsubscribe: mail [EMAIL PROTE

Re: [lazarus] lazarus 0.9.18 on Mandriva 2007

2006-10-29 Thread Marc Weustink
Vincent Snijders wrote: > Felipe Monteiro de Carvalho schreef: >> On 10/28/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote: >>> This might sound, as if switching the default interface for unix from >>> gtk1 to gtk2 depends on the Win32 UTF-8 support. >>> This is wrong. The devels are already using g

Re: [lazarus] rookie problem: exception class 'External: SIGSEGV

2006-10-29 Thread Marc Weustink
Hugo wrote: > Felipe Monteiro de Carvalho wrote: >> On 10/28/06, Hugo <[EMAIL PROTECTED]> wrote: >>> Do i have to uninstall GTK >> >> No >> >>> How do I know what environment Lazarus is using? Thanks >> >> I think we can be sure it´s using win32 and the problem isn´t GTK. >> >> Can you start Lazar

Re: [lazarus] Windows Unicode implementation proposal

2006-10-28 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: > On 10/27/06, Marc Weustink <[EMAIL PROTECTED]> wrote: >> >WideSize := Utf8ToUnicode(nil, ButtonCaption, 0); >> >WideText := GetMem(WideSize * 2); >> >> Are you sure about the 2 here ? I wouldn't rely on that.

Re: [lazarus] Windows Unicode implementation proposal

2006-10-27 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: > Hello, > > I would like to create some official guidelines about how to implement > unicode support for win32 interface, so volunteers can base on those > to implement it and we get a uniform work. And I think that a good > example to create a guideline is by a

Re: [lazarus] error messages while starting lazarus

2006-10-26 Thread Marc Weustink
Graeme Geldenhuys wrote: I followed the FAQ to set the locale without the .UTF-8 as I use Lazarus with Gtk1. Here is the content of the start script. - export LC_CTYPE="en_ZA" export LANG="en_ZA" export LANGUAGE="en_ZA" /opt/lazarus/startlazarus - This

Re: [lazarus] Problem with UTF8 in ubuntu 6.06

2006-10-26 Thread Marc Weustink
Graeme Geldenhuys wrote: Just curious.. In the FAQ it says: "This warning message indicates that your locale enconding is set to utf-8. If you are using Gtk 1 this can be a serious problem and prevent the correct working of Lazarus or software created with Lazarus." The serious problem is that

Re: [lazarus] Windows Unicode strategy

2006-10-20 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: > On 10/20/06, Marc Weustink <[EMAIL PROTECTED]> wrote: >> > In fact, the Wide functions exist under any Win9x OS. >> >> I know what I saw, so I'm not to sure about that statement. > > But the important thing is that they

Re: [lazarus] Windows Unicode strategy

2006-10-20 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: >> On 10/15/06, Borut Maricic <[EMAIL PROTECTED]> > E, I´m >> sorry to say but I can immediatly see that your code breaks >> Win98 support for the ANSI version of win32 widgetset. > > Osss. It seams that me and Marc were very wrong!! Simply using > Wide f

Re: [lazarus] UTF-8 vs Unicode - Could someone explain?

2006-10-20 Thread Marc Weustink
Graeme Geldenhuys wrote: Thanks Marc, It was a real informative explanation, and helped a lot. Now lets see if I understood it correctly. :-) AnsiStrings are 1 byte wide and WideStrings are 2 byte wide. Fixed. The delphi WideStrings are the same as used by MS in their Wide functions, being UC

Re: [lazarus] UTF-8 vs Unicode - Could someone explain?

2006-10-20 Thread Marc Weustink
Graeme Geldenhuys wrote: Ok, I'll start up front by announcing my ignorance on these two items: UTF-8 and Unicode. After reading some discussions of implementing Unicode/UTF-8 support in Lazarus I thought I would ask. Could someone give the watered down explanation to me (and probably others t

Re: [lazarus] Lazarus and DOT Net

2006-10-17 Thread Marc Weustink
Nataraj S Narayan wrote: Hi Why is it that every body and anything got a Dot Net version? Since it is a hype. And the general idea is, if you don't follow it now you may miss the future Even Borland's got a dot net enabled Delphi coming it seems. Some say that Microsoft got Dot net idea

Re: [lazarus] Windows Unicode strategy

2006-10-16 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: On 10/16/06, Marc Weustink <[EMAIL PROTECTED]> wrote: No, on windows they work with ansi, on linux it it is just what is specified a s LANG. No conversion is made. But if you consider that the IDE won't run correctly on linux with utf-8, in real

Re: [lazarus] Windows Unicode strategy

2006-10-16 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: On 10/16/06, Marc Weustink <[EMAIL PROTECTED]> wrote: IMO there are 2 ways to solve this: 1) make 2 separate widgetstes. Im' not really pro this since it is hard to maintain and causes a lot of duplicate code. We don't want the same ifdef m

Re: [lazarus] Windows Unicode strategy

2006-10-16 Thread Marc Weustink
Borut Maricic wrote: All Unicode related code must remain under IFDEFs, not contaminating the ANSI version of Win32 widgetset because Unicode code is experimental, and we are approaching 1.0, and if we don´t isolate it, we may break Win32 interface, or delay 1.0 by introducing bugs. (Like the lac

Re: [lazarus] window handles

2006-10-15 Thread Marc Weustink
Graeme Geldenhuys wrote: > On 14/10/06, Marc Weustink <[EMAIL PROTECTED]> wrote: >> Personally I would go for a handle per widget (but I like native >> controls). > > Uh? > >> painting is clipped for childs.. >> messages are passed the handle.. &g

Re: [lazarus] window handles

2006-10-14 Thread Marc Weustink
Graeme Geldenhuys wrote: > Hi, > > This is not directly related to Lazarus, but thought the developers > here know widget sets, so might be able to answer this. > > In fpGUI, I create one window handle per form (window) and is shared > by all widgets on that form. LPTK (another widget set written

Re: [lazarus] TSplitter or TPairSplitter

2006-10-10 Thread Marc Weustink
Mattias Gaertner wrote: On Tue, 10 Oct 2006 15:48:57 +0200 Marc Weustink <[EMAIL PROTECTED]> wrote: Sebastian Kraft wrote: Am Dienstag, 10. Oktober 2006 11:12 schrieb Marc Weustink: Sebastian Kraft wrote: Thanks... I worked a bit on the DrawSplitter function. I finally got the style

Re: [lazarus] How not to break on handled exceptions?

2006-10-10 Thread Marc Weustink
Alexandre Leclerc wrote: Hi all, I added exceptions for the debuger to ignore them because I handle them... and it works great. Now if the exception is not handled, will the debugger break (this is what I want)? If fact, is there a way to tell the debugger that if an exception is handled (try .

Re: [lazarus] TSplitter or TPairSplitter

2006-10-10 Thread Marc Weustink
Sebastian Kraft wrote: Am Dienstag, 10. Oktober 2006 11:12 schrieb Marc Weustink: Sebastian Kraft wrote: Thanks... I worked a bit on the DrawSplitter function. I finally got the style I was looking for. Here's a screenshot: http://www.hey-you-freaks.de/splitter4.png If you like this

Re: [lazarus] TSplitter or TPairSplitter

2006-10-10 Thread Marc Weustink
Sebastian Kraft wrote: Thanks... I worked a bit on the DrawSplitter function. I finally got the style I was looking for. Here's a screenshot: http://www.hey-you-freaks.de/splitter4.png If you like this style too, i may try to implement a option in object inspector that allows to choose one of

Re: [lazarus] TSplitter or TPairSplitter

2006-10-10 Thread Marc Weustink
Mattias Gaertner wrote: On Mon, 9 Oct 2006 11:56:34 +0200 Sebastian Kraft <[EMAIL PROTECTED]> wrote: Hello... Which one should I use? TSplitter or TPairsplitter? I like the look and feel of TPairsplitter but as far as I know it is only a temporary replacement for TSplitter and doesn't work we

Re: [lazarus] Need ideas: Visual Form inheritance

2006-10-05 Thread Marc Weustink
Mattias Gaertner wrote: On Thu, 05 Oct 2006 11:50:03 +0200 Marc Weustink <[EMAIL PROTECTED]> wrote: Mattias Gaertner wrote: On Thu, 05 Oct 2006 10:45:25 +0200 Marc Weustink <[EMAIL PROTECTED]> wrote: [...] Modified needs to be modified :) procedure Mod

Re: [lazarus] Need ideas: Visual Form inheritance

2006-10-05 Thread Marc Weustink
Mattias Gaertner wrote: On Thu, 05 Oct 2006 10:45:25 +0200 Marc Weustink <[EMAIL PROTECTED]> wrote: [...] Modified needs to be modified :) procedure Modified; begin SendBeginModificationToAllBeginEndObeservers; SendModifiedNotificationToAllModifiedObes

Re: [lazarus] Need ideas: Visual Form inheritance

2006-10-05 Thread Marc Weustink
Mattias Gaertner wrote: On Wed, 04 Oct 2006 13:38:03 +0200 Marc Weustink <[EMAIL PROTECTED]> wrote: Mattias Gaertner wrote: On Wed, 04 Oct 2006 12:46:27 +0200 Marc Weustink <[EMAIL PROTECTED]> wrote: Mattias Gaertner wrote: On Wed, 04 Oct 2006 11:29:51 +0200 Marc Weustink <[

Re: [lazarus]

2006-10-05 Thread Marc Weustink
Arí Ricardo Ody wrote: I tried to install Lazarus various times and always receive the message: error: The open of the package failed in the file /usr/lib/lazarus/lazarus:4523ed86: cpio: read The string before the word "cpio" modify each time I saw the error. Would it a checksum of any kind?

Re: [lazarus] Confused by component arrays

2006-10-05 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: Hello, I was implementing TMenu for Qt, when I got a little confused by component arrays. On the file menu.inc I see this: procedure TMenu.CreateHandle; var i: integer; begin FItems.Handle := TWSMenuClass(WidgetSetClass).CreateHandle(Self); // initiate crea

Re: [lazarus] Need ideas: Visual Form inheritance

2006-10-04 Thread Marc Weustink
Mattias Gaertner wrote: On Wed, 04 Oct 2006 12:46:27 +0200 Marc Weustink <[EMAIL PROTECTED]> wrote: Mattias Gaertner wrote: On Wed, 04 Oct 2006 11:29:51 +0200 Marc Weustink <[EMAIL PROTECTED]> wrote: Mattias Gaertner wrote: On Wed, 4 Oct 2006 09:27:03 +0200 "Graeme Ge

Re: [lazarus] Need ideas: Visual Form inheritance

2006-10-04 Thread Marc Weustink
Mattias Gaertner wrote: On Wed, 04 Oct 2006 11:29:51 +0200 Marc Weustink <[EMAIL PROTECTED]> wrote: Mattias Gaertner wrote: On Wed, 4 Oct 2006 09:27:03 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: Changing a property can change various others as well. For exam

Re: [lazarus] Need ideas: Visual Form inheritance

2006-10-04 Thread Marc Weustink
Mattias Gaertner wrote: On Wed, 4 Oct 2006 09:27:03 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: Changing a property can change various others as well. For example changing the Width can change child controls, siblings and parent. Yes, but applying this change to the child form should

Re: [lazarus] LCL Message

2006-10-02 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: > On 10/2/06, Marc Weustink <[EMAIL PROTECTED]> wrote: >> Don't think so. It's maybe a limitation of the implementation for Qt, >> but for GTK we had the same problem. There we also track the >> mousebuttons to see i

Re: [lazarus] Need ideas: Visual Form inheritance

2006-10-02 Thread Marc Weustink
Graeme Geldenhuys wrote: > To add to that, I suggested to Mattias using something like the > Observer pattern, but I find it difficult to see how we could trigger > the Notify event of the Subject (ancestor form), with so many places > that the ancestor form can be modified form. So this might not

Re: [lazarus] LCL Message

2006-10-02 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: On 10/2/06, Marc Weustink <[EMAIL PROTECTED]> wrote: Depending on the key (not just anykay), maybe yes. For instance a enter on a button generates a click. That´s a good point. I tested this on delphi and you get the click when you release the butt

Re: [lazarus] LCL Message

2006-10-02 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: On 10/1/06, Marc Weustink <[EMAIL PROTECTED]> wrote: > When a user clicks on the ListBox once, holds down the button pushed > and changes the selected item, many OnClick events are generated. The > same if he uses the keyboard to change the sele

Re: [lazarus] LCL Message

2006-10-01 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: > On 10/1/06, Marc Weustink <[EMAIL PROTECTED]> wrote: >> > It seams to me that we are also emulating bugs in VCL =) >> >> Help me... what was the delphi bug here ? > > When a user clicks on the ListBox once, holds down

Re: [lazarus] LCL Message

2006-10-01 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: > On 10/1/06, Luis R. Hilario B. <[EMAIL PROTECTED]> wrote: >> But I agree not to change that, because Qtwidgetset should work the >> same as Gtkwidgetset, etc., although be an error. > > Somewhere I read that Wine emulated windows "bug by bug". > > It seams to

Re: [lazarus] LCL Message

2006-10-01 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: > On 10/1/06, Marc Weustink <[EMAIL PROTECTED]> wrote: >> Delphi send an onclick if the selction changes by a user event. > > Is there a reason why this is like that} > >> AFAIK, a OnSelectionChange is sent always. > > So ho

Re: [lazarus] LCL Message

2006-10-01 Thread Marc Weustink
Luis R. Hilario B. wrote: > LM_SELCHANGE send OnSelectionChange and next OnClick, but not only in > Qt also in GTK. > > Bug or feature? partly. Delphi send an onclick if the selction changes by a user event. We try to be compatible with that. AFAIK, a OnSelectionChange is sent always. Marc ___

Re: [lazarus] avoiding multi-instance detection

2006-09-28 Thread Marc Weustink
Graeme Geldenhuys wrote: > On 28/09/06, John vd Waeter <[EMAIL PROTECTED]> wrote: >> Problem when program crashes. File is not deleted. Maybe refresh file >> every 5 minutes or so, put a timestamp in it. If timestamp older then 5 >> minutes, program appearantly crashed, new instance may start. >> >

Re: Lazarus bug report

2006-09-28 Thread Marc Weustink
Christian Ulrich wrote: Marc Weustink wrote: Christian Ulrich wrote: and maybe an forum integrated as in freepascal site, but thats no main task i think. Why do you think moving the forum is easy ? Marc I donsend have sayed thats easy to move the forum but registering dont work

Re: [lazarus] New Version of Lazarus (FPC 2.0.4)

2006-09-28 Thread Marc Weustink
Bisma Jayadi wrote: Is v.0.9.18 based on FPC 2.0.4? Yes. Why there's no official news or press release about 0.9.18? I found this new version after I visit Lazarus download link, but I can't find any news regarding this on the Lazarus main page. The start of this thread: Mattias Gaertner

Re: Lazarus bug report

2006-09-27 Thread Marc Weustink
Christian Ulrich wrote: > and maybe an forum integrated as in freepascal site, but thats no main > task i think. Why do you think moving the forum is easy ? Marc _ To unsubscribe: mail [EMAIL PROTECTED] with "u

Re: [lazarus] new translations

2006-09-26 Thread Marc Weustink
Marc Weustink wrote: Vincent Snijders wrote: A.J. Venter schreef: Why not just *.af.po? Are there other (incompatible) version of Afrikaans besides af_ZA? Surprizingly yes :) There are six official af locales: af_ZA af_NA (Using N$ as currency for example) af_BW (Currency BWP - uses French

Re: [lazarus] new translations

2006-09-26 Thread Marc Weustink
Vincent Snijders wrote: A.J. Venter schreef: Why not just *.af.po? Are there other (incompatible) version of Afrikaans besides af_ZA? Surprizingly yes :) There are six official af locales: af_ZA af_NA (Using N$ as currency for example) af_BW (Currency BWP - uses French-style date writing) etc.

Re: [lazarus] Some problems

2006-09-25 Thread Marc Weustink
Christian Ulrich wrote: >and you opened the file axactly throug that path (no symlinks in between ?) right, this is the native path With the internal linker there is a problem. With the externalllinker I've no problem (tested till last week) no, tested with lazarus 0.9.17 and fpc 2.1.1

Re: [lazarus] Some problems

2006-09-24 Thread Marc Weustink
Christian Ulrich wrote: > Hello, > > At time i have massive problems with the debugger, > > in Linux: the debugger generally works but dont find files often when i > set breakpoints. > > <-break-insert udata.pas:58> > &"No source file named udata.pas.\n" > > ^error,msg="No source file named uda

Re: [lazarus] translation filenaming confict

2006-09-24 Thread Marc Weustink
Graeme Geldenhuys wrote: > Hi Marc and others, > > So what is happening now with the naming of the Afrikaans (South > Africa) .po file? > > Originally submitted as *.af_ZA.po > Applied to SubVersion as *.af-za.po > > Though it seems that the ISO standards are not clear on how you sho

Re: [lazarus] new translations

2006-09-21 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, Must new translation (*.po) files still be emailed to [EMAIL PROTECTED] I found that email address in the languages/readme.txt file, or must be sumbit them here in the mailing list? Summary: *.po : email to [EMAIL PROTECTED] ide changes: patches here to mailing l

Re: [lazarus] Debug Output again...

2006-09-20 Thread Marc Weustink
Tiziano_mk wrote: Vincent Snijders ha scritto: Tiziano_mk schreef: maybe I cannot explain well bacause of my poor english :-( But I will give another try. If you choose for APPType GUI or compile with -WG (a windows feature, there is no equivalent in linux), the stdout of the application i

Re: [lazarus] Code completion features missing or not ?

2006-09-14 Thread Marc Weustink
Michael Van Canneyt wrote: On Thu, 14 Sep 2006, Marc Weustink wrote: Mattias Gaertner wrote: On Thu, 14 Sep 2006 11:30:52 +0200 (Romance Daylight Time) Michael Van Canneyt <[EMAIL PROTECTED]> wrote: Hi, 2 feature requests: First: The following has been bugging me since day 1 of L

Re: [lazarus] Code completion features missing or not ?

2006-09-14 Thread Marc Weustink
Mattias Gaertner wrote: On Thu, 14 Sep 2006 11:30:52 +0200 (Romance Daylight Time) Michael Van Canneyt <[EMAIL PROTECTED]> wrote: Hi, 2 feature requests: First: The following has been bugging me since day 1 of Lazarus: Code completion for methods works from interface -> implementation. Howe

Re: [lazarus] How can I implement Items.Add ?

2006-09-11 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: Hello, How can I implement ListBox1.Items.Add and the similar for TComboBox ? On TWSListBox there is a method to return the strings of the control, but there is no method to add strings to the control. I also could not find this anywhere else. This problem ap

Re: [lazarus] console app. in Windows

2006-09-05 Thread Marc Weustink
Florian Klaempfl wrote: Marc Weustink wrote: Ad Rienks wrote: Hello, To begin I will warn you: I am a novice in Pascal and Lazarus. A really strange problem occurs to me: after a few days, playing with examples and getting to know the IDE and the features, I have begun a more serious

Re: [lazarus] Suggestion for new notify events for TPage

2006-09-05 Thread Marc Weustink
Luiz Americo Pereira Camara wrote: While working with a TNotebook with multiples pages i needed to set specific actions (open/close a dataset) for each page when is show/hide. First i tried the OnEnter/OnExit events but it has two problems: - The event is not fired after the Tab is clicked. Is

Re: [lazarus] console app. in Windows

2006-09-05 Thread Marc Weustink
Ad Rienks wrote: Hello, To begin I will warn you: I am a novice in Pascal and Lazarus. A really strange problem occurs to me: after a few days, playing with examples and getting to know the IDE and the features, I have begun a more serious program. In console mode; for the last few days I got

Re: [lazarus] True fullscreen mode

2006-08-22 Thread Marc Weustink
Sorry for the late responce, I was away for a few days. Mattias wrote: On Thu, 17 Aug 2006 14:51:17 +0200 Marc Weustink <[EMAIL PROTECTED]> wrote: Mattias wrote: [snip] I added those functions to gtkproc.pp: procedure SetWindowFullScreen(AForm: TCustomForm; const AValue: B

Re: [lazarus] HashMap

2006-08-17 Thread Marc Weustink
Mattias wrote: On Thu, 17 Aug 2006 11:16:58 + Albert Zeyer <[EMAIL PROTECTED]> wrote: Which one do you mean? I only find there a few special lists. But I need an implementation of a map (key elements map to some data), implemented with B-trees or similar (the key elements need to be hashed

Re: [lazarus] Debug idea

2006-08-17 Thread Marc Weustink
Graeme Geldenhuys wrote: In VB6 I could set breakpoints and run the app. If the variable contained the wrong value or I noticed a coding problem I could change it while at the breakpoint and just continue execution... Wouldn't that classify as interpreted? (Note: I haven't touched VB in over 6

Re: [lazarus] True fullscreen mode

2006-08-17 Thread Marc Weustink
Mattias wrote: On Tue, 15 Aug 2006 13:19:51 -0400 Andrew Haines <[EMAIL PROTECTED]> wrote: A.J. Venter wrote: Basically I don't know if lazarus CAN do what I need for this part... and before I can finalize design, I need to know if this will be a form inside the app or a sepperate program alto

Re: [lazarus] Debugging problem

2006-08-16 Thread Marc Weustink
Philippe (laz) wrote: Hi, I've got some problems we I try to debug my appliaction. I got a main form and a subform. All breakpoints in main form are functionnal. All breakpoints in sub form are disabled after link process. Different source file than compiled (or different p

Re: [lazarus] Re: GDB troubles / Class members

2006-08-10 Thread Marc Weustink
Lars E. wrote: Assuming you have compiled with debuginfo, GDB> x/s ROBOT^.NAME Thanks. Of course. I didn't use uppercase letters, because it seemed to work with mixed or all lowercase letters as well (for simple variables), but it does not when inspecting classes. You may skip the ^, btw

Re: [lazarus] GDB troubles / Class members

2006-08-10 Thread Marc Weustink
Lars E. wrote: Is there any way you can print the values of class members in GDB? E.g.: TRobot = class(TObject) public Name: String; end; ... var Robot: TRobot; How would you print Robot.Name? Assuming you have compiled with debuginfo, GDB> x/s ROBOT^.NAME Marc __

Re: [lazarus] About including ressource manager in lazarus

2006-08-09 Thread Marc Weustink
Vincent Snijders wrote: Michael Van Canneyt schreef: In fact, Free Pascal suppprts including Windows resources in the binary on all ELF platforms (e.g. linux). The fpcres program does exactly that. {$R somefile.res} will include the resource file in the binary. This feature is enabled even

Re: [lazarus] About including ressource manager in lazarus

2006-08-09 Thread Marc Weustink
Vincent Snijders wrote: Michael Van Canneyt schreef: On Wed, 9 Aug 2006, Mattias Gaertner wrote: On Tue, 8 Aug 2006 17:07:42 -0400 "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote: As posted on another thread: http://www.lazarus-resource.com/resource-manager.shtml I see that this little appli

Re: [lazarus] option to compile without linking

2006-07-31 Thread Marc Weustink
Mattias Gaertner wrote: On Mon, 31 Jul 2006 11:40:38 +0200 Marc Weustink <[EMAIL PROTECTED]> wrote: Bisma Jayadi wrote: Hi all... I'd like to see a simple option in Lazarus to make we code faster. Sometimes we need to make sure everything is ok without need to have the execut

Re: [lazarus] option to compile without linking

2006-07-31 Thread Marc Weustink
Bisma Jayadi wrote: Hi all... I'd like to see a simple option in Lazarus to make we code faster. Sometimes we need to make sure everything is ok without need to have the executable binary. In short word, I'd like to compile my code without linking it. I demanded this option since the linking

Re: [lazarus] Naming conventions

2006-07-24 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: On 7/23/06, Mark Morgan Lloyd <[EMAIL PROTECTED]> wrote: OK, so without having yet investigated your code I presume that this approach tends to put the created binaries in the same place, so the technique is to compile then extract the things to be run before

Re: [lazarus] IDE menu text colour wrong

2006-07-24 Thread Marc Weustink
Mark Morgan Lloyd wrote: Michael Van Canneyt wrote: It is not a big problem for me but in this case Lazarus (Win32 interface) will contain some redefinitions of this structures or will assign some magic constants into the cbSize parameters. I think the latter would be best. We can always in

Re: [lazarus] Menuitems with icons and checks

2006-07-13 Thread Marc Weustink
Micha Nelissen wrote: Martin Smat wrote: On the other hand I can write here some other applications using the same design as Lazarus (e.g. NetBeans, Eclipse, ...). I agree that most Those are not windows native applications, but java ones. applications now still use the model you describe

Re: [lazarus] Menuitems with icons and checks

2006-07-13 Thread Marc Weustink
Martin Smat wrote: Marc Weustink wrote: Hi, Just tonight I noticed that the Icons in front of menuitems have a lot of whitespace on the left. I wondered why and expected some bug. However when I saw a menuitem with checkmark it became clear. The checkmark is drawn in front of the icon

[lazarus] Menuitems with icons and checks

2006-07-12 Thread Marc Weustink
Hi, Just tonight I noticed that the Icons in front of menuitems have a lot of whitespace on the left. I wondered why and expected some bug. However when I saw a menuitem with checkmark it became clear. The checkmark is drawn in front of the icon. This behaviour is not something windows and IMO

Re: [lazarus] About Promoting-FPC

2006-07-12 Thread Marc Weustink
Al Boldi wrote: Marc Weustink wrote: Al Boldi wrote: See the 'FPC performance profile' thread. I reread the thread, you stated something, some other users couldn't reproduce, so what do you expect for an answer ? Did you try it on your system? No, for several reaso

Re: [lazarus] About Promoting-FPC

2006-07-11 Thread Marc Weustink
Al Boldi wrote: Vincent Snijders wrote: Al Boldi wrote: Florian Klaempfl wrote: Lord ZealoN wrote: I know. I started this initiative, but some people are intereseted in this. Did you expect something else ;)? This is the common case in OSS, a lot of people are interested but maybe 1 per

Re: Directory changes in the win32 (snapshot) installer

2006-07-11 Thread Marc Weustink
Vincent Snijders wrote: Vincent Snijders wrote: Gabor Boros schreef: The startlazarus.exe is broken This problem is caused by the stripping of the executable. Strangely enough lazarus itself isn't broken by it. I will ask the fpc developers how to proceed. This is a bug in the intern

Re: [lazarus] Problems linking on Mac

2006-07-10 Thread Marc Weustink
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Hi, A friend of mine is compiling a project on a MAC and he got a linker error when doing so. The application did compile fine with the GTK widgetset but with Carbon widgetset the linker did find a lot of undefined symbols (IIRC). Could anyone

Re: [lazarus] Problems linking on Mac

2006-07-10 Thread Marc Weustink
[EMAIL PROTECTED] wrote: Hi, A friend of mine is compiling a project on a MAC and he got a linker error when doing so. The application did compile fine with the GTK widgetset but with Carbon widgetset the linker did find a lot of undefined symbols (IIRC). Could anyone explain what is causing thi

Re: [lazarus] Lazarus Forum Organization

2006-07-10 Thread Marc Weustink
Vincent Snijders wrote: Felipe Monteiro de Carvalho schreef: On 7/9/06, Matthijs Willemstein <[EMAIL PROTECTED]> wrote: Make that another 15 :( I just removed them. Make that yet another 15 which I just removed. This morning I deleted another 16. If we don´t have e-mail problems anym

Re: [lazarus] Lazarus Forum Organization

2006-07-07 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: On 7/7/06, Marc Weustink <[EMAIL PROTECTED]> wrote: IMO, the amount of spam is still managable. And as long that is the case there is no need to register. Acctually I´ve being cleaning about 5 spam messages each day. Then you are just before me

Re: [lazarus] Lazarus Forum Organization

2006-07-07 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: Hello, The current Lazarus forum has some issues, like: * lot´s of people can´t register (has this being solved?). We need to solve this in order to force people to register before posting, because there have being too many spam attacks. IMO, the amount of s

Re: [lazarus] New widget set for Lazarus

2006-07-06 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, Is there any documentation or wiki site I can refer to on how to add a new Widget Set to Lazarus. Have a look here: http://lazarus.dommelstein.nl/lcl/interfaces/template.tgz or http://lazarus.dommelstein.nl/lcl/interfaces/template Marc (which reminds me that

Re: [lazarus] Debugger problems without debugger

2006-07-05 Thread Marc Weustink
Mattias Gaertner wrote: On Tue, 04 Jul 2006 23:17:24 +0200 Marc Weustink <[EMAIL PROTECTED]> wrote: Mattias Gaertner wrote: On Sat, 24 Jun 2006 13:25:18 +0200 Lord Satan <[EMAIL PROTECTED]> wrote: Hi everyone, I run my projects inside the IDE through the run and wait s

Re: [lazarus] Debugger problems without debugger

2006-07-04 Thread Marc Weustink
Mattias Gaertner wrote: On Sat, 24 Jun 2006 13:25:18 +0200 Lord Satan <[EMAIL PROTECTED]> wrote: Hi everyone, I run my projects inside the IDE through the run and wait script. After What is the run and wait script. closing my running program the IDE 'stays in the debugging session' as sho

Re: [lazarus] Porting Delphi 7 code

2006-07-04 Thread Marc Weustink
Mattias Gaertner wrote: On Tue, 04 Jul 2006 12:18:49 -0400 Dalton Calford <[EMAIL PROTECTED]> wrote: Is there a link to any documentation that details the difficulties that I will encounter when porting Delphi 7 code to lazarus? Here is a start: http://wiki.lazarus.freepascal.org/index.php/

Re: [lazarus] problems with SQLdb components and Postgres

2006-07-04 Thread Marc Weustink
Joost van der Sluis wrote: [snip] /me just jumping in, so might probably completely clueless If you open the table, the postgresql-client will allocate some memory to store the data. That'll be 10+8=18 bytes plus something dependent on it's own string-data-format. At the same time TBufDataset

Re: [lazarus] Windows XP Hint Shadow

2006-07-04 Thread Marc Weustink
Henrique P Faria wrote: Hello, i know this unit is for cosmetic, but can anyone give me a tip on how to get it work on Lazarus? It works fine on Delphi. maybe the win32 interface should create the hint window by default like this. AFAICS most windows apps have it. Marc Thanks in

Re: [lazarus] More questions about CodeTools

2006-06-22 Thread Marc Weustink
Mattias Gaertner wrote: Right. Stupid identifier completion. Still can't read my thoughts. Fixed. Reading our thoughts ? Marc :) _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject ar

Re: [lazarus] pascal is obsolete?

2006-06-16 Thread Marc Weustink
Mattias Gaertner wrote: On Fri, 16 Jun 2006 08:03:19 +0200 Micha Nelissen <[EMAIL PROTECTED]> wrote: Tony Pelton wrote: Classes with indexed properties work and look like associative arrays. how do index'ed properties help you store objects by a key ? Something like: type THash = class

Re: [lazarus] Bug with environment option (debuger)

2006-06-08 Thread Marc Weustink
Alexandre Leclerc wrote: Hi, I was unable to setup the debuger properly. The environmentoptions.xml was not containing the required stuff nor saved it. I had to manually hack the file to make it work. I had to add: The section looked fine. Is there a bug report for this? Should I add o

Re: Array of PChar (about freeing memory)

2006-06-08 Thread Marc Weustink
Alexandre Leclerc wrote: 2006/6/7, Alexandre Leclerc <[EMAIL PROTECTED]>: I asked the question for a string array. I see that we can assign a string directly to a pchar, but when I SetLength() such an array, do I have to free the PChar string no more used or is it done automatically? var a:

Re: [lazarus] IDE don't unload/reset debugger after project execution

2006-06-06 Thread Marc Weustink
Gabor Boros wrote: Hi! I wrote a very small test application for testing UIB. If I run the project first time everything is fine, but if run it again I get an "EUIBError" message. If I reset the debugger from Run menu between executions the program is start properly. My question is: why the g

Re: [lazarus] Change: TImageList.Add now uses AddCopy instead of AddDirect

2006-05-22 Thread Marc Weustink
Mattias Gaertner wrote: for Delphi compatibility. TImageList.Add used AddDirect, that means, the bitmap was added to the imagelist. The Delphi TImageList adds only the content to the list. This has been changed. The LCL TImageList now adds copies. You have to free now your added images or better

Re: [lazarus] [patch] popmenu.align added

2006-05-10 Thread Marc Weustink
component redrawing, but i'm not shure that it will be useful for popmenu. On Wed, 10 May 2006 18:06:21 +0400, Marc Weustink <[EMAIL PROTECTED]> wrote: S0vNarK0m wrote: May be to use it in design time in Object Inspector? Yes... and that will magically change the align of the

Re: [lazarus] [patch] popmenu.align added

2006-05-10 Thread Marc Weustink
S0vNarK0m wrote: May be to use it in design time in Object Inspector? Yes... and that will magically change the align of the menu itself ? What we mean where is the code which does something with this property. Being able to set it is one thing, but there should be some code involved for actu

Re: [lazarus] Lazarus on AMD64 bit (part 2)

2006-05-09 Thread Marc Weustink
ik wrote: Hi, OK, So I found out that the makefile issue is an FPC issue... So now I'm back to: "Free Pascal Compiler version 2.0.2 [2005/11/12] for x86_64" I was able to compile Lazarus both to GTK1.2 and GTK2.x, but on GTK2.x Lazarus raises exception when it tries creating the menu speedb

Re: [lazarus] Re: unneccessary packed records in lcltypes

2006-05-08 Thread Marc Weustink
Florian Klaempfl wrote: No. It depends on the elements the record contains. If a record contains only bytes, it will be only 1 byte aligned except if you set recordalignmin to 2 or whatever. Does recordalignmin exist ? Or is it recently introduced ? Marc _

Re: [lazarus] unneccessary packed records in lcltypes

2006-05-05 Thread Marc Weustink
roozbeh gholizadeh wrote: Hi, lots of types in lcltypes are declared as packed,which i dont know why, as far as i know lots of them are similar to types with almost exact name from windows unit,but as you look at windows unit,none of them are packed. also almost all of these records are by its

Re: [lazarus] How to debug?

2006-05-03 Thread Marc Weustink
Mattias Gaertner wrote: On Wed, 03 May 2006 23:08:01 +0200 Marc Weustink <[EMAIL PROTECTED]> wrote: Tony Maro wrote: Mattias Gaertner wrote: On Wed, 03 May 2006 13:01:48 -0400 Tony Maro <[EMAIL PROTECTED]> wrote: I set it in the compiler options to add content for g

Re: [lazarus] How to debug?

2006-05-03 Thread Marc Weustink
Tony Maro wrote: Mattias Gaertner wrote: On Wed, 03 May 2006 13:01:48 -0400 Tony Maro <[EMAIL PROTECTED]> wrote: I set it in the compiler options to add content for gdb debugging - and I'm not doing the debugging inside the IDE but by running gdb at the command prompt. It's like something

Re: [lazarus] How to debug?

2006-05-03 Thread Marc Weustink
Tony Maro wrote: Okay I've never had this problem before. I just built a new machine and installed yesterday's snapshot of Lazarus and the stable FPC (2.0.2? Linux.) When I run either Lazarus or an app I build with Lazarus under gdb, and there's a crash, gdb does not immediately pause things

<    1   2   3   4   5   6   7   >