Commit Graph

4763 Commits

Author SHA1 Message Date
Szabolcs Dezsi
bcd21acf72 fdo#46501: Cleanup SimpleResMgr 2012-03-02 15:40:08 +02:00
Stephan Bergmann
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e9 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
Rene Engelhard
a6d65732f1 fix nsplugin to create correct com.sun.star.ucb.SimpleFileAccess instance 2012-02-29 23:20:42 +01:00
Joachim Lingner
a6ff118c4f default conversion of sequences is now again SAFEARRAY of VARIANTs #fdo46165
cws jl166 patch: #i117010# default conversion of sequences is now again SAFEARRAY of VARIANTs
2012-02-23 14:57:12 +00:00
Noel Power
985ad082a5 Revert "fix handling of SAFEARRAY(s) returned as variant in olebridge (fdo#38441)"
This reverts commit 3fcb94311f.
2012-02-23 14:57:12 +00:00
Stephan Bergmann
2eaa1422a0 Adapted AsyncEventNotifier to safer-to-use salhelper::Thread 2012-02-23 10:47:37 +01:00
Luboš Luňák
e6d0daefbd build also with older npapi
They were apparently lame enough to make a source-incompatible
change without changing API version or anything similar.
2012-02-21 17:22:02 +01:00
Takeshi Abe
03591233c1 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-18 23:19:41 +09:00
Elton Chung
23af031b09 Fix typos in comments 2012-02-18 09:35:43 +00:00
Petr Vorel
69eede0409 Remove unused code. 2012-02-17 17:37:17 +00:00
Rene Engelhard
699b3b662c char* -> const char* for npapis getMIMEDescription to fix build with newer mozs 2012-02-17 16:40:46 +01:00
Philipp Weissenbacher
52c3bbb957 Translate German comments 2012-02-16 13:12:37 +01:00
Caolán McNamara
029b57344c WaE: member initialization order 2012-02-15 15:11:29 +00:00
Stephan Bergmann
9ab0b38e95 Various string function clean up
Added:
* rtl::OString::matchL
* rtl::OString::endsWith
* rtl::OString::endsWithL
* rtl::OString::indexOfL
* rtl::OString::replaceFirst
* rtl::OString::replaceAll
* rtl::OString::getToken
* rtl::OUString::endsWith
* rtl::OUString::replaceFirst
* rtl::OUString::replaceFirstAsciiL
* rtl::OUString::replaceFirstAsciiLAsciiL
* rtl::OUString::replaceAll
* rtl::OUString::replaceAllAsciiL
* rtl::OUString::replaceAllAsciiLAsciiL
* rtl::OUString::getToken
plus underlying C functions where necessary

Deprecated:
* comphelper::string::remove
* comphelper::string::getToken

Removed:
* comphelper::string::searchAndReplaceAsciiL
* comphelper::string::searchAndReplaceAllAsciiWithAscii
* comphelper::string::searchAndReplaceAsciiI
* comphelper::string::replace
* comphelper::string::matchL
* comphelper::string::matchIgnoreAsciiCaseL
* comphelper::string::indexOfL

Also fixed some apparent misuses of RTL_CONSTASCII_USTRINGPARAM ->
RTL_CONSTASCII_STRINGPARAM.
2012-02-15 15:41:09 +01:00
Lionel Elie Mamane
8eb33ee135 fdo#43399 hidden radio button should also gets unset 2012-02-13 17:58:31 +01:00
Michael Stahl
cd24d2524f extensions: plugin: UNX: don't crash headless 2012-02-13 00:25:05 +01:00
Michael Stahl
43cb934dda extensions: plugin: assertion from OUString::copy 2012-02-13 00:25:05 +01:00
Julien Nabet
5972e4db62 Fix cppcheck warning same expression on both sides of '|' 2012-02-11 14:04:11 +01:00
Jan Holesovsky
8912cf3075 fdo#40261: Fix crash in XML Form Document.
The data structure holding the UI elements in the browser listbox was a
terrible mess - it held the items in an unordered_map, but then accessed
them via a vector containing iterators to this unordered_map.

