Re: [fpc-pascal] Generating code form xmi files

2009-04-03 Thread Osvaldo Filho
We could work on it.

Perhaps any one cold start a project for that. And others help.

My English and my knowledge in C++ is very pour. But i help any one do it.

2009/4/3 Michael Van Canneyt 

>
>
> On Fri, 3 Apr 2009, Mattias Gärtner wrote:
>
> > Zitat von Michael Van Canneyt :
> >
> > >
> > >
> > > On Fri, 3 Apr 2009, Graeme Geldenhuys wrote:
> > >
> > > > On Thu, Apr 2, 2009 at 10:05 PM, Philippe Martinole
> > > >  wrote:
> > > > >
> > > > > xmi files (not xml) are used to save uml models :
> > > > > http://en.wikipedia.org/wiki/XML_Metadata_Interchange
> > > > > and I want to gererate my data structures from my uml diagrams
> > > > > I would be suprised if nothing already exists
> > > >
> > > > I've been looking for something like this for a long time and haven't
> > > > fond anything for Free Pascal / Lazarus. You can obviously use Model
> > > > Maker and simply tweak the generated object pascal code to make sure
> > > > they are compilable with FPC. But I believe Model Maker is quite
> > > > pricey.
> > >
> > > Well, Umbrello (Open source, comes with KDE) can generate code from XMI
> > > for various languages (C,C++,PHP, Java) except pascal. All you need to
> > > do is write an output engine for pascal.
> > >
> > > It is on my todo list, item no. 132.458 :-)
> >
> > I just tested Umbrello and I got the impression it is very C++-centric -
> the
> > dialogs, the options, the code. For example I don't see how to setup free
> > pascal properties - it seems to have only basic variables as attributes.
> > Is this a shortcoming of UML in general?
>
> No, I don't think so; But the 'pascal' implementation is very rudimentary,
> for instance there is no 'published' visibility. if you look at the
> language specific options, you'll see that the pascal language has no
> options yet. I would expect that one could put some pascal-specific
> things there.
>
> I expect it'll be up to us to provide this :(
>
> I use umbrello extensively for the diagrams till now,
> it would of course be nice to have it import/export pascal code as well.
>
> So, it remains on my todo list. But maybe if interest is raised enough,
> someone with more time/pressing needs will do it before me :-)
>
> Michael.
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Generating code form xmi files

2009-04-05 Thread Osvaldo Filho
http://www.opensubscriber.com/message/dia-l...@gnome.org/11515637.html


Em Dom, 2009-04-05 às 11:05 +0200, Michael Fuchs escreveu:
> Graeme Geldenhuys schrieb:
> > I currently use "Dia Diagram editor" to design UML diagrams, but as
> > far as I know it does generate any code. :-( 
> 
> Try
> http://www.uni-ulm.de/~s_mgerla/dia2pas.html
> 
> 
> mfg
> Michael
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Forum merger

2009-12-15 Thread Osvaldo Filho
I like the idea!
When I see MonoDevelop and compare with Lazarus, I see that we need
more ideas to the market. I see no problem in being more attractive to
the market. I see no problem in bringing new fans to Lazarus. The tool
is good. The FPC is mature. We need things that with a larger
community would be easier.
It would be good for Lazarus / FPC with a large project as a forum or
CMS made with our own tools:
- Lazarus/FPC
- Fpweb
- SpiderWeb
- ExtPascal
- Using OPF, Patterns, etc.

People see us. Learn how to work in a professional manner with a "new" Easter!

Companies see us!

The problem that this has to be a collective effort. I know we can not
enforce it, do not want this! But we can support, we can agree that
this way we would be positioning ourselves clearly in the market! This
would dispel the idea that Pascal is a language of instruction.

We need those who can help not only those who want to help!

Thank you.
Regards to all.

(Using google translate)

2009/12/15 Graeme Geldenhuys :
> Bee Jay wrote:
>>
>> Yes, and it would take forever if no one dare to start it. ;)
>
> So Bee, register a project on SourceForge or GitHub and start coding. Maybe
> somebody will contribute at some stage. Like they said in some old movie:
> "Build it and they will come".
>
>
>
> Regards,
>  - Graeme -
>
> --
> fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
> http://opensoft.homeip.net/fpgui/
>
> ___
> fpc-pascal maillist  -  fpc-pas...@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Forum merger

