Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
It's impossible to figure out where the offending unguarded text is if
you don't get told what the text *is*. :)
|
|
|
|
I think this is neater; it also adds a nice warning that would have
caught a mistake I made.
|
|
For full discussion, see bugs.fd.o#38986
and the whiteboard string "Call" on bugs.fd.o.
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
Reviewed-by: Olivier CrĂȘte <olivier.crete@collabora.co.uk>
|
|
* Also: don't ever rewrite the node's text. This means:
* If you want the long-form, use:
<tp:value-ref>Type_Name_Value</tp:value-ref>
* If you want the short form, use:
<tp:value-ref type="Type_Name">Value</tp:value-ref>
This changes the html output of all current value-refs to use the
short form.
|
|
This should ensure that our enum value names don't go out of sync with the
references to them.
Note that the links don't *quite* go to the actual value, but it should be within
view once the link is clicked. This is not a regression.
|
|
|
|
there being content for them.
|
|
Also, PEPify constant assignment
|
|
See http://bugs.freedesktop.org/show_bug.cgi?id=32353#c1
|
|
See http://bugs.freedesktop.org/show_bug.cgi?id=32353#c1
|
|
|
|
Annotations are valid for interfaces. Specifically, they are inherited
by methods, properties and signals.
Signed-off-by: Will Thompson <will.thompson@collabora.co.uk>
|
|
The first is what we always used to produce, and contains the full name.
The second is inspired by Python's documentation index, e.g.
"gethostname() (in module socket)", and *starts* with the name of the
symbol itself.
Some examples include:
Interface org....Connection.Interface.Contacts
Connection.Interface.Contacts (Interface in org....)
Mapping String_Variant_Map
String_Variant_Map (Mapping in org...)
Property org...StorageRestrictions
StorageRestrictions (Property in Account.Interface.Storage)
|
|
|
|
Update get_url() to use get_anchor().
This removes the duplicate construction of anchors, once in the templates
and once in the get_url() method and move it into one place. This allows us
to easily change the way anchors are constructed for a given type.
The way anchors are constructed has been changed to include the type name
at the beginning, i.e. Type-Name:Short_Name, to prevent potential namespace
collisions between client interests and capability tokens.
|
|
Omit name attribute from tp:client-interest if the name is simply the
interface name.
|
|
|
|
|
|
Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
We haven't used these for a very long time.
|
|
This was used for code generation in libtelepathy, a long time ago.
|
|
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
What a neat trick!
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
They should always be powers of two, so open up a can of whoop-ass
when they're not.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
AND LET THE BAD SPEC WRITER KNOW...
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
So now we can use tp:immutable on non-channel properties and it won't
talk about the channel being created and blah blah blah.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Make this option default to false though, as tp-spec doesn't need (or
even want) it on.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Call.Stream.Interface.Media had a tp:method for ages which of course
wasn't picked up and didn't do anything. This patch will warn with
unknown elements in interfaces.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
|
|
This seems cleaner... I'm not sure if it actually is, but hey.
|
|
We need the Document object to be able to cleanly create new elements.
|
|
Previously you could only abbreviate org.freedesktop.Telepathy to ofdT
if you followed it with a period. So if you wanted to link to Account,
you couldn't abbreviate. This patch allows namespace='ofdT'.
|
|
We have an increasing number of standard connection properties which are
also connection parameters with the DBus_Property flag. They all tend to
have some copy-pasta blurb explaining that clients should basically
ignore the property and frob the parameter on the Account instead; I
think it's time to add some markup for this.
|
|
|
|
Supported usages:
<tp:token-ref>subscribe</tp:token-ref>
<tp:token-ref namespace="ofdT.Connection">contact-id</tp:token-ref>
<tp:token-ref namespace="ofdT.Connection.Interface">ContactList/contact-id</tp:token-ref>
<tp:token-ref>org.freedesktop.Telepathy.Connection.Interface.ContactList/contact-id</tp:token-ref>
Also fix double use of "namespace" with different scopes.
|
|
|
|
|
|
Seriously I have typed this too many times in my life.
|
|
I just did this and couldn't understand what was going on.
|
|
|