Commit graph

298762 commits

Author SHA1 Message Date
Rene Engelhard
b31375be84 don't remove configure and aclocal.m4 in distclean anymore 2011-12-21 17:21:55 +01:00
Caolán McNamara
b9d786f535 WaE: hInstance arg unused under mingw32 2011-12-21 15:55:43 +00:00
Caolán McNamara
458a7c2c7d WaE: add a space to tell SLED-11 gcc that we know what we're doing 2011-12-21 15:53:23 +00:00
Caolán McNamara
3af1efde38 build-fix for windows msvc 2011-12-21 15:50:12 +00:00
Caolán McNamara
b40f2b9b08 get osl_File qa test to build under windows 2011-12-21 15:50:12 +00:00
Michael Stahl
89d2733e16 sw: fdo#39159 fdo#40482: temp selection print doc:
Ensure that the printing temp selection document is not destroyed
prematurely by SwXTextView::NotifySelChanged, called via
ViewOptionAdjustStop, by retaining the temp doc object shell not
at the View but in SwRenderData.

Not restoring the view options for selections does not actually work,
because having a selection surprisingly does not imply printing a
temp document: the preview also uses a selection.
(view option regression from cd690d2e72)
2011-12-21 16:44:50 +01:00
Petr Mladek
c84ac758aa do not use ABOUTBOXPRODUCTVERSIONSUFFIX in download name
I did not read the code carfully enough when added this line few days ago.
2011-12-21 16:44:26 +01:00
Caolán McNamara
c010c77dc3 explicitly write an 8 bit empty string 2011-12-21 15:26:59 +00:00
Caolán McNamara
2a76860a49 update delivering the correct version 2011-12-21 15:20:03 +00:00
Robert Nagy
b8b22391ae only use posix_fallocate() if it's actually available 2011-12-21 16:17:45 +01:00
Caolán McNamara
56c0d3b569 disable min as macro under msvc 2011-12-21 15:16:26 +00:00
Caolán McNamara
da3e169a39 bump mythes to 1.2.2 2011-12-21 14:37:07 +00:00
Caolán McNamara
f5eb8a2fc2 I hate you poxy msvc 2011-12-21 14:32:40 +00:00
Matúš Kukan
683e471f35 gbuild, sal: dl is linux only 2011-12-21 15:27:26 +01:00
Robert Nagy
1c184292ad sync the gb_LinkTarget__command_dynamiclink function from unxgcc.mk 2011-12-21 15:27:05 +01:00
Robert Nagy
891d78eb46 use the internal gethostbyname_r() implementation on OpenBSD too 2011-12-21 15:27:05 +01:00
Caolán McNamara
c1d49234e5 tweak for pre language-defect #77 2011-12-21 13:44:52 +00:00
Caolán McNamara
5c24789ca3 disentangle Read/WriteByteString OUString variants
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.

The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all

The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
2011-12-21 13:44:52 +00:00
Caolán McNamara
c4f0efc237 convert ReadByteString/WriteByteString from ByteString to OString
Nobody ever used the return values anyway, so for reading just
return the string and for writing the number of bytes written

Doesn't need to be members, make standalone functions

Rename  to
read_lenPrefixed_uInt8s_ToO[U]String and
write_lenPrefixed_uInt8s_FromO[U]String, lengthy,
but much less unambiguous, seeing as a lot of users of it don't
seem to be aware that they read/write pascal-style length
prefixed strings, which isn't surprising given the
apparent simplicity of their original name.

added a unit test
2011-12-21 13:44:52 +00:00
August Sodora
073431d26d More removal from TTProperties 2011-12-21 08:37:43 -05:00
László Németh
4a3ca24020 Fix #43931 (bad hyphenation of French words with hyphen and apostrophe) 2011-12-21 14:05:15 +01:00
Takeshi Abe
7958f8244c catch exception by constant reference 2011-12-21 21:57:54 +09:00
August Sodora
7167559379 Remove unused icons 2011-12-21 07:13:28 -05:00
Tor Lillqvist
e3ab0fd901 osl_unmapFile can't work for files bundled inside the .apk on Android
On Android, when an app is installed, arbitrary files bundled in the
app won't be unpacked into actual separate files in the file
system. They will exist only as archive entries in the .apk file
(which is a zip archive).

The SDK tooling puts such files under the /assets folder in the
.apk. The LibreOffice bootstrapping code for Android maps the .apk
file into memory.

osl_openFile() knows about the /assets special case, and uses a
separate abstraction for such memory-mapped files.

Obviously, when producing an .apk, one needs to make sure these
bundled files are not compressed, if one wants to be able to use them
directly from the memory-mapped .apk file. We do that in our test and
sample Android projects.

When mapping such files under /assets , just return a pointer to the
file's location inside the mapped .apk archive.

We can't use the old osl_unmapFile() on such mapped files, as that
would unexpectedly unmap fairly arbitrary pages of the .apk mapping,
wreaking havoc on later use of the same pages.

