Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread Mattias Gaertner
On Sun, 23 Jul 2006 14:54:49 +1100
"Alexander Klenin" <[EMAIL PROTECTED]> wrote:

> On 7/22/06, George Birbilis <[EMAIL PROTECTED]> wrote:
> > I haven't tried SynEdit 2.x and the new Unihighlighter yet, but sometime
in
> > the future when I do, I'll see what it takes to port the to Lazarus
(seeing
> > what changes had been done to old SynEdit to port it)
> 
> Does that mean that there is no point in enhancing the SysEdit which
> is now in Lazarus?
> I have recently started poking around it and have some ideas ;-)

What ideas?

Mattias
 

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


Re: [lazarus] lazarus won't work as user

2006-07-22 Thread Mattias Gaertner
On Sun, 23 Jul 2006 01:13:11 +0200
"J.L. Blom" <[EMAIL PROTECTED]> wrote:

> I have some problems with lazarus 0.9.17-beta which is used with fpc
> 2.1.1-20060702-x86_64.

There are some known bugs with fpc 2.1.1 x86_64 and lazarus. Please try fpc
2.0.2. AFAIK there are no lazarus x86_64 packages. So this means: install
fpc 2.0.2 and compile lazarus from source. See 
http://wiki.lazarus.freepascal.org/index.php/Installing_Lazarus#Installing_from_source


> System: AMD64 1 GB sufficient diskspace, linux 2.6.17-1.2157_FC5.
> I have installed lazarus as root.
> 1. I can load and run an example (addressbook), however, only when I
> start lazarus as root. 
> In an user account, lazarus starts but gives a lot of errors from which
> an example is:
> TPkgManager.GetWritablePkgOutputDirectory
> APackage=RunTimeTypeInfoControls 0.1
>
AnOutDirectory="/home/joep/.lazarus/lib/RunTimeTypeInfoControls/x86_64-linu
x"
> and it ends with:
> TApplication.HandleException: there was another exception during showing
> the first exception
> lazarus.pp - unhandled exception
> and the program exits.
> 2. In both situations I cannot drag an icon (like Tbutton, or TLabel) to
> the Form window as all helptexts are striked-out like Selecttool or
> Tbutton or Tlabel .

What helptexts are striked-out?


> I'm sorry to use HTML but that's the only way to show what I mean.
> I would like to use a proper release of lazarus but this version was the
> only one that worked with the snapshot fpc. I recently obtained fpc
> 2.0.4 but I don;t know if there is a lazarus version already available
> for this release.

I didn't test yet 2.0.4 and lazarus on x86_64.


Mattias

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


Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread Alexander Klenin

On 7/22/06, George Birbilis <[EMAIL PROTECTED]> wrote:

I haven't tried SynEdit 2.x and the new Unihighlighter yet, but sometime in
the future when I do, I'll see what it takes to port the to Lazarus (seeing
what changes had been done to old SynEdit to port it)


Does that mean that there is no point in enhancing the SysEdit which
is now in Lazarus?
I have recently started poking around it and have some ideas ;-)

--
Alexander S. Klenin
Insight Experts Ltd.

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


[lazarus] lazarus won't work as user

2006-07-22 Thread J.L. Blom




I have some problems with lazarus 0.9.17-beta which is used with fpc 2.1.1-20060702-x86_64.
System: AMD64 1 GB sufficient diskspace, linux 2.6.17-1.2157_FC5.
I have installed lazarus as root.
1. I can load and run an example (addressbook), however, only when I start lazarus as root. 
In an user account, lazarus starts but gives a lot of errors from which an example is:
TPkgManager.GetWritablePkgOutputDirectory APackage=RunTimeTypeInfoControls 0.1 AnOutDirectory="/home/joep/.lazarus/lib/RunTimeTypeInfoControls/x86_64-linux"
and it ends with:
TApplication.HandleException: there was another exception during showing the first exception
lazarus.pp - unhandled exception
and the program exits.
2. In both situations I cannot drag an icon (like Tbutton, or TLabel) to the Form window as all helptexts are striked-out like Selecttool or Tbutton or Tlabel .
I'm sorry to use HTML but that's the only way to show what I mean.
I would like to use a proper release of lazarus but this version was the only one that worked with the snapshot fpc. I recently obtained fpc 2.0.4 but I don;t know if there is a lazarus version already available for this release.
Sorry for the long E-mail.
Joep





Re: [lazarus] IDE menu text colour wrong

2006-07-22 Thread Mark Morgan Lloyd
Martin Smat wrote:

> If I understand it well, you can now see all menus, submenus and the
> menu items but after selecting the item it does not process any action?
> Then there must be also some message processing problem. I will take a
> look on it if I find something.

'Fraid so. Context (right-click) editor menu is OK. Didn't get to test things
like the TMainMenu property editor for obvious reasons.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [lazarus] IDE menu text colour wrong

2006-07-22 Thread Martin Smat

Mark Morgan Lloyd wrote:

The snapshot downloads and runs fine. Unfortunately none of the menu items do
anything.

To clarify: in .16 the text in the title bar was erratic and I couldn't see any
menu text, but "Restart" and "Quit" were in the expected places and worked. In
.17-20060720 the title bar is reliable and I can see the menu text but no main
menu entries work (drop-down are OK). In both cases I'm running under NT4 SP6a,
I've not had a chance to check either version under Linux.

I know I should be investigating and fixing this myself, but it is going to take
me some while to get up to speed and I have a lot of other demands on my time.

  
If I understand it well, you can now see all menus, submenus and the 
menu items but after selecting the item it does not process any action?
Then there must be also some message processing problem. I will take a 
look on it if I find something.


Martin.

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


Re: [lazarus] IDE menu text colour wrong

2006-07-22 Thread Mark Morgan Lloyd
Martin Smat wrote:
>
> You don't need the sources from SVN repository. Lazarus has daily snapshots.
> You can download it from
> ftp://ftp.hu.freepascal.org/pub/lazarus/Lazarus-0.9.17-20060720-win32.exe
> 
> I never used this snapshots but I hope they are working just fine.

The snapshot downloads and runs fine. Unfortunately none of the menu items do
anything.

To clarify: in .16 the text in the title bar was erratic and I couldn't see any
menu text, but "Restart" and "Quit" were in the expected places and worked. In
.17-20060720 the title bar is reliable and I can see the menu text but no main
menu entries work (drop-down are OK). In both cases I'm running under NT4 SP6a,
I've not had a chance to check either version under Linux.

I know I should be investigating and fixing this myself, but it is going to take
me some while to get up to speed and I have a lot of other demands on my time.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [lazarus] FP/Lazarus for production use

2006-07-22 Thread Florian Klaempfl
Johannes Nohl wrote:
> Also I'm not planning to do any production use, the more interesting
> question - out of my view -  is the legal issue. Technical things you
> can try...
> 
> What do the licences of FP and Lazarus mean for a program? For example
> can I sell a program written with lazarus/FP? Do I have to publish the
> source code then? Is the whole lazarus libary (lcl) under one license
> or do I have to skip units? Is LCL/Lazarus licence the same as FP
> license?
> 
> This questions are on my mind if I read about production use.

Well, because a lot of people asked that this is a FAQ for FPC:
http://www.freepascal.org/faq.html#general-license as well as for
lazarus:
http://www.lazarus.freepascal.org/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=1#q56

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


Re: [lazarus] FP/Lazarus for production use

2006-07-22 Thread Johannes Nohl

Also I'm not planning to do any production use, the more interesting
question - out of my view -  is the legal issue. Technical things you
can try...

What do the licences of FP and Lazarus mean for a program? For example
can I sell a program written with lazarus/FP? Do I have to publish the
source code then? Is the whole lazarus libary (lcl) under one license
or do I have to skip units? Is LCL/Lazarus licence the same as FP
license?

This questions are on my mind if I read about production use.

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


Re: [lazarus] SQLDb,Mysql and TTable component

2006-07-22 Thread johnf
I have not seen your code but in general the idea of a temporary table to 
update a permanent table is not the normal way to use SQL.  When you start 
adding data to a table from the program it will not be written until you 
'commit'.  Therefore, appending or any changes to a table can be considered a 
temporary table until it is committed. In fact that is how SQLdb works - it 
creates a temporary table for you (sort of).   A "begin" transaction is sent 
to database engine.  To save the data just commit after validating or any 
changes, etc...  So instead of creating a routine to transfer the data from 
the temporary table to the real table - just use the "Begin", "Rollback" and 
"commit" routines available from the SQL.  SQLdb does most of the work for 
you.  Send a 'SELECT' statement and a begin is also sent. 

However, I see how it could be a nice way to collect data and then validate 
the data before committing.  In fact the DBgrid can be used as you suggest.  
But the DBgrid does not need to be a temporary table but the real table.
  
Regarding your question about the read only I have no idea.  I haven't had it 
happen to me with out me setting it.
John

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


[lazarus] Rx Components

2006-07-22 Thread Henrique P Faria
You should install rxnew:

http://wiki.lazarus.freepascal.org/index.php/RXfpc

Henrique.





-Mensagem original-
De: Nataraj S Narayan [mailto:[EMAIL PROTECTED] 
Enviada em: sábado, 22 de julho de 2006 07:25
Para: lazarus@miraclec.com
Assunto: [lazarus] Rx Components

Hi

I dont see any RX compos in the pallette even after installion
from  /root/lazarus/components/rx/rx.lpk.

I want the RxDBLookupCombo to work in Lazarus. Is it already there?

I use fpc-2.1.1 , lazarus 0.9.17 beta SVN  revision 9661.

regards

Nataraj

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


Re: [lazarus] FP/Lazarus for production use

2006-07-22 Thread Lars Eriksen

Thank you very much for your answers. Very, very impressive!

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


Re: [lazarus] FP/Lazarus for production use

2006-07-22 Thread Felipe Monteiro de Carvalho

On 7/22/06, Lars Eriksen <[EMAIL PROTECTED]> wrote:

5. What is the smallest executable size of a pure FP Win32 console app?


I think it´s about 30kb. More detailed information here:

http://www.freepascal.org/wiki/index.php/Size_Matters


6. What is the smallest executable size of a FP/Lazarus Win32 GUI app?


Tipically 6MB with debug info. 1.5MB after strip. If you smartlink LCL
then the executable size after strip is 1.1MB. More detailed
information, including linking time here:

http://wiki.lazarus.freepascal.org/index.php/File_size_and_smartlinking

Take notice that a hello world Lazarus app can seam big, and lead to a
false impression that a real world app will be huge. This is false,
because under lazarus, the hello world app contains a huge amount of
(hidden) code, including xml hangling, png hangling, lot´s of
controls, and most other things any real-world app will need.

The initial executable size is relatively big, but it grows extremely
slowly, so Lazarus executables are actually much smaller for most real
world applications.

Most of my friends that use c++ were really impressed with relatively
large projects generating so small executables under lazarus. A
tipical c++ hello world is small, but it scales very badly, so the
executable quickly becomes huge when the project grows.


7. Is the Lazarus GUI toolkit sufficiently complete (= does the usual
stuff, buttons, list boxes, list views, panels, forms, images and fonts
work)?


Yes, all those things work perfectly under win32 and gtk 1.2
widgetsets. They also work (but not perfectly) on gtk 2 and windows CE
widgetsets.

--
Felipe Monteiro de Carvalho

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


Re: [lazarus] FP/Lazarus for production use

2006-07-22 Thread Lepidosteus

6. What is the smallest executable size of a FP/Lazarus Win32 GUI app?


8.12 MB after compilation, 1.45 MB after stripping (this really should
be done by lazarus), 408 KB using upx (exe packer, not everyone likes
that).

--
Lepidosteus
http://lepidosteus.com

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


Re: [lazarus] FP/Lazarus for production use

2006-07-22 Thread Michael Van Canneyt


On Sat, 22 Jul 2006, Lars Eriksen wrote:

> Hello!
> 
> I am considering using FP/Lazarus for an end-user GUI application project that
> runs on Windows.
> 
> It would be highly appreciated if you could answer any of the following
> questions:
> 
> 1. Is FP stable enough for production use (= are there any limitations that
> could make it less than ideal)?

FPC is stable and ready for production use since years.

There are companies who are converting their flagship products to FPC/Lazarus.

> 2. Is there a debugger (console or GUI) for FP?

Yes. GDB. You can use Insight as a GUI or better Lazarus, for that matter.

> 3. Does FP have templates/generics (something I seriously missed in Delphi)?

No. They are on the drawing board, though.

> 4. Does the Win32 variant of Lazarus run on top of GTK+?

No. It's native win32.

> 5. What is the smallest executable size of a pure FP Win32 console app?

That depends. 30K or so ?

> 6. What is the smallest executable size of a FP/Lazarus Win32 GUI app?

This, I don't know.

> 7. Is the Lazarus GUI toolkit sufficiently complete (= does the usual stuff,
> buttons, list boxes, list views, panels, forms, images and fonts work)?

Yes, obviously. 
Look at the IDE itself, it's written using the GUI toolkit...

Michael

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


[lazarus] FP/Lazarus for production use

2006-07-22 Thread Lars Eriksen

Hello!

I am considering using FP/Lazarus for an end-user GUI application 
project that runs on Windows.


It would be highly appreciated if you could answer any of the following 
questions:


1. Is FP stable enough for production use (= are there any limitations 
that could make it less than ideal)?

2. Is there a debugger (console or GUI) for FP?
3. Does FP have templates/generics (something I seriously missed in Delphi)?
4. Does the Win32 variant of Lazarus run on top of GTK+?
5. What is the smallest executable size of a pure FP Win32 console app?
6. What is the smallest executable size of a FP/Lazarus Win32 GUI app?
7. Is the Lazarus GUI toolkit sufficiently complete (= does the usual 
stuff, buttons, list boxes, list views, panels, forms, images and fonts 
work)?


Thank you very much in advance!


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


Re: [lazarus] SQLDb,Mysql and TTable component

2006-07-22 Thread Joost van der Sluis
> I gave an SQLQuery2 with SQL = 'select * from purchdtemp'
> I mapped its datasource to a dbgrid. But the dbgrid acts 'read only'
> now. This is a temporary table I which I used in Delphi for keying in
> Purchase order details. Then, I write the data from this table to
> actual 'purchorderdetails', after keying in the whole PO.
> 
> So each time the program is loaded, this table is made empty.
> 
> what do i do?

You have to remove your 'reply-to' adress from your mail-client, read
the wiki, try the examples, search the web, look how it's done in Delphi
and maybe set the 'read-only' property to false and parsesql to true.

Joost

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


RE: [lazarus] Question of feature: code browser

2006-07-22 Thread George Birbilis
> find implementation has no menu item, because IMO no one
> would use it via the menu.

What do you mean? It should show on the context menu when you right click a
symbol in the source code editor I believe. Isn't Find Declaration showing
there at Lazarus? (as done in Delphi). Not all people want (or can) use
keyboard shortcuts, sometimes they're forced to stay away from kbd as much
as possible for health reasons. Also when you have speech control s/w, it
usually can read context menus, but can't guess keyboard mappings of some
app.

> Where should we put the 'Lazarus IDE shortcut reference card'?

It wouldn't hurt, but it should be interactive (that is the titles displayed
next to the shortcut keys on the reference card should be clickable in order
to simulate pressing of the respective shortcut key combination)


George Birbilis ([EMAIL PROTECTED])
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
* QuickTime, QTVR, ActiveX, VCL, .NET
http://www.kagi.com/birbilis
* Robotics
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup




  _  

avast! Antivirus  : Outbound message clean. 


Virus Database (VPS): 0629-2, 21/07/2006
Tested on: 22/7/2006 4:38:21 ??
avast! - copyright (c) 1988-2006 ALWIL Software.



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


RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread George Birbilis
Indeed, that page has recent date at its end, but it seems the non-Unicode
(ANSI) SynEdit is updates as well at synedit.sf.net (see Downloads section
for 2.0.3 stable release). The problem seems to be that the news section at
the home page of synedit.sf.net is VERY VERY old and makes one believe the
project is dead

