Difference between revisions of "BlackBox Component Builder 1.7"
Ivan denisov (talk | contribs) |
Ivan denisov (talk | contribs) |
||
Line 1: | Line 1: | ||
==Download beta version 1.7:== | |||
[http://blackboxframework.org/lastdev Download exe] | [http://blackboxframework.org/lastdev Download exe] | ||
Line 5: | Line 5: | ||
[http://blackboxframework.org/lastdev/zip Download zip] | [http://blackboxframework.org/lastdev/zip Download zip] | ||
==Migration from 1.6== | |||
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]. | ||
Line 11: | Line 11: | ||
The several typical changes you should do for adopting your subsystems for 1.7 are listed bellow: | The several typical changes you should do for adopting your subsystems for 1.7 are listed bellow: | ||
=== IN to VAR === | |||
Now it is forbidden to call method of argument variable marked out by IN. You should change this flag 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 variables === | |||
With 1.7 you can not call the method of read-only variable object in other module. So you should export such variable by *. | With 1.7 you can not call the method of read-only variable object in other module. So you should export such variable by *. | ||
=== WinNet === | |||
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 29: | Line 29: | ||
<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. | 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. | 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. | 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. | Use <code>Dialog.OpenExternal</code> procedure to call URLs. |
Revision as of 16:17, 23 April 2016
Download beta version 1.7:
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 bellow:
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 variables
With 1.7 you can not call the method of read-only variable object in other module. So you should export such variable by *.
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.