Commit Graph
188 Commits
Author SHA1 Message Date
Stephan Bergmann 3d31e57fba Update the reference rdbs to libreoffice-6.2.0.3
LD_LIBRARY_PATH=.../master/instdir/program \
 .../master/workdir/LinkTarget/Executable/unoidl-read --published \
 .../libreoffice-6.2.0.3/instdir/program/types.rdb \
 >.../master/udkapi/type_reference/udkapi.idl

* no changes

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

Change-Id: I16c8cc9edafa81570f43197a1f1e78ff1eaee1ee
Reviewed-on: https://gerrit.libreoffice.org/68141
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-02-21 13:18:23 +01:00
Stephan Bergmann 80751cd90d Update the reference rdbs to libreoffice-6-1-0
LD_LIBRARY_PATH=.../master/instdir/program \
 .../master/workdir/LinkTarget/Executable/unoidl-read --published \
 .../libreoffice-6-1-0/instdir/program/types.rdb \
 >.../master/udkapi/type_reference/udkapi.idl

* no changes

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

* all the interim modifications to offapi/type_reference/offapi.idl were done in
  error and had already been reverted again (i.e., `git diff
  76f30450577bcecf0423833884e3e5215decdd07..5b0ceb86c342754d8f4e83408c7ae0da0e3931d3^
  -- offapi/type_reference/offapi.idl` is empty)

Change-Id: Ibac6d00f9b6fa3fa4d4ac491af66ea4938b36b87
Reviewed-on: https://gerrit.libreoffice.org/63424
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-11-15 16:55:55 +01:00
Tomaž Vajngerl 76f3045057 [API-CHANGE] revert reordering of Graphic properties
This reverts the reordering of properties and adds new properties
to the end and marks them as optional so we break API as little as
possible.

Change-Id: I422d882d1d1c721dd3ff7ad289329a9df58beb42
Reviewed-on: https://gerrit.libreoffice.org/54322
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
2018-05-14 16:21:52 +02:00
Stephan Bergmann 4765ea3238 No need to reflect ongoing compatible changes in type_reference
Had been added as part of 7a8ed362eb "[API CHANGE]
revert and deprecate *BackGraphicURL add *BackGraphic", for no apparent reason.
(Will eventually be added with a "Update the reference rdbs to
libreoffice-6-1-0" commit.)

Change-Id: If6c0405df91accc52a67ad62d7ee7dfb49a4c569
Reviewed-on: https://gerrit.libreoffice.org/53981
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-05-08 16:56:03 +02:00
Tomaž Vajngerl 7a8ed362eb [API CHANGE] revert and deprecate *BackGraphicURL add *BackGraphic
*BackGraphicURL include the following properties:
- BackGraphicURL
- FooterBackGraphicURL
- HeaderBackGraphicURL
- ParaBackGraphicURL

This were removed, but for backwards compatibility this commit
adds them back again and depreactes them in the UNO API. The
behaviour also changes as internal vnd.sun.star.GraphicObject
scheme URLs aren't supported so this properties can only be set
and only if a external URL is provided. If getting such a property
then a RuntimeException will be thrown.

[ Miklos Vajna: fixed up sw/qa and writerfilter bits. ]

Change-Id: If60011837da96197b576bfe2671ecafccad736c7
Reviewed-on: https://gerrit.libreoffice.org/53511
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-05-07 16:30:35 +02:00
Tamas Bunth 1c5c9b84df Refactor: migration warn dlg without modifying API
Use Migration warn dialog directly in library dba instead of popping up
window in dbu and passing down the information through XDataSource.

Change-Id: I6b8d2b55408a741662052d4af316b0c662d799f0
Reviewed-on: https://gerrit.libreoffice.org/53363
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Bunth <btomi96@gmail.com>
2018-05-05 11:10:07 +02:00
Tomaž Vajngerl 2bf4d69e0b [API CHANGE] revert and deprecate GraphicURL, modify Graphic prop.
Revert the state of GraphicURL property so it supports setting a
external URL, but getting throws and exception.

Modify the Graphic property, so it reflects what was used with
GraphicURL before.

Change-Id: Ia05b8ea37997b5ed8c75215557cce9979630c898
Reviewed-on: https://gerrit.libreoffice.org/53509
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-05-03 13:06:33 +02:00
Tamas Bunth 5b0ceb86c3 tdf#116944 Warn user before database migration
Warn user with a pop-up dialog before migration.

To do that we have to know the database URL at UI level. In order to get
that I updated XDataSource interface with getConnectionURL().

The dialog offers two options: proceed with or without migration. If the
user choose "yes", we store that information in XDataSource. The
migration itself will be made in buildLowConnection().

Change-Id: I1f0d03da6352f7a0a8d989da79c4b2fe60a03ca1
Reviewed-on: https://gerrit.libreoffice.org/52876
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Bunth <btomi96@gmail.com>
2018-04-14 21:14:50 +02:00
Stephan Bergmann 5d577e6cfa Update the reference rdbs to libreoffice-6-0-0
LD_LIBRARY_PATH=.../master/instdir/program \
 .../master/workdir/LinkTarget/Executable/unoidl-read --published \
 .../libreoffice-6-0-0/instdir/program/types.rdb \
 >.../master/udkapi/type_reference/udkapi.idl

* no changes

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

Change-Id: I5419f81757ba43664aefb60f081bf52612b8afc4
Reviewed-on: https://gerrit.libreoffice.org/50762
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-03-05 10:52:03 +01:00
Stephan Bergmann bc6f3c0fe9 Update the reference rdbs to libreoffice-5-4-0
LD_LIBRARY_PATH=.../master/instdir/program \
 .../master/workdir/LinkTarget/Executable/unoidl-read --published \
 .../libreoffice-5-4-0/instdir/program/types.rdb \
 >.../master/udkapi/type_reference/udkapi.idl

* no changes

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

* plus manual fixup for now by re-applying offapi/type_reference/offapi.idl part
  of 00657aef09 "migrate to boost::gettext"

Change-Id: Iecebe43043ee2518a371b60795737436bbcb0941
2018-03-02 18:10:55 +01:00
Caolán McNamara 00657aef09 migrate to boost::gettext
* all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl
* all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string")
* ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching
  MODULE .mo files
* UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui
  goes from l10n target to normal one, so the res/lang.zips of UI files go away
* translation via Translation::get(hrc-define-key, imbued-std::locale)
* python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there
  to keep finding the .hrc file uniform) so magic numbers can go away there
