Age | Commit message (Collapse) | Author |
|
Change-Id: I5be3980ac865162d8d7626556ca47eca4b0ee433
Reviewed-on: https://gerrit.libreoffice.org/15344
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
ie.
void f(void);
becomes
void f();
I used the following command to make the changes:
git grep -lP '\(\s*void\s*\)' -- *.cxx \
| xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;'
and ran it for both .cxx and .hxx files.
Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
|
|
Assume m_vEntries.size() == 2; assume first element (nPos == 0) is m_bActive,
gets removed, so m_nActive would have stayed at 0 and m_bHasActive at true; then
assume second element (again nPos == 0, due to the removed element) is m_bNew,
so nPos <= m_nActive is true and m_nActive gets updated to 1 (and m_bHasActive
remains true); then selectEntry(nNewPos) (nNewPos == 0) would have tried to
reset m_vEntries[1]->m_bActive but now m_vEntries.size() == 1.
Change-Id: I31d3bbe97ca99f880aa99bdea015f7c0457f8331
|
|
Change-Id: Iaa0c751f101df6db25e9fca9123b81ac63033159
|
|
Change-Id: Ie348778ea666c24e95e048386547f301083a0017
|
|
In some LibreOfficeKit use cases it will be useful to use a separate
(initially empty) user profile each time, instead of whatever the default
might turn out to be. (When using the "instdir" of a LibreOffice build tree,
the user profile is the "instdir/user" directory.)
Also add a corresponding new function to be looked up, libreofficekit_hook_2.
I did not bother with any more descriptive name. After all, "lok_init" already
is quite terse, so calling the new function "lok_init_with_user_profile" or
something similarly verbose would in my humble opinion have been
inconsistent. (And if/when we need to extend the LibreOfficeKit initialisation
function with even more parameters, the name would become really long.) But
feel free to change this if you feel like it...
Make sure to stay backward-compatible with source code calling lok_init() and
with binaries looking for only the libreofficekit_hook entry point.
Change-Id: Ifa9ce8f72c2f60554fb3431d522e5784afa8d8d3
|
|
Change-Id: Ic3f004fbe83dc3df49147fadad8177ee64db0175
|
|
Change-Id: I9665fc003cb3a44f4db857b24584fa3a70487259
|
|
and fix issues in iterating through o3tl::enumarray
Change-Id: Ia59ef9be44d8c92c2e406fa71aa92269578e26e3
|
|
Instead of posting an event to the main loop of the soffice thread, do
what every other methods do: take the solar mutex and execute the task
on the thread. This fixes random lost/delayed key events on Android.
Change-Id: Ibe819282b5f3bb64e44d4b6f0a92611fe651bb39
|
|
Not sure if the comment in desktop/source/deployment/inc/dp_persmap.h: "should
be removed for LibreOffice 4.0" refers to just the DISABLE_BDB2PMAP parts or
the class and functionality as a whole.
Change-Id: Ie701576efc4076ab8be02a89145b5ecfcaaebc53
|
|
...to avoid clashes with macros and poor warnings about hiding global FILE
Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
|
|
...and fix o3tl::enumarray::operator [] const overload
Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
|
|
Change-Id: I6c82dad9d69e19d5596f23eacfbd20768f9f6442
|
|
Let's see where it actually will be needed. Sal is a "picky" place for
new API, even inside LIBO_INTERNAL_ONLY.
Change-Id: Ia0c5ee8cfc6ee526c5ad34d2f8aab0b14b5f805b
|
|
Console-only is really orthogonal to other things; it has one specific meaning
that is relevant on OS X only, see svapp.hxx. Let's not overload it for
LibreOfficeKit things.
Change-Id: I8b94c3a4e6f938ad70f1555a12dac8596819e031
|
|
LibreOffice code, when used in a program through LibreOfficeKit, needs to be
aware of that in certain crucial spots, to avoid behaviour and functionality
that makes no sense in a LibreOfficeKit scenario. As LibreOfficeKit uses a
normal LibreOffice installation to perform its job, this can't be a
compile-time choice. Also, none of the existing run-time "headlessness" modes
fully match what is needed.
Change-Id: Iaccf7f958c549f019b508854800519f54dcadb11
|
|
Change-Id: Id85c1cd6c0eade60c7c347c3a3bc3f4a590e5ce5
|
|
Change-Id: I128d5b429a8f649f9236b2e007a90c24cac5b142
|
|
Stephan told about the intended use case for --invisible, and it does sound
like a plausible use case, so let's revert this.
"ah, now that I see 4fe56f3b9af814430a28a1880799f450fb8146b9: one use case
for invisible + !headless might be in workflows where external code keeps
a LO instance running and lets it pop up document windows, but you don't
want the initial start center thing
I think that's historically where the --invisible thing is coming from, now
that I vaguely remember again"
This reverts commit 4fe56f3b9af814430a28a1880799f450fb8146b9.
Change-Id: I17f535adee7e533abbee150b0ce5156ecf78c781
|
|
No need to have both.
Change-Id: Ibd2f9f6d352ffb52bf43f4e1a4f69f60a60458ff
|
|
Change-Id: Ibd74eae829eb6bf5366a474628c1bf5ff6b4e839
|
|
Change-Id: I5bf8ef05aa0a1da972963ae44f04a0042c7b1162
|
|
Change-Id: Ic9da4b8cb28f0789cefa8cf1eb3073424f6ea552
|
|
There is by definition no reason to do any IPC in those cases. Each program
running LO code in such a mode is independent from any other.
Do as before for Android, though, I don't have the patience now to check
whether we actually need the pipe on Android for some reason.
Change-Id: If0f54bf51e58b13c0c0b8f0bf6882bbef067960d
|
|
Change-Id: I5cf39093e01dfd381624975f3267a2f7349ed8e5
|
|
Change-Id: I95320c0a3e0b7a405a1332e3826d2b917ecf3a6b
|
|
Change-Id: Idb32372009faf2bc2e223f1f8977cb3fc6b182a3
|
|
Such are fairly pointless to keep permanently in the code. Use a temporary
SAL_DEBUG if you need tracing output when you reach a certain lines while
hacking.
Change-Id: I13a898486731c6d2995e92e2c5dcd0d1429e47cc
|
|
The "console only" mode, which apparently is intended to mean something
stronger than merely "headless" mode (?), is not checked much currently. But I
plan to start checking it to avoid doing things that make no sense when
running LO code through LibreOfficeKit.
(If overloading "console only" mode turns out to be a bad thing, we will have
to introduce a third degree of headlessness then, "LOKit mode".)
Change-Id: Id4cd16c4d68e2f1aba8a6b8fba83325b7262563a
|
|
Change-Id: Id1315a35f84fee2a7c7a42df489237c2e641a189
|
|
Change-Id: Ic75e73cf390872f4095d23a4388739330aeb1286
|
|
Initialized a non-initialized integer variable which is widely used in if else
Change-Id: Ibd99c0baa4cd3d4d409310a9a70dc7b421f6a8b2
Reviewed-on: https://gerrit.libreoffice.org/14780
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I6eddda9f4b31c7ce413c328b6a857a81bd222eed
|
|
Change-Id: I7566dcf21aae6b800adb58d8c94e350bb0da720c
|
|
Use SolarMutexReleaser, instead.
Change-Id: I276459c42b688813ea168d6fc80466a07a5ecba4
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: I166b4b713c2ea52c62c52045bb2073b6d84c1547
|
|
Introduce a handful of small public wrapper functions.
Change-Id: I80e1e35d09675112d67b831f3efda483e709b540
|
|
Change-Id: I566678d55fa5d052a94a9b69732e2be4c0c39280
|
|
workaround template issue
Change-Id: Ifeb828685b3f63159249211aa32a90dcba2e5570
|
|
Change-Id: I985b781a8d53190505fcb1182749cdaf5cd0f8d0
|
|
Change-Id: I7e53cfc90cefd9da7d6ecd795b09214bd44b1613
|
|
Change-Id: I48da0f3cc918bda1cdb396b4ea72a82eddafb9a8
|
|
Implements also Bold button as an example in the gtktiledviewer.
Change-Id: I3b07d51165f28534aadbb4673f964ec10d5fc6ef
|
|
Change-Id: Ib81763148b077423d3903802b13a11b15ba3b0c1
|
|
Change-Id: Ib24003178bb576ff1450d674d74ef8978b350b92
|
|
Change-Id: I115cf7e7978622d5108c4c792f7de861beb6efb6
|
|
Change-Id: I07ebb82b71d6019a35b7cd2757464dab269d2098
Reviewed-on: https://gerrit.libreoffice.org/14855
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
...which already takes care of things like increasing stack size under ASan
Change-Id: I89f9a25a660aacd41e1125766b23f7be395e7af8
|
|
1) One more place in desktop that missed the LOK_TEST check.
2) One testcase currently fails on baseline, disabled for now, need to
check later.
Change-Id: I8c8bcf2cec1618e39e8453120755dffd3feb79ce
|