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

2010-02-09 Thread Patrick Chevalley
I use Ubuntu 9.10 64bit and I can confirm this link are present with
this release.

To search for the package that contain a file I find apt-file handy:
sudo apt-get install apt-file
sudo apt-file update
and then
apt-file search libX11
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] String buffer

2010-02-09 Thread Honza
Probably just reinventing the wheel - I was not able to quickly find a
String builder/buffer elsewhere.

Source code for anyone possible interested is published on a blog (no
ads there, so I hope it's OK to post the link):

http://freepascal-bits.blogspot.com/2010/02/simple-string-buffer.html

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


Re: [fpc-pascal] MSEide+MSEgui SourceForge - BerliOS

2010-02-09 Thread Nikolay Nikolov

On 02/05/2010 03:25 PM, Martin Schreiber wrote:

Please read:
http://sourceforge.net/blog/clarifying-sourceforgenets-denial-of-site-access-for-certain-persons-in-accordance-with-us-law/

Martin
   
Good news, they have added the option to lift those restrictions. It's 
now up to the project admins to decide for their own project.

http://sourceforge.net/blog/some-good-news-sourceforge-removes-blanket-blocking/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] String buffer

2010-02-09 Thread Flávio Etrusco
On Tue, Feb 9, 2010 at 8:50 AM, Honza befelemepesev...@gmail.com wrote:
 Probably just reinventing the wheel - I was not able to quickly find a
 String builder/buffer elsewhere.

 Source code for anyone possible interested is published on a blog (no
 ads there, so I hope it's OK to post the link):

 http://freepascal-bits.blogspot.com/2010/02/simple-string-buffer.html

 -bflm

Hello,
I guess ads wouldn't be a problem anyway ;-)
I find a class like this very useful (for some tasks), thanks! This
has been suggested on the list a couple of times and I even intended
to implement something but didn't have the need since.
Some (hopefully constructive) commentaries (and then I would suggest
to add to LCL or FCL):
1) It could be called really TStringBuffer;
2) The 'W' methods could be called 'Append';
3) The GetS method could truncate the string to avoid the copy, as I
think the common use will not be Append+Read+Append+Read, but
Append+Append+...+Read...

Best regards,
Flávio
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] MSEide+MSEgui SourceForge - BerliOS

2010-02-09 Thread Jonas Maebe


On 09 Feb 2010, at 14:39, Nikolay Nikolov wrote:

Good news, they have added the option to lift those restrictions.  
It's now up to the project admins to decide for their own project.

http://sourceforge.net/blog/some-good-news-sourceforge-removes-blanket-blocking/


The problem for FPC specifically is that it includes some cryptography  
units, so we cannot change it. On the other hand, FPC also has non- 
sourceforge mirrors.



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


Re: [fpc-pascal] MSEide+MSEgui SourceForge - BerliOS

2010-02-09 Thread Graeme Geldenhuys
Nikolay Nikolov wrote:

 Good news, they have added the option to lift those restrictions. It's 
 now up to the project admins to decide for their own project.

Problem still holds. If you accidentally on unknowingly introduce code of
mass destruction smile, or the US Government things your code is
considered rogue they will try and jump on your case. :-( Simple things
like cryptography units is an issue.

Having this hanging over your head is not what I call in the spirit of the
open internet. So what Martin did, by moving his project to BerliOS is a
good move.

I'm considering my options too (self hosting or external non-US hosting),
and moving my project away from SourceForge.net. Even though my country is
not affected by this, this whole idea of banning countries is ridiculous.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

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


Re: [fpc-pascal] MSEide+MSEgui SourceForge - BerliOS

2010-02-09 Thread Martin Schreiber
On Tuesday 09 February 2010 14:39:05 Nikolay Nikolov wrote:

 Good news, they have added the option to lift those restrictions. It's
 now up to the project admins to decide for their own project.
 http://sourceforge.net/blog/some-good-news-sourceforge-removes-blanket-bloc
king

And now one risks that the US government sues the admins of the projects if
we click the wrong Export Controls option? Much too dangerous.
I export prohibited technology from USA to banned countries which falls
under US law. And US government has the possibilities to enforce their will
in my country. We will stick to BerliOS.

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


Re: [fpc-pascal] programmatically creating desktop icons under Linux

2010-02-09 Thread brian

Thanks for the info, everyone. Looks like I have a bit of reading to do...


Brian.


David W Noon wrote:

On Sun, 7 Feb 2010 23:43:52 +0200, Graeme Geldenhuys wrote about Re:
[fpc-pascal] programmatically creating desktop icons under Linux:


On 7 February 2010 23:42, Graeme Geldenhuys graemeg.li...@gmail.com
wrote:

Creating symbolic links (ls -s src target) should suffice.

Typo, it should read:  ln -s src target


Actually, there is a symlink() API that can be called without creating a
separate address space for an external command.


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


Re: [fpc-pascal] String buffer

2010-02-09 Thread Graeme Geldenhuys
Honza wrote:
 Probably just reinventing the wheel - I was not able to quickly find a
 String builder/buffer elsewhere.


Thanks for the contribution.  Could you explain what the advantages are of
that string buffer object compared to a standard string types like
AnsiString or TStringList?


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

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