Page 2 of 3

Posted: Wed Aug 08, 2007 2:30 pm
by Bonne_den_kule
Fred wrote:Another small change:

Code: Select all

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

Posted: Wed Aug 08, 2007 3:04 pm
by Fred
What else ?

Posted: Wed Aug 08, 2007 3:24 pm
by Psychophanta
Thanks!
But continue 8)

Posted: Wed Aug 08, 2007 3:34 pm
by Trond
Fred wrote:What else ?
FindString("InitDatase()", "ba", 0) = 0

Posted: Wed Aug 08, 2007 6:55 pm
by Flype
Fred wrote:
Flype wrote:and, hum, you say plugin ?
interesting... one more word about these plugins ?
Top Secret :wink:
Anyway, i have my little idea :P

Maybe, a mysql plugin as it is widely used and the libmysql.lib is available for all OS.

Or perhaps a SDK to write our own database plugins.


Ok i stop here, i like surprises.

Posted: Wed Aug 08, 2007 7:07 pm
by Num3
Btw, great work team, keep them comming...

Posted: Wed Aug 08, 2007 7:17 pm
by blueznl
The editor is now fast enough to fool around again, good stuff!

Posted: Wed Aug 08, 2007 7:20 pm
by ABBKlaus
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.
Brilliant :D one, i tested this with my sources (Very big projects).

Donation is on its way :twisted:

Posted: Wed Aug 08, 2007 9:45 pm
by Droopy
Thanks 8)

Posted: Wed Aug 08, 2007 11:54 pm
by srod
ABBKlaus wrote:Donation is on its way :twisted:
Excellent idea. :)

Posted: Thu Aug 09, 2007 12:48 am
by fsw
Thanks for this beta.

XML-EXPAT: maybe it's a good idea to use the new 2.0.1 release for the final version of PB.

Here the expat changelog:
Release 2.0.1 Tue June 5 2007
- Fixed bugs #1515266, 1515600: The character data handler's calling
of XML_StopParser() was not handled properly; if the parser was
stopped and the handler set to NULL, the parser would segfault.
- Fixed bug #1690883: Expat failed on EBCDIC systems as it assumed
some character constants to be ASCII encoded.
- Minor cleanups of the test harness.
- Fixed xmlwf bug #1513566: "out of memory" error on file size zero.
- Fixed outline.c bug #1543233: missing a final XML_ParserFree() call.
- Fixes and improvements for Windows platform:
bugs #1409451, #1476160, 1548182, 1602769, 1717322.
- Build fixes for various platforms:
HP-UX, Tru64, Solaris 9: patch #1437840, bug #1196180.
All Unix: #1554618 (refreshed config.sub/config.guess).
#1490371, #1613457: support both, DESTDIR and INSTALL_ROOT,
without relying on GNU-Make specific features.
#1647805: Patched configure.in to work better with Intel compiler.
- Fixes to Makefile.in to have make check work correctly:
bugs #1408143, #1535603, #1536684.
- Added Open Watcom support: patch #1523242.

Posted: Thu Aug 09, 2007 1:13 am
by freak

Posted: Thu Aug 09, 2007 5:46 am
by fsw
:oops:

Posted: Fri Aug 10, 2007 9:05 pm
by QuimV
:) Great!
Where could I find a list of changes or an updated help?

:( This code doesn't run

Code: Select all

Procedure.b DBaccess() 
  Protected nfile_db.l = 0, ret.b, Err.s
  ;Arir archivo MySQL
  nfile_db.l = OpenDatabase(#PB_Any, "db_local", "user", "_xxx_") 
  If nfile_db.l = 0
    Err.s = DatabaseError()
    MessageRequester("Información","Error en bbdd: " + Err.s)
    ret.b = #False
  Else
    ;Cerrar archivo MySQL
    CloseDatabase(nfile_db.l)
    ret.b = #True
  EndIf
  ProcedureReturn ret.b
EndProcedure

UseODBCDatabase()
DBaccess() 
It returns an Line 11 error: "#Database object not initialized"

With previous PB version (Beta 2 and InitDatabase()) there is no problem and it runs fine.

Posted: Fri Aug 10, 2007 10:29 pm
by netmaestro
Find the related bug report from yesterday and download the updated lib Fred posted, that will fix it. There was a problem with #PB_Any in the initial Beta3 version.