alexrp
aaaca447cc
Make generated accessor for bitfields @safe pure nothrow.
2012-05-13 23:14:06 +02:00
Brad Roberts
a47332ca0d
Merge pull request #540 from 9rnsr/fix7919
...
Issue 7919 - Sample code works on GDC but fails with DMD
2012-05-12 10:32:26 -07:00
Hara Kenji
c27262cdb9
Merge pull request #536 from Aatch/std-format-changes
...
Std format changes
2012-05-12 02:52:19 -07:00
Jonathan M Davis
98b34a285a
Merge pull request #556 from dawgfoto/improveRBTree
...
Improve rb tree
2012-05-11 10:37:40 -07:00
Hara Kenji
84218d3e1e
Merge pull request #570 from denis-sh/scoped-bug6580-fix
...
Fix Issue 6580 - scoped classes are aligned incorrectly
2012-05-08 23:41:32 -07:00
Kato Shoichi
892038953d
Merge pull request #572 from 9rnsr/fix_move
...
Issue 8055 & 8057 - Fix std.algorithm.move issues
2012-05-08 10:13:12 -07:00
k-hara
9d02596a50
Optimize unary move().
2012-05-09 01:22:13 +09:00
Andrei Alexandrescu
36f5539e0a
Merge pull request #557 from Chabsf/master
...
Issue 4744: std.conv: string->enum doesn't look for longer match
2012-05-07 20:38:25 -07:00
k-hara
af50634ea7
Use endsWith.
2012-05-08 09:45:53 +09:00
Denis Shelomovskij
2503b18d1c
Fix Issue 6580 - scoped classes are aligned incorrectly
2012-05-07 23:08:36 +04:00
Hara Kenji
cc636bea73
Merge pull request #569 from denis-sh/scoped-bug8039-fix
...
Fix Issue 8039 - `scoped` doesn't call any elaborate destructors for struct fields
2012-05-07 09:36:12 -07:00
Denis Shelomovskij
273eb21226
Fix Issue 8039 - scoped
doesn't call any elaborate destructors for struct fields
...
Phobos isn't a place for runtime stuff like `destroy`. And Phobos developers aren't people who should write/check such stuff.
2012-05-07 15:51:25 +04:00
Hara Kenji
0e42d76509
Merge pull request #568 from denis-sh/hasElaborateDestructor-fix
...
Fix Issue 8037 - hasElaborateDestructor is false for non-zero-length static array of structs with elaborate destructor
2012-05-06 23:57:10 -07:00
k-hara
dc6fb32f87
fix Issue 8057 - std.algorithm.move cannot use for nested struct
2012-05-07 12:33:24 +09:00
k-hara
279963c9d0
fix Issue 8055 - std.algorithm.move corrupts moved object field
2012-05-07 12:05:01 +09:00
Denis Shelomovskij
a6e38e3472
Fix Issue 8037 - hasElaborateDestructor is false for non-zero-length static array of structs with elaborate destructor
2012-05-06 19:10:24 +04:00
Jonathan M Davis
5bbfed888b
Merge pull request #523 from denis-sh/improve-isInfinite
...
Change C++ style CT test to D style, make unittests CT
2012-05-06 01:10:11 -07:00
Jonathan M Davis
88d00a04b9
Merge pull request #516 from jacob-carlborg/xml
...
Fix: Incorrect indentation using std.xml.pretty.
2012-05-06 00:59:33 -07:00
Jonathan M Davis
ee4d7c36e8
Merge pull request #514 from CyberShadow/std-md5-example-bufsize
...
std.md5: Lower buffer size in mdFile example
2012-05-06 00:57:57 -07:00
Jonathan M Davis
cf2edb613a
Merge pull request #513 from CyberShadow/std-file-windows-attributes
...
std.file: Use GetFileAttributesEx to query file attributes on Windows
2012-05-06 00:56:50 -07:00
Jonathan M Davis
2f27238833
Merge pull request #538 from nhkcon/patch-1
...
fix simple example
2012-05-03 21:55:50 -07:00
Jonathan M Davis
93c92e1295
Merge pull request #560 from kyllingstad/tempdir
...
std.file.tempDir()
2012-05-03 21:38:55 -07:00
Denis Shelomovskij
350a8f263d
Do not call getcwd
(or other base
) in absolutePath
and relativePath
if not needed.
2012-05-03 17:37:19 +04:00
Lars T. Kyllingstad
9522e7bc62
Removed superfluous 'static'
...
It was left over from an attempt to declare a WinAPI function inside a D
function (which unfortunately didn't work).
2012-05-03 01:52:30 +02:00
Lars T. Kyllingstad
87dfaa82db
Merge pull request #564 from donc/bigint8011
...
Fix issue 8011 BigInt ++ and -- do wrong thing on negative numbers
2012-05-02 16:44:48 -07:00
Lars T. Kyllingstad
b630804e81
Fix broken std.file.rmdirRecurse() unittest
...
'ln' gave an error, because "/tmp" is already included in deleteme.
2012-05-03 01:15:49 +02:00
Lars T. Kyllingstad
4204c32532
Removed the tempFile() unittest
...
This is mainly because it could be nice to use tempFile() in other
unittests. Since tempFile() caches its return value, it would return
the test value ("/") for any other unittest that follows it.
Alternatively, if the other unittest(s) get run first, tempFile()'s
would fail.
2012-05-03 01:05:39 +02:00
Lars T. Kyllingstad
ccede5e9e6
Made tempPath() use Win API function GetTempPath()
2012-05-03 00:15:39 +02:00
Don Clugston
bd72ae7d36
Fix issue 8011 BigInt ++ and -- do wrong thing on negative numbers
...
Patch by Ary Borenszweig
2012-05-02 20:40:14 +02:00
k-hara
c1aa44b250
Revert a part of pull #558
2012-05-02 23:54:21 +09:00
Sean Kelly
6364c4e622
Merge pull request #562 from alexrp/master
...
Kill some public imports of core.sync.* in std.concurrency.
2012-05-01 23:43:47 -07:00
David Simcha
c98ef58218
Merge pull request #558 from kyllingstad/std-path-improvements
...
std.path improvements
2012-05-01 19:53:18 -07:00
alexrp
539134396a
Kill some public imports of core.sync.* in std.concurrency.
2012-05-02 04:46:54 +02:00
David Simcha
17c1e3f3d1
Merge pull request #554 from jmdavis/joiner
...
Added documentation to undocumented overload of std.algorithm.joiner.
2012-05-01 19:23:32 -07:00
Lars T. Kyllingstad
48cd943bf5
Added std.file.tempDir()
2012-05-01 14:04:39 +02:00
Lars T. Kyllingstad
a0cb29e077
std.path: Note all memory allocations in docs
...
Most functions represent simple and cheap string-slicing operations. In
some cases, however, new memory must be allocated, and this increases
the cost of the operation by orders of magnitude. As some of these
cases may not be very obvious, I think it is best they are explicitly
mentioned in the documentation.
2012-05-01 09:10:08 +02:00
Lars T. Kyllingstad
6813b56d9f
More consistent std.path docs
...
Specifically, the documentation for all functions is now written in
descriptive rather than imperative form.
2012-05-01 08:05:37 +02:00
Lars T. Kyllingstad
4f598ffcb0
std.path: Added more function attributes
...
Improvements in the compiler have made it possible to fix some old
TODOs.
2012-04-30 23:31:50 +02:00
Francois Chabot
07d34c1ae0
Fix for BUG 4744, enum parsing will now test every member and select the one with the longest matching string
2012-04-29 19:58:03 -07:00
Vladimir Panteleev
e4a6e1b928
std.file: Disable Windows file creation time test
...
Deleting and immediately recreating a file doesn't seem to
always reset the file creation time.
2012-04-29 17:33:33 +03:00
Vladimir Panteleev
85c062fc70
Merge branch 'master' into std-file-windows-attributes
...
Conflicts:
std/file.d
2012-04-29 17:32:05 +03:00
dawg
afbc6f1df7
avoid performance penalty for scope (success)
2012-04-29 15:03:21 +02:00
Jonathan M Davis
cd0ce7df2b
Merge pull request #521 from blackwhale/fix-doc
...
fix isTwoWay compatible description and implementation
2012-04-29 00:34:50 -07:00
Jonathan M Davis
b08a0f90c6
Merge pull request #457 from CyberShadow/std-process-command-escaping
...
std.process: Command escaping functions
2012-04-29 00:29:23 -07:00
jmdavis
2b9d1552b3
Added documentation to undocumented overload of std.algorithm.joiner.
2012-04-28 02:24:02 -07:00
Denis Shelomovskij
4430ee9a47
fix Issue 7975 - Incorrect quotes escaping in std.format
2012-04-23 19:45:22 +04:00
Hara Kenji
2cdd101ddb
Merge pull request #546 from Aatch/std-algoritm-skipOver
...
Fix and improvements to skipOver unitttests
2012-04-22 23:06:09 -07:00
James Miller
7ee38df89f
Only unittest changes now
2012-04-23 16:21:11 +12:00
David Simcha
9233d3d20d
Merge pull request #545 from eco/iota-pop-empty
...
fix Issue 7944 - std.range.iota.popFront() cycles when the range is empty
2012-04-22 18:02:17 -07:00
David Simcha
b1252f35af
Merge pull request #547 from eco/iota-unsigned-odd
...
fix Issue 6222 - A problem with iota() using size_t
2012-04-22 17:52:56 -07:00