PureBasic Linux 3.93 beta 1 released!

Developed or developing a new product in PureBasic? Tell the world about it.
freak
PureBasic Team
PureBasic Team
Posts: 5928
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

PureBasic Linux 3.93 beta 1 released!

Post by freak »

Hello Everybody,

After months of hard work, we finally present to you the new version of PureBasic for Linux.
It comes with another big surprise!

You can get it at your personal account on http://www.purebasic.com/

As always, give this as much testing as you can, and report all the bugs, so we can have
a stable version as soon as possible.

I know all the windows users will kill us for this, but here it comes anyway...
(there are some screenshots below, for those without a linux box)

Watch out, huge list :D

Code: Select all

PureBasic 3.93 Beta 1


Changes since 3.92
------------------ 

- Added: SoundPlugin and SoudPluginOGG libraries
- Added: FillArea() support for both SDL and GTK
- Added: DrawingMode() support for SDL (except XOR)
- Added: #PB_ToolBar_Toggle, Get/SetToolBarButtonState()
- Added: Same font than Windows for SDL drawing commands
- Added: DrawingImage() and Point() support for GTK
- Added: DrawingImage() for SDL, including with zoom support
- Added: CallCFunction() and CallCFunctionFast()
- Added: Get/SetGadgetAttribute() support for ScrollAreaGadget()
- Added: ContainerGadget() border flags support
- Added: #PB_Event_ActivateWindow and #PB_Event_DeactivateWindow

- Changed: *Warning* CallFunction/Fast() isn't CDecl anymore (CallCFunction is)

- Optimized: SDL and GTK shared libraries are now linked only if used
- Optimized: 2DDrawing is smaller and faster
- Optimized: Recoded completely the ListViewGadget() to be more scalable

- Fixed: CallFunction() and CallFunctionFast took only 11 arguments
- Fixed: Circle() and Ellipse() wasn't properly centered
- Fixed: GrabImage() and CopyImage() could fail with ID > 9 
- Fixed: RunProgram() exited the program if the file wasn't found
- Fixed: PopupMenu() didn't return WindowEventID() correctly
- Fixed: SetGadgetState() with ListViewGadget() didn't scroll
- Fixed: Multiple call to CreateToolBar() could lead to a crash
- Fixed: TrackBarGadget() bug with GTK2
- Fixed: Image problems on 16 bits desktops
- Fixed: Refresh problem with SetGadgetState() and ButtonImageGadget()
- Fixed: RemoveGadgetItem() didn't work with ListIconGadget()
- Fixed: DesktopDepth() wasn't working
- Fixed: EditorGadget() didn't supported Get/SetGadgetItemText(), CountGadgetItems(), ClearGadgetItemList()
- Fixed: Menu shortcuts didn't fired any events
- Fixed: MenuItem() issued a gtk warning when using a wrong accelerator
- Fixed: EventType() for ListViewGadget() wasn't working
- Fixed: Input() returned only one character
- Fixed: ClipSprite() wasn't working properly
- Fixed: CatchSound() didn't have the optional parameter
- Fixed: ReceiveNetworkFile() wasn't working
- Fixed: userlibraries\ directory wasn't working
- Fixed: Arrows are now displayed when there is too much Panels items




New IDE Features: (allready included in the first ide beta release)
-------------------------------------------------------------------

 - all the features of the old PB IDE

Code editing:
 - scintilla is used for the editing gadget (thanks to inner)
 - folding with custom folding marks
 - line markers (bookmarks)
 - hilightning is much faster than with the old ide
 - real tab can be used instead of spaces
 - the case correction and bold keywords can be disabled for the hilightning (was requestet quite a while ago)
 - autocomplete with many options
 
General editor settings:
 - all shortcuts are fully customizable (also for external tools)
 - the main toolbar is fully customizable (you can even add buttons for external tools)
 - you can fully customize the compiler settings for new files in the Preferences
 - on compiling errors, the correct file with the error is opened and displayed
 
Buildin tools:
 - several tools are available to put on the editor side
 - they can be enabled/disabled and configured in the preferences
 - available tools for this are:
    Procedure Browser
    Ascii Table
    Color Picker
    Variable Viewer
    Explorer
   
 - Structureviewer can now also display predefined constants.
 - buildin fileviewer that can display files from the explorer tool or from doubleclick on "IncludeBinary"
 
