History log of /haiku/src/apps/showimage/Jamfile
Revision Date Author Comments
# 32ed03a5 28-Oct-2023 Humdinger <humdinger@mailbox.org>

ShowImage: Add "Open with..." menu

Populate a new sub-menu with all applications that support the current
image's MIME type. Launch the chosen app with the image entry_ref as
B_REFS_RECEIVED message.

The sub-menu listing supporting apps is separated into apps supporting
the supertype ("image/" and full support (e.g. "image/png").

Add the new "Open with..." menu to the "File" menu and the context menu
of the image.

Most of the code was grabbed from the FileType prefs PreferredAppMenu,
therefore its copyright was copied and extended.

Change-Id: I0190cf4b78c59e429f4e67654665598340653c5d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7072
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 55403e4b 23-Jun-2023 Humdinger <humdingerb@gmail.com>

ShowImage: avoid trigger screen saver in full screen

ShowImage hides the mouse pointer when in full screen. This change
additionally avoids triggering the screen saver in that case, using
the same method as MediaPlayer, i.e. setting the current mouse
coordinates.

Change-Id: I151be209f02a2b8d3033766f2b7469655a5c8b61
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6639
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# b05d6f0a 05-Nov-2020 Jérôme Duval <jerome.duval@gmail.com>

POSIX: asprintf and vasprintf are BSD/GNU extensions

fix #16259

Change-Id: Ia16bb6e1944b87b25d1a940bbdaaf6e236db1abf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3381
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 8028ede7 15-Jan-2016 Rene Gollent <rene@gollent.com>

Build: Add architecture rule for libshared.a.

- As suggested by Ingo, add libshared.a to the architecture name map.
This allows it to be linked by its short name like other frequently
used libraries.
- Adjust all Jamfiles referencing the lib accordingly.


# 6d93638b 30-Oct-2014 Augustin Cavalier <waddlesplash@gmail.com>

ToolBarView: rename to BToolbar and move to libshared.

Also adjust ShowImage for this, it's the only thing that's using ToolBarView
right now.

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>


# 220d0402 31-Jul-2014 Oliver Tappe <zooey@hirschkaefer.de>

Use libstdc++, libsupc++ and libgcc from gcc_syslibs.

* Instead of faking libstdc++.so from libstdc++.a, use libstdc++.so
from the gcc_syslibs build feature for everything except x86_gcc2.
* Use libgcc_s.so from the gcc_syslibs build feature for everything but
x86_gcc2 (which still carries libgcc as part of libroot.so).
* Drop filtering of libgcc objects for libroot, as that is no longer
necessary since we're only using libgcc-as-single-object for libroot
with x86_gcc2, where the filtered object file doesn't exist. Should
the objects that used to be filtered cause any problems as part of
libgcc_s.so, we can always filter them as part of the gcc build.
* Use libsupc++.so from the gcc_syslibs build feature for everything but
x86_gcc2.
* Adjust all Jamfiles accordingly.
* Deactivate building of faked libstdc++.so for non-x86-gcc2. For
x86_gcc2, we still build libstdc++.so from the sources in the Haiku
source tree as part of the Haiku build .
* Put gcc_syslibs package onto the image, when needed.


# b0944c78 01-Aug-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

More work towards hybrid support

* All packaging architecture dependent variables do now have a
respective suffix and are set up for each configured packaging
architecture, save for the kernel and boot loader variables, which
are still only set up for the primary architecture.
For convenience TARGET_PACKAGING_ARCH, TARGET_ARCH, TARGET_LIBSUPC++,
and TARGET_LIBSTDC++ are set to the respective values for the primary
packaging architecture by default.
* Introduce a set of MultiArch* rules to help with building targets for
multiple packaging architectures. Generally the respective targets are
(additionally) gristed with the packaging architecture. For libraries
the additional grist is usually omitted for the primary architecture
(e.g. libroot.so and <x86>libroot.so for x86_gcc2/x86 hybrid), so that
Jamfiles for targets built only for the primary architecture don't
need to be changed.
* Add multi-arch build support for all targets needed for the stage 1
cross devel package as well as for libbe (untested).


# fa392c2a 05-Mar-2013 Ryan Leavengood <leavengood@gmail.com>

Remove unused ShowImage Undo code.


# 11c7ff53 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Removing most About windows and menu items as discussed here
http://www.freelists.org/post/haiku-commits/r40968-in-haikutrunksrcapps-activitymonitor-bootmanager-charactermap-codycam-deskbar,3
Leaving them for now in replicants, and in Terminal, according to (my interpretation of) the instructions here
http://dev.haiku-os.org/browser/haiku/trunk/src/apps/terminal/README.GPL_to_OBOS#L70
Some sporadic cleanup.

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


# cf0d8308 19-Mar-2011 Stephan Aßmus <superstippi@gmx.de>

* Display a tool bar by default (setting can be toggled in the
View menu)
* The previous/next, selection mode, zoom actions and full screen
mode are accessible via tool bar.
* The tool bar can currently not be shown in full screen mode.
Eventually, I want it to work like in MediaPlayer when it is
generally enabled.
* Fixed capitalization "Selection Mode" into "Selection mode"
(needs catalogs update for all languages).
* When leaving selection mode, clear the selection. Especially
with the new tool bar icon, it looked really weird and irritating
when the selection persisted.


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


# 9473d287 20-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

* Added functionality for initializing and retrieving future tool bar
icons.
* Imported a few of zuMi's awesome tool bar icons as C code. Doing
it this way imposes the least start up panalty (10ms on my Core 2 Duo,
which is imperceptable when usually opening some largish image).
* The init code is run, but there is no tool bar yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40588 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


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

* Removed the "shrink to window" option. Instead, there is now a "Fit to window"
menu item that just does that. Additionally, the image is always fit to the
window size when first shown, or if the full screen mode switches.
That also fixes #6765, and #6810.
* The ImageCache now also passes a referenced BitmapOwner object, and bitmaps
are now actually freed when it's allowed to.
* Pressing the zoom button will cause ShowImage to enter full screen again. For
some reason this has been removed as part of r19540.
* The progress window is now visible again, although not that often, as you will
only see it for images that were not in the queue already. The window is now
known to the ShowImageWindow instead of the ShowImageView.
* Moved most constants out of ShowImageConstants.h to where they belong.
* Dropping an image now opens it in another window.
* Removed EntryMenuItem as it's no longer used anywhere.
* Minor other cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39431 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


# 7bab7813 06-Nov-2010 Rene Gollent <anevilyak@gmail.com>

Build fix, ShowImage now uses STL classes,
but wasn't specifying libstdc++ in the Jamfile.



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


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

* Removed resizing ability.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39262 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


# be8fa2fb 02-Jul-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Update all applications in tree to use the new localizing system
* Remove the old one from the locale librairy, with some cleanup
Known regressions :
* readonlybootprompt will no longer update the locale settings : the
method used messed with internal undocumented things
* external localized apps (webpositive for example) will not run
anymore.


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


# 0df61fa3 17-Jun-2010 Stephan Aßmus <superstippi@gmx.de>

* Moved selection box handling into a separate class SelectionBox. Mouse hooks
of that class are not yet used. Invalidation of the view could also work
via listener mechanism.
* Made image <-> view conversion and constraint methods public.
* Sorted .cpp files in Jamfile alphabetically.


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


# 22719833 06-May-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Jorma Karvonen, modified by myself to remove translations of BView
names and localization unfriendly string composition. Closes ticket #5563,
thanks!


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


# 58b0a5dd 31-Mar-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

DoCatalogs:
* Renamed parameter "appName" to "target".
* Replaced parameter "generatedCatalog" by "sourceLanguage" and made it
optional. Default is "en".
* Removed the no longer needed parameter from the DoCatalogs invocations.


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


# 6d9af5b7 30-Mar-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed no longer needed DoCatalogs parameters.


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


# 9be3c0f4 27-Mar-2010 Siarzhuk Zharski <zharik@gmx.li>

- russian localization data files are updated from HTA;
- missed Jamfile entries for russian localization data files added.


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


# d153aceb 27-Mar-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

showimage ukrainian translation.


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


# 9f018a46 25-Mar-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Sync italian translation from hta.


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


# 1ed4535f 22-Mar-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by mt. Localization and conversion to use the layout API with coding style
fixes along the way. Thanks a lot! Fixes #5563.


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


# 085f6827 15-Aug-2009 Philippe Saint-Pierre <stpere@gmail.com>

Jamfile: Remove mention of BackgroundImage.cpp (removed in r32424)


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


# 16d5c24e 07-Jul-2009 Oliver Tappe <zooey@hirschkaefer.de>

* merged 32bit-wchar_t branches of buildtools and haiku back into
the respective trunk

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


# 87df8902 14-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Don't use private BeOS syscalls.


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


# 78878cab 15-Oct-2007 Jérôme Duval <korli@users.berlios.de>

Background.h was moved to be_apps/Tracker


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


# 2660d61a 12-Jun-2007 Ryan Leavengood <leavengood@gmail.com>

As I said I would:

1. Deleted headers/shared/
2. Added a Jamfile to src/shared to build it into a static library libshared.a.
3. Removed my changes in the build/jam directory.
4. Have ShowImage include libshared.a.

I forgot to add AboutWindow.h to headers/private/shared. I will do that next.



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


# 5a1210fb 11-Jun-2007 Ryan Leavengood <leavengood@gmail.com>

Moved the BAboutWindow implementation to the shared source directory, which
despite being talked about repeatedly, does not currently exist.

Adding this required adding some new Jam rules to deal with this shared source
directory and headers. I had some fun figuring this out. Despite writing
articles about Jam in the Haiku newsletter a few years ago I still find Jam to
be a PITA at times.

But my solution seems to work pretty well. Basically you just call the rule
UseSharedSource and pass the name of the shared source file you want to use.
This rule sets up the header directories and the right Jam variables for the
source file. You then add the source file to the source list in the Application
rule like any other source file.

I also made the authors list sent to the about window constructor null
terminated instead of passing the size of the array, as suggested by Hugo.


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


# a8a83855 10-Jun-2007 Ryan Leavengood <leavengood@gmail.com>

Initial implementation of the common BAboutWindow class. Of course I just
realized that calling it a window may not be strictly correct since it isn't a
decendent of BWindow, but just uses a BAlert. Oh well, it can be changed if
need be.

I'm also checking in the first use of it, in ShowImage. Since ShowImage can
still be compiled for R5 I've added a #ifdef around the new BAboutWindow
related code.

I'm open for suggestions for the interface for this class, well mostly the
constructor. I'm not a big fan of having to specify the number of authors.

For now I'm making the header private, but I don't think it would be a big deal
to expose it publically.


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


# a58eacec 11-Apr-2007 Axel Dörfler <axeld@pinc-software.de>

Implemented a progress window: it will be shown after one second in case the translator
supports it - currently, only the RAW image translator does this (as it needs about 10
seconds to open a 6 mio. pixel RAW image on a 2.6 GHz P4).


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


# 880be331 28-Jan-2007 Ryan Leavengood <leavengood@gmail.com>

General changes:
- Fixed some formatting in the recently added resizing code.
- Changed the operation name for rotating counterclockwise to use that name
instead of anticlockwise. This makes the code consistent with the GUI.
- Reformatted the constants header to use an enum. Also removed the empty
constants cpp file.
- The QuitRequested handler in the app did not ask the windows to close, which
could cause modified images to be closed without prompting the user. Now it
does, which makes ShowImage more user friendly.

Changes to the image view:
- Added a member for keeping track of the type of image. This is mostly used in
properly updating the window's status bar when the image is changed (flipped,
rotated, etc.) This removes some hacky code I added before :)
- Removed the status parameter in the Notify method since it was only used for
the above image type status updating.
- Removed a redundant if in the mouse up handler.
- The key down handlers for moving to the next and previous image did not
properly prompt the user if the image had changed. I fixed this by sending a
message to the window where the prompting code resides. When adding this I
also created a few helper methods for sending messages to the window, which
removed some (small) repeated code through-out the class.


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


