Seite 1 von 5

PureBasic 5.20 beta 5 is out

Verfasst: 20.06.2013 12:49
von Kevin
:bounce:

http://www.purebasic.fr/english/viewtop ... 14&t=54999
Fred hat geschrieben:update: beta 4 is out. Only bug fixes this time ! I have also published a new ui.xml example which show resizing (see below).
Fred hat geschrieben:update: beta 3 is out with the usual bug fixes. 'HideModule' has been renamed to 'UnuseModule' for better consistency. Happy testing !
Fred hat geschrieben:update: beta 2 is available and with the usual bug fixes. As well, zlib have been updated to 1.2.8 and Gosub in procedure have been removed as it can't work for now. Happy testing !

Code: Alles auswählen

Added: Module support for the compiler
Added: Runtime library
Added: Dialog library (with automatic layout support)
Added: GTK3 subsystem for Linux
Added: DirectX11 subsystem for Windows
Added: JoystickName(), JoystickZ()
Added: Optional #PB_Relative flag to JoystickX/Y/Z() to have more precise values
Added: Optional pad number to JoystickX/Y/Z() to handle more complex gamepads (full support of XBox 360 one for example)
Added: ZoomSprite() now accepts #PB_Default as Width/Height to reset to initial sprite size
Added: 'Color' and 'Alpha' parameter to DisplayTransparentSprite()
Added: ClipSprite() now support #PB_Default for individual parameter
Added: #PB_Sprite_PixelCollision flag to CreateSprite(), LoadSprite() to enable pixel collision
Added: Zoom support to SpritePixelCollision() and SpriteCollision()
Added: OpenGL support for SpriteBlending() (warning, it just wraps OpenGL mode, so it can behave different than DirectX)
Added: 32-bit support for SpriteOutput() for DX and OpenGL
Added: #PB_EventType_Focus and #PB_EventType_LostFocus support to EditorGadget()
Added: #PB_EventType_RightClick support to ListViewGadget()
Added: #PB_EventType_Change support to PanelGadget() and DateGadget()
Added: #Prototype support to Defined()
Added: All Init() functions can be called more than once without issue (like InitSound(), InitNetwork() etc.)
Added: #PB_FileSystem_Force support to DeleteFile()
Added: #PB_FileSystem_NoExtension support to GetFilePart()
Added: Back color parameter to CreateImage()
Added: #PB_Entity_NbSubEntities to GetEntityAttribute()
Added: MeshIndexCount(), SetRenderQueue(), FetchEntityMaterial(), GetMeshData(), SetMeshData()
Added: CPUName(), Un/BindEvent(), Un/BindGadgetEvent(), Un/BindMenuEvent()
Added: Previous location is displayed when declaring a structure, interface, prototype or procedure twice.
Added: 2 license files to easy add the needed information when shipping PB programs (see reference documentation)
Added: Bool() is now evaluated at compile time if the whole expression is constant
Added: Debugger check for SortStructuredList() and SortList() to ensure the specified list is of correct type
Added: Linux executables created on new distribution should still work on old linux.

Optimized: Pixel sprite collision routines are now much faster with DirectX
Optimized: More peephole optimizations on x64 assembler output
Optimized: Faster compilation for big programs
Optimized: Linux build server have been upgraded, now using a better GCC which produce better code.

Changed: renamed ZoomSprite3D() to ZoomSprite()
Changed: renamed TransformSprite3D() to TransformSprite()
Changed: renamed RotateSprite3D() to RotateSprite()
Changed: renamed Sprite3DQuality() to SpriteQuality() 
Changed: renamed Sprite3DBlending() to SpriteBlending()
Changed: Packer plugin constant renamed to #PB_PackerPlugin_XXX

Updated: WebGadget() on Windows doesn't needs ATL.dll anymore
Updated: zlib to 1.2.8
Updated: pqlib (PostgreSQL) to 9.2.4
Updated: SCNotification scintilla structure

