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

2008-01-16 Thread Graeme Geldenhuys
On 16/01/2008, Christian U. [EMAIL PROTECTED] wrote:
 
  How difficult can it be to run strip?
 
 How difficult can it be to read the complete thread ???

This is how I understand it  LCL is built with debug inforation.
You executable uses LCL and is also set to include debug information
by default.  This equals a huge executable.  That is what you want
while developing.  When you create a release version of you product,
you run strip agains the executable.  It removes ALL debug
information, even those carried over from LCL!  You end up with a
executable the same size as if you compiled your executable with LCL
without debug information.

If I didn't understand this correct, I apologize in advance.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


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

2008-01-16 Thread Bogusław Brandys

Lance Collins wrote:

Damien Gerard wrote:


Normal users read the documentation because you cannot play a game
without knowing the rules. They already know how to use Delphi when
they were a little baby ? ^^) and some modifications are necessary.
 As far I know this is planned for Lazarus =1.0, in order to make a
consistent patch (Old thread - Should be confirmed by a Lazarus team
member, I speak for myself here). Waiting for that, the provided
documentation is really enough for any programmer and I would add :
RTFM :)


I would like to Read The Fine Manual but it's Read The Scattered Framents.
I've been programming since 1965 and written in Delphi since D2.   For 
the last two weeks I've been reading all I can and have written two 
simple test programs in Lazarus.
But I'm baffled trying to convert my main application   It compiles but 
won't link (so I don't have a big compiled EXE).


I think I've screwed the environment/compiler etc. options somehow and I 
can't find helpful explanations for each choice.  For example in the IDE 
I see all my 50+ units listed across the top of the screen but 
Control/F12 pops up only two entries (lclclasses and my lpr file).


Once I figure out what to do I'm sure the provided documentation will be 
become clear.


Lance



Please start separate thread.One tip : look for resource files included 
in project,some could be incompatible.I found the same behaviour with 
corrupted resource file.


Boguslaw



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


Re: [lazarus] New Docked IDE

2008-01-16 Thread Fabio Dell'Aria
Hi,

2008/1/15, Paul Ishenin [EMAIL PROTECTED]:

 Fabio Dell'Aria wrote:
  I think my last email was loose (big attachment).
 
  What do you think of my current (on beta testing) new docked IDE?
 
  See it here:
  http://www.eurekalog.com/DockIDE.png
  http://www.eurekalog.com/DockIDE.png
 Looks good, but I see you implementing your own classes instead of
 compliting existing. Please look at LDockTree unit. DockSites already
 can draw their header and splitter is inserted between controls. We'll
 benifit all if we complete common classes insted of create our own.
 Currently Marius, Mattias and me working on docking in existing lcl
 units: LDockTree.pas, dockmanager.inc.

 Best regards,
 Paul Ishenin.


I'll try to do this.

PS: thank you to have definitely fixed then Win32 docking interface bug,
also if little others (but not interface specified by only LCL related) are
still presents.




-- 
Best regards...

Fabio Dell'Aria.


[lazarus] Sound in Lazarus applications

2008-01-16 Thread Adrian Maier
Hello ,

Did anyone integrate sound capabilities into a Lazarus application ?
(in a cross-platform way  :-D  )

I'm thinking about having the ability to play sounds when certain
certain actions are
done by the user or when to play back  work complete after a long
running task
finishes.


Cheers,
Adrian Maier

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


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

2008-01-16 Thread Joost van der Sluis

Don't get me wrong, but some discussions are useless and do more harm
than good for the Lazarus. project imho. This is one of hem. Normally I
would simply not answer. But this takes too long imho, and too much time
which can be spend much better.

Op dinsdag 15-01-2008 om 13:10 uur [tijdzone -0500], schreef Lee
Jenkins:
  Do you really think, Lazarus should only exist to develop Lazarus? For 
  creating a successful and strong development tool (which is the goal 
  of the whole project AFAIK) you need not only contributors but users 
  as well...
  
  Why needs Lazarus users that contribute nothing?
  
  Vincent
  
 
 Vincent, I think not all users will contribute, maybe the majority of them 
 will 
 not, but they help the project nonetheless, IMO.

Those who will leave the project because of large exe-size, we don't
need.

 1. Some that do not contribute a lot will still spread the word of Lazarus, 
 especially if their experiences with Lazarus are good ones.

Those who will leave the project because of large exe-size, can only
spread fuzz. They will always find something to pick about. They can't
be serious.

 2. Some *will* contribute a little, a few may contribute a lot in various 
 ways 
 (documentation/testing if not actual code contributions).  I believe the Law 
 of 
 Averages is simply in control as far as this goes.  As the user based 
 increases 
 so will the contributions, bug reports, documentation, etc.  Maybe its like 
 panning for gold!

Those who will leave the project because of large exe-size, will only
scare people away. Especially real developers, who get tired of
discussions like this. They don't like it if they feel like they have to
take care of some newbies that will never develop theirselves furhter.

 Thanks for your hard work, Vincent (and other Lazarus developers).  Your work 
 does not go unappreciated :)

Each second that people like Vinvent spend on this, is lost time.
Offcourse we need to support the community. And Vincent is doing a great
deal in that way. That's probably the reason that he responded on this
thread, while the other lazarus-developers mostly did not. But this
takes too long, it will not take the project any further.

Joost

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


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

2008-01-16 Thread Marc Weustink

Christian U. wrote:

Marc Weustink schrieb:

Cesar Liws Gmail wrote:

I Agree with you Fabio, and also it can be implemented in Lazarus:

 


1)  Debug Path – LCL with Debug info

2)  Release Path – LCL WITHOUT Debug Info



What if I want other options in my release ?
Assertions on/off or Rangechecking on/off ?

what has this todo with the lcl debugionfo ?



When Im writing my software I do not want to debug Lazarus, so why 
should I include 10MB of LCL debug Info in my .EXE?


Then when you release, run strip
NO its not possible to debug then anymore. i think this is sayed 10 
times in this thread.
This thread is about stripping the debuginfos from LCL not from the user 
units.


See it as part of your release. Lazarus won't zip the exe for you 
neither. It wont make an installer. ect. etc.

So see it as part of a release process.
Its good to habe debuginfos in an release also for stack traces on 
exceptions and so on but no need for lcl debuginfo in an release exe...


_
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] Simulate ALT+KEY to open a menu

2008-01-16 Thread Fabio Dell'Aria
Hi,

2008/1/15, Roberto Padovani [EMAIL PROTECTED]:

 why don't you call the method FormKeyDown yourself?
 ...
 begin
 ...
   self.FormKeyDown(self, 65,[ssAlt]);
 
 end;


I do not find this method.

R#


 2008/1/15, Fabio Dell'Aria [EMAIL PROTECTED]:
  Hi,
 
  2008/1/15, Lee Jenkins [EMAIL PROTECTED]:
   Fabio Dell'Aria wrote:
Hi to all,
   
how I can simulate the ALT+E key-press command on a specified
 TForm
for open its Edit menu?
   
  
   Fabio, can you try:
  
   1. Set TMyForm.KeyPreview := true
  
   2. OnKeyDown Event Code:
  
   procedure TMyForm.FormKeyDown( Sender: TObject; var Key: Word;
  Shift: TShiftState) ;
   begin
  if (ssAlt in Shift) and (key = 65) then
AMenuItem.Click;
  
  // or...
  // if (ssAlt in Shift) and (lowercase(Chr(key)) = 'e') then
   end;
  
   I don't do that kind of key capture much so there may be a better way
 to
  test
   for upper or lowercase 'e';
 
  Not always this keys open a menu, other times do others.
 
  So I cannot call directly the MenuItem.Click method.
 
  I need to simply simulate a keypress. How I can do this?
 
   --
   Warm Regards,
  
   Lee
  
   The only thing that kept me out college...was high school.
  
  
  _
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at
  http://www.lazarus.freepascal.org/mailarchives
  
 
 
 
  --
  Best regards...
 
  Fabio Dell'Aria.

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




-- 
Best regards...

Fabio Dell'Aria.


[lazarus] Lazarus not start

2008-01-16 Thread Guadagnini David
After build last SVN (13776) Lazarus does not start, or starts to load 
and then closes


Any idea?
begin:vcard
fn:David Guadagnini
n:Guadagnini;David
org:Biotecnica Instruments S.p.A.;RD
adr:;;Via Licenza 18;Roma;RM;00133;Italy
email;internet:[EMAIL PROTECTED]
title:Software architet
tel;work:+39064112616
x-mozilla-html:FALSE
version:2.1
end:vcard



Re: [lazarus] Lazarus not start

2008-01-16 Thread Guadagnini David



What OS ?


Sorry on Windows XP professional

begin:vcard
fn:David Guadagnini
n:Guadagnini;David
org:Biotecnica Instruments S.p.A.;RD
adr:;;Via Licenza 18;Roma;RM;00133;Italy
email;internet:[EMAIL PROTECTED]
title:Software architet
tel;work:+39064112616
x-mozilla-html:FALSE
version:2.1
end:vcard



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

2008-01-16 Thread Joost van der Sluis
Op woensdag 16-01-2008 om 09:54 uur [tijdzone +0100], schreef Joost van
der Sluis:
 Don't get me wrong, but some discussions are useless and do more harm
 than good for the Lazarus. project imho. This is one of hem. Normally
 I
 would simply not answer. But this takes too long imho, and too much
 time
 which can be spend much better.

Some more information. 

When people try to use Lazarus for the first time. They write 'hello
world', compile, run. Add a breakpoint, compile, run. If debugging then
doesn't work, they'll toss Lazarus away. If they see lines with
hexadecimal numbers, they'll start googling or complaining.

Next step is that they compile one of their 'old, rusty' delphi/pascal
programs. To see if that still works. 

That are the things we need to think about while developing Lazarus.

The binary size - no one is interested in that. Only people who are
coming from Delphi. And that's because the Delphi compiler is written in
an time in which executable size was important! You only had 2400 baud
modems, and your harddisk had 20MB of storage space! That's the reason
why Delphi has all those tricks to keep files as small as possible, even
while you're developing. Nowadays no-one really cares. Unless you are
obsessed with comparing every detail of FPC/Lazarus with Delphi.

About the compilation time, some people argue that that would be faster
if the binary size (or the size of the .o files) is smaller. Well,
hurray! Compilation time drops from 1.2 seconds to 1.198 seconds That's
0.02 seconds faster! Fast, submit it to slashdot! That will learn those
C-users to bash pascal!

Same holds for executable-loading times. (According to the benchmarks
fpc is one of the fastes compilers in this aspect)

A thing which does matter, if the amount of memory the application uses
while running. I'm still annoyed by the fact that the 'clock' in the
corner of my screen consumes 5MB of internal memory, just to show the
time. And then I didn't count the python-runtime which is loaded to use
it. GNOME (Fedora) can take up to hundred or even more MB of memmory,
just to show some widgets. That annoys me. So I'm happy with Lazarus
which only needs twice the amount of internal memory then a stupid,
simple, clock.

I doubt that any non-Delphi user will ever make an issue about the
file-size. Until they want to distribute their applications, in which
case they'll have no problems with the strip option.

Offcourse, the core-developers could spend some time on an option to
strip the debug info from the LCL, but not of the whole application. But
it's importance is the same a typo on the about screen.

While the effort needed to implement it, is comparable to implementing
the basics of a out-of-the-box CGI-web system. (Or some steps further in
the development of the internal debugger)

I'm really happy with the Lazarus developers, who would spend their time
on the CGI-functionality, instead of useless functionality like typo's
and lcl-debuginfo-strip-options.

That's also the reason why Lazarus has become what it is, and the amount
of users is growing that fast: The project is driven by a team of
excellent developers, who know where they should spend their time on. 

The same holds, for example, for the iconset. I'm pretty pleased that
the core people didn't spend much time on it. And I'm pretty pleased
with Laurent and others, who have picked this up and made many patches
with new and improved Icons. They didn't start long threads on the
mailinglist to ask others to code a solution for their - from a
core-developer view - unimportant options. No they started long threads
with all sort of self-made Icons, compared them, and chooses the best of
them. Resulting in a far better looking Lazarus in just a couple of
months.

From time to time this threads pops up. Just like the 'icon' threads did
in the past. Now take your responsibility: if you are annoyed by the
fact of the big-binaries, you have to supply patches for that. If you
think that it's a big issue which we all have been waiting for you
would start spending time on it, to make that patch. Even if it would
take you months, you would do it. If not, it's not a big enough issue to
spend time on. And especially not to spend others time on, writing long
mails to the mailing list. ;)

Joost.

ps: Main idea of the message above isn't even debatable. So in case
you're already writing a long answer: stop that, I won't even read. And
certainly not answer.

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


[lazarus] ToDo List not working in IDE

2008-01-16 Thread Graeme Geldenhuys
Hi,

Is anybody currently busy working on the ToDo List feature in the IDE?
It's not currently working (v0.9.25 r13293M i386-linux-gtk) - no items
get displayed and sometimes even crashes the IDE (no error message
output - a direct terminate to the command prompt).

The last time I checked it, about 2 or so months ago, it was working.
I'll try and get a svn update and try again (this morning I couldn't
connect to svn repository).

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


Re: [lazarus] Lazarus not start

2008-01-16 Thread Damien Gerard


On Jan 16, 2008, at 10:40 AM, Guadagnini David wrote:

After build last SVN (13776) Lazarus does not start, or starts to  
load and then closes




What OS ?


Any idea?


Works well under Ubuntu 2.2.0.



sw_dept.vcf




--
Damien Gerard
[EMAIL PROTECTED]

Le temps n'a pas d'importance. Seul le code est important
   -- (f00ty)




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


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

2008-01-16 Thread Marc Weustink

Christian U. wrote:

Marc Weustink schrieb:

Cesar Liws Gmail wrote:

I Agree with you Fabio, and also it can be implemented in Lazarus:

 


1)  Debug Path – LCL with Debug info

2)  Release Path – LCL WITHOUT Debug Info



What if I want other options in my release ?
Assertions on/off or Rangechecking on/off ?

what has this todo with the lcl debugionfo ?


It has all to do with what kind of info/settings you want in your 
release build. There is more than debug info only



When Im writing my software I do not want to debug Lazarus, so why 
should I include 10MB of LCL debug Info in my .EXE?


Then when you release, run strip
NO its not possible to debug then anymore. i think this is sayed 10 
times in this thread.


Yes, however after a release, your not developing on that release 
anymore. Your users are using it and don't need to debug. The unstripped 
version you keep to yourself, so you can debug yourself.


This thread is about stripping the debuginfos from LCL not from the user 
units.


So the lcl needs to be compiles with some option. What has that to do 
with project settings ? Nothing.
It's how the lcl should be build once. IIRC this discussion started 
about that.

I agree that it would be a nice option to be able to choose between
  LCL  with/without debuginfo
  FCL  with/without debuginfo
  RTL  with/without debuginfo

OTOH, a debugger being able to use external symbols would solve it too.

See it as part of your release. Lazarus won't zip the exe for you 
neither. It wont make an installer. ect. etc.

So see it as part of a release process.
Its good to habe debuginfos in an release also for stack traces on 
exceptions and so on but no need for lcl debuginfo in an release exe...


You need them too if some error happens in the LCL (the LCL is not 
bugfree you know ?)


Marc



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


Re: [lazarus] Lazarus not start

2008-01-16 Thread Guadagnini David



Using what fpc version?


2.2.1

begin:vcard
fn:David Guadagnini
n:Guadagnini;David
org:Biotecnica Instruments S.p.A.;RD
adr:;;Via Licenza 18;Roma;RM;00133;Italy
email;internet:[EMAIL PROTECTED]
title:Software architet
tel;work:+39064112616
x-mozilla-html:FALSE
version:2.1
end:vcard



Re: [lazarus] Lazarus not start

2008-01-16 Thread Guadagnini David


I took the last snapshot (which is the rev 13776 according to the 
About box) and it works perfectly (win32 widgetset ISO*** and 
recompiled with UTF8).

May be you should do a make clean all.

Thank with make clean all work
begin:vcard
fn:David Guadagnini
n:Guadagnini;David
org:Biotecnica Instruments S.p.A.;RD
adr:;;Via Licenza 18;Roma;RM;00133;Italy
email;internet:[EMAIL PROTECTED]
title:Software architet
tel;work:+39064112616
x-mozilla-html:FALSE
version:2.1
end:vcard



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

2008-01-16 Thread Fabio Dell'Aria
Hi to all,

2008/1/16, Joost van der Sluis [EMAIL PROTECTED]:

 No I am answering - to myself even:

 Op woensdag 16-01-2008 om 11:18 uur [tijdzone +0100], schreef Joost van
 der Sluis:
  A thing which does matter, if the amount of memory the application uses
  while running. I'm still annoyed by the fact that the 'clock' in the
  corner of my screen consumes 5MB of internal memory, just to show the
  time. And then I didn't count the python-runtime which is loaded to use
  it. GNOME (Fedora) can take up to hundred or even more MB of memmory,
  just to show some widgets. That annoys me. So I'm happy with Lazarus
  which only needs twice the amount of internal memory then a stupid,
  simple, clock.

 Thus, being a good Open-Source developer, I should write my own clock,
 or stop complaining about it. ;) Broke my own rule ;) (As a Defense,
 I did writ my own clock, but didn't finished it, so it wasn't annoying
 enough)

  From time to time this threads pops up. Just like the 'icon' threads
 did
  in the past. Now take your responsibility: if you are annoyed by the
  fact of the big-binaries, you have to supply patches for that. If you
  think that it's a big issue which we all have been waiting for you
  would start spending time on it, to make that patch. Even if it would
  take you months, you would do it. If not, it's not a big enough issue to
  spend time on. And especially not to spend others time on, writing long
  mails to the mailing list. ;)

 As Fabio (and others) does now with the docking-system. Seems like that
 the lack of this feature is more annoying than the binary size. So let's
 concentrate on that and keep up the good work!

 Joost.

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



OK guys now I OFFICIALLY close this very long, long thread! :)

See you later! ;)

-- 
Best regards...

Fabio Dell'Aria.


Re: [lazarus] Lazarus not start

2008-01-16 Thread Vincent Snijders

Guadagnini David schreef:



What OS ?


Sorry on Windows XP professional



Using what fpc version?

Vincent

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


Re: [lazarus] Lazarus not start

2008-01-16 Thread Damien Gerard


On Jan 16, 2008, at 10:59 AM, Guadagnini David wrote:




What OS ?


Sorry on Windows XP
professional



I took the last snapshot (which is the rev 13776 according to the  
About box) and it works perfectly (win32 widgetset ISO*** and  
recompiled with UTF8).

May be you should do a make clean all.


--
Damien Gerard
[EMAIL PROTECTED]

Le temps n'a pas d'importance. Seul le code est important
   -- (f00ty)




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


[lazarus] French translation (suite)

2008-01-16 Thread Damien Gerard

For Laurent ([EMAIL PROTECTED]) :

Here are some suggestions.

About box :
* Lazarus est un IDE pour créer des applications (graphique et  
console ) [...]
* Lazarus est un IDE pour créer des applications (graphiques et  
consoles) [...]

 ^   ^^
* Free Pascal est un compilateur (L)GPL'ed Pascal [...]
  ^^??

In fact all the sentence is nonsense.
May be it should be :
* Free Pascal est un compilateur (L)GPL' pour Pascal et Pascal Objet,  
qui fonctionne sous Windows, Linux, Mac OS X, FreeBSD et d'autres.



The following means nothing
* Lazarus est la partie absente du puzzle cela permettra de [...]
Here is an idea
* Lazarus est une pièce maitresse pour le développement d'applications  
multi-plateformes. A l'image de Delphi (uniquement sous Windows) cet  
EDI (Environnement de développement intégré ou IDE en anglais) est un  
outil de Développement rapide d'applications (ou RAD an anglais).



Some suggestions from others users
In environment options (form editor) :
 * Créer auto. la fiche en ouvrant l'unité
 * Créer la fiche automatiquement en ouvrant l'unité

In Appellation :
 * Action sur fichier litigieux:
 * Action sur fichier litigieux
   ^
 * ne pas renommer automatiquement
 * Ne pas [...]
   ^


LazDoc

* paramètres LazDoc
* Paramètres Lazdoc
  ^


Options for the editor / Général:

* indentation bloc
* Indentation bloc
  ^

Options for the editor / Affichage

* Taille de la fonte d'éditeur
* Taille de la police de l'éditeur

Options for the editor / Assignation des touches
When you click on Vérifier la cohérence :
* Pas d'erreurs trouvées dans l'assignation de touches
* Pas d'erreurs trouvées dans l'assignation des touches
  ^

Options for the editor / Couleurs

* Arrangement de couleur
* Profils des couleurs

* Extension de fichier
* Extensions de fichier
   ^


In fact I think I will stop here for now :)
May be I should make a patch for the PO file ?


--
Damien Gerard
[EMAIL PROTECTED]

Le temps n'a pas d'importance. Seul le code est important
   -- (f00ty)




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


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

2008-01-16 Thread Joost van der Sluis
No I am answering - to myself even:

Op woensdag 16-01-2008 om 11:18 uur [tijdzone +0100], schreef Joost van
der Sluis:
 A thing which does matter, if the amount of memory the application uses
 while running. I'm still annoyed by the fact that the 'clock' in the
 corner of my screen consumes 5MB of internal memory, just to show the
 time. And then I didn't count the python-runtime which is loaded to use
 it. GNOME (Fedora) can take up to hundred or even more MB of memmory,
 just to show some widgets. That annoys me. So I'm happy with Lazarus
 which only needs twice the amount of internal memory then a stupid,
 simple, clock.

Thus, being a good Open-Source developer, I should write my own clock,
or stop complaining about it. ;) Broke my own rule ;) (As a Defense,
I did writ my own clock, but didn't finished it, so it wasn't annoying
enough)

 From time to time this threads pops up. Just like the 'icon' threads did
 in the past. Now take your responsibility: if you are annoyed by the
 fact of the big-binaries, you have to supply patches for that. If you
 think that it's a big issue which we all have been waiting for you
 would start spending time on it, to make that patch. Even if it would
 take you months, you would do it. If not, it's not a big enough issue to
 spend time on. And especially not to spend others time on, writing long
 mails to the mailing list. ;)

As Fabio (and others) does now with the docking-system. Seems like that
the lack of this feature is more annoying than the binary size. So let's
concentrate on that and keep up the good work! 

Joost.

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


Re: [lazarus] ToDo List not working in IDE

2008-01-16 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys [EMAIL PROTECTED]:

 Hi,

 Is anybody currently busy working on the ToDo List feature in the IDE?
 It's not currently working (v0.9.25 r13293M i386-linux-gtk) - no items
 get displayed and sometimes even crashes the IDE (no error message
 output - a direct terminate to the command prompt).

 The last time I checked it, about 2 or so months ago, it was working.
 I'll try and get a svn update and try again (this morning I couldn't
 connect to svn repository).

It works here, but the scope has changed. See

http://wiki.lazarus.freepascal.org/IDE_Window:_ToDo_List

I know the gtk toolbar bug, but the crash is new to me. I do not use the todo
list much, so probably that's the reasons why I didn't know it. Maybe you can
provide some test cases.


Mattias

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


[lazarus] TimeCallBack under Win32

2008-01-16 Thread Damien Gerard


I have with my GDB the following :

Program received signal SIGSEGV, Segmentation fault.
0x00434823 in TLIST__GETCOUNT () at lists.inc:368
368 lists.inc: No such file or directory.
in lists.inc
Current language:  auto; currently pascal
(gdb) bt
#0  0x00434823 in TLIST__GETCOUNT () at lists.inc:368
#1  0x004ffa20 in TIMERCALLBACKPROC (WINDOW_HWND=0, MSG=275,  
IDEVENT=2164, DWTIME=102821187)

at win32callback.inc:2563
#2  0x77d18744 in USER32!GetDC () from C:\WINDOWS\system32\user32.dll
#3  0x in ?? ()


The methode is :
procedure TimerCallBackProc(window_hwnd : hwnd; msg : DWORD; idEvent:  
UINT; dwTime: DWORD); stdcall;

Var
  TimerInfo: PWin32TimerInfo;
  n: Integer;
begin
  n := FTimerData.Count;
  while (n0) do begin
dec(n);
TimerInfo := FTimerData[n];
if TimerInfo^.TimerID=idEvent then begin
  TimerInfo^.TimerFunc;
  break;
end;
  end;
end;


It seems FTimerData is not properly set. Is it possible ? May be it is  
related to some bad behavior of my application (I really don't know  
what but it is not impossible)
In fact I have problems once I use Threads in my application under  
Windows (works perfectly under Linux).


I follewed the Wiki : 
http://wiki.lazarus.freepascal.org/Multithreaded_Application_Tutorial


--
Damien Gerard
[EMAIL PROTECTED]

