Welcome, Guest. Please login or register.

Author Topic: Netsurf for 68k amigas, css capable web brower  (Read 34081 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline 0amigan0

  • Full Member
  • ***
  • Join Date: Dec 2006
  • Posts: 109
    • Show only replies by 0amigan0
Re: Netsurf for 68 amigas, css capable web brower
« Reply #44 on: May 13, 2009, 12:39:42 PM »
@__artur:

Let us know how u're progressing.
 

Offline apj

Re: Netsurf for 68 amigas, css capable web brower
« Reply #45 on: May 13, 2009, 04:40:22 PM »
I think I won't handle this task.

For example

 COMPILE: amiga/font.c
amiga/font.c: In function 'nsfont_position_in_string':
amiga/font.c:113: warning: implicit declaration of function 'ESetInfo'
amiga/font.c:113: error: dereferencing pointer to incomplete type
amiga/font.c:117: warning: implicit declaration of function 'EObtainInfo'
amiga/font.c:117: error: dereferencing pointer to incomplete type
amiga/font.c:118: error: 'OT_GlyphMap8Bit' undeclared (first use in this functio
n)
amiga/font.c:118: error: (Each undeclared identifier is reported only once
amiga/font.c:118: error: for each function it appears in.)
amiga/font.c:125: error: dereferencing pointer to incomplete type
amiga/font.c:135: error: dereferencing pointer to incomplete type
amiga/font.c:137: warning: implicit declaration of function 'EReleaseInfo'
amiga/font.c:137: error: dereferencing pointer to incomplete type
amiga/font.c: In function 'nsfont_split':
amiga/font.c:195: error: dereferencing pointer to incomplete type
amiga/font.c:199: error: dereferencing pointer to incomplete type
amiga/font.c:200: error: 'OT_GlyphMap8Bit' undeclared (first use in this functio
n)
amiga/font.c:209: error: dereferencing pointer to incomplete type
amiga/font.c:214: error: dereferencing pointer to incomplete type
amiga/font.c:216: error: dereferencing pointer to incomplete type
amiga/font.c: In function 'ami_open_outline_font':
amiga/font.c:289: error: dereferencing pointer to incomplete type
amiga/font.c: In function 'ami_unicode_text':
amiga/font.c:322: error: 'RPTAG_APenColor' undeclared (first use in this functio
n)
amiga/font.c:328: error: dereferencing pointer to incomplete type
amiga/font.c:328: error: request for member 'olf_EEngine' in something not a str
ucture or union
amiga/font.c:332: error: dereferencing pointer to incomplete type
amiga/font.c:332: error: request for member 'olf_EEngine' in something not a str
ucture or union
amiga/font.c:333: error: 'OT_GlyphMap8Bit' undeclared (first use in this functio
n)
amiga/font.c:336: error: dereferencing pointer to incomplete type
amiga/font.c:336: error: request for member 'glm_BitMap' in something not a stru
cture or union
amiga/font.c:336: warning: assignment from incompatible pointer type
amiga/font.c:341: warning: implicit declaration of function 'BltBitMapTags'
amiga/font.c:341: error: 'BLITA_SrcX' undeclared (first use in this function)
amiga/font.c:341: error: dereferencing pointer to incomplete type
amiga/font.c:341: error: request for member 'glm_BlackLeft' in something not a s
tructure or union
amiga/font.c:342: error: 'BLITA_SrcY' undeclared (first use in this function)
amiga/font.c:342: error: dereferencing pointer to incomplete type
amiga/font.c:342: error: request for member 'glm_BlackTop' in something not a st
ructure or union
amiga/font.c:343: error: 'BLITA_DestX' undeclared (first use in this function)
amiga/font.c:344: error: 'BLITA_DestY' undeclared (first use in this function)
amiga/font.c:344: error: dereferencing pointer to incomplete type
amiga/font.c:344: error: request for member 'glm_Y1' in something not a structur
e or union
amiga/font.c:344: error: invalid operands to binary - (have 'ULONG' and 'ULONG *
')
amiga/font.c:345: error: 'BLITA_Width' undeclared (first use in this function)
amiga/font.c:345: error: dereferencing pointer to incomplete type
amiga/font.c:345: error: request for member 'glm_X1' in something not a structur
e or union
amiga/font.c:346: error: 'BLITA_Height' undeclared (first use in this function)
amiga/font.c:346: error: dereferencing pointer to incomplete type
amiga/font.c:346: error: request for member 'glm_BlackHeight' in something not a
 structure or union
amiga/font.c:347: error: 'BLITA_Source' undeclared (first use in this function)
amiga/font.c:348: error: 'BLITA_SrcType' undeclared (first use in this function)

amiga/font.c:348: error: 'BLITT_ALPHATEMPLATE' undeclared (first use in this fun
ction)
amiga/font.c:349: error: 'BLITA_Dest' undeclared (first use in this function)
amiga/font.c:350: error: 'BLITA_DestType' undeclared (first use in this function
)
amiga/font.c:350: error: 'BLITT_RASTPORT' undeclared (first use in this function
)
amiga/font.c:351: error: 'BLITA_SrcBytesPerRow' undeclared (first use in this fu
nction)
amiga/font.c:351: error: dereferencing pointer to incomplete type
amiga/font.c:351: error: request for member 'glm_BMModulo' in something not a st
ructure or union
amiga/font.c:355: error: dereferencing pointer to incomplete type
amiga/font.c:355: error: request for member 'glm_X1' in something not a structur
e or union
amiga/font.c:355: warning: assignment makes integer from pointer without a cast
amiga/font.c:357: error: dereferencing pointer to incomplete type
amiga/font.c:357: error: request for member 'olf_EEngine' in something not a str
ucture or union
amiga/font.c: In function 'ami_init_fonts':
amiga/font.c:377: warning: implicit declaration of function 'OpenOutlineFont'
amiga/font.c:377: error: 'OFF_OPEN' undeclared (first use in this function)
amiga/font.c:377: warning: assignment makes pointer from integer without a cast
amiga/font.c:378: warning: assignment makes pointer from integer without a cast
amiga/font.c:379: warning: assignment makes pointer from integer without a cast
amiga/font.c:380: warning: assignment makes pointer from integer without a cast
amiga/font.c:381: warning: assignment makes pointer from integer without a cast
amiga/font.c:382: warning: assignment makes pointer from integer without a cast
amiga/font.c:383: warning: assignment makes pointer from integer without a cast
amiga/font.c:389: error: dereferencing pointer to incomplete type
amiga/font.c:389: error: request for member 'olf_OTagList' in something not a st
ructure or union
amiga/font.c:389: warning: initialization from incompatible pointer type
amiga/font.c:391: warning: assignment makes pointer from integer without a cast
amiga/font.c:398: error: dereferencing pointer to incomplete type
amiga/font.c:398: error: request for member 'olf_OTagList' in something not a st
ructure or union
amiga/font.c:398: warning: initialization from incompatible pointer type
amiga/font.c:400: warning: assignment makes pointer from integer without a cast
amiga/font.c:407: error: dereferencing pointer to incomplete type
amiga/font.c:407: error: request for member 'olf_OTagList' in something not a st
ructure or union
amiga/font.c:407: warning: initialization from incompatible pointer type
amiga/font.c:409: warning: assignment makes pointer from integer without a cast
amiga/font.c: In function 'ami_close_fonts':
amiga/font.c:424: warning: implicit declaration of function 'CloseOutlineFont'

Offline buzz

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 612
    • Show only replies by buzz
Re: Netsurf for 68 amigas, css capable web brower
« Reply #46 on: May 13, 2009, 05:02:22 PM »
It wasn't ever going to compile without modifications. The port will require removing/replacing the code (in either the os4 or morphos version) for stuff that isnt available on os3.x
 

Offline wawrzon

Re: Netsurf for 68 amigas, css capable web brower
« Reply #47 on: May 13, 2009, 07:07:24 PM »
__artur:
why, i see you have made some progress with itix backup. just do-not-surrender.
 

Offline chris

Re: Netsurf for 68 amigas, css capable web brower
« Reply #48 on: May 13, 2009, 10:51:03 PM »
@artur

I have a ttfengine.library version of font.c if you want it?

It's horribly slow as it opens the fonts each time rather than once at the start, but that's easily fixable - it probably won't compile until this is fixed anyway as I've abstracted the font code a little more since then.

Otherwise it's a case of opening bullet.library and replacing the E..() calls with the equivalents from bullet, and reading and plotting the glyphs manually.

Chris
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline wawrzon

Re: Netsurf for 68 amigas, css capable web brower
« Reply #49 on: May 14, 2009, 04:41:36 AM »
@chris: great to have all fractions helping here.

@artur:
an actual discussion on amiga-news.de regarding a restricted os3.x unicode rendering implementation can be found here, if that is the problem, that is:
http://www.amiga-news.de/forum/thread.php?id=31281&BoardID=7
(unfortunatelly in german, but skilled coders involved)
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Netsurf for 68 amigas, css capable web brower
« Reply #50 on: May 14, 2009, 05:46:14 AM »
@chris

I noticed this on my MorphOS port of Netsurf where I had to implement font caching wih TTEngine. Works very well and there are also some advantages in using TTEngine rather than plotting glyphs manually.
My Amigas: A500, Mac Mini and PowerBook
 

Offline chiark

  • Sr. Member
  • ****
  • Join Date: Jul 2004
  • Posts: 308
    • Show only replies by chiark
    • http://www.chiark.com
Re: Netsurf for 68 amigas, css capable web brower
« Reply #51 on: May 14, 2009, 09:10:55 AM »
writing a font output stub and getting it to compile would be a big step - I'll see if I can get the x-dev environment set up properly...
Celebrating 21... no, make that 27... years of Amiga use
 

Offline apj

Re: Netsurf for 68 amigas, css capable web brower
« Reply #52 on: May 14, 2009, 12:00:56 PM »
What is  hardware/atomic.h and is for os3.x ?

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Netsurf for 68 amigas, css capable web brower
« Reply #53 on: May 14, 2009, 07:22:30 PM »
atomi.h is only in MorphOS SDK and implements atomic operations (sub, add and so on) in PPC assembly. I have implemented generic replacement for that header file now, just ask on IRC.
My Amigas: A500, Mac Mini and PowerBook
 

Offline apj

Netsurf for 68k amigas, css capable web brower
« Reply #54 on: May 18, 2009, 08:10:23 PM »
itix when will you be on IRC?
I need help.

Offline chiark

  • Sr. Member
  • ****
  • Join Date: Jul 2004
  • Posts: 308
    • Show only replies by chiark
    • http://www.chiark.com
Netsurf for 68k amigas, css capable web brower
« Reply #55 on: May 18, 2009, 08:14:18 PM »
What's the best IRC channel for this sort of discussion?  :D
Celebrating 21... no, make that 27... years of Amiga use
 

Offline apj

Netsurf for 68k amigas, css capable web brower
« Reply #56 on: May 18, 2009, 09:16:14 PM »
Chiark, #amigadev at amigaworld.net ?

Offline 0amigan0

  • Full Member
  • ***
  • Join Date: Dec 2006
  • Posts: 109
    • Show only replies by 0amigan0
Re: Netsurf for 68k amigas, css capable web brower
« Reply #57 on: May 26, 2009, 07:12:02 AM »
@__artur:


Any news ??
 

Offline AmigaMance

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: Netsurf for 68k amigas, css capable web brower
« Reply #58 on: May 26, 2009, 08:03:23 AM »
MHO: Too much talking about a web broswer that doesn't support unicode or even javascript and the only advantage of using it instead of Ibrowse or AWeb is to have CSS layout and NOTHING else... Unless i'm missing something.
A1200 PPC user.
 

Offline samo79

  • Full Member
  • ***
  • Join Date: Jul 2002
  • Posts: 124
    • Show only replies by samo79
    • http://www.betatesting.it/backforthefuture/
Re: Netsurf for 68k amigas, css capable web brower
« Reply #59 from previous page: May 26, 2009, 09:05:52 AM »
Why not use for 68k porting the latest snapshot here and then put all in the main CVS ?

http://www.netsurf-browser.org/downloads/source/

It contains the latest Core/OS4 development too and it seems quite stable, surely better than the MorphOS release :-)