~smartboyhw/ubuntu/raring/calligra/2.6.0-0ubuntu1

« back to all changes in this revision

Viewing changes to plan/plugins/schedulers/tj/taskjuggler/Task.cpp

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-10-23 21:09:16 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20121023210916-m82w6zxnxhaxz7va
Tags: 1:2.5.90-0ubuntu1
* New upstream alpha release (LP: #1070436)
  - Add libkactivities-dev and libopenimageio-dev to build-depends
  - Add kubuntu_build_calligraactive.diff to build calligraactive by default
  - Add package for calligraauthor and move files that are shared between
    calligrawords and calligraauthor to calligrawords-common
* Document the patches
* Remove numbers from patches so they follow the same naming scheme as
  the rest of our patches.
* calligra-data breaks replaces krita-data (<< 1:2.5.3) (LP: #1071686)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1534
1534
                    t->followers.append(this);
1535
1535
                }
1536
1536
                if (DEBUGPF(11))
1537
 
                    qDebug()<<"Registering dependency:"<<this<<"preceedes"<<t;
 
1537
                    qDebug()<<"Registering dependency:"<<this<<"precedes"<<t;
1538
1538
            }
1539
1539
        }
1540
1540
    }
1784
1784
     * depends points us. Parent/Child relationships also specify a
1785
1785
     * dependency. The scheduling mode of the child determines the direction
1786
1786
     * of the flow. With help of the 'caller' parameter we make sure that we
1787
 
     * only visit childs if we were referred to the task by a non-parent-child
 
1787
     * only visit children if we were referred to the task by a non-parent-child
1788
1788
     * relationship. */
1789
1789
    if (!atEnd)
1790
1790
    {
1950
1950
    {
1951
1951
        QString loopChain;
1952
1952
        LoopDetectorInfo* it;
1953
 
        /* Find the first occurence of this task in the list. This is the
 
1953
        /* Find the first occurrence of this task in the list. This is the
1954
1954
         * start of the loop. */
1955
1955
        for (it = list.first(); *it != *thisTask; it = it->next())
1956
1956
            ;
3848
3848
    *  With the following code, the task in XML contains simply a list of all Allocations
3849
3849
    *  wiht the ResourceID for which resource the allocation is. After that, there comes
3850
3850
    *  a list of all Resources, again having the Resource Id as key. That could be put
3851
 
    *  in a hirarchy like
 
3851
    *  in a hierarchy like
3852
3852
    *  <Resource Id="dev2" >Larry Bono
3853
3853
    *       <Income>1000</Income>
3854
3854
    *       <Allocation>
3871
3871
      }
3872
3872
   }
3873
3873
 
3874
 
   // booked Ressources 
 
3874
   // booked Resources 
3875
3875
   if( bookedResources.count() > 0 )
3876
3876
   {
3877
3877
       for (ResourceListIterator rli(bookedResources); *rli != 0; ++rli)