# 65040013 19-Dec-2006 Ryan Leavengood <leavengood@gmail.com>

Added support to ShowImage for sending an image to the Trash by scripting
Tracker. For now it only works when the delete key is pressed. I suppose a menu
item might be useful, but I can do that later if people really want it :)

When the image is trashed the next image in the directory is opened. If the
trashed image is the last in the directory the window is closed.

The code seems pretty solid as I even tested it with Tracker not running. It
also works fine in R5 (in fact that is where I tested it.)

As shown I would prefer to use the Tracker headers rather than redefining the
constant used for the trashing message. I'm already using Tracker's app MIME
type from the private headers.


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


# c72e5d2f 17-Dec-2006 Jérôme Duval <korli@users.berlios.de>

fix the build
renamed "const float width" to "const float width2" as width is a parameter, please check


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


# a60adbf9 07-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

* Added a "Set as desktop background" option with an easy to use engine based
on the OpenTracker's BackgroundImage implementation.
* It's currently placed in the "View" menu, even though it doesn't fit that
good, I think it should definitely be part of the right click menu.
* Some more cleanup.


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


# c9a5153a 09-Jan-2006 Stephan Aßmus <superstippi@gmx.de>

fix building for BeOS

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


# 338b8dc3 29-Oct-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Merged changes from branch build_system_redesign at revision 14573.


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