External tools:
 - external tools can now have a completly custom shortcut
 - tools can be automatically executed by certain "triggers" like:
     ide startup
     ide shutdown
     before or after compiling a source
       (the tool can also alter the source that will be compiled by passing a %TEMPFILE.. good for preprocessor like tools)
     before running an allready compiled source
     before or after creating an executable
     after loading a source file
     after saving a source file
 - tools can also be configured to replace the internal fileviewer for all files, for only unknown files,
   or for a specific file extension. this allows you to use your favorite image viewer, or to extend the
   fileviewer with filetypes that it doesn't know.
 - tools can be hidden from the ide menu, if they are executed by a different "trigger"
 
Misc features:
 - internal help viewer for the PB help.
 - all files in the PB help/ subdirectory will be added to a "external help" menu.
   they will be opened with the fileviewer, or if so configured by an external tool that replaces the fileviewer.
 - sizes of lists like "recent files" or the search&replace history can be customized
 - position and size of all ide windows can be memorized
 - search&replace and find in files options extended to not search inside comments or strings
 
 
 
New IDE features with this release:
-----------------------------------

- added many new icons by Kale (thanks a lot)
  Now there are icons for almost all menu items of the IDE, so if you want to customize your toolbar,
  you will have many choises :)
- many small improvements and bug fixes
- ability to select the color and font for the Gadgets in the toolspanel
- toolspanel tools can now be opened in separate windows



NOTE to users of the first IDE beta versions:
---------------------------------------------

 You will get a lot of "toolbar icon not found" Messages at the first start. This is because the names were
 changed, and your preferences file still has the old ones. When the IDE has finally started, go to
 File -> Preferences, and then the Toolbar tab. click "Default Toolbar" and then Apply, and everything should
 be back to normal.

 If you want to avoid this completly, delete the ".purebasic.prefs" file in your home folder before running
 this new IDE for the first time.



New Debugger Features:
----------------------

The Debugger now comes in 3 forms:
- a Commandline only debugger, for use in a non-gui environment, or for other special purposes
- a Debugger build directly into the IDE.
- a Standalone GUI debugger with almost all features of the IDE one, to be used with other Editors

All these debuggers provide:
- basic program control (Stop/Run, Step, Step repeated a defined number of times, Breakpoints)
- breakpoints are dynamic and can be set/removed during program execution (CallDebugger is still available to create a fixed (compiled) breakpoint)
- debug output like the old Windows debugger.
- display of variables, including local variables and values inside structures.
- display of Arrays & Linkedlists (in full, or specific ranges only)
- viewing of memory areas, with the ability to save them as text or raw data
- a "Callstack" display, displaying all the nested procedure calls, that the current line is inside,
  with the ability to display the local variables of each of these procedures
- display and modification of the CPU registers (while the execution is halted)
- display of the Stack contents, with comments for PB function calls
- display of integer output in either decimal or hexadecimal format.
- automatic halting of execution at program start or end (for consoledebugger set per config file)
- the program execution can be continued after minor errors

The console debugger additinally provides:
- redirection of the debugger output to STDERR, or a file
- automatic action on errors (ignore, exit, ask, open debugger command console)

The IDE & standalone Debuggers additionally provide:
- a "Watchlist" feature to keep track of Variables/Array items/Linkedlist items in realtime
- statistics on the number of calls for each procedure
- a log window to log events and errors
- errors are marked in the source for easyer correction later
- ability to copy/save the Debug output (like the old windows one)
- view Memory area in hex-display, or as a table (single- or multicolumn) of any type. (for example: table of long values)

The buildin IDE debugger additionally provides:
- a CPU monitor with information on each debugged program

The Screenshots as promised:

General IDE stuff: http://freak.purearea.net/stuff/ide.png
Variable viewer: http://freak.purearea.net/stuff/variables.jpg
Breakpoints, Error marking, CallStack, Registers, Debug output: http://freak.purearea.net/stuff/callstack.jpg
Memory Viewer, Stack trace, Procedure stats: http://freak.purearea.net/stuff/memorystack.jpg
More modes of the Memory viewer: http://freak.purearea.net/stuff/memory.jpg
CPU Monitor: http://freak.purearea.net/stuff/cpumonitor.jpg

Thats it, have fun ;)
Last edited by freak on Wed Aug 24, 2005 3:53 am, edited 1 time in total.
quidquid Latine dictum sit altum videtur
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Re: PureBasic Linux 3.93 beta 1 released!

Post by traumatic »

freak wrote:I know all the windows users will kill us for this, but here it comes anyway...
:lol:
Good programmers don't comment their code. It was hard to write, should be hard to read.
Fred
Administrator
Administrator
Posts: 16522
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Once again, Fr34k did it :wink:
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Sounds good, going to download it :)
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Err... My only project on Linux doesn't compile, at least with the IDE...
I got a "Waiting for the executable to start" and a few seconds later "The program was killed".
The IDE looks nice but it's quite annoying to have the error log open at every start up. Not sure if it's in the preference or not, but well :)
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Ok, i got it, I had forgotten the IDE wasn't displaying errors.
It seems it's a bug in the IncludeFile function :
I've got two pb file in a directory, one is including the other, but i get a file not found when compiling from the console...
Num3
PureBasic Expert
PureBasic Expert
Posts: 2810
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

GREAT JOB !

And pretty cool!

Hope to see the windows IDE looking like this soon!

Hey if it works under linux, it should be easy to make it happen on windows!
freak
PureBasic Team
PureBasic Team
Posts: 5928
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Polo: please have a closer look at the stuff before you complain about things that can easily be turned off.
quidquid Latine dictum sit altum videtur
theNerd
Enthusiast
Enthusiast
Posts: 131
Joined: Sun Mar 20, 2005 11:43 pm

Post by theNerd »

Looks great! As a Windows user I am jealous! :lol:
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

freak wrote:Polo: please have a closer look at the stuff before you complain about things that can easily be turned off.
I'm not complaining, I'm reporting bugs or things looking like bugs.
And for the things that can be turned off, you should do an help file then ;) Most of time it's turned off at the start.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4745
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: PureBasic Linux 3.93 beta 1 released!

Post by Fangbeast »

freak wrote:Hello Everybody,

I know all the windows users will kill us for this, but here it comes anyway...
(there are some screenshots below, for those without a linux box)

Thats it, have fun ;)
/me sharpens his Acme, super duper, atomic powered (good for a 3 minute super flaying session) freak flaying knife with serrated stainless steel shark's teeth.

MWUAHAHAHA
Amateur Radio, D-STAR/VK3HAF
freak
PureBasic Team
PureBasic Team
Posts: 5928
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: PureBasic Linux 3.93 beta 1 released!

Post by freak »

Fangbeast wrote:/me sharpens his Acme, super duper, atomic powered (good for a 3 minute super flaying session) freak flaying knife with serrated stainless steel shark's teeth.

MWUAHAHAHA
/me offers Fanglez some pizza, and we all live happily ever after :P
quidquid Latine dictum sit altum videtur
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4745
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: PureBasic Linux 3.93 beta 1 released!

Post by Fangbeast »

freak wrote:
Fangbeast wrote:/me sharpens his Acme, super duper, atomic powered (good for a 3 minute super flaying session) freak flaying knife with serrated stainless steel shark's teeth.

MWUAHAHAHA
/me offers Fanglez some pizza, and we all live happily ever after :P
Noooo, can't have pizza, not with this diabetes. You have the pizza (super sized with anchovy, shrimp, garlic and lots more) and Ill take some multigrain sandwiches with shredded lettuce, tomatoes, mushrooms, alfalfa, chicken and avocado. Yummy!

ROFL
Amateur Radio, D-STAR/VK3HAF
matty47
User
User
Posts: 34
Joined: Fri Sep 26, 2003 10:21 pm

Toolbar

Post by matty47 »

Just tried the beta. Good to finally have an integrated IDE. One problem. When the ide starts up it can't find the icons for the toolbar. I tried the previous ide beta and it has no problems. Were the icons left out or am I missing something?? Otherwise looks good.

Running Mepis linux, AMD 2600.
Thanks
Matthew
freak
PureBasic Team
PureBasic Team
Posts: 5928
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

there is a note in the beta text file about this:
NOTE to users of the first IDE beta versions:
---------------------------------------------

You will get a lot of "toolbar icon not found" Messages at the first start. This is because the names were
changed, and your preferences file still has the old ones. When the IDE has finally started, go to
File -> Preferences, and then the Toolbar tab. click "Default Toolbar" and then Apply, and everything should
be back to normal.

If you want to avoid this completly, delete the ".purebasic.prefs" file in your home folder before running
this new IDE for the first time.
quidquid Latine dictum sit altum videtur
Post Reply