digitalmars.D.announce - Revamp of CandyDOC
- Eldar Insafutdinov (15/15) Apr 11 2012 CandyDOC has not been updated for about 6 years, and despite its
- Andrej Mitrovic (8/10) Apr 11 2012 Also: Not jumping to the Outline pane every time a different package
- Jonas Drewsen (22/36) Apr 12 2012 The outline and package panes should be combined IMHO. Perhaps
- Jordi Sayol (6/28) Apr 12 2012 I'm agree with you, but this is a deep rebuilding. First step is to sepa...
- Jacob Carlborg (6/26) Apr 12 2012 That would list all packages and all symbols in the current module? I
- Jonas Drewsen (21/55) Apr 13 2012 It would only list the path to the package that the current
- Eldar Insafutdinov (13/23) Apr 13 2012 Hi! Thanks for the feedback, I'll have a go at fixing the
- Robert Clipsham (7/11) Apr 13 2012 http://browsershots.org/ - Just check the browsers you want to test
- Mirko Pilger (1/5) Apr 13 2012 http://utilu.com/IECollection/
- Jacob Carlborg (6/14) Apr 13 2012 Microsoft provides Virtual Box images with different version of IE
- Jordi Sayol (6/12) Apr 11 2012 Another important thing is to allow multiple directories. Lars T. Kyllin...
- Jacob Carlborg (4/18) Apr 11 2012 Cool.
- Brad Anderson (5/20) Apr 12 2012 Looks really good. Nice work.
- a (1/1) Apr 12 2012 This looks really nice.
- Jay Norwood (4/5) Apr 12 2012 The outline panel links work fine on Google Chrome, but not on
- Jordi Sayol (4/10) Apr 12 2012 Also properly works on Firefox 11 (Linux), and is a mess on IE6 on W2K.
- Ary Manzana (2/5) Apr 13 2012 Is there any *developer* out there using IE?
CandyDOC has not been updated for about 6 years, and despite its usefulness its current state was rather sad. Overall look was awful; colours, font sizes, everything just was not right. D allows some very beautiful code, but the look and feel of documentation is not on par. Anyway, I gave it a bit of a refresh (which was in fact a major refactoring) and here is an example http://eldar.me/candydoc/algorithm.html . Among new features is also instant filtering. You can grab the sources at https://github.com/eldar/candydoc . There is still a scope for improvements: adding links to the subsections and ideally producing links to the source code. For that ddoc needs to output line numbers of declarations which I am not sure it does, but that can be added. Cheers Eldar
Apr 11 2012
On 4/12/12, Eldar Insafutdinov <e.insafutdinov gmail.com> wrote:There is still a scope for improvementsAlso: Not jumping to the Outline pane every time a different package is selected (OR it should memorize the position of the scrollbar). This is especially annoying in e.g. gtkd: http://gtkd.mikewey.eu/src/cairo/Surface.html Whenever I click on another package it jumps to the outline view, and if I go back I can't figure out where I was because the scrollbar resets. Othe than that your improvements look very nice!
Apr 11 2012
On Wednesday, 11 April 2012 at 22:34:40 UTC, Andrej Mitrovic wrote:On 4/12/12, Eldar Insafutdinov <e.insafutdinov gmail.com> wrote:The outline and package panes should be combined IMHO. Perhaps something like (ascii art): --------------- + atk Component --------------- MyClass getStruct contains ... ... FooClass setBar ... --------------- Where clicking on atk would show all atk packages. Clicking on + show all packages etc. The lower section is simply showing the currenly selected package. /JonasThere is still a scope for improvementsAlso: Not jumping to the Outline pane every time a different package is selected (OR it should memorize the position of the scrollbar). This is especially annoying in e.g. gtkd: http://gtkd.mikewey.eu/src/cairo/Surface.html Whenever I click on another package it jumps to the outline view, and if I go back I can't figure out where I was because the scrollbar resets. Othe than that your improvements look very nice!
Apr 12 2012
Al 12/04/12 22:53, En/na Jonas Drewsen ha escrit:The outline and package panes should be combined IMHO. Perhaps something like (ascii art): --------------- + atk Component --------------- MyClass getStruct contains ... ... FooClass setBar ... --------------- Where clicking on atk would show all atk packages. Clicking on + show all packages etc. The lower section is simply showing the currenly selected package.I'm agree with you, but this is a deep rebuilding. First step is to separate left pane into a single file, and this will also drastically reduce the total size. Actually, every html package file contains all the left pane (unnecessarily repeated). BTW, It looks very nice now. Thanks! Best regards, -- Jordi Sayol
Apr 12 2012
On 2012-04-12 22:53, Jonas Drewsen wrote:The outline and package panes should be combined IMHO. Perhaps something like (ascii art): --------------- + atk Component --------------- MyClass getStruct contains ... ... FooClass setBar ... --------------- Where clicking on atk would show all atk packages. Clicking on + show all packages etc. The lower section is simply showing the currenly selected package. /JonasThat would list all packages and all symbols in the current module? I think the list can be quite long as it currently is. Adding all the packages as well will make it even longer. -- /Jacob Carlborg
Apr 12 2012
On Friday, 13 April 2012 at 06:26:27 UTC, Jacob Carlborg wrote:On 2012-04-12 22:53, Jonas Drewsen wrote:It would only list the path to the package that the current module is in (top part of the listview). Each package name in the path is clickable. If a package name is clicked the bottom part of the listview will show the available modules and subpackages of that package. The top part is updated to show the path to the clicked package only. If a module is clicked the its content is listed in the bottom part of the list and the top part of the list includes the module name in the path. Since the style of D is to have flat hierarchies the top part of the view would probably have path with a max of three package names. May the can even be collapsed from: packA packB packC to packA.packB.packB in order to take up less space. Hope it makes sense. /JonasThe outline and package panes should be combined IMHO. Perhaps something like (ascii art): --------------- + atk Component --------------- MyClass getStruct contains ... ... FooClass setBar ... --------------- Where clicking on atk would show all atk packages. Clicking on + show all packages etc. The lower section is simply showing the currenly selected package. /JonasThat would list all packages and all symbols in the current module? I think the list can be quite long as it currently is. Adding all the packages as well will make it even longer.
Apr 13 2012
Hi! Thanks for the feedback, I'll have a go at fixing the problems. As for IE issues, I only tested it with IE9. As for the older IE versions, well, developers are the target users of the documentation. And they are usually tech savvy people so I would expect that they use reasonably up to date browsers. It would be nice if at least it functions correctly in IE8, but I don't have it on my machine. Is there a way to test it without installing it on the system(I don't want it to replace IE9 basically)? On Wednesday, 11 April 2012 at 22:34:40 UTC, Andrej Mitrovic wrote:Also: Not jumping to the Outline pane every time a different package is selected (OR it should memorize the position of the scrollbar). This is especially annoying in e.g. gtkd: http://gtkd.mikewey.eu/src/cairo/Surface.html Whenever I click on another package it jumps to the outline view, and if I go back I can't figure out where I was because the scrollbar resets.Yeah, that's annoying indeed. I will implement ajax partial reloading of the document content. That will preserve the state of the left pane.
Apr 13 2012
On 13/04/2012 17:41, Eldar Insafutdinov wrote:It would be nice if at least it functions correctly in IE8, but I don't have it on my machine. Is there a way to test it without installing it on the system(I don't want it to replace IE9 basically)?http://browsershots.org/ - Just check the browsers you want to test with. Of course it needs to be a world visible site for this to work. (There's a select none option at the bottom after all the checkboxes) -- Robert http://octarineparrot.com/
Apr 13 2012
It would be nice if at least it functions correctly in IE8, but I don't have it on my machine. Is there a way to test it without installing it on the system(I don't want it to replace IE9 basically)?http://utilu.com/IECollection/
Apr 13 2012
On 2012-04-13 18:41, Eldar Insafutdinov wrote:Hi! Thanks for the feedback, I'll have a go at fixing the problems. As for IE issues, I only tested it with IE9. As for the older IE versions, well, developers are the target users of the documentation. And they are usually tech savvy people so I would expect that they use reasonably up to date browsers. It would be nice if at least it functions correctly in IE8, but I don't have it on my machine. Is there a way to test it without installing it on the system(I don't want it to replace IE9 basically)?Microsoft provides Virtual Box images with different version of IE installed: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=11575 -- /Jacob Carlborg
Apr 13 2012
Al 12/04/12 00:17, En/na Eldar Insafutdinov ha escrit:CandyDOC has not been updated for about 6 years, and despite its usefulness its current state was rather sad. Overall look was awful; colours, font sizes, everything just was not right. D allows some very beautiful code, but the look and feel of documentation is not on par. Anyway, I gave it a bit of a refresh (which was in fact a major refactoring) and here is an example http://eldar.me/candydoc/algorithm.html . Among new features is also instant filtering. You can grab the sources at https://github.com/eldar/candydoc . There is still a scope for improvements: adding links to the subsections and ideally producing links to the source code. For that ddoc needs to output line numbers of declarations which I am not sure it does, but that can be added. Cheers EldarAnother important thing is to allow multiple directories. Lars T. Kyllingstad has a corrected version of candydoc at https://github.com/kyllingstad/scid that allow this. In Your project, simply replacing "path[i]" by "path.join("_")" on explorer.js(236), and naming html files like path_to_file.html Best regards, -- Jordi Sayol
Apr 11 2012
On 2012-04-12 00:17, Eldar Insafutdinov wrote:CandyDOC has not been updated for about 6 years, and despite its usefulness its current state was rather sad. Overall look was awful; colours, font sizes, everything just was not right. D allows some very beautiful code, but the look and feel of documentation is not on par. Anyway, I gave it a bit of a refresh (which was in fact a major refactoring) and here is an example http://eldar.me/candydoc/algorithm.html . Among new features is also instant filtering. You can grab the sources at https://github.com/eldar/candydoc . There is still a scope for improvements: adding links to the subsections and ideally producing links to the source code. For that ddoc needs to output line numbers of declarations which I am not sure it does, but that can be added. Cheers EldarCool. -- /Jacob Carlborg
Apr 11 2012
On Wed, Apr 11, 2012 at 4:17 PM, Eldar Insafutdinov < e.insafutdinov gmail.com> wrote:CandyDOC has not been updated for about 6 years, and despite its usefulness its current state was rather sad. Overall look was awful; colours, font sizes, everything just was not right. D allows some very beautiful code, but the look and feel of documentation is not on par. Anyway, I gave it a bit of a refresh (which was in fact a major refactoring) and here is an example http://eldar.me/candydoc/** algorithm.html <http://eldar.me/candydoc/algorithm.html> . Among new features is also instant filtering. You can grab the sources at https://github.com/eldar/**candydoc <https://github.com/eldar/candydoc> . There is still a scope for improvements: adding links to the subsections and ideally producing links to the source code. For that ddoc needs to output line numbers of declarations which I am not sure it does, but that can be added. Cheers EldarLooks really good. Nice work. Regards, Brad Anderson
Apr 12 2012
On Wednesday, 11 April 2012 at 22:17:16 UTC, Eldar Insafutdinov wrote:example http://eldar.me/candydoc/algorithm.html . Among newThe outline panel links work fine on Google Chrome, but not on IE8.
Apr 12 2012
Al 13/04/12 00:14, En/na Jay Norwood ha escrit:On Wednesday, 11 April 2012 at 22:17:16 UTC, Eldar Insafutdinov wrote:Also properly works on Firefox 11 (Linux), and is a mess on IE6 on W2K. -- Jordi Sayolexample http://eldar.me/candydoc/algorithm.html . Among newThe outline panel links work fine on Google Chrome, but not on IE8.
Apr 12 2012
On 4/13/12 6:14 AM, Jay Norwood wrote:On Wednesday, 11 April 2012 at 22:17:16 UTC, Eldar Insafutdinov wrote:Is there any *developer* out there using IE?example http://eldar.me/candydoc/algorithm.html . Among newThe outline panel links work fine on Google Chrome, but not on IE8.
Apr 13 2012