So, introduce a new osl_unmapMappedFile() function that takes also the
oslFileHandle originally passed to osl_mapFile(). Use this instead in
the few places where the code actually called osl_unmapFile(). Make
sure osl_mapFile() is nonexistent on Android.
2011-12-21 14:08:48 +02:00
August Sodora
eeecf62535 Remove TTProperties 2011-12-21 07:00:43 -05:00
August Sodora
3b8bf60a04 Revert "callcatcher: Remove unused code"
This reverts commit 070eff8cf1.
2011-12-21 06:46:56 -05:00
Matúš Kukan
d73d329bf1 callcatcher: remove unused classes 2011-12-21 12:32:12 +01:00
August Sodora
070eff8cf1 callcatcher: Remove unused code 2011-12-21 06:25:31 -05:00
Caolán McNamara
6708977331 needs more work first
This reverts commit 92f396733e.
2011-12-21 10:30:10 +00:00
Caolán McNamara
fffae28952 bah, need to tweak for pre c++0x
This reverts commit d00fc0e293.
2011-12-21 10:29:33 +00:00
Caolán McNamara
6fd747bf0e make this Makefile the same as all the others
so that make inside an source ./Env.Host.sh environment
works the same as make outside that env
2011-12-21 10:22:14 +00:00
Caolán McNamara
2d9aac80a1 msvc2008 hunspell linked to icuuc 2011-12-21 10:20:10 +00:00
Caolán McNamara
d00fc0e293 disentangle Read/WriteByteString OUString variants
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.

The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all

The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
2011-12-21 10:10:58 +00:00
Caolán McNamara
92f396733e convert ReadByteString/WriteByteString from ByteString to OString
Nobody ever used the return values anyway, so for reading just
return the string and for writing the number of bytes written

Doesn't need to be members, make standalone functions

Rename  to
read_lenPrefixed_uInt8s_ToO[U]String and
write_lenPrefixed_uInt8s_FromO[U]String, lengthy,
but much less unambiguous, seeing as a lot of users of it don't
seem to be aware that they read/write pascal-style length
prefixed strings, which isn't surprising given the
apparent simplicity of their original name.

added a unit test
2011-12-21 10:10:58 +00:00
Caolán McNamara
b57eceb231 callcatcher: remove unused Find1RefWindow variant 2011-12-21 10:10:56 +00:00
Caolán McNamara
4eb4514ee1 This just can't be right, WriteByteString writes a pascal-style string
WriteLine just writes a line of text, WriteByteString writes
a 16bit length of following content. It can't make sense to
suddenly stick a pascal-style string in at the end of a file
that's otherwise plain text.

original git id that introduced the use of WriteByteString here
was ea76474a back in 2002

Perhaps this worked because partial strings never ended up
as trailing content, so only ever had an empty string as
the final partial string, so a 0x0000 got appended, as
opposed to a newline, so it appeared to do the right thing.
2011-12-21 10:10:56 +00:00
Caolán McNamara
c1c3ef64bc callcatcher: remove some unused code 2011-12-21 09:30:20 +00:00
Caolán McNamara
725f7d0171 autocorrection migration never actually used 2011-12-21 09:30:20 +00:00
Caolán McNamara
1bac5427d6 SpellError doesn't need to be a [IMPL|DECL]Link
and as a side effect we can simplify, because argument is never NULL
and return is never used
2011-12-21 09:30:19 +00:00
Caolán McNamara
60bfcc0a4a callcatcher: SfxRequest::IsRecording unused for a long time 2011-12-21 09:30:19 +00:00
Caolán McNamara
80c7dd48a0 AutocorrectionMigration is not constructable 2011-12-21 09:30:19 +00:00
Caolán McNamara
650ed10bd0 can't see why there's an appendChar here 2011-12-21 09:30:19 +00:00
Caolán McNamara
b0df6d86e4 SfxObjectShell may not have a medium 2011-12-21 09:30:18 +00:00
Olivier Hallot
545921f914 Fix for fdo43460 Part XII getLength() to isEmpty()
Part XII
Module
dbaccess
2011-12-21 09:52:48 +01:00
Olivier Hallot
1835d0599e Fix for fdo43460 Part XIII getLength() to isEmpty()
Part XIII
Module
desktop
2011-12-21 09:52:48 +01:00
Markus Mohrhard
1623b021cf set focus to Name Edit Line in Define Names dialog 2011-12-21 01:50:17 +01:00
Markus Mohrhard
16af1bd209 full absolute refs in range names should be treated like normal abs refs 2011-12-21 01:50:17 +01:00
Markus Mohrhard
64e416d42a fix small problem with range names in copy/paste 2011-12-21 01:50:17 +01:00
Tor Lillqvist
5e3059834e Need visibility markup for ANativeActivity_onCreate() too 2011-12-21 00:46:02 +02:00
Tor Lillqvist
73b54eb92e Need visibility markup for lo_main() too 2011-12-21 00:46:00 +02:00