# 87763db7 07-Jun-2005 Jérôme Duval <korli@users.berlios.de>

links against our libs


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


# 7598450e 17-Dec-2003 Matthew Wilber <mwilber@nowhere.fake>

Added initial implementation of Undo for OBOS ShowImage! Now, users can Undo/Redo merge/paste operations. Still need to enhance Undo further so that other operations can be undone, also need to account for image rotations and similar operations.


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


# 7c0bc4a2 22-Nov-2003 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Show small icons in recent document menu.


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


# d3046f7d 19-Nov-2003 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

- Made some settings persistent: Slide Show Delay, Scale Bilinear, Shrink/Zoom to Window, Show Caption in Full Screen Mode and PrintOptions persistent.


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


# 2c2d7c8b 18-Nov-2003 Matthew Wilber <mwilber@nowhere.fake>

Removed Scale.cpp, no longer used


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


# 81b9c776 12-Nov-2003 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

- scale bilinear (experimental: scaled image is too small by one pixel)
- bug fixes


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


# e596c46e 10-Nov-2003 Axel Dörfler <axeld@pinc-software.de>

The Jamfile was out of date - why is there a makefile *and* a BeIDE project
anyway?


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


# 1420d9f7 06-Nov-2003 Philippe Houdoin <philippe.houdoin@gmail.com>

