On Thursday, 2 November 2017 at 08:40:28 UTC, bauss wrote:
Do you get a response back with rendered html or does the
connection get dropped?
No, the html does come in, and the whole content of the rendered
page is sent to the browser. The page has closing head and body
tags.
Have you tried
AFAIK you can only use COM from windows anyway. OK I have been using them
from linux but only with WINE help.
On Thu, Nov 2, 2017 at 3:22 PM, Guillaume Piolat via Digitalmars-d-learn <
digitalmars-d-learn@puremagic.com> wrote:
> I wonder if anyone has used COM in dlang extensively.
>
> Context:
On Thursday, 2 November 2017 at 18:48:10 UTC, bauss wrote:
On Thursday, 2 November 2017 at 16:23:55 UTC, SamwiseFilmore
wrote:
On Thursday, 2 November 2017 at 08:40:28 UTC, bauss wrote:
[...]
No, the html does come in, and the whole content of the
rendered page is sent to the browser. The
On Thursday, 2 November 2017 at 16:23:55 UTC, SamwiseFilmore
wrote:
On Thursday, 2 November 2017 at 08:40:28 UTC, bauss wrote:
Do you get a response back with rendered html or does the
connection get dropped?
No, the html does come in, and the whole content of the
rendered page is sent to
Including Phobos? Your posted backtrace looks to me like
templates instantiated within Phobos, so I think you'd need
Phobos with debug symbols for those lines.
---
int main(string[] argv)
{
return argv[1].length > 0;
}
---
~ [i] % rdmd -g -debug test.d
core.exception.RangeError@test.d(3):
On Thursday, November 02, 2017 14:03:52 Jonathan M Davis via Digitalmars-d-
learn wrote:
> On Thursday, November 02, 2017 19:53:36 Q. Schroll via Digitalmars-d-learn
> wrote:
> > struct S { ref S id() return { return this; } }
> > void main() { S* p = ().id(); }
>
> Well, if you make them @safe,
On 11/2/17 4:07 PM, Jonathan M Davis wrote:
On Thursday, November 02, 2017 14:03:52 Jonathan M Davis via Digitalmars-d-
learn wrote:
On Thursday, November 02, 2017 19:53:36 Q. Schroll via Digitalmars-d-learn
wrote:
struct S { ref S id() return { return this; } }
void main() { S* p = ().id(); }
On Thursday, 2 November 2017 at 19:05:46 UTC, Tobias Pankrath
wrote:
Including Phobos? Your posted backtrace looks to me like
templates instantiated within Phobos, so I think you'd need
Phobos with debug symbols for those lines.
---
int main(string[] argv)
{
return argv[1].length > 0;
}
---
I've tried to get into the changes by DIP1000 and discovered this:
struct S { ref S id() return { return this; } }
void main() { S* p = ().id(); }
Should it really compile? (rdmd -dip1000 .\test_return_ref.d)
On Thursday, November 02, 2017 19:53:36 Q. Schroll via Digitalmars-d-learn
wrote:
> struct S { ref S id() return { return this; } }
> void main() { S* p = ().id(); }
Well, if you make them @safe, it won't compile whether -dip1000 is used or
not. At the moment, I don't recall whether -dip1000's
On Thursday, 2 November 2017 at 18:51:09 UTC, bauss wrote:
On Thursday, 2 November 2017 at 18:48:10 UTC, bauss wrote:
Before you did:
render!("index.dt", title, major_categories);
Have you tried to check the contents of "major_categories"
making sure it's all there. Just to figure out whether
On Thursday, November 02, 2017 16:39:43 Steven Schveighoffer via
Digitalmars-d-learn wrote:
> On 11/2/17 4:07 PM, Jonathan M Davis wrote:
> > On Thursday, November 02, 2017 14:03:52 Jonathan M Davis via
> > Digitalmars-d->
> > learn wrote:
> >> On Thursday, November 02, 2017 19:53:36 Q. Schroll
On Thursday, November 02, 2017 18:54:15 Steven Schveighoffer via
Digitalmars-d-learn wrote:
> On 11/2/17 6:10 PM, Jonathan M Davis wrote:
> > I haven't read DIP 25
> > recently, but I assume that the return on id is equivalent to marking
> > the
> > this parameter with return, in which case, the
On 11/2/17 6:10 PM, Jonathan M Davis wrote:
Except that IIRC, DIP 25 only applies to @safe code.
I think the original implementation only applied to @safe code, but it
seems to have an effect on @system code as well:
Stevens-MacBook-Pro:testd steves$ cat testdip25.d
ref int foo(ref int s)
{
On Thursday, 2 November 2017 at 03:55:27 UTC, Michael V. Franklin
wrote:
On Wednesday, 1 November 2017 at 20:53:44 UTC, Dr. Assembly
wrote:
Hey guys, if I were to get into dmd's source code to play a
little bit (just for fun, no commercial use at all), which
books/resources do you recommend to
On Thursday, 2 November 2017 at 04:00:10 UTC, SamwiseFilmore
wrote:
I've got a serialized JSON structure that looks something like
this:
[...]
Do you get a response back with rendered html or does the
connection get dropped?
Have you tried to cut down the amount of data and see if it will
You'd better read some more authorative source since my
experience is very limited on that matter, but here is some quick
notes
On Thursday, 2 November 2017 at 14:22:56 UTC, Guillaume Piolat
wrote:
Question 1. Is it mandatory to inherit from
core.sys.windows.unknwn.IUnknown, or just having
On 02/11/2017 12:42 PM, Andre Pany wrote:
Hi,
I have a windows slave on which the dmd archive is extracted and dub is
executed using build scripts. The windows slave has Visual Studio 2017
installed.
I would like to switch from OMF to COFF executables to also allow 64 bit
compilations.
My
On Thursday, 2 November 2017 at 12:21:50 UTC, rikki cattermole
wrote:
Override the shipped sc.ini file with your own. Simple and
effective solution.
What I just found out, by calling the batch file "vcvars64.bat"
from the visual studio folder it seems everything is already pre
configured
Hi,
I have a windows slave on which the dmd archive is extracted and
dub is executed using build scripts. The windows slave has Visual
Studio 2017 installed.
I would like to switch from OMF to COFF executables to also allow
64 bit compilations.
My issue is, there is no way to install DMD
On Wednesday, 1 November 2017 at 20:53:44 UTC, Dr. Assembly wrote:
Hey guys, if I were to get into dmd's source code to play a
little bit (just for fun, no commercial use at all), which
books/resources do you recommend to start out?
You don't need to read books to write a compiler, a bit of
I wonder if anyone has used COM in dlang extensively.
Context: I must use COM FFI interfacing on systems that aren't
necessarily Windows. It is essential that the layout of
interfaces and classes are the same than in equivalent C++
objects.
Question 1. Is it mandatory to inherit from
On 02/11/2017 1:56 PM, Andre Pany wrote:
On Thursday, 2 November 2017 at 12:21:50 UTC, rikki cattermole wrote:
Override the shipped sc.ini file with your own. Simple and effective
solution.
What I just found out, by calling the batch file "vcvars64.bat" from the
visual studio folder it
On Thursday, 2 November 2017 at 13:01:05 UTC, rikki cattermole
wrote:
On 02/11/2017 1:56 PM, Andre Pany wrote:
On Thursday, 2 November 2017 at 12:21:50 UTC, rikki cattermole
wrote:
Override the shipped sc.ini file with your own. Simple and
effective solution.
What I just found out, by
24 matches
Mail list logo