summaryrefslogtreecommitdiff
path: root/bridges/test
AgeCommit message (Collapse)AuthorFilesLines
2013-04-19Java cleanup, remove unnecessary castsNoel Grandin2-7/+7
Change-Id: Id12089bc7df16631737e6acaee0973fb91dd953f Reviewed-on: https://gerrit.libreoffice.org/3431 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-16Related rhbz#867808: More apparently bogus "throw new ..." in C++ codeStephan Bergmann2-3/+3
Change-Id: I5d723b389f1ed20f7962807b782f44f6f3c61882
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák7-76/+73
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-02Remove RTL_CONSTASCII_(U)STRINGPARAM in bridgesChr. Rossmanith5-15/+15
Change-Id: Id8777ee7f587846399e95cf3b1b37d669a76bae5 Reviewed-on: https://gerrit.libreoffice.org/3139 Reviewed-by: Christina Roßmanith <ChrRossmanith@web.de> Tested-by: Christina Roßmanith <ChrRossmanith@web.de>
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold4-4/+4
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold9-66/+66
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-04sal_Bool to boolTakeshi Abe3-3/+3
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
2013-03-01Replace rtl::O(U)String with O(U)StringÁdám Csaba Király1-13/+13
Other changes include: in bridges/test/testcomp.cxx duplicate 'using namespace ::test' removed, 'using namespace ::rtl' replaced with 'using ::rtl::OUString' and 'using ::rtl::OUStringToOString' Change-Id: I67a5952afd305adeb07f728c9074620ecba8e9fc Reviewed-on: https://gerrit.libreoffice.org/2475 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac3-7/+5
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-25Get rid of (most uses of) GUITor Lillqvist4-5/+5
GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin1-5/+2
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens4-8/+0
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30API CHANGE remove [oneway] method attributesThorsten Behrens1-2/+2
Remove non-functional and broken [oneway] attributes from all idl files. Change idl compiler to no longer digest such idl. Change-Id: Ie14c5012beccb6242d7cd592d434a88091b695d1
2012-11-15re-base on ALv2 code. Includes:Michael Meeks13-287/+170
Patches contributed by: Armin Le Grand. #118558# Correcting OLE attributes of LO3.4 at load time by loading as OOo3.3, details see task. http://svn.apache.org/viewvc?view=revision&revision=1195906 #118485# - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles http://svn.apache.org/viewvc?view=revision&revision=1293316 #119337# Solves the wrong get/setPropertyValue calls in SvxShapeText (and thus in SvxOle2Shape) http://svn.apache.org/viewvc?view=revision&revision=1344156 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 cws mba34issues01: #i117717#: remove wrong assertion http://svn.apache.org/viewvc?view=revision&revision=1172349 Patch contributed by Herbert Duerr goodbye Registration and License dialogs, don't let the door hit you http://svn.apache.org/viewvc?view=revision&revision=1172613 help gcc 4.6.0 on 32bit ubuntu 11.10" http://svn.apache.org/viewvc?view=revision&revision=1245357 Do not add targets for junit tests when junit is disabled. Patch contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1241508 Revert "sb140: #i117082# avoid unncessary static class data members commit 21d97438e2944861e26e4984195f959a0cce1e41. remove obsolete FreeBSD visibility special case. retain consolidated BSD bridge code, remove OS/2 pieces.
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud3-5/+5
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann1-1/+1
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-10Java cleanup, remove unnecessary importsNoel Grandin4-9/+0
I guess I missed some last time :-) Change-Id: I164a8baa07850f783b8cdf2e7f3eeaac53a3d29b
2012-09-05Java cleanup, rename folders and packages to make them matchNoel Grandin30-41/+51
Also fix some compile errors. I suspect this is dead code, but on the chance that it might be useful..... Change-Id: I0d56df88420ce484b72df626db4fadcebe04d777
2012-09-05Java cleanup, make the package name match the folder nameNoel Grandin12-12/+12
Less disruptive than moving the files in this case. Change-Id: I31f7891ca9c333e1d8c6e1b2c0bba5324f56dbd5
2012-09-03Some clean up of previous commitStephan Bergmann1-9/+5
Change-Id: I6507b731665eb3d98a8fbf3d445f6c85e6d49258
2012-09-03fdo#46808, Adapt io::Pipe UNO service to new styleNoel Grandin1-3/+1
Create a merged XPipe interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I682633c6252aab503eb2469c9bd2ba771f10bc4b
2012-08-06Static method sleep from Thread should be accessed in a static wayJulien Nabet1-7/+2
Change-Id: I7d875dd74f8eff05f7a291100841779abbf5fd1c
2012-07-30udkapi, offapi: do not use #include "foo":Michael Stahl5-6/+6
Evidently on Windows, the newfangled ucpp handles #include "foo" differently from #include <foo> and treats it as a relative path, while the angle brackets always result in absolute paths. Since relative paths result in infinite rebuilds if make is invoked in a different directory, don't use #include "foo" in IDL files. Change-Id: Iedcda3a4be5542389a0be086f14541cda8dc5323
2012-06-29re-base on ALv2 code.Michael Meeks1-23/+14
2012-06-19re-base on ALv2 code.Michael Meeks43-920/+640
2012-06-09Remove superfluous empty lines on topThomas Arnhold4-8/+0
More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-05-18removed unused const rtl::OUStringTakeshi Abe1-2/+0
Change-Id: If02be864f958de96ae1c54fe575b1828410390b1
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold1-4/+4
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-8/+4
2012-03-23.java files don't need executable bitsMichael Stahl1-0/+0
2012-01-11fix for gcc 4.7/C++11: these are not string literal operatorsDavid Tardon1-2/+2
2011-11-27remove include of pch header in bridgeNorbert Thiebaud14-28/+0
2011-11-17Enforce a "lib" prefix for UNO components for AndroidTor Lillqvist3-4/+4
This commit for the old build system. (Don't bother for components not relevant for Android.) The Android package installer (as invoked through "adb install", from "ant debug install") silently ignores native libraries in app packages (.apk files) whose names don't start with "lib" and end with ".so". The package builder (as invoked through "ant debug") in the SDK gladly includes also thusly named native libraries in the .apk, though. Yay for consistency.
2011-08-11Avoid throw in destructorJulien Nabet1-1/+2
2011-07-12Remove component_getImplementationEnvironmentMatúš Kukan5-28/+0
2011-05-03Change <file>.toURL() to <file>.toURI().toURL()Julien Nabet1-1/+1
2011-04-21Easyhack: Add visibility markup to all component_get* functionsJulien Nabet4-8/+8
2010-11-20EasyHack: RTL_CONST macro from createFromAsciiKevin Hunter7-45/+28
They're only in the tests, but it compiles, and the createFromAscii messed with my grep-age!
2010-11-10EasyHack: Convert to RTL macro from FromAsciiKevin Hunter1-1/+1
2010-10-27add modelines to .h and .c files as wellCaolán McNamara2-0/+6
2010-10-25Finally, gut the vos module out of the buildNorbert Thiebaud1-1/+0
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth14-0/+40
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-13Remove redundant #include, #define & commentsJ. Graeme Lingard1-3/+1
2010-02-25sb118: merged in DEV300_m72sb53-223/+53
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien53-223/+53
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2010-01-29sb118: #i108776# changed addsym.awk to also export STLport num_put symbols, ↵sb5-19/+3
and simplified it by requiring that first section is labeled UDK_3_0_0; adapted map files accordingly, replacing many individual ones with solenv/src templates
2010-01-12sb118: #i108269# first step of removing tcsh supportsb4-16/+16
2009-09-25merge commitMathias Bauer17-50/+40
2009-09-16CWS-TOOLING: integrate CWS sb113Jens-Heiner Rechtien17-50/+40
2009-09-01 sb #i76393# second attempt at properly #ifdef-ing previous HG commit d598efdbf012 2009-08-28 sb #i102469# change back <T extends XInterface> to just <T> on queryInterface, to avoid binary incompatibility (method changing its signature from (Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object; to (Ljava/lang/Class;Ljava/lang/Object;)Lcom/sun/star/uno/XInterface;) 2009-08-28 sb #i76393# properly #ifdef previous HG commit d598efdbf012 2009-08-27 sb #i94421# work around compiler error (based on a patch supplied by cloph) 2009-08-26 sb merged in DEV300_m56 2009-08-26 sb #i76393# on Linux, include dynamic section offset in crash report so as to be able to map "prelinked" callstacks back to original (patch by cmc) 2009-08-26 sb #i88162# remove unnecessary whitespace lines from per-locale xcu files (patch by tora) 2009-08-17 Juergen Schmidt #i104292# set context classloader after create new custom UNO loader 2009-08-17 Juergen Schmidt #i103749# integrate patch 2009-08-14 sb #i103269# cherry-picked ssh://hg@hg.services.openoffice.org/cws/sb111 -r 5124ebd5edd1 ("#i101955# changed encoding of XML file content from erroneous ISO-8859-1 to UTF-8") 2009-08-12 sb #i102469# fixed mis-applications of UnoRuntime.queryInterface (detected via the simplified UnoRuntime.queryInterface, the HG changeset 29de35fc9554) to use AnyConverter instead; changed qadevOOo's lib.MultiMethodTest.before to allow throwing arbitrary exceptions, to cater for IllegalArgumentException thrown by AnyConverter 2009-08-12 sb #i104178# drop extra libxml2-config script from libxmlsec 2009-08-10 sb #i101754# simplified osl_getProcessInfo for LINUX (patch by cmc) 2009-08-10 sb #i95018# avoid closing -1 fds (patch supplied by cmc) 2009-08-10 sb #i103585# removed (apparently unnecessary) zlib support from libxml2; in turn, removed zlib dependencies from libxmlsec, libxslt, and redland (assuming those were transitive dependencies brought in by direct dependencies on libxml2) 2009-08-10 sb #i102469# simplified UnoRuntime.queryInterface using Java 5 generics; adapted URE-related modules accordingly 2009-08-10 sb #i101213# adapted setsolar env (solenv/config/) to set PYTHONPATH (and not set PYTHONHOME) in accordance with configure env (set_soenv.in); fixed testtools/source/bridgetest/pyuno (which now should work everywhere out of the box, thanks to the fixed setsolar PYTHONPATH) 2009-08-10 sb cherry-picked ssh://hg@hg.services.openoffice.org/cws/sb111 -r ea8de6d9396b ("#i101955# work in progress for a .hgignore file, continued")
2009-07-10#i103452#: replace PRODUCT by !DBG_UTIL; replace assert by OSL_ASSERT where ↵Mathias Bauer4-31/+12
possible