Re: [Lazarus] Is there some way to build a package for all widgsets in one go like the IDE's Build Many option?

2016-03-31 Thread vfclists .
On 31 March 2016 at 22:35, Mattias Gaertner <nc-gaert...@netcologne.de>
wrote:

> On Thu, 31 Mar 2016 22:17:20 +0100
> "vfclists ." <vfcli...@gmail.com> wrote:
>
> >[...]
> > I suppose that this depends on using building a project with the right
> > widgetset? My thoughts where more along the line of using the Compile
> > button on the package to compile for all the chosen widgetsets in one go.
>
> With "chosen" I guess you mean build modes.
> You can use "Run / Build many Modes ..." to compile for all the chosen
> widgetsets in one go.
>
> Mattias
>


I am thinking along the lines of compiling "a package only". The Compile
settings
for packages don't have a "Run/Build Many Modes...". That only applies to
Projects.


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



-- 
Frank Church

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


Re: [Lazarus] Is there some way to build a package for all widgsets in one go like the IDE's Build Many option?

2016-03-31 Thread vfclists .
On 31 March 2016 at 21:49, Mattias Gaertner <nc-gaert...@netcologne.de>
wrote:

> On Thu, 31 Mar 2016 21:38:46 +0100
> "vfclists ." <vfcli...@gmail.com> wrote:
>
> > Is there some way to build a package for all widgsets in one go like the
> > IDE's Build Many option?
> >
> > Changing widgetsets results in a recompile of a lot of GUI packages and
> > wonder whether that can be avoided. Adding the LCLWidget to the output
> path
> > of packages doesn't seem to work.
>
> Adding the LCLWidgetType to the output directory allows to compile
> for each widgetset only once. The Lazarus sources use that too.
>
> Mattias
>
>
I suppose that this depends on using building a project with the right
widgetset? My thoughts where more along the line of using the Compile
button on the package to compile for all the chosen widgetsets in one go.



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



-- 
Frank Church

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


Re: [Lazarus] Xamarin becomes free and open-source

2016-03-31 Thread vfclists .
On 31 March 2016 at 21:56, Denis Kozlov <dez...@gmail.com> wrote:

> On 31/03/2016 21:31, vfclists . wrote:
>
>> They are going all out against Apple and Redhat.
>>
>
> You meant Apple and Google maybe? They target Windows, Mac/iOS and Android.
>
> A wide selection of supported platforms is where FPC and Lazarus defiantly
> have an edge.
>
> Denis
>
>
>
Microsoft earns some patent fees from every single Android device sold.
They've lost the mobile
war for the next few years to come until Xamarin makes app development easy
for Windows for
developers to produce more apps for the mobile platform.

They are definitely going after Redhat, and Oracle in the short-term. They
are not going the mistake
they made with Apple.

SQL Server will be available for Linux quite soon.

They have recently announced Bash for Windows and they are aiming to get a
lot of Unix tools running easily on Windows.
In fact those tools have been there for a while but they were not seriously
promoted.

They are going after the whole Linux.Unix system. They want Linux admins and
developers to realize that they can have good GUI development and
server-management
tools available on Windows and still have all the command line goodies
they've learned to
love on Linux.

Given the lack of integrated toolsets available for Linux, they will
probably make it.

-- 
Frank Church

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


[Lazarus] Is there some way to build a package for all widgsets in one go like the IDE's Build Many option?

2016-03-31 Thread vfclists .
Is there some way to build a package for all widgsets in one go like the
IDE's Build Many option?

Changing widgetsets results in a recompile of a lot of GUI packages and
wonder whether that can be avoided. Adding the LCLWidget to the output path
of packages doesn't seem to work.

The only way I can think of is to have separate Lazarus builds for each
widget set which share the same --pcp option. For cross-platform I mainly
use Qt as the GTK widget set doesn't seem to work well on Windows.

-- 
Frank Church

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


Re: [Lazarus] Xamarin becomes free and open-source

2016-03-31 Thread vfclists .
On 31 March 2016 at 20:21, Maciej Izak  wrote:

>
> 2016-03-31 20:30 GMT+02:00 Anthony Walter :
>
>> I thought this was newsworthy and of interest to us:
>>
>> https://blog.xamarin.com/xamarin-for-all/
>>
>
> kind of inspiration for better Lazarus and FreePascal?
>
>
Microsoft are not interested in FreePascal and Lazarus.

They are going all out against Apple and Redhat.


-- 
Frank Church

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


Re: [Lazarus] Microsoft SQL Server coming to Linux

2016-03-08 Thread vfclists .
On 8 March 2016 at 08:58, Michael Van Canneyt 
wrote:

>
>
> On Tue, 8 Mar 2016, Anthony Walter wrote:
>
> For those of you using Linux with interest in database development here is
>> some news for you:
>>
>> Microsoft SQL Server will soon be officially supported on Linux.
>>
>>
>> https://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux/
>>
>> Microsoft Executive Vide President Scott Gu has been coordinating with
>> Mark
>> Shuttleworth (Ubuntu owner and head of Canonical) to make this happen.
>>
>> For me this is great news. Microsoft SQL Server is a robust RMDB system
>> with superior performance capable of great scale. Transact SQL (the
>> Microsoft SQL Server dialect) also has many powerful and useful features.
>> Good news all around.
>>
>
> Well, that depends highly on your point of view :)
> My point of view is that the sooner Microsoft is bancrupted the better...
>
> And I beg to differ on a second account:
> E.g. PostGreSQL is a way better/faster database than SQL Server.
> Not to mention it costs you nothing.
>
> Just to say that these are highly subjective views...
>
> Michael.
>
> --
>

The cloud is getting dominated by Linux and if Microsoft doesn't have an
offering there it is bound to be left out. The idea is to let customers who
may be tempted switch to Linux  know that SQL Server will be available for
them if they do..

-- 
Frank Church

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


Re: [Lazarus] Tool to convert a multiline text to a pascal string constant

2016-02-03 Thread vfclists .
On 3 February 2016 at 11:30, Luiz Americo Pereira Camara <
luizameri...@gmail.com> wrote:

> Thanks for all
> Getting time i will do a Lazarus extension
>
> Luiz
> Em 3 de fev de 2016 03:13, "Martin Schreiber" 
> escreveu:
>
>> On Tuesday 02 February 2016 22:33:56 Luiz Americo Pereira Camara wrote:
>> > Hi is there any tool for Lazarus to convert a multi line text (xml
>> snipet,
>> > SQL) to a string constant?
>> >
>> In MSEide select the text in source editor, RightClick-'Convert to Pascal
>> string'. Code is here:
>>
>> https://gitlab.com/mseide-msegui/mseide-msegui/raw/master/lib/common/kernel/mseformatstr.pas
>> Function "stringtopascalstring()".
>>
>> Martin
>>
>>
>
http://forum.lazarus.freepascal.org/index.php/topic,24648.0.html

You may find this lilbrary useful

-- 
Frank Church

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


Re: [Lazarus] VCLJS

2015-07-06 Thread vfclists .
On 30 June 2015 at 11:44, luiz americo pereira camara luiz...@oi.com.br
wrote:



 2015-06-30 6:07 GMT-03:00 Michael Van Canneyt mich...@freepascal.org:




 We use ExtJS at work, but are switching to Angular.


 If you want to go with Angular in the long run you will need to use
 TypeScript.


 http://www.itworld.com/article/2894936/googles-angular-2-being-built-with-microsofts-typescript.html

 Unless you stay in 1.x and all it's problems


 https://javascriptkicks.com/articles/2657/i-wont-be-using-angular-for-my-next-project-and-neither-should-you
 https://news.ycombinator.com/item?id=9325501

 https://medium.com/@mnemon1ck/why-you-should-not-use-angularjs-1df5ddf6fc99
 https://news.ycombinator.com/item?id=8830640

 Luiz

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


http://smartmobilestudio.com/feature-matrix/

-- 
Frank Church

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


[Lazarus] What option do I need to build Lazarus executable itself from a different OS or architecture?

2015-05-18 Thread vfclists .
I have managed to get FPC cross compilation from 32 bit Linux to  64bit
Linux and both 32bit and 64 bit Linux.

My next step is to generate the Lazarus executable itself for all 4
systems. My current command for building the 32 bit Linux version of
Lazarus is:


make all PP=${THIS_BUILD_COMPILER} USESVN2REVISIONINC=0  LCL_PLATFORM=gtk2
make PP=${THIS_BUILD_COMPILER} bigide


What option do I have to add to ensure that the Lazarus executable and
units are targeted to the right CPU and OS?


PS. Can Lazarus be built as an application from the IDE itself, like cross
compiling an executable for a different architecture?
-- 
Frank Church

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


Re: [Lazarus] Qt doesn't return proper DC Device Size

