Re: DCD 0.5.0 beta

2015-01-30 Thread Jussi Jumppanen via Digitalmars-d-announce
I'm not sure if this is a DCD bug or an issue with the DMD 
installer?


The DCD beta code compiled without issue.

But when I started the server I got this error:

  C:\Program Files\Zeusdcd-server.exe -iC:/dmd2/src/phobos
  [info ] Getting symbols for C:/dmd2/src/phobos\etc\c\curl.d
  ...
  [info ] Getting symbols for 
C:/dmd2/src/phobos\std\container\package.d
  [info ] Getting symbols for 
C:/dmd2/src/phobos\std\container\array.d
  [info ] Getting symbols for 
C:/dmd2/src/phobos\std\container\util.d

  [info ] Shutting down sockets...
  [info ] Sockets shut down.
  object.Error@(0): Access Violation

If I remove the C:/dmd2/src/phobos\std\container folder the server
starts fine:

  C:\Program Files\Zeusdcd-server.exe -iC:/dmd2/src/phobos
  [info ] Getting symbols for C:/dmd2/src/phobos\etc\c\curl.d
  ...
  [info ] Getting symbols for C:/dmd2/src/phobos\unittest.d
  [info ] Import directories: [C:/dmd2/src/phobos]
  [info ] 22153 symbols cached.
  [info ] Startup completed in 6677.97 milliseconds.

I was using the DMD v2.066.1 release installed using the zip file.



Re: D support in Exuberant Ctags 5.8 for Windows

2014-11-12 Thread Jussi Jumppanen via Digitalmars-d

On Thursday, 26 July 2012 at 22:06:08 UTC, Gary Willoughby wrote:

I'm looking at this page and trying to download the latest 
CTags 5.8 with D patch compiled for Windows but i'm getting a 
dead link.


FYI the Zeus IDE uses ctags and many years ago I updated ctags
to have some understanding of the D language.

Those code changes where made against the last 5.8 version and
they can be found here:

http://www.zeusedit.com/z300/ctags_src.zip

But as I said earlier those changes are quite old, so I don't
know how well they work with the current D language.



[Zeus IDE] Dscanner Python Scripts

2014-08-26 Thread Jussi Jumppanen via Digitalmars-d-announce

I've created a set of Zeus Python scripts to allow
the Dscanner to be run from inside Zeus.

The Dscanner will need to be downloaded and built
form here:

https://github.com/Hackerpilot/Dscanner

The Zeus scripts can be found here:

http://www.zeusedit.com/zforum/viewtopic.php?t=7196

Note: I'm the author of Zeus, Zeus is shareware, runs
  natively on the Windows platform and can also be
  run on Linux using Wine.


Re: No VisualStudio project for phobos?

2014-05-08 Thread Jussi Jumppanen via Digitalmars-d
On Thursday, 8 May 2014 at 13:58:51 UTC, Orvid King via 
Digitalmars-d wrote:


I'm fairly certain that it can't build VisualC++ project files 
from a version of VS older than 2010, due to the fact that 2010 
is the first version where VisualC++ projects were proper 
MSBuild project files.


MSBuild can build VisualC++ 2008 project files, but you do have
to use a version of MSBuild that is happy with those files.

For those interested, more details can be found here:

http://www.zeusedit.com/zforum/viewtopic.php?t=7143



Re: Compile-time memory footprint of std.algorithm

2014-04-23 Thread Jussi Jumppanen via Digitalmars-d

On Wednesday, 23 April 2014 at 20:04:09 UTC, Peter Alexander
wrote:

Maybe we should investigate where the memory is going first 
before planning our attack :-)


FWIW one hint might be found in the DCD project found here:

https://github.com/Hackerpilot/DCD/

In that project compiling the lexer.d file causes a massive
increase in compiler memory usage.

More details found here:

https://github.com/Hackerpilot/DCD/issues/93

NOTE: That was DMD running on a 32 bit Windows XP machine.


Re: D-Scanner 0.1.0-beta3 and DCD 0.3.0-beta4

2014-03-20 Thread Jussi Jumppanen
The latest Zeus IDE beta adds support for DCD document comment 
completion.


Zeus already has support for DCD goto definition, brace and dot 
completion.


For more details refer to this link:

http://www.zeusedit.com/zforum/viewtopic.php?p=10795

NOTE: Zeus is shareware, runs natively on the Windows and can run 
on Linux using Wine.


Jussi Jumppanen
Author: Zeus Editor


Re: D-Scanner 0.1.0-beta3 and DCD 0.3.0-beta4