Le temps n'a pas d'importance. Seul le code est important
   -- (f00ty)




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


Re: [lazarus] Simulate ALT+KEY to open a menu

2008-01-16 Thread Roberto Padovani
Hi,

if you go to the form events in design mode, then you should see an
OnKeyDown event. Click on the ... button and the event handler will
be defined as the standard FormKeyDown method.

there's a mistake in the code I suggested to you yesterday: key is
declared as a var parameter so the correct code is:

var k: word;
begin
  ...
  k:= 65;   { this is ASCII character  A}
  self.FormKeyDown(self,k,[ssAlt]);
  ...
end;

cheers,

  R#



2008/1/16, Fabio Dell'Aria [EMAIL PROTECTED]:
 Hi,

 2008/1/15, Roberto Padovani [EMAIL PROTECTED]:
  why don't you call the method FormKeyDown yourself?
  ...
  begin
  ...
self.FormKeyDown(self, 65,[ssAlt]);
  
  end;

 I do not find this method.

  R#
 
 
  2008/1/15, Fabio Dell'Aria [EMAIL PROTECTED]:
   Hi,
  
   2008/1/15, Lee Jenkins [EMAIL PROTECTED] :
Fabio Dell'Aria wrote:
 Hi to all,

 how I can simulate the ALT+E key-press command on a specified
 TForm
 for open its Edit menu?

   
Fabio, can you try:
   
1. Set TMyForm.KeyPreview := true
   
2. OnKeyDown Event Code:
   
procedure TMyForm.FormKeyDown ( Sender: TObject; var Key: Word;
   Shift: TShiftState) ;
begin
   if (ssAlt in Shift) and (key = 65) then
 AMenuItem.Click;
   
   // or...
   // if (ssAlt in Shift) and (lowercase(Chr(key)) = 'e') then
end;
   
I don't do that kind of key capture much so there may be a better way
 to
   test
for upper or lowercase 'e';
  
   Not always this keys open a menu, other times do others.
  
   So I cannot call directly the MenuItem.Click method.
  
   I need to simply simulate a keypress. How I can do this?
  
--
Warm Regards,
   
Lee
   
The only thing that kept me out college...was high school.
   
   
  
 _
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at
   http://www.lazarus.freepascal.org/mailarchives
   
  
  
  
   --
   Best regards...
  
   Fabio Dell'Aria.
 
 
 _
   To unsubscribe: mail [EMAIL PROTECTED] with
  unsubscribe as the Subject
 archives at
 http://www.lazarus.freepascal.org/mailarchives
 



 --
 Best regards...

 Fabio Dell'Aria.

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


[lazarus] A Compiled file size solution from the GBD mailing-list

2008-01-16 Thread Fabio Dell'Aria
I have asked to the official GDB mailing list, if is possible debug a
program using as debug symbols an external files.

The answer is yes (there are two method to do this).

You can read the full answer here:
http://sourceware.org/ml/gdb/2008-01/msg00119.html

I hope this can help we.

-- 
Best regards...

Fabio Dell'Aria.

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


Re: [lazarus] French translation (suite)

2008-01-16 Thread Vincent Snijders

Damien Gerard schreef:

For Laurent ([EMAIL PROTECTED]) :

Here are some suggestions.



snipped a lot of suggestions


In fact I think I will stop here for now :)
May be I should make a patch for the PO file ?



Yes, please. :-)

Unless you are not sure about certain French terms yet and want to discuss them on 
this mailing list. I promise I won't join in ;-).


Vincent

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


[lazarus] TDBMemo gtk2, is there any other component?

2008-01-16 Thread Osvaldo TC Filho
Is there other component for use the funtionality of TDBMemo in Lazarus
GTK2 ?

Thanks.

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


[lazarus] unable to debug with fpc 2.3.1

2008-01-16 Thread Giuliano Colla
I have installed the resources branch of fpc, because I wanted to test 
the new resource handling. I've changed the fpcsrc directory in a 
symlink pointing to the appropriate sources. The IDE understands it 
properly, and finds the fpc sources when required. But when I debug my 
app, the debugger doesn't, and always requests me to locate manually the 
source file. Adding the source path in the debugger options doesn't 
help. Setting the real path instead of the symlink neither.

What I'm missing?

Giuliano

--
Giuliano Colla

Whenever people agree with me, I always feel I must be wrong (O. Wilde)

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


[lazarus] repository issues

2008-01-16 Thread Graeme Geldenhuys
Hi,

Anybody got issues with the Lazarus repository?

This is the error I get:

-
[EMAIL PROTECTED]:lazarus$ svn info
Path: .
URL: http://www.freepascal.org/svn/lazarus/trunk
Repository Root: http://www.freepascal.org/svn/lazarus
Repository UUID: 4005530d-fff6-0310-9dd1-cebe43e6787f
Revision: 13293
Node Kind: directory
Schedule: normal
Last Changed Author: paul
Last Changed Rev: 13293
Last Changed Date: 2007-12-12 10:57:15 +0200 (Wed, 12 Dec 2007)


