Commit Graph
11 Commits
Author SHA1 Message Date
Stephan Bergmann dcff0c200f unoidl-read: Avoid redundant redeclarations
...of interfaces for which such a forward declaration has already been emitted.
Update the reference rdbs accordingly with

LD_LIBRARY_PATH=.../master/instdir/program \
 .../master/workdir/LinkTarget/Executable/unoidl-read --published \
 .../libreoffice-7.0.0.3/instdir/program/types.rdb \
 >.../master/udkapi/type_reference/udkapi.idl

LD_LIBRARY_PATH=.../master/instdir/program \
 .../master/workdir/LinkTarget/Executable/unoidl-read --published \
 .../libreoffice-7.0.0.3/instdir/program/types.rdb \
 .../libreoffice-7.0.0.3/instdir/program/types/offapi.rdb \
 >.../master/offapi/type_reference/offapi.idl

Change-Id: I7448ae44d479a8c622f6f534abe6087ce8a8ea32
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100896
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-08-18 11:36:26 +02:00
Stephan Bergmann 19746d24aa Update the reference rdbs to libreoffice-6.4.0.3-buildfix1
LD_LIBRARY_PATH=.../master/instdir/program \
 .../master/workdir/LinkTarget/Executable/unoidl-read --published \
 .../libreoffice-6.4.0.3-buildfix1/instdir/program/types.rdb \
 >.../master/udkapi/type_reference/udkapi.idl

LD_LIBRARY_PATH=.../master/instdir/program \
 .../master/workdir/LinkTarget/Executable/unoidl-read --published \
 .../libreoffice-6.4.0.3-buildfix1/instdir/program/types.rdb \
 .../libreoffice-6.4.0.3-buildfix1/instdir/program/types/offapi.rdb \
 >.../master/offapi/type_reference/offapi.idl

* no changes

Change-Id: Ic6663271acfdf954f51f4bbd4dea20971264c87b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89046
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-19 17:50:45 +01:00
Stephan Bergmann 5bbf9ca7cc [API CHANGE] Adapt css.uri UNOIDL entities to RFC 3986
...which obsoleted RFC 2396.  Notable changes are that the distinction between
hierarchical and opaque URIs has been dropped, and that the relative URI
resolution specification has been made more rigid.

As a consequence, various features of css.uri entities have changed:

* XUriReference.isHierarchical is obsolete and deprecated.

* The behavior of XUriReference.hasAuthority, XUriReference.getAuthority,
  XUriReference.getPath, XUriReference.hasRelativePath,
  XUriReference.getPathSegmentCount, XUriReference.getPathSegment,
  XUriReference.hasQuery, and XUriReference.getQuery has been made consistent
  for all URIs, no matter whether they were considered hierarchical or opaque in
  the past.

* The behavior of XUriReferenceFactory.makeAbsolute and
  XUriReferenceFactory.makeRelative has been changed to match the RFC 3986
  reference resolution specification.  The XUriReferenceFactory.makeAbsolulte
  parameter processSpecialBaseSegments has been renamed to
  processAdditionalSpecialSegments, as per the updated specification it now
  controls treatment of special segments in the given uriReference, in addition
  to special segments in the given baseUriReference.  (Renaming UNOIDL interface
  method parameters is technically an incompatible change, but the benefits of
  improved clarity presumably outweigh any potential drawbacks in this case.)

The implementation in stoc has been adapted, and various call sites have been
adapted to the deprecated XUriReference.isHierarchical semantics.

Change-Id: Ic6e00fdbce5abef70d75ec2f753d22fefe361457
Reviewed-on: https://gerrit.libreoffice.org/77861
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-08-23 14:47:01 +02:00
Stephan Bergmann d6423bcd8b Update the reference rdbs to libreoffice-4-3
Change-Id: I33953f96630d6269ffdbf83f9fc9f747178e87d2
2015-04-07 18:34:50 +02:00
Stephan Bergmann 0703b9dd56 Update the reference rdbs to libreoffice-4-2-0
...incl. some /** @deprecated */ that had inadvertently been missing from the
original unoidl-read output, and re-apply the fix from
09f9a79b11 "[API CHANGE] fix endCDATA to allow
throwing css::xml::sax::SAXException."

Change-Id: I5f9001e0cf05ec6cd950011ab307b71811f1a2e1
2014-04-11 11:08:11 +02:00
Stephan Bergmann a25ebe442a Sort constant group members
...for better diff-ability in the future.

Change-Id: Ic3a374ca8ffff4e88e9ccc9e858e82035dc43695
2014-04-11 11:08:10 +02:00
Stephan Bergmann 2872cf80f2 Adapt type_reference to typo fix in method parameter name
...strictly speaking, such a change is incompatible, but in case of such a typo
it is probably best to do the cosmetic change anyway.

Change-Id: Ia4f773676addff5bfa64817ac724fa27c61b2a4b
2013-10-10 10:13:37 +02:00
Stephan Bergmann 8001d9f4fe Replace binary type_references with human-readable .idl versions
...obtained from the old .rdb files via "unoidl-read --published".  This removes
the need for update-rdb.sh.

Change-Id: I73c0d026af7e27370602f83c61dfa76fc4d17a83
2013-09-18 14:44:10 +02:00
Stephan Bergmann e03211460a [API CHANGE] Fix deprecated struct css.uno.Uik member identifiers
UNOIDL identifiers starting with a lowercase letter and containing hyphens are
reserved for the implementation.  It would be good to be able to enforce that in
code parsing UNOIDL files, but some existing identifiers violate that.

In the case of the published, deprecated css.uno.Uik, the change is incompatible
in theory but arguably irrelevant in practice.

Change-Id: I61f66e2d73c6aca5498ae566758893b546eb81d5
2013-09-04 14:37:54 +02:00
Noel Grandin 8bf8a2f349 fdo#46808, Convert script::InvocationAdapterFactory to new style
Change-Id: I2fe24c863f4c43471f46032ed15fcd5b98863fc1
2013-05-14 13:39:29 +02:00
Stephan Bergmann 826e787733 Split offapi/type_reference/types.rdb in two
...now that UnoApiMerge_types is gone.

Change-Id: Ie33aeb09692e3b3d851f2278714b037e183b627c
2013-04-24 12:20:31 +02:00