2009-12-16 Thread Osvaldo Filho
Powtils + FreeSpider ?


2009/12/16 Michael Van Canneyt :
>
>
> On Wed, 16 Dec 2009, Bee Jay wrote:
>
>>> So Bee, register a project on SourceForge or GitHub and start coding.
>>> Maybe
>>> somebody will contribute at some stage. Like they said in some old movie:
>>> "Build it and they will come".
>>
>> If I made one, then I'll make it using Powtils (fully CGI) or ExtPascal
>> (fully Ajax) because that's what I know and have been experience with. I
>> myself prefer to use fpWeb since it's provided by FPC's FCL. No third party
>> dependency is good for new comers, and it's also better FPC/Lazarus
>> promotion. I also intend to study fpWeb and would try to combine it with
>> ExtPascal, if possible.
>
> Extpascal needs to be rewritten for that; it's not possible to combine the
> two at the moment. ExtPascal only works with ExtPascal :(
>
> Michael.
> ___
> fpc-pascal maillist  -  fpc-pas...@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Forum merger

2009-12-16 Thread Osvaldo Filho
FreeSpider http://www.lazarus.freepascal.org/index.php?topic=7439.0
Powtils http://code.google.com/p/powtils/


2009/12/16 Osvaldo Filho :
> Powtils + FreeSpider ?
>
>
> 2009/12/16 Michael Van Canneyt :
>>
>>
>> On Wed, 16 Dec 2009, Bee Jay wrote:
>>
>>>> So Bee, register a project on SourceForge or GitHub and start coding.
>>>> Maybe
>>>> somebody will contribute at some stage. Like they said in some old movie:
>>>> "Build it and they will come".
>>>
>>> If I made one, then I'll make it using Powtils (fully CGI) or ExtPascal
>>> (fully Ajax) because that's what I know and have been experience with. I
>>> myself prefer to use fpWeb since it's provided by FPC's FCL. No third party
>>> dependency is good for new comers, and it's also better FPC/Lazarus
>>> promotion. I also intend to study fpWeb and would try to combine it with
>>> ExtPascal, if possible.
>>
>> Extpascal needs to be rewritten for that; it's not possible to combine the
>> two at the moment. ExtPascal only works with ExtPascal :(
>>
>> Michael.
>> ___
>> fpc-pascal maillist  -  fpc-pas...@lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>>
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Forum merger

2009-12-17 Thread Osvaldo Filho
Well, fpWeb is winner, yes?
Bee can create a sourceforge project?

2009/12/17 Graeme Geldenhuys :
> Michael Van Canneyt wrote:
>>
>> The advantage of fpweb is that it doesn't matter whether you want to use
>> an apache module, plain cgi or fastcgi, or in a standalone server.
>> It works with all 4 types.
>
> That's good news!  Can you explain more about what you mean by "standalone
> server"? One of our lightweight apps we are thinking of is a simple
> executable with built-in HTTP Server support (no Apache or other full
> featured HTTP servers required) - is that what you mean by "standalone
> server"?  This 'lightweight' HTTP server application will be executed
> before the client access our CGI apps on localhost. I still have code lying
> around somewhere which is about 400 lines of code implementing a basic HTTP
> server that also supports CGI - it simply uses the available TCP support
> from FPC - no 3rd party components like INDY, lnet etc...
>
>
> Regards,
>  - Graeme -
>
> --
> fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
> http://opensoft.homeip.net/fpgui/
>
> ___
> fpc-pascal maillist  -  fpc-pas...@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Forum merger 2

2009-12-22 Thread Osvaldo Filho
(google translate)

Why not start?
We did not start because it is not interesting or because can not be done?
After all, is it possible to do a good job for the web in Pascal?

Why not start a project for a Forum in Pascal, without specifying
anything in the project, once registered as participants, with a
schedule public, voting technologies: svn, git, googlegroups, OPF, db,
other frameworks, etc.

How about giving ourselves a gift to the year 2010 a new project that
can inspire us to other things, that can show the potential of Pascal
on the web? Maybe not developed new tools, specific to the web in
Pascal?

What do you think?

==
Porque não começamos?
Não começamos porque não é interessante ou porque não dá para ser feito?
Afinal, é ou não possível fazer um bom trabalho para web em Pascal?

Porque não iniciamos um projeto para um Forum em Pascal, sem
especificar nada, dentro do projeto, depois de inscritos como
participantes, com um cronograma público, votamos as tecnologias: svn,
git, googlegroups, OPF, db, outros frameworks, etc

Que tal nos darmos de presente para o ano de 2010 um projeto novo que
possa nos inspirar para outras coisas, que possa mostrar as
potencialidades do Pascal na web? Quem sabe não desenvolvemos
ferramentas novas, específicas para web em Pascal?

O quê acham?
==
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Forum merger 2

2009-12-22 Thread Osvaldo Filho
Ok!

2009/12/22 Graeme Geldenhuys :
> Osvaldo Filho wrote:
>> anything in the project, once registered as participants, with a
>> schedule public, voting technologies: svn, git, googlegroups, OPF, db,
>> other frameworks, etc.
>
> I say it again. Just register the project and start coding. You being the
> first developer, you have the honour of deciding where this new project
> will be hosted (FPC server, SourceForge, GitHub, etc) and what repository
> SCM to use (svn, git, mercurial, etc..). Once the project has been created,
> please announce it here so other know about it. Other than that, start
> coding and others will hopefully follow.
>
>
> Regards,
>  - Graeme -
>
> --
> fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
> http://opensoft.homeip.net/fpgui/
>
> ___
> fpc-pascal maillist  -  fpc-pas...@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Forum merger

2009-12-22 Thread Osvaldo Filho
http://groups.google.com/group/forpas/about

2009/12/18 Graeme Geldenhuys :
> Vincent Snijders wrote:
>>
>> The most important thing now is that (at least) one
>> person actually starts *coding* and making his source available. Where is 
>> not that
>> important.
>
>
> I agree 100%.
>
>
>
> Regards,
>  - Graeme -
>
> --
> fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
> http://opensoft.homeip.net/fpgui/
>
> ___
> fpc-pascal maillist  -  fpc-pas...@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Forum Merge Fwd: Examples - First contact ;-)

2009-12-22 Thread Osvaldo Filho
The first contact on new Forum for New Forum! ;-)


