Hi Everybody,
I just committed a pretty big update to pgserver, including associated changes int the
C and python client libs and in the pgui-protocol document.
The big change here is moving server-owned resources into a table that can be read by
clients. This was necessary for the upcoming input filters code, but it also helps
clean up the global strings, and will let the client access other handles like the
default font.
Here's an example, in Python:
>>> app.server.getstring(app.server.getresource('string pguiwarn')).data
'PicoGUI Warning\x00'
This creates a binary incompatibility between protocol versions 15 and 16, but it
isn't too serious. If you try to run an older app on a newer server, some dialog box
text will not appear. However if you run a newer app on an older server the app may
segfault.
Generally apps should be source compatible, however if you use any of the
PGTH_P_STRING_* constants, they are now gone! Change code like:
pgThemeLookup(PGTH_O_DEFAULT, PGTH_P_STRING_FOO);
to
pgGetServerRes(PGRES_STRING_FOO);
--
Only you can prevent creeping featurism!
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel