Commit graph

11578 commits

Author SHA1 Message Date
Jack Stouffer
abb9a508c1 Reset and update tbe change log 2016-04-06 11:27:17 -04:00
Ilya Yaroshenko
d1ef8a0cc5 fix Issue 15872 2016-04-06 08:35:11 +02:00
Dmitry Olshansky
c75dc478ea Merge pull request #4108 from dhasenan/std_json_safe
Make std.json @safe.
2016-04-05 20:58:59 +04:00
Dmitry Olshansky
e7d23db2c0 Merge pull request #4151 from JackStouffer/issue13422
[Issue 13422] std.ascii has isAlphaNum but std.uni doesn't
2016-04-05 19:02:31 +04:00
Dmitry Olshansky
0b99239fe9 Merge pull request #4144 from rainers/issue_14966
fix issue 14966: misuse of super
2016-04-05 18:02:40 +04:00
Jack Stouffer
0c642797cd Fix Issue 13422: std.ascii has isAlphaNum but std.uni doesn't 2016-04-04 23:06:29 -04:00
Brian Schott
adc44c40ff Merge pull request #4149 from 9il/docs2
Fix docs in ndslice.iteration
2016-04-04 17:22:42 -07:00
Ilya Yaroshenko
7c03e33eef Fix docs in ndslice.iteration 2016-04-04 20:56:36 +02:00
Steven Schveighoffer
5bdc3b3a5d Merge pull request #4114 from mrkline/improved-linux-spawn-process
Avoid brute force fd close() on Linux
2016-04-04 14:45:35 -04:00
Dmitry Olshansky
df99fc8707 Merge pull request #4148 from CyberShadow/pull-20160404-141544
fix Issue 15865 - std.file.copy(from,to) deletes the file if from and to specify the same file
2016-04-04 20:51:17 +04:00
Matt Kline
bed2df7e80 Avoid brute force fd close() on Linux
The current Posix implementation of spawnProcess calls close on
every fd from 3 to the max fd count (as gathered by rlimit()).
Given that the process doesn't have that many descriptors open
in the *vast* majority of cases, this is quite pessimal.