>
> The "next generation" SynEdit component seems to be
> unisynedit (http://mh-nexus.de/unisynedit.htm). I have never
> used it though so I can't comment on how useable it is.
>
> Darius
>
> - Original Message -
> From: "George Birbilis" <[EMAIL PROTECTED]>
> To: 
> Sent: Saturday, July 22, 2006 12:10 PM
> Subject: RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps
> problem)
>
>
> >> > Not sure how to make a patch btw, is there some builtin tool at
> >> > lazarus to make Diffs or similar? Or does one use
> >> TortoiseCVS menu to do the Diff?
> >>
> >> Yes, use TortoiseSVN diff tool.
> >>
> >> Question about SynEdit: I know the lazarus version is a very
> >> customized one from old source... Will it be replaced by a newer
> >> version from the original project (i.e. does the original
> project now
> >> support FPC compiler and lazarus)?
> >
> > Can find links to latest SynEdit (2.x) at
> unihighlighter.com. It seems
> > there's a project called Mystix that also updated it to have Code
> > Folding (I know some people were asking about the Lazarus code
> > folding). Also there's updates to UniSynEdit (Unicode SynEdit) etc.
> > Strangely enough, the synedit.sf.net site has the old SynEdit only.
> > Same goes for Unihighlighter, the 
> > http://www.delphist.com/UniHighlighter.html site has the
> old one (the
> > one Lazarus port used) and www.unihighlighter.com has the new one.
> >
> > I haven't tried SynEdit 2.x and the new Unihighlighter yet, but
> > sometime in the future when I do, I'll see what it takes to
> port the
> > to Lazarus (seeing what changes had been done to old
> SynEdit to port
> > it)
> >
> > 
> > George Birbilis ([EMAIL PROTECTED])
> > Microsoft MVP J# for 2004-2006
> > Borland "Spirit of Delphi"
> > * QuickTime, QTVR, ActiveX, VCL, .NET
> > http://www.kagi.com/birbilis
> > * Robotics
> > http://www.mech.upatras.gr/~Robotics
> > http://www.mech.upatras.gr/~robgroup
> >
> >
> >
> >
> >  _
> >
> > avast! Antivirus  : Outbound message clean.
> >
> >
> > Virus Database (VPS): 0629-2, 21/07/2006 Tested on:
> 22/7/2006 1:07:30
> > ??
> > avast! - copyright (c) 1988-2006 ALWIL Software.
> >
> >
> >
> > _
> > To unsubscribe: mail [EMAIL PROTECTED] with
> >"unsubscribe" as the Subject
> >   archives at http://www.lazarus.freepascal.org/mailarchives
>
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
> 



  _  

avast! Antivirus  : Outbound message clean. 


Virus Database (VPS): 0629-2, 21/07/2006
Tested on: 22/7/2006 4:27:29 ??
avast! - copyright (c) 1988-2006 ALWIL Software.



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


Re: [lazarus] IDE menu text colour wrong

2006-07-22 Thread Mark Morgan Lloyd
Martin Smat wrote:
> 
> You don't need the sources from SVN repository. Lazarus has daily snapshots.
> You can download it from
> ftp://ftp.hu.freepascal.org/pub/lazarus/Lazarus-0.9.17-20060720-win32.exe
> 
> I never used this snapshots but I hope they are working just fine.

Thanks, I'll try that out over the next few hours.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [lazarus] Save error: unable to create stream Form1:TForm. Access violation

2006-07-22 Thread Mattias Gaertner
On Sat, 22 Jul 2006 14:52:01 +0200 (CEST)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:

> 
> 
> On Sat, 22 Jul 2006, Mattias Gaertner wrote:
> 
> > On Sat, 22 Jul 2006 13:20:45 +0200 (CEST)
> > Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> > 
> > > 
> > > 
> > > On Sat, 22 Jul 2006, Mattias Gaertner wrote:
> > > 
> > > > On Sat, 22 Jul 2006 12:35:58 +0200 (CEST)
> > > > Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> > > > 
> > > > > 
> > > > > 
> > > > > On Sat, 22 Jul 2006, Mattias Gaertner wrote:
> > > > > 
> > > > > >   // Delphi still cannot handle wide strings properly while
> > streaming
> > > > > >   Filer.DefineProperty('WideDefaultText', @ReadText, @WriteText,
> > > > > > FDefaultText <> 'Node');
> > > > > >  
> > > > > > The FCL TWriter has a problem too: It refuses to write empty
> > > > widestrings.
> > > > > 
> > > > > This is not a 'problem' but a design decision: empty strings are
never
> > > > written 
> > > > > to stream. Delphi also does not write empty strings to stream;
it's to
> > > > save space.
> > > > 
> > > > That was maybe the idea. And it works well as default behaviour. 
> > > > But when you define a stored function, you want to fine tune, what
is
> > saved
> > > > and what not.
> > > 
> > > The empty string is only not written if there is no 'stored'
specifier, I
> > think.
> > > 
> > > > This 'design decision', if it was that, limits the possibilities
without
> > > > gain and is inconsistent to other types.
> > > 
> > > No, because zero ordinals are also not written ?
> > > 
> > > If you want more control, all you need to do is add a 'stored'
modifier ?
> > > (I recently did some fixes to that, though)
> > 
> > Well, if you fixed the problem, then of course it is not a problem. :)
> 
> I don't know if I fixed THE problem, but at least I fixed A problem with 
> the stored modifier :)

I just tested recent 2.0.3. 'Problem' is still there. Using 'stored' does
not allow to save empty widestrings. And you are right, it does not work for
integer too. But here at least you can change the default value.

 
> This fix will be in 2.0.4, BTW.


Mattias

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


RE: Who is the PascalScript maintainer for lazarus?

2006-07-22 Thread George Birbilis
> > I think Carlo said sometime ago on the ROPS newsgroup that
> assembler
> > is used mostly for maintaining the call stack. In fact I
> don't think
> > anything done using assembler can't be done with normal Pascal code
> > (if necessery it can call into a unit of low-level primitives that
> > will be implemend in assembler, but those primitives would
> be easily
> > portable among various CPU
> > architectures)
>
> That is exactly what it does: there are 1 or 2 assembler
> routines, to create a correct call stack. You can't do this
> in Pascal. These 2 routines would be the only thing you need
> to port accross CPUs...

Assembly language instructions map one-to-one to Machine language (CPU
opcodes). You could enter the respective CPU opcodes in memory using a
pointer and run them. That would work without needing the compiler to
support assembler instructions in a consistent way. Of course you'd still
need to port this to other CPU architectures.


George Birbilis ([EMAIL PROTECTED])
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
* QuickTime, QTVR, ActiveX, VCL, .NET
http://www.kagi.com/birbilis
* Robotics
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup




  _  

avast! Antivirus  : Outbound message clean. 


Virus Database (VPS): 0629-2, 21/07/2006
Tested on: 22/7/2006 4:10:03 ??
avast! - copyright (c) 1988-2006 ALWIL Software.



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


Re: [lazarus] Save error: unable to create stream Form1:TForm. Access violation

2006-07-22 Thread Michael Van Canneyt


On Sat, 22 Jul 2006, Mattias Gaertner wrote:

> On Sat, 22 Jul 2006 13:20:45 +0200 (CEST)
> Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> 
> > 
> > 
> > On Sat, 22 Jul 2006, Mattias Gaertner wrote:
> > 
> > > On Sat, 22 Jul 2006 12:35:58 +0200 (CEST)
> > > Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> > > 
> > > > 
> > > > 
> > > > On Sat, 22 Jul 2006, Mattias Gaertner wrote:
> > > > 
> > > > >   // Delphi still cannot handle wide strings properly while
> streaming
> > > > >   Filer.DefineProperty('WideDefaultText', @ReadText, @WriteText,
> > > > > FDefaultText <> 'Node');
> > > > >  
> > > > > The FCL TWriter has a problem too: It refuses to write empty
> > > widestrings.
> > > > 
> > > > This is not a 'problem' but a design decision: empty strings are never
> > > written 
> > > > to stream. Delphi also does not write empty strings to stream; it's to
> > > save space.
> > > 
> > > That was maybe the idea. And it works well as default behaviour. 
> > > But when you define a stored function, you want to fine tune, what is
> saved
> > > and what not.
> > 
> > The empty string is only not written if there is no 'stored' specifier, I
> think.
> > 
> > > This 'design decision', if it was that, limits the possibilities without
> > > gain and is inconsistent to other types.
> > 
> > No, because zero ordinals are also not written ?
> > 
> > If you want more control, all you need to do is add a 'stored' modifier ?
> > (I recently did some fixes to that, though)
> 
> Well, if you fixed the problem, then of course it is not a problem. :)

I don't know if I fixed THE problem, but at least I fixed A problem with 
the stored modifier :)

This fix will be in 2.0.4, BTW.

Michael.

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


Re: [lazarus] Question of feature: code browser

2006-07-22 Thread Michael Van Canneyt


On Sat, 22 Jul 2006, Mattias Gaertner wrote:

> > > > On Sat, 22 Jul 2006, Mattias Gaertner wrote:
> > > > 
> > > > > On Sat, 22 Jul 2006 13:16:13 +0300
> > > > > "George Birbilis" <[EMAIL PROTECTED]> wrote:
> > > > > 
> > > > > > > > and also
> > > > > > > > working on another feature: there is 'find declaration' but
> 'find
> > > > > > > > implementation' is missing...)
> > > > > > >
> > > > > > > Do you mean Ctrl+Shift+Up ?
> > > > > > 
> > > > > > Maybe they mean at some popup menu?
> > > > > > BTW, Delphi7 doesn't have "find implementation" I think but only
> "find
> > > > > > declaration" (quite annoying, don't suppose there's some magic key
> for
> > > > > that
> > > > > > at D7 too?)
> > > > > 
> > > > > They use the same shortcuts here.
> > > > > 
> > > > > find implementation has no menu item, because IMO no one would use
> it
> > > via
> > > > > the menu. I use the function more often than page up/down. For
> newbies
> > > it is
> > > > > mentioned in the tutorial and afaik at least one other place in the
> > > wiki.
> > > > > Experts looks up the keymapping.
> > > > > On the one hand: there are never enough hints for a newbie. 
> > > > > OTOH I don't want to fill the menus with functions, that only exists
> to
> > > see
> > > > > the shortcut. For example 'delete line' Ctrl-Y is the same case.
> > > > > 
> > > > > What do other people think? 
> > > > > Where should we put the 'Lazarus IDE shortcut reference card'?
> > > > 
> > > > In the menu, obviously... ;-)
> > > 
> > > There are more than 300 shortcuts. Sub-sub-menus? ;)
> > 
> > Nono, you need just 1 menu item: "Help - Shortcut Key Chart" :-)
> 
> I see.
> 
>  
> > And that displays a nice tree with all shortcuts in it :-)
> 
> I can add a menu item, that will open the keymapping tab in the editor
> options. How about that?
> I just realized, that we still have no help for the shortcuts. Oh, no. 300
> help items. :(

Before you start programming: I was not being serious; 

In the long term, I think you should add a mandatory 'Hint' parameter to the 
shortcut key registration routine, and it should throw an error when the hint 
is empty; thus forcing people to minimally document their functions.

This should enable you to create a nice reference chart on the fly, and generate
e.g. a fpDoc table from this chart. 

Michael.

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


Re: Who is the PascalScript maintainer for lazarus?

2006-07-22 Thread Michael Van Canneyt


On Sat, 22 Jul 2006, Florian Klaempfl wrote:

> Michael Van Canneyt wrote:
> >> I think Carlo said sometime ago on the ROPS newsgroup that assembler is 
> >> used
> >> mostly for maintaining the call stack. In fact I don't think anything done
> >> using assembler can't be done with normal Pascal code (if necessery it can
> >> call into a unit of low-level primitives that will be implemend in
> >> assembler, but those primitives would be easily portable among various CPU
> >> architectures)
> > 
> > That is exactly what it does: there are 1 or 2 assembler routines, to 
> > create a
> > correct call stack. You can't do this in Pascal. These 2 routines would be 
> > the
> > only thing you need to port accross CPUs...
> 
> That's exactly the problem. Building such kind of stack frame to pass
> parameters is simply not possible on other CPUs because they use usually
> a much more complicated ABI involving registers etc.

If the compiler can do it, why shouldn't someone else be able to do it ?

For instance AMD64 should be possible, no ?

Michael.

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


Re: [lazarus] IDE menu text colour wrong

2006-07-22 Thread Martin Smat

Mark Morgan Lloyd wrote:

Martin Smat wrote:
  

Could you install the latest version 0.9.17 and check with it?
Some changes were done between 0.9.16 and current 0.9.17 in the menu
drawing code.



Can somebody point me at a binary? Alternatively what do I need to build it- FPC
2.0.2a plus the Lazarus source RPM? I'm afraid I'm somewhat inexperienced when
it comes to things like CVS.

  

You don't need the sources from SVN repository. Lazarus has daily snapshots.
You can download it from 
ftp://ftp.hu.freepascal.org/pub/lazarus/Lazarus-0.9.17-20060720-win32.exe


I never used this snapshots but I hope they are working just fine.

Martin.

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


Re: [lazarus] Question of feature: code browser

2006-07-22 Thread Mattias Gaertner
On Sat, 22 Jul 2006 13:21:42 +0200 (CEST)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:

> 
> 
> On Sat, 22 Jul 2006, Mattias Gaertner wrote:
> 
> > On Sat, 22 Jul 2006 12:47:32 +0200 (CEST)
> > Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> > 
> > > 
> > > 
> > > On Sat, 22 Jul 2006, Mattias Gaertner wrote:
> > > 
> > > > On Sat, 22 Jul 2006 13:16:13 +0300
> > > > "George Birbilis" <[EMAIL PROTECTED]> wrote:
> > > > 
> > > > > > > and also
> > > > > > > working on another feature: there is 'find declaration' but
'find
> > > > > > > implementation' is missing...)
> > > > > >
> > > > > > Do you mean Ctrl+Shift+Up ?
> > > > > 
> > > > > Maybe they mean at some popup menu?
> > > > > BTW, Delphi7 doesn't have "find implementation" I think but only
"find
> > > > > declaration" (quite annoying, don't suppose there's some magic key
for
> > > > that
> > > > > at D7 too?)
> > > > 
> > > > They use the same shortcuts here.
> > > > 
> > > > find implementation has no menu item, because IMO no one would use
it
> > via
> > > > the menu. I use the function more often than page up/down. For
newbies
> > it is
> > > > mentioned in the tutorial and afaik at least one other place in the
> > wiki.
> > > > Experts looks up the keymapping.
> > > > On the one hand: there are never enough hints for a newbie. 
> > > > OTOH I don't want to fill the menus with functions, that only exists
to
> > see
> > > > the shortcut. For example 'delete line' Ctrl-Y is the same case.
> > > > 
> > > > What do other people think? 
> > > > Where should we put the 'Lazarus IDE shortcut reference card'?
> > > 
> > > In the menu, obviously... ;-)
> > 
> > There are more than 300 shortcuts. Sub-sub-menus? ;)
> 
> Nono, you need just 1 menu item: "Help - Shortcut Key Chart" :-)

I see.

 
> And that displays a nice tree with all shortcuts in it :-)

I can add a menu item, that will open the keymapping tab in the editor
options. How about that?
I just realized, that we still have no help for the shortcuts. Oh, no. 300
help items. :(


Mattias

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


Re: [lazarus] IDE menu text colour wrong

2006-07-22 Thread Mark Morgan Lloyd
Martin Smat wrote:
>
> Could you install the latest version 0.9.17 and check with it?
> Some changes were done between 0.9.16 and current 0.9.17 in the menu
> drawing code.

Can somebody point me at a binary? Alternatively what do I need to build it- FPC
2.0.2a plus the Lazarus source RPM? I'm afraid I'm somewhat inexperienced when
it comes to things like CVS.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [lazarus] Save error: unable to create stream Form1:TForm. Access violation

2006-07-22 Thread Mattias Gaertner
On Sat, 22 Jul 2006 13:20:45 +0200 (CEST)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:

> 
> 
> On Sat, 22 Jul 2006, Mattias Gaertner wrote:
> 
> > On Sat, 22 Jul 2006 12:35:58 +0200 (CEST)
> > Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> > 
> > > 
> > > 
> > > On Sat, 22 Jul 2006, Mattias Gaertner wrote:
> > > 
> > > >   // Delphi still cannot handle wide strings properly while
streaming
> > > >   Filer.DefineProperty('WideDefaultText', @ReadText, @WriteText,
> > > > FDefaultText <> 'Node');
> > > >  
> > > > The FCL TWriter has a problem too: It refuses to write empty
> > widestrings.
> > > 
> > > This is not a 'problem' but a design decision: empty strings are never
> > written 
> > > to stream. Delphi also does not write empty strings to stream; it's to
> > save space.
> > 
> > That was maybe the idea. And it works well as default behaviour. 
> > But when you define a stored function, you want to fine tune, what is
saved
> > and what not.
> 
> The empty string is only not written if there is no 'stored' specifier, I
think.
> 
> > This 'design decision', if it was that, limits the possibilities without
> > gain and is inconsistent to other types.
> 
> No, because zero ordinals are also not written ?
> 
> If you want more control, all you need to do is add a 'stored' modifier ?
> (I recently did some fixes to that, though)

Well, if you fixed the problem, then of course it is not a problem. :)


Mattias

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


Re: Who is the PascalScript maintainer for lazarus?

2006-07-22 Thread Florian Klaempfl
Michael Van Canneyt wrote:
>> I think Carlo said sometime ago on the ROPS newsgroup that assembler is used
>> mostly for maintaining the call stack. In fact I don't think anything done
>> using assembler can't be done with normal Pascal code (if necessery it can
>> call into a unit of low-level primitives that will be implemend in
>> assembler, but those primitives would be easily portable among various CPU
>> architectures)
> 
> That is exactly what it does: there are 1 or 2 assembler routines, to create a
> correct call stack. You can't do this in Pascal. These 2 routines would be the
> only thing you need to port accross CPUs...

That's exactly the problem. Building such kind of stack frame to pass
parameters is simply not possible on other CPUs because they use usually
a much more complicated ABI involving registers etc.

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


Re: [lazarus] Save error: unable to create stream Form1:TForm. Access violation

2006-07-22 Thread Michael Van Canneyt


On Sat, 22 Jul 2006, Mattias Gaertner wrote:

> On Sat, 22 Jul 2006 12:35:58 +0200 (CEST)
> Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> 
> > 
> > 
> > On Sat, 22 Jul 2006, Mattias Gaertner wrote:
> > 
> > >   // Delphi still cannot handle wide strings properly while streaming
> > >   Filer.DefineProperty('WideDefaultText', @ReadText, @WriteText,
> > > FDefaultText <> 'Node');
> > >  
> > > The FCL TWriter has a problem too: It refuses to write empty
> widestrings.
> > 
> > This is not a 'problem' but a design decision: empty strings are never
> written 
> > to stream. Delphi also does not write empty strings to stream; it's to
> save space.
> 
> That was maybe the idea. And it works well as default behaviour. 
> But when you define a stored function, you want to fine tune, what is saved
> and what not.

The empty string is only not written if there is no 'stored' specifier, I think.

> This 'design decision', if it was that, limits the possibilities without
> gain and is inconsistent to other types.

No, because zero ordinals are also not written ?

If you want more control, all you need to do is add a 'stored' modifier ?
(I recently did some fixes to that, though)

Michael.

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


Re: [lazarus] IDE menu text colour wrong

2006-07-22 Thread Martin Smat

Mark Morgan Lloyd wrote:

I've just installed 0.9.16 onto NT4 SP6a, and there appears to be a minor
problem: the text in the main title bar (i.e. above the component tabs etc.) is
erratic and there is no text at all on the main menu or any drop-down menus.
I've tried changing the menu background colour to no effect (i.e. if there's any
text there it tracks the background colour), this was OK when I last looked
which I think was 0.9.14, I've not yet tried it on Linux.

Apart from that it looks good and I really do wish I could put more time into
this and possibly make some concrete contributions.

  

Could you install the latest version 0.9.17 and check with it?
Some changes were done between 0.9.16 and current 0.9.17 in the menu 
drawing code.


Martin.

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


Re: [lazarus] Question of feature: code browser

2006-07-22 Thread Michael Van Canneyt


On Sat, 22 Jul 2006, Mattias Gaertner wrote:

> On Sat, 22 Jul 2006 12:47:32 +0200 (CEST)
> Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> 
> > 
> > 
> > On Sat, 22 Jul 2006, Mattias Gaertner wrote:
> > 
> > > On Sat, 22 Jul 2006 13:16:13 +0300
> > > "George Birbilis" <[EMAIL PROTECTED]> wrote:
> > > 
> > > > > > and also
> > > > > > working on another feature: there is 'find declaration' but 'find
> > > > > > implementation' is missing...)
> > > > >
> > > > > Do you mean Ctrl+Shift+Up ?
> > > > 
> > > > Maybe they mean at some popup menu?
> > > > BTW, Delphi7 doesn't have "find implementation" I think but only "find
> > > > declaration" (quite annoying, don't suppose there's some magic key for
> > > that
> > > > at D7 too?)
> > > 
> > > They use the same shortcuts here.
> > > 
> > > find implementation has no menu item, because IMO no one would use it
> via
> > > the menu. I use the function more often than page up/down. For newbies
> it is
> > > mentioned in the tutorial and afaik at least one other place in the
> wiki.
> > > Experts looks up the keymapping.
> > > On the one hand: there are never enough hints for a newbie. 
> > > OTOH I don't want to fill the menus with functions, that only exists to
> see
> > > the shortcut. For example 'delete line' Ctrl-Y is the same case.
> > > 
> > > What do other people think? 
> > > Where should we put the 'Lazarus IDE shortcut reference card'?
> > 
> > In the menu, obviously... ;-)
> 
> There are more than 300 shortcuts. Sub-sub-menus? ;)

Nono, you need just 1 menu item: "Help - Shortcut Key Chart" :-)

And that displays a nice tree with all shortcuts in it :-)

Michael.

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


[lazarus] IDE menu text colour wrong

2006-07-22 Thread Mark Morgan Lloyd
I've just installed 0.9.16 onto NT4 SP6a, and there appears to be a minor
problem: the text in the main title bar (i.e. above the component tabs etc.) is
erratic and there is no text at all on the main menu or any drop-down menus.
I've tried changing the menu background colour to no effect (i.e. if there's any
text there it tracks the background colour), this was OK when I last looked
which I think was 0.9.14, I've not yet tried it on Linux.

Apart from that it looks good and I really do wish I could put more time into
this and possibly make some concrete contributions.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread Mattias Gaertner
On Sat, 22 Jul 2006 13:10:23 +0300
"George Birbilis" <[EMAIL PROTECTED]> wrote:

> > > Not sure how to make a patch btw, is there some builtin tool at
> > > lazarus to make Diffs or similar? Or does one use
> > TortoiseCVS menu to do the Diff?
> >
> > Yes, use TortoiseSVN diff tool.
> >
> > Question about SynEdit: I know the lazarus version is a very
> > customized one from old source... Will it be replaced by a
> > newer version from the original project (i.e. does the
> > original project now support FPC compiler and lazarus)?
> 
> Can find links to latest SynEdit (2.x) at unihighlighter.com. It seems
> there's a project called Mystix that also updated it to have Code Folding
(I
> know some people were asking about the Lazarus code folding).

If it is only code folding: It is nearly complete. There are a few places
left, which needs fixing.


