Farbflash projects: Imaging lingo table | 3-D scene list | Find all | Handler menu | Lingo message window

Changeset 184 for trunk


Ignore:
Timestamp:
09/17/08 15:57:25 (3 years ago)
Author:
alex
Message:

fixed a problem with buddyApis tempfolder, where my exported scripts would become malformatted unicode files in bbedit - I have not the least idea why that happens, but it prevented me from listing the differences with bbdiff

Location:
trunk/lingosource
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/lingosource/castlib1/alexUtilities.ls

    r180 r184  
    25022502on mGetTempFilePath me, theName 
    25032503   
    2504   if mCheckForXtra(me, "BudAPI") then 
    2505      
    2506     if the platform contains "mac" then 
    2507        
    2508       resetUNames = 0 
    2509       if baSysFolder("prefs") starts "/" then 
    2510         baReturnUnixNames(0) 
    2511         resetUNames = 1 
    2512       end if 
    2513       tempSrcHFSPath = basysfolder("temp") 
    2514       if length(tempSrcHFSPath) > 0 then 
    2515         tempSrcHFSPath = tempSrcHFSPath & theName 
    2516         if resetUNames = 1 then baReturnUnixNames(1) 
    2517         return tempSrcHFSPath 
    2518       else 
    2519         if resetUNames = 1 then baReturnUnixNames(1) 
    2520       end if 
    2521        
    2522     else 
    2523       tmpfolder = baSysFolder("temp") 
    2524       if length(tmpfolder) > 0 then return tmpfolder & theName 
    2525     end if 
    2526      
    2527   end if 
     2504  -------------- for some reason, I don't know why, if I use this buddyApi temp folder 
     2505  -------------- files get screwed up with invalid unicode chars ???!!! 
     2506  -------------- so I resort to the old behavior just using /tmp 
     2507   
     2508  --  if mCheckForXtra(me, "BudAPI") then 
     2509  --     
     2510  --    if the platform contains "mac" then 
     2511  --       
     2512  --      resetUNames = 0 
     2513  --      if baSysFolder("prefs") starts "/" then 
     2514  --        baReturnUnixNames(0) 
     2515  --        resetUNames = 1 
     2516  --      end if 
     2517  --      tempSrcHFSPath = basysfolder("temp") 
     2518  --      if length(tempSrcHFSPath) > 0 then 
     2519  --        tempSrcHFSPath = tempSrcHFSPath & theName 
     2520  --        if resetUNames = 1 then baReturnUnixNames(1) 
     2521  --        return tempSrcHFSPath 
     2522  --      else 
     2523  --        if resetUNames = 1 then baReturnUnixNames(1) 
     2524  --      end if 
     2525  --       
     2526  --    else 
     2527  --      tmpfolder = baSysFolder("temp") 
     2528  --      if length(tmpfolder) > 0 then return tmpfolder & theName 
     2529  --    end if 
     2530  --     
     2531  --  end if 
    25282532   
    25292533  -- we only come here, if 
  • trunk/lingosource/castlib1/subversion_version_field.txt

    r182 r184  
    1 r184 
     1r186 
  • trunk/lingosource/castlib2/SpriteNameBeaver.ls

    r63 r184  
    11-- SPRITENAMEN 
    2 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
    32-- sprite naming behavior 
     3----------------------------------- 
     4-- CREATED: 
     5-- 
     6-- PROPERTIES: 
     7--!memberProperties: [#name: "SpriteNameBeaver", #scripttype: #score, #scriptSyntax: #lingo, #comments:"~/Documents/Scripts/lingo/SpriteNameBeaver.ls"] 
     8-- 
     9-- DESCRIPTION: 
     10--             lingo scripts to handle movies in a window 
     11--             director movies running in their own window -> new player instance 
     12--             authoring and runtime only, as in shockwave we can't open and communicate 
     13--             with other windows. 
     14----------------------------------- 
     15 
    416 
    517property pKanalname 
  • trunk/lingosource/castlib2/commonMovieScript.ls

    r178 r184  
    11-- commonMovieScript 
     2-- was anderes 
    23----------------------------------- 
    34-- CREATED: 
Note: See TracChangeset for help on using the changeset viewer.