Permalink
Commits on Aug 25, 2016
  1. @antlarr

    Merge pull request #77 from shalomRachapudi/totalProgressBar

    Total Progress Bar which shows the Overall Progress of Installation
    antlarr committed on GitHub Aug 25, 2016
  2. @shalomRachapudi

    Use line.mid() instead of line.split() in interfacemain.cpp

    Since repository name may contain spaces, it is not right to use the split() method as that might get just part of the name. Hence, using line.mid() method.
    shalomRachapudi committed Aug 25, 2016
  3. @shalomRachapudi
  4. @shalomRachapudi

    Emit commitPackages( int ) signal from OCIHelper

    This value is used to set the "Maximum" value of Total Progress Bar.
    shalomRachapudi committed Aug 25, 2016
  5. @antlarr

    Merge pull request #76 from shalomRachapudi/finalInstallationLogScreen

    Final Installation Log Screen GUI
    antlarr committed on GitHub Aug 25, 2016
Commits on Aug 24, 2016
  1. @shalomRachapudi

    Installing media(icons) at Path: /usr/share/one-click-installer/res/

    This is because they are not standard icons from the hicolor icon theme. Using QStandardPaths to locate an icon.
    For instance, QStandardPaths::locate(QStandardPaths::AppDataLocation, "res/okIcon.png")
    The application name has been set to one-click-installer in main.cpp
    shalomRachapudi committed Aug 24, 2016
  2. @shalomRachapudi

    Handle installationFinished( QStringList, bool ) signal from OCIHelpe…

    …r and connect it to relevant slots
    
    Correct final log screen header information is also displayed by using the received information
    shalomRachapudi committed Aug 24, 2016
  3. @shalomRachapudi

    Final Installation Log Screen GUI

    Also,
    - added few icons needed by final log screen
    - Update CMakeLists.txt
    shalomRachapudi committed Aug 24, 2016
  4. @shalomRachapudi

    Emit installationFinished( QStringList, bool ) signal to OCI upon com…

    …pletion of Installation
    
    QStringList is the installation log
    bool denotes the state of ZypperInstall::commitChanges() which is true if the policy commit is successful or false otherwise
    shalomRachapudi committed Aug 24, 2016
  5. @shalomRachapudi

    Store added repos, each package installed and its error state in Runt…

    …imeData
    
    This information is sent over dbus to OCI to be displayed on final log screen after installation
    shalomRachapudi committed Aug 24, 2016
Commits on Aug 23, 2016
  1. @antlarr

    Merge pull request #74 from shalomRachapudi/smallFixes

    Fixed Issues pointed out in PR #73
    antlarr committed on GitHub Aug 23, 2016
  2. @shalomRachapudi

    Temporary Fix: Load repo to /tmp/ociRepos under its name instead of t…

    …emp-repo
    
    This will be permanently fixed while resolving issue #28
    shalomRachapudi committed Aug 23, 2016
Commits on Aug 22, 2016
  1. @shalomRachapudi

    Make status in zyppinfo.cpp translatable and update po/pot files

    Also,
    - comment for_ loops that do nothing in media.h
    - change qFatal() to qInfo() in interfacemain.cpp as it is more appropriate
    shalomRachapudi committed Aug 22, 2016
  2. @shalomRachapudi

    Update CMakeLists.txt

    shalomRachapudi committed Aug 22, 2016
  3. @shalomRachapudi
  4. @shalomRachapudi

    Use qFatal instead of qDebug so that it is printed on stderr before e…

    …xiting the application due to error/exception
    shalomRachapudi committed Aug 22, 2016
  5. @shalomRachapudi
  6. @shalomRachapudi

    Use qDebug() instead of std::cout

    convert std::string to c_str() (C styled string) where possible
    shalomRachapudi committed Aug 22, 2016
  7. @shalomRachapudi

    Replaced parameters with [const] reference parameters

    QString -> const QString &
    string -> const string &
    Resolvable::constPtr -> Resolvable::constPtr &
    shalomRachapudi committed Aug 22, 2016
  8. @antlarr

    Merge pull request #73 from shalomRachapudi/OCICallbacks

    One Click Installer Callbacks
    antlarr committed on GitHub Aug 22, 2016
Commits on Aug 21, 2016
  1. @shalomRachapudi

    Handle the signals emitted from OCIHelper through o.o.MediaCallbacks …

    …service
    
    These signals contain information to be logged, displayed to the user on Install Screen...
    Refer to commit: ec29ae7
    shalomRachapudi committed Aug 21, 2016
  2. @shalomRachapudi
  3. @shalomRachapudi

    Emit appropriate signals with relevant information in media.h

    - startProgress(QString), finishProgress(QString,bool) emits status of current transaction. For instance, "Installing xpackage". This transaction is logged for debugging purpose, and to display the final installation log
    
    - startResolvable(QString), finishResolvable(QString, bool) are for a resolvable under current transaction. They emit relevant information to be displayed on status widget (m_statusWidget) of InstallScreen. Be advised - this information contains markup tags. Hence, not logged.
    
    - progress( int ) feeds the progress bar GUI element.
    shalomRachapudi committed Aug 21, 2016
  4. @shalomRachapudi
  5. @shalomRachapudi

    Add new startDownload() and finishDownload() signals to o.o.MediaCall…

    …backs DBus service
    
    Modified files: callbacks.h/.cpp & o.o.mediacallbacks.xml
    shalomRachapudi committed Aug 21, 2016
Commits on Aug 20, 2016
  1. @shalomRachapudi
Commits on Aug 19, 2016
  1. @shalomRachapudi
  2. @shalomRachapudi
  3. @shalomRachapudi

    Use append instead of setText while displaying the transaction on m_s…

    …tatusWidget and log it
    
    Log all transactions/messages for use in Final Installation Log Screen
    shalomRachapudi committed Aug 19, 2016
  4. @shalomRachapudi

    Exception/Error handling while committing the ZYppCommitPolicy

    Not completed yet but gives the idea how OCI handles exceptions and errors.
    shalomRachapudi committed Aug 19, 2016
Commits on Aug 18, 2016
  1. @shalomRachapudi

    Added showInstallationScreen() method declaration in MainWindow class

    Please be advised that only { OCI -> Install -> [ conflict resolution] -> Cancel/exit on install screen } is tested and any different path _may_ result in segmentation fault. Will fix this issue in following commits.
    shalomRachapudi committed Aug 18, 2016
  2. @shalomRachapudi
  3. @shalomRachapudi
  4. @shalomRachapudi

    Added Qt & DBus support for media.h

    Makes use of three generalized methods (emitStartResolvable(), emitProgress(), emitFinishResolvable()) to emit the progress information and values from OCIHelper to OCI through o.o.MediaCallbacks DBus service
    shalomRachapudi committed Aug 18, 2016
  5. @shalomRachapudi

    Added new files - callbacks.h/.cpp to emit signals from OCIHelper to OCI

    Changed o.o.OCIHelper.conf to add/deny permissions for the new dbus service "o.o.MediaCallbacks".
    Generated org.opensuse.mediacallbacks.xml using qdbuscpp2xml.
    shalomRachapudi committed Aug 18, 2016