KennyTM~
1708e5589f
std.typecons.Nullable: Fix doc typo.
2011-07-25 14:22:06 +08:00
KennyTM~
d357cc6e70
Merge branch 'master' of git://github.com/D-Programming-Language/phobos into nullable
2011-07-25 03:13:52 +08:00
Jonathan M Davis
282cd1412c
Merge pull request #123 from jmdavis/utfz
...
Implemented toUTFz.
2011-07-23 13:53:54 -07:00
KennyTM~
8ffcb34c00
Re-enable std.typecons.Nullable and NullableRef
2011-07-22 18:36:03 +08:00
jmdavis
de1b1a651b
Revert "add module to deal with browsers"
...
This reverts commit 8fef7afec6
.
2011-07-21 20:08:08 -07:00
jmdavis
31cd426744
Revert "fix build fail on OSX"
...
This reverts commit a3073f8a58
.
2011-07-21 20:08:05 -07:00
jmdavis
2c6cf1db68
Revert "fix memory leak"
...
This reverts commit 44ee619089
.
2011-07-21 20:07:49 -07:00
Jonathan M Davis
830537e508
Merge pull request #36 from denis-sh/patch-1
...
WOW64 deleteKey support and issue 5888 fix
2011-07-20 23:28:09 -07:00
Andrei Alexandrescu
10556b45c8
Merge pull request #149 from kennytm/bug5547_assertPred_workaround4737
...
Bug 5547: assertPred (workaround bug 4737)
2011-07-20 12:29:07 -07:00
Andrei Alexandrescu
d2541785e7
Merge pull request #151 from cristicbz/iss6194
...
Issue 6194 - [GSoC] Destructor gets called on object before it is copied when calling writeln()
2011-07-20 12:26:48 -07:00
Walter Bright
44ee619089
fix memory leak
2011-07-20 12:23:00 -07:00
Walter Bright
a3073f8a58
fix build fail on OSX
2011-07-20 11:14:11 -07:00
Walter Bright
8fef7afec6
add module to deal with browsers
2011-07-19 15:29:43 -07:00
David Simcha
1ed022b7ae
This really should be private.
2011-07-19 11:31:19 -07:00
Cristi Cobzarenco
59e0ad77fd
Fixed ISSUE 6194 in std.format.formattedWrite
2011-07-19 15:07:05 +02:00
dsimcha
3d0f0ea448
Apparently core.memory still needs to be in the std.stdio imports.
2011-07-18 22:54:40 -04:00
KennyTM~
43a8ad9ab4
Workaround bug 4737, because a typeid is introduced implicitly by the new assert.
2011-07-18 22:44:34 +08:00
KennyTM~
32d24ea24d
std.file.read: Create the uinitialized arrays using ubyte[] to ensure NO_SCAN after commit 78ace9c
2011-07-17 15:41:14 +08:00
KennyTM~
58d638f14b
Merge branch 'master' into uninitializedArray
2011-07-17 14:18:04 +08:00
David Simcha
0aa531b842
Re-comment the @disable line because somehow the NRVO patch still didn't fix it.
2011-07-16 16:12:35 -07:00
David Simcha
8875d02c44
Uncomment Task's disabled copy constructor and remove bug documentation now that full spec NRVO is implemented.
2011-07-16 16:00:34 -07:00
David Simcha
55fc7a2154
Merge pull request #146 from jmdavis/join
...
Issue 6064: std.array.join is unnecessarily slow for strings
2011-07-16 15:47:33 -07:00
David Simcha
bded0b2359
Merge pull request #143 from jmdavis/array
...
Made std.array.replace work with immutable arrays again.
2011-07-16 15:41:11 -07:00
dsimcha
78ace9ce8b
Fix unlisted bug in blockAttribute: uninitializedArray allocates unscanned arrays when allocating a void[].
2011-07-16 18:31:54 -04:00
jmdavis
ed6ede2e1c
Split out std.array.join into join and joinImpl.
...
The idea is to make the template constraint match exactly what the user
needs to instantiate it rather than seeing the more complex template
constraints that the various overloads of join have. Not that the
resulting template constraint is altogether short either, but it's now
the bare minimum which all join overloads must match rather than
including the specifics necessary to distinguish each overload.
2011-07-16 00:31:53 -07:00
jmdavis
fc51d8654e
Optimized std.array.join for arrays.
...
http://d.puremagic.com/issues/show_bug.cgi?id=6064
2011-07-16 00:31:46 -07:00
Denis Shelomovskij
df48478dba
Added FreeLibrary call in a module destructor
2011-07-14 01:04:38 +03:00
KennyTM~
df4e92d712
(Minor cleanup) Change some idiomic GC.malloc usage to uninitializedArray
...
Simplify the common pattern `(cast(T*)GC.malloc(T.sizeof * n, NO_SCAN))[0 .. n]` to the new function `uninitializedArray!(T[])(n)`.
Note that there was some `NO_SCAN` attributes originally determined at runtime using `typeid()`, but now is determined statically using `hasIndirection!()` from the implementation of `uninitializedArray`.
There were also some `GC.malloc` usage looks like `uninitializedArray` in `std.parallelism` but I'm leaving it alone for someone who is more familiar with this module ;).
2011-07-14 04:29:34 +08:00
Denis Shelomovskij
43beb7e871
Merge branch 'master' of https://github.com/D-Programming-Language/phobos.git into patch-1
...
Conflicts:
std/windows/registry.d
2011-07-13 11:24:42 +03:00
Jonathan M Davis
1b5f6c9f51
Merge pull request #137 from yebblies/issue3581
...
Rainer Schuetze's fix to prevent adding override to non-virtual functions
2011-07-12 23:42:36 -07:00
Jonathan M Davis
10b760c7c5
Merge pull request #139 from yebblies/issue4460
...
The index cannot be ref in a foreach over an array.
2011-07-12 23:34:22 -07:00
Jonathan M Davis
abeb58b4bb
Merge pull request #122 from 9rnsr/conv_doc
...
Improve std.conv.to (3)
2011-07-12 23:15:18 -07:00
Jonathan M Davis
6478323dbd
Merge pull request #119 from 9rnsr/improve_conv2
...
Improve std.conv.to (2)
2011-07-12 23:14:19 -07:00
Jonathan M Davis
184110af9c
Merge pull request #118 from 9rnsr/improve_conv
...
Improve std.conv.to (1)
2011-07-12 23:12:30 -07:00
jmdavis
c9dcd79bfe
Made std.array.replace work with immutable arrays again.
...
I also went over the other functions in std.array and made them work
with immutable arrays where applicable. The unit tests have been
appropriately expanded as well.
2011-07-12 23:07:16 -07:00
jmdavis
25cf1cb1fa
Attempt at improving warning on toUTFz.
...
I also put @system on the two overloads of toUTFZ which do pointer
arithmetic. They're obviously @system anyway, but tagging them with it
makes it clearer.
2011-07-12 22:34:58 -07:00
dsimcha
d08f0e6621
One more fix for the last pull request. It should really just take ulongs for indexing and slicing.
2011-07-12 22:06:09 -04:00
dsimcha
aa2a4077df
Fix a small bug in the just-merged pull request.
2011-07-12 20:49:57 -04:00
KennyTM~
95f3698bdc
Oops the previous commit doesn't completely fix all possibilities for 'zip'.
2011-07-13 06:36:43 +08:00
KennyTM~
5a2add5e7a
Fix bug 6301.
...
The following functions are modified to accept ranges with iota of longs:
* std.algorithm.map
* std.algorithm.splitter
* std.range.retro
* std.range.radial
* std.range.popBackN
* std.range.zip
* std.range.iota
* std.range.moveAt
2011-07-13 06:16:20 +08:00
jmdavis
5e79789e01
Merge branch 'master' into utfz
2011-07-10 03:38:54 -07:00
jmdavis
1192616696
Changed toUTFz to use ElementEncodingType instead of typeof(str[0]).
2011-07-10 03:37:55 -07:00
Jonathan M Davis
d90c486222
Merge pull request #136 from dawgfoto/FixupPull105
...
Fixup pull 105 (broken relative dirEntries)
This should get rid of a regression with regards to dirEntries and relative paths.
2011-07-10 03:29:01 -07:00
Daniel Murphy
88e205e70c
The index cannot be ref in a foreach over an array. The check for this is currently broken but this code is wrong anyway.
2011-07-10 03:45:34 +10:00
Daniel Murphy
48403470da
Unbreak the build - Ignore the fact that MSG_NOSIGNAL is not a member of SocketFlags.
2011-07-09 10:06:19 +10:00
dawg
c88b0f1278
rewrite dirEntries unittest so that...
...
- it runs on every platform
- does qualitative checks
- tests relative paths
2011-07-08 14:08:55 +02:00
jmdavis
dce4147625
Fixed some deprecation messages.
2011-07-08 01:13:45 -07:00
Daniel Murphy
df5e7a80d3
Rainer Schuetze's fix to prevent adding override to non-virtual functions.
...
This is required before http://d.puremagic.com/issues/show_bug.cgi?id=3581 can be fixed.
2011-07-08 16:45:05 +10:00
dawg
badc6f8593
undo changing dirEntries semantic
...
- dirEntries used to accept relative paths, so don't force
absolute paths now
2011-07-08 03:07:48 +02:00
dawg
c23f2f1065
remove double path join
...
- same same but Windows
2011-07-08 03:07:47 +02:00