2015-05-16 Thread vfclists .
On 16 May 2015 at 13:27, zeljko zel...@holobit.net wrote:

 On 05/16/2015 02:15 PM, Giuliano Colla wrote:


 While trying to obtain programmatically the snapshot of a window, I
 stumbled into a Qt bug.

 It turned out that TQtDeviceContext.getDeviceSize always returns a size
 of 10x10 for any widget I tried.
 It returns the proper size only for the full screen (i.e. if DC=0).

 For sake of completeness, GTK2 returns the proper size.

 Can it be fixed?


 And attach example project please.

 zeljko



I just checked your fix from the Caret.Y function for getting the current
line in a memo and it is working fine.

I will be learning Qt from following your patches. :)

-- 
Frank Church

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


[Lazarus] Is TMemo.CaretPos.Y defined in the Qt widgetset?

2015-05-11 Thread vfclists .
Is TMemo.CaretPos.Y defined in the Qt widgetset?

Memo.CaretPos.Y always returns 0 in the Qt widget set, but it works
correctly on GTK2.

Is it a known bug? I have tested on Lazarus 1.2.6 and trunk version 48534
on Linux. I have not tested on the latest 1.4 release.


-- 
Frank Church

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


Re: [Lazarus] Andorid development - first steps.

2015-05-11 Thread vfclists .
On 29 April 2015 at 15:12, Horacio Jamilis hjami...@pymesoft.com.ar wrote:

 Hi,

 I am trying to build my first application for Android.
 I downloaded and installed Laz4Android and LazAndroidModuleWizard.
 Also downloaded and installed android-ndk-r10d, android-sdk (recent), ant
 1.9.4, all on Windows 7.

 I made a simple demo.
 I was able to compile on Lazarus.
 I was able to get the apk for Android.
 I installed it on my cell phone... then it crashes on startup.

 How to debug it? I dont know what to do.

 Any help is appreciated.

 --
 Horacio Jamilis
 Buenos Aires
 Argentina


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


Better ask in the forums

-- 
Frank Church

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


[Lazarus] How are TProcess.Input and TProcess.XtermProgram used?

2015-05-09 Thread vfclists .
 How are TProcess.Input and TProcess.XtermProgram used?

Is it possible to test if a program is waiting for input in order to send
it some input, such as keystrokes for instance?

Can the XTermProgram be popped up on the screen in order to view the
program output and interact with it as well?



-- 
Frank Church

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


Re: [Lazarus] How to display html contents?

2015-05-09 Thread vfclists .
On 6 May 2015 at 09:37, Giuliano Colla giuliano.co...@fastwebnet.it wrote:

 Hi all,

 I need to display some local html files in a Lazarus application, which
 must run under Linux.

 What's the best way to go?

 Thanks in advance for any hint.

 Giuliano

 --
 Giuliano Colla

 Project planning question: when it's 90% done, are we halfway or not yet?


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



If you are on Linux and you are okay with Qt you might consider the QT
webkit demo.

It will probably make things way easier for you. It might prove a nice way
to learn out to use the Qt 4.8.x series directly.

I tried the Internet Pro control first but realized that it would be more
difficult in the long term. If you are bold enough you might be able to
make it into a component.

It is available at http://users.telenet.be/Jan.Van.hijfte/qtforfpc/ file
name lclwebkit.zip

I just noticed http://sourceforge.net/projects/lazwebkit/ which is GTK2
compatible bit I haven't tried it yet..

-- 
Frank Church

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


[Lazarus] Do the make commands have a way of listing the options and possible values for them?

2015-03-31 Thread vfclists .
The ./configure command used by a lot of unix programs can list the options
and possible values for them. Do the make commands for Lazarus and FPC have
such an option?

-- 
Frank Church

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


[Lazarus] Can the Lazarus IDE itself be compiled for a different OS and architecture?

2015-03-31 Thread vfclists .
Is it possible to compile the Lazarus version of Windows 32bit or 64bit on
a Linux system, including the components, zip it up and transfer it to a
Windows system for installation?
-- 
Frank Church

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


Re: [Lazarus] Lazbuild command options.

2015-03-27 Thread vfclists .
On 26 March 2015 at 13:49, Dmitry Boyarintsev skalogryz.li...@gmail.com
wrote:

 On Thu, Mar 26, 2015 at 9:47 AM, vfclists . vfcli...@gmail.com wrote:

 Is there a document with more detail on the syntax of lazbuild's options?
 lazarus --help doesn't offer much.

 Web version of lazbuild --help
 http://wiki.freepascal.org/lazbuild

 Are you looking for something specific?

 thanks,
 Dmitry

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


Some of the options lists are not complete. The wiki page shows only what
is available with  'lazbuild --help' command.
Are most of the options the same as what is available in the IDE?


cpu - are they limited to what is available in the IDE

build-mode - is this the option used for compiling a project for the
command line , ie a regular project, not the ide or package installation

compiler

add-package (paths to the packages, comma separated?)

widgetset

operating-system

What are the config template files stored in the --secondary-config-path? I
compile from source into the user's directory. What would I used instead?


-- 
Frank Church

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


Re: [Lazarus] Is there a way to checkout a specific subversion tag or branch in a Git mirror of a Subversion repository?

2015-03-26 Thread vfclists .
On 26 March 2015 at 09:55, Graeme Geldenhuys mailingli...@geldenhuys.co.uk
wrote:

 On 2015-03-26 06:43, vfclists . wrote:
  Is there a way to checkout a specific subversion tag or branch in a Git
  mirror of a Subversion repository?

 If your Git mirror cloned all the details you need (trunk, branches and
 tags), then yes. Simply checkout the branch you want using git checkout
 -b name_of_branch. Setting up such a git mirror is quite hard though
 (dependent on how SubVersion was abused) - at least it was when I last
 tried to do it.



I am using your Git mirror :). Does it clone all the necessary details?
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] How do you guys extract an SVN revision number from a Git commit ref?

