Re: [fpc-pascal] Wiki search broken?

2012-08-26 Thread zeljko
On Monday 27 of August 2012 06:07:25 Andrew Haines wrote:
> Hi,
> 
> Search seems to be broken for me on the wiki
> 
> "There was a server error processing your request. We apologize.
> 
> 
> Take me back where I was (before the error)
> Database operation "0or1row" failed (exception NSDB, "Query was not a
> statement returning rows.")
> 
> ERROR:  invalid byte sequence for encoding "UTF8": 0xc080
> HINT:  This error can also happen if the byte sequence does not match
> the encoding expected by the server, which is controlled by
> "client_encoding".
> "

This looks like postgresql error msg (is it pgsql db ? ). It happens when 
pgsql server db encoding != utf8 (unicode) and you're trying to insert 
character which is untransatable by internal encoding funcions eg. 
win1250toUTF8('something') (eg. double minus (or whatever name it have) sign 
which can be found in ms word (it looks like double minus -- but in one 
line)).

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


Re: [fpc-pascal] Wiki search broken?

2012-08-26 Thread Vincent Snijders
2012/8/27 Andrew Haines :
> Hi,
>
> Search seems to be broken for me on the wiki
>

What was your search word?

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


[fpc-pascal] Wiki search broken?

2012-08-26 Thread Andrew Haines

Hi,

Search seems to be broken for me on the wiki

"There was a server error processing your request. We apologize.


Take me back where I was (before the error)
Database operation "0or1row" failed (exception NSDB, "Query was not a 
statement returning rows.")


ERROR:  invalid byte sequence for encoding "UTF8": 0xc080
HINT:  This error can also happen if the byte sequence does not match 
the encoding expected by the server, which is controlled by 
"client_encoding".

"

There's a bunch more raw html stuff as well.

Regards,

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


Re: [fpc-pascal] Daily Source Snapshot of Development Tree (trunk)

2012-08-26 Thread Sven Barth

On 26.08.2012 20:11, Rainer Stratmann wrote:

http://www.freepascal.org/develop.var

ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/source/fpc.zip

Is this always the latest trunk version?


It is the latest trunk version from when the snapshot was generated 
(normally around midnight).



Or is there somewhere a more current version?


If you even want the latest version during the day you might want to 
take a look at "Connect to Source Repository with SVN" on the page you 
linked to.


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


Re: [fpc-pascal] Daily Source Snapshot of Development Tree (trunk)

2012-08-26 Thread Jeppe Græsdal Johansen

Den 26-08-2012 20:11, Rainer Stratmann skrev:

http://www.freepascal.org/develop.var

ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/source/fpc.zip

Is this always the latest trunk version?

Or is there somewhere a more current version?
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
It is, but I forgot to check whether I had local changes before I 
assured you that it worked; and I did :)


Just made this patch which fixes the ARMv7M problem: 
http://bugs.freepascal.org/view.php?id=22727

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


[fpc-pascal] Daily Source Snapshot of Development Tree (trunk)

2012-08-26 Thread Rainer Stratmann
http://www.freepascal.org/develop.var

ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/source/fpc.zip

Is this always the latest trunk version?

Or is there somewhere a more current version?
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Error when trying to build a crosscompiler for arm

2012-08-26 Thread Jeppe Græsdal Johansen

Den 25-08-2012 18:15, Rainer Stratmann skrev:

Am Saturday 25 August 2012 15:22:59 schrieb Rainer Stratmann:

Am Saturday 25 August 2012 14:14:18 schrieb Marco van de Voort:

In our previous episode, Rainer Stratmann said:

I downloaded the daily source an wanted to build a crosscompiler for
arm with:

make clean buildbase installbase CROSSINSTALL=1 CROSSOPT="-XParm-elf-"
OS_TARGET=embedded CPU_TARGET=arm SUBARCH=armv7m

Starting with what compiler?

2.6.0

I changed the code somehow so that the compiler can continue the compiling.

Now it seems the linker shows errormessages.
(bad instruction `uxths ')


make[3]: Entering directory `/home/rainer/fpcdaily/fpc/rtl/embedded'
/bin/mkdir -p /home/rainer/fpcdaily/fpc/rtl/units/arm-embedded
/home/rainer/fpcdaily/fpc/compiler/ppcrossarm -Cparmv7m
@rtl.cfg -Ur -Tembedded -Parm -XParm-embedded- -Xr -Ur -Xs -O2 -n -Fi../inc 
-Fi../arm -FE. -FU/home/rainer/fpcdaily/fpc/rtl/units/arm-embedded -darm 
-dRELEASE -XParm-elf- -Us -Sg
system.pp
/home/rainer/fpcdaily/fpc/rtl/units/arm-embedded/system.s: Assembler messages:
/home/rainer/fpcdaily/fpc/rtl/units/arm-embedded/system.s:16515: Error: bad
instruction `uxths r0,r0'
/home/rainer/fpcdaily/fpc/rtl/units/arm-embedded/system.s:16580: Error: bad
instruction `uxths r1,r1'
/home/rainer/fpcdaily/fpc/rtl/units/arm-embedded/system.s:16656: Error: bad
instruction `uxths r3,r3'
/home/rainer/fpcdaily/fpc/rtl/units/arm-embedded/system.s:16713: Error: bad
instruction `uxths r1,r1'
/home/rainer/fpcdaily/fpc/rtl/units/arm-embedded/system.s:16799: Error: bad
instruction `uxths r1,r1'
/home/rainer/fpcdaily/fpc/rtl/units/arm-embedded/system.s:16861: Error: bad
instruction `uxths r1,r1'
/home/rainer/fpcdaily/fpc/rtl/units/arm-embedded/system.s:27354: Error:
instruction not allowed in IT block -- `str r0,[r11,#-48]'
/home/rainer/fpcdaily/fpc/rtl/units/arm-embedded/system.s:27355: Error: thumb
conditional instruction should be in IT block -- `movne r0,#0'
/home/rainer/fpcdaily/fpc/rtl/units/arm-embedded/system.s:27377: Error:
instruction not allowed in IT block -- `str r0,[r11,#-48]'
/home/rainer/fpcdaily/fpc/rtl/units/arm-embedded/system.s:27378: Error: thumb
conditional instruction should be in IT block -- `movne r0,#0'
/home/rainer/fpcdaily/fpc/rtl/units/arm-embedded/system.s:32765: Error: bad
instruction `uxths r0,r0'
system.pp(232) Error: Error while assembling exitcode 1
system.pp(232) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
make[3]: *** [system.ppu] Fehler 1
make[3]: Leaving directory `/home/rainer/fpcdaily/fpc/rtl/embedded'
make[2]: *** [embedded_all] Fehler 2
make[2]: Leaving directory `/home/rainer/fpcdaily/fpc/rtl'
make[1]: *** [rtl_all] Fehler 2
make[1]: Leaving directory `/home/rainer/fpcdaily/fpc'
make: *** [base.build-stamp.arm-embedded] Fehler 2
rainer@debian605:~/fpcdaily/fpc$
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
I just checked it out again. It looks like there's bad bug in the 
compiler regarding large set handling. When inserting this on line 473


debugmsg(booltostr(taicpu(p).opcode in 
[A_ADC,A_ADD,A_BIC,A_SUB,A_MUL,A_MVN,A_MOV,A_ORR,A_EOR,A_AND,A_RSB,A_RSC,A_SBC,A_MLA], 
true)+' '+booltostr(MatchInstruction(p, 
[A_ADC,A_ADD,A_BIC,A_SUB,A_MUL,A_MVN,A_MOV,A_ORR,A_EOR,A_AND,A_RSB,A_RSC,A_SBC,A_MLA], 
[C_None], [PF_None]), true), p);


The first condition is false for uxth but for the second it's true. That 
shouldn't happen.


Rainer, just pass CROSSOPT="-O-" for now until this issue is fixed. That 
will disable optimization when building the compiler.

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


Re: [fpc-pascal] Re: Policy regarding HTML messages

2012-08-26 Thread Jonas Maebe

On 26 Aug 2012, at 00:18, Graeme Geldenhuys wrote:

> So could the mailing list admin please notify the people to change their 
> email clients to NOT send HTML message. For example, all messages from 
> "ido...@gmail.com"

Those messages also have a plain text alternative. You may want to configure 
your mail client so that it shows that one by default 
(http://kb.mozillazine.org/Plain_text_e-mail_(Thunderbird)#Displaying_messages 
). As long as the message is not sent only in HTML, it's fine by me.

Please send administrative questions off-list in the future.


Jonas
FPC mailing lists admin

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


[fpc-pascal] Re: [Lazarus] Any FPC/Lazarus success stories on Nokia N9?

2012-08-26 Thread Paul Breneman

zeljko wrote:

On Saturday 25 of August 2012 14:30:12 Reinier Olislagers wrote:

Hi FPC & Lazarus lists (crossposted),

Just wondering if anybody has compiled FPC, Lazarus, or fpgui
applications on Nokia's N9 smartphone.


I've successfully built bindings and qtlcl apps for n9 (I guess that Joost 
also was succesfull). It works, but normal qtlcl app cannot change orientation 
so it's always horizontal.

If you want to create really fancy n9 apps you need QtCreator (Nokia SDK).
Besides that, N9 is normal linux machine (eg. X11) with arm processor (no need 
for QTOPIA defines in bindings like N900 needs).
P.S: There's guy on #lazarus-ide irc channel nick = trx. 
He created complete api to work with nokia ui's,so you can create same app 
like with QtCreator (under Lazarus)  ask him for more details.


zeljko


You might find stuff that works on the N9 as part of this project:
  http://www.turbocontrol.com/monitor.htm

It should be easy to try the ARM Linux 1.1 MB zip to directly compile on 
the N9:

  http://www.turbocontrol.com/helloworld.htm

If that works then try a 3.2 MB zip to compile a GUI program using fpGUI:
  http://www.turbocontrol.com/easyfpgui.htm
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Re: Policy regarding HTML messages

2012-08-26 Thread Graeme Geldenhuys

On 25/08/12 23:14, Graeme Geldenhuys wrote:


What is the policy with HTML messages in this mailing list?


Ah, I found the following page which describes just that...

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


"3) Do not use HTML mail, or worse RTF mail. Some mailreaders don't read 
them, or start up slow programs to process them."



So could the mailing list admin please notify the people to change their 
email clients to NOT send HTML message. For example, all messages from 
"ido...@gmail.com"


Thanks,
  G.


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


[fpc-pascal] Policy regarding HTML messages

2012-08-26 Thread Graeme Geldenhuys

To the mailing list admin,

What is the policy with HTML messages in this mailing list? I find it 
very annoying when messages to mailing lists are in HTML - this seems to 
be the general consensus in most mailing lists. I was under the 
impression that only plain text message was allowed in this list too.


Could you please clarify this.

Regards,
  G.

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