Changeset 232
- Timestamp:
- 09/07/11 00:01:01 (9 months ago)
- Files:
-
- trunk/src/semitwist/apps/miniapps/echo/main.d (modified) (1 diff)
- trunk/src/semitwist/apps/miniapps/ini2urlencode/main.d (modified) (1 diff)
- trunk/src/semitwist/apps/miniapps/pwd/main.d (modified) (1 diff)
- trunk/src/semitwist/apps/miniapps/seterrorlevel/main.d (modified) (1 diff)
- trunk/src/semitwist/apps/miniapps/showargs/main.d (modified) (1 diff)
- trunk/src/semitwist/apps/samples/cmdSample/main.d (modified) (1 diff)
- trunk/src/semitwist/apps/stmanage/stbuild/conf.d (modified) (1 diff)
- trunk/src/semitwist/apps/stmanage/stbuild/main.d (modified) (1 diff)
- trunk/src/semitwist/apps/tests/cmdparsertest/main.d (modified) (1 diff)
- trunk/src/semitwist/apps/tests/deferAssertTest/main.d (modified) (1 diff)
- trunk/src/semitwist/apps/tests/unittests/main.d (modified) (1 diff)
- trunk/src/semitwist/util/all.d (modified) (1 diff)
- trunk/src/semitwist/util/text.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/semitwist/apps/miniapps/echo/main.d
r227 r232 12 12 semitwist.cmd.CommandLine, can't launch it. 13 13 14 This has been tested to work with DMD 2.052 through 2.05 414 This has been tested to work with DMD 2.052 through 2.055 15 15 +/ 16 16 trunk/src/semitwist/apps/miniapps/ini2urlencode/main.d
r227 r232 17 17 - There is no way to embed a newline in the name or value. 18 18 19 This has been tested to work with DMD 2.052 through 2.05 419 This has been tested to work with DMD 2.052 through 2.055 20 20 +/ 21 21 trunk/src/semitwist/apps/miniapps/pwd/main.d
r227 r232 10 10 So this might occasionally be useful. 11 11 12 This has been tested to work with DMD 2.052 through 2.05 412 This has been tested to work with DMD 2.052 through 2.055 13 13 +/ 14 14 trunk/src/semitwist/apps/miniapps/seterrorlevel/main.d
r227 r232 13 13 and set the errorlevel to 1. 14 14 15 This has been tested to work with DMD 2.052 through 2.05 415 This has been tested to work with DMD 2.052 through 2.055 16 16 +/ 17 17 trunk/src/semitwist/apps/miniapps/showargs/main.d
r227 r232 7 7 $(WEB www.semitwist.com, Nick Sabalausky) 8 8 9 This has been tested to work with DMD 2.052 through 2.05 49 This has been tested to work with DMD 2.052 through 2.055 10 10 +/ 11 11 trunk/src/semitwist/apps/samples/cmdSample/main.d
r227 r232 7 7 $(WEB www.semitwist.com, Nick Sabalausky) 8 8 9 This has been tested to work with DMD 2.052 through 2.05 49 This has been tested to work with DMD 2.052 through 2.055 10 10 +/ 11 11 trunk/src/semitwist/apps/stmanage/stbuild/conf.d
r231 r232 421 421 mixin(initMember("conf", "filename")); 422 422 423 if(!exists(filename) || !is file(filename))423 if(!exists(filename) || !isFile(filename)) 424 424 throw new STBuildConfException( 425 425 "Can't find configuration file '%s'".format(filename) trunk/src/semitwist/apps/stmanage/stbuild/main.d
r231 r232 7 7 $(WEB www.semitwist.com, Nick Sabalausky) 8 8 9 This has been tested to work with DMD 2.052 through 2.05 49 This has been tested to work with DMD 2.052 through 2.055 10 10 +/ 11 11 trunk/src/semitwist/apps/tests/cmdparsertest/main.d
r227 r232 7 7 $(WEB www.semitwist.com, Nick Sabalausky) 8 8 9 This has been tested to work with DMD 2.052 through 2.05 49 This has been tested to work with DMD 2.052 through 2.055 10 10 +/ 11 11 trunk/src/semitwist/apps/tests/deferAssertTest/main.d
r227 r232 9 9 Make sure to pass "-debug=deferAssertTest_unittest" to DMD. 10 10 11 This has been tested to work with DMD 2.052 through 2.05 411 This has been tested to work with DMD 2.052 through 2.055 12 12 +/ 13 13 trunk/src/semitwist/apps/tests/unittests/main.d
r227 r232 9 9 This runs the SemiTwist D Tools unit tests. 10 10 11 This has been tested to work with DMD 2.052 through 2.05 411 This has been tested to work with DMD 2.052 through 2.055 12 12 +/ 13 13 trunk/src/semitwist/util/all.d
r216 r232 6 6 $(WEB www.semitwist.com, Nick Sabalausky) 7 7 8 This has been tested to work with DMD 2.052 8 This has been tested to work with DMD 2.052 through 2.055 9 9 10 10 In SVN comments: trunk/src/semitwist/util/text.d
r230 r232 775 775 Endian endianOf(BOM bom) 776 776 { 777 final switch(bom) 778 { 779 case BOM.UTF8: return endian; 780 case BOM.UTF16LE, BOM.UTF32LE: return Endian.LittleEndian; 781 case BOM.UTF16BE, BOM.UTF32BE: return Endian.BigEndian; 777 // DMD 2.055 changed "LittleEndian" to "littleEndian", etc... 778 static if(__traits(compiles, Endian.littleEndian)) 779 { 780 final switch(bom) 781 { 782 case BOM.UTF8: return endian; 783 case BOM.UTF16LE, BOM.UTF32LE: return Endian.littleEndian; 784 case BOM.UTF16BE, BOM.UTF32BE: return Endian.bigEndian; 785 } 786 } 787 else 788 { 789 final switch(bom) 790 { 791 case BOM.UTF8: return endian; 792 case BOM.UTF16LE, BOM.UTF32LE: return Endian.LittleEndian; 793 case BOM.UTF16BE, BOM.UTF32BE: return Endian.BigEndian; 794 } 782 795 } 783 796 }