2014-03-06 Thread Jussi Jumppanen

On Wednesday, 5 March 2014 at 08:37:28 UTC, Brian Schott wrote:
New betas are available for both tools. Hopefully no more bugs 
will be found. I plan to tag these as non-beta this Saturday.


https://github.com/Hackerpilot/Dscanner/tree/0.1.0-beta3
https://github.com/Hackerpilot/DCD/tree/0.3.0-beta4



On building this zip file:

https://github.com/Hackerpilot/DCD/archive/0.3.0-beta4.zip

It generates this compiler error:

D:\projects\dcd\DCDbuild.bat

D:\projects\dcd\DCDdmd -wi client.d messages.d stupidlog.d 
msgpack-d/src/msgpack.d -Imsgpack-d/src -release

-inline -noboundscheck -O -ofdcd-client.exe

D:\projects\dcd\DCDdmd actypes.d conversion/astconverter.d 
conversion/first.d conversion/second.d
conversion/third.d autocomplete.d constants.d messages.d 
modulecache.d semantic.d server.d stupidlog.d
dscanner/stdx/d/ast.d dscanner/stdx/d/entities.d 
dscanner/stdx/d/lexer.d dscanner/stdx/d/parser.d
dscanner/stdx/lexer.d dscanner/stdx/allocator.d 
dscanner/formatter.d msgpack-d/src/msgpack.d
-Imsgpack-d/src -Idscanner -wi -g -O -release -noboundscheck 
-inline -ofdcd-server.exe


modulecache.d(138): Error: cannot implicitly convert 
expression (f.size()) of type ulong to uint


Cheers Jussi


Re: D-Scanner 0.1.0-beta3 and DCD 0.3.0-beta4

2014-03-06 Thread Jussi Jumppanen

On Thursday, 6 March 2014 at 19:11:19 UTC, Brian Schott wrote:


This is fixed on the master branch and will be included in the
next beta / final release.


The master branch zip file fixed the compile issue but the linker 
now fails with this link error:


OPTLINK (R) for Win32  Release 8.00.15
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
dcd-server.obj(dcd-server)
 Error 42: Symbol Undefined __aligned_malloc
dcd-server.obj(dcd-server)
 Error 42: Symbol Undefined __aligned_free
dcd-server.obj(dcd-server)
 Error 42: Symbol Undefined __aligned_realloc
--- errorlevel 3

The project was build as follows:

D:\projects\dcd\DCDdmd actypes.d conversion/astconverter.d 
conversion/first.d conversion/second.d conversion/third.d au
tocomplete.d constants.d messages.d modulecache.d semantic.d 
server.d stupidlog.d dscanner/stdx/d/ast.d dscanner/stdx/d/
entities.d dscanner/stdx/d/lexer.d dscanner/stdx/d/parser.d 
dscanner/stdx/lexer.d dscanner/stdx/allocator.d dscanner/for
matter.d msgpack-d/src/msgpack.d -Imsgpack-d/src -Idscanner 
-wi -g -O -release -noboundscheck -inline -ofdcd-server.exe


Using this version of the compiler:

DMD32 D Compiler v2.065
Copyright (c) 1999-2013 by Digital Mars written by Walter 
Bright

Documentation: http://dlang.org/
Usage:
dmd files.d ... { -switch }

Cheers Jussi


Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1

2014-01-31 Thread Jussi Jumppanen

On Friday, 31 January 2014 at 08:26:49 UTC, Brian Schott wrote:

Textadept, Zeus, Sublime, and Kate are up to date as far as I 
know.


All the updated Zeus scripts can be found here:

http://www.zeusedit.com/z300/dcd_scripts.zip

These latest scripts also include the first cut of a Doc Comment
script.

While the dot, brace, intellisense and goto definition scripts
seem to be working fine, the Doc Comment script still requires
a few enhancements.

The Doc Comment script will require a binary change to the Zeus
editor itself and that should happen with the next release.

Details on how to use all these scripts can be found here:

http://www.zeusedit.com/zforum/viewtopic.php?t=7020




Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1

2014-01-30 Thread Jussi Jumppanen

On Thursday, 30 January 2014 at 04:18:12 UTC, Rory McGuire wrote:


Could you try build with the dmd beta?


The latest beta produced the same results.

But with help form Brian Schott it turns out it just takes a lot 
longer to compile that one lexer.d file.


So the fix is to just be very patient ;)

For anyone that might be interested, I added some more details to 
the DCD bug report:


https://github.com/Hackerpilot/DCD/issues/93



Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1

2014-01-30 Thread Jussi Jumppanen

On Tuesday, 28 January 2014 at 09:58:27 UTC, Brian Schott wrote:


New DCD and DScanner betas are  ready for testing.


The Zeus IDE dot completion, parenthesis completion and goto 
declaration scripts have been updated and are all working fine 
with this latest DCD release.


As yet there is no script for the new DCD Doc Comment display 
feature.


For more details see here: 
http://www.zeusedit.com/zforum/viewtopic.php?t=7020




Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1

2014-01-29 Thread Jussi Jumppanen

On Tuesday, 28 January 2014 at 09:58:27 UTC, Brian Schott wrote:

New DCD and DScanner betas are ready for testing.


I'm no D expert so I'm not really sure if this is a bug with DCD
or
with the DMD compiler itself? I suspect it might be the later?

I was testing your latest DCD against the Zeus IDE but came across
the following issue when trying to build DCD.

I tried doing the build using the zip files as follows:

1) Download the dmd.2.064.2.zip from here:

http://dlang.org/download.html

2) Download the DCD, DScanner and msgpack source zip files from
these pages:

https://github.com/Hackerpilot/DCD/tree/0.3.0-beta1
https://github.com/Hackerpilot/Dscanner/tree/0.1.0-beta1
https://github.com/msgpack/msgpack-d

When I run the BUILD.BAT the client exe builds just fine but
the build of the server exe hangs.

So I played around with the BUILD.BAT and found the build was
hanging on this file:

dscanner/stdx/d/lexer.d

I then ran this command to just build that one file:

 dmd -v -wi dscanner/stdx/d/lexer.d -Imsgpack-d/src -Idscanner
-O -release -noboundscheck -inline -ofdcd-server.exe

That command gives the compiler trace output shown below.

It appears that the dmd.exe hang on this file with this as the
last
line of trace output:

 TTY_FUNCTION__, __TIME__, __TIMESTAMP__, __traits,
__vector, __VENDOR__, __VERSION__]).advance

The task manager shows the dmd.exe running but just continually
consuming more and more memory.

Compiler Trace Output
-

NOTE: Some excessive trace output trimmed with ... characters.

D:\projects\dcd\DCD-0.3.0-beta2dmd -v -wi
dscanner/stdx/d/lexer.d -Imsgpack-d/src -Idscanner -O -release
-noboundscheck
  -inline -ofdcd-server.exe
