Replace broken/missing $currfield with new @current_field
expression variable. Update other default actions to use
expression variables instead of deprecated special columns.
The original name was not representative for the scope of the class
and misleading at best.
The class manages actions for a given layer and it's not a single action
like the former name suggested.
There is a typedef introduced to keep it in the API until we can remove
it with QGIS 3.
Rationale:
- there was a lot of large objects passed by value, so potentially
there's a speed bump from this
- even for implicitly shared classes like QString/QList there's still
a (small) cost for copying the objects when there's no reason to
- it's the right thing to do!
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
- add python bindings for attribute actions
- support actions as context menu in feature form (ui)
- add action types:
* generic: commands that should work on all platforms
* windows, mac, unix: commands that should work and are only shown on one platform respectively
(eg. vim on unix, notepad on windows and textmate on Mac)
* python: python strings to be executed instead of a command
(eg. qgis.utils.plugins['apluginname'].amethod('[%someattribute%]'))
[BUGFIXES]
- ogr support for relative filenames fixed
- relative filename support also for feature form uis
git-svn-id: http://svn.osgeo.org/qgis/trunk@12113 c8812cc2-4d05-0410-92ff-de0c093fc19c