History log of /haiku/src/apps/showimage/ImageFileNavigator.cpp
Revision Date Author Comments
# baa27ccb 09-Apr-2015 Janus <janus2@ymail.com>

ShowImage: Multipage images displayed in sequence.

* The correct page is displayed.
* Next/Previous/First/Last page are enabled and disable
as Next/Previous File.
* Add in the status bar current page/ total page.
* Fixes #11959.


# 039f5926 03-Mar-2015 John Scipione <jscipione@gmail.com>

Tracker, Deskbar, ShowImage: move public commands

... to tracker_private.h so they may be used by external apps
such as Deskbar and ShowImage. Remove PublicCommands.h


# 537a273c 24-Jun-2012 Humdinger <humdingerb@gmail.com>

Coding style changes, no functional change.
Hope all's OK, Filter.h is still mostly untouched as it's quite messy with
many exessive commenting.


# a2ad6086 27-Jan-2011 Oliver Tappe <zooey@hirschkaefer.de>

* adjusted to earlier move of NaturalCompare() to libshared.a
(wasn't broken, it's just a bit clearer now).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40308 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2cc2a34c 10-Jan-2011 Rene Gollent <anevilyak@gmail.com>

Resolve TODO: Use Tracker's NaturalCompare in ImageFileNavigator in order
to preserve a consistent display order regardless of whether Tracker scripting
or the internal navigator is being used to iterate through images.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40201 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c314bd5 09-Jan-2011 Ryan Leavengood <leavengood@gmail.com>