Removed: Mozilla ActiveX support for WebGadget() on Windows as the last ActiveX version is way too old (2005)
Removed: Sprite3D library (merged with regular sprite library)
Removed: Palette library (outdated)
Removed: DisplayTranslucentSprite() -> replaced with 'Alpha' parameter for DisplayTransparentSprite()
Removed: DisplaySolidSprite() -> replaced with 'Color' parameter for DisplayTransparentSprite()
Removed: DisplayRGBFilter() -> can be replaced with a zoomed sprite with color
Removed: DisplayShadowSprite() -> can be replaced with DisplayTransparentSprite() with color
Removed: StartSpecialFX(), StopSpecialFX(), DisplayAlphaSprite(), ChangeAlphaIntensity(), UseBuffer()
Removed: Carbon subsystem on OS X, it was too old be used with new libs

Re: PureBasic 5.20 beta 1 is out

Verfasst: 20.06.2013 12:58
von Andesdaf
cool, danke :allright:

Re: PureBasic 5.20 beta 1 is out

Verfasst: 20.06.2013 13:00
von STARGÅTE
eijeijei: "Removed: Sprite3D library (merged with regular sprite library)"

na das wird dann wohl viel Zeit kosten alles umzuschreiben.
Obwohl es natürlich jetzt toll ist, dass DisplayTransparentSprite() nun für "3DSprites" ist und nun eine Farbe akzeptiert.

Re: PureBasic 5.20 beta 1 is out

Verfasst: 20.06.2013 13:59
von Bisonte
Sehr coole Sache das, bei der Hitze hier ;)

Nun muss man nur noch auf Beispiele und Hilfe für

Code: Alles auswählen

Added: Module support for the compiler
Added: Runtime library
Added: Dialog library
warten...
Bei Runtime z.B. gibt mir bei dem Beispiel die IDE gleich eine Errormeldung...
Besonders der "Module Support" klingt sehr interessant !

Re: PureBasic 5.20 beta 1 is out

Verfasst: 20.06.2013 14:03
von RSBasic
Klasse. :allright:

Re: PureBasic 5.20 beta 1 is out

Verfasst: 20.06.2013 16:04
von STARGÅTE
Also so wie es aussieht, wird das die erste Version, wo ich in naher Zukunft nicht mit ziehen kann/werde.

Das Verbot von strukturierten Pointern in StructureUnion, bringt mir bei fast allen Projekten Probleme, falls es nicht wieder aufgehoben wird.

Re: PureBasic 5.20 beta 1 is out

Verfasst: 20.06.2013 16:09
von NicTheQuick
STARGÅTE hat geschrieben:Das Verbot von strukturierten Pointern in StructureUnion, bringt mir bei fast allen Projekten Probleme, falls es nicht wieder aufgehoben wird.
Das ist ja blöd. /:-> Das steht da oben gar nicht. Naja...

Aber vermutlich ist das im Zuge von 'InitializeStructure()' und Konsorten noch übrig geblieben.

GELÖSCHT

Verfasst: 20.06.2013 16:41
von mirca
GELÖSCHT

Re: PureBasic 5.20 beta 1 is out

Verfasst: 20.06.2013 16:51
von Bisonte
mirca hat geschrieben:Geil endlich Module! Danke!
Aber was ist Runtime? Wofür braucht man das?
Das frag ich mich auch.
Wobei die Sache mit den Modulen mir auch noch nicht so ganz erschliesst. (So den Anwendungszweck,
den man nicht auch mit herkömmlichen Prozeduren oder Userlibs bewerkstelligen kann)

Und die XML Dialog Geschichte sieht irgendwie so aus wie Lua. Da kann ich mir schon eher was drunter
vorstellen ;)

Aber ich warte erstmal auf Beispiele...

GELÖSCHT

Verfasst: 20.06.2013 17:00
von mirca
GELÖSCHT