History log of /haiku/src/apps/expander/ExpanderWindow.cpp
Revision Date Author Comments
# b62aa238 18-Dec-2022 Humdinger <humdingerb@gmail.com>

Expander: Fix buttons in BAlerts

* Move "Create" as default button to the right, "Cancel" to
the left.
* Fix ESC triggering "Cancel" instead of "Create".
* Use B_INFO_ALERT when asking to create a folder.
* Use "OK" instead of "Cancel" for acknowledgement.

Change-Id: I15ab52ea9abc9c977f757efd27fa0e2232cf74f6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5946
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# affb3a4a 27-Jul-2020 Adrien Destugues <pulkomandy@pulkomandy.tk>

Expander: don't allow selecting text while listing files

Selecting moves the cursor and results in file listing being inserted
at the wrong place.


# 15ba64aa 13-Jul-2020 Adrien Destugues <pulkomandy@pulkomandy.tk>

Unify Settings menu shortcut

Use , as the shortcut key for settings in all built-in apps. Some used
S, but that's already the shortcut for saving. , is the recommended
shortcut in the HIG already, but built-in apps were not updated to
match.

Fixes #11733.


# 7a01e918 09-Jun-2020 Bailey Carlson <bailey@baileycarlson.net>

Expander: prevent "Show Contents" checkbox shift 1px

Relocate ExpanderWindow ScrollView outside of vertical LayoutGroup to
prevent show/hide from shifting the LayoutGroup.

Fixes #15692

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


# 07a70c6f 20-Aug-2018 Humdinger <humdingerb@gmail.com>

Expander: remove hard newlines from alerts


# 13300cf6 19-Aug-2016 Kacper Kasper <kacperkasper@gmail.com>

Expander: fix status view.

* Truncate() would cut Unicode characters in the middle.
* This commit removes arbitrary message length limit as well as workaround
it was needed for and fixes #5289.
* Status view now expands to maximum possible width and cuts the status
message if necessary using TruncateString().

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

* Minor whitespace fix.


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

Improve layouting of Expander

Especially actually hide the content's scroll view, which
otherwise would peak out if the B_USE_WINDOW_SPACING would
ever be increased.


# 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.


# 9fb72ec1 01-Jun-2015 Augustin Cavalier <waddlesplash@gmail.com>

Expander: don't scroll to the end if the user modifies the scrollbar position.

Fixes #11027. This preserves the functionality of scroll-to-end while
allowing the user to interrupt it (and resume it, in the case of
extremely long archives).


# 12bd3f04 09-Jun-2014 John Scipione <jscipione@gmail.com>

Expander: Replace min_c() and max_c()

...with std::min() and std::max()


# e326cef6 09-Jun-2014 John Scipione <jscipione@gmail.com>

Expander: style fixes, no functional change intended


# cd28fb03 04-Jul-2013 Rene Gollent <anevilyak@gmail.com>

Expander: Fix layout regression.

- Adjust ExpanderWindow to use BLayoutBuilder.
- Adjust content pane layout to explicitly use unlimited size, since
it no longer implicitly gets it due to the recent checkbox changes.


# a51eefdd 12-Dec-2012 Gleb Posobin <posobin@gmail.com>

Hint to layout manager for window width estimation

Fixes #5289

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>


# 2ede1751 02-Dec-2012 Siarzhuk Zharski <zharik@gmx.li>

Small refactoring of Expander and AboutSystem GCI patches.

* Fix excessive snprintf in SystemAbout kernel build date/time;
* Create destination folder message adjusted with HIG requirements;

Thanks for pointing out, Landon Fuller and Pulkomandy.


# cb65bb87 02-Dec-2012 Przemysław Buczkowski <przemub@yahoo.pl>

Create dest. folder if it haven't existed. Fixes #8519

That was implemented during completing GCI 2012 task.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>


# 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.


# 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.


# 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


# 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


# 066522e8 14-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Localization changes. Use of B_TRANSLATE_APP_NAME(). Small cleanups.

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


# 0ea362ab 11-Feb-2011 Joachim Seemer <humdingerb@googlemail.com>

* Improved ambiguous commands in Icon-O-Matic. A direction like left/right
when rotating indices doesn't always make sense. Think of an "8" shape.
Reordered these items to give the correct shortcut order Alt+R - Shift+Alt+R.
* More localizing of strings in ActivityMonitor and Expander.
* TextSearch had problems with the search button being to small if one of the
translated strings for Search/Cancel get's bigger than the other. Now resizes
after toggling.
* FileTypes missed a file for the catalog in the Jamfile.



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


# 46f8ab6c 11-Feb-2011 Joachim Seemer <humdingerb@googlemail.com>

Removed left over commented line, put %s in quotes for better readability.

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


# c16bcdfc 10-Feb-2011 Joachim Seemer <humdingerb@googlemail.com>

Made some more strings localizable, removed some unnecessary localizations from CDPlayer. I hope everything's OK...

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


# 550bad11 03-Oct-2010 Jérôme Duval <korli@users.berlios.de>

* 7zip asks for a password on the stdout, we check for the "Enter password" string.


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


# e8c006b9 03-Oct-2010 Jérôme Duval <korli@users.berlios.de>

Added handling of password protected archives (bug #4879), only tested with zip archives.
* switch stdin to a tty in ExpanderThread (had to use fork() and execv)
* anytime an error message contains the word "password", an alert with a textcontrol is presented to the user.


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


# 750111c9 03-Oct-2010 Jérôme Duval <korli@users.berlios.de>

* switch output and error stream to non blocking and snooze between each run.
* read error messages and present an alert with the option to stop processing
* should fix #1870 and help with #5009


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


# 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


# e07f1f2f 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@36666 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ab7b6568 22-Feb-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by mt : localize expander.


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


# d6a142a9 30-Jan-2010 Philippe Saint-Pierre <stpere@gmail.com>

Expander: don't use fLineHeight before its value is calculated. And don't resize the window to a size smaller than the calculated minHeight.
* This fixes a bug where checking "show contents" before a source archive is chosen makes the window go tiny.


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


# 94a20a5e 19-Jan-2010 Philippe Saint-Pierre <stpere@gmail.com>

[Expander]: Fix for Zoom
* When the zip file was really large, it was possible the Height passed to SetZoomLimit exceeded the maximum allowed size. Now, we clip at 32767.


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


# 03734edf 19-Jan-2010 Philippe Saint-Pierre <stpere@gmail.com>

[Expander] : Window Sizing enhancements
* Now takes the screen size into consideration when enlarging the window (fixing ticket #5280)
* Enables Zooming capabilities
* Remembers the last height of the window so that clicking Show contents on and off just returns it to the previous height.


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


# 0dd025d0 18-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Applied patch by "vegardw":
* Fix order of Source/Destination buttons in Expander after porting the UI
to use layout management.

Fixes #5283. Thanks a lot!


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


# ebb64ace 17-Jan-2010 Philippe Saint-Pierre <stpere@gmail.com>

[Expander]:
* Use be_fixed_font in the Show Content TextView (fixes ticket #5272).
* Minor cleanup in ExpanderThread.cpp


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


# 7284ad29 16-Jan-2010 Karsten Heimrich <host.haiku@gmx.de>

* Use the layout system to build the gui, fixes #4768.


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


# 35c09220 14-Jan-2010 Karsten Heimrich <host.haiku@gmx.de>

* Cleanup, some style changes.



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


# 8b93f21c 11-Sep-2009 Philippe Saint-Pierre <stpere@gmail.com>

Expander: Smarter window resize

* Rather than enlarging the window on (potentially) every line, simply keep the largest delta and use it only once at the end of the listing.

Ref: r33073 and ticket #3797.


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


# 80c55153 11-Sep-2009 Philippe Saint-Pierre <stpere@gmail.com>

Expander: Smarter window sizing

* When using the "Show Content" feature, enlarge the window horizontally rather than wrapping.

Ref: enhancement request #3797.


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


# 7e1a9f15 12-Jul-2009 Jérôme Duval <korli@users.berlios.de>

applied from idefix to fix the tab order for the Expander app (bug #4076). Thanks!


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


# 1e251de1 15-Mar-2009 Joachim Seemer <humdingerb@googlemail.com>

Exchanged all occurences of 'Expand-O-Matic' to 'Expander'.

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


# 58bda998 13-Feb-2009 Jérôme Duval <korli@users.berlios.de>

* alert when the destination volume is read only. Fixes bug #3422.


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


# 359176d9 07-Jan-2009 Jérôme Duval <korli@users.berlios.de>

* now use source and destination as initial directory for file panels. This fixes bug #3175.


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


# 950eeadd 22-Oct-2008 Rene Gollent <anevilyak@gmail.com>

Factor out a ValidateDest() function that checks if the destination is valid
and throws up a BAlert if not. Reuse this when the user clicks expand to check
for and grab the destination path. This fixes the problem that if the user
manually types in or pastes a destination path and then immediately clicks
Expand, the actual destination path used is never updated. Thanks to Daniel
Teixeira for reporting.



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


# cb0c4029 03-Oct-2008 Karsten Heimrich <host.haiku@gmx.de>

* fix probable memory leaks



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


# 2ad68d46 25-Sep-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

don't leak the BMessenger. CID 928 and 929

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


# 66eba86f 16-May-2007 Axel Dörfler <axeld@pinc-software.de>

* Applied patch by Jonas Sundstrom: fixed the usage of B_UTF8_ELLIPSIS hopefully
everywhere in the tree.
* Added the ellipsis to "About Haiku" in Deskbar as well.
* Minor cleanup of Deskbar's StatusView.cpp


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


# 96303159 03-Mar-2007 Jérôme Duval <korli@users.berlios.de>

fixing indenting style issues


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


# 8809a510 07-Aug-2006 DarkWyrm <darkwyrm@gmail.com>

Another in the series of small usability tweaks:
Added a needed ellipsis to the About item
Increased the space between the "select current folder" button and the Cancel button in the Destination file panel to prevent accidental clicking


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


# 5fef96ef 02-Apr-2006 Axel Dörfler <axeld@pinc-software.de>

Made the gap between the buttons and the text controls as large as the one
between the window border and its contents to make it look a bit better.


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


# 0e6b056f 02-Apr-2006 Axel Dörfler <axeld@pinc-software.de>

Fixed a whole lot of font sensitivity (and some other minor, like the "Show Contents"
menu label update) issues of the main window (didn't touch the rest yet) - shame on
you, Korli ;-)


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


# 25649336 15-Feb-2006 Jérôme Duval <korli@users.berlios.de>

updated signature and headers


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


# f4865bd8 15-Feb-2006 Jérôme Duval <korli@users.berlios.de>

hopefully fixed overlapping bug #162


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


# b3c980ab 08-Feb-2006 Jérôme Duval <korli@users.berlios.de>

use the current screen


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


# a7c29855 30-Sep-2005 Jérôme Duval <korli@users.berlios.de>

takes string width into account


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


# 5797cdc3 31-Jan-2005 Jérôme Duval <korli@users.berlios.de>

We update to the contents for new files (bug from Fredrik Ekdahl)


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


# 6c4f4420 18-Mar-2004 Jérôme Duval <korli@users.berlios.de>

Changes the destination folder when "same folder" is selected even when there is one already, thanks to MYOB
Enable expand buttons only when the destination folder is valid
Don't provide a destination folder for listing


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


# 55a5a6bd 16-Mar-2004 Jérôme Duval <korli@users.berlios.de>

Initial checkin of the Expander replacement app.
Redone from scratch because we don't have Dan Lee's code.
Beta version. Testing is welcome.


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


# 9fb72ec18e1a861a74575c8e1378477e6e51d5c6 01-Jun-2015 Augustin Cavalier <waddlesplash@gmail.com>

Expander: don't scroll to the end if the user modifies the scrollbar position.

Fixes #11027. This preserves the functionality of scroll-to-end while
allowing the user to interrupt it (and resume it, in the case of
extremely long archives).


# 12bd3f045234d6f7c467fe790ba6b8b639752a93 09-Jun-2014 John Scipione <jscipione@gmail.com>

Expander: Replace min_c() and max_c()

...with std::min() and std::max()


# e326cef6202a94eeab5149052a48c05db8000eaa 09-Jun-2014 John Scipione <jscipione@gmail.com>

Expander: style fixes, no functional change intended


# cd28fb03310c256b75b9db9a9dd7e009c6dd1fa1 04-Jul-2013 Rene Gollent <anevilyak@gmail.com>

Expander: Fix layout regression.

- Adjust ExpanderWindow to use BLayoutBuilder.
- Adjust content pane layout to explicitly use unlimited size, since
it no longer implicitly gets it due to the recent checkbox changes.


# a51eefdd081b909876a0f196d6af1d4819daee44 12-Dec-2012 Gleb Posobin <posobin@gmail.com>

Hint to layout manager for window width estimation

Fixes #5289

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>


# 2ede175119bbd0fd38bf8268781a9a4be192c5c6 02-Dec-2012 Siarzhuk Zharski <zharik@gmx.li>

Small refactoring of Expander and AboutSystem GCI patches.

* Fix excessive snprintf in SystemAbout kernel build date/time;
* Create destination folder message adjusted with HIG requirements;

Thanks for pointing out, Landon Fuller and Pulkomandy.


# cb65bb873256e08920206840d8b91b51e6ca073c 02-Dec-2012 Przemysław Buczkowski <przemub@yahoo.pl>

Create dest. folder if it haven't existed. Fixes #8519

That was implemented during completing GCI 2012 task.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>


# 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.


# 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.


# 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


# 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


# 066522e87b5aa9f25957e3f419ac3a0565edbb4f 14-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Localization changes. Use of B_TRANSLATE_APP_NAME(). Small cleanups.

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


# 0ea362ab5042a7fb82871079d1a06639c7eddadf 11-Feb-2011 Joachim Seemer <humdingerb@googlemail.com>

* Improved ambiguous commands in Icon-O-Matic. A direction like left/right
when rotating indices doesn't always make sense. Think of an "8" shape.
Reordered these items to give the correct shortcut order Alt+R - Shift+Alt+R.
* More localizing of strings in ActivityMonitor and Expander.
* TextSearch had problems with the search button being to small if one of the
translated strings for Search/Cancel get's bigger than the other. Now resizes
after toggling.
* FileTypes missed a file for the catalog in the Jamfile.



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


# 46f8ab6c601cda84a24170bfdd18f88dbb5be4e7 11-Feb-2011 Joachim Seemer <humdingerb@googlemail.com>

Removed left over commented line, put %s in quotes for better readability.

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


# c16bcdfcb779bf4d85a8aceb10602581d3de104f 10-Feb-2011 Joachim Seemer <humdingerb@googlemail.com>

Made some more strings localizable, removed some unnecessary localizations from CDPlayer. I hope everything's OK...

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


# 550bad1124fbad500c2b05e950b1cecc6b9f1c60 03-Oct-2010 Jérôme Duval <korli@users.berlios.de>

* 7zip asks for a password on the stdout, we check for the "Enter password" string.


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


# e8c006b9ac7760a399425fc298b490ec21e0752c 03-Oct-2010 Jérôme Duval <korli@users.berlios.de>

Added handling of password protected archives (bug #4879), only tested with zip archives.
* switch stdin to a tty in ExpanderThread (had to use fork() and execv)
* anytime an error message contains the word "password", an alert with a textcontrol is presented to the user.


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


# 750111c96617f378be7fbcdf0192028f96bf757e 03-Oct-2010 Jérôme Duval <korli@users.berlios.de>

* switch output and error stream to non blocking and snooze between each run.
* read error messages and present an alert with the option to stop processing
* should fix #1870 and help with #5009


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


# 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


# e07f1f2f5068763d0d5c9229d0bc8d1b53a0188a 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@36666 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ab7b6568980ea272de2d9c151d9821fac00e02c9 22-Feb-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by mt : localize expander.


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


# d6a142a91285f4265f9e6c95aaab8a601573ed54 30-Jan-2010 Philippe Saint-Pierre <stpere@gmail.com>

Expander: don't use fLineHeight before its value is calculated. And don't resize the window to a size smaller than the calculated minHeight.
* This fixes a bug where checking "show contents" before a source archive is chosen makes the window go tiny.


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


# 94a20a5e74b502a3b3f2c1662026eee58ad3b576 19-Jan-2010 Philippe Saint-Pierre <stpere@gmail.com>

[Expander]: Fix for Zoom
* When the zip file was really large, it was possible the Height passed to SetZoomLimit exceeded the maximum allowed size. Now, we clip at 32767.


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


# 03734edfeff78c438daab2131b80bd6de48c9574 19-Jan-2010 Philippe Saint-Pierre <stpere@gmail.com>

[Expander] : Window Sizing enhancements
* Now takes the screen size into consideration when enlarging the window (fixing ticket #5280)
* Enables Zooming capabilities
* Remembers the last height of the window so that clicking Show contents on and off just returns it to the previous height.


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


# 0dd025d0c4fc6a3b04ac868bb530a24ef25f4ed7 18-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Applied patch by "vegardw":
* Fix order of Source/Destination buttons in Expander after porting the UI
to use layout management.

Fixes #5283. Thanks a lot!


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


# ebb64acec1fbfb0c00e45f53d11f50ae86cdebce 17-Jan-2010 Philippe Saint-Pierre <stpere@gmail.com>

[Expander]:
* Use be_fixed_font in the Show Content TextView (fixes ticket #5272).
* Minor cleanup in ExpanderThread.cpp


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


# 7284ad2919b387ec3e28a92031941bf1305fc2cc 16-Jan-2010 Karsten Heimrich <host.haiku@gmx.de>

* Use the layout system to build the gui, fixes #4768.


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


# 35c09220cc37a3bab64c9766f936d95a4c5f4dd3 14-Jan-2010 Karsten Heimrich <host.haiku@gmx.de>

* Cleanup, some style changes.



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


# 8b93f21c22d6e4a1787260efa84561c79c7142d1 11-Sep-2009 Philippe Saint-Pierre <stpere@gmail.com>

Expander: Smarter window resize

* Rather than enlarging the window on (potentially) every line, simply keep the largest delta and use it only once at the end of the listing.

Ref: r33073 and ticket #3797.


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


# 80c5515366b12a3062c418ebd4b9040709b7b81e 11-Sep-2009 Philippe Saint-Pierre <stpere@gmail.com>

Expander: Smarter window sizing

* When using the "Show Content" feature, enlarge the window horizontally rather than wrapping.

Ref: enhancement request #3797.


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


# 7e1a9f15839c1b170c6239f3c9150fda81772b13 12-Jul-2009 Jérôme Duval <korli@users.berlios.de>

applied from idefix to fix the tab order for the Expander app (bug #4076). Thanks!


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


# 1e251de143e2cb91f8e9b0356b9d32a6d65e397f 15-Mar-2009 Joachim Seemer <humdingerb@googlemail.com>

Exchanged all occurences of 'Expand-O-Matic' to 'Expander'.

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


# 58bda9983cfc6cdced6bd56c04da11626d29084a 13-Feb-2009 Jérôme Duval <korli@users.berlios.de>

* alert when the destination volume is read only. Fixes bug #3422.


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


# 359176d9064845ed334f31a6a636a88f3974c67e 07-Jan-2009 Jérôme Duval <korli@users.berlios.de>

* now use source and destination as initial directory for file panels. This fixes bug #3175.


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


# 950eeadd92fb9320bc052d7ad87c66bc673aab26 22-Oct-2008 Rene Gollent <anevilyak@gmail.com>

Factor out a ValidateDest() function that checks if the destination is valid
and throws up a BAlert if not. Reuse this when the user clicks expand to check
for and grab the destination path. This fixes the problem that if the user
manually types in or pastes a destination path and then immediately clicks
Expand, the actual destination path used is never updated. Thanks to Daniel
Teixeira for reporting.



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


# cb0c40290ef920c90f3d8716c150283070d0d1b9 03-Oct-2008 Karsten Heimrich <host.haiku@gmx.de>

* fix probable memory leaks



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


# 2ad68d466a92621c9ffb7dc8769bddcaecea3f98 25-Sep-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

don't leak the BMessenger. CID 928 and 929

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


# 66eba86f4b3c2eef6462d090e93245fc60d7127b 16-May-2007 Axel Dörfler <axeld@pinc-software.de>

* Applied patch by Jonas Sundstrom: fixed the usage of B_UTF8_ELLIPSIS hopefully
everywhere in the tree.
* Added the ellipsis to "About Haiku" in Deskbar as well.
* Minor cleanup of Deskbar's StatusView.cpp


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


# 96303159b3cf4f09c9903dae259ef40ad51a7579 03-Mar-2007 Jérôme Duval <korli@users.berlios.de>

fixing indenting style issues


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


# 8809a510766dd829b8571c170920472159c405d1 07-Aug-2006 DarkWyrm <darkwyrm@gmail.com>

Another in the series of small usability tweaks:
Added a needed ellipsis to the About item
Increased the space between the "select current folder" button and the Cancel button in the Destination file panel to prevent accidental clicking


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


# 5fef96ef20f6d4f67af63a1342e9f7d06b11c811 02-Apr-2006 Axel Dörfler <axeld@pinc-software.de>

Made the gap between the buttons and the text controls as large as the one
between the window border and its contents to make it look a bit better.


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


# 0e6b056fdc739ebd52d1f098ac82991fb61e8f52 02-Apr-2006 Axel Dörfler <axeld@pinc-software.de>

Fixed a whole lot of font sensitivity (and some other minor, like the "Show Contents"
menu label update) issues of the main window (didn't touch the rest yet) - shame on
you, Korli ;-)


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


# 25649336e1f064e69190bfef16e57eaef99287f5 15-Feb-2006 Jérôme Duval <korli@users.berlios.de>

updated signature and headers


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


# f4865bd8ae43089be24f35cef1a39258cfbdb65a 15-Feb-2006 Jérôme Duval <korli@users.berlios.de>

hopefully fixed overlapping bug #162


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


# b3c980ab0e217630320e835f2b7f3191bad722f4 08-Feb-2006 Jérôme Duval <korli@users.berlios.de>

use the current screen


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


# a7c2985541a3da5f81e4a794278005aaca66738a 30-Sep-2005 Jérôme Duval <korli@users.berlios.de>

takes string width into account


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


# 5797cdc36fa5387b0c786f017aa31ee8bc9658df 31-Jan-2005 Jérôme Duval <korli@users.berlios.de>

We update to the contents for new files (bug from Fredrik Ekdahl)


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


# 6c4f44206374b2cd1611a2243a19dbcbd6f9a24e 18-Mar-2004 Jérôme Duval <korli@users.berlios.de>

Changes the destination folder when "same folder" is selected even when there is one already, thanks to MYOB
Enable expand buttons only when the destination folder is valid
Don't provide a destination folder for listing


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


# 55a5a6bdfa5537e5422bf6ef0b1800537f981066 16-Mar-2004 Jérôme Duval <korli@users.berlios.de>

Initial checkin of the Expander replacement app.
Redone from scratch because we don't have Dan Lee's code.
Beta version. Testing is welcome.


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