* java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation
  mechanism
* en-US res files go away, their strings are now the .hrc keys in the source code
* remaining .res files are replaced by .mo files
* in .res/.ui-lang-zip files, the old scheme missing translations of strings
  results in inserting the english original so something can be found, now the
  standard fallback of using the english original from the source key is used, so
  partial translations shrink dramatically in size
* extract .hrc strings with hrcex which backs onto
   xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap
* extract .ui strings with uiex which backs onto
   xgettext --add-comments --no-wrap
* qtz for gettext translations is generated at runtime as ascii-ified crc32 of
   content + "|" + msgid
* [API CHANGE] remove deprecated binary .res resouce loader related uno apis
      com::sun::star::resource::OfficeResourceLoader
      com::sun::star::resource::XResourceBundleLoader
      com::sun::star::resource::XResourceBundle
    when translating strings via uno apis
      com.sun.star.resource.StringResourceWithLocation
    can continue to be used

Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
2017-07-21 08:20:50 +01:00
Stephan Bergmann 32260c40b2 Revert "[API-CHANGE] Add persistent (in addition to persistant)"
This reverts commit 795d56dfd5.  The Gerrit UI had
fooled me into pushing the "Submit" button in error.
2017-05-29 15:38:06 +02:00
Julien Nabet 795d56dfd5 [API-CHANGE] Add persistent (in addition to persistant)
+ keep "persistant" for compatibility reasons
but put it as deprecated

Change-Id: I7ef8efb9f376eadfdac876d142840aab5a0b4416
Reviewed-on: https://gerrit.libreoffice.org/37042
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2017-05-29 15:37:08 +02:00
Stephan Bergmann 31a698342f Update the reference rdbs to libreoffice-5-3
LD_LIBRARY_PATH=.../master/instdir/program \
 .../master/workdir/LinkTarget/Executable/unoidl-read --published \
 .../libreoffice-5-3/instdir/program/types.rdb \
 >.../master/udkapi/type_reference/udkapi.idl

* no changes

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

* plus manual fixup for now by re-applying offapi/type_reference/offapi.idl part
  of 8913353a8f "enum spelling: throught ->
  through"

Change-Id: I705dd8b33034f01d333bf80f1211022f5395609e
2017-05-19 12:00:34 +02:00
Andrea Gelmini a940826162 Fix typos
To complete commit 0ef94e2b55
and f12096272e

