summaryrefslogtreecommitdiff
path: root/io
AgeCommit message (Collapse)AuthorFilesLines
2014-03-12coverity#707937 Uninitialized pointer fieldCaolán McNamara1-1/+3
Change-Id: I25b92686b08137a5292de620d4e348019c21a739
2014-03-12coverity#707936 Uninitialized pointer fieldCaolán McNamara1-3/+8
Change-Id: I0ae177349408fd49832056fbc4c300e8e77b2417
2014-03-08coverity#707939 Uninitialized scalar fieldCaolán McNamara1-2/+3
Change-Id: I5cbb4e2fef4361085840c914e26bb494566a4600
2014-03-08coverity#707938 Uninitialized scalar fieldCaolán McNamara1-3/+3
Change-Id: Ic76e70a33ed33a94e06faf0168e9a740c736a19e
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann13-396/+396
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from ioAlexander Wilms4-12/+11
Change-Id: I46f8c4f793596b0e6feb2db7b9302b9b6eb9644b Reviewed-on: https://gerrit.libreoffice.org/8273 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23Remove unneccessary commentsAlexander Wilms5-17/+17
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-21bool improvementsStephan Bergmann1-1/+1
Change-Id: Ia6f86e38cb46a5f7ac634ad0afb66701811e6758
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann1-2/+2
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-09fdo#54938: Convert io to use cppu::supportsServiceMarcos Paulo de Souza3-46/+7
Change-Id: Id53289a68352558b039e0993b687d0447cea8036 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin1-3/+2
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin1-2/+2
This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-11convert OUString 0==compareToAscii to equalsAsciiNoel Grandin1-18/+18
Convert code like: 0 == aStr.compareToAscii("XXX") to aStr.equalsAscii("XXX") which is both clearer and faster. Change-Id: I2e906d7d38494db38eb292702fadb781b1251e07
2013-11-11remove unnecessary use of OUString constructorNoel Grandin3-29/+25
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-05fdo#60698: Merge all libs of io...Marcos Paulo de Souza24-481/+268
creating the libio. All these libraries are always used together, so we can put them together in one single library. This save almost 500 kb of the size of the final library. Change-Id: Ib32fec36cc4eb80ca646ce472c1f1bcdd98ac62b Reviewed-on: https://gerrit.libreoffice.org/6567 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin1-1/+1
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist4-4/+4
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22Resolves: #i75731# check output stream and...Jürgen Schmidt1-0/+15
throw IOExceptioin if it is not intialized (cherry picked from commit cf17f922f01bd75643749a7fd01a03f8167bccee) Change-Id: I07f6def513ef54b736689bf22565645f0c313982
2013-10-22fdo#54938: Adapt supportsService implementations..Marcos Paulo de Souza5-70/+13
to cppu::supportsService Change-Id: I0b03d3910f094f2183bf9859db9d5bcaf35d1f14 Reviewed-on: https://gerrit.libreoffice.org/6370 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-04fdo#46374 replace stardiv in comments where applicableThomas Arnhold2-14/+8
Change-Id: Icd07fba84735325408741ad10864c63ea32a6481
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák5-5/+5
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-12Mark as constTakeshi Abe5-5/+5
Change-Id: I9277052ee9c6197cef7a46bd8f3ab9c5515c2502
2013-07-01Fix memory leak in OTextInputStream.Mark Wielaard1-0/+3
Delete mpBuffer when done in destructor or replaced in implResizeBuffer. Change-Id: Ide1b44f10a482ce9bb6135fb879e62e0a8ccea29 Reviewed-on: https://gerrit.libreoffice.org/4637 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-06-29remove OUString wrap for string literalsThomas Arnhold3-49/+49
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák1-2/+2
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks6-132/+24
2013-04-19Remove any remaining remnants of unused component_canUnload featureStephan Bergmann5-37/+15
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
2013-04-19remove unused component_canUnload functionsMatúš Kukan16-97/+5
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
2013-03-30fix loplugin unused warningsPeter Foley1-15/+6
Change-Id: I23fc6bf62e74f192f77c74ed48d5276737375f3c
2013-03-19further OUString cleanupThomas Arnhold3-3/+3
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2-20/+20
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-14remove legacy build.pl prj/build.lst files.Michael Meeks1-3/+0
2013-03-04sal_Bool to boolTakeshi Abe4-6/+6
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-11fdo#46808, convert io::TextOutputStream service to new-styleNoel Grandin1-4/+3
Change-Id: I12af47afc21c2b646197893a77698f4e0818f94f
2013-02-11fdo#46808, convert io::TextInputStream service to new styleNoel Grandin1-4/+3
Change-Id: Ida4abdd6587399aa8ade88af672bcb23ab7ea0f1
2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl6-6/+6
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl3-0/+6
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2012-12-01Removal ::rtl:: prefixes and macros in IOJosé Guilherme Vanz6-37/+37
This commit removes some ::rtl:: prefixes and RTL_CONSTASCII_STRINGPARAM, RTL_CONSTASCII_USTRINGPARAM macros in IO. Change-Id: I410016990579e4a05843cfe396832a5fc8435e70 Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1210 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-12-01Removal ::rtl:: prefixes and macros in IOJosé Guilherme Vanz4-36/+28
This commit removes some ::rtl:: prefixes and RTL_CONSTASCII_STRINGPARAM, RTL_CONSTASCII_USTRINGPARAM macros in IO. Change-Id: I9446ddf13ba18d2d80639afc9e1b61234945b115 Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1200 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-11-29Removal ::rtl:: prefixes and macros in IOJosé Guilherme Vanz4-37/+33
This commit removes some ::rtl:: prefixes and RTL_CONSTASCII_STRINGPARAM, RTL_CONSTASCII_USTRINGPARAM macros in IO. Change-Id: I823fcdfe46d4d4093118f6eaab89c1ce42883a6c Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1194 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-10-22drop rdbmaker completelyMatúš Kukan1-1/+1
Change-Id: I313afb391562adae4f91c55480a036c228e0b540
2012-10-02Use prefixTor Lillqvist10-10/+10
Change-Id: I84ec9d6eed209eb429f5b5d4a667d3450a1435e1
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl5-10/+0
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl5-5/+10
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl5-0/+5
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud4-4/+4
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-03fdo#46808, Adapt io::Pipe UNO service to new styleNoel Grandin1-2/+3
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-22Replace use_internal_api with use_udk_api etc. where appropriateStephan Bergmann10-521/+3
Change-Id: I5e216ca01830a6568159ee8e9265938667f201a1
2012-08-15-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann1-2/+0
Change-Id: I9828862ea90a45848b3e8d21ec3ee960ce7c9015