[Issue 12526] DDox possible issue with case sensitive file names

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12526

Vladimir Panteleev  changed:

   What|Removed |Added

 CC||thecybersha...@gmail.com

--- Comment #4 from Vladimir Panteleev  ---
(In reply to Sönke Ludwig from comment #3)
> It now generates only lower case file names and aggregates all matching
> symbols 
> on a single page.

As recently discussed, this is an undesired side effect.

Now that dlang.org is always built on Linux, perhaps this should be
disabled/reverted?

--


[Issue 16161] New: std.format doesn't acknowledge preceding int-width argument

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16161

  Issue ID: 16161
   Summary: std.format doesn't acknowledge preceding int-width
argument
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: normal
  Priority: P1
 Component: phobos
  Assignee: nob...@puremagic.com
  Reporter: greensunn...@gmail.com

If the type is string or integer, specifying a width works well. However it
doesn't for characters:

%*s".writefln(2, "#"));
  #

%*d".writefln(2, 42));
  42

%*c".writefln(2, '#'));
#

--


[Issue 16141] Organizations page unreachable

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16141

--- Comment #1 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dlang.org

https://github.com/dlang/dlang.org/commit/14fd1bea5bb6f959598d4682036c84c3b38903f7
Fix issue 16141 - Organizations page should have a menu item

Add vertical divider

https://github.com/dlang/dlang.org/commit/e8d2c52dbd3c4857086b857c7cc0ef83eba3c7ed
Merge pull request #1358 from wilzbach/add_orgs_menu_item

Fix issue 16141 - Organizations page should have a menu item

--


[Issue 16160] selective imports in aggregation shadow @property functions

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16160

Robert Schadek  changed:

   What|Removed |Added

   Hardware|x86_64  |All
   Severity|enhancement |critical

--


[Issue 16160] New: selective imports in aggregation shadow @property functions

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16160

  Issue ID: 16160
   Summary: selective imports in aggregation shadow @property
functions
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: rburn...@gmail.com

struct Foo {
import std.array : empty;

@property bool empty() {
return true;
}
}

unittest {
Foo f;
assert(f.empty);
}

Error: expression f.empty of type void does not have a boolean value
It seams like the import of std.array.empty is shadowing the empty @property.
Moving the import out of the struct fixes the problem.

--


[Issue 16159] New: Put the newest entry of the official Blog on the frontpage

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16159

  Issue ID: 16159
   Summary: Put the newest entry of the official Blog on the
frontpage
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dlang.org
  Assignee: nob...@puremagic.com
  Reporter: greensunn...@gmail.com

Now that we have the official blog we might put the latest entry on the
frontpage too?
This is also good for SEO (having an often updated page)

--


[Issue 16065] Provide digitally signed binaries for Windows

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16065

--- Comment #7 from Sobirari Muhomori  ---
BTW looks like distribution archives are already signed, see keys at
https://dlang.org/gpg_keys.html

--


[Issue 15889] Array bounds check should report index and length

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15889

Sobirari Muhomori  changed:

   What|Removed |Added

   Keywords||diagnostic

--


[Issue 15889] Array bounds check should report index and length

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15889

Sobirari Muhomori  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=5547

--


[Issue 5547] Improve assert to give information on values given to it when it fails

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5547

Sobirari Muhomori  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=15889

--


[Issue 16157] group releases after OS

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16157

--- Comment #1 from greensunn...@gmail.com ---
See https://nodejs.org/en/download/ for a good download page

--


[Issue 15889] Array bounds check should report index and length

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15889

Sobirari Muhomori  changed:

   What|Removed |Added

URL||https://forum.dlang.org/pos
   ||t/anjleupyijcrwxdfowjr@foru
   ||m.dlang.org

--- Comment #1 from Sobirari Muhomori  ---
Similar idea: http://wiki.dlang.org/DIP83

--


[Issue 16158] New: Highlight the instructions for the current OS of the browser

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16158

  Issue ID: 16158
   Summary: Highlight the instructions for the current OS of the
browser
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dlang.org
  Assignee: nob...@puremagic.com
  Reporter: greensunn...@gmail.com

If we detect a browser using Windows, we should highlight the instructions for
windows.

This approach make have false-positives, but usually not that many and helps
the majority.

--


[Issue 16157] New: group releases after OS

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16157

  Issue ID: 16157
   Summary: group releases after OS
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dlang.org
  Assignee: nob...@puremagic.com
  Reporter: greensunn...@gmail.com

Imho we should group the three download options after the OS - not the release
type. It's very confusing.

If I would use OS X - I will scroll to the according OS X category.

OS X:
 - DMD 2.071.0
 - DMD Beta (2.071.1-b2)
 - DMD Nightly

--


[Issue 16156] New: make gpg key link more visible on the download page

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16156

  Issue ID: 16156
   Summary: make gpg key link more visible on the download page
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dlang.org
  Assignee: nob...@puremagic.com
  Reporter: greensunn...@gmail.com

I don't know how GPG Keys ended up under "Release Archive", but I had a hard
time finding it. Maybe we can display it directly next to the download with a
nice key icon?

--


[Issue 16155] New: show md5 and sha1 hashes for the official downloads

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16155

  Issue ID: 16155
   Summary: show md5 and sha1 hashes for the official downloads
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dlang.org
  Assignee: nob...@puremagic.com
  Reporter: greensunn...@gmail.com

I don't know how much people miss this, but clearly other languages provide
this - see e.g.:

http://php.net/downloads.php

php-7.0.7.tar.bz2 (sig) [13,776Kb] 26 May 2016
md5: cc231de15146ca14a69610f695995ab8
sha256: 474f2925c4782b94016e3afbb17b14ff9cc6f4fdb6f6e231b36a378bb18a3d1a

--


[Issue 16154] New: Modules should have an global example at front

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16154

  Issue ID: 16154
   Summary: Modules should have an global example at front
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dlang.org
  Assignee: nob...@puremagic.com
  Reporter: greensunn...@gmail.com

It makes a great impression, gives a quick overview and mostly explains the
motiviation. I already filled a couple of PRs to add such frontpage overviews,
but we clearly need to check all modules.

--


[Issue 16153] New: Better documentation overview page

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16153

  Issue ID: 16153
   Summary: Better documentation overview page
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dlang.org
  Assignee: nob...@puremagic.com
  Reporter: greensunn...@gmail.com

Having a nice and condensed overview as frontpage to your documentation seems
deeply necessary - a good example:

https://docs.python.org/3/

--


[Issue 16149] foreach_reverse can't handle index variable of type int

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16149

Steven Schveighoffer  changed:

   What|Removed |Added

 CC||schvei...@yahoo.com
 OS|Linux   |All

--- Comment #3 from Steven Schveighoffer  ---
I think it's a decent enhancement request. Most arrays are not going to exceed
int.max, and if they do, well, you wrote the stupid code!

For example, foreach(ubyte i, v; iota(500).array) is going to compile, and get
into an infinite loop. I think you should be able to make the same dumb mistake
with foreach_reverse :)

