Re: DlangIDE

2015-05-22 Thread JohnnyK via Digitalmars-d-announce
On Wednesday, 13 May 2015 at 10:26:10 UTC, Vadim Lopatin wrote: On Tuesday, 12 May 2015 at 21:03:05 UTC, JohnnyK wrote: On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote: Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI

Re: DlangIDE

2015-05-12 Thread JohnnyK via Digitalmars-d-announce
On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote: Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide It's in alpha stage but already allows: * Open DUB based projects

Re: DWT 64bit support

2015-05-12 Thread JohnnyK via Digitalmars-d-announce
On Sunday, 10 May 2015 at 16:11:41 UTC, Jacob Carlborg wrote: I would like to announce that DWT recently got support for 64bit, both on Linux and Windows. Compiling for 32bit COFF should also work on Windows. All this work was done by kntroh and Jesse Phillips, thank you very much. This is

Re: This Week in D 16: microcontroller, andoid, std.allocator, lazy import trick

2015-05-12 Thread JohnnyK via Digitalmars-d-announce
On Monday, 11 May 2015 at 03:09:53 UTC, Adam D. Ruppe wrote: http://arsdnet.net/this-week-in-d/may-10.html https://twitter.com/adamdruppe/status/597598994227924992 The tip could probably use a rewrite in editing, but I'm out of time again tonight and I hope I got the point across anyway. As

Re: Today's programming challenge - How's your Range-Fu ?

2015-04-21 Thread JohnnyK via Digitalmars-d
On Monday, 20 April 2015 at 19:24:01 UTC, Panke wrote: On Monday, 20 April 2015 at 18:03:50 UTC, John Colvin wrote: On Monday, 20 April 2015 at 17:48:17 UTC, Panke wrote: To measure the columns needed to print a string, you'll need the number of graphemes. (d|)?string.length gives you the

Re: SWT.DROP_DOWN style has no effect on DateTime widget

2014-02-20 Thread JohnnyK
On Friday, 14 February 2014 at 20:42:28 UTC, Jacob Carlborg wrote: On 2014-02-13 23:56, JohnnyK wrote: Sorry I have no idea how to use GitHub. At the link you provided above what do I do to report this issue. Here's the exact URL [1]. Type a tile, a message and click Submit new issue. You

Re: Error: undefined identifier ArrayWrapperString

2014-02-13 Thread JohnnyK
On Friday, 7 February 2014 at 20:39:40 UTC, Jacob Carlborg wrote: On 2014-02-07 19:55, JohnnyK wrote: I am getting the following error when trying to use the clipboard with DWT. Error: undefined identifier ArrayWrapperString. Does anyone know what I need to import to get this class to work

SWT.DROP_DOWN style has no effect on DateTime widget

2014-02-13 Thread JohnnyK
Under Windows 7 64bit Enterprise the SWT.DROP_DOWN style has no effect on the DateTime widget. The widget does not show the date in a combo box with a dropdown button. It shows in the default with the up/down spin buttons that are found on the Spin widget. Below is a slightly modified

Error: undefined identifier ArrayWrapperString

2014-02-07 Thread JohnnyK
I am getting the following error when trying to use the clipboard with DWT. Error: undefined identifier ArrayWrapperString. Does anyone know what I need to import to get this class to work? Below is what I am currently importing. import java.io.ByteArrayInputStream; import

Re: How to add time to Clock.currTime

2013-10-07 Thread JohnnyK
On Saturday, 5 October 2013 at 02:42:49 UTC, Jonathan M Davis wrote: On Saturday, October 05, 2013 03:31:33 JohnnyK wrote: Wow I appreciate the quick response. Ok I have seen this before. What is the dur? Where is dur defined? Also I am confused how 300.seconds would work. How can a literal

How to add time to Clock.currTime

2013-10-04 Thread JohnnyK
Hi All, I did search but I cannot find it anywhere. All I want to do is add 300 seconds to the output of Clock.currTime. So basically if Clock.currTime equals 2013-Oct-04 17:19:31.3338333 then I want to subtract 300 seconds from that to get the time that it was 300 seconds ago. In other

Re: How to add time to Clock.currTime

2013-10-04 Thread JohnnyK
On Friday, 4 October 2013 at 21:54:19 UTC, Brad Anderson wrote: On Friday, 4 October 2013 at 21:50:31 UTC, Brad Anderson wrote: On Friday, 4 October 2013 at 21:46:43 UTC, JohnnyK wrote: Hi All, I did search but I cannot find it anywhere. All I want to do is add 300 seconds to the output

Re: More Linux love?

2013-09-25 Thread JohnnyK
+1 here yeah DMD is easy to use in linux. I have installed and used it in several Linux distros and everytime it has just worked. I just installed DMD on Slackware 14 x86_64 and it was a copy/paste of the binaries fix up the paths in dmd.comf and Hello World just compiles and runs. The

Re: compiled code file size

2013-09-20 Thread JohnnyK
On Friday, 20 September 2013 at 18:09:03 UTC, Adam D. Ruppe wrote: On Friday, 20 September 2013 at 17:27:56 UTC, captaindet wrote: i have a short program using GtkD. the exe is gtkd's size is one reason why I started writing minigui.d. It isn't finished yet, but the resulting exes are about

Re: compiled code file size

2013-09-20 Thread JohnnyK
On Friday, 20 September 2013 at 16:20:34 UTC, Duke Normandin wrote: I'm re-visiting the D language. I've compared the file sizes of 2 executables - 1 is compiled C code using gcc; the other is D code using dmd. helloWorld.d = helloWorld.exe = 146,972 bytes ex1hello.c = ex1-hello.exe = 5,661

Re: compiled code file size

