1. 26 Nov, 2010 1 commit
  2. 15 Oct, 2010 1 commit
  3. 11 Oct, 2010 1 commit
    • Bertjan Broeksema's avatar
      Merged revisions... · 8a5544a6
      Bertjan Broeksema authored
      Merged revisions 1181272,1181572,1181600,1181606,1181635,1182377,1182387,1182389,1182437-1182438,1182622,1182635,1182638,1182640-1182642,1182733,1182978 via svnmerge from 
      svn+ssh://bbroeksema@svn.kde.org/home/kde/branches/work/akonadi-agentserver-kdepim-runtime
      
      CCMAIL: kde@nyblom.org
      
      ........
        r1181272 | bbroeksema | 2010-09-30 16:59:16 +0200 (Thu, 30 Sep 2010) | 1 line
        
        Merge the changes from branches/work/~vkrause/akonadi-in-process-resource/
      ........
        r1181572 | bbroeksema | 2010-10-01 13:58:27 +0200 (Fri, 01 Oct 2010) | 2 lines
        
        Replace X-Akonadi-RunInAgentServer with X-Akonadi-LaunchMethod
      ........
        r1181600 | bbroeksema | 2010-10-01 15:20:50 +0200 (Fri, 01 Oct 2010) | 3 lines
        
        That was easy! Make the mail dispatcher a plugin which is ran in the
        AgentServer.
      ........
        r1181606 | bbroeksema | 2010-10-01 15:26:58 +0200 (Fri, 01 Oct 2010) | 6 lines
        
        For testing purposes we run the knut resource using the launcher.
        We now have agents that:
        - run as before (in a separate process)
        - are launched into a separate process (knut)
        - run in AgentServer (mail dispatcher)
      ........
        r1181635 | bbroeksema | 2010-10-01 17:23:01 +0200 (Fri, 01 Oct 2010) | 4 lines
        
        To make the Mail Dispatcher Agent suitable for running in the AgentServer
        it shouldn't use QDBusConnection::sessionBus(). Replace these calls with
        the thread safe DBusConnectionPool::threadConnection() equivalent.
      ........
        r1182377 | bbroeksema | 2010-10-04 13:32:59 +0200 (Mon, 04 Oct 2010) | 3 lines
        
        Add a dummy implementation of configure( WId ) to SFR base so that
        moc actually recognizes it as a slot for SFR derived resources.
      ........
        r1182387 | bbroeksema | 2010-10-04 13:57:05 +0200 (Mon, 04 Oct 2010) | 3 lines
        
        AgentBase is a better place to make configure(WId) a slot. Therefore,
        revert r1182377.
      ........
        r1182389 | bbroeksema | 2010-10-04 13:58:57 +0200 (Mon, 04 Oct 2010) | 2 lines
        
        Make the ical resource a plugin that runs in the agent server.
      ........
        r1182437 | bbroeksema | 2010-10-04 17:13:29 +0200 (Mon, 04 Oct 2010) | 9 lines
        
        For now disable the following SFR based resources:
        - kdeaccounts
        - vcard
        - mbox
        
        Currently I'm working on making SFR based resources suitable for running
        in the AgentServer and this requires changes to how the resources deal with
        settings. ICal will be the first, the obove will follow soon.
      ........
        r1182438 | bbroeksema | 2010-10-04 17:14:50 +0200 (Mon, 04 Oct 2010) | 4 lines
        
        Singletons don't work when running multiple resource instances in the same
        thread. Adapt the SingleFileResource class to this by requiring the settings
        to be a member of the class in stead of being a singleton.
      ........
        r1182622 | bbroeksema | 2010-10-05 10:23:07 +0200 (Tue, 05 Oct 2010) | 3 lines
        
        Adapt the kdeaccounts resource to the fact that Settings should not
        be a Singleton anymore.
      ........
        r1182635 | bbroeksema | 2010-10-05 11:02:13 +0200 (Tue, 05 Oct 2010) | 1 line
        
        Make sure that the notes resource is launched in the AgentServer as well
      ........
        r1182638 | bbroeksema | 2010-10-05 11:03:43 +0200 (Tue, 05 Oct 2010) | 2 lines
        
        Adapt and reenable the mbox resource for running in the AgentServer.
      ........
        r1182640 | bbroeksema | 2010-10-05 11:04:56 +0200 (Tue, 05 Oct 2010) | 1 line
        
        Forgot to save, adapt the desktop file as well
      ........
        r1182641 | bbroeksema | 2010-10-05 11:15:01 +0200 (Tue, 05 Oct 2010) | 3 lines
        
        And last but not least, also adapt the vcard SFR for running in
        the AgentServer.
      ........
        r1182642 | bbroeksema | 2010-10-05 11:20:31 +0200 (Tue, 05 Oct 2010) | 2 lines
        
        Use the DBusConnectionPool in resources that run in the AgentServer.
      ........
        r1182733 | bbroeksema | 2010-10-05 15:51:58 +0200 (Tue, 05 Oct 2010) | 7 lines
        
        The MailDispatcherAgent randomly creates widgets while running (e.g. to
        ask for a password). This makes it unsuitable for running in a thread. That is,
        only when we know when and where widgets are created we might be able to
        redirect the call to the main thread (as we did for AgentBase::configure()).
        
        Therefore, run the MDA using the AgentLauncher method.
      ........
        r1182978 | bbroeksema | 2010-10-06 09:26:51 +0200 (Wed, 06 Oct 2010) | 1 line
        
        Install the plugin in the right directory
      ........
      
      svn path=/trunk/KDE/kdepim/runtime/; revision=1184805
      8a5544a6
  4. 19 Jul, 2010 1 commit
  5. 12 Jul, 2010 1 commit
  6. 11 Jul, 2010 1 commit
  7. 10 Jul, 2010 1 commit
  8. 09 Jul, 2010 1 commit
  9. 15 May, 2010 1 commit
  10. 22 Apr, 2010 1 commit
  11. 11 Dec, 2009 2 commits
  12. 11 Nov, 2009 1 commit
  13. 06 Nov, 2009 1 commit
    • Bertjan Broeksema's avatar
      We don't use the autosave timer anymore but schedule a write after · 4656729e
      Bertjan Broeksema authored
      changes are made to the resource. If new changes are made before the
      write is performed these will be scheduled before the write by the
      scheduler.
      
      Also a minor fix in singlefileresource.h. When calling readLocalFile()
      it cannot be garuanteed that the call succeeds (e.g. the file has
      invalid content). So now readLocalFile returns a bool and the status
      of the resource is set appropriate when the file could not be read.
      
      TODO: Remove the autosave timer from the settings(dialog)
      
      svn path=/branches/work/akonadi-ports/kdepim/akonadi/; revision=1045642
      4656729e
  14. 17 Oct, 2009 2 commits
    • Bertjan Broeksema's avatar
      Undo most of the changes of r1036645. In stead of calling writeFile() · c31fb685
      Bertjan Broeksema authored
      directly in retrieveItems we now use the new scheduleCustomTask() in
      ResourceBase.
      
      There are however a couple of assumptions made:
      * The new Task is placed after ChangeRecorderTasks (This is also
        implemented in this commit).
      * Duplicate tasks are filtered out. Important because otherwise on
        each change the file (local or remotely) would get written.
      
      svn path=/branches/work/akonadi-ports/kdepim/akonadi/; revision=1036785
      c31fb685
    • Bertjan Broeksema's avatar
      Make sure that before retrieving items for a file cached changes · 4e61bebd
      Bertjan Broeksema authored
      are written to the file to prevent reading items that are not in
      the file yet, or are still in the file but shouldn't be there.
      
      svn path=/branches/work/akonadi-ports/kdepim/akonadi/; revision=1036645
      4e61bebd
  15. 08 Oct, 2009 1 commit
  16. 02 Oct, 2009 1 commit
    • Thomas McGuire's avatar
      Remove the automatic resource name setting. · 25286adf
      Thomas McGuire authored
      I don't think it is very user friendly to have a filename as the name of the root
      collection.
      
      Also, this overwrites the settings from firstrun.cpp. Now one sees "Personal Calendar"
      instead of "std.ics" for the default installation.
      
      Volker, please review and tell me if I broke something with this.
      
      svn path=/branches/work/akonadi-ports/kdepim/akonadi/; revision=1030651
      25286adf
  17. 16 Jun, 2009 1 commit
  18. 07 May, 2009 1 commit
  19. 09 Apr, 2009 1 commit
  20. 30 Jan, 2009 1 commit
  21. 02 Nov, 2008 1 commit
  22. 01 Nov, 2008 3 commits
    • Volker Krause's avatar
      Follow kdepimlibs changes. · 91d4497d
      Volker Krause authored
      svn path=/trunk/KDE/kdepim/akonadi/; revision=878850
      91d4497d
    • Bertjan Broeksema's avatar
      Some polishing: · 3af84101
      Bertjan Broeksema authored
      - Idle messages changed to "Ready"
      - No external progress dialogs more for remote files, but progress shown in the
        config dialog.
      - When a remote file is selected an asynchronous check is done if the file 
        exists and has read/write access. If it does not exist another check is 
      	started to see if the parent directoy of the file exists and is writeable. If
      	both check fails it is accounted as an invalid location.
      
      svn path=/trunk/KDE/kdepim/akonadi/; revision=878749
      3af84101
    • Bertjan Broeksema's avatar
      Add support for remote files in the SingleFileRecourse based resources. · fd1242c5
      Bertjan Broeksema authored
      svn path=/trunk/KDE/kdepim/akonadi/; revision=878442
      fd1242c5
  23. 25 Oct, 2008 2 commits
  24. 05 Oct, 2008 2 commits
  25. 04 Oct, 2008 1 commit