History log of /haiku/src/apps/installer/InstallerWindow.cpp
Revision Date Author Comments
# 0aede635 20-Feb-2024 Humdinger <humdinger@mailbox.org>

AboutSystem, Installer: show light/dark logos

* Use B_DOCUMENT_TEXT_COLOR and B_DOCUMENT_BACKGROUND_COLOR instead
of black on white in text views.

* Depending on HAIKU_DISTRO_COMPATIBILITY_OFFICIAL build flag, either
show the official Haiku logo or the Walter logo.

* If the official Haiku logo is used, show a version with black letters
if B_DOCUMENT_BACKGROUND_COLOR is light, and white letters if it's not.

* Remove the "installer" versions of the black-on-white Haiku logo.
Instead introduce "black|white-on-transparent" logos with a
transparent background.

* Fixed the leave shadows in logo Wonderbrush files. Especially the
yellow leave's shadow appeared too large and blurry.

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


# 71f5445c 27-Mar-2023 Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>

Installer: Remove leftover code

Just some refactoring, nothing too much. The tooltip is not necessary
because the hints have been made much more visible using popups and
the default state of the Installer window itself.

Change-Id: I25f10fe3460c4df0bdc4e4af298532f94c65ebc5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6262
Tested-by: Automation <automation@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# 95de7f50 10-Mar-2023 Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>

Installer: Adjust layout for new window size

- Ensure that enough space is used for text
- Adjust string in Installer to fix weird wrapping issues
- Make Installer logos smaller

Change-Id: Ibd9cc9a944928263f28a43094b695f1018c30a5f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6187
Tested-by: Automation <automation@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# bb46ee6d 11-Mar-2023 Humdinger <humdingerb@gmail.com>

Installer: tweaking strings

* Add ellipsis to menu item "Set up boot menu" as it opens a window
to do the actual setting up.

* The app name is actually "BootManager".

* Consistenly use single quotes for button labels.

* Grammer correction

Change-Id: I4eaf7029653fc53c60b4a4b4496cf87e1834ac33
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6189
Tested-by: Automation <automation@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 5929c25b 01-Mar-2023 Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>

Installer: Add partition setup instructions

Even if it may seem obvious to experienced users that they have to
click on the 'Set up partitions...' button, this is unfortunately not
always the case. Despite the pop-up that appears if there are no
suitable partitions to install Haiku on, some contradicting
instructions remain on the screen after closing it.

The Installer should also provide some feedback to the user as to
whether they used DriveSetup correctly, instead of inferring it from
the fact that they cannot select any drives after having used
DriveSetup.

For this purpose, the Installer window was made a bit wider.

Change-Id: If561f628e2768a01d85176359f07a187e002f51b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6087
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Tested-by: Automation <automation@haiku-os.org>
Reviewed-by: humdinger <humdingerb@gmail.com>


# be7386be 24-Feb-2023 Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>

Installer: factorize _SetStatusMessage() calls in _UpdateControls()

Change-Id: I34306c8c13bff0d8d3e7e8841c552fd05fa11d41
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6083
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 6ee62ca6 15-May-2022 PulkoMandy <pulkomandy@pulkomandy.tk>

Installer: make sure there is space for 5 lines of text in the status view

Fixes #17095

Change-Id: I53752d6ee60a913f230dc44eddac7f872db6c184
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5314
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 789bcfd8 23-Jan-2022 Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>

Update own credits/copyrights

Change-Id: Ia28784e1c8d534df3946693c850e176c75c5d99a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4882
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 03e7ffef 25-Sep-2020 Humdinger <humdingerb@gmail.com>

Installer: add missing linebreak in GUI string

It was either adding a separating space or go for a linebreak.
I opted for the line break.


# a99ae7f4 15-Sep-2020 Jérôme Duval <jerome.duval@gmail.com>

Installer: improve BMessage allocation

Change-Id: I2da87c29c3e3720e67d22a8eede54eb5f32964ad
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3223
Reviewed-by: Rene Gollent <rene@gollent.com>


# b05b0c1c 14-Sep-2020 Panagiotis Vasilopoulos <hello@alwayslivid.com>

Installer: Fixed installer

- InstallerWindow.cpp announces a message with a boolean that defines whether the install has been completed. That boolean will define InstallerApp.cpp's behavior.
- Changed the method that was used (unsuccessfully) to open FirstBootPrompt within the Installer itself, upon quitting.

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


# 058e754b 09-Sep-2020 Panagiotis Vasilopoulos <hello@alwayslivid.com>

Installer: Return to FirstBootPrompt instead of rebooting when exiting

- Changed flow of installation process. Exiting the installer will only result in a reboot if the installation has been completed, rather than forcing the user to reboot after initiating the installation process.
- Adjusted wording of selected strings and increased consistency.

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


# 72fcffef 29-Jun-2020 Humdinger <humdingerb@gmail.com>

Installer: GUI change initialize -> format

DriveSetup terminology was changed a while ago. Disks get 'initialized'
with a partition map. Partitions are 'formatted'.

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


# 3d11fed2 03-Feb-2020 Adrien Destugues <pulkomandy@pulkomandy.tk>

Installer: fix drawing of optional packages view

Rework the layout of the installer window, do not try to put everything
in a single grid but instead use a mix of grid and groups as
appropriate, which keeps things simpler.

Make the width of the window more font sensitive.

Have the package view properly resize with the window, and the items in
it still draw properly (checkbox and name on the left, size on the
right)

The menu fields for source and destination don't need to extend to the
whole window width, so allow them to be smaller.

Fixes #5785

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


# 31ff65f6 06-Feb-2020 Adrien Destugues <pulkomandy@pulkomandy.tk>

Installer: better computation for minimal window width

The width of the status messages should not depend on the width of the
logo. Reserve about 30 characters no matter which logo is used (this is
slightly larger than it used to be).

Fixes #15679.


# af5b356d 02-Feb-2020 Adrien Destugues <pulkomandy@pulkomandy.tk>

Installer: small tweak to layout

Should fix #14574.

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


# de24087a 15-Jan-2019 Rob Gill <rrobgill@protonmail.com>

installer: Fix Bug #14594 / avoid UI reset

* Adds check for completed installation when exiting BootManager
or DriveSetup.

* If installation has completed, quit or restart buttons are maintained,
along with appropriate guidance, rather than the UI reset described in bug

Change-Id: I064ccecb77b1a0e4347e1e36564614383b1409d5
Reviewed-on: https://review.haiku-os.org/c/881
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>


# a3e22cda 08-Sep-2018 Augustin Cavalier <waddlesplash@gmail.com>

Installer: Rework status message view sizing logic.

* Make the status message view have a minimum height of the logo
view's height.
* Properly add the views to the BGroupView layout.
* Instead of trying to set the explicit minimum size from the status
view information, just invalidate the GroupLayout. This seems to fix
a number of bugs relating to text overflowing the view, while it doesn't
fix others (e.g. orphan words on their own lines are still not drawn
in some cases, which appears to be a BTextView bug.)
* Use BString::SetToFormat instead of snprintf in some places.

As far as I can make out, fixes #13608.


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


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


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


# 3aeed660 07-Aug-2014 Jérôme Duval <jerome.duval@gmail.com>

include strings.h where appriopriate...

instead or additionally to string.h, in preparation for functions move.
* moves str[n]casecmp() functions and others to strings.h.
* strings.h doesn't include string.h anymore.
* this solves #10949


# 348d9eac 02-Jun-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Installer: WorkerThread: Remove InstallerWindow dependency

* Move message constants to InstallerDefs.h.
* Determine the source and target partition ID already in
InstallerWindow and pass those to WorkerThread instead of fiddling
with menu items in _PerformInstall(). And instead of the window object
pass a messenger to the constructor.


# fb5f0bb1 02-Jun-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Installer: Move path string constants to new InstallerDefs.h/cpp


# 1565964a 03-Jan-2013 Matt Madia <mattmadia@gmail.com>

Show Installer on all workspaces when Tracker isn't running.

This applies to the EULA window as well. Addresses #9287:comment:5


# 87d333ee 02-Jan-2013 Matt Madia <mattmadia@gmail.com>

Make the EULA and Installer appear on all workspaces.

Fixes #9287


# 34e3453f 06-Aug-2012 Humdinger <humdingerb@gmail.com>

Added accidentally removed "!=0" back...


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


# a3b73ff9 26-Jul-2012 Philippe Houdoin <philippe.houdoin@gmail.com>

Fix insets


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


# 6b418363 23-Nov-2011 Philippe Saint-Pierre <stpere@gmail.com>

Add missing break statement

Fix CID 3304


# d52b839e 18-Jun-2011 Ryan Leavengood <leavengood@gmail.com>

When called from the ReadOnlyBootPrompt, quitting the Installer will result in
restarting. So it makes sense to use the label Restart for the button instead
of Quit.

Fixes #7090.


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


# 693ecccc 07-Jun-2011 Ryan Leavengood <leavengood@gmail.com>

Make the Installer status view a little wider by default and also resize it's
height if needed. This should prevent any text from being cut off (though to be
fair it is possible to resize the window horizontally to see any cut off text.)

Fixes #5882.

+alpha3


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


# 3feabba6 30-May-2011 Axel Dörfler <axeld@pinc-software.de>

* Applied patch by idefix that fixes IDE. Nah, that fixes launching BootManager
when mimset didn't run yet. This obviously cleans up after a change that I
did, thanks a lot!
* This closes bug #7595.
* Also took the opportunity to clean up a bit more in this regard, and fixed a
few coding style violations.


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


# 10dfe897 06-May-2011 Axel Dörfler <axeld@pinc-software.de>

* Really, there is absolutely no need to pass the default argument to an
optional parameter...


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


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

Disallow quitting Installer silently, midinstall, in the LiveCD/post-install case. Allow quitting Installer without first quitting BootManager/DriveSetup in the LiveCD/post-install case. Make use of B_TRANSLATE_APP_NAME. Stop-icon in abortive BAlerts. Please review.

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


# b76ca311 04-Jan-2011 Axel Dörfler <axeld@pinc-software.de>

* Renamed bootman to BootManager, and moved it to the applications.
* Renamed its signature to BootManager as well.


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


# da81ea91 04-Sep-2010 Alex Wilson <yourpalal2@gmail.com>

patch by 'jstreessman' fixing regressions in AboutSystem and InstallerWindow from r38512, thanks!


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


# 2873f50a 25-Jul-2010 Matt Madia <mattmadia@gmail.com>

Utilize HAIKU_DISTRO_COMPATIBILITY and HAIKU_OFFICIAL_RELEASE for choosing
which graphic to display in AboutSystem and Installer.

When 'official' and 'HAIKU_OFFICIAL_RELEASE', the 'release' logo -- eg, alpha 2
will be used. When 'HAIKU_OFFICIAL_RELEASE' is not defined, the 'development'
logo will be used.

When 'default' or 'compatible', no graphic will display. Their appearance
does degrade somewhat gracefully, though InstallerWindow.cpp may need an
adjustment to better set fStatusView->SetExplicitMinSize()

Relates to #6183.


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


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


# c89c29e7 26-Apr-2010 Stephan Aßmus <superstippi@gmx.de>

Moved the "Write boot sector" and "Set up boot menu" functionality into a new
Tools menu. Fixes #5820.


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


# 2061b030 26-Apr-2010 Stephan Aßmus <superstippi@gmx.de>

In the spirit of giving exposure to as many Haiku features as possible,
integrate the Boot Manager into Installer. There was a patch for this in ticket
#4425, but I have implemented this myself, since the patch didn't implement
the interaction with running and quitting DriveSetup and Bootman correctly.


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


# 48d79657 23-Mar-2010 Stephan Aßmus <superstippi@gmx.de>

* Moved the duplicate "string_for_size()" implementations into libshared.a.
* Adapted libtracker.so, DriveSetup and Installer to use the shared version.
* The new version uses the correct units (KiB instead of KB and so on).
* Use the correct units in a few other prominent places, where
string_for_size() could not be used.

Should resolve a major part of #5378.


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


# 2882dba2 24-Feb-2010 Alexandre Deckner <alex@zappotek.com>

* remove left-overs of deprecated ClassInfo.h includes (cf. OpenGrok) except in SupportKit.h for backward source compatiblity (although it shouldn't really matter).


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


# 26353e2b 25-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

When the Quit button is invoked after an installation, do not prompt the user
for confirmation to restart the computer. Untested, but with good chances of
working as intended.


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


# e1453a3e 23-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

When running as the only application, ask the user before quitting for
confirmation before restarting the computer. (Remember that new users may not
even know what the decorator close box does.)


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


# 4a2da425 20-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

* Applied localization to the Installer.
* Some coding style fixes along the way.
* Added German translation.

NOTE: The Installer will have to offer a way to change the current locale! So
any translations which are done at this point will have to receive one more
update after I added this feature.

NOTE2: There is something wrong with generating catalogs and the update-all
jam target. If you don't do a clean build, the build won't run through, but it
is enough to build for example an image and then run update-all on your actual
partition profile.


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


# 33eed030 01-Oct-2009 Jonas Sundström <jonas@kirilla.com>

Simplified use of CenterOnScreen().

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


# e9953d08 30-Sep-2009 Jonas Sundström <jonas@kirilla.com>

Standardize on BWindow::CenterOnScreen().

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


# e9503e26 23-Sep-2009 Ryan Leavengood <leavengood@gmail.com>

Fix typo spotted by Joel Cox: thanks!


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


# 95a67fec 19-Sep-2009 Jonas Sundström <jonas@kirilla.com>

Language nit: 'setup' != 'set up'

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


# 3b569698 18-Sep-2009 Stephan Aßmus <superstippi@gmx.de>

Added tool tips to the non-obvious buttons.


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


# 0da53e3d 11-Sep-2009 Philippe Saint-Pierre <stpere@gmail.com>

Installer : truncated string in menu fields

* Delay the display of the alert just a little bit, to let the menu fields enough time to adjust.

Fixes ticket #3893.


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


# d7737cc8 29-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

Changed the somewhat bold BLocker usage to a more straight forward semaphore
based mechanism to pause and eventually cancel the WorkerThread. This also works
now when the CopyEngine is still collecting file informartion (ticket #4153).


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


# 5c7514c3 28-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

Patch by idefix: Make the source items behave exactly like the target items
with regards to the label & style cleanup. Thanks a lot!


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


# c4bd44f3 28-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

The custom separator view is no longer needed.


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


# 9b4593e3 28-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

* Fixed some problems of the dynamic layout, basically, the upper part of the
window will now stay fixed when you expand the optional packages and collapse
them again.
* Updated the text about having prepared a partition, since we can now indeed
create and delete partitions.


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


# f76e944e 14-Jun-2009 Stephan Aßmus <superstippi@gmx.de>

* Fixed problems when installing onto non-empty target volumes. The
'system' folder will be a clean copy of the source volume. Other
folders will be merged (as before), but in case a folder is in the
way of a link or file from the source volume, it will now be purged.
* Clarified the alert for non-empty target volumes, so it is very clear
what happens. (Maybe there ought to the be option to only copy the system
folder, though.)
* Fixed a problem with copying attributes in certain cases.
* Fixed the main GUI not resetting state properly after encountering an
error during the copy process.


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


# 8323a7cd 03-May-2009 Stephan Aßmus <superstippi@gmx.de>

Tweak the "install done" message. If Deskbar is running, chances are quitting
the Installer won't restart the computer.


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


# 2e6fb5f2 03-May-2009 Stephan Aßmus <superstippi@gmx.de>

If no suitable partitions have been found, encourage the user to use the
Setup Partitions button...


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


# fab3e4a5 03-May-2009 Stephan Aßmus <superstippi@gmx.de>

* Remember in PartitionMenuItem if a partition is a suitable install target.
* Show non-BFS partitions again, but show them disabled and show the content
type in the menu label. BFS partitions don't get the content type shown, so
that it looks more like the reason why they are disabled if the content
type is shown.
* Small cleanups.


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


# 92cd10f4 03-May-2009 Stephan Aßmus <superstippi@gmx.de>

* Refactored the way targets are collected before copy process begins, this
way, the optional packages (if there would be any) can be collected as well
before the actual process starts and the progress bar will reflect them
correctly. Before this change, the progress bar would have reset itself for
every optional package.
* In one of my previous commits, I added the error, if there was any, to the
reset message. Now the Installer window looks for the error and tells the
user about it.


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


# b4afa663 03-May-2009 Stephan Aßmus <superstippi@gmx.de>

First round of cleanup:
* Renamed CopyEngine to WorkerThread, since it's used for other things than
just copying.
* Removed the code borrowed from Tracker.
* Removed the InstallerCopyLoopControl, since the CopyEngine handles
notifications and cancelling by itself now.
* Renamed a few message constants.
* Since we only support BFS partitions as install targets, I removed the
FS type from the target menu item label. However, I am going to solve this
differently. I guess all partitions should be seen in the target list, just
disabled if they are not a valid target, and with a reason given too.


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


# a873be2a 25-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

Also disable the new "Write Boot Sector" button while installing.


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


# 7b293a3e 25-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

* Prevent to copy the "var" and "_packages_" folders from the source volume
root folder as before switching the CopyEngine.
* Add a button "Write Boot Sector" that makes the selected target volume
bootable without performing an installation. Adjusted the status message
after installation to be more descriptive.
* Small improvements in the CopyEngine, collecting the source size should be
even a bit faster now since we can use the file size from the already
performed stat().


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


# 803d0234 25-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

Sorry, this is a bit of a mess yet and needs more refactoring...
* I've implemented my own copy engine which runs a separate writer thread.
Especially when installing from one hard drive to another, it should speed
things up. When installing from CD, the entire harddisk write time should
at least disappear in the CD read time. When installing from/to the same
drive, the new routine is as fast as the Tracker code that was used before.
* When stopping/canceling the copy process, the copy engine will now actually
block, instead of happily going on while the alert is showing. I've
still implemented that to not leave incomplete files around, like before.
* There is now a progress bar, based on data bytes in files to copy. Reason
being that it's quite fast to collect this info versus also scanning all
attributes.
* The copy engine itself was used in another project before and was tested
with SHA256 hashes of the original files and the copied files, so I think
it can be trusted.
* There is now a lot of code that can be removed or should be cleaned up.
What was the "CopyEngine" should become the "WorkerThread" or something.
* I still had a mental TODO about skipping the swap file (there is none on
CDs, but when copying a harddisk installation there may be one), I just
remembered this when typing this commit message... will fix that next.


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


# 3bbb00b4 24-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

* Only except BFS partitions as target volumes. Installer does not initialize
partitions by itself. When it does, this check can be removed again... for
now DriveSetup is to be used and so there is no code duplication.
* Check if the target volume is non-empty and present an appropriate warning.


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


# 7a65816a 24-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

* Tweaked text here and there (also thanks to Alexandre for proof-reading!)
* Renamed _UpdateMenus() to _UpdateControls().


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


# b4eca493 24-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

* Prevent the user from chosing the same disk for source and destination.
* Keep the info text and the Begin button in consistent state at all times
according to the selection of the disks.


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


# 4e65d35a 24-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

No need to truncate the labels in layout-managed mode...


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


# 59029801 24-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

* Adopted naming scheme for private methods
* Sorted methods to reflect order in .cpp


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


# 7ff74a7b 23-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

* Converted to use layout-management.
* New logo specific to R1 Alpha/1.
* "Setup Partitions" is now always visible, since it will most likely be
required to prepare a partition for installation anyways.
* The optional packages are still in the GUI, but are collapsed by default as
before. As there are currently no optional packages, a message will be
displayed if no optional packages are found on the source partition.
* The default label for the "Onto" popup is now "Please choose target" instead
of the first partition found, even though it is not actually selected yet.
* The EULA window is still shown, but it's not based on a BAlert anymore.
* Only make main window non-minimizable if the Deskbar is not running
(untested).
* Style cleanup.


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


# 2384ec28 23-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

Preparation for using layout-management, improvements to absolute layout for
the time being.


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


# 3e3d7acb 23-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

In some ways, this is unrelated, but I had to combine this anyhow:
* Extend the PaneSwitch BControl from Tracker, so it can draw on/off labels.
This has the added benefit that you can click the label to expand/collapse,
like for example in the Get Info window (Permissions).
* I also added font-sensitivity features to PaneSwitch, and it can be used
in layouted windows (untested).
* This made the "DrawButton" in the Installer superfluous.


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


# bbab3b46 22-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

Whoops, that was for debugging the fallback code path...


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


# 90562b72 22-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

Try really hard to launch DriveSetup. The registrar may have trouble to launch
an app by signature if the mime database is incomplete. Like on a boot CD.


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


# 1e855c37 12-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Patch by Fredrik Ekdahl: gcc 4 build fixes (missing headers).
* Added missing header for mountvolume.


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


# 90e7d215 07-Feb-2009 Jérôme Duval <korli@users.berlios.de>

* Truncates Installer menu fields volume labels. This fixes bug #2192.


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


# 86bc2f8e 26-Jan-2009 Jérôme Duval <korli@users.berlios.de>

* removed the fancy border on the Installer background


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


# 92ada5d3 08-Sep-2008 Michael Lotz <mmlr@mlotz.ch>

Make the installer window not minimizable, as without a Deskbar loaded, minimizing makes things a bit difficult...

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


# 5d6a2a65 18-Aug-2008 Jérôme Duval <korli@users.berlios.de>

* improved error and cancellation handling
* only enable Begin button when a menu item has been chosen


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


# 87905063 02-Jun-2008 Jérôme Duval <korli@users.berlios.de>

better handles error and cancellation when copying


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


# 739dbdfa 12-May-2008 Jérôme Duval <korli@users.berlios.de>

* Patch from Christian Fasshauer: provides a cancel button
* fixed a few things: one couldn't restart the install process when cancelled, use B_QUIT_REQUESTED instead of QuitRequested().


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


# 6806f7f8 07-May-2008 Jérôme Duval <korli@users.berlios.de>

this break was forgotten


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


# 753e3d4e 07-Nov-2007 Stephan Aßmus <superstippi@gmx.de>

cleaned up the code:
* conforming app signature
* tracked down copyright info
* removed too technical list columns
* reimplemented storing/restoring settings (removed PosSettings)
* relayouted/simplified menu structure
* rewrote rdef
* enabled debug output for now


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


# ed7081f7 28-Oct-2007 Stephan Aßmus <superstippi@gmx.de>

* 'PNG ' -> B_PNG_FORMAT
* reformat long lines so that they don't exceed 80 chars


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


# 9f3d8cb6 12-May-2007 Jérôme Duval <korli@users.berlios.de>

code style update
now mount the target partition before copying


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


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

minor cleanup


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


# 8b357f8a 02-Feb-2006 Jérôme Duval <korli@users.berlios.de>

if a already selected item is selected, don't do anything
Installer isn't beos compatible is this directory, will add a test directory for it
fixed link libs and debug message


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


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

some changes : alert if free space isn't enough, set status when mouse is over packages (doesn't work for some reason ...)


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


# e26778ae 26-Jan-2006 Jérôme Duval <korli@users.berlios.de>

useless Invalidate()


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


# bc1301d3 24-Jan-2006 Jérôme Duval <korli@users.berlios.de>

* added checks for installing on source volume, or boot volume
* added alert for file error: lots of errors happening when updating a volume:
* it seems BEntry::IsDirectory() returns false whereas it should return true for some directories
this is to be checked with a test app
* boot volume is now marked automatically as the source volume (a rule is yet to be found for the target volume)



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


# cbdfe279 23-Jan-2006 Jérôme Duval <korli@users.berlios.de>

reworked a bit to install packages


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


# 0bd6170f 22-Jan-2006 Jérôme Duval <korli@users.berlios.de>

CopyEngine is a BLooper: let it delete itself ...
copy everything in source directory instead of just 'beos'


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


# b5a5837b 21-Jan-2006 Jérôme Duval <korli@users.berlios.de>

updates status with current copied item
tested ok with a beos folder, 36Mo


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


# 46065378 20-Jan-2006 Jérôme Duval <korli@users.berlios.de>

actually uses the copyengine looper to handle the copy process


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


# 06ac7d75 08-Jan-2006 Jérôme Duval <korli@users.berlios.de>

added FSUtils.cpp from libtracker, fitted for our use
fixed some visual glitches (and gone around a bug in our menu implementation)


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


# ebc8a403 04-Jan-2006 Jérôme Duval <korli@users.berlios.de>

Installer makes use of FSCopyFolder in libtracker.so


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


# 1eedf230 26-Oct-2005 Jérôme Duval <korli@users.berlios.de>

now populates menus
improved size to string formating for GB and TB


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


# 6a4b16f0 26-Oct-2005 Jérôme Duval <korli@users.berlios.de>

now uses real partitions for menus
annoyingly app_server crashes now at every launch


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


# b461fb1d 18-Oct-2005 Jérôme Duval <korli@users.berlios.de>

added a haiku logo from stippi, thanks!
enlarged the window
improves widget placement


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


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

fix packages view, added a copy engine class


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


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

total size is now working
copied BPrivate::CopyLoopControl impl from libtracker.so because R5 loader doesn't seem able to find these symbols correctly in libtracker.so


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


# 61b3e949 28-Sep-2005 Jérôme Duval <korli@users.berlios.de>

more copy loop control methods
added a size view


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


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

added sizes for packages


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


# 8d71ca3e 24-Sep-2005 Jérôme Duval <korli@users.berlios.de>

displays package list


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


# 5b9ea6c3 23-Sep-2005 Jérôme Duval <korli@users.berlios.de>

added some views for packages


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


# 35d3acb2 21-Sep-2005 Jérôme Duval <korli@users.berlios.de>

added an EULA, etc ...


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


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

fix my name encoding
added a few comonents


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


# 6ffb6a6e 20-Sep-2005 Jérôme Duval <korli@users.berlios.de>

added a skeleton for Installer


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


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


# 3aeed6607cd07762c0e709633c012b3a632dbad9 07-Aug-2014 Jérôme Duval <jerome.duval@gmail.com>

include strings.h where appriopriate...

instead or additionally to string.h, in preparation for functions move.
* moves str[n]casecmp() functions and others to strings.h.
* strings.h doesn't include string.h anymore.
* this solves #10949


# 348d9eac3b8a59123dcfa04848a42e304a15929d 02-Jun-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Installer: WorkerThread: Remove InstallerWindow dependency

* Move message constants to InstallerDefs.h.
* Determine the source and target partition ID already in
InstallerWindow and pass those to WorkerThread instead of fiddling
with menu items in _PerformInstall(). And instead of the window object
pass a messenger to the constructor.


# fb5f0bb1c75c2a7a41f8936d028ebaa7eb7e84d0 02-Jun-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Installer: Move path string constants to new InstallerDefs.h/cpp


# 1565964a118a8c28bfa98ce6347ffdf22c2f1446 03-Jan-2013 Matt Madia <mattmadia@gmail.com>

Show Installer on all workspaces when Tracker isn't running.

This applies to the EULA window as well. Addresses #9287:comment:5


# 87d333ee131f27cbab8bac9ee778865efba69fb6 02-Jan-2013 Matt Madia <mattmadia@gmail.com>

Make the EULA and Installer appear on all workspaces.

Fixes #9287


# 34e3453f24f8b17ed70eb4574330e3e70bcd1daf 06-Aug-2012 Humdinger <humdingerb@gmail.com>

Added accidentally removed "!=0" back...


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


# a3b73ff9d1848ab3a6cba17e80fc521bb0d407ad 26-Jul-2012 Philippe Houdoin <philippe.houdoin@gmail.com>

Fix insets


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


# 6b418363041f3c03b8be57f5f9ca7308efa094b5 23-Nov-2011 Philippe Saint-Pierre <stpere@gmail.com>

Add missing break statement

Fix CID 3304


# d52b839e944bd5c2f47922d9e3ec10052177ea64 18-Jun-2011 Ryan Leavengood <leavengood@gmail.com>

When called from the ReadOnlyBootPrompt, quitting the Installer will result in
restarting. So it makes sense to use the label Restart for the button instead
of Quit.

Fixes #7090.


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


# 693ecccc829e5747aad66e4e4d5a92441798d9c3 07-Jun-2011 Ryan Leavengood <leavengood@gmail.com>

Make the Installer status view a little wider by default and also resize it's
height if needed. This should prevent any text from being cut off (though to be
fair it is possible to resize the window horizontally to see any cut off text.)

Fixes #5882.

+alpha3


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


# 3feabba6d972499e6e13a543ac80c296043494bb 30-May-2011 Axel Dörfler <axeld@pinc-software.de>

* Applied patch by idefix that fixes IDE. Nah, that fixes launching BootManager
when mimset didn't run yet. This obviously cleans up after a change that I
did, thanks a lot!
* This closes bug #7595.
* Also took the opportunity to clean up a bit more in this regard, and fixed a
few coding style violations.


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


# 10dfe8970c81ccbcb818dcfcd484c4006aa42d12 06-May-2011 Axel Dörfler <axeld@pinc-software.de>

* Really, there is absolutely no need to pass the default argument to an
optional parameter...


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


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

Disallow quitting Installer silently, midinstall, in the LiveCD/post-install case. Allow quitting Installer without first quitting BootManager/DriveSetup in the LiveCD/post-install case. Make use of B_TRANSLATE_APP_NAME. Stop-icon in abortive BAlerts. Please review.

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


# b76ca311d17d58bd6c3ac6948d839076558adc88 04-Jan-2011 Axel Dörfler <axeld@pinc-software.de>

* Renamed bootman to BootManager, and moved it to the applications.
* Renamed its signature to BootManager as well.


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


# da81ea91d70295d54a8f983bc9ce2730b60c3dfd 04-Sep-2010 Alex Wilson <yourpalal2@gmail.com>

patch by 'jstreessman' fixing regressions in AboutSystem and InstallerWindow from r38512, thanks!


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


# 2873f50a4088276d22802ea6b8070fa6a9603a50 25-Jul-2010 Matt Madia <mattmadia@gmail.com>

Utilize HAIKU_DISTRO_COMPATIBILITY and HAIKU_OFFICIAL_RELEASE for choosing
which graphic to display in AboutSystem and Installer.

When 'official' and 'HAIKU_OFFICIAL_RELEASE', the 'release' logo -- eg, alpha 2
will be used. When 'HAIKU_OFFICIAL_RELEASE' is not defined, the 'development'
logo will be used.

When 'default' or 'compatible', no graphic will display. Their appearance
does degrade somewhat gracefully, though InstallerWindow.cpp may need an
adjustment to better set fStatusView->SetExplicitMinSize()

Relates to #6183.


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


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


# c89c29e76c0b7a4b935d966efeb1f7a7be4e77d1 26-Apr-2010 Stephan Aßmus <superstippi@gmx.de>

Moved the "Write boot sector" and "Set up boot menu" functionality into a new
Tools menu. Fixes #5820.


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


# 2061b030b8a05f71a9fefe56fddad76a314c00d7 26-Apr-2010 Stephan Aßmus <superstippi@gmx.de>

In the spirit of giving exposure to as many Haiku features as possible,
integrate the Boot Manager into Installer. There was a patch for this in ticket
#4425, but I have implemented this myself, since the patch didn't implement
the interaction with running and quitting DriveSetup and Bootman correctly.


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


# 48d796576e9b4b9610f78f4b96131eb28a362f23 23-Mar-2010 Stephan Aßmus <superstippi@gmx.de>

* Moved the duplicate "string_for_size()" implementations into libshared.a.
* Adapted libtracker.so, DriveSetup and Installer to use the shared version.
* The new version uses the correct units (KiB instead of KB and so on).
* Use the correct units in a few other prominent places, where
string_for_size() could not be used.

Should resolve a major part of #5378.


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


# 2882dba2a1b05893c176324e99a80ccf7f857873 24-Feb-2010 Alexandre Deckner <alex@zappotek.com>

* remove left-overs of deprecated ClassInfo.h includes (cf. OpenGrok) except in SupportKit.h for backward source compatiblity (although it shouldn't really matter).


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


# 26353e2bd785b6cc72da01b450d049e7f23dc9a5 25-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

When the Quit button is invoked after an installation, do not prompt the user
for confirmation to restart the computer. Untested, but with good chances of
working as intended.


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


# e1453a3e5d3b6b212237cc13b6544e4f1dc2dcc8 23-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

When running as the only application, ask the user before quitting for
confirmation before restarting the computer. (Remember that new users may not
even know what the decorator close box does.)


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


# 4a2da42550e3178afd0d3d8d2860494819e0472d 20-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

* Applied localization to the Installer.
* Some coding style fixes along the way.
* Added German translation.

NOTE: The Installer will have to offer a way to change the current locale! So
any translations which are done at this point will have to receive one more
update after I added this feature.

NOTE2: There is something wrong with generating catalogs and the update-all
jam target. If you don't do a clean build, the build won't run through, but it
is enough to build for example an image and then run update-all on your actual
partition profile.


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


# 33eed03081e39a0d013631c9e5f4c03b321ea4ac 01-Oct-2009 Jonas Sundström <jonas@kirilla.com>

Simplified use of CenterOnScreen().

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


# e9953d08dd2bcc039ea486525f3e465a6662c7ce 30-Sep-2009 Jonas Sundström <jonas@kirilla.com>

Standardize on BWindow::CenterOnScreen().

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


# e9503e26f5fbdb315bb2274aa4a2c4d3ab49cc45 23-Sep-2009 Ryan Leavengood <leavengood@gmail.com>

Fix typo spotted by Joel Cox: thanks!


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


# 95a67fecbd8fb764925e57bf6e68364d109bdaed 19-Sep-2009 Jonas Sundström <jonas@kirilla.com>

Language nit: 'setup' != 'set up'

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


# 3b5696981485144f2f721f8178abb01453660389 18-Sep-2009 Stephan Aßmus <superstippi@gmx.de>

Added tool tips to the non-obvious buttons.


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


# 0da53e3dd03e956a3380c9b3f12fe35974e61106 11-Sep-2009 Philippe Saint-Pierre <stpere@gmail.com>

Installer : truncated string in menu fields

* Delay the display of the alert just a little bit, to let the menu fields enough time to adjust.

Fixes ticket #3893.


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


# d7737cc84f8e442fac5d246b1d4ec063312ea259 29-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

Changed the somewhat bold BLocker usage to a more straight forward semaphore
based mechanism to pause and eventually cancel the WorkerThread. This also works
now when the CopyEngine is still collecting file informartion (ticket #4153).


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


# 5c7514c31748e5017b8fc8b97c34b6b0ade4eefc 28-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

Patch by idefix: Make the source items behave exactly like the target items
with regards to the label & style cleanup. Thanks a lot!


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


# c4bd44f3a993915fc3e1934abd2aafa6537ebcce 28-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

The custom separator view is no longer needed.


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


# 9b4593e3a05a777a0451d956f31954a16f6f1c90 28-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

* Fixed some problems of the dynamic layout, basically, the upper part of the
window will now stay fixed when you expand the optional packages and collapse
them again.
* Updated the text about having prepared a partition, since we can now indeed
create and delete partitions.


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


# f76e944e24b1686fc3c45c30a47de543c025f11c 14-Jun-2009 Stephan Aßmus <superstippi@gmx.de>

* Fixed problems when installing onto non-empty target volumes. The
'system' folder will be a clean copy of the source volume. Other
folders will be merged (as before), but in case a folder is in the
way of a link or file from the source volume, it will now be purged.
* Clarified the alert for non-empty target volumes, so it is very clear
what happens. (Maybe there ought to the be option to only copy the system
folder, though.)
* Fixed a problem with copying attributes in certain cases.
* Fixed the main GUI not resetting state properly after encountering an
error during the copy process.


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


# 8323a7cd494b7e0b19df5c0bc822bc1130a9937b 03-May-2009 Stephan Aßmus <superstippi@gmx.de>

Tweak the "install done" message. If Deskbar is running, chances are quitting
the Installer won't restart the computer.


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


# 2e6fb5f2b905ce11462382e6a09f790644dd6973 03-May-2009 Stephan Aßmus <superstippi@gmx.de>

If no suitable partitions have been found, encourage the user to use the
Setup Partitions button...


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


# fab3e4a5b211822053a8280120b7cd96e62dcd96 03-May-2009 Stephan Aßmus <superstippi@gmx.de>

* Remember in PartitionMenuItem if a partition is a suitable install target.
* Show non-BFS partitions again, but show them disabled and show the content
type in the menu label. BFS partitions don't get the content type shown, so
that it looks more like the reason why they are disabled if the content
type is shown.
* Small cleanups.


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


# 92cd10f4db338d2aa15f215025a61f8808d4f7ba 03-May-2009 Stephan Aßmus <superstippi@gmx.de>

* Refactored the way targets are collected before copy process begins, this
way, the optional packages (if there would be any) can be collected as well
before the actual process starts and the progress bar will reflect them
correctly. Before this change, the progress bar would have reset itself for
every optional package.
* In one of my previous commits, I added the error, if there was any, to the
reset message. Now the Installer window looks for the error and tells the
user about it.


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


# b4afa66367d65eb54c52b4aeec4724af691ef11b 03-May-2009 Stephan Aßmus <superstippi@gmx.de>

First round of cleanup:
* Renamed CopyEngine to WorkerThread, since it's used for other things than
just copying.
* Removed the code borrowed from Tracker.
* Removed the InstallerCopyLoopControl, since the CopyEngine handles
notifications and cancelling by itself now.
* Renamed a few message constants.
* Since we only support BFS partitions as install targets, I removed the
FS type from the target menu item label. However, I am going to solve this
differently. I guess all partitions should be seen in the target list, just
disabled if they are not a valid target, and with a reason given too.


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


# a873be2ab41a1d29f0f37a71331ff25d4fc71403 25-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

Also disable the new "Write Boot Sector" button while installing.


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


# 7b293a3e9352708b1d067a4f4cd4c7a19ab7e64f 25-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

* Prevent to copy the "var" and "_packages_" folders from the source volume
root folder as before switching the CopyEngine.
* Add a button "Write Boot Sector" that makes the selected target volume
bootable without performing an installation. Adjusted the status message
after installation to be more descriptive.
* Small improvements in the CopyEngine, collecting the source size should be
even a bit faster now since we can use the file size from the already
performed stat().


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


# 803d0234c19a3499f0191cc018c0b523c7f1520d 25-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

Sorry, this is a bit of a mess yet and needs more refactoring...
* I've implemented my own copy engine which runs a separate writer thread.
Especially when installing from one hard drive to another, it should speed
things up. When installing from CD, the entire harddisk write time should
at least disappear in the CD read time. When installing from/to the same
drive, the new routine is as fast as the Tracker code that was used before.
* When stopping/canceling the copy process, the copy engine will now actually
block, instead of happily going on while the alert is showing. I've
still implemented that to not leave incomplete files around, like before.
* There is now a progress bar, based on data bytes in files to copy. Reason
being that it's quite fast to collect this info versus also scanning all
attributes.
* The copy engine itself was used in another project before and was tested
with SHA256 hashes of the original files and the copied files, so I think
it can be trusted.
* There is now a lot of code that can be removed or should be cleaned up.
What was the "CopyEngine" should become the "WorkerThread" or something.
* I still had a mental TODO about skipping the swap file (there is none on
CDs, but when copying a harddisk installation there may be one), I just
remembered this when typing this commit message... will fix that next.


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


# 3bbb00b48dd6e55f9700f86110ca04b756ebe021 24-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

* Only except BFS partitions as target volumes. Installer does not initialize
partitions by itself. When it does, this check can be removed again... for
now DriveSetup is to be used and so there is no code duplication.
* Check if the target volume is non-empty and present an appropriate warning.


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


# 7a65816a6490e1eaa3df0f46195e30c0938e0423 24-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

* Tweaked text here and there (also thanks to Alexandre for proof-reading!)
* Renamed _UpdateMenus() to _UpdateControls().


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


# b4eca493bb93497e1a37ebc5cb2a8ee212cf27ef 24-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

* Prevent the user from chosing the same disk for source and destination.
* Keep the info text and the Begin button in consistent state at all times
according to the selection of the disks.


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


# 4e65d35a57943a8d9b3474ae03fdf69e47955919 24-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

No need to truncate the labels in layout-managed mode...


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


# 59029801354fb5e9867c2dc8eecd352bb21fcd53 24-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

* Adopted naming scheme for private methods
* Sorted methods to reflect order in .cpp


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


# 7ff74a7b9b10383fae7023e1871a53f98ded0d45 23-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

* Converted to use layout-management.
* New logo specific to R1 Alpha/1.
* "Setup Partitions" is now always visible, since it will most likely be
required to prepare a partition for installation anyways.
* The optional packages are still in the GUI, but are collapsed by default as
before. As there are currently no optional packages, a message will be
displayed if no optional packages are found on the source partition.
* The default label for the "Onto" popup is now "Please choose target" instead
of the first partition found, even though it is not actually selected yet.
* The EULA window is still shown, but it's not based on a BAlert anymore.
* Only make main window non-minimizable if the Deskbar is not running
(untested).
* Style cleanup.


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


# 2384ec2866a67eae2c5a11ca442f68e527976502 23-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

Preparation for using layout-management, improvements to absolute layout for
the time being.


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


# 3e3d7acb90bad935bae0f1301a52b59bb63895d9 23-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

In some ways, this is unrelated, but I had to combine this anyhow:
* Extend the PaneSwitch BControl from Tracker, so it can draw on/off labels.
This has the added benefit that you can click the label to expand/collapse,
like for example in the Get Info window (Permissions).
* I also added font-sensitivity features to PaneSwitch, and it can be used
in layouted windows (untested).
* This made the "DrawButton" in the Installer superfluous.


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


# bbab3b46ceae1608eb186cb9508deea1963328b2 22-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

Whoops, that was for debugging the fallback code path...


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


# 90562b72b73e293873415c87c3456eb18270922c 22-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

Try really hard to launch DriveSetup. The registrar may have trouble to launch
an app by signature if the mime database is incomplete. Like on a boot CD.


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


# 1e855c376c4f785f926c0c4d4d08c827c05da643 12-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Patch by Fredrik Ekdahl: gcc 4 build fixes (missing headers).
* Added missing header for mountvolume.


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


# 90e7d21528ef49139db7bb6ff59fafe5f9ed977a 07-Feb-2009 Jérôme Duval <korli@users.berlios.de>

* Truncates Installer menu fields volume labels. This fixes bug #2192.


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


# 86bc2f8eac8ed384197cd26a32d4b5621bc56185 26-Jan-2009 Jérôme Duval <korli@users.berlios.de>

* removed the fancy border on the Installer background


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


# 92ada5d30c56aa9047f009bb04138fd910828a97 08-Sep-2008 Michael Lotz <mmlr@mlotz.ch>

Make the installer window not minimizable, as without a Deskbar loaded, minimizing makes things a bit difficult...

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


# 5d6a2a65da2c05fbccfafde34dc81fee46905265 18-Aug-2008 Jérôme Duval <korli@users.berlios.de>

* improved error and cancellation handling
* only enable Begin button when a menu item has been chosen


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


# 87905063c3507da17f019b07f4b370cfe1fb319f 02-Jun-2008 Jérôme Duval <korli@users.berlios.de>

better handles error and cancellation when copying


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


# 739dbdfae4dca5237d84062a640c569d2ed28ca4 12-May-2008 Jérôme Duval <korli@users.berlios.de>

* Patch from Christian Fasshauer: provides a cancel button
* fixed a few things: one couldn't restart the install process when cancelled, use B_QUIT_REQUESTED instead of QuitRequested().


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


# 6806f7f8731709ee8bf58bb311c8bac9148d7206 07-May-2008 Jérôme Duval <korli@users.berlios.de>

this break was forgotten


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


# 753e3d4ef7fa50cc6ca67af552bacd328e942c86 07-Nov-2007 Stephan Aßmus <superstippi@gmx.de>

cleaned up the code:
* conforming app signature
* tracked down copyright info
* removed too technical list columns
* reimplemented storing/restoring settings (removed PosSettings)
* relayouted/simplified menu structure
* rewrote rdef
* enabled debug output for now


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


# ed7081f728648b52ef179dd0397d3bc4aa1e7cfb 28-Oct-2007 Stephan Aßmus <superstippi@gmx.de>

* 'PNG ' -> B_PNG_FORMAT
* reformat long lines so that they don't exceed 80 chars


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


# 9f3d8cb64fdbfd9b5ceff4e63669fdbb8dac0fc0 12-May-2007 Jérôme Duval <korli@users.berlios.de>

code style update
now mount the target partition before copying


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


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

minor cleanup


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


# 8b357f8a216e63e9680c7cd7d018f58c39094870 02-Feb-2006 Jérôme Duval <korli@users.berlios.de>

if a already selected item is selected, don't do anything
Installer isn't beos compatible is this directory, will add a test directory for it
fixed link libs and debug message


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


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

some changes : alert if free space isn't enough, set status when mouse is over packages (doesn't work for some reason ...)


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


# e26778ae3dfdfffdad7442f59760d292a002537c 26-Jan-2006 Jérôme Duval <korli@users.berlios.de>

useless Invalidate()


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


# bc1301d3368d4296806735be1918f7c7d390fa49 24-Jan-2006 Jérôme Duval <korli@users.berlios.de>

* added checks for installing on source volume, or boot volume
* added alert for file error: lots of errors happening when updating a volume:
* it seems BEntry::IsDirectory() returns false whereas it should return true for some directories
this is to be checked with a test app
* boot volume is now marked automatically as the source volume (a rule is yet to be found for the target volume)



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


# cbdfe279477d8a54af8cc2459c95129cc279f660 23-Jan-2006 Jérôme Duval <korli@users.berlios.de>

reworked a bit to install packages


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


# 0bd6170f798073badc62c3b399e2c10f6e781c42 22-Jan-2006 Jérôme Duval <korli@users.berlios.de>

CopyEngine is a BLooper: let it delete itself ...
copy everything in source directory instead of just 'beos'


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


# b5a5837bb914a55988d1f533f6a3e41501305d7f 21-Jan-2006 Jérôme Duval <korli@users.berlios.de>

updates status with current copied item
tested ok with a beos folder, 36Mo


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


# 46065378112a4b12be63fcbd5ea3da02f73c9077 20-Jan-2006 Jérôme Duval <korli@users.berlios.de>

actually uses the copyengine looper to handle the copy process


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


# 06ac7d759db5955593828e3d68389f6423c6775d 08-Jan-2006 Jérôme Duval <korli@users.berlios.de>

added FSUtils.cpp from libtracker, fitted for our use
fixed some visual glitches (and gone around a bug in our menu implementation)


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


# ebc8a403e56695c94de08e50957e9ceb218e0976 04-Jan-2006 Jérôme Duval <korli@users.berlios.de>

Installer makes use of FSCopyFolder in libtracker.so


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


# 1eedf230816a2618554a059f2d235dbdd53befb4 26-Oct-2005 Jérôme Duval <korli@users.berlios.de>

now populates menus
improved size to string formating for GB and TB


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


# 6a4b16f094e2a0f7d330462de4c1e1e3ff6ac5cd 26-Oct-2005 Jérôme Duval <korli@users.berlios.de>

now uses real partitions for menus
annoyingly app_server crashes now at every launch


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


# b461fb1d4b16336f284c500d47e246c66b1d659a 18-Oct-2005 Jérôme Duval <korli@users.berlios.de>

added a haiku logo from stippi, thanks!
enlarged the window
improves widget placement


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


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

fix packages view, added a copy engine class


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


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

total size is now working
copied BPrivate::CopyLoopControl impl from libtracker.so because R5 loader doesn't seem able to find these symbols correctly in libtracker.so


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


# 61b3e949b47aadb764d87142059678978b00b61c 28-Sep-2005 Jérôme Duval <korli@users.berlios.de>

more copy loop control methods
added a size view


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


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

added sizes for packages


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


# 8d71ca3e253f0d5cd4b9bb37171e4ca5553dcc54 24-Sep-2005 Jérôme Duval <korli@users.berlios.de>

displays package list


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


# 5b9ea6c31412bed10cd5583336ae3445cdedd520 23-Sep-2005 Jérôme Duval <korli@users.berlios.de>

added some views for packages


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


# 35d3acb250e7aa20c3c0a87320f228875645f81f 21-Sep-2005 Jérôme Duval <korli@users.berlios.de>

added an EULA, etc ...


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


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

fix my name encoding
added a few comonents


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


# 6ffb6a6e04ce28daa057598df4b5872bcf9ad9f1 20-Sep-2005 Jérôme Duval <korli@users.berlios.de>

added a skeleton for Installer


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