2013-09-20 Thread JohnnyK
On Friday, 20 September 2013 at 17:27:30 UTC, Duke Normandin wrote: On Friday, 20-Sep-13 10:50 AM, Temtaime wrote: C/C++ applications also carries on its runtime(mingwm10, msvc's redist, for example). If compiled with static runtime, msvc's hello world application uses about 40 KB. +1 I

Re: How to build program with DWT2 and DMD2?

2013-08-20 Thread JohnnyK
On Monday, 19 August 2013 at 13:44:32 UTC, Kagamin wrote: What's the executable size? This particular executable compiled to 2.7MB. Most DWT Executables are between 2.3MB and 3MB. I will say this the executables compress pretty good with the latest UPX exe compressor for windows. With

Using DWT on Linux x86_64

2013-08-10 Thread JohnnyK
I don't need 64bit executables I just want to be able to compile as 32bit. Anyway here I am getting some errors when I try to compile dwt on x86_64 Ubuntu I get /usr/bin/ld: cannot find -llibnamehere for all the dependencies. I did install the dev packages using the following sudo apt-get

Re: How to build program with DWT2 and DMD2?

2013-08-08 Thread JohnnyK
On Wednesday, 7 August 2013 at 18:55:53 UTC, Druzhinin Alexandr wrote: On 08.08.2013 00:03, JohnnyK wrote: It looks to be unable to find the static libs now. How do people use this library? Do they work in the dwt folder and just use that build.d file to compile with? Again I would like

Re: How to build program with DWT2 and DMD2?

2013-08-08 Thread JohnnyK
On Thursday, 8 August 2013 at 15:01:29 UTC, Jacob Carlborg wrote: On 2013-08-08 16:06, JohnnyK wrote: On Thursday, 8 August 2013 at 13:07:15 UTC, JohnnyK wrote: Ok problem resolved. I can now compile DWT applications from another directory structure outside of the dwt distribution

Re: How to build program with DWT2 and DMD2?

2013-08-07 Thread JohnnyK
On Wednesday, 7 August 2013 at 09:49:50 UTC, Jacob Carlborg wrote: On 2013-08-07 11:48, Jacob Carlborg wrote: RDMD works like this: all flags passed before the D file will be passed to the compiler. All flags passed after the D file will be passed to the compiled application when it's run.

Re: How to build program with DWT2 and DMD2?

2013-08-07 Thread JohnnyK
On Wednesday, 7 August 2013 at 15:42:32 UTC, Jacob Carlborg wrote: On 2013-08-07 16:04, JohnnyK wrote: Well now I get these errors C:\Users\myusername\Documents\My Projects\Programming\DStuff\dwthelloworldrdmd -I C:\GITClones\dwt\org.eclipse.swt.win32.win32.x86\src -IC:\GITClones\dwt\base\src

Re: How to build program with DWT2 and DMD2?

2013-08-06 Thread JohnnyK
On Tuesday, 6 August 2013 at 11:32:44 UTC, Jacob Carlborg wrote: On 2013-08-02 19:50, JohnnyK wrote: If you have cloned the git repository into C:\GITClones\dwt you should compile it like this: rdmd hello.d -IC:\GITClones\dwt\org.eclipse.swt.win32.win32.x86\src -IC:\GITClones\dwt\base\src

Re: How to build program with DWT2 and DMD2?

2013-08-02 Thread JohnnyK
On Friday, 2 August 2013 at 11:28:15 UTC, Jacob Carlborg wrote: On 2013-07-31 15:47, JohnnyK wrote: Hi all, Sorry for what may seem like a simple and obvious question to most DWT users. First I would like to say that I have absolutely no experience with SWT in any form. Second I know

request for a RSS feed of the D Forum

2013-07-16 Thread JohnnyK
I could not find any posts on this and have not found a link on the site about this either. It would be nice if there was a RSS feed for the forum at least for the announce forum. It is very difficult to monitor changes and updates with so much activity just through the forum. Sorry if this

pointers, assignments, Garbage Collection Oh My?

2013-07-10 Thread JohnnyK
I hope you like the subject matter and I hope it is not too simplistic or have been answered before. Anyway I have a question about how the garbage collector works in a very specific situation. When passing string type to a function in a shared library or DLL and assigning it to a variable

Re: pointers, assignments, Garbage Collection Oh My?

2013-07-10 Thread JohnnyK
On Wednesday, 10 July 2013 at 18:22:24 UTC, Ali Çehreli wrote: On 07/10/2013 11:10 AM, Sean Kelly wrote: On Jul 10, 2013, at 10:45 AM, Namespace rswhi...@googlemail.com wrote: A string in D, and all arrays, is a struct looking like this: struct Array (T) { T* ptr; size_t length;

Re: pointers, assignments, Garbage Collection Oh My?

2013-07-10 Thread JohnnyK
On Wednesday, 10 July 2013 at 18:45:56 UTC, H. S. Teoh wrote: On Wed, Jul 10, 2013 at 08:38:40PM +0200, JohnnyK wrote: [...] Reminds me of how Delphi (aka Pascal) strings are work. Thanks everyone this answers some of my questions. Now what about when the return type of a function

Re: GitHub behind proxy servers among other questions

2013-07-09 Thread JohnnyK
On Tuesday, 9 July 2013 at 08:55:29 UTC, monarch_dodra wrote: On Monday, 8 July 2013 at 19:20:46 UTC, John Colvin wrote: I don't see how it is problematic? The firewall doesn't allow a particular type of connection, so you cache the result somewhere else and then access it via something that

Re: GitHub behind proxy servers among other questions

2013-07-08 Thread JohnnyK
On Monday, 8 July 2013 at 03:35:03 UTC, Jesse Phillips wrote: On Monday, 8 July 2013 at 02:42:50 UTC, JohnnyK wrote: Hi all, I have searched everywhere over the Internet and I have yet to find a way to clone a project using git when my workstation is behind a company proxy. Can you guys

Re: GitHub behind proxy servers among other questions

2013-07-08 Thread JohnnyK
On Monday, 8 July 2013 at 18:34:33 UTC, Jesse Phillips wrote: On Monday, 8 July 2013 at 16:24:53 UTC, JohnnyK wrote: It would be nice if GitHUB would change their Downlaod Zip button such that it does a recursive zip to include all the subfolders. Ehhh, well that is useless. Sorry I

Re: GitHub behind proxy servers among other questions

2013-07-08 Thread JohnnyK
On Monday, 8 July 2013 at 19:37:08 UTC, JohnnyK wrote: Another thing about GitHub's Download Zip button and this process as a whole. While the Download Zip button does allow you to download the master folders with recursive directories I do find it somewhat cumbersome or should I say awkward

GitHub behind proxy servers among other questions

2013-07-07 Thread JohnnyK
Hi all, I have searched everywhere over the Internet and I have yet to find a way to clone a project using git when my workstation is behind a company proxy. Can you guys clone your projects to a single zip file that I can download? This would be easier instead of working with some