- 21 Ara, 2011 40 kayıt (commit)
-
-
Caolán McNamara yazdı
-
Michael Stahl yazdı
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 cd690d2e)
-
Petr Mladek yazdı
I did not read the code carfully enough when added this line few days ago.
-
Caolán McNamara yazdı
-
Caolán McNamara yazdı
-
Robert Nagy yazdı
-
Caolán McNamara yazdı
-
Caolán McNamara yazdı
-
Caolán McNamara yazdı
-
Matúš Kukan yazdı
-
Robert Nagy yazdı
-
Robert Nagy yazdı
-
Caolán McNamara yazdı
-
Caolán McNamara yazdı
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
-
Caolán McNamara yazdı
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
-
August Sodora yazdı
-
László Németh yazdı
-
Takeshi Abe yazdı
-
August Sodora yazdı
-
Tor Lillqvist yazdı
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.
-
August Sodora yazdı
-
August Sodora yazdı
This reverts commit 070eff8c.
-
Matúš Kukan yazdı
-
August Sodora yazdı
-
Caolán McNamara yazdı
This reverts commit 92f39673.
-
Caolán McNamara yazdı
This reverts commit d00fc0e2.
-
Caolán McNamara yazdı
so that make inside an source ./Env.Host.sh environment works the same as make outside that env
-
Caolán McNamara yazdı
-
Caolán McNamara yazdı
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
-
Caolán McNamara yazdı
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
-
Caolán McNamara yazdı
-
Caolán McNamara yazdı
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.
-
Caolán McNamara yazdı
-
Caolán McNamara yazdı
-
Caolán McNamara yazdı
and as a side effect we can simplify, because argument is never NULL and return is never used
-
Caolán McNamara yazdı
-
Caolán McNamara yazdı
-
Caolán McNamara yazdı
-
Caolán McNamara yazdı
-
Olivier Hallot yazdı
Part XII Module dbaccess
-