binaryc:\dmd2\windows\bin\dmd.exe
version   v2.064
configc:\dmd2\windows\bin\sc.ini
parse lexer
importall lexer
importstd.uni
(c:\dmd2\windows\bin\..\..\src\phobos\std\uni.d)
...
importcore.sys.windows.windows
(c:\dmd2\windows\bin\..\..\src\druntime\import\core\sys\windows\windows.d)
importstdx.lexer(dscanner\stdx\lexer.d)
semantic  lexer
semantic2 lexer
semantic3 lexer
importstd.stdio
(c:\dmd2\windows\bin\..\..\src\phobos\std\stdio.d)
...
importstd.internal.uni_tab
(c:\dmd2\windows\bin\..\..\src\phobos\std\internal\uni_tab.d)
semantic3 lexer
...
semantic3 utf
semantic3 uni
importstd.internal.unicode_comp
(c:\dmd2\windows\bin\..\..\src\phobos\std\internal\unicode_comp.d)
...
importstd.internal.unicode_decomp
(c:\dmd2\windows\bin\..\..\src\phobos\std\internal\unicode_decomp.d)
semantic3 unicode_tables
...
inline scan lexer
code  lexer
function  stdx.d.lexer.LexerConfig.__xopEquals
...
function  stdx.d.lexer.DLexer.Lexer!(ubyte,
TokenStructure!(ubyte, \x0a\x09string comment;\x0a\x0a\x09int
opCmp(size_t
i) const pure nothrow @safe {\x0a\x09\x09if (index  i) return
-1;\x0a\x09\x09if (index  i) return 1;\x0a\x09\x09return
...
with, __DATE__, __EOF__, __FILE__, __FUNCTION__,
__gshared, __LINE__, __MODULE__, __parameters, __PRE
TTY_FUNCTION__, __TIME__, __TIMESTAMP__, __traits,
__vector, __VENDOR__, __VERSION__]).generateMask
function  stdx.d.lexer.DLexer.Lexer!(ubyte,
TokenStructure!(ubyte, \x0a\x09string comment;\x0a\x0a\x09int
opCmp(size_t
i) const pure nothrow @safe {\x0a\x09\x09if (index  i) return
-1;\x0a\x09\x09if (index  i) return 1;\x0a\x09\x09return
...
with, __DATE__, __EOF__, __FILE__, __FUNCTION__,
__gshared, __LINE__, __MODULE__, __parameters, __PRE
TTY_FUNCTION__, __TIME__, __TIMESTAMP__, __traits,
__vector, __VENDOR__, __VERSION__]).generateByteMask
function  stdx.d.lexer.DLexer.Lexer!(ubyte,
TokenStructure!(ubyte, \x0a\x09string comment;\x0a\x0a\x09int
opCmp(size_t
i) const pure nothrow @safe {\x0a\x09\x09if (index  i) return
-1;\x0a\x09\x09if (index  i) return 1;\x0a\x09\x09return
...
of, ubyte, ucent, uint, ulong, union, unittest,
ushort, version, void, volatile, wchar, while,
with, __DATE__, __EOF__, __FILE__, __FUNCTION__,
__gshared, __LINE__, __MODULE__, __parameters, __PRE
TTY_FUNCTION__, __TIME__, __TIMESTAMP__, __traits,
__vector, __VENDOR__, __VERSION__]).generateCaseStatemen
ts
function  stdx.d.lexer.DLexer.Lexer!(ubyte,
TokenStructure!(ubyte, \x0a\x09string comment;\x0a\x0a\x09int
opCmp(size_t
i) const pure nothrow @safe {\x0a\x09\x09if (index  i) return
-1;\x0a\x09\x09if (index  i) return 1;\x0a\x09\x09return
...
with, __DATE__, __EOF__, __FILE__, __FUNCTION__,
__gshared, __LINE__, __MODULE__, __parameters, __PRE
TTY_FUNCTION__, __TIME__, __TIMESTAMP__, __traits,
__vector, __VENDOR__, __VERSION__]).printCase
function  stdx.d.lexer.DLexer.Lexer!(ubyte,
TokenStructure!(ubyte, \x0a\x09string comment;\x0a\x0a\x09int
opCmp(size_t
i) const pure nothrow @safe {\x0a\x09\x09if (index  i) return
-1;\x0a\x09\x09if (index  i) return 1;\x0a\x09\x09return
...
with, __DATE__, __EOF__, __FILE__, __FUNCTION__,
__gshared, __LINE__, __MODULE__, __parameters, __PRE
TTY_FUNCTION__, __TIME__, __TIMESTAMP__, __traits,
__vector, __VENDOR__, __VERSION__]).front
function  

Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1

2014-01-29 Thread Jussi Jumppanen

Created this issue:

https://github.com/Hackerpilot/DCD/issues/93


Re: DCD 0.2.0 Released

2013-11-13 Thread Jussi Jumppanen
On Wednesday, 13 November 2013 at 19:40:08 UTC, Brian Schott 
wrote:


* Only the Textadept module has support for go-to-declaration 
at the moment.


FYI, the dcd_lookup.py Python script found on this page:

http://www.zeusedit.com/zforum/viewtopic.php?t=7020

implements the *go-to-declaration* feature for the Zeus IDE.


Re: Let's give a honor to dead giants!

2012-04-20 Thread Jussi Jumppanen

On Friday, 20 April 2012 at 03:33:43 UTC, H. S. Teoh wrote:


One thing I miss, though, is ctags support for D.


Here are the changes I made to the Exuburant ctags so
it would do D language tagging.

  http://www.zeusedit.com/z300/ctags_src.zip

These changes where made quite some so that the Zeus IDE
would tag D code, so I'm not sure how well it handles the
latest D 2.0 language changes.





Re: IDE Support for D

2012-04-07 Thread Jussi Jumppanen

On Friday, 6 April 2012 at 23:45:49 UTC, Manu wrote:

Fair enough I guess, but I'm a customer. I work commercially, 
and I'd happily pay money for tools that work.


On Windows, the Zeus editor/IDE has support for the D language:

http://www.zeusedit.com/zforum/viewtopic.php?t=2645


Sadly, I can't offer any significant amount of my own time


Any Zeus bug reports are more than welcome ;)

NOTE: Zeus is shareware



Re: Just starting out

2011-10-13 Thread Jussi Jumppanen
J Arrizza Wrote:

 If that doesn't play, I'll stick with UltraEdit 

FWIW, Zeus is another Windows based editor and it is D language 
aware.

It does syntax highlighting, class browsing, code folding etc.

http://www.zeusedit.com/d.html

It is also pretty easy to setup Zeus to run the DMD compiler 
inside the Zeus IDE.

http://www.zeusedit.com/zforum/viewtopic.php?t=2645

Cheers Jussi


Re: std.path review: update

2011-07-21 Thread Jussi Jumppanen
Lars T. Kyllingstad Wrote:

 On Wed, 20 Jul 2011 14:16:04 -0400, Steven Schveighoffer wrote:

 Any .NET programmers out there?  Can you please tell me what the 
 following functions return?
 
   System.IO.Path.GetDirectoryName(\\foo\bar)
   System.IO.Path.GetPathRoot(\\foo\bar\baz)

This code:
  using System;
  
  namespace Test
  {
 static class Program
 {
[STAThread]
static void Main()
{
   string test;
  
   test = @\\foo\bar\;
   Console.WriteLine(System.IO.Path.GetDirectoryName( + test + ));
   Console.WriteLine(System.IO.Path.GetDirectoryName(test));
  
   test = @\\foo\bar;
   Console.WriteLine(System.IO.Path.GetDirectoryName( + test + ));
   Console.WriteLine(System.IO.Path.GetDirectoryName(test));
  
   test = @\\foo\bar\baz;
   Console.WriteLine(System.IO.Path.GetDirectoryName( + test + ));
   Console.WriteLine(System.IO.Path.GetPathRoot(test));
}
 }
  }

produced this output:

  C:\temptest.exe
  System.IO.Path.GetDirectoryName(\\foo\bar\)
  \\foo\bar
  System.IO.Path.GetDirectoryName(\\foo\bar)
  
  System.IO.Path.GetDirectoryName(\\foo\bar\baz)
  \\foo\bar

Cheers Jussi


Re: [OT] Spaces/tabs (Was: simple display (from: GUI library for

2011-04-13 Thread Jussi Jumppanen
Bruno Medeiros Wrote:

 Why would editors not allow you to enter that right? 

I was wondering the same thing?

 Works fine in Eclipse, again because when it auto-indents on Enter, it 
 uses the indentation of the previous line. :)

It also worked fine in Zeus, because it too uses this same Enter key logic.



Re: If invalid string should crash(was:string need to be robust)

2011-03-14 Thread Jussi Jumppanen
%u Wrote:

 I agree with a), but not b), Can't find anything in unicode standard says
 you can use the low surrogate like that

According to: http://www.cl.cam.ac.uk/~mgk25/

According to ISO 10646-1:2000, sections D.7 and 2.3c, a device
receiving UTF-8 shall interpret a malformed sequence in the same way
that it interprets a character that is outside the adopted subset and
characters that are not within the adopted subset shall be indicated
to the user by a receiving device. A quite commonly used approach in
UTF-8 decoders is to replace any malformed UTF-8 sequence by a
replacement character (U+FFFD), which looks a bit like an inverted
question mark, or a similar symbol. 

Refer to this file for the above quote: 

http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt



Re: Phobos 2.051 CHM Help File

2011-02-02 Thread Jussi Jumppanen
Joel Christensen Wrote:

 I just get Navigation to the webpage was canceled what ever I've click 
 on in the left window.
 
 On 24-Jan-11 8:50 PM, Jussi Jumppanen wrote:
  For any one that might be interested, here's a Phobos 2.051 help file in 
  Windows CHM format:
 
  http://www.zeusedit.com/z300/phobos.2.051.zip
 
 

Seems to work for me. When I on this link (from above):

   http://www.zeusedit.com/z300/phobos.2.051.zip

I get the file save explorer window.

Cheers Jussi



Phobos 2.051 CHM Help File

2011-01-23 Thread Jussi Jumppanen
For any one that might be interested, here's a Phobos 2.051 help file in 
Windows CHM format:

http://www.zeusedit.com/z300/phobos.2.051.zip



Re: null [re: spec#]

2010-11-08 Thread Jussi Jumppanen
so Wrote:

 At initialization rvalue should not contain anything about 
 lvalue, this is absurd.

That may well be the case. 

I was only pointing out that as far as the Microsoft 
compiler is concerned, saying the code:
 
'compiles with no warning, no error, nothing...'

is incorrect. It will issue a warning even if the default 
warning level of 1 is used.

Now as to question whether or not this is a smart way 
to handle the situation, that is a totally different 
discussion all together;)



Re: @property

2010-06-24 Thread Jussi Jumppanen
Max Samukha Wrote:

 I don't think the rule applies universally. For example, .NET is full of 
 functions starting with Set/Get that are not properties because they 
 perform complex/lengthy computations or for some other washy reason.

In .Net it is generally not a good idea to write a getter property that 
changes the object in any way (i.e. they should be written as pure read 
only).

And why is that you ask?

Because when you watch a object in the debugger the debugger extracts the 
object debug information by calling the these getter properties.

So if the object properties are written badly and change the object, 
then by just adding that object to a watch window or hovering over 
it with the mouse will result in the corruption of the object.

This can make for some very interesting debugging.



Re: [feedback] folding in scintilla

2010-04-13 Thread Jussi Jumppanen
Andrej Mitrovic Wrote:

 Personally, I would prefer the left and right brace to stay on the same 
 line as the function definition, and maybe add an elipsis between them 
 so I can tell that function is folded just by looking at the code.

That's a bit like how Zeus does it's folding: 

http://www.zeusedit.com/images/lookfold.png



Re: Solution for Fatal flaw in D design which is holding back widespread adoption(tm)

2010-03-31 Thread Jussi Jumppanen
Nick Sabalausky Wrote:

 I was thinking of it as whole-programming-world kind of thing not specific 
 to any langauge, kind of like how UTF has been replacing ASCII and code 
 pages (although this would use UTF). Basically kind of like a programmer's 
 RTF (although it obviously wouldn't involve setting fonts and colors, but 
 rather things like tab settings).

You mean something like PTSC - http://www.synchro.net/ptsc_hdr.html


Re: Compiler: Size of generated executable file

2010-01-12 Thread Jussi Jumppanen
Lutger Wrote:

 Funny enough distributing dll's alongside the app is exactly what a lot 
 of windows apps do, to prevent dll hell or satisy some license.

If the Windows application is developed correctly in that it is design 
to use the Windows Side-by-side assembly feature: 

http://en.wikipedia.org/wiki/Side-by-side_assembly

then provided the developer does not stuff up the manifest, DLL hell 
is pretty much a non event.



Re: Compiler as a service in C# 4.0

2010-01-05 Thread Jussi Jumppanen
Nick Sabalausky Wrote:

 I thought C# compiling was already part of the .NET library...? 

It is.

Class: CSharpCodeProvider
Namespace:  Microsoft.CSharp
Assembly:  System (in System.dll)

Provides access to instances of the C# code generator and code compiler.



Re: How is D doing?

2009-11-10 Thread Jussi Jumppanen
IkeaTheSofa Wrote:

 Can't run 'C:\D\dmd\dmd\bin\..\..\dm\bin\link.exe', check PATH
 ... Can anyone decipher this? 

The PATH is an environment variable that the system uses to locate 
executables.

You can set the PATH environment variable using the Start Button, 
selecting the Settings, Control Panel menu, selecting the System 
icon and editing the environment variables found on the Advanced 
tab. 

What you need to do is add the DMD installation bin folder to 
this PATH environment variable.

 Any suggestions for a begginer(in general)?  
 I also can not get the ecliseD plugin to work, but thats a
 different issue.

FWIW here is a simple tutorial on how to get the D compiler to run 
from within the Zeus editor:

   http://www.zeusedit.com/forum/viewtopic.php?t=2465

This tutorial also goes into details on setting up the PATH.



Re: IDE for D? Recommendations?

2009-10-23 Thread Jussi Jumppanen
AJ Wrote:

 Anyone have recommendations for which IDE to use to 
 do an evaluation of D with? 

On the Windows platform, with a minimal amount of configuration 
the Zeus IDE will quite happily run the D compiler:

   http://www.zeusedit.com/forum/viewtopic.php?t=2465

NOTE: Zeus is shareware 

Jussi Jumppanen
Author: Zeus for Windows IDE



Re: looking for an IDE

2009-10-02 Thread Jussi Jumppanen
Phil Deets Wrote:

 Is there a Windows IDE with support for D2 debugging, 
 building, 

The Zeus IDE can be easily configured to run the D compiler
or any of the build tools:

   http://www.zeusedit.com/forum/viewtopic.php?t=2465

 and basic code navigation (such as go to definition)? 

Zeus comes with a modified version of ctags meaning it can 
generate tag information for the D language.

This tag information is used to drive the code navigation, 
class browsing and intelisensing features.

I made these ctags changes quite some time ago changes when 
there was no D2 so I am not sure if this tagger stil works 
for D2. 

For any one that is inerested her are my ctags code changes:

htp://www.zeusedit.com/z300/ctags_src.zip

NOTE: Zeus is shareware

Jussi Jumppanen
Author: Zeus IDE




Re: Notepad++

2009-08-12 Thread Jussi Jumppanen
Stewart Gordon Wrote:

 Or maybe I should just go back to TextPad (which isn't perfect 
 either) and put up with its not supporting Unicode

FWIW Zeus is very similar to TextPad in feature set and the latest 
version also adds support for Unicode/UTF8.

   http://www.zeusedit.com/

It will do D syntax highlighting and code folding out of the box.

It also comes with a version of ctags.exe made with these 
changes specifically for the D languages:

   http://www.zeusedit.com/z300/ctags_src.zip

meaning it can produce tags infomation for your D source files.

NOTE: Zeus like TextPad is shareware.

Jussi Jumppanen
Author: Zeus for Windows



Re: Dynamic D Library

2009-07-16 Thread Jussi Jumppanen
BCS Wrote:

 If I'm understanding the situation correctly, what you just 
 described is ONLY a problem on Windows and only because
 of a design flaw in the way DLL's work. 

That might be well be the case. 

But to basically then say that “when developing with D on Windows 
it is highly recommended that DLL's are not used” will just end up 
sounding like limitation of D and not of Windows DLLs.

Windows developers know languages like C/C++, C#, Visual Basic, in 
fact almost any language you care to name, have no trouble working 
with DLLs so the question they will be asking is why should D?



Re: Oh Dear

2009-07-12 Thread Jussi Jumppanen
Rainer Deyke Wrote:

 Integer division in Python uses floor division instead of
 truncated division, and to the best of my knowledge has always
 used floor division.  

Based on the results produced by Python 2.6.2 and Python 1.5.1 
this does appear to be the case:

Python Version: 2.6.2 (r262:71600, Jul  1 2009, 22:22:20) [MSC v.1500 32 bit 
(Intel)]
  
8  //   3 = 2
8  // (-3)= -3
  (-8) //   3 = -3
  (-8) // (-3)= 2
8  %   3  = 2
8  % (-3) = -1
  (-8) %   3  = 1
  (-8) % (-3) = -2
  
8  /   3  = 2
8  / (-3) = -3
  (-8) /   3  = -3
  (-8) / (-3) = 2
8  %   3  = 2
8  % (-3) = -1
  (-8) %   3  = 1
  (-8) % (-3) = -2
  
  
Python Version: 1.5.1 (#0, Sep 11 2002, 21:19:56) [MSC 32 bit (Intel)]
  
8  /   3  = 2
8  / (-3) = -3
  (-8) /   3  = -3
  (-8) / (-3) = 2
8  %   3  = 2
8  % (-3) = -1
  (-8) %   3  = 1
  (-8) % (-3) = -2

Cheers Jussi

Note: These results where created by running the Zeus/Python 
  script shown below using a very old version of the Zeus 
  and the recent version of Zeus.

import sys
import zeus

def key_macro():
zeus.screen_update_disable()
zeus.FileNew()
zeus.write(Python Version:  + sys.version);

#   This only works for 2.6.2
# zeus.write(\n\n)
# zeus.write(  8  //   3 =  + str(  8  //   3 )  + \n, 0)
# zeus.write(  8  // (-3)=  + str(  8  // (-3))  + \n, 0)
# zeus.write((-8) //   3 =  + str((-8) //   3 )  + \n, 0)
# zeus.write((-8) // (-3)=  + str((-8) // (-3))  + \n, 0)
# zeus.write(  8  %   3  =  + str(  8  %   3  )  + \n, 0)
# zeus.write(  8  % (-3) =  + str(  8  % (-3) )  + \n, 0)
# zeus.write((-8) %   3  =  + str((-8) %   3  )  + \n, 0)
# zeus.write((-8) % (-3) =  + str((-8) % (-3) )  + \n, 0)


zeus.write(\n\n)
zeus.write(  8  /   3  =  + str(  8  /   3 )   + \n, 0)
zeus.write(  8  / (-3) =  + str(  8  / (-3))   + \n, 0)
zeus.write((-8) /   3  =  + str((-8) /   3 )   + \n, 0)
zeus.write((-8) / (-3) =  + str((-8) / (-3))   + \n, 0)
zeus.write(  8  %   3  =  + str(  8  %   3  )  + \n, 0)
zeus.write(  8  % (-3) =  + str(  8  % (-3) )  + \n, 0)
zeus.write((-8) %   3  =  + str((-8) %   3  )  + \n, 0)
zeus.write((-8) % (-3) =  + str((-8) % (-3) )  + \n, 0)

zeus.screen_update_enable()
zeus.screen_update()

key_macro() # run the macro



Re: Any IDEs or editors that are compatible with D 2.0?

2009-05-27 Thread Jussi Jumppanen
Matt Nawrocki Wrote:

 Hi... are there any IDEs or editors out there that support DMD 2.0 
 yet? I am having a hard time finding a good one. Thanks!

On the Windows platform there is the Zeus editor/IDE:

http://www.prowiki.org/wiki4d/wiki.cgi?EditorSupport/ZeusForWindows

Zeus is a shareware editor that also has quite few IDE like features.

The current installer will be missing a few D2 keywords but they can be very 
easily added by hand.



Re: OT: on IDEs and code writing on steroids

2009-05-26 Thread Jussi Jumppanen
BCS Wrote:

 What I want is a language where most of the time you build 
 a project from only the information in the source code. 

There is nothing in C# that stops you doing exactly this.

You can build this Simple.cs file: 
  
  using System;
  using System.Windows.Forms;
  
  namespace SimpleApplication
  {
  static class Program
  {
  [STAThread]
  static void Main()
  {
  MessageBox.Show(Hello World!, C# Application, 
  MessageBoxButtons.OK, 
  MessageBoxIcon.Information);
  }
  }
  }

to create a Simple.exe using nothing but this command line:

  csc.exe /r:System.dll; D:\temp\simple.cs

 What I don't want is a language where the only way to keep track 
 of the information you need to build a project, is with an external 
 data file. 

People have been developing projects using an external data file 
for decades. It's called the make file.

 I don't want that because the only practical way to do that is _force_ 
 the programmer to use an IDE and have it maintain that file.

What exactly is it about C# that makes you think you are FORCED
to use an IDE to write the code?
 
MSBuild.exe is nothing than Microsoft's replacement to make.exe. 

It is nothing more than a version of make.exe that takes XML 
make files as it's input.





Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Jussi Jumppanen
BCS Wrote:

 Has anyone ever tried building a c# project without an IDE? 

Yes.

 I don't even know if it can be done. 

It is actually very easy to do:

  http://www.zeusedit.com/forum/viewtopic.php?t=2518

and it is even easier if you have a simple 'one file', throw 
away project:

  http://www.zeusedit.com/forum/viewtopic.php?t=1235

 Yes you can trigger a build from the command line, but setting 
 up a project without it would require hand editing of XML (yuck) 
 and the build tool IS visual studio.

It is true that Visual Studio creates XML project/solution files
and the contents of these files is overly complex.

But these XML files are Visual Studio specific and a lot of their 
complexity comes from the fact that they contain extra information 
that is only needed by the IDE.

If you use the MsBuild approach the amount of XML that is needed to 
create a project/solution is much smaller and in general the XML is 
fairly trivial.  




Re: why Unix?

2009-04-06 Thread Jussi Jumppanen
Jason House Wrote:

 For example, as an emacs user, I can easilly program for an hour 
 without touching my mouse. 

I would say 'not using the mouse' is clear sign the programmer is
coding using a programmer's editor and not a modern day IDE. 

I would also say many Windows programmers are completely lost 
without their IDE, and this can makes them less productive as a 
developer.

They could make themselves better programmers by overcoming their 
addiction to the IDE.

  http://www.charlespetzold.com/etc/DoesVisualStudioRotTheMind.html

But programming on Windows without a mouse driven, language specific 
IDE, using nothing but the command line and a good editor is possible 
and really quite easy to do.

 As a commandline utility, it can be combined with other stuff such 
 as ls, sort, grep, sed, awk, etc... I don't know if I'd start there 
 though...

Replace ls with dir, download the Win32 version of grep, sed, awk 
and you can run all those tools just fine from the Windows command 
line, or from within any decent editor.

You don't have to go to Unix to find the command line.



Re: Eric S. Raymond on GPL and BSD licenses. Microsoft coming to

2009-03-29 Thread Jussi Jumppanen
Yigal Chripun Wrote:

 That is why there are many successful companies that base 
 their business model on free licenses like the GPL and zero 
 companies that use the BSD.

The Apple OS X is a BSD derivative: http://en.wikipedia.org/wiki/Mac_OS_X

  Mac OS X is based upon the Mach kernel.[7] Certain parts 
  from FreeBSD's and NetBSD's implementation of Unix were 
  incorporated in Nextstep, the core of Mac OS X.



Re: OT -- Re: random cover of a range

2009-02-16 Thread Jussi Jumppanen
Yigal Chripun Wrote:

 Denis Koroskin wrote:

  I've heard many Jews refuse to do the blood transfusion even if 
  it costs them their life.
 
 Where did you hear that?

I'm not sure about the Jewish faith but Jehovah's Witnesses believe 
the Bible prohibits the accepting of blood and that to do so is a sin. 

Many a Jehovah's Witnesses have died because of this belief.