summaryrefslogtreecommitdiff
path: root/sal
AgeCommit message (Collapse)Author
2013-04-15tune up debug level required for popping up dialogs from MSVCRTDMichael Stahl
Change-Id: I3cfa050ecf5c3c2ec66b11519c30d48459a9cafe
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
2013-04-15fdo#60724 successfull -> successfulThomas Arnhold
Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-15fdo#60724 informations -> informationThomas Arnhold
Change-Id: Ifd34ebfc7fe01b4a470eb072597dd3ec97c97863
2013-04-14Add lo_keyboard_input()Tor Lillqvist
Change-Id: I5904f673de9854af47eefac2f192295a281c5525
2013-04-13simplify makefilesDavid Tardon
Change-Id: I11ea8814d36cdc6d6838ec80b0bbb272d3116b2d
2013-04-13simplify generation of *_allheaders.hxxDavid Tardon
There are some differences in the generated headers: cppu_allheaders.hxx now explicitly includes #include <com/sun/star/uno/Any.h> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/genfunc.h> #include <com/sun/star/uno/genfunc.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.h> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Type.h> #include <com/sun/star/uno/Type.hxx> sal_allheaders.hxx now does not (explicitly) include #include <cppunittester/protectorfactory.hxx> #include <internal/rtllifecycle.h> #include <osl/detail/android-bootstrap.h> #include <osl/detail/component-mapping.h> #include <osl/detail/file.h> #include <osl/detail/ios-bootstrap.h> #include <pch/precompiled_sal.hxx> Change-Id: Ide3c708ac66f23b360b8e130790f8fa8f1911082
2013-04-13install SDK headers from filelistsDavid Tardon
... which allows us to drop gb_ZipPackage. Change-Id: Ib19f774c63d9b83ec07e99f963533eee431cc53a
2013-04-10pgsql-sdbc: set tablename even if we do not know the schemaLionel Elie Mamane
Change-Id: I74c04e1262cc413696a12aca9af603beded7b07f
2013-04-10sal: that TimeValue define causes -Wunused-macros with 10.6 SDK tooMichael Stahl
So since that is the new baseline let's get rid of it. Change-Id: I7b645fe2f6e641012919a87b63d5e14acce9e52b
2013-04-10Revert "If you can't load a shared library it should be a warning"Stephan Bergmann
This reverts commit 8b561c0012546aabbaff33b32a79833997aa8902. There are legitimate cases for osl_loadModule to fail (like when UNO only resorts to indirect bridging via binary UNO once it has not found a direct bridge implementation), so this adds too much noise. (Rather add SAL_WARNs to those places up the call stack where it is known to be an error, and/or enable +INFO.sal.osl.)
2013-04-10Clean up documentationStephan Bergmann
Change-Id: Icc53c25400acb46070fead08f7602295599fc6c8
2013-04-10Introduce characters utilities in rtl/character.hxxArnaud Versini
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-09no mkdtemp on AIX eitherCaolán McNamara
Change-Id: I9103f86a5b8414c9cdf5fd3a2d662725343f0ed8
2013-04-08WaE: unused variable 'insertion'Tor Lillqvist
Change-Id: I57d39d7535d88045dcb0d7b665675074b7059d14
2013-04-08Check for the C++11 "final" specifier and introduce SAL_FINALTor Lillqvist
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-08fdo#43157 - Clean up OSL_ASSERTRadu Ioan
- 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-07fix up c code after move to c++Caolán McNamara
Change-Id: Id3de792f47c778c7a79cc9160ca3480affcaf3cf
2013-04-05new module i18nlangtagEike Rathke
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-05No need to setenv SAL_LOG in the code for iOSTor Lillqvist
One can set environment variables to be used when debugging an app in Xcode, which is when it is interesting to see SAL_INFO output anyway. (This is very different from Android, where one can't set environment variables "before" an app starts, as apps there aren't separate programs that would be exec'ed.) Change-Id: I3971d1b2d1a849deac2722a90271ef2458db1643
2013-04-04remove HAVE_SFINAE_ANONYMOUS_BROKENLuboš Luňák
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-03fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan
- 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-03Asserting rtl::O[U]StringBuffer::operator [] preconditionsStephan Bergmann
...and fixing two call-sites. Change-Id: I8ed8cb189bd5034130b49b2f57156568e6b24716
2013-04-02vcl: convert some fprintf to SAL_INFOThomas Arnhold
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-03-31If you can't load a shared library it should be a warningPeter Foley
This has bitten me more than once when working on Library_merged. Change-Id: I829f5d010b6df2935fd191bdec9bac04bb003f16
2013-03-31Must percent-escape the APP_DATA_DIRTor Lillqvist
On the iOS Simulator it contains spaces, as in /Users/tml/Library/Application Support/iPhone Simulator/6.1/Applications/9A6DFE86-77AF-4B78-8FFB-93FCA6C38EE1/LibreOffice.app Change-Id: I90c76b909901c881aa51482880b1120fea19b99b
2013-03-30fix loplugin unused warningsPeter Foley
Change-Id: I23fc6bf62e74f192f77c74ed48d5276737375f3c
2013-03-30OSL_FAIL -> SAL_WARNThomas Arnhold
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-30fix loplugin warningsPeter Foley
Change-Id: I17593ac6e495213a1ef99d4d5525a6e38aee0bc7
2013-03-30Protect CoreGraphics.h inclusion with <premac.h>, sighTor Lillqvist
Change-Id: I9d16929d3b8fb5114e72eee850da64433394df9c
2013-03-30Draw the frame virtual device bitmaps directly to the destination CGContextTor Lillqvist
Much faster. No need for the pixelBuffer inbetween. Change-Id: I6493faca6da3a3e9a1285e00c887928b85dca56e
2013-03-30Refactor the iOS Viewer app and rename it to "LibreOffice"Tor Lillqvist
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-30Add lo_tap()Tor Lillqvist
Change-Id: I635be54c27c93de0a11be7bdd01979b99dadda28
2013-03-28Half-assed attempt at enforcing operator [] preconditionsStephan Bergmann
...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-28add missing dep on sal/typesizes.hDavid Tardon
Change-Id: I45e2949bd50ef1b72e40f6dbc67a05bbbbeeeb5b
2013-03-28add missing deps on uwinapi headersDavid Tardon
Change-Id: I8a6d62a611879aaa6f6b823ecb11618c26e4123c
2013-03-27svx/source/inc/trace.hxx -> SAL_INFOStephan Bergmann
Change-Id: I019f41aeb41ec150087e6f544cff3b36719d1845
2013-03-27-Werror=unused-macrosStephan Bergmann
Change-Id: Ia02ff34be9eff80fd8f9d76f034d76c3791342f2
2013-03-27WaE: macro is not used: STACKTYPETor Lillqvist
Change-Id: If20c7637d13f37029e447e779586fcfad21c3305
2013-03-27At least Mac OS X SDK 10.7 doesn't experience TimeValue clash hereStephan Bergmann
(causes -Werror,-Wunused-macros, rather) Change-Id: I1dc05a5cf73aec7827df662342f5d9189215e64e
2013-03-27-Werror=unused-macros (Android)Stephan Bergmann
Change-Id: Ibd06e49e78a6d6a69521a65b53b056e85b64765b
2013-03-27-Werror=unused-macros (Android)Stephan Bergmann
Change-Id: I7b88ff1a8c53fbb875d5cb84060c726fd7d06c9c
2013-03-27Hopefully _BSD_SOURCE not needed anywhere for MAP_ANONStephan Bergmann
(-Werror=unused-macros on Android) Change-Id: I393face32e7d4782b5c8037fa8ebeb21ec3c6e7a
2013-03-27-Werror=unused-macrosStephan Bergmann
Change-Id: I3c64ed78577988767a7da859e68a7f63f890f7dc
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-26No need for a template hereStephan Bergmann
Change-Id: I43262c984c311fcb1e1a9eca9b4dec4092351dea
2013-03-26Could the failing MSVC tinderbox be due to implementation-defined /Stephan Bergmann
...for negative integers in < C++11? Rather unlikely, but lets see... Change-Id: I9abfcbf2c0e409fab4c77b62e5f734d3c2cc2719
2013-03-27Add log area 'vcl.headless'Tor Lillqvist
Change-Id: I40053b9a51c5a640b46c6d615a5d7e067a5e138a