Commit graph

310777 commits

Author SHA1 Message Date
Takeshi Abe
2eb40e3cec Remove a member variable no one reads
Change-Id: Iacb037bebaf1c3d77ab61be6342b42319b8a2e7b
2012-08-09 22:33:03 +09:00
Michael Meeks
fbf9794729 fix typo in make_installer.pl
Change-Id: Icc0f1d1e91c704282bfd18b6218bf0659cccb63e
2012-08-09 13:43:14 +01:00
Stephan Bergmann
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 81fd6b084b "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 2d2b19dea1 "Force
ExtensionManager resync when the implementation changes" and
81fd6b084b "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
Stephan Bergmann
6c6358a682 Related fdo#53006: Do not instantiate service manager too early
... in soffice_main calling GetCommandLineArgs, before Desktop::Init takes care
of synchronization of the per-user bundled/shared extension information (as the
latter potentially modifies data that the service manager consumes upon
instantiation; this e.g. lead to bundled extensions not working during first
start after an upgrade).

The only reason GetCommandLineArgs needed ensureProcessServiceFactory appears to
be the ExternalUriReferenceTranslator.  So defer its usage to when the relevant
cmd line args are actually processed (which, luckily, does not yet happen in
soffice_main's usage of GetCommandLineArgs).

Change-Id: I6ebbf0a4ad1c6f64c8fbbe2b0d7628fa42a1afb6
2012-08-09 14:36:53 +02:00
Caolán McNamara
7e071e5383 remove some unused methods
Change-Id: I8b89f49eff059f5650bfb531bcb568db1d97c3a3
2012-08-09 12:47:03 +01:00
Caolán McNamara
16f75f1f77 reduce static_initialization_and_destruction chain
Change-Id: I9fdefd428b858fd5581412d6f8e896a0eb680fef
2012-08-09 12:47:03 +01:00
Caolán McNamara
490b51371d String::AllocBuffer -> rtl::OUStringBuffer
Change-Id: I9fa73190aa68c5c19fcf76b327dca6942697cf2a
2012-08-09 12:47:03 +01:00
Michael Stahl
6292b12acf gbuild: add a kludge to get dictionaries to build in cygwin:
Due to the scourge of symlinked git repositories, building the
configuration files in dictionaries fails on cygwin because the native
xsltproc cannot understand cygwin symlinks; work around that with a
new gb_Helper_symlinked_native function.
Should be reverted once git sub modules liberate us from the scourge.

Change-Id: Idc48da9b60348dc66160219909479c3c83daeaf2
2012-08-09 13:11:36 +02:00
Tor Lillqvist
97febaa3e2 Drop the --with-external-tar to avoid confusion
Change-Id: I8861a007b94b24d2482658ca7d78e200bcf890ea
2012-08-09 14:09:31 +03:00
Julien Nabet
8b13238c45 Fix last duplicated lines for Python files
Change-Id: I22cbba9c574835c3e47dadb70d3c293b79e57325
2012-08-09 12:59:15 +02:00
Tor Lillqvist
a606fa37da No, we don't want any Python stuff for Android
Change-Id: I227c408e03130667760f9672f08b11cc7a9c75a8
2012-08-09 13:52:40 +03:00
Noel Power
56b0b2cbc0 misc comment import/export fixes
a) fix vmldrawing.vml for xlsx export ( changed from frame to textbox, added
support for shadow element with attributes, shadow color, shadow obscured )
b) use proper fillcolor attribute
c) detect whether note/comment is shown on import
d) export state of note ( shown/hidden )

text position still not perfect, we still are missing some attributes to control
that.

Change-Id: I59b446175217479ce7960287aa540df8c6b2b1ea
2012-08-09 11:42:24 +01:00
Julien Nabet
28b3a290ce Others duplicated lines
Change-Id: Ief9589bd3ab0d4fd359dc18f85063dece29f4833
2012-08-09 12:27:42 +02:00
Miklos Vajna
5c6454f07b fdo#52960 SwCursor::SelectWordWT fix text selection in commented text ranges
Change-Id: Iabb1ac89163c2aa715c7631987886245fb96101c
2012-08-09 12:12:55 +02:00
Tor Lillqvist
ab236e180c Update sample autogen.lastrun for MacOSX -> Android
Change-Id: I5f62540c368540ecf4e1aaedf9829f930f1591fa
2012-08-09 13:02:05 +03:00
Caolán McNamara
069caf79d7 valgrind: use after free
i.e. since b35980d9b

seems remove, remove, delete was old pattern, new patterns ended up
as remove+delete, remove. Reorder to remove, remove+delete

Change-Id: I54ec8d0296e751110c516516465be2ac0615f6a1
2012-08-09 10:50:38 +01:00
Jan Holesovsky
9c9cf6ed4a Minor cleanup.
Change-Id: I087043b36d59e1a76c6fe12a5a684c4137eca2d9
2012-08-09 11:30:35 +02:00
Caolán McNamara
3a1c8eeb69 rtl::OUStrings are supposed to be immutable
The cast away of constness in d64ecf4e94 makes me
feel icky

Change-Id: Ib977fd6bf34f11407a5957332789e1e48d98819e
2012-08-09 10:06:44 +01:00
Caolán McNamara
b61dd40898 ensure placeholder substitution on XclImpDrawObjBase::ReadObj8 failure
Change-Id: I7a72153d971aaccea937955acc77cdba128985d7
2012-08-09 10:00:50 +01:00
Miklos Vajna
d64ecf4e94 SwFltShell::QuoteStr: UniString -> OUString
Change-Id: I64daedac350d5e897fa8acb79c4c2683a669725b
2012-08-09 10:24:25 +02:00
Tor Lillqvist
3adeac41a0 Reduce the legacy.osl logging verbosity here, too
BTW, do we really need/want this (outdated) fork of DocumentLoader?
Either LibreOffice4Android should use the "real" DocumentLoader class
(and that should then be modified as necessary, but making sure it
still works as a separate test app), or this fork should be called
something else and be radically different.

Change-Id: I8536336140ee0190d01d35dde1a4c78e7b22c6bd
2012-08-09 10:57:51 +03:00
Tor Lillqvist
cc37b54230 Silence the annoyingly verbose vcl OSL_TRACEs
Change-Id: Ibd7c6ac56e56cf0e3e706a905603ef1a17a4579c
2012-08-09 10:53:42 +03:00
Tor Lillqvist
e8533bb028 Fix edit mistake, the point is to not include the SDK build.xml here
Change-Id: I3cfd5819be8075869906dac3b963b4d0b2cf2890
2012-08-09 10:53:41 +03:00
Caolán McNamara
919632bd5e validate polypolygon point counts
Change-Id: Ibf6bdf48e5855583f14cd2be36f1e4896a396d32
2012-08-09 08:41:08 +01:00
Zolnai Tamás
0d2abfdbd4 fdo#49750 Search Toolbar keeps its history
Until now, only the ToolBar's TextField stored the history, but
this is destructed when ToolBar is closed. The "Manager" class is alive
in case of Toolbar's invisibility, so I made this class to store history
temporarly.

Change-Id: I816dd3c83440000ab4e6caaeb2cccf390d3042fd
2012-08-09 09:35:59 +02:00
David Tardon
3d2c49ce80 add dictionaries to tail_build
Change-Id: If898ad805a1530d201650429b988c2866fb62512
2012-08-09 07:42:30 +02:00
David Tardon
6fa970fb62 gbuildize dictionaries
Change-Id: I8aec0d6b6e7ccc6c674ee98d6a9eb28785ee42b2
2012-08-09 07:42:30 +02:00
David Tardon
75df773930 add support for dictionaries to gbuild
Change-Id: I7d3c066a72c68bdc0b55150714041908bb613f14
2012-08-09 07:42:29 +02:00
David Tardon
9b93a2d9db change handling of description-LANG.txt
Change-Id: Iecd7760af418f6e9ff7c9502e27011ee03962705
2012-08-09 07:42:29 +02:00
David Tardon
009d6c69ea move platform-specific settings to platform
Change-Id: I99bf341df0a8cfe25f0821c8d21d3e27f3b12ea4
2012-08-09 07:42:29 +02:00
David Tardon
3abc7880e0 change handling of license file
This is a preparation for gbuildizing dictionaries, which does not
contain registration/LICENSE like regular extensions.

Change-Id: I9b186d101627872b522be0432f6daf21250eb497
2012-08-09 07:42:28 +02:00
David Tardon
9fbbcc122f refactor Extension
Change-Id: Ie0fd71b6547d9e04a55ae9690b137579e581e006
2012-08-09 07:42:28 +02:00
Ivan Timofeev
06645f0885 correct row heights
Change-Id: I567520f8c68f7f8f84dbd7d6e9b76705b7cb311d
2012-08-09 09:13:19 +04:00
Joel Madero
6547670853 Addition of linear divider and header "Optional (unstable) Features"
Put two experimental options (Experimental & Macro Recording) below
a linear divider with the header of "Optional (Unstable) Features"
Had to adjust distance between two options in order for them to fit
properly in the dialog.

Change-Id: I784f99c282d5b70e7e025b1ca05a7c8d73869cef
2012-08-09 09:13:19 +04:00
Michael Stahl
3ea6b1c159 concat-deps: fix crashes due to modifying hash keys:
After a string has been passed as key parameter to hash_store, it must
not be modified, as happens in the print_nodotdot and print_fullpaths
functions; if it doesn't crash then the dep files are twice as large
in a MSVC build because duplicates are not eliminated.
(regression from c2b467b84a)

Change-Id: I0ae96a7fbcefa20b118717d923f60b4f2255a642
2012-08-08 23:36:37 +02:00
Julien Nabet
45a3e4dd79 "class HelpIds:" duplicated
Change-Id: I1395df60a5864c7f35c27274ddab631a5243a27f
2012-08-08 23:35:39 +02:00
Stephan Bergmann
5080027d93 Fix Mac OS X install name for liblangtag
Change-Id: I9776f5abb70caa6f73ad481535ee84781540a00a
2012-08-08 23:02:38 +02:00
Tomas Chvatal
0c7617a388 Use LIBS not LDFLAGS to not fail with enforced as-needed.
Change-Id: Ia27e97c12e9a8f36e106c9ae3c399cd776433387
2012-08-08 21:10:17 +02:00
Ivan Timofeev
c0308fb3bd some MenuButtons have weird PUSHBUTTON_DROPDOWN_TOOLBOX style
... actually only SvtFileDialogURLSelector has it.
The problem is that in this case ImplGetSeparatorX() returns 0.

Change-Id: I2f5bebce31b4f137782b5f34cc7954554af06863
2012-08-08 21:56:15 +04:00
Ivan Timofeev
a3f55e0ad6 missing "Workplace" string for STR_SVT_MIMETYPE_CNT_FSYSBOX
No one hit upon an idea to hold the "Up One Level" button in the file picker
to notice this? :) Only the bug in MenuButton has helped to discover.

Change-Id: I760eff05dd19c3fdeb4b2052c0c20dbde6f6d2ed
2012-08-08 21:54:27 +04:00
Stephan Bergmann
9fc870fc33 ServiceManager::createInstanceWithContext needs to honor given Context
...in loadImplementation (instead of using the context the ServiceManager itself
was created with).  Otherwise, the handcrafted context containing a fake
theJavaVirtualMachine singleton in install_vm_singleton
(javaunohelper/source/vm.cxx) would not be honored, so that if a Java process
bootstraps native (binary) UNO and from there tries to obtain that singleton, it
would erroneously try to instantiate another JVM instead of using the existing
one.  This was a regression introduced with the new ServiceManager and could be
witnessed by test-javanative in ure/source/uretest/Makefile failing.

Change-Id: I58cfbc8cdaea7ee4ab80fac728ea3e85676d69e1
2012-08-08 18:36:40 +02:00
Stephan Bergmann
e7a02843e5 Export JNI functions from juh, juhx libs
...this had been broken with gbuild'ification of javaunohelper and caused
java.lang.UnsatisfiedLinkError from
com.sun.star.comp.helper.Bootstrap.cppuhelper_bootstrap, as could be witnessed
by test-javanative in ure/source/uretest/Makefile failing.

Change-Id: I8a76e1195c713895bfb8eae5070b0f73beb2b897
2012-08-08 18:36:40 +02:00
Stephan Bergmann
f983798164 Make ure/source/uretest work again
...at least, Makefile (to be run from within an SDK environment) works again; I
reflected all the relevant changes in Makefile.pln (to be run from no specific
environment) too, but did not actually check the latter

Change-Id: Ie2012d26b3bd59335a0f872bbfc1414cc4f5edc5
2012-08-08 18:36:39 +02:00
Stephan Bergmann
151c8d49e9 Better error reporting
Change-Id: I36c6dc025d0094c0b1666e13b25d78931392f768
2012-08-08 18:36:39 +02:00
Miklos Vajna
9eb05aa688 n#774681 SwFltControlStack::NewAttr don't extend font name / size attributes
Regression from commit b3cee382, the bugdoc is an example of why those
can't be optimized with the current method. (Yes, it is somewhat
special, after a resave in Word, the bug is no longer there.)

Change-Id: I4b5e82b13242726d6df47c447642ca8916aa6f31
2012-08-08 18:12:06 +02:00
Rafael Dominguez
848e9fe274 Remove unused defines.
Change-Id: Ib6bf41ba5165399b9bb73783bce736eba8210c32
2012-08-08 10:25:55 -04:30
Rafael Dominguez
1d3ec03fdc Delete currently open remote overlay.
Change-Id: Iaf25b4110b41c3404a141d70342a59ef05d05ceb
2012-08-08 10:25:55 -04:30
Rafael Dominguez
5bb9e2f5bb Display delete option when viewing a remote repository.
Change-Id: I63e6a0e2ef9a18144d97629ddf18bd91ecc0e115
2012-08-08 10:25:55 -04:30
Rafael Dominguez
484aba1a6e Make import contextual, appears when you select a folder to import to.
Change-Id: Ic935728cabf70c0700a35c65d3b5b060e163faea
2012-08-08 10:25:54 -04:30
Rafael Dominguez
444df12235 Store template repositories urls and names in user settings.
Change-Id: I8fea48ede99e3a5568ac248b7dddc8475fae4280
2012-08-08 10:25:54 -04:30