Fixed the problem (and cleaned all this up) by removing the vector of
iterators, and turning the unordered_map into a normal vector.  When we need
access by name, we just go through all the items; it is always just a handful
of them anyway.
2012-02-10 15:12:26 +01:00
PKEuS
664b22c56b Fixed some cppcheck messages 2012-02-06 10:16:35 +01:00
Julien Nabet
f25555d66c Some cppcheck cleaning 2012-02-01 22:52:43 +01:00
Thomas Arnhold
04b8bac4a9 finalize gcc 4.7 string literal operators 2012-01-24 10:21:13 +01:00
Olivier Hallot
5581125423 Fix for fdo43460 Part XLIV getLength() to isEmpty()
Part XLIV
many modules(inc's)
2012-01-23 19:17:18 -02:00
Caolán McNamara
c8f15a768d call FreeResource like the other RoadmapWizard users 2012-01-23 17:19:53 +00:00
Caolán McNamara
17d933c97d ctor OModuleResourceClient first so OModuleResourceClient dtor is last
which means that we don't crash in --enable-dbgutil on cancel
of the addressbook dialog
2012-01-23 17:19:53 +00:00
Ivan Timofeev
924d0bdd47 add the "Send Feedback..." help menu item 2012-01-23 12:37:07 +01:00
Stephan Bergmann
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
Ivan Timofeev
bb921f1df6 svx: remove unused definitions in globlmn_tmpl.hrc 2012-01-18 23:33:51 +04:00
Bjoern Michaelsen
03f4f6e17a lp#711673: mozilla-libreoffice mislabeled as OpenOffice.org Plug-in 2012-01-18 00:49:51 +01:00
Thorsten Behrens
29bd62fdc2 Switch flag sequence of OpenCommandArg3 to NamedValue.
Based on feedback for 09954fc863,
using the less-bulky NamedValue type instead of PropertyValue.
2012-01-17 11:42:07 +01:00
Thorsten Behrens
09954fc863 Fix UpdateCheck clog up server by keeping connection alive
The update check protocol uses the webdav ucp, which uses neon,
which in turn defaults to keeping the connection alive. this is nice
for webdav, but disastrous for millions of clients phoning home to
the same server.

Using neon directly in updatefeed.cxx is not an option, due to the
thread safety problems around that (see e.g. rhbz#544619) - so we
had to extend it to accept connection options, and reuse the
existing webdav provider.
2012-01-17 05:03:42 +01:00
David Tardon
52118dae64 avoid warnings about deprecated decls. from glib2 2012-01-15 20:27:29 +01:00
David Tardon
265f061458 WaE: deleting object of abstract class type with non-virtual destructor 2012-01-15 20:27:28 +01:00
Matúš Kukan
0482c914c7 extensions: remove unused xmx library 2012-01-11 20:44:49 +01:00
Matúš Kukan
134803653f tweak makefiles after np_sdk is in tail_build
Also change <npsdk/npapi.h> to "npapi.h"
2012-01-11 20:20:17 +01:00
Andras Timar
aab14cb9fb fix prefix of command line switches (-- instead of -) 2012-01-11 19:25:45 +01:00
Michael Stahl
14da1611e8 extensions: plugin: mac unused param warnings 2012-01-10 10:38:41 +01:00
Michael Stahl
bec239e847 extensions: plugin: fix build a bit more on Mac 2012-01-10 10:38:41 +01:00
Jan Holesovsky
23b1ba968f Fix npshell build on Windows. 2012-01-10 09:41:49 +01:00
Julien Nabet
8d7e1a6e13 Enabling Icedove addressbook connection for Base (Thank you Caolan) 2012-01-09 23:57:26 +01:00
Michael Stahl
8f46815969 extensions: plugin: try to fix Mac build:
Move everything that requires ObjectiveC stuff to the ObjC++ files in
the aqua subdirectory, where it belongs.
2012-01-09 18:53:18 +01:00
Matúš Kukan
29f897054d extensions/Library_pl: move macmgr.cxx -> macmgr.mm 2012-01-09 12:42:35 +01:00
Stephan Bergmann
2fa19ed7e4 Export from UpdateCheck only what is needed in test_update.cxx. 2012-01-09 11:09:41 +01:00
Marcel Metz
5b031b4ea6 Remove superfluous _ZFORLIST_DECLARE_TABLE definition. 2012-01-07 22:14:05 +04:00
Marcel Metz
d59211357a Removed unnecessary tools/debug.hxx includes. 2012-01-06 23:55:51 +01:00
Michael Stahl
23dd856d3c Merge branch 'feature/gbuild_extensions'
Conflicts:
	extensions/source/ole/servreg.cxx
	extensions/source/plugin/util/makefile.mk
	postprocess/packcomponents/makefile.mk
	postprocess/prj/build.lst
	tail_build/prj/build.lst
2012-01-06 21:09:13 +01:00
Marcel Metz
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +01:00
Marcel Metz
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00
Marcel Metz
79646372a0 Removed unnecessary tools includes.
Hello lo-devs,

this patch series removes a lot of unnecessary includes for the various
tools header. The patches without suffix should be applied to the core
repository, the .binfilter.patch suffix should be applied to the
binfilter repository. I've tested the build with the configuration
--enable-binfilter --enable-dbgutil --enable-debug, is this sufficient
or did I miss another important configuration, that enables some
conditional compiled code? I've only build this on linux-x86_64, but the
patch also touches some of the mac specific code like
fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good
idea to test this patch.

regards Marcel Metz
2012-01-05 15:31:29 +01:00
Caolán McNamara
bacfd2dc4c add a comphelper::string::getTokenCount
suitable for conversion from [Byte]String::GetTokenCount
converted low-hanging variants to rtl::O[UString]::getToken loops
added unit test
2012-01-05 09:18:19 +00:00