2015-03-26 Thread vfclists .
On 26 March 2015 at 10:58, Graeme Geldenhuys mailingli...@geldenhuys.co.uk
wrote:

 On 2015-03-26 10:42, vfclists . wrote:
  'git svn find-rev' works for finding the Git commit refs from subversion
  refs only if the subversion refs are of the form rN, and I thought
  going the other way

 Sorry, I probably haven't had enough coffee yet, but I don't fully
 understand. I thought you wanted the latest svn revision number by using
 a git mirror (of a subversion repo). That is exactly what the command
 does that I posted.

 For example. Here is the last commit I have in my lazarus repo (cloned
 from the git mirror on Github).
 ===
 $ git log -1
 commit d7e9b24c9bb114264663cc45d7148a4ade3f2b24
 Author: dmitry dmitry@4005530d-fff6-0310-9dd1-cebe43e6787f
 Date:   Thu Mar 26 00:48:36 2015 +

 printer4lazarus: carbon - replace OSX 10.5 (driver specific) code
 with OSX 10.0 compatible code for getting printerinters DPI

 git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@48507
 4005530d-fff6-0310-9dd1-cebe43e6787f
 ===


 As far as I understood, you are interested in finding the SVN revision
 of that commit - which is r48507 (by looking at the git-svn-id line.


 ===
 $ git svn find-rev $(git log --max-count 1 --pretty=format:%H)
 48507
 ===

 As you can see, the command returns exactly that revision for you.


 The first time you run the 'git svn find-rev' git will do some layout
 migration (svn info) for you. Maybe it is also because I'm using the
 very latest Git. But after the first run, it will always only return the
 svn revision number.


Your original answer was correct. I needed something for any commit not
just the latest, but the example I used was for just the latest commit, and
I confused myself as a result.

-- 
Frank Church

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


[Lazarus] Is there a way to checkout a specific subversion tag or branch in a Git mirror of a Subversion repository?

2015-03-26 Thread vfclists .
Is there a way to checkout a specific subversion tag or branch in a Git
mirror of a Subversion repository?

-- 
Frank Church

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


Re: [Lazarus] How do you guys extract an SVN revision number from a Git commit ref?

2015-03-25 Thread vfclists .
On 24 March 2015 at 23:33, Graeme Geldenhuys mailingli...@geldenhuys.co.uk
wrote:

 On 2015-03-24 21:10, vfclists . wrote:
 
  git log -n 1 | head -n 7 | tail -n 1 | cut -d @ -f 2 | cut -d   -f 1


 Try:

   git svn find-rev $(git log --max-count 1 --pretty=format:%H)


 Alternatively you could do something like this:

   git log -n 1 -z | grep trunk@[0-9]* 

 Tweak the regex to use lookbehind which could then trim the trunk@
 prefix. I don't know the regex syntax for grep. The following regex does
 the trick in my editor of choice, but not in the command above for some
 reason.

   (?=trunk@)[0-9]+



 Regards,
   - Graeme -



This is what I have settled on in the mean time.

LAZ_SVN_REVISION=`git log  | grep -A 10 $LAZ_GIT_REVISION | grep git-svn-id
|  cut -d @ -f 2 | cut -d   -f 1`

It searches the commit log for the 10 lines after the git commit ref ,
looks for the line saying git-svn-id and gets the part after the '@' at
sign. It needs more refinement though.

-- 
Frank Church

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


Re: [Lazarus] Does a Lazarus build include the revision of the FPC used to compile it?

2015-03-24 Thread vfclists .
On 24 March 2015 at 06:42, leledumbo leledumbo_c...@yahoo.co.id wrote:

  Is including the FPC revision part of the Lazarus build

 nope

  does FPC have a way of telling its revision number, if it is checked out
  from a Git mirror, ie using `git archive` without the metadata?

 nope, only version (fpc -iV), and that's what building revision.inc in the
 Lazarus build process does



So the revision.inc is for Lazarus only, not FPC? I need to compile Lazarus
and FPC from a source only archive without the metadata, and I am creating
the revision.inc for Lazarus from the commit messages. If it is not
necessary for FPC then that should be fine, otherwise I will have to clone
the corresponding commits for the compilation.


-- 
Frank Church

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


Re: [Lazarus] Ways of making new style design

2015-03-24 Thread vfclists .
On 24 March 2015 at 07:23, zeljko zel...@holobit.net wrote:

 On 03/23/2015 09:35 PM, Graeme Geldenhuys wrote:

 On 2015-03-23 20:19, aradeonas wrote:

 I know its possible with other languages specialty web programing but
 how in Lazarus?


 The LCL (GTK2, QT, Carbon, Win32) are not designed to be customise with
 themes. The design goal of LCL is to look native. So install a OS wide
 theme - that's it.


 QtLCL apps can be customized out of current system theme via stylesheets.
 You can provide --stylesheet yourstylesheet.blah to any qtlcl application
 and it'll work.

 zeljko


I need to know more about this. Are any examples available?

-- 
Frank Church

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


[Lazarus] How do you guys extract an SVN revision number from a Git commit ref?

2015-03-24 Thread vfclists .
I am using this code to obtain the SVN revision of a git commit hash. The
example below is for the latest commit hence the git log -n 1.

git log -n 1 | head -n 7 | tail -n 1 | cut -d @ -f 2 | cut -d   -f 1

It checks for the seventh line, searches for the '@' in trunk@N and
extracts it from there.
The problem is the position the line with the trunk@N string varies. Is
there some way to work it calculate it?

My awk, grep and sed skills are not so hot.

-- 
Frank Church

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


[Lazarus] Does a Lazarus build include the revision of the FPC used to compile it?

2015-03-23 Thread vfclists .
In looking through the sources and the Help | About dialog in Lazarus, I
noticed that the FPC revision is not include in it, and that the
revision.inc file in the FPC source applies to fpcmake.

Is including the FPC revision part of the Lazarus build, and does FPC have
a way of telling its revision number, if it is checked out from a Git
mirror, ie using `git archive` without the metadata?

-- 
Frank Church

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


[Lazarus] Is adding all the related files to a package the way to stop units proliferating in the output directory?

2015-03-20 Thread vfclists .
I am using a library which uses a lot of it own related files and whenever
I recompile all those units are always recompiled. Is adding the other
additional files into a package the way to avoid this recompilation and the
presence of lots of unrelated ppus and object files?

-- 
Frank Church

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


Re: [Lazarus] Is adding all the related files to a package the way to stop units proliferating in the output directory?

2015-03-20 Thread vfclists .
On 20 March 2015 at 12:30, Mattias Gaertner nc-gaert...@netcologne.de
wrote:

 On Fri, 20 Mar 2015 12:08:11 +
 vfclists . vfcli...@gmail.com wrote:

  I am using a library which uses a lot of it own related files and
 whenever
  I recompile all those units are always recompiled.

 What do you mean with whenever I recompile?
 Compile (Ctrl-F9), Build (Shift-F9), Clean up and build, ...
 changing compiler options and build, ...


Mainly Quick Compile, Run and Build


  Is adding the other
  additional files into a package the way to avoid this recompilation and
 the
  presence of lots of unrelated ppus and object files?

 What are other additional files?


They are files in the uses section of the project's units, but there are a
lot of them and are mostly exclusive dependencies of the projects main unit.

Using packages can be used to reduce recompilations.


 Mattias

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




-- 
Frank Church

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


Re: [Lazarus] Play video from memory

2015-03-17 Thread vfclists .
On 17 March 2015 at 08:23, aradeonas aradeo...@operamail.com wrote:

 Thank you all,
 Now with help of author of FFVCL I can do what I want.
 That is great library with a great support.After testing many libraries I
 think its best choice for any one wants expert and easy to use tools in
 video field (also audio and .. but I didn't work with them).

 Regards,
 Ara




Consider uploading it to some place where we can all learn from it,
something like a gist at Github.



-- 
Frank Church

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


Re: [Lazarus] Someone help built qt4pas.dll for win64

2015-03-14 Thread vfclists .
On 14 March 2015 at 12:50, FreeMan freema...@delphiturkiye.com wrote:

 :
 I'm s lucky :)
 Sure, I'm be happy, if I help somebody. I upload Qt4Pas5.7z (255kb). to
 our web site. just this dll file is enough for run my application.
 this is my dll compiled in w8 x64 with qt 4.8.6.
 http://www.delphiturkiye.com/files/Qt4Pas5.7z

 All qt 4.8.6 bin and lib folders size 1gb.
 qt-4.8.6-x64-mingw482r3-seh-rev1.7z file size 261mb but not sure about
 copyright problem.
 Yes, its good idea add 64 or some spell separate 3264bit version.
 And sorry for late answer.


 On 13.03.2015 19:02, zeljko wrote:

 That project for Qt64 is removed today (link you added at form), so no
 available binaries.
 Also, it will be nice that you upload somewhere that libQt4Pas.dll for
 64bit so other ppl can use it.
 Besides that I propose rename of libQt4Pas.dll to libQt4Pas64.dll for
 64bit target (of course in that case qt45.pas will be changed so it loads
 libQt4Pas64.dll) because of easier deployment of both targets under windows.

 zeljko



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


Can you upload the files removed from the sourceforge repo as well?
The licensing terms should remain the same and probably be verified from
whatever licensing files that are contained in it.


-- 
Frank Church

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


Re: [Lazarus] Someone help built qt4pas.dll for win64

2015-03-14 Thread vfclists .
On 13 March 2015 at 17:02, zeljko zel...@holobit.net wrote:

 On 03/13/2015 01:38 PM, FreeMan wrote:

 On 12.03.2015 20:57, zeljko wrote:

 QMAKE_CXXFLAGS += -fpermissive should be added to the Qt4Pas.pro

 zeljko

 Thank you, I can compile now. And I added message in forum
 How to build QT4pas5.dll win64
 http://forum.lazarus.freepascal.org/index.php/topic,27706.0.html


 That project for Qt64 is removed today (link you added at form), so no
 available binaries.
 Also, it will be nice that you upload somewhere that libQt4Pas.dll for
 64bit so other ppl can use it.


+1
I was eyeing this thread with the intention of trying out my own build as
well, as my recent attempts to run Qt builds on Windows failed.
It seems the owner deleted them in a huff.


 Besides that I propose rename of libQt4Pas.dll to libQt4Pas64.dll for
 64bit target (of course in that case qt45.pas will be changed so it loads
 libQt4Pas64.dll) because of easier deployment of both targets under windows.

 zeljko



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




-- 
Frank Church

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


[Lazarus] Does the Lazarus IDE check for the fpc.cfg in the default places on first run?

2015-03-13 Thread vfclists .
Does the Lazarus IDE check for the fpc.cfg in the default places on first
run?

I built a few instances of Lazarus from source, and although I set the fpc
binary to a shell script which had its own fpc.cfg passed to it via the @
parameter, they complained about the missing fpc.cfg until I copied the
fpc.cfg to ~/.fpc.cfg.

I thought the @ parameter made testing for fpc.cfg in the default locations
unnecessary.

Is the dependence of ~/.fpc.cfg a feature enforced by Lazarus itself or is
the fpc that triggers the complaint?

In short - does:

1. Lazarus test the fpc passed to it to ensure that it was built with that
fpc build?

2 Does Lazarus run the fpc with some parameters to check that the fpc.cfg
matches?

3. Does the test check for the fpc in the default locations, before testing
the one passed in the fpc.sh script?

My earlier builds were created with fpcup and I wonder if fpcup applied
some patch or used some scheme to fool the Lazarus first run into ignoring
the default fpc.cfg locations.

-- 
Frank Church

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


[Lazarus] Hooking into the IDEs save events?

2014-09-26 Thread vfclists .
During development a lot unneeded changes occur forms, especially when you
move them around or click on controls to set events etcetera.

I want to have settings which stop forms or data modules from being edited
or that abandons changes to the LFM or DFM when the project is being saved.
Another option will be the ability to specify what sort of changes are
allowed, like whether controls can change parents, whether they can be
moved within the same parent, whether they can be resized etc.

I don't know if Lazarus allows forms to be locked against changing, but a
good way would be to revert the file to its previous state if the system is
under source code control.

The idea is that before the IDE attempts to save a file, which in will be
mostly DFM or LFM file, the user is warned that the form has been locked
against changes and will stop the file from being saved. In the worst case
the file will be saved, but the VCS can revert it back to the last commit.

So in short are there some IDE events and procedures that can be hooked
into to decide whether some changes will be allowed?v

-- 
Frank Church

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


Re: [Lazarus] Does Lazarus give default names to components created at runtime?

2014-09-11 Thread vfclists .
On 18 June 2013 17:59, Mattias Gaertner nc-gaert...@netcologne.de wrote:

 On Tue, 18 Jun 2013 17:42:58 +0100
 vfclists . vfcli...@gmail.com wrote:

  On 18 June 2013 13:20, Mattias Gaertner nc-gaert...@netcologne.de
 wrote:
 
  
  
vfclists . vfcli...@gmail.com hat am 18. Juni 2013 um 13:29
   geschrieben:
   
   
 Does Lazarus give default names to components created at runtime?
  
   No. Default is ''.
  
   Mattias
  
  
  Is there function in the LCL that can suggest or create a name for new
  component, like in the IDE that creates a name from the component type
 and
  an integer?

 The IDE one is a bit more complicated than that and it is pretty IDE
 specific, so it is not in the LCL.
 There are CreateFirstIdentifier and CreateNextIdentifier in
 LCLProc. Maybe they can help you.

 Mattias



I have checked CreateFirstIdentifier and CreateNextIdentifier and they
appear to fit the bill , but a comment in the source code says they have
been deprecated in favour of some new procedures in LazUtils.LazUTF8 which
I can't find.

Do you have some idea what the replacement procedures are?




-- 
Frank Church

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


Re: [Lazarus] Does Lazarus give default names to components created at runtime?

2014-09-11 Thread vfclists .
On 11 September 2014 19:03, Mattias Gaertner nc-gaert...@netcologne.de
wrote:

 On Thu, 11 Sep 2014 18:41:02 +0100
 vfclists . vfcli...@gmail.com wrote:

 [...]
  I have checked CreateFirstIdentifier and CreateNextIdentifier and they
  appear to fit the bill , but a comment in the source code says they have
  been deprecated in favour of some new procedures in LazUtils.LazUTF8
 which
  I can't find.

 That's a copy/paste error in the documentation. I fixed it in trunk.


  Do you have some idea what the replacement procedures are?

 There are no such replacements for these two functions.

 Mattias



Thanks
-- 
Frank Church

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


[Lazarus] Script to install set of libraries after compiling a new build of Lazarus?

2014-09-05 Thread vfclists .
Is there a standard script that you can a list of libraries that you want
compiled and installed if necessary after you create a new Lazarus build?

I find myself having to add my preferred libraries manually and it gets
tedious.


-- 
Frank Church

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


Re: [Lazarus] Script to install set of libraries after compiling a new build of Lazarus?

2014-09-05 Thread vfclists .
On 5 September 2014 13:59, . fox golden...@live.com.ph wrote:

 It might not be the best answer you were looking for but when I recompile
 lazarus I issue this command

 make clean lazbuild useride starter

 It install the packages that I previously added.

 -
 goldenfox

 --
 Date: Fri, 5 Sep 2014 10:58:31 +0100
 From: vfcli...@gmail.com
 To: lazarus@lists.lazarus.freepascal.org
 Subject: [Lazarus] Script to install set of libraries after compiling a
 new build of Lazarus?



 Is there a standard script that you can a list of libraries that you want
 compiled and installed if necessary after you create a new Lazarus build?

 I find myself having to add my preferred libraries manually and it gets
 tedious.


 --
 Frank Church

 ===
 http://devblog.brahmancreations.com

 -- ___ 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




I am referring to the instance when you download a new version of Lazarus
and FPC to compile, rather than rebuilding the existing IDE.

-- 
Frank Church

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


Re: [Lazarus] New icons for IDE windows

2014-09-01 Thread vfclists .
On 27 August 2014 12:21, Torsten Bonde Christiansen t...@epidata.info wrote:

  Hi.

 Am I the only one who have noticed the new icon for the different IDE
 Windows (lazarus trunk)?

 A really nice touch! :D

 Regards,
 Torsten.

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



I noticed too.

-- 
Frank Church

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


Re: [Lazarus] Grey windows in Lazarus IDE with GTK2 in Mint 17 + KDE

2014-09-01 Thread vfclists .
On 18 August 2014 22:14, Juha Manninen juha.mannine...@gmail.com wrote:

 I suspect this is yet another GTK2 version related bug. Has anybody seen
 it?

 When opening a modal window like the About box, other windows turn
 grey because they are
 disabled. That is OK.
 After closing the modal window they still remain grey although they work
 OK.
 Only minimizing and then restoring the IDE helps bring the normal color
 back.

 This is the latest Linux Mint 17 with KDE desktop.

 Regards,
 Juha

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



I thought I replied to this over a week ago, but it wound up in a Gmail
draft.

I have noticed the same on recent Lazarus GTK builds 2014/08/27 on a KDE
desktop


-- 
Frank Church

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


Re: [Lazarus] LazDaemon

2014-09-01 Thread vfclists .
On 24 July 2014 16:37, Michael Van Canneyt mich...@freepascal.org wrote:



 On Thu, 24 Jul 2014, Juha Manninen wrote:

  I think the LazDaemon package is broken at least on Windows.
 Can someone else start a Windows service made with it? I cannot.

 When I find some time, I will have a look at it.



 I have successfully installed this program on windows, but it was a
 windows 2000.
 Maybe the permissions setup has changed in windows, this is always a
 possibility.


LOL



 Michael.
 --


-- 
Frank Church

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


Re: [Lazarus] How to convert old *.lrs based forms to *.res

2014-09-01 Thread vfclists .
On 21 August 2014 17:23, Graeme Geldenhuys mailingli...@geldenhuys.co.uk
wrote:

 On 2014-08-21 06:14, leledumbo wrote:

  - Change resource format in the project options to FPC resources
  - ...snip...

 Thank you, those set of instructions worked perfectly.


 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


There is some info about switch to .res files in this forum thread:
http://forum.lazarus.freepascal.org/index.php/topic,22463.30.html . It
might be of some help

-- 
Frank Church

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


Re: [Lazarus] Visual Form Inheritance support

2014-08-08 Thread vfclists .
Does this work for frames as well?

My experience suggest that when a frame is embedded in a form at design
time, changes to the original are not propagated to the embedded version.

Is this by design, or am I missing something?


On 4 August 2014 07:22, Mattias Gaertner nc-gaert...@netcologne.de wrote:

 On Sun, 3 Aug 2014 18:41:27 -0300
 luiz americo pereira camara luiz...@oi.com.br wrote:

  Does Lazarus implements Visual Form Inheritance feature present in
 Delphi?

 Yes.
 But not all changes to the ancestor are propagated to the
 descendants in real time.
 It's recommended to close the descendants before editing the
 ancestor.


  If yes, is there an example?

 Create an application. Then create an inherited item.


 Mattias

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




-- 
Frank Church

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


Re: [Lazarus] What are the prerequisites for compiling Lazarus on a KDE based system?

2014-01-06 Thread vfclists .
On 5 January 2014 18:42, waldo kitty wkitt...@windstream.net wrote:

 On 1/5/2014 6:37 AM, Reinier Olislagers wrote:

 On 05/01/2014 04:47, waldo kitty wrote:

 On 1/4/2014 4:37 PM, vfclists . wrote:

 On 4 January 2014 14:28, leledumbo leledumbo_c...@yahoo.co.id
 mailto:leledumbo_c...@yahoo.co.id wrote:

 +1!!n i'm running into similar situations building in this way... i've
 tried trunk for both FPC and LAZ and the defaults give be failures on
 building the docs... those failures being, mainly, that fpdoc and/or
 fpmake did not exist... but my last try was at 0500 this morning and i
 simply started fpcup clean with no previous config files or directories
 and let it run...


 RTFM (especially about the docs part) and properly read the failures
 please.


 i will try but i've not found a 'manual' as such... fpcup.txt or
 similar... all i have is the binary that was downloaded... nothing else
 other than the built-in help...

  Thanks.


 you are welcome... i can only try to help make things better when possible
 ;)

 BTW: i do like fpcup... i'm still trying to wrap my head around all of its
 capabilities and functions... nice work :)


 --
 NOTE: No off-list assistance is given without prior approval.
   Please keep mailing list traffic on the list unless
   private contact is specifically requested and granted.



