Difference between revisions of "BlackBox Component Builder 1.7"

From BlackBox Framework Wiki
Jump to navigation Jump to search
Line 9: Line 9:
There is the tool for batch compilation of subsystems: [http://forum.blackboxframework.org/download/file.php?id=124 ypkDevTool].
There is the tool for batch compilation of subsystems: [http://forum.blackboxframework.org/download/file.php?id=124 ypkDevTool].


The several typical changes you should do for adopting your subsystems for 1.7 are listed down:


The several typical changes you should do for adopting your subsystems for 1.7 are listed down:


==== IN to VAR ====
==== IN to VAR ====
Line 20: Line 20:
With 1.7 you can not call the method of read-only variable object in other module. So you should export such variable with *.
With 1.7 you can not call the method of read-only variable object in other module. So you should export such variable with *.


 
==== WinNet ====
==== Net ====


WinNet.hostnet definition [http://redmine.blackboxframework.org/projects/blackbox/repository/diff?utf8=%E2%9C%93&rev=b3f0ad9f9012f89fb110909485ef22d35a49a46e&rev_to=bc96c56d1c94894f8e2afaf4a919ad8e79cdae64 was changed], so you need to replace:
WinNet.hostnet definition [http://redmine.blackboxframework.org/projects/blackbox/repository/diff?utf8=%E2%9C%93&rev=b3f0ad9f9012f89fb110909485ef22d35a49a46e&rev_to=bc96c56d1c94894f8e2afaf4a919ad8e79cdae64 was changed], so you need to replace:
Line 31: Line 30:
<code>inaddr := SYSTEM.VAL(WinNet.in_addr, hostentry.h_addr_list^[0]^)</code>
<code>inaddr := SYSTEM.VAL(WinNet.in_addr, hostentry.h_addr_list^[0]^)</code>


==== Underlined spaces ====
Spaces and tabs with underline style now restoring according defined format, so we recommend you to check documentation files to prevent unexpected underlines.


==== UTF8 ====
==== UTF8 ====
UTF8 supported "from the box", so if you was using some Utf8 conversions from third-parties modules, you can switch to new Strings procedures.
==== External calls ====
1.7 supports calling URLs and Emails so now you can be sure, that user can call your link from documentation even if Info or i21Sys subsystem does not installed.
Use <code>Dialog.OpenExternal</code> procedure to call URLs.

Revision as of 15:04, 23 April 2016

Download beta version 1.7:

Download exe

Download zip

Migration from 1.6

There is the tool for batch compilation of subsystems: ypkDevTool.

The several typical changes you should do for adopting your subsystems for 1.7 are listed down:


IN to VAR

Now it is forbidden to call method of argument variable marked out by IN. You should change this flag to VAR.

Read only record variables

With 1.7 you can not call the method of read-only variable object in other module. So you should export such variable with *.

WinNet

WinNet.hostnet definition was changed, so you need to replace:

inaddr := hostentry.h_addr_list^[0]^[0]

to

inaddr := SYSTEM.VAL(WinNet.in_addr, hostentry.h_addr_list^[0]^)

Underlined spaces

Spaces and tabs with underline style now restoring according defined format, so we recommend you to check documentation files to prevent unexpected underlines.

UTF8

UTF8 supported "from the box", so if you was using some Utf8 conversions from third-parties modules, you can switch to new Strings procedures.

External calls

1.7 supports calling URLs and Emails so now you can be sure, that user can call your link from documentation even if Info or i21Sys subsystem does not installed.

Use Dialog.OpenExternal procedure to call URLs.