[Issue 12471] New: Struct of arrays in Phobos
https://d.puremagic.com/issues/show_bug.cgi?id=12471 Summary: Struct of arrays in Phobos Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2014-03-25 15:36:07 PDT --- I suggest to add to Phobos a struct constructor that could be named "StructOfArrays". Given a POD struct like: struct Foo { int a, b, c; } You can use StructOfArrays to define: StructOfArrays!Foo sfoo1; A more complex usage example, using a first draft of API (an alternative usage syntax is with mixins): StructOfArrays!(Foo, "a", "b c") sfoo2; void main() { sfoo2.a ~= 10; sfoo2.b ~= 20; sfoo2 ~= Foo(1, 2, 3); } The basic StructOfArrays!Foo usage is similar to defining a struct like this, that contains dynamic arrays for each field of Foo: struct __SOA { int[] soa_a; int[] soa_b; int[] soa_c; // Several iteration and access methods here. } While the grouping one: StructOfArrays!(Foo, "a", "b c") Means: struct __SOA { int[] soa_a; Tuple!(int, int)[] soa_b_c; // Several iteration and access methods here. } The automatically defined "iteration methods" allow to iterate on fields, assign/append a struct (like in the "sfoo2 ~= Foo(1, 2, 3);" example), and so on. The template verifies all fields are specified in the strings. Duplicated fields could be accepted for performance reasons, but a first implementation doesn't need this feature. An additional syntax could be used to ignore some fields from the struct: struct Bar { int a, b, c, d; } StructOfArrays!(Bar, "a", "b d") sbar1; The assignment to the c field is of course statically forbidden. But assigning a whole Bar could be accepted: sbar1 ~= Bar(1, 2, 3, 4); // The value "3" is ignored and not copied. More info on the performance advantages of using a struct of arrays instead of an array of structs in some cases: http://channel9.msdn.com/Events/Build/2013/4-329 See for doing something similar in C++: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3814.html The ideas presented here are just a first draft. Probably something better could be invented. The struct suggested here is not meant to cover all use cases, it's a simple mean to implement an efficient and simple data structure. More specialized data structures are better implemented manually. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12470] New: std.array.replace does not work with inout(char)[]
https://d.puremagic.com/issues/show_bug.cgi?id=12470 Summary: std.array.replace does not work with inout(char)[] Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic 2014-03-25 23:13:19 CET --- - import std.array; inout(char)[] sanitize(inout(char)[] input) { return input.replace("\0", " "); } - $ dmd test.d - C:\dmd-git\dmd2\windows\bin\..\..\src\phobos\std\array.d(1835): Error: template std.array.replaceInto cannot deduce function from argument types !()(Appender!(inout(char)[]), inout(char)[], string, string), candidates are: C:\dmd-git\dmd2\windows\bin\..\..\src\phobos\std\array.d(1844): std.array.replaceInto(E, Sink, R1, R2)(Sink sink, E[] subject, R1 from, R2 to) if (isOutputRange!(Sink, E) && isDynamicArray!(E[]) && isForwardRange!R1 && isForwardRange!R2 && (hasLength!R2 || isSomeString!R2)) test.d(7): Error: template instance std.array.replace!(inout(char), string, string) error instantiating - Note that this is an internal library error. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4677] disallow GC via cmd line argument -nogc
https://d.puremagic.com/issues/show_bug.cgi?id=4677 Nick Sabalausky changed: What|Removed |Added CC||cbkbbej...@mailinator.com --- Comment #2 from Nick Sabalausky 2014-03-25 14:22:11 PDT --- There's a pull request for this being worked on and discussed: https://github.com/D-Programming-Language/dmd/pull/1886 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12469] opIndex does not work on pointers to structs
https://d.puremagic.com/issues/show_bug.cgi?id=12469 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED CC||andrej.mitrov...@gmail.com Resolution||INVALID --- Comment #1 from Andrej Mitrovic 2014-03-25 21:38:00 CET --- Indexing into pointers is a C feature that was carried over into D. Hence why the compiler expects you to pass a size_t index (ulong on x64). Use (*hoi)["a"] instead. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12469] New: opIndex does not work on pointers to structs
https://d.puremagic.com/issues/show_bug.cgi?id=12469 Summary: opIndex does not work on pointers to structs Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: brian-sch...@cox.net --- Comment #0 from brian-sch...@cox.net 2014-03-25 13:30:48 PDT --- struct HasOpIndex { int opIndex(string s) { return 1; } } int main() { HasOpIndex* hoi = new HasOpIndex; return hoi["a"]; } - $ rdmd test.d test.d(5): Error: cannot implicitly convert expression ("a") of type string to ulong Failed: ["dmd", "-v", "-o-", "test.d", "-I."] -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12468] New: Improve foreach type mismatch error message
https://d.puremagic.com/issues/show_bug.cgi?id=12468 Summary: Improve foreach type mismatch error message Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: jlqu...@optonline.net --- Comment #0 from Jerry Quinn 2014-03-25 12:41:11 PDT --- svm_node*[] SV; foreach (const ref p; SV[i]) { ... } DMD gives: Error: invalid foreach aggregate SV[cast(ulong)i] I had to stare at this for a bit to figure out what was going on. I would have been helped if DMD had reported the type of SV[cast(ulong)i] in the message. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12467] Regression (2.066 git-head): char[] is implicitly convertible to string
https://d.puremagic.com/issues/show_bug.cgi?id=12467 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #2 from Vladimir Panteleev 2014-03-25 19:28:39 EET --- Introduced in https://github.com/D-Programming-Language/dmd/pull/3336 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12467] New: Regression (2.066 git-head): char[] is implicitly convertible to string
https://d.puremagic.com/issues/show_bug.cgi?id=12467 Summary: Regression (2.066 git-head): char[] is implicitly convertible to string Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic 2014-03-25 18:20:51 CET --- - string dupit(ref char[3] array) { return array[]; } void main() { char[3] arr = "foo"; string str = arr.dupit; assert(str.ptr !is arr.ptr); // oops } - DMD 2.065: $ dmd test.d > Error: cannot implicitly convert expression (array[]) of type char[] to string DMD 2.066 git-head: $ dmd test.d > core.exception.AssertError@test(12): Assertion failure -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12467] Regression (2.066 git-head): char[] is implicitly convertible to string
https://d.puremagic.com/issues/show_bug.cgi?id=12467 --- Comment #1 from Andrej Mitrovic 2014-03-25 18:21:49 CET --- This regression makes the following code print garbage because of the way stack-tracing works: - string dupit(ref char[3] array) { return array[]; } void main() { char[3] arr = "foo"; string str = arr.dupit; assert(0, str); // prints garbage } - -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12453] 'ini' directory missing in ZIP release bundles
https://d.puremagic.com/issues/show_bug.cgi?id=12453 Vladimir Panteleev changed: What|Removed |Added Severity|major |regression -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12453] 'ini' directory missing in ZIP release bundles
https://d.puremagic.com/issues/show_bug.cgi?id=12453 --- Comment #2 from Mariusz GliwiĆski 2014-03-25 10:20:21 PDT --- Directory existed before, but it wasn't referenced in "install" target so it wasn't a problem ( at least for me ). -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12453] 'ini' directory missing in ZIP release bundles
https://d.puremagic.com/issues/show_bug.cgi?id=12453 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #1 from Vladimir Panteleev 2014-03-25 19:15:51 EET --- Did this used to work in older versions? If so, this issue should be marked as a regression. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12456] Regression: Direct downloads are no longer available from the changelog
https://d.puremagic.com/issues/show_bug.cgi?id=12456 --- Comment #3 from Vladimir Panteleev 2014-03-25 19:00:20 EET --- DVM (at least 0.3.0) seems to still use the DigitalMars mirror (ftp.digitalmars.com), which does not use the year structure. It seems to have gotten a lot faster now, so I guess that problem is not so acute as long as that mirror is discoverable by writers of D installers. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12466] New: Template type parameter should not require a new symbol for deducing a type
https://d.puremagic.com/issues/show_bug.cgi?id=12466 Summary: Template type parameter should not require a new symbol for deducing a type Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic 2014-03-25 17:55:29 CET --- - void foo(Array : C[N], C, size_t N)(Array array) { } void bar(C[N], C, size_t N)(C[N] array) { } // NG void main() { char[2] arr; foo(arr); // ok bar(arr); // NG in declaration } - $ dmd test.d > Error: identifier expected for template value parameter This is a little bit inconsistent with how is() already works. The following is currently allowed: - void main() { char[2] arr; { // ok static if (is(typeof(arr) Array : A[N], A, size_t N)) { pragma(msg, Array); // char[2] } } { // also ok static if (is(typeof(arr) /* Array */: A[N], A, size_t N)) { pragma(msg, A[N]); // char[2] } } } - Therefore I think we should also allow it in a template (function) declaration as well. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12456] Regression: Direct downloads are no longer available from the changelog
https://d.puremagic.com/issues/show_bug.cgi?id=12456 --- Comment #2 from Andrej Mitrovic 2014-03-25 17:57:13 CET --- Speaking of which, does anyone know if the recent changes might have broken tools like DVM[1]? I rarely used the tool so I wouldn't know. [1] : https://github.com/jacob-carlborg/dvm -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12455] [uni][reg] Bad lowercase mapping for 'LATIN CAPITAL LETTER I WITH DOT ABOVE'
https://d.puremagic.com/issues/show_bug.cgi?id=12455 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #1 from Vladimir Panteleev 2014-03-25 18:55:45 EET --- Introduced in https://github.com/D-Programming-Language/phobos/pull/1347 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12456] Regression: Direct downloads are no longer available from the changelog
https://d.puremagic.com/issues/show_bug.cgi?id=12456 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #1 from Vladimir Panteleev 2014-03-25 18:45:26 EET --- Putting things into yearly folders makes no sense. If a user tells a program to get D version X.YYY, the software now must also ask the user, "Which year was that released in?", or use heuristics such as parsing some webpage. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12463] New: Incorrect error: mismatched array lengths, X and 1
https://d.puremagic.com/issues/show_bug.cgi?id=12463 Summary: Incorrect error: mismatched array lengths, X and 1 Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: kekeni...@yahoo.co.jp --- Comment #0 from kekeni...@yahoo.co.jp 2014-03-25 07:18:14 PDT --- The following initliazations of static arrays are all valid. void main() { int[4] ary4_4 = [1,2,3,4]; // OK int[4] ary4_1 = [1]; // NG line(4) int[10] ary0 = [0:123]; // NG line(6) int[10] ary01 = [0:123, 1:234]; // NG line(7) int[10] ary89 = [8:123, 9:234]; // OK line(8) } sary_bug.d(4): Error: mismatched array lengths, 4 and 1 sary_bug.d(6): Error: mismatched array lengths, 10 and 1 sary_bug.d(7): Error: mismatched array lengths, 10 and 2 The difference between (6),(7) of NG and (8) of OK is whether or not their indexes are ascending from 0. I suppose this is a regression in recent years. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12464] New: DMD/Phobos cannot auto-implement D variadic methods
https://d.puremagic.com/issues/show_bug.cgi?id=12464 Summary: DMD/Phobos cannot auto-implement D variadic methods Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: marco.le...@gmx.de --- Comment #0 from Marco Leise 2014-03-25 07:29:58 PDT --- Affects at least 2.064.2 and 2.065. This code: --- import std.stream; import std.typecons; BlackHole!OutputStream dout; --- fails on 2.064.2 with: --- /opt/dmd-2.064/import/std/typecons.d(2225): Error: '__va_argsave_t' is not defined, perhaps you need to import core.vararg; ? /opt/dmd-2.064/import/std/typecons.d(2225): Error: function std.typecons.AutoImplement!(OutputStream, generateEmptyFunction, isAbstractFunction).AutoImplement.printf must import core.vararg to use variadic functions /opt/dmd-2.064/import/std/typecons.d(2233): Error: '__va_argsave_t' is not defined, perhaps you need to import core.vararg; ? /opt/dmd-2.064/import/std/typecons.d(2233): Error: function std.typecons.AutoImplement!(OutputStream, generateEmptyFunction, isAbstractFunction).AutoImplement.writef must import core.vararg to use variadic functions /opt/dmd-2.064/import/std/typecons.d(2241): Error: '__va_argsave_t' is not defined, perhaps you need to import core.vararg; ? /opt/dmd-2.064/import/std/typecons.d(2241): Error: function std.typecons.AutoImplement!(OutputStream, generateEmptyFunction, isAbstractFunction).AutoImplement.writefln must import core.vararg to use variadic functions --- and on 2.065 with: --- /opt/dmd-2.065/import/std/typecons.d-mixin-2074(2258): Error: '__va_argsave_t' is not defined, perhaps you need to import core.vararg; ? /opt/dmd-2.065/import/std/typecons.d-mixin-2074(2258): Error: function std.typecons.AutoImplement!(OutputStream, generateEmptyFunction, isAbstractFunction).AutoImplement.printf must import core.vararg to use variadic functions /opt/dmd-2.065/import/std/typecons.d-mixin-2074(2266): Error: '__va_argsave_t' is not defined, perhaps you need to import core.vararg; ? /opt/dmd-2.065/import/std/typecons.d-mixin-2074(2266): Error: function std.typecons.AutoImplement!(OutputStream, generateEmptyFunction, isAbstractFunction).AutoImplement.writef must import core.vararg to use variadic functions /opt/dmd-2.065/import/std/typecons.d-mixin-2074(2274): Error: '__va_argsave_t' is not defined, perhaps you need to import core.vararg; ? /opt/dmd-2.065/import/std/typecons.d-mixin-2074(2274): Error: function std.typecons.AutoImplement!(OutputStream, generateEmptyFunction, isAbstractFunction).AutoImplement.writefln must import core.vararg to use variadic functions --- It compiles with GDC and LDC though. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12462] std.bitmanip.BitArray should use new-style operator overloads
https://d.puremagic.com/issues/show_bug.cgi?id=12462 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment #1 from bearophile_h...@eml.cc 2014-03-25 06:09:27 PDT --- (In reply to comment #0) > It seems to use the old opCom/opAnd/etc, these might even be deprecated some > day. The fact that they're there might encourage users to write the old-style > operators in their own code. DMD 2.066 should give warnings where you use old-style operator overloading. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12458] No out of bounds assert errors in not-release mode for std.bitmanip.BitArray
https://d.puremagic.com/issues/show_bug.cgi?id=12458 --- Comment #2 from Andrej Mitrovic 2014-03-25 13:47:10 CET --- (In reply to comment #1) > This is strange, because I can see this is checked in the in blocks: Oh I see what's going on, Phobos is built with -release mode. It seems to me that we should distribute both a -debug and -release mode version of the Phobos static library, and then allow the user to link with either one. I guess sc.ini can be manipulated in some way to enable this.. no idea. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12462] New: std.bitmanip.BitArray should use new-style operator overloads
https://d.puremagic.com/issues/show_bug.cgi?id=12462 Summary: std.bitmanip.BitArray should use new-style operator overloads Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic 2014-03-25 13:49:15 CET --- It seems to use the old opCom/opAnd/etc, these might even be deprecated some day. The fact that they're there might encourage users to write the old-style operators in their own code. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12461] New: Typedef and opOpAssign
https://d.puremagic.com/issues/show_bug.cgi?id=12461 Summary: Typedef and opOpAssign Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: john.loughran.col...@gmail.com --- Comment #0 from John Colvin 2014-03-25 12:45:13 GMT --- Typedef really doesn't work. import std.typecons; alias Int = Typedef!(int); unittest { Int a, b; a += b; } typecons.d-mixin-3918(3918): Error: incompatible types for (this.Typedef_payload) += (v)): 'int' and 'Typedef!(int, 0)' /d32/f264.d(8): Error: template instance std.typecons.Typedef!(int, 0).Typedef.Proxy!(Typedef_payload).opOpAssign!("+", Typedef!(int, 0), Typedef!(int, 0)) error instantiating /d32/f264.d(8): Error: 'a += b' is not a scalar, it is a Typedef!(int, 0) /d32/f264.d(8): Error: 'a' is not of arithmetic type, it is a Typedef!(int, 0) /d32/f264.d(8): Error: 'b' is not of arithmetic type, it is a Typedef!(int, 0) -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12459] Bugzilla logs users in only on https site, and does not redirect from http to https
https://d.puremagic.com/issues/show_bug.cgi?id=12459 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comment #11 from Andrej Mitrovic 2014-03-25 13:33:22 CET --- It's really a pain in the ass that every time I click on a bugzilla issue and try to comment, bugzilla tells me I'm not logged in even though I am. The autotester seems to have the same issue, I have to click "Log in" multiple times per day for some reason, even though I never clear my cache or cookies. It's just one of those little things that are a consistent annoyance to a fast workflow. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12458] No out of bounds assert errors in not-release mode for std.bitmanip.BitArray
https://d.puremagic.com/issues/show_bug.cgi?id=12458 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comment #1 from Andrej Mitrovic 2014-03-25 13:39:42 CET --- This is strange, because I can see this is checked in the in blocks: - bool opIndex(size_t i) const in { assert(i < len); } body { // Andrei: review for @@@64-bit@@@ return cast(bool) bt(ptr, i); } /** * Sets the $(D i)'th bit in the $(D BitArray). */ bool opIndexAssign(bool b, size_t i) in { assert(i < len); } body { if (b) bts(ptr, i); else btr(ptr, i); return b; } - -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12459] Bugzilla logs users in only on https site, and does not redirect from http to https
https://d.puremagic.com/issues/show_bug.cgi?id=12459 Vladimir Panteleev changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WONTFIX | --- Comment #10 from Vladimir Panteleev 2014-03-25 12:35:50 EET --- That was not what I suggested. This conversation is not headed into a constructive direction. Can we please reach a consensus before WONTFIX-ing the issue? Closed issues do not appear in most search results and get lost. Nothing is solved by closing it. If you don't want to spend time on this issue, you can unassign and unsubscribe yourself from this issue. Someone else (e.g. I) can instead look into whether the problem is reproducible on a clean Bugzilla install, whether an upgrade will fix it (or if it's fixed when this instance is upgraded), follow up to the Bugzilla developers, etc. This bug can serve to track progress towards fixing the problem. Please do not close issues unless they are fixed or can't be fixed. I don't see how doing so is useful. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12459] Bugzilla logs users in only on https site, and does not redirect from http to https
https://d.puremagic.com/issues/show_bug.cgi?id=12459 Brad Roberts changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||WONTFIX --- Comment #9 from Brad Roberts 2014-03-25 03:27:32 PDT --- Reopen if and only if you can convince the bugzilla developers that the change is worth making. I believe it _is_ a security risk for the logged in cookie and it's token to be passed in the clear. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12449] Undefined format in std.algorithm.max
https://d.puremagic.com/issues/show_bug.cgi?id=12449 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED CC||andrej.mitrov...@gmail.com Platform|x86 |All Resolution||FIXED OS/Version|Windows |All --- Comment #2 from github-bugzi...@puremagic.com 2014-03-25 11:23:48 CET --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/837027692463c06052874ff6182724dd4c8727a9 Fix Issue 12449 Undefined format in std.algorithm.max https://github.com/D-Programming-Language/phobos/commit/2a1df9fc0edad8d951f9cd69cbe437b92cdebfa0 Merge pull request #2047 from monarchdodra/12449 Fix Issue 12449 - Undefined format in std.algorithm.max -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12449] Undefined format in std.algorithm.max
https://d.puremagic.com/issues/show_bug.cgi?id=12449 --- Comment #2 from github-bugzi...@puremagic.com 2014-03-25 03:23:48 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/837027692463c06052874ff6182724dd4c8727a9 Fix Issue 12449 Undefined format in std.algorithm.max https://github.com/D-Programming-Language/phobos/commit/2a1df9fc0edad8d951f9cd69cbe437b92cdebfa0 Merge pull request #2047 from monarchdodra/12449 Fix Issue 12449 - Undefined format in std.algorithm.max -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12459] Bugzilla logs users in only on https site, and does not redirect from http to https
https://d.puremagic.com/issues/show_bug.cgi?id=12459 Vladimir Panteleev changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WONTFIX | --- Comment #8 from Vladimir Panteleev 2014-03-25 12:20:24 EET --- I think it's better to keep this open for as long as the issue persists, and close it when it's fixed. Even if it's not a bug, it's an annoyance that can be resolved without sacrificing security. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12459] Bugzilla logs users in only on https site, and does not redirect from http to https
https://d.puremagic.com/issues/show_bug.cgi?id=12459 Brad Roberts changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Comment #7 from Brad Roberts 2014-03-25 03:17:24 PDT --- Well, we'll see what the 4.x version has after the upgrade, but if you want this behavior changed, the issue tracker for bugzilla itself is the right place to lobby for this change. Personally, I believe it's correct. I'm going to close this either way since it's not an issue with this particular installation of bugzilla. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12459] Bugzilla logs users in only on https site, and does not redirect from http to https
https://d.puremagic.com/issues/show_bug.cgi?id=12459 --- Comment #6 from Vladimir Panteleev 2014-03-25 12:12:00 EET --- I would consider this a problem because websites generally just don't behave this way. I don't know what's causing this behavior but I proposed a possible solution in the issue description. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12459] Bugzilla logs users in only on https site, and does not redirect from http to https
https://d.puremagic.com/issues/show_bug.cgi?id=12459 --- Comment #5 from Brad Roberts 2014-03-25 03:09:56 PDT --- Ok.. I see what you're saying. It's a difference of expectations. You're never logged in on a plain http page. That's purposeful to avoid having any security credentials, including the cookie, passed in the clear.. ever. It doesn't prevent login, just never shows you as logged in on an https page. Not a bug. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12459] Bugzilla logs users in only on https site, and does not redirect from http to https
https://d.puremagic.com/issues/show_bug.cgi?id=12459 --- Comment #4 from Vladimir Panteleev 2014-03-25 12:04:21 EET --- The problem is that if you log in, then open that page again, you are not logged in. You have to log in again. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12459] Bugzilla logs users in only on https site, and does not redirect from http to https
https://d.puremagic.com/issues/show_bug.cgi?id=12459 --- Comment #3 from Brad Roberts 2014-03-25 03:02:24 PDT --- It didn't redirect me either, but gave no issues when logging in from that page either. So, other than being able to view a bug via http, what's the issue here? No passwords are sent in the clear (the form submit url is https). No problems logging in. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12460] New: Crash with goto and static if
https://d.puremagic.com/issues/show_bug.cgi?id=12460 Summary: Crash with goto and static if Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: c...@benjamin-thaut.de --- Comment #0 from Benjamin Thaut 2014-03-25 02:56:11 PDT --- The following will create a access violation by accessing a null pointer in statement.c line 5212 (LabelStatement::syntaxCopy) void func(T)() { static if(is(T == int)) { goto end; } end: } void main(string[] args) { func!int(); } I tested this with dmd 2.065 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12459] Bugzilla logs users in only on https site, and does not redirect from http to https
https://d.puremagic.com/issues/show_bug.cgi?id=12459 --- Comment #2 from Vladimir Panteleev 2014-03-25 11:52:59 EET --- Hmm, the front page seems to be redirecting just fine, but links to individual issues don't... Example: http://d.puremagic.com/issues/show_bug.cgi?id=12459 This doesn't redirect me. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12459] Bugzilla logs users in only on https site, and does not redirect from http to https
https://d.puremagic.com/issues/show_bug.cgi?id=12459 --- Comment #1 from Brad Roberts 2014-03-25 02:44:34 PDT --- I can't reproduce the problem. Please give a detailed set of steps. What I tried: logged out delete all cookies for puremagic.com/issues urls hit http://d.puremagic.com/issues/ was redirected to https://... was able to login just fine -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12459] New: Bugzilla logs users in only on https site, and does not redirect from http to https
https://d.puremagic.com/issues/show_bug.cgi?id=12459 Summary: Bugzilla logs users in only on https site, and does not redirect from http to https Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: websites AssignedTo: bra...@puremagic.com ReportedBy: thecybersha...@gmail.com --- Comment #0 from Vladimir Panteleev 2014-03-25 11:29:00 EET --- Logging in currently only saves the session cookie on the https:// protocol, because it is sent with the "secure" flag enabled. Bugzilla seems to be configured to redirect logged-in users from http:// to https://, but since the cookie is never visible when accessing the site via http://, the only way that redirect can happen is if someone still had a login cookie from before HTTPS was added. In effect, this means that any user who logged in since the addition of HTTPS will not be logged in when clicking on a http:// Bugzilla link. They need to either log in again, or edit the URL in their browser to point to HTTPS. A fix would be to set some cookie WITHOUT the secure flag, which would indicate the requirement to redirect to https://. I discovered this accidentally after logging out to test something. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12440] Implement whole-program analysis
https://d.puremagic.com/issues/show_bug.cgi?id=12440 --- Comment #7 from Vladimir Panteleev 2014-03-25 11:13:57 EET --- A related or duplicate isssue: issue 921 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---