Commit Graph

11333 Commits

Author SHA1 Message Date
629dd9dae1 Remove SSOExceptions.idl
Change-Id: I930603bfcee8084eae0a086d3ce02182b8b13541
2012-08-14 14:41:03 +02:00
213938438a Applied fdo#46808 to offapi/auth module
For auth module, this is more like a cosmetic change :)
Anyway, all the tests passes and this is one more module
migrated.

Signed-off-by: Stephan Bergmann <sbergman@redhat.com> with additional changes:
* Kept the odd SSOExceptions as noheader instead of nohdl.

Change-Id: Iaef3b4ab8c29526be8d0a388fc17e6af5d293c81
2012-08-14 14:41:03 +02:00
a334c46850 Tool to ease rdb file update to work on fdo#46808
Add a simple shell script to ease the regeneration of
types.rdb. This is a bit tricky to do and error prone.
I hope it will encourage people to work on fdo#46808.

Signed-off-by: Stephan Bergmann <sbergman@redhat.com> with additional changes:
* Moved offapi/update-rdb.sh to offapi/type_reference/update-rdb.sh, to make
  clear that it is all about offapi/type_reference only.
* Changed update-rdb.sh to take a list of idl files, so that a single instance
  of the script works for both offapi and udkapi.
* Some more simplifications/clean up of update-rdb.sh.
* Removed the udkapi/update-rdb.sh symlink (to avoid potential problems with
  symlinks checked into the git repo, like on Windows).
* Undid accidental(?) changes to typelibrary_history.txt, added a note about
  update-rdb.sh.

Change-Id: Ic1923e2b2b3af64251019b619b33c728a05b4a14
2012-08-14 14:41:02 +02:00
fc29987385 Remove comment art from offapi and udkapi
I used this "one-liner" to detect comment lines containing
only spaces and '=' or '-'

$ find . -name "*.*" -exec sed -i '/^\s*\/\/\s*[-=]*\s*$/d' {} \;

Change-Id: Iac589765c8c2e7c3ad9c487d57e48b4fd4439f07
2012-08-12 19:29:16 +02:00
6dcb3d4ef4 Related fdo#51252: No more prereg, no more unopkg sync
Now that 5c47e5f63a79a9e72ec4a100786b1bbf65137ed4 "fdo#51252 Disable copying
share/prereg/bundled to avoid startup crashes" removed the use of share/prereg,
there is no longer need to generate it in the first place (by calling "unopkg
sync" at build or installation time), and so no need for the "unopkg sync" sub-
command, either.  This also allows to simplify some of the jvmfwk code that was
only there so that "unopkg sync" (which can require a JVM) can work in "hostile"
environments (during build and installation).

Change-Id: I52657384f4561bf27948ba4f0f88f4498e90987f
2012-08-10 16:03:28 +02:00
5300f6f711 fdo#53006: Remove user/extensions/bundled cache after upgrade
... to clean out all sorts of inconsitencies that can have accrued there over
time apparently due to how the mechanism of copying share/prereg/bundled worked,
and to work around stale $BUNDLED_EXTENSIONS_PREREG references in a better way
than the previous 81fd6b084b0f3c0eb5a97c77592f5ceb21d2dfb1 "fdo#53006 Force
reinstall of all bundled extensions on upgrade."

See the comment on refreshBundledExtensionsDir for how, at least in theory, that
functionality could be removed again in the future.

This effectively reverts 2d2b19dea1ab401b1b4971ff5b12b87bb11fd666 "Force
ExtensionManager resync when the implementation changes" and
81fd6b084b0f3c0eb5a97c77592f5ceb21d2dfb1 "fdo#53006 Force reinstall of all
bundled extensions on upgrade" (the latter at least on master; it had never been
cherry-picked to libreoffice-3-6), which it obsoletes.

