Permalink
Browse files

Merge branch 'master' of https://github.com/D-Programming-Language/ph…

  • Loading branch information...
2 parents b75a7c9 + 7182ed4 commit c9be051fcfdb3e02145c5db8d04dfedf2c6150c2 Matthias Walter committed Jul 9, 2012
Showing with 4,703 additions and 917 deletions.
  1. +18 −5 changelog.dd
  2. +0 −2 crc32.d
  3. +5 −7 posix.mak
  4. +147 −102 std/algorithm.d
  5. +3 −3 std/array.d
  6. +35 −7 std/bigint.d
  7. +119 −135 std/complex.d
  8. +635 −12 std/container.d
  9. +25 −32 std/conv.d
  10. +6 −1 std/cpuid.d
  11. +4 −4 std/datetime.d
  12. +0 −11 std/encoding.d
  13. +1 −1 std/exception.d
  14. +3 −3 std/file.d
  15. +39 −23 std/format.d
  16. +0 −128 std/hash/crc32.d
  17. +6 −4 std/internal/math/biguintcore.d
  18. +54 −17 std/internal/uni.d
  19. +31 −4 std/json.d
  20. +7 −1 std/math.d
  21. +0 −9 std/metastrings.d
  22. +2 −2 std/mmfile.d
  23. +2 −2 std/parallelism.d
  24. +1 −1 std/path.d
  25. +2 −1 std/perf.d
  26. +208 −27 std/random.d
  27. +813 −15 std/range.d
  28. +203 −18 std/signals.d
  29. +13 −21 std/socket.d
  30. +6 −6 std/stdio.d
  31. +9 −9 std/stream.d
  32. +361 −92 std/string.d
  33. +220 −9 std/traits.d
  34. +3 −150 std/typecons.d
  35. +88 −3 std/utf.d
  36. +1,581 −0 std/uuid.d
  37. +1 −1 std/variant.d
  38. +26 −26 std/xml.d
  39. +2 −1 unittest.d
  40. +24 −22 win32.mak