Change-Id: Ie86bbfbd58dd728a013bef221e4d5c8fbcaf8e03
Reviewed-on: https://gerrit.libreoffice.org/37199
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-05-05 23:35:06 +02:00
Justin Luth 8913353a8f enum spelling: throught -> through
git grep -l  "[ _\.]THROUGHT" | xargs sed -i 's/THROUGHT/THROUGH/g'
git grep -l -i "[ _\.]THROUGHT" | xargs sed -i 's/throught/through/g'

In ENUMs: THROUGHT = THROUGH (preserved as valid alternate spelling)
In ooxmlexport8 - unit test confirms THROUGH = THROUGHT

Change-Id: Iae0fef9a8adcb96761989f38903a24ffb1b91e77
Reviewed-on: https://gerrit.libreoffice.org/35998
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-04-12 17:31:52 +02:00
Andrea Gelmini 5bea199bae Fix typos
Change-Id: Ic6c41fbcc36c11a7528cde0986593a39c2d6738b
Reviewed-on: https://gerrit.libreoffice.org/34803
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-02 12:39:35 +00:00
Eike Rathke 5024430950 [API Change] revert incompatible change of enum css::sheet::GeneralFunction
Quick solution before 5-3 branch off without reverting everything related.
This will need a new constant value type for API instead of the enum and an
internal mapping from/to the enum.

Kept the GeneralFunction_MEDIAN at all places in uing code so it can be
easily grep'ed for.

Change-Id: I95256649f16ded08e467003d2924be0ff5efb87f
2016-11-22 19:56:33 +01:00
Stephan Bergmann 7668382920 Update the reference rdbs to libreoffice-5-2
(This deliberately leaves out the published
css.mozilla.XRemoteServiceManagerProvider originally manually removed from
offapi/type_reference/offapi.idl with 4c18af27bf
"tdf#96398 kill remaining NPAPI support for plugins _inside_ LO" and now fully
removed with b558997012 "[API CHANGE] Remove
tdf#96398 leftover XRemoteServiceManagerProvider".)

Change-Id: I75d4cd82ba306099e2563a44739bfb3867a265e9
2016-11-21 18:21:04 +01:00
Tamás Zolnai eabfd1b60f [API Change]: Move recently added median function to the end of enum
Change-Id: Ie6f2c6f53b354552b855264faea1ae9f5cb2b76d
Reviewed-on: https://gerrit.libreoffice.org/31041
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2016-11-21 13:42:56 +00:00
Tamás Zolnai eb27a63a38 [API Change] PivotMedian: Add median to pivot table function type
Change-Id: I675e81b5c13832ac0ff893a6e080241e6f1c8fd5
2016-11-20 00:13:14 +01:00
Stephan Bergmann 4929b45144 Update the reference rdbs to libreoffice-5-1
Change-Id: Ie098b41440f97395893f4200128a2016cd1103d4
2016-02-24 18:39:40 +01:00
Stephan Bergmann cf9f97ab26 Update the reference rdbs to libreoffice-5-0
Change-Id: I6c2ee67d9e62a0159a36a1905f29deeee23a3587
2016-02-24 18:39:26 +01:00
Andrea Gelmini 64d624b651 Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Reviewed-on: https://gerrit.libreoffice.org/21209
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-10 14:17:20 +00:00
Rene Engelhard 4c18af27bf tdf#96398 kill remaining NPAPI support for plugins _inside_ LO
- probably out of date
- links against Gtk2 and thus causes a GTk2 dependency in core packages
- the only serious usecase (Flash) is doomed anyway

Change-Id: I7264ab5eb04c2f4b6c31a815e45b9818209e5ae2
Reviewed-on: https://gerrit.libreoffice.org/20658
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Reviewed-by: Bryan Quigley <gquigs@gmail.com>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-17 15:31:17 +00:00
Andrea Gelmini 9f6cb675b0 Fix typos
Change-Id: I013414cf10e25acd5216643855aaa230258a1b5f
Reviewed-on: https://gerrit.libreoffice.org/18962
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 07:03:18 +00:00
Julien Nabet 5bbff06137 [API CHANGE] XFilePicker2/3 changes for multiselection
In order to use GetSelectedFiles (in XFilePicker2) instead of GetFiles (in XFilePicker),
here are some api changes

before:
XFilePicker3 inherits from XFilePicker
XFilePicker2 is not a published interface

after:
XFilePicker3 inherits from XFilePicker2
XFilePicker2 is a published interface

+ adapt Uno Implementations

Change-Id: If44afaa7236f08bc2b814f91eda5bfad333dd799
Reviewed-on: https://gerrit.libreoffice.org/17068
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-09-15 06:17:47 +00:00
Stephan Bergmann 773aecc810 Avoid needless incompatible change
..in 9ed1dd01be "tdf#90839: support for wrapped
text in data labels and for centered data value" by moving the additional
optional property to the end; also, add missing @since tags

Change-Id: I6f8a6cb22d29ba27a109089892b8df009d1043db
2015-09-09 11:05:04 +02:00
Marco Cecchetti 9ed1dd01be tdf#90839: support for wrapped text in data labels and for centered data value
Now in a pie chart the text of a label can be wrapped, the wrapping is
automatic and the maximum text width is fixed to almost half the pie
radius. This feature is used to import correctly the relative text
wrapping property provided by MSO.

Moreover the data value and percent value of a label are now centered
horizontally, respect with the label text.

Conflicts:
	chart2/qa/extras/xshape/chart2xshape.cxx

Change-Id: Ie10d6184365436f763cd9693a5bbefcfa9b3862b
Reviewed-on: https://gerrit.libreoffice.org/17193
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-09-09 07:41:51 +00:00
Stephan Bergmann 6efbd4bb63 Do not unnecessarily break compatibility
...re 2c346d6696 "tdf#39080 Hide Whitespace UI
option added to the View menu."

Change-Id: Ib2f364dba7a50854a11f004b42c7ee22ee10e48b
2015-08-17 14:47:05 +02:00
Ashod Nakashian 2c346d6696 tdf#39080 Hide Whitespace UI option added to the View menu.
Change-Id: I1f9ba9ef489159ca54db802393d958d7fd6ac8ff
Reviewed-on: https://gerrit.libreoffice.org/17280
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-17 12:38:42 +00:00
Andrea Gelmini 7f73bb5b44 Fix typos
Change-Id: I8e429d1f03aac7c7cdb7ff4b43b3f46d40292510
Reviewed-on: https://gerrit.libreoffice.org/16709
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-07-03 08:19:04 +00:00
Stephan Bergmann b079d9f86a Update the reference rdbs to libreoffice-4-4
Change-Id: Ib1108763ebf556d2e812f077676914c4e64ddaf2
2015-04-07 18:46:26 +02:00
Stephan Bergmann d6423bcd8b Update the reference rdbs to libreoffice-4-3
Change-Id: I33953f96630d6269ffdbf83f9fc9f747178e87d2
2015-04-07 18:34:50 +02:00
Julien Nabet 5584d73f2d Typos
Change-Id: I434be0034b26ac4719590238817538ecd90b8923
2015-03-25 20:42:37 +01:00
Stephan Bergmann 709a62f9b2 Revert inadvertent modification of type_reference/offapi.idl
...from 9835bb562c "MM: export the SwDocShell mail
merge via UNO."  It shall only be edited manually when deliberately going
incompatible.

Change-Id: I19c82dca3b6537631a155629d6072b516b32ded5
2014-10-01 10:53:05 +02:00
Jan-Marek Glogowski 9835bb562c MM: export the SwDocShell mail merge via UNO
This saves the loading time for large document. Use it if you
want to present the generated document to the user or write a
mail merge unit tests.

This includes:
  * renaming "only" to "shell" at multiple occurences
  * dropping the DBMGR_MERGE_SINGLE_FILE special type for the mail
    merge wizard in favour of an additional SwMergeDescriptor
    boolean
  * cleanup and renaming of the internal merge type enums, so these
    actually  match the diffferent merge targets: printer, email,
    file and shell

Change-Id: I33c6773972195193687ba9c3e12b562310d330c1
2014-10-01 10:32:42 +02:00
Stephan Bergmann 226e242bb7 Revert needless modification of published UNO API
This reverts the part of 4452ac2322 "Fix hungarian
prefix for calendars" that needlessly changed a method parameter name in
published UNO API, which is, strictly speaking, incompatible.

Change-Id: Icd1ee34d200ebab01010d5dd35a1b19c47bfc05a
2014-06-02 16:15:49 +02:00
Isamu Mogi 4452ac2322 Fix hungarian prefix for calendars
Change-Id: I78b3c0a8d32610e86e09ab5ad6da6cc4e0395926
Reviewed-on: https://gerrit.libreoffice.org/9566
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-01 16:22:12 +00: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
Caolán McNamara 09f9a79b11 [API CHANGE] fix endCDATA to allow throwing css::xml::sax::SAXException
coverity#1158397 Uncaught exception

Change-Id: Iabf0b1f0500cb4218d8cb3aff372777471e8f287
2014-02-21 15:30:26 +00:00
Stephan Bergmann 75144495ee Published FormController cannot reference unpublished XFormOperations
...and the hack to locally introduce a bogus pupblished forward declaration of
XFormOperations with which this has been worked around in
cf5c369123 "INTEGRATION: CWS dba23b: work around
idlc limitation, which does not allow to refer unpublished interfaces as
optional entities in published services" no longer works in
offapi/type_reference/offapi.idl.

So given FormController is a (deprecated, even) old-style service (i.e., little
more than glorified commentary), the best fix probably is to demote the
problematic optional property to a comment.

Change-Id: Ia38483c817dc1762ba73315abcd4f9f063db3093
2013-11-22 18:58:19 +01:00
Stephan Bergmann 8a97f996b2 Adapt type_reference to fixes of illegal method parameter names
...UNOIDL identifiers starting with an underscore, or starting with a lowercase
letter and containing an underscore, are invalid, so occurrences of those as
method parameter names had been changed (even though changing them is strictly
speaking incompatible, but correctness trumps compatibility here).

Change-Id: I1cd2c32ff1486a13bf0218bcb7d3df5fc615ac01
2013-10-10 10:13:37 +02:00
Stephan Bergmann bf1284d34e Keep type_reference/offapi.idl at backwards-compatibility reference status
...i.e., only change it to reflect cases where we deliberately became
incompatible, do not change it to reflect compatible changes.  This reverts part
of d567671196 "fdo#57490 deprecate
IsSpellCapitalization."

Change-Id: I2ed58a1740cc22ef1ad4fdcbe04c4a0d2ef547bd
2013-10-10 09:19:38 +02:00
Thomas Arnhold d567671196 fdo#57490 deprecate IsSpellCapitalization
Change-Id: Ifd7131fd91536fd04ae1c8ab3fc5959b8070ad5c
Reviewed-on: https://gerrit.libreoffice.org/6140
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-09 13:28:37 +00:00
Stephan Bergmann 6db34b6b33 Directly build UNOIDL .rdb files from .idl files
...via unoidl-write and the new source-format registry provicers, instead of
using idlc to produce .urd files, regmerge to merge them into legacy .rdb files,
and unoidl-write to translate those to new UNOIDL .rdb files.

gb_UnoApi and gb_InternalUnoApi ctors take an additional argument now that is
the path (below $(SRCDIR)) of the source-format registry from which to obtain
UNOIDL entity definitions.  It can either be an .idl file (in which case no
*_add_idlfiles calls should be used and the resulting .rdb will contain all the
entities from that one .idl file; used in some tests to conveniently define all
test-specific entities in a single file) or a directory denoting the root of an
.idl file tree (in which case *_add_idlfiles calls specify the entites to
include in the resulting .idl file).  (In the first case, the generated .rdb
file needs to depend on that single .idl file, so the gb_UnoApiTarget ctor
contains a dependency on that additional argument, which happens, as a side
effect, to trigger rebuilds in the second, tree-based case when addition/removal
of .idl files in the tree causes updates of directory time-stamps.)

UnoApiPartTarget and all the dependency-tracking logic based on .urd files in
solenv/gbuild/UnoApiTarget.mk is gone.  Generation of an .rdb file now depends
on its source registry (see previous paragraph) and all the .idl files specified
with *_add_idlfiles (in the second, tree-based case above).

A consequence of that is that gb_UnoApi_add_idlfile, -_nohdl, and -_noheader all
do the same now.  I left them in for now anyway, maybe they become relevant
again when the use of cppumaker is changed to read directly from a source-format
registry instead of going via a .rdb registry.

The legacy tools idlc, regcompare, regmerge, and regview are still contained in
the URE or SDK for now.

cb344cd59e "Revert 'Looks like idlc resolved
typedefs inside sequence<...>'" is re-reverted as now "the current offapi.rdb is
generated via unoidl-write instead of idlc."

Change-Id: I3d9d92f17326bc9f49dd934c85aab6a17951d06d
2013-09-19 15:50:04 +02:00
Stephan Bergmann cb344cd59e Revert "Looks like idlc resolved typedefs inside sequence<...>"
This reverts commit 4bcc515356, which needs to be
held back until the current offapi.rdb is generated via unoidl-write instead of
idlc.
2013-09-19 12:10:05 +02:00
Stephan Bergmann 4bcc515356 Looks like idlc resolved typedefs inside sequence<...>
...so manually fix that in the reference rdb that had been generated from legacy idlc output.

Change-Id: Iaa5545222be762f6573d1f4165604229fccad191
2013-09-19 11:55:55 +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