Skip to content

Commit

Permalink
override tempFileFor:suffix: for Windows compatibility (Squeak only)
Browse files Browse the repository at this point in the history
Metacello-Platform.squeak-jr.30
  • Loading branch information
j4yk committed Sep 14, 2016
1 parent c479f08 commit 59d9841
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
@@ -0,0 +1,5 @@
file system
tempFileFor: aName suffix: aSuffixString
^ (Smalltalk os platformName = 'Win32'
ifTrue: [OSProcess thisOSProcess environment at: 'TMP']
ifFalse: ['/tmp']) , FileDirectory slash , aName , aSuffixString
Expand Up @@ -16,4 +16,5 @@
"extractTypeFromDescription:" : "dkh 6/12/2012 10:18:46.076",
"globalNamed:" : "dkh 6/12/2012 10:18:46.076",
"globalNamed:ifAbsent:" : "dkh 6/12/2012 10:18:46.076",
"tempFileFor:suffix:" : "jr 9/14/2016 17:18",
"timestamp" : "dkh 6/12/2012 10:18:46.076" } }
@@ -1 +1 @@
(name 'Metacello-Platform.squeak-pad.29' message 'Copy Tobais;s fix of the defaultPlatformAttributes' id 'cbcfa346-de50-44ad-8f98-55ae19315ed1' date '21 August 2015' time '9:57:42.682 am' author 'pad' ancestors ((name 'Metacello-Platform.squeak-pad.28' message 'copy tobias''s changes to MetacelloSqueakPlatform>>#defaultPlatformAttributesso Metacello works on Squeak 4.6 & 5.0' id '27bb3ca8-5bb9-40eb-aac1-7c80b39e3c0f' date '21 August 2015' time '9:07:59.587 am' author 'pad' ancestors ((name 'Metacello-Platform.squeak-tfel.27' message 'Issue #277: rename platform downloadFile:to: to downloadZipArchive:to:' id '2c8d0272-2594-4d26-8afe-7af4a6687994' date '14 October 2014' time '5:20:25 pm' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-tfel.26' message 'merged by GitFileTree-MergeDriver' id '2bac8707-a5ba-4095-a6e8-2130e283528b' date '29 September 2014' time '9:54:55 am' author 'tfel' ancestors ((name 'Metacello-Platform.squeak-tfel.25' message '- fix ZipArchive extraction (needs a FileDirectory)- fix trailing slash on Windows' id 'a0fcf7a4-7574-c449-a4a9-23f96c2aec36' date '29 July 2014' time '2:43:09 am' author 'tfel' ancestors ((name 'Metacello-Platform.squeak-tfel.24' message 'Replace commandline tools for downloading and unzipping with WebClient and ZipArchive' id '0b831d53-880b-f341-a1c5-97859962e09b' date '29 July 2014' time '1:54:19 am' author 'tfel' ancestors ((name 'Metacello-Platform.squeak-dkh.23' message 'fix google Issue 184: github zip download failures due to filesystem issues' id '78a6c3b5-5bc8-4089-b5ee-0084b55cb0a1' date '1 July 2013' time '10:25:17 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.22' message 'merge in changes for Metacello-Platform.squeak-dkh.21 and get Metacello-Platform.squeak-dkh.21 into the ancestry ...' id '1214fa6a-315f-4904-8829-794d716288f1' date '5 May 2013' time '3:12 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.18' message 'switch to using #select and #unselect for MetacelloPlatform' id '9c552a06-cfbe-48e6-86ab-7683c5c680d0' date '5 May 2013' time '1:55:23 am' author 'dkh' ancestors () stepChildren ())(name 'Metacello-Platform.squeak-dkh.21' message 'force change in MetacelloSqueakPlatform class>>initiliaze as a temp hack to bootstrap Metacello Preview (see https://github.com/dalehenrich/metacello-work/issues/151)' id 'f52c2c82-fc54-4671-b293-826d29aa7706' date '5 May 2013' time '2:51:38 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.20' message 'really add squeak4.5.x as platform attribute' id '9e83dd3b-4537-45a1-8ed5-b0bef4b6a006' date '5 May 2013' time '2:45:52 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.19' message 'add squeak4.5.x as platform attribute' id '6c4ff447-6495-4955-a3d2-c52053912351' date '5 May 2013' time '2:39:32 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.16' message 'new version for Squeak (Issue #39)' id '08000000-1508-621d-1508-621d14000000' date '27 February 2013' time '5:24:38 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.15' message 'fix for Issue #140 (including patch for introduced gemstone issue)' id '08000000-1508-0418-1508-041814000000' date '25 February 2013' time '5:19:47 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.14' message 'catch up with gemstone port' id '08000000-1508-5c17-1508-5c1714000000' date '10 July 2012' time '12:03:34 pm' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.13' message 'checkpoint Issue #38' id '9aecf4d3-dbba-4b04-91b6-781938a502e3' date '12 June 2012' time '10:18:46 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.12' message 'checkpoint Isue #38' id 'f1f6b9a4-24e7-451c-a699-3bb8900f09fc' date '12 June 2012' time '9:33:39 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.11' message '1.0-beta.32 (dkh.662):- fix Issue 111: progress notification for Squeak http://code.google.com/p/metacello/issues/detail?id=111' id '5cf04623-a4fb-447a-96d8-21978c340f77' date '18 January 2012' time '4:57:04 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.10' message '- passing tests in Squeak3.10.2- 365 run, 365 passes' id 'e3af2d13-7aed-41ad-8788-2ea645f0cace' date '5 January 2011' time '5:03:59 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.9' message '- Squeak portability' id '6895c682-39ad-47d8-8206-2ed1bf117947' date '5 January 2011' time '4:09:03 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.8' message '- add Squeak attributes: #''squeak3.10.x'', #''squeak4.1.x'', and #''squeak4.2.x''' id '00f3028a-51a9-40fc-a409-c015a787779b' date '5 January 2011' time '3:39:28 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.7' message '- implement copyClass:as:inCategory:' id '2962dcae-a27e-4a64-906c-f076ff018c8d' date '18 November 2010' time '4:25:10 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.6' message '- implement copyClass:as:' id '8bc3449c-f0be-43ca-9d20-260ed0059df9' date '18 November 2010' time '3:37:16 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.5' message '- port to Squeak3.10.2-7179-basic' id '9a3caba5-a0cd-42cf-bb29-7b31e9b84fcb' date '5 February 2010' time '4:51:41 pm' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.4' message '- fix Issue 14: http://code.google.com/p/metacello/issues/detail?id=14 Ftp repository for Squeak- add ftp support for Squeak' id 'b30549fa-52cb-424e-a7aa-329b15152b47' date '29 December 2009' time '4:17:21 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.3' message '- needs #initialize method' id 'b0033f12-24a1-4373-8a2c-211ccb6d061e' date '12 October 2009' time '1:30:44 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.2' message '- implement platform utility methods' id 'f4ca5554-cf53-4251-8066-5c2ae813ab09' date '12 October 2009' time '1:28:37 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.1' message '- Squeak-specific metacello support' id '7045edec-ac01-4485-bd21-efac82f0c9ef' date '9 August 2009' time '11:13:57 am' author 'dkh' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())
(name 'Metacello-Platform.squeak-jr.30' message 'override tempFileFor:suffix: for Windows compatibility (Squeak only)' id '31c8a9c5-6d56-d241-905d-d54dd6ee6584' date '14 September 2016' time '5:25:18.069326 pm' author 'jr' ancestors ((name 'Metacello-Platform.squeak-pad.29' message 'Copy Tobais;s fix of the defaultPlatformAttributes' id 'cbcfa346-de50-44ad-8f98-55ae19315ed1' date '21 August 2015' time '9:57:42.682 am' author 'pad' ancestors ((name 'Metacello-Platform.squeak-pad.28' message 'copy tobias''s changes to MetacelloSqueakPlatform>>#defaultPlatformAttributesso Metacello works on Squeak 4.6 & 5.0' id '27bb3ca8-5bb9-40eb-aac1-7c80b39e3c0f' date '21 August 2015' time '9:07:59.587 am' author 'pad' ancestors ((name 'Metacello-Platform.squeak-tfel.27' message 'Issue #277: rename platform downloadFile:to: to downloadZipArchive:to:' id '2c8d0272-2594-4d26-8afe-7af4a6687994' date '14 October 2014' time '5:20:25 pm' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-tfel.26' message 'merged by GitFileTree-MergeDriver' id '2bac8707-a5ba-4095-a6e8-2130e283528b' date '29 September 2014' time '9:54:55 am' author 'tfel' ancestors ((name 'Metacello-Platform.squeak-tfel.25' message '- fix ZipArchive extraction (needs a FileDirectory)- fix trailing slash on Windows' id 'a0fcf7a4-7574-c449-a4a9-23f96c2aec36' date '29 July 2014' time '2:43:09 am' author 'tfel' ancestors ((name 'Metacello-Platform.squeak-tfel.24' message 'Replace commandline tools for downloading and unzipping with WebClient and ZipArchive' id '0b831d53-880b-f341-a1c5-97859962e09b' date '29 July 2014' time '1:54:19 am' author 'tfel' ancestors ((name 'Metacello-Platform.squeak-dkh.23' message 'fix google Issue 184: github zip download failures due to filesystem issues' id '78a6c3b5-5bc8-4089-b5ee-0084b55cb0a1' date '1 July 2013' time '10:25:17 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.22' message 'merge in changes for Metacello-Platform.squeak-dkh.21 and get Metacello-Platform.squeak-dkh.21 into the ancestry ...' id '1214fa6a-315f-4904-8829-794d716288f1' date '5 May 2013' time '3:12 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.18' message 'switch to using #select and #unselect for MetacelloPlatform' id '9c552a06-cfbe-48e6-86ab-7683c5c680d0' date '5 May 2013' time '1:55:23 am' author 'dkh' ancestors () stepChildren ())(name 'Metacello-Platform.squeak-dkh.21' message 'force change in MetacelloSqueakPlatform class>>initiliaze as a temp hack to bootstrap Metacello Preview (see https://github.com/dalehenrich/metacello-work/issues/151)' id 'f52c2c82-fc54-4671-b293-826d29aa7706' date '5 May 2013' time '2:51:38 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.20' message 'really add squeak4.5.x as platform attribute' id '9e83dd3b-4537-45a1-8ed5-b0bef4b6a006' date '5 May 2013' time '2:45:52 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.19' message 'add squeak4.5.x as platform attribute' id '6c4ff447-6495-4955-a3d2-c52053912351' date '5 May 2013' time '2:39:32 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.16' message 'new version for Squeak (Issue #39)' id '08000000-1508-621d-1508-621d14000000' date '27 February 2013' time '5:24:38 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.15' message 'fix for Issue #140 (including patch for introduced gemstone issue)' id '08000000-1508-0418-1508-041814000000' date '25 February 2013' time '5:19:47 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.14' message 'catch up with gemstone port' id '08000000-1508-5c17-1508-5c1714000000' date '10 July 2012' time '12:03:34 pm' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.13' message 'checkpoint Issue #38' id '9aecf4d3-dbba-4b04-91b6-781938a502e3' date '12 June 2012' time '10:18:46 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.12' message 'checkpoint Isue #38' id 'f1f6b9a4-24e7-451c-a699-3bb8900f09fc' date '12 June 2012' time '9:33:39 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.11' message '1.0-beta.32 (dkh.662):- fix Issue 111: progress notification for Squeak http://code.google.com/p/metacello/issues/detail?id=111' id '5cf04623-a4fb-447a-96d8-21978c340f77' date '18 January 2012' time '4:57:04 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.10' message '- passing tests in Squeak3.10.2- 365 run, 365 passes' id 'e3af2d13-7aed-41ad-8788-2ea645f0cace' date '5 January 2011' time '5:03:59 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.9' message '- Squeak portability' id '6895c682-39ad-47d8-8206-2ed1bf117947' date '5 January 2011' time '4:09:03 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.8' message '- add Squeak attributes: #''squeak3.10.x'', #''squeak4.1.x'', and #''squeak4.2.x''' id '00f3028a-51a9-40fc-a409-c015a787779b' date '5 January 2011' time '3:39:28 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.7' message '- implement copyClass:as:inCategory:' id '2962dcae-a27e-4a64-906c-f076ff018c8d' date '18 November 2010' time '4:25:10 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.6' message '- implement copyClass:as:' id '8bc3449c-f0be-43ca-9d20-260ed0059df9' date '18 November 2010' time '3:37:16 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.5' message '- port to Squeak3.10.2-7179-basic' id '9a3caba5-a0cd-42cf-bb29-7b31e9b84fcb' date '5 February 2010' time '4:51:41 pm' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.4' message '- fix Issue 14: http://code.google.com/p/metacello/issues/detail?id=14 Ftp repository for Squeak- add ftp support for Squeak' id 'b30549fa-52cb-424e-a7aa-329b15152b47' date '29 December 2009' time '4:17:21 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.3' message '- needs #initialize method' id 'b0033f12-24a1-4373-8a2c-211ccb6d061e' date '12 October 2009' time '1:30:44 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.2' message '- implement platform utility methods' id 'f4ca5554-cf53-4251-8066-5c2ae813ab09' date '12 October 2009' time '1:28:37 am' author 'dkh' ancestors ((name 'Metacello-Platform.squeak-dkh.1' message '- Squeak-specific metacello support' id '7045edec-ac01-4485-bd21-efac82f0c9ef' date '9 August 2009' time '11:13:57 am' author 'dkh' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())
Expand Down

0 comments on commit 59d9841

Please sign in to comment.