Commit Graph

1224 Commits

Author SHA1 Message Date
7cc627ff79 update_pch
Change-Id: Ic1dae7aac2f4367b4196ba3128c0aea9be1fbbda
2014-08-13 10:10:33 +02:00
5e62d30fa2 update_pch
Change-Id: I5316693452427ed76a7738b090de023b110caa40
2014-05-28 15:53:10 +02:00
a908e4eb41 Resolves: #i124896# [API CHANGE] remove obsoleted rtl/allocator.hxx
remove obsoleted sal-module-internal custom STL allocator

The SAL module avoided the heavy dependency on the stlport4-libraries by using
a custom allocator for its internal STL containers. With stlport4 removed these
dependencies are gone and the SAL-internal custom allocator is obsoleted.

(cherry picked from commit c6e0325df6efce45dbb2616a32b7745c449c6c58)

Conflicts:
	include/osl/diagnose.hxx
	include/rtl/allocator.hxx
	sal/osl/w32/procimpl.cxx
	sal/qa/osl/process/osl_process.cxx
	sal/rtl/bootstrap.cxx
	sal/rtl/source/hash.cxx
	sal/rtl/source/unload.cxx

Change-Id: I8515382828eda36aba1fec5f23e0f2a89aef7a33
2014-05-15 15:03:49 +01:00
2bd7767d01 Resolves fdo#70681: fixincludeguards.pl: all that's left
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5
Reviewed-on: https://gerrit.libreoffice.org/9360
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-15 12:50:46 +00:00
8f7a1111ab update_pch
Change-Id: I099bff66a7796a5cf18e37e445467bdfb33de602
2014-04-14 20:21:10 +02:00
b0200601d4 Clean up unreferenced functions
Change-Id: Id9cb4dbeb6b3313974b881efd6a7c43cb5e314ce
2014-04-04 10:05:57 +02:00
03f7a34201 Ensure that numeric array storage is aligned to 256-byte boundary.
OpenCL devices require this else we would get a performance hit.

Change-Id: I6b1db6320fa84f933b6446022a0fd02ba267bf21
2014-02-27 21:19:36 -05:00
286d04a96e update pch
Change-Id: I6d5e8d3fd69189935a3338fee19b60022f70a7eb
2013-09-05 20:00:43 +02:00
360d6bf4fd update pch
Change-Id: I67e73438312f2a672e71762ee6707ec5d425bb47
2013-04-25 12:11:53 +02:00
25ea7f0b5e move sal_inc headers to include/
Change-Id: I840c681b7c500640d3983e05e9895f3fa8bb1313
Reviewed-on: https://gerrit.libreoffice.org/3501
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:17:49 +00:00
6c7659b584 move URE headers to include/
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d
Reviewed-on: https://gerrit.libreoffice.org/3499
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:17:10 +00:00
2ffc416d2e Avoid warnings from compilerplugins/clang/sallogareas.cxx
Change-Id: Icce3ffd29398a3488e7704562a4e9064f106b393
2013-04-22 14:02:16 +02:00
62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
ff4464659e Revert "fdo#62096: Replaced some compareTo with =="
This reverts commit dd47994722eaead16099145e593fbf878072d52b.
2013-04-22 09:53:49 +02:00
dd47994722 fdo#62096: Replaced some compareTo with ==
Change-Id: I1151dafcef91abdb2ce08abe3547a49fe3f4a67c
Reviewed-on: https://gerrit.libreoffice.org/3509
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-22 07:38:00 +00:00
bffb03fbc1 better use SAL_LOG_INFO as trigger
Change-Id: I37635f9bd86d194b303705a58d81502d7d586692
2013-04-19 11:17:36 +02:00
1e7bf8de3b Add pan gesture handling
I get exactly the same kind of artefacts as in the Android app, which
I guess is good as it is at least consistent, as the implementation at
the LO layer is identical...

Change-Id: Icf0690fd2c48a133cb66de2ab7977b7088d2199e
2013-04-19 00:18:33 +03:00
33cc263f2f forward RTL_CONTEXT_foo logging to SAL_INFO in default debugging
* RTL_CONTEXT_foo is originally intended to be used for performance
  measurement, but mostly unused right now
* however its macros are sprinkled all over the codebase and might
  provide good help for ad-hoc debugging, and prevent SAL_INFO
  duplication
* if there is no performance logging, these macros are now forwarded to
  SAL_INFO with logarea "logfile" or "$AREA.logfile"

Change-Id: I495c8924e5b55124f7eac68eccda074d0740c117
Reviewed-on: https://gerrit.libreoffice.org/3421
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-04-18 14:42:49 +00:00
c75eeddfb8 Update pch
Change-Id: Ice80350184f7a514d5beab0a5e1da5b98d5733e4
Reviewed-on: https://gerrit.libreoffice.org/3427
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-17 10:00:15 +00:00
1268326e81 Further clean-up related to removed library unloading feature
Change-Id: I1ec2aa4d0ed0940e7c0a26a18c78f2df4693d278
2013-04-16 17:52:37 +02:00
b98617b3c8 API CHANGE: remove some of useless rtl/unload.h functionality
Change-Id: If32923e35ef97f42d5203975362e5c76948ff327
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-04-16 17:52:37 +02:00
1264480bc3 fdo#60724 correct spelling
Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
2013-04-15 05:39:31 +02:00
70e4329d04 fdo#60724 successfull -> successful
Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
2013-04-15 05:34:02 +02:00
c32b6be06b fdo#60724 correct spelling
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15 05:32:37 +02:00
60fbefc615 fdo#60724 informations -> information
Change-Id: Ifd34ebfc7fe01b4a470eb072597dd3ec97c97863
2013-04-15 04:49:39 +02:00
6b89688829 Add lo_keyboard_input()
Change-Id: I5904f673de9854af47eefac2f192295a281c5525
2013-04-14 01:52:22 +03:00
fe294e9208 pgsql-sdbc: set tablename even if we do not know the schema
Change-Id: I74c04e1262cc413696a12aca9af603beded7b07f
2013-04-10 18:12:09 +02:00
8c12bf2cc4 Clean up documentation
Change-Id: Icc53c25400acb46070fead08f7602295599fc6c8
2013-04-10 12:10:27 +02:00
4976dd85fa Introduce characters utilities in rtl/character.hxx
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, with slight modifications
to sal/inc/rtl/character.hxx:
* Replaced "#pragma once" with explicit include guard for now.
* Missing includes.
* Cosmetic clean-up.

Change-Id: I94d01cd4e766f92c70f941839a67101fa2c97654
2013-04-10 10:43:38 +02:00
cdd1de0854 Check for the C++11 "final" specifier and introduce SAL_FINAL
I think it is useful to use SAL_FINAL mainly as a documentation aid,
to make it clear to a code reader when a class is not expected to be
derived from, and when a virtual function is not expected to be
overridden in a derived class.

Possibly there is also some class of bugs that using SAL_FINAL will
help find?

Change-Id: I45002f020dcb52e8a9f2962ff98780f2b80627af
2013-04-08 11:46:10 +03:00
b20e7e1d11 fdo#43157 - Clean up OSL_ASSERT
- replaced osl_trace with sal_info
 - added new log areas to log-area.dox

Change-Id: I41444e90a22bad7d04d3827914d4d793b3601304
Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2013-04-08 10:26:00 +02:00
876c619b94 new module i18nlangtag
Moved portions from module i18npool, all of former i18nisolang1 library
that now is i18nlangtag. Included are languagetag, isolang and mslangid.

This i18nlangtag code is now even used by module comphelper, so
disentangling i18npool and making this an own module was needed to not
create circular module dependencies.

Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05 19:10:48 +02:00
598d3228cd remove HAVE_SFINAE_ANONYMOUS_BROKEN
Since we no longer support the old Apple SDK using gcc-4.0.1, we can
remove the cruft to work around its problems. Woohoo.

Change-Id: Idf275e76449443f1f0314e75dab993f213a77eb7
2013-04-04 13:44:30 +02:00
16d1424433 fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERT
- replaced osl_trace with sal_info
 - added new log areas to log-area.dox

