Commit graph

4506 commits

Author SHA1 Message Date
David Tardon
5e259549cb WaE: redefined macro
SD_RECEIVE, SD_SEND and SD_BOTH have been defined in mingw-w64 headers
since the very beginning. I suppose this was only relevant for mingw32,
which we do not support anymore.
2012-03-07 14:01:32 +01:00
David Tardon
7399447c8a WaE: format '%u' expects argument of type 'unsigned int' 2012-03-07 14:01:32 +01:00
David Tardon
e1eae3267b WaE: declaration of '...' shadows a global declaration
pfn_ADDEREXCLUDEDAPPLICATIONW has been defined in mingw-w64 headers
since the very beginning. I suppose this was only relevant for mingw32,
which we do not support anymore.
2012-03-07 14:01:31 +01:00
David Tardon
5c1e188a55 WaE: suggest parentheses around '&&' within '||' 2012-03-07 14:01:31 +01:00
David Tardon
2a9517575d WaE: comparison between signed and unsigned integer expressions 2012-03-07 14:01:31 +01:00
David Tardon
a81dca114b WaE: declaration of 'aTmpPath' shadows a previous local 2012-03-07 14:01:30 +01:00
David Tardon
9235d38ae4 WaE: deprecated conversion from string constant to 'sal_Char*' 2012-03-07 14:01:30 +01:00
David Tardon
a6b12b7408 WaE: declaration of 'n' shadows a previous local 2012-03-07 14:01:29 +01:00
David Tardon
2b39d8122d WaE: ordered comparison of pointer with integer zero 2012-03-07 14:01:29 +01:00
David Tardon
c5dc896764 WaE: comparison between 'enum oslFileError' and 'enum osl::FileBase::RC' 2012-03-07 14:01:29 +01:00
David Tardon
2a58ae90ba WaE: deprecated conversion from string constant to 'LPWSTR' 2012-03-07 14:01:28 +01:00
David Tardon
b1f9d48ea7 WaE: function declared 'static' but never defined 2012-03-07 14:01:28 +01:00
David Tardon
a60f2238b6 WaE: unused parameter 2012-03-07 14:01:27 +01:00
David Tardon
92b3308ecc WaE: suggest parentheses around '&&' within '||' 2012-03-07 14:01:27 +01:00
David Tardon
72527fa9b8 WaE: deprecated conversion from string constant to 'TCHAR*' 2012-03-07 14:01:27 +01:00
David Tardon
2b945f8ee4 WaE: deleting 'PSID {aka void*}' is undefined 2012-03-07 14:01:26 +01:00
David Tardon
31fdb7f464 WaE: missing braces around initializer 2012-03-07 14:01:26 +01:00
David Tardon
1ee529445b WaE: missing braces around initializer 2012-03-07 14:01:25 +01:00
David Tardon
8c986d3eb3 WaE: "NOMINMAX" redefined 2012-03-07 14:01:25 +01:00
David Tardon
1f370333c5 remove useless include guards 2012-03-07 14:01:25 +01:00
David Tardon
8fc3fc5642 WaE: ignoring #pragma warning 2012-03-07 14:01:24 +01:00
Matúš Kukan
cb83035cd2 sal: add mkdir -p 2012-03-06 10:16:07 +01:00
Luboš Luňák
9db31fc566 rtl_uString_newFromAscii_WithLength() and use it in OUString 2012-03-05 13:11:51 +01:00
Luboš Luňák
40212a207c optimized OUString operators =,==,!= for string literals 2012-03-05 13:11:51 +01:00
Luboš Luňák
9076962550 check that *ascii* string functions are really passed only ASCII 2012-03-05 13:11:50 +01:00
Luboš Luňák
a59f658312 add @since to new OUString ctors 2012-03-05 13:11:50 +01:00
Luboš Luňák
8025d89840 assume string literals to be ASCII-only, rather than UTF-8
ASCII-only handling is much more efficient, and some functionality
like comparison has optimized variants for ASCII
2012-03-05 13:11:50 +01:00
Caolán McNamara
05a8216d03 STAR_ENABLE_FILE_LOCKING was a secret 2012-03-01 10:43:56 +00:00
Korrawit Pruegsanusak
0f6d1ff621 some doxygen warnings cleanup 2012-02-27 21:25:02 +07:00
Julien Nabet
67d01fb5d4 Avoid temporary rtl::OUString 2012-02-26 14:58:33 +01:00
Jan Holesovsky
6cd8586f23 MinGW: snprintf might be present. 2012-02-24 18:54:37 +01:00
Stephan Bergmann
fd7912d0b5 We never call pthread_cancel, so no need to guard against it 2012-02-24 08:20:32 +01:00
Tor Lillqvist
cf2dede213 No need to compile it as Objective-C++ for iOS any more 2012-02-23 23:09:31 +02:00
Tor Lillqvist
dd3f4855ec Unify indentation 2012-02-23 22:59:55 +02:00
Stephan Bergmann
a342b3e3b0 Moved dp_gui::Thread to salhelper::Thread, so that all code can use it
...also improved the code somewhat.
2012-02-23 10:47:35 +01:00
Stephan Bergmann
5b98bb4713 log-areas clean up 2012-02-23 10:47:35 +01:00
Tor Lillqvist
59dfa55180 cppunittester hacks for iOS, intermediate commit
For iOS cppunit plugins aren't really "plugins" (shared libraries),
but just static archives. In the real main program of a cppunit app
(such are not yet written), which calls the lo_main() (the
SAL_IMPLEMENT_MAIN() in cppunittester.cxx) we specifically will call
the initialize methods of the CppUnitTestPlugIns that we statically
link to the app executable. Hopefully that will work out as expected.
2012-02-22 22:35:55 +02:00
Tor Lillqvist
5241f06f93 Do build cppunittester and don't build osl_process_child for iOS 2012-02-22 22:35:53 +02:00
Luboš Luňák
f150ed241f OUString ctor for string literals without RTL_CONSTASCII stuff
http://lists.freedesktop.org/archives/libreoffice/2012-February/025662.html
2012-02-22 16:21:37 +01:00
Thomas Arnhold
22e96521da WaE: silence some documentation errors 2012-02-22 00:52:32 +01:00
Thomas Arnhold
9d5bcff31c WaE: unreadVariable 2012-02-21 20:57:05 +01:00
Thomas Arnhold
85596c5cf6 WaE: unreadVariable 2012-02-21 20:57:04 +01:00
Tor Lillqvist
e14fea9f37 Work around the fact that empty directories are not present in an .apk
The SDK tooling that constructs .apk packages doesn't put empty
directories in them. Which makes sense I guess. "Hidden" files (like
.gitignore) are also skipped. So a directory like
sc/qa/unit/qpro/indeterminate does not show up at all.

So, we must pretend that any opendir() of a directory under /assets
succeeds. If the .apk doesn't contain any files in such a directory,
treat it as existing but empty. We can't know if the corresponding
directory from which /assets was constructed actually does exist but
is empty or if it doesn't exist.
2012-02-20 20:07:35 +02:00
Takeshi Abe
3006397439 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-21 01:07:21 +09:00
Thomas Arnhold
c08308508a WaE: unused variable bOk 2012-02-19 01:34:05 +01:00
Thomas Arnhold
7ad3c6caae WaE: do this right... 2012-02-19 01:34:05 +01:00
Thomas Arnhold
bb539e18da sal: remove dead code and empty lines 2012-02-18 21:33:04 +01:00
Thomas Arnhold
0d5affd300 WaE: unused variable bOk 2012-02-18 21:33:02 +01:00
Thomas Arnhold
d4e6e5aab2 WaE: unused variable nError 2012-02-18 21:33:01 +01:00
Thomas Arnhold
5afdbaf3a8 WaE: unused variable nPipes 2012-02-18 21:33:01 +01:00