PureBasic 5.30 beta 9 released!

Developed or developing a new product in PureBasic? Tell the world about it.
julesd
User
User
Posts: 23
Joined: Fri May 24, 2013 1:39 am

Re: PureBasic 5.30 beta 1 released!

Post by julesd »

What version of opengl is the new opengl gadget capable of?

And could you add it to the visual Form editor?
Lebostein
Addict
Addict
Posts: 826
Joined: Fri Jun 11, 2004 7:07 am

Re: PureBasic 5.30 beta 1 released!

Post by Lebostein »

On Mac OS X:
- Compiler is not running. Nothing works.
- Font of bold commands (if, then, for, next ...) is wrong! It is not the font I have selected in preferences
- There is a white frame around the coding area. Very strange...
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: PureBasic 5.30 beta 1 released!

Post by c4s »

Lots of great new features - even for the IDE! Awesome! 8)


@J. Baker & @Lebostein
As always, don't use the announcement thread for such reports...
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
User avatar
useful
Enthusiast
Enthusiast
Posts: 402
Joined: Fri Jul 19, 2013 7:36 am

Re: PureBasic 5.30 beta 1 released!

Post by useful »

checkinstall.sh will be updated?
Dawn will come inevitably.
Lebostein
Addict
Addict
Posts: 826
Joined: Fri Jun 11, 2004 7:07 am

Re: PureBasic 5.30 beta 1 released!

Post by Lebostein »

c4s wrote:@J. Baker & @Lebostein
As always, don't use the announcement thread for such reports...
Nobody reads the Mac OS X bug section... :cry:
User avatar
Kiffi
Addict
Addict
Posts: 1484
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Re: PureBasic 5.30 beta 1 released!

Post by Kiffi »

freak wrote:Here is a little demonstration of how easy it is with the new JSON library to serialize data:
yummy, yummy! Image

Thanks a lot!
User avatar
Zebuddi123
Enthusiast
Enthusiast
Posts: 796
Joined: Wed Feb 01, 2012 3:30 pm
Location: Nottinghamshire UK
Contact:

Re: PureBasic 5.30 beta 1 released!

Post by Zebuddi123 »

Thanks PB Team :D

? With the /PREPROCESS switch

Code: Select all

#x = 1
CompilerIf #x
	b$="added"
CompilerElse
	b$="not added"
CompilerEndIf

Macro test()
	(s*d+(3*h)-q)
EndMacro

p.i=test()
preprocessed output: =

Code: Select all

#x = 1
	b$="added"
Macro test()
	(s*d+(3*h)-q)
EndMacro
p.i=(s*d+(3*h)-q)
Do we need the constant and macro definitions left in the preprocessed code or should it be left in but commented out.

preprocessor output: with /commented /preprocess

Code: Select all

; #x = 1
#x = 1
; CompilerIf #x
; 	b$="added"
	b$="added"
; CompilerElse
; 	b$="not added"
; CompilerEndIf
; 
; Macro test()
Macro test()
; 	(s*d+(3*h)-q)
	(s*d+(3*h)-q)
; EndMacro
EndMacro
; 
; p.i=test()
p.i=(s*d+(3*h)-q)
Zebuddi. :)
malleo, caput, bang. Ego, comprehendunt in tempore
User_Russian
Addict
Addict
Posts: 1516
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: PureBasic 5.30 beta 1 released!

Post by User_Russian »

Thanks to team.

Russian language, IDE displays incorrectly. What encoding should be the language file Editor.catalog?
User avatar
useful
Enthusiast
Enthusiast
Posts: 402
Joined: Fri Jul 19, 2013 7:36 am

Re: PureBasic 5.30 beta 1 released!

Post by useful »

User_Russian wrote:Thanks to team.

Russian language, IDE displays incorrectly. What encoding should be the language file Editor.catalog?
Confirm....Need instructions for preparation of localization files IDE

p.s. At first glance is enough to encode in UTF8 with BOM, but this only works for win
Dawn will come inevitably.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: PureBasic 5.30 beta 1 released!

Post by freak »

useful wrote:
User_Russian wrote:Thanks to team.

Russian language, IDE displays incorrectly. What encoding should be the language file Editor.catalog?
Confirm....Need instructions for preparation of localization files IDE

p.s. At first glance is enough to encode in UTF8 with BOM, but this only works for win
UTF-8 with a BOM at the start should work everywhere. The file is read using the Preferences library.
quidquid Latine dictum sit altum videtur
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.30 beta 1 released!

Post by Fred »

Zebuddi123 wrote:Do we need the constant and macro definitions left in the preprocessed code or should it be left in but commented out.
The constants and macros are not removed on purpose, as you can include your preprocessed file somewhere else and still have the need for them.
User avatar
useful
Enthusiast
Enthusiast
Posts: 402
Joined: Fri Jul 19, 2013 7:36 am

Re: PureBasic 5.30 beta 1 released!

Post by useful »

freak wrote:
useful wrote:
User_Russian wrote:Thanks to team.

Russian language, IDE displays incorrectly. What encoding should be the language file Editor.catalog?
Confirm....Need instructions for preparation of localization files IDE

p.s. At first glance is enough to encode in UTF8 with BOM, but this only works for win
UTF-8 with a BOM at the start should work everywhere. The file is read using the Preferences library.

Unfortunately on ubuntu 12.04(x86) XFCE (RU-UTF8) only characters ? and by the way in the debugger also Cyrillic is not visible,
For win7(x86) & wine 1.4 everything works if *.catalog UTF8 with BOM
Last edited by useful on Fri May 30, 2014 9:06 pm, edited 1 time in total.
Dawn will come inevitably.
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: PureBasic 5.30 beta 1 released!

Post by davido »

Looks great! Thank you very much. :D :D
DE AA EB
User avatar
kenmo
Addict
Addict
Posts: 2032
Joined: Tue Dec 23, 2003 3:54 am

Re: PureBasic 5.30 beta 1 released!

Post by kenmo »

Code: Select all

Added: JSON library
Added: ExamineRegularExpression() and related commands to process regex matches step by step (with group support)
Added: ClipOutput(), UnclipOutput(), SetOrigin(), GetOriginX(), GetOriginY()
Added: /PREPROCESS compiler flag to create a big single source with all macros, compilerif and file include resolved. Can be combined with /COMMENTED to get the original source with comments as well.
Added: Highlighting of repeated occurrences of the currently selected word in the IDE
Added: Plain-text editing mode to edit non-PB files in the IDE
Added: 'Issues' IDE tool to collect and display TODO/FIXME markers inside the code
Added: Ctrl+E and Ctrl+Shift+E shortcut to align/shift comments in a selected code block
Added: Ctrl+M and Ctrl+Shift+M shortcut to select the current code block (repeated presses select the next code block)
Changed: The way (X)IncludeFile and IncludeBinary works: it's now relative to the file which contains these statements (which is easier to handle)
Changed: Updated Scintilla to version 3.4.2
These are my particular favorites. But thanks for all of this!
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: PureBasic 5.30 beta 1 released!

Post by fsw »

Question:
Does the 5.3 version entail all 5.22LTS (already occured) bug fixes?

I assume yes.

Almost forgot:
Thank you for your continuous devotion to PureBasic :wink:

I am to provide the public with beneficial shocks.
Alfred Hitshock
Post Reply