> On 12/08/2011 18:14, Ludo Brands wrote:
> > On a slower system (seconds rounded):
> > lazarus *
> > real 1m57
> > user 1m39
> > sys 0m1
>
> 0.9.30 or trunk?
> Can you test trunk? I believe some of the improvements to
> opening files
> where made in trunk only after 0930 was out.
>
> On 12/08/2011 18:42, Martin wrote:
> > On 12/08/2011 18:14, Ludo Brands wrote:
> >> On a slower system (seconds rounded):
> >> lazarus *
> >> real 1m57
> >> user 1m39
> >> sys 0m1
> >> geany *
> >> real 2m3
> >> user 0m52
> >> sys 0m1
>
> on my system geanny took 57 sec
> as for apples and bananas:
>
> gvim does only open about 10 tabs not one tab per file.
> At least my
> installation. I can not open more tabs, or access any other
> than the 10
> tabs. I can from the buffer menu change the content of each tab, but
> that's still only 10 tabs.
>
That o
> >
> > OMG. Then we really need to discover what the gtk2 glue is doing so
> > wrong.
>
> It's not just LCL-GTK2, the same thing happens with Lazarus
> IDE compiled for LCL-Qt4 too. Just tested. Opening a blank
> project, Lazarus IDE (using LCL-Qt4) uses 69MB already. Open
> a 100 units and
Ok. Don't worry. I've wrote to article creator and I hope he can help us.
Thanks.
Juan.
2011/8/13 Gastón Dall' Oglio
> I sorry, I only know this link for the moment about this theme :(
> ... and I also failed to find such units: TRHandle, TRWinControl...
>
> 2011/8/12 Juan Sánchez
>
>> Dear Ga
On 13.8.2011 0:38, José Mejuto wrote:
Hello Lazarus-List,
Friday, August 12, 2011, 2:21:49 PM, you wrote:
SB> I suspect the settings of his mailing list account, because there IS an
SB> option to enable/disable the sending of ones own mails.
I had changed that option multiple times and never
On 12 August 2011 18:40, Martin wrote:
>
> gvim does only open about 10 tabs not one tab per file. At least my
> installation. I can not open more tabs, or access any other than the 10
> tabs. I can from the buffer menu change the content of each tab, but that's
> still only 10 tabs.
You hav
On 13/08/2011 08:23, Ludo Brands wrote:
as for apples and bananas:
gvim does only open about 10 tabs not one tab per file.
At least my
installation. I can not open more tabs, or access any other
than the 10
tabs. I can from the buffer menu change the content of each tab, but
that's still on
> Just ran a valgrind --massif --pages-as-heap=yes ./lazarus.
> Lazarus QT on kubuntu with 2G of memory, opening a small
> project (7 files). Without being an expert in the massif tool
> here is what it boils down to:
> Peak usage 165M divided into:
The same for the 450 univint files:
Peak us
Am 13.08.2011 12:05, schrieb Henry Vermaak:
>
> You have to make sure that you've set the highlighting for delphi or
> fpc. In either case, the highlighting is trivial.
At least considering nested comments etc., this is not true :) I never
used vim, but all fpc highlighting I saw so far in uni
Last year, there were several discussions both on this list and the forum about
deficiences of reticule implementation.
As of r31973, I have implemented a new TDataPointCrosshairTool, which:
1) Does not require extra properties neither in chart nor in series
2) Should work on Qt and MacOS
3) Allows
On 13/08/2011 11:05, Henry Vermaak wrote:
You have to make sure that you've set the highlighting for delphi or
fpc. In either case, the highlighting is trivial. If you're taking ten
times longer to open the file, then you're doing it wrong. It's quite
funny that you're trying to prove that laza
Hello,
Powtils is a simple library for making pascal web apps, based on synapse. The
source is available, as well as some examples, but I can't seem to find
documentation. There are stale links on the internet (for example:
http://z505.com/cgi-bin/powtils/docs/1.6/idx.cgi?file=index), but is the
> Bad news is that peak memory is reached after closing all
> files and opening a new small project (2 files in editor).
>
> Ludo
>
Reopening the same 405 files (saved it as a project) ticks on 30M every time
reopened... Closing files just leaves a lot of stuff which isn't re-used
when re-ope
i wanna access mantis, if found a bug that on TSQLQuery.Open doesn't change
TSQLQuery.State to dsOpening but freepascal.org don't load here...
It only here?
William de Oliveira Ferreira
Bacharel em Sistemas de Informação
--
_
i wanna access mantis, if found a bug that on TSQLQuery.Open doesn't change
TSQLQuery.State to dsOpening but freepascal.org don't load here...
It only here?
The site has also problems with mysql ;)
SYSTEM WARNING: mysql_connect() [function.mysql-connect
On Sat, 13 Aug 2011, William Oliveira Ferreira wrote:
i wanna access mantis, if found a bug that on TSQLQuery.Open doesn't change
TSQLQuery.State to dsOpening but freepascal.org don't load here...
It only here?
No, there was a problem with the server. It has been rebooted, but I've kept
the
On 12 August 2011 20:42, Vincent Snijders wrote:
>
> Another reason to have as little releases as possible. ;-)
LOL. The funniest comment I have seen in a while. :)
--
Regards,
- Graeme -
___
fpGUI - a cross-platform Free Pascal GUI toolkit
http:
Ok, let me know if you perform some work in this theme, I'm interested in
add this at my programs.
Thank you.
2011/8/13 Juan Sánchez
> Ok. Don't worry. I've wrote to article creator and I hope he can help us.
>
> Thanks.
> Juan.
>
> 2011/8/13 Gastón Dall' Oglio
>
>> I sorry, I only know this li
2011/8/13 Ludo Brands
> **
>
>
>
> i wanna access mantis, if found a bug that on TSQLQuery.Open doesn't change
> TSQLQuery.State to dsOpening but freepascal.org don't load here...
>
> It only here?
>
>
>
>
> The site has also problems with mysql ;)
>
>
> SYSTEM WA
On 12 August 2011 18:57, Henry Vermaak wrote:
> similar capability. As Graeme showed, we've become slower, so if we don't
> watch it, this kind of attitude will end us up with a sluggish, bloated ide.
Thank you. Somebody gets what I'm trying to get across. The problem is
not not serious yet, but
2011/8/13 Michael Thompson :
> Does the memory usage lower when you then close the 100 units? Trying to
> eliminate leak as a possibility.
Closing all but one file, memory usage dropped by a whopping 2MB. I
left the system idle for about 10 minutes while having a coffee brake.
Memory usage was s
On 13/08/2011 15:25, Graeme Geldenhuys wrote:
On 12 August 2011 18:57, Henry Vermaak wrote:
similar capability. As Graeme showed, we've become slower, so if we don't
watch it, this kind of attitude will end us up with a sluggish, bloated ide.
Thank you. Somebody gets what I'm trying to get acr
Of course! Author of page has respond me and I have yet source of article. I
will begin review his method and see how mix with my work to get it. I will
inform about every step.
Juan.
El 13/08/2011 16:18, "Gastón Dall' Oglio"
escribió:
> Ok, let me know if you perform some work in this theme, I'm
On 12.08.2011 18:47, Florian Klämpfl wrote:
Am 11.08.2011 22:13, schrieb Graeme Geldenhuys:
On 11 August 2011 21:38, Felipe Monteiro de Carvalho
wrote:
I find the choice of going for a console app quite curious.
+1
And this is not the first message (in recent days) where the developer
is c
On 13 August 2011 12:13, Martin wrote:
> Lazarus defers the scan for highlight+folding (one and the same) as well as
> finding the longest line (required for horiz scrollbar). Both of them are
> done once lazarus is fully operational, within idle, or if the tab is
> selected.
Would multi-threading
On 12.08.2011 23:45, Mark Morgan Lloyd wrote:
I'll revisit it in the morning, and will also see if I can get a (Linux)
guest to see a physical USB device.
qemu ... -usb host:DEVICEID:VENDORID ...
should do it. I don't know whether this is supported on Windows hosts as
well.
On Linux you ne
On 12.08.2011 17:40, Alexander Klenin wrote:
2011/8/12 Frank Church:
Whenever updates are made it is difficult to tell whether they are due to
updates or fixes in the libraries, ie FCL, LCL etc or the product ie the
Lazarus IDE and the FreePascal language and compiler.
Unless library updates do
On 13 August 2011 16:38, Martin wrote:
>
> Are you sure?
> Have you compared speed to 0.9.28? And which actions have you used for
> checking speed?
Yet, at least between a 0.9.29 binary I had lying around, and 0.9.30.1
In the days of 0.9.26 and 0.9.28 I used the GTK1 interface. At that
point LCL-
On 13/08/2011 17:35, Graeme Geldenhuys wrote:
On 13 August 2011 12:13, Martin wrote:
Lazarus defers the scan for highlight+folding (one and the same) as well as
finding the longest line (required for horiz scrollbar). Both of them are
done once lazarus is fully operational, within idle, or if th
On Sat, Aug 13, 2011 at 1:49 PM, Graeme Geldenhuys
wrote:
> On 13 August 2011 16:38, Martin wrote:
>>
>> Are you sure?
>> Have you compared speed to 0.9.28? And which actions have you used for
>> checking speed?
>
> Yet, at least between a 0.9.29 binary I had lying around, and 0.9.30.1
>
> In the
Hello,
Powtils is a simple library for Free Pascal and Lazarus for making pascal web
apps, based on synapse. The source is available, as well as some examples, but
I can't seem to find documentation. There are stale links on the internet (for
example: http://z505.com/cgi-bin/powtils/docs/1.6/idx
I am trying out a package on Linux that has some packages used only by
Windows. Is there a way to edit the .lpk file to make the inclusion
conditional, so the Linux version doesn't attempt to compile it?
--
Frank Church
===
http://devblog.brahmancreations.com
--
__
On 13/08/2011 17:49, Graeme Geldenhuys wrote:
On 13 August 2011 16:38, Martin wrote:
Are you sure?
Have you compared speed to 0.9.28? And which actions have you used for
checking speed?
Yet, at least between a 0.9.29 binary I had lying around, and 0.9.30.1
Both GTK2 ? For the opeing of a proje
On 13 August 2011 19:14, Martin wrote:
> Well the start up speed could differ, as files could be opened and loaded in
> parallel.
Yes, this is what I was thinking too. Plus the GUI could be more
"snappy" (updated quicker). As you stated, if I had to use the 400
units example again, currently Laza
Am Samstag 13 August 2011, 19:45:09 schrieb Martin:
>
> > those units. MSEide was instant with near zero screen flicker.
>
> Very interesting. I just added the 450 univint files to a project in
> mseide (though under windows, while all other tests where done under linux)
>
> It takes 15 sec
On 13/08/2011 17:49, Graeme Geldenhuys wrote:
My other concern was memory consumption. I know I have no clue as to
what Lazarus IDE everything does, but I can say that for the generate
usage of loading a project with some 5-15 units open, code navigating
here and there etc.. the memory consumpt
Well, I think we're getting off the track here, since opening hundreds
of files isn't a realistic/important use-case, but anyway...
On Sat, Aug 13, 2011 at 2:54 PM, Graeme Geldenhuys
wrote:
> On 13 August 2011 19:14, Martin wrote:
>> Well the start up speed could differ, as files could be opened
On 13/08/2011 18:59, Martin Schreiber wrote:
Am Samstag 13 August 2011, 19:45:09 schrieb Martin:
those units. MSEide was instant with near zero screen flicker.
Very interesting. I just added the 450 univint files to a project in
mseide (though under windows, while all other tests where do
Am Samstag 13 August 2011, 19:59:15 schrieb Martin:
> On 13/08/2011 17:49, Graeme Geldenhuys wrote:
> > My other concern was memory consumption. I know I have no clue as to
> > what Lazarus IDE everything does, but I can say that for the generate
> > usage of loading a project with some 5-15 units
On 13/08/2011 18:59, Martin Schreiber wrote:
Am Samstag 13 August 2011, 19:45:09 schrieb Martin:
Very interesting. I just added the 450 univint files to a project in
mseide (though under windows, while all other tests where done under linux)
It takes 15 seconds to open (so yes it is a little
On 13/08/2011 19:28, Martin Schreiber wrote:
The default pascal.sdef file is "Delphi compatible". Please change in
apps/ide/syntaxdefs/pascal.sdef " scope comment1 comment endtokens '}'
" to " scope comment1 comment calltokens '{' comment1 endtokens '}' "
for nested comments.
Thanks, that wor
Am Samstag 13 August 2011, 20:26:22 schrieb Martin:
>
> Watching the process, it appears, that when opeing a project, MSE-ide
> does not load all the files for which it creates tabs? At least sysutils
> does not show any disk activity to that extend.
> While if I open them via the file-open (into
On 13/08/2011 19:37, Martin Schreiber wrote:
Correct. After the fix of the missing beginupdate()/endupdate() MSEide should
open the project and create the 400 editor tabs in 2..3 seconds.
Yes, I have the update, less than 1 sec.
--
___
Lazarus mai
Am Samstag 13 August 2011, 20:33:13 schrieb Martin:
> > MSEide does not store context for syntax highlighting after the source
> > has been colored. The editor grid stores "richstringty":
> > "
> >
> > richstringty = record
> >
> >text: msestring;
> >format: formatinfoarty;
> >fla
Forgive me for the intrusion, but I'm brand new to Lazarus and trying to
find the correct list to address with my questions. Example: What is
the "General widget set restrictions" tab in the object inspector window?
The list here is clearly for the well-experienced and I don't want to
clutte
2011/8/13 Curt Carpenter <1cjcarpen...@att.net>:
> Forgive me for the intrusion, but I'm brand new to Lazarus and trying to
> find the correct list to address with my questions. Example: What is the
> "General widget set restrictions" tab in the object inspector window?
>
This is the right list.
On 8/13/2011 3:11 PM, Vincent Snijders wrote:
2011/8/13 Curt Carpenter<1cjcarpen...@att.net>:
Forgive me for the intrusion, but I'm brand new to Lazarus and trying to
find the correct list to address with my questions. Example: What is the
"General widget set restrictions" tab in the object in
2011/8/13 Flávio Etrusco :
>
> Question: do you have "Open designer on open unit" preference enabled?
I have no idea. But it is most likely not relevant either. My projects
are all fpGUI based, and that's the projects I used to test Lazarus
with. Those projects don't use *.lfm files like LCL apps
Is there a Lazarus/FPC routine to list the processes running on a Linux
system, the equivalent of EnumProcesses + GetCommandLineEx(Pids[x]) on
Windows?
--
Frank Church
===
http://devblog.brahmancreations.com
--
___
Lazarus mailing l
Vincent:
Yes, that link (
http://www.lazarus.freepascal.org/index.php?action=forum ) is great,
Thanks again.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
On 13 August 2011 19:45, Martin wrote:
>>
>> Yet, at least between a 0.9.29 binary I had lying around, and 0.9.30.1
>
> Both GTK2 ? For the opeing of a project with *m any* files?
Yes, the old 0.9.29 and new 0.9.30.1 versions of Lazarus was both
compiled against GTK2 widgetset.
> Obviously the
On Sat, Aug 13, 2011 at 04:31:22PM +0200, Graeme Geldenhuys wrote:
> Closing all but one file, memory usage dropped by a whopping 2MB. I
> left the system idle for about 10 minutes while having a coffee brake.
> Memory usage was still the same, so there doesn't seem to be some
> delayed garage coll
On 13 August 2011 19:59, Martin wrote:
>
> Well one thing, I noted is that MSEide does not seem to deal with nested
> comments,
Florian also mentioned something like that. First, nested comments
give me compiler warnings, so I never do that. I listen to the FPC
compiler. :) And if I must, my outer
On 8/13/11, Graeme Geldenhuys wrote:
> I have a aging Intel P4 laptop which is 8 years old, and MSEide is
> just faster on it than Lazarus and uses much less memory. I don't even
> run Gnome on my laptop any more. :)
[Off Topic]
I run Lazarus on a 11 year old 700 Mhz Celeron with 512 Mb using bot
2011/8/13 Flávio Etrusco :
>
> I don't think multi-threading is the desired approach.
Why not, it works for my applications I develop. It makes the UI much
more "snappy" to the end-user as well. All new PC's and millions of
existing PC's already have multi-core CPU's so why not use those
features.
On 13 August 2011 20:26, Martin wrote:
> ide and Lazarus. Lazarus is designed to open them. (e.g It needs to know if
> the file refers to a form/lfm // I don't know what else may require an
> immediate load of the file).
This might sound silly, but Why? If the project opens lots of units,
those
On 13/08/2011 22:19, Graeme Geldenhuys wrote:
Obviously the speed isn't constant. New features get added, the may take
time while loading.
New features don't always need to mean slower and more memory hungry.
Just look at Mozilla Firefox project. The last few versions came with
new features, but
On 13/08/2011 22:34, Graeme Geldenhuys wrote:
There were plenty of reports (some by you IIRC Graeme) like "deprecated"
being highlighted in the wrong place.
That seems to work fine in my copy of MSEide, and my syntax
highlighting scheme. I don't use default syntax highlighting schemes
in Lazarus
On 13 August 2011 23:25, Marco van de Voort wrote:
>
> How do you measure memory usage?
Two ways:
1) 'gnome-system-monitor', look in the Processes tab, there is a Memory column.
2) Use 'top -p . Subtract the SHR value from the RES value.
What is what I mean by "memory usage".
--
Regards
On 13 August 2011 23:56, Martin wrote:
> So as far as I can see speed is watched, where it has an impact on normal
> use cases.
OK, thanks.
>> the active tab? Does LCL always set focus (active tab) to the newly
>> created tab sheet? That's what it looks like to me (when I tested
>> Friday at wo
On 13/08/2011 22:46, Graeme Geldenhuys wrote:
IMO ideally we
should have only one TSynEdit per window, and just switch "state" when
switching tabs.
If I understood Martin correctly, Lazarus IDE still does processing on
the other files, so a delay is still to be expected because it is
single thre
On 13/08/2011 22:56, Graeme Geldenhuys wrote:
On 13 August 2011 20:26, Martin wrote:
ide and Lazarus. Lazarus is designed to open them. (e.g It needs to know if
the file refers to a form/lfm // I don't know what else may require an
immediate load of the file).
This might sound silly, but Why?
2011/8/12 ik :
>
> So my question is, is there a known tool or an easy way to do it ?
Yeah, employ a lot of skilled developers. ;-)
On a serious note:
Hans-Peter hit the nail on the head. The underlaying languages,
frameworks and due to GC in .NET makes this near impossible. The only
sane way to
On 13/08/2011 23:21, Graeme Geldenhuys wrote:
the active tab? Does LCL always set focus (active tab) to the newly
created tab sheet? That's what it looks like to me (when I tested
Friday at work).
I don't know enough about that, and it may depend on the widgetset too.
maybe windows, or gtk are f
Flávio Etrusco schrieb:
I don't think multi-threading is the desired approach. IMO ideally we
should have only one TSynEdit per window, and just switch "state" when
switching tabs.
Then we need new tabs, because the current implementation allocates a
page per tab.
DoDi
--
Martin schrieb:
Threading may archive a speed up here. Because simple you have more CPU
power at hand. And most OS will be able to supply files faster if
requested in parallel.
I doubt that, because concurrent file reads tend to increase disk seeks.
I know for fact that the synedits get des
Am Samstag 13 August 2011, 23:56:13 schrieb Martin:
>
> I don't know if loading the files can even be omitted. After all the IDE
> must know if they contain a {$R *.lfm}, in order to decide if a form
> needs to be loaded in the designer.
>
In MSEide the *.pas and *.mfm (the MSEgui *.lfm equivale
Am Sonntag 14 August 2011, 00:02:27 schrieb Martin:
>
> procedure Deprecated;
> procedure Foo(deprecated: Boolean);
>
> type
>deprecated = boolean;
> var
>a: deprecated;
>
>
> etc.
>
> MSE-ide appears to highlight quite some of them.
>
Correct. MSEide uses a very simple syntax highlig
Am Sonntag 14 August 2011, 00:21:49 schrieb Graeme Geldenhuys:
> > I don't know if anyone has such a number of files open in real life, you
> > can't maintain them anyway, you never find a file through the tabs, and
> > neither through any menu.
>
> Martin does in MSEide, and I am starting to use
2011/8/13 Curt Carpenter <1cjcarpen...@att.net>
> Can you point me to an answer to "What is the "General widget set
> restrictions" tab in the object inspector window?"
>
They are features that don't work on every platform. The GUI is not very
intuitive though. It has an image for each platform
71 matches
Mail list logo