Change-Id: I20f539bd9fa62bef2e9a2a82b59e0b15f4efdd48
Reviewed-on: https://gerrit.libreoffice.org/3179
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-03 20:40:07 +00:00
8644d10098 Asserting rtl::O[U]StringBuffer::operator [] preconditions
...and fixing two call-sites.

Change-Id: I8ed8cb189bd5034130b49b2f57156568e6b24716
2013-04-03 11:27:05 +02:00
60212d6107 vcl: convert some fprintf to SAL_INFO
Change-Id: I4b9a20e62e8e137a1bfaa1c654307f15c33e3d3c
Reviewed-on: https://gerrit.libreoffice.org/3143
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-02 15:14:54 +00:00
8ffb20747c fix loplugin unused warnings
Change-Id: I23fc6bf62e74f192f77c74ed48d5276737375f3c
2013-03-30 16:55:25 -04:00
083092e808 OSL_FAIL -> SAL_WARN
Change-Id: I1871e5e3a319b2d5177ae4bd470046c022c14eb7
Reviewed-on: https://gerrit.libreoffice.org/3121
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-03-30 17:37:54 +00:00
4f811c0474 fix loplugin warnings
Change-Id: I17593ac6e495213a1ef99d4d5525a6e38aee0bc7
2013-03-30 13:01:09 -04:00
95cedfd95a Protect CoreGraphics.h inclusion with <premac.h>, sigh
Change-Id: I9d16929d3b8fb5114e72eee850da64433394df9c
2013-03-30 07:53:40 +02:00
bb0b2744af Draw the frame virtual device bitmaps directly to the destination CGContext
Much faster. No need for the pixelBuffer inbetween.

Change-Id: I6493faca6da3a3e9a1285e00c887928b85dca56e
2013-03-30 07:53:40 +02:00
e36e86ee3c Refactor the iOS Viewer app and rename it to "LibreOffice"
No, it isn't any closer to being "ready" despite the name, but still,
using the current approach, it clearly isn't restricted to be just a
viewer.

Also drop the verbose LOViewer prefix from class and file names in it.

Change-Id: Ib4e8a31d6fa1b35169ee98cf2aa8f0f22957164c
2013-03-30 07:53:38 +02:00
d7b027bd10 Add lo_tap()
Change-Id: I635be54c27c93de0a11be7bdd01979b99dadda28
2013-03-30 07:53:37 +02:00
7eaf1e9388 Half-assed attempt at enforcing operator [] preconditions
...inspired by comments to <https://gerrit.libreoffice.org/#/c/3068/>
"String::AppendAscii cleanup in dbaccess," but it quickly becomes apparent that
lots of code rely on s[s.getLength()] == 0, so live with a weakened precondition
check for now.

Change-Id: Ifad96c706b14433df4a084ab8054b32433b8b5b6
2013-03-28 13:30:41 +01:00
af4ae63b94 svx/source/inc/trace.hxx -> SAL_INFO
Change-Id: I019f41aeb41ec150087e6f544cff3b36719d1845
2013-03-27 20:58:55 +01:00
1aed104184 Add log area 'vcl.headless'
Change-Id: I40053b9a51c5a640b46c6d615a5d7e067a5e138a
2013-03-27 00:01:21 +02:00
488e6875e9 remove external include guards
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-25 19:58:16 +01:00
c575e7f484 Fix bogus SAL_WARN use
unknown log area 'IMPL_LINK_NOARG(SwSaveLabelDlg, OkHdl) [loplugin], huh?

Change-Id: I265102a552615208db43fc7b6617189ad99b6aad
2013-03-26 21:25:15 +02:00
8818140775 Introduce temporary lo_set_view_size() hack like on Android and call it
Change-Id: I44df0946f59d1b9a2a6ea935b3c2ea3c96c1260d
2013-03-26 19:02:05 +02:00
b5d30295cb Fix warning: unknown log area 'sw.docx' [loplugin]
Change-Id: I0e97399220b2eb2da54072241ddee43a683d17ef
2013-03-26 00:03:26 +02:00