Commit Graph

342146 Commits

Author SHA1 Message Date
Andras Timar
99159a618f fdo#73698 check for empty aOut
Change-Id: I0da26ef746553618bd8aee69f21ff0d1261efbf6
Reviewed-on: https://gerrit.libreoffice.org/7474
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-01-17 06:09:55 +00:00
Adam Co
0853bbc380 Small efficiency fix - move command out of loop.
Change-Id: I790c3a8363f611ca10c6d816613848ec6f39c515
Reviewed-on: https://gerrit.libreoffice.org/7465
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-01-17 06:07:03 +00:00
Takeshi Abe
12ca5ec6f4 Drop unused #include
Change-Id: I06d3b5dde967a424df1ad20ab2c02878c7d0fbb9
2014-01-17 10:29:01 +09:00
Bjoern Michaelsen
7f7a0275be fdo#71511: reload ColorConfig after tweaking relevant a11y settings
note that the autodetect HC option is somewhat broken anyway:
it resets the icon theme hard, so there are not simple roundtrips
enableing/disabling it for that, but those havent been there before
either.

Change-Id: Ia35a41717224dfb7437054bb885c61d7e0b189d7
2014-01-16 23:38:30 +01:00
Tor Lillqvist
31321832dc More source files for easier debugging
Change-Id: Ie17504bfb991503e1790ea8a696768fb90c116a2
2014-01-17 00:17:03 +02:00
Tor Lillqvist
1284078c39 Add sources from vcl/headless and drop not compiled sources from vcl/quartz
Change-Id: Ie0fbacf01fcde8cb50b660e7976471a2d3bb9edc
2014-01-17 00:17:03 +02:00
Tor Lillqvist
48969eb444 Move SvpSalGraphics::SetVirDevGraphics() for iOS out of the header for clarity
Change-Id: I88c0ed27a492b57a0258a7ec211109a9e2552b99
2014-01-17 00:17:02 +02:00
Tor Lillqvist
d1ba55a28c Indentation fix
Change-Id: Iab16c4ff664f9bcc53458e5f7c249d3fb030fe07
2014-01-17 00:17:02 +02:00
Tor Lillqvist
5adc0674a7 Export CROSS_COMPILING=YES, if set, while running the configure script
It can thus be used in a pkg-config replacement wrapper that makes pkg-config
look in an appropriate place, which typically is needed when not using a
proper cross-compilation toolchain. (Such would come with an own copy of
pkg-config.)

Change-Id: I4c746206cc67ed7a428833f03b9d3aad250d31e1
2014-01-16 23:38:41 +02:00
Tor Lillqvist
ad478d812f Need more modules when cross-compiling to a desktop platform
Because gengal.

Change-Id: I679177b8bade42787dc921a500679c53278029d1
2014-01-16 23:38:41 +02:00
Tor Lillqvist
cbc0ad34d8 If this is Windows specific, it can be inside ifeq ($(OS),WNT)
This also prevents a weird problem I see when cross-compiling in one tree (but
not in other trees for other cross-compilation targets).

Change-Id: I102e652c259a66ea124b344bd229e8988801ac58
2014-01-16 23:38:41 +02:00
Tor Lillqvist
38b4030703 Avoid warnings: unused parameter
Change-Id: I92fd33e020772eac735f133f467207da9635e9b4
2014-01-16 23:22:44 +02:00
Michael Stahl
2770bfd868 sw: CppunitTest_uiwriter has grown a dep on msword library
Change-Id: Ia991a4c85a9e79f03d0f3fb45d6daeed5db27c39
2014-01-16 22:11:41 +01:00
tsahi glik
62c7ba40c7 fix compile break on macos 2014-01-16 13:12:12 -08:00
Miklos Vajna
278bbb4dc8 writerfilter: remove unused tokens in doctok
Change-Id: I6e3739143c30d1920423bd09126e9f3b35de2914
2014-01-16 22:04:22 +01:00
tsahi glik
a5351434fb fix rendering issues in iOS with aqua 2014-01-16 12:55:57 -08:00
Michael Stahl
2646b1594d cppuhelper: valgrind complains about uninitialized variable...
... cppuhelper::ServcieManager::Data::Implementation::dispose

Change-Id: I70a96e608f17eb6630326bbf32fff5fb5d7d4569
2014-01-16 21:50:59 +01:00
Bjoern Michaelsen
7b0e8b9c85 fdo#71511: in autodetected a11y HC mode, pull background color from theme
- dark theme default to high contrast
- as per fdo#35365, having a dark document background is inconvenient
  for non-a11y endusers
  - a11y standard require the (rather ugly) background for a11y
  - thus, when "automatically detect high contract mode of operating
    system"
      in Tools->Options->a11y is enabled, use the dark document
      background
        by default, otherwise use a white default

Change-Id: Id8ad1eb3d57b3708ac5a241092208e3a8d98ade0
2014-01-16 21:45:17 +01:00
Bjoern Michaelsen
43bfe1ecb8 always build an empty DbgUnhandledException, to allow debug=t builds without --enable-dbgutils 2014-01-16 21:45:17 +01:00
Caolán McNamara
a0fdc73984 Related: fdo#73414 use frame::XDispatch::dispatch directly
This hopefully is a model which we can build in further
to remove the rest of the direct SID... stuff and the fragile
mapping from the known .uno: commands to SIDS to dispatch, and
instead just dispatch the .uno: command directly

Change-Id: Iec0f92123fa4c2dae15e0ac716d5ef687e67da79
2014-01-16 20:38:23 +00:00
Caolán McNamara
36e590ee00 make use that these VclBuilders have an XFrame to expose its dispatch
the sidebar widget-layout enabled panels could use frame::XDispatch::dispatch
to send their commands directly rather than mapping back to SIDS and Executing
those, which would allow removing piles of weird-ass stuff

Change-Id: Ibbff56d4fb96820d3bdbf4b1cb582d25337fe48b
2014-01-16 20:37:54 +00:00
Maxim Monastirsky
75043c23c7 fdo#73414 Remove Increase Font limits for Writer
and re-use the same code in sidebar.

Change-Id: Ic342be479f6f5b23ea2dd79b7cf6c77897b27dc1
Reviewed-on: https://gerrit.libreoffice.org/7398
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-16 20:37:23 +00:00
Kohei Yoshida
8c3b6b34ce fdo#73655: Write unit test for this.
Change-Id: I0409e3c482d8a833672f41b1398333e5181847af
2014-01-16 14:34:44 -05:00
Kohei Yoshida
982a03d4e2 fdo#73655: Don't adjust formula tokens on non-top shared formula cells.
Only adjust tokens for non-shared formula cells and shared formuls cells
that are the top of their respective shared groups.

Change-Id: I9cd57653602c97504a802001947a28c4d03368a5
2014-01-16 14:34:44 -05:00
Stephan Bergmann
7b3e7c46d7 Assert SwReaderWriter::GetReader returning non-null
...happened to fail for me once, for unclear reasons.

Change-Id: Idf88ff4952924a814e465b039fbae384691ba7a6
2014-01-16 18:40:06 +01:00
Stephan Bergmann
3557c07899 Revert "Revert "sfx: Use constructor feature for SfxGlobalEvents_Impl.""
This reverts commit ef37781683, now that
constructor function support for singleton implementations is in place and the
proper singleton theGlobalEventBroadcaster has been introduced (and drops
sfx_component_getFactory completely, which had become unused except for
SfxGlobalEvents_Impl in the meantime).

Change-Id: I2d587989dd0a1fbea6fe75f7dc2af954ac81c4ed
2014-01-16 18:40:06 +01:00
Stephan Bergmann
62951cdd17 Introduce com.sun.star.frame.theGlobalEventBroadcaster singleton
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance
service.

Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
2014-01-16 18:40:05 +01:00
Stephan Bergmann
997d211833 Support for singleton constructor functions
The service manager now keeps track of instances of singleton implementations
(i.e., implementations whose XML description lists at least one
<singleton ...>).  These instances will be disposed either when the service
manager is disposed, or, for instances that have been instantiated into the
component context's /singleton/* map, when the component context is disposed.

This change allows to use constructor functions for such singleton
implementations, too.

Change-Id: I220c9ddc9824e4d7f7556daefb599e2ec36b0e6c
2014-01-16 18:40:05 +01:00
Fridrich Štrba
9c46e4069d No need to use the stuff from inttypes here
Change-Id: I8d80a8ff223d7c57f7efe808e07ac31aa4d521fd
2014-01-16 18:20:45 +01:00
Stephan Bergmann
4210bba0b3 Missing adaption to WriteSvPersistBase
...introduced in c648d08720 "convert
SvStream::operator<< overloads to more explicit methods."

Change-Id: I8343cd3d1e92ccd3ca3fc6292ebd1114ada444e1
2014-01-16 18:13:02 +01:00
Christian Lohmaier
4bddd280f2 tweak paddings in landcape mode (maximize space for preview & notes)
add minimal padding around slide preview (to not touch actionbar and
bottom of screen - horizontal whitespace will be larger becasue height
is limiting factor anyway)

avoid adding two left-paddings for the notes - the Text is "indented"
compared to the notes area already, so margin implied by the layout
weight distribution and the text indent is enough to separate it from
the preview.

avoid adding two right paddings for the note-text, as the text is not
justified and the word-break itself will account for a "padding" at the
edge, and the container already has a right-padding (that was reduced,
since the word-padding as well as centering in the unused space will
increase the effective margin)

Change-Id: I2a4605ba5a98eeed93a01db16d3d86c90df56470
Reviewed-on: https://gerrit.libreoffice.org/7230
Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com>
Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-01-16 15:58:28 +00:00
Sven Wehner
77ad201119 Translate German comments to English in vcl/source/filter/sgfbram.cxx
Reviewed on:
	https://gerrit.libreoffice.org/7467

Change-Id: Ia0a7718123c293cba5adc95a3bc00534072e7296
2014-01-16 16:53:25 +01:00
Andras Timar
da67f5b162 Environment variables can contain >127 characters
Change-Id: Iaeb690429d835ab2e6c13a8890a1b27b9405796a
2014-01-16 17:00:32 +01:00
Christian Lohmaier
7e08428ceb add support for double-tap to go back a transition
by replacing the onClickListener with an onTouchListener with the simple
variant of the GestureDetector.

Also drop the check that prevents going to the "end-of-presentation,
click to exit" slide and exiting the presentation that way.

Change-Id: I54b49bf11929ad9415b8c85581fe16998ab3a7a7
Reviewed-on: https://gerrit.libreoffice.org/7107
Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com>
Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-01-16 15:47:32 +00:00
Christian Lohmaier
4d6244cc80 remove BluetoothOperator wrapper
it is just another obfuscating layer of one-command-function calles that
can as well be called directly.

If you really want to get the path to aquire the bluetooth adapter
differently, based on a runtime check, a single method to retrieve the
adapter is enough in any of the classes. No need to wrap the whole
adapter's api in your own class.

Change-Id: I2c631321dcf8ef143fe58a0a8246e010169409ac
2014-01-16 15:46:40 +00:00
Christian Lohmaier
f5d14e0234 only autostart discovery when there are no known devices
and don't loop autodiscovery, provide a manual trigger button instead.

Bluetooth discovery is a hefty process and thus should not be done
lightheartedly. Moreover discovery won't even list devices that
are already bonded, but not set to visible. As you will be more likely
using the remote with the same devices, it makes sense to list the
known devices and only do discovery on explicit request/when there are
no bonded devices yet.

Fix a lifecycle problem (as the service would be quit on
screen-rotation as the only bound client is destroyed/restarted - start
the service instead to let it keep running, and only stop/release it
when finishing)

icons from Android's ActionBar Icon Pack, shrinked using optipng

Change-Id: Ie8467f942df1aab2d64b337fc7a6f816b9d658a6
Reviewed-on: https://gerrit.libreoffice.org/7091
Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com>
Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-01-16 15:46:05 +00:00
Christian Lohmaier
78b0b970fd Use only one layout, with a dynamically sized PagerAdapter
it is more straightforward to only have one viewpager that can be
flipped through. This makes it easier to restore the user's default way
of connecting (bluetooth via wifi) and also simplifies the setup and
the what-tab-am-I-on checks.

* Remeber what tab (wifi/bluetooth) the user last used and restore that
  on next launch
* respect Android's guidelines and ask the user whether Bluetooth should
  be enabled when the user switches to the BT tab and BT is disabled.
  → if the user declines, select wifi tab instead

Fix a lifecycle problem (bt connection would be cut if bt was not
enabled before launching the remote, only restore disbled state if
really finishing, not on configuration change like rotating the screen)

