|
From: John M M. <jo...@us...> - 2003-12-02 05:02:21
|
Update of /cvsroot/squeak/squeak/platforms/Mac OS/plugins/DropPlugin
In directory sc8-pr-cvs1:/tmp/cvs-serv14351/squeak/platforms/Mac OS/plugins/DropPlugin
Modified Files:
sqMacDragDrop.c
Log Message:
3.7.0b2 Changes for file name encoding. Ensure we use current encoding when working with file names. Change logic in vmPath, imageName, shortImageName, documentName to support CFString which we convert to desired encoding at read time.
Index: sqMacDragDrop.c
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/Mac OS/plugins/DropPlugin/sqMacDragDrop.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** sqMacDragDrop.c 31 Jul 2003 12:59:12 -0000 1.5
--- sqMacDragDrop.c 2 Dec 2003 04:52:07 -0000 1.6
***************
*** 45,48 ****
--- 45,49 ----
May 8th,2002,JMM - Bert Freudenberg published some changes to make file opening easier without security
July 28th, 2003, JMM - fix issue with race on open doc events and squeak VM Thread.
+ * 3.7.0bx Nov 24th, 2003 JMM gCurrentVMEncoding
*/
***************
*** 186,190 ****
PathToFile(tempName,
DOCUMENT_NAME_SIZE,
! &dropFiles[dropIndex-1].fileSpec);
if (dropIndex == gNumDropFiles)
gDragDropThrottleSpinLock = false;
--- 187,191 ----
PathToFile(tempName,
DOCUMENT_NAME_SIZE,
! &dropFiles[dropIndex-1].fileSpec,gCurrentVMEncoding);
if (dropIndex == gNumDropFiles)
gDragDropThrottleSpinLock = false;
|