Permalink
Commits on Jan 13, 2010
  1. missing typo.

    Chmouel Boudjnah committed Jan 13, 2010
  2. Get data dir from __file__

    Chmouel Boudjnah committed Jan 13, 2010
    When having a symlink between kupfer.py in /usr/local/bin kupfer cannot find the icon file since not available in ./data so get it from __file__.
Commits on Jan 12, 2010
  1. core.sources: Take source name into account for Cache file name

    Ulrik Sverdrup committed Jan 12, 2010
    We change the cache file name (again) so that the name of the source
    is part of the generation. Then sources are automatically changed when
    we switch locale.
    
    We also bump the cache version number to 4!
    
    This means after this change, **Kupfer will erase all** old cache
    files with version number 3 in their name, to clean up.
  2. sv: Update swedish translation

    Ulrik Sverdrup committed Jan 12, 2010
  3. obj.base: For Actions, use Action's icon name as last fallback

    Ulrik Sverdrup committed Jan 12, 2010
    Unify KupferObject.get_icon and .get_pixbuf to do the same thing.
    get_pixbuf is kept as is, since it is used more frequently and avoids
    disk accesses (by not asking if icons are good/files exist).
    
    We make sure that for actions that don't find their icons, we use the
    default action icon. Other objects unchanged.
  4. google_translate: Catch exception if network is down

    Ulrik Sverdrup committed Jan 12, 2010
  5. kupfer-activate.sh: Tweak how we detect open tty

    Ulrik Sverdrup committed Jan 12, 2010
  6. core.plugins: Fix description listing for empty descriptions

    Ulrik Sverdrup committed Jan 12, 2010
  7. main: Fix --list-plugins imports

    Ulrik Sverdrup committed Jan 12, 2010
  8. higherorder: Use commandexec convenience functions

    Ulrik Sverdrup committed Jan 12, 2010
  9. learn: Make Favorites bonus only +7 rank points

    Ulrik Sverdrup committed Jan 12, 2010
    As an experiment. Favorites must be boosted, but not too much so they
    are before items that textually much match better.
  10. notes: Use better repr_key for notes

    Ulrik Sverdrup committed Jan 12, 2010
  11. Update many plugins for new imports and initialize

    Ulrik Sverdrup committed Jan 12, 2010
    Use new imports places for some objects (the mixins). At the same time
    we convert some plugins to use Source.initialize instead of
    unpickle_finish if appropriate.
  12. favorites: Avoid duplicates

    Ulrik Sverdrup committed Jan 12, 2010
  13. sv: Triggers as Utlösare

    Ulrik Sverdrup committed Jan 12, 2010
  14. sv: Update Swedish translation

    Ulrik Sverdrup committed Jan 9, 2010
  15. higherorder: Edit and clean up strings in plugin

    Ulrik Sverdrup committed Jan 12, 2010
  16. higherorder: Use commandexec functions

    Ulrik Sverdrup committed Jan 12, 2010
  17. commandexec: More utility functions for action execution

    Ulrik Sverdrup committed Jan 12, 2010
  18. Update POTFILES.in

    Ulrik Sverdrup committed Jan 12, 2010
  19. kupfer.obj: Name command-execute action "Run"

    Ulrik Sverdrup committed Jan 12, 2010
    We call the action to perform a stored Kupfer command, a command such
    as Quit or 'About Kupfer' simply *Run*.
    
    To resolve linguistic disambiguities, we now have *Run (Execute)* for
    executing programs, and simple *Run* for running commands. Translators
    should may translate the new *Run* differently (Perform/Carry
    out/ or similar).
  20. Edit and clean up comments everywhere

    Ulrik Sverdrup committed Jan 12, 2010
    Remove stale comments and docstrings, and word some better.
  21. clawsmail: Send file by email as three-part action

    Ulrik Sverdrup committed with Karol Będkowski Jan 11, 2010
    Make Send by Email To.. a three-part action as like:
    (File) -> Send To -> (Contact)
    
    Any (email) contact in Kupfer is used. The user may also type in
    addresses by hand.
  22. uiutils: Use keybinder or gtk event time

    Ulrik Sverdrup committed Jan 12, 2010
  23. kupfer.core: Split Source logic into kupfer.core.sources

    Ulrik Sverdrup committed Jan 12, 2010
    The Source logic is very nicely confined into the SourceController:
    The only symbol needed from it is GetSourceController (from
    kupfer.core.data and from kupfer.puid modules).
Commits on Jan 11, 2010
  1. google_translate: Join multiple sentences in result

    Ulrik Sverdrup committed Jan 11, 2010
    If we translate a long text, we receive an array of sentences from
    Google. We join them up into the final text.
    
    This bug was reported by @hetdegon.
  2. google_translate: Make possible to save triggers with translate

    Ulrik Sverdrup committed Jan 11, 2010
    We mark the _Language class as serilizable; Kupfer will then save a
    representation of the Language object right in the trigger (since it
    can't find the language in the catalog). The only important part saved
    is the _Language.object attribute.
    
    If the plugin changes incompatibly in relation to _Language, you can
    increase the 'serilizable' number: if it doesn't match the saved copy,
    the serialized trigger won't be active anymore.
  3. higherorder: Run (Take Result) and Run (Discard Result)

    Ulrik Sverdrup committed Jan 11, 2010
    The Take Result action allows the user to make triggers where you
    chain actions: Execute one action dynamically, then apply another
    action on the result.
    
    For example, a two-part trigger that creates a new document, then
    opens it.
    
    (Selected File (folder)) -> Create New Document -> Latex-Template
    Ctrl+Return
    Take Result
    Return
    Result of .. (..) -> Open With -> Vim
    Ctrl+Return
    (Composed object) -> Add Trigger.. -> ..
  4. higherorder: Extra actions for triggers and similar

    Ulrik Sverdrup committed Jan 11, 2010
    We start with an action "Select in Kupfer": it only makes sense in
    Triggers or delayed commands. With it, you can make a trigger to
    show Kupfer, with a particular object selected. It is much like the
    "magic keybinding" for current selection, but for any object.
  5. obj.objects: Never use __slots__

    Ulrik Sverdrup committed Jan 11, 2010
    Using __slots__ limits object compatibility (technical Python stuff),
    while we can't even measure if it saves us any memory. Better avoid
    this "optimization".
  6. obj.fileactions: Fix os.path usage in RevealFile action

    Ulrik Sverdrup committed Jan 11, 2010
  7. defaultmail: Send file to contact action

    Ulrik Sverdrup committed Jan 11, 2010