查看完整版本: HB++2.0出来一段时间了

cxshou 2006-9-28 15:22

HB++2.0出来一段时间了

HB++2.0功能真是强了不少,有很多新特性可以支持,为palmos编写程序是越来越方便了,赞一个。
此处贴一个2.0版本的new features:

This article lists improvements and corrections made to HB++ version 2.00. Note that projects saved with this new version cannot be opened with previous versions of HB++ because of changes in file formats.

Some new features required we extended the package file format. However, packages compiled with previous versions of HB++ can still be used with this new version.

More Information

IDE

* The UI look and feel has been improved, and some commands have moved for better ergonomy. Notably, the Open/New/Wizards dialog boxes have been gathered into one tabbed dialog box. A new wizard to generate preference panels has also been added.

* The toolbar is fully customizable, through the "Tools > Customize Toolbar" menu item.

* The form designer now allows you to group controls into layers, which can be managed using a new tool window at the bottom right of the IDE. For more information about layers, please refer to "Language Reference > Classes > Control > Layer" in the documentation.

* You can now define templates, which are macros with merge field capabilities. For more information, please refer to "Programmer's Guide > Development Environment > Templates" in the documentation.

* Full support for generating custom navigation resources (FNAV) has been added. For more information, please refer to "Programmer's Guide > More About Programming > Adding Program Functionality > One Handed Navigation" in the documentation.

* Clicking on a form title in the form editor now popups up the associated menu, if any. You can then select one or more menu items and right click to perform some common tasks, such as copying and pasting.

* The "Edit > Go To Definition" command (Shift+F2) has been improved to work with names of strings defined in string lists, and with fields names defined in tables.

* The Save and Save As dialog boxes now always open in the project directory, and not in the current directory. This should avoid the common mistake of spreading your project files into multiple directory.

* The debugger has been improved. It can now evaluate expressions and not only inspect variables; when the mouse hovers a variable name, its value is displayed in a tool tip; you can add expressions to a watch tab in the output window; and the debugger no longer forces all POSE settings, but only the relevant ones.

* Syntax coloring and automatic completion have been improved.

* The verbose mode now displays the total size of the generated prc file.

* Pasting columns containing double quotes from an Excel sheet no longer crashes the IDE.

Compiler

* Error handling can now be achieved using the structured Try/Catch statement. The old On Error Goto statement is still supported and won't be removed. However, it is advised to switch to the new statement, which is far more convenient.

* When compiling with debugging informations on, a sligtly modified version of the garbage collector is linked to your executable, that is much slower than the regular one, but that does not trigger nonsignificant warnings when running on Palm Simulator.

* The maximum size parameters of a function can take has been reduced from 2040 to 1022 bytes. This should not be a problem as it still represents enough memory for hundreds of parameters.

* The compiler now supports static variables and static functions, through the new Static keyword. For more information, please refer to "Language Reference > Statements > Static statement" in the documentation.

* The New keyword is now an operator. This implies it can be used wherever an object expression is expected, and not only in the Dim and the Set statements.

* Evaluation of expressions has been unified and clarified. Expressions are now always evaluated from left to right; moreover, lazy evaluation is used on all boolean expressions, which means that evaluation stops as soon as the result is trivial. The Strict keyword has been added to locally disable optimizations and lazy evaluation if required.

* The For Each...Next loop now relies on an open mechanism that allows you to add support for enumeration to any of your classes. Moreover, this statement can now be used to enumerate the content of strings, arrays, and databases. For more information, please refer to "Language Reference > Statements > For Each...Next" and "Programmer's Guide > Advanced Issues > Iterable Objects" in the documentation.

* The compiler no longer reports an error if a stringlist defines a constant that is already defined elsewhere with the same type and value.

* The dutch locale has been added.

* Some minor bugs have been fixed.

Tools

* RegCond32 uses a new algorithm to retrieve the path to hotsync manager. This should fix some conduit installation issues some users experienced.

* The HbDAO ActiveX has been rewritten: alignment problems are now fixed, handling databases with more than 32k records works fine, and performances has been highly improved.

* Conduits now only use names shorter than 11 characters for predefined fields. This should fix some issues with dBase drivers. However, existing databases with long names are still properly handled.

Classes Library

* Some utilitary functions have been added: Shuffle can be used to shuffle items in strings, arrays, Collections and StreamMemory; Atn2 computes arctangents directly in the proper quadrant.

* The Object class now offers the ClassID and Implements functions to ease runtime type identification.

* The StreamSerial class now implements the DTR and FlowControl properties to set the hardware handshaking to use by the serial port. The PowerOut property has also been added to switch power on and off on the universal connector of some devices.

* The StreamCipher class now support many new encoding/decoding schemes: Adler32, CRC16, CRC32, MD5, Zip (deflate), Unzip (inflate) and AES. For more information, please refer to the documentation for this class.

* The SystemInfo class now reports information about the device brand, device model, and support for the 5-way navigator. It can also be used to read or write Palm OS features.

* The Bitmap class now supports reading and writing JPEG, PNG, GIF and BMP files. Bitmap density can also be changed dynamically.

* Some new string handling functions have been added: UrlEncode and UrlDecode to handle strings encoded according to RFC1738; and Replace to search and replace a pattern into a string.

* The LoadRsrcLibray allows you to use a code segment of your application as a shared library. For more information, please refer to the SysLibInstall sample.

* The Clipboard property gives access to the Palm clipboard.

* The Bluetooth.StringToAddress function converts an hexadecimal dotted string into a Bluetooth address.

* The Display.GetPixel property retrieves the color of a given pixel.

* The Recordset.EditMode property returns the current editing state of a recordset.

* 5-way navigators and the blue ring feature are now fully supported through the Form.Focus property, the Control.DrawFocusRing and Control.RemoveFocusRing methods, and the Control.GotFocus and Control.LostFocus events. For more information, please refer to "Programmer's Guide > More About Programming > Adding Program Functionality > One Handed Navigation" in the documentation.

* You can now change the Recipient property of any control. This can be notably used to direct scrollbar events to the user control it is attached to, instead of having these events handled by the form.

* The Form.Controls function returns a collection containing all the control of a form, or all the control on a specific layer of a form. This can prove useful to easily hide or show groups of controls.

* The height of the rows in a GridEx control can be changed through the GridEx.ColumnHeight property. The number of displayed rows can be determined using the GridEx.VisibleRows property.

* Some minor bugs have been fixed: the Bluetooth and StreamBluetooth objects now fail gracefully on device with no bluetooth support; the DatePart function properly computes the week number; the StreamSocket.Ready property now works fine with SSL; the StringList.Count function returns a correct value.


可惜的是,到现在我都找不到XX file

min1968 2006-10-17 16:53

可惜还是没有人能搞定

为你期的泪 2008-5-31 23:06

经典呀!~!~!~!太经典了!~!
页: [1]
查看完整版本: HB++2.0出来一段时间了