> Also there's
> updates to UniSynEdit (Unicode SynEdit) etc. Strangely enough, the
> synedit.sf.net site has the old SynEdit only.

Thanks to Mazen lazarus synedit supports even bidi. Compile with
-dUSE_UTF8BIDI_LCL.


> Same goes for Unihighlighter,
> the  http://www.delphist.com/UniHighlighter.html site has the old one (the
> one Lazarus port used) and www.unihighlighter.com has the new one.

Does it use widestrings?

 
> I haven't tried SynEdit 2.x and the new Unihighlighter yet, but sometime
in
> the future when I do, I'll see what it takes to port the to Lazarus
(seeing
> what changes had been done to old SynEdit to port it)

Great.


Mattias

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


Re: [lazarus] Question of feature: code browser

2006-07-22 Thread Mattias Gaertner
On Sat, 22 Jul 2006 12:47:32 +0200 (CEST)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:

> 
> 
> On Sat, 22 Jul 2006, Mattias Gaertner wrote:
> 
> > On Sat, 22 Jul 2006 13:16:13 +0300
> > "George Birbilis" <[EMAIL PROTECTED]> wrote:
> > 
> > > > > and also
> > > > > working on another feature: there is 'find declaration' but 'find
> > > > > implementation' is missing...)
> > > >
> > > > Do you mean Ctrl+Shift+Up ?
> > > 
> > > Maybe they mean at some popup menu?
> > > BTW, Delphi7 doesn't have "find implementation" I think but only "find
> > > declaration" (quite annoying, don't suppose there's some magic key for
> > that
> > > at D7 too?)
> > 
> > They use the same shortcuts here.
> > 
> > find implementation has no menu item, because IMO no one would use it
via
> > the menu. I use the function more often than page up/down. For newbies
it is
> > mentioned in the tutorial and afaik at least one other place in the
wiki.
> > Experts looks up the keymapping.
> > On the one hand: there are never enough hints for a newbie. 
> > OTOH I don't want to fill the menus with functions, that only exists to
see
> > the shortcut. For example 'delete line' Ctrl-Y is the same case.
> > 
> > What do other people think? 
> > Where should we put the 'Lazarus IDE shortcut reference card'?
> 
> In the menu, obviously... ;-)

There are more than 300 shortcuts. Sub-sub-menus? ;)


Mattias

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


Re: [lazarus] Save error: unable to create stream Form1:TForm. Access violation

2006-07-22 Thread Mattias Gaertner
On Sat, 22 Jul 2006 12:35:58 +0200 (CEST)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:

> 
> 
> On Sat, 22 Jul 2006, Mattias Gaertner wrote:
> 
> >   // Delphi still cannot handle wide strings properly while streaming
> >   Filer.DefineProperty('WideDefaultText', @ReadText, @WriteText,
> > FDefaultText <> 'Node');
> >  
> > The FCL TWriter has a problem too: It refuses to write empty
widestrings.
> 
> This is not a 'problem' but a design decision: empty strings are never
written 
> to stream. Delphi also does not write empty strings to stream; it's to
save space.

That was maybe the idea. And it works well as default behaviour. 
But when you define a stored function, you want to fine tune, what is saved
and what not.
This 'design decision', if it was that, limits the possibilities without
gain and is inconsistent to other types.


Mattias

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


Re: [lazarus] Question of feature: code browser

2006-07-22 Thread Michael Van Canneyt


On Sat, 22 Jul 2006, Mattias Gaertner wrote:

> On Sat, 22 Jul 2006 13:16:13 +0300
> "George Birbilis" <[EMAIL PROTECTED]> wrote:
> 
> > > > and also
> > > > working on another feature: there is 'find declaration' but 'find
> > > > implementation' is missing...)
> > >
> > > Do you mean Ctrl+Shift+Up ?
> > 
> > Maybe they mean at some popup menu?
> > BTW, Delphi7 doesn't have "find implementation" I think but only "find
> > declaration" (quite annoying, don't suppose there's some magic key for
> that
> > at D7 too?)
> 
> They use the same shortcuts here.
> 
> find implementation has no menu item, because IMO no one would use it via
> the menu. I use the function more often than page up/down. For newbies it is
> mentioned in the tutorial and afaik at least one other place in the wiki.
> Experts looks up the keymapping.
> On the one hand: there are never enough hints for a newbie. 
> OTOH I don't want to fill the menus with functions, that only exists to see
> the shortcut. For example 'delete line' Ctrl-Y is the same case.
> 
> What do other people think? 
> Where should we put the 'Lazarus IDE shortcut reference card'?

In the menu, obviously... ;-)

Michael.

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


Re: [lazarus] Question of feature: code browser

2006-07-22 Thread Mattias Gaertner
On Sat, 22 Jul 2006 13:16:13 +0300
"George Birbilis" <[EMAIL PROTECTED]> wrote:

> > > and also
> > > working on another feature: there is 'find declaration' but 'find
> > > implementation' is missing...)
> >
> > Do you mean Ctrl+Shift+Up ?
> 
> Maybe they mean at some popup menu?
> BTW, Delphi7 doesn't have "find implementation" I think but only "find
> declaration" (quite annoying, don't suppose there's some magic key for
that
> at D7 too?)

They use the same shortcuts here.

find implementation has no menu item, because IMO no one would use it via
the menu. I use the function more often than page up/down. For newbies it is
mentioned in the tutorial and afaik at least one other place in the wiki.
Experts looks up the keymapping.
On the one hand: there are never enough hints for a newbie. 
OTOH I don't want to fill the menus with functions, that only exists to see
the shortcut. For example 'delete line' Ctrl-Y is the same case.

What do other people think? 
Where should we put the 'Lazarus IDE shortcut reference card'?


Mattias

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


Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread Darius Blaszijk
The "next generation" SynEdit component seems to be unisynedit 
(http://mh-nexus.de/unisynedit.htm). I have never used it though so I can't 
comment on how useable it is.


Darius

- Original Message - 
From: "George Birbilis" <[EMAIL PROTECTED]>

To: 
Sent: Saturday, July 22, 2006 12:10 PM
Subject: RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps 
problem)




> Not sure how to make a patch btw, is there some builtin tool at
> lazarus to make Diffs or similar? Or does one use
TortoiseCVS menu to do the Diff?

Yes, use TortoiseSVN diff tool.

Question about SynEdit: I know the lazarus version is a very
customized one from old source... Will it be replaced by a
newer version from the original project (i.e. does the
original project now support FPC compiler and lazarus)?


Can find links to latest SynEdit (2.x) at unihighlighter.com. It seems
there's a project called Mystix that also updated it to have Code Folding 
(I

know some people were asking about the Lazarus code folding). Also there's
updates to UniSynEdit (Unicode SynEdit) etc. Strangely enough, the
synedit.sf.net site has the old SynEdit only. Same goes for 
Unihighlighter,

the  http://www.delphist.com/UniHighlighter.html site has the old one (the
one Lazarus port used) and www.unihighlighter.com has the new one.

I haven't tried SynEdit 2.x and the new Unihighlighter yet, but sometime 
in
the future when I do, I'll see what it takes to port the to Lazarus 
(seeing

what changes had been done to old SynEdit to port it)


George Birbilis ([EMAIL PROTECTED])
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
* QuickTime, QTVR, ActiveX, VCL, .NET
http://www.kagi.com/birbilis
* Robotics
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup




 _

avast! Antivirus  : Outbound message clean.


Virus Database (VPS): 0629-2, 21/07/2006
Tested on: 22/7/2006 1:07:30 ??
avast! - copyright (c) 1988-2006 ALWIL Software.



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


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


Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread Michael Van Canneyt


On Sat, 22 Jul 2006, Mattias Gaertner wrote:

> On Sat, 22 Jul 2006 13:10:23 +0300
> "George Birbilis" <[EMAIL PROTECTED]> wrote:
> 
> > > > (i.e. does the original project now support FPC compiler
> > > and lazarus)
> > >
> > > The FPC compiler: Yes, of course
> > > Lazarus: I don't know.
> > 
> > Since it's a VCL control how can this be? Is there other VCL library for
> FPC
> > too?
> 
> VCL <> Delphi compiler.
> 
> I never tried, but I heard, FPC can compile the VCL and the CLX.

It can compile the CLX, except for some Midas stuff.
In fact, this is what allows projects such as CrossFPC to work...

Michael.

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


RE: Who is the PascalScript maintainer for lazarus?

2006-07-22 Thread Michael Van Canneyt


On Sat, 22 Jul 2006, George Birbilis wrote:

> > > It will only work for Intel 32-bit since it uses assembler
> > > instructions at some parts. BTW, I though FPC assembler isn't
> > > compatible with Delphi one,
> >
> > That's a wrong though ;) Almost all inline assembler written
> > for delphi works with fpc.
> 
> I'm sure I read that thing the other day:
> I think it's at http://www.freepascal.org/port.html, but maybe it meant the
> Turbo Pascal inline assembler statemets, not the Delphi ones? (I thought
> they were same or similar in Delphi, don't remember)
> 
> > > maybe Boguslaw fixed that code?
> > > Best thing would be to have compiler defines and rewrite those
> > > assembler instructions as normal Pascal code (would help porting to
> > > other CPUs)
> >
> > This is probably impossible, PS does a lot of dirty tricks
> > with subroutine calls etc.
> 
> I think Carlo said sometime ago on the ROPS newsgroup that assembler is used
> mostly for maintaining the call stack. In fact I don't think anything done
> using assembler can't be done with normal Pascal code (if necessery it can
> call into a unit of low-level primitives that will be implemend in
> assembler, but those primitives would be easily portable among various CPU
> architectures)

That is exactly what it does: there are 1 or 2 assembler routines, to create a
correct call stack. You can't do this in Pascal. These 2 routines would be the
only thing you need to port accross CPUs...

Michael.

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


Re: [lazarus] Save error: unable to create stream Form1:TForm. Access violation

2006-07-22 Thread Michael Van Canneyt


On Sat, 22 Jul 2006, Mattias Gaertner wrote:

>   // Delphi still cannot handle wide strings properly while streaming
>   Filer.DefineProperty('WideDefaultText', @ReadText, @WriteText,
> FDefaultText <> 'Node');
>  
> The FCL TWriter has a problem too: It refuses to write empty widestrings.

This is not a 'problem' but a design decision: empty strings are never written 
to stream. Delphi also does not write empty strings to stream; it's to save 
space.

Michael.

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


Re: [lazarus] Question of feature: code browser

2006-07-22 Thread Burkhard Carstens
Am Samstag, 22. Juli 2006 12:16 schrieb George Birbilis:
> > > and also
> > > working on another feature: there is 'find declaration' but 'find
> > > implementation' is missing...)
> >
> > Do you mean Ctrl+Shift+Up ?
>
> Maybe they mean at some popup menu?
> BTW, Delphi7 doesn't have "find implementation" I think but only
> "find declaration" (quite annoying, don't suppose there's some magic
> key for that at D7 too?)

Ctrl+Shift+Up / Ctrl+Shift+Down ?

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


[lazarus] Rx Components

2006-07-22 Thread Nataraj S Narayan

Hi

I dont see any RX compos in the pallette even after installion
from  /root/lazarus/components/rx/rx.lpk.

I want the RxDBLookupCombo to work in Lazarus. Is it already there?

I use fpc-2.1.1 , lazarus 0.9.17 beta SVN  revision 9661.

regards

Nataraj
begin:vcard
fn:http://www.gsis.ac.in
n:S Narayan;Nataraj
org:Good Shepherd International School;Software
adr:Niligiris, ;;M.Palada;Ootacamund;TN;643004;INDIA
email;internet:[EMAIL PROTECTED]
title:Project Coordinator
tel;work:0423 2550371 - 307
x-mozilla-html:TRUE
url:http://www.gsis.ac.in
version:2.1
end:vcard



Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread Mattias Gaertner
On Sat, 22 Jul 2006 13:10:23 +0300
"George Birbilis" <[EMAIL PROTECTED]> wrote:

> > > (i.e. does the original project now support FPC compiler
> > and lazarus)
> >
> > The FPC compiler: Yes, of course
> > Lazarus: I don't know.
> 
> Since it's a VCL control how can this be? Is there other VCL library for
FPC
> too?

VCL <> Delphi compiler.

I never tried, but I heard, FPC can compile the VCL and the CLX.

Mattias


> 
> 
> George Birbilis ([EMAIL PROTECTED])
> Microsoft MVP J# for 2004-2006
> Borland "Spirit of Delphi"
> * QuickTime, QTVR, ActiveX, VCL, .NET
> http://www.kagi.com/birbilis
> * Robotics
> http://www.mech.upatras.gr/~Robotics
> http://www.mech.upatras.gr/~robgroup
> 
> 
> 
> 
> 
> 
>   _  
> 
> avast! Antivirus  : Outbound message clean. 
> 
> 
> Virus Database (VPS): 0629-2, 21/07/2006
> Tested on: 22/7/2006 1:10:22 ??
> avast! - copyright (c) 1988-2006 ALWIL Software.
> 
> 
> 
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives

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


RE: [lazarus] Question of feature: code browser

2006-07-22 Thread George Birbilis
> > and also
> > working on another feature: there is 'find declaration' but 'find
> > implementation' is missing...)
>
> Do you mean Ctrl+Shift+Up ?

Maybe they mean at some popup menu?
BTW, Delphi7 doesn't have "find implementation" I think but only "find
declaration" (quite annoying, don't suppose there's some magic key for that
at D7 too?)


George Birbilis ([EMAIL PROTECTED])
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
* QuickTime, QTVR, ActiveX, VCL, .NET
http://www.kagi.com/birbilis
* Robotics
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup




  _  

avast! Antivirus  : Outbound message clean. 


Virus Database (VPS): 0629-2, 21/07/2006
Tested on: 22/7/2006 1:15:39 ??
avast! - copyright (c) 1988-2006 ALWIL Software.



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


RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread George Birbilis
> > (i.e. does the original project now support FPC compiler
> and lazarus)
>
> The FPC compiler: Yes, of course
> Lazarus: I don't know.

Since it's a VCL control how can this be? Is there other VCL library for FPC
too?


George Birbilis ([EMAIL PROTECTED])
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
* QuickTime, QTVR, ActiveX, VCL, .NET
http://www.kagi.com/birbilis
* Robotics
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup






  _  

avast! Antivirus  : Outbound message clean. 


Virus Database (VPS): 0629-2, 21/07/2006
Tested on: 22/7/2006 1:10:22 ??
avast! - copyright (c) 1988-2006 ALWIL Software.



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


RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread George Birbilis
> > Not sure how to make a patch btw, is there some builtin tool at
> > lazarus to make Diffs or similar? Or does one use
> TortoiseCVS menu to do the Diff?
>
> Yes, use TortoiseSVN diff tool.
>
> Question about SynEdit: I know the lazarus version is a very
> customized one from old source... Will it be replaced by a
> newer version from the original project (i.e. does the
> original project now support FPC compiler and lazarus)?

Can find links to latest SynEdit (2.x) at unihighlighter.com. It seems
there's a project called Mystix that also updated it to have Code Folding (I
know some people were asking about the Lazarus code folding). Also there's
updates to UniSynEdit (Unicode SynEdit) etc. Strangely enough, the
synedit.sf.net site has the old SynEdit only. Same goes for Unihighlighter,
the  http://www.delphist.com/UniHighlighter.html site has the old one (the
one Lazarus port used) and www.unihighlighter.com has the new one.

I haven't tried SynEdit 2.x and the new Unihighlighter yet, but sometime in
the future when I do, I'll see what it takes to port the to Lazarus (seeing
what changes had been done to old SynEdit to port it)


George Birbilis ([EMAIL PROTECTED])
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
* QuickTime, QTVR, ActiveX, VCL, .NET
http://www.kagi.com/birbilis
* Robotics
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup




  _  

avast! Antivirus  : Outbound message clean. 