-- Forwarded message --
From: Wanderlan 
Date: 2009/12/22
Subject: Examples
To: forpas 



Ext JS Web forum interface example:

http://www.extjs.com/deploy/dev/examples/forum/forum.html

Database structure for a Web forum

http://vanillaforums.org/page/DatabaseStructure

Full open source example

http://vanillaforums.org

Wanderlan
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Fwd: wishlist for new forum

2010-01-06 Thread Osvaldo Filho
>From ForPas! New forum made with FPC/Lazarus


-- Forwarded message --
From: OsvaldoTCF 
Date: 2010/1/6
Subject: wishlist
To: forpas 


Please send us your wish list.
What you like to have in a forum?
What facilities? Interactivity ...
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Hardware information: Linux and Windows

2010-01-19 Thread Osvaldo Filho
How do I get information about the hardware in Linux and Windows?
- Identification of the processor: model, manufacturer, serial number
- Identification of Hard Disk: model, manufacturer, physical serial number
- Identification of Memory: model, manufacturer, size, type
- Identification of Motherboard: model, manufacturer
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Cross-compiling from 64-bit Linux to 32-bit Linux

2010-02-08 Thread Osvaldo Filho
I have the same problem (or not?) :

---
Free Pascal Compiler version 2.4.1 [2010/02/03] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Linux for i386
Compiling lazarus.pp
Compiling resource ../units/i386-linux/lazarus.or
Linking ../lazarus
ld: warning: ../link.res contains output sections; did you forget -T?
ld: skipping incompatible /usr/lib/crti.o when searching for /usr/lib/crti.o
ld: skipping incompatible /usr/lib/crti.o when searching for /usr/lib/crti.o
ld: cannot find /usr/lib/crti.o
lazarus.pp(127,1) Error: Error while linking
lazarus.pp(127,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did
not specify a source file to be compiled)
make[2]: ** [lazarus] Erro 1
make[2]: Saindo do diretório
`/home/deskx/desenvolvimento/instaladores/lazarus/ide'
make[1]: ** [ide] Erro 2
make[1]: Saindo do diretório
`/home/deskx/desenvolvimento/instaladores/lazarus/ide'
make: ** [ide] Erro 2
---

