Re: [Lazarus] Astronomy Software

2009-11-16 Thread Marc Santhoff
Am Montag, den 16.11.2009, 00:37 +0100 schrieb Marc Santhoff:
 Am Sonntag, den 15.11.2009, 15:14 -0600 schrieb Phil Hess:
  - Matt Shaffer dazappa.m...@gmail.com wrote:
  
   I understood his message to mean that he didn't want to use
   windows-only apps/code. I'm sure he'll port it to those systems, and
   if he doesn't, it's on sourceforge, so you could compile it yourself
   ;).
   
   
   I think a useful format for reports would be an image or an excel
   file, but working with excel files is never easy.
   
  
  Exactly. If there were an RTF equivalent for Excel files, that might be a 
  good choice.
 
 There is (has been) a format called DIF (data interchange format) and
 another one that i forgot about. In ancient times gnumeric and excel and
 others could read them both.
 
 Maybe it's time for polishing up that old excel 4.0 and have a
 look ... ;)
 
 http://en.wikipedia.org/wiki/Data_Interchange_Format

I remembered, the other one was SYLK.

http://en.wikipedia.org/wiki/SYmbolic_LinK_(SYLK)


 HTH,
-- 
Marc Santhoff m.santh...@web.de


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


Re: [Lazarus] DCPCrypt is updated. Now what?

2009-11-16 Thread Michael Van Canneyt



On Mon, 16 Nov 2009, Graeme Geldenhuys wrote:


Hi,

We use DCPCrypt in our projects. Compared to the latest download from
Lazarus CCR site, I have made the following changes.

* Split the one .lpk package into two. One that is runtime only and
 another which is design-time only. This allows DCPCrypt to be used
 with non-LCL based applications - which was previously not possible.

* I have also updated and tested DCPCrypt to work under 64bit FPC.
 I also made sure it can compile with FPC 2.4.0-rc1.
 Previously it did not compile for 64bit or FPC 2.4.0-rc1.


DCPCrypt is not in any repository, so my changes are local in a Git
repository. How should I proceed?

* Add DCPCrypt to GitHub or SourceForge?

* Simply email a new source archive so it can be made available
  for download from Lazarus CCR on SourceForge

* Possibly convince somebody to add it as a new package in FCL
  in FPC repository.

* Possibly convince somebody to add it to Lazarus repository like
  what was done with Turbo Power IPPro, AggPas etc.?

As I stated in a email some months ago. I don't mind maintaining
DCPCrypt because we use it for our commercial projects. I also don't
like the idea of *only* having source archives of DCPCrypt like in the
case of Lazarus CCR downloads, because we can't track any source code
changes.

I'm leaning to the idea of having it included in FCL, because it is very
usable in non-GUI applications as well. In fact, that is how we use it
currently, in CGI web applications. But I have no say in any of the FPC
or Lazarus repositories.


Any suggestions on what I should do with DCPCrypt and my fixes?


If DPCrypt's license matches the FCL one, I see no reason not to
include it.

Michael.

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


Re: [Lazarus] help plz

2009-11-16 Thread Alexander Kaupp
Hi Matias,


 Theoretically possible, but if you want to emulate the LCL with
 javascript then you have a lot of work to do.

Imo the most propblems are solfed by XUL itself and therefore we dont
have to emualate everything. For example all XUL-Compos have
eventhandlers. But there is a lot of work to figure out how it works.

I am not shure how this GUL-Elements are implemented per platform. I
think XUL is using the system-default Widget set.

 Are there any applications ported from gtk, qt, wxwidgets to xul?

Here Is a list of some XUL-apps:
http://dafizilla.wordpress.com/2007/07/07/how-many-applications-based-on-xul-exist/

alex




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


Re: [Lazarus] help plz

2009-11-16 Thread Alexander Kaupp
Hi forgot something,

the XUL-thing would be a designtime-only package. Gererating the
XUL-documents, JS and css. The rest is done by XULrunner or a
Mozilla-Browser.

greetings
alex




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


Re: [Lazarus] help plz

2009-11-16 Thread Alexander Kaupp
Hi Dariuz,

wow great job :)
Gut the benefit of using XUL would be that it can be run in a
XUL-capable browser or native as an local application or both :)

In your case it could be possible to generate XUL on the server instead
of HTML and send this to the browser. And if you have all XUL-Documents
local on a machine with the app-binary it should run as a local app.

