Hello.
Under Linux with distros supporting the freedesktop.org standards you
can execute the 'xdg-open' command. This will use the mime-type and
the each users preference on that system. This works for URL's too.
Great! For Windows you can use a wrapper for ShellExecute function. I copied
my
On Sun, Jan 24, 2010 at 12:05 PM, Juha Manninen juha.manni...@phnet.fi wrote:
If OSX supports your 'xdg-open' then most environments are covered.
It doesn't, by default. There's an external tool 'open' available for such task.
But, it's better to use launcher API (see OpenURL darwin code).
2010/1/24 Juha Manninen juha.manni...@phnet.fi:
If OSX supports your 'xdg-open' then most environments are covered.
I doubt it will. As far as I know xdg tools are for Linux only (maybe
other unix OSes too, but ain't sure).
This makes sense only with GUI. Command line progs can't use it.
Graeme Geldenhuys escreveu:
2010/1/24 Juha Manninen juha.manni...@phnet.fi:
This should be included in FPC/Lazarus libraries, but which one?
I know that Lazarus IDE already uses xdg-open under Linux for OpenURL
- before trying other known web browsers. As for where in LCL such
code
On Sun, Jan 24, 2010 at 08:41:02AM +0200, Graeme Geldenhuys wrote:
2010/1/23 Alexander Klenin kle...@gmail.com:
Have you seen the built-in CSV support in TStrings?
That's interesting. Where is it? I am unable to find it it Classes unit.
I also didn't know about this.
strictdelimiter
Amazing,
OpenURL already implements what you are asking!
I tested with a local '.patch' file and it opened nicely in Kompare (KDE prog
for diffs).
OpenURL uses ShellExecuteW for Windows, 'xdg-open' for *nix and some API
functions for Darwin.
There seems to be lots of quality code in
On Sun, Jan 24, 2010 at 2:08 PM, Juha Manninen juha.manni...@phnet.fi wrote:
One thing is missing though. There is no portable way of getting application's
icon like ExtractAssociatedIcon does in Windows? This is somewhat related to
opening the file.
It depends on what you exactly need.
If you
Hi,
I think there is need for an OPTIMIZED code for splitting and joining.
TStringList.DelimitedText is good when speed is not very important.
See:
http://www.mail-archive.com/fpc-pas...@lists.freepascal.org/msg18548.html
I didn't look at tiOPF project's implementation so I don't know how
Hello, dmitry
I don´t think that Lazarus is working as this.
http://wiki.lazarus.freepascal.org/IDE_Development#Translated_compiler_messages
was added recently by Mattias
The purpose of new code is substitute the error string treatments by the
message numbers
As an example see this excerpt:
Graeme Geldenhuys schreef:
Anyway, to get your code in the CCR, I normally email Vincent the code
in private.
Thought I must say, I don't really see the point of the CCR.
I guess that is why you missed
http://wiki.lazarus.freepascal.org/OnGuard ;-)
Many of
those projects need to be
Graeme Geldenhuys schreef:
One good example of this is DCPCrypt.
TBH, I am glad it is in Lazarus-CCR or at least mentioned on
Lazarus-CCR, instead of lying on barko's hard disk, even though it
didn't seem to be maintained anymore.
Vincent
--
___
On Sun, Jan 24, 2010 at 6:33 PM, Marcelo B de Paula mar...@terra.com.br wrote:
If i change compiler messages by loading another errorxx.msg in IDE or use a
different errorxx.msg
to compile the compiler itself, the first thing i´ve noticed is that
QuickFixItems stop working,
and message icons
Graeme Geldenhuys schrieb:
2010/1/23 Mike Parr mikep...@live.com:
It seems to me that this is a major package, but it has (to my mind) zero
prominence on the web.
Being a Delphi user too, I used to mention Lazarus and Free Pascal to
people in the Embarcadero newsgroups that complain about
Juha Manninen schrieb:
Splitting can be slow. It creates and copies strings and allocates small
chunks of memory.
No way around that, unless you use PChars and zero terminated strings,
which are slow in any further processing.
There should be variations for those functions. Sometimes you
Hi all,
Some of you already know that I work on more web-components for
Lazarus/Freepascal.
I've created a new package (zipfile) which contains several packages
which adds extra web-functionality too Lazarus.
You can find the package here:
http://services.cnoc.nl/lazarus/index/fclweb
Indeed, quick fixes have hardcoded English messages.
It's possible to use translated messages, with out using message
numbers, but it's much harder job than using -vq switch directly.
You're free to provide the patch for fixing the problem (and using -vq
switch). But you should make the patch
If you've a patch ready please send it to bugs.freepascal.org as well,
creating the issue.
thanks,
dmitry
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Hello,
are there any logos which I can use in my software to show that it is
developed with Lazarus?
Maybe my eyes are getting worser in my age, but I have not found anything.
thx
Michael
--
___
Lazarus mailing list
Michael Fuchs wrote:
are there any logos which I can use in my software to show that it is
developed with Lazarus?
Of course! See
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/images/powered_by.png?view=coroot=lazarus
Michael Fuchs wrote:
Hello,
are there any logos which I can use in my software to show that it is
developed with Lazarus?
Maybe my eyes are getting worser in my age, but I have not found anything.
Try in lazarus/images/
Brad
--
Dolphins are so intelligent that within a few weeks they can
Indeed, quick fixes have hardcoded English messages.
It's possible to use translated messages, with out using message
numbers, but it's much harder job than using -vq switch directly.
You're free to provide the patch for fixing the problem (and using -vq
switch). But you should make the patch
I cannot run my application on WinCE (WM 5 and WM 6.1)
when i remote debug it crash in
application.inc line 386
Res := FindResource(HInstance, PChar('MAINICON'), RT_GROUP_ICON);
There is problem about PChar (see fpc_pwidechar_to_ansistr)
I used fpc 2.4.0 and the last Lazarus from SVN.
Thanks!
Turned out I still had fpc 2.4rc1 on this box :-$ Updating it fixed the problem.
Best regards,
Flávio
On Sun, Jan 24, 2010 at 3:18 PM, Marc Weustink m...@dommelstein.net wrote:
Flávio Etrusco wrote:
2010/1/23 Flávio Etrusco flavio.etru...@gmail.com:
On Sat, Jan 23, 2010 at 5:09 AM,
Hans-Peter Diettrich wrote:
If I'm wrong I would appreciate if someone point out my mistake.
No, the D2006 extension strictdelimiter fixes this, and FPC has it
too.
Thanks, I have not known this.
I've added kind of an How To topic to TStrings
Great, it would be very useful to look at it. I
2010/1/24 Hans-Peter Diettrich drdiettri...@aol.com:
Of course, I had the same experience. OTOH you'll get many complaints about
what's not working as expected in Lazarus, what could serve to assign
priorities to the development items.
And it's because of complains and negative messages like
2010/1/24 Vladimir Zhirov vvzh.li...@gmail.com:
As of tiOPF CSV implementation, I'm afraid it is already too late :)
In case you were interested. Here is the documentation of the unit I
wrote. It is stand-alone, so doesn't require tiOPF at all.
Graeme Geldenhuys schrieb:
2010/1/24 Vladimir Zhirov vvzh.li...@gmail.com:
I especially like the logo I get from Graeme, if memory serves me.
Yes, I like my design too. :-) I also use it in our products. The one
I use has a slightly different font, though I have a few variations of
fonts,
Graeme Geldenhuys schrieb:
2010/1/24 Hans-Peter Diettrich drdiettri...@aol.com:
Of course, I had the same experience. OTOH you'll get many complaints about
what's not working as expected in Lazarus, what could serve to assign
priorities to the development items.
And it's because of complains
Vladimir Zhirov schrieb:
Hans-Peter Diettrich wrote:
If I'm wrong I would appreciate if someone point out my mistake.
No, the D2006 extension strictdelimiter fixes this, and FPC has it
too.
Thanks, I have not known this.
I've added kind of an How To topic to TStrings
Great, it would be
On 1/24/2010 22:51, Hans-Peter Diettrich wrote:
I also couldn't find how to reach that page, from some typical entry
page. It's a shame how Lazarus references are hidden in third or deeper
level pages on the FPC site :-(
+100 :?
--
___
Lazarus
Graeme Geldenhuys wrote:
In case you were interested. Here is the documentation of the unit I
wrote. It is stand-alone, so doesn't require tiOPF at all.
http://opensoft.homeip.net/tiopf/core/titokenlibrary/index.html
It can be used for more than just CSV, and can handle a certain amount
Alexander Klenin wrote:
Yes, this irritated me too. Attached patch should solve the issue.
Unfortunately, Mantis is unresponsive for me now,
but as soon as it is up again, I will post the patch there too.
I can confirm that the patch works correctly. I used Lazarus 0.9.28.3
rUnknown with
Hi,
I normally don't add FPC bin directory to my PATH environment variable,
because I use multiple versions of FPC.
But around the time FPC 2.4.0 was released, Lazarus IDE cannot find fpcres
when I rebuild the IDE. So I have to open a command prompt, set the PATH
environment variable, and then
33 matches
Mail list logo