Re: [lazarus] IDE cannot find unit "oldlinux"

2007-09-16 Thread 12 12
I don't know, why the source is still there, but the oldlinux.ppu is 

not

installed anymore, because it is deprecated.


The "oldlinux.pp" still on place. Fact.


AFAIK baseunix contains many functions of oldlinux nowadays.


Yes, but it will take from me some time to correct some units that use 
old format of ioctl.


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


Re: [lazarus] Overview of LCL architecture.

2007-09-16 Thread Bruce Tulloch
Chris Kirkpatrick wrote:
> Bruce Tulloch wrote:
>> Is there any overview documentation about the architecture
>> of the LCL and what the normal sequence of events is for a
>> typical GUI application in general?
>>
>> I'm talking internally and down to the widget interface level.
>>   
> You might try looking at the on-line help for the LCL. The easiest way
> to get there is to put the cursor on a key-word in your editor, and
> press F1. Provided yu have an internet connection, you will be taken to
> a HTML document describing the item, and you should find plenty of links
> to help you, for example, to trace the ancestry of a particular
> component and the properties defined in the ancestors.
> 
> I don't know if this helps; please be aware that the LCL documentation
> for Lazarus is still in a pretty primitive state and needs a lot of work
> (do I hear offers of help?), but you can discern the underlying
> structure of any components you use.

Thanks for the feedback

Chris. We had discovered this route into the LCL documentation already. It's
convenient, if rather spartan at present :-)

We are investigating the use of Lazarus/LCL for some work here and if we do
plunge in and use it in a production environment we would certainly contribute
what information we can as we learn more about it.

However what I was looking for right now was more do to with internal the
design and structure of the LCL from an LCL developer's point of view rather
than just the API and class definitions from an LCL user's point of view.

For example, at present we're trying to learn what we need to know to be able
to fix some internal LCL/GTK bugs (fixes for which would of course be fed back
upstream). One of these:

  http://www.freepascal.org/mantis/view.php?id=9676

is a prime case in point. We have managed to refine our understanding of what
the problem is but fixing it is going to require quite a bit more knowledge of
GTK (which we're working on) and LCL's internal interfaces API that drives it.

Thanks again for your feedback.

Cheers, Bruce.

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


Re: [lazarus] Another icons for Lazarus

2007-09-16 Thread Stephano
>Does nobody others have opinion on this subject? 

You are quite talented!

[lazarus] icons sqldb-components

2007-09-16 Thread wile64
Icons for SQL.


-- 
Laurent.

My Web : http://wile64.neuf.fr/
French Forum : http://lazforum-fr.tuxfamily.org/index.php
<><>

Re: [lazarus] Another icons for Lazarus

2007-09-16 Thread wile64
2007/9/14, Graeme Geldenhuys <[EMAIL PROTECTED]>:
>
> On 14/09/2007, Paul Ishenin <[EMAIL PROTECTED]> wrote:
> >
> > Dont know. Cant understand what project icon means - paper box? But if
> > other are happy I will add them.
>
> My feeling is the same. Not sure if a 'inbox' or 'paper tray' is a
> ideal icon for project. It doesn't convey "project" to me.
>
> Graeme.
>
>
Does nobody others have opinion on this subject?


-- 
Laurent.

My Web : http://wile64.neuf.fr/
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] Another icons for Lazarus

2007-09-16 Thread wile64
>
> Thnaks for the good job.
> Maybe give the 40 41 and 50 a bit more contrast
>
> Marc
>
>
Thank you Marc, You are right. ;)


-- 
Laurent.

My Web : http://wile64.neuf.fr/
French Forum : http://lazforum-fr.tuxfamily.org/index.php
<><><><>

Re: [lazarus] IDE cannot find unit "oldlinux"

2007-09-16 Thread Mattias Gaertner
On Sun, 16 Sep 2007 22:42:09 +0400
12 12 <[EMAIL PROTECTED]> wrote:

