On Wed, Aug 22, 2012 at 01:09:33PM -0700, Wendell P wrote:
> How does this display-denial work and how does Netsurf get around it?
> What part of the Netsurf code should I be looking at?
To my knowledge, NetSurf does nothing special for this. I believe
Google serves the "mobile" versions of pages. It probably refuses that
to Firefox, because it should have JavaScript.
B.
Thursday, 23 August 2012
Wednesday, 22 August 2012
Forcing page display without JavaScript
Many web sites (e.g. Google Groups) now refuse to display pages unless
your browser has JavaScript enabled. The browsers Netsurf and Dillo
manage to get around this, displaying the pages anyway. I'm trying to
understand the mechanisms behind this so I could implement the same
capability in a CLI browser like w3m or write a plugin for Firefox that
would force page display while still having JavaScript disabled.
How does this display-denial work and how does Netsurf get around it?
What part of the Netsurf code should I be looking at?
--
http://www.fastmail.fm - Choose from over 50 domains or use your own
your browser has JavaScript enabled. The browsers Netsurf and Dillo
manage to get around this, displaying the pages anyway. I'm trying to
understand the mechanisms behind this so I could implement the same
capability in a CLI browser like w3m or write a plugin for Firefox that
would force page display while still having JavaScript disabled.
How does this display-denial work and how does Netsurf get around it?
What part of the Netsurf code should I be looking at?
--
http://www.fastmail.fm - Choose from over 50 domains or use your own
Tuesday, 21 August 2012
[gccsdk] Unaligned data access vs pack(push...
I am attempting to compile LZ4 compression, and the working binary
doesn't get it's arithmetic right, decompressing declares corruption.
The warnings
warning: #pragma pack(push[, id], <n>) is not supported on this target
warning: #pragma pack(pop[, id], <n>) is not supported on this target
can be avoided by using -D__ARM_FEATURE_UNALIGNED but according to
http://infocenter.arm.com/help/topic/com.arm.doc.dui0472c/BABFDBCJ.html
this could be a problem for earlier than ARMv6 also.
I'm not keen on starting on C++ stuff, This is a fairly small project,
but requires manually configuring.
One other config question is wether we support hardware bit counting,
in case that means something to anyone?
TIA Ron M.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
doesn't get it's arithmetic right, decompressing declares corruption.
The warnings
warning: #pragma pack(push[, id], <n>) is not supported on this target
warning: #pragma pack(pop[, id], <n>) is not supported on this target
can be avoided by using -D__ARM_FEATURE_UNALIGNED but according to
http://infocenter.arm.com/help/topic/com.arm.doc.dui0472c/BABFDBCJ.html
this could be a problem for earlier than ARMv6 also.
I'm not keen on starting on C++ stuff, This is a fairly small project,
but requires manually configuring.
One other config question is wether we support hardware bit counting,
in case that means something to anyone?
TIA Ron M.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
Friday, 17 August 2012
[gccsdk] [Bug 242] Segfault from asasm
http://www.riscos.info/bugzilla3/show_bug.cgi?id=242
--- Comment #1 from Theo Markettos <gccsdk-bugzilla@markettos.org.uk> 2012-08-17 11:06:46 PDT ---
Forgot to mention, this is on:
bulova:HAL$ uname -a
Linux bulova 2.6.38-15-generic #61-Ubuntu SMP Tue Jun 12 19:43:39 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux
--
Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
--- Comment #1 from Theo Markettos <gccsdk-bugzilla@markettos.org.uk> 2012-08-17 11:06:46 PDT ---
Forgot to mention, this is on:
bulova:HAL$ uname -a
Linux bulova 2.6.38-15-generic #61-Ubuntu SMP Tue Jun 12 19:43:39 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux
--
Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
[gccsdk] [Bug 242] New: Segfault from asasm
http://www.riscos.info/bugzilla3/show_bug.cgi?id=242
Summary: Segfault from asasm
Product: GCC/GCCSDK
Version: other
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P1
Component: RISC OS-specific tools
AssignedTo: John.Tytgat@aaug.net
ReportedBy: gccsdk-bugzilla@markettos.org.uk
Estimated Hours: 0.0
I have a checkout of GCCSDK rev 5827 which is giving a segfault when I try to
assemble something. To reproduce this:
git clone git://github.com/caliston/ro-bootlinux.git
cd ro-bootlinux
git checkout 4e3b87b8f6
cd HAL
../../../gccsdk/cross/bin/asasm -o Messaging.o s/Messaging
Segmentation fault
I can't update to HEAD (5890) because that won't build either (build error
below).
gdb backtrace (I'm not entirely sure what's going on here):
[New Thread 12636]
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Core was generated by `../../../gccsdk/gcc4/builddir/cross/asasm/asasm -o
Messaging.o s/Messaging'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f48513e7ad5 in vfprintf () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007f48513e7ad5 in vfprintf () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f485140aa02 in vsnprintf () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00000000004078de in errorCore (e=ErrorError,
format=0x433ef3 "'%.*s' is undefined", ap=0x7fff848319f0)
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/error.c:179
#3 0x0000000000407b9a in error (e=ErrorError, format=0x433ef3 "'%.*s' is
undefined")
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/error.c:264
#4 0x00000000004275ad in c_set (label=0x7fff84831c60)
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/variables.c:295
#5 0x0000000000404d64 in decode (label=0x7fff84831c60)
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/decode.c:607
#6 0x0000000000402e95 in ASM_DoPass (asmFile=0x7fff84832a38 "s/Messaging")
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/asm.c:114
#7 0x0000000000402ef0 in ASM_Assemble (asmFile=0x7fff84832a38 "s/Messaging")
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/asm.c:134
#8 0x000000000041726c in main (argc=0, argv=0x7fff84831e38)
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/main.c:536
(gdb) frame 1
#1 0x00007f485140aa02 in vsnprintf () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) info args
No symbol table info available.
(gdb) frame 2
#2 0x00000000004078de in errorCore (e=ErrorError,
format=0x433ef3 "'%.*s' is undefined", ap=0x7fff848319f0)
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/error.c:179
179 vsnprintf (errbuf, sizeof (errbuf), format, ap);
(gdb) info args
e = ErrorError
format = 0x433ef3 "'%.*s' is undefined"
ap = 0x7fff848319f0
(gdb) frame 3
#3 0x0000000000407b9a in error (e=ErrorError, format=0x433ef3 "'%.*s' is
undefined")
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/error.c:264
264 errorCore (e, format, ap);
(gdb) info args
e = ErrorError
format = 0x433ef3 "'%.*s' is undefined"
Meanwhile I can't build svn HEAD (5890):
all ===> ar
lex
/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar/acplex.l
mv lex.yy.c acplex.c
cc -g -O2 -I.
-I/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar
-I.
-I/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar
-I/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar/../common
-I/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar/../libelf
-I/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar/../libelftc
-Werror -c
/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar/ar.c
/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar/ar.c:65:21:
fatal error: archive.h: No such file or directory
compilation terminated.
*** Error code 1
Stop.
pmake: stopped in
/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar
*** Error code 1
--
Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
Summary: Segfault from asasm
Product: GCC/GCCSDK
Version: other
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P1
Component: RISC OS-specific tools
AssignedTo: John.Tytgat@aaug.net
ReportedBy: gccsdk-bugzilla@markettos.org.uk
Estimated Hours: 0.0
I have a checkout of GCCSDK rev 5827 which is giving a segfault when I try to
assemble something. To reproduce this:
git clone git://github.com/caliston/ro-bootlinux.git
cd ro-bootlinux
git checkout 4e3b87b8f6
cd HAL
../../../gccsdk/cross/bin/asasm -o Messaging.o s/Messaging
Segmentation fault
I can't update to HEAD (5890) because that won't build either (build error
below).
gdb backtrace (I'm not entirely sure what's going on here):
[New Thread 12636]
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Core was generated by `../../../gccsdk/gcc4/builddir/cross/asasm/asasm -o
Messaging.o s/Messaging'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f48513e7ad5 in vfprintf () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007f48513e7ad5 in vfprintf () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f485140aa02 in vsnprintf () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00000000004078de in errorCore (e=ErrorError,
format=0x433ef3 "'%.*s' is undefined", ap=0x7fff848319f0)
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/error.c:179
#3 0x0000000000407b9a in error (e=ErrorError, format=0x433ef3 "'%.*s' is
undefined")
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/error.c:264
#4 0x00000000004275ad in c_set (label=0x7fff84831c60)
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/variables.c:295
#5 0x0000000000404d64 in decode (label=0x7fff84831c60)
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/decode.c:607
#6 0x0000000000402e95 in ASM_DoPass (asmFile=0x7fff84832a38 "s/Messaging")
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/asm.c:114
#7 0x0000000000402ef0 in ASM_Assemble (asmFile=0x7fff84832a38 "s/Messaging")
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/asm.c:134
#8 0x000000000041726c in main (argc=0, argv=0x7fff84831e38)
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/main.c:536
(gdb) frame 1
#1 0x00007f485140aa02 in vsnprintf () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) info args
No symbol table info available.
(gdb) frame 2
#2 0x00000000004078de in errorCore (e=ErrorError,
format=0x433ef3 "'%.*s' is undefined", ap=0x7fff848319f0)
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/error.c:179
179 vsnprintf (errbuf, sizeof (errbuf), format, ap);
(gdb) info args
e = ErrorError
format = 0x433ef3 "'%.*s' is undefined"
ap = 0x7fff848319f0
(gdb) frame 3
#3 0x0000000000407b9a in error (e=ErrorError, format=0x433ef3 "'%.*s' is
undefined")
at /local/scratch/atm26/riscos/gccsdk/gcc4/riscos/asasm/error.c:264
264 errorCore (e, format, ap);
(gdb) info args
e = ErrorError
format = 0x433ef3 "'%.*s' is undefined"
Meanwhile I can't build svn HEAD (5890):
all ===> ar
lex
/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar/acplex.l
mv lex.yy.c acplex.c
cc -g -O2 -I.
-I/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar
-I.
-I/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar
-I/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar/../common
-I/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar/../libelf
-I/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar/../libelftc
-Werror -c
/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar/ar.c
/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar/ar.c:65:21:
fatal error: archive.h: No such file or directory
compilation terminated.
*** Error code 1
Stop.
pmake: stopped in
/local/scratch/atm26/riscos/gccsdk-new/gcc4/riscos/asasm/elftoolchain/current-trunk/ar
*** Error code 1
--
Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
Monday, 13 August 2012
Re: Amiga and BeOS front end selection/clipboard handling
In article
<OUT-50294B0F.MD-1.4.17.chris.young@unsatisfactorysoftware.co.uk>,
Chris Young <chris.young@unsatisfactorysoftware.co.uk> wrote:
> Working perfectly.
Great, thanks. :)
--
Michael Drake (tlsa) http://www.netsurf-browser.org/
<OUT-50294B0F.MD-1.4.17.chris.young@unsatisfactorysoftware.co.uk>,
Chris Young <chris.young@unsatisfactorysoftware.co.uk> wrote:
> Working perfectly.
Great, thanks. :)
--
Michael Drake (tlsa) http://www.netsurf-browser.org/
Re: Amiga and BeOS front end selection/clipboard handling
On Mon, 13 Aug 2012 17:51:30 +0100, Michael Drake wrote:
> I've added a function to get a copy of the selected text and updated the
> amiga front end to use that.
>
> Can you check it builds/works please.
Working perfectly.
Regards
Chris
> I've added a function to get a copy of the selected text and updated the
> amiga front end to use that.
>
> Can you check it builds/works please.
Working perfectly.
Regards
Chris
Subscribe to:
Posts (Atom)