View
@@ -1,20 +1,28 @@
$(VERSION 060, ddd mm, 2012, =================================================,
$(WHATSNEW
+ $(LI std.string: $(RED The current implementations of std.string.format and string.sformat are
+ scheduled to be replaced in November 2012 with improved implementations
+ which conform to writef. In some, rare cases, this will break code.
+ Please see the documentation for std.string.format and std.string.sformat for details.))
+ $(LI std.bitmanip: Added peek, read, write, and append for converting
+ ranges of bytes to and from integral types.)
$(LI Added std.file.tempDir which returns the path to a directory
where a program can put temporary files.)
$(LI std.process: Added escapeShellCommand, escapeShellFileName, and
escapeWindowsArgument. Documented browse function.)
- $(LI std.string: Added xformat and xsformat, they are compatible with writef.)
- $(LI Capitalized std.traits.pointerTarget to PointerTarget. Old one is
- scheduled for deprecation.)
+ $(LI std.range: Added RefRange, which effectively makes it possible to
+ pass a range by reference.)
$(LI std.traits: Added KeyType, ValueType, isScalarType, isBasicType, and
SetFunctionAttributes templates.)
- $(LI std.bitmanip: Added peek, read, write, and append for converting
- ranges of bytes to and from integral types.)
+ $(LI std.utf: Added overload of codeLength which operates on a string.)
+ $(LI Capitalized std.traits.pointerTarget to PointerTarget. Old one is
+ scheduled for deprecation.)
$(LI The overloads of std.conv.to which were scheduled for deprecation
because formattedWrite replaced them have now been deprecated.
Please use std.format.formattedWrite instead.)
+ $(LI UtfException - which was scheduled for deprecation - has been deprecated.
+ Please use UTFException instead.)
$(LI The deprecated overloads of std.array.insert and std.array.replace
have been removed. Please use insertInPlace and replaceInPlace instead.)
$(LI The deprecated toISOExtendedString and fromISOExtendedString
@@ -54,6 +62,7 @@ $(VERSION 060, ddd mm, 2012, =================================================,
$(LI $(BUGZILLA 7919): Sample code works on GDC but fails with DMD)
$(LI $(BUGZILLA 7937): Range iota.Result should be const where possible)
$(LI $(BUGZILLA 7944): std.range.iota.popFront() cycles when the range is empty)
+ $(LI $(BUGZILLA 7948): std.range.zip broken with requireSameLength)
$(LI $(BUGZILLA 7962): std.regex: Captures.length() returns incorrect value)
$(LI $(BUGZILLA 7975): Incorrect quotes escaping in std.format)
$(LI $(BUGZILLA 7982): unsigned reverse iota broken)
@@ -66,13 +75,17 @@ $(VERSION 060, ddd mm, 2012, =================================================,
$(LI $(BUGZILLA 8055): [Regression 2.059] std.algorithm.move corrupts moved object field)
$(LI $(BUGZILLA 8057): std.algorithm.move cannot use for nested struct)
$(LI $(BUGZILLA 8080): 'alias this' causes toString to be shadowed by aliased object)
+ $(LI $(BUGZILLA 8158): std.algorithm.min fails to compile with user-defined types)
$(LI $(BUGZILLA 8187): replaceFirst doesn't work for string[] haystack)
$(LI $(BUGZILLA 8112): std.algorithm.fill must accept InputRange)
$(LI $(BUGZILLA 8171): Broken std.algorithm.move for nested struct has no member)
$(LI $(BUGZILLA 8195): Segfault when comparing a VariantN to a non-variant type which it holds)
$(LI $(BUGZILLA 8203): Use of std.regex.match() generates "not enough preallocated memory" error)
$(LI $(BUGZILLA 8233): std.array.array fails to compile with ranges of immutable elements which have a length property)
$(LI $(BUGZILLA 8240): std.algorithm.joiner and empty inputRangeObject)
+ $(LI $(BUGZILLA 8264): [std.conv.to] constructing conversion doesn't work with alias this)
+ $(LI $(BUGZILLA 8310): writeln of Range of fixed size array)
+ $(LI $(BUGZILLA 8323): std.string.chompPrefix does not handle differing string types properly)
)
)
View
@@ -14,8 +14,6 @@
// CRC-32 calculation
module crc32;
-pragma(msg, "The 'crc32' module has been scheduled for deprecation. Please use 'std.hash.crc32' instead.");
-
private immutable uint[256] crc32_table =
[
0x00000000,0x77073096,0xee0e612c,0x990951ba,0x076dc419,0x706af48f,0xe963a535,
View
@@ -54,7 +54,7 @@ DOCSRC = ../d-programming-language.org
WEBSITE_DIR = ../web
DOC_OUTPUT_DIR = $(WEBSITE_DIR)/phobos-prerelease
BIGDOC_OUTPUT_DIR = /tmp
-SRC_DOCUMENTABLES = index.d $(addsuffix .d,$(STD_MODULES) $(STD_NET_MODULES) $(STD_HASH_MODULES) $(EXTRA_DOCUMENTABLES))
+SRC_DOCUMENTABLES = index.d $(addsuffix .d,$(STD_MODULES) $(STD_NET_MODULES) $(EXTRA_DOCUMENTABLES))
STDDOC = $(DOCSRC)/std.ddoc
BIGSTDDOC = $(DOCSRC)/std_consolidated.ddoc
DDOCFLAGS=-m$(MODEL) -d -c -o- -version=StdDdoc -I$(DRUNTIME_PATH)/import $(DMDEXTRAFLAGS)
@@ -112,7 +112,7 @@ DFLAGS := -I$(DRUNTIME_PATH)/import $(DMDEXTRAFLAGS) -w -d -property -m$(MODEL)
ifeq ($(BUILD),debug)
DFLAGS += -g -debug
else
- DFLAGS += -O -release -nofloat
+ DFLAGS += -O -release
endif
# Set DOTOBJ and DOTEXE
@@ -158,12 +158,10 @@ STD_MODULES = $(addprefix std/, algorithm array ascii base64 bigint \
metastrings mmfile numeric outbuffer parallelism path perf \
process random range regex regexp signals socket socketstream \
stdint stdio stdiobase stream string syserror system traits \
- typecons typetuple uni uri utf variant xml zip zlib)
+ typecons typetuple uni uri utf uuid variant xml zip zlib)
STD_NET_MODULES = $(addprefix std/net/, isemail curl)
-STD_HASH_MODULES = $(addprefix std/hash/, crc32)
-
# OS-specific D modules
EXTRA_MODULES_LINUX := $(addprefix std/c/linux/, linux socket)
EXTRA_MODULES_OSX := $(addprefix std/c/osx/, socket)
@@ -186,7 +184,7 @@ EXTRA_MODULES += $(EXTRA_DOCUMENTABLES) $(addprefix \
processinit uni uni_tab)
# Aggregate all D modules relevant to this build
-D_MODULES = $(STD_MODULES) $(EXTRA_MODULES) $(STD_NET_MODULES) $(STD_HASH_MODULES)
+D_MODULES = crc32 $(STD_MODULES) $(EXTRA_MODULES) $(STD_NET_MODULES)
# Add the .d suffix to the module names
D_FILES = $(addsuffix .d,$(D_MODULES))
# Aggregate all D modules over all OSs (this is for the zip file)
@@ -277,7 +275,7 @@ clean :
rm -rf $(ROOT_OF_THEM_ALL) $(ZIPFILE) $(DOC_OUTPUT_DIR)
zip :
- zip $(ZIPFILE) $(MAKEFILE) $(ALL_D_FILES) $(ALL_C_FILES)
+ zip $(ZIPFILE) $(MAKEFILE) $(ALL_D_FILES) $(ALL_C_FILES) win32.mak
install : release
sudo cp $(LIB) /usr/lib/
Oops, something went wrong.

0 comments on commit c9be051

Please sign in to comment.