Change-Id: Ice3a5c877a2a4810a80a0f76edea713700fe9c8c
Reviewed-on: https://gerrit.libreoffice.org/7090
Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com>
Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-01-16 15:45:08 +00:00
Christian Lohmaier
c0693031a7 get rid of some useless indirection/wrapper functions
there's no point in adding a layer of indirection if all that the called
function does is running one single command, and is only called in one
place. Getting rid of that indirection makes the code easier to read and
understand.

Change-Id: Ie2f3e03fe2870d1d4a84df738ebb3d0f34a2713c
Reviewed-on: https://gerrit.libreoffice.org/7089
Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com>
Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-01-16 15:43:24 +00:00
Andrzej Hunt
17e7bc358f Revert "fdo#60486 Fix auto-enabling bluetooth and improve bluetooth handling."
This will be superceded by the following sdremote improvments, which
would otherwise have path conflicts due to this patch.

This reverts commit 3cc31f8978.

Change-Id: I49f004d068fdf852f5690e365a17168b001b9136
2014-01-16 15:42:38 +00:00
Chris Sherlock
6d87a2c28f fdo#39468 translate more German comments, etc.
* Translated some more German comments
* Some typos corrected
* Removed useless comment decoration

Change-Id: I40176e23983193e5087f48cf7d7b8e5eb339d6c6
Reviewed-on: https://gerrit.libreoffice.org/7463
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-16 15:40:53 +00:00
David Tardon
c20db8735e Revert "impl. enumeration for ZipPackage"
This reverts commit 5b2cca80ee.
Also reverts commit 86a5053df0.
2014-01-16 16:40:00 +01:00
David Tardon
04a9214fbf css::packages::Packages is a wrong choice
Change-Id: I7d27e7f320633c176fb9fb0a5f64e891fff6c4d7
2014-01-16 16:40:00 +01:00
David Tardon
28619201e9 do not close input, unless it was us who opened it
Change-Id: I6ffedd1e64e48b4fc4bd6f5eb63e96b49f1a8508
2014-01-16 16:39:59 +01:00
Chris Sherlock
7d432a9e67 Remove defines now that fontconfig baseline has been updated
Change-Id: Ia97ab24e60785be36f475f6bf275a0ae336e9408
Reviewed-on: https://gerrit.libreoffice.org/7461
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-16 15:39:09 +00:00
Chris Sherlock
ee99613941 Move fontconfig baseline to 2.4.1 (RHEL 5 version)
Change-Id: Ie79f534e7f5aa8fc9a87996c68e1251260403f66
Reviewed-on: https://gerrit.libreoffice.org/7460
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-16 15:30:12 +00:00
Christian Lohmaier
233a15e3aa move from ActionBarSherlock to corresponding android support lib
UI wise would makes the app compatible with android api level 7,
but other utility functions require higher level (8 for Base64 and 9 for
TimeUnit)

explicitly set the allowBackup flag and raise tested/targeted version to
api level 17

also add tool-annotations to please android-lint

Change-Id: I528e34acdeeecea6d20e8bea21b1d5c203e17c95
2014-01-16 15:19:54 +00:00
Caolán McNamara
5eaa0135c3 place some elements side by side to regain a line
Change-Id: I9b838b6c00bc6e456adcf5d63c9936c08bf0d1aa
2014-01-16 15:18:33 +00:00
Oliver-Rainer Wittmann
4b6b51182a Resolves: #i124030# do not delete UNO mark which are not expanded...
and only touch the start of the given range.

(cherry picked from commit ae295f7d009842cdceb50c4daffe948ede2b4b88)

Conflicts:
	sw/source/core/doc/docbm.cxx

Change-Id: Id7317eeb8e9c063c9d8b30bca97ed0afee3ec8c5
2014-01-16 15:18:33 +00:00
Michael Stahl
c2b002ba96 sw: the Assign Styles dialog is not called Insert Database Columns
Change-Id: I96e0ee5fa0c7e45989cee663378d2ea7516fddfe
2014-01-16 16:08:35 +01:00
Michael Stahl
77a637fb8d fdo#73043: sw: fix Index/TOC Assign Styles dialog
SvTabListBox::GetEntryText(pEntry, 0xffff) will append 10 tabs to the
returned string, so it will no longer be equal to a style name.

(regression from 77173d8954)

Change-Id: I7d3bee47eabec9180d6352fb6cf1b2e948153d37
2014-01-16 16:08:35 +01:00