Instead, use poll() to see which descriptors are actually open,
and close those.
2016-04-04 08:42:17 -07:00
Vladimir Panteleev
fad1388199 fix Issue 15865 - std.file.copy(from,to) deletes the file if from and to specify the same file
Stat the target fd and check for sameness before truncating the file.
2016-04-04 14:17:06 +00:00
biotronic
4cb7c0199d Fix 14561 - Large enums cannot be parsed due to too many recursive template expansions 2016-04-03 16:47:36 +00:00
Rainer Schuetze
7cdd7098be fix issue 14966: misuse of super 2016-04-03 18:40:56 +02:00
JakobOvrum
3501695acd Merge pull request #4143 from Bolpat/patch-2
Typo
2016-04-04 00:51:30 +09:00
Q. F. Schroll
f88d9402e5 Typo 2016-04-03 16:36:13 +02:00
Dmitry Olshansky
f2849deffd Merge pull request #4139 from CyberShadow/pull-20160402-075515
std.path: Emphasize that isValidPath does not check existence
2016-04-03 13:01:10 +04:00
Dmitry Olshansky
4b7b8d7f6c Add rolling trace filter to backtracking engine
This cuts down on redundant backtracking on most real-world inputs.
2016-04-02 12:09:20 +03:00
Vladimir Panteleev
ee2fe285c8 std.path: Emphasize that isValidPath does not check existence 2016-04-02 07:55:45 +00:00
Brian Schott
8d9bbc69b9 Merge pull request #4137 from JackStouffer/isNumber
std.uni.isNumber: significant performance increase for ASCII
2016-04-01 14:17:37 -07:00
Jack Stouffer
e47d5f3f3e std.uni.isNumber: significant performance increase for ASCII numbers 2016-04-01 16:11:01 -04:00
Dmitry Olshansky
70f6716f35 Merge pull request #4105 from tom-tan/json-parseJSON-use-default-init
Using `ref` instead of `out` for std.json.parseJSON
2016-04-01 16:32:32 +04:00
H. S. Teoh
8d4b940f09 Merge pull request #3999 from redstar/solarismath
Solaris: Add inline assembly version of poly().
2016-03-31 22:38:53 -07:00
H. S. Teoh
7be36e36e3 Merge pull request #2945 from JesseKPhillips/wrapStruct
Wrap struct
2016-03-31 21:39:05 -07:00
H. S. Teoh
7c752bf5f0 Merge pull request #4084 from ntrel/move-docs
Improve docs for std.algorithm.mutation.move & related functions
2016-03-31 18:54:31 -07:00
H. S. Teoh
d462241e92 Merge pull request #4135 from 9rnsr/fix_Proxy
Use __traits(identifier) instead of stringof + startsWith in std.typecons.Proxy
2016-03-31 17:53:48 -07:00
H. S. Teoh
f1863719ef Merge pull request #4132 from jpf91/mathFix
Small std.math fixes for ARM
2016-03-31 16:54:31 -07:00
Steven Schveighoffer
630e227c5a Merge pull request #3992 from quickfur/bigint_octal
Issue 14503: Implement formatting BigInt in octal
2016-03-31 16:56:40 -04:00
Johannes Pfau
fc7ab7fcae std.math: unittest isn't @safe
* The unittest isn't @safe (taking address of a local variable
+ pointer cast)
2016-03-31 22:20:22 +02:00
H. S. Teoh
b12b767b7c output() should take unsigned parameter. 2016-03-31 11:05:59 -07:00
k-hara
114e2886d1 Use __traits(identifier) instead of stringof + startsWith in std.typecons.Proxy
It's more lightweight.
2016-03-31 10:36:26 +09:00
H. S. Teoh
2f5a8bb99c Merge pull request #4118 from MaksimZh/fix-15827
Fix Issue 15827 -  std.variant.Variant can not be initialized with some struct
2016-03-30 10:15:19 -07:00
Vladimir Panteleev
1b22c7496e Merge pull request #4133 from greenify/link_to_new_contribution_guide
Link from CONTRIBUTING.md to the new wiki contribution guide
2016-03-30 18:48:22 +03:00
Sebastian Wilzbach
4ac915c47a Link from CONTRIBUTING.md to the new wiki contribution guide 2016-03-30 13:59:41 +03:00
H. S. Teoh
3d15c1f3a9 Merge pull request #4129 from ntrel/scoped-docs
Improve docs for `std.typecons.scoped`
2016-03-29 17:43:57 -07:00
Brian Schott
9e2c241f51 Merge pull request #4131 from greenify/ordered_to_package_booktable
add std.algorithm.sorting {ordered,strictlyOrdered} to std.algorithm booktable
2016-03-29 16:43:53 -07:00
Ilya Yaroshenko
15c26cd74b Merge pull request #4101 from JohanEngelen/patch-1
std.math.pow: change type from `double` to `real` for internal variable.
2016-03-29 21:01:12 +02:00
Sebastian Wilzbach
3f0db27026 add std.algorithm.sorting {ordered,strictlyOrdered} to std.algorithm booktable 2016-03-29 21:30:25 +03:00
H. S. Teoh
d90273a86a Merge pull request #4130 from greenify/use_template_without_brackets
Suggest bracket-free template syntax in the doc of std.algorithm
2016-03-29 11:01:43 -07:00
Sebastian Wilzbach
1acba2b257 Suggest bracket-free template syntax in the doc of std.algorithm 2016-03-29 19:32:11 +03:00
H. S. Teoh
52f6cb25aa Merge pull request #4124 from DmitryOlshansky/faster-tables-regex
[std.regex] Faster tables for ASCII case
2016-03-29 09:02:44 -07:00
Nick Treleaven
0e6f9c0338 Improve docs for std.typecons.scoped
Fix note about moving a class instance.
Show automatic destruction of `scoped` result.
Show how `scoped` can lead to invalid class references.
Show move(typeof(scoped!A)) is wrong.
Show scoped member variable initialization.
2016-03-29 13:49:29 +01:00
Nick Treleaven
00032f65ad Improve docs for std.algorithm.mutation.move & related functions
Clarify that `move` doesn't always do a destructive copy.
Improve std.algorithm.mutation.move, moveEmplace examples.
Make moveAll, moveSome description easier to read.
Fix parameter name typos source -> src, tgt.
2016-03-29 12:35:04 +01:00
Daniel Murphy
15aa52af43 Merge pull request #4126 from JohanEngelen/remove_deprecated
Remove deprecated `std.concurrency.MessageBox.isClosed() const`.
2016-03-29 15:04:37 +11:00
Dmitry Olshansky
8ff1f0ef52 Merge pull request #4079 from greenify/stdio_byrecord
document std.stdio.byRecord
2016-03-28 15:24:13 +04:00
Dmitry Olshansky
19778b1c7a address review comments 2016-03-28 12:54:59 +03:00
Johan Engelen
4b74c5f687 Remove deprecated std.concurrency.MessageBox.isClosed() const.
Within Phobos, this is the only occurrence of synchronizing on an immutable object. Removal of this deprecated function allows us to resolve Issue 14251.
2016-03-28 11:25:44 +02:00
Maksim Zholudev
f9aa6f6efc Fix Issue 15827. Avoid explicit use of parameter in delegate. 2016-03-28 11:32:34 +03:00
Dmitry Olshansky
0d6d7fc46d Merge pull request #4125 from WalterBright/gitzip
add gitzip target
2016-03-28 11:28:16 +04:00
Walter Bright
febdf21c70 add gitzip target 2016-03-27 18:57:27 -07:00