Fix some style violations and silliness (returning something in a void method.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40181 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7d9b4451 09-Jan-2011 Ryan Leavengood <leavengood@gmail.com>

Add an auto-adjusting image navigator which can switch to a folder navigator
when the Tracker window is closed. Tested with normal navigation and
slideshows.

Axel's excellent navigation classes code made this pretty easy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40180 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7f6caa08 28-Dec-2010 Ryan Leavengood <leavengood@gmail.com>

CID 5772: Delete the unneeded (and leaked) ref on the loop end case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40005 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 056d4c2e 13-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* The FolderNavigator now allows you to open a folder directly as well.
* The TrackerNavigator should do the same in the future, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39427 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a569816b 09-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Implemented preloading of the images around he current one; always two in the
direction of the current navigation, and one in the opposite direction.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39377 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b9767a83 08-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* The ImageFileNavigator is now only for navigation, it doesn't load any images
anymore.
* Moved the new ImageCache into its own source file.
* The cache is now used within ShowImage. There is no read-ahead caching being
done yet, though, but you can quickly return to previous images, and you can
also skip images faster than before.
* Improved separation between the ShowImageStatusView and the rest;
ShowImageWindow no longer has a getter for the image view.
* The status view is now using the private BDirMenu which implements enhancement
ticket #6778.
* Made a few more methods private/protected in ShowImageWindow.
* Fixed bug #6797.
* The bitmap is currently only owned by the ImageCache, but we need to have a
separate referenceable object owning it. Added a TODO comment for this.
* The ProgressWindow is currently not being used anymore, added a TODO comment
for this as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39364 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 328932ac 05-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Work in progress on implementing asynchronous image retrieval with a
read-ahead cache. Not yet done or used.
* Added deleting images via delete key again. The only difference to before is
that it will open the previous image if the last image in a folder was
removed, and only close ShowImage if there is no image left.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39322 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ba3217ee 03-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Moved the Tracker navigation logic into its own class, TrackerNavigation.
* Added a new class FolderNavigation that implements the same for folders
without a Tracker window.
* ImageFileNavigator is now using either one depending on whether it got a
valid tracker messenger.
* Removed some unused/unneeded methods.
* Made entry_ref a reference at some more methods, as it's not really optional.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39292 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cd6b5cde 01-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Completed stippi's work on the ImageFileNavigator.
* ShowImageWindow is now using such a navigator.
* Removed navigation support from ShowImageView.
* Prepared everything to support asynchronous image loading (which is not yet
implemented, though).
* Note, this commit brings some regressions I intend to fix in the next few
days, namely deleting files won't work anymore, and dropping images onto
ShowImage. There might be more I don't know about, though :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39259 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 707466ca 23-Oct-2010 Stephan Aßmus <superstippi@gmx.de>

Part of a refactoring/rewrite I was once working on,
work in progress, don't remember how far I got. Supposed
to extract the image file and document page navigation
from ShowImageView. Not included in build. Untested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39101 a95241bf-73f2-0310-859d-f6bbb57e9c96


# baa27ccb3014be2a95b9dbe62b699efdf0b84dcd 09-Apr-2015 Janus <janus2@ymail.com>

ShowImage: Multipage images displayed in sequence.

* The correct page is displayed.
* Next/Previous/First/Last page are enabled and disable
as Next/Previous File.
* Add in the status bar current page/ total page.
* Fixes #11959.


# 039f59262a5e56d1a577b183b3ad712c9f690f96 03-Mar-2015 John Scipione <jscipione@gmail.com>

Tracker, Deskbar, ShowImage: move public commands

... to tracker_private.h so they may be used by external apps
such as Deskbar and ShowImage. Remove PublicCommands.h


# 537a273cced14e2da799ae1e4c3474a9fd74d663 24-Jun-2012 Humdinger <humdingerb@gmail.com>

Coding style changes, no functional change.
Hope all's OK, Filter.h is still mostly untouched as it's quite messy with
many exessive commenting.


# a2ad60869d135cc6c1f184f0c82328e372a6101b 27-Jan-2011 Oliver Tappe <zooey@hirschkaefer.de>

* adjusted to earlier move of NaturalCompare() to libshared.a
(wasn't broken, it's just a bit clearer now).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40308 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2cc2a34c106a5e0da0a1b280e1fe86d1e8e9d7a7 10-Jan-2011 Rene Gollent <anevilyak@gmail.com>

Resolve TODO: Use Tracker's NaturalCompare in ImageFileNavigator in order
to preserve a consistent display order regardless of whether Tracker scripting
or the internal navigator is being used to iterate through images.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40201 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c314bd59049aa8050295e4390a05cd1ebaf7d7d 09-Jan-2011 Ryan Leavengood <leavengood@gmail.com>

Fix some style violations and silliness (returning something in a void method.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40181 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7d9b44517b16b810d32668fad98e3d7923028aa0 09-Jan-2011 Ryan Leavengood <leavengood@gmail.com>

Add an auto-adjusting image navigator which can switch to a folder navigator
when the Tracker window is closed. Tested with normal navigation and
slideshows.

Axel's excellent navigation classes code made this pretty easy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40180 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7f6caa088c7af5161c14b46cd3cfaa5830d1c378 28-Dec-2010 Ryan Leavengood <leavengood@gmail.com>

CID 5772: Delete the unneeded (and leaked) ref on the loop end case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40005 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 056d4c2e1e3eb3655b8de4dd6e362e7046822556 13-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* The FolderNavigator now allows you to open a folder directly as well.
* The TrackerNavigator should do the same in the future, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39427 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a569816bb0b823227e8ce2e24c84a9566ef22c63 09-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Implemented preloading of the images around he current one; always two in the
direction of the current navigation, and one in the opposite direction.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39377 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b9767a83ed31ef0a0c8f7db0a6ec032f2ce82e7e 08-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* The ImageFileNavigator is now only for navigation, it doesn't load any images
anymore.
* Moved the new ImageCache into its own source file.
* The cache is now used within ShowImage. There is no read-ahead caching being
done yet, though, but you can quickly return to previous images, and you can
also skip images faster than before.
* Improved separation between the ShowImageStatusView and the rest;
ShowImageWindow no longer has a getter for the image view.
* The status view is now using the private BDirMenu which implements enhancement
ticket #6778.
* Made a few more methods private/protected in ShowImageWindow.
* Fixed bug #6797.
* The bitmap is currently only owned by the ImageCache, but we need to have a
separate referenceable object owning it. Added a TODO comment for this.
* The ProgressWindow is currently not being used anymore, added a TODO comment
for this as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39364 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 328932ac9edb30c87a3928b6d2a21b126bcaa3d4 05-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Work in progress on implementing asynchronous image retrieval with a
read-ahead cache. Not yet done or used.
* Added deleting images via delete key again. The only difference to before is
that it will open the previous image if the last image in a folder was
removed, and only close ShowImage if there is no image left.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39322 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ba3217eee8fd8e9db38d873d8c0d0225917d681f 03-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Moved the Tracker navigation logic into its own class, TrackerNavigation.
* Added a new class FolderNavigation that implements the same for folders
without a Tracker window.
* ImageFileNavigator is now using either one depending on whether it got a
valid tracker messenger.
* Removed some unused/unneeded methods.
* Made entry_ref a reference at some more methods, as it's not really optional.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39292 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cd6b5cde06b9cc9ab9e5aacf03cda9dc853c34e4 01-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Completed stippi's work on the ImageFileNavigator.
* ShowImageWindow is now using such a navigator.
* Removed navigation support from ShowImageView.
* Prepared everything to support asynchronous image loading (which is not yet
implemented, though).
* Note, this commit brings some regressions I intend to fix in the next few
days, namely deleting files won't work anymore, and dropping images onto
ShowImage. There might be more I don't know about, though :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39259 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 707466cad131321211757b4a894c876cb9fd58eb 23-Oct-2010 Stephan Aßmus <superstippi@gmx.de>

Part of a refactoring/rewrite I was once working on,
work in progress, don't remember how far I got. Supposed
to extract the image file and document page navigation
from ShowImageView. Not included in build. Untested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39101 a95241bf-73f2-0310-859d-f6bbb57e9c96