New web multimedia language written in FreeBASIC.

General discussion for topics related to the FreeBASIC project or its community.
cha0s
Site Admin
Posts: 5319
Joined: May 27, 2005 6:42
Location: USA
Contact:

Post by cha0s »

Really really cool!
roook_ph
Posts: 402
Joined: Apr 01, 2006 20:50
Location: philippines
Contact:

Post by roook_ph »

Ive tried downloading the gecko sdk . There were lots of java classes and c header involved .Its not for noob like me
creek23
Posts: 261
Joined: Sep 09, 2007 1:57
Location: Philippines
Contact:

Post by creek23 »

damn! this is what I am planning for my one and only freebasic project.

if only you could make a tutorial.

or perhaps, a small collab. :-/
D.J.Peters
Posts: 8631
Joined: May 28, 2005 3:28
Contact:

Post by D.J.Peters »

KristopherWindsor wrote:A tutorial for that would be very appreciated. :)
You can download the source tree of firefox
you will find an folder with some plugin examples written in C.

Plugins are simple dynamic libs (*.DLL / *.SO)
there is no problem to create this libs with FreeBASIC too.

I lost the fun on my Shiny3D project it was to mutch work for a one man show.
(Compiler, IDE, 3D content editor, help files, website, forum, ...)

WebGL (without any plugin) will be the future for web browsers on PC's, PDA's and of course Smartphones too.

Joshy
creek23
Posts: 261
Joined: Sep 09, 2007 1:57
Location: Philippines
Contact:

Post by creek23 »

D.J.Peters wrote:I lost the fun on my Shiny3D project it was to mutch work for a one man show.
(Compiler, IDE, 3D content editor, help files, website, forum, ...)
Does that mean that you are about to release the source code? ;)

My project already have, (pseudo) Compiler, code editor, help files, website, and forum. but lacks the key ingredient -- being able to render inside browsers. :(

It's mostly a one-man show either but I'm not losing interest and keeps having fun.
creek23
Posts: 261
Joined: Sep 09, 2007 1:57
Location: Philippines
Contact:

Post by creek23 »

Just attempted to convert NPAPI.H to BI, and I wonder how Joshy got away with variables names that are keywords in FreeBASIC?

ex:

Code: Select all

End As uint32_t
next As _NPByteRange Ptr
len As int32_t
Left As uint16_t
right As uint16_t
width As int32_t
window As Any Ptr
width As uint32_t
Type As NPWindowType
Data As ZString Ptr
hmm...
anonymous1337
Posts: 5494
Joined: Sep 12, 2005 20:06
Location: California

Post by anonymous1337 »

UDT members can be named anything. In fact, in fbgfx.bi there's this:

Code: Select all

type IMAGE
    type as ... '' some datatype
end type
Also, you can "re-define" keywords:

Code: Select all

#undefine FBkeyword
#define FBkeyword
anonymous1337
Posts: 5494
Joined: Sep 12, 2005 20:06
Location: California

Post by anonymous1337 »

D.J.Peters wrote:WebGL (without any plugin) will be the future for web browsers on PC's, PDA's and of course Smartphones too.
For what? What about sound and input?
creek23
Posts: 261
Joined: Sep 09, 2007 1:57
Location: Philippines
Contact:

Post by creek23 »

anonymous1337 wrote:
D.J.Peters wrote:WebGL (without any plugin) will be the future for web browsers on PC's, PDA's and of course Smartphones too.
For what? What about sound and input?
WebAL, I supposed? :P
creek23
Posts: 261
Joined: Sep 09, 2007 1:57
Location: Philippines
Contact:

Post by creek23 »

anonymous1337 wrote:UDT members can be named anything. In fact, in fbgfx.bi there's this:

Code: Select all

type IMAGE
    type as ... '' some datatype
end type
Also, you can "re-define" keywords:

Code: Select all

#undefine FBkeyword
#define FBkeyword
FBC complains on Next As _NPByteRange Ptr with keyword "NEXT" being used as name of a struct/type.
anonymous1337
Posts: 5494
Joined: Sep 12, 2005 20:06
Location: California

Post by anonymous1337 »

@creek: Oops. I wouldn't have figured.
segin
Posts: 126
Joined: Dec 27, 2005 5:22
Contact:

Post by segin »

D.J.Peters wrote:But there is no sandbox this means you can do everything and yes very bad things too.

You can get the window handle with all keyboard and mouse messages.

This is the point why i don't share my FreeBASIC Browser source code.
That's a horrible reason to withhold source code. Everyone that would be downloading such an incomplete program would be programmers, and fully well aware of the security implications inherent with Shiny3D.

I want the source, now. I want to look at it, I want to study it, I want to absorb it. You've got me intrigued and I want that source.
Prime Productions
Posts: 147
Joined: May 24, 2009 23:13
Location: Texas, United States, Planet Earth
Contact:

Post by Prime Productions »

segin wrote:
D.J.Peters wrote:But there is no sandbox this means you can do everything and yes very bad things too.

You can get the window handle with all keyboard and mouse messages.

This is the point why i don't share my FreeBASIC Browser source code.
That's a horrible reason to withhold source code. Everyone that would be downloading such an incomplete program would be programmers, and fully well aware of the security implications inherent with Shiny3D.

I want the source, now. I want to look at it, I want to study it, I want to absorb it. You've got me intrigued and I want that source.
I think you should try and understand D. J.'s point. No one wants to take security risks. And using demanding tones is not a way to get answers.

He said that you can translate the headers, after that it should be relatively simple to implement.

David
D.J.Peters
Posts: 8631
Joined: May 28, 2005 3:28
Contact:

Post by D.J.Peters »

Last edited by D.J.Peters on Jul 01, 2010 17:25, edited 3 times in total.
Prime Productions
Posts: 147
Joined: May 24, 2009 23:13
Location: Texas, United States, Planet Earth
Contact:

Post by Prime Productions »

D.J.Peters wrote:http://www.osakit.com/
Hey, I use this.
Post Reply