Consider increasing the RAM. I was using a 1GB system with no swapfile.
When I added a 1GB swapfile the problem simply stopped. The errors point
was often the resource creator. There would be an error saying fpcres could
not be found. At other times it was the linker.

-- 
Frank Church

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


Re: [Lazarus] Is there a separate mailing list for Lazarus developers?

2014-01-05 Thread vfclists .
When people ask questions like this it is because they are making
comparisons with other projects which are more open, or in the case of
Lazarus easier to follow.

I follow a few groups such as pharo-dev and squeak-dev regularly and others
such as web2py occasionally. In all instances once I log on to my email I
can quickly get a good idea of how things are moving, ie you know how
features are progressing and what bugs are being fixed.

I couldn't understand why I coudn't get an idea of developments in Lazarus*
just by following the mailing lists* and wondered if there was another
mailing list. The mailing list you are referring to is not listed at
http://lists.lazarus.freepascal.org/mailman/listinfo and it is clearly not
related to development of features as is generally understood.

The wiki only tells you about features after they have been implemented. It
doesn't give an idea of how and why they evolved the way they did. Although
they enable code displays to be better formatted once you have to follow
more than a few different wikis and forums they are less convenient. This
is an issue which has been well debated and I have no intention of raising
it here.

FWIW I have just spent over an hour exploring Mantis and it looks like the
place where a lot of Lazarus development related discussions occur.
Obviously it is a complex multiplatform system which is rather mature in
internet years and has gathered quite an amount of cruft and I can
understand why its developers prefer to focus on fixing existing issues
rather than spending/wasting time debating new features.

