SpiderBasic 1.00 is out !

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

SpiderBasic 1.00 is out !

Post by Fred »

Hi there,

We are very happy to announce the first final release of SpiderBasic, after a very long development time ! It was quite a journey to create a new product which seems like PureBasic, but which is really a different thing. So far, it's only a 1.00, so don't expect to have a feature complete or bug free product, but it's a start. When I rememeber the shape of PureBasic 1.00, I can tell you than SpiderBasic 1.00 is in a totally different league :).

The development took a longer time, so we extended the free access for PureBasic users to SpiderBasic until 1st july 2015 (on your PureBasic online account).

Check out the brand new website: http://www.spiderbasic.com

and be sure to use the forums to report anything wierd (including on the website and demo packages), so it can be improved quickly: http://forums.spiderbasic.com

Have fun and enjoy some web development ! :)

The Fantaisie Software Team


previous posts:

beta 2 is out !

Code: Select all

- Full english doc
- Added ParseXML()
- Many bug fixes

beta 1 is out !

Code: Select all

- Added OS X and Linux support
- Added full JSON support
- ExportImage(), ExportJSON(), ExportXML() to send the specified objects as download to the user

alpha 7 is out !

Code: Select all

- Added AllocateStructure/FreeStructure()
- Chnaged the signature of the 'Loaded/Error' callback, the objectId as been added
- Added OpenFileRequester()/NextSelectedFile() and #PB_LocalFile support for LoadImage/XML/JSON()
- New IDE feature like Issue tool and more
alpha 6 is out ! Some more improvements and bug fixes

Code: Select all

- Added 'UserData' optional parameter to HttpRequest()
- Added GetGadgetItemText() support to WebGadget() (from same site only)
- Reworked AMD module handling to have a better code isolation
- Bug fixes
alpha 5 is out ! Some more improvements and bug fixes

Code: Select all

- Added: RegularExpression library
- Added: Import/EndImport support for variables and functions
- Added: "!" full inlined javascript support
- Added: EnableJS/DisableJS to put big javascript blocks in programs
- Added: CallDebugger support for native browser debugger (the FireFox/Chrome debugger needs to be opened first).
- Added: FrameGadget()
- Added: #PB_Compiler_InlineJavascript compiler constant
alpha 4 is out ! It does brings a lot of fixes and the following new commands, which should allow to start building some interesting applications !

Code: Select all

- Added: XML Library (see Xml.sb)
- Added: Font Library
- Added: #PB_Window_Background and #PB_Window_BorderLess flags for OpenWindow()
- Added: TreeGadget(), nested SplitterGadget()
- Added: DesktopWidth()/DesktopHeight()/DesktopDepth()/DesktopName()/ExamineDesktop(), DesktopMouseX(), DesktopMouseY()
- Added: HTTPRequest() with #PB_HTTP_Get and #PB_HTTP_Post type
- Added: URLEncoder(), URLDecoder()
- Added: ChangeCurrentElement(), CopyList(), InsertElement(), MergeLists(), MoveElement()
- Added: PopListPosition(), PushListPosition(), SplitList(), SwapElements()
- Added: PopMapPosition(), PushMapPosition()
- Added: RandomSeed(), DrawText(), TextWidth(), TextHeight(), DrawingFont()
- Added: SetFrameRate(), CreateSprite(), SpriteOutput()
- Added: SortArray(), SortList(), RandomizeArray(), RandomizeList()
- Added: CopyImage(), ImageDepth(), ResizeImage(), GrabImage(), ImageFormat()
- Added: .sb/.sbi/.sbp/.sbf extension support for the SpiderBasic IDE
- Added: optimization option in compiler window based on Google Closure Compiler (requires java)
- Added: port and optimization options in the IDE (in Compiler Options)
- Added: image support for menu item
- Added: automatic grayed toolbar icon when disabled
alpha 3 is out ! It does brings a lot of fixes and the following new commands. The incompatibility list has been updated.

Code: Select all

 - Added: ContainerGadget(), ListIconGadget() and TreeGadget() (See GadgetOverview.pb example for a demo)
- Added UseGadgetList()
alpha 2 is out ! It does brings a lot of fixes and new commands. The incompatibility list has been updated. New examples has been added: WaponezWeb (thanks to Danilo for the early adaptation) and GadgetsOverview

Why the SpiderBasic name ? Well, spider, web, basic, should I say more ? :) It's a new programming language available for Windows (more plateforms will follow)
to develop rich web applications (JavaScript/HTML5/WebGL) based on the PureBasic syntax. Even if the syntax is close, there is fondamental differences
in the program workflow between PureBasic and SpiderBasic. In JavaScript, there is no blocking operations, all is asynchronous. For example, LoadImage()
will return immediately and you will have to wait for a callback announcing the load is done. So it was not possible to create just a new backend for PureBasic
and run a PureBasic program on the web. That's why we decided to fork PureBasic completely and made a new language to have greater control over the
commandset and command design. You can still write a program which will work in PB and SB, but it will need some care and probably some CompilerIf.

For now, we are targeting major browsers (firefox, chrome, ie and safari) in their lastest versions. In the long run, Android and iOS support could be
added as subsystems to be allow to create native applications or game with SpiderBasic !

SpiderBasic is a new commercial program which will be available for 49 euro with all minor upgrades included. When a major version will be
released a new license will be needed (will happen about every 1 or 2 years, like PureBasic). The website and support forums will be launched when SpiderBasic
will be stable enough to be released.

As a gift for your support, SpiderBasic will be free until 31 dec. 2014 to all registered PureBasic user ! It's available right now on your
online account :). Please read below before installing though.

Important: this is an alpha version, so while it can run some programs, it's far from being stable or feature complete. Your comments are welcome
as well as your bug reports. You can report them here: http://www.purebasic.fr/english/viewforum.php?f=41

1) Don't install it in "Program Files" directory or the examples couldn't be run out of the box. The examples needs to be put in a writable directory
as an .html file is created side by side to the SpiderBasic file.

2) Open one example (look in the "Examples" drawer of the SpiderBasic installation folder

3) Press "compile" and it should launch your default web browser and display the program.

Limitations against PureBasic compiler:

- Bitwise operands like '<<', '>>', '^', '!' only works on 32-bit numbers
- Quads are not real 64-bit quads but 53-bit only.
- Float are handled like double (32-bit float doesn't exists)
- Integer type other than 'quad' and 'integer' are subject to slow casting to respect their range
- '?' operator to get the labels address is not supported
- 'Break' doesn't support a level parameter
- No 'Goto'
- No 'Gosub'
- No 'End'

Supported libraries:
2DDrawing
Array
Date
Font
Gadget
Image
Joystick
Keyboard
LinkedList
Map
Math
Menu
Mouse
Runtime
Screen
Sound
Sprite
String
System
ToolBar
Window
XML

Libraries limitations:

Gadget:
- Get/SetGadgetFont() not implemented
- ScrollBar() not implemented
- MDIGadget() not implemented
- ExplorerGadgets() not implemented
- IPAddressGadget() not implemented
- ShortCutGadget() not implemented
- Get/SetGadgetItemColor() not implemented

2DDrawing:
- Only outlined and standard mode supported for now
- Gradient functions not implemented
- Custom filter not implemented
- DrawingBuffer() not implemented
- DrawRotatedText() not implemented
- AlphaBlend() not implemented
- DrawingFont() not implemented
- DrawAlphaImage() not implemented
- FillArea() not implemented
- GrabDrawingImage() not implemented

Date:
- ParseDate() not implemented

Image:
- CatchImage() not implemented
- EncodeImage() not implemented
- SaveImage() not implemented

Math:
- RandomData() not implemented

Window:
- No window maximize/minimize buttons
- WindowOutput() not implemented
- Get/SetWindowState() not implemented
- Get/SetWindowColor() not implemented
- PostEvent() not implemented
- DisableWindow() not implemented
- WindowEvent()/WaitWindowEvent() not supported (use BindEvent() instead)
- Add/RemoveKeyboardShortcut()

String:
- StringByteLength() not implemented

ToolBar:
- ToolBarStandardButton() not implemented

XML:
- CreateXMLNode() syntax is different
- SetXMLNodeName() is not available

Known issues:
- The doc is the one from PureBasic
- The icons and extensions are one from PB as well :)
- No runtime debugger ("Debug" works and output to browser console)
- Not optimized

Don't hesitate to play with it, publish your small programs (tell us if you want them included in the final package) and report bugs here:

Have fun with SpiderBasic and don't be too harsh with it, it's still in early stage !

The Fantaisie Software Team.
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: SpiderBasic 1.00 alpha

Post by User_Russian »

Thank you. :) :)
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: SpiderBasic 1.00 alpha

Post by J. Baker »

Thanks Fred! Do you know when an OS X version will be available?
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
User avatar
USCode
Addict
Addict
Posts: 912
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle, USA

Re: SpiderBasic 1.00 alpha

Post by USCode »

Hi Fred,
This looks very interesting.
What does this mean for the future development of PB?
There are only so many hours in the day!
Which product will have priority as far as your time?

Also the list of libraries, will that expand in the future? How about the network library?
Poshu
Enthusiast
Enthusiast
Posts: 459
Joined: Tue Jan 25, 2005 7:01 pm
Location: Canada

