Help
Best regard, Andi.
Show quoted text 282 lines
Send fpc-pascal mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of fpc-pascal digest..."
Today's Topics:
1. status of MIPS port (Jorge Aldo G. de F. Junior)
2. RE : [fpc-pascal] FPC Advanced Records (Ludo Brands)
3. Re: fpWeb: Error when trying to call a module without an
action ()
4. Re: status of MIPS port (Mark Morgan Lloyd)
5. Re: Currency and ABS(-674.59) (Joao Morais)
6. Real System Make Money Easy 2012 Trend????? (Geril Senem)
----------------------------------------------------------------------
Message: 1
Date: Sat, 10 Mar 2012 08:52:35 -0300
From: "Jorge Aldo G. de F. Junior"
Subject: [fpc-pascal] status of MIPS port
To: FPC-Pascal users discussions
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1
Whats the status of the MIPS port ?
I am currently working on a project called "OpenTik", wich aims at
replacing mikrotik's routeros with a completely opensource
alternative.
Originally i wanted to use FreeBSD on ARM but theres no freepascal
compiler for this.
I switched to a Linux based system as the base, and freepascal to
write a couple of complex components (like the console wich is way
more powerfull than the mikrotik's original one).
I am working on the captive portal system now, wich will be nicely
integrated into the current (working already) xmlconsole.
Later i plan to write a mac server using freepascal and libpcap and
finally a winbox replacement called openbox.
Current source code is here :
http://code.google.com/p/opentik/
it implements a complete programming language on its own, besides a
template system and a configuration management tool all integrated
into a single system called xmlconsole (because it uses xml files to
store config).
My question is : Whats the status of Freepascal on the MIPS (both LE and BE) ?
I ask this bacause MIPS is the single most used processor in the low
end/low cost access point market and it would be quite nicey to have
opentik running on those.
------------------------------
Message: 2
Date: Sat, 10 Mar 2012 15:53:25 +0100
From: "Ludo Brands"
Subject: RE : [fpc-pascal] FPC Advanced Records
To: "'FPC-Pascal users discussions'"
Message-ID:
Content-Type: text/plain; charset="us-ascii"
>>
>> where by the time ThisSize is accessed any disparity has been
>> corrected?
>>
>
> Not sure if this will be of any use.
>
> but you can always define an assignment incompatible type
> WordLE = record data: Word; end;
>
> and define all required overloaded operators
Or an endian independant implementation:
type
wordLE=packed record
L1,L2:byte;
end;
operator := (w1:word) w2:wordLE;
begin
w2.L2:=(w1 shr 8) and $FF;
w2.L1:=w1 and $FF;
end;
operator := (w1:wordLE) w2:word;
begin
w2:=((w1.L2 shl 8) and $FF00 ) or word(w1.L1);
end;
Ludo
------------------------------
Message: 3
Date: Sat, 10 Mar 2012 16:02:09 +0100 (CET)
From:
Subject: Re: [fpc-pascal] fpWeb: Error when trying to call a module
without an action
To: FPC-Pascal users discussions
Message-ID:
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Fri, 9 Mar 2012, wrote:
> On Fri, 9 Mar 2012, Sven Barth wrote:
>
>> I'm using the embedded webserver variant and the error only surfaced after
>> I added a second module which let's me assume that the problem is the same
>> as this:
>> http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-June/063655.html
>
> And what exactly is the problem ?
>
> You can set the default module name in the TFPWebApplication. But in that
> case, the path is interpreted as the action to execute, so the
> correct URL would be
>
> http://localhost:4321/list
>
> to have the module first requires an additional property and patch.
> This is planned.
I implemented the 'PreferModuleName' property in TWebHandler and TFPCustWebApplication in rev. 20495.
if set to True, then the URL
http://localhost:4321/treenode/
will select the 'treenode' module.
Default for the new property is currently 'False', which is backwards compatible.
Michael.
------------------------------
Message: 4
Date: Sat, 10 Mar 2012 15:33:27 +0000
From: Mark Morgan Lloyd
Subject: Re: [fpc-pascal] status of MIPS port
To:
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Jorge Aldo G. de F. Junior wrote:
> Whats the status of the MIPS port ?
>
> I am currently working on a project called "OpenTik", wich aims at
> replacing mikrotik's routeros with a completely opensource
> alternative.
>
> Originally i wanted to use FreeBSD on ARM but theres no freepascal
> compiler for this.
>
> I switched to a Linux based system as the base, and freepascal to
> write a couple of complex components (like the console wich is way
> more powerfull than the mikrotik's original one).
>
> I am working on the captive portal system now, wich will be nicely
> integrated into the current (working already) xmlconsole.
>
> Later i plan to write a mac server using freepascal and libpcap and
> finally a winbox replacement called openbox.
>
> Current source code is here :
>
> http://code.google.com/p/opentik/
>
> it implements a complete programming language on its own, besides a
> template system and a configuration management tool all integrated
> into a single system called xmlconsole (because it uses xml files to
> store config).
>
> My question is : Whats the status of Freepascal on the MIPS (both LE and BE) ?
>
> I ask this bacause MIPS is the single most used processor in the low
> end/low cost access point market and it would be quite nicey to have
> opentik running on those.
It's work-in-progress. There's a port of 2.0.0 with limited
functionality (i.e. only part of the RTL was compiled), that's currently
being merged into trunk but I've not heard anything from the people
looking at it over the last few days.
There was relevant discussion in this ML at end-Jan/start-Feb, also see
http://wiki.lazarus.freepascal.org/Native_MIPS_Systems which I knocked
together when I started looking at it.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
------------------------------
Message: 5
Date: Sat, 10 Mar 2012 13:13:06 -0300
From: Joao Morais
Subject: Re: [fpc-pascal] Currency and ABS(-674.59)
To: FPC-Pascal users discussions
Message-ID:
Content-Type: text/plain; charset=UTF-8
On Fri, Mar 9, 2012 at 06:36, Jonas Maebe wrote:
> On 09 Mar 2012, at 10:23, Sven Barth wrote:
>
>> The buzzword for this is Fixed Point Arithmetic. See
>> here: http://en.wikipedia.org/wiki/Fixed-point_arithmetic
>
> And in principle, it's exactly what currency should use. And in fact, it is
> what it does use in FPC on platforms that don't support an x87 fpu.
What about promote the consistency between all platforms and implement
currency as a scaled integer? After all, internally, it isn't a
floating point format.
Joao Morais
------------------------------
Message: 6
Date: Sun, 11 Mar 2012 02:36:57 +0200
From: Geril Senem
Subject: [fpc-pascal] Real System Make Money Easy 2012 Trend?????
To:
Message-ID:
Content-Type: text/plain; charset="windows-1256"
CkRlYXIgRnJpZW5kOwogClRob3VzYW5kcyBvZiBwZW9wbGUgZnJvbSBhbGwgb3ZlciB0aGUgd29y
bGQgYXJlIGVhcm5pbmcgc3Vic3RhbnRpYWwgaW5jb21lcyBmcm9tIGhvbWUganVzdCBieSBjb21w
bGV0aW5nIHNpbXBsZSBvbmxpbmUgc3VydmV5cy4KIApUaGlzIG5ldyBzeXN0ZW0gcmVhbHkgd29y
ayEhIQpZb3VyIEZpcnN0IFJlcXVpcmVtZW50czoKIAoxLSkgQSBjb21wdXRlciBvciBsYXB0b3Au
CjItKSBBY2Nlc3MgdG8gdGhlIGludGVybmV0LgozLSkgQSBmZXcgZXh0cmEgbWludXRlcyBvZiB5
b3VyIHRpbWUuCiAKSWYgeW91IGhhdmUgdGhpcyBnbyB0byB1cmwgYW5kIHN0YXIgd2luIG5vdy4g
VGhpcyBpcyBmaXJzdCBzZWN0aW9uLgogCmh0dHA6Ly90aW55dXJsLmNvbS82dTJkeXV3CiAKU28g
Z2V0IHJlYWxseSBleGNpdGVkLi4uIAkJIAkgICAJCSAgIAkJIAkgICAJCSAgIAkJIAkgICAJCSAg
Ci0tLS0tLS0tLS0tLS0tIG5leHQgcGFydCAtLS0tLS0tLS0tLS0tLQpBbiBIVE1MIGF0dGFjaG1l
bnQgd2FzIHNjcnViYmVkLi4uClVSTDogaHR0cDovL2xpc3RzLmZyZWVwYXNjYWwub3JnL2xpc3Rz
L2ZwYy1wYXNjYWwvYXR0YWNobWVudHMvMjAxMjAzMTEvNWNiYzRjMGQvYXR0YWNobWVudC5odG1s
Cg==
------------------------------
_______________________________________________
fpc-pascal maillist -
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
End of fpc-pascal Digest, Vol 93, Issue 25
******************************************