Switch to human readable/editable resource file.


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


# 0f0ad94e 26-Sep-2002 shatty <shatty@nowhere.fake>

support building by jam


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


# 6d93638b3760112aafca78cea657d7417aef060f 30-Oct-2014 Augustin Cavalier <waddlesplash@gmail.com>

ToolBarView: rename to BToolbar and move to libshared.

Also adjust ShowImage for this, it's the only thing that's using ToolBarView
right now.

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>


# 220d04022750f40f8bac8f01fa551211e28d04f2 31-Jul-2014 Oliver Tappe <zooey@hirschkaefer.de>

Use libstdc++, libsupc++ and libgcc from gcc_syslibs.

* Instead of faking libstdc++.so from libstdc++.a, use libstdc++.so
from the gcc_syslibs build feature for everything except x86_gcc2.
* Use libgcc_s.so from the gcc_syslibs build feature for everything but
x86_gcc2 (which still carries libgcc as part of libroot.so).
* Drop filtering of libgcc objects for libroot, as that is no longer
necessary since we're only using libgcc-as-single-object for libroot
with x86_gcc2, where the filtered object file doesn't exist. Should
the objects that used to be filtered cause any problems as part of
libgcc_s.so, we can always filter them as part of the gcc build.
* Use libsupc++.so from the gcc_syslibs build feature for everything but
x86_gcc2.
* Adjust all Jamfiles accordingly.
* Deactivate building of faked libstdc++.so for non-x86-gcc2. For
x86_gcc2, we still build libstdc++.so from the sources in the Haiku
source tree as part of the Haiku build .
* Put gcc_syslibs package onto the image, when needed.


# b0944c78b074a8110bd98e060415d0e8f38a7f65 01-Aug-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

More work towards hybrid support

* All packaging architecture dependent variables do now have a
respective suffix and are set up for each configured packaging
architecture, save for the kernel and boot loader variables, which
are still only set up for the primary architecture.
For convenience TARGET_PACKAGING_ARCH, TARGET_ARCH, TARGET_LIBSUPC++,
and TARGET_LIBSTDC++ are set to the respective values for the primary
packaging architecture by default.
* Introduce a set of MultiArch* rules to help with building targets for
multiple packaging architectures. Generally the respective targets are
(additionally) gristed with the packaging architecture. For libraries
the additional grist is usually omitted for the primary architecture
(e.g. libroot.so and <x86>libroot.so for x86_gcc2/x86 hybrid), so that
Jamfiles for targets built only for the primary architecture don't
need to be changed.
* Add multi-arch build support for all targets needed for the stage 1
cross devel package as well as for libbe (untested).