@Matthias and Bart - I think it helps to open up the more technical
discussions to outside viewing. There is always smart lurker out there who
can help with some abstruse issue which escapes you or you don't have the
time or resources for. Kostas issue is an example of what I am taking
about. Not that many people would be familiar with that area, be involved
with it and to recognize that there was a bug there let alone have
knowledge of the library or API internals to fix it. Bugs for most people
mean bugs in programming logic not in interfaces to specialized libraries.

@Juha - Perhaps you could follow the example of the older wiser heads such
as Florian and Matthias who have responded to this thread with examples and
suggestions because they had a better understanding of why I asked this
question. Just because someone's manners or style rubs you the wrong way
doesn't mean they are trolling - which is generally understood to be
creating drama and controversy for its own sake.


A belated Happy New Year to Lazarus Developers and Congratulations for what
is a good development tool given their resource constraints. ( I tend to be
stingy with praise!!)

-- 
Frank Church

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


Re: [Lazarus] What are the prerequisites for compiling Lazarus on a KDE based system?

2014-01-05 Thread vfclists .
On 5 January 2014 11:37, Reinier Olislagers reinierolislag...@gmail.comwrote:

 On 05/01/2014 04:47, waldo kitty wrote:
  On 1/4/2014 4:37 PM, vfclists . wrote:
  On 4 January 2014 14:28, leledumbo leledumbo_c...@yahoo.co.id
  mailto:leledumbo_c...@yahoo.co.id wrote:
  +1!!n i'm running into similar situations building in this way... i've
  tried trunk for both FPC and LAZ and the defaults give be failures on
  building the docs... those failures being, mainly, that fpdoc and/or
  fpmake did not exist... but my last try was at 0500 this morning and i
  simply started fpcup clean with no previous config files or directories
  and let it run...

 RTFM (especially about the docs part) and properly read the failures
 please.

 Thanks.


I just read the wiki and noticed the --noconfirm option. Although I have a
list of fpcup options in my blog I missed it among the large number of
options.

IMHO the 'fpcup --verbose --noconfirm  fpcverbose.txt' method  should be
recommended as the first thing to do if fpcup fails and placed at the top
of the Troubleshooting Section in the wiki.

A full compilation takes about 20 minutes on my system and it is much
easier on the eye this way.


-- 
Frank Church

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


Re: [Lazarus] Is there a separate mailing list for Lazarus developers?

2014-01-05 Thread vfclists .
On 5 January 2014 14:41, Florian Klämpfl flor...@freepascal.org wrote:

 Am 05.01.2014 15:07, schrieb vfclists .:
 
 
  When people ask questions like this it is because they are making
  comparisons with other projects which are more open, or in the case of
  Lazarus easier to follow.
 
  I follow a few groups such as pharo-dev and squeak-dev regularly and
  others such as web2py occasionally. In all instances once I log on to my
  email I can quickly get a good idea of how things are moving, ie you
  know how features are progressing and what bugs are being fixed.

 Considering the svn log, squeak developed (80 commits in 2013) approx.
 50 times (!) slower than lazarus (almost 4000 commits in 2013) so no
 wonder you cannot follow lazarus comparable easily.



Squeak is a Smalltalk system and all the changes are versioned
automatically in the live image and shared via the Monticello repository.
If they use svn it is probably some ancillary systems related to the
project. Between 1st and 5 Jan their repository system has recorded 25
commits to about 10 different packages.

Anyway I am not comparing a dynamic, interpreted system using a live image
with a static compiled language as they are quite different paradigms and
the development styles are quite different.

-- 
Frank Church

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


Re: [Lazarus] What are the prerequisites for compiling Lazarus on a KDE based system?

2014-01-05 Thread vfclists .
On 5 January 2014 18:42, waldo kitty wkitt...@windstream.net wrote:

 On 1/5/2014 6:37 AM, Reinier Olislagers wrote:

 On 05/01/2014 04:47, waldo kitty wrote:

 On 1/4/2014 4:37 PM, vfclists . wrote:

 On 4 January 2014 14:28, leledumbo leledumbo_c...@yahoo.co.id
 mailto:leledumbo_c...@yahoo.co.id wrote:

 +1!!n i'm running into similar situations building in this way... i've
 tried trunk for both FPC and LAZ and the defaults give be failures on
 building the docs... those failures being, mainly, that fpdoc and/or
 fpmake did not exist... but my last try was at 0500 this morning and i
 simply started fpcup clean with no previous config files or directories
 and let it run...


 RTFM (especially about the docs part) and properly read the failures
 please.


 i will try but i've not found a 'manual' as such... fpcup.txt or
 similar... all i have is the binary that was downloaded... nothing else
 other than the built-in help...

  Thanks.


 you are welcome... i can only try to help make things better when possible
 ;)

 BTW: i do like fpcup... i'm still trying to wrap my head around all of its
 capabilities and functions... nice work :)

 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Use 'fpcup --verbose --noconfirm  fpcverbose.txt' and view the output in a
text editor. It will much easier and Reinier will be able to help quicker.

-- 
Frank Church

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


[Lazarus] What are the prerequisites for compiling Lazarus on a KDE based system?

2014-01-04 Thread vfclists .
What are the known prerequisites for installing Lazarus on a KDE based
system?

I am able to build Lazarus using fpcup on existing Ubuntu 12.04 systems
running KDE, but I am unable to get it working on a newly installed system
so I suspect that some of the required libraries have not been installed on
the new system.

Is there a clearly specified list of prerequisites for compiling Lazarus on
Debian/Ubuntu with KDE?

-- 
Frank Church

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


Re: [Lazarus] What are the prerequisites for compiling Lazarus on a KDE based system?

2014-01-04 Thread vfclists .
On 4 January 2014 14:28, leledumbo leledumbo_c...@yahoo.co.id wrote:

 Just check what -lXXX are missing



Can you explain it further?

I am building Lazarus using fpcup.


-- 
Frank Church

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


[Lazarus] Is there a separate mailing list for Lazarus developers?

2014-01-04 Thread vfclists .
Is there a separate mailing list for Lazarus developers?

This mailing list appears to be mainly for Lazarus users rather than the
developers.

Is there a separate mailing list for that, or does it take place in
Bugzilla or some other place?

-- 
Frank Church

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


Re: [Lazarus] Is there a separate mailing list for Lazarus developers?

2014-01-04 Thread vfclists .
On 4 January 2014 22:06, Juha Manninen juha.mannine...@gmail.com wrote:

 On Sat, Jan 4, 2014 at 11:39 PM, vfclists . vfcli...@gmail.com wrote:
  Is there a separate mailing list for Lazarus developers?

 Yes there is.
 Can be joined by invitation only. Most of the members also have a
 commit access to SVN repo.

 You will be invited, too, if you became a Lazarus developer. :)

 Juha

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


A lot of Lazarus developments and improvements, whether fully implemented
or planned go unnoticed and I wonder if this is the reason why.

Is it possible to view their archives or have some kind of read only access
to it?


-- 
Frank Church

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