And it could be possible to have the GUI on the client started by the
browser or XULrunner and the application on the server. There are a lot
of options then.

alex




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


Re: [Lazarus] help plz

2009-11-16 Thread waldo kitty

Alexander Kaupp wrote:

Hi Matias,



Theoretically possible, but if you want to emulate the LCL with
javascript then you have a lot of work to do.


Imo the most propblems are solfed by XUL itself and therefore we dont
have to emualate everything. For example all XUL-Compos have
eventhandlers. But there is a lot of work to figure out how it works.


again, from standing out here on the outside, i'd say that XUL is not warranted 
for an internal FPC/LAZ interface but that the OP need determine exactly what 
they seem to desire... based on the postings available, it would appear that 
they are looking to add an additional end-code method such that they have a XUL 
client (if that is the proper term) for their end goal(s)...




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


Re: [Lazarus] help plz

2009-11-16 Thread waldo kitty

Alexander Kaupp wrote:

Hi forgot something,

the XUL-thing would be a designtime-only package. Gererating the
XUL-documents, JS and css. The rest is done by XULrunner or a
Mozilla-Browser.



FWIW: in my straight procedural mind, that adds additional layer(s) of problems 
that can easily break current methods as well as opening up other avenues of 
attack (spoken as an insignificant security personel) :? :(


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


Re: [Lazarus] help plz

2009-11-16 Thread waldo kitty

Alexander Kaupp wrote:

hi,

yes it would be perfect to have a XUL gui added to the lcl. Or in other
words a no-gui lazarus-app with XUL-Gui. Sounds strange :)

This needs deep knowlede about how the laz-ide works. And I dont have
this experience :(


neither do i but i cannot help but to see the possible security exploits and 
problems :?  thus my apprehension and statements to the converse... i'm all for 
better (note quotes) interfaces but not if they open holes for infiltration :?





Am Samstag, den 14.11.2009, 13:39 -0500 schrieb waldo kitty:

Alexander Kaupp wrote:

I read this tut:
http://www.ar-ent.net/dar/arlib32/out/html/man/xul/index.html

tbh I dont event know really many about it. But I am familiar with
web-tech, CSS/JavaScript so the XUL-Stuff is easy for me to understand.
The Problem is how to add this features to lazarus.

part of the/your problem is determining where to add this capability...

1. are you wanting to create XUL for laz such that instead of using the current 
interface, you use a XUL based one?


OR

2. are you wanting to create XUL addition such that Laz can create XUL based 
apps?

i think #2 is the one you are after instead of completely redoing the Laz 
interface in XUL (#1)...


--
___
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] help plz

2009-11-16 Thread Dariusz Mazur

Alexander Kaupp pisze:

Hi Dariuz,

wow great job :)
Gut the benefit of using XUL would be that it can be run in a
XUL-capable browser or native as an local application or both :)

In your case it could be possible to generate XUL on the server instead
of HTML and send this to the browser. And if you have all XUL-Documents
local on a machine with the app-binary it should run as a local app.
  
Of course I can generate XUL, but thus I don't control how its look 
like, how its rendering. Some times it is advantages, some disadvantages.
In other posts there are discus how application should look: on every OS 
the same or follow style of OS.
But for me more important is behavior of application, how it play with 
mouse, keyboard.

For me web application should be aware:
- function and arrow keys
- tabs (browser walk  also through  href, not only input field)
- reload, back browser command (for example: what do back after close 
forms with saved transaction)

- modal forms (with expected behavior on browser and server side)
and many others
Is this possible to control with XUL?  I doubt.




And it could be possible to have the GUI on the client started by the
browser or XULrunner and the application on the server. There are a lot
of options then.
  
I don't say about theoretical possibility. I don't have several years to 
build quite new application. I;ve simply took  exist API,
an build library for web. An I must say, that is not problem generate 
web pages: need HTML code is simple  and CSS is very flexible, on web is 
much beautiful examples.
Most hard problem is the rest: how browser is cooperate with server, how 
it play with instances, events , how is transfer optimized. XUL or EXTJS 
are only one abstract layer, similar to  GTK or WIN32. But to effective 
build application we need LCL or VCL, which used them.



--
 Darek





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


Re: [Lazarus] help plz