Change-Id: I8f80c07a06ec9d53b03813338eeff7d7757c9d4d
2012-08-09 14:36:54 +02:00
85e94e11bc remove empty ascii boxes and stuff II
Change-Id: I7fc113f8d59f7c82bae6acace7bf4230b4c2bbea
2012-08-07 18:08:29 +02:00
34569eb28f drop bogus eof lines
Change-Id: Idda2852c3e96ce15fde75d5a95369ec50a012410
2012-08-07 13:45:27 +02:00
81fd6b084b fdo#53006 Force reinstall of all bundled extensions on upgrade
...as the per-user data about bundled extensions can otherwise contain stale
$BUNDLED_EXTENSIONS_PREREG references if the old installation used
share/prereg/bundled/, the new one does not (cf. the fixing for fdo#51252 "LO
cannot start (reports runtime error with Visual C++ Runtime Library)"), and a
bundled extension did not change version.

It is safe to tie this behavior to the existing "force" parameter of
dp_misc::syncRepositories, as the only place that calls it with force=true is
the call to Desktop::SynchronizeExtensionRepositories(newInst) in Desktop::Main,
where newInst=true is the relevant condition for this behavior, too.

As stated in XExtensionManager.idl, "this [...] can go again once no exisiting
UserInstallation's user/extensions/bundled/ data can contain any
$BUNDLED_EXTENSIONS_PREREG references any longer."

Change-Id: I630dec8f2d20282ee47c65ac61ed2c9b062448e1
2012-08-02 18:26:39 +02:00
753e9b3d45 udkapi, offapi: do not use #include "foo":
Evidently on Windows, the newfangled ucpp handles #include "foo"
differently from #include <foo> and treats it as a relative path, while
the angle brackets always result in absolute paths.
Since relative paths result in infinite rebuilds if make is invoked in a
different directory, don't use #include "foo" in IDL files.

Change-Id: Iedcda3a4be5542389a0be086f14541cda8dc5323
2012-07-30 20:49:09 +02:00
8eeddcdbb5 fdo#35973: XConfigurationController:
Remove that horrible IsDisposing method, much easier to just put the
call to SaveResourceState into the disposing() handler that is called
anyway (well, should be called now, previously the ResourceManager
wasn't registered...))

Change-Id: Ia81f6bf47602b195c0326f2151393542f5f8b9ec
2012-07-27 15:18:12 +02:00
61679f9b7a fd0#35973 - [EasyHack] Remember the state of the sidebar pane in Impress
Change-Id: Ie287bc1c545bd8986ee3509181c878bdcd0d1942
2012-07-26 21:38:47 +02:00
b391778d81 offapi: update types.rdb to what is shipping in LO 3.6.0.3
Also fixes annying warnings about removed types:
WARNING: could not open key "/UCR/com/sun/star/oooimprovement/XCore"
WARNING: could not open key
"/UCR/com/sun/star/oooimprovement/XCoreController"
WARNING: could not open key "/UCR/com/sun/star/oooimprovement/Core"
WARNING: could not open key
"/UCR/com/sun/star/oooimprovement/CoreController"

Change-Id: I1c09f1de42ed558bc22cc8a90d2c0fee2ca3a1da
2012-07-26 21:02:11 +02:00
cf7c9599e7 Make comphelper/configuration.hxx work for localized properties
See aebf5bf22304c73e121b16dc0b51f909c5f34c28 "fdo#52232 ConfigurationSet wrapper
unusable for localized properties" for a discussion of the problems with the
original design.

1  Redesigned configmgr's localized property access to understand ['*<locale>']
paths that select the best existing value match for the requested <locale>.
Adapted ConfigurationWrapper::getLocalizedPropertyValue accordingly.

2  Redesigned ConfigurationChanges to fix the locale at instantiation time.
That takes care of ConfigurationWrapper::setLocalizedPropertyValue,
ConfigurationWrapper::getGroupReadWrite, and
ConfigurationWrapper::getSetReadWrite.  (This required an additional constructor
parameter for the ReadWriteAccess service, to specify a locale at instantiation
time.)

3  Redesigned ReadOnlyAccess to be a service that fixes the locale at
instantiation time.  That allows to take care of
ConfigurationWrapper::getGroupReadOnly and ConfigurationWrapper::getSetReadOnly.

Change-Id: I2ae7342b278b6f4222a0189a1deb2a53e204059f
2012-07-25 19:10:19 +02:00
b11e923a50 SwPostItField: add aName member
To handle roundtrip of office:name in ODF.

Change-Id: I35dab189f7b9b8191ca92c647332e2271d4806f9
2012-07-20 15:20:50 +02:00
36270776a6 SwPostItField: added aInitials member
Change-Id: I9cc8dcd2c8e1d9074b58195d37289a9b4cfe43cf
2012-07-16 09:52:04 +02:00
1340890ccd simplify include guards
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-14 05:44:15 +02:00
84493425a1 merge HeaderIsSharedFirst and FooterIsSharedFirst to FirstIsShared
sw document model, xmloff and offapi supported these separately, but sw
layout did not. It turns out it's not needed for Word interop, either,
so better to just merge these, instead of implementing them
independently without a good use-case.

Change-Id: I5c3b334baa09cabec123745c7af3d65d830754fc
2012-07-09 11:25:41 +02:00
9c8dc01d3a Merge branch 'feature/pdf-signing' 2012-07-09 10:16:17 +03:00
786f730ea2 Add new chooseCertificate method to XDocumentDigitalSignatures UNO interface.
This method shows the certificate choosing dialog previously used in ODF
signing and returns the selected certificate. For PDF signing support,
we need to reuse existing CertifacateChooser class of xmlsecurity module.
So the UNO api of ::com::sun::security::XDocumentDigitalSignatures is
extended.

Change-Id: I09f7d0ee180b16b588798820206780df359d133e
2012-07-07 19:08:48 +03:00
dba6a28096 sw: initial HeaderTextFirst / FooterTextFirst
The header/footer text for the first page can now be written (document
model ready), but layout doesn't take it into account yet.  Also,
SwDoc::ChgPageDesc() has some copy&paste, will fix that soon.

Change-Id: Ic28659f028e7db4aa1b6eefc76a4e672127e2c98
2012-07-02 15:42:46 +02:00
2af8619ac0 BorderLine2.idl: add missing since tag
Change-Id: I0c3763289d6ad55acbeb93940a82c88650e33a28
2012-07-02 11:26:52 +02:00
5b021a1f0d sw: initial HeaderIsSharedFirst / FooterIsSharedFirst
It's just like HeaderIsShared / FooterIsShared, enabled by default when
header / footer is on. It does nothing yet, but it's read-writable.

Motivation: https://wiki.oasis-open.org/office/HeaderFooterFirst

Change-Id: I1ccfd0aedd1ac71e9f39b7fd43754264afafc1ef
2012-06-29 16:00:20 +02:00
daaa550121 Pass also scale and offset to createScreenCompatibleDeviceUsingBuffer()
Pass on to VirtualDevice where used to set the MapMode of the device
appropriately. Adapt DocumentLoader, use to scale the page rendering
to exactly fit the virtual device.

Change-Id: I4b0bc67e12114d3d9d493ff1aca2ef5d2cc78912
2012-06-18 22:38:41 +03:00
63607e9e07 re-base on ALv2 code. 2012-06-12 14:56:28 +01:00
44ecd01333 Add css.awt.XToolkit2
Work in progress for Android, and possibly iOS, too.

Change-Id: If65765cd781bf1bd28ce96af01adedc07d0eebae
2012-06-11 09:26:53 +03:00
204555c107 Renamed FILE to DOCINFO_TITLE, which is more appropriate for this field.
Change-Id: I1267629da8b66fc21c4ae2e78634c2093274aa61
2012-05-14 12:09:57 -04:00
ee5fc5d25f Removing EXTENDED_DATE. There is really no such thing.
This can be safely substituted by the normal DATE.

Change-Id: I I6b4ccfa342a8d7b638b013cdce64a0b7ff477ec0
2012-05-11 13:04:09 -04:00
eeb9212531 Better names for presentation specific field item types.
Change-Id: Ib9bea60e05f1dcdd9501a3320f3b1185d5890d17
2012-05-11 01:54:40 -04:00
17b900c657 Added UNSPECIFIED to textfield::Type.
Change-Id: I28fbab54ba71f01b989a47ab357583113e85fccb
2012-05-11 01:54:40 -04:00
c0b6e3e93c New UNO API to deal with text range selections.
Change-Id: I Ie868d9d2d8d56459f2013d91f836736cd3fd4d72
2012-05-08 14:23:04 -04:00
194785f8b0 Added new constant group to enumerate text field types.
Change-Id: Iee2cd5994ce5145e3449dd5b62309ae3cee6603d
2012-05-05 11:10:17 -04:00
0ae9489290 offapi: missing @since 2012-05-02 20:09:34 +02:00
042da09216 finish handling of w:pStyle in numbering (bnc#751028)
Now each such numbering should be properly assigned to the given paragraph
style.

Change-Id: I97a796dfb3f4a46f0fee0663852b3a40c3eaa922
2012-05-02 17:42:24 +02:00
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02:00
fdbc6b768c Do not accidentally instantiate other exts when removing exts at startup 2012-04-26 16:07:11 +02:00
c581e32618 fdo#48870: Remove cookie handling code. 2012-04-26 09:38:10 +01:00
85ef81f318 idl fix symbol references 2012-04-20 12:57:51 +02:00
dc6e942da0 fix idl #include guards 2012-04-20 12:57:51 +02:00
5040115c98 idl #ifndef fix 2012-04-20 12:57:50 +02:00
7dbbb51f78 idl type reference fixed 2012-04-20 12:57:50 +02:00
3030a3a52f offapi: remove obsolete XInplaceLayout (2nd try)
This is related to 10e580c57b907420e8c6d816325445a40a720e4a
2012-04-12 11:39:13 +02:00
4a271bf4d2 gbuild: "use" vs. "add" 2012-04-08 14:53:06 +02:00
7545dbbf64 merge feature/gbuild_components 2012-04-06 14:31:05 +02:00
c730a9de1b this methods don't throw, adapt documentation 2012-04-02 21:21:14 +02:00
01550b2968 Improved comment (after recent clean up) 2012-04-02 20:44:40 +02:00
3893b00efb fdo#46808, Adapt UNO services to new style
Update selected IDL files to use new syntax.
Update the makefiles to generate the necessary new include files.

Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-04-02 20:44:39 +02:00
59c0f8f452 merge origin/master 2012-04-01 12:21:00 +02:00
484b44b39b Changed some wording. 2012-03-28 14:12:31 -04:00
7827856113 document queryContentCells limitation
add also a missing </p> in previous paragraph
2012-03-28 14:04:34 -04:00