> I replaced fpc2.0.4 with 2.2.0. After that i cannot compile my project
> because IDE says it cannot find unit oldlinux.
> At the same time i can see this unit in 
> "/usr/src/rpm/SOURCES/fpc/rtl/linux"
> What happened?

I don't know, why the source is still there, but the oldlinux.ppu is not
installed anymore, because it is deprecated. 
AFAIK baseunix contains many functions of oldlinux nowadays.


Mattias

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


Re: [lazarus] IDE cannot find unit "oldlinux"

2007-09-16 Thread Vincent Snijders

12 12 schreef:
Please start a new email for a new subject. Otherwise it ends up the 
previous thread in my email client (i.e. Mailing List).


Vincent

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


[lazarus] IDE cannot find unit "oldlinux"

2007-09-16 Thread 12 12

I replaced fpc2.0.4 with 2.2.0. After that i cannot compile my project
because IDE says it cannot find unit oldlinux.
At the same time i can see this unit in 
"/usr/src/rpm/SOURCES/fpc/rtl/linux"

What happened?

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


Re: [lazarus] Contribute Contactless Measurement Tool

2007-09-16 Thread 12 12

What's the status on this?


Sorry, temporarily i'm too busy in my current LUG and sober movement 
tasks.


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


Re: [lazarus] Lazarus crashes: Invalid floating point

2007-09-16 Thread Thierry Andriamirado
Le dimanche 16 septembre 2007 à 15:58 +0200, 13stica a écrit :
> For me it works ok, and I have latest ubuntu with latest fpc from trunk 
> and latest lazarus from svn trunk... only for info...

Thanks for the info, if this issue remains I'll try with the stable
fpc-2.2.0.x86_64 as I already downloaded it. Can't even think to get the
fpc's latest svn as these days my Internet access really s***s!

-- 
Linuxeries  http://linuxeries.blogspot.com
Toraka Bilaogy  http://torakabilaogy.blogspot.com

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


[lazarus] Lazdoc Editor craps Texts

2007-09-16 Thread Christian U.

The Lazdoc Editor makes form:

Following values are possible

bsNone - No window border appears
bsSingle - Single line border
bsSizeable - Normal window border the window is resizeable
bsDialog - The window is an dialog and not resizeable
bsToolWindow - The window appears as toolwindow and is not resizeable
bsSizeToolWin - The window appears as toolwindow and is resizeable

After jump to another declaration and jump back (save to xml and reload) 
this:


Following values are possible




- No window border appears
bsS
gle - Single line border
bsSi
able - Normal window border the window is resizeable
bsDia
g - The window is an dialog and not resizeable
bsTool
ndow - The window appears as toolwindow and is not resizeable
bsSizet
lWin - The window appears as toolwindow and is resizeable

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


Re: [lazarus] Lazarus crashes: Invalid floating point

2007-09-16 Thread 13stica
For me it works ok, and I have latest ubuntu with latest fpc from trunk 
and latest lazarus from svn trunk... only for info...


Thierry Andriamirado pravi:

Thanks for your time,

So from a svn version, gtk2 built, no additional package installed, and
a new auto-generated ~/.lazarus, it seems that the crash is caused by
some SGV handling within the openfile dlg.

After running Lazarus, I just clicked on the 'open project' menu item.

Here is the gdb's output:

GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "x86_64-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) break fpc_raiseexception
Breakpoint 1 at 0x425964
(gdb) run
Starting program: /usr/local/src/svn/lazarus/lazarus 
[Thread debugging using libthread_db enabled]

[New Thread 47919091388080 (LWP 8283)]
[Switching to Thread 47919091388080 (LWP 8283)]

Breakpoint 1, 0x00425964 in fpc_raiseexception ()
(gdb) cont
Continuing.
TApplication.IconChanged - TODO: convert this message...no
implementation in gtk or win32
NOTE : fichier de configuration codetools non trouvé. Valeurs par défaut
utilisées.
NOTE: help options config file not found - using defaults
TMainIDE.DoNewProject[New Thread 1082132800 (LWP 8295)]

Program received signal SIGFPE, Arithmetic exception.
0x2abd835e in ?? () from /usr/lib/librsvg-2.so.2
(gdb) backtrace
#0  0x2abd835e in ?? () from /usr/lib/librsvg-2.so.2
#1  0x2abdcebf in ?? () from /usr/lib/librsvg-2.so.2
#2  0x2abd84f1 in ?? () from /usr/lib/librsvg-2.so.2
#3  0x2abd19b2 in ?? () from /usr/lib/librsvg-2.so.2
#4  0x2abd2417 in ?? () from /usr/lib/librsvg-2.so.2
#5  0x2abd19b2 in ?? () from /usr/lib/librsvg-2.so.2
#6  0x2abdd828 in rsvg_handle_render_cairo_sub ()
   from /usr/lib/librsvg-2.so.2
#7  0x2abddcfe in rsvg_handle_get_pixbuf_sub ()
   from /usr/lib/librsvg-2.so.2
#8  0x2aab2fcd in ?? ()
   from /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
#9  0x2b9504026eb6 in gdk_pixbuf_loader_close ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#10 0x2b95043494e7 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x2b95043497ee in gtk_icon_info_load_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#12 0x2b950434b29a in gtk_icon_theme_load_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#13 0x2b9504334802 in gtk_file_system_volume_render_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#14 0x2b950431d6dc in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x2b9504324174 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x2b9504327e9a in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x2b9504a7b484 in g_object_newv ()
from /usr/lib/libgobject-2.0.so.0
#18 0x2b9504a7bf3e in g_object_new_valist ()
   from /usr/lib/libgobject-2.0.so.0
#19 0x2b9504a7c0e1 in g_object_new ()
from /usr/lib/libgobject-2.0.so.0
#20 0x2b950432b949 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x2b9504a7b484 in g_object_newv ()
from /usr/lib/libgobject-2.0.so.0
#22 0x2b9504a7beac in g_object_new_valist ()
   from /usr/lib/libgobject-2.0.so.0
#23 0x2b9504a7c0e1 in g_object_new ()
from /usr/lib/libgobject-2.0.so.0
#24 0x2b9504328533 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x2b9504a7b484 in g_object_newv ()
from /usr/lib/libgobject-2.0.so.0
#26 0x2b9504a7bf3e in g_object_new_valist ()
   from /usr/lib/libgobject-2.0.so.0
#27 0x2b9504a7c0e1 in g_object_new ()
from /usr/lib/libgobject-2.0.so.0
#28 0x2b9504328077 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x2b9504328225 in gtk_file_chooser_dialog_new ()
   from /usr/lib/libgtk-x11-2.0.so.0
#30 0x005efa98 in TGTK2WIDGETSET__INITIALIZEFILEDIALOG
(FILEDIALOG=)
at gtk2object.inc:747
#31 0x00622b86 in TGTKWIDGETSET__CREATECOMPONENT (SENDER=)
at gtkobject.inc:5166
#32 0x005ee9f5 in TGTK2WIDGETSET__CREATECOMPONENT (SENDER=)
at gtk2object.inc:312
#33 0x00661c50 in TGTKWSCOMMONDIALOG__CREATEHANDLE
(ACOMMONDIALOG=)
at gtkwsdialogs.pp:172
#34 0x005c8291 in TCOMMONDIALOG__EXECUTE (this=) at
commondialog.inc:35
#35 0x005c8850 in TFILEDIALOG__EXECUTE (this=) at
filedialog.inc:62
#36 0x00464588 in TMAINIDE__MNUOPENPROJECTCLICKED (SENDER=)
at main.pp:3154
#37 0x0070399b in TIDEMENUITEM__MENUITEMCLICK (SENDER=)
at menuintf.pas:511
#38 0x007072e9 in TIDEMENUCOMMAND__MENUITEMCLICK (SENDER=)
at menuintf.pas:1472
#39 0x0054f043 in TMENUITEM__CLICK (this=) at menuitem.inc:74
#40 0x0054f843 in TMENUITEM__DOCLICKED (MSG=) at
menuitem.inc:260
#41 0x00424c03 in SYSTEM_TOBJECT_$__DISPATCH$formal ()
#42 0x0064812d in DEL