Virus Database (VPS): 0629-2, 21/07/2006
Tested on: 22/7/2006 1:07:30 ??
avast! - copyright (c) 1988-2006 ALWIL Software.



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


RE: Who is the PascalScript maintainer for lazarus?

2006-07-22 Thread George Birbilis
> > It will only work for Intel 32-bit since it uses assembler
> > instructions at some parts. BTW, I though FPC assembler isn't
> > compatible with Delphi one,
>
> That's a wrong though ;) Almost all inline assembler written
> for delphi works with fpc.

I'm sure I read that thing the other day:
I think it's at http://www.freepascal.org/port.html, but maybe it meant the
Turbo Pascal inline assembler statemets, not the Delphi ones? (I thought
they were same or similar in Delphi, don't remember)

> > maybe Boguslaw fixed that code?
> > Best thing would be to have compiler defines and rewrite those
> > assembler instructions as normal Pascal code (would help porting to
> > other CPUs)
>
> This is probably impossible, PS does a lot of dirty tricks
> with subroutine calls etc.

I think Carlo said sometime ago on the ROPS newsgroup that assembler is used
mostly for maintaining the call stack. In fact I don't think anything done
using assembler can't be done with normal Pascal code (if necessery it can
call into a unit of low-level primitives that will be implemend in
assembler, but those primitives would be easily portable among various CPU
architectures)


George Birbilis ([EMAIL PROTECTED])
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
* QuickTime, QTVR, ActiveX, VCL, .NET
http://www.kagi.com/birbilis
* Robotics
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup




  _  

avast! Antivirus  : Outbound message clean. 


Virus Database (VPS): 0629-2, 21/07/2006
Tested on: 22/7/2006 12:54:31 ??
avast! - copyright (c) 1988-2006 ALWIL Software.



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


Re: [lazarus] IDE: Menu Items trailing ellipsis

2006-07-22 Thread Mattias Gaertner
On Mon, 08 May 2006 11:20:58 +0200
Micha Nelissen <[EMAIL PROTECTED]> wrote:

> Mattias Gaertner wrote:
> > If I understand correct, you propose to rename all menu item captions,
which
> > show a modal dialog.
> > I know, that some applications like OO do that.
> > What do others think about this?
> > Should we add the '...' or remove them?
> 
> I vote for adding it for modal dialogs.
> 
> > What about the translations?
> > Can the '...' be added in all languages so we can simply write
> >   AMenuItem.Caption:=lisOpen+' ...';
> > Or is it better to change the resource strings and let the translators
> > decide?
> 
> I don't mind much, dunno whether other languages have different needs. 
> Including in the resource string is most flexible for them. RTL 
> languages may need it at the start for example ?

Done.

Mattias

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


Re: [lazarus] Save error: unable to create stream Form1:TForm. Access violation

2006-07-22 Thread Mattias Gaertner
On Fri, 21 Jul 2006 09:05:16 -0400
"Alexandre Leclerc" <[EMAIL PROTECTED]> wrote:

> 2006/7/21, Mattias Gaertner <[EMAIL PROTECTED]>:
> > On Wed, 19 Jul 2006 18:58:39 -0400
> > "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote:
> >
> > > 2006/7/19, Mattias Gaertner <[EMAIL PROTECTED]>:
> > > > Can you create a backtrace?
> > >
> > > Program received signal SIGSEGV, Segmentation fault.
> > > $0040319a in SYSTEM_ALIGNEDFWDMOVESSE_3$formal$formal$SMALLINT ()
> > > (gdb) backtrace
> > > #0  $0040319a in SYSTEM_ALIGNEDFWDMOVESSE_3$formal$formal$SMALLINT ()
> > > #1  $00403283 in SYSTEM_FORWARDS_SSE_3 ()
> > > #2  $000901a0 in ?? ()
> > > #3  $04048438 in ?? ()
> > > #4  $05f70030 in ?? ()
> > > #5  $000480d8 in ?? ()
> > > #6  $00409bf7 in fpc_widestr_setlength ()
> > > #7  $0006f34c in ?? ()
> > > #8  $ in ?? () from
> > > #9  $0006f34c in ?? ()
> > > #10 $050d2e10 in ?? ()
> > > #11 $0006fa48 in ?? ()
> > > #12 $0051be00 in TLRSOBJECTWRITER__WRITE (BUFFER={formal} $404842c,
> > > COUNT=86472224, this=$51bf4c) at LResources.pp:3419
> > > #13 $0051c9ef in TLRSOBJECTWRITER__WRITEWIDESTRING (VALUE=$404842c,
> > > this=$5277620) at LResources.pp:3762

Maybe I found the bug. Please test.

Mattias



> >
> > Does length(ws) return the right value? That means the number of
characters
> > (bytes div 2)?
> 
> Is there a simple way to get that information with gdb in command line
> running lazarus? (Because I do not feel like rebuilding again with a
> break point, etc.)
> 
> doing 'break WriteWideStringContent' or
> TLRSObjectWriter.WriteWideStringContent does not work. I'm still
> learning to work with comand line gdb.
> 

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


Re: [lazarus] Save error: unable to create stream Form1:TForm. Access violation

2006-07-22 Thread Mattias Gaertner
On Fri, 21 Jul 2006 11:47:07 -0400
"Alexandre Leclerc" <[EMAIL PROTECTED]> wrote:

> 2006/7/21, Mattias Gaertner <[EMAIL PROTECTED]>:
> > Does length(ws) return the right value? That means the number of
characters
> > (bytes div 2)?
> 
> Mattias,
> 
> I found that all the saving bugs are again related to object that have
> widestring properties (like DefaultText)... many of them. And this was
> also causing data coruption (which I understand now).
> 
> Is there anything / patch related to widestring text for object
properties?

See the comment in virtualtreeview:

procedure TCustomVirtualStringTree.DefineProperties(Filer: TFiler);
  // Delphi still cannot handle wide strings properly while streaming
  Filer.DefineProperty('WideDefaultText', @ReadText, @WriteText,
FDefaultText <> 'Node');
 
The FCL TWriter has a problem too: It refuses to write empty widestrings.
AFAIK only virtualtreeview uses this to write widestrings, so maybe it has a
unique bug. Therefore I added examples/widestringstreaming/.
Please test.


Mattias

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


Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread Mattias Gaertner
On Fri, 21 Jul 2006 20:21:57 -0400
"Alexandre Leclerc" <[EMAIL PROTECTED]> wrote:

> 2006/7/21, George Birbilis <[EMAIL PROTECTED]>:
> > Not sure how to make a patch btw, is there some builtin tool at lazarus
to
> > make Diffs or similar? Or does one use TortoiseCVS menu to do the Diff?
> 
> Yes, use TortoiseSVN diff tool.
> 
> Question about SynEdit: I know the lazarus version is a very
> customized one from old source... Will it be replaced by a newer
> version from the original project?

Yes, eventually. 


> (i.e. does the original project now support FPC compiler and lazarus)

The FPC compiler: Yes, of course
Lazarus: I don't know.


Mattias

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


Re: [lazarus] Lazarus FPC svn development or stable?

2006-07-22 Thread Florian Klaempfl
Nataraj S Narayan wrote:
> Hi
> 
> The following means i am using fpc 2.1.1 ?
> 
> Just today I have got a decently working Form using TMySQL41Connection
> and TSQLQuery and DBGrid. I dont want to disturb this until I finish off
> this app. Should I keep updating the SVN?

Write down the svn revision which worked for you. You can always do
svn update -r 
to go back to this revision.

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


Re: Who is the PascalScript maintainer for lazarus?

2006-07-22 Thread Florian Klaempfl
George Birbilis wrote:
> 
> It will only work for Intel 32-bit since it uses assembler instructions at
> some parts. BTW, I though FPC assembler isn't compatible with Delphi one,

That's a wrong though ;) Almost all inline assembler written for delphi
works with fpc.

> maybe Boguslaw fixed that code?
> Best thing would be to have compiler defines and rewrite those assembler
> instructions as normal Pascal code (would help porting to other CPUs)

This is probably impossible, PS does a lot of dirty tricks with
subroutine calls etc.

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