2009-11-16 Thread Alexander Kaupp
Am Montag, den 16.11.2009, 04:16 -0500 schrieb waldo kitty:

 FWIW: in my straight procedural mind, that adds additional layer(s) of 
 problems 
 that can easily break current methods as well as opening up other avenues of 
 attack (spoken as an insignificant security personel) :? :(

Shure there are a lot of pros and cons. But I would like to have XUL as
an option in the future. And could maybe make lazarus even more popular
to some users.

So no doubt the lcl is great ind my goal is not to replace it. Yust
adding a new option.

alex



 --
 ___
 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] help plz

2009-11-16 Thread Alexander Kaupp
hi Darek,

xml/XUL presentation is done with css like it is in HTML. HTML/XML gives
only the struckture and the look comes from CSS. Therefore it would be
easy to add skins or styles to the app.

All other thins you askes I can't answer because i dont know much about
XUL. But starting from bottom up will bring the answers I hope.

alex




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



[Lazarus] Res: Question about SetFocus in a DoExit method (TMaskEdit related)

2009-11-16 Thread Daniel Simoes de Ameida
Hi Bart,

I did report a Bug like this on Lazarus BugTracker


 []s Daniel

Conheça o Projeto ACBr - Automaçao Comercial Brasil
DJSystem a Loja Patrocinadora do ACBr






De: Bart bartjun...@gmail.com
Para: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Enviadas: Domingo, 15 de Novembro de 2009 13:49:57
Assunto: [Lazarus] Question about SetFocus in a DoExit method (TMaskEdit 
related)

Hi there,

I'm running into a problem with TMaskEdit (I'm trying to maintain maskedit..pp)

Desired behaviour (as in Delphi):
When user leaves the control and validation failes (and the according
exception is raised), two things must happen:
1. the control must get focus again
2. while resetting the focus to the control the value of FTextOnEnter
must _not_ be updated (so that Reset resets the control in a state
wher no validation is performed upon lossing focus)

I tried to achieve this using a boolean FValidationFailed, set in
DoExit, and examine this in DoEnter (where FTextOnEnter is set).

See the code below (my working copy)

procedure TCustomMaskEdit.DoEnter;
begin
  inherited DoEnter;
  if isMasked then
  begin
debugln('TCustomMaskEdit.DoEnter: FValidationFailed =
',DbgS(FValidationFailed));
FCursorPos := GetSelStart;
//Only save FTextOnEnter if validation did not fail in last DoExit
that occurred
if not FValidationFailed then
  FTextOnEnter := Inherited Text
else
  FValidationFailed := False;
   snipped irrelevant code
end;



procedure TCustomMaskEdit.DoExit;
begin
  debugln('TCustomMaskEdit.DoExit: FValidationFailed =
',DbgS(FValidationFailed));
  //First give OnExit a change to prevent a EDBEditError
  inherited DoExit;
  {$IFNDEF MASKEDIT_NOVALIDATEONEXIT}
  //Do not validate if FValidationFailed, or risk raising an exception
while the previous exception was
  //not handled, resulting in an application crash
  if IsMasked and (FTextOnEnter  Inherited Text) and (not
FValidationFailed) then
  begin
//assume failure
try
  //debugln('TCustomMaskedit.DoExit: try ValidateEdit');
  FValidationFailed := True;
  ValidateEdit;
  FValidationFailed := False;
finally
  if FValidationFailed then
  begin
//debugln('TCustomMaskedit.DoExit: Validation failed');
SetFocus;
SelectAll;
  end;
end;
  end;
  {$ENDIF}
end;

This functions just fine, as long as the user uses the mouse to leave
the control, if the user presses Tab things go wrong:

Here's the sequence of events when using the mouse
1. DoExit, FValidationFailed = False
2. Default ExceptionHandler kicks in with a showmessage
3. DoEnter, FValidationFailed = True

Now with the user pressing Tab
1. DoExit, FValidationFailed = False
2. DoEnter, FValidationFailed = True
3. Default ExceptionHandler kicks in with a showmessage
4. DoEnter, FValidationFailed = False

In the latter case, the second DoEnter will set FTextOnEnter because
FValidationFailed now is False and Reset does not work properly.

Has anyone of you an idea how to solve this?

Thanks,

Bart

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



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus 0.9.28.2 released

2009-11-16 Thread Vincent Snijders
2009/11/16 Graeme Geldenhuys gra...@mastermaths.co.za:
 Vincent Snijders wrote:

 I am interested to hear how long it takes/took to merge this weeks
 changes. I think in the end automating a bit is worth the effort, unless
 you can merge the current batch in less than 5 minutes.

 :-) It was a rather large merge this week. It took me 12 minutes - but I
 haven't had my first cup of coffee yet. ;-)

Ok. That seems doable for now. It took you less time than me. :-)


 The longest part of the merge is simply copy and pasting the merge svn
 revision numbers into gitk so I can search for the git commit revision
 (SHA1). Then it's simply a right click and selecting cherry-pick.

 I guess I could put a quick script together to automate the above. But
 normally the merges to fixes branch is small, so I don't mind the few
 minutes it takes (once a week).


 Where do you find what revisions must be merged into fixes branch?

I use svnmerge.py avail.

An other version of the output of svnmerge.py avail -log can be seen on:
http://www.freepascal.org/~vincents/avail.log

I have written (or am writing) an application to identify which
revisions change the same files, so I can group them together in one
merge.

Currently there are about 840 revisions to be merged.

Vincent

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


Re: [Lazarus] DCPCrypt is updated. Now what?

2009-11-16 Thread Vincent Snijders
2009/11/16 Michael Van Canneyt mich...@freepascal.org:


 On Mon, 16 Nov 2009, Graeme Geldenhuys wrote:

 Hi,

 We use DCPCrypt in our projects. Compared to the latest download from
 Lazarus CCR site, I have made the following changes.

 * Split the one .lpk package into two. One that is runtime only and
  another which is design-time only. This allows DCPCrypt to be used
  with non-LCL based applications - which was previously not possible.

 * Simply email a new source archive so it can be made available
  for download from Lazarus CCR on SourceForge

That too.


 * Possibly convince somebody to add it as a new package in FCL
  in FPC repository.

 * Possibly convince somebody to add it to Lazarus repository like
  what was done with Turbo Power IPPro, AggPas etc.?

All these components have in common that they are used or will be used
by Lazarus or the LCL itself.


 As I stated in a email some months ago. I don't mind maintaining
 DCPCrypt because we use it for our commercial projects. I also don't
 like the idea of *only* having source archives of DCPCrypt like in the
 case of Lazarus CCR downloads, because we can't track any source code
 changes.

If it is not added to fpc SVN, I propose to add it to Lazarus CCR svn.


 I'm leaning to the idea of having it included in FCL, because it is very
 usable in non-GUI applications as well. In fact, that is how we use it
 currently, in CGI web applications. But I have no say in any of the FPC
 or Lazarus repositories.


 Any suggestions on what I should do with DCPCrypt and my fixes?

 If DPCrypt's license matches the FCL one, I see no reason not to
 include it.

Adding to the FCL is the best option. What is the license, Graeme?

Vincent

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


Re: [Lazarus] DCPCrypt is updated. Now what?

2009-11-16 Thread Michael Van Canneyt



On Mon, 16 Nov 2009, Graeme Geldenhuys wrote:


[our company is experiencing SMTP problems with our ISP, so excuse any
duplicate emails from me]

2009/11/16 Michael Van Canneyt mich...@freepascal.org:


If DPCrypt's license matches the FCL one, I see no reason not to
include it.



It is already ok I think (MIT/BSD license without advocacy clause). From
previous discussions in fpc-pascal mailing list, Marco said this will be
fine for FCL.



Really ? I am not so sure about this.

This should be taken up first prior to continuing.

Michael.

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


Re: [Lazarus] DCPCrypt is updated. Now what?

2009-11-16 Thread Vincent Snijders
2009/11/16 Graeme Geldenhuys graemeg.li...@gmail.com:
 2009/11/16 Vincent Snijders vincent.snijd...@gmail.com:

 * Simply email a new source archive so it can be made available
  for download from Lazarus CCR on SourceForge

 That too.

 As an intermediate solution, can I send you the archive in private?
 Making the latest fixes available as download on CCR should suffice
 until we know the final resting place of DCPCrypt.

Yes, please.

 If it is not added to fpc SVN, I propose to add it to Lazarus CCR svn.

 How maintains or has write access to that repository?

You will. See also:
http://wiki.lazarus.freepascal.org/Using_the_Lazarus-ccr_SVN_repository

 Also, if it goes
 there, where does one send any future patches to? This mailing list,
 or the forums on SourceForge or somewhere else?


You have to edit http://wiki.lazarus.freepascal.org/DCPcrypt and add
your name in the author section. On that page you can mention your
preferred way to handle patches, bug reports etc. There is a bug
tracker on SF or you could decide to use the bug tracker on
www.freepascal.org

Vincent

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


Re: [Lazarus] cross platform [Re: Lazarus Goal]

2009-11-16 Thread Graeme Geldenhuys
waldo kitty wrote:
 
 not that that is our problem or not...


Very true, so we leave it at that!  :)


Regards,
  - Graeme -

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


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


Re: [Lazarus] Installing Lazarus

2009-11-16 Thread Henry Vermaak
2009/11/16 Brian Smart brian.sm...@blueyonder.co.uk:
 Hi,

 As a new Linux user with Ubuntu 9.04, I am trying to install Lazarus.

 I am becoming totally confused. Can somebody explain in simple steps,
 exactly what I need to do, including the installation of any required
 packages. I have looked on the list but all the instructions seen to assume
 that the reader is an experienced Linux user.

From the wiki:

http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_Lazarus_from_our_Ubuntu_repository

More information on that page re building from source.

Henry

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


Re: [Lazarus] Lazarus 0.9.28.2 released

2009-11-16 Thread Graeme Geldenhuys
2009/11/16 Vincent Snijders vincent.snijd...@gmail.com:

 Ok. That seems doable for now. It took you less time than me. :-)

Good to know. :)


 I have written (or am writing) an application to identify which
 revisions change the same files, so I can group them together in one
 merge.

What if a revision changed more that one file (which happens often)?
Wouldn't that cause problems.  Also how would that affect me?  I use
Cherry-pick, which simply applies the original commit to the fixes
branch. This allows git users to see where the original commit came
from - full history of changes are kept.

Rolling various commits from trunk into a single commit will loose
that history? That is why I don't use the standard automated branch
tracking in Git for the fixes branch. I use the commit log
descriptions in fixes branch to see what the original commit in trunk
was, and cherry-pick that original commit.

Not knowing exactly what you application does, but wouldn't that
interfere with the commit log descriptions?


 Currently there are about 840 revisions to be merged.

Normally I would say: Damn, rather you that me.  But in this case, we
both do the work. :-)



-- 
Regards,
  - Graeme -


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

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


Re: [Lazarus] Lazarus 0.9.28.2 released

2009-11-16 Thread Vincent Snijders

Graeme Geldenhuys schreef:

I have written (or am writing) an application to identify which
revisions change the same files, so I can group them together in one
merge.


What if a revision changed more that one file (which happens often)?


I see no problem, it just helps me to see that two revisions depend on each other, 
because they change the same file. (There are of course more dependencies, a new 
feature in the LCL can be used in the IDE only if the LCL feature has been merged).


If there are two files in a commit, it may create a dependency on other revisions 
which changes one or two of those files.


Wouldn't that cause problems.  Also how would that affect me?  


Not at all.


I use
Cherry-pick, which simply applies the original commit to the fixes
branch. This allows git users to see where the original commit came
from - full history of changes are kept.


That is nice.



Rolling various commits from trunk into a single commit will loose
that history?


The history is in the log message, as you found out.


That is why I don't use the standard automated branch
tracking in Git for the fixes branch. I use the commit log
descriptions in fixes branch to see what the original commit in trunk
was, and cherry-pick that original commit.

Not knowing exactly what you application does, but wouldn't that
interfere with the commit log descriptions?


It only helps to select revisions, I still use svnmerge.py merge to do the actual 
merge. So no, it does not interfere.


Vincent

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


Re: [Lazarus] Lazarus 0.9.28.2 released

2009-11-16 Thread Graeme Geldenhuys
2009/11/16 Vincent Snijders vsnijd...@vodafonevast.nl:

 Wouldn't that cause problems.  Also how would that affect me?

 Not at all.

Good to know, thanks. I was simply worried that the commit messages
will change etc if various commits are rolled into one and the commit
log description doesn't mention the exact revision where the
commit/merge originated from.


 It only helps to select revisions, I still use svnmerge.py merge to do the
 actual merge. So no, it does not interfere.

Excellent, thanks.


-- 
Regards,
  - Graeme -


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

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


[Lazarus] keypress template added for wiki pages

2009-11-16 Thread Graeme Geldenhuys
Hi,