2010/2/8 Patrick Chevalley :
> Install the ia32-libs package.
>
> also check if your fpc.cfg contain the following lines, I not remember
> if I add them:
> #ifdef cpui386
> -Fl/usr/lib32
> -Xd
> #endif
>
> Patrick
> ___
> fpc-pascal maillist  -  fpc-pas...@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] FPC from subversion without root access

2010-02-18 Thread Osvaldo Filho
Como posso ter o FPC do subversion instalado em meu diretório?
1) Download form subversion - Ok
...) Compile? Create ~/.fpc.cfg? How ?
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Re: FPC from subversion without root access

2010-02-18 Thread Osvaldo Filho
Sorry:

How can I get the FPC subversion installed on my directory?

1) Download form subversion - Ok
 ...) Compile? Create ~/.fpc.cfg? How ?

Em 18 de fevereiro de 2010 19:36, Osvaldo Filho
 escreveu:
> Como posso ter o FPC do subversion instalado em meu diretório?
> 1) Download form subversion - Ok
> ...) Compile? Create ~/.fpc.cfg? How ?
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Re: FPC from subversion without root access

2010-02-20 Thread Osvaldo Filho
Thank you.

I have my own compiler - files from another computer - not the ubuntu package.

How can I say the Make program where are the files of the compiler?
They are in: ~/apps/fpc/bin and ~/apps/fpc/lib

2010/2/18 Marc Weustink :
> Osvaldo Filho wrote:
>>
>> Sorry:
>>
>> How can I get the FPC subversion installed on my directory?
>>
>> 1) Download form subversion - Ok
>
> download them into say ~/fpc/trunk
>
>>  ...) Compile? Create ~/.fpc.cfg? How ?
>
> then in ~/fpc/trunk dir run:
>  make all
>  make install PREFIX=~ FPC_VERSION=2.5.1
>
> this will install the compiler in ~/bin ~/lib etc
>
> then edit ~/.fpc.cfg and add or adjust paths so they point to ~/lib/fpc
>
> and make a symlink in ~/bin:
> ln -s ../lib/fpc/2.5.1/ppc386
>
>
> Marc
>
>
>>
>> Em 18 de fevereiro de 2010 19:36, Osvaldo Filho
>>  escreveu:
>>>
>>> Como posso ter o FPC do subversion instalado em meu diretório?
>>> 1) Download form subversion - Ok
>>> ...) Compile? Create ~/.fpc.cfg? How ?
>>>
>> ___
>> fpc-pascal maillist  -  fpc-pas...@lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>>
>
> ___
> fpc-pascal maillist  -  fpc-pas...@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Re: FPC from subversion without root access

2010-02-21 Thread Osvaldo Filho
Thank you very much

