Skip to content
Permalink
disable-update…
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on May 21, 2015

  1. Add disable-update-mimedb option to bundlebuilder

    Historically, activities packagers have been using bunblebuilder, via
    "setup.py install", to populate packages directories and files.
    
    The install procedure uses ActivityBundle.install_mime_type to install
    custom mime types, updating the system mime types database via the
    update-mime-database tool.
    
    When update-mime-database is executed during packages creation, creates
    a new mime types database, therefore these database files are included
    among the package files.
    
    This happens for every activity that includes an mimetypes.xml file,
    and therefore, multiple activity packages contain the same database files,
    colliding on installation time and preventing the packages from being
    installed.
    
    This patch provides a way to prevent this from happening, by passing a
    new "--disable-update-mimedb" argument to "setup.py install". Note that
    sugar shell already provides an identical solution.
    
    With this argument, packaging files can keep using bundlebuilder and
    manually running update-mime-database, in later packaging stages, ie.,
    postinst in debian.
    
    This approach is backwards compatible and it is optional, therefore other
    programs using "setup.py install" will no be affected.
    
    Signed-off-by: Martin Abente Lahaye <tch@sugarlabs.org>
    tchx84 committed May 21, 2015

Commits on May 18, 2015

  1. Release 0.105.1

    tchx84 committed May 18, 2015

Commits on May 16, 2015

  1. Pep8 and pyflakes fixes

    godiard authored and samdroid-apps committed May 16, 2015
  2. Palettes based in GtkMenu do not have present() method

    There are two different palette widgets in Sugar.
    _PaletteMenuWidget is a Gtk.Menu and  _PaletteWindowWidget is a Gtk.Window.
    Only the palettes where the widget is a Gtk.Window can do present()
    godiard authored and samdroid-apps committed May 16, 2015

Commits on May 15, 2015

  1. Merge branch 'treeview_perf2-try2' of https://github.com/godiard/suga…

    …r-toolkit-gtk3 into godiard-treeview_perf2-try2
    godiard committed May 15, 2015
  2. Simplify routine used to get the list of files from git

    This change remove duplicated code
    godiard authored and samdroid-apps committed May 15, 2015
  3. Add screenshots to ignored dirs in bundlebuilder

    After add the directory to the IGNORE_DIRS array,
    we need make the standard procedure to get the list off files
    for the bundle, get_files_in_git honor the configured ignored
    files and dirs. That was not a problem until now,
    because that files was already not added to git,
    but in the case of the screenshots, are included in git,
    but we don't want include them in our bundles.
    godiard authored and samdroid-apps committed May 15, 2015

Commits on May 14, 2015

  1. Remove CellRendererInvoker

    This invoker is not used anymore, now is replaced by TreeViewInvoker.
    godiard committed May 14, 2015
  2. New invoker, TreeViewInvoker

    This new invoker is able to handle all the palettes on a treeview,
    removing the need of one invoker per cell renderer (CellRendererInvoker).
    This simplifies the code and makes it more efficient.
    Also removes the logic from the CellRendererIcon, which
    should only care about drawing itself. [1]
    
    Is important to note than in Gtk3 a CellRenderer is not a GtkWidget
    then can't know when the mouse is over it or have the usual events
    used by other invokers, making the implementation CellRendererInvoker
    very complicate.
    
    This commit also removes the invoker of CellRendererIcon.
    
    The ScrollingDetector logic is simplified too,
    because now there are only one invoker instead of one by renderer
    and the example code updated.
    
    [1] https://developer.gnome.org/gtk3/stable/GtkCellRenderer.html
    godiard committed May 14, 2015
  3. Detect scrolling in treviews and optimize drawing

    Detecting if the treeview is scrolling we can improve the performance of
    the CellRendererIcon by avoiding unneeded calculations.
    
    The example scrollingdetector.py shows how this can be used.  The
    changes are backward compatible.
    
    Signed-off-by: Manuel Quiñones <manuel.por.aca@gmail.com>
    Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
    godiard committed May 14, 2015
  4. Merge branch 'cell_renderer_icon_optimizations' of https://github.com…

    …/godiard/sugar-toolkit-gtk3 into godiard-cell_renderer_icon_optimizations
    godiard committed May 14, 2015
  5. power: avoid filesystem access if powerd absent

    On commodity hardware without olpc-powerd, there is unnecessary
    filesystem access.
    
    On XO laptop hardware there are unnecessary errors in log for every
    object delete:
    
    	ERROR root: Inhibit Suspend: Could not delete file
    	/var/run/powerd-inhibit-suspend/1773
    
    	Exception AttributeError: "'NoneType' object has no attribute
    	'endswith'" in <bound method PowerManager.__del__ of
    	<sugar3.power.PowerManager instance at 0xa15962c>> ignored
    
    The Clock activity in speaking mode is a good reproducer.
    
    Following changes are made:
    
    - move the directory check to __init__, and set self._path to None if
      olpc-powerd is not present,
    
    - on inhibit_suspend, use self._path, which avoids a check of the
      directory,
    
    - on restore_suspend or __del__, avoid a call to os.unlink if
      olpc-powerd is not present.
    quozl authored and samdroid-apps committed May 14, 2015
  6. power: suppress failure to remove file

    It does not matter if the file cannot be removed, so do not report it.
    quozl authored and samdroid-apps committed May 14, 2015
  7. power: set path to file once

    quozl authored and samdroid-apps committed May 14, 2015

Commits on May 13, 2015

  1. CellRendererIcon: cache offsets

    Instead of calculating them on each render.  The cache is removed when
    the size is changed.
    
    Signed-off-by: Manuel Quiñones <manuel.por.aca@gmail.com>
    godiard committed May 13, 2015
  2. CellRendererIcon: remove unused frame

    The white frame is not visible over the white background.
    
    Signed-off-by: Manuel Quiñones <manuel.por.aca@gmail.com>
    godiard committed May 13, 2015
  3. CellRendererIcon: improve calculation in do_render

    Use a more efficient method to check if the pointer is inside the cell,
    because we have the cell_area in the do_render method.
    
    Signed-off-by: Manuel Quiñones <manuel.por.aca@gmail.com>
    Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
    godiard committed May 13, 2015

Commits on May 12, 2015

  1. Add ability to launch a bundle

    This commit adds the `launch_bundle` function in `sugar3.activity.
    activity` which accesses the same function in the shell is over dbus.
    This is means the shell process launches the bundle.  Activities
    should not launch child processes as per the Rainbow security model
    [1].
    
    [1]  http://wiki.laptop.org/go/Rainbow
    samdroid-apps authored and godiard committed May 12, 2015

Commits on Apr 20, 2015

  1. Release 0.105.0

    tchx84 committed Apr 20, 2015

Commits on Apr 16, 2015

  1. Pep8 fixes

    godiard authored and samdroid-apps committed Apr 16, 2015
  2. Remove new line chars when create linfo files

    If a translator add a '\n' char in the summary translation
    ConfigParser can't parse the linfo file.
    Remove them when the file is created and show a message to warning
    to the developer.
    godiard authored and samdroid-apps committed Apr 16, 2015

Commits on Apr 12, 2015

  1. Revert "Add ability to launch a bundle"

    This reverts commit 8fcb0b4.
    tchx84 committed Apr 12, 2015
  2. Add ability to launch a bundle

    FIXME, to be written.
    manuq authored and samdroid-apps committed Apr 12, 2015

Commits on Apr 9, 2015

  1. Read icon attach points when is not possible get the info from gtk

    Gtk has deprecated gtk-icon-get-attach-points on version 3.14
    We need that information to place pur badges,
    this fix read the information from the .icon file
    
    [1] https://developer.gnome.org/gtk3/stable/GtkIconTheme.html#gtk-icon-info-get-attach-points
    godiard authored and tchx84 committed Apr 9, 2015

Commits on Apr 6, 2015

  1. Don't break activity startup if .info have 'class' instead of 'exec'

    When we ported sugar to Gtk3 we removed the support of the fields
    exec and service_name due they were deprecated for a long time [1].
    But this is still a problem in deployments, and we already added
    compatibility for the service_name field.
    Here [3] there is a long thred were we discussed this issue.
    
    [1] ae85dd6
    [2] 32f97b4
    [3] http://lists.sugarlabs.org/archive/sugar-devel/2013-October/045404.html
    godiard committed Apr 6, 2015

Commits on Mar 10, 2015

  1. Release 0.104.1

    tchx84 committed Mar 10, 2015
  2. Update Igbo translations from ibo.po

    Signed-off-by: Martin Abente Lahaye <tch@sugarlabs.org>
    tchx84 committed Mar 10, 2015

Commits on Mar 9, 2015

  1. New files added from Sugar Labs based on templates

    translation server committed Mar 9, 2015

Commits on Mar 5, 2015

  1. Commit from Sugar Labs by user tch.: 109 of 109 strings translated (0…

    … need review).
    tchx84 authored and translation server committed Mar 5, 2015
  2. Commit from Sugar Labs by user tch.: 109 of 109 strings translated (0…

    … need review).
    tchx84 authored and translation server committed Mar 5, 2015

Commits on Feb 26, 2015

  1. Commit from Sugar Labs by user tch.: 109 of 109 strings translated (0…

    … need review).
    tchx84 authored and translation server committed Feb 26, 2015
  2. Commit from Sugar Labs by user tch.: 109 of 109 strings translated (0…

    … need review).
    tchx84 authored and translation server committed Feb 26, 2015
  3. Commit from Sugar Labs by user tch.: 109 of 109 strings translated (0…

    … need review).
    tchx84 authored and translation server committed Feb 26, 2015

Commits on Feb 25, 2015

  1. Commit from Sugar Labs by user tch.: 1 of 109 strings translated (0 n…

    …eed review).
    tchx84 authored and translation server committed Feb 25, 2015
Older