Re: [Lazarus] Project conversion Delphi - FreePascal: success!

2011-01-06 Thread Vincent Snijders
2011/1/6 Salvatore Coppola coppolastu...@gmail.com:


 Hi Jansen
 although it is no longer my main job I am geotechnical engineer and I'm
 curious on the finite elements application: did you do it? is it in pascal?
 what is his name?

If l interpreted the screenshots correctly, it is plaxis:
http://www.plaxis.nl/page/home/

Vincent

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] What are widgets in lazarus?

2011-01-06 Thread Mark Morgan Lloyd

waldo kitty wrote:

On 1/5/2011 08:47, zeljko wrote:

On Wednesday 05 of January 2011 09:39:52 Graeme Geldenhuys wrote:

Op 2011-01-05 10:23, Bo Berglund het geskryf:

What is a widget and how does it relate to my aim of making a
cross-platform program?


widget = component


I'd say that widget = TWinControl (and others derived from TWinControl of
course).


FWIW and from what i've learned, this is accurate... more accurate than 
what other stuff i've seen and it pertains directly to Lazarus' usage...


it may also be stated as

  widget = TWinControl and descendants


That's OK in the context of FPC and Lazarus, but Widget and widget 
set are generally-understood terms in the overall-context of unix-like 
operating systems.


If Bo goes to his system supplier and asks which widget set is installed 
and they ask what he means, he isn't going to get very far by starting 
to talk about TWinControl etc. Instead he needs to say something along 
the lines of what's on there- GTK or Qt, and what version?.


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

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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fpGUI

2011-01-06 Thread Mark Morgan Lloyd

Graeme Geldenhuys wrote:


use fpGUI directly (no LCL involvement). I do thelatter, and

 simply use Lazarus IDE as my editor.

Which I suspect is not a viable option for comparative beginners (at 
least as far as Lazarus is concerned) such as Bo and myself, and which 
potentially makes it far more difficult for other users to help with 
problems.


Graeme, please excuse my not quoting your entire message for context but 
for some reason your postings are appearing without line breaks, i.e. 
each para is on a single long line.


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

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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fpGUI

2011-01-06 Thread Mark Morgan Lloyd

José Mejuto wrote:

MMLl OK, but is the implementation status at
MMLl 
http://wiki.lazarus.freepascal.org/Roadmap#Status_of_components_on_each_widgetset
MMLl up to date? I did earlier say that the situation was unclear, and that
MMLl table hardly helps matters.

I think I was the last one that commit something to LCLfpGUI 6 months
ago. Controls in standard tab should work (with some problems maybe)
but the components in other tabs could or could not work because I
started working from the standard ones. There are still some bugs in
the standard ones but stopped updates mainly because fpGUI does not
have a graphics support defined (I think it is ready now) and many
controls needs some kind of graphics, so pause the update.

I'm pretty sure that I did some bad decisions in the update, so please
if somebody see an implementation design bug post a bug in the
tracker, or even bugs in the standard tab components.


Thanks José, I really must find time to try it out since it looks 
extremely useful.


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

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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Project conversion Delphi - FreePascal: success!

2011-01-06 Thread Birger Jansen
 If l interpreted the screenshots correctly, it is plaxis:
 http://www.plaxis.nl/page/home/

You are correct, it is Plaxis. I did not do any work on the application itself, 
just did a pilot conversion to see how portable the code is to FPC.

I believe this application, like many in its genre, works as 3 separate 
programs: input, processing, output. Processing is done in (I think) Fortran 
and the rest is Delphi. For this pilot I worked on the output only.

Kind regards,
  Birger



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] What are widgets in lazarus?

2011-01-06 Thread zeljko
On Thursday 06 of January 2011 09:35:25 Mark Morgan Lloyd wrote:
 That's OK in the context of FPC and Lazarus, but Widget and widget
 set are generally-understood terms in the overall-context of unix-like
 operating systems.

That's ok in any context. Widget = Visual control in any gui library (at least 
under unix), so under qt widget = QWidget and descendants, under gtk widget = 
GtkWidget and descendants, under lazarus Widget = TWinControl and descendants.
What's unclear here ? That we have TWinControl instead of TWidget ?

 
 If Bo goes to his system supplier and asks which widget set is installed
 and they ask what he means, he isn't going to get very far by starting
 to talk about TWinControl etc. Instead he needs to say something along
 the lines of what's on there- GTK or Qt, and what version?.

Yes, WidgetSet is not TWinControl (so no need to explain what's TWinControl 
etc) , but gui library which provide native widgets, so correct answer to such 
question could be qt,gtk,win32,carbon,fpgui etc.


zeljko

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Rxnew component install error on amd64

2011-01-06 Thread alexs

Please, install rx.lpk from lazarus/components/rx.

06.01.2011 04:58, Diwakoe пишет:

2011/1/5 alexsalex...@yandex.ru:

Yes.

05.01.2011 18:31, Diwakoe пишет:

Is the svn version same with snapshot version?

Thanks,
Diwa
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



I'm already installed snapshot version:
lazarus-0.9.31.28842-20101231.amd64.deb.tar and
fpc-2.4.2-0.amd64.deb.tar install process goes well but when try to
install rxnew svn version package error happen (attached) Broken
Dependency, A Required packages was not found. See package graph
there is no rx package found.

Is there any new snapshot version which is contain rx package?

Thanks,
Diwa


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fpGUI

2011-01-06 Thread Graeme Geldenhuys
Op 2011-01-06 10:41, Mark Morgan Lloyd het geskryf:
 Which I suspect is not a viable option for comparative beginners (at 
 least as far as Lazarus is concerned) such as Bo and myself, and which 
 potentially makes it far more difficult for other users to help with 
 problems.