--


[Issue 15768] std.stdio.trustedStdout accesses __gshared data without synchronization.

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15768

Sobirari Muhomori  changed:

   What|Removed |Added

   Severity|major   |critical

--


[Issue 15768] std.stdio.trustedStdout accesses __gshared data without synchronization.

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15768

Sobirari Muhomori  changed:

   What|Removed |Added

   Keywords||safe

--


[Issue 16152] New: dpl-docs/ddox doesn't show documentation for eponymous template member

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16152

  Issue ID: 16152
   Summary: dpl-docs/ddox doesn't show documentation for eponymous
template member
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dlang.org
  Assignee: nob...@puremagic.com
  Reporter: c...@dawg.eu

Just shows the empty documentation for the template, but the nested member gets
overwritten or so.
http://dlang.org/library/std/parallelism/task_pool.reduce.html
https://github.com/dlang/phobos/blob/cea112b1d1f81dcfb8b9a2cdf3b4c301b9a1e093/std/parallelism.d#L2344

Guess the docs should have been on the template itself, but it works with ddoc
and the json output.

--


[Issue 16149] foreach_reverse can't handle index variable of type int

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16149

--- Comment #2 from Acer.Yang  ---
(In reply to Ketmar Dark from comment #1)
> ...and, techincally, it shouldn't.
> 
> first case (roughly) does: `int i; while (i < s.length) ...` which is
> perfectly legal. but second does: `int i = s.length;`, which requires
> conversion from `size_t` (of type `ulong` on 64-bit arch) to `int`, which is
> illegal.
> 
> i'd say that first case should be forbidden too, but the seconds case -- in
> my opinion -- doesn't require fixing.

I agree that the first case should be forbidden(since signed/unsigned
comparison is not safe per my eyes).

--


[Issue 15768] std.stdio.trustedStdout accesses __gshared data without synchronization.

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15768

--- Comment #3 from Sobirari Muhomori  ---
I'd say follow TLS-cached singleton pattern, FILE* can be shared, but the
reference counter must be separate.

--


[Issue 14180] dlang.org: make apidocs-release requires user to hamstring own machine

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14180

Martin Nowak  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Martin Nowak  ---
Should be solved by using a stable compiler.

--


[Issue 16004] Document changes to protection attributes

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16004

Mathias Lang  changed:

   What|Removed |Added

   Keywords||pull, spec
 Status|NEW |ASSIGNED

--- Comment #1 from Mathias Lang  ---
P.R: https://github.com/dlang/dlang.org/pull/1325

--


[Issue 16149] foreach_reverse can't handle index variable of type int

2016-06-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16149

Ketmar Dark  changed:

   What|Removed |Added

 CC||ket...@ketmar.no-ip.org

--- Comment #1 from Ketmar Dark  ---
...and, techincally, it shouldn't.

first case (roughly) does: `int i; while (i < s.length) ...` which is perfectly
legal. but second does: `int i = s.length;`, which requires conversion from
`size_t` (of type `ulong` on 64-bit arch) to `int`, which is illegal.

i'd say that first case should be forbidden too, but the seconds case -- in my
opinion -- doesn't require fixing.

--