# fa392c2a24c12e160de5d29fadf8a4a52deb5804 05-Mar-2013 Ryan Leavengood <leavengood@gmail.com>

Remove unused ShowImage Undo code.


# 11c7ff531a01b64773d8a8f0e02c1c7c9f27ca29 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Removing most About windows and menu items as discussed here
http://www.freelists.org/post/haiku-commits/r40968-in-haikutrunksrcapps-activitymonitor-bootmanager-charactermap-codycam-deskbar,3
Leaving them for now in replicants, and in Terminal, according to (my interpretation of) the instructions here
http://dev.haiku-os.org/browser/haiku/trunk/src/apps/terminal/README.GPL_to_OBOS#L70
Some sporadic cleanup.

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


# cf0d8308180cccbc3e4fd88958ab361a191fa1bc 19-Mar-2011 Stephan Aßmus <superstippi@gmx.de>

* Display a tool bar by default (setting can be toggled in the
View menu)
* The previous/next, selection mode, zoom actions and full screen
mode are accessible via tool bar.
* The tool bar can currently not be shown in full screen mode.
Eventually, I want it to work like in MediaPlayer when it is
generally enabled.
* Fixed capitalization "Selection Mode" into "Selection mode"
(needs catalogs update for all languages).
* When leaving selection mode, clear the selection. Especially
with the new tool bar icon, it looked really weird and irritating
when the selection persisted.


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


# 9473d287b353ca8dfe0e01d387f73f08ec4841da 20-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

* Added functionality for initializing and retrieving future tool bar
icons.
* Imported a few of zuMi's awesome tool bar icons as C code. Doing
it this way imposes the least start up panalty (10ms on my Core 2 Duo,
which is imperceptable when usually opening some largish image).
* The init code is run, but there is no tool bar yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40588 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


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

* Removed the "shrink to window" option. Instead, there is now a "Fit to window"
menu item that just does that. Additionally, the image is always fit to the
window size when first shown, or if the full screen mode switches.
That also fixes #6765, and #6810.
* The ImageCache now also passes a referenced BitmapOwner object, and bitmaps
are now actually freed when it's allowed to.
* Pressing the zoom button will cause ShowImage to enter full screen again. For
some reason this has been removed as part of r19540.
* The progress window is now visible again, although not that often, as you will
only see it for images that were not in the queue already. The window is now
known to the ShowImageWindow instead of the ShowImageView.
* Moved most constants out of ShowImageConstants.h to where they belong.
* Dropping an image now opens it in another window.
* Removed EntryMenuItem as it's no longer used anywhere.
* Minor other cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39431 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


# 7bab78133d8769b0f98130bdcf7b731bc5a05c41 06-Nov-2010 Rene Gollent <anevilyak@gmail.com>

Build fix, ShowImage now uses STL classes,
but wasn't specifying libstdc++ in the Jamfile.



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


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

* Removed resizing ability.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39262 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


# be8fa2fb3088ab1921612b60f352dd9334b40b3d 02-Jul-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Update all applications in tree to use the new localizing system
* Remove the old one from the locale librairy, with some cleanup
Known regressions :
* readonlybootprompt will no longer update the locale settings : the
method used messed with internal undocumented things
* external localized apps (webpositive for example) will not run
anymore.


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


# 0df61fa3dc5318099eff51c5c1e3262f356642b4 17-Jun-2010 Stephan Aßmus <superstippi@gmx.de>

* Moved selection box handling into a separate class SelectionBox. Mouse hooks
of that class are not yet used. Invalidation of the view could also work
via listener mechanism.
* Made image <-> view conversion and constraint methods public.
* Sorted .cpp files in Jamfile alphabetically.


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


# 22719833756e66e71d4c5be58771c0e4dee154aa 06-May-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Jorma Karvonen, modified by myself to remove translations of BView
names and localization unfriendly string composition. Closes ticket #5563,
thanks!


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


# 58b0a5dda6c015b5875da69ac140bce7b25ebb5b 31-Mar-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

DoCatalogs:
* Renamed parameter "appName" to "target".
* Replaced parameter "generatedCatalog" by "sourceLanguage" and made it
optional. Default is "en".
* Removed the no longer needed parameter from the DoCatalogs invocations.


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


# 6d9af5b7a0cc88c1b3f3f93ab6ca9fc196ba1993 30-Mar-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed no longer needed DoCatalogs parameters.


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


# 9be3c0f4c66d7eaeeb0b741a551affc07dc2eaea 27-Mar-2010 Siarzhuk Zharski <zharik@gmx.li>

- russian localization data files are updated from HTA;
- missed Jamfile entries for russian localization data files added.


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


# d153aceb1f05e1c804da2377a745ab9a68907f8d 27-Mar-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

showimage ukrainian translation.


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


# 9f018a467269f74fc5184b15e901a68711d7d6a4 25-Mar-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Sync italian translation from hta.


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


# 1ed4535f34076e9bba9ac8d3be534a96371def58 22-Mar-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by mt. Localization and conversion to use the layout API with coding style
fixes along the way. Thanks a lot! Fixes #5563.


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


# 085f6827a9a313bcb09f25e3b371958c03b694a3 15-Aug-2009 Philippe Saint-Pierre <stpere@gmail.com>

Jamfile: Remove mention of BackgroundImage.cpp (removed in r32424)


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


# 16d5c24e533eb14b7b8a99ee9f3ec9ba66335b1e 07-Jul-2009 Oliver Tappe <zooey@hirschkaefer.de>

* merged 32bit-wchar_t branches of buildtools and haiku back into
the respective trunk

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


# 87df8902ac30e7d6e528356fb82b187bed03a6c4 14-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Don't use private BeOS syscalls.


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


# 78878cabe8174c903e8cbca4f480ea1b3a4f3620 15-Oct-2007 Jérôme Duval <korli@users.berlios.de>

Background.h was moved to be_apps/Tracker


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


# 2660d61ad6ba8b7165a589046de77a435845db38 12-Jun-2007 Ryan Leavengood <leavengood@gmail.com>

As I said I would:

1. Deleted headers/shared/
2. Added a Jamfile to src/shared to build it into a static library libshared.a.
3. Removed my changes in the build/jam directory.
4. Have ShowImage include libshared.a.

I forgot to add AboutWindow.h to headers/private/shared. I will do that next.



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


# 5a1210fbeffef1010c67193dc7faff4d34369b71 11-Jun-2007 Ryan Leavengood <leavengood@gmail.com>

Moved the BAboutWindow implementation to the shared source directory, which
despite being talked about repeatedly, does not currently exist.

Adding this required adding some new Jam rules to deal with this shared source
directory and headers. I had some fun figuring this out. Despite writing
articles about Jam in the Haiku newsletter a few years ago I still find Jam to
be a PITA at times.

But my solution seems to work pretty well. Basically you just call the rule
UseSharedSource and pass the name of the shared source file you want to use.
This rule sets up the header directories and the right Jam variables for the
source file. You then add the source file to the source list in the Application
rule like any other source file.

I also made the authors list sent to the about window constructor null
terminated instead of passing the size of the array, as suggested by Hugo.


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


# a8a83855b0627f6a2d588885764803ed32ba1313 10-Jun-2007 Ryan Leavengood <leavengood@gmail.com>

Initial implementation of the common BAboutWindow class. Of course I just
realized that calling it a window may not be strictly correct since it isn't a
decendent of BWindow, but just uses a BAlert. Oh well, it can be changed if
need be.

I'm also checking in the first use of it, in ShowImage. Since ShowImage can
still be compiled for R5 I've added a #ifdef around the new BAboutWindow
related code.

I'm open for suggestions for the interface for this class, well mostly the
constructor. I'm not a big fan of having to specify the number of authors.

For now I'm making the header private, but I don't think it would be a big deal
to expose it publically.


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


# a58eacec3c0fe8ee0043855884bb73627832f0da 11-Apr-2007 Axel Dörfler <axeld@pinc-software.de>

Implemented a progress window: it will be shown after one second in case the translator
supports it - currently, only the RAW image translator does this (as it needs about 10
seconds to open a 6 mio. pixel RAW image on a 2.6 GHz P4).


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


# 880be3310db507c2aa34f93c86a450d590044638 28-Jan-2007 Ryan Leavengood <leavengood@gmail.com>

General changes:
- Fixed some formatting in the recently added resizing code.
- Changed the operation name for rotating counterclockwise to use that name
instead of anticlockwise. This makes the code consistent with the GUI.
- Reformatted the constants header to use an enum. Also removed the empty
constants cpp file.
- The QuitRequested handler in the app did not ask the windows to close, which
could cause modified images to be closed without prompting the user. Now it
does, which makes ShowImage more user friendly.

Changes to the image view:
- Added a member for keeping track of the type of image. This is mostly used in
properly updating the window's status bar when the image is changed (flipped,
rotated, etc.) This removes some hacky code I added before :)
- Removed the status parameter in the Notify method since it was only used for
the above image type status updating.
- Removed a redundant if in the mouse up handler.
- The key down handlers for moving to the next and previous image did not
properly prompt the user if the image had changed. I fixed this by sending a
message to the window where the prompting code resides. When adding this I
also created a few helper methods for sending messages to the window, which
removed some (small) repeated code through-out the class.


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


# 65040013021283a6d1ac25bc3783765ccfd170b5 19-Dec-2006 Ryan Leavengood <leavengood@gmail.com>

Added support to ShowImage for sending an image to the Trash by scripting
Tracker. For now it only works when the delete key is pressed. I suppose a menu
item might be useful, but I can do that later if people really want it :)

When the image is trashed the next image in the directory is opened. If the
trashed image is the last in the directory the window is closed.

The code seems pretty solid as I even tested it with Tracker not running. It
also works fine in R5 (in fact that is where I tested it.)

As shown I would prefer to use the Tracker headers rather than redefining the
constant used for the trashing message. I'm already using Tracker's app MIME
type from the private headers.


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


# c72e5d2fdf5418198b117f0ca0d2bbc09847380f 17-Dec-2006 Jérôme Duval <korli@users.berlios.de>

fix the build
renamed "const float width" to "const float width2" as width is a parameter, please check


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


# a60adbf9b400d4f8d586c3acb7ff34034e89fb6d 07-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

* Added a "Set as desktop background" option with an easy to use engine based
on the OpenTracker's BackgroundImage implementation.
* It's currently placed in the "View" menu, even though it doesn't fit that
good, I think it should definitely be part of the right click menu.
* Some more cleanup.


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


# c9a5153a002b04cf4d88ab4b9098b86dda355ff0 09-Jan-2006 Stephan Aßmus <superstippi@gmx.de>

fix building for BeOS

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


# 338b8dc301721b1f472e8297a898d4eaa2f2ee3a 29-Oct-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Merged changes from branch build_system_redesign at revision 14573.


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


# 87763db72b4644448b86540100e6a925d41aa9ce 07-Jun-2005 Jérôme Duval <korli@users.berlios.de>

links against our libs


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


# 7598450e4ffd3795068179c052df63e286bb3d6b 17-Dec-2003 Matthew Wilber <mwilber@nowhere.fake>

Added initial implementation of Undo for OBOS ShowImage! Now, users can Undo/Redo merge/paste operations. Still need to enhance Undo further so that other operations can be undone, also need to account for image rotations and similar operations.


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


# 7c0bc4a231a41154fddf60a1f2e98e40a232d050 22-Nov-2003 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Show small icons in recent document menu.


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


# d3046f7d46f0a7e9ceb022b01d62975abfea2b5d 19-Nov-2003 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

- Made some settings persistent: Slide Show Delay, Scale Bilinear, Shrink/Zoom to Window, Show Caption in Full Screen Mode and PrintOptions persistent.


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


# 2c2d7c8bdbbe1c1730518dda07170f8e534c10aa 18-Nov-2003 Matthew Wilber <mwilber@nowhere.fake>

Removed Scale.cpp, no longer used


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


# 81b9c776915e9da688dafc4f9097b9213d0be364 12-Nov-2003 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

- scale bilinear (experimental: scaled image is too small by one pixel)
- bug fixes


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


# e596c46e4970eb88460c0381c5cc3aa9e67edcfc 10-Nov-2003 Axel Dörfler <axeld@pinc-software.de>

The Jamfile was out of date - why is there a makefile *and* a BeIDE project
anyway?


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


# 1420d9f762ac9f7dff42647de79247b8af10e476 06-Nov-2003 Philippe Houdoin <philippe.houdoin@gmail.com>

Switch to human readable/editable resource file.


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


# 0f0ad94e3f6d048a5d486ca1fdeea281e0cbe098 26-Sep-2002 shatty <shatty@nowhere.fake>

support building by jam


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