I added a new keypress template for the wiki. So now this template can
be used for any keyboard shortcut examples. See the following url for
more details. In includes even Mac's Control key etc...

  http://wiki.lazarus.freepascal.org/Template:keypress/doc


Regards,
  - Graeme -

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


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


Re: [Lazarus] keypress template added for wiki pages

2009-11-16 Thread Graeme Geldenhuys
Graeme Geldenhuys wrote:
 Hi,
 
 I added a new keypress template for the wiki. So now this template can
 be used for any keyboard shortcut examples. See the following url for
 more details. In includes even Mac's Control key etc...
 


and here is an example in contents...

http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Code_Templates

It makes keyboard short-cuts more visible, yet doesn't use images at
all, only CSS styling.


Regards,
  - Graeme -

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


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


Re: [Lazarus] gdk_pixbuf

2009-11-16 Thread Luca Olivetti

En/na Mattias Gaertner ha escrit:



Normally these links are setup by some devel packages. If these symlinks
are created by the lazarus rpms these packages would conflict.
If there is really no package under OpenSuSE/Mandriva that is
responsible for the symlinks - which I doubt - then maybe we have to
create special rpm packages for these distros.


Don't know about opensuse, but for mandriva, simply use

urpmf filename

to find the devel package that contains the link you're after and 
install it.


Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 (Ext.133)  Fax +34 93 5883007

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


[Lazarus] Mac OS X : FPC revision 14200 not building...

2009-11-16 Thread dominique
Just a quick FYI, that under Mac OS X v10.5.8, revision 14200 does not
build from a clean SVN grab.

Error is...
/usr/local/bin/fpc -dNOMOUSE -Ur -dFPC_USE_LIBC -gl -Ur -Xs -O2 -n
-Fi../inc -Fi../i386 -Fi../unix -Fi../bsd -Fi../bsd/i386 -Fi../darwin/i386
-FE. -FU/usr/local/share/fpcsrc/rtl/units/i386-darwin -gw2l -di386 -dDEBUG
-dRELEASE ../inc/objcbase.pp
Fatal: Can't find unit objc1 used by objcbase
Fatal: Compilation aborted

Dominique.

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


Re: [Lazarus] Mac OS X : FPC revision 14200 not building...

2009-11-16 Thread dmitry boyarintsev
why would you need this old revision?

thanks,
dmitry

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


Re: [Lazarus] Mac OS X : FPC revision 14200 not building...

2009-11-16 Thread dominique
I'm using the one I've always used.. But here is the info...
URL: http://svn.freepascal.org/svn/fpc/trunk
Repository Root: http://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 14200


On Mon, 16 Nov 2009 18:01:56 +0300, dmitry boyarintsev
 please run svn info. what url is used?



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


Re: [Lazarus] Mac OS X : FPC revision 14200 not building...

2009-11-16 Thread Henry Vermaak
2009/11/16  domini...@savagesoftwaresolutions.com:
 I'm using the one I've always used.. But here is the info...
 URL: http://svn.freepascal.org/svn/fpc/trunk
 Repository Root: http://svn.freepascal.org/svn/fpc
 Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
 Revision: 14200

I think the confusion is that Dmitry thinks that you're talking about
lazarus (since this is the lazarus list).

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


Re: [Lazarus] Mac OS X : FPC revision 14200 not building...

2009-11-16 Thread dmitry boyarintsev
Sorry. I though you're talking about Lazarus trunk, not FPC.

anyway, obj-c support has been added to FPC.
You should be able to bootstrap the trunk-compiler and rtl with 2.2.4
or 2.4.0-rc version.

thanks,
dmitry

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


Re: [Lazarus] Installing Lazarus

2009-11-16 Thread Brian Smart
Hi,
Thanks for all the help re the installation of Lazarus. All OK now.
Regards

Brian Smart


-Original Message-
From: John vd Waeter [mailto:j...@jvdw.nl] 
Sent: 16 November 2009 11:33
To: Lazarus mailing list
Subject: Re: [Lazarus] Installing Lazarus

Hi Brian,

I had the about the same problem... found this one:

http://unplugd.com/install_lazarus.html

but not sure if its completely ok..

Also make sure you don't have older versions of lazarus or older 
versions of settings .lazaraus in homedir hanging around

goodluck,
John


Brian Smart wrote:
 Hi,
 
 As a new Linux user with Ubuntu 9.04, I am trying to install Lazarus.
 
 I am becoming totally confused. Can somebody explain in simple steps, 
 exactly what I need to do, including the installation of any required 
 packages. I have looked on the list but all the instructions seen to 
 assume that the reader is an experienced Linux user.
 
 Thanks for your help.
 
  
 
 Brian
 
  
 
 
 
 
 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


-- 
John vd Waeter
www.jvdw.nl
www.gps-carpool.net
www.shotinthedark.nl
www.pdaforms.nl
www.dbapocket.nl

j...@jvdw.nl

--
___
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] Res: Question about SetFocus in a DoExit method (TMaskEdit related)

2009-11-16 Thread Bart
Hi Daniel,

 I did report a Bug like this on Lazarus BugTracker

  []s Daniel

Actually, I am able to set the focus on the control again (at least in
GTK2/Linux), so that's not my problem.

Bart

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


Re: [Lazarus] Astronomy Software

2009-11-16 Thread Patrick Chevalley
Hi Terry,

 Because you could start 2.76 with the -f switch and it would start up
 viewing a specific object. That has not been implemented in the SkyChart 3.x
 as far as I know.

I am skychart author :-)
It is easy to add the -f switch to skychart v3 because the function
are already implemented for the tcp socket command interface.
You can also connect to this socket to send request to search for an object.
See http://www.ap-i.net/skychart/en/documentation/server_commands

I try to use Messier but I have a few problem.
- it look like you use an old TAchart version, in StatUnit I have to
change TAGraph.AddSerie by AddSeries , comment TPieSeries.SeriesColor
and MarksStyle and remove TAEngine from the uses. Now it compile with
fixes 0.9.28.
- do you have a script to create the mysql database ?

I am very interested by you program as it complement well the skychart
functions.
I can give some help for your project if you are interested but at the
moment I am very busy with the next version of the virtual moon atlas,
also ported from delphi to lazarus.

Patrick

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


Re: [Lazarus] Astronomy Software

2009-11-16 Thread Patrick Chevalley
Oops! sorry, just noticed Databases/Messier.txt

 - do you have a script to create the mysql database ?

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


Re: [Lazarus] QT binding works!

2009-11-16 Thread David Emerson
Mattias Gaertner wrote:
  make[2]: *** [../../units/i386-linux/qt] Error 1
 The important lines are in front of this message. Please send all the
 messages.

This is the only message I see. The debug output window is empty.

Perhaps I could get more info by compiling from the command line (as 
opposed to using build lazarus within lazarus) but I can't figure out 
how to get make clean all to use the qt widget set.

I did install libqt4-dev (libqt4-core was already installed) but it 
hasn't made any difference.

Thanks!
~David.


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


[Lazarus] Bitmap assign does not copy PixelFormat...

2009-11-16 Thread dominique
I think I posted about this about 4 or 5 months ago and I think someone
applied a patch, but it seems this bug is back.

When 1 bitmap which is say 24bit, is assigned to another bitmap which is
say 32bit, the second bitmap seems to preserve its 32bitness, when it
should not, because an assign has taken place.

The following example illustrates the issue...

var
  thebitmap : TBitmap;
  undoimg : TBitmap;
begin
  thebitmap := TBitmap.Create;
  thebitmap.PixelFormat := pf24bit; // definitely 24bit

  undoimg := TBitmap.Create; // default bit depth

  undoimg.Assign(thebitmap);

  //undoimg is now not 24bit! it is whatever the default is when a new
Bitmap is constructed.
end;

I can submit this as another bug report, if necessary.

This was tested in Mac OS X 10.5.8, using Lazarus revision 22631.

Thanks,


Dominique.

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


[Lazarus] Multiple installations

2009-11-16 Thread Matt Shaffer
First off, something went messy with my 9.28 install (On Windows); it
complained componenttreeview.pas couldn't be found when I tried recompiling
the IDE, when it was right in the unit paths directory... so I thought I'd
just install 9.28.2, to a different directory. The problem is that this new
install seemed to have migrated everything from the old install; that or
it's still trying to recompile the old IDE, as it also complained about the
same file. I am currently too lazy to try to wipe every trace of lazarus off
this machine so I can do a fresh install, unfortunately.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Bitmap assign does not copy PixelFormat...

2009-11-16 Thread dmitry boyarintsev
please make the bug report with sample project (and bitmaps) attached.

thanks,
dmitry

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