suggestions welcome.
Dominique Louis.
_
To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
, Dominique Louis wrote:
Hi Lazarians,
I'm working on Mac OS X and can't find a way to hook up properties from
Form1 to properties on Form2 or DataModule2 in the IDE. This is very to easy
do in Delphi, but I can't find a way to do this in Lazarus.
For example. I have a toolbar and MainMenu on Form1
,
Dominique.
Luca Olivetti wrote:
En/na Dominique Louis ha escrit:
How about setting this via the IDE, how is that done for the scenario
I mentioned earlier?
It doesn't work yet:
http://www.freepascal.org/mantis/view.php?id=648
Bye
Hi all,
Just wondering if anyone is working on creating a TMediaPlayer
equivalent for Mac OS X? Possibly just a wrapper around OpenAL and/or
QuickTime.
Thanks,
Dominique.
_
To unsubscribe: mail [EMAIL PROTECTED] with
Will this Scanline code also work on Mac OS X?
Dominique.
12 12 wrote:
It means, the function does not work with formats which lines can
start
in a middle of a byte (e.g. at the third bit).
The Delphi ScanLine function has the same limit.
I didn't know about such formats!
Which formats can
Hi Mattias,
which build of Lazarus is this available in? Because on the version I
have, Tbitmaps don't have the scanline property.
Dominique.
Mattias Gaertner wrote:
On Tue, 02 Oct 2007 22:32:21 +0100
Dominique Louis [EMAIL PROTECTED] wrote:
Will this Scanline code also work on Mac OS X
As mentioned I'm porting a Delphi app to Mac OS X and noticed that every
time it tries to make use of the TRegistry functions an AV occurs. Does
anyone know why this may be happening, and also where does it save these
Registry settings?
Thanks,
Dominique.
Hi Tom,
I'll step through the code this week-end and write something up.
Dominique.
Tom Gregorovic wrote:
Dominique Louis napsal(a):
As mentioned I'm porting a Delphi app to Mac OS X and noticed that
every time it tries to make use of the TRegistry functions an AV
occurs. Does anyone know
Felipe Monteiro de Carvalho wrote:
Depends on how much RichEdit functionality you need. There are some
controls to show html, so you can display formatted text.
AFAIK noone ever implemented a full RichEdit with editing capabilities.
Just to display .rtf files within the application. It would
Tom Gregorovic wrote:
Is their a way to get SpeedButtons with transparency on
Mac/Lazarus/FPC ?
This should be fixed in svn revision 12349.
This is excellent news.
I'm not familiar with out SVN revisions work. When is this likely to be
publicly released, and if we wanted fix this in my
Hi all,
The basic conversion is now over, so the debugging begins.
When the application is started via the Application Bundle a strange
parameter is passed to the executable as the first parameter.
The parameter looks like this -psn_0_, where the ns represent
some number value that
Great! I'll grab a snapshot tomorrow night.
Peter Gannon wrote:
I downloaded and installed the latest build of Lazarus, and can confirm
that the SpeedButton transparency is working great in our Carbon program.
Thanks again
Peter
Hi all,
Just wondering if anyone else if having problems with the Snapshot
server over at http://www.de.freepascal.org/lazarus/?
Secondly, if I have applied a patch to a local FCL or LCL unit, how do I
get the IDE to make use of that unit, without moving it to my project
directory as I
Michael Van Canneyt wrote:
Did anyone ever notice this ?
http://www.linux.org/apps/reviews/lazarus.html
Very positive...
and reviewed by a famous basketball player at that. Who would have
thought that between shooting hoops he was an object pascal fan ;-).
Dominique.
I was about to post about this crash.
wile64 wrote:
Hi,
See subjet
Regards,
--
Laurent.
_
To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
archives at
Hi all,
I notice a couple of things during a port of a Delphi app to Lazarus
on Mac OS X.
Firstly, the TreeView seems to have a refresh issue and it only draws
itself correctly if you expand and contract nodes.
Secondly, and more importantly, if I add a ListView to a form, when I
try and
Hi Marc,
Does this mean that it is being worked on? Or is that just a place
hold exception until someone gets round to working on it?
Dominique.
Marc Weustink wrote:
Dominique Louis wrote:
Hi all,
I notice a couple of things during a port of a Delphi app to Lazarus
on Mac OS X
?
Dominique.
Tom Gregorovic wrote:
Dominique Louis napsal(a):
Hi Marc,
Does this mean that it is being worked on? Or is that just a place
hold exception until someone gets round to working on it?
Hi,
I will be working on that, but it is quite wide. I expect it would be
usable in two weeks
Hess, Philip J wrote:
I'm thinking of creating a wiki page devoted to getting the Laz IDE working
fully with Carbon. Would anyone be interested in that?
I think a native Carbon Laz IDE would make a great poster child showing
the power of Lazarus and FreePascal's cross-platform portability. I
Hi all,
What is the easier way to get the list of Fonts currently installed
on a Mac OS X system. I'd like to populate a Combobox with the Fonts
currently installed on the system.
Dominique.
_
To unsubscribe: mail [EMAIL
Dominique Louis wrote:
Hess, Philip J wrote:
I'm thinking of creating a wiki page devoted to getting the Laz IDE
working fully with Carbon. Would anyone be interested in that?
I think a native Carbon Laz IDE would make a great poster child showing
the power of Lazarus and FreePascal's cross
Tom Gregorovic wrote:
I have just tested it and it works well for me. The TRegistry should be
saved to reg.xml file in the same dir as the executable.
Please create a bug report with further description.
On Mac OS X, the reg.xml file is saved to the root directory, but on
some user's
ComboBox1.Items.Add(Screen.Fonts[i]);
Because of the large number of fonts available on OS X, you might want to use a
TListBox instead of a TComboBox.
Thanks.
-Phil
-Original Message-
From: Dominique Louis [mailto:[EMAIL PROTECTED]
Sent: Sun 10/14/2007 2:02 PM
To: lazarus@miraclec.com
Subject
Hi all,
this is possibly a silly error on my part. I have just updated to the
latest snapshot version of Lazarus/FPC. When I try and compile my Mac OS
X project the unit carbonprinters_h.inc is opened and the TCarbonPrinter
class is highlighted and the console window error message is :
.
Dominique.
Now Lazarus can find the compiled units.
Thanks.
-Phil
-Oorspronkelijk bericht-
Van: Dominique Louis [mailto:[EMAIL PROTECTED]
Verzonden: za 20-10-2007 10:43
Aan: lazarus@miraclec.com
Onderwerp: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...
Hi all
Gracias Jesus,
Do you happen to know at roughly what time the snapshots are done?
Saludos,
Dominique
Jesus Reyes wrote:
--- Dominique Louis [EMAIL PROTECTED] escribió:
Hi all,
this is possibly a silly error on my part. I have just updated
to the
latest snapshot version of Lazarus/FPC
Thanks Vincent.
Vincent Snijders wrote:
Dominique Louis schreef:
Gracias Jesus,
Do you happen to know at roughly what time the snapshots are done?
Look here to see the times, which match the upload time pretty accurate:
ftp://ftp.hu.freepascal.org/pub/lazarus/
Vincent
error. As I mentioned earlier, this implies that the
carbonprinters_h.inc is being reference elsewhere.
Thanks,
Dominique.
Jesus Reyes wrote:
--- Dominique Louis [EMAIL PROTECTED] escribió:
Hi all,
this is possibly a silly error on my part. I have just updated
to the
latest snapshot
developed a while back when we were tracking
down bugs in the CUPS printer units. Its doesn't need Printer4Lazarus and it
compiles fine with the 20071019 snapshot.
Thanks.
-Phil
-Original Message-
From: Dominique Louis [mailto:[EMAIL PROTECTED]
Sent: Sun 10/21/2007 7:41 AM
To: lazarus
a while back when we were tracking
down bugs in the CUPS printer units. Its doesn't need Printer4Lazarus and it
compiles fine with the 20071019 snapshot.
Thanks.
-Phil
-Original Message-
From: Dominique Louis [mailto:[EMAIL PROTECTED]
Sent: Sun 10/21/2007 7:41 AM
To: lazarus@miraclec.com
Vincent Snijders wrote:
Not end. ?
Yes it is ment to be end.
As it turns out it was the required package causing that problem, but
removing it causes other Printer related issues, as mentioned in my
other email.
Dominique.
Vincent Snijders wrote:
You must use printers4lazarus, otherwise you cannot have a printdialog.
PrintDialog is not part of the LCL.
If I add printers4lazarus to the project this then takes me full circle
back to to my original problem and error. If I remove printers4lazarus I
get the
Jesus Reyes wrote:
Well the problem is that carbon implementation was empty and just a
squeleton was there, yet this squeleton was buggy :( (copy and paste
problem) and because it wasn't really compiled (I don't have a mac)
it was not inmediately noticed. I made some changes in r12545 and it
I've noticed that transparency for TBitBtn under Carbon on Mac OS X does
not appear to work.
Let me clarify that. It looks fine inside the X11 ide on the Lazarus
form, but is not transparent at run-time under Carbon.
Is there anything specific to Mac OS I need to do to do get transparency?
Tom Gregorovic wrote:
Do you mean TBitBtn face transparency or glyph transparency? AFAIK
TBitBtn face is not transparent on Mac OS X.
I should have been more explicit.
I'm talking about the glyph transparency. I still see the fuschia
background of the glyph at run-time.
Dominique.
Marc Weustink wrote:
What version of Lazarus did you use ? What os version and what cpu
(intel or powerpc)
Latest Snapshot on the 23rd of October. Mac OS X 10.1.10 MacBook Intel.
Dominique.
_
To unsubscribe: mail [EMAIL
Hi all,
What is the correct way to use an *.framework within a Lazarus project?
I can get SDL.framework working with XCode, but don't know where put
the -kSDL line to get it to pull in the framework.
Thanks,
Dominique.
_
Options tab, check the Pass Options To The Linker box
and enter this in text box: -framework sdl
This will be passed to FPC as -k'-framework' -k'sdl', which then passes
the switches on to the linker.
Thanks.
-Phil
-Original Message-
From: Dominique Louis [mailto:[EMAIL PROTECTED]
Sent
: Dominique Louis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 30, 2007 7:53 AM
To: lazarus@miraclec.com
Subject: RE: [lazarus] Using SDL.framework within Lazaru project
Hi Philip,
Thanks for pointing this out. On the Mac that option was being
hidden due to the dialog size, so I could not see
sqrt(x: double_t): double_t; external name '_sqrt';
When you include -framework carbon the linker is able to find the
_sqrt function in the Carbon framework's library.
Thanks.
-Phil
-Original Message-
From: Dominique Louis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 30, 2007 7:53
Hi,
The most up to date sdl headers can be found @
http://jedi-sdl.pascalgamedevelopment.com
sdl4fp has not been maintained for a very long time.
The JEDI-SDL headers have been tested and known to work on Win32, Linux,
Mac OS X, Game Boy advance, Nintendo DS and even the GP2X console
using
Hi all,
I'm trying to compile a project that makes use of the LCL and FCL.
Currently it can't find the Graphics unit. How can I set up XCode 2.5 to
pick the appropriate units? Should I add them manually to the project or
can I point the XCode project to a set of directories.
Dominique.
-Original Message-
From: Dominique Louis [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 01, 2007 11:29 AM
To: lazarus@miraclec.com
Subject: Re: [lazarus] Using SDL.framework within Lazarus project on Mac
OS X
Hi Philip,
I've just been re-reading your message. So when using
Felipe Monteiro de Carvalho wrote:
Another hint: You can group the -k statements with quotes:
-k-framework carbon -framework sdl
Damn how stupid do I feel. I was under the impression that the FPC
compiler would take the -k-framework directive and apply to all option
that appeared after it
got it to compile. Maybe you could write up
something in the wiki about how to use SDL with Lazarus. Perhaps a small
test app to help get folks started.
Thanks.
-Phil
-Original Message-
From: Dominique Louis [mailto:[EMAIL PROTECTED]
Sent: Friday, November 09, 2007 12:53 PM
To: lazarus
Hi all,
I sent the following fix to Jesus a few days ago, but I have not
heard back so don't know if he received it or if he has checked it in yet.
Basically in PrintersDlgs you have code that looks similar to this just
after the implementation.
{$IFDEF LCLCarbon}
uses Unit Names Here
the email to the list.
Dominique.
Jesus Reyes wrote:
--- Dominique Louis [EMAIL PROTECTED] escribió:
Hi all,
I sent the following fix to Jesus a few days ago, but I have not
heard back so don't know if he received it or if he has checked it
in yet.
Basically in PrintersDlgs you have code
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 get..
Initialization
Marc Weustink wrote:
What gdb version are you using ?
No Idea, how can I tell?
_
To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
archives at
Hi Matt,
the version returned is 6.3.50-20050815 ( Apple version gdb696)
Dominique.
Matt Henley wrote:
gdb --version
works on my linux box
On Nov 11, 2007 5:17 PM, Dominique Louis
[EMAIL PROTECTED] wrote:
Marc Weustink wrote:
What gdb version are you using ?
No Idea, how can I tell
with other messages about not find the *.lpr file.
Is there more information required?
Dominique.
Marc Weustink wrote:
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
,
Dominique Louis.
_
To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
Hi Marc and Mark,
From my tests I have found that the problem is not related to
TBitmap. I'll investigate further and report back if I find anything.
Dominique.
Marc Weustink wrote:
Dominique Louis wrote:
Hi,
Has anyone else encountered a problem on Mac OS X where by when you
try
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
lRow : Pointer;
Marc Weustink wrote:
Should I define lRow as a PByteArray?
In delphi mode, Yes.
Unless you want to compile this in Delphi, there is no reason to use
delphi mode. You can, if needed, use a different mode per unit.
Hi Marc,
Thanks for that and I'm a little bit further, but now get a crash.
Sorry I don't quite understand what you mean.
Result is not freed in the function so the Bitmap should be fine.
Please explain further.
wile64 wrote:
Sorry, He's not finish
I am not sure but this test.
var
BmpResult: TBitmap;
begin
...
...
BmpResult:=TBitmap.Create;
Yes in this case the function that calls CreateBitmap24 will take care
of freeing the Bitmap. But this does not fix my original problem to do
with the AV on line Result.LoadFromIntfImage( ScanLineImage );
Dominique.
wile64 wrote:
2007/11/25, Dominique Louis [EMAIL PROTECTED]
mailto:[EMAIL
But the first 3 lines of the CreateBitmap24 function are
begin
Result := nil;
Result := TBitmap.Create; // CREATED HERE!
Result.PixelFormat := pf24bit;
Result.Width := s_w;
Result.Height := s_h;
.
.
.
end;
wile64 wrote:
2007/11/25, Dominique Louis [EMAIL PROTECTED]
mailto:[EMAIL
If you copy and paste some text with an @ sign in it, for example
passing the address of something, when you paste that code somewhere
else the @ sign is changed into a .
Not a big bug, but an annoying one nevertheless.
Dominique.
Hi Tom,
this is an IDE bug, and I think the only way the IDE runs on Mac OS
X is gtk at the moment, though someone was working on porting the whole
thing to Carbon.
Dominique.
Tom Gregorovic wrote:
On Nov 30, 2007 10:20 AM, Dominique Louis
[EMAIL PROTECTED] wrote:
If you copy and paste
Tres jolie.
Dominique.
wile64 wrote:
I start new bitmap for dialogs components
_
To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
archives at
Hi Marc and Am,
I have some Model-View-Controller code that was written in Delphi
that I ported to C-Sharp . The Delphi version uses a Linked List to
handle the notification of all the views, while the C-Sharp version
uses delegates.
The C-Sharp version is also more modular as I
Firstly, I'd like to propose a slight change to the scanlines example so
that it is easier for developers to follow the code and to possibly
incorporate bits of it into their own code.
type
TBGRA = packed record
b, g, r, a : byte;
end;
PBGRA = ^TBGRA;
TBGRAArray = array[ WORD ] of
Hi Mattias,
Using Mac OS X how do I create a patch? If you can tell me what I
need to download/install then I'm happy to do that.
Dominique.
Mattias Gaertner wrote:
On Sat, 05 Jan 2008 19:14:51 +
Dominique Louis [EMAIL PROTECTED] wrote:
Firstly, I'd like to propose a slight change
pointed in the right direction.
Dominique.
Tom Gregorovic wrote:
Dominique Louis napsal(a):
I've noticed that transparency for TBitBtn under Carbon on Mac OS X
does not appear to work.
Let me clarify that. It looks fine inside the X11 ide on the Lazarus
form, but is not transparent at run
. I also noticed in
TCustomBitBtn.ActionChange/CopyImage it has a // TODO : Transparency
comment.
So I'm guessing it's not done yet.
Dominique.
Paul Ishenin wrote:
Dominique Louis wrote:
I finally updated to Lazarus v0.9.24 and the glyph transparency issue
still does not work with TBitBtns
Hi all,
I'm using the following function to retrieve a Bitmap from a memory
stream.
function MyStream.ReadBitmap : TBitmap;
// Reads a bitmap from the stream
var
sss : TMemoryStream;
begin
Result := nil;
if not ReadBoolean then
Exit;
Result := TBitmap.Create;
sss :=
Tom Gregorovic wrote:
It used to work, but after bitmap rewrite (which moved transparency in
TBitmap to mask) it was broken. I hope, I have fixed it in latest SVN.
Hi Tom,
I totally missed this update, I'm downloading the latest snapshot so
will let you know if it works for me.
Thanks,
Hi Tom,
I just checked and transparency does indeed work correctly in Carbon
in the latest Snapshot(27/01/2008). Great work!
Dominique.
Tom Gregorovic wrote:
On Jan 11, 2008 10:09 AM, Dominique Louis
[EMAIL PROTECTED] wrote:
Hi Paul,
Does this mean that TBitBtn under Mac OS X does
27, 2008 8:45 PM, Dominique Louis
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi all,
I'm using the following function to retrieve a Bitmap from a memory
stream.
function MyStream.ReadBitmap : TBitmap;
// Reads a bitmap from the stream
var
sss
Hi all,
I've just been trying to compile some code that makes use of Zlib and
when I try to compile it from within Lazarus I get the following error
Error: Import library not found for libz
at the linking stage. It's the only thing stopping it from linking.
Is this a bug in FPC 2.2.1 or am
or .so) or are you using the
zlib unit (implementation in object pascal) included with FPC?
Regards,
- Graeme -
On 30/01/2008, Dominique Louis [EMAIL PROTECTED] wrote:
Hi all,
I've just been trying to compile some code that makes use of Zlib and
when I try to compile it from within Lazarus I
hi all,
It is possible to set up Ubuntu to pick up overnight snapshots from
hu.freepascal?
Thanks,
Dominique.
_
To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
archives at
micahel schneider wrote:
wget and cron?
According the Wiki ( http://wiki.lazarus.freepascal.org/Getting_Lazarus
) I need to use..
deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universe
for the stable version, but what do I use for the unstable snapshot?
Hi A.J.
You may want to post about your project over on
www.pascalgamedevelopment.com. There was talk on there about trying and
release a game development pack that would allow FreePascal to target
Nintendo GameBoy Advance and Dual Screen.
Dominique.
A.J. Venter wrote:
Hi all,
As I
Hi all,
Anyone have any ideas?
Dominique
Dominique Louis wrote:
My uses clause is as follows
uses
Zlib, // To avoid linking to objects
Sysutils,
Classes;
This works fine on Mac OS X, but on Win32 I get the error mentioned.
Yes I'm using the zlib that ships with FPC.
Dominique
Marco van de Voort wrote:
I've just been trying to compile some code that makes use of Zlib and
when I try to compile it from within Lazarus I get the following error
Error: Import library not found for libz
at the linking stage. It's the only thing stopping it from linking.
Is this a bug
Ok, but shouldn't it work with both?
Vincent Snijders wrote:
Dominique Louis schreef:
Hi all,
Anyone have any ideas?
Yes, drop zlib and use paszlib.
Vincent
_
To unsubscribe: mail [EMAIL PROTECTED
78 matches
Mail list logo