History log of /haiku/src/apps/screenshot/ScreenshotWindow.cpp
Revision Date Author Comments
# f4352262 17-Jun-2020 Rob Gill <rrobgill@protonmail.com>

Trivial additions for localization of strings

Signed-off-by: Rob Gill <rrobgill@protonmail.com>
Change-Id: I078f2de99c6461a937f4c645b65d5caf06d54dcb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2925
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# ecba7b5c 01-Aug-2019 Ryan Leavengood <leavengood@gmail.com>

Tracker: Ensure loading the Node works before passing to a Filter

Checking errors is important. This properly fixes #10365 and resolves a few
TODOs.

This DirectoryFilter is also used in Expander, though with a lower level
implementation that did not trigger this bug. This feels like it could be
in the the Tracker or shared kit.

Change-Id: Icd2ddc241c1879a7c4235726bf089570ba00dc0a
Reviewed-on: https://review.haiku-os.org/c/1672
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 2f29f5a2 04-Oct-2017 Humdinger <humdingerb@gmail.com>

Screenshot: fix crash in file panel

When you edit a folder name in Screenshot's file panel and hit the OK
button, it crashes in the BRefFilter. For MediaConverter, a workaround
was added until Tracker is fixed, see
https://cgit.haiku-os.org/haiku/tree/src/apps/mediaconverter/MediaConverterWindow.cpp#n61

Applying the same workaround here.


# b285b436 21-Jan-2017 Gabriel Maia <gbl08ma@gmail.com>

Screenshot: better error handling on save

Show error messages when saving fails, to enmake sure the user is not
confused by thinking the file saved when the window doesn't close.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #12945


# c6b4e47a 06-Sep-2016 Gabriel Maia <gbl08ma@gmail.com>

Screenshot: create destination folder if it doesn't exist

This ensures the artwork folder is created if it doesn't exist,
fixing the remainder of #10928.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# 7c6b944c 01-Apr-2016 John Scipione <jscipione@gmail.com>

Screenshot: Fix argc count

... which I missed in my last commit, sorry for the noise.


# ea810bf6 31-Mar-2016 John Scipione <jscipione@gmail.com>

Screenshot: Ignore delay on Print Screen

The delay variable is only considered when you push the
"New screenshot" button as suggested by diver.

Fixes #11447


# 63fd7a20 31-Mar-2016 John Scipione <jscipione@gmail.com>

Screenshot: default space between buttons


# fa19dd44 10-Dec-2015 looncraz <looncraz@looncraz.net>

apps: Convert to using Set*UIColor.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0045-0075, 0077-0087 from looncraz, unmodified.


# 3c5208e4 07-Nov-2015 Humdinger <humdingerb@gmail.com>

Improve/fix layout

Some tweaks to the layout of apps/prefs in the course of using
B_USE_WINDOW_SPACING.


# d0ac6099 07-Nov-2015 Humdinger <humdingerb@gmail.com>

Use B_USE_WINDOW_SPACING

Use B_USE_WINDOW_SPACING as inset from contents to window border.
Some whitespace cleanup.


# e4eecdb5 26-Jul-2015 Markus Himmel <markus@himmel-villmar.de>

Correctly show normal-sized preview after returning from a very wide one

If the height had been reduced due to a very wide window being shown,
it was not reset to its full value when switching back to a more
narrow preview. Fix this by relayouting the window.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>


# 5dab45be 25-Jul-2015 Markus Himmel <markus@himmel-villmar.de>

Screenshot: Fix aspect ratio.

The aspect ratio of the preview was wrong for two reasons:
* The height of the preview was always assumed to be 150 while it actually
depends on the layout.
* The size was then only set using SetExplicitMinSize(), which is not
sufficient to actually change the size to the desired value.

Fixes #11644.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>


# 7cb12e75 16-Dec-2014 Adrien Destugues <pulkomandy@gmail.com>

Screenshot: list a writable "artwork" directory.

Fixes #10928.


# 2824c5d3 24-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

Fix various typos and inconsistencies in strings

DiskProbe, DriveSetup, Icon-O-Matic, Installer, Login,
PackageInstaller, Screenshot, Translation Inspector, BootManager,
CharacterMap, CodyCam, BPrintJob

DiskUsage: removed useless translation, used only for layouting purposes

Thanks to KapiX for spotting these problems.


# cc946437 30-Jan-2014 Axel Dörfler <axeld@pinc-software.de>

Screenshot: fixed alpha channel handling.

* Screenshot always used B_RGBA32 color space, but did not care about the
alpha channel at all. Now it only uses that space when "includeBorder"
is used.
* Utility::_MakeTabSpaceTransparent() now also makes sure that the rest
of the bitmap has the correct alpha channel set. This fixes bug #10491.
* Minor cleanup.


# 080cf3be 01-Jan-2014 Humdinger <humdingerb@gmail.com>

Corrected typo in overwrite alert.


# 5ff76056 06-Dec-2013 Freeman Lou <freemanlou2430@Yahoo.com>

Screenshot: Alt-D/H/A/F s.cuts to select target folder

* Fixes #7987.

- GCI 2013


# aed35104 05-Aug-2012 Humdinger <humdingerb@gmail.com>

Close alerts with ESCAPE key.

Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.


# 8522ef24 18-Jun-2012 Adam Hartford <adam.s.hartford@gmail.com>

Fixed minor UI issues in Screenshot (Ticket #8378)

Signed-off-by: Alex Wilson <yourpalal2@gmail.com>


# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 5dcd3cd1 22-Dec-2011 Hannah Boneß <hannah@animux.de>

Update layout building code in misc. apps (GCI 2011 task).

Replace the use of old-style BGroupLayoutBuilder and BGridLayoutBuilder with new, templatized BLayoutBuilder::Group<> etc.. in the following apps:

* CharacterMap
* Installer
* Mediaplayer
* Screenshot

This work was done for GCI 2011 by Hannah Boneß. Thanks Hannah!


# e6f323bb 06-Dec-2011 Michael Lotz <mmlr@mlotz.ch>

Strings owned by local stack objects can't be returned.

The BString is destroyed when the function returns and takes the
storage pointed to by BString::String() with it, so returning such a
pointer is bogus. Instead the return type is now a BString which takes
over ownership of the string.


# 73c8170c 07-Apr-2011 Joachim Seemer <humdingerb@googlemail.com>

Using DefaultItemSpacing() and DefaultLabelSpacing() as suggested by Axel.

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


# 9f1c3cfe 05-Apr-2011 Joachim Seemer <humdingerb@googlemail.com>

Added a bit of space in front of the 'seconds' string.

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


# 329daa44 04-Apr-2011 Joachim Seemer <humdingerb@googlemail.com>

Changed a few strings as discussed on the i18n mailing list. Added localization of license descriptions in AboutSystem.

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


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

Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again.

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


# 71302e7c 16-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Further localization. Making use of B_TRANSLATE_APP_NAME, AboutWindow. Cleanups. Please review/test changes in Terminal.

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


# d020e356 06-Mar-2011 Philippe Saint-Pierre <stpere@gmail.com>

Screenshot
* Fix violations to coding guidelines
* Error checks on the received entry_refs
* Typo in comment

Thanks Axel!


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


# c6d2f9af 05-Mar-2011 Philippe Saint-Pierre <stpere@gmail.com>

Screenshot

* Consider the message that the FilePanel returns and add the path to the output destination MenuField.

Ticket #6886


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


# e80276e2 06-Sep-2010 Alex Wilson <yourpalal2@gmail.com>

Fix some more regressions from r38512, Tracker prefs, Icon-O-Matic, Expander & Screenshot. Thanks to diver for finding these.


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


# 8eff03f5 25-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

* fixed all build warnings by collectcatkeys that I found
* automatic whitespace cleanup

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


# 604cbe67 24-Jul-2010 Wim van der Meer <wpjvandermeer@gmail.com>

* One more syle fix\n* Adding a missing break

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


# 80b909c9 23-Jul-2010 Wim van der Meer <wpjvandermeer@gmail.com>

* Make closing the translator settings window thread-safe
* Insert a forgotten B_TRANSLATE
* Style fixes

Thanks to Axel Dörfler for reviewing the code.

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


# 7235f868 19-Jul-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Prevent the 'Settings...' button from opening multiple windows

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


# ba7d3b37 02-Jul-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Adding a settings button to change translator settings, refer to ticket #3813

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


# 0c9f5a02 25-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

* Modified PtrScr key behaviour:
- No modifiers: take a screenshot with zero delay and launch the GUI
- Shift-PrtScr: Silent screenshot using the saved GUI settings
- Ctrl-PrtScr: Take a screenshot using the saved GUI settings and copy the
screenshot to the system clipboard
* A few locale related changes (I am not sure how this works when a class is
shared between two applications, I hope I got everything right)



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


# 08bed3e8 11-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Use bilinear bitmap scaling for the screenshot preview.

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


# 3417d2a9 08-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

* Rename "ScreenshotApp" to "Screenshot", rename its signature from
"application/x-vnd.haiku-screenshotapp" to "application/x-vnd.haiku-screenshot"
* Rename "Screenshot" to "screenshot", rename its signature from
"application/x-vnd.haiku-screenshot" to "application/x-vnd.haiku-screenshot-cli"
* Move screenshot from /system/apps to /bin


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


# 2ec6b3cf 05-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Screenshot application enhancements:
- Remove the options panel, and the "-o, --options" switch, put all options
inside the main panel as discussed in ticket #3831.
- Add a "Copy to clipboard" button, as discussed in ticket #3831.
- Add a "-c, --clipboard" switch to quickly copy a screenshot to the clipboard
without launching the GUI.
- All settings apply directly to the current schreenshot as well as new
Screenshots, as discussed in ticket #4100.
- Separate executables for the CLI (Screenshot) and GUI (ScreenshotApp).
When "Screenshot" is launched it runs in the background, and launches the
GUI (if not run with the -s or -c switch) before quiting itself. When a new
screenshot is requested through the ScreenshotApp GUI interface,
ScreenshotApp launches Screenshot before quiting itself, after which
Screenshot re-launches ScreenshotApp. This fixes ticket #4100.
Note that because of this change the deskbar entry will show "ScreenshotApp"
and not "Screenshot" as might be expected. I am not sure if this is a
problem.
- Fixed the code that determines the active window because it was just finding
the top most window. This change fixes tickets #3112, #4878, and #4423.
- Hide the cursor by calling BApplication::HideCursor().
This fixes ticket #2988 (but *not* #2997).


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


# 953aaafc 28-May-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Patch Screenshot to not ignore the delay time setting from the command line. This fixes ticket #5862

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


# 4eb0cbb0 07-May-2010 Matt Madia <mattmadia@gmail.com>

Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.


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


# 6bcf4a43 06-May-2010 Matt Madia <mattmadia@gmail.com>

Updated to use B_TRANSLATE* macros. relates to #5408.

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


# 08c7fa9d 25-Apr-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Wim van der Meer fixing ticket #3814 (saving settings of the screenshot
application). Thanks a bunch!


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


# c9ec9c72 19-Apr-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by augiedoggie: Remove the hardcoded translator_id values from Screenshot.
Fixes ticket #5733. Thanks a lot! (Note: small coding style fixes by myself,
so expect merge conflicts.)


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


# 362b036d 15-Apr-2010 Axel Dörfler <axeld@pinc-software.de>

* Applied a slightly edited patch by Christophe Huriaux, as part of ticket
#5724: this adds a settable filename for the silent invocation, thanks!


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


# 0d84b313 13-Apr-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Shisui: Automatic filename basename selection and "Save" as default
button for Screenshot. Fixes #5626. Thanks a lot!


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


# 9d933b51 14-Mar-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Dummy strings used as size indicators should not be localized.


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


# e5b2296d 18-Feb-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Localization of Screenshot app, done by mt. Thanks !


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


# 7974d3dc 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


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


# a9591c50 19-Nov-2009 Fredrik Modeen <fredrik@modeen.se>

Change back _FindValidFileName to use BString, don't know what I was thinking, thanks Jerome and Stephan.

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


# 689b99a7 19-Nov-2009 Fredrik Modeen <fredrik@modeen.se>

Additional CLI parameters for Screeshot (Ticket #3816) and some cleanup (I hope), using Translator kit now instead of own PNG when using CLI. More changes will follow.

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


# 2ff62714 22-Aug-2009 Ryan Leavengood <leavengood@gmail.com>

Finally implemented BWindow::CenterOnScreen, with associated CenterIn(BRect)
methods as well as Size(). To avoid the problem of centering the window before
it has been resized by the layout system, I force the resizing early. If there
is a better way to do this or some way to avoid doing it repeatedly, let me
know. But I figure the Center* methods should not be called that often.

Updated Screenshot and DiskProbe to use this new method as a test. It certainly
cleaned up DiskProbe. I will update other code over the next few days (if
anyone wants to help, please do :)


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


# 6478aa27 15-Aug-2009 Philippe Saint-Pierre <stpere@gmail.com>

Screenshot:

* Add extension to the filename. It gets the extension from the BMimeType related to the chosen translator.
* When you change the output format, the extension change accordingly.
* Some variable name change (variable_name -> variableName)

Ticket #3728


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


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

Screenshot command line arguments :
* make Screenshot exit gracefully if no argument is given in combination of -d parameter
* honor the delay parameter when also used with the --silent parameter



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


# 8f1c6951 10-Aug-2009 Jonas Sundström <jonas@kirilla.com>

Use BWindow TabFrame property to find where to apply transparency.

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


# b8fe3ff4 09-Aug-2009 Jonas Sundström <jonas@kirilla.com>

Working but somewhat dodgy tab space transparency - for humdinger as per request #3813. Enjoy!

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


# bcfe344c 22-May-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Made our struct stat POSIX compliant again -- the time_t fields have been
replaced by timespec fields. Via macros the structure is still source
compatible with the old one.
* Introduced header <compat/sys/stat.h> that defines the old stat structure
(as stat_beos) and conversion functions
* Introduced versions for [l,f]stat().
* Added symbol versions for BDirectory::GetStatFor() for sake of binary
compatibility.
* BStatable::GetStat(): Renamed the old method, changed its parameter to
stat_beos*, and and made it private. Added a new version (using up a
reserved vtable slot). It remains source and binary compatible.
* BRefFilter::Filter(): Changed the struct stat* parameter to struct stat_beos*
for sake of binary compatibility. This breaks source compatibility, though,
which we can't help, since the class doesn't have reserved vtable slots.
* Fixed several issues with the stat structure change, mostly adjusted uses of
BRefFilter.


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


# f3d5fb86 02-May-2009 Philippe Saint-Pierre <stpere@gmail.com>

Cosmetic change for the border around the screenshot preview, as suggested in #3367.


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


# 2002f6f6 27-Apr-2009 Philippe Saint-Pierre <stpere@gmail.com>

Preserve aspect ratio of the screenshot in the preview. (Ticket #3821)


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


# 05f5d734 26-Apr-2009 Joachim Seemer <humdingerb@googlemail.com>

Corrections to strings in Screenshot app. See #3817.

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


# aeaeba65 25-Apr-2009 Joachim Seemer <humdingerb@googlemail.com>

* Changed a few strings in Screenshot's interface and related function names.
Closes ticket #3817.


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


# bb6301b2 24-Apr-2009 Philippe Saint-Pierre <stpere@gmail.com>

Ask confirmation in case the application would try to overwrite an existing file.

This is fixing ticket #3815.


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


# f2e161c5 27-Jan-2009 Karsten Heimrich <host.haiku@gmx.de>

* make use of the now available decorator infos



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


# ef52eb17 30-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* make sure we close the app on ESCAPE
* do not launch a second window in case of RefsReceived



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


# ae1cc083 29-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* save the last output location
* save the last used output format
* save the last 5 choosen locations
* don't do any window init in silent mode



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


# bef5fffe 20-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* use B_PNG_FORMAT, thanks Stephan
* truncate the path label, since a long path would automatically
resize the window to something unusable in that case...

Note: somehow the PopUpMenu does ignore a set max column size
expanding from small to large leaves some drawing artefacts



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


# fc3bed05 20-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* implement saving
* have png and home as default
* still misses some kind of settings...



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


# 9f07ffa3 19-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* reorganize options
* implement silent mode using the existing BWindow code



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


# a75264d3 17-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* small screenshot app that was once discussed
* misses a proper icon and does not save atm...



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


# e4eecdb5c047873433d6b1b76458210285c84b3b 26-Jul-2015 Markus Himmel <markus@himmel-villmar.de>

Correctly show normal-sized preview after returning from a very wide one

If the height had been reduced due to a very wide window being shown,
it was not reset to its full value when switching back to a more
narrow preview. Fix this by relayouting the window.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>


# 5dab45be766adf3716d356b8c7fa5858548f6d90 25-Jul-2015 Markus Himmel <markus@himmel-villmar.de>

Screenshot: Fix aspect ratio.

The aspect ratio of the preview was wrong for two reasons:
* The height of the preview was always assumed to be 150 while it actually
depends on the layout.
* The size was then only set using SetExplicitMinSize(), which is not
sufficient to actually change the size to the desired value.

Fixes #11644.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>


# 7cb12e75ae9c34cdd450843875a3ba4ba7894fc0 16-Dec-2014 Adrien Destugues <pulkomandy@gmail.com>

Screenshot: list a writable "artwork" directory.

Fixes #10928.


# 2824c5d3a428b1f52fb41e7cf84ef1690cfadc80 24-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

Fix various typos and inconsistencies in strings

DiskProbe, DriveSetup, Icon-O-Matic, Installer, Login,
PackageInstaller, Screenshot, Translation Inspector, BootManager,
CharacterMap, CodyCam, BPrintJob

DiskUsage: removed useless translation, used only for layouting purposes

Thanks to KapiX for spotting these problems.


# cc9464372450658c8cb898b2f8b3b91fbd3a0834 30-Jan-2014 Axel Dörfler <axeld@pinc-software.de>

Screenshot: fixed alpha channel handling.

* Screenshot always used B_RGBA32 color space, but did not care about the
alpha channel at all. Now it only uses that space when "includeBorder"
is used.
* Utility::_MakeTabSpaceTransparent() now also makes sure that the rest
of the bitmap has the correct alpha channel set. This fixes bug #10491.
* Minor cleanup.


# 080cf3be91d38c5179d2fdade704fd18588b3b4b 01-Jan-2014 Humdinger <humdingerb@gmail.com>

Corrected typo in overwrite alert.


# 5ff76056f7497120765c7d6b13e73e0b540a911c 06-Dec-2013 Freeman Lou <freemanlou2430@Yahoo.com>

Screenshot: Alt-D/H/A/F s.cuts to select target folder

* Fixes #7987.

- GCI 2013


# aed35104852941f0f6f3d1dcc5338b5f337d0a3c 05-Aug-2012 Humdinger <humdingerb@gmail.com>

Close alerts with ESCAPE key.

Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.


# 8522ef247b89a52a01ddde1813911eb63108e7d9 18-Jun-2012 Adam Hartford <adam.s.hartford@gmail.com>

Fixed minor UI issues in Screenshot (Ticket #8378)

Signed-off-by: Alex Wilson <yourpalal2@gmail.com>


# 546208a53940a26c6379c48a7854ade1a8250fc5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 5dcd3cd1f3c99ccbc5884220e5069ec344628072 22-Dec-2011 Hannah Boneß <hannah@animux.de>

Update layout building code in misc. apps (GCI 2011 task).

Replace the use of old-style BGroupLayoutBuilder and BGridLayoutBuilder with new, templatized BLayoutBuilder::Group<> etc.. in the following apps:

* CharacterMap
* Installer
* Mediaplayer
* Screenshot

This work was done for GCI 2011 by Hannah Boneß. Thanks Hannah!


# e6f323bb575c150b7f21ff3fbd7a8ecdb04906cc 06-Dec-2011 Michael Lotz <mmlr@mlotz.ch>

Strings owned by local stack objects can't be returned.

The BString is destroyed when the function returns and takes the
storage pointed to by BString::String() with it, so returning such a
pointer is bogus. Instead the return type is now a BString which takes
over ownership of the string.


# 73c8170c2522b229cb509352782b3577163d9738 07-Apr-2011 Joachim Seemer <humdingerb@googlemail.com>

Using DefaultItemSpacing() and DefaultLabelSpacing() as suggested by Axel.

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


# 9f1c3cfece4acc1e9c260371f67753d7a7f23caf 05-Apr-2011 Joachim Seemer <humdingerb@googlemail.com>

Added a bit of space in front of the 'seconds' string.

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


# 329daa448d02cf0f291a45f61a2e16c1b87834ea 04-Apr-2011 Joachim Seemer <humdingerb@googlemail.com>

Changed a few strings as discussed on the i18n mailing list. Added localization of license descriptions in AboutSystem.

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


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

Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again.

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


# 71302e7c6dbf98040eb000175a2545d0de63fdc8 16-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Further localization. Making use of B_TRANSLATE_APP_NAME, AboutWindow. Cleanups. Please review/test changes in Terminal.

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


# d020e3568f23439ecdcaf5ddf364d74d85f43611 06-Mar-2011 Philippe Saint-Pierre <stpere@gmail.com>

Screenshot
* Fix violations to coding guidelines
* Error checks on the received entry_refs
* Typo in comment

Thanks Axel!


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


# c6d2f9af2ca4b7b1ba866080c8caa7fa29a8e458 05-Mar-2011 Philippe Saint-Pierre <stpere@gmail.com>

Screenshot

* Consider the message that the FilePanel returns and add the path to the output destination MenuField.

Ticket #6886


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


# e80276e2d797269d46da99eecad6b2cc97d15141 06-Sep-2010 Alex Wilson <yourpalal2@gmail.com>

Fix some more regressions from r38512, Tracker prefs, Icon-O-Matic, Expander & Screenshot. Thanks to diver for finding these.


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


# 8eff03f5705966c294c96a4e249bb525069b8e78 25-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

* fixed all build warnings by collectcatkeys that I found
* automatic whitespace cleanup

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


# 604cbe67d9012d517571c13e65ef508733c27528 24-Jul-2010 Wim van der Meer <wpjvandermeer@gmail.com>

* One more syle fix\n* Adding a missing break

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


# 80b909c924edc2e2549cdf45fbcd22cb2f9a6bef 23-Jul-2010 Wim van der Meer <wpjvandermeer@gmail.com>

* Make closing the translator settings window thread-safe
* Insert a forgotten B_TRANSLATE
* Style fixes

Thanks to Axel Dörfler for reviewing the code.

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


# 7235f8680cc96a52097059ce7d93fc974a7372c9 19-Jul-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Prevent the 'Settings...' button from opening multiple windows

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


# ba7d3b37f9a7850086826bef843fdf0183a6a9aa 02-Jul-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Adding a settings button to change translator settings, refer to ticket #3813

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


# 0c9f5a026f4ccc18b4e8e51b8d907818e3cafa3b 25-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

* Modified PtrScr key behaviour:
- No modifiers: take a screenshot with zero delay and launch the GUI
- Shift-PrtScr: Silent screenshot using the saved GUI settings
- Ctrl-PrtScr: Take a screenshot using the saved GUI settings and copy the
screenshot to the system clipboard
* A few locale related changes (I am not sure how this works when a class is
shared between two applications, I hope I got everything right)



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


# 08bed3e8aa80522ee362b77b793f980e69e1bd04 11-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Use bilinear bitmap scaling for the screenshot preview.

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


# 3417d2a90ffb7003567e39ae83924364283929f1 08-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

* Rename "ScreenshotApp" to "Screenshot", rename its signature from
"application/x-vnd.haiku-screenshotapp" to "application/x-vnd.haiku-screenshot"
* Rename "Screenshot" to "screenshot", rename its signature from
"application/x-vnd.haiku-screenshot" to "application/x-vnd.haiku-screenshot-cli"
* Move screenshot from /system/apps to /bin


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


# 2ec6b3cf5dd9cd47c57249233320603251df47b3 05-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Screenshot application enhancements:
- Remove the options panel, and the "-o, --options" switch, put all options
inside the main panel as discussed in ticket #3831.
- Add a "Copy to clipboard" button, as discussed in ticket #3831.
- Add a "-c, --clipboard" switch to quickly copy a screenshot to the clipboard
without launching the GUI.
- All settings apply directly to the current schreenshot as well as new
Screenshots, as discussed in ticket #4100.
- Separate executables for the CLI (Screenshot) and GUI (ScreenshotApp).
When "Screenshot" is launched it runs in the background, and launches the
GUI (if not run with the -s or -c switch) before quiting itself. When a new
screenshot is requested through the ScreenshotApp GUI interface,
ScreenshotApp launches Screenshot before quiting itself, after which
Screenshot re-launches ScreenshotApp. This fixes ticket #4100.
Note that because of this change the deskbar entry will show "ScreenshotApp"
and not "Screenshot" as might be expected. I am not sure if this is a
problem.
- Fixed the code that determines the active window because it was just finding
the top most window. This change fixes tickets #3112, #4878, and #4423.
- Hide the cursor by calling BApplication::HideCursor().
This fixes ticket #2988 (but *not* #2997).


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


# 953aaafc13937134ce5dfa1fc60b9e3aae3ca5fc 28-May-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Patch Screenshot to not ignore the delay time setting from the command line. This fixes ticket #5862

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


# 4eb0cbb044cf538f18c0d252934a5bcaa33bfd34 07-May-2010 Matt Madia <mattmadia@gmail.com>

Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.


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


# 6bcf4a432e32a639558020dba35f98e4edc24003 06-May-2010 Matt Madia <mattmadia@gmail.com>

Updated to use B_TRANSLATE* macros. relates to #5408.

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


# 08c7fa9db4289d528e6040dcb106902c3908781f 25-Apr-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Wim van der Meer fixing ticket #3814 (saving settings of the screenshot
application). Thanks a bunch!


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


# c9ec9c7211c873a4798ffbb6d0ccb9b9770551fa 19-Apr-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by augiedoggie: Remove the hardcoded translator_id values from Screenshot.
Fixes ticket #5733. Thanks a lot! (Note: small coding style fixes by myself,
so expect merge conflicts.)


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


# 362b036d1a2032318cb99a8404fb86d67e2d8bbf 15-Apr-2010 Axel Dörfler <axeld@pinc-software.de>

* Applied a slightly edited patch by Christophe Huriaux, as part of ticket
#5724: this adds a settable filename for the silent invocation, thanks!


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


# 0d84b3133439c9c988fc33babd83781378200349 13-Apr-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Shisui: Automatic filename basename selection and "Save" as default
button for Screenshot. Fixes #5626. Thanks a lot!


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


# 9d933b51567fb273768bed91926b4ad8dd30acfb 14-Mar-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Dummy strings used as size indicators should not be localized.


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


# e5b2296d483e9475547f6334183166e6d5ed10e4 18-Feb-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Localization of Screenshot app, done by mt. Thanks !


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


# 7974d3dcf39ce78e5885b481eee12e561ad6e096 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


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


# a9591c50fd95ced07c48accaf961a9145db055ec 19-Nov-2009 Fredrik Modeen <fredrik@modeen.se>

Change back _FindValidFileName to use BString, don't know what I was thinking, thanks Jerome and Stephan.

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


# 689b99a74c8ae7dc1d93b19d4a8671948dab1a88 19-Nov-2009 Fredrik Modeen <fredrik@modeen.se>

Additional CLI parameters for Screeshot (Ticket #3816) and some cleanup (I hope), using Translator kit now instead of own PNG when using CLI. More changes will follow.

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


# 2ff62714d017b620b7d452a686f3667662b143f2 22-Aug-2009 Ryan Leavengood <leavengood@gmail.com>

Finally implemented BWindow::CenterOnScreen, with associated CenterIn(BRect)
methods as well as Size(). To avoid the problem of centering the window before
it has been resized by the layout system, I force the resizing early. If there
is a better way to do this or some way to avoid doing it repeatedly, let me
know. But I figure the Center* methods should not be called that often.

Updated Screenshot and DiskProbe to use this new method as a test. It certainly
cleaned up DiskProbe. I will update other code over the next few days (if
anyone wants to help, please do :)


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


# 6478aa2744d1a57f218e891ce56eb2e4bfd6daef 15-Aug-2009 Philippe Saint-Pierre <stpere@gmail.com>

Screenshot:

* Add extension to the filename. It gets the extension from the BMimeType related to the chosen translator.
* When you change the output format, the extension change accordingly.
* Some variable name change (variable_name -> variableName)

Ticket #3728


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


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

Screenshot command line arguments :
* make Screenshot exit gracefully if no argument is given in combination of -d parameter
* honor the delay parameter when also used with the --silent parameter



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


# 8f1c695124347ac6005f6df4081ee352962d7849 10-Aug-2009 Jonas Sundström <jonas@kirilla.com>

Use BWindow TabFrame property to find where to apply transparency.

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


# b8fe3ff480bb51b9f6dc79ef8222fed0bb0c0165 09-Aug-2009 Jonas Sundström <jonas@kirilla.com>

Working but somewhat dodgy tab space transparency - for humdinger as per request #3813. Enjoy!

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


# bcfe344c537cb0dcee183c5a9afb4c362f5abe86 22-May-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Made our struct stat POSIX compliant again -- the time_t fields have been
replaced by timespec fields. Via macros the structure is still source
compatible with the old one.
* Introduced header <compat/sys/stat.h> that defines the old stat structure
(as stat_beos) and conversion functions
* Introduced versions for [l,f]stat().
* Added symbol versions for BDirectory::GetStatFor() for sake of binary
compatibility.
* BStatable::GetStat(): Renamed the old method, changed its parameter to
stat_beos*, and and made it private. Added a new version (using up a
reserved vtable slot). It remains source and binary compatible.
* BRefFilter::Filter(): Changed the struct stat* parameter to struct stat_beos*
for sake of binary compatibility. This breaks source compatibility, though,
which we can't help, since the class doesn't have reserved vtable slots.
* Fixed several issues with the stat structure change, mostly adjusted uses of
BRefFilter.


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


# f3d5fb8624362f9e5fef84410239124ed04930b9 02-May-2009 Philippe Saint-Pierre <stpere@gmail.com>

Cosmetic change for the border around the screenshot preview, as suggested in #3367.


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


# 2002f6f6269e21a3c1f8208e452c707aac2c9890 27-Apr-2009 Philippe Saint-Pierre <stpere@gmail.com>

Preserve aspect ratio of the screenshot in the preview. (Ticket #3821)


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


# 05f5d7346eee34734127649aeba7c080cdc97eb2 26-Apr-2009 Joachim Seemer <humdingerb@googlemail.com>

Corrections to strings in Screenshot app. See #3817.

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


# aeaeba65e9ca4e28d3836f5694e1a0c771219aed 25-Apr-2009 Joachim Seemer <humdingerb@googlemail.com>

* Changed a few strings in Screenshot's interface and related function names.
Closes ticket #3817.


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


# bb6301b2644d3124534c12b5e2011e885fd203fc 24-Apr-2009 Philippe Saint-Pierre <stpere@gmail.com>

Ask confirmation in case the application would try to overwrite an existing file.

This is fixing ticket #3815.


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


# f2e161c535dda551737f73ca9415a9af1d6b3ff1 27-Jan-2009 Karsten Heimrich <host.haiku@gmx.de>

* make use of the now available decorator infos



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


# ef52eb17eaf4a736103f48e278d3dcc2af948b9e 30-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* make sure we close the app on ESCAPE
* do not launch a second window in case of RefsReceived



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


# ae1cc0838510ffb31713e716e80ba0bb064ec7c6 29-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* save the last output location
* save the last used output format
* save the last 5 choosen locations
* don't do any window init in silent mode



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


# bef5fffeae877e7a2b825cdb81676f6df0d1fd60 20-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* use B_PNG_FORMAT, thanks Stephan
* truncate the path label, since a long path would automatically
resize the window to something unusable in that case...

Note: somehow the PopUpMenu does ignore a set max column size
expanding from small to large leaves some drawing artefacts



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


# fc3bed0577122204c91defdf8425b46d5a0df336 20-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* implement saving
* have png and home as default
* still misses some kind of settings...



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


# 9f07ffa384d19bcc4ca0f232015bbfa8325d1d1b 19-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* reorganize options
* implement silent mode using the existing BWindow code



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


# a75264d3f6fdda0f26b0d6b20357209d72c9660a 17-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* small screenshot app that was once discussed
* misses a proper icon and does not save atm...



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