[EMAIL PROTECTED]:lazarus$ svn up
svn: PROPFIND request failed on '/svn/lazarus/trunk'
svn: PROPFIND of '/svn/lazarus/trunk': 405 Method Not Allowed
(http://www.freepascal.org)
-


I'm connecting from South Africa, if that's of any help.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


Re: [lazarus] repository issues

2008-01-16 Thread Damien Gerard


On Jan 16, 2008, at 2:55 PM, Graeme Geldenhuys wrote:


Hi,

Anybody got issues with the Lazarus repository?

This is the error I get:

-
[EMAIL PROTECTED]:lazarus$ svn info
Path: .
URL: http://www.freepascal.org/svn/lazarus/trunk
Repository Root: http://www.freepascal.org/svn/lazarus
Repository UUID: 4005530d-fff6-0310-9dd1-cebe43e6787f
Revision: 13293
Node Kind: directory
Schedule: normal
Last Changed Author: paul
Last Changed Rev: 13293
Last Changed Date: 2007-12-12 10:57:15 +0200 (Wed, 12 Dec 2007)


[EMAIL PROTECTED]:lazarus$ svn up
svn: PROPFIND request failed on '/svn/lazarus/trunk'
svn: PROPFIND of '/svn/lazarus/trunk': 405 Method Not Allowed
(http://www.freepascal.org)


Was working one or two hours ago.

milipili-desktop [milipili] ~/Projects/lazarus % svn  
up 
 Err 
 130 #50

svn: PROPFIND request failed on '/svn/lazarus/trunk'
svn: PROPFIND of '/svn/lazarus/trunk': Could not resolve hostname  
`svn.freepascal.org': No address associated with hostname (http://svn.freepascal.org 
)





-


I'm connecting from South Africa, if that's of any help.



So far ?!



--
Damien Gerard
[EMAIL PROTECTED]

Le temps n'a pas d'importance. Seul le code est important
   -- (f00ty)




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


Re: repository issues

2008-01-16 Thread Graeme Geldenhuys
No worries, I found the problem.

I had to relocate my working copy to a new svn address. No idea why it
was pointing to [http://www.freepascal.org/svn/lazarus/trunk]  instead
of [http://svn.freepascal.org/svn/lazarus/trunk]


Sorry for the false alarm.

Graeme.



On 16/01/2008, Graeme Geldenhuys [EMAIL PROTECTED] wrote:
 Hi,

 Anybody got issues with the Lazarus repository?

 This is the error I get:

 -
 [EMAIL PROTECTED]:lazarus$ svn info
 Path: .
 URL: http://www.freepascal.org/svn/lazarus/trunk
 Repository Root: http://www.freepascal.org/svn/lazarus
 Repository UUID: 4005530d-fff6-0310-9dd1-cebe43e6787f
 Revision: 13293
 Node Kind: directory
 Schedule: normal
 Last Changed Author: paul
 Last Changed Rev: 13293
 Last Changed Date: 2007-12-12 10:57:15 +0200 (Wed, 12 Dec 2007)


 [EMAIL PROTECTED]:lazarus$ svn up
 svn: PROPFIND request failed on '/svn/lazarus/trunk'
 svn: PROPFIND of '/svn/lazarus/trunk': 405 Method Not Allowed
 (http://www.freepascal.org)
 -


 I'm connecting from South Africa, if that's of any help.


 Regards,
   - Graeme -


 ___
 fpGUI - a cross-platform Free Pascal GUI toolkit
 http://opensoft.homeip.net/fpgui/


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


Re: repository issues

2008-01-16 Thread Damien Gerard


On Jan 16, 2008, at 3:04 PM, Graeme Geldenhuys wrote:


No worries, I found the problem.

I had to relocate my working copy to a new svn address. No idea why it
was pointing to [http://www.freepascal.org/svn/lazarus/trunk]  instead
of [http://svn.freepascal.org/svn/lazarus/trunk]



I don't know. Anyway it works again even for me :)



Sorry for the false alarm.

Graeme.




--
Damien Gerard
[EMAIL PROTECTED]

Le temps n'a pas d'importance. Seul le code est important
   -- (f00ty)




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


Re: [lazarus] repository issues

2008-01-16 Thread Giuliano Colla

Graeme Geldenhuys ha scritto:

Hi,

Anybody got issues with the Lazarus repository?

This is the error I get:


[...]


[EMAIL PROTECTED]:lazarus$ svn up
svn: PROPFIND request failed on '/svn/lazarus/trunk'
svn: PROPFIND of '/svn/lazarus/trunk': 405 Method Not Allowed
(http://www.freepascal.org)
-


I'm connecting from South Africa, if that's of any help.




Tested right now, and for me it works fine (from Italy, if it matters):

[EMAIL PROTECTED] lazarus]$ svn up
Ulcl/interfaces/qt/qtwsdialogs.pp
Ulcl/interfaces/qt/qtwidgets.pas
Aggiornato alla revisione 13779.

Giuliano

--
Giuliano Colla

Whenever people agree with me, I always feel I must be wrong (O. Wilde)

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


Re: [lazarus] Sound in Lazarus applications

2008-01-16 Thread Lee Jenkins

Adrian Maier wrote:

Hello ,

Did anyone integrate sound capabilities into a Lazarus application ?
(in a cross-platform way  :-D  )

I'm thinking about having the ability to play sounds when certain
certain actions are
done by the user or when to play back  work complete after a long
running task
finishes.


Adrian,

http://wiki.lazarus.freepascal.org/ACS

I haven't used it, but found it a little while back.  I think there was a thread 
recently concerning it.



--
Warm Regards,

Lee

The only thing that kept me out college...was high school.

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


Re: [lazarus] repository issues

2008-01-16 Thread Graeme Geldenhuys
On 16/01/2008, Damien Gerard [EMAIL PROTECTED] wrote:
 
  I'm connecting from South Africa, if that's of any help.

 So far ?!

It doesn't feel that far really.  :-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


Re: [lazarus] repository issues

2008-01-16 Thread Damien Gerard


On Jan 16, 2008, at 3:08 PM, Graeme Geldenhuys wrote:


On 16/01/2008, Damien Gerard [EMAIL PROTECTED] wrote:


I'm connecting from South Africa, if that's of any help.


So far ?!


It doesn't feel that far really.  :-)


From France a little :) Send a postcard ! :p


--
Damien Gerard
[EMAIL PROTECTED]

Le temps n'a pas d'importance. Seul le code est important
   -- (f00ty)




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


Re: [lazarus] ToDo List not working in IDE

2008-01-16 Thread Graeme Geldenhuys
On 16/01/2008, Mattias Gärtner [EMAIL PROTECTED] wrote:

 It works here, but the scope has changed. See

 http://wiki.lazarus.freepascal.org/IDE_Window:_ToDo_List

Thanks, I read the information and had a look at the todo dialog's
execute method.  I made sure my 'main' form is in the .lpr files uses
clause, which it was.  I then even copied one of the todo items from
the todo dialog's source code.

I opened the ToDo dialog in my Lazarus. Clicked 'Refresh' and still
not a single item appears.  When I run Lazarus from the command line,
it shows all the units used for the todo lookup, and my units are
listed, but nothing is shown.

Here is a sample todo item I create in my main form of my application.
None of those items appear.  As I mentioned, I think in November or
so, it still worked fine.


procedure TMainForm.importerModuleProcessed(const AModuleID,
AModuleDir: string);
begin
  { #todo Do something with this. }
  {#todo print an todo report }
  { todo: And another one. }
  writeln('Processed module ', AModuleID, ' in ', AModuleDir);
end;




 I know the gtk toolbar bug, but the crash is new to me. I do not use the todo

Yeah, that toolbar bug is hard to miss!!   Is anybody working on this bug?


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


Re: [lazarus] Sound in Lazarus applications

2008-01-16 Thread Antonio Sanguigni

 I haven't used it, but found it a little while back.  I think there was a
 thread
 recently concerning it.


Yes, just try and search this ML for ACS and have a look to :
http://wiki.lazarus.freepascal.org/Lazarus_Faq#Lazarus_crashes_with_runtime_error_211_after_I_installed_a_componentfor
multithreading Lazarus issue.

Antonio

-- 
Antonio Sanguigni alias slapshot
--
GioveLUG (Linux User Group) - http://www.giovelug.org
Edupup (Educational distro) - http://www.edupup.org


Re: [lazarus] ToDo List not working in IDE

2008-01-16 Thread Graeme Geldenhuys
On 16/01/2008, Graeme Geldenhuys [EMAIL PROTECTED] wrote:

 I opened the ToDo dialog in my Lazarus. Clicked 'Refresh' and still
 not a single item appears.  When I run Lazarus from the command line,
 it shows all the units used for the todo lookup, and my units are
 listed, but nothing is shown.


I forgot to mention.  I did a svn update and recompiled clean.
Currently using v0.9.25 r13779M i386-linux-gtk


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


[lazarus] IntraWeb

2008-01-16 Thread SteveG
Just wondering if there has been any advance on an 'IntraWeb' interface 
at all ?


and secondly - is it at all possible to use a (licenced) copy of 
Intraweb itself within Lazarus ?


Thanks

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


Re: [lazarus] ToDo List not working in IDE

2008-01-16 Thread Gerard N/A
Hi Graeme,

I think I was the last to work on the TODO list.
And even if it may sound as a typical programmer excuse, last time I checked
it used to work. ;-)
You are right, it was working not so long ago, and I checked with 13776
under windows and it doesn't process the TODO entries you submitted.

I'll have a look to see what changed.

Regards,

Gerard.


Re: [lazarus] ToDo List not working in IDE

2008-01-16 Thread Graeme Geldenhuys
On 16/01/2008, Gerard N/A [EMAIL PROTECTED] wrote:
 And even if it may sound as a typical programmer excuse, last time I checked
 it used to work. ;-)

:-)  I know that feeling...

 You are right, it was working not so long ago, and I checked with 13776
 under windows and it doesn't process the TODO entries you submitted.

 I'll have a look to see what changed.

Thanks.  I placed a writeln('.Found comment') on line
303 in todolist.pas which as far as I can see is will be reached if
any todo comment was found.   Needless to say that writeln is never
reached for some reason.  I haven't checked the svn logs on that file
yet to see if somebody else changed something.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


Re: [lazarus] Sound in Lazarus applications

2008-01-16 Thread ik
Hi,

I've binded libsndfile, and you can use it as well :
http://ik.homelinux.org/index.rhtml/projects/fpc/sndfile

On Jan 16, 2008 10:38 AM, Adrian Maier [EMAIL PROTECTED] wrote:
 Hello ,

 Did anyone integrate sound capabilities into a Lazarus application ?
 (in a cross-platform way  :-D  )

 I'm thinking about having the ability to play sounds when certain
 certain actions are
 done by the user or when to play back  work complete after a long
 running task
 finishes.


 Cheers,
 Adrian Maier

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




-- 
http://ik.homelinux.org/

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


Re: [lazarus] ToDo List not working in IDE

2008-01-16 Thread Gerard N/A
It seems it doens't even reach that method as it should in the loop from
line 570 to 586.


Re: [lazarus] ToDo List not working in IDE

2008-01-16 Thread Gerard N/A
It seems that the function BasicCodeTools.FindNextComment used to get the
comments ignores any comment that starts with '{' not immediatly followed by
a '$' ?


Re: [lazarus] New Docked IDE

2008-01-16 Thread Gerard N/A
Amazing! Is there a chance that we can see this as an option for the IDE?

Regards,

Gerard.


Re: [lazarus] New Docked IDE

2008-01-16 Thread Fabio Dell'Aria
Hi,

2008/1/16, Gerard N/A [EMAIL PROTECTED]:
 Amazing! Is there a chance that we can see this as an option for the IDE?

 Regards,

 Gerard.

I hope it can become a the new definitively look.

Indeed every docked window is undockable just click on its new title
right button. :)

-- 
Best regards...

Fabio Dell'Aria.

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


Re: [lazarus] ToDo List not working in IDE

2008-01-16 Thread Graeme Geldenhuys
On 16/01/2008, Gerard N/A [EMAIL PROTECTED] wrote:
 It seems that the function BasicCodeTools.FindNextComment used to get the
 comments ignores any comment that starts with '{' not immediatly followed by
 a '$' ?


Oops!  Mattias, any special reason for that behaviour?


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


Re: [lazarus] French translation (suite)

2008-01-16 Thread Damien Gerard


On Jan 16, 2008, at 12:42 PM, Vincent Snijders wrote:


Damien Gerard schreef:

For Laurent ([EMAIL PROTECTED]) :
Here are some suggestions.


snipped a lot of suggestions


In fact I think I will stop here for now :)
May be I should make a patch for the PO file ?


Yes, please. :-)

Unless you are not sure about certain French terms yet and want to  
discuss them on this mailing list. I promise I won't join in ;-).



In fact I am not :)

For the word Identifier, it seems Identifiant would be more  
appropriated, rather than Identificateur. Other colleagues of mine  
conform it. In fact Identificateur is not the good word, like  
Programmateur instead of Programmeur for a programer.


What do french people of lazarus think about it ? :)




--
Damien Gerard
[EMAIL PROTECTED]

Le temps n'a pas d'importance. Seul le code est important
   -- (f00ty)




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


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

2008-01-16 Thread Christian U.



This is how I understand it  LCL is built with debug inforation.
You executable uses LCL and is also set to include debug information
by default.  This equals a huge executable.  That is what you want
while developing.  When you create a release version of you product,
you run strip agains the executable.  It removes ALL debug
information, even those carried over from LCL!  You end up with a
executable the same size as if you compiled your executable with LCL
without debug information.
  
I say it again, this thread was about stripping the debug infos from lcl 
code not from the whole executable.
It is real good to have debug infor from your code to have function 
names in stack traces that can be very helpful.

But thers no need for the lcl debug inso so if it is stripped per default
- we have not so many users that ask for the executable size,
- the debugger dont jumps in lcl code that is not interesting for most 
users,

- you musnt use strip and have an good usage from stack traces.

best regards
Christian

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


Re: [lazarus] Sound in Lazarus applications

2008-01-16 Thread Christian U.

Try ACS : http://acs.ullihome.de

Adrian Maier schrieb:

Hello ,

Did anyone integrate sound capabilities into a Lazarus application ?
(in a cross-platform way  :-D  )

I'm thinking about having the ability to play sounds when certain
certain actions are
done by the user or when to play back  work complete after a long
running task
finishes.


Cheers,
Adrian Maier

_
 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] French translation (suite)

2008-01-16 Thread Gerard N/A

 For the word Identifier, it seems Identifiant would be more
 appropriated, rather than Identificateur. Other colleagues of mine
 conform it. In fact Identificateur is not the good word, like
 Programmateur instead of Programmeur for a programer.


I think identificateur is right. Both the french wikipedia (
http://fr.wikipedia.org/wiki/Identificateur) and the french dictionary I
have at hand (Petit Robert) agree on it.

Regards,

Gerard.


Re: [lazarus] New Docked IDE

2008-01-16 Thread Gerard N/A
Great. There are times where having everything docked together is much more
convenient.


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

2008-01-16 Thread Christian U.


Yes, however after a release, your not developing on that release 
anymore. Your users are using it and don't need to debug. The 
unstripped version you keep to yourself, so you can debug yourself.
Not in any case, stack traces can be very useful to find an problem on 
an exception but there only useful with debugionfos,
so its an great thing to strip the lcl debuginfos but nit those from 
user code.
So the lcl needs to be compiles with some option. What has that to do 
with project settings ? Nothing.
It's how the lcl should be build once. IIRC this discussion started 
about that.

I agree that it would be a nice option to be able to choose between
  LCL  with/without debuginfo
  FCL  with/without debuginfo
  RTL  with/without debuginfo

OTOH, a debugger being able to use external symbols would solve it too.

I think one checkbox in the Build lazarus Configuration dialog is ok.
RTL and FCL are never build while building lazarus its a bit hard to add 
an option for this i think.


best regards
Christian

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


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

2008-01-16 Thread Christian U.



OK guys now I OFFICIALLY close this very long, long thread! :)

Are you trying to create an patch ?
If not please inform me than i will do.

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


Re: [lazarus] ToDo List not working in IDE

2008-01-16 Thread Gerard N/A
This function (FindNextComment) is only used in
TStandardCodeTool.GetPasDocComments and TodoList. I don't think changing
it's behaviour would break anything.

The fix is as easy as removing the check for the dollar char.

at line 1137:

'{': Exit;
{  if (ResultMaxPos) and (ASource[Result+1]='$') then
exit;}


This makes the todo comments to be processed, but there is an additional
problem because the although they are added to the list, description doesn't
show up.

G.


Re: [lazarus] ToDo List not working in IDE

2008-01-16 Thread Gerard N/A
None of the todo items you submitted follows in the syntax expected by the
parser as it is now.
It's either:
{TODO: x  } or {DONE: x  }
or
{#todo: xxx xx  xx} or  {#done: xxx xx  xx} or
Optionally, you can add -oX for the owner and -cX for the category.

Regards,

Gerard.


Re: [lazarus] French translation (suite)

2008-01-16 Thread wile64
2008/1/16, Gerard N/A [EMAIL PROTECTED]:

 For the word Identifier, it seems Identifiant would be more
  appropriated, rather than Identificateur. Other colleagues of mine
  conform it. In fact Identificateur is not the good word, like
  Programmateur instead of Programmeur for a programer.


 I think identificateur is right. Both the french wikipedia (
 http://fr.wikipedia.org/wiki/Identificateur) and the french dictionary I
 have at hand (Petit Robert) agree on it.

 Regards,

 Gerard.


Great, I feel so lonely since the time that I asked for help and advice
differs ;)
identificateur is right.

Thanks

--
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] ToDo List not working in IDE

2008-01-16 Thread Graeme Geldenhuys
On 16/01/2008, Gerard N/A [EMAIL PROTECTED] wrote:
 None of the todo items you submitted follows in the syntax expected by the
 parser as it is now.
 It's either:
 {TODO: x  } or {DONE: x  }

I normally do the above (Delphi style), but I saw the entries in the
todo list dialog, so thought maybe the todo comments format has
changed. I saw the other formats in the todolist.pas unit's header.  I
tried those formats in my code and still nothing.

PS:
Maybe we should remove the old comment style from the todo list dialog
header comment, to stop confusion?


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


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

2008-01-16 Thread Fabio Dell'Aria
Hi,

2008/1/16, Christian U. [EMAIL PROTECTED]:

  OK guys now I OFFICIALLY close this very long, long thread! :)
 Are you trying to create an patch ?
 If not please inform me than i will do.

I have just found a method to move ALL the debug data and symbols to
an external .dbg file, obtaining a just stripped compiled file and the
full debug functionalities (only with the .dbg file presents).

Currently I must execute 3 steps to obtain this (after every compilation).

I'm working to can do all with a single step (just on beta testing)! :)

-- 
Best regards...

Fabio Dell'Aria.

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


[lazarus] Rebuilding RTL and FCL inside LazIDE

2008-01-16 Thread Al Boldi
Christian U. wrote:
 RTL and FCL are never build while building lazarus its a bit hard to add
 an option for this i think.

Mattias, what is needed to add rebuilding RTL/FCL from within the IDE?


Thanks!

--
Al

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


Re: [lazarus] Rebuilding RTL and FCL inside LazIDE

2008-01-16 Thread Marc Weustink

Al Boldi wrote:

Christian U. wrote:

RTL and FCL are never build while building lazarus its a bit hard to add
an option for this i think.


Assume I have both debug and release versions build myself.


Mattias, what is needed to add rebuilding RTL/FCL from within the IDE?


This is goining into the wron direction.

Marc

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


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

2008-01-16 Thread Peter Vreman

At 18:37 16-1-2008, you wrote:

Hi,

2008/1/16, Christian U. [EMAIL PROTECTED]:

  OK guys now I OFFICIALLY close this very long, long thread! :)
 Are you trying to create an patch ?
 If not please inform me than i will do.

I have just found a method to move ALL the debug data and symbols to
an external .dbg file, obtaining a just stripped compiled file and the
full debug functionalities (only with the .dbg file presents).

Currently I must execute 3 steps to obtain this (after every compilation).

I'm working to can do all with a single step (just on beta testing)! :)


I can see only 2 steps:

$ objcopy -R .text -R .data lazarus.exe lazarus1.dbg
$ strip lazarus.exe

Resulting files:

-rwxr-xr-x 1 peter None 41551141 Jan 16 18:50 lazarus.dbg
-rwxrwxrwx 1 peter None  7610368 Jan 16 18:51 lazarus.exe

And for debugging:

$ gdb lazarus.exe
(gdb) br main
No symbol table is loaded.  Use the file command.
(gdb) symbol-file lazarus1.dbg
Reading symbols from /cygdrive/d/lazarus/lazarus.dbg...done.
(gdb) br main
Breakpoint 1 at 0x401bf9: file lazarus.pp, line 77.
(gdb)




Peter

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


Re: [lazarus] ToDo List not working in IDE

2008-01-16 Thread Gerard N/A
On Jan 16, 2008 6:30 PM, Graeme Geldenhuys [EMAIL PROTECTED] wrote:

 I normally do the above (Delphi style), but I saw the entries in the
 todo list dialog, so thought maybe the todo comments format has
 changed. I saw the other formats in the todolist.pas unit's header.  I
 tried those formats in my code and still nothing.


You are right, the  comments in the unit header are wrong. The parser
expects a semicolon anyway (#todo: or TODO:), then it works.


 PS:
 Maybe we should remove the old comment style from the todo list dialog
 header comment, to stop confusion?


Yes.


[lazarus] Cannot reach lazarus.freepascal.org

2008-01-16 Thread Gerard N/A
Is anybody able to reach http://lazarus.freepascal.org?
I get a timeout after the address is resolved.

Thanks,

Gerard.


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

2008-01-16 Thread Fabio Dell'Aria
Hi,

2008/1/16, Peter Vreman [EMAIL PROTECTED]:
 At 18:37 16-1-2008, you wrote:
 Hi,
 
 2008/1/16, Christian U. [EMAIL PROTECTED]:
  
OK guys now I OFFICIALLY close this very long, long thread! :)
   Are you trying to create an patch ?
   If not please inform me than i will do.
 
 I have just found a method to move ALL the debug data and symbols to
 an external .dbg file, obtaining a just stripped compiled file and the
 full debug functionalities (only with the .dbg file presents).
 
 Currently I must execute 3 steps to obtain this (after every compilation).
 
 I'm working to can do all with a single step (just on beta testing)! :)

 I can see only 2 steps:

 $ objcopy -R .text -R .data lazarus.exe lazarus1.dbg
 $ strip lazarus.exe

 Resulting files:

 -rwxr-xr-x 1 peter None 41551141 Jan 16 18:50 lazarus.dbg
 -rwxrwxrwx 1 peter None  7610368 Jan 16 18:51 lazarus.exe

 And for debugging:

 $ gdb lazarus.exe
 (gdb) br main
 No symbol table is loaded.  Use the file command.
 (gdb) symbol-file lazarus1.dbg
 Reading symbols from /cygdrive/d/lazarus/lazarus.dbg...done.
 (gdb) br main
 Breakpoint 1 at 0x401bf9: file lazarus.pp, line 77.
 (gdb)

I need 3 steps because I don not change the mode lazarus call the GDB.
After my changes just a lazarus run to can use a stripped (as
--strip-all) compiled file with all the debug data in an external file
(and is possible debug also the LCL).

 Peter

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



-- 
Best regards...

Fabio Dell'Aria.

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


Re: [lazarus] Rebuilding RTL and FCL inside LazIDE

2008-01-16 Thread Peter Vreman

At 18:53 16-1-2008, you wrote:

Al Boldi wrote:

Christian U. wrote:

RTL and FCL are never build while building lazarus its a bit hard to add
an option for this i think.


Assume I have both debug and release versions build myself.


Mattias, what is needed to add rebuilding RTL/FCL from within the IDE?


This is goining into the wron direction.


I don't think this is a good idea to add to an IDE. Because 
recompiling the RTL means that you need to recompile all installed units.


For fpc we are working on a package system that can help in this 
dependency issue. This can maybe included as an tool, but the 
functionalitiy should not be included in the IDE.



Peter

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


Re: [lazarus] IntraWeb

2008-01-16 Thread Marco van de Voort
On Thu, Jan 17, 2008 at 12:50:42AM +1000, SteveG wrote:
 Just wondering if there has been any advance on an 'IntraWeb' interface at 
 all ?
 
 and secondly - is it at all possible to use a (licenced) copy of Intraweb 
 itself within Lazarus ?

I'm not aware of any attempts. Indy works though (9 and 10)

But if you don't have full intraweb source for each an every component
(including parts in Delphi that FPC/Laz don't implement), then there is no
chance at all.

Maybe a quick AtoZed would give an idea?

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


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

2008-01-16 Thread Giuliano Colla

Gerard N/A ha scritto:

Is anybody able to reach http://lazarus.freepascal.org?
I get a timeout after the address is resolved.



It appears to be down.
http://www.freepascal.org/ works, http://wiki.lazarus.freepascal.org/ 
works, but http://www.lazarus.freepascal.org doesn't.


Giuliano

--
Giuliano Colla

Whenever people agree with me, I always feel I must be wrong (O. Wilde)

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


Re: [lazarus] Sound in Lazarus applications

2008-01-16 Thread Marco Alvarado
Their wiki is being attacked :P
http://acs.ullihome.de/acs/index.php/Talk:Main_Page

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


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

2008-01-16 Thread Marc Weustink

Giuliano Colla wrote:

Gerard N/A ha scritto:

Is anybody able to reach http://lazarus.freepascal.org?
I get a timeout after the address is resolved.



It appears to be down.
http://www.freepascal.org/ works, http://wiki.lazarus.freepascal.org/ 
works, but http://www.lazarus.freepascal.org doesn't.


They are 3 differnet servers, all in different countries and 
www.lazarus.freepascal.org is even at a different continent



Marc

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


[lazarus] Patch for processing WM_COPYDATA in Win32 / BugID 9210

2008-01-16 Thread Lukas Gradl
Some time ago I reported a problem with sending WM_COPYDATA-Messages 
under windows:

http://bugs.freepascal.org/view.php?id=9210

As far as I could find the function WindowProc in win32callback.inc eats 
up the message so it never reaches the MessageHandler defined in the app.


So I changed LCL\interfaces\win32\win32callback.inc

This is the diff-File:


Index: win32callback.inc
===
--- win32callback.inc   (revision 13779)
+++ win32callback.inc   (working copy)
@@ -1141,6 +1141,13 @@
   Assert(False, Format('Trace:WindowProc - Window Value: $%S-%d; Msg 
Value: %S; WParam: $%S; LParam: $%S', [IntToHex(Window, 4), Window, 
WM_To_String(Msg), IntToHex(WParam, sizeof(WParam)*4), IntToHex(LParam, 
sizeof(LParam)*4)]));


   case Msg of
+   WM_COPYDATA: // passthrough of WM_COPYDATA-Messages
+   begin
+  LMessage.Msg := Msg;
+  LMessage.WParam := WParam;
+  LMessage.LParam := LParam;
+  WinProcess := false;
+   end;
 WM_ACTIVATE:
 begin
   case LOWORD(WParam) Of


regards
Lukas


--


software security networks
Lukas Gradl lazarus#ssn.at
Eduard-Bodem-Gasse 9
A - 6020 Innsbruck
Tel: +43-720-300168-0
Fax: +43-512-341033-19


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


Re: [lazarus] Patch for processing WM_COPYDATA in Win32 / BugID 9210

2008-01-16 Thread Felipe Monteiro de Carvalho
On Jan 16, 2008 8:02 PM, Lukas Gradl [EMAIL PROTECTED] wrote:
 Some time ago I reported a problem with sending WM_COPYDATA-Messages
 under windows:
 http://bugs.freepascal.org/view.php?id=9210

Did you ever test with the PassWin32MessagesToLCL define:
http://wiki.lazarus.freepascal.org/LCL_Defines#Win32_defines

?

In recent subversion Lazarus user messages are activated by default
(the define I mentioned above no longer exists), could you test if
this solves your problem without the patch?

-- 
Felipe Monteiro de Carvalho

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


Re: [lazarus] Patch for processing WM_COPYDATA in Win32 / BugID 9210

2008-01-16 Thread Lukas Gradl

Felipe Monteiro de Carvalho schrieb:

On Jan 16, 2008 8:02 PM, Lukas Gradl [EMAIL PROTECTED] wrote:

Some time ago I reported a problem with sending WM_COPYDATA-Messages
under windows:
http://bugs.freepascal.org/view.php?id=9210


Did you ever test with the PassWin32MessagesToLCL define:
http://wiki.lazarus.freepascal.org/LCL_Defines#Win32_defines

?

In recent subversion Lazarus user messages are activated by default
(the define I mentioned above no longer exists), could you test if
this solves your problem without the patch?



Already done that - it has no influence on WM_COPYDATA.

regards
Lukas


--


software security networks
Lukas Gradl lazarus#ssn.at
Eduard-Bodem-Gasse 9
A - 6020 Innsbruck
Tel: +43-720-300168-0
Fax: +43-512-341033-19


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


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

2008-01-16 Thread Hess, Philip J
http://www.lazarus.freepascal.org/ has been unreachable for 2 days.

Does anyone know who controls the switch for this?

Thanks.

-Phil


-Original Message-
From: Giuliano Colla [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 16, 2008 1:21 PM
To: lazarus@miraclec.com
Subject: Re: [lazarus] Cannot reach lazarus.freepascal.org

Gerard N/A ha scritto:
 Is anybody able to reach http://lazarus.freepascal.org?
 I get a timeout after the address is resolved.
 

It appears to be down.
http://www.freepascal.org/ works, http://wiki.lazarus.freepascal.org/ 
works, but http://www.lazarus.freepascal.org doesn't.

Giuliano

-- 
Giuliano Colla

Whenever people agree with me, I always feel I must be wrong (O. Wilde)

_
 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] Cannot reach lazarus.freepascal.org

2008-01-16 Thread Vincent Snijders

Hess, Philip J schreef:

http://www.lazarus.freepascal.org/ has been unreachable for 2 days.

Does anyone know who controls the switch for this?


Michael Hess. Email mhess at the same domain as this list.

Vincent

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


[lazarus] Win32 docking solved!

2008-01-16 Thread Marius
Paul, i think you solved the win32 docking problem with the 13775 fix. 
(and it reminds me painfully i have been investigating those ws_child 
options myself without solving it :))


Anywhay, very exciting docking news, finally i can old style dock my 
configuration forms like i did in delphi. A very big Thank You from here!


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


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

2008-01-16 Thread Bogusław Brandys

Fabio Dell'Aria wrote:

Hi,

2008/1/16, Peter Vreman [EMAIL PROTECTED]:

At 18:37 16-1-2008, you wrote:

Hi,

2008/1/16, Christian U. [EMAIL PROTECTED]:

OK guys now I OFFICIALLY close this very long, long thread! :)

Are you trying to create an patch ?
If not please inform me than i will do.

I have just found a method to move ALL the debug data and symbols to
an external .dbg file, obtaining a just stripped compiled file and the
full debug functionalities (only with the .dbg file presents).

Currently I must execute 3 steps to obtain this (after every compilation).

I'm working to can do all with a single step (just on beta testing)! :)

I can see only 2 steps:

$ objcopy -R .text -R .data lazarus.exe lazarus1.dbg
$ strip lazarus.exe

Resulting files:

-rwxr-xr-x 1 peter None 41551141 Jan 16 18:50 lazarus.dbg
-rwxrwxrwx 1 peter None  7610368 Jan 16 18:51 lazarus.exe

And for debugging:

$ gdb lazarus.exe
(gdb) br main
No symbol table is loaded.  Use the file command.
(gdb) symbol-file lazarus1.dbg
Reading symbols from /cygdrive/d/lazarus/lazarus.dbg...done.
(gdb) br main
Breakpoint 1 at 0x401bf9: file lazarus.pp, line 77.
(gdb)


I need 3 steps because I don not change the mode lazarus call the GDB.
After my changes just a lazarus run to can use a stripped (as
--strip-all) compiled file with all the debug data in an external file
(and is possible debug also the LCL).


Peter



Wait a moment ! If this is possible with command line gdb, then it must 
be possible also from Lazarus IDE,right ? Or from executable itself to 
create stacktrace ? Could I just strip executable and provide external 
file .dbg and still get full stacktrace in case of exception ?



Regards
Boguslaw

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


[lazarus] OpenMoko and FPC/Lazarus

2008-01-16 Thread ik
Hi,

While google suggest rewards for developing applications for Android,
there is an open source firmware named OpenMoko
(http://openmoko.org/).
I asked Michael Shiloh what are some of the requirement in building
apps in different compilers (FPC to be exact, and I also mentioned
Lazarus :)). Well all that is required is to bind ourself to the C
libraries.

I wonder what does it mean (other then binding) to make FPC and
Lazarus to support such environment.

Ido
-- 
http://ik.homelinux.org/

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


Re: [lazarus] Win32 docking solved!

2008-01-16 Thread Christian U.

Marius schrieb:
Paul, i think you solved the win32 docking problem with the 13775 fix. 
(and it reminds me painfully i have been investigating those ws_child 
options myself without solving it :))


Anywhay, very exciting docking news, finally i can old style dock my 
configuration forms like i did in delphi. A very big Thank You from here!

Also from me an bin thx.



_
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] Solution to the BIG compiled file issue!

2008-01-16 Thread Peter Vreman



$ gdb lazarus.exe
(gdb) br main
No symbol table is loaded.  Use the file command.
(gdb) symbol-file lazarus1.dbg
Reading symbols from /cygdrive/d/lazarus/lazarus.dbg...done.
(gdb) br main
Breakpoint 1 at 0x401bf9: file lazarus.pp, line 77.
(gdb)

I need 3 steps because I don not change the mode lazarus call the GDB.
After my changes just a lazarus run to can use a stripped (as
--strip-all) compiled file with all the debug data in an external file
(and is possible debug also the LCL).


Peter


Wait a moment ! If this is possible with command line gdb, then it 
must be possible also from Lazarus IDE,right ? Or from executable 
itself to create stacktrace ? Could I just strip executable and 
provide external file .dbg and still get full stacktrace in case of exception ?


Thread continued on fpc-devel.


Peter

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


Re: [lazarus] OpenMoko and FPC/Lazarus

2008-01-16 Thread Marc Weustink

ik wrote:

Hi,

While google suggest rewards for developing applications for Android,
there is an open source firmware named OpenMoko
(http://openmoko.org/).
I asked Michael Shiloh what are some of the requirement in building
apps in different compilers (FPC to be exact, and I also mentioned
Lazarus :)). Well all that is required is to bind ourself to the C
libraries.

I wonder what does it mean (other then binding) to make FPC and
Lazarus to support such environment.


I've been playing with that thought also (I've been following that 
project for a while now). It supports X and gtk so that part should work 
and AFAIK it runs some arm-linux so imo fpc could genererste some exe.
Since there wasn't an (easy) emulator environment, I stopped thinging 
about it and didn't test.


Marc

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


Re: [lazarus] IntraWeb

2008-01-16 Thread SteveG



Marco van de Voort wrote:

On Thu, Jan 17, 2008 at 12:50:42AM +1000, SteveG wrote:

Just wondering if there has been any advance on an 'IntraWeb' interface at 
all ?


and secondly - is it at all possible to use a (licenced) copy of Intraweb 
itself within Lazarus ?



I'm not aware of any attempts. Indy works though (9 and 10)

But if you don't have full intraweb source for each an every component
(including parts in Delphi that FPC/Laz don't implement), then there is no
chance at all.

Maybe a quick AtoZed would give an idea?


Good idea - will contact AtoZed re: usage in FPC / Laz - Thanks

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


Re: [lazarus] Win32 docking solved!

2008-01-16 Thread Fabio Dell'Aria
2008/1/16, Christian U. [EMAIL PROTECTED]:
 Marius schrieb:
  Paul, i think you solved the win32 docking problem with the 13775 fix.
  (and it reminds me painfully i have been investigating those ws_child
  options myself without solving it :))Hi,
 
  Anywhay, very exciting docking news, finally i can old style dock my
  configuration forms like i did in delphi. A very big Thank You from here!
 Also from me an bin thx.

and from me too! ;)

 
  _
  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



-- 
Best regards...

Fabio Dell'Aria.

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