Page 2 of 14

Re: PureBasic 5.30 beta 1 released!

Posted: Fri May 30, 2014 6:14 pm
by julesd
What version of opengl is the new opengl gadget capable of?

And could you add it to the visual Form editor?

Re: PureBasic 5.30 beta 1 released!

Posted: Fri May 30, 2014 6:19 pm
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...

Re: PureBasic 5.30 beta 1 released!

Posted: Fri May 30, 2014 6:22 pm
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...

Re: PureBasic 5.30 beta 1 released!

Posted: Fri May 30, 2014 6:42 pm
by useful
checkinstall.sh will be updated?

Re: PureBasic 5.30 beta 1 released!

Posted: Fri May 30, 2014 6:44 pm
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:

Re: PureBasic 5.30 beta 1 released!

Posted: Fri May 30, 2014 7:03 pm
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!

Re: PureBasic 5.30 beta 1 released!

Posted: Fri May 30, 2014 7:04 pm
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. :)

Re: PureBasic 5.30 beta 1 released!

Posted: Fri May 30, 2014 7:26 pm
by User_Russian
Thanks to team.

Russian language, IDE displays incorrectly. What encoding should be the language file Editor.catalog?

Re: PureBasic 5.30 beta 1 released!

Posted: Fri May 30, 2014 7:44 pm
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

Re: PureBasic 5.30 beta 1 released!

Posted: Fri May 30, 2014 8:12 pm
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.

Re: PureBasic 5.30 beta 1 released!

Posted: Fri May 30, 2014 8:17 pm
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.

Re: PureBasic 5.30 beta 1 released!

Posted: Fri May 30, 2014 8:37 pm
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

Re: PureBasic 5.30 beta 1 released!

Posted: Fri May 30, 2014 8:55 pm
by davido
Looks great! Thank you very much. :D :D

Re: PureBasic 5.30 beta 1 released!

Posted: Fri May 30, 2014 9:53 pm
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!

Re: PureBasic 5.30 beta 1 released!

Posted: Fri May 30, 2014 10:27 pm
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: