Page 1 of 3

PureBasic 4.10 Beta 3 for Windows released

Posted: Tue Aug 07, 2007 11:23 pm
by freak
Hi there,

Here it is, the next beta for 4.10 windows. You can get it on the PureBasic.com website
on your download account.As you can see in the bugs forum, a lot of bugs have
been fixed again. We know, there are still some unresolved but we will get to them as well.

Please give this version a lot of testing and report any problems you find.
Especially the IDE needs to be tested well with this version as you can read below.

Other than the bugfixes, there are these changes in this version:

Code: Select all


XML Library:
------------

Extended the XML library to be able to handle any well-formed XML document
(event when containing DTDs, processing instructions, etc)

2 new types of nodes have been added:

#PB_XML_DTD
  Constains Document Type Definitions. The node contains the whole DOCTYPE tag.
  Its content is not checked by the library and written back to XML as it is.
  This way DOCTYPE tags can be correctly preserved inside files, and it provides
  a way to access and modify it via Get/SetXMLNodeText().

#PB_XML_Instruction
  Represents a XML processing instruction. This kind of node has a name and text content.
  (so Get/SetXMLNodeName() and Get/SetXMLNodeText() work on them.

  Example: <?php  instruction content ?>
  The "php" is the node name, the rest is the node content.

New commands have been added:

Get/SetXMLStandalone()
  Get/Set the "standalone" attribute in the XML declaration. This attribute is 
  important in connection with handling DTDs.

ResolveXMLNodeName()
ResolveXMLAttributeName()
  For a document using XML namespaces. These functions return the expanded name of nodes and attributes.

LoadXML, CatchXML have a new optional 'Encoding' parameter with which the encoding used to read
the document can be enforced. (Note that this overwrites the encoding in the XML declaration!)
This can be used in case there is no XML declaration or if the used encoding is known from another
source like the transfer protocol.


Note: The english helpfile is up to date with these new changes (german one not done yet).
Please have a look there for an explanation of the new stuff.


IDE:
----

The handling of Folding, AutoComplete and ProcedureBrowser has been redesigned for more speed and flexibility.
It should make editing of sourcecodes (especially larger ones) much smoother than before.

Note: Due to this change there could be new bugs introduces in the IDE, so
  please do some extra testing in the IDE, especially in the areas of Folding, AutoComplete, ProcedureBrowser,
  but also when editing sourcecodes in general.

Thanks to all beta testers !

The Fantaisie Software Team.

Posted: Tue Aug 07, 2007 11:27 pm
by Fred
Another small change:

Code: Select all

InitDatase() has been renamed to UseODBCDatabase() for more flexibility (to easily implement more database plugins).

Posted: Tue Aug 07, 2007 11:28 pm
by Sveinung
Thank you PB team

Regards
Sveinung

Posted: Tue Aug 07, 2007 11:54 pm
by Flype
Fred wrote:Another small change:

Code: Select all

InitDatase() has been renamed to UseODBCDatabase() for more flexibility (to easily implement more database plugins).
lol, so i have about 3500 renaming to do :lol: i use this function all the time.

and, hum, you say plugin ?
interesting... one more word about these plugins ?



thanks a lot for the hard work.
it was a big and efficient bug-fix sequence.

Posted: Wed Aug 08, 2007 12:31 am
by Joakim Christiansen
I tried to compile a project that worked with beta 2 but get this message:
POLINK: error: Unresolved external symbol '_TransparentBlt'.
I didn't use any user-libs either.
:D

Posted: Wed Aug 08, 2007 2:12 am
by rsts
Maybe added some new constants?

Anyone have any idea where #em_getimeproperty might already be declared?

cheers

Posted: Wed Aug 08, 2007 7:02 am
by eesau
First impressions: the IDE works blazingly fast now on my system, compared to the sluggish old one. Just what kind of black magic voodoo hoodoo did you do and where can I get some of that? :shock:

Posted: Wed Aug 08, 2007 9:03 am
by Fred
rsts wrote:Maybe added some new constants?

Anyone have any idea where #em_getimeproperty might already be declared?

cheers
We have added a bunch a new constants in between, and if PB complains, it's either your constants or our constanst value which is wrong. You can check it in the Structure/Constant viewer of the IDE. For the information, it's probably located in Residents/Windows.res.

Posted: Wed Aug 08, 2007 9:04 am
by JCV
Big thanks! 8)

Posted: Wed Aug 08, 2007 9:04 am
by Fred
Joakim Christiansen wrote:I tried to compile a project that worked with beta 2 but get this message:
POLINK: error: Unresolved external symbol '_TransparentBlt'.
I didn't use any user-libs either.
:D
I think i know why you miss this constant, could you replace the msimg32.lib found in the purelibraries/windows/libraries folder with the one of a previous version of PB ?

Posted: Wed Aug 08, 2007 9:05 am
by Fred
Flype wrote:and, hum, you say plugin ?
interesting... one more word about these plugins ?
Top Secret :wink:

Posted: Wed Aug 08, 2007 10:51 am
by PB
> so i have about 3500 renaming to do

http://www.rjlsoftware.com/software/utility/search/

;)

Posted: Wed Aug 08, 2007 11:34 am
by Baldrick
Just updated to B3 & have tried a couple of old sources I have put on hold due to a couple of 4.x bugs & they are both now running smooth as :D

Posted: Wed Aug 08, 2007 12:15 pm
by Joakim Christiansen
Fred wrote:I think i know why you miss this constant, could you replace the msimg32.lib found in the purelibraries/windows/libraries folder with the one of a previous version of PB ?
That solved it! Thanks, but why did this happen?

Posted: Wed Aug 08, 2007 12:18 pm
by srod
First impressions on the ide - much faster with large sources! :)

Thanks.