Andrej Mitrovic
26de06e404
Move templates below OriginalType
2012-04-19 04:08:41 +02:00
Andrej Mitrovic
41fc17ee6b
Change unittest and add static assert to examples.
2012-04-19 03:48:07 +02:00
Andrej Mitrovic
a7148b3bb5
Merge remote-tracking branch 'upstream/master' into KeyTypeValueType
2012-04-19 03:43:06 +02:00
Vladimir Panteleev
f25f1f7f41
std.regex: Fix math in replace example
...
Not only was the sum of two numbers incorrect, but the replace
operation seemingly added 100 to the result as well ;)
2012-04-18 18:51:03 +03:00
deadalnix
5aba76a9ad
Merge branch 'master' of git://github.com/D-Programming-Language/phobos into isbuiltin
2012-04-18 12:58:44 +02:00
Hara Kenji
071aa17bbc
Merge pull request #454 from CyberShadow/phobos-lib-macro
...
win32.mak: Turn phobos.lib into a macro
2012-04-18 02:33:08 -07:00
Hara Kenji
0b3ca98123
Merge pull request #533 from alexrp/master
...
Make $(DMD) properly configurable.
2012-04-18 01:03:17 -07:00
k-hara
e3cfaeb005
fix Issue 7919 - Sample code works on GDC but fails with DMD
2012-04-17 18:01:04 +09:00
nhkcon
99405cfd49
fix simple example
2012-04-16 00:27:40 +03:00
Hara Kenji
9b8abdbaa4
Merge pull request #476 from jmaschme/fixModuleNameWithNoPackage
...
Modified moduleName trait to only include the package name if it is valid
2012-04-15 06:16:29 -07:00
Hara Kenji
da44d0b006
Merge pull request #525 from denis-sh/remove-workarounds-for-2986
...
Removed workarounds for resolved bug 2986
2012-04-15 05:03:47 -07:00
Hara Kenji
e666b6c806
Merge pull request #526 from denis-sh/fix-pointerTarget-name
...
Capitalize `pointerTarget`'s first letter
2012-04-15 01:05:24 -07:00
Hara Kenji
dd26e99da8
Merge pull request #524 from denis-sh/improve-variadicFunctionStyle-and-isIterable
...
Small improvements not changing the functionality
2012-04-15 01:04:13 -07:00
Kato Shoichi
022808fa68
Merge pull request #519 from NilsBossung/std.path_deprecations
...
std.path deprecations
2012-04-14 02:11:57 -07:00
Andrei Alexandrescu
c8ca17c6c6
Merge branch 'master' of github.com:D-Programming-Language/phobos
2012-04-13 22:06:43 -05:00
Andrei Alexandrescu
be4bdc5dfa
Fix documentation build
2012-04-13 22:05:29 -05:00
James Miller
ad092c3238
Fixed up singleSpec Documentation
2012-04-13 21:07:33 +12:00
James Miller
867d5e29d3
Adds singleSpec to std.format
...
Adds a helper function for geting the format spec for a single format
specifier
2012-04-13 20:58:55 +12:00
James Miller
a033f3b191
Added vim swap files to gitignore
2012-04-13 20:12:46 +12:00
James Miller
cda3c079ee
Improvements to std.format documentation
2012-04-13 20:12:12 +12:00
Nils Boßung
2f247b28fa
sep (deprecated) -> dirSeparator
2012-04-13 09:56:26 +02:00
alexrp
52b133b62f
Make $(DMD) properly configurable.
2012-04-11 01:47:47 +02:00
Walter Bright
d862f1f078
Merge pull request #532 from 9rnsr/fix_pointer_fmt
...
Issue 7869 - Cannot format pointer of struct has toString member function
2012-04-08 23:58:23 -07:00
k-hara
9e37c2aecc
fix Issue 7869 - Cannot format pointer of struct has toString member function
2012-04-09 14:32:23 +09:00
k-hara
a6095fc9f3
Add new xformat and xsformat, they use formattedWrite as well as like writef family.
2012-04-09 02:13:00 +09:00
k-hara
affd4922f2
formattedWrite and formattedRead returns the number of formatted arguments
2012-04-09 02:13:00 +09:00
k-hara
f86d87e439
Change to one format string and following formatted arguments
2012-04-09 02:11:46 +09:00
Masahiro Nakagawa
eec836074e
Merge pull request #531 from 9rnsr/fix7857
...
Issue 7857 - File#write formats enum as a boolean.
2012-04-08 09:21:06 -07:00
k-hara
a153ac3f3b
fix Issue 7857 - File#write formats enum as a boolean.
2012-04-09 00:24:47 +09:00
Andrei Alexandrescu
2a8f28131c
Fix hardcoded deleteme dir entry
2012-04-07 20:49:38 -05:00
Andrei Alexandrescu
d2a605d8ec
Merge pull request #398 from jpf91/isRNG
...
Add isRandomNumberGenerator template
2012-04-07 13:37:54 -07:00
Andrei Alexandrescu
d6d9fe0860
Merge pull request #528 from jcd/curlfixes
...
Fixes for libcurl FTP wrapper
2012-04-07 13:32:58 -07:00
Jonas Drewsen
be9cbd854f
Automatically add protocol if not present to improve protocol detection.
...
Set upload curl option on FTP file uploads
2012-04-07 22:05:22 +02:00
Ellery Newcomer
f1566faeaf
fix issue 7022
...
fix issue 7831
detach sets p=null, which makes it kind of hard for the destructor
to actually close the file or decrement the reference count.
2012-04-07 11:08:34 -05:00
Denis Shelomovskij
20420759cb
Capitalize pointerTarget
's first letter
2012-04-07 16:40:23 +04:00
Denis Shelomovskij
dc6c8c6c93
Removed workarounds for resolved bug 2986
2012-04-07 14:20:38 +04:00
Denis Shelomovskij
0f9ecb9044
Small improvements not changing the functionality
...
* get rid of `determineVariadicity` private function
* make `isIterable` template shorter
2012-04-07 14:05:00 +04:00
Denis Shelomovskij
92ea4946b8
Change C++ style CT test to D style, make unittests CT
2012-04-07 13:42:28 +04:00
Walter Bright
8fda49a93b
more nothrow
2012-04-06 16:26:42 -07:00
Dmitry Olshansky
4fd562bbc6
fix isTwoWay compatible predicate
2012-04-05 19:43:17 +04:00
Nils Boßung
55d89dcad1
move the import of onOutOfMemoryError out of the deprecated section
...
outOfMemoryError is in use by undeprecated code, and it's not deprecated
itself either
2012-04-04 20:19:44 +02:00
Nils Boßung
dfe83f155d
sep (deprecated) -> dirSeparator
2012-04-04 20:19:24 +02:00
Vladimir Panteleev
dff1cc17d1
std.datetime: Remove redundant SYSTEMTIME step when converting FILETIME
...
Both FILETIME and SysTime store time as the number of elapsed hnsecs
since a certain (different) epoch. Therefore, the optimal way to convert
between the two would be simply adding/subtracting the epoch difference.
This is not what std.datetime used to do - instead, FILETIME values
were converted to SYSTEMTIME (a structure with year/month/day/etc.
fields), and then created the SysTime result from that (and vice-versa),
which was very inefficient.
The "add epoch difference" method was already used in SysTime.currStdTime.
It has been refactored out and used in FILETIME conversion functions.
2012-04-04 18:00:49 +03:00
deadalnix
5969d63723
Renaming of isBuiltin to isBasicType and addition of isScalarType
2012-04-04 14:23:51 +02:00
deadalnix
feb2c30a83
Add isBuiltin to detect builtin types.
2012-04-03 21:08:20 +02:00
Jacob Carlborg
c71052bbf8
Fix: Incorrect indentation using std.xml.pretty.
...
When an attribute contains a multibyte string std.xml.pretty
incorrectly indent the tag.
2012-04-02 20:51:00 +02:00
jmdavis
b13e568f65
Added missing deprecation note to changelog.
2012-04-01 21:36:51 -07:00
k-hara
64a498da50
Update changelog.dd for 2.059 release.
2012-04-01 19:53:52 +09:00
jmdavis
04c39de6af
Added notes on deprecations for 2.059 to changelog.
2012-03-31 18:58:49 -07:00
Vladimir Panteleev
ffd3752a2e
std.md5: Lower buffer size in mdFile example
...
When trying to use the function from the example as-is on a large
directory tree, the D program will quickly run out of memory due
to false pointers on 32-bit machines (File.byChunk will allocate
a new buffer for every file).
2012-03-31 20:02:07 +03:00