2010/2/21 Marc Weustink :
> Osvaldo Filho wrote:
>>
>> Thank you.
>>
>> I have my own compiler - files from another computer - not the ubuntu
>> package.
>>
>> How can I say the Make program where are the files of the compiler?
>> They are in: ~/apps/fpc/bin and ~/apps/fpc/lib
>
> add ~/apps/fpc/bin to your path
>
> ( if you use bash: add the following to your ~/.bach_profile
> PATH=$HOME/apps/fpc/bin;$PATH
> )
>
> and add the following lines to your ~/.fpc.cfg
>
> -Fu~/apps/fpc/lib/fpc/$fpcversion/units/$fpctarget
> -Fu~/apps/fpc/lib/fpc/$fpcversion/units/$fpctarget/*
> -Fu~/apps/fpc/lib/fpc/$fpcversion/units/$fpctarget/rtl
>
>
> if you don't have a ~/.fpc.cfg and do have a /etc/fpc.cfg you can add the
> following as first to your new ~/.fpc.cfg
>
> #INCLUDE /etc/fpc.cfg
>
>
> Marc
>
> ___
> fpc-pascal maillist  -  fpc-pas...@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Versions x.x.1, x.x.3, x.x.5 are development versions? or are bug fixes?

2010-03-17 Thread Osvaldo Filho
Versions x.x.1, x.x.3, x.x.5 are development versions? or are bug fixes?

Ex.: 2.4.1
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Versions x.x.1, x.x.3, x.x.5 are development versions? or are bug fixes?

2010-03-17 Thread Osvaldo Filho
Please, where is this information?

2010/3/17 Jonas Maebe :
>
> On 18 Mar 2010, at 00:10, Osvaldo Filho wrote:
>
>> Versions x.x.1, x.x.3, x.x.5 are development versions? or are bug fixes?
>>
>> Ex.: 2.4.1
>
> x.[0,2,4,6,9].[1,3,5,7,9] are bug fixes versions (with also minor features 
> that should not affect stability too much)
> x.[1,3,5,6,9].x are development versions
>
> So 2.4.1 is a bug fix version.
>
>
> Jonas___
> fpc-pascal maillist  -  fpc-pas...@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] OFFTOPIC: Money Model, for FPC

2010-12-02 Thread Osvaldo Filho
Is Firebird really free?

If you’re expecting some sensation, I’ll not make you happy. Shortly, yes,
Firebird is free, completely. You can use it wherever you want and you don’t
have to pay anything nor release sources of your application nor …

On the other hand, the whole truth, considering all the edge cases and
consequences, is different. To keep high quality of final product, keep
adding new features, provide bug fixes – simply moving forward – the creator
needs some resources. If these resources will not be available, it will be
effectively dead. The resources I’m here talking about, in case of Firebird,
are people doing full time or regular development. These people have
families, houses, hobbies, … And for all of these items you need money (in
our society [image: :)] ). They’re not doing it for fun (only), but also for
living as well.

So Firebird actually needs some money to keep moving. It doesn’t have
licenses to buy or something like that. We’re simply relying on the fact,
that people using it, similar to people working on it, do love it. And are
educated enough to realize all this and provide, even small, support. Thus
next time you’ll be deploying your application with Firebird, think about
sending $10 or even $1. I bet it’s nothing for you (compared to price of the
application or money you’re paying for toilet paper in your office). And ten
thousand people (not much) donating $10 makes a huge difference. It’s not
only about few donating $1.

And by the way, Firebird is not “just” engine, but tools around too: .NET
driver [image: ;)] , Java driver, documentation, QA, …, you name it.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] make[4]: i386-win32-as: (command not found)

2010-12-06 Thread Osvaldo Filho
make clean all CPU_TARGET=i386 OS_TARGET=win32
make install CPU_TARGET=i386 OS_TARGET=win32
PREFIX=/home/kxu/DevPascal/fpc_inst/fpc_win32 FPC_VERSION=2.4.3

make -C hermes smart
make[3]: Entrando no diretório
`/home/deskxu/DevPascal/fpc_inst_scripts/fpc/packages/hermes'
make all LINKSMART=1 CREATESMART=1
make[4]: Entrando no diretório
`/home/deskxu/DevPascal/fpc_inst_scripts/fpc/packages/hermes'
i386-win32-as --32 -o units/i386-win32/mmx_clr.o src/i386/mmx_clr.as
*make[4]: i386-win32-as: Comando não encontrado* (command not found)
make[4]: ** [mmx_clr.o] Erro 127
make[4]: Saindo do diretório
`/home/deskxu/DevPascal/fpc_inst_scripts/fpc/packages/hermes'
make[3]: ** [fpc_smart] Erro 2
make[3]: Saindo do diretório
`/home/deskxu/DevPascal/fpc_inst_scripts/fpc/packages/hermes'
make[2]: ** [hermes_smart] Erro 2
make[2]: Saindo do diretório
`/home/deskxu/DevPascal/fpc_inst_scripts/fpc/packages'
make[1]: ** [packages_smart] Erro 2
make[1]: Saindo do diretório `/home/deskxu/DevPascal/fpc_inst_scripts/fpc'
make: ** [build-stamp.i386-win32] Erro 2
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Build Lazarus Ide - On "make bigide": lazaruspackageintf.pas(102, 1) Fatal: Internal error 2013081601

2013-08-19 Thread Osvaldo Filho
Anyone coud help-me?

user1@movotcf:~/Documentos/Desenvolvimento/pascal/svn/ex/lazarus1010$ make
bigide
make -C packager/registration
make[1]: Entrando no diretório
`/home/user1/Documentos/Desenvolvimento/pascal/svn/ex/lazarus1010/packager/registration'
/bin/rm -f ../units/x86_64-linux/fcllaz.ppu
/usr/local/bin/ppcx64 -MObjFPC -Scghi -O1 -g -gl -vewnhi -l -Fu.
-Fu/usr/local/lib/fpc/2.7.1/units/x86_64-linux/rtl -FE.
-FU../units/x86_64-linux -Cg -dx86_64 fcllaz.pas
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.7.1 [2013/08/19] for x86_64
Copyright (c) 1993-2013 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling fcllaz.pas
Compiling registerfcl.pas
Compiling lazaruspackageintf.pas
*lazaruspackageintf.pas(102,1) Fatal: Internal error 2013081601*
Fatal: Compilation aborted
make[1]: ** [fcllaz.ppu] Erro 1
make[1]: Saindo do diretório
`/home/user1/Documentos/Desenvolvimento/pascal/svn/ex/lazarus1010/packager/registration'
make: ** [registration] Erro 2



I do not understand this error.

This version of lazarus and Trunk show this error.

My environment:
Ubuntu 13.04 Amd64
FPC 2.7.1 rev: 25295

My /etc/fpc.cfg:
  -O2
  -Xs

  -gl
  -Crtoi

-ap
-FD/Applications/Xcode.app/Contents/Developer/usr/bin

-Sgic

-Cppentiumm
-Oppentiumm

-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget
-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/*
-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/rtl

-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/httpd13/
-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/httpd20
-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/httpd22

-Fu~/.fppkg/lib/fpc/$fpcversion/units/$FPCTARGET/*

-Fl/usr/lib/gcc/x86_64-linux-gnu/4.7
-Fl/usr/lib/gcc/x86_64-linux-gnu/4.7

-Fl/usr/local/lib/fpc/$fpcversion/lib/$FPCTARGET

-FD/usr/local/lib/fpc/$fpcversion/bin/$FPCTARGET

  -XP$FPCTARGET-

-Xs

-l

-viwn
Modify message
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Build Lazarus Ide - On "make bigide": lazaruspackageintf.pas(102, 1) Fatal: Internal error 2013081601

2013-08-20 Thread Osvaldo Filho
"a check", please, what check?


2013/8/20 Flávio Etrusco 

> On Tue, Aug 20, 2013 at 1:54 AM, Osvaldo Filho 
> wrote:
> > Anyone coud help-me?
> >
> > user1@movotcf:~/Documentos/Desenvolvimento/pascal/svn/ex/lazarus1010$
> make
> > bigide
> > make -C packager/registration
> > make[1]: Entrando no diretório
> >
> `/home/user1/Documentos/Desenvolvimento/pascal/svn/ex/lazarus1010/packager/registration'
> > /bin/rm -f ../units/x86_64-linux/fcllaz.ppu
> > /usr/local/bin/ppcx64 -MObjFPC -Scghi -O1 -g -gl -vewnhi -l -Fu.
> > -Fu/usr/local/lib/fpc/2.7.1/units/x86_64-linux/rtl -FE.
> > -FU../units/x86_64-linux -Cg -dx86_64 fcllaz.pas
> > Hint: Start of reading config file /etc/fpc.cfg
> > Hint: End of reading config file /etc/fpc.cfg
> > Free Pascal Compiler version 2.7.1 [2013/08/19] for x86_64
> > Copyright (c) 1993-2013 by Florian Klaempfl and others
> > Target OS: Linux for x86-64
> > Compiling fcllaz.pas
> > Compiling registerfcl.pas
> > Compiling lazaruspackageintf.pas
> > lazaruspackageintf.pas(102,1) Fatal: Internal error 2013081601
> > Fatal: Compilation aborted
> > make[1]: ** [fcllaz.ppu] Erro 1
> > make[1]: Saindo do diretório
> >
> `/home/user1/Documentos/Desenvolvimento/pascal/svn/ex/lazarus1010/packager/registration'
> > make: ** [registration] Erro 2
> > (...)
>
> >From the git log, revision 25266 introduced a check that forces this
> error.
>
> -Flávio
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Get 2.6.3 from subverion

2013-08-20 Thread Osvaldo Filho
How can i get version 2.6.3 with svn?

Is this in: http://svn.freepascal.org/svn/fpc/branches/fixes_2_6 ?

Thanks.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Access site from app with login and password using http

2013-08-28 Thread Osvaldo Filho
Is there any example to access information on web site that requires
authentication with login and password in form using http from a Lazarus
application?
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Access site from app with login and password using http

2013-08-28 Thread Osvaldo Filho
Ok, yes, on cgi app.
Where?


2013/8/28 Robert Wolfe 

> Probably, but only if the lazarus application is built as a CGI.
> On Aug 28, 2013 3:07 PM, "Osvaldo Filho"  wrote:
>
>> Is there any example to access information on web site that requires
>> authentication with login and password in form using http from a Lazarus
>> application?
>>
>> ___
>> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>>
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Access site from app with login and password using http

2013-08-29 Thread Osvaldo Filho
Could you send a piece of code as an example?


2013/8/29 Michael Schnell 

> On 08/28/2013 10:07 PM, Osvaldo Filho wrote:
>
>> Is there any example to access information on web site that requires
>> authentication with login and password in form using http from a Lazarus
>> application?
>>
>
> I used Synapse to access the web site of an embedded controller.
>
> Using FireFox with a "developer" plugin, I analyzed the data exchange
> between browser and server. (In fact here a cookie was involved, supposedly
> to allow the server to do an automatic log out after some idle time.)
>
> After that I recreated the dialog in pascal code with Synapse HTTP
> functions.
>
> I suppose the details of the necessary actions to a successful login might
> very between different sites.
>
> -Michael
>
> __**_
> fpc-pascal maillist  -  
> fpc-pascal@lists.freepascal.**org
> http://lists.freepascal.org/**mailman/listinfo/fpc-pascal<http://lists.freepascal.org/mailman/listinfo/fpc-pascal>
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Cross Compile : treefilteredit.pas(60, 60) Error: Illegal expression

2013-11-23 Thread Osvaldo Filho
Environment:
Ubuntu 13.10 64bits
FPC 2.6.3 - Rev 26119
Lazarus 1.2RC - Rev 43472

When i try compile for i386, i get this:

Free Pascal Compiler version 2.6.3 [2013/11/23] for i386
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling lazcontrols.pas
Compiling dividerbevel.pas
dividerbevel.pas(52,31) Hint: Parameter "WithThemeSpace" not used
Compiling extendednotebook.pas
Compiling listfilteredit.pas




*Compiling treefilteredit.pastreefilteredit.pas(60,60) Error: Illegal
expressiontreefilteredit.pas(60,60) Error: Error in type
definitiontreefilteredit.pas(60,60) Fatal: Syntax error, ">" expected but
"" foundFatal: Compilation aborted*
Error: /home/deskx/Aplicativos/fpclaz/bin/ppc386 returned an error exitcode
(normal if you did not specify a source file to be compiled)
make[1]: ** [lazcontrols.ppu] Erro 1
make[1]: Saindo do diretório
`/home/deskx/Documentos/Desenvolvimento/pascal/svn/ex/laz1.2rc32/components/lazcontrols'
make: ** [lazbuild] Erro 2


Any help?
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Cross Compile : treefilteredit.pas(60, 60) Error: Illegal expression

2013-11-24 Thread Osvaldo Filho
procedure Clear;
  end;

*  TBranchList = specialize TFPGObjectList;* // line 60

  { TTreeFilterEdit }

  TTreeFilterEdit = class(TCustomControlFilterEdit)
  private


2013/11/24 leledumbo 

> Please include the respective line. In my trunk source, it's a valid
> generic
> specialization. That point has > as closing bracket of generic type name.
> Either your compiler is buggy or you accidentally change the source.
>
>
>
> --
> View this message in context:
> http://free-pascal-general.1045716.n5.nabble.com/Cross-Compile-treefilteredit-pas-60-60-Error-Illegal-expression-tp5717560p5717564.html
> Sent from the Free Pascal - General mailing list archive at Nabble.com.
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Cross Compile : treefilteredit.pas(60, 60) Error: Illegal expression

2013-11-24 Thread Osvaldo Filho
Well, sorry, but my enviroment, and my problem, is with this:

Environment:
Ubuntu 13.10 64bits
FPC 2.6.3 - Rev 26119
Lazarus 1.2RC - Rev 43472

Compiling from Linux 64 bits for Linux 32 bits.
I really thank you for participating, but I seek information in the
scenario that I posted.



2013/11/24 Juha Manninen 

> On Sun, Nov 24, 2013 at 1:00 PM, Osvaldo Filho 
> wrote:
> >   TBranchList = specialize TFPGObjectList; // line 60
>
> The syntax is perfectly valid and compiles fine here with FPC 2.6.2.
>
> Juha
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Cross Compile : treefilteredit.pas(60, 60) Error: Illegal expression

2013-11-24 Thread Osvaldo Filho
1. perhaps their system is finding the wrong sources?
No.

2. i wonder what their command line is?
make clean all CPU_TARGET=i386

3. i wonder what the version output of their /home/deskx/Aplicativos/fpclaz
/bin/ppc386 is?
FPC 2.6.3 - Rev 26119


4. is the compiler in #3 their 64bit->32bit crosscompiler, their 64bit
compiler or their 32bit compiler?
On crosscompile the ppc386 is used to compile lazarus on Linux 64 to 32 bits


2013/11/24 waldo kitty 

> On 11/24/2013 9:27 AM, leledumbo wrote:
>
>> Seems like your compiler is buggy, my trunk compiler has no problem there
>> though so you might want to try updating your compiler.
>>
>
> is that the trunk *crosscompiler* for linux 64bit -> linux 32bit?
>
> just trying to point out the OP's specifics...
>
> 1. perhaps their system is finding the wrong sources?
> 2. i wonder what their command line is?
> 3. i wonder what the version output of their 
> /home/deskx/Aplicativos/fpclaz/bin/ppc386
> is?
> 4. is the compiler in #3 their 64bit->32bit crosscompiler, their 64bit
> compiler or their 32bit compiler?
>
> --
> 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.
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] dOPF: "Sleek, intuitive, and fast object persistence..." Business objects are descendants of TObject.

2014-08-26 Thread Osvaldo Filho
https://github.com/silvioprog/dopf

"Sleek, intuitive, and fast object persistence for faster and easier
database development."

Business objects are descendants of TObject.

No need to change the database previously in use.

Support fields with reserved words of FreePascal on the tables of the
database.

It is not dependent LCL or other visual component.

The same author's Brookframework already in production on their systems.

https://github.com/silvioprog/dopf
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] dOPF: "Sleek, intuitive, and fast object persistence..." Business objects are descendants of TObject.

2014-08-26 Thread Osvaldo Filho
One more info:

dOPF works with the stable versions of FPC/Lazarus: 2.6.4/1.2.4


2014-08-26 9:33 GMT-03:00 Sven Barth :

> Am 26.08.2014 12:40 schrieb "Osvaldo Filho" :
>
> > The same author's Brookframework already in production on their systems.
>
> And the same author is also active here on the mailing list and he's also
> "advertising" his projects here already ;) (which reminds me that I still
> need to test the Brook framework...)
>
> Regards,
> Sven
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] GUI application sample for windows and linux

2008-08-05 Thread Osvaldo Filho
Hi, i need a sample of an application with this:

One form
One button with an event, the event: showmessage('Hello, my name is: '+
button.name)

The application to be need cross plataform for windows and linux and not use
gtk, gtk2, qt or fpGui.

No lazarus code, please.

This application is for an exemple in a course of programming.

Thanks very much.


PS: Sorry my english.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] GUI application sample for windows and linux

2008-08-07 Thread Osvaldo Filho
Sorry, and thank you.

2008/8/5, David Emerson <[EMAIL PROTECTED]>:
>
> Sorry Osvaldo, but we cannot help with your homework:
>
> http://www.freepascal.org/faq.var#HOMEWORK
>
> The advice I would give any person who actually needs to create a form
> with a button is to use fpgui or lazarus or msegui. If you like
> textmode, you could use freevision.
>
> If you could come up with a compelling technical reason why none of the
> (excellent) existing solutions work, then it might be appropriate to
> engage in a discussion. However "it's prohibited for the assignment" is
> not a technical reason, it's an administrative one ;) thus it's outside
> the domain of reasonable topics for this mailing list.
>
> You might want to have a look at the graph unit, and/or the gdi32 and
> x11 stuff which AFAIK are used for windows/*nix cross-platform
> libraries like fpgui and msegui. Happily I have never had to examine
> that stuff because I use fpgui to make forms and buttons.
>
> Good luck with your class, though.
>
> ~David.
>
>
> On Tuesday 05 August 2008 6:51 am, Osvaldo Filho wrote:
> > Hi, i need a sample of an application with this:
> >
> > One form
> > One button with an event, the event: showmessage('Hello, my name
> > is: '+ button.name)
> >
> > The application to be need cross plataform for windows and linux and
> > not use gtk, gtk2, qt or fpGui.
> >
> > No lazarus code, please.
> >
> > This application is for an exemple in a course of programming.
> >
> > Thanks very much.
> >
> >
> > PS: Sorry my english.
> >
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal