PureBasic Linux 3.93 beta 1 out!

Ankündigungen PureBasic oder die Community betreffend.
freak
PureBasic Team
Beiträge: 766
Registriert: 29.08.2004 00:20
Wohnort: Stuttgart

PureBasic Linux 3.93 beta 1 out!

Beitrag von freak »

Die neue Betaversion von PB/Linux steht auf http://www.purebasic.com/ zum download bereit.

Genaueres gibt es hier: http://forums.purebasic.com/english/vie ... 9131#89131

Code: Alles auswählen

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

Ein paar Screenshots:

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

Viel Spaß damit :)
DarkDragon
Beiträge: 6291
Registriert: 29.08.2004 08:37
Computerausstattung: Hoffentlich bald keine mehr
Kontaktdaten:

Beitrag von DarkDragon »

Cool :allright: :mrgreen:
Angenommen es gäbe einen Algorithmus mit imaginärer Laufzeit O(i * n), dann gilt O((i * n)^2) = O(-1 * n^2) d.h. wenn man diesen Algorithmus verschachtelt ist er fertig, bevor er angefangen hat.
Benutzeravatar
_ZOMTEX_
Beiträge: 41
Registriert: 29.08.2004 06:30
Wohnort: BW
Kontaktdaten:

Beitrag von _ZOMTEX_ »

Code: Alles auswählen

- Added: FillArea() support for both SDL and GTK
- Added: DrawingMode() support for SDL (except XOR) 
Juhuu endlich die von mir langersehnten Funktionen! :allright:

Gruß

Michael
Googleist Dein bester Freund!
Benutzeravatar
Lars
Beiträge: 347
Registriert: 31.08.2004 23:53
Wohnort: Shanghai
Kontaktdaten:

Beitrag von Lars »

:o

Der neue Debugger sieht verdammt gut aus. Die neue IDE übrigens auch, armer GPI :wink:

Unglaublich, ich bin gelähmt von den Features :D
Lars
The only problem with troubleshooting is, that sometimes the trouble shoots back.
P4 2,6Ghz, 512MB RAM, GeForce 6200, WinXP Pro SP2, PB V3.94
Benutzeravatar
ts-soft
Beiträge: 22292
Registriert: 08.09.2004 00:57
Computerausstattung: Mainboard: MSI 970A-G43
CPU: AMD FX-6300 Six-Core Processor
GraKa: GeForce GTX 750 Ti, 2 GB
Memory: 16 GB DDR3-1600 - Dual Channel
Wohnort: Berlin

Beitrag von ts-soft »

Mit Installationsvariante 1 (Homeverzeichnis) konnte ich keine Hilfe aufrufen. Mit Installationsvariante 2 (/usr/shar/) klappt alles hervorragend Bild
PureBasic 5.73 LTS | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Nutella hat nur sehr wenig Vitamine. Deswegen muss man davon relativ viel essen.
Bild
Benutzeravatar
Laurin
Beiträge: 1639
Registriert: 23.09.2004 18:04
Wohnort: /dev/eth0

Beitrag von Laurin »

Es gibt einen CPU-Monitor? :o

Wann gibts die IDE auch für Windows?
Now these points of data make a beautiful line.
And we're out of beta. We're releasing on time.
traumatic
Beiträge: 478
Registriert: 27.11.2004 15:42

Beitrag von traumatic »

Lars hat geschrieben:[...]Die neue IDE übrigens auch, armer GPI :wink:
GPI? :o


Freak: Ich habe als 6. replied, zufrieden? ;)




EDIT: Ah, jetzt erinnere ich mich. War GPI nicht der, der nur noch WOW spielt? :mrgreen:


SCNR
Benutzeravatar
vonTurnundTaxis
Beiträge: 2130
Registriert: 06.10.2004 20:38
Wohnort: Bayreuth
Kontaktdaten:

Beitrag von vonTurnundTaxis »

traumatic hat geschrieben: GPI?
GPI ist der geniale Mensch, von dem jaPBe stammt...
Nicht durch Zorn, sondern durch Lachen tötet man
ClipGrab | Pastor - jetzt mit kurzen URLs!
Benutzeravatar
downi
Beiträge: 30
Registriert: 30.08.2004 19:18
Wohnort: Lübeck

Beitrag von downi »

Hm, ich kann zwar die IDE öffnen(nachdem ich mit chmod die Rechte auf ausführen gesetzt habe), aber aus den examples bekomme ich nur Müll als Quelltext. Die Meldung in der Shell lauten:

[c]
downi@nld1:.> purebasic
job-working-directory: could not get current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
shell-init: could not get current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
shell-init: could not get current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
shell-init: could not get current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
shell-init: could not get current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
shell-init: could not get current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
HYHY
111 1079341064
111 1079341119
OUT
OUT REAL
[/c]

Wenn ich wüsste wie ich hier ein Bild hochlade, könnte ich mal den Ascii-Müll zeigen, den mit die PB IDE als Quelltext anzeigt. <)

PS: Habe mich stur an die INSTALL -Datei gehalten!
orange-blue
Beiträge: 556
Registriert: 04.09.2004 22:23
Kontaktdaten:

Beitrag von orange-blue »

hey cool, gleich mal ausprobieren :D (nach dem ich gelernt habe :roll:)
Antworten