Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add State Machine to examples overview | Kent Hansen | 2009-05-12 | 1 | -0/+8 |
| | |||||
* | Change name of "errorstate" example to "tankgame" | Eskil Abrahamsen Blomfeldt | 2009-05-12 | 26 | -29/+40 |
| | | | | | The error state is not a big enough part of the example to justify naming it after it. | ||||
* | Fixes: document statemachine/twowaybutton example | Kent Hansen | 2009-05-12 | 3 | -7/+98 |
| | |||||
* | kill some simplistic/overlapping/under-developed examples | Kent Hansen | 2009-05-12 | 9 | -445/+0 |
| | |||||
* | document the statemachine/pingpong example | Kent Hansen | 2009-05-12 | 4 | -0/+122 |
| | |||||
* | Merge branch 'kinetic-statemachine' of git@scm.dev.nokia.troll.no:qt/kinetic ↵ | Alexis Menard | 2009-05-12 | 209 | -5230/+8072 |
|\ | | | | | | | | | | | | | into kinetic-statemachine Conflicts: src/gui/graphicsview/qgraphicsitem.cpp | ||||
| * | doc: Add documentation for animations, restore policy and polished signal | Eskil Abrahamsen Blomfeldt | 2009-05-12 | 1 | -0/+182 |
| | | |||||
| * | update license headers | Kent Hansen | 2009-05-12 | 2 | -6/+66 |
| | | |||||
| * | improve the docs for the trafficlight example | Kent Hansen | 2009-05-12 | 4 | -41/+49 |
| | | |||||
| * | Merge branch 'kinetic-animations' into kinetic-statemachine | Kent Hansen | 2009-05-12 | 4 | -7/+66 |
| |\ | |||||
| | * | Doc: Assign state machine overview to architecture group (get it in | Geir Vattekar | 2009-05-11 | 1 | -0/+1 |
| | | | | | | | | | | | | the overview list) | ||||
| | * | Doc: Work on QPauseAnimation | Geir Vattekar | 2009-05-11 | 1 | -0/+16 |
| | | | |||||
| | * | Merge branch 'kinetic-animations' of git@scm.dev.nokia.troll.no:qt/kinetic ↵ | Geir Vattekar | 2009-05-11 | 6 | -18/+165 |
| | |\ | | | | | | | | | | | | | into kinetic-animations | ||||
| | * | | Doc: Work on QParallelAnimationGroup and QSequentialAnimationGroup | Geir Vattekar | 2009-05-11 | 2 | -7/+49 |
| | | | | |||||
| * | | | redo statecharts in proper UML notation, expand documentation | Kent Hansen | 2009-05-12 | 8 | -22/+150 |
| | | | | |||||
| * | | | Don't interrupt test before animation finishes | Eskil Abrahamsen Blomfeldt | 2009-05-12 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're testing if both animations actually run and finish, so we need to make sure one of the polished signals is emitted last, and then react to this. I've done this by setting the duration of the animation which animated the property set by s2Child, so that it's sufficient to listen to this polished signal. | ||||
| * | | | Kill warning in removeDefaultAnimation() test | Eskil Abrahamsen Blomfeldt | 2009-05-12 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | Warning about animating non-existent properties. | ||||
| * | | | Fixes crash when calling QState::setErrorState() with null pointer | Eskil Abrahamsen Blomfeldt | 2009-05-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | When the state is null, it isn't the root state. | ||||
| * | | | Avoid warnings in assignPropertyWithAnimation test | Eskil Abrahamsen Blomfeldt | 2009-05-12 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | They added a warning when you animate a non-existent property, so we make sure the properties are defined. | ||||
| * | | | Make selecting plugins more user friendly and platform independent | Eskil Abrahamsen Blomfeldt | 2009-05-11 | 5 | -18/+66 |
| | |/ | |/| | | | | | | | | | | | | | Using *.dll was just a placeholder here. The code is mostly copied from the Plug&Paint example, and goes through all the plugins to find the compatible ones with some hacks to find out the application directory on windows and mac. | ||||
| * | | Merge branch 'kinetic-animations' into kinetic-statemachine | Kent Hansen | 2009-05-08 | 4 | -44/+114 |
| |\ \ | | |/ | |||||
| | * | Doc: Work on QAnimationGroup class description. | Geir Vattekar | 2009-05-08 | 1 | -12/+40 |
| | | | |||||
| | * | Correct spelling. setConsitentTiming -> setConsistentTiming | Michael Brasser | 2009-05-08 | 2 | -2/+2 |
| | | | |||||
| | * | Merge branch 'kinetic-animations' of git@scm.dev.nokia.troll.no:qt/kinetic ↵ | Geir Vattekar | 2009-05-07 | 68 | -321/+1124 |
| | |\ | | | | | | | | | | | | | into kinetic-animations | ||||
| | | * | change the API of private class for QAbstractAnimation to allow setting | Thierry Bastian | 2009-05-07 | 2 | -14/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | the timer interval. We also export the private clas so it can be used by other modules | ||||
| | * | | Doc: Work on QPropertyAnimation class description | Geir Vattekar | 2009-05-07 | 1 | -18/+39 |
| | | | | |||||
| * | | | gracefully handle deletion of transition's target state | Kent Hansen | 2009-05-08 | 4 | -4/+30 |
| | | | | |||||
| * | | | get rid of warnings | Kent Hansen | 2009-05-08 | 1 | -2/+0 |
| | | | | |||||
| * | | | Test what happens when target state doesn't have a parent | Kent Hansen | 2009-05-08 | 1 | -0/+25 |
| | | | | |||||
| * | | | make sure connections and event filters are removed when state machine halts | Kent Hansen | 2009-05-08 | 3 | -0/+21 |
| | | | | |||||
| * | | | don't create transition to null state | Kent Hansen | 2009-05-08 | 2 | -4/+28 |
| | | | | |||||
| * | | | don't add signal transition if target is null or signal doesn't exist | Kent Hansen | 2009-05-07 | 2 | -2/+30 |
| | | | | |||||
| * | | | Make it impossible to have root state as source or target of transition or ↵ | Eskil Abrahamsen Blomfeldt | 2009-05-07 | 4 | -6/+31 |
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | as error state Since the root state has no ancestors, it cannot be source or target in transitions since there will be no LCA for the transition, which is required for the algorithm of enterStates and exitStates. In SCXML the root state cannot be target or source of a transition. By the same logic, it cannot be an error state. The root state will always have a valid machine, since it's added to a machine immediately, which makes this code possible. | ||||
| * | | Merge branch 'kinetic-animations' into kinetic-statemachine | Kent Hansen | 2009-05-07 | 4 | -5/+21 |
| |\ \ | |||||
| | * | | Addeed a warning if one is trying to animate a property that's not part | Thierry Bastian | 2009-05-07 | 2 | -2/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | of the object Task-number: 251763 | ||||
| | * | | Provide a way in private API to have a consistent timer for animations. | Thierry Bastian | 2009-05-07 | 2 | -3/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for better testing because from now on we can rely on the results to be always the same and not rely on timer accuracy any more. Task-number: 251764 Reviewed-by: leo | ||||
| * | | | add QStateMachine::isRunning() | Kent Hansen | 2009-05-07 | 3 | -0/+55 |
| | | | | |||||
| * | | | store top-level animation in dedicated variable | Kent Hansen | 2009-05-07 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | The animation itself is used by subsequent code, so we mustn't change it. | ||||
| * | | | doc: Add documentation for NoCommonAncestorForTransitionError enum | Eskil Abrahamsen Blomfeldt | 2009-05-07 | 1 | -0/+5 |
| | | | | |||||
| * | | | Rename NoDefaultStateInHistoryState -> NoDefaultStateInHistoryStateError for ↵ | Eskil Abrahamsen Blomfeldt | 2009-05-07 | 3 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | consistency The other error values have Error in the name for namespacing purposes. | ||||
| * | | | Fix infinite loop when source and target of transition are in different trees | Eskil Abrahamsen Blomfeldt | 2009-05-07 | 3 | -18/+36 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SCXML algorithm depends on the guarantee that there is always an LCA regardless of the state list. The case where the targets are in a different tree than the source (e.g. if you have not given the target state a parent) is a bug. The fix is to set an error when this happens in exitStates() and exit states as if the pending error states were the target states. In enterStates we will detect the error and skip the step of selecting states to enter, and instead just enter the pending error states. This breaks transitions to and from the root state, which is not supported by the SCXML algorithm. | ||||
| * | | | Fix tests for history state and entering root state | Eskil Abrahamsen Blomfeldt | 2009-05-07 | 1 | -5/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | Change expectation for entering the root state. We should never have the root state in the configuration. Also fix the expected error message in historyStateHasNowhereToGo since this has changed along with the API. | ||||
| * | | | Make sure machine enters error state if history state has no default state | Eskil Abrahamsen Blomfeldt | 2009-05-07 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep searching the parent hierarchy for error states even if a state in the hierarchy cannot be cast to QState. Also make currentErrorState==0 an assert, since there should always be an error state (we default to the special initialErrorState if we are unable to find anything else), otherwise the machine might get into an undefined state (e.g. configuration is empty) | ||||
| * | | | Compile with new API | Eskil Abrahamsen Blomfeldt | 2009-05-07 | 1 | -2/+2 |
| |/ / | | | | | | | | | | addHistoryState() is gone and onTransition() now takes an argument. | ||||
| * | | Remove superfluous code | Eskil Abrahamsen Blomfeldt | 2009-05-06 | 1 | -7/+0 |
| | | | | | | | | | | | | | | | | | | | | | We have gone back to the old definition of implicit start values where the a new default start value is sniffed every time the animation is restarted, so we do not need to emulate this behavior ourselves anymore. Behavior should be identical. | ||||
| * | | Fix bogus default start value when interrupting an animation that has an | Eskil Abrahamsen Blomfeldt | 2009-05-06 | 1 | -5/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | implicit end value. We need to stop the animation prior to setting the end value to an invalid variant, otherwise the current value of the property will be updated based on the new end value and randomness will occur. | ||||
| * | | Instead of adding animations for all properties to all transitions, we use | Eskil Abrahamsen Blomfeldt | 2009-05-06 | 1 | -7/+11 |
| | | | | | | | | | | | | the default animation concept, since this is its intended use. | ||||
| * | | Add chase state and ability to detect and fire at other tanks. This reveals an | Eskil Abrahamsen Blomfeldt | 2009-05-06 | 2 | -4/+92 |
| | | | | | | | | | | | | assert in the state machine which needs to be debugged. | ||||
| * | | Avoid passage where the walls meet the edge of the scene rect. | Eskil Abrahamsen Blomfeldt | 2009-05-06 | 1 | -5/+6 |
| | | | |||||
| * | | get rid of margin | Kent Hansen | 2009-05-05 | 1 | -1/+2 |
| | | |