Tom Verhoeff wrote:
I recently upgraded to 0.9.14 and started a project, whose code
is in a deeply nested directory tree with fairly long directory names,
where one of the directory names contains a space.
When compiling from the ide, this fails at the assembler. It seems
to report
I'm a complete atheist and still share much of you POV because Brazil
is largely (and my family is) Catholic (so I have some idea of what
these people IMHO-stupid people think. Unfortunately, I don't know
why, intelligent + phylosophical + logicist atheist...)
Belief is a wise wager.
On Sat, 2006-05-20 at 14:37 +0300, Al Boldi wrote:
Feel free to create OpenRAD based on FPC, gcc and lazarus ;)
Lazarus isn't a language, it's a RAD. And a good one too!
But it would be sad to see this effort being expended towards one language
only.
Lazarus is too good, not
On 5/20/06, Joost van der Sluis [EMAIL PROTECTED] wrote:
That programmers in other languages don't succeed in writing their own
RAD, doesn't mean that we have to provide them with one, imho.
But if someone else want to do that... be my guest. I'm not gonna do it.
But then, people
Being atheist means you beleive that he does not exist.
Certainly not. Not seeing something where there is nothing and where
it is not necessary that there is something is not a belief, it is
a knowledge. I don't not to believe that there is a Rammstein CD in
orbit around Pluto, I do know
I come with a different point of view to Lazarus. I want to build projects
that first feed my family and second please my sense of right.
All of us who think this way should start a group/joint endeavor together
because I am
voting for the same thing, and I'm sick of all the folks out there
Thanks for enlightening us. But this whole discussion has really nothing to
do with
lazarus/fpc/programming in any sense.
I brought in a quote from Blaise Pascal for the basis of my posts. And you
should
familiarize yourself with Blaise Pascal as some of his quotes are very related
to
Upon your arrival for the final judgement you find yourself standing
in front of Ra, the egiptian god. And he is pretty pissed that you
were worshiping a false god. =) Wouldn´t that be funny??
Another quote from Blaise explains the answer to this..
I think Blaise says that no religions are
Can anybody explain, why googling with:
site:lazarus-ccr.sourceforge.net dynamicarray
only gives two hits, but not
http://lazarus-ccr.sourceforge.net/docs/lcl/dynamicarray/index.html
It is a pity, that the most up to date docs are not completely indexed.
I was just thinking
As for the Websnap thing, I did not tought about it; but I once
imagined that as we have support for gtk / qt / win32... we could have
a layer for 'psp' so as to generate forms in web format. (And push it
a little bit more and you can have a full AJAX application compiled
with lazarus. But
one. For the moment I'm sticking on my SQLite+html idea. The html format
Ça va.
What about a SQLLite database that stores the help info, and a php
script that calls that database...
No PHP required really. A CGI program written in Pascal that calls some sort of
database,
and a desktop
What would help is really powerful smartlinking (being able to rip
unused methods inside a unit for example).
Theres no such thing, that is what smartlinking is - KOL is designed around
this but many
people hate KOL because it uses old Objects and requires a bit of thinking -
and most
people
On 5/17/06, L505 [EMAIL PROTECTED] wrote:
The reason I currently use Google to search for freepascal documentation on
the RTL
instead of using my local copy of my help documents, is because Google
itself is my
database that powers the search of the freepascal documentation. Some
2006/5/17, L505 [EMAIL PROTECTED]:
one. For the moment I'm sticking on my SQLite+html idea. The html format
Ça va.
What about a SQLLite database that stores the help info, and a php
script that calls that database...
No PHP required really. A CGI program written in Pascal that calls
When I try to compile either fpc or lazarus from svn, I always get
errors on each line of makefile. I just can't compile. I do not
understand why.
Is it my make version? (MAKE Version 5.2 Copyright (c) 1987, 2000 Borland)
rename Borland make to something else, gnu make and Borland make
Michael Van Canneyt wrote:
If Lazarus puts pascal as a language on the map again, it's name is
VERY well chosen indeed, as Lazarus rose again from the grave !!
A RAD/IDE should not lock itself into one language only, but should rather
strive to be compiler/language independent.
On Sun, 14 May 2006 21:00:44 +0300
Al Boldi [EMAIL PROTECTED] wrote:
Calling it OpenRAD would probably be perfect, unless it's already taken.
That's a description, not a name.
Micha
Call it DevCo IDE then ;-)
Just admit it - the best name for the IDE is Lars.
Micha Nelissen wrote:
Graeme Geldenhuys wrote:
they use inside the *.jar files (html, straight xml or odt ...) and
what viewer they use for the help. They do use the Berkeley Database
for indexes, keywork search and extended tooltips.
Berkeley DB ? Sorry, but that rings alarm bells
In your lazarus directory /components/chmhelp/packages/chm/ there is a
unit called chmreader. It is simple to get a list of any of the files in
the chm and extracting them:
That's how easy it is to get all the files out of a chm :)
Okay so its easy to get the HTML out of CHM (legally.. not
2. Replace the delphi dfm with a real code init (java style).
What are the advantages?
Easier component creation control/management via ONE language.
1) Please do not forget, that then you will be able to Search /
Replace on component properties if they are in code! Currently
Does Apache Server work on Windows CE? So I shouldn't use Apache for a
webserver, just
because it isn't truly cross-platform? Sometimes people get carried away
with the
whole cross platform advantage - when really there would be no advantage of
having
Dude, you are missing the
I think you are one of a selected few. CHM is basically compiled html
files into one file. Why would I want to see the code of each help
file I am viewing. All I want in the content.
A single file is great for distribution (smaller and easier to copy)
compared tho say a 1000 html pages
Back when I started using delphi, I wondered what black magic was creating
my forms for me? Why couldn't I see and tap in to the code that created my
forms? I guess curiosity kills the cat.
You can edit the .dfm. Just not the form and the dfm at the same time.
The DFM never told me when
Even CHM format
creates multiple files and depends on them.
I actually meant HLP format on Win32
_
To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
archives at
I don't see the big deal with external dependencies because almost all
programs have one
or more external dependencies: a system DLL/DSO, a config file, etc.
I have. Lazarus works for Windows CE, does sqlite work on it?
http://sqlite-wince.sourceforge.net/
But I wouldn't want to read or
On 09/05/06, Michael Van Canneyt [EMAIL PROTECTED] wrote:
I'm not very much in favour of creating yet another format.
Standards exist, we should try to use them as much as possible.
Linux - has no standard help!
Man Pages!
Indexing? use grep! (detect sarcasm here).
2006/5/9, A.J. Venter [EMAIL PROTECTED]:
On Tuesday 09 May 2006 15:53, Alexandre Leclerc wrote:
I'm sorry, I can't find the source code... :(
The only code on sourceforge, well, I don't know if this is the
compiler itself, but it does not look like. Any-way I've no time now
to
sqlite is good candidate too (multiplatform,single file,fast, only one
dll/so required)
Sorry, but no:
- No external dependencies, please.
- Specifically: sqlite is a horrible database for use in Pascal.
And very slow for complex queries, in general.
What database is good for Pascal?
There is at least TDBf component for DBase and some memory database
components, but neither is suitable for a help system.
Really.. and why? Too square?
DBase creates too many files.
How many for say a 100MB database or so ? 100's? Are they big files that take
up lots of
space?
In january I was told by L505 that If you decide to use fpc 2.0.2
remember that when you build a normal lazarus GUI style application
you may have to change back to your old compiler in the lazarus
directory. -- Thread subject: Help with DLL (using pchar, etc.)
date 2006/01/12
I think my
Hi.
What they need is people. They (we?) don't need a foundation to make a
better website, but we need someone to make a better website. Obviously
the core developers don't care much about that. They have other
interests.
Your idea of, making some improvements to the community as an
I can answer that. It isn't taught in school at all. If you go to any
school and I mean any school that teaches CompSci in any way they will
tell you that, Pascal is a dead and useless language. Nobody uses Pascal
anymore.
This was almost the exact quotation I heard from people on a local
In all of this talk about the need for a foundation it has been said how
we could have these people doing this job instead of the developers. We
could have others doing other jobs, etc. etc. etc.
Well as the statements point out this needs people. It needs people that
are involved and
On 4/26/06, L505 [EMAIL PROTECTED] wrote:
The only way a real free server could ever exist, is if we had free solar
power/alcohol
power and free hardware foundations
Free as in Freedom.
The patronization - I've read the differences between cost and speech for 5
years now. I'm no GNU
Ian bell schreef
Thanks for the detail. I find it really hard to get my head around
OOP. It just seems to put barriers in the way of what I want to do.
Can you think of any reason why it would want or need a procedure in
this form?
I guess the best advise we can give you is:
Get a book
@MyEventHandle
Closer. Now I get this error:
unit1.pas(200,69) Error: Incompatible type for arg no. 3: Got
address of procedure(LongInt, LongWord);Register, expected
procedure variable type of procedure(LongInt, LongWord) of
object;Register
It probably expects a method which must be
Excellent - good to see a sense of humour here. Does this also prevent
me programmaticaly writing to the TMemo? Presumably not else it would
be nought but a BOG label.
The read-only property is from a User perspective.. user clicks on the edit
widget and
can't do anythin'.
But the programmer
The read-only property is from a User perspective.. user clicks on the edit
widget and
can't do anythin'.
Can't write anything, I meant.. still can copy/paste, select things.
_
To unsubscribe: mail [EMAIL PROTECTED] with
3. In Tcl/Tk I use a textarea widget with keyboard entry disabled to
show progress and data. The nearest equivalent in LCL seems to be
TMemo. How do I disable keyboard input to this and where can I find
documentation on this and other) components - the wiki seems fairly
silent on this or
Any idea how to rename the title of a page? See the newly added tiOPF
page. Currently the title is TiOPF and it should read tiOPF.
Probably have to cut and paste, not sure if there is a rename function in
wikis..
_
To
Try the ReadOnly property, set it to false
Er, it seems to default to false; did you mean set it true? that would
make sense.
Yes.. sorry. Do the opposite of what I say.
var
CorrectAnswer: boolean;
begin
if Lars.Responds then
CorrectAnswer:= not Lars.Answer;
end;
Another question: does the current win32 lazarus snapshot already
contain the internal linker (compiling time 2.34 sec.)?
Can't answer your question, but I noticed that the compilation time includes
linking time
so it should really be called compiled and linked in X.X seconds since we do
Hi, the current copies of Lazarus that another developer and I are using do not
seem to have a subfolder or subdirectory checkbox for refactoring. Do any
lazarus versions contain that feature. Sort of like the search/replace tool in
lazarus where you can recursively search subfolders.
There is no excuse for Oil being a raw material needed to ship food
No, there isn't. Which is why those who can are switching to gas (which,
lo and behold, farmers can produce that themselves) and hydrogen and
trains anyways. The only problem is the lag of the infrastructure,
that is,
Hi, the current copies of Lazarus that another developer and I are using
do not seem to have a subfolder or subdirectory checkbox for refactoring.
Do any lazarus versions contain that feature. Sort of like the
search/replace tool in lazarus where you can recursively search
subfolders.
You could split the file into pieces and rejoin it
together later.
I'd do it in 100MB splits, or 50MB
splits.
You could split the file into pieces and rejoin it together later.
I'd do it in 100MB splits, or 50MB splits.
Or you could just pay $10 for avoiding the trouble ;-)
In other news, Flavio bought a copy of delphi for $500 to avoid the trouble of
freepascal.
It's a common dilemma:
1. give
Thank you, but I appreciate the freedom and the power of open source ;-)
Also, I can't see anything wrong in spending US$10 on something
minimally important, why is it?
No problem at all - I would spend $10-$20 on a I Love Freepascal t-shirt, for
example.
Remember: free software is about
I sometimes only get:
error while linking
Well I tried renaming as.exe to as.old and the IDE reported the correct error,
and didn't just spit out error while linking - so can't really reproduce the
issue yet.
I recall using Build All to solve the problem, but can't remember what the
Hi
Could someone point me in the right direction please. I have added the
unit pgcl (a postgres access unit) to a project which built and compiled
perfectly without any problems. Now when I build the project , a message
error while linking occurs and the project compilation does not
Hi
Could someone point me in the right direction please. I have added the
unit pgcl (a postgres access unit) to a project which built and compiled
perfectly without any problems. Now when I build the project , a message
error while linking occurs and the project compilation
On 3/31/06, George Birbilis [EMAIL PROTECTED] wrote:
Is the Lazarus SynEdit version available at synedit.sf.net or some private
Lazarus modification of it?
It is a private modification.
So the one from sourceforge will not work. Sources for lazarus one are on your
hard drive under
Unless you have in depth knowledge about how every bit of ansistring
memory management works, using getmem and freemem and pchars are
simpler, no? Because you are not battling the automatic memory
management. Now, if you are an expert in battling the automatic memory
management
i dont know if this is a known problem, and if its a lazarus problem or fpc
i have setup an fpc 2.1.1 from yesterday and use the fpc.exe as compiler to
use crosscompiling.
works fine but when spaces are in the output path ppc386.exe has an problem
example:
Output Path : c:\fpc test\
ppc386
Hi when a Var parameter is to be passed, holding a TPersistent object like below
(tmpattr)...
syn1.GetHighlighterAttriAtRowCol(syn1.CaretXY, tmpstring, tmpattr);
..is it wrong to create tmpattr first? Is it just a reference to an existing
TSynHighlighterAttributes
When I create and free a
Actually, the parameter coud/should be 'out' (but I guess FPC doesn't
even implement the COM-ish things ;-)
'out' is implemented and used.
Michael.
I've used it before :)
_
To unsubscribe: mail [EMAIL PROTECTED] with
Implemented GetHighlighterAttriAtRowColEx from looking at Delphi synedit. Better
token sniffing available.
See attached.
synhighattrex.patch
Description: Binary data
Implemented GetHighlighterAttriAtRowColEx from looking at Delphi synedit.
Better
token sniffing available.
See attached.
also, we might want to make some of those OUT instead of VAR parameters if you
think it is better. Did not do that in the patch, please implement that if you
want.
Just wondering how exactly you are doing it ? Are you linking to gecko or
embedding the window itself ? If the latter, the way under the linux is to
I embed the window itself. No reference to Gecko at all, though that
was my first attempt at the component.
I found an article on the
I guess it's not so hugely useful or else someone would have
contributed it already.
Mmm... if that was the case I wouldn't be programming because everyone has
already implemented what I'm trying to program :-)
Seriously though - it would mean less calls to SetLength when doing big
But I mean if you are doing things at different times in the program:
for i := 1 to 1000
DoSomestuff
s:= string + string;
DoOtherStuff
s:= string + string;
in other words.. not one big concatenation at once such as:
string.concatenate(string1, string2, string3,
Sl:=TStringList.Create;
for i := 1 to 1000 do
begin
DoSomestuff;
SL.Add(SomeString);
DoOtherStuff;
SL.Add(SomeOtherString);
end;
Result:=SL.Concatenate; // This can be optimized to 1 getmem call.
Michael.
I suppose this is sort of like SetTextBuff
No, if you need pointer _arithmetic_ you are doing it wrong or using a
language that is assembly in disguise. Pointers itself are fine and
dandy, but don't *(x + 3 * i + 2) = *(y - 3);. Would you talk like that
to a human? No? Why talk like that to a computer then? It's just a sign
that
A treeview is a totally different beast than a grid ?
TVirtualTreeView can be a grid, a tree or a combination of both
*looks out window*
Pigs should not fly. I think this is taking object orientation too far. I
could
be dead wrong though.
no, VT is mutch faster than all other
Timothy Ha wrote:
I would like to know your opinion about the new initiative called
OpenDelphi.org
That's plainly nonsense. As you can see, even the lazarus and free
pascal contributors are little compared with other OSS projects. The OSS
idea is very weak in the delphi/object pascal
Widestrings need to be like that for compatibility with c and c++
Not exactly, they need to be like this because the dang MS COM.
However I can't see why is this different than the AnsiString vs
Windows PChar-based API...
I'm off topic here but:
I think there should be a standard reference
The compiler, probably the debugger also, is written in C++ and assembler.
The IDE itself is written in Object Pascal.
All packages are definitely in Object Pascal.
Some of the Delphi 5 files check out as follows:
dfwedit.dll is made with borland C++
imged32.dll is made with borland C++
On Wed, 1 Mar 2006, L505 wrote:
Widestrings need to be like that for compatibility with c and c++
Not exactly, they need to be like this because the dang MS COM.
However I can't see why is this different than the AnsiString vs
Windows PChar-based API...
I'm off topic here
I'm off topic here but:
I think there should be a standard reference counting mechanism (standards
comittee?) between language. We have the standard ansi string header
embedded in
the ansistring but no standard reference counting mechanism. If this was the
case we could share our ansi
is there some kind of official maintainer for the SynEdit component
in Lazarus? I'd like to discuss some changes that were to the original
SynEdit code and some new features (and refactors and restructuing ;-)
I'd like to play with...
Best regards,
Flávio
I'm not the maintainer and I
Basically, yes. But as a matter of fact, what I was thinking about it
to stop wasting my time developing for Delphi and finally shift my
focus to Lazarus...
How does M.H. and the rest of the Synedit developers feel?
I have Delphi 5 too btw.
Some of the ifdefs might even be able to be taken
If you choose for a dll system, I would choose Interfaces (and indeed,
don't pass strings, dyn arrays or classes)
Marc
I don't have much experience with interfaces and would like to learn more about
them. Can you import/export one to and from other languages? i.e. c++/c/etc.
Now, in Lazarus while trying to set FPC path I get error message:
The FPC source directory usr/lib/fpc/2.0.2./units/i386-linux/ does
not look correct. Normally it contains directories like rtl, fcl,
packages, compiler, ...
This folder include some of folders mentioned but not other such
Could someone give me an idea? I am writing an application to which I
hope to add functionality later. One option would be to simple send out
the new exe to all users. However, I would like to implement a plugin
system. So a new feature could simply be added and totaly integrated to
the
It would be nice, if someone would write a package with a component to start
a browser. Preferably without opening a new page/tab on every call.
I added examples/openbrowser/.
Maybe you want to add the above command for windows.
This problem is very hard to solve on Unix. I can´t
Can anyone please tell me how can I make calls to the Win32 Api ?
Is there a unit I must include or something else I must do ?
Windows.pas or Windows.pp unit from FPC is what you need.
Check this out:
http://z505.com/PWAPI1/windows2/index-5.html
Haven't started documenting it yet, LOL
I assume everyone knows in samba the reason is line feeds, but just to make
sure I
will double verify.. Samba converts files line feeds and this causes the editor
refresh issue
_
To unsubscribe: mail [EMAIL PROTECTED] with
Mattias Gaertner wrote:
The files didn't changed on disk, so an automatic refresh would undo
your current changes.
With samba this is not the case - the files are changed. The line feeds are
converted.
At the moment the IDE does this:
On saving/opening a file it retrieves the
linefeeds in samba
Right, but my point is under SMB it _worked_, but under NFS it
doesn't... your description sounds like it should be the other way around?
-Tony
Ahh, I see. So we have two different problems here, but with the similar
effects: the
refresh dialog window popping up. I
Recently, support for {R$ } directive on linux was added to the
compiler. I don´t know how this helps, however.
no idea what that's for in practise... Unix usually goes the other way,
separating everything, not stuffing everything and their brother into
one file.
I guess the advantage
Salvatore,
So if I understand correctly, your panel is not put on the top of the
form when you set the align property to alTop? It sure seems to be from
your screenshot!
AlTop should place the panel at the top maximized widthwise. It is not maximized
widthwise in the picture.
What do PPU files contain? symbolic links or hard links?
See below:
- The .TPU format doesn't contain symbolic links to other units, it contains
hard
links to particular offsets in the interface part of other .TPU files. If those
other
units change their interface, the .TPU is made obsolete
On Sun, 15 Jan 2006, L505 wrote:
What do PPU files contain? symbolic links or hard links?
They don't contain links at all.
The accompagnying .o files contain symbolic links, as they are standard
elf or pecode object files.
Michael.
Ahh I see.. does microsoft visual studio create
So in short: The only way to get a major speedup in linking is to have an
internal linker so the .o is not needed anymore and can be stored in the
ppu. But i don't have the time to code such an internal linker so don't
expect anything before 2007.
And I wonder about the Windows.a and
All those external references to DLLs are generated by the linker and don't
need to be stored in the dcu. For FPC we can do the same since ld now also
supports direct linking to DLL files. When the FPC port to win32 started
that was not the case.
I remember that was discussed in the article
You can expiriment yourself, use the 2.1.1 compiler from today and compile
everything with option -WI-.
Oh! Send -WI- to the compiler? or the linker with -k ?
Lars
_
To unsubscribe: mail [EMAIL PROTECTED] with
Yes, this is my favourite. As you can imagine, on embedded
nano-computers every single byte has to be checked if it does something
useful, the other ones have to go home. ;)
Do you think the PStrList will be useful, and some other fake (byte friendly)
classes (objects) in CompactUtils? I know
What does your DOS window say after you stripped the DLL?
Nothing peculiar. As to the .dll.dll I just choosed not to fix it :)
since this was just for a test any-way.
Since Vincent has indicated lazarus ships with a non-smartlinked RTL, you may be
pulling in a big sysutils in your case
Delphi was very quick. Is there something about the FPC that is
fundamentally different from the Borland compiler that makes Lazarus
'seem' slower to compile?
It's the linker and it is GNU's fault not FPC.
If there is a custom linker built this may solve the problem, or maybe we could
look
On Thu, 12 Jan 2006 22:01:21 +0100
Florian Klaempfl [EMAIL PROTECTED] wrote:
I was just able to link lazarus dynamically against the fpc rtl/packages:
[EMAIL PROTECTED]:~/fpc/lazarus$ ls -l lazarus.dynamic
-rwxr-xr-x 1 florian florian 7381916 2006-01-12 21:51 lazarus.dynamic
[EMAIL
Oh! It makes me think: are you compiling under linux to produce this
Nope.
dll? Else, is there a way to have the rtl smartlinked for windows?
Well since I use fpc 2.0.2 the RTL is smartlinked. I think you are using the
compiler
that comes with lazarus.
i.e. in environment options, I set
Maybe others have discussed the slowness of the GNU linker before (C
programmers, for
example).. and maybe the gnu/gcc team can offer some answers as to if the speed
of
the gnu linker is going to be improved or not. So far some simple searches don't
reveal anything.
Marvelous! I'll try that and it will most probably work. I'll come
If you decide to use fpc 2.0.2 remember that when you build a normal lazarus GUI
style application you may have to change back to your old compiler in the
lazarus
directory.
The lazarus packages and components I think need to be
. :)
Thank you very much for your help, L505, on all this issue.
Try also compactSysUtils if you want a 40KB dll
It is a drop in replacement for this particular situation :)
See all this fooling around with compilers is why people use scripting
languages and
just forget about size issues
An extra handicap for the linker is the fact that the windows unit,
which is rather large is always smartlinked, resulting in (I estimate)
ten thouands of object files (archived in the .a file). You probably
won't have this amount of .o files in c programs.
Vincent.
Windows.ppu is
later with results... I still don't know why your dll was working and
not mine. If this is because of the smartlinking issue... well...
hum... I don't know what to say.
Me neither, what was the error? I was hoping it was simply because you forgot
to
rename mydll.dll.dll to mydll.dll
Maybe
having the 'mydll.compiled' file could help (if there is any)... I
think this is the file that has the compiler settings.
The LPI file carries the settings
_
To unsubscribe: mail [EMAIL PROTECTED] with
As an experiment for CompactSysUtils project I started a while ago, I have used
this
opportunity to demonstrate why FPC should reorganize the FPC sysutils unit for
better
smartlinking (i.e. create just one more unit than just sysutils to take care of
smartlinking).
Many functions in the FPC
And I couldn't resist knocking you off your unix high horse. This should
have
been
posted to pascal-other, both your message and mine. Oh, but there is no
lazarus-other
so it had to be said right here and now.
This was just a joke, don't need to be so anal retentive.
Gee, even I knew
Links:
Download and Info
http://z505.com/cgi-bin/qkcont/qkcont.cgi?p=Lazarus-RB-Edition
Direct Download
http://z505.com/download/lazrb/LazRB_0.9.7Alpha.zip
Is this the newest version?
Where is the lazarus stuff?
Mattias
The latest version is on SVN.. I'm actually way
1 - 100 of 131 matches
Mail list logo