Not quite sure why you say more difficult? To write applications for LCL
or fpGUI, you need to type text into the source editor. :) For UI
Designing, do it via code, or the easy way, using a UI designer. Both LCL
and fpGUI has visual UI designers (and fpGUI's one integrates well with
Lazarus IDE): click to select a new widget, click on designer form to place
it, drag and resize the widget to desired location and size, then save
form. That's all pretty easy to me. Yes fpGUI has differences, just like
LCL has differences to VCL - but overall, things work much the same (same
programming language, similar components, similar events, etc).

Here is a short animated gif showing form designing with fpGUI's UI
Designer. 1 minute screencast, 1.1MB download.

  http://opensoft.homeip.net:8080/~graemeg/editform.gif


 for some reason your postings are appearing without line breaks, i.e. 
 each para is on a single long line.

That's weird. I use Mozilla Thunderbird, and sometimes Gmail web - both
very common email clients. Maybe your email client (Icedove?) doesn't
support flow-wrapping (text gets auto wrapped by email client - no hard
line breaks). Flow-wrapping (or whatever it is called) is quite common
these days, and used by most email clients.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fpGUI

2011-01-06 Thread Henry Vermaak

On 06/01/11 10:12, Graeme Geldenhuys wrote:


That's weird. I use Mozilla Thunderbird, and sometimes Gmail web - both
very common email clients. Maybe your email client (Icedove?) doesn't
support flow-wrapping (text gets auto wrapped by email client - no hard
line breaks). Flow-wrapping (or whatever it is called) is quite common
these days, and used by most email clients.


Icedove is Thunderbird without the non-free bits, basically.  I use it 
too, and it seems to work fine with your emails.  Perhaps I have a later 
version than Mark.


Henry

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fpGUI

2011-01-06 Thread Graeme Geldenhuys
Op 2011-01-06 12:15, Henry Vermaak het geskryf:
 
 Icedove is Thunderbird without the non-free bits, basically.  I use it 
 too, and it seems to work fine with your emails.  Perhaps I have a later 
 version than Mark.

Thanks Henry. I see you are using v3.0.11 of Icodove. Mark is using Icedove
1.5.0.14eol (X11/20090106) - which seems rather old (2 major version back)
compared to yours, so that is probably the problem then.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Rxnew component install error on amd64

2011-01-06 Thread Diwakoe
2011/1/6 alexs alex...@yandex.ru:
 Please, install rx.lpk from lazarus/components/rx.


There is no lazarus/components/rx found, I mean only this component is
missing. I try to find and only found this:

/usr/lib/lazarus/0.9.31/components/rtticontrols/runtimetypeinfocontrols.lpk
/usr/lib/lazarus/0.9.31/components/synedit/synedit1.lpk
/usr/lib/lazarus/0.9.31/components/sqlite/sqlitelaz.lpk
/usr/lib/lazarus/0.9.31/components/sqlite/sqlite3laz.lpk
/usr/lib/lazarus/0.9.31/components/lazcontrols/lazcontrols.lpk
/usr/lib/lazarus/0.9.31/components/memds/memdslaz.lpk
/usr/lib/lazarus/0.9.31/components/todolist/todolistlaz.lpk
/usr/lib/lazarus/0.9.31/components/codetools/codetools.lpk
/usr/lib/lazarus/0.9.31/components/turbopower_ipro/turbopoweripro.lpk
/usr/lib/lazarus/0.9.31/components/turbopower_ipro/design/turbopoweriprodsgn.lpk
/usr/lib/lazarus/0.9.31/components/tdbf/dbflaz.lpk
/usr/lib/lazarus/0.9.31/components/projecttemplates/projtemplates.lpk
/usr/lib/lazarus/0.9.31/components/printers/printer4lazarus.lpk
/usr/lib/lazarus/0.9.31/components/printers/design/printers4lazide.lpk
/usr/lib/lazarus/0.9.31/components/jcf2/IdePlugin/lazarus/jcfidelazarus.lpk
/usr/lib/lazarus/0.9.31/components/fpcunit/ide/fpcunitide.lpk
/usr/lib/lazarus/0.9.31/components/fpcunit/fpcunittestrunner.lpk
/usr/lib/lazarus/0.9.31/components/fpcunit/console/fpcunitconsolerunner.lpk
/usr/lib/lazarus/0.9.31/components/tachart/tachartlazaruspkg.lpk
/usr/lib/lazarus/0.9.31/components/lazreport/source/lazreport.lpk
/usr/lib/lazarus/0.9.31/components/lazreport/source/addons/pdfexport/lazreportpdfexport.lpk
/usr/lib/lazarus/0.9.31/components/lazreport/source/addons/addfunction/lr_add_function.lpk
/usr/lib/lazarus/0.9.31/components/chmhelp/packages/help/lhelpcontrolpkg.lpk
/usr/lib/lazarus/0.9.31/components/chmhelp/packages/idehelp/chmhelppkg.lpk
/usr/lib/lazarus/0.9.31/components/sqldb/sqldblaz.lpk
/usr/lib/lazarus/0.9.31/components/sdf/sdflaz.lpk
/usr/lib/lazarus/0.9.31/examples/idequickfix/quickfixexample.lpk
/usr/lib/lazarus/0.9.31/examples/designerbaseclass/designbaseclassdemopkg.lpk
/usr/lib/lazarus/0.9.31/examples/designnonlcl/notlcldesigner.lpk
/usr/lib/lazarus/0.9.31/examples/codetools/jumptoimplementation/jumptoimplementation.lpk
/usr/lib/lazarus/0.9.31/examples/dockmanager/package/easydockmgr.lpk
/usr/lib/lazarus/0.9.31/examples/dockmanager/design/easydockmgrdsgn.lpk
/usr/lib/lazarus/0.9.31/examples/anchordocking/design/anchordockingdsgn.lpk
/usr/lib/lazarus/0.9.31/examples/anchordocking/anchordocking.lpk
/usr/lib/lazarus/0.9.31/examples/codepageconverter/filefind/filefindlaz.lpk
/usr/lib/lazarus/0.9.31/examples/exploremenu/exploreidemenu.lpk
/usr/lib/lazarus/0.9.31/examples/gridexamples/grid_semaphor/semaphorgridlpk.lpk

Any hints please.

Thanks,
Diwa
-- 
Semua rasa ada disini
http://www.teoteblung.co.cc

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] What are widgets in lazarus?

2011-01-06 Thread Michael Schnell

On 01/05/2011 02:23 PM, Bo Berglund wrote:

What about making a program for Linux? Do we have to compile the same
program in different versions for different desktop managers on Linux?

That depends on what you want to accomplish.

AFAIK, if you use the GTK or QT widget type, The program will 
auto-adopt to the appropriate Look and fell of the *external* widget 
set used, including adhering to global design settings made to same and 
future updates.


AFAIK, the FPGUI  Widget Type does not use an external widget set, but 
directly accesses the X server and thus the program will look the same 
everywhere and always.


-Michael
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] What are widgets in lazarus?

2011-01-06 Thread Michael Schnell

On 01/05/2011 02:47 PM, zeljko wrote:

I'd say that widget = TWinControl (and others derived from TWinControl of
course).


OK, but rater irrelevant regarding Lazarus.

Here *Widget Type* = TWinControl + all handling of External Events.

Handling of External (Main Thread) Events means: allowing the main 
thread to do non busy waiting for something and being waked if something 
happens and execute the appropriate event handler.



Background:

If the program is not a command line tool, the main thread needs to be 
waiting nearly always and needs to be waked whenever something happens 
that needs attention.


Theses external events are scheduled by the GUI (key and mouse 
triggered events), inter-process or inter-thread communication, Timers, 
etc, you name it. They need to be queued, so that the main thread can 
handle them one after the other (see TApplication.ProcessMessages).


As the GUI events is the by far most complex class of external events, 
and the GUI stuff is handled in the Widget Set code in the LCL, the 
other external events are dealt with, in theses files as well. 
(unfortunately) there is no common implementation of non-GUI external 
events that is used by multiple Widget sets. This makes the creation of 
Widget sets that are independent of an external widget set (such as 
Windows, GTK, or QT) a lot more difficult and less compatible.


OTOH, FPGUI seems to succeed on this behalf.

-Michael
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Rxnew component install error on amd64

2011-01-06 Thread Vincent Snijders
2011/1/6 Diwakoe diwa...@gmail.com:
 2011/1/6 alexs alex...@yandex.ru:
 Please, install rx.lpk from lazarus/components/rx.


 There is no lazarus/components/rx found, I mean only this component is
 missing. I try to find and only found this:

In svn it is at:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/components/rx/?diff_format=lroot=lazaruslimit_changes=0

Maybe you found an omission in the packaging? IOW, how did you install Lazarus?

Vincent

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fpGUI

2011-01-06 Thread Mark Morgan Lloyd

Henry Vermaak wrote:

On 06/01/11 10:12, Graeme Geldenhuys wrote:


That's weird. I use Mozilla Thunderbird, and sometimes Gmail web - both
very common email clients. Maybe your email client (Icedove?) doesn't
support flow-wrapping (text gets auto wrapped by email client - no hard
line breaks). Flow-wrapping (or whatever it is called) is quite common
these days, and used by most email clients.


Icedove is Thunderbird without the non-free bits, basically.  I use it 
too, and it seems to work fine with your emails.  Perhaps I have a later 
version than Mark.


[OT] Thanks for that Henry. I must say however that (looking back over 
the last day in this ML and elsewhere) it's only Graeme's postings that 
appear to be causing problems, and the reader I'm using is from Debian 
Etch on my desktop machine which for various reason's isn't going to 
be upgraded in the short term.


The problems are happening when the body of the message looks like this

Op 2011-01-05 15:05, Mark Morgan Lloyd het geskryf:  Right, so you're 
saying that [...]


but not when it looks like this

Op 2011-01-05 15:23, Bo Berglund het geskryf:
 So basically a widget set is a definition on what kind of graphics
 environment is used on the target system then?

Please excuse the micro-rant but I that the fewer people who feel 
mis-understood and under-appreciated the better, and making sure that 
posts are readable by everybody is a good first step :-)


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

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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] What are widgets in lazarus?

2011-01-06 Thread Michael Schnell

On 01/05/2011 11:39 PM, Graeme Geldenhuys wrote:

Adding a Linux framebuffer backend to fpGUI is already on my todo
list. I hope to get it done this year, so then fpGUI can compete on
that level too. :)
Did you consider Nano-X, too ? ( see http://microwindows.org/, download: 
ftp://microwindows.org/pub/microwindows/microwindows-full-0.92.tar.gz, 
mailing List nano...@linuxhacker.org )


Maybe you can use this instead of your own Framebuffer, as they provide 
a framebuffer-implementation in their software.


-Michael


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fpGUI

2011-01-06 Thread Graeme Geldenhuys
Op 2011-01-06 12:48, Mark Morgan Lloyd het geskryf:
 
 Op 2011-01-05 15:23, Bo Berglund het geskryf:
   So basically a widget set is a definition on what kind of graphics
   environment is used on the target system then?

Not sure how this is going to look at your end, but your second example of
quoted text, is exactly how I see it on my side, when I reply to any
message. Even if the original message was in HTML format, my email client
(Thunderbird) is setup to only use plain/text emails (I personally hate
HTML emails).


Attached is a screenshot of what I see, when I wrote this message.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

attachment: Selection_012.png--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fpGUI

2011-01-06 Thread Marcos Douglas
On Thu, Jan 6, 2011 at 7:12 AM, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:
 Op 2011-01-06 10:41, Mark Morgan Lloyd het geskryf:
 Which I suspect is not a viable option for comparative beginners (at
 least as far as Lazarus is concerned) such as Bo and myself, and which
 potentially makes it far more difficult for other users to help with
 problems.

 Not quite sure why you say more difficult? To write applications for LCL
 or fpGUI, you need to type text into the source editor. :) For UI
 Designing, do it via code, or the easy way, using a UI designer. Both LCL
 and fpGUI has visual UI designers (and fpGUI's one integrates well with
 Lazarus IDE): click to select a new widget, click on designer form to place
 it, drag and resize the widget to desired location and size, then save
 form. That's all pretty easy to me. Yes fpGUI has differences, just like
 LCL has differences to VCL - but overall, things work much the same (same
 programming language, similar components, similar events, etc).

 Here is a short animated gif showing form designing with fpGUI's UI
 Designer. 1 minute screencast, 1.1MB download.

  http://opensoft.homeip.net:8080/~graemeg/editform.gif

Very good! I had not seen yet.
It has more components?

Marcos Douglas

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] What are widgets in lazarus?

2011-01-06 Thread Graeme Geldenhuys
Op 2011-01-06 13:15, Michael Schnell het geskryf:
 Did you consider Nano-X, too ? ( see http://microwindows.org/, download:
 ftp://microwindows.org/pub/microwindows/microwindows-full-0.92.tar.gz,
 mailing List nano...@linuxhacker.org )

 Maybe you can use this instead of your own Framebuffer, as they provide
 a framebuffer-implementation in their software.

I remember reading about Nano-X years ago. I'll take another look. For the
framebuffer backend, I was considering using DirectFB, which already has
the notion of windows and events. The other idea was using SDL, which I
believe also works with Linux Framebuffer. The benefit of SDL is that it
will automatically work on other platforms too (eg: OS/2, Haiku, etc... any
platform that supports SDL). The downside means one extra requirement,
installing SDL, though I think SDL is quite standard nowadays and included
in most distros.

I'll research the subject more before I write any code.



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] What do I need to do to install and use JEDI-SDL-v1.0

2011-01-06 Thread Dominique Louis

Hi Peter,
  I'm not at home right now ( still on holiday ), but can you send me a 
direct email next Thursday and I'll send you the latest JEDI-SDL files 
and see if we can get it working on your box.



Dominique Louis.

On 06/01/2011 06:11, Peter Williams wrote:

Hi All,

What do I need to do to install and use JEDI-SDL-v1.0 or which ever is 
latest?


I have downloaded JDL-SDLv1.0.zip and unarchived it. It is in Delphi 
format and free pascal and lazarus.


See below that I have tried to run the fpc-install.sh file (with the 
command sh ./fpc-install.sh ).


j...@juni ~/Public/Lazarus_source_code/JEDI-SDLv1.0/lazarus $ sh 
./fpc-install.sh

: not foundll.sh: 14:
: not foundll.sh: 17:
: not foundll.sh: 22: {
^C:
(that´s where it hung and I pressed control+C)

I am attaching both the fpc-install.sh and Getting Started.html. I 
have printed a hard copy of the latter and it says to click on the 
Delphi Tools / Environment Options menu then select the Library tab 
then click on the ellipsis for Library Path. This is different in my 
copy of Lazarus 0.9.28.2 for Linux.


Any help will be welcome. Thanks in advance.
 _
( Swerve me? The path to my fixed purpose )
( is laid with iron rails, whereon my )
( soul is grooved to run. Over unsounded  )
( gorges, through the rifled hearts of)
( mountains, under torrents' beds,)
( unerringly I rush!  )
( )
( -- Captain Ahab, Moby Dick)
 -
  o
   o   \_\__/_/
o  \__/
   (oo)\___
   (__)\   )\/\
   ||w |
   || ||
j...@juni ~ $ ls
Desktop   lazarus success with wine 1.3
Documents 
Life_the_Universe_and_Everything3.zip.html.txt

Downloads Music
Dropbox   Pictures
google_analyitics.zip Public
jre1.6.0_23   Templates
jUploadr-1.1.2-linuxGTK-i386  Uploads
lazarus   Videos
j...@juni ~ $ cd Public
j...@juni ~/Public $ cd Lazarus_source_code
j...@juni ~/Public/Lazarus_source_code $ cd JEDI-SDLv1.0
j...@juni ~/Public/Lazarus_source_code/JEDI-SDLv1.0 $ cd lazarus
j...@juni ~/Public/Lazarus_source_code/JEDI-SDLv1.0/lazarus $ ls
Cal3DNewton SDL_flicSDL_Sound
DemosODESDL_Gfx SDLSpriteEngine
DocumentationOpenGL SDL_Image   SDL_ttf
fmod PixelPrachtFX  sdlinput.pas.patch  Setup
fpc-install.sh   SDLSDL_Mixer   SFont
HawkVoiceSDLCtrls   SDLMonoFontssmpeg
JEDI-SDL-README.txt  SDLFilter  SDL_Net team_SDL.whtm
j...@juni ~/Public/Lazarus_source_code/JEDI-SDLv1.0/lazarus $ sh 
./fpc-install.sh

: not foundll.sh: 14:
: not foundll.sh: 17:
: not foundll.sh: 22: {
^C:
j...@juni ~/Public/Lazarus_source_code/JEDI-SDLv1.0/lazarus $

Best Regards,

PEW


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Is there a tool to list all the string literals in your application?

2011-01-06 Thread Marco van de Voort
On Tue, Jan 04, 2011 at 01:27:26PM +, Frank Church wrote:
 Is there a tool to list all the string literals in your application?
 
 I want to list all the strings in my app and save them in a file or look up
 table from which I can change them or translate them
 to a different language if necessary.

That has all been done, have a look at dxgettext.
 

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Can't find unit contnrs used by Masks

2011-01-06 Thread Michael Schnell

On 01/05/2011 11:37 AM, Kjow wrote:

If I understood what you need, in Build profiles, you can choose what
build or not...
Sorry for having bothered you with this. Silly me did not see the right 
tab of the configure build  dialog that gets me to the advanced options.


Now I switched off building the examples and I do have a newly compiled 
Lazarus.


But when I create a new application and just compile it without any 
editing I get



SIGSEGV

in

SYSTEM_FPC_CPUCODEINIT (179)
at

fpc_ansistr_decr_ref


Interestingly, I tried to compile an old testing project and this does 
run fine.




Any ideas ?

Thanks alot !

-Michael

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Auto-completion fix suggested for 0.9.30

2011-01-06 Thread Alexander Klenin
I nominate http://bugs.freepascal.org/view.php?id=18416
since it is a regression and have a patch.

-- 
Alexander S. Klenin

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Auto-completion fix suggested for 0.9.30

2011-01-06 Thread Joost van der Sluis
On Fri, 2011-01-07 at 02:49 +1000, Alexander Klenin wrote:
 I nominate http://bugs.freepascal.org/view.php?id=18416
 since it is a regression and have a patch.

As you already now, nominations must go here:
http://wiki.lazarus.freepascal.org/Lazarus_0.9.30_release_plan#Merge_revisions_from_trunk

Joost


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Auto-completion fix suggested for 0.9.30

2011-01-06 Thread Alexander Klenin
On Fri, Jan 7, 2011 at 04:17, Joost van der Sluis jo...@cnoc.nl wrote:
 On Fri, 2011-01-07 at 02:49 +1000, Alexander Klenin wrote:
 I nominate http://bugs.freepascal.org/view.php?id=18416
 since it is a regression and have a patch.

 As you already now, nominations must go here:
 http://wiki.lazarus.freepascal.org/Lazarus_0.9.30_release_plan#Merge_revisions_from_trunk


That page requires a revision, which did not existed at the time I
wrote the mail.
I did not know that Mattias will apply the patch so quickly ;-)
Added now.

-- 
Alexander S. Klenin

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] AnchorSide clarification

2011-01-06 Thread Mattias Gaertner
On Sat, 01 Jan 2011 14:28:08 +0100
Hans-Peter Diettrich drdiettri...@aol.com wrote:

 The FPDoc description of TAnchorSide looks wrong to me. 

I improved it.

 IMO it should 
 reflect the following:
 
 Every side of a TControl can be anchored to another control, as 
 described by TControl.AnchorSides[side].
 
 TAnchorSide.Owner is the control *to be* anchored.
 [should read: Control]
 [ctrl.AnchorSide[side].Owner = ctrl]

True.

 
 TAnchorSide.Kind is the control side (index in AnchorSides).
 [should read: ControlSide]
 [ctrl.AnchorSide[side].Kind = side]

Yes.

 
 TAnchorSide.Control is the anchor control,
 [should read: AnchorControl]
 
 and TAnchorSide.Side is the side of that control, *to* which Owner is 
 anchored or aligned (plus asrCenter).
 [should read: AlignTo]

Yes, although 'aligned' can be confused with the Align property, so I
avoid this in this context.

 
 If this is correct, the FPDoc should be updated accordingly.
 
 
 This is how IMO a control can be anchored:
 
 Normally the TControl.Top/Left is the absolute control origin within its 
 Parent, Width/Height is the absolute extent (size) of the control.

... within its Parent client area, ...


 The sides of a control can be anchored to its Parent (ClientRect) sides, 
 as specified by TControl.Anchors. For every such anchored side the 
 distance to the Parent.ClientRect is preserved when the Parent is resized.

Yes.

 
 Lazarus adds another anchoring method to beforementioned Delphi 
 compatible anchoring:
 
 AnchorSides[] allow to anchor the control to other controls (siblings 
 only?).

Siblings and Parent.


 For every side a TAnchorSide object can specify the control and its 
 side, to which the control's side is anchored. For every such anchored 
 side the distance to the anchor control is preserved, as specified in 
 the control's BorderSpacing.

yes.
This is explained with examples here:
http://wiki.lazarus.freepascal.org/Autosize_/_Layout#Anchor_Sides


Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Help building Lazarus in Linux64

2011-01-06 Thread José Mejuto
Hello Lazarus-List,

I'm trying to setup an Ubuntu10/x64 machine with Lazarus SVN and fpc
SVN. For fpc SVN no serious problem, installed a basic 2.4.2 with rtl
and compiler from .deb and compiled the 2.5.1 SVN, and installed in a
folder under my home.

So fpc is installed in /home/joshy/pascal/fpcbin

And here is the problem, after solve the fpc.cfg location to be used
:) I try to make the Lazarus so used this line:

make bigide FPC=/home/joshy/pascal/fpcbin/lib/fpc/2.5.1/ppcx64

It stops with: [0.055] Can't find unit system used by AllLCLUnits
so I added the OPT=-va to see where it search the files. At the
beginning everything looks fine, with lines like:

[0.047] found source file name alllclunits.pp

but in the ppcx86 execution I saw something strange from my point of
view:

[0.047] Free Pascal Compiler version 2.5.1 [2011/01/06] for x86_64
[0.047] Copyright (c) 1993-2010 by Florian Klaempfl
[0.047] Path /usr/lib/fpc/2.5.1/units/x86_64-linux/rtl/ not found

/usr/lib/... 

A bit later everything starts to be not found messages :-?

What I'm doing wrong ? I can attach my fpc.cfg but I think it is right
and there is no reference to /usr/lib/ nowhere in the cfg.

-- 
Best regards,
 José


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] invisible break points??

2011-01-06 Thread David Emerson
I am having a very strange and frustrating experience with lazarus, in my fpGUI 
app.

When running, after pressing a button in my app which calls a process, the app 
seems to freeze up. It just sits there, unresponsive. My program has no 
breakpoints in it.

The only way I can get it to move is by *adding* a breakpoint, somewhere within 
the code that it is waiting to execute. Then it stops at that breakpoint. I can 
remove the breakpoint, tell it to run, and it continues on its merry way.

If my program *does* have breakpoints in it, it will not get to them. Lazarus 
seems to need to have a breakpoint *added* into the code, *during* the run, 
before it will proceed.

I'm only seeing this with one project. Within that project it is intermittent.

Has anyone else seen anything like this? I guess I'd better report it on 
mantis...

version 0.9.29-0-20101231, from debian packages on freepascal.hu
i386-linux-gtk 2

Cheers,
David


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Help building Lazarus in Linux64

2011-01-06 Thread Andrew Haines
On 01/06/11 15:19, José Mejuto wrote:
 Hello Lazarus-List,
 
 I'm trying to setup an Ubuntu10/x64 machine with Lazarus SVN and fpc
 SVN. For fpc SVN no serious problem, installed a basic 2.4.2 with rtl
 and compiler from .deb and compiled the 2.5.1 SVN, and installed in a
 folder under my home.
 
 So fpc is installed in /home/joshy/pascal/fpcbin
 
 And here is the problem, after solve the fpc.cfg location to be used
 :) I try to make the Lazarus so used this line:
 
 make bigide FPC=/home/joshy/pascal/fpcbin/lib/fpc/2.5.1/ppcx64
 
 It stops with: [0.055] Can't find unit system used by AllLCLUnits
 so I added the OPT=-va to see where it search the files. At the
 beginning everything looks fine, with lines like:
 
 [0.047] found source file name alllclunits.pp
 
 but in the ppcx86 execution I saw something strange from my point of
 view:
 
 [0.047] Free Pascal Compiler version 2.5.1 [2011/01/06] for x86_64
 [0.047] Copyright (c) 1993-2010 by Florian Klaempfl
 [0.047] Path /usr/lib/fpc/2.5.1/units/x86_64-linux/rtl/ not found
 
 /usr/lib/... 
 
 A bit later everything starts to be not found messages :-?
 
 What I'm doing wrong ? I can attach my fpc.cfg but I think it is right
 and there is no reference to /usr/lib/ nowhere in the cfg.
 


execute /home/joshy/pascal/fpcbin/lib/fpc/2.5.1/ppcx64 -va | grep
fpc.cfg from console to see which config file it is loading.

Then check the paths in that config file.

Regards,

Andrew


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Help building Lazarus in Linux64

2011-01-06 Thread José Mejuto
Hello Andrew,

Thursday, January 6, 2011, 10:02:21 PM, you wrote:

AH execute /home/joshy/pascal/fpcbin/lib/fpc/2.5.1/ppcx64 -va | grep
AH fpc.cfg from console to see which config file it is loading.
AH Then check the paths in that config file.

That was my first check ;) It reads the config from /home/joshy/ and
the paths in screen are the ones expected /home/joshy/fpcbin/

When I'll be back in the development computer (maybe one hour) I'll
attach a complete output for make bigide trying to use this fpc
compilation.

-- 
Best regards,
 José


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] invisible break points??

2011-01-06 Thread Martin

On 06/01/2011 20:51, David Emerson wrote:

I am having a very strange and frustrating experience with lazarus, in my fpGUI
app.

When running, after pressing a button in my app which calls a process, the app
seems to freeze up. It just sits there, unresponsive. My program has no
breakpoints in it.
You mean your app forks a new process (or executes another app as new 
process)?



The only way I can get it to move is by *adding* a breakpoint, somewhere within
the code that it is waiting to execute. Then it stops at that breakpoint. I can
remove the breakpoint, tell it to run, and it continues on its merry way.

very strange...


If my program *does* have breakpoints in it, it will not get to them. Lazarus
seems to need to have a breakpoint *added* into the code, *during* the run,
before it will proceed.


version of gdb?

You should at least attach the output of the debug output window (from 
view / debug windows)


Also open the breakpoint window and check there is no other breakpoint 
(even so, if there was, and if it was hit, it should stop there)


Also start Lazarus from console, and watch for any output of the IDE. It 
may report something there


32 or 64 bit? or maybe a mix? 64 bit system, but running 32bit apps?

Martin


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fpGUI

2011-01-06 Thread Pew (piffle.the.cat)

Hi Graeme

On 01/06/2011 09:12 PM, Graeme Geldenhuys wrote:

Here is a short animated gif showing form designing with fpGUI's UI
Designer. 1 minute screencast, 1.1MB download.

   http://opensoft.homeip.net:8080/~graemeg/editform.gif


Other than the obvious use of free pascal (fp ide, I think) what 
software did you use to capture the screen images and save them as an 
animated gif image? Was there any extra work for you to make it a self 
repeating/looping animated gif ?



Regards,
   - Graeme -

Pew  :-)

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Is there a tool to list all the string literals in your application?

2011-01-06 Thread Thierry Coq

On 04/01/2011 14:27, Frank Church wrote:


Is there a tool to list all the string literals in your application?
You might want to look at Pascal Analyzer. I think one of its tools 
lists all strings (Literal Strings Report). See here:

http://www.peganza.com/PALHelp/index.html?identifiers_report.htm

Thierry.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Is there a tool to list all the string literals in your application?

2011-01-06 Thread Martin

On 04/01/2011 13:27, Frank Church wrote:


Is there a tool to list all the string literals in your application?


What about code explorer? It has a secion code observer, which has 
unnamed constants.
It's not only strings, true, it's other types too. But it is easy to 
distinguish the strings.


Also it only shows strings that are not constants. But if you have any 
constants, with sting data, you just need to also look at your constant 
sections.


Martin

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fpGUI

2011-01-06 Thread Paul Breneman

Pew (piffle.the.cat) wrote:

Hi Graeme

On 01/06/2011 09:12 PM, Graeme Geldenhuys wrote:

Here is a short animated gif showing form designing with fpGUI's UI
Designer. 1 minute screencast, 1.1MB download.

   http://opensoft.homeip.net:8080/~graemeg/editform.gif


Other than the obvious use of free pascal (fp ide, I think) what 
software did you use to capture the screen images and save them as an 
animated gif image? Was there any extra work for you to make it a self 
repeating/looping animated gif ?



Regards,
   - Graeme -

Pew  :-)


The IDE you saw was the fpGUI uidesigner.  To try it yourself you can 
download a 2-3 MB zip from this page:

  http://www.turbocontrol.com/easyfpgui.htm

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fpGUI

2011-01-06 Thread Graeme Geldenhuys
On 6 January 2011 23:36, Pew (piffle.the.cat)
piffle.the@iinet.net.au wrote:
 Other than the obvious use of free pascal (fp ide, I think) what software
 did you use to capture the screen images and save them as an animated gif
 image? Was there any extra work for you to make it a self repeating/looping
 animated gif ?

I documented it a while back on the FPC wiki site.

  http://wiki.freepascal.org/Creating_animated_gifs_for_wiki

XVidCap to capture the screenshots (10fps is a good speed). I then use
GIMP to optimize for differences between images and then save it as a
gif. In the save dialog there is a checkbox you can toggle to loop the
animation or not.

GIMP is available for most platforms. I don't know what software you
can use to capture many screenshots as screencast on other platforms,
sorry. I only use Linux.



-- 
Regards,
  - Graeme -


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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Help building Lazarus in Linux64

2011-01-06 Thread José Mejuto
Hello Andrew,

Thursday, January 6, 2011, 10:02:21 PM, you wrote:

AH execute /home/joshy/pascal/fpcbin/lib/fpc/2.5.1/ppcx64 -va | grep
AH fpc.cfg from console to see which config file it is loading.
AH Then check the paths in that config file.

Please excuse me, I had found MY!! error. Lazarus seems to be building
now fine.

-- 
Best regards,
 José


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Help building Lazarus in Linux64

2011-01-06 Thread shoKwave

Am 06.01.2011 23:15, schrieb José Mejuto:

interpreting option 
-Fu/home/joshy/pascal/fpc/lib/fpc/2.5.1/units/x86_64-linux/rtl
[0.008] Path /home/joshy/pascal/fpc/lib/fpc/2.5.1/units/x86_64-linux/rtl/ not 
found

Hi.

It seems you tried building a 64bit-fpc with make all using a 
32bit-fpc. Because the paths mentioned in your home/joshy/.fpc.cfg 
aren't found it tries reading the /etc/fpc.cfg.


Try building fpc with make cycle first. See buildFAQ.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Help building Lazarus in Linux64

2011-01-06 Thread José Mejuto
Hello Lazarus-List,

Thursday, January 6, 2011, 11:30:49 PM, you wrote:

s It seems you tried building a 64bit-fpc with make all using a
s 32bit-fpc. Because the paths mentioned in your home/joshy/.fpc.cfg 
s aren't found it tries reading the /etc/fpc.cfg.
s Try building fpc with make cycle first. See buildFAQ.

No, it was a mix of fpcbin/fpc/2.5.1/bin and fpc/bin/fpc/2.5.1 quite
similar names that makes me confuse them :( It is solved now, thank
you for your help. Now I know why in my windows setup I called to the
svn sources fpcsvn and to the target fpc alone :)

-- 
Best regards,
 José


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fpGUI

2011-01-06 Thread waldo kitty

On 1/6/2011 06:19, Graeme Geldenhuys wrote:

Op 2011-01-06 12:48, Mark Morgan Lloyd het geskryf:


Op 2011-01-05 15:23, Bo Berglund het geskryf:
So basically a widget set is a definition on what kind of graphics
environment is used on the target system then?


Not sure how this is going to look at your end, but your second example of
quoted text, is exactly how I see it on my side, when I reply to any
message. Even if the original message was in HTML format, my email client
(Thunderbird) is setup to only use plain/text emails


mine, too... i always do plain text as it makes things a lot easier to read... 
especially source code snippets... i also forced a mono-width font to be used... 
generally one of the OCR ones... OCR-B i think ;)



(I personally hate HTML emails).


i don't mind them when they are necessary but for the most part, no thanks :)

[ONTOPICIZER]
fpGUI is in my toolbox and is one of the items i'm making time to work with... i 
like what i've seen but have very limited time to play coder these days... 
i've numerous projects on my list that i'm aiming to port from perl and old TP6 
stuff ;)

[/ONTOPICIZER]

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Rxnew component install error on amd64

2011-01-06 Thread Diwakoe
On Thu, Jan 6, 2011 at 5:45 PM, Vincent Snijders
vincent.snijd...@gmail.com wrote:
 2011/1/6 Diwakoe diwa...@gmail.com:
 2011/1/6 alexs alex...@yandex.ru:
 Please, install rx.lpk from lazarus/components/rx.


 There is no lazarus/components/rx found, I mean only this component is
 missing. I try to find and only found this:

 In svn it is at:
 http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/components/rx/?diff_format=lroot=lazaruslimit_changes=0

 Maybe you found an omission in the packaging? IOW, how did you install 
 Lazarus?

 Vincent


Hi Vincent,

I'm using svn version downloaded from snapshot
ftp://ftp.hu.freepascal.org/pub/lazarus/snapshots/fpc-2.4.2-0.amd64.deb.tar
and 
ftp://ftp.hu.freepascal.org/pub/lazarus/snapshots/lazarus-0.9.31.28842-20101231.amd64.deb.tar.

As usual before installing new version the old lazarus and fpc removed
from system and then install new version with sudo dpkg -i *.deb for
each package folder created from untared files.

Maybe I will try to copy all component from 9.28.2 into lazarus folder
and try to compile and install rxnew svn version.

Is that ok?

Diwa
-- 
Semua rasa ada disini
http://www.teoteblung.co.cc

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Rxnew component install error on amd64

2011-01-06 Thread Diwakoe
On Thu, Jan 6, 2011 at 5:45 PM, Vincent Snijders
vincent.snijd...@gmail.com wrote:
 2011/1/6 Diwakoe diwa...@gmail.com:
 2011/1/6 alexs alex...@yandex.ru:
 Please, install rx.lpk from lazarus/components/rx.


 There is no lazarus/components/rx found, I mean only this component is
 missing. I try to find and only found this:

 In svn it is at:
 http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/components/rx/?diff_format=lroot=lazaruslimit_changes=0

 Maybe you found an omission in the packaging? IOW, how did you install 
 Lazarus?

 Vincent


Guys,

Finally rxnew component installed on my lazarus 0.9.31 svn version
with some trick.

Thanks for helping us install this component.

Rgds,
Diwa

-- 
Semua rasa ada disini
http://www.teoteblung.co.cc

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] invisible break points??

2011-01-06 Thread Graeme Geldenhuys
Op 2011-01-06 22:51, David Emerson het geskryf:
 Has anyone else seen anything like this?

Yes I have. I have noticed something like that too... when my apps run via
the IDE (which I hardly ever do anymore) they break for no reason.

I have looked into it (at the time), and it seems that if you set a
breakpoint in the IDE and save the project. Then modify your code so the
line at which the breakpoint was, is not source code any more (eg: a blank
line or a comment), the app still breaks at a point close to the original
breakpoint, but the IDE doesn't show it as a breakpoint (no red dot, and
not breakpoint listing in the breakpoints window).

I had to delete the breakpoint entry in the XML stored in that projects
info file manually to resolve the problem. As I said, this was with Lazarus
dated 2010-11-09. I haven't tried to reproduce with a newer version yet.



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Master-detail-subdetail

2011-01-06 Thread Koenraad Lelong
Op 04-01-11 16:18, michael.vancann...@wisa.be schreef:
 
 
 On Tue, 4 Jan 2011, Koenraad Lelong wrote:
 
 Hi,

 I have a database (firebird) with master-data, detail-data and
 sub-detail-data.
 In lazarus 0.9.28.2, svn 22279, I defined a TIBConnection, a
 TSQLTransaction and three TSQLQuery's. The detail has as its datasource
 a datasource coupled with the master. The subdetail has as its
 datasource a datasource coupled with the detail.
 To show the data I have three TDBGrids, their datasources are those
 three datasources coupled with the three queries.

 When I start the application, the master that shows has several details,
 each having several sub-details. When I scroll the details, the
 subdetails follow the detail. That's good. But when I scroll the master,
 only the details follow, the subdetail-grid goes blank.

 To try finding what happens I added a button that opens the
 sub-detail-query. If I click on it I get the expected subdetails. When I
 scroll the master again, the subdetail disappears again. Again I can get
 it back by clicking my debug-button.

 To debug this further, I added events for beforescroll, afterscroll,
 beforeclose and beforeopen for all three queries which write to a
 logfile. It seems that the beforeclose event is not fired for the
 subdetail-query, although it is closed somehow.

 I hope this makes sense to someone. Is there anything I'm missing ? Or
 have I found a bug ?
 
 There is no principle difference between the master/detail and the
 detail/subdetail relation, so I'd expect your setup to work.
 
 Can you check whether the AfterScroll events occur for
 master/detail/subdetail ?
 
Hi,
Sorry that it took some time to respond.
Some explanation of the logfile :
In the application I added some code to include text in the logfile
explaining what's hapening.
In the events (beforeOpen, BeforeClose, AfterScroll) I checked which
tables are open : P for table Printen, S for table Staffels and W for
table DefWerktijden. When you see the letter the table is open, if not
the table is closed.
I added two buttons to my application to insert some text in the
logfile. First one to indicate the start of a scroll action in the
detailgrid : Before scrolling detail. Second one to indicate the start
of a scroll in the mastergrid :Before scrolling master.
A third button is used to open the subdetail-table manually, text :
opening sub-detail table.

This is the logfile :

Opening Tables
BeforeOpen qryPrinten:___
AfterScroll qryPrinten:P__
BeforeOpen qryStaffels:P__
AfterScroll qryStaffels:PS_
BeforeOpen qryDefWerktijden:PS_
AfterScroll qryDefWerktijden:PSW
Tables open
Before scrolling detail
BeforeScroll qryStaffels:PSW
BeforeOpen qryDefWerktijden:PS_
AfterScroll qryDefWerktijden:PSW
AfterScroll qryStaffels:PSW
before scrolling master
BeforeScroll qryPrinten:PSW
BeforeClose qryStaffels:PSW
BeforeOpen qryStaffels:P__
AfterScroll qryStaffels:PS_
AfterScroll qryPrinten:PS_
opening sub-detail table
BeforeOpen qryDefWerktijden:PS_
AfterScroll qryDefWerktijden:PSW

If there is anything more I can do please ask for it.
Is there some public firebird-database I can use to make a sample
application ?

Kind regards,

Koenraad Lelong.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus