History log of /haiku/src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
Revision Date Author Comments
# fc1ace15 01-Sep-2020 Emir SARI <bitigchi@me.com>

Avoid confirmation for rebooting from SoftwareUpdater

It is pointless to ask for a second confirmation in SoftwareUpdater,
since the user understands that the system needs to be rebooted for the
changes to take effect.

Change-Id: I00c728264c32e3688e396e70925b90501ccac6de
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3185
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>


# 583c561c 16-Jul-2019 Humdinger <humdingerb@gmail.com>

Button labels: "Ok" -> "OK"

All caps is our standard.


# 66cb2efa 15-May-2019 Adrien Destugues <pulkomandy@pulkomandy.tk>

Move StripeView to libshared

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


# 134abee0 28-Jan-2019 CodeforEvolution <secundaja@gmail.com>

Added reboot button for after successful update

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


# e4803b2c 05-Feb-2019 Rob Gill <rrobgill@protonmail.com>

Code cleanup (ellipsis) no functional changes

* Replace instances of hardcoded "..." with B_UTF8_ELLIPSIS

* Removal of trailing whitespaces

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


# aa7f93c5 24-Jan-2019 Rob Gill <rrobgill@protonmail.com>

src/apps Code formatting

* No functional changes

code formatting changes only

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


# 17683fa9 30-Jul-2017 Brian Hill <supernova@tycho.email>

SoftwareUpdater- add zoom feature and bug fix

* Added zoom button to window tab (and backend code to accurately
calculate proper zoom size for displayed packages)
* No longer need to add icon to notifications since this is now done
automatically by the BNotification constructor since hrev51299
* Create icons and setup fonts in constructors of list item classes

Bug fixes:
* Lock windows before quitting (fixes #13613)


# acfd5c86 09-Jul-2017 Brian Hill <supernova@tycho.email>

SoftwareUpdater improvements and fixes

Improvements:
* Close box on window tab replaces cancel button
* Final window quit button made default
* Window frame and details checkbox option saved to settings file and
restored upon start of application
Bug fixes:
* Fixed strings not truncating properly in scroll view
* Application was unnecessarily aborting the Haiku shutdown process
* Window corner grabber now not shown when window is not resizable


# b35bccc0 01-May-2017 Brian Hill <supernova@warpmail.net>

SoftwareUpdater version 1.0.1

Changes:
-Bug fix in output when no network is detected on x64. Fixes #13345
-Do not display a final notification if SoftwareUpdater is front most
window (redundant since the same message is displayed in window)
-Remove the "Continue anyway" prompt when no network detected
-Implement the --verbose command option:
For update and full-sync modes, only displays Terminal output when
--verbose is used
For check mode show output on notifications
-Replace the "Show more details" popup menu with a check box
-Replace fprintf commands with other non-formatting commands if no
formatting is needed (thanks Axel)
-Display a dialog and button to open the Repositories preflet if no
repositories are enabled
-Do not display confirmation to quit until after downloads have started


# 73c2c7b4 20-Apr-2017 Brian Hill <supernova@warpmail.net>

SoftwareUpdater updates

*Added a check-only option to check for updates and display a
notification when updates are available.
*Added argv commands to specify an action when using Terminal or
BRoster to launch app: commands [update | check | full-sync]
*Draw a download progress bar on the package icon
*Increased the size of the package icon to improve the bar look
*Added package counts to each list category


# b105213b 31-Mar-2017 Brian Hill <supernova@warpmail.net>

SoftwareUpdater improvements

*Bug fix- list item colors use Appearance settings
*Problem Solver window buttons right aligned, window now app modal
*The main window's stripe and icon now use the same scaling as BAlert
*A pop-up menu displays an option to view more details (replaces the
tooltips)
*New prompt at application start to choose between doing an Update or
a Full Sync. Also lays the ground work for implimenting silent
check-only feature.


# ab8f11bf 20-Mar-2017 Brian Hill <supernova@warpmail.net>

SoftwareUpdater updates

Bug fix- show correct version on package uninstall list item tooltip
Correct if else formatting
Use the BPackageManager FullSync() function instead of Update
Change warning strings in BPackageManager to sentence casing
Show list item tooltip on a mouse down (helps with touch devices)


# 9458fd57 19-Mar-2017 Brian Hill <supernova@warpmail.net>

SoftwareUpdater fixes and network status check

Bug fix- use a proper sized 32 pixel application icon for notifications
Bug fix- sorting list of packages to install and uninstall added
Removed use of FinalWindow class now that resizing issues are resolved
Diaplsy alert if no network connections are found at application start


# 3d18f37d 18-Mar-2017 Brian Hill <supernova@warpmail.net>

SoftwareUpdater fixes and features added

Changes:
Fixed window resizing bug that happens after packages start downloading
Application icon and left stripe are sized relative to font size
Added alert window dialog to display BPackageManager warnings
Added tooltips to the packages in the list view


# ad7783e4 11-Mar-2017 Brian Hill <supernova@warpmail.net>

Updates to SoftwareUpdater

Committing work done to make SoftwareUpdater functional. The
application will find available updates, confirm with the user to
apply updates, download packages and apply them. There are a few bugs
and features remaining to be fixed and completed:

*Bug with window resizing after packages start downloading- list view
does not resize down
*Tooltips to be implemented (showing repository and other details)
*Proper handling of no network or failed repository connections
*Testing of the problem solver
*Mode to only check for availability of updates and post notification
with results


# 01575447 12-Dec-2016 Alexander von Gluck IV <kallisti5@unixzen.com>

softwareupdater: Start filling in package kit code


# 1e8a5601 11-Dec-2016 Alexander von Gluck IV <kallisti5@unixzen.com>

SoftwareUpdater: Handle message events, Exit on cancel press.


# 4e23cc43 09-Dec-2016 John Scipione <jscipione@gmail.com>

SoftwareUpdater: Swap cancel and default buttons so default is rightmost

... and add default horizontal space between text and buttons


# 6ff8fbf5 09-Dec-2016 John Scipione <jscipione@gmail.com>

SoftwareUpdater: Replace %d with B_PRIu32 for uint32

(gcc2h build gave me a stern warning)


# 7d82a586 09-Dec-2016 John Scipione <jscipione@gmail.com>

SoftwareUpdater: Replace 4 spaces with 1 hard tab


# b4ad45f6 08-Dec-2016 Alexander von Gluck IV <kallisti5@unixzen.com>

SoftwareUpdater: Align to our style guidelines


# 8789541f 08-Dec-2016 Alexander von Gluck IV <kallisti5@unixzen.com>

SoftwareUpdater: Add some glue to buttons to slide them over


# 8ee9900d 08-Dec-2016 Alexander von Gluck IV <kallisti5@unixzen.com>

SoftwareUpdater: Change text based on number of updates avail


# 2f5a0add 08-Dec-2016 Alexander von Gluck IV <kallisti5@unixzen.com>

SoftwareUpdater: Add some details on what's available

* Just example text for now to be filled in with
data from our package kit.


# c5867c77 08-Dec-2016 Alexander von Gluck IV <kallisti5@unixzen.com>

SoftwareUpdater: Add a fancy looking stripe view


# f7d9c011 08-Dec-2016 Alexander von Gluck IV <kallisti5@unixzen.com>

SoftwareUpdater: Initial work on a GUI software updater

* Planning on having a notification box when updates
available.
* Clicking the notification box will pop up the
SoftwareUpdater with a simple "Apply Updates" button
* Currently users need to know to 'pkgman update'