Re: WildCAD - a simple 2D drawing application

2023-02-03 Thread Johann Lermer via Digitalmars-d-announce
On Friday, 3 February 2023 at 21:05:36 UTC, Adam D Ruppe wrote: BTW I did `time make -j6` this time and it said 10 seconds, so still think the dmd -i approach better but if your incremental builds are smaller it might be better, I did git pull so of course that meant a lot of things were

Re: WildCAD - a simple 2D drawing application

2023-02-03 Thread Adam D Ruppe via Digitalmars-d-announce
On Friday, 3 February 2023 at 08:30:55 UTC, Johann Lermer wrote: That at least should be fixed now. Confirmed, works here now! BTW I did `time make -j6` this time and it said 10 seconds, so still think the dmd -i approach better but if your incremental builds are smaller it might be better,

Re: WildCAD - a simple 2D drawing application

2023-02-03 Thread Johann Lermer via Digitalmars-d-announce
On Thursday, 26 January 2023 at 14:31:55 UTC, Adam D Ruppe wrote: I did see the menus popped up in the wrong place though That at least should be fixed now.

Re: WildCAD - a simple 2D drawing application

2023-02-01 Thread Hipreme via Digitalmars-d-announce
On Tuesday, 31 January 2023 at 21:14:04 UTC, WebFreak001 wrote: On Tuesday, 31 January 2023 at 15:03:50 UTC, bachmeier wrote: On Monday, 30 January 2023 at 20:51:59 UTC, Richard (Rikki) Andrew Cattermole wrote: It isn't. WebFreak has an on-going project to replace it.

Re: WildCAD - a simple 2D drawing application

2023-01-31 Thread WebFreak001 via Digitalmars-d-announce
On Tuesday, 31 January 2023 at 15:03:50 UTC, bachmeier wrote: On Monday, 30 January 2023 at 20:51:59 UTC, Richard (Rikki) Andrew Cattermole wrote: It isn't. WebFreak has an on-going project to replace it. https://forum.dlang.org/post/ojoiwbcftqsxbsviv...@forum.dlang.org

Re: WildCAD - a simple 2D drawing application

2023-01-31 Thread bachmeier via Digitalmars-d-announce
On Monday, 30 January 2023 at 20:51:59 UTC, Richard (Rikki) Andrew Cattermole wrote: It isn't. WebFreak has an on-going project to replace it. https://forum.dlang.org/post/ojoiwbcftqsxbsviv...@forum.dlang.org https://docs.webfreak.org/ That's quite an improvement. Perhaps it should be

Re: WildCAD - a simple 2D drawing application

2023-01-30 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce
I've gone ahead and pinged Jan on this. They didn't receive much feedback when first announced :) Part of the problem is dub in general didn't receive much work done on it for the better part of 10 years. It has speed up within the last couple of years :) The registry and with that docs

Re: WildCAD - a simple 2D drawing application

2023-01-30 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Jan 31, 2023 at 11:25:02AM +1300, Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce wrote: > Like this? https://docs.webfreak.org/getting-started/first-steps/ Not bad! Looks much more promising than the original page for sure. Still ran into some issues though. The linked

Re: WildCAD - a simple 2D drawing application

2023-01-30 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce
Like this? https://docs.webfreak.org/getting-started/first-steps/

Re: WildCAD - a simple 2D drawing application

2023-01-30 Thread H. S. Teoh via Digitalmars-d-announce
On Mon, Jan 30, 2023 at 08:39:33PM +, bachmeier via Digitalmars-d-announce wrote: > On Monday, 30 January 2023 at 04:40:48 UTC, Siarhei Siamashka wrote: > > On Monday, 30 January 2023 at 02:44:50 UTC, bachmeier wrote: > > > if you put your code in directories that match the modules you > > >

Re: WildCAD - a simple 2D drawing application

2023-01-30 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce
On 31/01/2023 9:39 AM, bachmeier wrote: On Monday, 30 January 2023 at 04:40:48 UTC, Siarhei Siamashka wrote: On Monday, 30 January 2023 at 02:44:50 UTC, bachmeier wrote: if you put your code in directories that match the modules you want to import, there's no need for Dub and the corresponding

Re: WildCAD - a simple 2D drawing application

2023-01-30 Thread bachmeier via Digitalmars-d-announce
On Monday, 30 January 2023 at 04:40:48 UTC, Siarhei Siamashka wrote: On Monday, 30 January 2023 at 02:44:50 UTC, bachmeier wrote: if you put your code in directories that match the modules you want to import, there's no need for Dub and the corresponding poorly documented configuration. What

Re: WildCAD - a simple 2D drawing application

2023-01-30 Thread Adam D Ruppe via Digitalmars-d-announce
On Monday, 30 January 2023 at 13:51:14 UTC, Johann Lermer wrote: Where exactly does this happen to you and what window manager do you use? I use old Blackbox. But it happens always, you click the window and it pops up as if the window is at (0, 0) instead of where it actually is. Probably

Re: WildCAD - a simple 2D drawing application

2023-01-30 Thread Johann Lermer via Digitalmars-d-announce
On Thursday, 26 January 2023 at 14:31:55 UTC, Adam D Ruppe wrote: I did see the menus popped up in the wrong place though sorry to bother you again. But I can't reproduce this error, here the menus are always on the spot. Where exactly does this happen to you and what window manager do you

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread Siarhei Siamashka via Digitalmars-d-announce
On Monday, 30 January 2023 at 02:44:50 UTC, bachmeier wrote: if you put your code in directories that match the modules you want to import, there's no need for Dub and the corresponding poorly documented configuration. What is poorly documented? Can you suggest some documentation

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread bachmeier via Digitalmars-d-announce
On Sunday, 29 January 2023 at 15:01:40 UTC, Adam D Ruppe wrote: dub fights D compilers. This is why it forces me to write 600 lines of ugly configuration file for something that just works in dmd. I don't want to get sucked into another discussion of the pros and cons of Dub, but yeah, if

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread Adam D Ruppe via Digitalmars-d-announce
On Sunday, 29 January 2023 at 17:14:40 UTC, Johann Lermer wrote: right - but isn't one of make's features, that it compiles code only when the source changes? When you just compile the whole thing at once, I would expect that you get longer times than when you change just one source file and

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread Johann Lermer via Digitalmars-d-announce
On Sunday, 29 January 2023 at 15:01:40 UTC, Adam D Ruppe wrote: Fully operational executable created in under 3 seconds. right - but isn't one of make's features, that it compiles code only when the source changes? When you just compile the whole thing at once, I would expect that you get

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread Johann Lermer via Digitalmars-d-announce
On Sunday, 29 January 2023 at 13:55:41 UTC, Richard (Rikki) Andrew Cattermole wrote: You're fundamentally doing something that D compilers are not designed to handle. The problem is with -I flag. Being able to set a directory to look modules up in. I admit that's something I never fully

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread Adam D Ruppe via Digitalmars-d-announce
On Sunday, 29 January 2023 at 13:55:41 UTC, Richard (Rikki) Andrew Cattermole wrote: dub isn't the issue, people who fight it like this, fight the D compilers and end up having issues. dub fights D compilers. This is why it forces me to write 600 lines of ugly configuration file for something

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce
dub isn't the issue, people who fight it like this, fight the D compilers and end up having issues. You're fundamentally doing something that D compilers are not designed to handle. The problem is with -I flag. Being able to set a directory to look modules up in. Problem is it needs to

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread Johann Lermer via Digitalmars-d-announce
On Thursday, 26 January 2023 at 14:48:17 UTC, Ferhat Kurtulmuş wrote: I will give it a try, but I wish it would use dub as a build system. Well, I tried dub and wasn't convinced - maybe due to a lack of documentation but I couldn't get it running the way I wanted (that is, with my directory

Re: WildCAD - a simple 2D drawing application

2023-01-28 Thread Ulrich via Digitalmars-d-announce
On Wednesday, 25 January 2023 at 14:36:54 UTC, Johann Lermer wrote: Hi, I'd like to announce a little project of mine that started some years ago as a C++ application and which I finally managed to port to D. It's called WildCAD and it's a simple 2D drawing program (you know - lines, circles

Re: WildCAD - a simple 2D drawing application

2023-01-27 Thread Johann Lermer via Digitalmars-d-announce
On Thursday, 26 January 2023 at 13:23:46 UTC, Dadoum wrote: Just a small tip: add screenshots in your readmes. Good idea. I'll do that.

Re: WildCAD - a simple 2D drawing application

2023-01-27 Thread Johann Lermer via Digitalmars-d-announce
On Thursday, 26 January 2023 at 14:31:55 UTC, Adam D Ruppe wrote: I briefly played around with it, not bad at all. I did see the menus popped up in the wrong place though, something to note is that ConfigureNotify is a bit complicated in how it works. Let me copy/paste a comment from my

Re: WildCAD - a simple 2D drawing application

2023-01-26 Thread Ferhat Kurtulmuş via Digitalmars-d-announce
On Wednesday, 25 January 2023 at 14:36:54 UTC, Johann Lermer wrote: Hi, I'd like to announce a little project of mine that started some years ago as a C++ application and which I finally managed to port to D. It's called WildCAD and it's a simple 2D drawing program (you know - lines, circles

Re: WildCAD - a simple 2D drawing application

2023-01-26 Thread Adam D Ruppe via Digitalmars-d-announce
I briefly played around with it, not bad at all. I did see the menus popped up in the wrong place though, something to note is that ConfigureNotify is a bit complicated in how it works. Let me copy/paste a comment from my simpledisplay.d: /+ The ICCCM says window managers must send a

Re: WildCAD - a simple 2D drawing application

2023-01-26 Thread Dadoum via Digitalmars-d-announce
On Wednesday, 25 January 2023 at 14:36:54 UTC, Johann Lermer wrote: Hi, I'd like to announce a little project of mine that started some years ago as a C++ application and which I finally managed to port to D. It's called WildCAD and it's a simple 2D drawing program (you know - lines, circles

WildCAD - a simple 2D drawing application

2023-01-25 Thread Johann Lermer via Digitalmars-d-announce
Hi, I'd like to announce a little project of mine that started some years ago as a C++ application and which I finally managed to port to D. It's called WildCAD and it's a simple 2D drawing program (you know - lines, circles and so on). It uses a command line interface inspired by AutoCAD