Re: SpiderBasic 1.00 alpha

Post by Poshu »

Thanks!
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: SpiderBasic 1.00 alpha

Post by User_Russian »

Examples do not work!
Gadget.pb
---------------------------
SpiderBasic
---------------------------
Line 56: MessageRequester() is not a function, array, list, map or macro.
---------------------------
ОК
---------------------------
OpenWindow(0, 0, 0, 400, 100, "", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
Repeat
Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
---------------------------
SpiderBasic
---------------------------
Line 3: WaitWindowEvent() is not a function, array, list, map or macro.
---------------------------
ОК
---------------------------
Perhaps there is an error and in the other examples.
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: SpiderBasic 1.00 alpha

Post by User_Russian »

How to create a working application?
Files, similar to SpiderBasic_Compilation0.html not work if open in the browser.
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: SpiderBasic 1.00 alpha

Post by davido »

Thanks very much! :D
Looks like it will be a great product when done.

Could only install as administrator.

Seems unable to recognise MessageRequester in the examples.

Windows 7-64bit - Chrome browser.
DE AA EB
User avatar
DK_PETER
Addict
Addict
Posts: 898
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

Re: SpiderBasic 1.00 alpha

Post by DK_PETER »

Thanks for the offer Fred, but I'll skip this "PB to web app" creator tool completely.
USCode wrote:Hi Fred,
What does this mean for the future development of PB?
There are only so many hours in the day!
Which product will have priority as far as your time?
Also the list of libraries, will that expand in the future? How about the network library?
And the Ogre3D engine?
I would also like to know, which way things are going from now on.
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
User avatar
Kiffi
Addict
Addict
Posts: 1353
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Re: SpiderBasic 1.00 alpha

Post by Kiffi »

well done! Image

Greetings ... Kiffi
Hygge
User avatar
Danilo
Addict
Addict
Posts: 3037
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: SpiderBasic 1.00 alpha

Post by Danilo »

User_Russian wrote:How to create a working application?
Files, similar to SpiderBasic_Compilation0.html not work if open in the browser.
Same problem here. Opened the .html in MS Word, it gives the error:

Code: Select all

Missing file: D:\spiderbasic\libraries\javascript\dijit\themes\claro\claro.css
I did not install into D:\spiderbasic\ but a sub-directory on D:\

Copied the whole folder to D:\SpiderBasic and it opens now, showing just the debugger window.
OK, for final output I disabled debugger.
Example 2DDrawing.pb just works with debugger enabled. Without debugger, the window stays empty.

At least it works from within the IDE for now. Thanks!
User avatar
skywalk
Addict
Addict
Posts: 3972
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: SpiderBasic 1.00 alpha

Post by skywalk »

Thanks Fred!
Question: Why no File or SQLite lib?
I want to write a mobile/browser app using a database or a custom file based database.

Weird: My Win 7 x86 MsMpEng.exe goes to defcon level 10 with SpiderBasic_Windows_1.00_(?).exe :evil:
I cannot delete the file from my Downloads folder.
I cannot rename the file either.
I am running as Admin.
It crashes my explorer process.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Poshu
Enthusiast
Enthusiast
Posts: 459
Joined: Tue Jan 25, 2005 7:01 pm
Location: Canada

Re: SpiderBasic 1.00 alpha

Post by Poshu »

@Danilo : It works for me, even with debugger enabled. (Win 8.1 in a VM, firefox up to date, spiderbasic installed at the root of C:\, using an admin account )

@skywalk : Why? I'd guess because 1.00 alpha. Amaright?
User avatar
kernadec
Enthusiast
Enthusiast
Posts: 146
Joined: Tue Jan 05, 2010 10:35 am

Re: SpiderBasic 1.00 alpha

Post by kernadec »

hi,
After you have downloaded several times
with XP sp3 32 bit and Seven 32 bits
refuses from settled in normal mode or administrator mode
I get the message:

"the setup files corrupted please obtain a new copy of the program"

[RESOLU]
solution to the problem download and install with exclusion Spiderbasic... with avast
or disable avast

best regard
Last edited by kernadec on Sun Jan 19, 2014 7:02 pm, edited 1 time in total.
User avatar
venom27
User
User
Posts: 10
Joined: Mon Sep 14, 2009 5:30 pm
Location: . <------ ici
Contact:

Re: SpiderBasic 1.00 alpha

Post by venom27 »

Congratulations to Team Fantasy Software, and good luck for the rest of the project.







@++
Windows 10 x64, PureBasic 5.71 Beta 1 x86 & x64
Post Reply