Re: DQuick news

2013-12-29 Thread Xavier Bigand

Le 29/12/2013 15:15, Suliman a écrit :

On Sunday, 29 December 2013 at 01:15:50 UTC, Xavier Bigand wrote:

Latest news of DQuick for this year.

The good news is, the project still alive and Bruno added some
interesting stuff to the DMLengine :
 - Adding support of arrays
 - Adding support of delegates
 - Improve error reporting from Lua

Our minesweeper sample works well but don't use arrays for the moment.

About arrays, a signal is emitted for the entire array, not for each
values. It completely different to the Qt choice use
QAbstractListModel, this force the user to create a wrapper for
properties on array or list. Our solution works without any wrapper,
but we have to do some real tests to see if it's a valid solution.

I hope 2014 will be the year when DQuick could be tested/used by some
of you, but for that we need add some missing features, fix a lot of
bugs and firstly works on the documentation (that is completely
inexistent).


Does dQuick ready for writing very simple apps with several buttons and
other simple controls?


I prefer say no, cause there is a lot of small bugs that can be a real 
pain. A lot of those bugs can be bypassed by workaround based on 
property bindings, for example aspect ratio on images certainly not work 
(cause I haven't already tested), but these can easily done by property 
binding on width and height,...


But if you try, feel comfortable to report bugs in our github tracker or 
to send us pull request.




Re: DQuick news

2013-12-29 Thread Xavier Bigand

Le 29/12/2013 02:15, Xavier Bigand a écrit :

Latest news of DQuick for this year.

The good news is, the project still alive and Bruno added some
interesting stuff to the DMLengine :
  - Adding support of arrays
  - Adding support of delegates
  - Improve error reporting from Lua

Our minesweeper sample works well but don't use arrays for the moment.

About arrays, a signal is emitted for the entire array, not for each
values. It completely different to the Qt choice use QAbstractListModel,
this force the user to create a wrapper for properties on array or list.
Our solution works without any wrapper, but we have to do some real
tests to see if it's a valid solution.

I hope 2014 will be the year when DQuick could be tested/used by some of
you, but for that we need add some missing features, fix a lot of bugs
and firstly works on the documentation (that is completely inexistent).


I think I forgot to thank publicly Piotr Podsiadły for his contributions 
on a animations module and SDLImage replacement by devil.


He did a great job on images management by adding the notion of 
loader/writers.


He also add an animation system, but it's not binded in Lua for the moment.

So thank you Piotr Podsiadły, maybe you can share some words about your 
experience on DQuick?




DDOX search support and new 2.064.2 Phobos docs

2013-12-29 Thread Sönke Ludwig
DDOX [1] has just gained support for a JavaScript based live search
function. I've uploaded new DMD 2.064.2 Phobos/Druntime docs [2] with
this (search box in the upper-left corner).

The vibe.d docs [3] are now also searchable and documentation for old
releases can now also be viewed in addition to the most current release.

[1]: https://github.com/rejectedsoftware/ddox
[2]: http://vibed.org/temp/dlang.org/library/index.html
[3]: http://vibed.org/api/


Re: DDOX search support and new 2.064.2 Phobos docs

2013-12-29 Thread Leandro Lucarella
Sönke Ludwig, el 29 de December a las 19:07 me escribiste:
 DDOX [1] has just gained support for a JavaScript based live search
 function. I've uploaded new DMD 2.064.2 Phobos/Druntime docs [2] with
 this (search box in the upper-left corner).
 
 The vibe.d docs [3] are now also searchable and documentation for old
 releases can now also be viewed in addition to the most current release.

Very nice! In FF 26 the search box is a little wider than the container
though (in both phobs and vibe.d docs).

-- 
Leandro Lucarella (AKA luca) http://llucax.com.ar/
--
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
--
We are born naked, wet and hungry
Then things get worse


Re: DDOX search support and new 2.064.2 Phobos docs

2013-12-29 Thread extrawurst

On Sunday, 29 December 2013 at 21:35:53 UTC, Sönke Ludwig wrote:

Am 29.12.2013 21:10, schrieb Leandro Lucarella:

Sönke Ludwig, el 29 de December a las 19:07 me escribiste:
DDOX [1] has just gained support for a JavaScript based live 
search
function. I've uploaded new DMD 2.064.2 Phobos/Druntime docs 
[2] with

this (search box in the upper-left corner).

The vibe.d docs [3] are now also searchable and documentation 
for old
releases can now also be viewed in addition to the most 
current release.


Very nice! In FF 26 the search box is a little wider than the 
container

though (in both phobs and vibe.d docs).



Thanks, fixed now on the Phobos page.


Wow this is fantastic! Nice work


Re: DDOX search support and new 2.064.2 Phobos docs

2013-12-29 Thread Sönke Ludwig
Am 29.12.2013 21:10, schrieb Leandro Lucarella:
 Sönke Ludwig, el 29 de December a las 19:07 me escribiste:
 DDOX [1] has just gained support for a JavaScript based live search
 function. I've uploaded new DMD 2.064.2 Phobos/Druntime docs [2] with
 this (search box in the upper-left corner).

 The vibe.d docs [3] are now also searchable and documentation for old
 releases can now also be viewed in addition to the most current release.
 
 Very nice! In FF 26 the search box is a little wider than the container
 though (in both phobs and vibe.d docs).
 

Thanks, fixed now on the Phobos page.


Re: DDOX search support and new 2.064.2 Phobos docs

2013-12-29 Thread Walter Bright

On 12/29/2013 1:39 PM, extrawurst wrote:

On Sunday, 29 December 2013 at 21:35:53 UTC, Sönke Ludwig wrote:

Am 29.12.2013 21:10, schrieb Leandro Lucarella:

Sönke Ludwig, el 29 de December a las 19:07 me escribiste:

DDOX [1] has just gained support for a JavaScript based live search
function. I've uploaded new DMD 2.064.2 Phobos/Druntime docs [2] with
this (search box in the upper-left corner).

The vibe.d docs [3] are now also searchable and documentation for old
releases can now also be viewed in addition to the most current release.


Very nice! In FF 26 the search box is a little wider than the container
though (in both phobs and vibe.d docs).



Thanks, fixed now on the Phobos page.


Wow this is fantastic! Nice work


I agree. Looks very nice.


Re: DDOX search support and new 2.064.2 Phobos docs

2013-12-29 Thread Andrej Mitrovic
On 12/29/13, Sönke Ludwig slud...@outerproduct.org wrote:
 DDOX [1] has just gained support for a JavaScript based live search
 function.
 [2]: http://vibed.org/temp/dlang.org/library/index.html

Nice! I have a few notes/suggestions:

- The result bubble should likely hide when you select another part of
the website (when you're not focused in on the search box). Otherwise
you're forced to delete your query just to see what's hiding behind
the result bubble (which can be very large).

- Is it possible to add walking through the list via UP/DOWN arrow
keys to select one of the URLs? I think this would be convenient to
have. It already sort-of works, but first you have to click on the
bubble with the mouse, and then you can use the Tab/Shift+Tab to walk
through the list.

- The search box should likely keep its value when you've clicked on a
link to be redirected to a new URL from within the result bubble. I
think it would at least be a convenient feature. But it's not a big
deal, I can see the result is saved by the browser when I go to the
previous page.



Re: DDOX search support and new 2.064.2 Phobos docs

2013-12-29 Thread Sönke Ludwig
Am 29.12.2013 22:46, schrieb Dicebot:
 On Sunday, 29 December 2013 at 18:08:15 UTC, Sönke Ludwig wrote:
 DDOX [1] has just gained support for a JavaScript based live search
 function. I've uploaded new DMD 2.064.2 Phobos/Druntime docs [2] with
 this (search box in the upper-left corner).

 The vibe.d docs [3] are now also searchable and documentation for old
 releases can now also be viewed in addition to the most current release.

 [1]: https://github.com/rejectedsoftware/ddox
 [2]: http://vibed.org/temp/dlang.org/library/index.html
 [3]: http://vibed.org/api/
 
 Enhancement proposal - how about adding abbreviation interpretation to
 match list? This was first thing I have naively tried :) (for example,
 fqn to propose fullyQualifiedName)

Interesting idea, I've also added this here:
https://github.com/rejectedsoftware/ddox/issues/39


Re: DDOX search support and new 2.064.2 Phobos docs

2013-12-29 Thread Sönke Ludwig
Am 29.12.2013 22:53, schrieb Andrej Mitrovic:
 On 12/29/13, Sönke Ludwig slud...@outerproduct.org wrote:
 DDOX [1] has just gained support for a JavaScript based live search
 function.
 [2]: http://vibed.org/temp/dlang.org/library/index.html
 
 Nice! I have a few notes/suggestions:
 
 - The result bubble should likely hide when you select another part of
 the website (when you're not focused in on the search box). Otherwise
 you're forced to delete your query just to see what's hiding behind
 the result bubble (which can be very large).
 
 - Is it possible to add walking through the list via UP/DOWN arrow
 keys to select one of the URLs? I think this would be convenient to
 have. It already sort-of works, but first you have to click on the
 bubble with the mouse, and then you can use the Tab/Shift+Tab to walk
 through the list.
 
 - The search box should likely keep its value when you've clicked on a
 link to be redirected to a new URL from within the result bubble. I
 think it would at least be a convenient feature. But it's not a big
 deal, I can see the result is saved by the browser when I go to the
 previous page.
 

Created a little meta-issue:
https://github.com/rejectedsoftware/ddox/issues/39

If anyone wants to get his/her hands dirty (which would be great), the
search code is at
https://github.com/rejectedsoftware/ddox/blob/master/public/scripts/ddox.js#L22
resp. here when/if the pull request gets merged:
https://github.com/D-Programming-Language/dlang.org/blob/master/js/ddox.js