PureBasic 4.10 Beta 3 for Windows released

Developed or developing a new product in PureBasic? Tell the world about it.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

PureBasic 4.10 Beta 3 for Windows released

Post 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.
Last edited by freak on Wed Aug 08, 2007 1:00 am, edited 1 time in total.
quidquid Latine dictum sit altum videtur
Fred
Administrator
Administrator
Posts: 18178
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Another small change:

Code: Select all

InitDatase() has been renamed to UseODBCDatabase() for more flexibility (to easily implement more database plugins).
User avatar
Sveinung
Enthusiast
Enthusiast
Posts: 142
Joined: Tue Oct 07, 2003 11:03 am
Location: Bergen, Norway

Post by Sveinung »

Thank you PB team

Regards
Sveinung
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post 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.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post 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
I like logic, hence I dislike humans but love computers.
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

Maybe added some new constants?

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

cheers
eesau
Enthusiast
Enthusiast
Posts: 589
Joined: Fri Apr 27, 2007 12:38 pm
Location: Finland

Post 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:
Fred
Administrator
Administrator
Posts: 18178
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post 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.
JCV
Enthusiast
Enthusiast
Posts: 580
Joined: Fri Jun 30, 2006 4:30 pm
Location: Philippines

Post by JCV »

Big thanks! 8)

[Registered PB User since 2006]
[PureBasic 6.20][SpiderBasic 2.2]
[RP4 x64][Win 11 x64][Ubuntu x64]
Fred
Administrator
Administrator
Posts: 18178
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post 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 ?
Fred
Administrator
Administrator
Posts: 18178
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Flype wrote:and, hum, you say plugin ?
interesting... one more word about these plugins ?
Top Secret :wink:
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> so i have about 3500 renaming to do

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

;)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post 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
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post 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?
I like logic, hence I dislike humans but love computers.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

First impressions on the ide - much faster with large sources! :)

Thanks.
I may look like a mule, but I'm not a complete ass.
Post Reply