Graeme Geldenhuys wrote:
I even compiled and ran the more complex fpGUI apps like the GUI Forms
Designer, DocView (help viewer), and Maximus (a sample fpGUI IDE). Even
FPTest (my Free Pascal Unit Testing project works).
I don't believe you've mentioned Maximus here before, does it pull in
th
On 13/09/12 23:02, Marco van de Voort wrote:
thus not hf. A month or so back, the PI foundation changed their default
distro from "wheezy" (eabi,v5) to raspbian.
So far the Raspbian image is pretty rubbish, compared to the
pre-configure one I bought on my SD card. I guess the "raspbian" it too
In our previous episode, Graeme Geldenhuys said:
> So far the Raspbian image is pretty rubbish, compared to the
> pre-configure one I bought on my SD card. I guess the "raspbian" it too
> much "bleeding egde" (read super unstable). The Raspbian one has errors
> in raspi-config, so I can set my D
On 9/14/12, Andrew Pennebaker wrote:
> fpc.exe and related binaries are installed in C:\FPC\2.6.0\bin\i386-win32,
> but the installer does not add this directory to the PATH environment
> variable. Thus, opening a Command Prompt and typing "fpc" fails.
It did work perfectly on my Win7 laptop.
You
On 14/09/12 10:13, Marco van de Voort wrote:
Did you get the foundation recommended image, or did you get some daily
build or so?
The recommended image on this page:
Raspbian "wheezy" 2012-08-16
http://www.raspberrypi.org/downloads
I've just installed the "Pisces" image from the ra
On 14/09/12 09:10, Mark Morgan Lloyd wrote:
I don't believe you've mentioned Maximus here before, does it pull in
the form designer etc.?
Maximus is very basic at the moment. A project manager, syntax
highlighting in editor, macro support in the settings dialogs, Find and
Procedure List (fil
On 12/09/12 19:51, Krzysztof wrote:
Hi,
Exists any multiplatform function which check if string contains not
allowed characters (like < > / \ on windows) for filename?
Nothing in FPC as far as I know, but once again tiOPF does provide that.
Have a look at the tiUtils.pas unit in tiOPF v2. ti
I just quicky googled not allowed characters and wrote this simple function:
function IsValidFilename(const AFilename: String): Boolean;
var
c: set of Char = ['<','>',':','"','/','\','|','?','*', '%', '.'];
i: Integer;
begin
Result := True;
for i:=1 to Length(AFilename) do
if AFilename
Krzysztof wrote:
I just quicky googled not allowed characters and wrote this simple function:
function IsValidFilename(const AFilename: String): Boolean;
var
c: set of Char = ['<','>',':','"','/','\','|','?','*', '%', '.'];
i: Integer;
begin
Result := True;
for i:=1 to Length(AFilename)
Graeme Geldenhuys wrote:
On 14/09/12 09:10, Mark Morgan Lloyd wrote:
I don't believe you've mentioned Maximus here before, does it pull in
the form designer etc.?
I've tested in OpenSolaris 2009 release, but I don't have Solaris 8 to
try. I can say that I have run fpGUI executables under Lin
Mark Morgan Lloyd hat am 14. September 2012
um 15:18 geschrieben:
> Krzysztof wrote:
> > I just quicky googled not allowed characters and wrote this simple function:
> >
> > function IsValidFilename(const AFilename: String): Boolean;
> > var
> > c: set of Char = ['<','>',':','"','/','\','|','?','
On 14/9/12 2:43, Mattias Gaertner wrote:
> > c: set of Char = ['<','>',':','"','/','\','|','?','*', '%', '.'];
> But several of those are fine in filenames- just inadvisable since they
> need special quoting/escaping to get past the shell. As does ' ' which
> isn't in your list :-)
And i
Am 2012-09-12 20:51, schrieb Krzysztof:
Exists any multiplatform function which check if string contains not
allowed characters (like < > / \ on windows) for filename?
The question is: Do you realy need it?
I came to the conclusion that it's very hard to determine what exactly is a
valid fil
On 14/09/12 13:48, Krzysztof wrote:
I just quicky googled not allowed characters and wrote this simple function:
Also in Windows (as far as I know), file names my not be longer than 255
characters. So you will have to check the length of AFilename parameter too.
Regards,
- Graeme -
_
On 14/09/12 15:02, Howard Page-Clark wrote:
As is so often the case, a truly cross-platform solution requires a good...
Under linux such a check is easy. Everything is accepted, expect for the
NUL character. :-)
Regards,
- Graeme -
___
fpc-pa
On 13/09/12 16:33, Ludo Brands wrote:
A few questions regarding FBAdmin:
- Will FBAdmin be backported to 2.6.1?
I can't comment on that.
- Will more functionality be added to it? In particular the
setting of
Forced Writes (I could perhaps supply a patch then).
Not from my side. Purpose o
On 14 Sep 2012, at 17:47, Graeme Geldenhuys wrote:
> On 14/09/12 15:02, Howard Page-Clark wrote:
>>
>> As is so often the case, a truly cross-platform solution requires a good...
>
> Under linux such a check is easy. Everything is accepted, expect for the NUL
> character. :-)
And the "/".
On 14/09/12 14:22, Mark Morgan Lloyd wrote:
It was just an idle query... it might turn out to be possible to build
it by taking sources of about the right age from e.g. Slackware 8.1, but
right now I've got too much else on my plate to get into this.
The alternative is to revert fpGUI to using
On 14/09/12 14:22, Mark Morgan Lloyd wrote:
It was just an idle query... it might turn out to be possible to build
it by taking sources of about the right age from e.g. Slackware 8.1, but
right now I've got too much else on my plate to get into this.
Thinking about it, there is a 100% Pascal im
On 13/09/12 22:39, Johann Glaser wrote:
@Stephano: Thanks for the link with contributed units. Actually, one
of the USB units is from me, but a bit outdated. When my libusb 1.0
translation (including an OOP wrapper) is done I'll update
http://wiki.freepascal.org/Hardware_Access#libusb and the c
On 14/09/12 16:50, Jonas Maebe wrote:
And the "/".
Ah yes, you are correct.
Regards,
- Graeme -
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
> It did work perfectly on my Win7 laptop.
> You might want to have"administrator privileges whilst installing
> (IIRC modifying the global PATH variable requires administrator
> privileges).
I do have administrator privileges, and the installer could be built to
modify the user's PATH variable
So I for sure check if file exists after creating it. Thanks for that tips.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Fri, 14 Sep 2012 14:48:08 +0200, Krzysztof wrote:
I just quicky googled not allowed characters and wrote this simple
function:
Seems, you found one of the many (I'd suspect) wrong search results.
function IsValidFilename(const AFilename: String): Boolean;
var
c: set of Char = ['<','>'
am i the only one seeing a security risk here ?
2012/9/14 Vinzent Höfler :
> On Fri, 14 Sep 2012 14:48:08 +0200, Krzysztof wrote:
>
>> I just quicky googled not allowed characters and wrote this simple
>> function:
>
>
> Seems, you found one of the many (I'd suspect) wrong search results.
>
>
>>
2012/9/14 Andrew Pennebaker :
>> It did work perfectly on my Win7 laptop.
>> You might want to have"administrator privileges whilst installing
>> (IIRC modifying the global PATH variable requires administrator
>> privileges).
>
>
> I do have administrator privileges, and the installer could be buil
On Fri, 14 Sep 2012 18:42:55 +0200, Jorge Aldo G. de F. Junior
wrote:
am i the only one seeing a security risk here ?
*scratching head* Which part? Care to elaborate?
I'd presume, you mean another than that I'm using Windows? ;)
I don't see how manually restricting the character set of an
In our previous episode, Graeme Geldenhuys said:
> > As is so often the case, a truly cross-platform solution requires a good...
>
> Under linux such a check is easy. Everything is accepted, expect for the
> NUL character. :-)
Which paths are you talking about? Paths passed to the shell or to t
I need only basic checking, it not need to be 100% compability with OS
specification. My program asking user for playlist name and I'm saving
it in local folder with my own extension.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://list
On Fri, 14 Sep 2012 18:42:55 +0200, Jorge Aldo G. de F. Junior
wrote:
am i the only one seeing a security risk here ?
Now it dawns. You're thinking environment variables ("%")?
Vinzent.
--
The most likely way for the world to be destroyed, most experts agree,
is by accident. That's where
Graeme Geldenhuys wrote:
On 14/09/12 14:22, Mark Morgan Lloyd wrote:
It was just an idle query... it might turn out to be possible to build
it by taking sources of about the right age from e.g. Slackware 8.1, but
right now I've got too much else on my plate to get into this.
The alternative is
Graeme Geldenhuys wrote:
On 14/09/12 14:22, Mark Morgan Lloyd wrote:
It was just an idle query... it might turn out to be possible to build
it by taking sources of about the right age from e.g. Slackware 8.1, but
right now I've got too much else on my plate to get into this.
Thinking about it,
On Fri, 14 Sep 2012 18:53:53 +0200, Krzysztof wrote:
I need only basic checking, it not need to be 100% compability with OS
specification. My program asking user for playlist name and I'm saving
it in local folder with my own extension.
Then for von Neumanns sake simply try to save it where t
> It is already quite a useful component as is. Since you are FBAdmin's
> author, and are knowledgeable in the service API, what do you
> recommend
> regarding the non basic admin actions? Forced Writes in particular is
> interesting as it might have to be turned off when pumping
> data for ex
>
> Well, I just checked:
>
> http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/install/fpc.ist?view=annotate&root=fpcbuild
> around line 253 and further.
>
> It matches my experience.
>
> Maybe you are using Windows ME or older windows versions.
I am using Windows 7 Professional x64. Which vers
35 matches
Mail list logo