Re: [lazarus] Lazarus crashes: Invalid floating point

2007-09-16 Thread Thierry Andriamirado
Thanks for your time,

So from a svn version, gtk2 built, no additional package installed, and
a new auto-generated ~/.lazarus, it seems that the crash is caused by
some SGV handling within the openfile dlg.

After running Lazarus, I just clicked on the 'open project' menu item.

Here is the gdb's output:

GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "x86_64-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) break fpc_raiseexception
Breakpoint 1 at 0x425964
(gdb) run
Starting program: /usr/local/src/svn/lazarus/lazarus 
[Thread debugging using libthread_db enabled]
[New Thread 47919091388080 (LWP 8283)]
[Switching to Thread 47919091388080 (LWP 8283)]

Breakpoint 1, 0x00425964 in fpc_raiseexception ()
(gdb) cont
Continuing.
TApplication.IconChanged - TODO: convert this message...no
implementation in gtk or win32
NOTE : fichier de configuration codetools non trouvé. Valeurs par défaut
utilisées.
NOTE: help options config file not found - using defaults
TMainIDE.DoNewProject[New Thread 1082132800 (LWP 8295)]

Program received signal SIGFPE, Arithmetic exception.
0x2abd835e in ?? () from /usr/lib/librsvg-2.so.2
(gdb) backtrace
#0  0x2abd835e in ?? () from /usr/lib/librsvg-2.so.2
#1  0x2abdcebf in ?? () from /usr/lib/librsvg-2.so.2
#2  0x2abd84f1 in ?? () from /usr/lib/librsvg-2.so.2
#3  0x2abd19b2 in ?? () from /usr/lib/librsvg-2.so.2
#4  0x2abd2417 in ?? () from /usr/lib/librsvg-2.so.2
#5  0x2abd19b2 in ?? () from /usr/lib/librsvg-2.so.2
#6  0x2abdd828 in rsvg_handle_render_cairo_sub ()
   from /usr/lib/librsvg-2.so.2
#7  0x2abddcfe in rsvg_handle_get_pixbuf_sub ()
   from /usr/lib/librsvg-2.so.2
#8  0x2aab2fcd in ?? ()
   from /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
#9  0x2b9504026eb6 in gdk_pixbuf_loader_close ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#10 0x2b95043494e7 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x2b95043497ee in gtk_icon_info_load_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#12 0x2b950434b29a in gtk_icon_theme_load_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#13 0x2b9504334802 in gtk_file_system_volume_render_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#14 0x2b950431d6dc in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x2b9504324174 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x2b9504327e9a in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x2b9504a7b484 in g_object_newv ()
from /usr/lib/libgobject-2.0.so.0
#18 0x2b9504a7bf3e in g_object_new_valist ()
   from /usr/lib/libgobject-2.0.so.0
#19 0x2b9504a7c0e1 in g_object_new ()
from /usr/lib/libgobject-2.0.so.0
#20 0x2b950432b949 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x2b9504a7b484 in g_object_newv ()
from /usr/lib/libgobject-2.0.so.0
#22 0x2b9504a7beac in g_object_new_valist ()
   from /usr/lib/libgobject-2.0.so.0
#23 0x2b9504a7c0e1 in g_object_new ()
from /usr/lib/libgobject-2.0.so.0
#24 0x2b9504328533 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x2b9504a7b484 in g_object_newv ()
from /usr/lib/libgobject-2.0.so.0
#26 0x2b9504a7bf3e in g_object_new_valist ()
   from /usr/lib/libgobject-2.0.so.0
#27 0x2b9504a7c0e1 in g_object_new ()
from /usr/lib/libgobject-2.0.so.0
#28 0x2b9504328077 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x2b9504328225 in gtk_file_chooser_dialog_new ()
   from /usr/lib/libgtk-x11-2.0.so.0
#30 0x005efa98 in TGTK2WIDGETSET__INITIALIZEFILEDIALOG
(FILEDIALOG=)
at gtk2object.inc:747
#31 0x00622b86 in TGTKWIDGETSET__CREATECOMPONENT (SENDER=)
at gtkobject.inc:5166
#32 0x005ee9f5 in TGTK2WIDGETSET__CREATECOMPONENT (SENDER=)
at gtk2object.inc:312
#33 0x00661c50 in TGTKWSCOMMONDIALOG__CREATEHANDLE
(ACOMMONDIALOG=)
at gtkwsdialogs.pp:172
#34 0x005c8291 in TCOMMONDIALOG__EXECUTE (this=) at
commondialog.inc:35
#35 0x005c8850 in TFILEDIALOG__EXECUTE (this=) at
filedialog.inc:62
#36 0x00464588 in TMAINIDE__MNUOPENPROJECTCLICKED (SENDER=)
at main.pp:3154
#37 0x0070399b in TIDEMENUITEM__MENUITEMCLICK (SENDER=)
at menuintf.pas:511
#38 0x007072e9 in TIDEMENUCOMMAND__MENUITEMCLICK (SENDER=)
at menuintf.pas:1472
#39 0x0054f043 in TMENUITEM__CLICK (this=) at menuitem.inc:74
#40 0x0054f843 in TMENUITEM__DOCLICKED (MSG=) at
menuitem.inc:260
#41 0x00424c03 in SYSTEM_TOBJECT_$__DISPATCH$formal ()
#42 0x0064812d in DELIVERMESSAGE (TARGET=) at gtkproc.inc:3722
#43 0x006540df in GTKACTIVATECB (WIDGET=) at gtkcallback.inc:336
#44 0x2b9504a767da in g_closure_invoke (

Re: [lazarus] Lazarus crashes: Invalid floating point

2007-09-16 Thread Mattias Gaertner
On Sat, 15 Sep 2007 21:58:38 +0300
Thierry Andriamirado <[EMAIL PROTECTED]> wrote:

> Hello all,
> 
> ok, I'm giving up! I'm using the last svn version of lazarus, and when
> compiled with gtk 2 lazarus crashes with this kind of error msg:
> 
> TApplication.HandleException Invalid floating point operation
>   Stack trace:
>   $2ABD835E  CODEEXPLOPTS_finalize,  line 104 of
> debugoptionsfrm.pas
>   $4021  CODEEXPLOPTS_finalize,  line 104 of
> debugoptionsfrm.pas
> 
> Note that debugoptionsfrm is not the only one: some packages, if
> installed, can cause this crash too (sqlite3...) as soon as lazarus is
> launched. 
> 
> And it crashes every time I open or save a file within lazarus (the
> gtk2 open/save dlg?)
> 
> It doesn't crash:
> * When Compiled with gtk1,
> * When launched by './lazarus --skip-last-project' and I don't open
> any file/project nor save one
> * with Mandriva 2007, i386
> 
> My config:
> Ubuntu feisty, 64bit.
> fp-*.deb: 2.0.4-5 (same problem with a home-compiled fpc)
> gtk2-engines-1:2.10.1-0ubuntu1 and so on
> 
> Any tip?

Please start lazarus with gdb, reproduce the crash and send us the
backtrace. 

cd path/to/lazarus/sources
gdb lazarus
run
... reproduce crash 
backtrace

See also
http://wiki.lazarus.freepascal.org/Creating_a_Backtrace_with_GDB#Creating_a_Backtrace


Mattias

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