|
From: creecode <icr...@us...> - 2006-03-07 05:38:52
|
Update of /cvsroot/frontierkernel/odbs/frontierRoot/system/verbs/apps/Manila/message In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6457 Modified Files: set get create Log Message: replace calls to verbs at extensions.latinToMac with string.(latin/mac)To(Latin/Mac) verbs Index: create =================================================================== RCS file: /cvsroot/frontierkernel/odbs/frontierRoot/system/verbs/apps/Manila/message/create,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** create 26 Mar 2005 19:42:19 -0000 1.1.1.1 --- create 7 Mar 2006 05:38:49 -0000 1.2 *************** *** 1,3 **** ! FrontierVcsFile:1:scpt:system.verbs.apps.Manila.message.create ! on create (adrSitePrefs, subject, body, bodyType, inResponseTo, windowInfoTable, rendererInfoTable=nil) { ÇCreate a new message on a Manila site. ÇChanges: Ç02/05/00; 5:28:03 PM by PBS ÇSend the windowInfoTable. If it fails, try sending without the windowInfoTable. This is needed while we transition the Manila RPC interface. Ç02/19/00; 6:52:14 PM by PBS ÇRemoved the try statement. now that manila.root has been updated. Ç03/23/00; 2:57:22 PM by PBS ÇDon't let httpClient display messages in the About Window -- Pike wants to display messges in the About Window. Ç03/23/00; 6:30:33 PM by PBS ÇNew parameter: rendererInfo. It's a table with two items: name (the name of the renderer to use) and a boolean, flRenderOnEntry, which specifies whether or not the outline can be rendered on entering the system (as opposed to rendering at request time). Ç04/09/00; 3:47:33 PM by PBS ÇConvert Ç11/20/00; 5:16:07 PM by JES ÇEnocde ampersands as & when using SOAP to transmit opml-based messages, since entities are decoded twice -- once by the SOAP decoder and once by op.xmlToOutline. Ç01/02/01; 12:44:12 AM by JES ÇOn Macs, convert the message subject to latin text. Ç9/6/01; 8:19:54 PM by JES ÇChanged params from a list to a record of named parameters, for SOAP compatibility. if system.environment.isMac { //PBS 04/09/00: convert from Mac to latin text body = latinToMac.macToLatin (body); subject = latinToMac.macToLatin (subject)}; //JES 01/02/00 with adrSitePrefs^ { if rendererInfoTable == nil { new (tableType, @rendererInfoTable); rendererInfoTable.name = "pikeRenderer"; rendererInfoTable.flRenderOnEntry = true}; if bodyType == "text/x-opml" { //11/20/00 JES: enocde quote characters as &quot; if the transport is SOAP. if defined (manila.flUseSoap) and manila.flUseSoap { body = string.replaceAll (body, "&", "&")}}; local (params = {"username":username, "password":string (password), "siteName":sitename, "subject":subject, "body":body, "bodyType":bodyType, "inResponseTo":inResponseTo, "windowInfo":windowInfoTable, "rendererInfo":rendererInfoTable}); return (manila.callHandler (host, port, "manila.message.create", @params, rpcPath:rpcPath, flShowMessages:false))}} \ No newline at end of file --- 1,39 ---- ! FrontierVcsFile:2:scpt:system.verbs.apps.Manila.message.create ! on create (adrSitePrefs, subject, body, bodyType, inResponseTo, windowInfoTable, rendererInfoTable=nil) { ! «Changes ! «2/28/06; 1:03:16 PM by TAC ! «replace latinToMac.macToLatin with string.macToLatin ! «9/6/01; 8:19:54 PM by JES ! «Changed params from a list to a record of named parameters, for SOAP compatibility. ! «01/02/01; 12:44:12 AM by JES ! «On Macs, convert the message subject to latin text. ! «2000 ! «11/20/00; 5:16:07 PM by JES ! «Enocde ampersands as & when using SOAP to transmit opml-based messages, since entities are decoded twice -- once by the SOAP decoder and once by op.xmlToOutline. ! «04/09/00; 3:47:33 PM by PBS ! «Convert ! «03/23/00; 6:30:33 PM by PBS ! «New parameter: rendererInfo. It's a table with two items: name (the name of the renderer to use) and a boolean, flRenderOnEntry, which specifies whether or not the outline can be rendered on entering the system (as opposed to rendering at request time). ! «03/23/00; 2:57:22 PM by PBS ! «Don't let httpClient display messages in the About Window -- Pike wants to display messges in the About Window. ! «02/19/00; 6:52:14 PM by PBS ! «Removed the try statement. now that manila.root has been updated. ! «02/05/00; 5:28:03 PM by PBS ! «Send the windowInfoTable. If it fails, try sending without the windowInfoTable. This is needed while we transition the Manila RPC interface. ! «Create a new message on a Manila site. ! ! if system.environment.isMac { //PBS 04/09/00: convert from Mac to latin text ! body = string.macToLatin (body); ! subject = string.macToLatin (subject)}; //JES 01/02/00 ! ! with adrSitePrefs^ { ! if rendererInfoTable == nil { ! new (tableType, @rendererInfoTable); ! rendererInfoTable.name = "pikeRenderer"; ! rendererInfoTable.flRenderOnEntry = true}; ! if bodyType == "text/x-opml" { //11/20/00 JES: enocde quote characters as &quot; if the transport is SOAP. ! if defined (manila.flUseSoap) and manila.flUseSoap { ! body = string.replaceAll (body, "&", "&")}}; ! local (params = {"username":username, "password":string (password), "siteName":sitename, "subject":subject, "body":body, "bodyType":bodyType, "inResponseTo":inResponseTo, "windowInfo":windowInfoTable, "rendererInfo":rendererInfoTable}); ! return (manila.callHandler (host, port, "manila.message.create", @params, rpcPath:rpcPath, flShowMessages:false))}} \ No newline at end of file Index: set =================================================================== RCS file: /cvsroot/frontierkernel/odbs/frontierRoot/system/verbs/apps/Manila/message/set,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** set 26 Mar 2005 19:42:19 -0000 1.1.1.1 --- set 7 Mar 2006 05:38:49 -0000 1.2 *************** *** 1,3 **** ! FrontierVcsFile:1:scpt:system.verbs.apps.Manila.message.set ! on set (adrSitePrefs, msgnum, subject, body, bodyType, windowInfoTable, rendererInfoTable=nil) { ÇSet the contents of a message. ÇChanges: Ç02/05/00; 5:31:02 PM by PBS ÇSend the windowInfoTable. If it fails, try again without the windowInfoTable. This is needed during the transition for the Manila RPC interface. Ç02/19/00; 6:48:59 PM by PBS ÇRemoved the try statement. now that manila.root has been updated. Ç03/23/00; 12:22:36 PM by PBS ÇDon't show messages -- Pike displays its own message in the About Window. Ç03/23/00; 6:24:25 PM by PBS ÇNew parameter: rendererInfo. It's a table with two items: name (the name of the renderer to use) and a boolean, flRenderOnEntry, which specifies whether or not the outline can be rendered on entering the system (as opposed to rendering at request time). Ç04/09/00; 3:45:47 PM by PBS ÇIf this is a Mac, convert the text to latin before sending. The server expects latin text, even if the server is running on a Mac. Ç11/20/00; 5:16:07 PM by JES ÇEnocde ampersands as & when using SOAP to transmit opml-based messages, since entities are decoded twice -- once by the SOAP decoder and once by op.xmlToOutline. Ç01/02/01; 12:44:12 AM by JES ÇOn Macs, convert the message subject to latin text. Ç9/6/01; 8:24:55 PM by JES ÇChanged params from a list to a record of named parameters, for SOAP compatibility. if system.environment.isMac { //PBS 04/09/00: convert from Mac to latin text body = latinToMac.macToLatin (body); subject = latinToMac.macToLatin (subject)}; //JES 01/02/00 with adrSitePrefs^ { if rendererInfoTable == nil { new (tableType, @rendererInfoTable); rendererInfoTable.name = "pikeRenderer"; rendererInfoTable.flRenderOnEntry = true}; if bodyType == "text/x-opml" { //11/20/00 JES: enocde quote characters as &quot; if the transport is SOAP. if defined (manila.flUseSoap) and manila.flUseSoap { body = string.replaceAll (body, "&", "&")}}; local (params = {"username":username, "password":string (password), "siteName":sitename, "msgnum":msgnum, "subject":subject, "body":body, "bodyType":bodyType, "windowInfo":windowInfoTable, "rendererInfo":rendererInfoTable}); return (manila.callHandler (host, port, "manila.message.set", @params, rpcPath:rpcPath, flShowMessages:false))}} \ No newline at end of file --- 1,39 ---- ! FrontierVcsFile:2:scpt:system.verbs.apps.Manila.message.set ! on set (adrSitePrefs, msgnum, subject, body, bodyType, windowInfoTable, rendererInfoTable=nil) { ! «Changes ! «2/28/06; 1:06:21 PM by TAC ! «replace latinToMac.macToLatin with string.macToLatin ! «9/6/01; 8:24:55 PM by JES ! «Changed params from a list to a record of named parameters, for SOAP compatibility. ! «01/02/01; 12:44:12 AM by JES ! «On Macs, convert the message subject to latin text. ! «2000 ! «11/20/00; 5:16:07 PM by JES ! «Enocde ampersands as & when using SOAP to transmit opml-based messages, since entities are decoded twice -- once by the SOAP decoder and once by op.xmlToOutline. ! «04/09/00; 3:45:47 PM by PBS ! «If this is a Mac, convert the text to latin before sending. The server expects latin text, even if the server is running on a Mac. ! «03/23/00; 6:24:25 PM by PBS ! «New parameter: rendererInfo. It's a table with two items: name (the name of the renderer to use) and a boolean, flRenderOnEntry, which specifies whether or not the outline can be rendered on entering the system (as opposed to rendering at request time). ! «03/23/00; 12:22:36 PM by PBS ! «Don't show messages -- Pike displays its own message in the About Window. ! «02/19/00; 6:48:59 PM by PBS ! «Removed the try statement. now that manila.root has been updated. ! «02/05/00; 5:31:02 PM by PBS ! «Send the windowInfoTable. If it fails, try again without the windowInfoTable. This is needed during the transition for the Manila RPC interface. ! «Set the contents of a message. ! ! if system.environment.isMac { //PBS 04/09/00: convert from Mac to latin text ! body = string.macToLatin (body); ! subject = string.macToLatin (subject)}; //JES 01/02/00 ! ! with adrSitePrefs^ { ! if rendererInfoTable == nil { ! new (tableType, @rendererInfoTable); ! rendererInfoTable.name = "pikeRenderer"; ! rendererInfoTable.flRenderOnEntry = true}; ! if bodyType == "text/x-opml" { //11/20/00 JES: enocde quote characters as &quot; if the transport is SOAP. ! if defined (manila.flUseSoap) and manila.flUseSoap { ! body = string.replaceAll (body, "&", "&")}}; ! local (params = {"username":username, "password":string (password), "siteName":sitename, "msgnum":msgnum, "subject":subject, "body":body, "bodyType":bodyType, "windowInfo":windowInfoTable, "rendererInfo":rendererInfoTable}); ! return (manila.callHandler (host, port, "manila.message.set", @params, rpcPath:rpcPath, flShowMessages:false))}} \ No newline at end of file Index: get =================================================================== RCS file: /cvsroot/frontierkernel/odbs/frontierRoot/system/verbs/apps/Manila/message/get,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** get 26 Mar 2005 19:42:19 -0000 1.1.1.1 --- get 7 Mar 2006 05:38:49 -0000 1.2 *************** *** 1,3 **** ! FrontierVcsFile:1:scpt:system.verbs.apps.Manila.message.get ! on get (adrSitePrefs, msgnum) { ÇChanges: Ç1/2/01; 1:47:35 AM by JES ÇOn Macs, convert the body and subject to Mac text. Ç9/6/01; 8:21:32 PM by JES ÇChanged params from a list to a record of named parameters, for SOAP compatibility. with adrSitePrefs^ { local (params = {"username":username, "password":string (password), "siteName":sitename, "msgnum":msgnum}); local (returnTable = manila.callHandler (host, port, "manila.message.get", @params, rpcPath:rpcPath)); if system.environment.isMac { //01/02/01 JES: convert body and subject to Mac text returnTable.body = latinToMac.convert (returnTable.body); returnTable.subject = latinToMac.convert (returnTable.subject)}; return (returnTable)}} \ No newline at end of file --- 1,20 ---- ! FrontierVcsFile:2:scpt:system.verbs.apps.Manila.message.get ! on get (adrSitePrefs, msgnum) { ! «Changes ! «2/28/06; 11:59:01 AM by TAC ! «replace extensions.latinToMac.convert with string.latinToMac ! «1/2/01; 1:47:35 AM by JES ! «On Macs, convert the body and subject to Mac text. ! «9/6/01; 8:21:32 PM by JES ! «Changed params from a list to a record of named parameters, for SOAP compatibility. ! ! with adrSitePrefs^ { ! local (params = {"username":username, "password":string (password), "siteName":sitename, "msgnum":msgnum}); ! local (returnTable = manila.callHandler (host, port, "manila.message.get", @params, rpcPath:rpcPath)); ! ! if system.environment.isMac { //01/02/01 JES: convert body and subject to Mac text ! returnTable.body = string.latinToMac (returnTable.body); ! returnTable.subject = string.latinToMac (returnTable.subject)}; ! ! return (returnTable)}} \ No newline at end of file |