Age | Commit message (Collapse) | Author |
|
Change-Id: I5740a22f0d768b9b1d7449f54b859bcb40401367
|
|
Change-Id: I1b966095f764a197c4c5e823fa41b9914cb34ebe
|
|
Change-Id: I000ed6edb236dbb8e93ad2fb445dfec7294ea3fc
|
|
Change-Id: I6c359f8ce52218413671fcdc06021b283b25cf6a
|
|
Change-Id: I4e3097f58a8b91a61369d3b93931bff44444990a
|
|
Drop implementation of osl_incrementInterlockedCount /
osl_decrementInterlockedCount for antique 32-bit SPARC without
cas instruction (sun4, sun4c, sun4d, sun4m).
Apparently only NetBSD and OpenBSD even support such ancient hardware at
all, the Debian SPARC port already requires sun4u hardware.
Change-Id: Ic254622ae80ad65c9f545013b68d82665474402c
|
|
Also move osl/util.c on Unix systems to osl/system.c.
Change-Id: Ifff79d9f4f89ecbb4e0e1652b40ab46b7d569adf
Reviewed-on: https://gerrit.libreoffice.org/6065
Tested-by: Arnaud Versini <arnaud.versini@libreoffice.org>
Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
|
|
It is probably best to base the functions on Unicode code points instead of
scalar values, now that they are also used from sal/rtl/strtmpl.cxx with UTF-16
code units and with arbitrary bytes (with values assumed to be a superset of
ASCII, though). Rename compareAsciiIgnoreCase to compareIgnoreAsciiCase. Also,
the corresponding tools::INetMIME functions can be removed completely; no need
to keep them around as deprecated.
Change-Id: I8d322177f4909e70a946e8186e3e0f7fa6d9a43e
|
|
Also remove all others implementations.
Change-Id: I1dc108a9103f087bd8ce591dff2ac5dd254746f8
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Remove useless comments and header, and de duplicate a small declaration.
Change-Id: I0d4475cbbd61ea964f8e586cf0e1f68eb91c4948
Reviewed-on: https://gerrit.libreoffice.org/6016
Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
Tested-by: Arnaud Versini <arnaud.versini@libreoffice.org>
|
|
Change-Id: Ic19707b99b1a53005ac319887219fc52b3e60e89
|
|
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
|
|
... and put it in OOO layer since it's used by the smoketest instset.
It was in subdirectory for hysteric reasons, to pick up libraries from
module local output directories in the dmake build system.
Change-Id: I73b66672b17ede52c03071eb2ddee1a23c059ea9
|
|
Refactor everything to find and link libraries directly in INSTDIR.
- add gb_LinkTarget_get_linksearchpath_for_layer, and use it to set up
-L paths for T_LDFLAGS in such a way that only allowed libraries
can be linked against; i.e. it's not possible to link URE
linktargets against OOO or not-installed libraries
- gb_Library_get_target is now same as the gb_LinkTarget_get_target
(TODO: this needs cleanup)
- since a pattern rule won't work for linking libraries in INSTDIR,
add a separate per-file rule for every INSTDIR lib
- pattern rule can't find link target in the clean target any more
so add a LINKTARGET variable
- disable gb_Library_add_auxtarget, no auxtargets need to be copied
- tweak the call to gb_Library_Library_platform to pass in a path
in sdk/lib for the versioned URE libs
- fix the Library clean target
- add LAYER parameter to gb_LinkTarget_LinkTarget
- adjust platform link commands
- MSVC link command now uses explicit -manifestfile and -pdb
parameters to keep misc. files out of INSTDIR
- remove gb_Helper_OUTDIR_FOR_BUILDLIBDIR
- adjust Extension, CppunitTest, JunitTest, PythonTest, Gallery,
various CustomTargets to search INSTDIR
- remove SDK library symlinks and import libs from odk/Package_lib
- on Mac OS X, put .dylib symlinks into sdk/lib even though those
are not packaged and would be created by the SDK configury;
we need these to be somewhere for linking anyway
- add a (unfortunately cyclic) dependency on Package ure_install to sal
Change-Id: I70d88742f8c8232ad7b9521416275c67b64fe6cf
|
|
If there is a SOVERSION then the versioned library is a real file and
the unversioned one just a symlink; better to have the real file be the
target.
- add gb_Library_UDK_MAJORVER variable for SOVERSION
- remove version parameter of gb_Library_set_soversion_script;
instead hardcode the SOVERSION since it must be included in the
file name in gb_Library_FILENAMES anyway
- store the unversioned symlink in the ILIBTARGET variable
- via new gb_Library_get_workdir_target_versionlink function
- removed gb_Helper_install call that resulted in both versioned
and unversioned libs in instdir
Change-Id: I2c6f1698f0e39fdb2c07964d43ed9485cbca0b30
|
|
This reverts commit 904e5801aea86a79d6256fcbc3cfdba4535ca8a9.
We don't use linkoo and SAL_ALLOW_LINKOO_SYMLINKS anymore.
Conflicts:
sal/osl/unx/file_url.cxx
Change-Id: I1a0211295afef79f72356677d9b3bc6c5211d496
|
|
Change-Id: I2eaa32e0ec09b239e03d3efa776f5b47c2fb5c6d
|
|
Change-Id: I7fd4b5684cd5d54860c60fdb00ac2431943eece3
|
|
Change-Id: I24a060d1d5592a23f9a991ef3b39f31818ea0d84
|
|
Change-Id: Ia3a59456fe82926141ccb2921aa47df4183ead86
Reviewed-on: https://gerrit.libreoffice.org/5905
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: Iad4182d7150f851df06a7208a811d482351f736a
|
|
Change-Id: Iae7da0146c670d77a4bdc2431a55c901318eef8d
|
|
Change-Id: I6bd34f0deaf246bc5898532377d996fcefc88cbc
Reviewed-on: https://gerrit.libreoffice.org/5906
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
oslMutex and oslMutexImpl* are synonyms (via two typedefs).
Casting between them makes the reader believe some more nefarious trick is at hand.
Change-Id: Ib0e609fd1facca4d47242392ed2f8ff08451346b
|
|
Change-Id: I6d5e8d3fd69189935a3338fee19b60022f70a7eb
|
|
Change-Id: I196026cc7f2f885664e9719557f662a32a7187b8
|
|
I doubt it affects ABI, but let's not take the risk.
Instead, just compile the uunxapi.cxx file (which has no public API)
as Objective-C++, as that is now the only one where Objective-C API is
used.
This reverts part of d22c94dbf16d18bce39f060aa21f3083169426ca
Change-Id: I240dbb36529c419b81b062f6fe860a9e621c2400
|
|
Change-Id: Id1029f777e4f1d03ce7d3fb85ced38deeefca619
|
|
1UL is not a portable way to get a size_t -sized one.
Change-Id: I8fac16b7e1f1b8bbccb4bd11eacc9449fc3f8c33
|
|
Change-Id: I2a1d47cc3eca40ddd7e9502ffe71337ab2268858
|
|
...(like is done for most of LO's non-URE libs already) to reduce likelihood of
name clashes, esp. on Windows where URE libs are found via PATH.
This introduces PRIVATELIBS_URE, and removes now-unused UNOLIBS_URE.
Change-Id: Ib95dd45f18de140a54e62d632dbf2239f83c232e
|
|
Change-Id: I593ce24ce83cd3034d23297adc3de5f6de18f3a9
|
|
Change-Id: Ibc43ffa0c535e0baf1bb6d8b213320da345a3d65
|
|
Change-Id: Ibe2ea21265a0bb9c4fedcef137626df2a8019116
|
|
Change-Id: Icfb6c58d8a73e45d7d9c5629ac0d808f7afcf9ff
|
|
In particular, surround also the ftruncate() operation that
osl_setFileSize() does with access through a security scope bookmark
for the file, if available. This fixes file saving in a sandboxed
LibreOffice. (But oh boy, does simply saving an ODT document go though
a weird dance of file operations.)
Luckily the C++ oslFileHandle abstraction keeps the pathname that the
file was opened with, so even if ftruncate() as such takes only the
file descriptor, we can get at the pathname to retrieve our security
scope bookmark.
Change-Id: I8acb1b2f3fb3ec0cea833697b7f1d4a1912ed551
|
|
Change-Id: I2222a8db929e2f17aff9f72ff2ae1ca6e081e576
|
|
Move the handling of the bookmarks to the wrappers in uunxapi.cxx, and
add wrappers for open() and utime().
Change-Id: I92f9941152b567545eea60f2aaae6a3b8d35e792
|
|
Bin pointless abstraction.
Change-Id: I193842dff5a86f58f53827712e2f16f6bdd83c3d
|
|
Change-Id: If228820b35927d24a1ae2e19c184767a447f829b
|
|
It was always called with the bAllowRelative parameter as false
anyway.
Change-Id: I6c4bf739e3f8c1d52dbe8af5df13e97dc9be96e5
|
|
Change-Id: I18ed3ba6f1567ec40f3a87d988863680c55f665b
|
|
Sometimes one just can't resist.
Change-Id: I3550f30cc206e2efe361a669b4f8e740d9c3c339
|
|
Change-Id: I89c2cf3c82617bada72053678a6fb6013bfbca13
|
|
Attempting to look up the bookmark data for a file will try acessing
its resource fork, causing messages like:
soffice(83685) deny file-read-data /Users/tml/Documents/b.odt/..namedfork/rsrc
Change-Id: I1b2b0b493a46aa629581b921c94c5014f994e75c
|
|
Store security scope bookmarks for files selected in the file picker
in the user data. (I looked into storing it in the LO "registry" in
the Histories/PickList thingies, but that was horribly complex.)
When opening a file, if we have stored a security scope bookmark for
it, use that while opening the file.
Change-Id: I347ae2dd815299441c17467d9b66a226061d0ed2
|
|
Change-Id: I8bc9d3812977589e96f5440afa8d46bfe4d3b88e
|
|
as flagged by Clang -fsanitize=undefined
Change-Id: Iff1aa4473d960009890b923fba734257ecd8b3ef
|
|
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.
Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
|
|
Change-Id: Ida9785c4b9fda0459769957734952e69d7a9de44
|