Re: My first real dlang/dlangui app - Agile Commander

2018-01-22 Thread Andrzej Kilijański via Digitalmars-d-announce

On Monday, 22 January 2018 at 12:44:29 UTC, Kena wrote:

On Monday, 22 January 2018 at 07:40:02 UTC, Andrzej Kilijański
On Monday, 22 January 2018 at 09:42:58 UTC, Basile B. wrote:

wrote:


Hello,

It's nice to have a new commercial D-written project on the 
market :)


How does Agile Commander store the user data on the computer? 
Does it use a DBMS like SQlite or something ?


It's use simple text (JSON) file with .agic extension.

So you can add project documentation to your mercurial/git 
repository, that makes a nice feature: When you checkout older 
project sources you see the same state of project documentation 
and all what you were working at that time.


Re: My first real dlang/dlangui app - Agile Commander

2018-01-22 Thread Andrzej Kilijański via Digitalmars-d-announce

On Monday, 22 January 2018 at 09:42:58 UTC, Basile B. wrote:
On Monday, 22 January 2018 at 07:40:02 UTC, Andrzej Kilijański 
wrote:

On Sunday, 21 January 2018 at 22:45:56 UTC, Basile B. wrote:


Nice work.

Remarks:

1/ There's an obvious issue with drag and drop. You should 
store the position of the mouse (in Delphi it would be during 
the  "OnMouseDown" event)  and subtract it while moving. The 
little jump is a bit annoying i think.


2/ For some reason, DPI detection was wrong for me. It 
started with 304 (pretty big !) instead of 96.


Thanks for testing :) Do you mean the story jump just after 
you start dragging or you have issues on every mouse move?


Just after start dragging.


It was intended to reveal what is under the cursor. But maybe you 
are right. I will fix it on the option in the configuration in 
the next version :)



Do you have this DPI issues on windows or on linux?


Linux.


I think this may be a SDL problem. DlangUI uses the 
SDL_GetDisplayDPI() function to check DPI. I will check that code.




Re: My first real dlang/dlangui app - Agile Commander

2018-01-22 Thread Kena via Digitalmars-d-announce

On Monday, 22 January 2018 at 07:40:02 UTC, Andrzej Kilijański
On Monday, 22 January 2018 at 09:42:58 UTC, Basile B. wrote:

wrote:


Hello,

It's nice to have a new commercial D-written project on the 
market :)


How does Agile Commander store the user data on the computer? 
Does it use a DBMS like SQlite or something ?


Re: My first real dlang/dlangui app - Agile Commander

2018-01-22 Thread Basile B. via Digitalmars-d-announce
On Monday, 22 January 2018 at 07:40:02 UTC, Andrzej Kilijański 
wrote:

On Sunday, 21 January 2018 at 22:45:56 UTC, Basile B. wrote:


Nice work.

Remarks:

1/ There's an obvious issue with drag and drop. You should 
store the position of the mouse (in Delphi it would be during 
the  "OnMouseDown" event)  and subtract it while moving. The 
little jump is a bit annoying i think.


2/ For some reason, DPI detection was wrong for me. It started 
with 304 (pretty big !) instead of 96.


Thanks for testing :) Do you mean the story jump just after you 
start dragging or you have issues on every mouse move?


Just after start dragging.


Do you have this DPI issues on windows or on linux?


Linux.



Re: My first real dlang/dlangui app - Agile Commander

2018-01-21 Thread Andrzej Kilijański via Digitalmars-d-announce

On Sunday, 21 January 2018 at 22:45:56 UTC, Basile B. wrote:


Nice work.

Remarks:

1/ There's an obvious issue with drag and drop. You should 
store the position of the mouse (in Delphi it would be during 
the  "OnMouseDown" event)  and subtract it while moving. The 
little jump is a bit annoying i think.


2/ For some reason, DPI detection was wrong for me. It started 
with 304 (pretty big !) instead of 96.


Thanks for testing :) Do you mean the story jump just after you 
start dragging or you have issues on every mouse move?


Do you have this DPI issues on windows or on linux?


Re: My first real dlang/dlangui app - Agile Commander

2018-01-21 Thread Basile B. via Digitalmars-d-announce
On Sunday, 21 January 2018 at 18:03:41 UTC, Andrzej Kilijański 
wrote:

Hi,

I was working on my first dlang/dlangui app and dlangui itself 
(as contributor and3md) for the last ten months.
Currently first version of my software is up:) It's simple 
project management tool. Anyone can check how dlangui can look 
like and the state of the project by checking it:


https://agilecommander.com/

I created my own theme, special for my app. I think dlangui is 
pretty usable. Last year many bugs was fixed. There is a lot of 
work to do but all basic stuff just work.


Working with dlang is very pleasure. I love D way of holding 
string encoding. I come to D from Pascal/Delphi world and I 
think D is first language that can be Pascal killer (fast 
compilation, fast native code, more readable, and don't have 
circular reference problem). We (dlang/dlangui) only need more 
success stories.


DlangUI can be found here:
https://github.com/buggins/dlangui


Nice work.

Remarks:

1/ There's an obvious issue with drag and drop. You should store 
the position of the mouse (in Delphi it would be during the  
"OnMouseDown" event)  and subtract it while moving. The little 
jump is a bit annoying i think.


2/ For some reason, DPI detection was wrong for me. It started 
with 304 (pretty big !) instead of 96.


Re: My first real dlang/dlangui app - Agile Commander

2018-01-21 Thread Andrzej Kilijański via Digitalmars-d-announce
On Sunday, 21 January 2018 at 18:22:32 UTC, Guillaume Piolat 
wrote:
Welcome to D app development, and congrats about not being yet 
another SaaS!
It's becoming annoying how every website want to own you and 
your data.

(can't test you app though because no Mac version).


I created to make this app because wanted to have all my 
plans/data on my own computer:) Currently don't have a Mac but 
DlangUI works on Mac too (SDL backend).


Re: My first real dlang/dlangui app - Agile Commander

2018-01-21 Thread Guillaume Piolat via Digitalmars-d-announce
On Sunday, 21 January 2018 at 18:03:41 UTC, Andrzej Kilijański 
wrote:

Hi,

I was working on my first dlang/dlangui app and dlangui itself 
(as contributor and3md) for the last ten months.
Currently first version of my software is up:) It's simple 
project management tool. Anyone can check how dlangui can look 
like and the state of the project by checking it:


https://agilecommander.com/




Welcome to D app development, and congrats about not being yet 
another SaaS!
It's becoming annoying how every website want to own you and your 
data.

(can't test you app though because no Mac version).