Re: [Lazarus] Is there a separate mailing list for Lazarus developers?

2014-01-04 Thread vfclists .
On 4 January 2014 23:18, Juha Manninen juha.mannine...@gmail.com wrote:

 On Sun, Jan 5, 2014 at 12:26 AM, vfclists . vfcli...@gmail.com wrote:
  A lot of Lazarus developments and improvements, whether fully
 implemented or
  planned go unnoticed and I wonder if this is the reason why.

 What might those unnoticed developments and improvements be?
 I believe this is a misunderstanding or maybe hopeful thinking from your
 side.
 The discussion is about technical details of some piece of code,
 release schedules and maybe organizing transportation for a meeting.
 You would be bored.

 There is no secret agenda about the future of Lazarus that its
 developers try to hide from you.
 The development process is as open as it gets.
 The missing features are well known: Project groups, Android and other
 targets, docking, installing packages from a repository, Unicode, etc
 ...
 The Mantis bug tracker has loads of feature requests, too.
 Everybody agrees those features are needed but somebody actually has
 to do them. Just talking and writing about them would be useless.

  Is it possible to view their archives or have some kind of read only
 access
  to it?

 No.
 Besides, I think your time is better used if you learn the Lazarus
 code base and then provide patches.
 And, if you still really REALLY want to read the developers mailing
 list, you must provide so many quality patches that you finally get a
 commit access and get invited to the list.
 I can recommend this route.

 Juha

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



I have always had this nagging feeling that something wasn't quite right
about Lazarus and this explains it. I have been using Lazarus on and off
for about 4 years now. From the start I don't think I used more the 10% of
what Lazarus offered and in the succeeding 4 years my usage of its features
increased by 10%.

The additional features that I can think of are using the Object Tree to
navigate the components, changing the parent to move objects around, using
Control-Shift-Down Arrow to jump to the definition and Control Click with
the mouse to jump to the definition of a procedure or a type, but I suspect
that there have been more improvements since then.

I think the developers fear that if they open up the list even for viewing
alone there will be lots of acrimonious debates and disagreements with non
developers over how Lazarus should evolve, such as the everlasting Unicode
debates, and also criticism about its internal operation.

It may be a well founded fear as seen in other open source projects but it
ought to be reconsidered, with the understanding that whatever things
non-developers/participants disagree with should be raised politely and in
a tempered manner that doesn't offend or dishearten existing developers.

As for being able to participate by submitting patches or fixing bugs first
many users may consider such things outside their field of competence, or
may only be  interested in areas that affect them directly or are deeply
knowledgeable about, such the issue with transparency that Kostas recently
submitted a patch for. For me it was always a non-starter because compiles
were breaking due to missing units and I was always afraid of breaking my
installations to try new things even for my own use. It is only now that I
am becoming more confident and even then I am still wary.

I think for testing stock VM images should be used so that contributors can
just load, test and report their findings without the fear of messing up
their working installations. Testing is one area that can result in more
participants if involves just being click monkeys.

I think that opening the list may allow people who are highly skilled in
specialized areas to see where they can contribute and offer their help.
Going through Bugzilla to select bugs for fixing is okay for young
developers or students who want to cut their teeth or find a way to enhance
their skills and acquire some experience, but some of us are too long in
the tooth for that. I also suspect that some of those bugs wouldn't creep
into the code in the first place if the development process was open enough
for more eyes to spot them in the first place.

There a lot of projects which are more open but I suspect that using
dynamic languages helps with rapid iterations and enable to them to manage
debates and issues without slowing development, whereas a compiled language
doesn't afford that time and flexibility.

I think being able to see what is coming and follow their development will
encourage more participants and more bug fixing as well.

In any case if Lazarus developers feel that this approach has proved to be
the best over the years then they are entitled to continue as is.

-- 
Frank Church

===
http://devblog.brahmancreations.com

Re: [Lazarus] The future of desktop

2013-12-04 Thread vfclists .
On 4 December 2013 20:20, Florian Klämpfl flor...@freepascal.org wrote:

 Am 04.12.2013 21:08, schrieb Avishai:
  There's very little interest because it simply can't do the job.  If
  you're looking to buy a new car, you don't stop at a motorcycle shop.
   If Lazarus could overcome just a few of the major obstacles I think
  there would be RightToLeft people that would make the effort to create a
  great RightToLeft tool.

 If the guys who started lazarus, would have thought the same, there
 would be no lazarus at all. If an OSS tool misses a certain feature,
 then there is simply not enough interest, else somebody who needs it,
 would implement it. Period.


 --


I think the problem is more of an issue of newcomers confidence that they
can dive into the codebase and start tackling stuff, or at least they can
find someone to guide them if they want to. Systems programming is not an
easy area to get involved with and there are many developers who have never
had to get anywhere close to that kind of programming. It all looks rather
daunting for those who may not be so proficient at Pascal or experienced in
low level programming


-- 
Frank Church

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


Re: [Lazarus] Is there an industry language for specifying for declaring GUIs in JSON?

2013-12-03 Thread vfclists .
On 3 December 2013 16:11, Alexsander Rosa alexsander.r...@gmail.com wrote:

 Maybe a way to call a webservice, get a JSON reply and show it on a
 TStringGrid?



I mean a general GUI building language


 Pascal development ecosystem can experience a revival. It is rapidly
 loosing ground to programming languages  which can be are interpreted,
 JITed, compiled, and have garbage collection, not just in usage, but in
 performance as well.


 I think my vision warrants a separate blog post. I know what I want, I
 just don't have the technical know how to accomplish it.

 --
 Frank Church

 ===
 http://devblog.brahmancreations.com

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




 --
 Atenciosamente,
 Alexsander da Rosa


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




-- 
Frank Church

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


Re: [Lazarus] Is there an industry language for specifying for declaring GUIs in JSON?

2013-12-02 Thread vfclists .
On 2 December 2013 08:25, Michael Schnell mschn...@lumino.de wrote:

 On 12/01/2013 04:57 PM, vfclists . wrote:


 Are there some industry standards for specifying GUIs in JSON?

 See Future of the Desktop right here.

 -Michael

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




I am already following that thread. What I have in mind is using
Lazarus/FreePascal forms as purely presentation layer, not for Pascal
programs alone, but any language, DWScript, Python, bash, Basic, whatever
even DWScript In effect the form opens a web server or another type socket
where the business layer sends the screen drawing commands to. Whereas a
browser is pull system, this is a both pull and push

When I did some Googling, knockout.js a framework that came up, something
similar for Lazarus is what I have in mind. FreePascal, LCL, fpGUI etc are
the system I know and the best foundation for a  high performance cross
platform presentation layer that I can think of.

I think parsing QML or a reasonable subset for building Lazarus UIs as an
alternative to .lfm and .dfm files is where the future of the
Lazarus/FreePascal lies. I wouldn't say the future, but it is area where
the Pascal development ecosystem can experience a revival. It is rapidly
loosing ground to programming languages  which can be are interpreted,
JITed, compiled, and have garbage collection, not just in usage, but in
performance as well.

I think my vision warrants a separate blog post. I know what I want, I just
don't have the technical know how to accomplish it.

-- 
Frank Church

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


[Lazarus] Is there an industry language for specifying for declaring GUIs in JSON?

2013-12-01 Thread vfclists .
Are there some industry standards for specifying GUIs in JSON?

Something which can specify the type of elements like edit controls,
buttons, the positions etc, and draw stuff like squares, triangles, boxes
etc? It doesn't have to be an official standard, but have widespread use to
make it easier to work with?

QML appears to be one, are there any others?

FWIW I am trying to use the LCL Widgets as a means of displaying
information from interpreter based development, passing the GUI creation
commands over a socket.


-- 
Frank Church

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


Re: [Lazarus] The future of desktop

2013-11-30 Thread vfclists .
On 30 November 2013 13:28, Andrew Brunner atbrun...@aurawin.com wrote:


 On 11/30/2013 07:04 AM, silvioprog wrote:

  2013/11/30 Michael Van Canneyt mich...@freepascal.org

 [...]
 I want to program the browser itself. In Pascal.


  Hello Michael,

  Why not use an existing webkit (like Qt or Chrome) and incorporate it
 into Lazarus? That would leave the responsibility for compatibility with
 HTML5, CSS3, mp3 encode, webGL, file manipulation, , support for
 cross-platform etc. for the webkit.

  Please see this nice project:

  https://github.com/rogerwang/node-webkit



 What would it take - in the form of a bounty - to get a community wide
 project to get Lazarus a *real* HTML5 browser for OSX and Linux?  I assume
 windows is already just an Active-X component.

 Any ideas? I can't stress this enough that it's like living in the
 technical dark-ages without access to developing front-ends without rich
 text and more often for me  now, web apps.



I think I mentioned what your real problem was in the my previous response.

Most of  we want can be found in
http://www.elevatesoft.com/products?category=ewbtype=web. The developer
speaks of Linux version being in the works which could be because the
backend probably depends on Delphi. Delphi as usual continues to be Lazarus
and FreePascal's worse enemy.

My  own feeling is that getting the Lazarus form builder to generate Pascal
code rather than, or as well as the .lfm files  is the first step. Then
Javascript next, QML or whatever. The Delphi legacy is still hanging over
Lazarus. Phil Hess did something that could translate a subset of the
components in.lfm files into Javascript some years ago and that may be a
start.

-- 
Frank Church

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


[Lazarus] What are the perfomance and memory usage effects of having heaptrc running?

2013-11-23 Thread vfclists .
I want to use heaptrc in a program, but only use the
AddExitProc(@DumpHeapTraceOutput) occasionally with a command line switch.

Does heaptrc intercept and monitor memory allocation throughout the program
execution, or does it do a scan of memory usage for output only at program
shutdown?

-- 
Frank Church

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


Re: [Lazarus] Database and installation

2013-11-19 Thread vfclists .
  And I am not really looking forward to writing InstallShield from
scratch for Windows if there is a better alternative.

You haven't stated whether your program is for Windows or Linux but I am
assuming that it is a Windows program.

http://www.enterprisedb.com/products-services-training/pgbindownloadprovides
binary installations of PostgreSQL. I haven't tried them yet but I
believe they enable you to run PostgreSQL outside the standard
installation, ie embeddeding them separately for your own programs.

PostgreSQL enables you to run the postgres executable using different
settings, ie different data directories, different port, authentication
etc. If there are preinstalled executables you can use them to run against
your own dedicated cluster and even configure it as a service.


On 19 November 2013 12:49, Chavoux Luyt chav...@gmail.com wrote:

 Hi all

 I have used Lazarus with PostgreSQL in a client-server setup before.
 It worked very well when I installed it at a client.

 I have also written desktop Delphi programs using Paradox as database
 and InstallShield as the installer before, which worked very well for
 distributing programs on CD (or DVD). What would be the best Lazarus
 equivalent for this purpose? I.e. a program with a pre-existing,
 populated database that can be distributed on (and installed from) a
 CD or DVD by users.

 If I use PostgreSQL it would need to see if the Postgres RDMS has
 already been installed on the desktop, install it if not, populate the
 PostgreSQL database with the data on the CD and install the program
 itself (with possibly adding a shortcut depending on the window
 manager used). I have never studied .deb (much less) .rpm packages in
 detail, so I am not sure if all of this functionality can be packed in
 there. And I am not really looking forward to writing InstallShield
 from scratch for Windows if there is a better alternative.

 Any ideas?

 Thanks
 Chavoux

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




-- 
Frank Church

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


Re: [Lazarus] Writing a Lazarus program with its own display, RFB?

2013-11-19 Thread vfclists .
On 19 November 2013 00:30, vfclists . vfcli...@gmail.com wrote:


 I want to write a program to provide its own remote display without an X
 Window server, ie the program has its own display which can be connected to
 via VNC server. There is a libvncserver/libvnclient project at
 http://libvncserver.sourceforge.net/ which enables one to do that, but I
 don't know where to start or even know who all the parts come together.

 My main questions are:

 1. Is it possible to direct the output of a Lazarus LCL program into such
 a display system, or perhaps replace the parts where it interacts with X
 Windows to such a system.

 2. If I am willing  go with X Windows is it possible to dedicate a single
 X Window to a program alone, without using an Desktop Manager or Window
 Manager and link it with VNC, as though it is the program alone that
 displays on that X Window?

 3. Is there some place I can get some more information about this RFB
 system of display programs if that is the right term?

 --
 Frank Church===


Thanks for the suggestions. By editing out most of the lines in
~/.vnc/xstartup I have been able to make some progress

#!/bin/sh

# xrdb $HOME/.Xresources
# xsetroot -solid grey
# x-terminal-emulator -geometry 80x24+10+10 -ls -title $VNCDESKTOP
Desktop 
~/program/program  
#x-window-manager 
# Fix to make GNOME work
#export XKL_XMODMAP_DISABLE=1
# /etc/X11/Xsession

I commented out everything except the command to run the program and I get
a shaded gray screen with my program, but without the headers and menu
which I suspect are placed there by the window manager.

I have also noticed  XTightvnc and its parameters in the process list and
it looks to me that they are key to getting the results I need.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Writing a Lazarus program with its own display, RFB?

2013-11-18 Thread vfclists .
I want to write a program to provide its own remote display without an X
Window server, ie the program has its own display which can be connected to
via VNC server. There is a libvncserver/libvnclient project at
http://libvncserver.sourceforge.net/ which enables one to do that, but I
don't know where to start or even know who all the parts come together.

My main questions are:

1. Is it possible to direct the output of a Lazarus LCL program into such a
display system, or perhaps replace the parts where it interacts with X
Windows to such a system.

2. If I am willing  go with X Windows is it possible to dedicate a single X
Window to a program alone, without using an Desktop Manager or Window
Manager and link it with VNC, as though it is the program alone that
displays on that X Window?

3. Is there some place I can get some more information about this RFB
system of display programs if that is the right term?

-- 
Frank Church

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


[Lazarus] Graeme would love this, or not, I think

2013-10-11 Thread vfclists .
You couldn't make this up. Is it a joke or not?

Department of Basic Education bans Free and Open Source Software in SA
Schools and mandates programming an ancient, moribund language in
contradiction of government's own policy http://twitter.com/share


http://dkeats.com/index.php?module=blogaction=viewsinglepostid=gen21Srv8Nme0_40332_1381256759userid=7050120123

-- 
Frank Church

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


Re: [Lazarus] Graeme would love this, or not, I think

2013-10-11 Thread vfclists .
I suspect is its a trick to introduce Linux by the back door. If their
Delphi programs can easily be switched to Lazarus the software will be easy
to convert to Linux and the Mac


On 11 October 2013 20:18, vfclists . vfcli...@gmail.com wrote:

 You couldn't make this up. Is it a joke or not?

 Department of Basic Education bans Free and Open Source Software in SA
 Schools and mandates programming an ancient, moribund language in
 contradiction of government's own policy http://twitter.com/share



 http://dkeats.com/index.php?module=blogaction=viewsinglepostid=gen21Srv8Nme0_40332_1381256759userid=7050120123

 --
 Frank Church

 ===
 http://devblog.brahmancreations.com




-- 
Frank Church

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


Re: [Lazarus] Lazarus, Jedi etc.

2013-07-19 Thread vfclists .
On 18 July 2013 14:46, Paulo Costa paco.mail.telepac...@gmail.com wrote:

 On 18/07/2013 14:31, Kenneth Cochran wrote:

 On Thu, Jul 18, 2013 at 6:23 AM, Reimar Grabowski reimg...@web.de
 mailto:reimg...@web.de wrote:

 On Wed, 17 Jul 2013 11:17:29 +0200
 Reinier Olislagers reinierolislag...@gmail.com
 mailto:reinierolislagers@**gmail.com reinierolislag...@gmail.com
 wrote:

   Regardless, I don't think prolonging this thread is very useful.
 +1


 I invoke Godwin's law.

 You're all a bunch of Hilter lovin' Nazis.

 There, that should kill the thread.


 Unfortunately, no...

 From wikipedia:
 http://en.wikipedia.org/wiki/**Godwin%27s_lawhttp://en.wikipedia.org/wiki/Godwin%27s_law

 It is considered poor form to raise such a comparison arbitrarily with
 the motive of ending the thread. There is a widely recognized corollary
 that any such ulterior-motive invocation of Godwin's law will be
 unsuccessful.[8]

 I apologize for going so much off topic,

 Paulo Costa




 --
 __**_
 Lazarus mailing list
 Lazarus@lists.lazarus.**freepascal.orgLazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarushttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



There is nothing particularly wrong with MySQL. Together with its partner
in crime PHP they were hacks their developers put together to make things
easy for their developers and they caught on quickly in the early days of
the web. They just outgrew their intended usage (good enough) and once
their installed base grew it became difficult and expensive to enforce
compliance without breaking existing applications.
When you know that MySQL was developed from an even earlier toy database
called msql you will understand.

Just Google some of the debates surrounding them in their early days when
Monty Widenius or( was it David  Axmark) said something like ACID
compliance was not necessary in an RDBMS or MySQL was ACID compliant or
some other such tripe to understand why MySQL is the way it is. At that
time PostgreSQL was at the 6.5 or so level and MySQL ran rings round it in
ease of installability and performance. You just  had to copy the files
from one place to another and off you went. Try doing that with PostgreSQL.
MySQL also worked very well with Windows which was a bonus. It just
couldn't be beaten for ease of deployment.

Consider that most of the other database cost a bomb in licensing and you
can see why MySQL became so popular. It was such a doddle to use. Compare
MySQL's command line tools to those of PostgreSQL or Firebird's command
line tools and you will see why MySQL became so popular. Did I mention the
licensing issue?


-- 
Frank Church

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


Re: [Lazarus] Should TObject or TComponent have a Comment property?

2013-07-12 Thread vfclists .
On 11 July 2013 23:07, Benito van der Zander ben...@benibela.de wrote:

  Annotations like in Java would be nice...


 On 07/11/2013 10:22 PM, vfclists . wrote:

   Should TObject or TComponent have a Comment property?

  I think they should. One for the design itself and one for describing the
 usage at design or runtime.

  Smalltalk has it.

  Consider it a version of the Hint property but for the developer

 --
 Frank Church

 ===
 http://devblog.brahmancreations.com


 --
 ___
 Lazarus mailing 
 listLazarus@lists.lazarus.freepascal.orghttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



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



This attitude which exists in the Pascal community needs to end. I say
Pascal not FreePascal because when I examine a lot of free Delphi libraries
I see the same thing. Lots and lots of code and not a comment in sight. It
makes stuff needlessly difficult. The simple fact is documentation is never
going to happen because no one has time to create it with separate tools,
not even the people writing the code themselves. Coding time is the best
time for documentation because that is when the intent of the code is clear
and fresh in the developers mind, and incurs minimal additional cost. After
all it takes barely a minute or two to describe a function, and the same
parsing tools compiling the code can pull out the comments and create
documentation stubs if there is a need to flesh them out further, eg with
examples etc

Even a lot of the funded open source libraries don't have the resources to
create proper documentation. If you take Delphi for instance, since Turbo
Pascal, Delphi 7 etc the quality of documentation has gone down and these
are companies that are well funded.

Instead of doing the simple thing a purist attitude has been adopted which
never does anyone any good.

It is time developers learn to treat other developers as consumers not
people who are supposed to RTFC or RTFM. Developers are people who are
supposed to put parts together just by examining the function parameters
and the function descriptions rather than wade through loads of procedure
definitions and sample code full of similar sounding and confusing names.

Enough digression - if considered carefully a comment about the purpose of
an object belongs in the object definition itself. Why should interrogation
about an object's purpose be handled by a whole subsystem of code which has
precisely nothing to do with the object, ie the operating system, a help
displaying program, a filename which is the help document, as well as a
search string which is the object's name? Multiply that by the variety of
help displaying programs for each operating system, then by the number of
operating systems available then you can see how ridiculous the whole
concept is. Just bureaucracy piled on bureaucracy and attachment to ill
thought out convention and tradition. There is never a direct link between
an object and the  help display programs available on the operating system.

There is a totally insane disconnect here. The Smalltalk guys got it right.

There can be an options to strip the comments out in the final deliverable
just like the debugging information.

-- 
Frank Church

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


Re: [Lazarus] Should TObject or TComponent have a Comment property?

2013-07-12 Thread vfclists .
On 12 July 2013 01:20, leledumbo leledumbo_c...@yahoo.co.id wrote:

  Annotations like in Java would be nice...

 No IMHO, that would complicate reading the code (more cluttered) as you can
 see in the newer Delphi versions (called attributes instead of annotations
 though).



This is what folding editors exist for. The developer can fold them out of
view when he doesn't need to read them This facility already exists in the
Lazarus editor.

Any way I thinking of simple one liners, not whole paragraphs.
-- 
Frank Church

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


[Lazarus] Should TObject or TComponent have a Comment property?

2013-07-11 Thread vfclists .
Should TObject or TComponent have a Comment property?

I think they should. One for the design itself and one for describing the
usage at design or runtime.

Smalltalk has it.

Consider it a version of the Hint property but for the developer

-- 
Frank Church

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


Re: [Lazarus] [OT] New Lazarus website

2013-06-23 Thread vfclists .
I think Delphi compatibility is given too much prominence in the basic
description. Lazarus is first and foremost an Object Pascal programming IDE
whereas Delphi compatibility is RAD/GUI via components aspect. I don't
think 18 years after Delphi was introduced many Windows users know what
Delphi is, let alone MAC or Linux users.

It should be introduced as an Object Pascal crossplatform development tool
that should be seen as a good alternative to the basically C++, Objective-C
and Python development tools on the non Windows platforms that also give
access to Windows.

Object Pascal as an alternative to C++, C, Python requires better emphasis.



On 22 June 2013 19:03, silvioprog silviop...@gmail.com wrote:

 Hello,

 Lazarus website with a new look:

 http://www.lazarus.freepascal.org

 Enjoy!

 --
 Silvio Clécio
 My public projects - github.com/silvioprog

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




-- 
Frank Church

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


Re: [Lazarus] Lazarus for Haiku - Package released

2013-06-19 Thread vfclists .
On 19 June 2013 07:35, spam.acid...@gmail.com spam.acid...@gmail.comwrote:

 If any of You interested in coding stuff in lazarus for haiku operating
 system:


 http://haiku-os-dev.blogspot.com/2013/06/lazarus-for-haiku-ready-to-download.html

 --
 StreaK

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



The note on this page
http://haiku-os-dev.blogspot.co.uk/2013/06/clipnote-handy-app-for-haiku-done-in.htmlstates
that the size of the app will be 20MB upwards. Is that due to the
library size or does it contain debugging information?Did the author of the
program use the appropriate compile options?

The 'strip' utility should also be able to strip out the debug information
if that is the cause of the bloat.
-- 
Frank Church

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


[Lazarus] Does Lazarus give default names to components created at runtime?

2013-06-18 Thread vfclists .
Does Lazarus give default names to components created at runtime?

-- 
Frank Church

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


Re: [Lazarus] Does Lazarus give default names to components created at runtime?

2013-06-18 Thread vfclists .
On 18 June 2013 13:20, Mattias Gaertner nc-gaert...@netcologne.de wrote:



  vfclists . vfcli...@gmail.com hat am 18. Juni 2013 um 13:29
 geschrieben:
 
 
   Does Lazarus give default names to components created at runtime?

 No. Default is ''.

 Mattias


Is there function in the LCL that can suggest or create a name for new
component, like in the IDE that creates a name from the component type and
an integer?

-- 
Frank Church

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


Re: [Lazarus] New competition for Lazarus

2013-06-01 Thread vfclists .
On 1 June 2013 14:22, Miquel Bruns miquel.br...@gmail.com wrote:

 Dear Juha,

 We've installed both Lazarus and CodeTyphon Studio here, reading this
 http://www.pilotlogic.com/sitejoom/index.php/wiki/84-wiki/codetyphon-studio/223-codetyphon-statusat
  CodeTyphon Wiki, we see how much they work for us the community. (with
 sources)

 We can wait some time to see what's happening... ;)

 Cheers,
 Miquel Matas.


 Salut!
 Miquel Matas.




My advice is to document what you do as well as you can, so that others can
use the information to contribute it back to the main Lazarus project.

FWIW I think Lazarus IDE development could do with a shot in the arm.
---
Frank Church

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


Re: [Lazarus] RAD Studio XE4 Released?

2013-04-24 Thread vfclists .
On 24 April 2013 09:52, Adrian Veith adr...@veith-system.de wrote:

 - different compilers for the supported targets - the new ARC is only
 available for ARM iOS. How can they sell this ... as a cross-platform
 solution ?
 - do we have September again ? Now they are going to sell you beta
 software in a half year cycle (instead of yearly as they used to do in the
 past). Soon they will decide to switch to a quarterly cycle.

 Adrian.
 Am 24.04.2013 10:14, schrieb Michael Schnell:

  Seemingly no support for Linux, Android.

 - 
 http://www.embarcadero.com/**products/rad-studiohttp://www.embarcadero.com/products/rad-studio

 -Michael

 --
 __**_
 Lazarus mailing list
 Lazarus@lists.lazarus.**freepascal.orgLazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarushttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



 --
 __**_
 Lazarus mailing list
 Lazarus@lists.lazarus.**freepascal.orgLazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarushttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



Why don't they give make it a 120 or 180 day evaluation with bug fixes
included? It takes time to evaluate a product as well as develop a good
product in it, something you may be doing in your spare time. If after
using that long it turns out to be good enough the purchasing decision is
simple. They seem to forget that the cost in time of evaluating a product
is way higher than the cost of the product itself.

-- 
Frank Church

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


[Lazarus] RAD Studio XE4 Released?

2013-04-23 Thread vfclists .
http://www.h-online.com/developer/news/item/RAD-Studio-XE4-focuses-on-cross-platform-apps-1848176.html

http://www.embarcadero.com/press-releases/embarcadero-technologies-unveils-multi-device-true-native-app-development-suite
-- 
Frank Church

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